@lcap/nasl 1.0.0-alpha → 1.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2352) hide show
  1. package/README.md +4 -4
  2. package/docs/assets/search.js +1 -1
  3. package/docs/classes/CompletionProperty.html +4 -2
  4. package/docs/classes/Entity.html +2832 -204
  5. package/docs/classes/View.html +4567 -365
  6. package/docs/index.html +1 -1
  7. package/out/automate/engine/index.d.ts +3 -0
  8. package/out/automate/engine/index.js +436 -0
  9. package/out/automate/engine/index.js.map +1 -0
  10. package/out/automate/engine/utils.d.ts +19 -0
  11. package/out/automate/engine/utils.js +333 -0
  12. package/out/automate/engine/utils.js.map +1 -0
  13. package/out/bak/translator.js +2 -8
  14. package/out/bak/translator.js.map +1 -1
  15. package/out/common/BaseNode.d.ts +235 -0
  16. package/out/common/BaseNode.js +726 -0
  17. package/out/common/BaseNode.js.map +1 -0
  18. package/out/{src/common → common}/Command.d.ts +0 -0
  19. package/out/{src/common → common}/Command.js +0 -0
  20. package/out/common/Command.js.map +1 -0
  21. package/out/{src/common → common}/ComponentAPI.d.ts +0 -0
  22. package/out/{src/common → common}/ComponentAPI.js +0 -0
  23. package/out/common/ComponentAPI.js.map +1 -0
  24. package/out/common/EventEmitter.d.ts +58 -0
  25. package/out/{src/common → common}/EventEmitter.js +0 -0
  26. package/out/common/EventEmitter.js.map +1 -0
  27. package/out/{src/common → common}/Messager.d.ts +0 -0
  28. package/out/{src/common → common}/Messager.js +0 -0
  29. package/out/common/Messager.js.map +1 -0
  30. package/out/{src/common → common}/classMap.d.ts +0 -0
  31. package/out/{src/common → common}/classMap.js +0 -0
  32. package/out/common/classMap.js.map +1 -0
  33. package/out/{src/common → common}/index.d.ts +0 -0
  34. package/out/{src/common → common}/index.js +0 -0
  35. package/out/common/index.js.map +1 -0
  36. package/out/concepts/App__.d.ts +1099 -0
  37. package/out/concepts/App__.js +1515 -0
  38. package/out/concepts/App__.js.map +1 -0
  39. package/out/concepts/Argument__.d.ts +54 -0
  40. package/out/concepts/Argument__.js +180 -0
  41. package/out/concepts/Argument__.js.map +1 -0
  42. package/out/concepts/Assignment__.d.ts +70 -0
  43. package/out/concepts/Assignment__.js +196 -0
  44. package/out/concepts/Assignment__.js.map +1 -0
  45. package/out/{src/concepts → concepts}/Attribute__.d.ts +0 -0
  46. package/out/concepts/Attribute__.js +221 -0
  47. package/out/concepts/Attribute__.js.map +1 -0
  48. package/out/concepts/BinaryExpression__.d.ts +64 -0
  49. package/out/concepts/BinaryExpression__.js +251 -0
  50. package/out/concepts/BinaryExpression__.js.map +1 -0
  51. package/out/concepts/BindAttribute__.d.ts +212 -0
  52. package/out/concepts/BindAttribute__.js +405 -0
  53. package/out/concepts/BindAttribute__.js.map +1 -0
  54. package/out/concepts/BindDirective__.d.ts +93 -0
  55. package/out/concepts/BindDirective__.js +224 -0
  56. package/out/concepts/BindDirective__.js.map +1 -0
  57. package/out/concepts/BindEvent__.d.ts +138 -0
  58. package/out/concepts/BindEvent__.js +315 -0
  59. package/out/concepts/BindEvent__.js.map +1 -0
  60. package/out/concepts/BooleanLiteral__.d.ts +25 -0
  61. package/out/concepts/BooleanLiteral__.js +70 -0
  62. package/out/concepts/BooleanLiteral__.js.map +1 -0
  63. package/out/concepts/CallFunction__.d.ts +153 -0
  64. package/out/concepts/CallFunction__.js +342 -0
  65. package/out/concepts/CallFunction__.js.map +1 -0
  66. package/out/concepts/CallInterface__.d.ts +98 -0
  67. package/out/concepts/CallInterface__.js +234 -0
  68. package/out/concepts/CallInterface__.js.map +1 -0
  69. package/out/concepts/CallLogic__.d.ts +170 -0
  70. package/out/concepts/CallLogic__.js +529 -0
  71. package/out/concepts/CallLogic__.js.map +1 -0
  72. package/out/concepts/CallQueryComponent__.d.ts +310 -0
  73. package/out/concepts/CallQueryComponent__.js +753 -0
  74. package/out/concepts/CallQueryComponent__.js.map +1 -0
  75. package/out/concepts/Comment__.d.ts +30 -0
  76. package/out/concepts/Comment__.js +89 -0
  77. package/out/concepts/Comment__.js.map +1 -0
  78. package/out/concepts/CompletionProperty__.d.ts +99 -0
  79. package/out/concepts/CompletionProperty__.js +235 -0
  80. package/out/concepts/CompletionProperty__.js.map +1 -0
  81. package/out/concepts/ConfigGroup__.d.ts +120 -0
  82. package/out/concepts/ConfigGroup__.js +214 -0
  83. package/out/concepts/ConfigGroup__.js.map +1 -0
  84. package/out/concepts/ConfigPropertyValue__.d.ts +43 -0
  85. package/out/concepts/ConfigPropertyValue__.js +103 -0
  86. package/out/concepts/ConfigPropertyValue__.js.map +1 -0
  87. package/out/concepts/ConfigProperty__.d.ts +128 -0
  88. package/out/concepts/ConfigProperty__.js +236 -0
  89. package/out/concepts/ConfigProperty__.js.map +1 -0
  90. package/out/concepts/Configuration__.d.ts +120 -0
  91. package/out/concepts/Configuration__.js +210 -0
  92. package/out/concepts/Configuration__.js.map +1 -0
  93. package/out/concepts/Constant__.d.ts +98 -0
  94. package/out/concepts/Constant__.js +223 -0
  95. package/out/concepts/Constant__.js.map +1 -0
  96. package/out/{src/concepts → concepts}/DataElement__.d.ts +0 -0
  97. package/out/concepts/DataElement__.js +114 -0
  98. package/out/concepts/DataElement__.js.map +1 -0
  99. package/out/concepts/Destination__.d.ts +107 -0
  100. package/out/concepts/Destination__.js +328 -0
  101. package/out/concepts/Destination__.js.map +1 -0
  102. package/out/concepts/End__.d.ts +23 -0
  103. package/out/concepts/End__.js +76 -0
  104. package/out/concepts/End__.js.map +1 -0
  105. package/out/concepts/EntityIndex__.d.ts +89 -0
  106. package/out/concepts/EntityIndex__.js +207 -0
  107. package/out/concepts/EntityIndex__.js.map +1 -0
  108. package/out/concepts/EntityProperty__.d.ts +215 -0
  109. package/out/concepts/EntityProperty__.js +495 -0
  110. package/out/concepts/EntityProperty__.js.map +1 -0
  111. package/out/concepts/Entity__.d.ts +291 -0
  112. package/out/concepts/Entity__.js +546 -0
  113. package/out/concepts/Entity__.js.map +1 -0
  114. package/out/{src/concepts → concepts}/EnumItem__.d.ts +0 -0
  115. package/out/concepts/EnumItem__.js +136 -0
  116. package/out/concepts/EnumItem__.js.map +1 -0
  117. package/out/{src/concepts → concepts}/Enum__.d.ts +0 -0
  118. package/out/concepts/Enum__.js +275 -0
  119. package/out/concepts/Enum__.js.map +1 -0
  120. package/out/{src/concepts → concepts}/Event__.d.ts +0 -0
  121. package/out/concepts/Event__.js +242 -0
  122. package/out/concepts/Event__.js.map +1 -0
  123. package/out/concepts/ForEachStatement__.d.ts +191 -0
  124. package/out/concepts/ForEachStatement__.js +445 -0
  125. package/out/concepts/ForEachStatement__.js.map +1 -0
  126. package/out/concepts/Function__.d.ts +388 -0
  127. package/out/concepts/Function__.js +562 -0
  128. package/out/concepts/Function__.js.map +1 -0
  129. package/out/concepts/Identifier__.d.ts +42 -0
  130. package/out/concepts/Identifier__.js +164 -0
  131. package/out/concepts/Identifier__.js.map +1 -0
  132. package/out/concepts/IfStatement__.d.ts +148 -0
  133. package/out/concepts/IfStatement__.js +280 -0
  134. package/out/concepts/IfStatement__.js.map +1 -0
  135. package/out/concepts/InterfaceParam__.d.ts +110 -0
  136. package/out/concepts/InterfaceParam__.js +265 -0
  137. package/out/concepts/InterfaceParam__.js.map +1 -0
  138. package/out/concepts/Interface__.d.ts +256 -0
  139. package/out/concepts/Interface__.js +475 -0
  140. package/out/concepts/Interface__.js.map +1 -0
  141. package/out/concepts/JSBlock__.d.ts +30 -0
  142. package/out/concepts/JSBlock__.js +89 -0
  143. package/out/concepts/JSBlock__.js.map +1 -0
  144. package/out/concepts/LogicItem__.d.ts +116 -0
  145. package/out/concepts/LogicItem__.js +219 -0
  146. package/out/concepts/LogicItem__.js.map +1 -0
  147. package/out/concepts/Logic__.d.ts +592 -0
  148. package/out/concepts/Logic__.js +1056 -0
  149. package/out/concepts/Logic__.js.map +1 -0
  150. package/out/concepts/MemberExpression__.d.ts +63 -0
  151. package/out/concepts/MemberExpression__.js +201 -0
  152. package/out/concepts/MemberExpression__.js.map +1 -0
  153. package/out/concepts/Module__.d.ts +747 -0
  154. package/out/concepts/Module__.js +987 -0
  155. package/out/concepts/Module__.js.map +1 -0
  156. package/out/{src/concepts → concepts}/Namespace__.d.ts +0 -0
  157. package/out/concepts/Namespace__.js +1397 -0
  158. package/out/concepts/Namespace__.js.map +1 -0
  159. package/out/concepts/NullLiteral__.d.ts +20 -0
  160. package/out/concepts/NullLiteral__.js +63 -0
  161. package/out/concepts/NullLiteral__.js.map +1 -0
  162. package/out/concepts/NumericLiteral__.d.ts +53 -0
  163. package/out/concepts/NumericLiteral__.js +161 -0
  164. package/out/concepts/NumericLiteral__.js.map +1 -0
  165. package/out/concepts/Param__.d.ts +142 -0
  166. package/out/concepts/Param__.js +315 -0
  167. package/out/concepts/Param__.js.map +1 -0
  168. package/out/{src/concepts → concepts}/Point__.d.ts +0 -0
  169. package/out/concepts/Point__.js +75 -0
  170. package/out/concepts/Point__.js.map +1 -0
  171. package/out/{src/concepts → concepts}/ProcessComponent__.d.ts +0 -0
  172. package/out/concepts/ProcessComponent__.js +333 -0
  173. package/out/concepts/ProcessComponent__.js.map +1 -0
  174. package/out/concepts/ProcessElement__.d.ts +558 -0
  175. package/out/concepts/ProcessElement__.js +909 -0
  176. package/out/concepts/ProcessElement__.js.map +1 -0
  177. package/out/concepts/ProcessOutcome__.d.ts +30 -0
  178. package/out/concepts/ProcessOutcome__.js +87 -0
  179. package/out/concepts/ProcessOutcome__.js.map +1 -0
  180. package/out/concepts/Process__.d.ts +445 -0
  181. package/out/concepts/Process__.js +770 -0
  182. package/out/concepts/Process__.js.map +1 -0
  183. package/out/concepts/QueryAggregateExpression__.d.ts +50 -0
  184. package/out/concepts/QueryAggregateExpression__.js +144 -0
  185. package/out/concepts/QueryAggregateExpression__.js.map +1 -0
  186. package/out/concepts/QueryFieldExpression__.d.ts +47 -0
  187. package/out/concepts/QueryFieldExpression__.js +122 -0
  188. package/out/concepts/QueryFieldExpression__.js.map +1 -0
  189. package/out/concepts/QueryFromExpression__.d.ts +91 -0
  190. package/out/concepts/QueryFromExpression__.js +181 -0
  191. package/out/concepts/QueryFromExpression__.js.map +1 -0
  192. package/out/concepts/QueryGroupByExpression__.d.ts +42 -0
  193. package/out/concepts/QueryGroupByExpression__.js +119 -0
  194. package/out/concepts/QueryGroupByExpression__.js.map +1 -0
  195. package/out/concepts/QueryJoinExpression__.d.ts +178 -0
  196. package/out/concepts/QueryJoinExpression__.js +301 -0
  197. package/out/concepts/QueryJoinExpression__.js.map +1 -0
  198. package/out/concepts/QueryLimitExpression__.d.ts +56 -0
  199. package/out/concepts/QueryLimitExpression__.js +156 -0
  200. package/out/concepts/QueryLimitExpression__.js.map +1 -0
  201. package/out/concepts/QueryOrderByExpression__.d.ts +67 -0
  202. package/out/concepts/QueryOrderByExpression__.js +169 -0
  203. package/out/concepts/QueryOrderByExpression__.js.map +1 -0
  204. package/out/concepts/QuerySelectExpression__.d.ts +114 -0
  205. package/out/concepts/QuerySelectExpression__.js +203 -0
  206. package/out/concepts/QuerySelectExpression__.js.map +1 -0
  207. package/out/{src/concepts → concepts}/Rect__.d.ts +0 -0
  208. package/out/concepts/Rect__.js +89 -0
  209. package/out/concepts/Rect__.js.map +1 -0
  210. package/out/concepts/Return__.d.ts +128 -0
  211. package/out/concepts/Return__.js +281 -0
  212. package/out/concepts/Return__.js.map +1 -0
  213. package/out/concepts/Role__.d.ts +61 -0
  214. package/out/concepts/Role__.js +155 -0
  215. package/out/concepts/Role__.js.map +1 -0
  216. package/out/{src/concepts → concepts}/Slot__.d.ts +0 -0
  217. package/out/concepts/Slot__.js +114 -0
  218. package/out/concepts/Slot__.js.map +1 -0
  219. package/out/concepts/SqlQueryComponent__.d.ts +47 -0
  220. package/out/concepts/SqlQueryComponent__.js +134 -0
  221. package/out/concepts/SqlQueryComponent__.js.map +1 -0
  222. package/out/concepts/Start__.d.ts +23 -0
  223. package/out/concepts/Start__.js +71 -0
  224. package/out/concepts/Start__.js.map +1 -0
  225. package/out/concepts/StringLiteral__.d.ts +35 -0
  226. package/out/concepts/StringLiteral__.js +142 -0
  227. package/out/concepts/StringLiteral__.js.map +1 -0
  228. package/out/concepts/StructureProperty__.d.ts +123 -0
  229. package/out/concepts/StructureProperty__.js +286 -0
  230. package/out/concepts/StructureProperty__.js.map +1 -0
  231. package/out/concepts/Structure__.d.ts +245 -0
  232. package/out/concepts/Structure__.js +408 -0
  233. package/out/concepts/Structure__.js.map +1 -0
  234. package/out/concepts/SwitchCase__.d.ts +92 -0
  235. package/out/concepts/SwitchCase__.js +231 -0
  236. package/out/concepts/SwitchCase__.js.map +1 -0
  237. package/out/concepts/SwitchStatement__.d.ts +82 -0
  238. package/out/concepts/SwitchStatement__.js +180 -0
  239. package/out/concepts/SwitchStatement__.js.map +1 -0
  240. package/out/{src/concepts → concepts}/Theme__.d.ts +0 -0
  241. package/out/concepts/Theme__.js +86 -0
  242. package/out/concepts/Theme__.js.map +1 -0
  243. package/out/{src/concepts → concepts}/Transactional__.d.ts +0 -0
  244. package/out/concepts/Transactional__.js +151 -0
  245. package/out/concepts/Transactional__.js.map +1 -0
  246. package/out/concepts/TypeAnnotation__.d.ts +126 -0
  247. package/out/concepts/TypeAnnotation__.js +317 -0
  248. package/out/concepts/TypeAnnotation__.js.map +1 -0
  249. package/out/{src/concepts → concepts}/TypeParam__.d.ts +0 -0
  250. package/out/concepts/TypeParam__.js +57 -0
  251. package/out/concepts/TypeParam__.js.map +1 -0
  252. package/out/concepts/UnaryExpression__.d.ts +46 -0
  253. package/out/concepts/UnaryExpression__.js +164 -0
  254. package/out/concepts/UnaryExpression__.js.map +1 -0
  255. package/out/concepts/Unparsed__.d.ts +29 -0
  256. package/out/concepts/Unparsed__.js +88 -0
  257. package/out/concepts/Unparsed__.js.map +1 -0
  258. package/out/{src/concepts → concepts}/UseComponent__.d.ts +0 -0
  259. package/out/concepts/UseComponent__.js +75 -0
  260. package/out/concepts/UseComponent__.js.map +1 -0
  261. package/out/concepts/ValidationRule__.d.ts +93 -0
  262. package/out/concepts/ValidationRule__.js +219 -0
  263. package/out/concepts/ValidationRule__.js.map +1 -0
  264. package/out/concepts/Variable__.d.ts +127 -0
  265. package/out/concepts/Variable__.js +279 -0
  266. package/out/concepts/Variable__.js.map +1 -0
  267. package/out/{src/concepts → concepts}/ViewComponent__.d.ts +0 -0
  268. package/out/concepts/ViewComponent__.js +644 -0
  269. package/out/concepts/ViewComponent__.js.map +1 -0
  270. package/out/concepts/ViewElement__.d.ts +475 -0
  271. package/out/concepts/ViewElement__.js +1285 -0
  272. package/out/concepts/ViewElement__.js.map +1 -0
  273. package/out/concepts/View__.d.ts +674 -0
  274. package/out/concepts/View__.js +1280 -0
  275. package/out/concepts/View__.js.map +1 -0
  276. package/out/concepts/WhileStatement__.d.ts +95 -0
  277. package/out/concepts/WhileStatement__.js +208 -0
  278. package/out/concepts/WhileStatement__.js.map +1 -0
  279. package/out/{src/concepts → concepts}/basics/stdlib/index.d.ts +0 -0
  280. package/out/concepts/basics/stdlib/index.js +23 -0
  281. package/out/concepts/basics/stdlib/index.js.map +1 -0
  282. package/out/concepts/basics/stdlib/nasl.collection.d.ts +7 -0
  283. package/out/concepts/basics/stdlib/nasl.collection.js +83 -0
  284. package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -0
  285. package/out/{src/concepts → concepts}/basics/stdlib/nasl.core.d.ts +0 -0
  286. package/out/{src/concepts → concepts}/basics/stdlib/nasl.core.js +0 -0
  287. package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
  288. package/out/{src/concepts → concepts}/basics/stdlib/nasl.interface.d.ts +0 -0
  289. package/out/{src/concepts → concepts}/basics/stdlib/nasl.interface.js +0 -0
  290. package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
  291. package/out/{src/concepts → concepts}/basics/stdlib/nasl.process.d.ts +0 -0
  292. package/out/{src/concepts → concepts}/basics/stdlib/nasl.process.js +0 -0
  293. package/out/concepts/basics/stdlib/nasl.process.js.map +1 -0
  294. package/out/concepts/basics/stdlib/nasl.ui.d.ts +7 -0
  295. package/out/concepts/basics/stdlib/nasl.ui.js +814 -0
  296. package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
  297. package/out/{src/concepts → concepts}/basics/stdlib/nasl.util.d.ts +0 -0
  298. package/out/concepts/basics/stdlib/nasl.util.js +632 -0
  299. package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
  300. package/out/{src/concepts/basics/stdlib/nasl.validate.d.ts → concepts/basics/stdlib/nasl.validation.d.ts} +0 -0
  301. package/out/concepts/basics/stdlib/nasl.validation.js +527 -0
  302. package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
  303. package/out/{src/concepts → concepts}/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -0
  304. package/out/{src/concepts → concepts}/basics/stdlib/reference2TypeAnnotationList.js +0 -0
  305. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
  306. package/out/{src/concepts → concepts}/basics/types/coreTypeList.d.ts +0 -0
  307. package/out/concepts/basics/types/coreTypeList.js +18 -0
  308. package/out/concepts/basics/types/coreTypeList.js.map +1 -0
  309. package/out/concepts/basics/types/index.d.ts +11 -0
  310. package/out/concepts/basics/types/index.js +22 -0
  311. package/out/concepts/basics/types/index.js.map +1 -0
  312. package/out/{src/concepts → concepts}/index.d.ts +0 -0
  313. package/out/{src/concepts → concepts}/index.js +0 -0
  314. package/out/concepts/index.js.map +1 -0
  315. package/out/concepts/index__.d.ts +81 -0
  316. package/out/concepts/index__.js +98 -0
  317. package/out/concepts/index__.js.map +1 -0
  318. package/out/config.d.ts +43 -0
  319. package/out/config.js +72 -0
  320. package/out/config.js.map +1 -0
  321. package/out/decorators/index.d.ts +54 -0
  322. package/out/decorators/index.js +149 -0
  323. package/out/decorators/index.js.map +1 -0
  324. package/out/generator/compileComponent.d.ts +11 -0
  325. package/out/{src/generator → generator}/compileComponent.js +0 -0
  326. package/out/generator/compileComponent.js.map +1 -0
  327. package/out/generator/genBundleFiles.d.ts +37 -0
  328. package/out/generator/genBundleFiles.js +231 -0
  329. package/out/generator/genBundleFiles.js.map +1 -0
  330. package/out/{src/generator → generator}/genHash.d.ts +0 -0
  331. package/out/{src/generator → generator}/genHash.js +0 -0
  332. package/out/generator/genHash.js.map +1 -0
  333. package/out/generator/genMetaData.d.ts +35 -0
  334. package/out/generator/genMetaData.js +78 -0
  335. package/out/generator/genMetaData.js.map +1 -0
  336. package/out/generator/index.d.ts +5 -2
  337. package/out/generator/index.js +10 -3
  338. package/out/generator/index.js.map +1 -1
  339. package/out/{src/generator → generator}/styleReplacer.d.ts +0 -0
  340. package/out/{src/generator → generator}/styleReplacer.js +0 -0
  341. package/out/generator/styleReplacer.js.map +1 -0
  342. package/out/index.d.ts +9 -2
  343. package/out/index.js +38 -3
  344. package/out/index.js.map +1 -1
  345. package/out/manager/diagnostic.d.ts +25 -17
  346. package/out/manager/diagnostic.js +62 -60
  347. package/out/manager/diagnostic.js.map +1 -1
  348. package/out/server/createUiTs.d.ts +7 -0
  349. package/out/server/createUiTs.js +163 -0
  350. package/out/server/createUiTs.js.map +1 -0
  351. package/out/server/entity2LogicNamespace.d.ts +10 -0
  352. package/out/server/entity2LogicNamespace.js +202 -0
  353. package/out/server/entity2LogicNamespace.js.map +1 -0
  354. package/out/server/getExtensionModules.d.ts +3 -0
  355. package/out/server/getExtensionModules.js +18 -0
  356. package/out/server/getExtensionModules.js.map +1 -0
  357. package/out/{src/server → server}/getFunctions.d.ts +0 -0
  358. package/out/{src/server → server}/getFunctions.js +0 -0
  359. package/out/server/getFunctions.js.map +1 -0
  360. package/out/{src/server → server}/getInterfaces.d.ts +0 -0
  361. package/out/server/getInterfaces.js +48 -0
  362. package/out/server/getInterfaces.js.map +1 -0
  363. package/out/server/getLogics.d.ts +3 -0
  364. package/out/server/getLogics.js +118 -0
  365. package/out/server/getLogics.js.map +1 -0
  366. package/out/server/getMemberIdentifier.d.ts +7 -0
  367. package/out/server/getMemberIdentifier.js +230 -0
  368. package/out/server/getMemberIdentifier.js.map +1 -0
  369. package/out/{src/server → server}/getProcessComponents.d.ts +0 -0
  370. package/out/{src/server → server}/getProcessComponents.js +0 -0
  371. package/out/server/getProcessComponents.js.map +1 -0
  372. package/out/server/getProcesses.d.ts +22 -0
  373. package/out/server/getProcesses.js +115 -0
  374. package/out/server/getProcesses.js.map +1 -0
  375. package/out/{src/server → server}/getValidates.d.ts +0 -0
  376. package/out/server/getValidates.js +14 -0
  377. package/out/server/getValidates.js.map +1 -0
  378. package/out/{src/server → server}/index.d.ts +0 -0
  379. package/out/server/index.js +28 -0
  380. package/out/server/index.js.map +1 -0
  381. package/out/server/naslServer.d.ts +156 -0
  382. package/out/server/naslServer.js +1465 -0
  383. package/out/server/naslServer.js.map +1 -0
  384. package/out/server/process2LogicNamespace.d.ts +16 -0
  385. package/out/server/process2LogicNamespace.js +60 -0
  386. package/out/server/process2LogicNamespace.js.map +1 -0
  387. package/out/{src/server → server}/translator.d.ts +0 -0
  388. package/out/server/translator.js +178 -0
  389. package/out/server/translator.js.map +1 -0
  390. package/out/{baseService → service/storage}/index.d.ts +0 -0
  391. package/out/{src/service → service}/storage/index.js +0 -0
  392. package/out/service/storage/index.js.map +1 -0
  393. package/out/service/storage/init.d.ts +12 -0
  394. package/out/service/storage/init.js +280 -0
  395. package/out/service/storage/init.js.map +1 -0
  396. package/out/{src/service → service}/storage/jsoner.d.ts +0 -0
  397. package/out/{src/service → service}/storage/jsoner.js +0 -0
  398. package/out/service/storage/jsoner.js.map +1 -0
  399. package/out/{src → service/storage}/map.d.ts +0 -0
  400. package/out/{src/service → service}/storage/map.js +0 -0
  401. package/out/service/storage/map.js.map +1 -0
  402. package/out/{src/service → service}/storage/storagePoint.d.ts +0 -0
  403. package/out/{src/service → service}/storage/storagePoint.js +0 -0
  404. package/out/service/storage/storagePoint.js.map +1 -0
  405. package/out/{src/templator → templator}/genCallComponentLogic.d.ts +0 -0
  406. package/out/templator/genCallComponentLogic.js +30 -0
  407. package/out/templator/genCallComponentLogic.js.map +1 -0
  408. package/out/{src/templator → templator}/genCreateBlock.d.ts +0 -0
  409. package/out/templator/genCreateBlock.js +317 -0
  410. package/out/templator/genCreateBlock.js.map +1 -0
  411. package/out/{src/templator → templator}/genCurdEditMultipleKeyBlock.d.ts +0 -0
  412. package/out/templator/genCurdEditMultipleKeyBlock.js +469 -0
  413. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
  414. package/out/{src/templator → templator}/genCurdMultipleKeyBlock.d.ts +0 -0
  415. package/out/templator/genCurdMultipleKeyBlock.js +656 -0
  416. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -0
  417. package/out/{src/templator → templator}/genEditTableBlock.d.ts +0 -0
  418. package/out/templator/genEditTableBlock.js +301 -0
  419. package/out/templator/genEditTableBlock.js.map +1 -0
  420. package/out/{src/templator → templator}/genEnumSelectBlock.d.ts +0 -0
  421. package/out/templator/genEnumSelectBlock.js +23 -0
  422. package/out/templator/genEnumSelectBlock.js.map +1 -0
  423. package/out/{src/templator → templator}/genGetBlock.d.ts +0 -0
  424. package/out/templator/genGetBlock.js +133 -0
  425. package/out/templator/genGetBlock.js.map +1 -0
  426. package/out/{src/templator → templator}/genGridViewBlock.d.ts +0 -0
  427. package/out/templator/genGridViewBlock.js +308 -0
  428. package/out/templator/genGridViewBlock.js.map +1 -0
  429. package/out/{src/templator → templator}/genListViewBlock.d.ts +0 -0
  430. package/out/templator/genListViewBlock.js +139 -0
  431. package/out/templator/genListViewBlock.js.map +1 -0
  432. package/out/{src/templator → templator}/genQueryComponent.d.ts +0 -0
  433. package/out/{src/templator → templator}/genQueryComponent.js +0 -0
  434. package/out/templator/genQueryComponent.js.map +1 -0
  435. package/out/{src/templator → templator}/genSelectBlock.d.ts +0 -0
  436. package/out/templator/genSelectBlock.js +152 -0
  437. package/out/templator/genSelectBlock.js.map +1 -0
  438. package/out/{src/templator → templator}/genTableBlock.d.ts +0 -0
  439. package/out/templator/genTableBlock.js +296 -0
  440. package/out/templator/genTableBlock.js.map +1 -0
  441. package/out/{src/templator → templator}/genUpdateBlock.d.ts +0 -0
  442. package/out/templator/genUpdateBlock.js +359 -0
  443. package/out/templator/genUpdateBlock.js.map +1 -0
  444. package/out/templator/index.d.ts +16 -0
  445. package/out/templator/index.js +34 -0
  446. package/out/templator/index.js.map +1 -0
  447. package/out/templator/utils.d.ts +634 -0
  448. package/out/templator/utils.js +421 -0
  449. package/out/templator/utils.js.map +1 -0
  450. package/out/{src/terms → terms}/LEVEL_NAME_MAP.d.ts +0 -0
  451. package/out/{src/terms → terms}/LEVEL_NAME_MAP.js +0 -0
  452. package/out/terms/LEVEL_NAME_MAP.js.map +1 -0
  453. package/out/test/fixtures/env.d.ts +1 -1
  454. package/out/test/fixtures/env.js +7 -7
  455. package/out/test/fixtures/env.js.map +1 -1
  456. package/out/{src/test/integration/connect-file.d.ts → test/integration/connect-create-file.d.ts} +0 -0
  457. package/out/test/integration/connect-create-file.js +39 -0
  458. package/out/test/integration/connect-create-file.js.map +1 -0
  459. package/out/{src/test/units/app/App.spec.d.ts → test/integration/connect-file.d.ts} +0 -0
  460. package/out/{src/test → test}/integration/connect-file.js +0 -0
  461. package/out/test/integration/connect-file.js.map +1 -0
  462. package/out/{src/test → test}/units/baseTypes/Assignment.spec.d.ts +0 -0
  463. package/out/{src/test → test}/units/baseTypes/Assignment.spec.js +0 -0
  464. package/out/test/units/baseTypes/Assignment.spec.js.map +1 -0
  465. package/out/{src/test → test}/units/baseTypes/CallLogic.spec.d.ts +0 -0
  466. package/out/{src/test → test}/units/baseTypes/CallLogic.spec.js +0 -0
  467. package/out/test/units/baseTypes/CallLogic.spec.js.map +1 -0
  468. package/out/test/units/baseTypes/StringLiteral.spec.js +25 -21
  469. package/out/test/units/baseTypes/StringLiteral.spec.js.map +1 -1
  470. package/out/test/units/baseTypes/new.spec.js +8 -4
  471. package/out/test/units/baseTypes/new.spec.js.map +1 -1
  472. package/out/test/units/common/Vertex.spec.js +16 -38
  473. package/out/test/units/common/Vertex.spec.js.map +1 -1
  474. package/out/test/units/data/Entity.spec.js +3 -3
  475. package/out/test/units/data/Entity.spec.js.map +1 -1
  476. package/out/test/units/login.spec.js +4 -4
  477. package/out/test/units/login.spec.js.map +1 -1
  478. package/out/test/units/page/Block.spec.d.ts +0 -1
  479. package/out/test/units/page/Block.spec.js +12 -33
  480. package/out/test/units/page/Block.spec.js.map +1 -1
  481. package/out/test/units/page/Element.spec.js +14 -14
  482. package/out/test/units/page/Element.spec.js.map +1 -1
  483. package/out/test/units/temp/temp.spec.js +2 -2
  484. package/out/test/units/temp/temp.spec.js.map +1 -1
  485. package/out/translator/index.d.ts +12 -4
  486. package/out/translator/index.js +30 -8
  487. package/out/translator/index.js.map +1 -1
  488. package/out/{src/utils → utils}/index.d.ts +0 -0
  489. package/out/{src/utils → utils}/index.js +0 -0
  490. package/out/utils/index.js.map +1 -0
  491. package/out/{src/types/utils → utils}/logger.d.ts +0 -0
  492. package/out/{src/utils → utils}/logger.js +0 -0
  493. package/out/utils/logger.js.map +1 -0
  494. package/out/{src/types/utils → utils}/string.d.ts +0 -0
  495. package/out/{src/types/utils → utils}/string.js +0 -0
  496. package/out/utils/string.js.map +1 -0
  497. package/out/utils/traverse.d.ts +36 -0
  498. package/out/utils/traverse.js +132 -0
  499. package/out/utils/traverse.js.map +1 -0
  500. package/package.json +8 -2
  501. package/src/automate/engine/index.js +275 -129
  502. package/src/automate/engine/utils.js +198 -175
  503. package/src/bak/translator.js +124 -0
  504. package/src/common/BaseNode.ts +86 -44
  505. package/src/common/EventEmitter.ts +4 -0
  506. package/src/concepts/App__.ts +140 -64
  507. package/src/concepts/Argument__.ts +13 -7
  508. package/src/concepts/Assignment__.ts +13 -12
  509. package/src/concepts/Attribute__.ts +2 -1
  510. package/src/concepts/BinaryExpression__.ts +26 -8
  511. package/src/concepts/BindAttribute__.ts +20 -12
  512. package/src/concepts/BindDirective__.ts +8 -4
  513. package/src/concepts/BindEvent__.ts +76 -15
  514. package/src/concepts/BooleanLiteral__.ts +7 -7
  515. package/src/concepts/CallFunction__.ts +210 -21
  516. package/src/concepts/CallInterface__.ts +32 -13
  517. package/src/concepts/CallLogic__.ts +311 -16
  518. package/src/concepts/CallQueryComponent__.ts +36 -19
  519. package/src/concepts/Comment__.ts +2 -10
  520. package/src/concepts/CompletionProperty__.ts +7 -1
  521. package/src/concepts/ConfigGroup__.ts +290 -0
  522. package/src/concepts/ConfigPropertyValue__.ts +112 -0
  523. package/src/concepts/ConfigProperty__.ts +306 -0
  524. package/src/concepts/Configuration__.ts +286 -0
  525. package/src/concepts/Constant__.ts +7 -1
  526. package/src/concepts/DataElement__.ts +2 -1
  527. package/src/concepts/Destination__.ts +93 -23
  528. package/src/concepts/End__.ts +3 -27
  529. package/src/concepts/EntityIndex__.ts +20 -1
  530. package/src/concepts/EntityProperty__.ts +33 -10
  531. package/src/concepts/Entity__.ts +101 -77
  532. package/src/concepts/EnumItem__.ts +2 -1
  533. package/src/concepts/Enum__.ts +24 -7
  534. package/src/concepts/Event__.ts +7 -6
  535. package/src/concepts/ForEachStatement__.ts +120 -107
  536. package/src/concepts/Function__.ts +26 -19
  537. package/src/concepts/Identifier__.ts +48 -38
  538. package/src/concepts/IfStatement__.ts +9 -41
  539. package/src/concepts/InterfaceParam__.ts +10 -20
  540. package/src/concepts/Interface__.ts +51 -13
  541. package/src/concepts/JSBlock__.ts +2 -18
  542. package/src/concepts/LogicItem__.ts +11 -5
  543. package/src/concepts/Logic__.ts +179 -75
  544. package/src/concepts/MemberExpression__.ts +26 -22
  545. package/src/concepts/Module__.ts +50 -43
  546. package/src/concepts/Namespace__.ts +62 -61
  547. package/src/concepts/NullLiteral__.ts +8 -9
  548. package/src/concepts/NumericLiteral__.ts +11 -9
  549. package/src/concepts/Param__.ts +28 -41
  550. package/src/concepts/Point__.ts +2 -1
  551. package/src/concepts/ProcessComponent__.ts +12 -11
  552. package/src/concepts/ProcessElement__.ts +51 -28
  553. package/src/concepts/ProcessOutcome__.ts +2 -7
  554. package/src/concepts/Process__.ts +89 -48
  555. package/src/concepts/QueryAggregateExpression__.ts +2 -35
  556. package/src/concepts/QueryFieldExpression__.ts +3 -8
  557. package/src/concepts/QueryFromExpression__.ts +4 -9
  558. package/src/concepts/QueryGroupByExpression__.ts +2 -7
  559. package/src/concepts/QueryJoinExpression__.ts +9 -14
  560. package/src/concepts/QueryLimitExpression__.ts +2 -7
  561. package/src/concepts/QueryOrderByExpression__.ts +2 -7
  562. package/src/concepts/QuerySelectExpression__.ts +7 -12
  563. package/src/concepts/Rect__.ts +2 -1
  564. package/src/concepts/Return__.ts +14 -28
  565. package/src/concepts/Role__.ts +26 -3
  566. package/src/concepts/Slot__.ts +2 -1
  567. package/src/concepts/SqlQueryComponent__.ts +12 -8
  568. package/src/concepts/Start__.ts +3 -10
  569. package/src/concepts/StringLiteral__.ts +20 -9
  570. package/src/concepts/StructureProperty__.ts +10 -20
  571. package/src/concepts/Structure__.ts +38 -16
  572. package/src/concepts/SwitchCase__.ts +4 -42
  573. package/src/concepts/SwitchStatement__.ts +4 -9
  574. package/src/concepts/Theme__.ts +2 -1
  575. package/src/concepts/Transactional__.ts +2 -1
  576. package/src/concepts/TypeAnnotation__.ts +19 -5
  577. package/src/concepts/TypeParam__.ts +2 -1
  578. package/src/concepts/UnaryExpression__.ts +14 -9
  579. package/src/concepts/Unparsed__.ts +11 -11
  580. package/src/concepts/UseComponent__.ts +2 -1
  581. package/src/concepts/ValidationRule__.ts +21 -11
  582. package/src/concepts/Variable__.ts +26 -22
  583. package/src/concepts/ViewComponent__.ts +27 -26
  584. package/src/concepts/ViewElement__.ts +239 -115
  585. package/src/concepts/View__.ts +297 -283
  586. package/src/concepts/WhileStatement__.ts +7 -29
  587. package/src/concepts/basics/stdlib/index.ts +2 -2
  588. package/src/concepts/basics/stdlib/nasl.collection.ts +34 -10
  589. package/src/concepts/basics/stdlib/nasl.ui.ts +753 -27
  590. package/src/concepts/basics/stdlib/nasl.util.ts +50 -5
  591. package/src/concepts/basics/stdlib/nasl.validation.ts +523 -0
  592. package/src/concepts/basics/types/coreTypeList.ts +1 -0
  593. package/src/concepts/basics/types/index.ts +2 -2
  594. package/src/concepts/index__.ts +4 -0
  595. package/src/config.ts +2 -2
  596. package/src/decorators/index.ts +6 -3
  597. package/src/generator/compileComponent.ts +1 -1
  598. package/src/generator/genBundleFiles.ts +47 -24
  599. package/src/generator/genMetaData.ts +111 -0
  600. package/src/generator/index.ts +1 -0
  601. package/src/index.ts +3 -2
  602. package/src/server/createUiTs.ts +159 -0
  603. package/src/server/entity2LogicNamespace.ts +25 -9
  604. package/src/server/getExtensionModules.ts +13 -0
  605. package/src/server/getInterfaces.ts +3 -3
  606. package/src/server/getLogics.ts +58 -28
  607. package/src/server/getMemberIdentifier.ts +169 -28
  608. package/src/server/getProcesses.ts +15 -8
  609. package/src/server/getValidates.ts +1 -1
  610. package/src/server/index.ts +4 -2
  611. package/src/server/naslServer.ts +538 -187
  612. package/src/server/process2LogicNamespace.ts +55 -5
  613. package/src/server/translator.ts +121 -97
  614. package/src/service/config/api.js +32 -0
  615. package/src/service/config/index.js +6 -0
  616. package/src/service/creator/index.js +2 -2
  617. package/src/service/logic/checktypeSocket.js +49 -0
  618. package/src/service/modules/api.js +20 -0
  619. package/src/service/modules/index.js +6 -0
  620. package/src/service/storage/init.ts +161 -66
  621. package/src/templator/genCallComponentLogic.ts +2 -2
  622. package/src/templator/genCreateBlock.ts +39 -29
  623. package/src/templator/genCurdEditMultipleKeyBlock.ts +31 -11
  624. package/src/templator/genCurdMultipleKeyBlock.ts +33 -12
  625. package/src/templator/genEditTableBlock.ts +5 -5
  626. package/src/templator/genEnumSelectBlock.ts +2 -2
  627. package/src/templator/genGetBlock.ts +2 -2
  628. package/src/templator/genGridViewBlock.ts +1 -1
  629. package/src/templator/genListViewBlock.ts +5 -3
  630. package/src/templator/genSelectBlock.ts +13 -3
  631. package/src/templator/genTableBlock.ts +2 -1
  632. package/src/templator/genUpdateBlock.ts +38 -24
  633. package/src/templator/index.ts +1 -0
  634. package/src/templator/utils.ts +38 -155
  635. package/src/utils/traverse.ts +9 -3
  636. package/tsconfig.json +1 -1
  637. package/bak/basicTypes.ts +0 -76
  638. package/bak/dataTypeUtils.ts +0 -429
  639. package/bak/dataTypes.ts +0 -51
  640. package/bak/entityUtils.ts +0 -660
  641. package/bak/genericTypes.ts +0 -131
  642. package/bak/systemTypes.ts +0 -1590
  643. package/bak/tools.js +0 -174
  644. package/bak/translator.js +0 -129
  645. package/bak/translator_backup.js +0 -601
  646. package/out/baseService/index.js +0 -12
  647. package/out/baseService/index.js.map +0 -1
  648. package/out/baseTypes/App__.d.ts +0 -169
  649. package/out/baseTypes/App__.js +0 -344
  650. package/out/baseTypes/App__.js.map +0 -1
  651. package/out/baseTypes/AssignmentExpression__.d.ts +0 -42
  652. package/out/baseTypes/AssignmentExpression__.js +0 -112
  653. package/out/baseTypes/AssignmentExpression__.js.map +0 -1
  654. package/out/baseTypes/Attr__.d.ts +0 -96
  655. package/out/baseTypes/Attr__.js +0 -191
  656. package/out/baseTypes/Attr__.js.map +0 -1
  657. package/out/baseTypes/BinaryExpression__.d.ts +0 -40
  658. package/out/baseTypes/BinaryExpression__.js +0 -92
  659. package/out/baseTypes/BinaryExpression__.js.map +0 -1
  660. package/out/baseTypes/BooleanLiteral__.d.ts +0 -25
  661. package/out/baseTypes/BooleanLiteral__.js +0 -64
  662. package/out/baseTypes/BooleanLiteral__.js.map +0 -1
  663. package/out/baseTypes/Comment__.d.ts +0 -27
  664. package/out/baseTypes/Comment__.js +0 -60
  665. package/out/baseTypes/Comment__.js.map +0 -1
  666. package/out/baseTypes/Directive__.d.ts +0 -100
  667. package/out/baseTypes/Directive__.js +0 -198
  668. package/out/baseTypes/Directive__.js.map +0 -1
  669. package/out/baseTypes/Element__.d.ts +0 -303
  670. package/out/baseTypes/Element__.js +0 -555
  671. package/out/baseTypes/Element__.js.map +0 -1
  672. package/out/baseTypes/End__.d.ts +0 -24
  673. package/out/baseTypes/End__.js +0 -61
  674. package/out/baseTypes/End__.js.map +0 -1
  675. package/out/baseTypes/EntityProperty__.d.ts +0 -116
  676. package/out/baseTypes/EntityProperty__.js +0 -230
  677. package/out/baseTypes/EntityProperty__.js.map +0 -1
  678. package/out/baseTypes/Entity__.d.ts +0 -106
  679. package/out/baseTypes/Entity__.js +0 -222
  680. package/out/baseTypes/Entity__.js.map +0 -1
  681. package/out/baseTypes/EnumItem__.d.ts +0 -56
  682. package/out/baseTypes/EnumItem__.js +0 -125
  683. package/out/baseTypes/EnumItem__.js.map +0 -1
  684. package/out/baseTypes/Enum__.d.ts +0 -98
  685. package/out/baseTypes/Enum__.js +0 -211
  686. package/out/baseTypes/Enum__.js.map +0 -1
  687. package/out/baseTypes/Event__.d.ts +0 -93
  688. package/out/baseTypes/Event__.js +0 -181
  689. package/out/baseTypes/Event__.js.map +0 -1
  690. package/out/baseTypes/ForEachStatement__.d.ts +0 -89
  691. package/out/baseTypes/ForEachStatement__.js +0 -169
  692. package/out/baseTypes/ForEachStatement__.js.map +0 -1
  693. package/out/baseTypes/Identifier__.d.ts +0 -24
  694. package/out/baseTypes/Identifier__.js +0 -60
  695. package/out/baseTypes/Identifier__.js.map +0 -1
  696. package/out/baseTypes/IfStatement__.d.ts +0 -60
  697. package/out/baseTypes/IfStatement__.js +0 -109
  698. package/out/baseTypes/IfStatement__.js.map +0 -1
  699. package/out/baseTypes/Lifecycle__.d.ts +0 -89
  700. package/out/baseTypes/Lifecycle__.js +0 -175
  701. package/out/baseTypes/Lifecycle__.js.map +0 -1
  702. package/out/baseTypes/LogicItem__.d.ts +0 -103
  703. package/out/baseTypes/LogicItem__.js +0 -211
  704. package/out/baseTypes/LogicItem__.js.map +0 -1
  705. package/out/baseTypes/Logic__.d.ts +0 -280
  706. package/out/baseTypes/Logic__.js +0 -598
  707. package/out/baseTypes/Logic__.js.map +0 -1
  708. package/out/baseTypes/Module__.d.ts +0 -278
  709. package/out/baseTypes/Module__.js +0 -511
  710. package/out/baseTypes/Module__.js.map +0 -1
  711. package/out/baseTypes/NullLiteral__.d.ts +0 -20
  712. package/out/baseTypes/NullLiteral__.js +0 -53
  713. package/out/baseTypes/NullLiteral__.js.map +0 -1
  714. package/out/baseTypes/Page__.d.ts +0 -85
  715. package/out/baseTypes/Page__.js +0 -166
  716. package/out/baseTypes/Page__.js.map +0 -1
  717. package/out/baseTypes/Param__.d.ts +0 -88
  718. package/out/baseTypes/Param__.js +0 -194
  719. package/out/baseTypes/Param__.js.map +0 -1
  720. package/out/baseTypes/ProcessComponent__.d.ts +0 -67
  721. package/out/baseTypes/ProcessComponent__.js +0 -142
  722. package/out/baseTypes/ProcessComponent__.js.map +0 -1
  723. package/out/baseTypes/Process__.d.ts +0 -134
  724. package/out/baseTypes/Process__.js +0 -255
  725. package/out/baseTypes/Process__.js.map +0 -1
  726. package/out/baseTypes/Return__.d.ts +0 -88
  727. package/out/baseTypes/Return__.js +0 -194
  728. package/out/baseTypes/Return__.js.map +0 -1
  729. package/out/baseTypes/Start__.d.ts +0 -24
  730. package/out/baseTypes/Start__.js +0 -60
  731. package/out/baseTypes/Start__.js.map +0 -1
  732. package/out/baseTypes/StringLiteral__.d.ts +0 -25
  733. package/out/baseTypes/StringLiteral__.js +0 -73
  734. package/out/baseTypes/StringLiteral__.js.map +0 -1
  735. package/out/baseTypes/StructureProperty__.d.ts +0 -107
  736. package/out/baseTypes/StructureProperty__.js +0 -206
  737. package/out/baseTypes/StructureProperty__.js.map +0 -1
  738. package/out/baseTypes/Structure__.d.ts +0 -129
  739. package/out/baseTypes/Structure__.js +0 -296
  740. package/out/baseTypes/Structure__.js.map +0 -1
  741. package/out/baseTypes/SwitchCase__.d.ts +0 -56
  742. package/out/baseTypes/SwitchCase__.js +0 -105
  743. package/out/baseTypes/SwitchCase__.js.map +0 -1
  744. package/out/baseTypes/SwitchStatement__.d.ts +0 -49
  745. package/out/baseTypes/SwitchStatement__.js +0 -90
  746. package/out/baseTypes/SwitchStatement__.js.map +0 -1
  747. package/out/baseTypes/TypeAnnotation__.d.ts +0 -62
  748. package/out/baseTypes/TypeAnnotation__.js +0 -156
  749. package/out/baseTypes/TypeAnnotation__.js.map +0 -1
  750. package/out/baseTypes/UnaryExpression__.d.ts +0 -32
  751. package/out/baseTypes/UnaryExpression__.js +0 -76
  752. package/out/baseTypes/UnaryExpression__.js.map +0 -1
  753. package/out/baseTypes/Variable__.d.ts +0 -88
  754. package/out/baseTypes/Variable__.js +0 -194
  755. package/out/baseTypes/Variable__.js.map +0 -1
  756. package/out/baseTypes/View__.d.ts +0 -359
  757. package/out/baseTypes/View__.js +0 -644
  758. package/out/baseTypes/View__.js.map +0 -1
  759. package/out/baseTypes/WhileStatement__.d.ts +0 -56
  760. package/out/baseTypes/WhileStatement__.js +0 -105
  761. package/out/baseTypes/WhileStatement__.js.map +0 -1
  762. package/out/baseTypes/basics/types/index.d.ts +0 -8
  763. package/out/baseTypes/basics/types/index.js +0 -14
  764. package/out/baseTypes/basics/types/index.js.map +0 -1
  765. package/out/baseTypes/basics/types/primitiveTypes.d.ts +0 -2
  766. package/out/baseTypes/basics/types/primitiveTypes.js +0 -17
  767. package/out/baseTypes/basics/types/primitiveTypes.js.map +0 -1
  768. package/out/baseTypes/basics/types/systemTypes.d.ts +0 -2
  769. package/out/baseTypes/basics/types/systemTypes.js +0 -30
  770. package/out/baseTypes/basics/types/systemTypes.js.map +0 -1
  771. package/out/baseTypes/index.d.ts +0 -6
  772. package/out/baseTypes/index.js +0 -21
  773. package/out/baseTypes/index.js.map +0 -1
  774. package/out/baseTypes/index__.d.ts +0 -38
  775. package/out/baseTypes/index__.js +0 -51
  776. package/out/baseTypes/index__.js.map +0 -1
  777. package/out/generator/debugInFileStorage.d.ts +0 -3
  778. package/out/generator/debugInFileStorage.js +0 -15
  779. package/out/generator/debugInFileStorage.js.map +0 -1
  780. package/out/generator/genAllEmbeddedTS.d.ts +0 -7
  781. package/out/generator/genAllEmbeddedTS.js +0 -20
  782. package/out/generator/genAllEmbeddedTS.js.map +0 -1
  783. package/out/service/app/api.d.ts +0 -61
  784. package/out/service/app/api.js +0 -77
  785. package/out/service/app/api.js.map +0 -1
  786. package/out/service/app/index.d.ts +0 -2
  787. package/out/service/app/index.js +0 -10
  788. package/out/service/app/index.js.map +0 -1
  789. package/out/service/assets/asset.d.ts +0 -104
  790. package/out/service/assets/asset.js +0 -78
  791. package/out/service/assets/asset.js.map +0 -1
  792. package/out/service/assets/block.d.ts +0 -9
  793. package/out/service/assets/block.js +0 -11
  794. package/out/service/assets/block.js.map +0 -1
  795. package/out/service/assets/index.d.ts +0 -2
  796. package/out/service/assets/index.js +0 -12
  797. package/out/service/assets/index.js.map +0 -1
  798. package/out/service/common/findUsage.d.ts +0 -9
  799. package/out/service/common/findUsage.js +0 -11
  800. package/out/service/common/findUsage.js.map +0 -1
  801. package/out/service/common/index.d.ts +0 -2
  802. package/out/service/common/index.js +0 -12
  803. package/out/service/common/index.js.map +0 -1
  804. package/out/service/common/preprocess.d.ts +0 -14
  805. package/out/service/common/preprocess.js +0 -75
  806. package/out/service/common/preprocess.js.map +0 -1
  807. package/out/service/common/schema.d.ts +0 -9
  808. package/out/service/common/schema.js +0 -12
  809. package/out/service/common/schema.js.map +0 -1
  810. package/out/service/create/add.configs.d.ts +0 -1
  811. package/out/service/create/add.configs.js +0 -68
  812. package/out/service/create/add.configs.js.map +0 -1
  813. package/out/service/create/errHandles.d.ts +0 -18
  814. package/out/service/create/errHandles.js +0 -57
  815. package/out/service/create/errHandles.js.map +0 -1
  816. package/out/service/create/index.d.ts +0 -1
  817. package/out/service/create/index.js +0 -77
  818. package/out/service/create/index.js.map +0 -1
  819. package/out/service/data/api.d.ts +0 -36
  820. package/out/service/data/api.js +0 -36
  821. package/out/service/data/api.js.map +0 -1
  822. package/out/service/data/entity.d.ts +0 -135
  823. package/out/service/data/entity.js +0 -103
  824. package/out/service/data/entity.js.map +0 -1
  825. package/out/service/data/enum.d.ts +0 -63
  826. package/out/service/data/enum.js +0 -55
  827. package/out/service/data/enum.js.map +0 -1
  828. package/out/service/data/enumProperty.d.ts +0 -28
  829. package/out/service/data/enumProperty.js +0 -23
  830. package/out/service/data/enumProperty.js.map +0 -1
  831. package/out/service/data/generic.d.ts +0 -9
  832. package/out/service/data/generic.js +0 -11
  833. package/out/service/data/generic.js.map +0 -1
  834. package/out/service/data/index.d.ts +0 -8
  835. package/out/service/data/index.js +0 -23
  836. package/out/service/data/index.js.map +0 -1
  837. package/out/service/data/interface.d.ts +0 -67
  838. package/out/service/data/interface.js +0 -58
  839. package/out/service/data/interface.js.map +0 -1
  840. package/out/service/data/structure.d.ts +0 -92
  841. package/out/service/data/structure.js +0 -77
  842. package/out/service/data/structure.js.map +0 -1
  843. package/out/service/debugger/debugger.d.ts +0 -3
  844. package/out/service/debugger/debugger.js +0 -95
  845. package/out/service/debugger/debugger.js.map +0 -1
  846. package/out/service/logic/index.d.ts +0 -2
  847. package/out/service/logic/index.js +0 -14
  848. package/out/service/logic/index.js.map +0 -1
  849. package/out/service/logic/logic.d.ts +0 -157
  850. package/out/service/logic/logic.js +0 -116
  851. package/out/service/logic/logic.js.map +0 -1
  852. package/out/service/logic/param.d.ts +0 -37
  853. package/out/service/logic/param.js +0 -29
  854. package/out/service/logic/param.js.map +0 -1
  855. package/out/service/nuims/api.d.ts +0 -264
  856. package/out/service/nuims/api.js +0 -194
  857. package/out/service/nuims/api.js.map +0 -1
  858. package/out/service/nuims/index.d.ts +0 -2
  859. package/out/service/nuims/index.js +0 -17
  860. package/out/service/nuims/index.js.map +0 -1
  861. package/out/service/page/api.d.ts +0 -186
  862. package/out/service/page/api.js +0 -1361
  863. package/out/service/page/api.js.map +0 -1
  864. package/out/service/page/attribute.d.ts +0 -28
  865. package/out/service/page/attribute.js +0 -23
  866. package/out/service/page/attribute.js.map +0 -1
  867. package/out/service/page/directive.d.ts +0 -28
  868. package/out/service/page/directive.js +0 -23
  869. package/out/service/page/directive.js.map +0 -1
  870. package/out/service/page/element.d.ts +0 -45
  871. package/out/service/page/element.js +0 -42
  872. package/out/service/page/element.js.map +0 -1
  873. package/out/service/page/event.d.ts +0 -28
  874. package/out/service/page/event.js +0 -23
  875. package/out/service/page/event.js.map +0 -1
  876. package/out/service/page/index.d.ts +0 -8
  877. package/out/service/page/index.js +0 -23
  878. package/out/service/page/index.js.map +0 -1
  879. package/out/service/page/lifecycle.d.ts +0 -28
  880. package/out/service/page/lifecycle.js +0 -23
  881. package/out/service/page/lifecycle.js.map +0 -1
  882. package/out/service/page/templates.d.ts +0 -14
  883. package/out/service/page/templates.js +0 -70
  884. package/out/service/page/templates.js.map +0 -1
  885. package/out/service/page/view.d.ts +0 -130
  886. package/out/service/page/view.js +0 -101
  887. package/out/service/page/view.js.map +0 -1
  888. package/out/service/permission/api.d.ts +0 -57
  889. package/out/service/permission/api.js +0 -41
  890. package/out/service/permission/api.js.map +0 -1
  891. package/out/service/permission/index.d.ts +0 -2
  892. package/out/service/permission/index.js +0 -17
  893. package/out/service/permission/index.js.map +0 -1
  894. package/out/service/process/api.d.ts +0 -136
  895. package/out/service/process/api.js +0 -95
  896. package/out/service/process/api.js.map +0 -1
  897. package/out/service/process/index.d.ts +0 -2
  898. package/out/service/process/index.js +0 -10
  899. package/out/service/process/index.js.map +0 -1
  900. package/out/service/undoredo/api.d.ts +0 -36
  901. package/out/service/undoredo/api.js +0 -29
  902. package/out/service/undoredo/api.js.map +0 -1
  903. package/out/service/undoredo/index.d.ts +0 -2
  904. package/out/service/undoredo/index.js +0 -10
  905. package/out/service/undoredo/index.js.map +0 -1
  906. package/out/service/webFile/api.d.ts +0 -45
  907. package/out/service/webFile/api.js +0 -35
  908. package/out/service/webFile/api.js.map +0 -1
  909. package/out/service/webFile/index.d.ts +0 -3
  910. package/out/service/webFile/index.js +0 -32
  911. package/out/service/webFile/index.js.map +0 -1
  912. package/out/service/webFile/loadCache.d.ts +0 -18
  913. package/out/service/webFile/loadCache.js +0 -17
  914. package/out/service/webFile/loadCache.js.map +0 -1
  915. package/out/src/bak/basicTypes.d.ts +0 -25
  916. package/out/src/bak/basicTypes.js +0 -77
  917. package/out/src/bak/basicTypes.js.map +0 -1
  918. package/out/src/bak/dataTypeUtils.d.ts +0 -94
  919. package/out/src/bak/dataTypeUtils.js +0 -449
  920. package/out/src/bak/dataTypeUtils.js.map +0 -1
  921. package/out/src/bak/dataTypes.d.ts +0 -20
  922. package/out/src/bak/dataTypes.js +0 -47
  923. package/out/src/bak/dataTypes.js.map +0 -1
  924. package/out/src/bak/entityUtils.d.ts +0 -164
  925. package/out/src/bak/entityUtils.js +0 -621
  926. package/out/src/bak/entityUtils.js.map +0 -1
  927. package/out/src/bak/genericTypes.d.ts +0 -40
  928. package/out/src/bak/genericTypes.js +0 -134
  929. package/out/src/bak/genericTypes.js.map +0 -1
  930. package/out/src/bak/systemTypes.d.ts +0 -9
  931. package/out/src/bak/systemTypes.js +0 -1563
  932. package/out/src/bak/systemTypes.js.map +0 -1
  933. package/out/src/baseService/index.d.ts +0 -2
  934. package/out/src/baseService/index.js +0 -10
  935. package/out/src/baseService/index.js.map +0 -1
  936. package/out/src/baseTypes/App__.d.ts +0 -181
  937. package/out/src/baseTypes/App__.js +0 -381
  938. package/out/src/baseTypes/App__.js.map +0 -1
  939. package/out/src/baseTypes/Argument__.d.ts +0 -40
  940. package/out/src/baseTypes/Argument__.js +0 -147
  941. package/out/src/baseTypes/Argument__.js.map +0 -1
  942. package/out/src/baseTypes/AssignmentExpression__.d.ts +0 -45
  943. package/out/src/baseTypes/AssignmentExpression__.js +0 -172
  944. package/out/src/baseTypes/AssignmentExpression__.js.map +0 -1
  945. package/out/src/baseTypes/Attr__.d.ts +0 -79
  946. package/out/src/baseTypes/Attr__.js +0 -210
  947. package/out/src/baseTypes/Attr__.js.map +0 -1
  948. package/out/src/baseTypes/BinaryExpression__.d.ts +0 -43
  949. package/out/src/baseTypes/BinaryExpression__.js +0 -152
  950. package/out/src/baseTypes/BinaryExpression__.js.map +0 -1
  951. package/out/src/baseTypes/BooleanLiteral__.d.ts +0 -28
  952. package/out/src/baseTypes/BooleanLiteral__.js +0 -118
  953. package/out/src/baseTypes/BooleanLiteral__.js.map +0 -1
  954. package/out/src/baseTypes/CallLogic__.d.ts +0 -45
  955. package/out/src/baseTypes/CallLogic__.js +0 -162
  956. package/out/src/baseTypes/CallLogic__.js.map +0 -1
  957. package/out/src/baseTypes/CallQueryComponent__.d.ts +0 -83
  958. package/out/src/baseTypes/CallQueryComponent__.js +0 -235
  959. package/out/src/baseTypes/CallQueryComponent__.js.map +0 -1
  960. package/out/src/baseTypes/Comment__.d.ts +0 -30
  961. package/out/src/baseTypes/Comment__.js +0 -114
  962. package/out/src/baseTypes/Comment__.js.map +0 -1
  963. package/out/src/baseTypes/Directive__.d.ts +0 -83
  964. package/out/src/baseTypes/Directive__.js +0 -218
  965. package/out/src/baseTypes/Directive__.js.map +0 -1
  966. package/out/src/baseTypes/Element__.d.ts +0 -389
  967. package/out/src/baseTypes/Element__.js +0 -589
  968. package/out/src/baseTypes/Element__.js.map +0 -1
  969. package/out/src/baseTypes/End__.d.ts +0 -27
  970. package/out/src/baseTypes/End__.js +0 -115
  971. package/out/src/baseTypes/End__.js.map +0 -1
  972. package/out/src/baseTypes/EntityProperty__.d.ts +0 -99
  973. package/out/src/baseTypes/EntityProperty__.js +0 -254
  974. package/out/src/baseTypes/EntityProperty__.js.map +0 -1
  975. package/out/src/baseTypes/Entity__.d.ts +0 -121
  976. package/out/src/baseTypes/Entity__.js +0 -250
  977. package/out/src/baseTypes/Entity__.js.map +0 -1
  978. package/out/src/baseTypes/EnumItem__.d.ts +0 -131
  979. package/out/src/baseTypes/EnumItem__.js +0 -271
  980. package/out/src/baseTypes/EnumItem__.js.map +0 -1
  981. package/out/src/baseTypes/Enum__.d.ts +0 -114
  982. package/out/src/baseTypes/Enum__.js +0 -226
  983. package/out/src/baseTypes/Enum__.js.map +0 -1
  984. package/out/src/baseTypes/Event__.d.ts +0 -76
  985. package/out/src/baseTypes/Event__.js +0 -205
  986. package/out/src/baseTypes/Event__.js.map +0 -1
  987. package/out/src/baseTypes/ForEachStatement__.d.ts +0 -116
  988. package/out/src/baseTypes/ForEachStatement__.js +0 -242
  989. package/out/src/baseTypes/ForEachStatement__.js.map +0 -1
  990. package/out/src/baseTypes/Identifier__.d.ts +0 -29
  991. package/out/src/baseTypes/Identifier__.js +0 -121
  992. package/out/src/baseTypes/Identifier__.js.map +0 -1
  993. package/out/src/baseTypes/IfStatement__.d.ts +0 -87
  994. package/out/src/baseTypes/IfStatement__.js +0 -175
  995. package/out/src/baseTypes/IfStatement__.js.map +0 -1
  996. package/out/src/baseTypes/Lifecycle__.d.ts +0 -71
  997. package/out/src/baseTypes/Lifecycle__.js +0 -196
  998. package/out/src/baseTypes/Lifecycle__.js.map +0 -1
  999. package/out/src/baseTypes/LogicItem__.d.ts +0 -100
  1000. package/out/src/baseTypes/LogicItem__.js +0 -265
  1001. package/out/src/baseTypes/LogicItem__.js.map +0 -1
  1002. package/out/src/baseTypes/Logic__.d.ts +0 -382
  1003. package/out/src/baseTypes/Logic__.js +0 -622
  1004. package/out/src/baseTypes/Logic__.js.map +0 -1
  1005. package/out/src/baseTypes/Module__.d.ts +0 -521
  1006. package/out/src/baseTypes/Module__.js +0 -728
  1007. package/out/src/baseTypes/Module__.js.map +0 -1
  1008. package/out/src/baseTypes/NullLiteral__.d.ts +0 -23
  1009. package/out/src/baseTypes/NullLiteral__.js +0 -106
  1010. package/out/src/baseTypes/NullLiteral__.js.map +0 -1
  1011. package/out/src/baseTypes/Page__.d.ts +0 -65
  1012. package/out/src/baseTypes/Page__.js +0 -186
  1013. package/out/src/baseTypes/Page__.js.map +0 -1
  1014. package/out/src/baseTypes/Param__.d.ts +0 -107
  1015. package/out/src/baseTypes/Param__.js +0 -278
  1016. package/out/src/baseTypes/Param__.js.map +0 -1
  1017. package/out/src/baseTypes/ProcessComponent__.d.ts +0 -50
  1018. package/out/src/baseTypes/ProcessComponent__.js +0 -153
  1019. package/out/src/baseTypes/ProcessComponent__.js.map +0 -1
  1020. package/out/src/baseTypes/Process__.d.ts +0 -285
  1021. package/out/src/baseTypes/Process__.js +0 -450
  1022. package/out/src/baseTypes/Process__.js.map +0 -1
  1023. package/out/src/baseTypes/QuerSelectExpression__.d.ts +0 -39
  1024. package/out/src/baseTypes/QuerSelectExpression__.js +0 -133
  1025. package/out/src/baseTypes/QuerSelectExpression__.js.map +0 -1
  1026. package/out/src/baseTypes/QueryAggregateExpression__.d.ts +0 -35
  1027. package/out/src/baseTypes/QueryAggregateExpression__.js +0 -126
  1028. package/out/src/baseTypes/QueryAggregateExpression__.js.map +0 -1
  1029. package/out/src/baseTypes/QueryFieldExpression__.d.ts +0 -38
  1030. package/out/src/baseTypes/QueryFieldExpression__.js +0 -131
  1031. package/out/src/baseTypes/QueryFieldExpression__.js.map +0 -1
  1032. package/out/src/baseTypes/QueryFromExpression__.d.ts +0 -40
  1033. package/out/src/baseTypes/QueryFromExpression__.js +0 -136
  1034. package/out/src/baseTypes/QueryFromExpression__.js.map +0 -1
  1035. package/out/src/baseTypes/QueryGroupByExpression__.d.ts +0 -30
  1036. package/out/src/baseTypes/QueryGroupByExpression__.js +0 -118
  1037. package/out/src/baseTypes/QueryGroupByExpression__.js.map +0 -1
  1038. package/out/src/baseTypes/QueryJoinExpression__.d.ts +0 -48
  1039. package/out/src/baseTypes/QueryJoinExpression__.js +0 -155
  1040. package/out/src/baseTypes/QueryJoinExpression__.js.map +0 -1
  1041. package/out/src/baseTypes/QueryLimitExpression__.d.ts +0 -38
  1042. package/out/src/baseTypes/QueryLimitExpression__.js +0 -137
  1043. package/out/src/baseTypes/QueryLimitExpression__.js.map +0 -1
  1044. package/out/src/baseTypes/QueryOrderByExpression__.d.ts +0 -38
  1045. package/out/src/baseTypes/QueryOrderByExpression__.js +0 -137
  1046. package/out/src/baseTypes/QueryOrderByExpression__.js.map +0 -1
  1047. package/out/src/baseTypes/Return__.d.ts +0 -107
  1048. package/out/src/baseTypes/Return__.js +0 -274
  1049. package/out/src/baseTypes/Return__.js.map +0 -1
  1050. package/out/src/baseTypes/Start__.d.ts +0 -27
  1051. package/out/src/baseTypes/Start__.js +0 -114
  1052. package/out/src/baseTypes/Start__.js.map +0 -1
  1053. package/out/src/baseTypes/StringLiteral__.d.ts +0 -28
  1054. package/out/src/baseTypes/StringLiteral__.js +0 -127
  1055. package/out/src/baseTypes/StringLiteral__.js.map +0 -1
  1056. package/out/src/baseTypes/StructureProperty__.d.ts +0 -97
  1057. package/out/src/baseTypes/StructureProperty__.js +0 -253
  1058. package/out/src/baseTypes/StructureProperty__.js.map +0 -1
  1059. package/out/src/baseTypes/Structure__.d.ts +0 -153
  1060. package/out/src/baseTypes/Structure__.js +0 -329
  1061. package/out/src/baseTypes/Structure__.js.map +0 -1
  1062. package/out/src/baseTypes/SwitchCase__.d.ts +0 -83
  1063. package/out/src/baseTypes/SwitchCase__.js +0 -165
  1064. package/out/src/baseTypes/SwitchCase__.js.map +0 -1
  1065. package/out/src/baseTypes/SwitchStatement__.d.ts +0 -76
  1066. package/out/src/baseTypes/SwitchStatement__.js +0 -147
  1067. package/out/src/baseTypes/SwitchStatement__.js.map +0 -1
  1068. package/out/src/baseTypes/TypeAnnotation__.d.ts +0 -60
  1069. package/out/src/baseTypes/TypeAnnotation__.js +0 -201
  1070. package/out/src/baseTypes/TypeAnnotation__.js.map +0 -1
  1071. package/out/src/baseTypes/UnaryExpression__.d.ts +0 -35
  1072. package/out/src/baseTypes/UnaryExpression__.js +0 -133
  1073. package/out/src/baseTypes/UnaryExpression__.js.map +0 -1
  1074. package/out/src/baseTypes/Variable__.d.ts +0 -107
  1075. package/out/src/baseTypes/Variable__.js +0 -278
  1076. package/out/src/baseTypes/Variable__.js.map +0 -1
  1077. package/out/src/baseTypes/View__.d.ts +0 -472
  1078. package/out/src/baseTypes/View__.js +0 -692
  1079. package/out/src/baseTypes/View__.js.map +0 -1
  1080. package/out/src/baseTypes/WhileStatement__.d.ts +0 -83
  1081. package/out/src/baseTypes/WhileStatement__.js +0 -165
  1082. package/out/src/baseTypes/WhileStatement__.js.map +0 -1
  1083. package/out/src/baseTypes/basics/types/collectionTypeList.d.ts +0 -2
  1084. package/out/src/baseTypes/basics/types/collectionTypeList.js +0 -30
  1085. package/out/src/baseTypes/basics/types/collectionTypeList.js.map +0 -1
  1086. package/out/src/baseTypes/basics/types/coreTypes.d.ts +0 -2
  1087. package/out/src/baseTypes/basics/types/coreTypes.js +0 -17
  1088. package/out/src/baseTypes/basics/types/coreTypes.js.map +0 -1
  1089. package/out/src/baseTypes/basics/types/index.d.ts +0 -8
  1090. package/out/src/baseTypes/basics/types/index.js +0 -14
  1091. package/out/src/baseTypes/basics/types/index.js.map +0 -1
  1092. package/out/src/baseTypes/basics/types/stdlibModule.d.ts +0 -7
  1093. package/out/src/baseTypes/basics/types/stdlibModule.js +0 -48
  1094. package/out/src/baseTypes/basics/types/stdlibModule.js.map +0 -1
  1095. package/out/src/baseTypes/index.d.ts +0 -6
  1096. package/out/src/baseTypes/index.js +0 -21
  1097. package/out/src/baseTypes/index.js.map +0 -1
  1098. package/out/src/baseTypes/index__.d.ts +0 -49
  1099. package/out/src/baseTypes/index__.js +0 -62
  1100. package/out/src/baseTypes/index__.js.map +0 -1
  1101. package/out/src/common/BaseNode.d.ts +0 -231
  1102. package/out/src/common/BaseNode.js +0 -683
  1103. package/out/src/common/BaseNode.js.map +0 -1
  1104. package/out/src/common/Command.js.map +0 -1
  1105. package/out/src/common/ComponentAPI.js.map +0 -1
  1106. package/out/src/common/EventEmitter.d.ts +0 -54
  1107. package/out/src/common/EventEmitter.js.map +0 -1
  1108. package/out/src/common/Messager.js.map +0 -1
  1109. package/out/src/common/classMap.js.map +0 -1
  1110. package/out/src/common/index.js.map +0 -1
  1111. package/out/src/concepts/App__.d.ts +0 -1077
  1112. package/out/src/concepts/App__.js +0 -1453
  1113. package/out/src/concepts/App__.js.map +0 -1
  1114. package/out/src/concepts/Argument__.d.ts +0 -56
  1115. package/out/src/concepts/Argument__.js +0 -177
  1116. package/out/src/concepts/Argument__.js.map +0 -1
  1117. package/out/src/concepts/Assignment__.d.ts +0 -72
  1118. package/out/src/concepts/Assignment__.js +0 -200
  1119. package/out/src/concepts/Assignment__.js.map +0 -1
  1120. package/out/src/concepts/Attribute__.js +0 -221
  1121. package/out/src/concepts/Attribute__.js.map +0 -1
  1122. package/out/src/concepts/BinaryExpression__.d.ts +0 -66
  1123. package/out/src/concepts/BinaryExpression__.js +0 -237
  1124. package/out/src/concepts/BinaryExpression__.js.map +0 -1
  1125. package/out/src/concepts/BindAttribute__.d.ts +0 -211
  1126. package/out/src/concepts/BindAttribute__.js +0 -395
  1127. package/out/src/concepts/BindAttribute__.js.map +0 -1
  1128. package/out/src/concepts/BindDirective__.d.ts +0 -92
  1129. package/out/src/concepts/BindDirective__.js +0 -221
  1130. package/out/src/concepts/BindDirective__.js.map +0 -1
  1131. package/out/src/concepts/BindEvent__.d.ts +0 -133
  1132. package/out/src/concepts/BindEvent__.js +0 -258
  1133. package/out/src/concepts/BindEvent__.js.map +0 -1
  1134. package/out/src/concepts/BooleanLiteral__.d.ts +0 -27
  1135. package/out/src/concepts/BooleanLiteral__.js +0 -74
  1136. package/out/src/concepts/BooleanLiteral__.js.map +0 -1
  1137. package/out/src/concepts/CallFunction__.d.ts +0 -100
  1138. package/out/src/concepts/CallFunction__.js +0 -231
  1139. package/out/src/concepts/CallFunction__.js.map +0 -1
  1140. package/out/src/concepts/CallInterface__.d.ts +0 -100
  1141. package/out/src/concepts/CallInterface__.js +0 -220
  1142. package/out/src/concepts/CallInterface__.js.map +0 -1
  1143. package/out/src/concepts/CallLogic__.d.ts +0 -116
  1144. package/out/src/concepts/CallLogic__.js +0 -305
  1145. package/out/src/concepts/CallLogic__.js.map +0 -1
  1146. package/out/src/concepts/CallQueryComponent__.d.ts +0 -312
  1147. package/out/src/concepts/CallQueryComponent__.js +0 -738
  1148. package/out/src/concepts/CallQueryComponent__.js.map +0 -1
  1149. package/out/src/concepts/Comment__.d.ts +0 -35
  1150. package/out/src/concepts/Comment__.js +0 -99
  1151. package/out/src/concepts/Comment__.js.map +0 -1
  1152. package/out/src/concepts/CompletionProperty__.d.ts +0 -95
  1153. package/out/src/concepts/CompletionProperty__.js +0 -231
  1154. package/out/src/concepts/CompletionProperty__.js.map +0 -1
  1155. package/out/src/concepts/Constant__.d.ts +0 -96
  1156. package/out/src/concepts/Constant__.js +0 -220
  1157. package/out/src/concepts/Constant__.js.map +0 -1
  1158. package/out/src/concepts/DataElement__.js +0 -114
  1159. package/out/src/concepts/DataElement__.js.map +0 -1
  1160. package/out/src/concepts/Destination__.d.ts +0 -106
  1161. package/out/src/concepts/Destination__.js +0 -263
  1162. package/out/src/concepts/Destination__.js.map +0 -1
  1163. package/out/src/concepts/End__.d.ts +0 -28
  1164. package/out/src/concepts/End__.js +0 -102
  1165. package/out/src/concepts/End__.js.map +0 -1
  1166. package/out/src/concepts/EntityIndex__.d.ts +0 -81
  1167. package/out/src/concepts/EntityIndex__.js +0 -189
  1168. package/out/src/concepts/EntityIndex__.js.map +0 -1
  1169. package/out/src/concepts/EntityProperty__.d.ts +0 -207
  1170. package/out/src/concepts/EntityProperty__.js +0 -472
  1171. package/out/src/concepts/EntityProperty__.js.map +0 -1
  1172. package/out/src/concepts/Entity__.d.ts +0 -282
  1173. package/out/src/concepts/Entity__.js +0 -520
  1174. package/out/src/concepts/Entity__.js.map +0 -1
  1175. package/out/src/concepts/EnumItem__.js +0 -136
  1176. package/out/src/concepts/EnumItem__.js.map +0 -1
  1177. package/out/src/concepts/Enum__.js +0 -259
  1178. package/out/src/concepts/Enum__.js.map +0 -1
  1179. package/out/src/concepts/Event__.js +0 -242
  1180. package/out/src/concepts/Event__.js.map +0 -1
  1181. package/out/src/concepts/ForEachStatement__.d.ts +0 -194
  1182. package/out/src/concepts/ForEachStatement__.js +0 -410
  1183. package/out/src/concepts/ForEachStatement__.js.map +0 -1
  1184. package/out/src/concepts/Function__.d.ts +0 -387
  1185. package/out/src/concepts/Function__.js +0 -557
  1186. package/out/src/concepts/Function__.js.map +0 -1
  1187. package/out/src/concepts/Identifier__.d.ts +0 -44
  1188. package/out/src/concepts/Identifier__.js +0 -159
  1189. package/out/src/concepts/Identifier__.js.map +0 -1
  1190. package/out/src/concepts/IfStatement__.d.ts +0 -150
  1191. package/out/src/concepts/IfStatement__.js +0 -310
  1192. package/out/src/concepts/IfStatement__.js.map +0 -1
  1193. package/out/src/concepts/InterfaceParam__.d.ts +0 -110
  1194. package/out/src/concepts/InterfaceParam__.js +0 -273
  1195. package/out/src/concepts/InterfaceParam__.js.map +0 -1
  1196. package/out/src/concepts/Interface__.d.ts +0 -247
  1197. package/out/src/concepts/Interface__.js +0 -441
  1198. package/out/src/concepts/Interface__.js.map +0 -1
  1199. package/out/src/concepts/JSBlock__.d.ts +0 -35
  1200. package/out/src/concepts/JSBlock__.js +0 -106
  1201. package/out/src/concepts/JSBlock__.js.map +0 -1
  1202. package/out/src/concepts/LogicItem__.d.ts +0 -114
  1203. package/out/src/concepts/LogicItem__.js +0 -216
  1204. package/out/src/concepts/LogicItem__.js.map +0 -1
  1205. package/out/src/concepts/Logic__.d.ts +0 -571
  1206. package/out/src/concepts/Logic__.js +0 -951
  1207. package/out/src/concepts/Logic__.js.map +0 -1
  1208. package/out/src/concepts/MemberExpression__.d.ts +0 -69
  1209. package/out/src/concepts/MemberExpression__.js +0 -204
  1210. package/out/src/concepts/MemberExpression__.js.map +0 -1
  1211. package/out/src/concepts/Module__.d.ts +0 -747
  1212. package/out/src/concepts/Module__.js +0 -982
  1213. package/out/src/concepts/Module__.js.map +0 -1
  1214. package/out/src/concepts/Namespace__.js +0 -1397
  1215. package/out/src/concepts/Namespace__.js.map +0 -1
  1216. package/out/src/concepts/NullLiteral__.d.ts +0 -23
  1217. package/out/src/concepts/NullLiteral__.js +0 -67
  1218. package/out/src/concepts/NullLiteral__.js.map +0 -1
  1219. package/out/src/concepts/NumericLiteral__.d.ts +0 -55
  1220. package/out/src/concepts/NumericLiteral__.js +0 -164
  1221. package/out/src/concepts/NumericLiteral__.js.map +0 -1
  1222. package/out/src/concepts/Param__.d.ts +0 -143
  1223. package/out/src/concepts/Param__.js +0 -327
  1224. package/out/src/concepts/Param__.js.map +0 -1
  1225. package/out/src/concepts/Point__.js +0 -75
  1226. package/out/src/concepts/Point__.js.map +0 -1
  1227. package/out/src/concepts/ProcessComponent__.js +0 -333
  1228. package/out/src/concepts/ProcessComponent__.js.map +0 -1
  1229. package/out/src/concepts/ProcessElement__.d.ts +0 -557
  1230. package/out/src/concepts/ProcessElement__.js +0 -889
  1231. package/out/src/concepts/ProcessElement__.js.map +0 -1
  1232. package/out/src/concepts/ProcessOutcome__.d.ts +0 -34
  1233. package/out/src/concepts/ProcessOutcome__.js +0 -94
  1234. package/out/src/concepts/ProcessOutcome__.js.map +0 -1
  1235. package/out/src/concepts/Process__.d.ts +0 -425
  1236. package/out/src/concepts/Process__.js +0 -736
  1237. package/out/src/concepts/Process__.js.map +0 -1
  1238. package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -56
  1239. package/out/src/concepts/QueryAggregateExpression__.js +0 -177
  1240. package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
  1241. package/out/src/concepts/QueryFieldExpression__.d.ts +0 -51
  1242. package/out/src/concepts/QueryFieldExpression__.js +0 -129
  1243. package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
  1244. package/out/src/concepts/QueryFromExpression__.d.ts +0 -95
  1245. package/out/src/concepts/QueryFromExpression__.js +0 -188
  1246. package/out/src/concepts/QueryFromExpression__.js.map +0 -1
  1247. package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
  1248. package/out/src/concepts/QueryGroupByExpression__.js +0 -126
  1249. package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
  1250. package/out/src/concepts/QueryJoinExpression__.d.ts +0 -182
  1251. package/out/src/concepts/QueryJoinExpression__.js +0 -308
  1252. package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
  1253. package/out/src/concepts/QueryLimitExpression__.d.ts +0 -60
  1254. package/out/src/concepts/QueryLimitExpression__.js +0 -163
  1255. package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
  1256. package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -71
  1257. package/out/src/concepts/QueryOrderByExpression__.js +0 -176
  1258. package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
  1259. package/out/src/concepts/QuerySelectExpression__.d.ts +0 -118
  1260. package/out/src/concepts/QuerySelectExpression__.js +0 -210
  1261. package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
  1262. package/out/src/concepts/Rect__.js +0 -89
  1263. package/out/src/concepts/Rect__.js.map +0 -1
  1264. package/out/src/concepts/Return__.d.ts +0 -129
  1265. package/out/src/concepts/Return__.js +0 -291
  1266. package/out/src/concepts/Return__.js.map +0 -1
  1267. package/out/src/concepts/Role__.d.ts +0 -52
  1268. package/out/src/concepts/Role__.js +0 -131
  1269. package/out/src/concepts/Role__.js.map +0 -1
  1270. package/out/src/concepts/Slot__.js +0 -114
  1271. package/out/src/concepts/Slot__.js.map +0 -1
  1272. package/out/src/concepts/SqlQueryComponent__.d.ts +0 -49
  1273. package/out/src/concepts/SqlQueryComponent__.js +0 -125
  1274. package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
  1275. package/out/src/concepts/Start__.d.ts +0 -28
  1276. package/out/src/concepts/Start__.js +0 -81
  1277. package/out/src/concepts/Start__.js.map +0 -1
  1278. package/out/src/concepts/StringLiteral__.d.ts +0 -37
  1279. package/out/src/concepts/StringLiteral__.js +0 -135
  1280. package/out/src/concepts/StringLiteral__.js.map +0 -1
  1281. package/out/src/concepts/StructureProperty__.d.ts +0 -123
  1282. package/out/src/concepts/StructureProperty__.js +0 -294
  1283. package/out/src/concepts/StructureProperty__.js.map +0 -1
  1284. package/out/src/concepts/Structure__.d.ts +0 -231
  1285. package/out/src/concepts/Structure__.js +0 -386
  1286. package/out/src/concepts/Structure__.js.map +0 -1
  1287. package/out/src/concepts/SwitchCase__.d.ts +0 -97
  1288. package/out/src/concepts/SwitchCase__.js +0 -270
  1289. package/out/src/concepts/SwitchCase__.js.map +0 -1
  1290. package/out/src/concepts/SwitchStatement__.d.ts +0 -86
  1291. package/out/src/concepts/SwitchStatement__.js +0 -187
  1292. package/out/src/concepts/SwitchStatement__.js.map +0 -1
  1293. package/out/src/concepts/Theme__.js +0 -86
  1294. package/out/src/concepts/Theme__.js.map +0 -1
  1295. package/out/src/concepts/Transactional__.js +0 -151
  1296. package/out/src/concepts/Transactional__.js.map +0 -1
  1297. package/out/src/concepts/TypeAnnotation__.d.ts +0 -125
  1298. package/out/src/concepts/TypeAnnotation__.js +0 -305
  1299. package/out/src/concepts/TypeAnnotation__.js.map +0 -1
  1300. package/out/src/concepts/TypeParam__.js +0 -57
  1301. package/out/src/concepts/TypeParam__.js.map +0 -1
  1302. package/out/src/concepts/UnaryExpression__.d.ts +0 -48
  1303. package/out/src/concepts/UnaryExpression__.js +0 -163
  1304. package/out/src/concepts/UnaryExpression__.js.map +0 -1
  1305. package/out/src/concepts/Unparsed__.d.ts +0 -32
  1306. package/out/src/concepts/Unparsed__.js +0 -92
  1307. package/out/src/concepts/Unparsed__.js.map +0 -1
  1308. package/out/src/concepts/UseComponent__.js +0 -75
  1309. package/out/src/concepts/UseComponent__.js.map +0 -1
  1310. package/out/src/concepts/ValidationRule__.d.ts +0 -95
  1311. package/out/src/concepts/ValidationRule__.js +0 -212
  1312. package/out/src/concepts/ValidationRule__.js.map +0 -1
  1313. package/out/src/concepts/Variable__.d.ts +0 -119
  1314. package/out/src/concepts/Variable__.js +0 -277
  1315. package/out/src/concepts/Variable__.js.map +0 -1
  1316. package/out/src/concepts/ViewComponent__.js +0 -644
  1317. package/out/src/concepts/ViewComponent__.js.map +0 -1
  1318. package/out/src/concepts/ViewElement__.d.ts +0 -483
  1319. package/out/src/concepts/ViewElement__.js +0 -1167
  1320. package/out/src/concepts/ViewElement__.js.map +0 -1
  1321. package/out/src/concepts/View__.d.ts +0 -676
  1322. package/out/src/concepts/View__.js +0 -1268
  1323. package/out/src/concepts/View__.js.map +0 -1
  1324. package/out/src/concepts/WhileStatement__.d.ts +0 -97
  1325. package/out/src/concepts/WhileStatement__.js +0 -228
  1326. package/out/src/concepts/WhileStatement__.js.map +0 -1
  1327. package/out/src/concepts/basics/stdlib/index.js +0 -23
  1328. package/out/src/concepts/basics/stdlib/index.js.map +0 -1
  1329. package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -5
  1330. package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -54
  1331. package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
  1332. package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
  1333. package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
  1334. package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
  1335. package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -5
  1336. package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -85
  1337. package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
  1338. package/out/src/concepts/basics/stdlib/nasl.util.js +0 -587
  1339. package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
  1340. package/out/src/concepts/basics/stdlib/nasl.validate.js +0 -527
  1341. package/out/src/concepts/basics/stdlib/nasl.validate.js.map +0 -1
  1342. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
  1343. package/out/src/concepts/basics/types/coreTypeList.js +0 -17
  1344. package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
  1345. package/out/src/concepts/basics/types/index.d.ts +0 -11
  1346. package/out/src/concepts/basics/types/index.js +0 -20
  1347. package/out/src/concepts/basics/types/index.js.map +0 -1
  1348. package/out/src/concepts/index.js.map +0 -1
  1349. package/out/src/concepts/index__.d.ts +0 -77
  1350. package/out/src/concepts/index__.js +0 -94
  1351. package/out/src/concepts/index__.js.map +0 -1
  1352. package/out/src/config.d.ts +0 -43
  1353. package/out/src/config.js +0 -72
  1354. package/out/src/config.js.map +0 -1
  1355. package/out/src/decorators/index.d.ts +0 -54
  1356. package/out/src/decorators/index.js +0 -146
  1357. package/out/src/decorators/index.js.map +0 -1
  1358. package/out/src/generator/compileComponent.d.ts +0 -11
  1359. package/out/src/generator/compileComponent.js.map +0 -1
  1360. package/out/src/generator/debugInFileStorage.d.ts +0 -3
  1361. package/out/src/generator/debugInFileStorage.js +0 -15
  1362. package/out/src/generator/debugInFileStorage.js.map +0 -1
  1363. package/out/src/generator/genAllEmbeddedTS.d.ts +0 -7
  1364. package/out/src/generator/genAllEmbeddedTS.js +0 -20
  1365. package/out/src/generator/genAllEmbeddedTS.js.map +0 -1
  1366. package/out/src/generator/genBundleFiles.d.ts +0 -38
  1367. package/out/src/generator/genBundleFiles.js +0 -219
  1368. package/out/src/generator/genBundleFiles.js.map +0 -1
  1369. package/out/src/generator/genHash.js.map +0 -1
  1370. package/out/src/generator/index.d.ts +0 -4
  1371. package/out/src/generator/index.js +0 -21
  1372. package/out/src/generator/index.js.map +0 -1
  1373. package/out/src/generator/styleReplacer.js.map +0 -1
  1374. package/out/src/index.d.ts +0 -9
  1375. package/out/src/index.js +0 -48
  1376. package/out/src/index.js.map +0 -1
  1377. package/out/src/init.d.ts +0 -1
  1378. package/out/src/init.js +0 -140
  1379. package/out/src/init.js.map +0 -1
  1380. package/out/src/manager/diagnostic.d.ts +0 -38
  1381. package/out/src/manager/diagnostic.js +0 -84
  1382. package/out/src/manager/diagnostic.js.map +0 -1
  1383. package/out/src/manager/history.d.ts +0 -0
  1384. package/out/src/manager/history.js +0 -1
  1385. package/out/src/manager/history.js.map +0 -1
  1386. package/out/src/manager/problem.d.ts +0 -0
  1387. package/out/src/manager/problem.js +0 -1
  1388. package/out/src/manager/problem.js.map +0 -1
  1389. package/out/src/map.js +0 -62
  1390. package/out/src/map.js.map +0 -1
  1391. package/out/src/naslServer/index.d.ts +0 -55
  1392. package/out/src/naslServer/index.js +0 -296
  1393. package/out/src/naslServer/index.js.map +0 -1
  1394. package/out/src/naslServer/translator.d.ts +0 -3
  1395. package/out/src/naslServer/translator.js +0 -78
  1396. package/out/src/naslServer/translator.js.map +0 -1
  1397. package/out/src/server/entity2LogicNamespace.d.ts +0 -2
  1398. package/out/src/server/entity2LogicNamespace.js +0 -192
  1399. package/out/src/server/entity2LogicNamespace.js.map +0 -1
  1400. package/out/src/server/getFunctions.js.map +0 -1
  1401. package/out/src/server/getInterfaces.js +0 -48
  1402. package/out/src/server/getInterfaces.js.map +0 -1
  1403. package/out/src/server/getLogics.d.ts +0 -2
  1404. package/out/src/server/getLogics.js +0 -83
  1405. package/out/src/server/getLogics.js.map +0 -1
  1406. package/out/src/server/getMemberIdentifier.d.ts +0 -5
  1407. package/out/src/server/getMemberIdentifier.js +0 -102
  1408. package/out/src/server/getMemberIdentifier.js.map +0 -1
  1409. package/out/src/server/getProcessComponents.js.map +0 -1
  1410. package/out/src/server/getProcesses.d.ts +0 -19
  1411. package/out/src/server/getProcesses.js +0 -106
  1412. package/out/src/server/getProcesses.js.map +0 -1
  1413. package/out/src/server/getValidates.js +0 -14
  1414. package/out/src/server/getValidates.js.map +0 -1
  1415. package/out/src/server/index.js +0 -26
  1416. package/out/src/server/index.js.map +0 -1
  1417. package/out/src/server/naslServer.d.ts +0 -139
  1418. package/out/src/server/naslServer.js +0 -1120
  1419. package/out/src/server/naslServer.js.map +0 -1
  1420. package/out/src/server/process2LogicNamespace.d.ts +0 -2
  1421. package/out/src/server/process2LogicNamespace.js +0 -24
  1422. package/out/src/server/process2LogicNamespace.js.map +0 -1
  1423. package/out/src/server/translator.js +0 -150
  1424. package/out/src/server/translator.js.map +0 -1
  1425. package/out/src/service/app/api.d.ts +0 -61
  1426. package/out/src/service/app/api.js +0 -77
  1427. package/out/src/service/app/api.js.map +0 -1
  1428. package/out/src/service/app/index.d.ts +0 -2
  1429. package/out/src/service/app/index.js +0 -10
  1430. package/out/src/service/app/index.js.map +0 -1
  1431. package/out/src/service/assets/asset.d.ts +0 -104
  1432. package/out/src/service/assets/asset.js +0 -78
  1433. package/out/src/service/assets/asset.js.map +0 -1
  1434. package/out/src/service/assets/block.d.ts +0 -9
  1435. package/out/src/service/assets/block.js +0 -11
  1436. package/out/src/service/assets/block.js.map +0 -1
  1437. package/out/src/service/assets/index.d.ts +0 -2
  1438. package/out/src/service/assets/index.js +0 -12
  1439. package/out/src/service/assets/index.js.map +0 -1
  1440. package/out/src/service/common/findUsage.d.ts +0 -9
  1441. package/out/src/service/common/findUsage.js +0 -11
  1442. package/out/src/service/common/findUsage.js.map +0 -1
  1443. package/out/src/service/common/index.d.ts +0 -2
  1444. package/out/src/service/common/index.js +0 -12
  1445. package/out/src/service/common/index.js.map +0 -1
  1446. package/out/src/service/common/preprocess.d.ts +0 -14
  1447. package/out/src/service/common/preprocess.js +0 -75
  1448. package/out/src/service/common/preprocess.js.map +0 -1
  1449. package/out/src/service/common/schema.d.ts +0 -9
  1450. package/out/src/service/common/schema.js +0 -12
  1451. package/out/src/service/common/schema.js.map +0 -1
  1452. package/out/src/service/create/add.configs.d.ts +0 -1
  1453. package/out/src/service/create/add.configs.js +0 -68
  1454. package/out/src/service/create/add.configs.js.map +0 -1
  1455. package/out/src/service/create/errHandles.d.ts +0 -18
  1456. package/out/src/service/create/errHandles.js +0 -57
  1457. package/out/src/service/create/errHandles.js.map +0 -1
  1458. package/out/src/service/create/index.d.ts +0 -1
  1459. package/out/src/service/create/index.js +0 -77
  1460. package/out/src/service/create/index.js.map +0 -1
  1461. package/out/src/service/data/api.d.ts +0 -36
  1462. package/out/src/service/data/api.js +0 -36
  1463. package/out/src/service/data/api.js.map +0 -1
  1464. package/out/src/service/data/entity.d.ts +0 -135
  1465. package/out/src/service/data/entity.js +0 -103
  1466. package/out/src/service/data/entity.js.map +0 -1
  1467. package/out/src/service/data/enum.d.ts +0 -63
  1468. package/out/src/service/data/enum.js +0 -55
  1469. package/out/src/service/data/enum.js.map +0 -1
  1470. package/out/src/service/data/enumProperty.d.ts +0 -28
  1471. package/out/src/service/data/enumProperty.js +0 -23
  1472. package/out/src/service/data/enumProperty.js.map +0 -1
  1473. package/out/src/service/data/generic.d.ts +0 -9
  1474. package/out/src/service/data/generic.js +0 -11
  1475. package/out/src/service/data/generic.js.map +0 -1
  1476. package/out/src/service/data/index.d.ts +0 -8
  1477. package/out/src/service/data/index.js +0 -23
  1478. package/out/src/service/data/index.js.map +0 -1
  1479. package/out/src/service/data/interface.d.ts +0 -67
  1480. package/out/src/service/data/interface.js +0 -58
  1481. package/out/src/service/data/interface.js.map +0 -1
  1482. package/out/src/service/data/structure.d.ts +0 -92
  1483. package/out/src/service/data/structure.js +0 -77
  1484. package/out/src/service/data/structure.js.map +0 -1
  1485. package/out/src/service/logic/index.d.ts +0 -2
  1486. package/out/src/service/logic/index.js +0 -14
  1487. package/out/src/service/logic/index.js.map +0 -1
  1488. package/out/src/service/logic/logic.d.ts +0 -157
  1489. package/out/src/service/logic/logic.js +0 -116
  1490. package/out/src/service/logic/logic.js.map +0 -1
  1491. package/out/src/service/logic/param.d.ts +0 -37
  1492. package/out/src/service/logic/param.js +0 -29
  1493. package/out/src/service/logic/param.js.map +0 -1
  1494. package/out/src/service/nuims/api.d.ts +0 -264
  1495. package/out/src/service/nuims/api.js +0 -194
  1496. package/out/src/service/nuims/api.js.map +0 -1
  1497. package/out/src/service/nuims/index.d.ts +0 -2
  1498. package/out/src/service/nuims/index.js +0 -17
  1499. package/out/src/service/nuims/index.js.map +0 -1
  1500. package/out/src/service/page/api.d.ts +0 -186
  1501. package/out/src/service/page/api.js +0 -1361
  1502. package/out/src/service/page/api.js.map +0 -1
  1503. package/out/src/service/page/attribute.d.ts +0 -28
  1504. package/out/src/service/page/attribute.js +0 -23
  1505. package/out/src/service/page/attribute.js.map +0 -1
  1506. package/out/src/service/page/directive.d.ts +0 -28
  1507. package/out/src/service/page/directive.js +0 -23
  1508. package/out/src/service/page/directive.js.map +0 -1
  1509. package/out/src/service/page/element.d.ts +0 -45
  1510. package/out/src/service/page/element.js +0 -42
  1511. package/out/src/service/page/element.js.map +0 -1
  1512. package/out/src/service/page/event.d.ts +0 -28
  1513. package/out/src/service/page/event.js +0 -23
  1514. package/out/src/service/page/event.js.map +0 -1
  1515. package/out/src/service/page/index.d.ts +0 -8
  1516. package/out/src/service/page/index.js +0 -23
  1517. package/out/src/service/page/index.js.map +0 -1
  1518. package/out/src/service/page/lifecycle.d.ts +0 -28
  1519. package/out/src/service/page/lifecycle.js +0 -23
  1520. package/out/src/service/page/lifecycle.js.map +0 -1
  1521. package/out/src/service/page/templates.d.ts +0 -14
  1522. package/out/src/service/page/templates.js +0 -70
  1523. package/out/src/service/page/templates.js.map +0 -1
  1524. package/out/src/service/page/view.d.ts +0 -130
  1525. package/out/src/service/page/view.js +0 -101
  1526. package/out/src/service/page/view.js.map +0 -1
  1527. package/out/src/service/permission/api.d.ts +0 -57
  1528. package/out/src/service/permission/api.js +0 -41
  1529. package/out/src/service/permission/api.js.map +0 -1
  1530. package/out/src/service/permission/index.d.ts +0 -2
  1531. package/out/src/service/permission/index.js +0 -17
  1532. package/out/src/service/permission/index.js.map +0 -1
  1533. package/out/src/service/process/api.d.ts +0 -136
  1534. package/out/src/service/process/api.js +0 -95
  1535. package/out/src/service/process/api.js.map +0 -1
  1536. package/out/src/service/process/index.d.ts +0 -2
  1537. package/out/src/service/process/index.js +0 -10
  1538. package/out/src/service/process/index.js.map +0 -1
  1539. package/out/src/service/storage/index.d.ts +0 -2
  1540. package/out/src/service/storage/index.js.map +0 -1
  1541. package/out/src/service/storage/init.d.ts +0 -7
  1542. package/out/src/service/storage/init.js +0 -187
  1543. package/out/src/service/storage/init.js.map +0 -1
  1544. package/out/src/service/storage/jsoner.js.map +0 -1
  1545. package/out/src/service/storage/map.d.ts +0 -4
  1546. package/out/src/service/storage/map.js.map +0 -1
  1547. package/out/src/service/storage/storagePoint.js.map +0 -1
  1548. package/out/src/service/undoredo/api.d.ts +0 -36
  1549. package/out/src/service/undoredo/api.js +0 -29
  1550. package/out/src/service/undoredo/api.js.map +0 -1
  1551. package/out/src/service/undoredo/index.d.ts +0 -2
  1552. package/out/src/service/undoredo/index.js +0 -10
  1553. package/out/src/service/undoredo/index.js.map +0 -1
  1554. package/out/src/service/webFile/api.d.ts +0 -45
  1555. package/out/src/service/webFile/api.js +0 -35
  1556. package/out/src/service/webFile/api.js.map +0 -1
  1557. package/out/src/service/webFile/index.d.ts +0 -3
  1558. package/out/src/service/webFile/index.js +0 -32
  1559. package/out/src/service/webFile/index.js.map +0 -1
  1560. package/out/src/service/webFile/loadCache.d.ts +0 -18
  1561. package/out/src/service/webFile/loadCache.js +0 -17
  1562. package/out/src/service/webFile/loadCache.js.map +0 -1
  1563. package/out/src/storagePoint.d.ts +0 -16
  1564. package/out/src/storagePoint.js +0 -49
  1565. package/out/src/storagePoint.js.map +0 -1
  1566. package/out/src/templator/genCallComponentLogic.js +0 -30
  1567. package/out/src/templator/genCallComponentLogic.js.map +0 -1
  1568. package/out/src/templator/genCallInterface.d.ts +0 -12
  1569. package/out/src/templator/genCallInterface.js +0 -20
  1570. package/out/src/templator/genCallInterface.js.map +0 -1
  1571. package/out/src/templator/genCallLogic.d.ts +0 -12
  1572. package/out/src/templator/genCallLogic.js +0 -26
  1573. package/out/src/templator/genCallLogic.js.map +0 -1
  1574. package/out/src/templator/genCreateBlock.js +0 -304
  1575. package/out/src/templator/genCreateBlock.js.map +0 -1
  1576. package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -453
  1577. package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
  1578. package/out/src/templator/genCurdMultipleKeyBlock.js +0 -640
  1579. package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
  1580. package/out/src/templator/genEditTableBlock.js +0 -301
  1581. package/out/src/templator/genEditTableBlock.js.map +0 -1
  1582. package/out/src/templator/genEnumSelectBlock.js +0 -23
  1583. package/out/src/templator/genEnumSelectBlock.js.map +0 -1
  1584. package/out/src/templator/genGetBlock.js +0 -133
  1585. package/out/src/templator/genGetBlock.js.map +0 -1
  1586. package/out/src/templator/genGridViewBlock.js +0 -308
  1587. package/out/src/templator/genGridViewBlock.js.map +0 -1
  1588. package/out/src/templator/genListViewBlock.js +0 -137
  1589. package/out/src/templator/genListViewBlock.js.map +0 -1
  1590. package/out/src/templator/genQueryComponent.js.map +0 -1
  1591. package/out/src/templator/genSelectBlock.js +0 -142
  1592. package/out/src/templator/genSelectBlock.js.map +0 -1
  1593. package/out/src/templator/genTableBlock.js +0 -295
  1594. package/out/src/templator/genTableBlock.js.map +0 -1
  1595. package/out/src/templator/genUpdateBlock.js +0 -347
  1596. package/out/src/templator/genUpdateBlock.js.map +0 -1
  1597. package/out/src/templator/index.d.ts +0 -15
  1598. package/out/src/templator/index.js +0 -33
  1599. package/out/src/templator/index.js.map +0 -1
  1600. package/out/src/templator/utils.d.ts +0 -634
  1601. package/out/src/templator/utils.js +0 -412
  1602. package/out/src/templator/utils.js.map +0 -1
  1603. package/out/src/terms/LEVEL_NAME_MAP.js.map +0 -1
  1604. package/out/src/test/fixtures/env.d.ts +0 -5
  1605. package/out/src/test/fixtures/env.js +0 -21
  1606. package/out/src/test/fixtures/env.js.map +0 -1
  1607. package/out/src/test/integration/connect-file.js.map +0 -1
  1608. package/out/src/test/units/app/App.spec.js +0 -17
  1609. package/out/src/test/units/app/App.spec.js.map +0 -1
  1610. package/out/src/test/units/app/Service.spec.d.ts +0 -1
  1611. package/out/src/test/units/app/Service.spec.js +0 -24
  1612. package/out/src/test/units/app/Service.spec.js.map +0 -1
  1613. package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
  1614. package/out/src/test/units/baseTypes/AssignmentExpression.spec.d.ts +0 -1
  1615. package/out/src/test/units/baseTypes/AssignmentExpression.spec.js +0 -39
  1616. package/out/src/test/units/baseTypes/AssignmentExpression.spec.js.map +0 -1
  1617. package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
  1618. package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
  1619. package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
  1620. package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
  1621. package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
  1622. package/out/src/test/units/baseTypes/new.spec.js +0 -37
  1623. package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
  1624. package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
  1625. package/out/src/test/units/common/Vertex.spec.js +0 -22
  1626. package/out/src/test/units/common/Vertex.spec.js.map +0 -1
  1627. package/out/src/test/units/data/Entity.spec.d.ts +0 -1
  1628. package/out/src/test/units/data/Entity.spec.js +0 -12
  1629. package/out/src/test/units/data/Entity.spec.js.map +0 -1
  1630. package/out/src/test/units/login.spec.d.ts +0 -1
  1631. package/out/src/test/units/login.spec.js +0 -12
  1632. package/out/src/test/units/login.spec.js.map +0 -1
  1633. package/out/src/test/units/page/Block.spec.d.ts +0 -0
  1634. package/out/src/test/units/page/Block.spec.js +0 -13
  1635. package/out/src/test/units/page/Block.spec.js.map +0 -1
  1636. package/out/src/test/units/page/Element.spec.d.ts +0 -1
  1637. package/out/src/test/units/page/Element.spec.js +0 -44
  1638. package/out/src/test/units/page/Element.spec.js.map +0 -1
  1639. package/out/src/test/units/temp/temp.spec.d.ts +0 -1
  1640. package/out/src/test/units/temp/temp.spec.js +0 -68
  1641. package/out/src/test/units/temp/temp.spec.js.map +0 -1
  1642. package/out/src/translator/index.d.ts +0 -47
  1643. package/out/src/translator/index.js +0 -108
  1644. package/out/src/translator/index.js.map +0 -1
  1645. package/out/src/translator/lsp.d.ts +0 -45
  1646. package/out/src/translator/lsp.js +0 -6
  1647. package/out/src/translator/lsp.js.map +0 -1
  1648. package/out/src/translator/tsp.d.ts +0 -12
  1649. package/out/src/translator/tsp.js +0 -3
  1650. package/out/src/translator/tsp.js.map +0 -1
  1651. package/out/src/types/app/App.d.ts +0 -148
  1652. package/out/src/types/app/App.js +0 -358
  1653. package/out/src/types/app/App.js.map +0 -1
  1654. package/out/src/types/app/History.d.ts +0 -36
  1655. package/out/src/types/app/History.js +0 -366
  1656. package/out/src/types/app/History.js.map +0 -1
  1657. package/out/src/types/app/Service.d.ts +0 -220
  1658. package/out/src/types/app/Service.js +0 -831
  1659. package/out/src/types/app/Service.js.map +0 -1
  1660. package/out/src/types/cache.d.ts +0 -6
  1661. package/out/src/types/cache.js +0 -54
  1662. package/out/src/types/cache.js.map +0 -1
  1663. package/out/src/types/cacheData.d.ts +0 -4
  1664. package/out/src/types/cacheData.js +0 -34
  1665. package/out/src/types/cacheData.js.map +0 -1
  1666. package/out/src/types/classMap.d.ts +0 -4
  1667. package/out/src/types/classMap.js +0 -5
  1668. package/out/src/types/classMap.js.map +0 -1
  1669. package/out/src/types/common/ComponentAPI.d.ts +0 -110
  1670. package/out/src/types/common/ComponentAPI.js +0 -3
  1671. package/out/src/types/common/ComponentAPI.js.map +0 -1
  1672. package/out/src/types/common/EventEmitter.d.ts +0 -37
  1673. package/out/src/types/common/EventEmitter.js +0 -70
  1674. package/out/src/types/common/EventEmitter.js.map +0 -1
  1675. package/out/src/types/common/PackageJSON.d.ts +0 -32
  1676. package/out/src/types/common/PackageJSON.js +0 -3
  1677. package/out/src/types/common/PackageJSON.js.map +0 -1
  1678. package/out/src/types/common/Vertex.d.ts +0 -205
  1679. package/out/src/types/common/Vertex.js +0 -591
  1680. package/out/src/types/common/Vertex.js.map +0 -1
  1681. package/out/src/types/config.d.ts +0 -32
  1682. package/out/src/types/config.js +0 -30
  1683. package/out/src/types/config.js.map +0 -1
  1684. package/out/src/types/data/DataNode.d.ts +0 -24
  1685. package/out/src/types/data/DataNode.js +0 -52
  1686. package/out/src/types/data/DataNode.js.map +0 -1
  1687. package/out/src/types/data/Entity.d.ts +0 -124
  1688. package/out/src/types/data/Entity.js +0 -537
  1689. package/out/src/types/data/Entity.js.map +0 -1
  1690. package/out/src/types/data/EntityIndex.d.ts +0 -87
  1691. package/out/src/types/data/EntityIndex.js +0 -262
  1692. package/out/src/types/data/EntityIndex.js.map +0 -1
  1693. package/out/src/types/data/EntityProperty.d.ts +0 -196
  1694. package/out/src/types/data/EntityProperty.js +0 -584
  1695. package/out/src/types/data/EntityProperty.js.map +0 -1
  1696. package/out/src/types/data/Enum.d.ts +0 -97
  1697. package/out/src/types/data/Enum.js +0 -267
  1698. package/out/src/types/data/Enum.js.map +0 -1
  1699. package/out/src/types/data/EnumItem.d.ts +0 -57
  1700. package/out/src/types/data/EnumItem.js +0 -170
  1701. package/out/src/types/data/EnumItem.js.map +0 -1
  1702. package/out/src/types/data/GlobalLogicNode.d.ts +0 -44
  1703. package/out/src/types/data/GlobalLogicNode.js +0 -201
  1704. package/out/src/types/data/GlobalLogicNode.js.map +0 -1
  1705. package/out/src/types/data/Interface.d.ts +0 -153
  1706. package/out/src/types/data/Interface.js +0 -482
  1707. package/out/src/types/data/Interface.js.map +0 -1
  1708. package/out/src/types/data/Schema.d.ts +0 -121
  1709. package/out/src/types/data/Schema.js +0 -3
  1710. package/out/src/types/data/Schema.js.map +0 -1
  1711. package/out/src/types/data/Structure.d.ts +0 -104
  1712. package/out/src/types/data/Structure.js +0 -319
  1713. package/out/src/types/data/Structure.js.map +0 -1
  1714. package/out/src/types/data/StructureProperty.d.ts +0 -134
  1715. package/out/src/types/data/StructureProperty.js +0 -380
  1716. package/out/src/types/data/StructureProperty.js.map +0 -1
  1717. package/out/src/types/data/basicTypes.d.ts +0 -25
  1718. package/out/src/types/data/basicTypes.js +0 -77
  1719. package/out/src/types/data/basicTypes.js.map +0 -1
  1720. package/out/src/types/data/dataTypeUtils.d.ts +0 -94
  1721. package/out/src/types/data/dataTypeUtils.js +0 -441
  1722. package/out/src/types/data/dataTypeUtils.js.map +0 -1
  1723. package/out/src/types/data/dataTypes.d.ts +0 -20
  1724. package/out/src/types/data/dataTypes.js +0 -47
  1725. package/out/src/types/data/dataTypes.js.map +0 -1
  1726. package/out/src/types/data/entityUtils.d.ts +0 -164
  1727. package/out/src/types/data/entityUtils.js +0 -632
  1728. package/out/src/types/data/entityUtils.js.map +0 -1
  1729. package/out/src/types/data/genBlock/builtInFunctions.json +0 -545
  1730. package/out/src/types/data/genBlock/genCallComponentLogic.d.ts +0 -20
  1731. package/out/src/types/data/genBlock/genCallComponentLogic.js +0 -32
  1732. package/out/src/types/data/genBlock/genCallComponentLogic.js.map +0 -1
  1733. package/out/src/types/data/genBlock/genCallInterface.d.ts +0 -41
  1734. package/out/src/types/data/genBlock/genCallInterface.js +0 -86
  1735. package/out/src/types/data/genBlock/genCallInterface.js.map +0 -1
  1736. package/out/src/types/data/genBlock/genCreateBlock.d.ts +0 -10
  1737. package/out/src/types/data/genBlock/genCreateBlock.js +0 -313
  1738. package/out/src/types/data/genBlock/genCreateBlock.js.map +0 -1
  1739. package/out/src/types/data/genBlock/genCurdBlock.d.ts +0 -4
  1740. package/out/src/types/data/genBlock/genCurdBlock.js +0 -648
  1741. package/out/src/types/data/genBlock/genCurdBlock.js.map +0 -1
  1742. package/out/src/types/data/genBlock/genCurdEditTableBlock.d.ts +0 -3
  1743. package/out/src/types/data/genBlock/genCurdEditTableBlock.js +0 -578
  1744. package/out/src/types/data/genBlock/genCurdEditTableBlock.js.map +0 -1
  1745. package/out/src/types/data/genBlock/genEditTableBlock.d.ts +0 -234
  1746. package/out/src/types/data/genBlock/genEditTableBlock.js +0 -419
  1747. package/out/src/types/data/genBlock/genEditTableBlock.js.map +0 -1
  1748. package/out/src/types/data/genBlock/genEnumSelectBlock.d.ts +0 -10
  1749. package/out/src/types/data/genBlock/genEnumSelectBlock.js +0 -23
  1750. package/out/src/types/data/genBlock/genEnumSelectBlock.js.map +0 -1
  1751. package/out/src/types/data/genBlock/genGetBlock.d.ts +0 -6
  1752. package/out/src/types/data/genBlock/genGetBlock.js +0 -151
  1753. package/out/src/types/data/genBlock/genGetBlock.js.map +0 -1
  1754. package/out/src/types/data/genBlock/genGridViewBlock.d.ts +0 -136
  1755. package/out/src/types/data/genBlock/genGridViewBlock.js +0 -274
  1756. package/out/src/types/data/genBlock/genGridViewBlock.js.map +0 -1
  1757. package/out/src/types/data/genBlock/genListViewBlock.d.ts +0 -63
  1758. package/out/src/types/data/genBlock/genListViewBlock.js +0 -110
  1759. package/out/src/types/data/genBlock/genListViewBlock.js.map +0 -1
  1760. package/out/src/types/data/genBlock/genQueryComponent.d.ts +0 -336
  1761. package/out/src/types/data/genBlock/genQueryComponent.js +0 -526
  1762. package/out/src/types/data/genBlock/genQueryComponent.js.map +0 -1
  1763. package/out/src/types/data/genBlock/genSelectBlock.d.ts +0 -63
  1764. package/out/src/types/data/genBlock/genSelectBlock.js +0 -106
  1765. package/out/src/types/data/genBlock/genSelectBlock.js.map +0 -1
  1766. package/out/src/types/data/genBlock/genTableBlock.d.ts +0 -136
  1767. package/out/src/types/data/genBlock/genTableBlock.js +0 -270
  1768. package/out/src/types/data/genBlock/genTableBlock.js.map +0 -1
  1769. package/out/src/types/data/genBlock/genUpdateBlock.d.ts +0 -6
  1770. package/out/src/types/data/genBlock/genUpdateBlock.js +0 -384
  1771. package/out/src/types/data/genBlock/genUpdateBlock.js.map +0 -1
  1772. package/out/src/types/data/genBlock/index.d.ts +0 -17
  1773. package/out/src/types/data/genBlock/index.js +0 -31
  1774. package/out/src/types/data/genBlock/index.js.map +0 -1
  1775. package/out/src/types/data/genBlock/utils.d.ts +0 -99
  1776. package/out/src/types/data/genBlock/utils.js +0 -224
  1777. package/out/src/types/data/genBlock/utils.js.map +0 -1
  1778. package/out/src/types/data/genericTypes.d.ts +0 -40
  1779. package/out/src/types/data/genericTypes.js +0 -145
  1780. package/out/src/types/data/genericTypes.js.map +0 -1
  1781. package/out/src/types/data/systemTypes.d.ts +0 -9
  1782. package/out/src/types/data/systemTypes.js +0 -1563
  1783. package/out/src/types/data/systemTypes.js.map +0 -1
  1784. package/out/src/types/decorators/index.d.ts +0 -31
  1785. package/out/src/types/decorators/index.js +0 -121
  1786. package/out/src/types/decorators/index.js.map +0 -1
  1787. package/out/src/types/enum.d.ts +0 -6
  1788. package/out/src/types/enum.js +0 -11
  1789. package/out/src/types/enum.js.map +0 -1
  1790. package/out/src/types/index.d.ts +0 -145
  1791. package/out/src/types/index.js +0 -226
  1792. package/out/src/types/index.js.map +0 -1
  1793. package/out/src/types/logic/BaseVariable.d.ts +0 -75
  1794. package/out/src/types/logic/BaseVariable.js +0 -159
  1795. package/out/src/types/logic/BaseVariable.js.map +0 -1
  1796. package/out/src/types/logic/Logic.d.ts +0 -180
  1797. package/out/src/types/logic/Logic.js +0 -591
  1798. package/out/src/types/logic/Logic.js.map +0 -1
  1799. package/out/src/types/logic/LogicItem.d.ts +0 -320
  1800. package/out/src/types/logic/LogicItem.js +0 -1295
  1801. package/out/src/types/logic/LogicItem.js.map +0 -1
  1802. package/out/src/types/logic/Param.d.ts +0 -86
  1803. package/out/src/types/logic/Param.js +0 -367
  1804. package/out/src/types/logic/Param.js.map +0 -1
  1805. package/out/src/types/logic/Return.d.ts +0 -73
  1806. package/out/src/types/logic/Return.js +0 -313
  1807. package/out/src/types/logic/Return.js.map +0 -1
  1808. package/out/src/types/logic/Variable.d.ts +0 -72
  1809. package/out/src/types/logic/Variable.js +0 -309
  1810. package/out/src/types/logic/Variable.js.map +0 -1
  1811. package/out/src/types/logic/expressions/MemberExpression.d.ts +0 -23
  1812. package/out/src/types/logic/expressions/MemberExpression.js +0 -52
  1813. package/out/src/types/logic/expressions/MemberExpression.js.map +0 -1
  1814. package/out/src/types/logic/expressions/NumericLiteral.d.ts +0 -19
  1815. package/out/src/types/logic/expressions/NumericLiteral.js +0 -42
  1816. package/out/src/types/logic/expressions/NumericLiteral.js.map +0 -1
  1817. package/out/src/types/logic/expressions/Unparsed.d.ts +0 -19
  1818. package/out/src/types/logic/expressions/Unparsed.js +0 -42
  1819. package/out/src/types/logic/expressions/Unparsed.js.map +0 -1
  1820. package/out/src/types/logic/nodes/BuiltInFuncParam.d.ts +0 -27
  1821. package/out/src/types/logic/nodes/BuiltInFuncParam.js +0 -56
  1822. package/out/src/types/logic/nodes/BuiltInFuncParam.js.map +0 -1
  1823. package/out/src/types/logic/nodes/BuiltInFunction.d.ts +0 -24
  1824. package/out/src/types/logic/nodes/BuiltInFunction.js +0 -55
  1825. package/out/src/types/logic/nodes/BuiltInFunction.js.map +0 -1
  1826. package/out/src/types/logic/nodes/CallConsoleLog.d.ts +0 -19
  1827. package/out/src/types/logic/nodes/CallConsoleLog.js +0 -42
  1828. package/out/src/types/logic/nodes/CallConsoleLog.js.map +0 -1
  1829. package/out/src/types/logic/nodes/CallInterParam.d.ts +0 -23
  1830. package/out/src/types/logic/nodes/CallInterParam.js +0 -49
  1831. package/out/src/types/logic/nodes/CallInterParam.js.map +0 -1
  1832. package/out/src/types/logic/nodes/CallInterface.d.ts +0 -24
  1833. package/out/src/types/logic/nodes/CallInterface.js +0 -49
  1834. package/out/src/types/logic/nodes/CallInterface.js.map +0 -1
  1835. package/out/src/types/logic/nodes/CallLogic.d.ts +0 -24
  1836. package/out/src/types/logic/nodes/CallLogic.js +0 -55
  1837. package/out/src/types/logic/nodes/CallLogic.js.map +0 -1
  1838. package/out/src/types/logic/nodes/CallMessageShow.d.ts +0 -27
  1839. package/out/src/types/logic/nodes/CallMessageShow.js +0 -56
  1840. package/out/src/types/logic/nodes/CallMessageShow.js.map +0 -1
  1841. package/out/src/types/logic/nodes/Destination.d.ts +0 -32
  1842. package/out/src/types/logic/nodes/Destination.js +0 -73
  1843. package/out/src/types/logic/nodes/Destination.js.map +0 -1
  1844. package/out/src/types/logic/nodes/DestinationParam.d.ts +0 -24
  1845. package/out/src/types/logic/nodes/DestinationParam.js +0 -49
  1846. package/out/src/types/logic/nodes/DestinationParam.js.map +0 -1
  1847. package/out/src/types/logic/nodes/JSBlock.d.ts +0 -19
  1848. package/out/src/types/logic/nodes/JSBlock.js +0 -46
  1849. package/out/src/types/logic/nodes/JSBlock.js.map +0 -1
  1850. package/out/src/types/logic/nodes/JSONDeserialize.d.ts +0 -19
  1851. package/out/src/types/logic/nodes/JSONDeserialize.js +0 -42
  1852. package/out/src/types/logic/nodes/JSONDeserialize.js.map +0 -1
  1853. package/out/src/types/logic/nodes/JSONSerialize.d.ts +0 -19
  1854. package/out/src/types/logic/nodes/JSONSerialize.js +0 -42
  1855. package/out/src/types/logic/nodes/JSONSerialize.js.map +0 -1
  1856. package/out/src/types/logic/nodes/ProcessOutcome.d.ts +0 -27
  1857. package/out/src/types/logic/nodes/ProcessOutcome.js +0 -56
  1858. package/out/src/types/logic/nodes/ProcessOutcome.js.map +0 -1
  1859. package/out/src/types/logic/tools.d.ts +0 -15
  1860. package/out/src/types/logic/tools.js +0 -164
  1861. package/out/src/types/logic/tools.js.map +0 -1
  1862. package/out/src/types/logic/translator.d.ts +0 -1
  1863. package/out/src/types/logic/translator.js +0 -624
  1864. package/out/src/types/logic/translator.js.map +0 -1
  1865. package/out/src/types/login.d.ts +0 -7
  1866. package/out/src/types/login.js +0 -39
  1867. package/out/src/types/login.js.map +0 -1
  1868. package/out/src/types/nuims/Nuims.d.ts +0 -128
  1869. package/out/src/types/nuims/Nuims.js +0 -446
  1870. package/out/src/types/nuims/Nuims.js.map +0 -1
  1871. package/out/src/types/page/Attr.d.ts +0 -79
  1872. package/out/src/types/page/Attr.js +0 -217
  1873. package/out/src/types/page/Attr.js.map +0 -1
  1874. package/out/src/types/page/Block.d.ts +0 -65
  1875. package/out/src/types/page/Block.js +0 -82
  1876. package/out/src/types/page/Block.js.map +0 -1
  1877. package/out/src/types/page/Directive.d.ts +0 -78
  1878. package/out/src/types/page/Directive.js +0 -202
  1879. package/out/src/types/page/Directive.js.map +0 -1
  1880. package/out/src/types/page/Element.d.ts +0 -266
  1881. package/out/src/types/page/Element.js +0 -1418
  1882. package/out/src/types/page/Element.js.map +0 -1
  1883. package/out/src/types/page/Event.d.ts +0 -63
  1884. package/out/src/types/page/Event.js +0 -212
  1885. package/out/src/types/page/Event.js.map +0 -1
  1886. package/out/src/types/page/Lifecycle.d.ts +0 -58
  1887. package/out/src/types/page/Lifecycle.js +0 -192
  1888. package/out/src/types/page/Lifecycle.js.map +0 -1
  1889. package/out/src/types/page/Page.d.ts +0 -95
  1890. package/out/src/types/page/Page.js +0 -394
  1891. package/out/src/types/page/Page.js.map +0 -1
  1892. package/out/src/types/page/View.d.ts +0 -253
  1893. package/out/src/types/page/View.js +0 -1178
  1894. package/out/src/types/page/View.js.map +0 -1
  1895. package/out/src/types/page/ViewParam.d.ts +0 -73
  1896. package/out/src/types/page/ViewParam.js +0 -296
  1897. package/out/src/types/page/ViewParam.js.map +0 -1
  1898. package/out/src/types/page/ViewVariable.d.ts +0 -73
  1899. package/out/src/types/page/ViewVariable.js +0 -276
  1900. package/out/src/types/page/ViewVariable.js.map +0 -1
  1901. package/out/src/types/permission/Permission.d.ts +0 -41
  1902. package/out/src/types/permission/Permission.js +0 -122
  1903. package/out/src/types/permission/Permission.js.map +0 -1
  1904. package/out/src/types/process/Process.d.ts +0 -118
  1905. package/out/src/types/process/Process.js +0 -357
  1906. package/out/src/types/process/Process.js.map +0 -1
  1907. package/out/src/types/process/ProcessComponent.d.ts +0 -133
  1908. package/out/src/types/process/ProcessComponent.js +0 -339
  1909. package/out/src/types/process/ProcessComponent.js.map +0 -1
  1910. package/out/src/types/process/ProcessComponentAttribute.d.ts +0 -63
  1911. package/out/src/types/process/ProcessComponentAttribute.js +0 -163
  1912. package/out/src/types/process/ProcessComponentAttribute.js.map +0 -1
  1913. package/out/src/types/process/ProcessComponentProperty.d.ts +0 -37
  1914. package/out/src/types/process/ProcessComponentProperty.js +0 -81
  1915. package/out/src/types/process/ProcessComponentProperty.js.map +0 -1
  1916. package/out/src/types/process/ProcessComponentReturn.d.ts +0 -77
  1917. package/out/src/types/process/ProcessComponentReturn.js +0 -260
  1918. package/out/src/types/process/ProcessComponentReturn.js.map +0 -1
  1919. package/out/src/types/process/ProcessComponentVariable.d.ts +0 -78
  1920. package/out/src/types/process/ProcessComponentVariable.js +0 -252
  1921. package/out/src/types/process/ProcessComponentVariable.js.map +0 -1
  1922. package/out/src/types/process/ProcessInterface.d.ts +0 -112
  1923. package/out/src/types/process/ProcessInterface.js +0 -227
  1924. package/out/src/types/process/ProcessInterface.js.map +0 -1
  1925. package/out/src/types/process/ProcessParam.d.ts +0 -77
  1926. package/out/src/types/process/ProcessParam.js +0 -261
  1927. package/out/src/types/process/ProcessParam.js.map +0 -1
  1928. package/out/src/types/process/ProcessProperty.d.ts +0 -37
  1929. package/out/src/types/process/ProcessProperty.js +0 -81
  1930. package/out/src/types/process/ProcessProperty.js.map +0 -1
  1931. package/out/src/types/process/ProcessReturn.d.ts +0 -73
  1932. package/out/src/types/process/ProcessReturn.js +0 -237
  1933. package/out/src/types/process/ProcessReturn.js.map +0 -1
  1934. package/out/src/types/utils/index.d.ts +0 -26
  1935. package/out/src/types/utils/index.js +0 -90
  1936. package/out/src/types/utils/index.js.map +0 -1
  1937. package/out/src/types/utils/logger.js +0 -14
  1938. package/out/src/types/utils/logger.js.map +0 -1
  1939. package/out/src/types/utils/string.js.map +0 -1
  1940. package/out/src/types/utils/traverse.d.ts +0 -35
  1941. package/out/src/types/utils/traverse.js +0 -126
  1942. package/out/src/types/utils/traverse.js.map +0 -1
  1943. package/out/src/utils/index.js.map +0 -1
  1944. package/out/src/utils/logger.d.ts +0 -3
  1945. package/out/src/utils/logger.js.map +0 -1
  1946. package/out/src/utils/string.d.ts +0 -38
  1947. package/out/src/utils/string.js +0 -66
  1948. package/out/src/utils/string.js.map +0 -1
  1949. package/out/src/utils/traverse.d.ts +0 -35
  1950. package/out/src/utils/traverse.js +0 -126
  1951. package/out/src/utils/traverse.js.map +0 -1
  1952. package/out/test/units/app/App.spec.d.ts +0 -1
  1953. package/out/test/units/app/App.spec.js +0 -17
  1954. package/out/test/units/app/App.spec.js.map +0 -1
  1955. package/out/test/units/app/Service.spec.d.ts +0 -1
  1956. package/out/test/units/app/Service.spec.js +0 -24
  1957. package/out/test/units/app/Service.spec.js.map +0 -1
  1958. package/out/test/units/baseTypes/toEmbeddedTS.spec.d.ts +0 -1
  1959. package/out/test/units/baseTypes/toEmbeddedTS.spec.js +0 -39
  1960. package/out/test/units/baseTypes/toEmbeddedTS.spec.js.map +0 -1
  1961. package/out/test/units/config.spec.d.ts +0 -1
  1962. package/out/test/units/config.spec.js +0 -12
  1963. package/out/test/units/config.spec.js.map +0 -1
  1964. package/out/types/app/App.d.ts +0 -148
  1965. package/out/types/app/App.js +0 -358
  1966. package/out/types/app/App.js.map +0 -1
  1967. package/out/types/app/History.d.ts +0 -36
  1968. package/out/types/app/History.js +0 -366
  1969. package/out/types/app/History.js.map +0 -1
  1970. package/out/types/app/Service.d.ts +0 -220
  1971. package/out/types/app/Service.js +0 -831
  1972. package/out/types/app/Service.js.map +0 -1
  1973. package/out/types/cache.d.ts +0 -6
  1974. package/out/types/cache.js +0 -54
  1975. package/out/types/cache.js.map +0 -1
  1976. package/out/types/cacheData.d.ts +0 -4
  1977. package/out/types/cacheData.js +0 -34
  1978. package/out/types/cacheData.js.map +0 -1
  1979. package/out/types/classMap.d.ts +0 -4
  1980. package/out/types/classMap.js +0 -5
  1981. package/out/types/classMap.js.map +0 -1
  1982. package/out/types/common/ComponentAPI.d.ts +0 -110
  1983. package/out/types/common/ComponentAPI.js +0 -3
  1984. package/out/types/common/ComponentAPI.js.map +0 -1
  1985. package/out/types/common/EventEmitter.d.ts +0 -29
  1986. package/out/types/common/EventEmitter.js +0 -66
  1987. package/out/types/common/EventEmitter.js.map +0 -1
  1988. package/out/types/common/PackageJSON.d.ts +0 -32
  1989. package/out/types/common/PackageJSON.js +0 -3
  1990. package/out/types/common/PackageJSON.js.map +0 -1
  1991. package/out/types/common/Vertex.d.ts +0 -132
  1992. package/out/types/common/Vertex.js +0 -342
  1993. package/out/types/common/Vertex.js.map +0 -1
  1994. package/out/types/config.d.ts +0 -24
  1995. package/out/types/config.js +0 -22
  1996. package/out/types/config.js.map +0 -1
  1997. package/out/types/data/DataNode.d.ts +0 -24
  1998. package/out/types/data/DataNode.js +0 -52
  1999. package/out/types/data/DataNode.js.map +0 -1
  2000. package/out/types/data/Entity.d.ts +0 -124
  2001. package/out/types/data/Entity.js +0 -537
  2002. package/out/types/data/Entity.js.map +0 -1
  2003. package/out/types/data/EntityIndex.d.ts +0 -87
  2004. package/out/types/data/EntityIndex.js +0 -262
  2005. package/out/types/data/EntityIndex.js.map +0 -1
  2006. package/out/types/data/EntityProperty.d.ts +0 -196
  2007. package/out/types/data/EntityProperty.js +0 -584
  2008. package/out/types/data/EntityProperty.js.map +0 -1
  2009. package/out/types/data/Enum.d.ts +0 -97
  2010. package/out/types/data/Enum.js +0 -267
  2011. package/out/types/data/Enum.js.map +0 -1
  2012. package/out/types/data/EnumItem.d.ts +0 -57
  2013. package/out/types/data/EnumItem.js +0 -170
  2014. package/out/types/data/EnumItem.js.map +0 -1
  2015. package/out/types/data/GlobalLogicNode.d.ts +0 -44
  2016. package/out/types/data/GlobalLogicNode.js +0 -201
  2017. package/out/types/data/GlobalLogicNode.js.map +0 -1
  2018. package/out/types/data/Interface.d.ts +0 -153
  2019. package/out/types/data/Interface.js +0 -482
  2020. package/out/types/data/Interface.js.map +0 -1
  2021. package/out/types/data/Schema.d.ts +0 -121
  2022. package/out/types/data/Schema.js +0 -3
  2023. package/out/types/data/Schema.js.map +0 -1
  2024. package/out/types/data/Structure.d.ts +0 -104
  2025. package/out/types/data/Structure.js +0 -319
  2026. package/out/types/data/Structure.js.map +0 -1
  2027. package/out/types/data/StructureProperty.d.ts +0 -134
  2028. package/out/types/data/StructureProperty.js +0 -380
  2029. package/out/types/data/StructureProperty.js.map +0 -1
  2030. package/out/types/data/basicTypes.d.ts +0 -25
  2031. package/out/types/data/basicTypes.js +0 -77
  2032. package/out/types/data/basicTypes.js.map +0 -1
  2033. package/out/types/data/dataTypeUtils.d.ts +0 -94
  2034. package/out/types/data/dataTypeUtils.js +0 -441
  2035. package/out/types/data/dataTypeUtils.js.map +0 -1
  2036. package/out/types/data/dataTypes.d.ts +0 -20
  2037. package/out/types/data/dataTypes.js +0 -47
  2038. package/out/types/data/dataTypes.js.map +0 -1
  2039. package/out/types/data/entityUtils.d.ts +0 -164
  2040. package/out/types/data/entityUtils.js +0 -632
  2041. package/out/types/data/entityUtils.js.map +0 -1
  2042. package/out/types/data/genBlock/builtInFunctions.json +0 -545
  2043. package/out/types/data/genBlock/genCallComponentLogic.d.ts +0 -20
  2044. package/out/types/data/genBlock/genCallComponentLogic.js +0 -32
  2045. package/out/types/data/genBlock/genCallComponentLogic.js.map +0 -1
  2046. package/out/types/data/genBlock/genCallInterface.d.ts +0 -41
  2047. package/out/types/data/genBlock/genCallInterface.js +0 -86
  2048. package/out/types/data/genBlock/genCallInterface.js.map +0 -1
  2049. package/out/types/data/genBlock/genCreateBlock.d.ts +0 -10
  2050. package/out/types/data/genBlock/genCreateBlock.js +0 -313
  2051. package/out/types/data/genBlock/genCreateBlock.js.map +0 -1
  2052. package/out/types/data/genBlock/genCurdBlock.d.ts +0 -4
  2053. package/out/types/data/genBlock/genCurdBlock.js +0 -648
  2054. package/out/types/data/genBlock/genCurdBlock.js.map +0 -1
  2055. package/out/types/data/genBlock/genCurdEditTableBlock.d.ts +0 -3
  2056. package/out/types/data/genBlock/genCurdEditTableBlock.js +0 -578
  2057. package/out/types/data/genBlock/genCurdEditTableBlock.js.map +0 -1
  2058. package/out/types/data/genBlock/genEditTableBlock.d.ts +0 -234
  2059. package/out/types/data/genBlock/genEditTableBlock.js +0 -419
  2060. package/out/types/data/genBlock/genEditTableBlock.js.map +0 -1
  2061. package/out/types/data/genBlock/genEnumSelectBlock.d.ts +0 -10
  2062. package/out/types/data/genBlock/genEnumSelectBlock.js +0 -23
  2063. package/out/types/data/genBlock/genEnumSelectBlock.js.map +0 -1
  2064. package/out/types/data/genBlock/genGetBlock.d.ts +0 -6
  2065. package/out/types/data/genBlock/genGetBlock.js +0 -151
  2066. package/out/types/data/genBlock/genGetBlock.js.map +0 -1
  2067. package/out/types/data/genBlock/genGridViewBlock.d.ts +0 -136
  2068. package/out/types/data/genBlock/genGridViewBlock.js +0 -274
  2069. package/out/types/data/genBlock/genGridViewBlock.js.map +0 -1
  2070. package/out/types/data/genBlock/genListViewBlock.d.ts +0 -63
  2071. package/out/types/data/genBlock/genListViewBlock.js +0 -110
  2072. package/out/types/data/genBlock/genListViewBlock.js.map +0 -1
  2073. package/out/types/data/genBlock/genQueryComponent.d.ts +0 -336
  2074. package/out/types/data/genBlock/genQueryComponent.js +0 -526
  2075. package/out/types/data/genBlock/genQueryComponent.js.map +0 -1
  2076. package/out/types/data/genBlock/genSelectBlock.d.ts +0 -63
  2077. package/out/types/data/genBlock/genSelectBlock.js +0 -106
  2078. package/out/types/data/genBlock/genSelectBlock.js.map +0 -1
  2079. package/out/types/data/genBlock/genTableBlock.d.ts +0 -136
  2080. package/out/types/data/genBlock/genTableBlock.js +0 -270
  2081. package/out/types/data/genBlock/genTableBlock.js.map +0 -1
  2082. package/out/types/data/genBlock/genUpdateBlock.d.ts +0 -6
  2083. package/out/types/data/genBlock/genUpdateBlock.js +0 -384
  2084. package/out/types/data/genBlock/genUpdateBlock.js.map +0 -1
  2085. package/out/types/data/genBlock/index.d.ts +0 -17
  2086. package/out/types/data/genBlock/index.js +0 -31
  2087. package/out/types/data/genBlock/index.js.map +0 -1
  2088. package/out/types/data/genBlock/utils.d.ts +0 -99
  2089. package/out/types/data/genBlock/utils.js +0 -224
  2090. package/out/types/data/genBlock/utils.js.map +0 -1
  2091. package/out/types/data/genericTypes.d.ts +0 -40
  2092. package/out/types/data/genericTypes.js +0 -145
  2093. package/out/types/data/genericTypes.js.map +0 -1
  2094. package/out/types/data/systemTypes.d.ts +0 -9
  2095. package/out/types/data/systemTypes.js +0 -1563
  2096. package/out/types/data/systemTypes.js.map +0 -1
  2097. package/out/types/decorators/index.d.ts +0 -25
  2098. package/out/types/decorators/index.js +0 -62
  2099. package/out/types/decorators/index.js.map +0 -1
  2100. package/out/types/enum.d.ts +0 -6
  2101. package/out/types/enum.js +0 -11
  2102. package/out/types/enum.js.map +0 -1
  2103. package/out/types/eventBus.d.ts +0 -1
  2104. package/out/types/eventBus.js +0 -5
  2105. package/out/types/eventBus.js.map +0 -1
  2106. package/out/types/generator/data.d.ts +0 -36
  2107. package/out/types/generator/data.js +0 -197
  2108. package/out/types/generator/data.js.map +0 -1
  2109. package/out/types/generator/hotReload.d.ts +0 -14
  2110. package/out/types/generator/hotReload.js +0 -50
  2111. package/out/types/generator/hotReload.js.map +0 -1
  2112. package/out/types/generator/index.d.ts +0 -4
  2113. package/out/types/generator/index.js +0 -17
  2114. package/out/types/generator/index.js.map +0 -1
  2115. package/out/types/generator/load.d.ts +0 -8
  2116. package/out/types/generator/load.js +0 -92
  2117. package/out/types/generator/load.js.map +0 -1
  2118. package/out/types/generator/page.d.ts +0 -11
  2119. package/out/types/generator/page.js +0 -42
  2120. package/out/types/generator/page.js.map +0 -1
  2121. package/out/types/history.d.ts +0 -10
  2122. package/out/types/history.js +0 -13
  2123. package/out/types/history.js.map +0 -1
  2124. package/out/types/index.d.ts +0 -145
  2125. package/out/types/index.js +0 -225
  2126. package/out/types/index.js.map +0 -1
  2127. package/out/types/logic/BaseVariable.d.ts +0 -75
  2128. package/out/types/logic/BaseVariable.js +0 -159
  2129. package/out/types/logic/BaseVariable.js.map +0 -1
  2130. package/out/types/logic/BreakPoint.d.ts +0 -42
  2131. package/out/types/logic/BreakPoint.js +0 -155
  2132. package/out/types/logic/BreakPoint.js.map +0 -1
  2133. package/out/types/logic/CallInterface.d.ts +0 -1
  2134. package/out/types/logic/CallInterface.js +0 -9
  2135. package/out/types/logic/CallInterface.js.map +0 -1
  2136. package/out/types/logic/Debugger.d.ts +0 -156
  2137. package/out/types/logic/Debugger.js +0 -912
  2138. package/out/types/logic/Debugger.js.map +0 -1
  2139. package/out/types/logic/Logic.d.ts +0 -180
  2140. package/out/types/logic/Logic.js +0 -591
  2141. package/out/types/logic/Logic.js.map +0 -1
  2142. package/out/types/logic/LogicItem.d.ts +0 -320
  2143. package/out/types/logic/LogicItem.js +0 -1295
  2144. package/out/types/logic/LogicItem.js.map +0 -1
  2145. package/out/types/logic/Param.d.ts +0 -86
  2146. package/out/types/logic/Param.js +0 -367
  2147. package/out/types/logic/Param.js.map +0 -1
  2148. package/out/types/logic/Return.d.ts +0 -73
  2149. package/out/types/logic/Return.js +0 -313
  2150. package/out/types/logic/Return.js.map +0 -1
  2151. package/out/types/logic/Variable.d.ts +0 -72
  2152. package/out/types/logic/Variable.js +0 -309
  2153. package/out/types/logic/Variable.js.map +0 -1
  2154. package/out/types/logic/expressions/BinaryExpression.d.ts +0 -27
  2155. package/out/types/logic/expressions/BinaryExpression.js +0 -56
  2156. package/out/types/logic/expressions/BinaryExpression.js.map +0 -1
  2157. package/out/types/logic/expressions/BooleanLiteral.d.ts +0 -19
  2158. package/out/types/logic/expressions/BooleanLiteral.js +0 -42
  2159. package/out/types/logic/expressions/BooleanLiteral.js.map +0 -1
  2160. package/out/types/logic/expressions/Identifier.d.ts +0 -28
  2161. package/out/types/logic/expressions/Identifier.js +0 -57
  2162. package/out/types/logic/expressions/Identifier.js.map +0 -1
  2163. package/out/types/logic/expressions/LogicalExpression.d.ts +0 -27
  2164. package/out/types/logic/expressions/LogicalExpression.js +0 -56
  2165. package/out/types/logic/expressions/LogicalExpression.js.map +0 -1
  2166. package/out/types/logic/expressions/MemberExpression.d.ts +0 -23
  2167. package/out/types/logic/expressions/MemberExpression.js +0 -52
  2168. package/out/types/logic/expressions/MemberExpression.js.map +0 -1
  2169. package/out/types/logic/expressions/NullLiteral.d.ts +0 -15
  2170. package/out/types/logic/expressions/NullLiteral.js +0 -35
  2171. package/out/types/logic/expressions/NullLiteral.js.map +0 -1
  2172. package/out/types/logic/expressions/NumericLiteral.d.ts +0 -19
  2173. package/out/types/logic/expressions/NumericLiteral.js +0 -42
  2174. package/out/types/logic/expressions/NumericLiteral.js.map +0 -1
  2175. package/out/types/logic/expressions/StringLiteral.d.ts +0 -19
  2176. package/out/types/logic/expressions/StringLiteral.js +0 -42
  2177. package/out/types/logic/expressions/StringLiteral.js.map +0 -1
  2178. package/out/types/logic/expressions/UnaryExpression.d.ts +0 -23
  2179. package/out/types/logic/expressions/UnaryExpression.js +0 -49
  2180. package/out/types/logic/expressions/UnaryExpression.js.map +0 -1
  2181. package/out/types/logic/expressions/Unparsed.d.ts +0 -19
  2182. package/out/types/logic/expressions/Unparsed.js +0 -42
  2183. package/out/types/logic/expressions/Unparsed.js.map +0 -1
  2184. package/out/types/logic/nodes/AssignmentExpression.d.ts +0 -23
  2185. package/out/types/logic/nodes/AssignmentExpression.js +0 -49
  2186. package/out/types/logic/nodes/AssignmentExpression.js.map +0 -1
  2187. package/out/types/logic/nodes/BuiltInFuncParam.d.ts +0 -27
  2188. package/out/types/logic/nodes/BuiltInFuncParam.js +0 -56
  2189. package/out/types/logic/nodes/BuiltInFuncParam.js.map +0 -1
  2190. package/out/types/logic/nodes/BuiltInFunction.d.ts +0 -24
  2191. package/out/types/logic/nodes/BuiltInFunction.js +0 -55
  2192. package/out/types/logic/nodes/BuiltInFunction.js.map +0 -1
  2193. package/out/types/logic/nodes/CallConsoleLog.d.ts +0 -19
  2194. package/out/types/logic/nodes/CallConsoleLog.js +0 -42
  2195. package/out/types/logic/nodes/CallConsoleLog.js.map +0 -1
  2196. package/out/types/logic/nodes/CallGraphQL.d.ts +0 -28
  2197. package/out/types/logic/nodes/CallGraphQL.js +0 -56
  2198. package/out/types/logic/nodes/CallGraphQL.js.map +0 -1
  2199. package/out/types/logic/nodes/CallInterParam.d.ts +0 -23
  2200. package/out/types/logic/nodes/CallInterParam.js +0 -49
  2201. package/out/types/logic/nodes/CallInterParam.js.map +0 -1
  2202. package/out/types/logic/nodes/CallInterface.d.ts +0 -24
  2203. package/out/types/logic/nodes/CallInterface.js +0 -49
  2204. package/out/types/logic/nodes/CallInterface.js.map +0 -1
  2205. package/out/types/logic/nodes/CallLogic.d.ts +0 -24
  2206. package/out/types/logic/nodes/CallLogic.js +0 -55
  2207. package/out/types/logic/nodes/CallLogic.js.map +0 -1
  2208. package/out/types/logic/nodes/CallMessageShow.d.ts +0 -27
  2209. package/out/types/logic/nodes/CallMessageShow.js +0 -56
  2210. package/out/types/logic/nodes/CallMessageShow.js.map +0 -1
  2211. package/out/types/logic/nodes/Comment.d.ts +0 -19
  2212. package/out/types/logic/nodes/Comment.js +0 -42
  2213. package/out/types/logic/nodes/Comment.js.map +0 -1
  2214. package/out/types/logic/nodes/CronJob.d.ts +0 -19
  2215. package/out/types/logic/nodes/CronJob.js +0 -42
  2216. package/out/types/logic/nodes/CronJob.js.map +0 -1
  2217. package/out/types/logic/nodes/DBQuery.d.ts +0 -19
  2218. package/out/types/logic/nodes/DBQuery.js +0 -42
  2219. package/out/types/logic/nodes/DBQuery.js.map +0 -1
  2220. package/out/types/logic/nodes/Destination.d.ts +0 -32
  2221. package/out/types/logic/nodes/Destination.js +0 -73
  2222. package/out/types/logic/nodes/Destination.js.map +0 -1
  2223. package/out/types/logic/nodes/DestinationParam.d.ts +0 -24
  2224. package/out/types/logic/nodes/DestinationParam.js +0 -49
  2225. package/out/types/logic/nodes/DestinationParam.js.map +0 -1
  2226. package/out/types/logic/nodes/End.d.ts +0 -15
  2227. package/out/types/logic/nodes/End.js +0 -36
  2228. package/out/types/logic/nodes/End.js.map +0 -1
  2229. package/out/types/logic/nodes/ForEachStatement.d.ts +0 -40
  2230. package/out/types/logic/nodes/ForEachStatement.js +0 -77
  2231. package/out/types/logic/nodes/ForEachStatement.js.map +0 -1
  2232. package/out/types/logic/nodes/IfStatement.d.ts +0 -27
  2233. package/out/types/logic/nodes/IfStatement.js +0 -56
  2234. package/out/types/logic/nodes/IfStatement.js.map +0 -1
  2235. package/out/types/logic/nodes/JSBlock.d.ts +0 -19
  2236. package/out/types/logic/nodes/JSBlock.js +0 -46
  2237. package/out/types/logic/nodes/JSBlock.js.map +0 -1
  2238. package/out/types/logic/nodes/JSONDeserialize.d.ts +0 -19
  2239. package/out/types/logic/nodes/JSONDeserialize.js +0 -42
  2240. package/out/types/logic/nodes/JSONDeserialize.js.map +0 -1
  2241. package/out/types/logic/nodes/JSONSerialize.d.ts +0 -19
  2242. package/out/types/logic/nodes/JSONSerialize.js +0 -42
  2243. package/out/types/logic/nodes/JSONSerialize.js.map +0 -1
  2244. package/out/types/logic/nodes/ProcessOutcome.d.ts +0 -27
  2245. package/out/types/logic/nodes/ProcessOutcome.js +0 -56
  2246. package/out/types/logic/nodes/ProcessOutcome.js.map +0 -1
  2247. package/out/types/logic/nodes/Start.d.ts +0 -15
  2248. package/out/types/logic/nodes/Start.js +0 -35
  2249. package/out/types/logic/nodes/Start.js.map +0 -1
  2250. package/out/types/logic/nodes/SwitchCase.d.ts +0 -23
  2251. package/out/types/logic/nodes/SwitchCase.js +0 -49
  2252. package/out/types/logic/nodes/SwitchCase.js.map +0 -1
  2253. package/out/types/logic/nodes/SwitchStatement.d.ts +0 -20
  2254. package/out/types/logic/nodes/SwitchStatement.js +0 -42
  2255. package/out/types/logic/nodes/SwitchStatement.js.map +0 -1
  2256. package/out/types/logic/nodes/TypeNote.d.ts +0 -19
  2257. package/out/types/logic/nodes/TypeNote.js +0 -42
  2258. package/out/types/logic/nodes/TypeNote.js.map +0 -1
  2259. package/out/types/logic/nodes/WhileStatement.d.ts +0 -23
  2260. package/out/types/logic/nodes/WhileStatement.js +0 -49
  2261. package/out/types/logic/nodes/WhileStatement.js.map +0 -1
  2262. package/out/types/logic/tools.d.ts +0 -15
  2263. package/out/types/logic/tools.js +0 -164
  2264. package/out/types/logic/tools.js.map +0 -1
  2265. package/out/types/logic/translator.d.ts +0 -1
  2266. package/out/types/logic/translator.js +0 -624
  2267. package/out/types/logic/translator.js.map +0 -1
  2268. package/out/types/login.d.ts +0 -7
  2269. package/out/types/login.js +0 -39
  2270. package/out/types/login.js.map +0 -1
  2271. package/out/types/nuims/Nuims.d.ts +0 -128
  2272. package/out/types/nuims/Nuims.js +0 -446
  2273. package/out/types/nuims/Nuims.js.map +0 -1
  2274. package/out/types/page/Attr.d.ts +0 -79
  2275. package/out/types/page/Attr.js +0 -217
  2276. package/out/types/page/Attr.js.map +0 -1
  2277. package/out/types/page/Block.d.ts +0 -65
  2278. package/out/types/page/Block.js +0 -82
  2279. package/out/types/page/Block.js.map +0 -1
  2280. package/out/types/page/Directive.d.ts +0 -78
  2281. package/out/types/page/Directive.js +0 -202
  2282. package/out/types/page/Directive.js.map +0 -1
  2283. package/out/types/page/Element.d.ts +0 -266
  2284. package/out/types/page/Element.js +0 -1418
  2285. package/out/types/page/Element.js.map +0 -1
  2286. package/out/types/page/Event.d.ts +0 -63
  2287. package/out/types/page/Event.js +0 -212
  2288. package/out/types/page/Event.js.map +0 -1
  2289. package/out/types/page/Lifecycle.d.ts +0 -58
  2290. package/out/types/page/Lifecycle.js +0 -192
  2291. package/out/types/page/Lifecycle.js.map +0 -1
  2292. package/out/types/page/Page.d.ts +0 -95
  2293. package/out/types/page/Page.js +0 -420
  2294. package/out/types/page/Page.js.map +0 -1
  2295. package/out/types/page/View.d.ts +0 -253
  2296. package/out/types/page/View.js +0 -1178
  2297. package/out/types/page/View.js.map +0 -1
  2298. package/out/types/page/ViewParam.d.ts +0 -73
  2299. package/out/types/page/ViewParam.js +0 -296
  2300. package/out/types/page/ViewParam.js.map +0 -1
  2301. package/out/types/page/ViewVariable.d.ts +0 -73
  2302. package/out/types/page/ViewVariable.js +0 -276
  2303. package/out/types/page/ViewVariable.js.map +0 -1
  2304. package/out/types/permission/Permission.d.ts +0 -41
  2305. package/out/types/permission/Permission.js +0 -122
  2306. package/out/types/permission/Permission.js.map +0 -1
  2307. package/out/types/process/Process.d.ts +0 -118
  2308. package/out/types/process/Process.js +0 -357
  2309. package/out/types/process/Process.js.map +0 -1
  2310. package/out/types/process/ProcessComponent.d.ts +0 -133
  2311. package/out/types/process/ProcessComponent.js +0 -339
  2312. package/out/types/process/ProcessComponent.js.map +0 -1
  2313. package/out/types/process/ProcessComponentAttribute.d.ts +0 -63
  2314. package/out/types/process/ProcessComponentAttribute.js +0 -163
  2315. package/out/types/process/ProcessComponentAttribute.js.map +0 -1
  2316. package/out/types/process/ProcessComponentProperty.d.ts +0 -37
  2317. package/out/types/process/ProcessComponentProperty.js +0 -81
  2318. package/out/types/process/ProcessComponentProperty.js.map +0 -1
  2319. package/out/types/process/ProcessComponentReturn.d.ts +0 -77
  2320. package/out/types/process/ProcessComponentReturn.js +0 -260
  2321. package/out/types/process/ProcessComponentReturn.js.map +0 -1
  2322. package/out/types/process/ProcessComponentVariable.d.ts +0 -78
  2323. package/out/types/process/ProcessComponentVariable.js +0 -252
  2324. package/out/types/process/ProcessComponentVariable.js.map +0 -1
  2325. package/out/types/process/ProcessInterface.d.ts +0 -112
  2326. package/out/types/process/ProcessInterface.js +0 -227
  2327. package/out/types/process/ProcessInterface.js.map +0 -1
  2328. package/out/types/process/ProcessParam.d.ts +0 -77
  2329. package/out/types/process/ProcessParam.js +0 -261
  2330. package/out/types/process/ProcessParam.js.map +0 -1
  2331. package/out/types/process/ProcessProperty.d.ts +0 -37
  2332. package/out/types/process/ProcessProperty.js +0 -81
  2333. package/out/types/process/ProcessProperty.js.map +0 -1
  2334. package/out/types/process/ProcessReturn.d.ts +0 -73
  2335. package/out/types/process/ProcessReturn.js +0 -237
  2336. package/out/types/process/ProcessReturn.js.map +0 -1
  2337. package/out/types/typeCheck.d.ts +0 -30
  2338. package/out/types/typeCheck.js +0 -81
  2339. package/out/types/typeCheck.js.map +0 -1
  2340. package/out/types/utils/index.d.ts +0 -26
  2341. package/out/types/utils/index.js +0 -90
  2342. package/out/types/utils/index.js.map +0 -1
  2343. package/out/types/utils/logger.d.ts +0 -3
  2344. package/out/types/utils/logger.js +0 -14
  2345. package/out/types/utils/logger.js.map +0 -1
  2346. package/out/types/utils/string.d.ts +0 -38
  2347. package/out/types/utils/string.js +0 -66
  2348. package/out/types/utils/string.js.map +0 -1
  2349. package/out/types/utils/traverse.d.ts +0 -35
  2350. package/out/types/utils/traverse.js +0 -126
  2351. package/out/types/utils/traverse.js.map +0 -1
  2352. package/src/concepts/basics/stdlib/nasl.validate.ts +0 -523
@@ -0,0 +1,1465 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.translateDiagnosticMessage = exports.transformType = void 0;
7
+ /// #if process.env.NODE_ENV
8
+ // import Worker from '../../../ts-worker/dist/bundle.js';
9
+ /// #else
10
+ // import { Worker } from 'worker_threads';
11
+ /// #endif
12
+ const Messager_1 = __importDefault(require("../common/Messager"));
13
+ const concepts_1 = require("../concepts");
14
+ const translator_1 = require("../translator");
15
+ const storage_1 = __importDefault(require("../service/storage"));
16
+ const translator_2 = require("./translator");
17
+ Object.defineProperty(exports, "transformType", { enumerable: true, get: function () { return translator_2.transformType; } });
18
+ Object.defineProperty(exports, "translateDiagnosticMessage", { enumerable: true, get: function () { return translator_2.translateDiagnosticMessage; } });
19
+ const common_1 = require("../common");
20
+ const diagnostic_1 = __importDefault(require("../manager/diagnostic"));
21
+ const createUiTs_1 = __importDefault(require("./createUiTs"));
22
+ const coreTypeList_1 = require("../concepts/basics/types/coreTypeList");
23
+ const EmbeddedTSFileLineMap = {
24
+ Entity: 3,
25
+ };
26
+ const worker = new Worker('/ts-worker.js');
27
+ const messager = new Messager_1.default({
28
+ protocol: 'ts-worker',
29
+ sender: 'ide',
30
+ context: this,
31
+ getReceiver: () => worker,
32
+ getSender: () => worker,
33
+ handleMessage({ data }) {
34
+ if (data && data.event === 'publishDiagnostics') {
35
+ diagnostic_1.default.pushAll(naslServer._resolveDiagnosticRecords(data.records));
36
+ }
37
+ },
38
+ });
39
+ const naslServer = {
40
+ messager,
41
+ worker,
42
+ /**
43
+ * 按道理 fileSourceMap: new Map<string, SourceMap>() 比较合理,
44
+ * 但是要多维护一层 vertex 增删 -> file 增删的关系问题,
45
+ * 先用挂在点上面,简单的方法实现,后期再考虑解耦
46
+ */
47
+ file2NodeMap: new Map(),
48
+ elementsLogic: {},
49
+ start() {
50
+ return this.messager.requestCommand('start');
51
+ },
52
+ async createUiTs(allComponent) {
53
+ const { code, elementsLogic } = await (0, createUiTs_1.default)(allComponent);
54
+ // 放入生產的uits文件
55
+ await naslServer.addFile({
56
+ file: 'nasl.ui.definition.ts',
57
+ fileContent: code,
58
+ });
59
+ naslServer.elementsLogic = elementsLogic;
60
+ // 全部文件加载完毕开始初始化
61
+ await naslServer.getDiagnosticRecordsAndPushAll();
62
+ },
63
+ contentToFile(module, results) {
64
+ module.structures.forEach((structure) => {
65
+ const result = structure.toEmbeddedTSFile();
66
+ results.push(result);
67
+ // sourceMap都存在目录级别内容下,在页面层级下去找
68
+ structure.sourceMap = result.sourceMap;
69
+ this.file2NodeMap.set(result.filePath, structure);
70
+ });
71
+ module.entities.forEach((entity) => {
72
+ const result = entity.toEmbeddedTSFile();
73
+ results.push(result);
74
+ // sourceMap都存在目录级别内容下,在页面层级下去找
75
+ entity.sourceMap = result.sourceMap;
76
+ this.file2NodeMap.set(result.filePath, entity);
77
+ });
78
+ module.interfaces.forEach((_interface) => {
79
+ const result = _interface.toEmbeddedTSFile();
80
+ results.push(result);
81
+ // sourceMap都存在目录级别内容下,在页面层级下去找
82
+ _interface.sourceMap = result.sourceMap;
83
+ this.file2NodeMap.set(result.filePath, _interface);
84
+ });
85
+ module.enums.forEach((_enum) => {
86
+ const result = _enum.toEmbeddedTSFile();
87
+ results.push(result);
88
+ // sourceMap都存在目录级别内容下,在页面层级下去找
89
+ _enum.sourceMap = result.sourceMap;
90
+ this.file2NodeMap.set(result.filePath, _enum);
91
+ });
92
+ module.logics.forEach((logic) => {
93
+ if (!(logic instanceof concepts_1.Logic))
94
+ return;
95
+ const result = logic.toEmbeddedTSFile();
96
+ results.push(result);
97
+ logic.sourceMap = result.sourceMap;
98
+ this.file2NodeMap.set(result.filePath, logic);
99
+ });
100
+ // view的生成
101
+ naslServer.view2TSFile(module.views, results);
102
+ module.processes.forEach((process) => {
103
+ const result = process.toEmbeddedTSFile();
104
+ results.push(result);
105
+ process.sourceMap = result.sourceMap;
106
+ this.file2NodeMap.set(result.filePath, process);
107
+ });
108
+ if (module instanceof concepts_1.App) {
109
+ module.roles.forEach((role) => {
110
+ const result = role.toEmbeddedTSFile();
111
+ results.push(result);
112
+ // sourceMap都存在目录级别内容下,在页面层级下去找
113
+ role.sourceMap = result.sourceMap;
114
+ this.file2NodeMap.set(result.filePath, role);
115
+ });
116
+ }
117
+ },
118
+ view2TSFile(viewsChildren, results) {
119
+ // 子页面
120
+ viewsChildren.forEach((view) => {
121
+ const result = view.toEmbeddedTSFile();
122
+ results.push(result);
123
+ view.sourceMap = result.sourceMap;
124
+ this.file2NodeMap.set(result.filePath, view);
125
+ if (view.children.length) {
126
+ naslServer.view2TSFile(view.children, results);
127
+ }
128
+ });
129
+ },
130
+ async openApp(app) {
131
+ const results = [];
132
+ try {
133
+ // app的创建内容
134
+ naslServer.contentToFile(app, results);
135
+ // 其他模块的创建内容
136
+ app.dependencies.forEach((item) => naslServer.contentToFile(item, results));
137
+ app.interfaceDependencies.forEach((item) => naslServer.contentToFile(item, results));
138
+ app.componentDependencies.forEach((item) => naslServer.contentToFile(item, results));
139
+ }
140
+ catch (err) {
141
+ console.log(err);
142
+ }
143
+ const files = results.map((result) => ({
144
+ file: result.filePath,
145
+ fileContent: result.code,
146
+ }));
147
+ await this.writeFiles(files);
148
+ this._debugInFileStorage(app, files);
149
+ // 修改名称回调
150
+ (0, common_1.registerCommand)('tsRename.change', (value, callback) => {
151
+ callback(value);
152
+ });
153
+ // 删除回调
154
+ (0, common_1.registerCommand)('tsDelete.change', (callback) => {
155
+ callback();
156
+ });
157
+ },
158
+ async importModule(module) {
159
+ const results = [];
160
+ try {
161
+ naslServer.contentToFile(module, results);
162
+ }
163
+ catch (err) {
164
+ console.log(err);
165
+ }
166
+ const files = results.map((result) => ({
167
+ file: result.filePath,
168
+ fileContent: result.code,
169
+ }));
170
+ await this.writeFiles(files);
171
+ this._debugInFileStorage(module.parentNode, files);
172
+ },
173
+ /**
174
+ * 初始化之前添加文件
175
+ */
176
+ addFile(file) {
177
+ return this.messager.requestCommand('addFile', file);
178
+ },
179
+ /**
180
+ * 只新增文件
181
+ * @param {*} files
182
+ */
183
+ writeFiles(files) {
184
+ return this.messager.requestCommand('writeFiles', files);
185
+ },
186
+ /**
187
+ * 新增或修改文件
188
+ * @param {*} files
189
+ * @returns
190
+ */
191
+ outputFiles(files) {
192
+ return this.messager.requestCommand('outputFiles', files);
193
+ },
194
+ /**
195
+ * 新增、修改
196
+ * 删除文件 文件用修改内容为空模拟,防止报错
197
+ * @param {*} args
198
+ */
199
+ updateFiles(args) {
200
+ return this.messager.requestCommand('updateFiles', args);
201
+ },
202
+ _debugInFileStorage(node, openFiles) {
203
+ let app = node;
204
+ if (node.concept !== 'App') {
205
+ app = node.rootNode || node.app;
206
+ }
207
+ return Promise.all(openFiles.map(async (file) => {
208
+ const res = await storage_1.default.post('/api/App/debugEmbedded?id=' + app.id, file);
209
+ return res.data;
210
+ }));
211
+ },
212
+ open() {
213
+ return this.messager.requestCommand('open');
214
+ },
215
+ updateOpen(args) {
216
+ return this.messager.requestCommand('updateOpen', args);
217
+ },
218
+ fileReferences(filePath) {
219
+ return this.messager.requestCommand('fileReferences', filePath);
220
+ },
221
+ async references(args) {
222
+ return (await this.messager.requestCommand('references', args))?.response;
223
+ },
224
+ getValueSelectCompletion(node, value, noFilterList) {
225
+ const { currentSource, fileNode } = naslServer.getCurrentSource(node);
226
+ // console.log(currentSource, fileNode);
227
+ if (currentSource && fileNode) {
228
+ return naslServer._getValueSelectCompletion({
229
+ file: fileNode.getEmbeddedFilePath(),
230
+ range: {
231
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
232
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
233
+ },
234
+ value,
235
+ noFilterList,
236
+ });
237
+ }
238
+ else {
239
+ console.log('没找到节点', node, currentSource, fileNode);
240
+ }
241
+ },
242
+ _getValueSelectCompletion(args) {
243
+ return this.messager.requestCommand('getValueSelectCompletion', args);
244
+ },
245
+ // 联合类型切割取出类型
246
+ getDisplayString2Type(displayString) {
247
+ // 取出匹配的内容
248
+ const reg = /\<([^()]+)\>/g;
249
+ const types = reg.exec(displayString);
250
+ // 取出提示的类型,组成是数组
251
+ const typeList = types[1].split(' | ').map((item) => {
252
+ if (item.includes(' ')) {
253
+ const strs = item.split(' ');
254
+ const type = strs[strs.length - 1];
255
+ return type;
256
+ }
257
+ else if (item.includes('.')) {
258
+ const strs = item.split('.');
259
+ const type = strs[strs.length - 1];
260
+ return type;
261
+ }
262
+ else {
263
+ return item;
264
+ }
265
+ });
266
+ return typeList;
267
+ },
268
+ async getTypeQuickinfo(node) {
269
+ console.log(node);
270
+ if (node instanceof concepts_1.Identifier) {
271
+ const callFunction = node.parentNode.parentNode;
272
+ /**
273
+ * currentSource callFunction 的节点,要去到当前节点的位置
274
+ * nasl.util.Convert(xxx),所以取到的位置要 + `nasl.util.C` 的长度
275
+ * fileNode
276
+ */
277
+ const { currentSource, fileNode } = naslServer.getCurrentSource(callFunction);
278
+ const quickInfo = await naslServer._getTypeQuickinfo({
279
+ file: fileNode.getEmbeddedFilePath(),
280
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
281
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character) + `nasl.util.C`.length,
282
+ });
283
+ if (quickInfo.responseRequired) {
284
+ const displayString = quickInfo?.response?.displayString || '';
285
+ const typeList = naslServer.getDisplayString2Type(displayString);
286
+ let res = [];
287
+ typeList.forEach((type) => {
288
+ const typeAnnotation = coreTypeList_1.primitiveTypeList.find((typeAnnotation) => typeAnnotation.typeName === type);
289
+ if (typeAnnotation) {
290
+ res.push(typeAnnotation);
291
+ }
292
+ else if (type === 'unknown') {
293
+ return null;
294
+ }
295
+ });
296
+ if (!res.length) {
297
+ res = coreTypeList_1.primitiveTypeList;
298
+ }
299
+ // 调整结构
300
+ const dataTypeList = [{ title: '基础类型', children: res }];
301
+ return dataTypeList;
302
+ }
303
+ }
304
+ },
305
+ _getTypeQuickinfo(args) {
306
+ return this.messager.requestCommand('quickInfo', args);
307
+ },
308
+ getSelectNextCompletion(node, noFilterList) {
309
+ const { currentSource, fileNode } = naslServer.getCurrentSource(node);
310
+ // console.log(currentSource, fileNode);
311
+ if (currentSource && fileNode) {
312
+ return naslServer._getSelectNextCompletion({
313
+ file: fileNode.getEmbeddedFilePath(),
314
+ range: {
315
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
316
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
317
+ },
318
+ noFilterList,
319
+ });
320
+ }
321
+ else {
322
+ console.log('没找到节点', currentSource, fileNode);
323
+ }
324
+ },
325
+ _getSelectNextCompletion(args) {
326
+ return this.messager.requestCommand('getSelectNextCompletion', args);
327
+ },
328
+ async getDiagnosticRecords(fileNames) {
329
+ const records = (await this.messager.requestCommand('getDiagnosticRecords', fileNames));
330
+ return this._resolveDiagnosticRecords(records);
331
+ },
332
+ async getDiagnosticRecordsAndPushAll(fileNames) {
333
+ const records = await this.getDiagnosticRecords(fileNames);
334
+ // diagnosticManager.pushAll(records);
335
+ },
336
+ _resolveDiagnosticRecords(records) {
337
+ records.forEach((record) => {
338
+ const node = this.file2NodeMap.get(record.filePath);
339
+ if (!node)
340
+ return;
341
+ record.id = node.id;
342
+ record.node = node;
343
+ // 先获取原来的节点先清除一下之前有异常的节点,下面重新赋值
344
+ const oldRecord = diagnostic_1.default.getRecord(record.id);
345
+ oldRecord?.semanticDiagnostics.forEach((item) => {
346
+ item.node ? (item.node.tsErrorDetail = undefined) : '';
347
+ });
348
+ // 语义诊断
349
+ record.semanticDiagnostics = record.semanticDiagnostics
350
+ .map((diag) => this._resolveDiagnostic(diag, node.sourceMap))
351
+ .filter((diag) => !!diag);
352
+ // 建议诊断
353
+ // 实体下的建议不用展示,因为都是平台自己写的逻辑
354
+ // if (node instanceof Entity) {
355
+ // record.suggestionDiagnostics = [];
356
+ // }
357
+ // if (node instanceof View) {
358
+ // // event在view中不展示建议使用,提示关闭掉
359
+ // record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`'event'`));
360
+ // }
361
+ // if (node instanceof Logic) {
362
+ // // logic在for循环中,不展示any提示
363
+ // record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`implicitly has an 'any' type, but a better type may be inferred from usage.`));
364
+ // }
365
+ // record.suggestionDiagnostics = record.suggestionDiagnostics
366
+ // .map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
367
+ // .filter((diag) => !!diag);
368
+ record.suggestionDiagnostics = [];
369
+ // 语法诊断暂时不需要
370
+ });
371
+ return records;
372
+ },
373
+ _resolveDiagnostic(diagnostic, sourceMap) {
374
+ const minRange = this._findMinRange(diagnostic, sourceMap);
375
+ const tsErrorDetail = {
376
+ severity: diagnostic.category === 'error' ? 'error' : 'warning',
377
+ message: (0, translator_2.translateDiagnosticMessage)(diagnostic.text),
378
+ // 保留原来的内容方便查询一些问题
379
+ originalDiagnostic: diagnostic,
380
+ };
381
+ if (minRange) {
382
+ // let message = this.translateDiagnosticMessage(diagnostic.text);
383
+ // 节点的error要置为true
384
+ return naslServer._diagnosticSpecialTreatment(minRange, tsErrorDetail);
385
+ }
386
+ else {
387
+ // 没找到节点, 先把问题暴露出来
388
+ return {
389
+ id: undefined,
390
+ ...tsErrorDetail,
391
+ };
392
+ }
393
+ },
394
+ /**
395
+ * 处理一些边界情况
396
+ * @param minRange
397
+ * @param tsErrorDetail 报错具体信息
398
+ * @returns
399
+ */
400
+ _diagnosticSpecialTreatment(minRange, tsErrorDetail) {
401
+ const text = tsErrorDetail.originalDiagnostic.text;
402
+ // 有一些节点报错信息不向外暴露,缺失一些原生标签等等的展示
403
+ if (minRange.node instanceof concepts_1.View || minRange.node instanceof concepts_1.ViewElement) {
404
+ if (text.startsWith(`'nasl.ui' has no exported member named `)) {
405
+ return null;
406
+ }
407
+ else if (text.startsWith(`Property '`) && text.includes(`does not exist on type 'typeof ui'.`)) {
408
+ return null;
409
+ }
410
+ else if (text.startsWith(`Namespace 'nasl.ui' has no exported member `)) {
411
+ return null;
412
+ }
413
+ }
414
+ if (/Expected (.+?) arguments, but got (.+?)./.exec(text)) {
415
+ // bindevent本身现在就不传参数
416
+ if (minRange.node instanceof concepts_1.BindEvent) {
417
+ return null;
418
+ }
419
+ // 因为缺少参数时候有可能有特殊情况,因为原本少的多了就会找到 callLogic上,
420
+ // 但是只少一个的时候就会找到准确的Argument上 需要特殊处理, ui层就可以统一处理
421
+ if (minRange.node instanceof concepts_1.Argument) {
422
+ minRange.node = minRange.node.parentNode;
423
+ }
424
+ }
425
+ minRange.node.tsErrorDetail = tsErrorDetail;
426
+ return {
427
+ id: minRange.node.id,
428
+ node: minRange.node,
429
+ ...tsErrorDetail,
430
+ };
431
+ },
432
+ _findMinRange(diagnostic, sourceMap) {
433
+ let minRange;
434
+ for (const [node, item] of sourceMap.entries()) {
435
+ /**
436
+ * 当前内容的开始行 <= 诊断开始的行 &&
437
+ * 当前内容的结束行 >= 诊断结束的行
438
+ */
439
+ if ((0, translator_1.lsp2tspNumber)(item.range.start.line) <= diagnostic.start.line && (0, translator_1.lsp2tspNumber)(item.range.end.line) >= diagnostic.end.line) {
440
+ // 如果找到某一行
441
+ if ((0, translator_1.lsp2tspNumber)(item.range.start.line) === diagnostic.start.line && (0, translator_1.lsp2tspNumber)(item.range.end.line) === diagnostic.end.line) {
442
+ // 在行的范围但是又不在列的范围,不用给默认值,给了反而不对,
443
+ // 需要在列的范围内
444
+ if ((0, translator_1.lsp2tspNumber)(item.range.start.character) <= diagnostic.start.offset && (0, translator_1.lsp2tspNumber)(item.range.end.character) >= diagnostic.end.offset) {
445
+ // 比列更靠近 ,满足条件且长度更短
446
+ // 如果先走到下面有一个默认值了就像在if for里面有个表达式
447
+ // if for的内容也是包括当前的所以会重新赋值
448
+ if (!minRange || item.code.length < minRange.item.code.length) {
449
+ minRange = { item, node };
450
+ }
451
+ }
452
+ }
453
+ else {
454
+ // 没有节点 或者 行差比较小比已有的小就可以
455
+ // 一般出现在一大块上,多半是if for 等等没有参数
456
+ if (!minRange || item.range.end.line - item.range.start.line < minRange.item.range.end.line - minRange.item.range.start.line) {
457
+ minRange = { node, item };
458
+ }
459
+ }
460
+ }
461
+ }
462
+ if (!minRange) {
463
+ console.log(diagnostic, 'diagnostic');
464
+ console.log(sourceMap, 'sourceMap');
465
+ console.log(minRange, '需要特殊看下,为什么没找到内容-------------');
466
+ }
467
+ return minRange;
468
+ },
469
+ // 查找引用
470
+ async findReferences(node) {
471
+ console.log(node);
472
+ const refsList = await naslServer._isHaveRef(node, true);
473
+ console.log(refsList, 'refsList');
474
+ // refsList = refsList.filter((item) =>
475
+ // // 不是创建者
476
+ // item.isDefinition !== true);
477
+ let result = {};
478
+ const resMap = {};
479
+ try {
480
+ refsList.forEach((record) => {
481
+ const fileNode = this.file2NodeMap.get(record.file);
482
+ if (!fileNode)
483
+ return;
484
+ const minRange = this._findMinRange(record, fileNode.sourceMap);
485
+ // 过滤一把不需要改的信息
486
+ if (minRange) {
487
+ // 如果查找引用查到自己里面的引用不展示
488
+ // 因为view生成的特殊性
489
+ if (minRange.node === node || (minRange.node instanceof concepts_1.View && node instanceof concepts_1.View)) {
490
+ return;
491
+ }
492
+ // 拼装树
493
+ naslServer._getTreeMap(minRange, fileNode, resMap);
494
+ }
495
+ });
496
+ console.log(resMap, 'resMap');
497
+ result = naslServer.handleTreeMap(resMap);
498
+ }
499
+ catch (err) {
500
+ console.log(err);
501
+ }
502
+ console.log(result);
503
+ return result;
504
+ },
505
+ async _isHaveRef(node, isFind = false) {
506
+ const { currentSource, fileNode } = naslServer.getCurrentSource(node);
507
+ let refsList = [];
508
+ /**
509
+ * 未完成创建的节点 ,或者异常情况 可能找不到节点
510
+ */
511
+ if (currentSource) {
512
+ const newRefs = await naslServer.references({
513
+ file: fileNode.getEmbeddedFilePath(),
514
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
515
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
516
+ });
517
+ refsList = [...newRefs.refs];
518
+ }
519
+ // 如果是entity就需要在单独,查一边来修改名字
520
+ if (node instanceof concepts_1.Entity) {
521
+ // 过滤一把不需要改的信息
522
+ refsList = refsList.filter((item) =>
523
+ // 不再当前文件里
524
+ // 或者在当前列表但是位置小于entity的结束位置
525
+ fileNode.getEmbeddedFilePath() !== item.file);
526
+ }
527
+ // 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
528
+ if (node instanceof concepts_1.Param && node.parentNode instanceof concepts_1.Logic) {
529
+ const logicNode = node.parentNode;
530
+ const { currentSource } = naslServer.getCurrentSource(logicNode);
531
+ const parentRefs = await naslServer.references({
532
+ file: fileNode.getEmbeddedFilePath(),
533
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
534
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
535
+ });
536
+ refsList = [...refsList, ...parentRefs.refs];
537
+ }
538
+ // 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
539
+ if (node instanceof concepts_1.Param && node.parentNode instanceof concepts_1.View && isFind) {
540
+ const viewNode = node.parentNode;
541
+ const { currentSource } = naslServer.getCurrentSource(viewNode);
542
+ const code = currentSource.code;
543
+ const viewIndex = code.indexOf(' {');
544
+ const viewRefs = await naslServer.references({
545
+ file: fileNode.getEmbeddedFilePath(),
546
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
547
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character + viewIndex),
548
+ });
549
+ const filterViewRefs = viewRefs.refs.filter((item) => item.lineText.includes('.$destination('));
550
+ refsList = [...refsList, ...filterViewRefs];
551
+ }
552
+ /**
553
+ * view 因为不是嵌套的,所以不能用最前面的变量查找,所以要单独处理一下
554
+ * 找到第一个 { 之前的变量 进行修改
555
+ * 如果是VIew的查找,比较特殊,他查的是当前抛出的 {} 大括号前的
556
+ * 最后一个,因为生成的规则不一样
557
+ */
558
+ if (node instanceof concepts_1.View) {
559
+ const code = currentSource.code;
560
+ const viewIndex = code.indexOf(' {');
561
+ const viewRefs = await naslServer.references({
562
+ file: fileNode.getEmbeddedFilePath(),
563
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
564
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character + viewIndex),
565
+ });
566
+ refsList = [...viewRefs.refs];
567
+ }
568
+ /**
569
+ * elements 需要查的是__elements.后面的那个内容,过滤两个为了生成内容的节点
570
+ */
571
+ if (node instanceof concepts_1.ViewElement) {
572
+ const code = currentSource.code;
573
+ const prefix = '__elements.';
574
+ const prefixIndex = code.indexOf(prefix) !== -1 ? code.indexOf(prefix) : 0;
575
+ const methodsNameIndex = prefixIndex + prefix.length;
576
+ const methods = await naslServer.references({
577
+ file: fileNode.getEmbeddedFilePath(),
578
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
579
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character + methodsNameIndex),
580
+ });
581
+ const methodRefs = methods.refs.filter((item) => {
582
+ if (item.lineText.includes('__elements.') && item.lineText.includes('new nasl.ui.')) {
583
+ return false;
584
+ }
585
+ if (item.lineText.includes(': <nasl.ui.')) {
586
+ return false;
587
+ }
588
+ return true;
589
+ });
590
+ refsList = [...methodRefs];
591
+ }
592
+ return refsList;
593
+ },
594
+ /**
595
+ * 查找引用,并且做一些 修改前的准备工作,
596
+ * 有引用有的话,就返回集合
597
+ * @param node 当前重命名的节点
598
+ * @param newValue 传递过来的新值,给MemberExpression用的比较特殊
599
+ * 而且,这个新值不一定会用到,MemberExpression在批量更新的时候,可以取到新的value, 这里需要位置信息防止 a.a.a.a 中的一个a发生修改
600
+ * @returns 找到的引用
601
+ */
602
+ _renamePrepare(node, refsList, newValue) {
603
+ const oldName = node?.name;
604
+ const result = refsList
605
+ .map((record) => {
606
+ const fileNode = this.file2NodeMap.get(record.file);
607
+ if (!fileNode)
608
+ return null;
609
+ const minRange = this._findMinRange(record, fileNode.sourceMap);
610
+ if (minRange) {
611
+ // 如果节点是TypeAnnotation类型,
612
+ // 很复杂,可能是多级嵌套结构
613
+ // 不一定只修改typeName
614
+ if (minRange.node instanceof concepts_1.TypeAnnotation) {
615
+ // console.log(record);
616
+ minRange.setTypeMethods = 'setTypeName';
617
+ }
618
+ // 如果节点是logic修改引发calllogic修改
619
+ if (minRange.node instanceof concepts_1.CallLogic && node instanceof concepts_1.Logic) {
620
+ minRange.setTypeMethods = 'setCalleeName';
621
+ }
622
+ if (minRange.node instanceof concepts_1.CallLogic && node instanceof concepts_1.ViewElement) {
623
+ minRange.setTypeMethods = 'setCalleeName';
624
+ minRange.newValue = 'elements.' + newValue + '.logics';
625
+ }
626
+ // 如果节点是实体修改引发calllogic修改
627
+ if (minRange.node instanceof concepts_1.CallLogic && (node instanceof concepts_1.Entity || node instanceof concepts_1.View)) {
628
+ // 匹配到的内容,当前这一行的内容;
629
+ // 因为要用下面的点位信息
630
+ /**
631
+ * 如果namespce是 'app.views.Student.views.404.views.505.views.update'
632
+ * 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
633
+ * 但是505 要改名为 666 ,要存的是666
634
+ * 'app.views.Student.views.404.views.666.views.update'
635
+ * 1.取到转后的
636
+ * 2.在匹配到的内容中取转后的namespace的位置
637
+ * 3.然后把namespace中的 $替换成 ''
638
+ *
639
+ */
640
+ const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
641
+ // 先看下标位置
642
+ const lineText = record.lineText;
643
+ const index = lineText.indexOf(tsCalleeNamespace);
644
+ // 在把开始结束位置的-开始位置,来知道是哪里要替换
645
+ const start = record.start.offset - index - 1;
646
+ const end = record.end.offset - index - 1;
647
+ // 新的完整的value
648
+ let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
649
+ newTsNameSpace = newTsNameSpace.replace(/.$/g, '.');
650
+ minRange.setTypeMethods = 'setCalleeNamespace';
651
+ minRange.newValue = newTsNameSpace;
652
+ }
653
+ // 如果参数修改影响了 callLogic
654
+ if (minRange.node instanceof concepts_1.CallLogic && node instanceof concepts_1.Param) {
655
+ // 逻辑第几个位置发生修改,对应的calllogic对应位置的内容要进行修改
656
+ const nodeArguments = minRange.node.arguments;
657
+ const LogicNode = node.parentNode;
658
+ const paramIndex = LogicNode.params.findIndex((param) => param === node);
659
+ console.log(node, nodeArguments);
660
+ if (paramIndex !== -1) {
661
+ minRange.setTypeMethods = 'setArgumentName';
662
+ minRange.newValue = {
663
+ argument: nodeArguments[paramIndex],
664
+ newKeyword: newValue,
665
+ };
666
+ }
667
+ else {
668
+ return null;
669
+ }
670
+ }
671
+ // 如果节点是Identifier表达式
672
+ if (minRange.node instanceof concepts_1.Identifier) {
673
+ // 匹配到的内容,当前这一行的内容;
674
+ // 因为要用下面的点位信息
675
+ const name = minRange.node.name;
676
+ // 如果name不改,那就是要改命名空间
677
+ if (newValue === name) {
678
+ const namespace = minRange.node.namespace;
679
+ // 先看下标位置
680
+ const lineText = record.lineText;
681
+ const index = lineText.indexOf(namespace);
682
+ // 在把开始结束位置的-开始位置,来知道是哪里要替换
683
+ const start = record.start.offset - index - 1;
684
+ const end = record.end.offset - index - 1;
685
+ // 新的完整的value
686
+ const newTextValue = namespace.substring(0, start) + newValue + namespace.substring(end, namespace.length);
687
+ minRange.setTypeMethods = 'setNamespace';
688
+ minRange.newValue = newTextValue;
689
+ }
690
+ }
691
+ // 如果修改逻辑,改到了Identifier表达式,只能说明是在属性里有使用了
692
+ if (minRange.node instanceof concepts_1.Identifier && node instanceof concepts_1.Logic) {
693
+ minRange.newValue = newValue;
694
+ minRange.setTypeMethods = 'setName';
695
+ }
696
+ // 如果节点是MemberExpression表达式
697
+ if (minRange.node instanceof concepts_1.MemberExpression) {
698
+ // 匹配到的内容,当前这一行的内容;
699
+ // 因为要用下面的点位信息
700
+ const a = record.lineText;
701
+ // 之前的内容
702
+ const oldValue = minRange.node.getValue();
703
+ const index = a.indexOf(oldValue);
704
+ const start = record.start.offset - index - 1;
705
+ const end = record.end.offset - index - 1;
706
+ const newTextValue = oldValue.substring(0, start) + newValue + oldValue.substring(end, oldValue.length);
707
+ // MemberExpression可能改的是多层中的某一个
708
+ // 倒序, 对比看是哪里发生了修改
709
+ // 比较特殊就把新匹配到的值返回内部自己看要改那个地方的值
710
+ minRange.newValue = newTextValue;
711
+ }
712
+ // 如果是修改实体,引发节点依赖实体发生改变的
713
+ if (minRange.node instanceof concepts_1.EntityProperty && node instanceof concepts_1.Entity) {
714
+ minRange.setTypeMethods = 'setRelationEntity';
715
+ }
716
+ // 如果是修改实体属性,要同步实体属性
717
+ if (minRange.node instanceof concepts_1.EntityProperty && node instanceof concepts_1.EntityProperty && record.lineText.includes('@nasl.annotation.EntityRelation')) {
718
+ minRange.setTypeMethods = 'setRelationProperty';
719
+ }
720
+ // 如果要修改索引的
721
+ if (minRange.node instanceof concepts_1.EntityIndex) {
722
+ const newPropertyNameList = [...minRange.node.propertyNames];
723
+ const findIndex = newPropertyNameList.findIndex((item) => item === oldName);
724
+ if (findIndex !== -1) {
725
+ // 修改数组的值
726
+ newPropertyNameList.splice(findIndex, 1, newValue);
727
+ minRange.setTypeMethods = 'setPropertyNameList';
728
+ minRange.newValue = newPropertyNameList;
729
+ }
730
+ }
731
+ // 如果是跳转逻辑的修改
732
+ // 跳转逻辑本身页面 都需要带 View前缀
733
+ if (node instanceof concepts_1.View && minRange.node instanceof concepts_1.Destination) {
734
+ /**
735
+ * 如果namespce是 'app.views.Student.views.404.views.505.views.update'
736
+ * 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
737
+ * 但是505 要改名为 666 ,要存的是666
738
+ * 'app.views.Student.views.404.views.666.views.update'
739
+ * 1.取到转后的
740
+ * 2.在匹配到的内容中取转后的namespace的位置
741
+ * 3.然后把namespace中的 $替换成 ''
742
+ *
743
+ */
744
+ const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
745
+ const tsName = minRange.node.tsName;
746
+ const oldValue = tsCalleeNamespace + '.' + tsName;
747
+ // 先看下标位置
748
+ const lineText = record.lineText;
749
+ const index = lineText.indexOf(oldValue);
750
+ // 在把开始结束位置的-开始位置,来知道是哪里要替换
751
+ const start = record.start.offset - index - 1;
752
+ const end = record.end.offset - index - 1;
753
+ if (start > tsCalleeNamespace.length) {
754
+ minRange.setTypeMethods = 'setViewName';
755
+ minRange.newValue = newValue;
756
+ }
757
+ else {
758
+ // 新的完整的value
759
+ let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
760
+ minRange.setTypeMethods = 'setViewNamespace';
761
+ newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
762
+ minRange.newValue = newTsNameSpace;
763
+ }
764
+ }
765
+ // 如果是事件修改
766
+ // 如果是view也需要加前缀
767
+ // logic 和 views名称修改 可能会触发bindEvent修改
768
+ if (minRange.node instanceof concepts_1.BindEvent) {
769
+ /**
770
+ * 如果namespce是 'app.views.Student.views.404.views.505.views.update'
771
+ * 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
772
+ * 但是505 要改名为 666 ,要存的是666
773
+ * 'app.views.Student.views.404.views.666.views.update'
774
+ * 1.取到转后的
775
+ * 2.在匹配到的内容中取转后的namespace的位置
776
+ * 3.然后把namespace中的 $替换成 ''
777
+ */
778
+ const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
779
+ const tsName = minRange.node.tsName;
780
+ const oldValue = tsCalleeNamespace + '.' + tsName;
781
+ // 先看下标位置
782
+ const lineText = record.lineText;
783
+ const index = lineText.indexOf(oldValue);
784
+ // 在把开始结束位置的-开始位置,来知道是哪里要替换
785
+ const start = record.start.offset - index - 1;
786
+ const end = record.end.offset - index - 1;
787
+ // 新的完整的value
788
+ if (start > tsCalleeNamespace.length) {
789
+ minRange.setTypeMethods = 'setCalleeName';
790
+ minRange.newValue = newValue;
791
+ }
792
+ else {
793
+ // 新的完整的value
794
+ let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
795
+ minRange.setTypeMethods = 'setCalleeNamespace';
796
+ newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
797
+ minRange.newValue = newTsNameSpace;
798
+ }
799
+ }
800
+ if (minRange.node instanceof concepts_1.Interface && node instanceof concepts_1.Logic) {
801
+ minRange.setTypeMethods = 'setOriginLogicName';
802
+ }
803
+ // 如果是role改名,就需要查到变更后的数组
804
+ if ((minRange.node instanceof concepts_1.View || minRange.node instanceof concepts_1.ViewElement) && node instanceof concepts_1.Role) {
805
+ // oldName旧的节点存的值
806
+ // newValue用户输入值
807
+ // node.bindRoles 存的
808
+ minRange.setTypeMethods = 'setBindRoles';
809
+ const str = minRange.node.bindRoles.toString().replace(oldName, newValue);
810
+ const newBindRoles = str.split(',');
811
+ minRange.newValue = newBindRoles;
812
+ }
813
+ // 枚举修改枚举名,比较特殊
814
+ if (minRange.node instanceof concepts_1.EnumItem && node instanceof concepts_1.Enum) {
815
+ // 什么都不做,用来跳过修改
816
+ return null;
817
+ }
818
+ // 如果是修改param查找到logic就不操作
819
+ if (minRange.node instanceof concepts_1.Logic && node instanceof concepts_1.Param) {
820
+ return null;
821
+ }
822
+ // 如果是子页面修改
823
+ // 父页面引起子页面改名,就可以不改了,自动同步
824
+ if (minRange.node instanceof concepts_1.View && node instanceof concepts_1.View && minRange.node !== node) {
825
+ return null;
826
+ }
827
+ // 逻辑改名,触发了在定义里面的,element定义,的值,直接掠过
828
+ if (minRange.node instanceof concepts_1.View && node instanceof concepts_1.Logic) {
829
+ return null;
830
+ }
831
+ }
832
+ else {
833
+ console.log('没找到节点需要排查');
834
+ console.log(record, fileNode.sourceMap);
835
+ }
836
+ return minRange;
837
+ })
838
+ // 过滤掉不需要操作的
839
+ .filter((item) => !!item);
840
+ console.log(result);
841
+ return result;
842
+ },
843
+ _addParamsPrepare(node, refsList) {
844
+ const App = node.rootNode;
845
+ const LogicNode = node.parentNode;
846
+ // 收集修改
847
+ App.emit('collect:start', {
848
+ actionMsg: '增加逻辑参数',
849
+ });
850
+ node.create({
851
+ index: 0,
852
+ parentNode: LogicNode,
853
+ parentKey: node.parentKey,
854
+ });
855
+ refsList.forEach((record) => {
856
+ const fileNode = this.file2NodeMap.get(record.file);
857
+ if (!fileNode)
858
+ return null;
859
+ const minRange = this._findMinRange(record, fileNode.sourceMap);
860
+ if (minRange) {
861
+ // 如果找到节点是callLogic就去更新
862
+ if (minRange.node instanceof concepts_1.CallLogic && node instanceof concepts_1.Param) {
863
+ minRange.node.setCalleeArgName(LogicNode);
864
+ }
865
+ }
866
+ });
867
+ // 结束修改 ,批量操作
868
+ App.emit('collect:end');
869
+ },
870
+ // 获取节点的上层渲染
871
+ _getTreeMap(minRange, fileNode, resMap) {
872
+ const minRangeNode = minRange.node;
873
+ let parantNode = minRangeNode;
874
+ // 顺序队列
875
+ const queue = [];
876
+ // 先插入自己,如果没有在往上找,
877
+ // 一直到file节点的父级
878
+ while (parantNode !== fileNode.parentNode) {
879
+ // 找到上一级 在map对象中构造出他的子集
880
+ const currentNode = parantNode;
881
+ parantNode = parantNode.parentNode;
882
+ // 如果第一次就塞入子集和父节点,以后就只用父节点了
883
+ // 因为部分节点没有name,先过滤掉
884
+ // if (currentNode.name) {
885
+ // }
886
+ // 排除一些不放入集合的节点
887
+ let isNeedPush = true;
888
+ // 如果不是ViewElement 或者 Assignment , 或者如果是的话, 排除l-root
889
+ if (currentNode instanceof concepts_1.ViewElement && currentNode.tag !== 'l-root')
890
+ isNeedPush = false;
891
+ else if (currentNode instanceof concepts_1.Assignment)
892
+ isNeedPush = false;
893
+ else if (currentNode instanceof concepts_1.TypeAnnotation)
894
+ isNeedPush = false;
895
+ else if (currentNode instanceof concepts_1.CallQueryComponent)
896
+ isNeedPush = false;
897
+ else if (currentNode instanceof concepts_1.QueryFromExpression)
898
+ isNeedPush = false;
899
+ else if ((currentNode.concept === parantNode.concept) || (currentNode.name === parantNode.name))
900
+ isNeedPush = false;
901
+ if (isNeedPush) {
902
+ // 名称
903
+ let name = currentNode.name || currentNode.concept;
904
+ // 赋值图标
905
+ let icon = currentNode.concept && currentNode.concept.replace(/^./, (m) => m.toLowerCase());
906
+ if (currentNode instanceof concepts_1.ViewElement)
907
+ icon = 'element';
908
+ else if (currentNode instanceof concepts_1.BindAttribute)
909
+ icon = 'attr';
910
+ else if (currentNode instanceof concepts_1.Destination)
911
+ icon = 'logicNode';
912
+ else if (currentNode instanceof concepts_1.CallLogic) {
913
+ icon = 'interface';
914
+ name = '调用逻辑';
915
+ }
916
+ queue.unshift({ name, node: currentNode, expanded: true, icon });
917
+ }
918
+ }
919
+ const key = fileNode.name;
920
+ // 一个logic 或者 view可能会有多个顺序队列
921
+ if (resMap[key]) {
922
+ // // 是否展示两个内容全等,但是两个queue的node可能不一样,但是只需要展示一个
923
+ // let equalFlag = false;
924
+ // const queues = resMap[key].queue;
925
+ // queues.forEach((item) => {
926
+ // if (item.length === queue.length) {
927
+ // let equalIndex = 0;
928
+ // item.forEach((queueItem, index) => {
929
+ // if (queueItem.name === queue[index].name)
930
+ // equalIndex++;
931
+ // });
932
+ // console.log(equalIndex)
933
+ // if (equalIndex === queue.length)
934
+ // equalFlag = true;
935
+ // }
936
+ // });
937
+ // // 如果有值就return
938
+ // if (equalFlag)
939
+ // return;
940
+ queue.length && resMap[key].queue.push(queue);
941
+ }
942
+ else {
943
+ resMap[key] = {
944
+ queue: queue.length ? [queue] : [],
945
+ concept: fileNode.concept,
946
+ name: fileNode.name,
947
+ node: fileNode,
948
+ };
949
+ }
950
+ },
951
+ handleTreeMap(tree) {
952
+ const treeNodeMap = {};
953
+ for (const [sub, val] of Object.entries(tree)) {
954
+ // 循环处理tree的queue
955
+ const treeObj = naslServer.handleTreeQueue(val.queue);
956
+ if (treeNodeMap[val.concept]) {
957
+ treeNodeMap[val.concept].push(treeObj);
958
+ }
959
+ else {
960
+ treeNodeMap[val.concept] = [treeObj];
961
+ }
962
+ }
963
+ return treeNodeMap;
964
+ },
965
+ /**
966
+ * 处理tree的队列,把相同节点进行合并
967
+ * 这里把当前二维数组进行一个整合
968
+ * @param arr 当前页面下的queue的二维数组,一个数组下有多条链路
969
+ * @returns 最后要使用到的节点和对应的子集
970
+ */
971
+ handleTreeQueue(arr) {
972
+ const map = {};
973
+ let root = null;
974
+ if (!arr.length)
975
+ return;
976
+ for (const sub of arr) {
977
+ let preNode = null;
978
+ for (const item of sub) {
979
+ const node = item;
980
+ const key = item.name;
981
+ if (!map[key]) {
982
+ map[key] = [];
983
+ }
984
+ if (preNode) {
985
+ const preKey = preNode.name;
986
+ const find = map[preKey].find((item) => node.name === item.name);
987
+ if (!find) {
988
+ map[preKey].push(node);
989
+ }
990
+ }
991
+ else {
992
+ root = node;
993
+ }
994
+ preNode = node;
995
+ }
996
+ }
997
+ const children = naslServer._recursionCreateResult(root, map);
998
+ return children;
999
+ },
1000
+ /**
1001
+ * 递归调用输出结果
1002
+ * @param root 一个根节点
1003
+ * @param map 当前所有节点的map对象
1004
+ * @returns 当前节点,最后输出所有节点
1005
+ */
1006
+ _recursionCreateResult(root, map) {
1007
+ const node = root;
1008
+ const rootKey = root.name;
1009
+ const children = map[rootKey].map((item) => naslServer._recursionCreateResult(item, map));
1010
+ if (children && children.length) {
1011
+ node.children = children;
1012
+ }
1013
+ return node;
1014
+ },
1015
+ /**
1016
+ * 获取
1017
+ * 当前this上下文 的Source 和 父级文件级别的节点
1018
+ */
1019
+ getCurrentSource(node) {
1020
+ let sourceMap = node.sourceMap;
1021
+ let fileNode = node;
1022
+ // 如果没有sourceMap,就继续向上找 ,或者到module结束
1023
+ // 如果 节点找到 app 或者module 停止
1024
+ while (!sourceMap && fileNode && !(fileNode.parentNode instanceof concepts_1.App) && !(fileNode.parentNode instanceof concepts_1.Module)) {
1025
+ fileNode = fileNode.parentNode;
1026
+ sourceMap = fileNode?.sourceMap;
1027
+ }
1028
+ const currentSource = sourceMap && sourceMap.get(node);
1029
+ if (currentSource) {
1030
+ // 这里处理一些加了注解或者需要定制位置的节点的取值
1031
+ naslServer.handlingCurrentSourceException(currentSource, node);
1032
+ return { currentSource, fileNode };
1033
+ }
1034
+ return { fileNode };
1035
+ },
1036
+ handlingCurrentSourceException(currentSource, node) {
1037
+ // 如果有前面的一些注解,元素在最后一行输出的值就给最后一行
1038
+ if (node instanceof concepts_1.EntityProperty) {
1039
+ if (currentSource.range.start.line !== currentSource.range.end.line) {
1040
+ currentSource.range.start = { ...currentSource.range.start, line: currentSource.range.end.line };
1041
+ }
1042
+ }
1043
+ },
1044
+ // 获取element方法的可选值
1045
+ getFieldKeySelectCompletion(node, fieldKey) {
1046
+ const { currentSource, fileNode } = naslServer.getCurrentSource(node);
1047
+ console.log(currentSource);
1048
+ if (currentSource && fileNode) {
1049
+ return naslServer._getFieldKeySelectCompletion({
1050
+ file: fileNode.getEmbeddedFilePath(),
1051
+ range: {
1052
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
1053
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
1054
+ },
1055
+ getFieldKey: fieldKey,
1056
+ });
1057
+ }
1058
+ else {
1059
+ console.log('没找到节点', currentSource, fileNode);
1060
+ }
1061
+ },
1062
+ _getFieldKeySelectCompletion(args) {
1063
+ return this.messager.requestCommand('getFieldKeySelectCompletion', args);
1064
+ },
1065
+ };
1066
+ /**
1067
+ * 处理删除节点
1068
+ * @param fileNode 当前删除节点的文件级别节点
1069
+ * @param targetNode 当前操作的节点
1070
+ * @param result toTs生成的内容
1071
+ */
1072
+ async function handleDelete(fileNode, targetNode, result) {
1073
+ const filePath = fileNode.getEmbeddedFilePath();
1074
+ // 如果要删除,而且当前要删Logic就直接删除并且清除错误
1075
+ /**
1076
+ * 删除节点中的一个内容,删除了以后,就查一下引用的地方一起查一下异常
1077
+ */
1078
+ let outputFiles = [];
1079
+ // 删除之前先查一下内容的依赖
1080
+ const newRefs = await naslServer.references({
1081
+ file: result.filePath,
1082
+ line: EmbeddedTSFileLineMap[fileNode.concept] ?? 2,
1083
+ offset: 6,
1084
+ });
1085
+ // 如果是要删除的内容,就是当前的file节点,要关闭当前文件,就把内容置为空
1086
+ if (fileNode === targetNode) {
1087
+ outputFiles = [{ file: filePath, fileContent: '' }];
1088
+ }
1089
+ else {
1090
+ // 如果是要删除logic一个小内容,要覆盖全部内容
1091
+ // 其余要删除的都是把原来的file节点的内容全部覆盖一把
1092
+ outputFiles = [{ file: result.filePath, fileContent: result.code }];
1093
+ }
1094
+ // 更新文件之后
1095
+ await naslServer.updateFiles({ outputFiles });
1096
+ const filesToCheck = new Set();
1097
+ newRefs.refs.forEach((ref) => filesToCheck.add(ref.file));
1098
+ console.log('filesToCheck', filesToCheck, filesToCheck.size);
1099
+ await naslServer.getDiagnosticRecordsAndPushAll(Array.from(filesToCheck));
1100
+ }
1101
+ // 查找引用
1102
+ concepts_1.BaseNode.prototype.findUsage = function findUsage() {
1103
+ try {
1104
+ return naslServer.findReferences(this);
1105
+ }
1106
+ catch (err) {
1107
+ console.log(err);
1108
+ }
1109
+ };
1110
+ concepts_1.BaseNode.prototype.changeName = async function changeName(newValue, updateAll = false) {
1111
+ console.log(newValue);
1112
+ console.log(this);
1113
+ try {
1114
+ /**
1115
+ * 查找这个节点是不是有依赖
1116
+ */
1117
+ const refsList = await naslServer._isHaveRef(this);
1118
+ // 是不是有引用有的话,就返回
1119
+ /**
1120
+ * @param this 当前重命名的节点
1121
+ * @param newValue 传递过来的新值,给MemberExpression用的比较特殊
1122
+ * 而且,这个新值不一定会用到,MemberExpression在批量更新的时候,可以取到新的value, 这里需要位置信息防止 a.a.a.a 中的一个a发生修改
1123
+ * @returns 找到的引用
1124
+ */
1125
+ const res = naslServer._renamePrepare(this, refsList, newValue);
1126
+ if (res.length <= 1) {
1127
+ this.setName(newValue);
1128
+ }
1129
+ else {
1130
+ const callback = (value) => {
1131
+ if (value) {
1132
+ const App = this.rootNode;
1133
+ // 收集修改
1134
+ App.emit('collect:start', {
1135
+ actionMsg: '重命名并更新引用',
1136
+ });
1137
+ res.forEach((item) => {
1138
+ const itemNode = item.node;
1139
+ if (item.newValue) {
1140
+ // 如果有指定的修改方法,就用那个,没有就修改名字
1141
+ item.setTypeMethods ? itemNode[item.setTypeMethods](item.newValue) : itemNode.setName?.(item.newValue);
1142
+ }
1143
+ else {
1144
+ item.setTypeMethods ? itemNode[item.setTypeMethods](newValue) : itemNode.setName?.(newValue);
1145
+ }
1146
+ });
1147
+ // 结束修改 ,批量操作
1148
+ App.emit('collect:end');
1149
+ }
1150
+ else {
1151
+ this.setName(newValue);
1152
+ }
1153
+ };
1154
+ const confirmParms = {
1155
+ actionType: 'rename',
1156
+ node: this,
1157
+ };
1158
+ /**
1159
+ * nasl和vue的通信,回退,要触发vue的watch。
1160
+ * 因为如果没修改的话nasl不会修改view,就不会通知到页面改成旧值
1161
+ * 先修改之
1162
+ */
1163
+ const closeCallBack = () => {
1164
+ const oldValue = this.name;
1165
+ this.name = oldValue + ' ';
1166
+ setTimeout(() => {
1167
+ this.name = oldValue;
1168
+ }, 0);
1169
+ };
1170
+ updateAll ? callback(true) : (0, common_1.invokeCommand)('tsConfirm.open', confirmParms, callback, closeCallBack);
1171
+ return;
1172
+ }
1173
+ }
1174
+ catch (err) {
1175
+ console.log(err);
1176
+ }
1177
+ };
1178
+ /**
1179
+ * 准备删除
1180
+ */
1181
+ concepts_1.BaseNode.prototype.prepareDelete = async function prepareDelete() {
1182
+ try {
1183
+ /**
1184
+ * 查找这个节点是不是有依赖
1185
+ */
1186
+ const node = this;
1187
+ const refsList = await naslServer._isHaveRef(node);
1188
+ // console.log(refsList, 'refsList');
1189
+ const confirmParms = {
1190
+ actionType: 'delete',
1191
+ tipFlag: false,
1192
+ node,
1193
+ };
1194
+ let callback = null;
1195
+ if (refsList.length <= 1) {
1196
+ callback = () => {
1197
+ // Structure 和 Interface是内部有delete方法
1198
+ if (node instanceof concepts_1.Structure || node instanceof concepts_1.Interface) {
1199
+ this.deleteLogincAndModule();
1200
+ }
1201
+ else {
1202
+ this.delete();
1203
+ }
1204
+ };
1205
+ }
1206
+ else {
1207
+ // 如果有依赖就有一个查找引用提示
1208
+ confirmParms.tipFlag = true;
1209
+ const node = this;
1210
+ callback = () => {
1211
+ // removeParam
1212
+ // 跟rename 还不太一样,部分修改依赖修改好的值,然后在下面的修改需要把自己传递进去
1213
+ if (node instanceof concepts_1.Param) {
1214
+ const App = this.rootNode;
1215
+ const logicNode = this.parentNode;
1216
+ // 收集修改
1217
+ App.emit('collect:start', {
1218
+ actionMsg: '删除参数',
1219
+ });
1220
+ this.delete();
1221
+ refsList.forEach((record) => {
1222
+ const fileNode = naslServer.file2NodeMap.get(record.file);
1223
+ if (!fileNode)
1224
+ return null;
1225
+ const minRange = naslServer._findMinRange(record, fileNode.sourceMap);
1226
+ if (minRange) {
1227
+ if (minRange.node instanceof concepts_1.CallLogic) {
1228
+ minRange.node.setCalleeArgName(logicNode);
1229
+ }
1230
+ }
1231
+ });
1232
+ // 结束修改 ,批量操作
1233
+ App.emit('collect:end');
1234
+ return;
1235
+ }
1236
+ // 删除logic节点,如果有对应的interface要一起删除
1237
+ if (node instanceof concepts_1.Logic) {
1238
+ const App = this.rootNode;
1239
+ // 收集修改
1240
+ App.emit('collect:start', {
1241
+ actionMsg: '删除逻辑并删除导出的接口',
1242
+ });
1243
+ this.delete();
1244
+ refsList.forEach((record) => {
1245
+ const fileNode = naslServer.file2NodeMap.get(record.file);
1246
+ if (!fileNode)
1247
+ return null;
1248
+ const minRange = naslServer._findMinRange(record, fileNode.sourceMap);
1249
+ if (minRange) {
1250
+ if (minRange.node instanceof concepts_1.Interface) {
1251
+ minRange.node.delete();
1252
+ }
1253
+ }
1254
+ });
1255
+ // 结束修改 ,批量操作
1256
+ App.emit('collect:end');
1257
+ }
1258
+ // 删除权限节点
1259
+ if (node instanceof concepts_1.Role) {
1260
+ const App = this.rootNode;
1261
+ // 收集修改
1262
+ App.emit('collect:start', {
1263
+ actionMsg: '删除权限',
1264
+ });
1265
+ this.delete();
1266
+ refsList.forEach((record) => {
1267
+ const fileNode = naslServer.file2NodeMap.get(record.file);
1268
+ if (!fileNode)
1269
+ return null;
1270
+ const minRange = naslServer._findMinRange(record, fileNode.sourceMap);
1271
+ if (minRange) {
1272
+ if (minRange.node instanceof concepts_1.View || minRange.node instanceof concepts_1.ViewElement) {
1273
+ // oldName旧的节点存的值
1274
+ // newValue用户输入值
1275
+ // node.bindRoles 存的
1276
+ const str = minRange.node.bindRoles.toString().replace(this.name, '');
1277
+ const newBindRoles = str.split(',').filter((item) => !!item);
1278
+ minRange.node.setBindRoles(newBindRoles);
1279
+ }
1280
+ }
1281
+ });
1282
+ // 结束修改 ,批量操作
1283
+ App.emit('collect:end');
1284
+ return;
1285
+ }
1286
+ // 其余的都直接调用删除
1287
+ // Structure 和 Interface是内部有delete方法
1288
+ if (node instanceof concepts_1.Structure || node instanceof concepts_1.Interface) {
1289
+ this.deleteLogincAndModule();
1290
+ }
1291
+ else {
1292
+ this.delete();
1293
+ }
1294
+ };
1295
+ }
1296
+ (0, common_1.invokeCommand)('tsConfirm.open', confirmParms, callback);
1297
+ }
1298
+ catch (err) {
1299
+ console.log(err);
1300
+ }
1301
+ };
1302
+ /**
1303
+ * 如果添加需要触发查找引用并且在之后,对内容产生影响
1304
+ */
1305
+ concepts_1.BaseNode.prototype.addParamsPrepare = async function addParamsPrepare() {
1306
+ try {
1307
+ /**
1308
+ * 查找这个节点是不是有依赖
1309
+ */
1310
+ const refsList = await naslServer._isHaveRef(this);
1311
+ return naslServer._addParamsPrepare(this, refsList);
1312
+ }
1313
+ catch (err) {
1314
+ console.log(err);
1315
+ }
1316
+ };
1317
+ /**
1318
+ * 除去rename场景下的更新
1319
+ * @param fileNode 文件级别的节点
1320
+ * @param targetNode 触发修改的节点
1321
+ * @param result 生成代码的code 和位置信息
1322
+ */
1323
+ async function handleChange(fileNode, targetNode, result, action) {
1324
+ naslServer.file2NodeMap.set(result.filePath, fileNode);
1325
+ const outputFiles = [{ file: result.filePath, fileContent: result.code }];
1326
+ // 创建和更新都用update,内部会做判断
1327
+ await naslServer.updateFiles({ outputFiles });
1328
+ // 查一下新函数名的依赖
1329
+ const newRefs = await naslServer.references({
1330
+ file: result.filePath,
1331
+ line: EmbeddedTSFileLineMap[fileNode.concept] ?? 2,
1332
+ offset: 6,
1333
+ });
1334
+ const filesToCheck = new Set();
1335
+ newRefs.refs.forEach((ref) => filesToCheck.add(ref.file));
1336
+ // 唤起建立连接弹框
1337
+ // 文件级别的建立连接采取提醒
1338
+ if (fileNode === targetNode && action === 'create' && filesToCheck.size > 1) {
1339
+ const confirmParms = {
1340
+ actionType: 'createEstablishConnection',
1341
+ node: fileNode,
1342
+ };
1343
+ (0, common_1.invokeCommand)('tsConfirm.open', confirmParms, () => { });
1344
+ }
1345
+ await naslServer.getDiagnosticRecordsAndPushAll(Array.from(filesToCheck));
1346
+ }
1347
+ /**
1348
+ * 重命名的更新
1349
+ * @param fileNode 文件级别的节点
1350
+ * @param targetNode 触发修改的节点
1351
+ * @param result 生成代码的code 和位置信息
1352
+ * @param isRename 是不是修改名字
1353
+ * @param oldFilePath 如果是改名,文件级别的才会有这个参数,用于文件新增替换
1354
+ */
1355
+ async function handleRename(fileNode, targetNode, result, oldFilePath) {
1356
+ // rename 场景
1357
+ const outputFiles = [{ file: result.filePath, fileContent: result.code }];
1358
+ const filesToCheck = new Set();
1359
+ // 如果是要修改顶级文件名
1360
+ // file节点和当前改得是同一节点
1361
+ if (fileNode === targetNode) {
1362
+ naslServer.file2NodeMap.delete(oldFilePath);
1363
+ naslServer.file2NodeMap.set(result.filePath, fileNode);
1364
+ // 修改名字新的添加进去,旧的置为空
1365
+ outputFiles.unshift({ file: oldFilePath, fileContent: '' });
1366
+ // 查一下旧文件名的依赖
1367
+ const oldRefs = await naslServer.references({
1368
+ file: oldFilePath,
1369
+ line: EmbeddedTSFileLineMap[fileNode.concept] ?? 2,
1370
+ offset: 6,
1371
+ });
1372
+ oldRefs.refs.forEach((ref) => filesToCheck.add(ref.file));
1373
+ filesToCheck.delete(oldFilePath);
1374
+ // 更新文件之后
1375
+ await naslServer.updateFiles({ outputFiles });
1376
+ // 查一下新函数名的依赖
1377
+ const newRefs = await naslServer.references({
1378
+ file: result.filePath,
1379
+ line: EmbeddedTSFileLineMap[fileNode.concept] ?? 2,
1380
+ offset: 6,
1381
+ });
1382
+ const newRefFileList = new Set();
1383
+ newRefs.refs.forEach((ref) => {
1384
+ filesToCheck.add(ref.file);
1385
+ newRefFileList.add(ref.file);
1386
+ });
1387
+ // 文件级别重命名,有依赖才唤起弹框
1388
+ // 唤起重命名,提示有连接弹框
1389
+ if (newRefFileList.size > 1) {
1390
+ const confirmParms = {
1391
+ actionType: 'renameEstablishConnection',
1392
+ node: fileNode,
1393
+ };
1394
+ (0, common_1.invokeCommand)('tsConfirm.open', confirmParms, () => { });
1395
+ }
1396
+ }
1397
+ else {
1398
+ // 查一下当前属性依赖的文件
1399
+ const { currentSource, fileNode } = naslServer.getCurrentSource(targetNode);
1400
+ const oldRefs = await naslServer.references({
1401
+ file: fileNode.getEmbeddedFilePath(),
1402
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
1403
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
1404
+ });
1405
+ oldRefs.refs.forEach((ref) => filesToCheck.add(ref.file));
1406
+ // 更新文件之后
1407
+ await naslServer.updateFiles({ outputFiles });
1408
+ const newRefs2 = await naslServer.references({
1409
+ file: fileNode.getEmbeddedFilePath(),
1410
+ line: (0, translator_1.lsp2tspNumber)(currentSource.range.start.line),
1411
+ offset: (0, translator_1.lsp2tspNumber)(currentSource.range.start.character),
1412
+ });
1413
+ newRefs2.refs.forEach((ref) => filesToCheck.add(ref.file));
1414
+ }
1415
+ console.log('filesToCheck', filesToCheck, filesToCheck.size);
1416
+ await naslServer.getDiagnosticRecordsAndPushAll(Array.from(filesToCheck));
1417
+ // outputFiles.map((file) => file.file));
1418
+ }
1419
+ async function receiveHandleChange($event) {
1420
+ // 行为
1421
+ const action = $event.action;
1422
+ const targetNode = $event.target;
1423
+ // 当前操作的文件节点
1424
+ const { fileNode } = naslServer.getCurrentSource(targetNode);
1425
+ // 如果是导入模块就,就引入对应模块,先不处理module和Configuration,下面的内容会自动创建
1426
+ if (fileNode instanceof concepts_1.Module || fileNode instanceof concepts_1.Configuration) {
1427
+ return;
1428
+ }
1429
+ const result = fileNode.toEmbeddedTSFile();
1430
+ // 当前操作的节点
1431
+ // 如果当前没有生成tsFile
1432
+ if (!result) {
1433
+ return;
1434
+ }
1435
+ // 修改触发修改文件
1436
+ naslServer._debugInFileStorage($event.currentTarget, [
1437
+ {
1438
+ file: result.filePath,
1439
+ fileContent: result.code,
1440
+ },
1441
+ ]);
1442
+ fileNode.sourceMap = result.sourceMap;
1443
+ if (action === 'update' || action === 'create') {
1444
+ if ($event?.field !== 'name')
1445
+ await handleChange(fileNode, targetNode, result, action);
1446
+ else {
1447
+ await handleRename(fileNode, targetNode, result, fileNode.getEmbeddedFilePath($event.oldName));
1448
+ }
1449
+ }
1450
+ // 删除
1451
+ if (action === 'delete') {
1452
+ await handleDelete(fileNode, targetNode, result);
1453
+ }
1454
+ }
1455
+ // 监听所有改变操作
1456
+ translator_1.embeddedTSEmitter.on('change', ($event) => {
1457
+ // 收集到一个行为集合
1458
+ const eventValue = $event.value;
1459
+ eventValue.forEach((item) => {
1460
+ receiveHandleChange(item.originEvent);
1461
+ });
1462
+ });
1463
+ naslServer.messager.options.context = naslServer;
1464
+ exports.default = naslServer;
1465
+ //# sourceMappingURL=naslServer.js.map