@lcap/nasl 3.3.2-beta.3 → 3.3.3-beta.1

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 (1265) hide show
  1. package/.nyc_output/{d58d92d8-c0d6-479b-9f82-1f4da8e73ff3.json → 4f2d526f-9422-4abc-993d-0857e05a5009.json} +1 -1
  2. package/.nyc_output/processinfo/4f2d526f-9422-4abc-993d-0857e05a5009.json +1 -0
  3. package/.nyc_output/processinfo/index.json +1 -1
  4. package/coverage/index.html +108 -108
  5. package/coverage/src/automate/engine/index.html +1 -1
  6. package/coverage/src/automate/engine/utils.js.html +36 -36
  7. package/coverage/src/bak/index.html +15 -15
  8. package/coverage/src/bak/translator.js.html +183 -60
  9. package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +1 -1
  10. package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +1 -1
  11. package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +1 -1
  12. package/coverage/src/breakpoint/generator/CallbackNode.ts.html +1 -1
  13. package/coverage/src/breakpoint/generator/index.html +1 -1
  14. package/coverage/src/breakpoint/generator/index.ts.html +1 -1
  15. package/coverage/src/breakpoint/index.html +1 -1
  16. package/coverage/src/breakpoint/index.ts.html +1 -1
  17. package/coverage/src/breakpoint/shared/constants.ts.html +1 -1
  18. package/coverage/src/breakpoint/shared/index.html +1 -1
  19. package/coverage/src/breakpoint/shared/index.ts.html +1 -1
  20. package/coverage/src/breakpoint/shared/operations.ts.html +1 -1
  21. package/coverage/src/breakpoint/shared/socket.ts.html +1 -1
  22. package/coverage/src/breakpoint/shared/utils.ts.html +1 -1
  23. package/coverage/src/breakpoint/store/core.ts.html +1 -1
  24. package/coverage/src/breakpoint/store/dock.ts.html +1 -1
  25. package/coverage/src/breakpoint/store/index.html +1 -1
  26. package/coverage/src/breakpoint/store/index.ts.html +1 -1
  27. package/coverage/src/common/BaseNode.ts.html +92 -62
  28. package/coverage/src/common/Command.ts.html +1 -1
  29. package/coverage/src/common/EventEmitter.ts.html +1 -1
  30. package/coverage/src/common/Messager.ts.html +1 -1
  31. package/coverage/src/common/asyncFuncMap.ts.html +1 -1
  32. package/coverage/src/common/index.html +14 -14
  33. package/coverage/src/common/index.ts.html +1 -1
  34. package/coverage/src/concepts/Abort__.ts.html +9 -6
  35. package/coverage/src/concepts/Anchor__.ts.html +36 -21
  36. package/coverage/src/concepts/AnonymousFunction__.ts.html +62 -20
  37. package/coverage/src/concepts/App__.ts.html +917 -74
  38. package/coverage/src/concepts/Argument__.ts.html +41 -26
  39. package/coverage/src/concepts/Assignee__.ts.html +40 -13
  40. package/coverage/src/concepts/AssignmentLine__.ts.html +9 -6
  41. package/coverage/src/concepts/Assignment__.ts.html +61 -22
  42. package/coverage/src/concepts/Attribute__.ts.html +25 -10
  43. package/coverage/src/concepts/AuthInterface__.ts.html +9 -6
  44. package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +25 -10
  45. package/coverage/src/concepts/AuthLogic__.ts.html +18 -6
  46. package/coverage/src/concepts/BackendVariable__.ts.html +25 -10
  47. package/coverage/src/concepts/Backend__.ts.html +25 -10
  48. package/coverage/src/concepts/BatchAssignment__.ts.html +61 -16
  49. package/coverage/src/concepts/BinaryExpression__.ts.html +141 -39
  50. package/coverage/src/concepts/BindAttribute__.ts.html +134 -41
  51. package/coverage/src/concepts/BindDirective__.ts.html +79 -16
  52. package/coverage/src/concepts/BindEvent__.ts.html +80 -23
  53. package/coverage/src/concepts/BindStyle__.ts.html +25 -10
  54. package/coverage/src/concepts/BooleanLiteral__.ts.html +9 -6
  55. package/coverage/src/concepts/CallAuthInterface__.ts.html +25 -10
  56. package/coverage/src/concepts/CallConnector__.ts.html +9 -6
  57. package/coverage/src/concepts/CallFunction__.ts.html +56 -38
  58. package/coverage/src/concepts/CallInterface__.ts.html +81 -36
  59. package/coverage/src/concepts/CallLogic__.ts.html +195 -264
  60. package/coverage/src/concepts/CallQueryComponent__.ts.html +40 -13
  61. package/coverage/src/concepts/Comment__.ts.html +11 -8
  62. package/coverage/src/concepts/CompletionProperty__.ts.html +25 -10
  63. package/coverage/src/concepts/ConfigGroup__.ts.html +25 -10
  64. package/coverage/src/concepts/ConfigPropertyValue__.ts.html +9 -6
  65. package/coverage/src/concepts/ConfigProperty__.ts.html +25 -10
  66. package/coverage/src/concepts/Configuration__.ts.html +25 -10
  67. package/coverage/src/concepts/Connection__.ts.html +26 -11
  68. package/coverage/src/concepts/ConnectorTrigger__.ts.html +9 -6
  69. package/coverage/src/concepts/Connector__.ts.html +85 -22
  70. package/coverage/src/concepts/Constant__.ts.html +25 -10
  71. package/coverage/src/concepts/DataSource__.ts.html +26 -11
  72. package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +9 -6
  73. package/coverage/src/concepts/Destination__.ts.html +24 -12
  74. package/coverage/src/concepts/End__.ts.html +9 -6
  75. package/coverage/src/concepts/EntityIndex__.ts.html +9 -6
  76. package/coverage/src/concepts/EntityProperty__.ts.html +62 -14
  77. package/coverage/src/concepts/Entity__.ts.html +41 -14
  78. package/coverage/src/concepts/EnumItem__.ts.html +9 -6
  79. package/coverage/src/concepts/Enum__.ts.html +25 -10
  80. package/coverage/src/concepts/Event__.ts.html +25 -10
  81. package/coverage/src/concepts/ExternalDestination__.ts.html +25 -10
  82. package/coverage/src/concepts/ForEachStatement__.ts.html +68 -47
  83. package/coverage/src/concepts/FrontendLibrary__.ts.html +40 -13
  84. package/coverage/src/concepts/FrontendVariable__.ts.html +1 -1
  85. package/coverage/src/concepts/Frontend__.ts.html +86 -23
  86. package/coverage/src/concepts/Function__.ts.html +92 -26
  87. package/coverage/src/concepts/Identifier__.ts.html +28 -25
  88. package/coverage/src/concepts/IfStatement__.ts.html +83 -56
  89. package/coverage/src/concepts/Integration__.ts.html +40 -13
  90. package/coverage/src/concepts/InterfaceParam__.ts.html +25 -10
  91. package/coverage/src/concepts/Interface__.ts.html +61 -22
  92. package/coverage/src/concepts/JSBlock__.ts.html +188 -8
  93. package/coverage/src/concepts/JavaLogic__.ts.html +9 -6
  94. package/coverage/src/concepts/LogicItem__.ts.html +15 -12
  95. package/coverage/src/concepts/Logic__.ts.html +117 -81
  96. package/coverage/src/concepts/MatchCase__.ts.html +100 -61
  97. package/coverage/src/concepts/Match__.ts.html +48 -27
  98. package/coverage/src/concepts/MemberExpression__.ts.html +72 -66
  99. package/coverage/src/concepts/MetadataType__.ts.html +1996 -0
  100. package/coverage/src/concepts/MicroApp__.ts.html +9 -6
  101. package/coverage/src/concepts/Module__.ts.html +672 -18
  102. package/coverage/src/concepts/MsgTriggerEvent__.ts.html +25 -10
  103. package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +25 -10
  104. package/coverage/src/concepts/Namespace__.ts.html +175 -40
  105. package/coverage/src/concepts/NewComposite__.ts.html +93 -27
  106. package/coverage/src/concepts/NewList__.ts.html +44 -14
  107. package/coverage/src/concepts/NewMap__.ts.html +44 -14
  108. package/coverage/src/concepts/New__.ts.html +1 -1
  109. package/coverage/src/concepts/NullLiteral__.ts.html +9 -6
  110. package/coverage/src/concepts/NumericLiteral__.ts.html +27 -12
  111. package/coverage/src/concepts/OqlQueryComponent__.ts.html +103 -13
  112. package/coverage/src/concepts/OverriddenLogic__.ts.html +100 -25
  113. package/coverage/src/concepts/Param__.ts.html +24 -15
  114. package/coverage/src/concepts/Point__.ts.html +9 -6
  115. package/coverage/src/concepts/ProcessComponent__.ts.html +40 -13
  116. package/coverage/src/concepts/ProcessElement__.ts.html +128 -29
  117. package/coverage/src/concepts/ProcessOutcome__.ts.html +9 -6
  118. package/coverage/src/concepts/ProcessOutcomes__.ts.html +9 -6
  119. package/coverage/src/concepts/Process__.ts.html +85 -22
  120. package/coverage/src/concepts/QueryAggregateExpression__.ts.html +25 -10
  121. package/coverage/src/concepts/QueryFieldExpression__.ts.html +9 -6
  122. package/coverage/src/concepts/QueryFromExpression__.ts.html +25 -10
  123. package/coverage/src/concepts/QueryGroupByExpression__.ts.html +25 -10
  124. package/coverage/src/concepts/QueryJoinExpression__.ts.html +25 -10
  125. package/coverage/src/concepts/QueryLimitExpression__.ts.html +25 -10
  126. package/coverage/src/concepts/QueryOrderByExpression__.ts.html +25 -10
  127. package/coverage/src/concepts/QuerySelectExpression__.ts.html +25 -10
  128. package/coverage/src/concepts/Rect__.ts.html +9 -6
  129. package/coverage/src/concepts/Return__.ts.html +25 -10
  130. package/coverage/src/concepts/Role__.ts.html +9 -6
  131. package/coverage/src/concepts/SelectMembers__.ts.html +25 -10
  132. package/coverage/src/concepts/Slot__.ts.html +25 -10
  133. package/coverage/src/concepts/SqlQueryComponent__.ts.html +25 -10
  134. package/coverage/src/concepts/Start__.ts.html +9 -6
  135. package/coverage/src/concepts/StringInterpolation__.ts.html +40 -19
  136. package/coverage/src/concepts/StringLiteral__.ts.html +9 -6
  137. package/coverage/src/concepts/StructureProperty__.ts.html +25 -10
  138. package/coverage/src/concepts/Structure__.ts.html +40 -13
  139. package/coverage/src/concepts/SwitchCase__.ts.html +33 -18
  140. package/coverage/src/concepts/SwitchStatement__.ts.html +38 -23
  141. package/coverage/src/concepts/Theme__.ts.html +9 -6
  142. package/coverage/src/concepts/Transactional__.ts.html +9 -6
  143. package/coverage/src/concepts/TriggerEvent__.ts.html +25 -10
  144. package/coverage/src/concepts/TriggerLauncher__.ts.html +9 -6
  145. package/coverage/src/concepts/TypeAnnotation__.ts.html +223 -61
  146. package/coverage/src/concepts/TypeParam__.ts.html +10 -7
  147. package/coverage/src/concepts/UnaryExpression__.ts.html +40 -13
  148. package/coverage/src/concepts/Unparsed__.ts.html +11 -8
  149. package/coverage/src/concepts/UseComponent__.ts.html +9 -6
  150. package/coverage/src/concepts/ValidationRule__.ts.html +30 -15
  151. package/coverage/src/concepts/Variable__.ts.html +61 -16
  152. package/coverage/src/concepts/ViewBlock__.ts.html +9 -6
  153. package/coverage/src/concepts/ViewComponent__.ts.html +99 -24
  154. package/coverage/src/concepts/ViewElement__.ts.html +334 -181
  155. package/coverage/src/concepts/View__.ts.html +326 -71
  156. package/coverage/src/concepts/WhileStatement__.ts.html +78 -45
  157. package/coverage/src/concepts/basics/stdlib/index.html +1 -1
  158. package/coverage/src/concepts/basics/stdlib/index.ts.html +1 -1
  159. package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +1 -1
  160. package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +1 -1
  161. package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +1 -1
  162. package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +1 -1
  163. package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +1 -1
  164. package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +1 -1
  165. package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +1 -1
  166. package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +1 -1
  167. package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +1 -1
  168. package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +1 -1
  169. package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +1 -1
  170. package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +1 -1
  171. package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +1 -1
  172. package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +1 -1
  173. package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +1 -1
  174. package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +1 -1
  175. package/coverage/src/concepts/basics/types/coreTypeList.ts.html +1 -1
  176. package/coverage/src/concepts/basics/types/index.html +1 -1
  177. package/coverage/src/concepts/basics/types/index.ts.html +1 -1
  178. package/coverage/src/concepts/index.html +823 -808
  179. package/coverage/src/concepts/index.ts.html +1 -1
  180. package/coverage/src/concepts/index__.ts.html +7 -4
  181. package/coverage/src/config.ts.html +1 -1
  182. package/coverage/src/decorators/index.html +1 -1
  183. package/coverage/src/decorators/index.ts.html +24 -24
  184. package/coverage/src/decorators/promise.ts.html +1 -1
  185. package/coverage/src/eventBus.ts.html +1 -1
  186. package/coverage/src/generator/compileComponent.ts.html +1 -1
  187. package/coverage/src/generator/genBundleFiles.ts.html +13 -19
  188. package/coverage/src/generator/genHash.ts.html +1 -1
  189. package/coverage/src/generator/genMetaData.ts.html +103 -16
  190. package/coverage/src/generator/genReleaseBody.ts.html +1 -1
  191. package/coverage/src/generator/icestark.ts.html +1 -1
  192. package/coverage/src/generator/index.html +15 -15
  193. package/coverage/src/generator/index.ts.html +1 -1
  194. package/coverage/src/generator/microApp.ts.html +1 -1
  195. package/coverage/src/generator/permission.ts.html +1 -1
  196. package/coverage/src/generator/qiankun.ts.html +1 -1
  197. package/coverage/src/generator/styleReplacer.ts.html +1 -1
  198. package/coverage/src/index.html +7 -7
  199. package/coverage/src/index.ts.html +4 -4
  200. package/coverage/src/manager/diagnostic.ts.html +1 -1
  201. package/coverage/src/manager/index.html +1 -1
  202. package/coverage/src/manager/stepRecorder.ts.html +1 -1
  203. package/coverage/src/natural/genNaturalTS.ts.html +1 -1
  204. package/coverage/src/natural/index.html +15 -15
  205. package/coverage/src/natural/index.ts.html +1 -1
  206. package/coverage/src/natural/naslStdlibMap.ts.html +1 -1
  207. package/coverage/src/natural/transformTSCode.ts.html +78 -18
  208. package/coverage/src/sentry/index.html +1 -1
  209. package/coverage/src/sentry/index.ts.html +21 -21
  210. package/coverage/src/server/createUiTs.ts.html +15 -6
  211. package/coverage/src/server/entity2LogicNamespace.ts.html +1 -1
  212. package/coverage/src/server/event.js.html +1 -1
  213. package/coverage/src/server/extendBaseNode.ts.html +7 -4
  214. package/coverage/src/server/formatTsUtils.ts.html +1 -1
  215. package/coverage/src/server/getConnector.ts.html +1 -1
  216. package/coverage/src/server/getExtensionModules.ts.html +1 -1
  217. package/coverage/src/server/getFunctions.ts.html +1 -1
  218. package/coverage/src/server/getInterfaces.ts.html +1 -1
  219. package/coverage/src/server/getLogging.ts.html +1 -1
  220. package/coverage/src/server/getLogics.ts.html +1 -1
  221. package/coverage/src/server/getMemberIdentifier.ts.html +161 -113
  222. package/coverage/src/server/getProcessComponents.ts.html +1 -1
  223. package/coverage/src/server/getProcesses.ts.html +1 -1
  224. package/coverage/src/server/getValidates.ts.html +1 -1
  225. package/coverage/src/server/index.html +25 -25
  226. package/coverage/src/server/index.ts.html +1 -1
  227. package/coverage/src/server/naslServer.ts.html +470 -59
  228. package/coverage/src/server/naslStdlibMap.ts.html +1 -1
  229. package/coverage/src/server/process2LogicNamespace.ts.html +1 -1
  230. package/coverage/src/server/translator.ts.html +3 -3
  231. package/coverage/src/service/creator/add.configs.js.html +26 -8
  232. package/coverage/src/service/creator/errHandles.js.html +19 -37
  233. package/coverage/src/service/creator/index.html +22 -22
  234. package/coverage/src/service/creator/index.js.html +1 -1
  235. package/coverage/src/service/datasource/api.js.html +1 -1
  236. package/coverage/src/service/datasource/index.html +1 -1
  237. package/coverage/src/service/datasource/index.js.html +1 -1
  238. package/coverage/src/service/logic/api.js.html +1 -1
  239. package/coverage/src/service/logic/index.html +1 -1
  240. package/coverage/src/service/logic/index.js.html +1 -1
  241. package/coverage/src/service/storage/api.js.html +1 -1
  242. package/coverage/src/service/storage/index.html +19 -19
  243. package/coverage/src/service/storage/index.ts.html +1 -1
  244. package/coverage/src/service/storage/init.ts.html +1498 -598
  245. package/coverage/src/service/storage/jsoner.ts.html +3 -3
  246. package/coverage/src/service/storage/map.ts.html +1 -1
  247. package/coverage/src/service/storage/service.ts.html +1 -1
  248. package/coverage/src/service/storage/storagePoint.ts.html +1 -1
  249. package/coverage/src/templator/genCallComponentLogic.ts.html +1 -1
  250. package/coverage/src/templator/genCreateBlock.ts.html +47 -56
  251. package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +49 -31
  252. package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +81 -93
  253. package/coverage/src/templator/genEditTableBlock.ts.html +80 -11
  254. package/coverage/src/templator/genEnumSelectBlock.ts.html +1 -1
  255. package/coverage/src/templator/genGetBlock.ts.html +1 -1
  256. package/coverage/src/templator/genGridViewBlock.ts.html +1 -1
  257. package/coverage/src/templator/genListViewBlock.ts.html +1 -1
  258. package/coverage/src/templator/genQueryComponent.ts.html +1 -1
  259. package/coverage/src/templator/genSelectBlock.ts.html +1 -1
  260. package/coverage/src/templator/genTableBlock.ts.html +66 -3
  261. package/coverage/src/templator/genUpdateBlock.ts.html +48 -36
  262. package/coverage/src/templator/index.html +39 -39
  263. package/coverage/src/templator/index.ts.html +1 -1
  264. package/coverage/src/templator/utils.ts.html +77 -11
  265. package/coverage/src/translator/constant.ts.html +1 -1
  266. package/coverage/src/translator/index.html +20 -20
  267. package/coverage/src/translator/index.ts.html +1 -1
  268. package/coverage/src/translator/utils.ts.html +87 -30
  269. package/coverage/src/utils/cookie.ts.html +1 -1
  270. package/coverage/src/utils/env.ts.html +1 -1
  271. package/coverage/src/utils/index.html +27 -27
  272. package/coverage/src/utils/index.ts.html +115 -22
  273. package/coverage/src/utils/logger.ts.html +1 -1
  274. package/coverage/src/utils/sortTsString.ts.html +1 -1
  275. package/coverage/src/utils/string.ts.html +110 -8
  276. package/coverage/src/utils/time-slicing.ts.html +1 -1
  277. package/coverage/src/utils/traverse.ts.html +1 -1
  278. package/coverage/src/utils/window.ts.html +1 -1
  279. package/package.json +7 -7
  280. package/sandbox/stdlib/nasl.core.ts +187 -185
  281. package/src/bak/translator.js +100 -47
  282. package/src/common/BaseNode.ts +64 -13
  283. package/src/concepts/Abort__.ts +1 -0
  284. package/src/concepts/Anchor__.ts +19 -14
  285. package/src/concepts/AnonymousFunction__.ts +26 -12
  286. package/src/concepts/App__.ts +359 -76
  287. package/src/concepts/Argument__.ts +8 -3
  288. package/src/concepts/Assignee__.ts +15 -6
  289. package/src/concepts/AssignmentLine__.ts +1 -0
  290. package/src/concepts/Assignment__.ts +27 -14
  291. package/src/concepts/Attribute__.ts +8 -3
  292. package/src/concepts/AuthInterface__.ts +1 -0
  293. package/src/concepts/AuthLogicForCallInterface__.ts +8 -3
  294. package/src/concepts/AuthLogic__.ts +4 -0
  295. package/src/concepts/BackendVariable__.ts +30 -6
  296. package/src/concepts/Backend__.ts +8 -3
  297. package/src/concepts/BatchAssignment__.ts +28 -13
  298. package/src/concepts/BinaryExpression__.ts +56 -22
  299. package/src/concepts/BindAttribute__.ts +50 -18
  300. package/src/concepts/BindDirective__.ts +26 -5
  301. package/src/concepts/BindEvent__.ts +34 -15
  302. package/src/concepts/BindStyle__.ts +8 -3
  303. package/src/concepts/BooleanLiteral__.ts +1 -0
  304. package/src/concepts/CallAuthInterface__.ts +8 -3
  305. package/src/concepts/CallConnector__.ts +1 -0
  306. package/src/concepts/CallFunction__.ts +27 -24
  307. package/src/concepts/CallInterface__.ts +43 -28
  308. package/src/concepts/CallLogic__.ts +86 -108
  309. package/src/concepts/CallQueryComponent__.ts +15 -6
  310. package/src/concepts/Comment__.ts +2 -1
  311. package/src/concepts/CompletionProperty__.ts +8 -3
  312. package/src/concepts/ConfigGroup__.ts +8 -3
  313. package/src/concepts/ConfigPropertyValue__.ts +1 -0
  314. package/src/concepts/ConfigProperty__.ts +8 -3
  315. package/src/concepts/Configuration__.ts +8 -3
  316. package/src/concepts/Connection__.ts +9 -4
  317. package/src/concepts/ConnectorTrigger__.ts +1 -0
  318. package/src/concepts/Connector__.ts +36 -15
  319. package/src/concepts/Constant__.ts +8 -3
  320. package/src/concepts/DataSource__.ts +8 -3
  321. package/src/concepts/DatabaseTypeAnnotation__.ts +1 -0
  322. package/src/concepts/Destination__.ts +8 -4
  323. package/src/concepts/End__.ts +1 -0
  324. package/src/concepts/EntityIndex__.ts +1 -0
  325. package/src/concepts/EntityProperty__.ts +23 -7
  326. package/src/concepts/Entity__.ts +15 -6
  327. package/src/concepts/EnumItem__.ts +1 -0
  328. package/src/concepts/Enum__.ts +8 -3
  329. package/src/concepts/Event__.ts +8 -3
  330. package/src/concepts/ExternalDestination__.ts +8 -3
  331. package/src/concepts/ForEachStatement__.ts +43 -36
  332. package/src/concepts/FrontendLibrary__.ts +15 -6
  333. package/src/concepts/Frontend__.ts +36 -15
  334. package/src/concepts/Function__.ts +40 -18
  335. package/src/concepts/Identifier__.ts +1 -0
  336. package/src/concepts/IfStatement__.ts +29 -20
  337. package/src/concepts/Integration__.ts +15 -6
  338. package/src/concepts/InterfaceParam__.ts +8 -3
  339. package/src/concepts/Interface__.ts +28 -15
  340. package/src/concepts/JSBlock__.ts +60 -0
  341. package/src/concepts/JavaLogic__.ts +1 -0
  342. package/src/concepts/LogicItem__.ts +5 -4
  343. package/src/concepts/Logic__.ts +70 -58
  344. package/src/concepts/MatchCase__.ts +42 -29
  345. package/src/concepts/Match__.ts +23 -16
  346. package/src/concepts/MemberExpression__.ts +26 -21
  347. package/src/concepts/MetadataType__.ts +637 -0
  348. package/src/concepts/MicroApp__.ts +1 -0
  349. package/src/concepts/Module__.ts +227 -9
  350. package/src/concepts/MsgTriggerEvent__.ts +8 -3
  351. package/src/concepts/MsgTriggerLauncher__.ts +8 -3
  352. package/src/concepts/Namespace__.ts +78 -33
  353. package/src/concepts/NewComposite__.ts +41 -19
  354. package/src/concepts/NewList__.ts +17 -7
  355. package/src/concepts/NewMap__.ts +17 -7
  356. package/src/concepts/NullLiteral__.ts +1 -0
  357. package/src/concepts/NumericLiteral__.ts +9 -4
  358. package/src/concepts/OqlQueryComponent__.ts +35 -5
  359. package/src/concepts/OverriddenLogic__.ts +44 -19
  360. package/src/concepts/Param__.ts +38 -15
  361. package/src/concepts/Point__.ts +1 -0
  362. package/src/concepts/ProcessComponent__.ts +15 -6
  363. package/src/concepts/ProcessElement__.ts +57 -24
  364. package/src/concepts/ProcessOutcome__.ts +1 -0
  365. package/src/concepts/ProcessOutcomes__.ts +1 -0
  366. package/src/concepts/Process__.ts +36 -15
  367. package/src/concepts/QueryAggregateExpression__.ts +8 -3
  368. package/src/concepts/QueryFieldExpression__.ts +1 -0
  369. package/src/concepts/QueryFromExpression__.ts +8 -3
  370. package/src/concepts/QueryGroupByExpression__.ts +8 -3
  371. package/src/concepts/QueryJoinExpression__.ts +8 -3
  372. package/src/concepts/QueryLimitExpression__.ts +8 -3
  373. package/src/concepts/QueryOrderByExpression__.ts +8 -3
  374. package/src/concepts/QuerySelectExpression__.ts +8 -3
  375. package/src/concepts/Rect__.ts +1 -0
  376. package/src/concepts/Return__.ts +31 -6
  377. package/src/concepts/Role__.ts +1 -0
  378. package/src/concepts/SelectMembers__.ts +8 -3
  379. package/src/concepts/Slot__.ts +8 -3
  380. package/src/concepts/SqlQueryComponent__.ts +8 -3
  381. package/src/concepts/Start__.ts +1 -0
  382. package/src/concepts/StringInterpolation__.ts +14 -7
  383. package/src/concepts/StringLiteral__.ts +1 -0
  384. package/src/concepts/StructureProperty__.ts +8 -3
  385. package/src/concepts/Structure__.ts +15 -6
  386. package/src/concepts/SwitchCase__.ts +14 -9
  387. package/src/concepts/SwitchStatement__.ts +21 -16
  388. package/src/concepts/Theme__.ts +1 -0
  389. package/src/concepts/Transactional__.ts +1 -0
  390. package/src/concepts/TriggerEvent__.ts +8 -3
  391. package/src/concepts/TriggerLauncher__.ts +1 -0
  392. package/src/concepts/TypeAnnotation__.ts +82 -28
  393. package/src/concepts/TypeParam__.ts +2 -1
  394. package/src/concepts/UnaryExpression__.ts +15 -6
  395. package/src/concepts/Unparsed__.ts +2 -1
  396. package/src/concepts/UseComponent__.ts +1 -0
  397. package/src/concepts/ValidationRule__.ts +10 -5
  398. package/src/concepts/Variable__.ts +32 -8
  399. package/src/concepts/ViewBlock__.ts +1 -0
  400. package/src/concepts/ViewComponent__.ts +43 -18
  401. package/src/concepts/ViewElement__.ts +198 -124
  402. package/src/concepts/View__.ts +150 -56
  403. package/src/concepts/WhileStatement__.ts +26 -15
  404. package/src/concepts/basics/stdlib/nasl.util.ts +2 -2
  405. package/src/concepts/index__.ts +1 -0
  406. package/src/concepts/types__.ts +2 -0
  407. package/src/generator/genBundleFiles.ts +11 -13
  408. package/src/generator/genMetaData.ts +37 -8
  409. package/src/generator/permission.ts +33 -9
  410. package/src/index.ts +1 -1
  411. package/src/natural/transformTSCode.ts +22 -3
  412. package/src/sentry/index.ts +3 -1
  413. package/src/server/extendBaseNode.ts +2 -1
  414. package/src/server/getMemberIdentifier.ts +122 -121
  415. package/src/server/naslServer.ts +141 -5
  416. package/src/server/translator.ts +2 -2
  417. package/src/service/creator/add.configs.js +6 -0
  418. package/src/service/storage/init.ts +317 -11
  419. package/src/templator/genCreateBlock.ts +35 -38
  420. package/src/templator/genCurdEditMultipleKeyBlock.ts +31 -25
  421. package/src/templator/genCurdMultipleKeyBlock.ts +67 -71
  422. package/src/templator/genEditTableBlock.ts +7 -6
  423. package/src/templator/genUpdateBlock.ts +30 -26
  424. package/src/templator/utils.ts +23 -1
  425. package/src/translator/utils.ts +20 -0
  426. package/src/utils/index.ts +31 -0
  427. package/src/utils/string.ts +34 -0
  428. package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +2 -2
  429. package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +3 -3
  430. package/test/concepts/match/__snapshots__/toJS.spec.ts.snap +1 -1
  431. package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
  432. package/test/concepts/member-expression/__snapshots__/toVue.spec.ts.snap +1 -1
  433. package/test/concepts/numeric-literal/__snapshots__/toJS.spec.ts.snap +1 -1
  434. package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +3 -3
  435. package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +5 -22
  436. package/.nyc_output/processinfo/d58d92d8-c0d6-479b-9f82-1f4da8e73ff3.json +0 -1
  437. package/out/automate/engine/index.d.ts +0 -4
  438. package/out/automate/engine/index.js +0 -443
  439. package/out/automate/engine/index.js.map +0 -1
  440. package/out/automate/engine/operators.d.ts +0 -24
  441. package/out/automate/engine/operators.js +0 -252
  442. package/out/automate/engine/operators.js.map +0 -1
  443. package/out/automate/engine/uniqueName.d.ts +0 -12
  444. package/out/automate/engine/uniqueName.js +0 -112
  445. package/out/automate/engine/uniqueName.js.map +0 -1
  446. package/out/automate/engine/utils.d.ts +0 -25
  447. package/out/automate/engine/utils.js +0 -444
  448. package/out/automate/engine/utils.js.map +0 -1
  449. package/out/automate/engine/viewCache.d.ts +0 -19
  450. package/out/automate/engine/viewCache.js +0 -45
  451. package/out/automate/engine/viewCache.js.map +0 -1
  452. package/out/automate/template/myProcess.d.ts +0 -10
  453. package/out/automate/template/myProcess.js +0 -11498
  454. package/out/automate/template/myProcess.js.map +0 -1
  455. package/out/automate/upgrader/2.12.d.ts +0 -7
  456. package/out/automate/upgrader/2.12.js +0 -63
  457. package/out/automate/upgrader/2.12.js.map +0 -1
  458. package/out/automate/upgrader/2.14-components.d.ts +0 -1115
  459. package/out/automate/upgrader/2.14-components.js +0 -1087
  460. package/out/automate/upgrader/2.14-components.js.map +0 -1
  461. package/out/automate/upgrader/2.14.d.ts +0 -10
  462. package/out/automate/upgrader/2.14.js +0 -236
  463. package/out/automate/upgrader/2.14.js.map +0 -1
  464. package/out/automate/upgrader/2.14.old.d.ts +0 -1
  465. package/out/automate/upgrader/2.14.old.js +0 -125
  466. package/out/automate/upgrader/2.14.old.js.map +0 -1
  467. package/out/automate/upgrader/2.16.d.ts +0 -10
  468. package/out/automate/upgrader/2.16.js +0 -75
  469. package/out/automate/upgrader/2.16.js.map +0 -1
  470. package/out/automate/upgrader/2.17.d.ts +0 -21
  471. package/out/automate/upgrader/2.17.js +0 -557
  472. package/out/automate/upgrader/2.17.js.map +0 -1
  473. package/out/automate/upgrader/2.18.d.ts +0 -10
  474. package/out/automate/upgrader/2.18.js +0 -107
  475. package/out/automate/upgrader/2.18.js.map +0 -1
  476. package/out/automate/upgrader/2.20.d.ts +0 -17
  477. package/out/automate/upgrader/2.20.js +0 -68
  478. package/out/automate/upgrader/2.20.js.map +0 -1
  479. package/out/bak/translator.d.ts +0 -1
  480. package/out/bak/translator.js +0 -167
  481. package/out/bak/translator.js.map +0 -1
  482. package/out/breakpoint/generator/AfterStartNode.d.ts +0 -7
  483. package/out/breakpoint/generator/AfterStartNode.js +0 -30
  484. package/out/breakpoint/generator/AfterStartNode.js.map +0 -1
  485. package/out/breakpoint/generator/BeforeEndNode.d.ts +0 -7
  486. package/out/breakpoint/generator/BeforeEndNode.js +0 -28
  487. package/out/breakpoint/generator/BeforeEndNode.js.map +0 -1
  488. package/out/breakpoint/generator/BreakpointNode.d.ts +0 -15
  489. package/out/breakpoint/generator/BreakpointNode.js +0 -284
  490. package/out/breakpoint/generator/BreakpointNode.js.map +0 -1
  491. package/out/breakpoint/generator/CallbackNode.d.ts +0 -4
  492. package/out/breakpoint/generator/CallbackNode.js +0 -22
  493. package/out/breakpoint/generator/CallbackNode.js.map +0 -1
  494. package/out/breakpoint/generator/FragmentNode.d.ts +0 -4
  495. package/out/breakpoint/generator/FragmentNode.js +0 -18
  496. package/out/breakpoint/generator/FragmentNode.js.map +0 -1
  497. package/out/breakpoint/generator/index.d.ts +0 -4
  498. package/out/breakpoint/generator/index.js +0 -119
  499. package/out/breakpoint/generator/index.js.map +0 -1
  500. package/out/breakpoint/index.d.ts +0 -3
  501. package/out/breakpoint/index.js +0 -20
  502. package/out/breakpoint/index.js.map +0 -1
  503. package/out/breakpoint/shared/constants.d.ts +0 -37
  504. package/out/breakpoint/shared/constants.js +0 -106
  505. package/out/breakpoint/shared/constants.js.map +0 -1
  506. package/out/breakpoint/shared/index.d.ts +0 -3
  507. package/out/breakpoint/shared/index.js +0 -33
  508. package/out/breakpoint/shared/index.js.map +0 -1
  509. package/out/breakpoint/shared/operations.d.ts +0 -10
  510. package/out/breakpoint/shared/operations.js +0 -25
  511. package/out/breakpoint/shared/operations.js.map +0 -1
  512. package/out/breakpoint/shared/socket.d.ts +0 -48
  513. package/out/breakpoint/shared/socket.js +0 -257
  514. package/out/breakpoint/shared/socket.js.map +0 -1
  515. package/out/breakpoint/shared/utils.d.ts +0 -27
  516. package/out/breakpoint/shared/utils.js +0 -229
  517. package/out/breakpoint/shared/utils.js.map +0 -1
  518. package/out/breakpoint/store/core.d.ts +0 -80
  519. package/out/breakpoint/store/core.js +0 -416
  520. package/out/breakpoint/store/core.js.map +0 -1
  521. package/out/breakpoint/store/dock.d.ts +0 -1
  522. package/out/breakpoint/store/dock.js +0 -160
  523. package/out/breakpoint/store/dock.js.map +0 -1
  524. package/out/breakpoint/store/index.d.ts +0 -2
  525. package/out/breakpoint/store/index.js +0 -19
  526. package/out/breakpoint/store/index.js.map +0 -1
  527. package/out/common/BaseNode.d.ts +0 -330
  528. package/out/common/BaseNode.js +0 -1260
  529. package/out/common/BaseNode.js.map +0 -1
  530. package/out/common/Command.d.ts +0 -21
  531. package/out/common/Command.js +0 -79
  532. package/out/common/Command.js.map +0 -1
  533. package/out/common/ComponentAPI.d.ts +0 -110
  534. package/out/common/ComponentAPI.js +0 -3
  535. package/out/common/ComponentAPI.js.map +0 -1
  536. package/out/common/EventEmitter.d.ts +0 -59
  537. package/out/common/EventEmitter.js +0 -69
  538. package/out/common/EventEmitter.js.map +0 -1
  539. package/out/common/Messager.d.ts +0 -91
  540. package/out/common/Messager.js +0 -207
  541. package/out/common/Messager.js.map +0 -1
  542. package/out/common/asyncFuncMap.d.ts +0 -2
  543. package/out/common/asyncFuncMap.js +0 -16
  544. package/out/common/asyncFuncMap.js.map +0 -1
  545. package/out/common/index.d.ts +0 -3
  546. package/out/common/index.js +0 -20
  547. package/out/common/index.js.map +0 -1
  548. package/out/concepts/Abort__.d.ts +0 -26
  549. package/out/concepts/Abort__.js +0 -80
  550. package/out/concepts/Abort__.js.map +0 -1
  551. package/out/concepts/Anchor__.d.ts +0 -46
  552. package/out/concepts/Anchor__.js +0 -198
  553. package/out/concepts/Anchor__.js.map +0 -1
  554. package/out/concepts/AnonymousFunction__.d.ts +0 -173
  555. package/out/concepts/AnonymousFunction__.js +0 -519
  556. package/out/concepts/AnonymousFunction__.js.map +0 -1
  557. package/out/concepts/App__.d.ts +0 -1687
  558. package/out/concepts/App__.js +0 -2529
  559. package/out/concepts/App__.js.map +0 -1
  560. package/out/concepts/Argument__.d.ts +0 -67
  561. package/out/concepts/Argument__.js +0 -302
  562. package/out/concepts/Argument__.js.map +0 -1
  563. package/out/concepts/Assignee__.d.ts +0 -289
  564. package/out/concepts/Assignee__.js +0 -425
  565. package/out/concepts/Assignee__.js.map +0 -1
  566. package/out/concepts/AssignmentLine__.d.ts +0 -42
  567. package/out/concepts/AssignmentLine__.js +0 -111
  568. package/out/concepts/AssignmentLine__.js.map +0 -1
  569. package/out/concepts/Assignment__.d.ts +0 -75
  570. package/out/concepts/Assignment__.js +0 -310
  571. package/out/concepts/Assignment__.js.map +0 -1
  572. package/out/concepts/Attribute__.d.ts +0 -98
  573. package/out/concepts/Attribute__.js +0 -206
  574. package/out/concepts/Attribute__.js.map +0 -1
  575. package/out/concepts/AuthInterface__.d.ts +0 -36
  576. package/out/concepts/AuthInterface__.js +0 -83
  577. package/out/concepts/AuthInterface__.js.map +0 -1
  578. package/out/concepts/AuthLogicForCallInterface__.d.ts +0 -139
  579. package/out/concepts/AuthLogicForCallInterface__.js +0 -523
  580. package/out/concepts/AuthLogicForCallInterface__.js.map +0 -1
  581. package/out/concepts/AuthLogic__.d.ts +0 -67
  582. package/out/concepts/AuthLogic__.js +0 -219
  583. package/out/concepts/AuthLogic__.js.map +0 -1
  584. package/out/concepts/BackendVariable__.d.ts +0 -138
  585. package/out/concepts/BackendVariable__.js +0 -424
  586. package/out/concepts/BackendVariable__.js.map +0 -1
  587. package/out/concepts/Backend__.d.ts +0 -135
  588. package/out/concepts/Backend__.js +0 -275
  589. package/out/concepts/Backend__.js.map +0 -1
  590. package/out/concepts/BatchAssignment__.d.ts +0 -253
  591. package/out/concepts/BatchAssignment__.js +0 -856
  592. package/out/concepts/BatchAssignment__.js.map +0 -1
  593. package/out/concepts/BinaryExpression__.d.ts +0 -72
  594. package/out/concepts/BinaryExpression__.js +0 -386
  595. package/out/concepts/BinaryExpression__.js.map +0 -1
  596. package/out/concepts/BindAttribute__.d.ts +0 -324
  597. package/out/concepts/BindAttribute__.js +0 -1046
  598. package/out/concepts/BindAttribute__.js.map +0 -1
  599. package/out/concepts/BindDirective__.d.ts +0 -163
  600. package/out/concepts/BindDirective__.js +0 -540
  601. package/out/concepts/BindDirective__.js.map +0 -1
  602. package/out/concepts/BindEvent__.d.ts +0 -253
  603. package/out/concepts/BindEvent__.js +0 -922
  604. package/out/concepts/BindEvent__.js.map +0 -1
  605. package/out/concepts/BindStyle__.d.ts +0 -140
  606. package/out/concepts/BindStyle__.js +0 -433
  607. package/out/concepts/BindStyle__.js.map +0 -1
  608. package/out/concepts/BooleanLiteral__.d.ts +0 -36
  609. package/out/concepts/BooleanLiteral__.js +0 -106
  610. package/out/concepts/BooleanLiteral__.js.map +0 -1
  611. package/out/concepts/CallAuthInterface__.d.ts +0 -126
  612. package/out/concepts/CallAuthInterface__.js +0 -405
  613. package/out/concepts/CallAuthInterface__.js.map +0 -1
  614. package/out/concepts/CallConnector__.d.ts +0 -47
  615. package/out/concepts/CallConnector__.js +0 -264
  616. package/out/concepts/CallConnector__.js.map +0 -1
  617. package/out/concepts/CallFunction__.d.ts +0 -159
  618. package/out/concepts/CallFunction__.js +0 -549
  619. package/out/concepts/CallFunction__.js.map +0 -1
  620. package/out/concepts/CallInterface__.d.ts +0 -130
  621. package/out/concepts/CallInterface__.js +0 -790
  622. package/out/concepts/CallInterface__.js.map +0 -1
  623. package/out/concepts/CallLogic__.d.ts +0 -231
  624. package/out/concepts/CallLogic__.js +0 -1366
  625. package/out/concepts/CallLogic__.js.map +0 -1
  626. package/out/concepts/CallQueryComponent__.d.ts +0 -433
  627. package/out/concepts/CallQueryComponent__.js +0 -1283
  628. package/out/concepts/CallQueryComponent__.js.map +0 -1
  629. package/out/concepts/Comment__.d.ts +0 -33
  630. package/out/concepts/Comment__.js +0 -102
  631. package/out/concepts/Comment__.js.map +0 -1
  632. package/out/concepts/CompletionProperty__.d.ts +0 -105
  633. package/out/concepts/CompletionProperty__.js +0 -269
  634. package/out/concepts/CompletionProperty__.js.map +0 -1
  635. package/out/concepts/ConfigGroup__.d.ts +0 -125
  636. package/out/concepts/ConfigGroup__.js +0 -254
  637. package/out/concepts/ConfigGroup__.js.map +0 -1
  638. package/out/concepts/ConfigPropertyValue__.d.ts +0 -45
  639. package/out/concepts/ConfigPropertyValue__.js +0 -107
  640. package/out/concepts/ConfigPropertyValue__.js.map +0 -1
  641. package/out/concepts/ConfigProperty__.d.ts +0 -154
  642. package/out/concepts/ConfigProperty__.js +0 -325
  643. package/out/concepts/ConfigProperty__.js.map +0 -1
  644. package/out/concepts/Configuration__.d.ts +0 -124
  645. package/out/concepts/Configuration__.js +0 -227
  646. package/out/concepts/Configuration__.js.map +0 -1
  647. package/out/concepts/Connection__.d.ts +0 -166
  648. package/out/concepts/Connection__.js +0 -335
  649. package/out/concepts/Connection__.js.map +0 -1
  650. package/out/concepts/ConnectorTrigger__.d.ts +0 -79
  651. package/out/concepts/ConnectorTrigger__.js +0 -157
  652. package/out/concepts/ConnectorTrigger__.js.map +0 -1
  653. package/out/concepts/Connector__.d.ts +0 -570
  654. package/out/concepts/Connector__.js +0 -856
  655. package/out/concepts/Connector__.js.map +0 -1
  656. package/out/concepts/Constant__.d.ts +0 -111
  657. package/out/concepts/Constant__.js +0 -255
  658. package/out/concepts/Constant__.js.map +0 -1
  659. package/out/concepts/DataSource__.d.ts +0 -169
  660. package/out/concepts/DataSource__.js +0 -465
  661. package/out/concepts/DataSource__.js.map +0 -1
  662. package/out/concepts/DatabaseTypeAnnotation__.d.ts +0 -32
  663. package/out/concepts/DatabaseTypeAnnotation__.js +0 -79
  664. package/out/concepts/DatabaseTypeAnnotation__.js.map +0 -1
  665. package/out/concepts/Destination__.d.ts +0 -158
  666. package/out/concepts/Destination__.js +0 -796
  667. package/out/concepts/Destination__.js.map +0 -1
  668. package/out/concepts/End__.d.ts +0 -25
  669. package/out/concepts/End__.js +0 -114
  670. package/out/concepts/End__.js.map +0 -1
  671. package/out/concepts/EntityIndex__.d.ts +0 -96
  672. package/out/concepts/EntityIndex__.js +0 -221
  673. package/out/concepts/EntityIndex__.js.map +0 -1
  674. package/out/concepts/EntityProperty__.d.ts +0 -275
  675. package/out/concepts/EntityProperty__.js +0 -819
  676. package/out/concepts/EntityProperty__.js.map +0 -1
  677. package/out/concepts/Entity__.d.ts +0 -340
  678. package/out/concepts/Entity__.js +0 -738
  679. package/out/concepts/Entity__.js.map +0 -1
  680. package/out/concepts/EnumItem__.d.ts +0 -65
  681. package/out/concepts/EnumItem__.js +0 -152
  682. package/out/concepts/EnumItem__.js.map +0 -1
  683. package/out/concepts/Enum__.d.ts +0 -139
  684. package/out/concepts/Enum__.js +0 -334
  685. package/out/concepts/Enum__.js.map +0 -1
  686. package/out/concepts/Event__.d.ts +0 -144
  687. package/out/concepts/Event__.js +0 -249
  688. package/out/concepts/Event__.js.map +0 -1
  689. package/out/concepts/ExternalDestination__.d.ts +0 -76
  690. package/out/concepts/ExternalDestination__.js +0 -286
  691. package/out/concepts/ExternalDestination__.js.map +0 -1
  692. package/out/concepts/ForEachStatement__.d.ts +0 -171
  693. package/out/concepts/ForEachStatement__.js +0 -508
  694. package/out/concepts/ForEachStatement__.js.map +0 -1
  695. package/out/concepts/FrontendLibrary__.d.ts +0 -214
  696. package/out/concepts/FrontendLibrary__.js +0 -353
  697. package/out/concepts/FrontendLibrary__.js.map +0 -1
  698. package/out/concepts/FrontendVariable__.d.ts +0 -22
  699. package/out/concepts/FrontendVariable__.js +0 -65
  700. package/out/concepts/FrontendVariable__.js.map +0 -1
  701. package/out/concepts/Frontend__.d.ts +0 -478
  702. package/out/concepts/Frontend__.js +0 -845
  703. package/out/concepts/Frontend__.js.map +0 -1
  704. package/out/concepts/Function__.d.ts +0 -418
  705. package/out/concepts/Function__.js +0 -757
  706. package/out/concepts/Function__.js.map +0 -1
  707. package/out/concepts/Identifier__.d.ts +0 -52
  708. package/out/concepts/Identifier__.js +0 -302
  709. package/out/concepts/Identifier__.js.map +0 -1
  710. package/out/concepts/IfStatement__.d.ts +0 -159
  711. package/out/concepts/IfStatement__.js +0 -333
  712. package/out/concepts/IfStatement__.js.map +0 -1
  713. package/out/concepts/Integration__.d.ts +0 -144
  714. package/out/concepts/Integration__.js +0 -282
  715. package/out/concepts/Integration__.js.map +0 -1
  716. package/out/concepts/InterfaceParam__.d.ts +0 -136
  717. package/out/concepts/InterfaceParam__.js +0 -296
  718. package/out/concepts/InterfaceParam__.js.map +0 -1
  719. package/out/concepts/Interface__.d.ts +0 -331
  720. package/out/concepts/Interface__.js +0 -881
  721. package/out/concepts/Interface__.js.map +0 -1
  722. package/out/concepts/JSBlock__.d.ts +0 -35
  723. package/out/concepts/JSBlock__.js +0 -112
  724. package/out/concepts/JSBlock__.js.map +0 -1
  725. package/out/concepts/JavaLogic__.d.ts +0 -43
  726. package/out/concepts/JavaLogic__.js +0 -124
  727. package/out/concepts/JavaLogic__.js.map +0 -1
  728. package/out/concepts/LogicItem__.d.ts +0 -152
  729. package/out/concepts/LogicItem__.js +0 -286
  730. package/out/concepts/LogicItem__.js.map +0 -1
  731. package/out/concepts/Logic__.d.ts +0 -644
  732. package/out/concepts/Logic__.js +0 -1819
  733. package/out/concepts/Logic__.js.map +0 -1
  734. package/out/concepts/MatchCase__.d.ts +0 -259
  735. package/out/concepts/MatchCase__.js +0 -683
  736. package/out/concepts/MatchCase__.js.map +0 -1
  737. package/out/concepts/Match__.d.ts +0 -125
  738. package/out/concepts/Match__.js +0 -683
  739. package/out/concepts/Match__.js.map +0 -1
  740. package/out/concepts/MemberExpression__.d.ts +0 -75
  741. package/out/concepts/MemberExpression__.js +0 -484
  742. package/out/concepts/MemberExpression__.js.map +0 -1
  743. package/out/concepts/MicroApp__.d.ts +0 -52
  744. package/out/concepts/MicroApp__.js +0 -119
  745. package/out/concepts/MicroApp__.js.map +0 -1
  746. package/out/concepts/Module__.d.ts +0 -1236
  747. package/out/concepts/Module__.js +0 -1692
  748. package/out/concepts/Module__.js.map +0 -1
  749. package/out/concepts/MsgTriggerEvent__.d.ts +0 -138
  750. package/out/concepts/MsgTriggerEvent__.js +0 -227
  751. package/out/concepts/MsgTriggerEvent__.js.map +0 -1
  752. package/out/concepts/MsgTriggerLauncher__.d.ts +0 -127
  753. package/out/concepts/MsgTriggerLauncher__.js +0 -222
  754. package/out/concepts/MsgTriggerLauncher__.js.map +0 -1
  755. package/out/concepts/Namespace__.d.ts +0 -1070
  756. package/out/concepts/Namespace__.js +0 -1394
  757. package/out/concepts/Namespace__.js.map +0 -1
  758. package/out/concepts/NewComposite__.d.ts +0 -349
  759. package/out/concepts/NewComposite__.js +0 -1221
  760. package/out/concepts/NewComposite__.js.map +0 -1
  761. package/out/concepts/NewList__.d.ts +0 -136
  762. package/out/concepts/NewList__.js +0 -423
  763. package/out/concepts/NewList__.js.map +0 -1
  764. package/out/concepts/NewMap__.d.ts +0 -226
  765. package/out/concepts/NewMap__.js +0 -550
  766. package/out/concepts/NewMap__.js.map +0 -1
  767. package/out/concepts/New__.d.ts +0 -21
  768. package/out/concepts/New__.js +0 -70
  769. package/out/concepts/New__.js.map +0 -1
  770. package/out/concepts/NullLiteral__.d.ts +0 -27
  771. package/out/concepts/NullLiteral__.js +0 -81
  772. package/out/concepts/NullLiteral__.js.map +0 -1
  773. package/out/concepts/NumericLiteral__.d.ts +0 -57
  774. package/out/concepts/NumericLiteral__.js +0 -180
  775. package/out/concepts/NumericLiteral__.js.map +0 -1
  776. package/out/concepts/OqlQueryComponent__.d.ts +0 -74
  777. package/out/concepts/OqlQueryComponent__.js +0 -335
  778. package/out/concepts/OqlQueryComponent__.js.map +0 -1
  779. package/out/concepts/OverriddenLogic__.d.ts +0 -635
  780. package/out/concepts/OverriddenLogic__.js +0 -1634
  781. package/out/concepts/OverriddenLogic__.js.map +0 -1
  782. package/out/concepts/Param__.d.ts +0 -173
  783. package/out/concepts/Param__.js +0 -489
  784. package/out/concepts/Param__.js.map +0 -1
  785. package/out/concepts/Point__.d.ts +0 -32
  786. package/out/concepts/Point__.js +0 -79
  787. package/out/concepts/Point__.js.map +0 -1
  788. package/out/concepts/ProcessComponent__.d.ts +0 -220
  789. package/out/concepts/ProcessComponent__.js +0 -339
  790. package/out/concepts/ProcessComponent__.js.map +0 -1
  791. package/out/concepts/ProcessElement__.d.ts +0 -647
  792. package/out/concepts/ProcessElement__.js +0 -1227
  793. package/out/concepts/ProcessElement__.js.map +0 -1
  794. package/out/concepts/ProcessOutcome__.d.ts +0 -32
  795. package/out/concepts/ProcessOutcome__.js +0 -90
  796. package/out/concepts/ProcessOutcome__.js.map +0 -1
  797. package/out/concepts/ProcessOutcomes__.d.ts +0 -32
  798. package/out/concepts/ProcessOutcomes__.js +0 -89
  799. package/out/concepts/ProcessOutcomes__.js.map +0 -1
  800. package/out/concepts/Process__.d.ts +0 -614
  801. package/out/concepts/Process__.js +0 -1037
  802. package/out/concepts/Process__.js.map +0 -1
  803. package/out/concepts/QueryAggregateExpression__.d.ts +0 -52
  804. package/out/concepts/QueryAggregateExpression__.js +0 -149
  805. package/out/concepts/QueryAggregateExpression__.js.map +0 -1
  806. package/out/concepts/QueryFieldExpression__.d.ts +0 -54
  807. package/out/concepts/QueryFieldExpression__.js +0 -160
  808. package/out/concepts/QueryFieldExpression__.js.map +0 -1
  809. package/out/concepts/QueryFromExpression__.d.ts +0 -99
  810. package/out/concepts/QueryFromExpression__.js +0 -208
  811. package/out/concepts/QueryFromExpression__.js.map +0 -1
  812. package/out/concepts/QueryGroupByExpression__.d.ts +0 -47
  813. package/out/concepts/QueryGroupByExpression__.js +0 -140
  814. package/out/concepts/QueryGroupByExpression__.js.map +0 -1
  815. package/out/concepts/QueryJoinExpression__.d.ts +0 -186
  816. package/out/concepts/QueryJoinExpression__.js +0 -331
  817. package/out/concepts/QueryJoinExpression__.js.map +0 -1
  818. package/out/concepts/QueryLimitExpression__.d.ts +0 -58
  819. package/out/concepts/QueryLimitExpression__.js +0 -160
  820. package/out/concepts/QueryLimitExpression__.js.map +0 -1
  821. package/out/concepts/QueryOrderByExpression__.d.ts +0 -69
  822. package/out/concepts/QueryOrderByExpression__.js +0 -173
  823. package/out/concepts/QueryOrderByExpression__.js.map +0 -1
  824. package/out/concepts/QuerySelectExpression__.d.ts +0 -204
  825. package/out/concepts/QuerySelectExpression__.js +0 -299
  826. package/out/concepts/QuerySelectExpression__.js.map +0 -1
  827. package/out/concepts/Rect__.d.ts +0 -40
  828. package/out/concepts/Rect__.js +0 -95
  829. package/out/concepts/Rect__.js.map +0 -1
  830. package/out/concepts/Return__.d.ts +0 -135
  831. package/out/concepts/Return__.js +0 -370
  832. package/out/concepts/Return__.js.map +0 -1
  833. package/out/concepts/Role__.d.ts +0 -63
  834. package/out/concepts/Role__.js +0 -169
  835. package/out/concepts/Role__.js.map +0 -1
  836. package/out/concepts/SelectMembers__.d.ts +0 -143
  837. package/out/concepts/SelectMembers__.js +0 -293
  838. package/out/concepts/SelectMembers__.js.map +0 -1
  839. package/out/concepts/Slot__.d.ts +0 -75
  840. package/out/concepts/Slot__.js +0 -165
  841. package/out/concepts/Slot__.js.map +0 -1
  842. package/out/concepts/SqlQueryComponent__.d.ts +0 -72
  843. package/out/concepts/SqlQueryComponent__.js +0 -281
  844. package/out/concepts/SqlQueryComponent__.js.map +0 -1
  845. package/out/concepts/Start__.d.ts +0 -25
  846. package/out/concepts/Start__.js +0 -73
  847. package/out/concepts/Start__.js.map +0 -1
  848. package/out/concepts/StringInterpolation__.d.ts +0 -116
  849. package/out/concepts/StringInterpolation__.js +0 -263
  850. package/out/concepts/StringInterpolation__.js.map +0 -1
  851. package/out/concepts/StringLiteral__.d.ts +0 -39
  852. package/out/concepts/StringLiteral__.js +0 -138
  853. package/out/concepts/StringLiteral__.js.map +0 -1
  854. package/out/concepts/StructureProperty__.d.ts +0 -136
  855. package/out/concepts/StructureProperty__.js +0 -320
  856. package/out/concepts/StructureProperty__.js.map +0 -1
  857. package/out/concepts/Structure__.d.ts +0 -248
  858. package/out/concepts/Structure__.js +0 -475
  859. package/out/concepts/Structure__.js.map +0 -1
  860. package/out/concepts/SwitchCase__.d.ts +0 -95
  861. package/out/concepts/SwitchCase__.js +0 -273
  862. package/out/concepts/SwitchCase__.js.map +0 -1
  863. package/out/concepts/SwitchStatement__.d.ts +0 -85
  864. package/out/concepts/SwitchStatement__.js +0 -200
  865. package/out/concepts/SwitchStatement__.js.map +0 -1
  866. package/out/concepts/Theme__.d.ts +0 -38
  867. package/out/concepts/Theme__.js +0 -88
  868. package/out/concepts/Theme__.js.map +0 -1
  869. package/out/concepts/Transactional__.d.ts +0 -88
  870. package/out/concepts/Transactional__.js +0 -168
  871. package/out/concepts/Transactional__.js.map +0 -1
  872. package/out/concepts/TriggerEvent__.d.ts +0 -121
  873. package/out/concepts/TriggerEvent__.js +0 -224
  874. package/out/concepts/TriggerEvent__.js.map +0 -1
  875. package/out/concepts/TriggerLauncher__.d.ts +0 -82
  876. package/out/concepts/TriggerLauncher__.js +0 -220
  877. package/out/concepts/TriggerLauncher__.js.map +0 -1
  878. package/out/concepts/TypeAnnotation__.d.ts +0 -299
  879. package/out/concepts/TypeAnnotation__.js +0 -995
  880. package/out/concepts/TypeAnnotation__.js.map +0 -1
  881. package/out/concepts/TypeParam__.d.ts +0 -26
  882. package/out/concepts/TypeParam__.js +0 -79
  883. package/out/concepts/TypeParam__.js.map +0 -1
  884. package/out/concepts/UnaryExpression__.d.ts +0 -50
  885. package/out/concepts/UnaryExpression__.js +0 -186
  886. package/out/concepts/UnaryExpression__.js.map +0 -1
  887. package/out/concepts/Unparsed__.d.ts +0 -33
  888. package/out/concepts/Unparsed__.js +0 -100
  889. package/out/concepts/Unparsed__.js.map +0 -1
  890. package/out/concepts/UseComponent__.d.ts +0 -32
  891. package/out/concepts/UseComponent__.js +0 -79
  892. package/out/concepts/UseComponent__.js.map +0 -1
  893. package/out/concepts/ValidationRule__.d.ts +0 -148
  894. package/out/concepts/ValidationRule__.js +0 -489
  895. package/out/concepts/ValidationRule__.js.map +0 -1
  896. package/out/concepts/Variable__.d.ts +0 -155
  897. package/out/concepts/Variable__.js +0 -420
  898. package/out/concepts/Variable__.js.map +0 -1
  899. package/out/concepts/ViewBlock__.d.ts +0 -36
  900. package/out/concepts/ViewBlock__.js +0 -87
  901. package/out/concepts/ViewBlock__.js.map +0 -1
  902. package/out/concepts/ViewComponent__.d.ts +0 -566
  903. package/out/concepts/ViewComponent__.js +0 -762
  904. package/out/concepts/ViewComponent__.js.map +0 -1
  905. package/out/concepts/ViewElement__.d.ts +0 -628
  906. package/out/concepts/ViewElement__.js +0 -2241
  907. package/out/concepts/ViewElement__.js.map +0 -1
  908. package/out/concepts/View__.d.ts +0 -722
  909. package/out/concepts/View__.js +0 -2114
  910. package/out/concepts/View__.js.map +0 -1
  911. package/out/concepts/WhileStatement__.d.ts +0 -98
  912. package/out/concepts/WhileStatement__.js +0 -235
  913. package/out/concepts/WhileStatement__.js.map +0 -1
  914. package/out/concepts/basics/stdlib/index.d.ts +0 -4
  915. package/out/concepts/basics/stdlib/index.js +0 -45
  916. package/out/concepts/basics/stdlib/index.js.map +0 -1
  917. package/out/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
  918. package/out/concepts/basics/stdlib/nasl.auth.js +0 -164
  919. package/out/concepts/basics/stdlib/nasl.auth.js.map +0 -1
  920. package/out/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
  921. package/out/concepts/basics/stdlib/nasl.browser.js +0 -149
  922. package/out/concepts/basics/stdlib/nasl.browser.js.map +0 -1
  923. package/out/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
  924. package/out/concepts/basics/stdlib/nasl.collection.js +0 -52
  925. package/out/concepts/basics/stdlib/nasl.collection.js.map +0 -1
  926. package/out/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
  927. package/out/concepts/basics/stdlib/nasl.configuration.js +0 -33
  928. package/out/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
  929. package/out/concepts/basics/stdlib/nasl.core.d.ts +0 -5
  930. package/out/concepts/basics/stdlib/nasl.core.js +0 -49
  931. package/out/concepts/basics/stdlib/nasl.core.js.map +0 -1
  932. package/out/concepts/basics/stdlib/nasl.event.d.ts +0 -3
  933. package/out/concepts/basics/stdlib/nasl.event.js +0 -25
  934. package/out/concepts/basics/stdlib/nasl.event.js.map +0 -1
  935. package/out/concepts/basics/stdlib/nasl.http.d.ts +0 -7
  936. package/out/concepts/basics/stdlib/nasl.http.js +0 -169
  937. package/out/concepts/basics/stdlib/nasl.http.js.map +0 -1
  938. package/out/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
  939. package/out/concepts/basics/stdlib/nasl.interface.js +0 -43
  940. package/out/concepts/basics/stdlib/nasl.interface.js.map +0 -1
  941. package/out/concepts/basics/stdlib/nasl.io.d.ts +0 -3
  942. package/out/concepts/basics/stdlib/nasl.io.js +0 -52
  943. package/out/concepts/basics/stdlib/nasl.io.js.map +0 -1
  944. package/out/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
  945. package/out/concepts/basics/stdlib/nasl.logging.js +0 -56
  946. package/out/concepts/basics/stdlib/nasl.logging.js.map +0 -1
  947. package/out/concepts/basics/stdlib/nasl.process.d.ts +0 -7
  948. package/out/concepts/basics/stdlib/nasl.process.js +0 -638
  949. package/out/concepts/basics/stdlib/nasl.process.js.map +0 -1
  950. package/out/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
  951. package/out/concepts/basics/stdlib/nasl.ui.js +0 -1063
  952. package/out/concepts/basics/stdlib/nasl.ui.js.map +0 -1
  953. package/out/concepts/basics/stdlib/nasl.util.d.ts +0 -5
  954. package/out/concepts/basics/stdlib/nasl.util.js +0 -2255
  955. package/out/concepts/basics/stdlib/nasl.util.js.map +0 -1
  956. package/out/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
  957. package/out/concepts/basics/stdlib/nasl.validation.js +0 -565
  958. package/out/concepts/basics/stdlib/nasl.validation.js.map +0 -1
  959. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
  960. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
  961. package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
  962. package/out/concepts/basics/stdlib/timeZone.d.ts +0 -5
  963. package/out/concepts/basics/stdlib/timeZone.js +0 -196
  964. package/out/concepts/basics/stdlib/timeZone.js.map +0 -1
  965. package/out/concepts/basics/types/coreTypeList.d.ts +0 -2
  966. package/out/concepts/basics/types/coreTypeList.js +0 -15
  967. package/out/concepts/basics/types/coreTypeList.js.map +0 -1
  968. package/out/concepts/basics/types/index.d.ts +0 -16
  969. package/out/concepts/basics/types/index.js +0 -35
  970. package/out/concepts/basics/types/index.js.map +0 -1
  971. package/out/concepts/index.d.ts +0 -6
  972. package/out/concepts/index.js +0 -25
  973. package/out/concepts/index.js.map +0 -1
  974. package/out/concepts/index__.d.ts +0 -122
  975. package/out/concepts/index__.js +0 -139
  976. package/out/concepts/index__.js.map +0 -1
  977. package/out/concepts/types__.d.ts +0 -124
  978. package/out/concepts/types__.js +0 -3
  979. package/out/concepts/types__.js.map +0 -1
  980. package/out/config.d.ts +0 -43
  981. package/out/config.js +0 -72
  982. package/out/config.js.map +0 -1
  983. package/out/decorators/index.d.ts +0 -57
  984. package/out/decorators/index.js +0 -170
  985. package/out/decorators/index.js.map +0 -1
  986. package/out/decorators/promise.d.ts +0 -7
  987. package/out/decorators/promise.js +0 -28
  988. package/out/decorators/promise.js.map +0 -1
  989. package/out/enums/KEYWORDS.d.ts +0 -6
  990. package/out/enums/KEYWORDS.js +0 -1244
  991. package/out/enums/KEYWORDS.js.map +0 -1
  992. package/out/enums/LEVEL_NAME_MAP.d.ts +0 -26
  993. package/out/enums/LEVEL_NAME_MAP.js +0 -30
  994. package/out/enums/LEVEL_NAME_MAP.js.map +0 -1
  995. package/out/eventBus.d.ts +0 -3
  996. package/out/eventBus.js +0 -7
  997. package/out/eventBus.js.map +0 -1
  998. package/out/generator/compileComponent.d.ts +0 -11
  999. package/out/generator/compileComponent.js +0 -12
  1000. package/out/generator/compileComponent.js.map +0 -1
  1001. package/out/generator/genBundleFiles.d.ts +0 -34
  1002. package/out/generator/genBundleFiles.js +0 -547
  1003. package/out/generator/genBundleFiles.js.map +0 -1
  1004. package/out/generator/genHash.d.ts +0 -7
  1005. package/out/generator/genHash.js +0 -39
  1006. package/out/generator/genHash.js.map +0 -1
  1007. package/out/generator/genMetaData.d.ts +0 -31
  1008. package/out/generator/genMetaData.js +0 -286
  1009. package/out/generator/genMetaData.js.map +0 -1
  1010. package/out/generator/genReleaseBody.d.ts +0 -72
  1011. package/out/generator/genReleaseBody.js +0 -322
  1012. package/out/generator/genReleaseBody.js.map +0 -1
  1013. package/out/generator/icestark.d.ts +0 -2
  1014. package/out/generator/icestark.js +0 -48
  1015. package/out/generator/icestark.js.map +0 -1
  1016. package/out/generator/index.d.ts +0 -7
  1017. package/out/generator/index.js +0 -24
  1018. package/out/generator/index.js.map +0 -1
  1019. package/out/generator/microApp.d.ts +0 -2
  1020. package/out/generator/microApp.js +0 -36
  1021. package/out/generator/microApp.js.map +0 -1
  1022. package/out/generator/permission.d.ts +0 -10
  1023. package/out/generator/permission.js +0 -270
  1024. package/out/generator/permission.js.map +0 -1
  1025. package/out/generator/qiankun.d.ts +0 -2
  1026. package/out/generator/qiankun.js +0 -52
  1027. package/out/generator/qiankun.js.map +0 -1
  1028. package/out/generator/styleReplacer.d.ts +0 -3
  1029. package/out/generator/styleReplacer.js +0 -68
  1030. package/out/generator/styleReplacer.js.map +0 -1
  1031. package/out/index.d.ts +0 -13
  1032. package/out/index.js +0 -63
  1033. package/out/index.js.map +0 -1
  1034. package/out/manager/diagnostic.d.ts +0 -35
  1035. package/out/manager/diagnostic.js +0 -63
  1036. package/out/manager/diagnostic.js.map +0 -1
  1037. package/out/manager/stepRecorder.d.ts +0 -20
  1038. package/out/manager/stepRecorder.js +0 -114
  1039. package/out/manager/stepRecorder.js.map +0 -1
  1040. package/out/natural/componentData.d.ts +0 -31
  1041. package/out/natural/componentData.js +0 -85
  1042. package/out/natural/componentData.js.map +0 -1
  1043. package/out/natural/genNaturalTS.d.ts +0 -3
  1044. package/out/natural/genNaturalTS.js +0 -90
  1045. package/out/natural/genNaturalTS.js.map +0 -1
  1046. package/out/natural/index.d.ts +0 -2
  1047. package/out/natural/index.js +0 -19
  1048. package/out/natural/index.js.map +0 -1
  1049. package/out/natural/naslStdlibMap.d.ts +0 -2
  1050. package/out/natural/naslStdlibMap.js +0 -26
  1051. package/out/natural/naslStdlibMap.js.map +0 -1
  1052. package/out/natural/transformTSCode.d.ts +0 -7
  1053. package/out/natural/transformTSCode.js +0 -900
  1054. package/out/natural/transformTSCode.js.map +0 -1
  1055. package/out/sentry/index.d.ts +0 -34
  1056. package/out/sentry/index.js +0 -148
  1057. package/out/sentry/index.js.map +0 -1
  1058. package/out/server/createUiTs.d.ts +0 -16
  1059. package/out/server/createUiTs.js +0 -296
  1060. package/out/server/createUiTs.js.map +0 -1
  1061. package/out/server/entity2LogicNamespace.d.ts +0 -10
  1062. package/out/server/entity2LogicNamespace.js +0 -382
  1063. package/out/server/entity2LogicNamespace.js.map +0 -1
  1064. package/out/server/event.d.ts +0 -30
  1065. package/out/server/event.js +0 -151
  1066. package/out/server/event.js.map +0 -1
  1067. package/out/server/extendBaseNode.d.ts +0 -1
  1068. package/out/server/extendBaseNode.js +0 -544
  1069. package/out/server/extendBaseNode.js.map +0 -1
  1070. package/out/server/formatTsUtils.d.ts +0 -37
  1071. package/out/server/formatTsUtils.js +0 -852
  1072. package/out/server/formatTsUtils.js.map +0 -1
  1073. package/out/server/getConnector.d.ts +0 -14
  1074. package/out/server/getConnector.js +0 -78
  1075. package/out/server/getConnector.js.map +0 -1
  1076. package/out/server/getExtensionModules.d.ts +0 -3
  1077. package/out/server/getExtensionModules.js +0 -34
  1078. package/out/server/getExtensionModules.js.map +0 -1
  1079. package/out/server/getFunctions.d.ts +0 -3
  1080. package/out/server/getFunctions.js +0 -20
  1081. package/out/server/getFunctions.js.map +0 -1
  1082. package/out/server/getInterfaces.d.ts +0 -2
  1083. package/out/server/getInterfaces.js +0 -48
  1084. package/out/server/getInterfaces.js.map +0 -1
  1085. package/out/server/getLogging.d.ts +0 -1
  1086. package/out/server/getLogging.js +0 -9
  1087. package/out/server/getLogging.js.map +0 -1
  1088. package/out/server/getLogics.d.ts +0 -4
  1089. package/out/server/getLogics.js +0 -381
  1090. package/out/server/getLogics.js.map +0 -1
  1091. package/out/server/getMemberIdentifier.d.ts +0 -17
  1092. package/out/server/getMemberIdentifier.js +0 -482
  1093. package/out/server/getMemberIdentifier.js.map +0 -1
  1094. package/out/server/getProcessComponents.d.ts +0 -2
  1095. package/out/server/getProcessComponents.js +0 -13
  1096. package/out/server/getProcessComponents.js.map +0 -1
  1097. package/out/server/getProcesses.d.ts +0 -33
  1098. package/out/server/getProcesses.js +0 -597
  1099. package/out/server/getProcesses.js.map +0 -1
  1100. package/out/server/getScope.d.ts +0 -13
  1101. package/out/server/getScope.js +0 -61
  1102. package/out/server/getScope.js.map +0 -1
  1103. package/out/server/getValidates.d.ts +0 -3
  1104. package/out/server/getValidates.js +0 -14
  1105. package/out/server/getValidates.js.map +0 -1
  1106. package/out/server/index.d.ts +0 -5
  1107. package/out/server/index.js +0 -42
  1108. package/out/server/index.js.map +0 -1
  1109. package/out/server/naslServer.d.ts +0 -381
  1110. package/out/server/naslServer.js +0 -4591
  1111. package/out/server/naslServer.js.map +0 -1
  1112. package/out/server/naslStdlibMap.d.ts +0 -2
  1113. package/out/server/naslStdlibMap.js +0 -54
  1114. package/out/server/naslStdlibMap.js.map +0 -1
  1115. package/out/server/process2LogicNamespace.d.ts +0 -26
  1116. package/out/server/process2LogicNamespace.js +0 -109
  1117. package/out/server/process2LogicNamespace.js.map +0 -1
  1118. package/out/server/translator.d.ts +0 -26
  1119. package/out/server/translator.js +0 -806
  1120. package/out/server/translator.js.map +0 -1
  1121. package/out/service/creator/add.configs.d.ts +0 -1
  1122. package/out/service/creator/add.configs.js +0 -100
  1123. package/out/service/creator/add.configs.js.map +0 -1
  1124. package/out/service/creator/errHandles.d.ts +0 -18
  1125. package/out/service/creator/errHandles.js +0 -68
  1126. package/out/service/creator/errHandles.js.map +0 -1
  1127. package/out/service/creator/index.d.ts +0 -1
  1128. package/out/service/creator/index.js +0 -87
  1129. package/out/service/creator/index.js.map +0 -1
  1130. package/out/service/datasource/api.d.ts +0 -12
  1131. package/out/service/datasource/api.js +0 -14
  1132. package/out/service/datasource/api.js.map +0 -1
  1133. package/out/service/datasource/index.d.ts +0 -2
  1134. package/out/service/datasource/index.js +0 -10
  1135. package/out/service/datasource/index.js.map +0 -1
  1136. package/out/service/defaultErrorMessage.json +0 -98
  1137. package/out/service/logic/api.d.ts +0 -9
  1138. package/out/service/logic/api.js +0 -11
  1139. package/out/service/logic/api.js.map +0 -1
  1140. package/out/service/logic/checktypeSocket.d.ts +0 -5
  1141. package/out/service/logic/checktypeSocket.js +0 -55
  1142. package/out/service/logic/checktypeSocket.js.map +0 -1
  1143. package/out/service/logic/index.d.ts +0 -2
  1144. package/out/service/logic/index.js +0 -10
  1145. package/out/service/logic/index.js.map +0 -1
  1146. package/out/service/storage/api.d.ts +0 -54
  1147. package/out/service/storage/api.js +0 -42
  1148. package/out/service/storage/api.js.map +0 -1
  1149. package/out/service/storage/index.d.ts +0 -2
  1150. package/out/service/storage/index.js +0 -10
  1151. package/out/service/storage/index.js.map +0 -1
  1152. package/out/service/storage/init.d.ts +0 -82
  1153. package/out/service/storage/init.js +0 -851
  1154. package/out/service/storage/init.js.map +0 -1
  1155. package/out/service/storage/jsoner.d.ts +0 -36
  1156. package/out/service/storage/jsoner.js +0 -129
  1157. package/out/service/storage/jsoner.js.map +0 -1
  1158. package/out/service/storage/map.d.ts +0 -4
  1159. package/out/service/storage/map.js +0 -54
  1160. package/out/service/storage/map.js.map +0 -1
  1161. package/out/service/storage/service.d.ts +0 -25
  1162. package/out/service/storage/service.js +0 -80
  1163. package/out/service/storage/service.js.map +0 -1
  1164. package/out/service/storage/storagePoint.d.ts +0 -17
  1165. package/out/service/storage/storagePoint.js +0 -76
  1166. package/out/service/storage/storagePoint.js.map +0 -1
  1167. package/out/service/video/BaseService.d.ts +0 -7
  1168. package/out/service/video/BaseService.js +0 -61
  1169. package/out/service/video/BaseService.js.map +0 -1
  1170. package/out/service/video/MainCallbackService.d.ts +0 -12
  1171. package/out/service/video/MainCallbackService.js +0 -183
  1172. package/out/service/video/MainCallbackService.js.map +0 -1
  1173. package/out/service/video/VideoTranscribe.d.ts +0 -15
  1174. package/out/service/video/VideoTranscribe.js +0 -96
  1175. package/out/service/video/VideoTranscribe.js.map +0 -1
  1176. package/out/service/video/publishService.d.ts +0 -1
  1177. package/out/service/video/publishService.js +0 -58
  1178. package/out/service/video/publishService.js.map +0 -1
  1179. package/out/templator/genCallComponentLogic.d.ts +0 -17
  1180. package/out/templator/genCallComponentLogic.js +0 -29
  1181. package/out/templator/genCallComponentLogic.js.map +0 -1
  1182. package/out/templator/genCreateBlock.d.ts +0 -10
  1183. package/out/templator/genCreateBlock.js +0 -343
  1184. package/out/templator/genCreateBlock.js.map +0 -1
  1185. package/out/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
  1186. package/out/templator/genCurdEditMultipleKeyBlock.js +0 -527
  1187. package/out/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
  1188. package/out/templator/genCurdMultipleKeyBlock.d.ts +0 -34
  1189. package/out/templator/genCurdMultipleKeyBlock.js +0 -704
  1190. package/out/templator/genCurdMultipleKeyBlock.js.map +0 -1
  1191. package/out/templator/genEditTableBlock.d.ts +0 -51
  1192. package/out/templator/genEditTableBlock.js +0 -326
  1193. package/out/templator/genEditTableBlock.js.map +0 -1
  1194. package/out/templator/genEnumSelectBlock.d.ts +0 -10
  1195. package/out/templator/genEnumSelectBlock.js +0 -26
  1196. package/out/templator/genEnumSelectBlock.js.map +0 -1
  1197. package/out/templator/genGetBlock.d.ts +0 -6
  1198. package/out/templator/genGetBlock.js +0 -138
  1199. package/out/templator/genGetBlock.js.map +0 -1
  1200. package/out/templator/genGridViewBlock.d.ts +0 -55
  1201. package/out/templator/genGridViewBlock.js +0 -359
  1202. package/out/templator/genGridViewBlock.js.map +0 -1
  1203. package/out/templator/genListViewBlock.d.ts +0 -19
  1204. package/out/templator/genListViewBlock.js +0 -148
  1205. package/out/templator/genListViewBlock.js.map +0 -1
  1206. package/out/templator/genQueryComponent.d.ts +0 -34
  1207. package/out/templator/genQueryComponent.js +0 -349
  1208. package/out/templator/genQueryComponent.js.map +0 -1
  1209. package/out/templator/genSelectBlock.d.ts +0 -45
  1210. package/out/templator/genSelectBlock.js +0 -388
  1211. package/out/templator/genSelectBlock.js.map +0 -1
  1212. package/out/templator/genTableBlock.d.ts +0 -53
  1213. package/out/templator/genTableBlock.js +0 -304
  1214. package/out/templator/genTableBlock.js.map +0 -1
  1215. package/out/templator/genUpdateBlock.d.ts +0 -6
  1216. package/out/templator/genUpdateBlock.js +0 -385
  1217. package/out/templator/genUpdateBlock.js.map +0 -1
  1218. package/out/templator/index.d.ts +0 -19
  1219. package/out/templator/index.js +0 -38
  1220. package/out/templator/index.js.map +0 -1
  1221. package/out/templator/utils.d.ts +0 -683
  1222. package/out/templator/utils.js +0 -459
  1223. package/out/templator/utils.js.map +0 -1
  1224. package/out/translator/constant.d.ts +0 -6
  1225. package/out/translator/constant.js +0 -10
  1226. package/out/translator/constant.js.map +0 -1
  1227. package/out/translator/index.d.ts +0 -3
  1228. package/out/translator/index.js +0 -20
  1229. package/out/translator/index.js.map +0 -1
  1230. package/out/translator/types.d.ts +0 -33
  1231. package/out/translator/types.js +0 -3
  1232. package/out/translator/types.js.map +0 -1
  1233. package/out/translator/utils.d.ts +0 -17
  1234. package/out/translator/utils.js +0 -111
  1235. package/out/translator/utils.js.map +0 -1
  1236. package/out/utils/cookie.d.ts +0 -9
  1237. package/out/utils/cookie.js +0 -62
  1238. package/out/utils/cookie.js.map +0 -1
  1239. package/out/utils/env.d.ts +0 -2
  1240. package/out/utils/env.js +0 -6
  1241. package/out/utils/env.js.map +0 -1
  1242. package/out/utils/index.d.ts +0 -43
  1243. package/out/utils/index.js +0 -188
  1244. package/out/utils/index.js.map +0 -1
  1245. package/out/utils/logger.d.ts +0 -7
  1246. package/out/utils/logger.js +0 -23
  1247. package/out/utils/logger.js.map +0 -1
  1248. package/out/utils/sortTsString.d.ts +0 -1
  1249. package/out/utils/sortTsString.js +0 -38
  1250. package/out/utils/sortTsString.js.map +0 -1
  1251. package/out/utils/string.d.ts +0 -51
  1252. package/out/utils/string.js +0 -107
  1253. package/out/utils/string.js.map +0 -1
  1254. package/out/utils/time-slicing.d.ts +0 -41
  1255. package/out/utils/time-slicing.js +0 -82
  1256. package/out/utils/time-slicing.js.map +0 -1
  1257. package/out/utils/traverse.d.ts +0 -36
  1258. package/out/utils/traverse.js +0 -143
  1259. package/out/utils/traverse.js.map +0 -1
  1260. package/out/utils/types.d.ts +0 -1
  1261. package/out/utils/types.js +0 -3
  1262. package/out/utils/types.js.map +0 -1
  1263. package/out/utils/window.d.ts +0 -7
  1264. package/out/utils/window.js +0 -14
  1265. package/out/utils/window.js.map +0 -1
@@ -33,6 +33,7 @@ export class Connector extends Module {
33
33
  /**
34
34
  * 产品概念
35
35
  */
36
+ @property('concept')
36
37
  // @ts-ignore
37
38
  readonly concept!: 'Connector';
38
39
 
@@ -1094,11 +1095,15 @@ export class Connector extends Module {
1094
1095
  };
1095
1096
  if (parentKey) {
1096
1097
  params.parentKey = parentKey;
1097
- if (Array.isArray((this as any)[parentKey])) {
1098
- const index = (this as any)[parentKey].indexOf(param);
1098
+ // @ts-ignore
1099
+ const t = this.__v_raw || this;
1100
+ // @ts-ignore
1101
+ const n = param.__v_raw || param;
1102
+ if (Array.isArray((t as any)[parentKey])) {
1103
+ const index = (t as any)[parentKey].indexOf(n);
1099
1104
  ~index && (this as any)[parentKey].splice(index, 1);
1100
1105
  params.index = index;
1101
- } else if ((this as any)[parentKey] === param) {
1106
+ } else if ((t as any)[parentKey] === n) {
1102
1107
  params.index = 0;
1103
1108
  (this as any)[parentKey] = undefined;
1104
1109
  }
@@ -1192,11 +1197,15 @@ export class Connector extends Module {
1192
1197
  };
1193
1198
  if (parentKey) {
1194
1199
  params.parentKey = parentKey;
1195
- if (Array.isArray((this as any)[parentKey])) {
1196
- const index = (this as any)[parentKey].indexOf(logic);
1200
+ // @ts-ignore
1201
+ const t = this.__v_raw || this;
1202
+ // @ts-ignore
1203
+ const n = logic.__v_raw || logic;
1204
+ if (Array.isArray((t as any)[parentKey])) {
1205
+ const index = (t as any)[parentKey].indexOf(n);
1197
1206
  ~index && (this as any)[parentKey].splice(index, 1);
1198
1207
  params.index = index;
1199
- } else if ((this as any)[parentKey] === logic) {
1208
+ } else if ((t as any)[parentKey] === n) {
1200
1209
  params.index = 0;
1201
1210
  (this as any)[parentKey] = undefined;
1202
1211
  }
@@ -1240,11 +1249,15 @@ export class Connector extends Module {
1240
1249
  };
1241
1250
  if (parentKey) {
1242
1251
  params.parentKey = parentKey;
1243
- if (Array.isArray((this as any)[parentKey])) {
1244
- const index = (this as any)[parentKey].indexOf(connectorTrigger);
1252
+ // @ts-ignore
1253
+ const t = this.__v_raw || this;
1254
+ // @ts-ignore
1255
+ const n = connectorTrigger.__v_raw || connectorTrigger;
1256
+ if (Array.isArray((t as any)[parentKey])) {
1257
+ const index = (t as any)[parentKey].indexOf(n);
1245
1258
  ~index && (this as any)[parentKey].splice(index, 1);
1246
1259
  params.index = index;
1247
- } else if ((this as any)[parentKey] === connectorTrigger) {
1260
+ } else if ((t as any)[parentKey] === n) {
1248
1261
  params.index = 0;
1249
1262
  (this as any)[parentKey] = undefined;
1250
1263
  }
@@ -1288,11 +1301,15 @@ export class Connector extends Module {
1288
1301
  };
1289
1302
  if (parentKey) {
1290
1303
  params.parentKey = parentKey;
1291
- if (Array.isArray((this as any)[parentKey])) {
1292
- const index = (this as any)[parentKey].indexOf(structure);
1304
+ // @ts-ignore
1305
+ const t = this.__v_raw || this;
1306
+ // @ts-ignore
1307
+ const n = structure.__v_raw || structure;
1308
+ if (Array.isArray((t as any)[parentKey])) {
1309
+ const index = (t as any)[parentKey].indexOf(n);
1293
1310
  ~index && (this as any)[parentKey].splice(index, 1);
1294
1311
  params.index = index;
1295
- } else if ((this as any)[parentKey] === structure) {
1312
+ } else if ((t as any)[parentKey] === n) {
1296
1313
  params.index = 0;
1297
1314
  (this as any)[parentKey] = undefined;
1298
1315
  }
@@ -1336,11 +1353,15 @@ export class Connector extends Module {
1336
1353
  };
1337
1354
  if (parentKey) {
1338
1355
  params.parentKey = parentKey;
1339
- if (Array.isArray((this as any)[parentKey])) {
1340
- const index = (this as any)[parentKey].indexOf(namespace);
1356
+ // @ts-ignore
1357
+ const t = this.__v_raw || this;
1358
+ // @ts-ignore
1359
+ const n = namespace.__v_raw || namespace;
1360
+ if (Array.isArray((t as any)[parentKey])) {
1361
+ const index = (t as any)[parentKey].indexOf(n);
1341
1362
  ~index && (this as any)[parentKey].splice(index, 1);
1342
1363
  params.index = index;
1343
- } else if ((this as any)[parentKey] === namespace) {
1364
+ } else if ((t as any)[parentKey] === n) {
1344
1365
  params.index = 0;
1345
1366
  (this as any)[parentKey] = undefined;
1346
1367
  }
@@ -33,6 +33,7 @@ export class Constant extends BaseNode {
33
33
  /**
34
34
  * 产品概念
35
35
  */
36
+ @property('concept')
36
37
  // @ts-ignore
37
38
  readonly concept!: 'Constant';
38
39
 
@@ -210,11 +211,15 @@ export class Constant extends BaseNode {
210
211
  };
211
212
  if (parentKey) {
212
213
  params.parentKey = parentKey;
213
- if (Array.isArray((this as any)[parentKey])) {
214
- const index = (this as any)[parentKey].indexOf(typeAnnotation);
214
+ // @ts-ignore
215
+ const t = this.__v_raw || this;
216
+ // @ts-ignore
217
+ const n = typeAnnotation.__v_raw || typeAnnotation;
218
+ if (Array.isArray((t as any)[parentKey])) {
219
+ const index = (t as any)[parentKey].indexOf(n);
215
220
  ~index && (this as any)[parentKey].splice(index, 1);
216
221
  params.index = index;
217
- } else if ((this as any)[parentKey] === typeAnnotation) {
222
+ } else if ((t as any)[parentKey] === n) {
218
223
  params.index = 0;
219
224
  (this as any)[parentKey] = undefined;
220
225
  }
@@ -28,6 +28,7 @@ export class DataSource extends BaseNode {
28
28
  /**
29
29
  * 产品概念
30
30
  */
31
+ @property('concept')
31
32
  // @ts-ignore
32
33
  readonly concept!: 'DataSource';
33
34
 
@@ -296,11 +297,15 @@ export class DataSource extends BaseNode {
296
297
  };
297
298
  if (parentKey) {
298
299
  params.parentKey = parentKey;
299
- if (Array.isArray((this as any)[parentKey])) {
300
- const index = (this as any)[parentKey].indexOf(entity);
300
+ // @ts-ignore
301
+ const t = this.__v_raw || this;
302
+ // @ts-ignore
303
+ const n = entity.__v_raw || entity;
304
+ if (Array.isArray((t as any)[parentKey])) {
305
+ const index = (t as any)[parentKey].indexOf(n);
301
306
  ~index && (this as any)[parentKey].splice(index, 1);
302
307
  params.index = index;
303
- } else if ((this as any)[parentKey] === entity) {
308
+ } else if ((t as any)[parentKey] === n) {
304
309
  params.index = 0;
305
310
  (this as any)[parentKey] = undefined;
306
311
  }
@@ -22,6 +22,7 @@ export class DatabaseTypeAnnotation extends BaseNode {
22
22
  /**
23
23
  * 产品概念
24
24
  */
25
+ @property('concept')
25
26
  // @ts-ignore
26
27
  readonly concept!: 'DatabaseTypeAnnotation';
27
28
 
@@ -31,6 +31,7 @@ export class Destination extends LogicItem {
31
31
  /**
32
32
  * 产品概念
33
33
  */
34
+ @property('concept')
34
35
  // @ts-ignore
35
36
  readonly concept!: 'Destination';
36
37
 
@@ -284,11 +285,15 @@ export class Destination extends LogicItem {
284
285
  };
285
286
  if (parentKey) {
286
287
  params.parentKey = parentKey;
287
- if (Array.isArray((this as any)[parentKey])) {
288
- const index = (this as any)[parentKey].indexOf(logicItem);
288
+ // @ts-ignore
289
+ const t = this.__v_raw || this;
290
+ // @ts-ignore
291
+ const n = logicItem.__v_raw || logicItem;
292
+ if (Array.isArray((t as any)[parentKey])) {
293
+ const index = (t as any)[parentKey].indexOf(n);
289
294
  ~index && (this as any)[parentKey].splice(index, 1);
290
295
  params.index = index;
291
- } else if ((this as any)[parentKey] === logicItem) {
296
+ } else if ((t as any)[parentKey] === n) {
292
297
  params.index = 0;
293
298
  (this as any)[parentKey] = undefined;
294
299
  }
@@ -747,7 +752,6 @@ export class Destination extends LogicItem {
747
752
  return code;
748
753
  }
749
754
 
750
-
751
755
  @withSourceMap()
752
756
  toNaturalTS(state = createCompilerState()): string {
753
757
  let code = '';
@@ -26,6 +26,7 @@ export class End extends LogicItem {
26
26
  /**
27
27
  * 产品概念
28
28
  */
29
+ @property('concept')
29
30
  // @ts-ignore
30
31
  readonly concept!: 'End';
31
32
 
@@ -30,6 +30,7 @@ export class EntityIndex extends BaseNode {
30
30
  /**
31
31
  * 产品概念
32
32
  */
33
+ @property('concept')
33
34
  // @ts-ignore
34
35
  readonly concept!: 'EntityIndex';
35
36
 
@@ -34,6 +34,7 @@ export class EntityProperty extends BaseNode {
34
34
  /**
35
35
  * 产品概念
36
36
  */
37
+ @property('concept')
37
38
  // @ts-ignore
38
39
  readonly concept!: 'EntityProperty';
39
40
 
@@ -336,11 +337,15 @@ export class EntityProperty extends BaseNode {
336
337
  };
337
338
  if (parentKey) {
338
339
  params.parentKey = parentKey;
339
- if (Array.isArray((this as any)[parentKey])) {
340
- const index = (this as any)[parentKey].indexOf(typeAnnotation);
340
+ // @ts-ignore
341
+ const t = this.__v_raw || this;
342
+ // @ts-ignore
343
+ const n = typeAnnotation.__v_raw || typeAnnotation;
344
+ if (Array.isArray((t as any)[parentKey])) {
345
+ const index = (t as any)[parentKey].indexOf(n);
341
346
  ~index && (this as any)[parentKey].splice(index, 1);
342
347
  params.index = index;
343
- } else if ((this as any)[parentKey] === typeAnnotation) {
348
+ } else if ((t as any)[parentKey] === n) {
344
349
  params.index = 0;
345
350
  (this as any)[parentKey] = undefined;
346
351
  }
@@ -384,11 +389,15 @@ export class EntityProperty extends BaseNode {
384
389
  };
385
390
  if (parentKey) {
386
391
  params.parentKey = parentKey;
387
- if (Array.isArray((this as any)[parentKey])) {
388
- const index = (this as any)[parentKey].indexOf(databaseTypeAnnotation);
392
+ // @ts-ignore
393
+ const t = this.__v_raw || this;
394
+ // @ts-ignore
395
+ const n = databaseTypeAnnotation.__v_raw || databaseTypeAnnotation;
396
+ if (Array.isArray((t as any)[parentKey])) {
397
+ const index = (t as any)[parentKey].indexOf(n);
389
398
  ~index && (this as any)[parentKey].splice(index, 1);
390
399
  params.index = index;
391
- } else if ((this as any)[parentKey] === databaseTypeAnnotation) {
400
+ } else if ((t as any)[parentKey] === n) {
392
401
  params.index = 0;
393
402
  (this as any)[parentKey] = undefined;
394
403
  }
@@ -754,8 +763,15 @@ export class EntityProperty extends BaseNode {
754
763
  get databaseTypeInfo() {
755
764
  const dataSourceSqlType = (this.getAncestor('DataSource') as DataSource)?.dataSourceSqlType;
756
765
  const databaseTypeMap = this.app?.__databaseTypeMap?.[dataSourceSqlType] || {};
757
- const { typeKind, typeName, typeNamespace } = this?.typeAnnotation || {};
766
+ let { typeKind, typeName, typeNamespace } = this?.typeAnnotation || {};
758
767
  let databaseTypeInfo;
768
+ const items = this.typeAnnotation;
769
+ if (items?.typeNamespace?.endsWith('.metadataTypes')) {
770
+ const referenceNode = (this.getAncestor('App') as App).findNodeByCompleteName(items.typeNamespace + '.' + items.typeName)?.typeAnnotation || {};
771
+ typeKind = referenceNode.typeKind;
772
+ typeName = referenceNode.typeName;
773
+ typeNamespace = referenceNode.typeNamespace;
774
+ }
759
775
  if (typeNamespace?.endsWith('.enums')) {
760
776
  databaseTypeInfo = databaseTypeMap.enum;
761
777
  } else {
@@ -31,6 +31,7 @@ export class Entity extends BaseNode {
31
31
  /**
32
32
  * 产品概念
33
33
  */
34
+ @property('concept')
34
35
  // @ts-ignore
35
36
  readonly concept!: 'Entity';
36
37
 
@@ -478,11 +479,15 @@ export class Entity extends BaseNode {
478
479
  };
479
480
  if (parentKey) {
480
481
  params.parentKey = parentKey;
481
- if (Array.isArray((this as any)[parentKey])) {
482
- const index = (this as any)[parentKey].indexOf(property);
482
+ // @ts-ignore
483
+ const t = this.__v_raw || this;
484
+ // @ts-ignore
485
+ const n = property.__v_raw || property;
486
+ if (Array.isArray((t as any)[parentKey])) {
487
+ const index = (t as any)[parentKey].indexOf(n);
483
488
  ~index && (this as any)[parentKey].splice(index, 1);
484
489
  params.index = index;
485
- } else if ((this as any)[parentKey] === property) {
490
+ } else if ((t as any)[parentKey] === n) {
486
491
  params.index = 0;
487
492
  (this as any)[parentKey] = undefined;
488
493
  }
@@ -526,11 +531,15 @@ export class Entity extends BaseNode {
526
531
  };
527
532
  if (parentKey) {
528
533
  params.parentKey = parentKey;
529
- if (Array.isArray((this as any)[parentKey])) {
530
- const index = (this as any)[parentKey].indexOf(entityIndex);
534
+ // @ts-ignore
535
+ const t = this.__v_raw || this;
536
+ // @ts-ignore
537
+ const n = entityIndex.__v_raw || entityIndex;
538
+ if (Array.isArray((t as any)[parentKey])) {
539
+ const index = (t as any)[parentKey].indexOf(n);
531
540
  ~index && (this as any)[parentKey].splice(index, 1);
532
541
  params.index = index;
533
- } else if ((this as any)[parentKey] === entityIndex) {
542
+ } else if ((t as any)[parentKey] === n) {
534
543
  params.index = 0;
535
544
  (this as any)[parentKey] = undefined;
536
545
  }
@@ -26,6 +26,7 @@ export class EnumItem extends BaseNode {
26
26
  /**
27
27
  * 产品概念
28
28
  */
29
+ @property('concept')
29
30
  // @ts-ignore
30
31
  readonly concept!: 'EnumItem';
31
32
 
@@ -28,6 +28,7 @@ export class Enum extends BaseNode {
28
28
  /**
29
29
  * 产品概念
30
30
  */
31
+ @property('concept')
31
32
  // @ts-ignore
32
33
  readonly concept!: 'Enum';
33
34
 
@@ -254,11 +255,15 @@ export class Enum extends BaseNode {
254
255
  };
255
256
  if (parentKey) {
256
257
  params.parentKey = parentKey;
257
- if (Array.isArray((this as any)[parentKey])) {
258
- const index = (this as any)[parentKey].indexOf(enumItem);
258
+ // @ts-ignore
259
+ const t = this.__v_raw || this;
260
+ // @ts-ignore
261
+ const n = enumItem.__v_raw || enumItem;
262
+ if (Array.isArray((t as any)[parentKey])) {
263
+ const index = (t as any)[parentKey].indexOf(n);
259
264
  ~index && (this as any)[parentKey].splice(index, 1);
260
265
  params.index = index;
261
- } else if ((this as any)[parentKey] === enumItem) {
266
+ } else if ((t as any)[parentKey] === n) {
262
267
  params.index = 0;
263
268
  (this as any)[parentKey] = undefined;
264
269
  }
@@ -26,6 +26,7 @@ export class Event extends BaseNode {
26
26
  /**
27
27
  * 产品概念
28
28
  */
29
+ @property('concept')
29
30
  // @ts-ignore
30
31
  readonly concept!: 'Event';
31
32
 
@@ -303,11 +304,15 @@ export class Event extends BaseNode {
303
304
  };
304
305
  if (parentKey) {
305
306
  params.parentKey = parentKey;
306
- if (Array.isArray((this as any)[parentKey])) {
307
- const index = (this as any)[parentKey].indexOf(param);
307
+ // @ts-ignore
308
+ const t = this.__v_raw || this;
309
+ // @ts-ignore
310
+ const n = param.__v_raw || param;
311
+ if (Array.isArray((t as any)[parentKey])) {
312
+ const index = (t as any)[parentKey].indexOf(n);
308
313
  ~index && (this as any)[parentKey].splice(index, 1);
309
314
  params.index = index;
310
- } else if ((this as any)[parentKey] === param) {
315
+ } else if ((t as any)[parentKey] === n) {
311
316
  params.index = 0;
312
317
  (this as any)[parentKey] = undefined;
313
318
  }
@@ -29,6 +29,7 @@ export class ExternalDestination extends LogicItem {
29
29
  /**
30
30
  * 产品概念
31
31
  */
32
+ @property('concept')
32
33
  // @ts-ignore
33
34
  readonly concept!: 'ExternalDestination';
34
35
 
@@ -168,11 +169,15 @@ export class ExternalDestination extends LogicItem {
168
169
  };
169
170
  if (parentKey) {
170
171
  params.parentKey = parentKey;
171
- if (Array.isArray((this as any)[parentKey])) {
172
- const index = (this as any)[parentKey].indexOf(logicItem);
172
+ // @ts-ignore
173
+ const t = this.__v_raw || this;
174
+ // @ts-ignore
175
+ const n = logicItem.__v_raw || logicItem;
176
+ if (Array.isArray((t as any)[parentKey])) {
177
+ const index = (t as any)[parentKey].indexOf(n);
173
178
  ~index && (this as any)[parentKey].splice(index, 1);
174
179
  params.index = index;
175
- } else if ((this as any)[parentKey] === logicItem) {
180
+ } else if ((t as any)[parentKey] === n) {
176
181
  params.index = 0;
177
182
  (this as any)[parentKey] = undefined;
178
183
  }
@@ -1,4 +1,3 @@
1
- import { v4 as uuidv4 } from 'uuid';
2
1
  import { TranslatorState, shiftState, withSourceMap, indent, createCompilerState } from '../translator';
3
2
  import TypeAnnotation from './TypeAnnotation__';
4
3
  import Identifier from './Identifier__';
@@ -12,6 +11,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
12
11
  import { concept, excludedInJSON, property, className } from '../decorators';
13
12
 
14
13
  import * as utils from '../utils';
14
+ import { v4 as uuidv4 } from 'uuid';
15
15
  import BaseNode from '../common/BaseNode';
16
16
  import LogicItem from './LogicItem__';
17
17
  import Param from './Param__';
@@ -29,6 +29,7 @@ export class ForEachStatement extends LogicItem {
29
29
  /**
30
30
  * 产品概念
31
31
  */
32
+ @property('concept')
32
33
  // @ts-ignore
33
34
  readonly concept!: 'ForEachStatement';
34
35
 
@@ -77,7 +78,7 @@ export class ForEachStatement extends LogicItem {
77
78
  * @param source 需要合并的部分参数
78
79
  */
79
80
  constructor(source?: Partial<ForEachStatement>) {
80
- source = { ...ForEachStatement.getDefaultOptions(), ...source};
81
+ source = Object.assign({}, ForEachStatement.getDefaultOptions(), source);
81
82
  super(source);
82
83
  super.subConstructor(source);
83
84
  }
@@ -278,7 +279,7 @@ export class ForEachStatement extends LogicItem {
278
279
  if (typeof options === 'string') {
279
280
  each = this.each;
280
281
  if (!each) {
281
- throw new Error(`找不到逻辑项 ${ options}`);
282
+ throw new Error('找不到逻辑项 ' + options);
282
283
  }
283
284
  } else {
284
285
  each = options;
@@ -303,7 +304,7 @@ export class ForEachStatement extends LogicItem {
303
304
  if (typeof options === 'string') {
304
305
  start = this.start;
305
306
  if (!start) {
306
- throw new Error(`找不到逻辑项 ${ options}`);
307
+ throw new Error('找不到逻辑项 ' + options);
307
308
  }
308
309
  } else {
309
310
  start = options;
@@ -328,7 +329,7 @@ export class ForEachStatement extends LogicItem {
328
329
  if (typeof options === 'string') {
329
330
  end = this.end;
330
331
  if (!end) {
331
- throw new Error(`找不到逻辑项 ${ options}`);
332
+ throw new Error('找不到逻辑项 ' + options);
332
333
  }
333
334
  } else {
334
335
  end = options;
@@ -343,12 +344,12 @@ export class ForEachStatement extends LogicItem {
343
344
  removeItemInBody(logicItem: LogicItem): void;
344
345
 
345
346
  removeItemInBody(options: LogicItem) {
346
- const logicItem: LogicItem = options;
347
+ let logicItem: LogicItem = options;
347
348
  return logicItem.delete();
348
349
  }
349
350
 
350
351
  __removeLogicItem(logicItem: LogicItem) {
351
- const {parentKey} = logicItem;
352
+ const parentKey = logicItem.parentKey;
352
353
  const params: Params = {
353
354
  parentNode: this,
354
355
  parentKey,
@@ -358,11 +359,15 @@ export class ForEachStatement extends LogicItem {
358
359
  };
359
360
  if (parentKey) {
360
361
  params.parentKey = parentKey;
361
- if (Array.isArray((this as any)[parentKey])) {
362
- const index = (this as any)[parentKey].indexOf(logicItem);
362
+ // @ts-ignore
363
+ const t = this.__v_raw || this;
364
+ // @ts-ignore
365
+ const n = logicItem.__v_raw || logicItem;
366
+ if (Array.isArray((t as any)[parentKey])) {
367
+ const index = (t as any)[parentKey].indexOf(n);
363
368
  ~index && (this as any)[parentKey].splice(index, 1);
364
369
  params.index = index;
365
- } else if ((this as any)[parentKey] === logicItem) {
370
+ } else if ((t as any)[parentKey] === n) {
366
371
  params.index = 0;
367
372
  (this as any)[parentKey] = undefined;
368
373
  }
@@ -387,7 +392,7 @@ export class ForEachStatement extends LogicItem {
387
392
  if (typeof options === 'string') {
388
393
  item = this.item;
389
394
  if (!item) {
390
- throw new Error(`找不到输入参数 ${ options}`);
395
+ throw new Error('找不到输入参数 ' + options);
391
396
  }
392
397
  } else {
393
398
  item = options;
@@ -412,7 +417,7 @@ export class ForEachStatement extends LogicItem {
412
417
  if (typeof options === 'string') {
413
418
  index = this.index;
414
419
  if (!index) {
415
- throw new Error(`找不到输入参数 ${ options}`);
420
+ throw new Error('找不到输入参数 ' + options);
416
421
  }
417
422
  } else {
418
423
  index = options;
@@ -421,7 +426,7 @@ export class ForEachStatement extends LogicItem {
421
426
  }
422
427
 
423
428
  __removeParam(param: Param) {
424
- const {parentKey} = param;
429
+ const parentKey = param.parentKey;
425
430
  const params: Params = {
426
431
  parentNode: this,
427
432
  parentKey,
@@ -431,11 +436,15 @@ export class ForEachStatement extends LogicItem {
431
436
  };
432
437
  if (parentKey) {
433
438
  params.parentKey = parentKey;
434
- if (Array.isArray((this as any)[parentKey])) {
435
- const index = (this as any)[parentKey].indexOf(param);
439
+ // @ts-ignore
440
+ const t = this.__v_raw || this;
441
+ // @ts-ignore
442
+ const n = param.__v_raw || param;
443
+ if (Array.isArray((t as any)[parentKey])) {
444
+ const index = (t as any)[parentKey].indexOf(n);
436
445
  ~index && (this as any)[parentKey].splice(index, 1);
437
446
  params.index = index;
438
- } else if ((this as any)[parentKey] === param) {
447
+ } else if ((t as any)[parentKey] === n) {
439
448
  params.index = 0;
440
449
  (this as any)[parentKey] = undefined;
441
450
  }
@@ -518,12 +527,11 @@ export class ForEachStatement extends LogicItem {
518
527
  code += `const ${this.item.name} = $forEachListVariable${number}[${this.index.name}];\n`;
519
528
  if (Array.isArray(this.body)) {
520
529
  this.body.forEach((logicItem) => {
521
- code +=
522
- `${logicItem.toJS(
523
- shiftState(state, code, {
524
- tabSize: 0,
525
- }),
526
- ) }\n`;
530
+ code += `${logicItem.toJS(
531
+ shiftState(state, code, {
532
+ tabSize: 0,
533
+ }),
534
+ )}\n`;
527
535
  });
528
536
  }
529
537
  code += '}\n';
@@ -553,15 +561,14 @@ export class ForEachStatement extends LogicItem {
553
561
  code += ') => {\n';
554
562
  if (Array.isArray(this.body)) {
555
563
  this.body.forEach((logicItem) => {
556
- code +=
557
- `${logicItem.toEmbeddedTS(
558
- shiftState(state, code, {
559
- tabSize: (state?.tabSize || 0) + 1,
560
- }),
561
- ) };\n`;
564
+ code += `${logicItem.toEmbeddedTS(
565
+ shiftState(state, code, {
566
+ tabSize: (state?.tabSize || 0) + 1,
567
+ }),
568
+ )};\n`;
562
569
  });
563
570
  }
564
- code += `${indent(state?.tabSize || 0) }})\n`;
571
+ code += `${indent(state?.tabSize || 0)}})\n`;
565
572
 
566
573
  return code;
567
574
  }
@@ -571,10 +578,10 @@ export class ForEachStatement extends LogicItem {
571
578
  let code = '';
572
579
  code += this.each
573
580
  ? this.each.toNaturalTS(
574
- shiftState(state, code, {
575
- tabSize: 0,
576
- })
577
- )
581
+ shiftState(state, code, {
582
+ tabSize: 0,
583
+ }),
584
+ )
578
585
  : '__IDENTIFIER__';
579
586
  if (['NewList', 'NewMap'].includes(this.each?.concept)) code += '\n';
580
587
  code += '.__slice(';
@@ -600,18 +607,18 @@ export class ForEachStatement extends LogicItem {
600
607
  code += `${logicItem.toNaturalTS(
601
608
  shiftState(state, code, {
602
609
  tabSize: (state?.tabSize || 0) + 1,
603
- })
610
+ }),
604
611
  )};\n`;
605
612
  });
606
613
  if (state.focusedNodePath === `${this.nodePath}.body[${this.body.length}]`)
607
- code += `${indent(state.tabSize + 1)}// 当前位置\n`;
614
+ code += `${indent(state.tabSize + 1)}// 当前位置\n`;
608
615
  }
609
616
  code += `${indent(state?.tabSize || 0)}})\n`;
610
617
 
611
618
  return code;
612
619
  }
613
620
 
614
- //= ===============================================================================
621
+ //================================================================================
615
622
  // 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
616
623
  // ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
617
624
  //================================================================================