<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>640</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\asmat\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<CustomCSS>.select{
user-select:none;
}

.tag{
  border:1px solid #0076fc;
  border-radius:5px;
  margin-left:8px;
  margin-top:8px;
  padding-left:10px;
  padding-right:10px;
  padding-top:2px;
  padding-bottom:2px;

}
.flexCenter{
display:flex;
justify-content:center;
align-items:center;
}

.flexSpacebetween{
display:flex;
align-items:center;
justify-content:space-between;
}

.flexRight{
display:flex;
justify-content:flex-end;
align-items:center;
}

.flexLeft{
   display:flex;
   align-items:center;
   justify-content:flex-start;
}

.flexMenu{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-content:flex-start;
}

.boxShadow {
  box-shadow:
  0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048),
  0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072),
  0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12)
}</CustomCSS>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>NeoScriptToJS</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="moveToRight">
					<Code>var box = document.getElementById(&apos;tagHome&apos;);
if($App.activeElement.nextElementSibling){
   box.insertBefore($App.activeElement,$App.activeElement.nextElementSibling.nextElementSibling);
}else{
   alert(&apos;You reached at the end item&apos;);
}

</Code>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="moveToLeft">
					<Code>var box = document.getElementById(&apos;tagHome&apos;);

if($App.activeElement.previousElementSibling){
   box.insertBefore($App.activeElement,$App.activeElement.previousElementSibling);
}else{
   alert(&apos;You reached at the first item&apos;);
}
</Code>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="clickTag">
					<Code>//alert(&apos;cick&apos;+obj);

document.querySelectorAll(&apos;.tag&apos;).forEach( item =&gt;{
   item.style.background =&quot;white&quot;;
   item.style.color =&quot;black&quot;;
});

$(obj).css(&apos;background&apos;,&apos;#0076fc&apos;);
$(obj).css(&apos;color&apos;,&apos;white&apos;);
$(obj).attr(&apos;contentEditable&apos;,&apos;true&apos;);

$App.activeElement = obj;
$scope.ShowObject(&quot;editPanel&quot;,&quot;zoomIn&quot;,8);
</Code>
					<Params>obj|STRING|</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="applyEnterKey">
					<Code>$(&apos;#&apos;+obj).keydown(function (e) {
      var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0;
      if (key == 13) {
          e.preventDefault();
          $(&apos;#add&apos;).click();
      }
});
</Code>
					<Params>obj|STRING|</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="generateArray">
					<Code>var myArray =[];
document.querySelectorAll(&apos;.tag&apos;).forEach( item =&gt;{
   myArray.push(item.innerHTML);
});

return myArray;
</Code>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<style>background-color:#fed009</style>
					<pageenter>applyEnterKey &quot;inputbar&quot;</pageenter>
					<Components>
						<Container id="Container21">
							<left>14px</left>
							<top>68px</top>
							<width>80%</width>
							<height>50px</height>
							<style>background-color:#fff;border-radius:5px;max-height:50px;min-height:50px</style>
							<align>top</align>
							<margin_left>10%</margin_left>
							<margin_top>15px</margin_top>
							<css_class>boxShadow flexSpacebetween</css_class>
							<Components>
								<TextInput id="inputbar">
									<left>113px</left>
									<top>10px</top>
									<width>50%</width>
									<height>36px</height>
									<style>box-shadow:none</style>
									<align>top</align>
									<margin_left>8px</margin_left>
									<margin_right>8px</margin_right>
									<variable>[tag]</variable>
									<place_holder>Tag...</place_holder>
									<change>.filterList &quot;tag1&quot; &quot;menu4&quot;</change>
								</TextInput>
								<Container id="add">
									<left>6px</left>
									<top>10px</top>
									<width>80px</width>
									<height>36px</height>
									<style>color:white;font-family:my-font-san;background-color:#0076fc;border-radius:6px;padding-right:5px;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048)</style>
									<align>top</align>
									<margin_left>7px</margin_left>
									<margin_right>7px</margin_right>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<html>&lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path fill=&quot;currentColor&quot; d=&quot;M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z&quot; /&gt;
&lt;/svg&gt;
Add</html>
									<click>BEGINJS
if($App.tag){
  $(&apos;#tagHome&apos;).append(&apos;&lt;span onclick=&quot;neosubroutine.clickTag(this)&quot; class=&quot;tag&quot;&gt;&apos;+ $App.tag+ &apos;&lt;/span&gt;&apos;);
  $App.tag = &quot;&quot;;
}else{
  alert(&apos;empty&apos;);
}

ENDJS
FocusObject &quot;inputbar&quot;</click>
								</Container>
								<Container id="Container4">
									<left>149px</left>
									<top>15px</top>
									<width>130px</width>
									<height>36px</height>
									<style>color:white;font-family:my-font-san;background-color:#008080;border-radius:6px;padding-right:5px;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048)</style>
									<align>top</align>
									<margin_left>7px</margin_left>
									<margin_right>7px</margin_right>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<html>GenerateArray
&lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path fill=&quot;currentColor&quot; d=&quot;M15,4V6H18V18H15V20H20V4M4,4V20H9V18H6V6H9V4H4Z&quot; /&gt;
&lt;/svg&gt;</html>
									<click>BEGINJS
$App.myTagArray = $scope.generateArray();
ENDJS
ShowObject &quot;output&quot; &quot;zoomIn&quot; 8</click>
								</Container>
							</Components>
						</Container>
						<Container id="tagHome">
							<left>13px</left>
							<top>67px</top>
							<width>80%</width>
							<height>156px</height>
							<style>background-color:#fff;border-radius:5px;padding-bottom:6px;padding-left:6px;padding-right:6px;padding-top:6px;overflow-y:auto</style>
							<align>top</align>
							<margin_left>10%</margin_left>
							<margin_top>5px</margin_top>
							<margin_bottom>0px</margin_bottom>
							<css_class>boxShadow flexMenu</css_class>
						</Container>
						<Container id="editPanel">
							<left>72px</left>
							<top>23px</top>
							<width>80%</width>
							<height>50px</height>
							<style>background-color:#fff;border-radius:5px;max-height:50px;min-height:50px</style>
							<align>top</align>
							<margin_left>10%</margin_left>
							<margin_top>5px</margin_top>
							<visible>False</visible>
							<css_class>boxShadow flexSpacebetween</css_class>
							<Components>
								<Container id="Container2">
									<left>6px</left>
									<top>10px</top>
									<width>120px</width>
									<height>36px</height>
									<style>color:white;font-family:my-font-san;background-color:#0076fc;border-radius:6px;padding-right:5px;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048)</style>
									<align>top</align>
									<margin_left>7px</margin_left>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<html>
&lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path fill=&quot;currentColor&quot; d=&quot;M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z&quot; /&gt;
&lt;/svg&gt;

move Left</html>
									<click>moveToLeft
</click>
								</Container>
								<Container id="Container3">
									<left>15px</left>
									<top>15px</top>
									<width>120px</width>
									<height>36px</height>
									<style>color:white;font-family:my-font-san;background-color:#0076fc;border-radius:6px;padding-right:5px;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048)</style>
									<align>top</align>
									<margin_right>30px</margin_right>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<html>move Right

&lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path fill=&quot;currentColor&quot; d=&quot;M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z&quot; /&gt;
&lt;/svg&gt;</html>
									<click>moveToRight
</click>
								</Container>
								<Container id="Container1">
									<left>227px</left>
									<top>15px</top>
									<width>120px</width>
									<height>36px</height>
									<style>padding-right:5px</style>
									<align>top</align>
									<margin_right>30px</margin_right>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<click>moveToRight</click>
								</Container>
								<Container id="Container55">
									<left>251px</left>
									<top>7px</top>
									<width>35px</width>
									<height>36px</height>
									<style>color:white;background-color:red;border-radius:6px;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048)</style>
									<align>top</align>
									<margin_left>8px</margin_left>
									<margin_right>8px</margin_right>
									<hover>background-color:#006ce2</hover>
									<css_class>flexCenter</css_class>
									<html>&lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path fill=&quot;currentColor&quot; d=&quot;M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z&quot; /&gt;
&lt;/svg&gt;</html>
									<click>BEGINJS
$($App.activeElement).remove();
ENDJS</click>
								</Container>
							</Components>
						</Container>
						<Container id="output">
							<left>72px</left>
							<top>239px</top>
							<width>80%</width>
							<height>50px</height>
							<style>background-color:#fff;border-radius:5px;padding-left:8px;max-height:50px;min-height:50px</style>
							<align>top</align>
							<margin_left>10%</margin_left>
							<margin_top>5px</margin_top>
							<css_class>boxShadow flexSpacebetween</css_class>
							<html>Output: [myTagArray]</html>
							<Components>
								<Container id="Container8">
									<left>227px</left>
									<top>15px</top>
									<width>120px</width>
									<height>36px</height>
									<style>padding-right:5px</style>
									<align>top</align>
									<margin_right>30px</margin_right>
									<hover>background-color:#006ce2;transform:scale(0.95);transform-origin:center</hover>
									<css_class>select flexCenter</css_class>
									<click>moveToRight</click>
								</Container>
							</Components>
						</Container>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>640px</width>
							<height>480px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
