@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
@@ -48,6 +48,7 @@ import AuthLogic from './AuthLogic__';
48
48
  import AuthLogicForCallInterface from './AuthLogicForCallInterface__';
49
49
  import Connection from './Connection__';
50
50
  import TriggerLauncher from './TriggerLauncher__';
51
+ import MetadataType from './MetadataType__';
51
52
 
52
53
  /**
53
54
  * 应用
@@ -69,6 +70,7 @@ export class App extends BaseNode {
69
70
  /**
70
71
  * 产品概念
71
72
  */
73
+ @property('concept')
72
74
  // @ts-ignore
73
75
  readonly concept!: 'App';
74
76
 
@@ -237,6 +239,12 @@ export class App extends BaseNode {
237
239
  @property('TriggerLauncher')
238
240
  triggerLaunchers: Array<TriggerLauncher> = [];
239
241
 
242
+ /**
243
+ * 元数据类型列表
244
+ */
245
+ @property('MetadataType')
246
+ metadataTypes: Array<MetadataType> = [];
247
+
240
248
  /**
241
249
  * @param source 需要合并的部分参数
242
250
  */
@@ -427,7 +435,7 @@ export class App extends BaseNode {
427
435
 
428
436
  getStructureExistingNames(excludedList: Array<Structure> = []) {
429
437
  const excludedSet = new Set(excludedList);
430
- return ((this.structures as Structure[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
438
+ return ((this.structures as Structure[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
431
439
  }
432
440
  getStructureUniqueName(name = 'Structure1') {
433
441
  return utils.unique(name, this.getStructureExistingNames(), undefined, true);
@@ -580,7 +588,7 @@ export class App extends BaseNode {
580
588
 
581
589
  getEnumExistingNames(excludedList: Array<Enum> = []) {
582
590
  const excludedSet = new Set(excludedList);
583
- return ((this.enums as Enum[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
591
+ return ((this.enums as Enum[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
584
592
  }
585
593
  getEnumUniqueName(name = 'Enum1') {
586
594
  return utils.unique(name, this.getEnumExistingNames(), undefined, true);
@@ -733,7 +741,7 @@ export class App extends BaseNode {
733
741
 
734
742
  getLogicExistingNames(excludedList: Array<Logic> = []) {
735
743
  const excludedSet = new Set(excludedList);
736
- return ((this.logics as Logic[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
744
+ return ((this.logics as Logic[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
737
745
  }
738
746
  getLogicUniqueName(name = 'logic1') {
739
747
  return utils.unique(name, this.getLogicExistingNames(), undefined, true);
@@ -1033,7 +1041,7 @@ export class App extends BaseNode {
1033
1041
  const excludedSet = new Set(excludedList);
1034
1042
  return ((this.overriddenLogics as OverriddenLogic[]) || [])
1035
1043
  .filter((item) => !excludedSet.has(item))
1036
- .map((item) => item.name);
1044
+ .map((item) => item?.name);
1037
1045
  }
1038
1046
  getOverriddenLogicUniqueName(name = 'overriddenLogic1') {
1039
1047
  return utils.unique(name, this.getOverriddenLogicExistingNames(), undefined, true);
@@ -1186,7 +1194,7 @@ export class App extends BaseNode {
1186
1194
 
1187
1195
  getInterfaceExistingNames(excludedList: Array<Interface> = []) {
1188
1196
  const excludedSet = new Set(excludedList);
1189
- return ((this.interfaces as Interface[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1197
+ return ((this.interfaces as Interface[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
1190
1198
  }
1191
1199
  getInterfaceUniqueName(name = 'Interface1') {
1192
1200
  return utils.unique(name, this.getInterfaceExistingNames(), undefined, true);
@@ -1484,7 +1492,7 @@ export class App extends BaseNode {
1484
1492
 
1485
1493
  getFrontendExistingNames(excludedList: Array<Frontend> = []) {
1486
1494
  const excludedSet = new Set(excludedList);
1487
- return ((this.frontends as Frontend[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1495
+ return ((this.frontends as Frontend[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
1488
1496
  }
1489
1497
  getFrontendUniqueName(name = 'frontend1') {
1490
1498
  return utils.unique(name, this.getFrontendExistingNames(), undefined, true);
@@ -1637,7 +1645,7 @@ export class App extends BaseNode {
1637
1645
 
1638
1646
  getProcessExistingNames(excludedList: Array<Process> = []) {
1639
1647
  const excludedSet = new Set(excludedList);
1640
- return ((this.processes as Process[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1648
+ return ((this.processes as Process[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
1641
1649
  }
1642
1650
  getProcessUniqueName(name = 'Process1') {
1643
1651
  return utils.unique(name, this.getProcessExistingNames(), undefined, true);
@@ -1790,7 +1798,7 @@ export class App extends BaseNode {
1790
1798
 
1791
1799
  getRoleExistingNames(excludedList: Array<Role> = []) {
1792
1800
  const excludedSet = new Set(excludedList);
1793
- return ((this.roles as Role[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1801
+ return ((this.roles as Role[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
1794
1802
  }
1795
1803
  getRoleUniqueName(name = 'role1') {
1796
1804
  return utils.unique(name, this.getRoleExistingNames(), undefined, true);
@@ -1943,7 +1951,7 @@ export class App extends BaseNode {
1943
1951
 
1944
1952
  getModuleExistingNames(excludedList: Array<Module> = []) {
1945
1953
  const excludedSet = new Set(excludedList);
1946
- return ((this.dependencies as Module[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
1954
+ return ((this.dependencies as Module[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
1947
1955
  }
1948
1956
  getModuleUniqueName(name = 'module1') {
1949
1957
  return utils.unique(name, this.getModuleExistingNames(), undefined, false);
@@ -2388,7 +2396,7 @@ export class App extends BaseNode {
2388
2396
  const excludedSet = new Set(excludedList);
2389
2397
  return ((this.authLogicsForCallInterface as AuthLogicForCallInterface[]) || [])
2390
2398
  .filter((item) => !excludedSet.has(item))
2391
- .map((item) => item.name);
2399
+ .map((item) => item?.name);
2392
2400
  }
2393
2401
  getAuthLogicForCallInterfaceUniqueName(name = 'authLogicForCallInterface1') {
2394
2402
  return utils.unique(name, this.getAuthLogicForCallInterfaceExistingNames(), undefined, false);
@@ -2446,9 +2454,9 @@ export class App extends BaseNode {
2446
2454
  this,
2447
2455
  'authLogicsForCallInterface',
2448
2456
  );
2449
- } else if (options.concept === 'AuthLogicForCallInterface') {
2457
+ } else if (options instanceof AuthLogicForCallInterface) {
2450
2458
  options.ensureDelete(); // 同一实例不支持多处存在
2451
- authLogicForCallInterface = options as any;
2459
+ authLogicForCallInterface = options;
2452
2460
  Object.assign(authLogicForCallInterface, relationOptions);
2453
2461
  } else {
2454
2462
  authLogicForCallInterface = AuthLogicForCallInterface.from(
@@ -2563,7 +2571,9 @@ export class App extends BaseNode {
2563
2571
 
2564
2572
  getConnectionExistingNames(excludedList: Array<Connection> = []) {
2565
2573
  const excludedSet = new Set(excludedList);
2566
- return ((this.connections as Connection[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
2574
+ return ((this.connections as Connection[]) || [])
2575
+ .filter((item) => !excludedSet.has(item))
2576
+ .map((item) => item?.name);
2567
2577
  }
2568
2578
  getConnectionUniqueName(name = 'connection1') {
2569
2579
  return utils.unique(name, this.getConnectionExistingNames(), undefined, false);
@@ -2718,7 +2728,7 @@ export class App extends BaseNode {
2718
2728
  const excludedSet = new Set(excludedList);
2719
2729
  return ((this.triggerLaunchers as TriggerLauncher[]) || [])
2720
2730
  .filter((item) => !excludedSet.has(item))
2721
- .map((item) => item.name);
2731
+ .map((item) => item?.name);
2722
2732
  }
2723
2733
  getTriggerLauncherUniqueName(name = 'triggerLauncher1') {
2724
2734
  return utils.unique(name, this.getTriggerLauncherExistingNames(), undefined, false);
@@ -2869,6 +2879,161 @@ export class App extends BaseNode {
2869
2879
  return node;
2870
2880
  }
2871
2881
 
2882
+ getMetadataTypeExistingNames(excludedList: Array<MetadataType> = []) {
2883
+ const excludedSet = new Set(excludedList);
2884
+ return ((this.metadataTypes as MetadataType[]) || [])
2885
+ .filter((item) => !excludedSet.has(item))
2886
+ .map((item) => item.name);
2887
+ }
2888
+ getMetadataTypeUniqueName(name = 'MetadataType1') {
2889
+ return utils.unique(name, this.getMetadataTypeExistingNames(), undefined, true);
2890
+ }
2891
+
2892
+ /**
2893
+ * 插入元数据类型
2894
+ * @internal
2895
+ * @param name 元数据类型名称,如果不填会自动生成一个唯一名称
2896
+ */
2897
+ _insertMetadataTypeAt(name: string, index: number): MetadataType;
2898
+
2899
+ /**
2900
+ * 插入元数据类型
2901
+ * @internal
2902
+ * @param metadataTypeOptions 元数据类型参数
2903
+ */
2904
+ _insertMetadataTypeAt(metadataTypeOptions: Partial<MetadataType>, index: number): MetadataType;
2905
+
2906
+ /**
2907
+ * 插入元数据类型
2908
+ * @internal
2909
+ * @param metadataType 已有的元数据类型实例
2910
+ */
2911
+ _insertMetadataTypeAt(metadataType: MetadataType, index: number): MetadataType;
2912
+
2913
+ _insertMetadataTypeAt(options: string | Partial<MetadataType> | MetadataType, index: number) {
2914
+ const metadataTypeOptions: any = {};
2915
+ const relationOptions = { parentNode: this, parentKey: 'metadataTypes' };
2916
+ let metadataType: MetadataType;
2917
+ if (!options) {
2918
+ metadataType = MetadataType.from(
2919
+ {
2920
+ ...metadataTypeOptions,
2921
+ name: this.getMetadataTypeUniqueName(),
2922
+ },
2923
+ this,
2924
+ 'metadataTypes',
2925
+ );
2926
+ } else if (typeof options === 'string') {
2927
+ metadataType = MetadataType.from(
2928
+ {
2929
+ ...metadataTypeOptions,
2930
+ name: options,
2931
+ },
2932
+ this,
2933
+ 'metadataTypes',
2934
+ );
2935
+ } else if (options instanceof MetadataType) {
2936
+ options.ensureDelete(); // 同一实例不支持多处存在
2937
+ metadataType = options;
2938
+ Object.assign(metadataType, relationOptions);
2939
+ } else {
2940
+ metadataType = MetadataType.from(
2941
+ {
2942
+ ...metadataTypeOptions,
2943
+ ...options,
2944
+ },
2945
+ this,
2946
+ 'metadataTypes',
2947
+ );
2948
+ }
2949
+ this.metadataTypes.splice(index, 0, metadataType);
2950
+ return metadataType;
2951
+ }
2952
+
2953
+ /**
2954
+ * 插入元数据类型
2955
+ * @param name 元数据类型名称,如果不填会自动生成一个唯一名称
2956
+ */
2957
+ insertMetadataTypeAt(name: string, index: number): MetadataType;
2958
+
2959
+ /**
2960
+ * 插入元数据类型
2961
+ * @param metadataTypeOptions 元数据类型参数
2962
+ */
2963
+ insertMetadataTypeAt(metadataTypeOptions: Partial<MetadataType>, index: number): MetadataType;
2964
+
2965
+ /**
2966
+ * 插入元数据类型
2967
+ * @param metadataType 已有的元数据类型实例
2968
+ */
2969
+ insertMetadataTypeAt(metadataType: MetadataType, index: number): MetadataType;
2970
+
2971
+ insertMetadataTypeAt(options: string | Partial<MetadataType> | MetadataType, index: number) {
2972
+ const node = this._insertMetadataTypeAt(options as any, index);
2973
+ node.create({
2974
+ index,
2975
+ parentNode: this,
2976
+ parentKey: 'metadataTypes',
2977
+ });
2978
+ return node;
2979
+ }
2980
+
2981
+ /**
2982
+ * 添加元数据类型
2983
+ * @internal
2984
+ * @param name 元数据类型名称,如果不填会自动生成一个唯一名称
2985
+ */
2986
+ _addMetadataType(name?: string): MetadataType;
2987
+
2988
+ /**
2989
+ * 添加元数据类型
2990
+ * @internal
2991
+ * @param metadataTypeOptions 元数据类型参数
2992
+ */
2993
+ _addMetadataType(metadataTypeOptions: Partial<MetadataType>): MetadataType;
2994
+
2995
+ /**
2996
+ * 添加元数据类型
2997
+ * @internal
2998
+ * @param metadataType 已有的元数据类型实例
2999
+ */
3000
+ _addMetadataType(metadataType: MetadataType): MetadataType;
3001
+
3002
+ _addMetadataType(options?: string | Partial<MetadataType> | MetadataType) {
3003
+ const index = 0;
3004
+ return this._insertMetadataTypeAt(options as any, index);
3005
+ }
3006
+
3007
+ /**
3008
+ * 添加元数据类型
3009
+ * @internal
3010
+ * @param name 元数据类型名称,如果不填会自动生成一个唯一名称
3011
+ */
3012
+ addMetadataType(name?: string): MetadataType;
3013
+
3014
+ /**
3015
+ * 添加元数据类型
3016
+ * @param metadataTypeOptions 元数据类型参数
3017
+ */
3018
+ addMetadataType(metadataTypeOptions: Partial<MetadataType>): MetadataType;
3019
+
3020
+ /**
3021
+ * 添加元数据类型
3022
+ * @param metadataType 已有的元数据类型实例
3023
+ */
3024
+ addMetadataType(metadataType: MetadataType): MetadataType;
3025
+
3026
+ addMetadataType(options?: string | Partial<MetadataType> | MetadataType) {
3027
+ const node = this._addMetadataType(options as any);
3028
+ const index = this.metadataTypes.indexOf(node);
3029
+ node.create({
3030
+ index,
3031
+ parentNode: this,
3032
+ parentKey: 'metadataTypes',
3033
+ });
3034
+ return node;
3035
+ }
3036
+
2872
3037
  /**
2873
3038
  * 删除数据源
2874
3039
  * @param name 数据源名称
@@ -2905,11 +3070,15 @@ export class App extends BaseNode {
2905
3070
  };
2906
3071
  if (parentKey) {
2907
3072
  params.parentKey = parentKey;
2908
- if (Array.isArray((this as any)[parentKey])) {
2909
- const index = (this as any)[parentKey].indexOf(dataSource);
3073
+ // @ts-ignore
3074
+ const t = this.__v_raw || this;
3075
+ // @ts-ignore
3076
+ const n = dataSource.__v_raw || dataSource;
3077
+ if (Array.isArray((t as any)[parentKey])) {
3078
+ const index = (t as any)[parentKey].indexOf(n);
2910
3079
  ~index && (this as any)[parentKey].splice(index, 1);
2911
3080
  params.index = index;
2912
- } else if ((this as any)[parentKey] === dataSource) {
3081
+ } else if ((t as any)[parentKey] === n) {
2913
3082
  params.index = 0;
2914
3083
  (this as any)[parentKey] = undefined;
2915
3084
  }
@@ -2953,11 +3122,15 @@ export class App extends BaseNode {
2953
3122
  };
2954
3123
  if (parentKey) {
2955
3124
  params.parentKey = parentKey;
2956
- if (Array.isArray((this as any)[parentKey])) {
2957
- const index = (this as any)[parentKey].indexOf(structure);
3125
+ // @ts-ignore
3126
+ const t = this.__v_raw || this;
3127
+ // @ts-ignore
3128
+ const n = structure.__v_raw || structure;
3129
+ if (Array.isArray((t as any)[parentKey])) {
3130
+ const index = (t as any)[parentKey].indexOf(n);
2958
3131
  ~index && (this as any)[parentKey].splice(index, 1);
2959
3132
  params.index = index;
2960
- } else if ((this as any)[parentKey] === structure) {
3133
+ } else if ((t as any)[parentKey] === n) {
2961
3134
  params.index = 0;
2962
3135
  (this as any)[parentKey] = undefined;
2963
3136
  }
@@ -3001,11 +3174,15 @@ export class App extends BaseNode {
3001
3174
  };
3002
3175
  if (parentKey) {
3003
3176
  params.parentKey = parentKey;
3004
- if (Array.isArray((this as any)[parentKey])) {
3005
- const index = (this as any)[parentKey].indexOf(enumeration);
3177
+ // @ts-ignore
3178
+ const t = this.__v_raw || this;
3179
+ // @ts-ignore
3180
+ const n = enumeration.__v_raw || enumeration;
3181
+ if (Array.isArray((t as any)[parentKey])) {
3182
+ const index = (t as any)[parentKey].indexOf(n);
3006
3183
  ~index && (this as any)[parentKey].splice(index, 1);
3007
3184
  params.index = index;
3008
- } else if ((this as any)[parentKey] === enumeration) {
3185
+ } else if ((t as any)[parentKey] === n) {
3009
3186
  params.index = 0;
3010
3187
  (this as any)[parentKey] = undefined;
3011
3188
  }
@@ -3074,11 +3251,15 @@ export class App extends BaseNode {
3074
3251
  };
3075
3252
  if (parentKey) {
3076
3253
  params.parentKey = parentKey;
3077
- if (Array.isArray((this as any)[parentKey])) {
3078
- const index = (this as any)[parentKey].indexOf(logic);
3254
+ // @ts-ignore
3255
+ const t = this.__v_raw || this;
3256
+ // @ts-ignore
3257
+ const n = logic.__v_raw || logic;
3258
+ if (Array.isArray((t as any)[parentKey])) {
3259
+ const index = (t as any)[parentKey].indexOf(n);
3079
3260
  ~index && (this as any)[parentKey].splice(index, 1);
3080
3261
  params.index = index;
3081
- } else if ((this as any)[parentKey] === logic) {
3262
+ } else if ((t as any)[parentKey] === n) {
3082
3263
  params.index = 0;
3083
3264
  (this as any)[parentKey] = undefined;
3084
3265
  }
@@ -3122,11 +3303,15 @@ export class App extends BaseNode {
3122
3303
  };
3123
3304
  if (parentKey) {
3124
3305
  params.parentKey = parentKey;
3125
- if (Array.isArray((this as any)[parentKey])) {
3126
- const index = (this as any)[parentKey].indexOf(overriddenLogic);
3306
+ // @ts-ignore
3307
+ const t = this.__v_raw || this;
3308
+ // @ts-ignore
3309
+ const n = overriddenLogic.__v_raw || overriddenLogic;
3310
+ if (Array.isArray((t as any)[parentKey])) {
3311
+ const index = (t as any)[parentKey].indexOf(n);
3127
3312
  ~index && (this as any)[parentKey].splice(index, 1);
3128
3313
  params.index = index;
3129
- } else if ((this as any)[parentKey] === overriddenLogic) {
3314
+ } else if ((t as any)[parentKey] === n) {
3130
3315
  params.index = 0;
3131
3316
  (this as any)[parentKey] = undefined;
3132
3317
  }
@@ -3195,11 +3380,15 @@ export class App extends BaseNode {
3195
3380
  };
3196
3381
  if (parentKey) {
3197
3382
  params.parentKey = parentKey;
3198
- if (Array.isArray((this as any)[parentKey])) {
3199
- const index = (this as any)[parentKey].indexOf(itface);
3383
+ // @ts-ignore
3384
+ const t = this.__v_raw || this;
3385
+ // @ts-ignore
3386
+ const n = itface.__v_raw || itface;
3387
+ if (Array.isArray((t as any)[parentKey])) {
3388
+ const index = (t as any)[parentKey].indexOf(n);
3200
3389
  ~index && (this as any)[parentKey].splice(index, 1);
3201
3390
  params.index = index;
3202
- } else if ((this as any)[parentKey] === itface) {
3391
+ } else if ((t as any)[parentKey] === n) {
3203
3392
  params.index = 0;
3204
3393
  (this as any)[parentKey] = undefined;
3205
3394
  }
@@ -3243,11 +3432,15 @@ export class App extends BaseNode {
3243
3432
  };
3244
3433
  if (parentKey) {
3245
3434
  params.parentKey = parentKey;
3246
- if (Array.isArray((this as any)[parentKey])) {
3247
- const index = (this as any)[parentKey].indexOf(frontend);
3435
+ // @ts-ignore
3436
+ const t = this.__v_raw || this;
3437
+ // @ts-ignore
3438
+ const n = frontend.__v_raw || frontend;
3439
+ if (Array.isArray((t as any)[parentKey])) {
3440
+ const index = (t as any)[parentKey].indexOf(n);
3248
3441
  ~index && (this as any)[parentKey].splice(index, 1);
3249
3442
  params.index = index;
3250
- } else if ((this as any)[parentKey] === frontend) {
3443
+ } else if ((t as any)[parentKey] === n) {
3251
3444
  params.index = 0;
3252
3445
  (this as any)[parentKey] = undefined;
3253
3446
  }
@@ -3291,11 +3484,15 @@ export class App extends BaseNode {
3291
3484
  };
3292
3485
  if (parentKey) {
3293
3486
  params.parentKey = parentKey;
3294
- if (Array.isArray((this as any)[parentKey])) {
3295
- const index = (this as any)[parentKey].indexOf(backend);
3487
+ // @ts-ignore
3488
+ const t = this.__v_raw || this;
3489
+ // @ts-ignore
3490
+ const n = backend.__v_raw || backend;
3491
+ if (Array.isArray((t as any)[parentKey])) {
3492
+ const index = (t as any)[parentKey].indexOf(n);
3296
3493
  ~index && (this as any)[parentKey].splice(index, 1);
3297
3494
  params.index = index;
3298
- } else if ((this as any)[parentKey] === backend) {
3495
+ } else if ((t as any)[parentKey] === n) {
3299
3496
  params.index = 0;
3300
3497
  (this as any)[parentKey] = undefined;
3301
3498
  }
@@ -3339,11 +3536,15 @@ export class App extends BaseNode {
3339
3536
  };
3340
3537
  if (parentKey) {
3341
3538
  params.parentKey = parentKey;
3342
- if (Array.isArray((this as any)[parentKey])) {
3343
- const index = (this as any)[parentKey].indexOf(process);
3539
+ // @ts-ignore
3540
+ const t = this.__v_raw || this;
3541
+ // @ts-ignore
3542
+ const n = process.__v_raw || process;
3543
+ if (Array.isArray((t as any)[parentKey])) {
3544
+ const index = (t as any)[parentKey].indexOf(n);
3344
3545
  ~index && (this as any)[parentKey].splice(index, 1);
3345
3546
  params.index = index;
3346
- } else if ((this as any)[parentKey] === process) {
3547
+ } else if ((t as any)[parentKey] === n) {
3347
3548
  params.index = 0;
3348
3549
  (this as any)[parentKey] = undefined;
3349
3550
  }
@@ -3387,11 +3588,15 @@ export class App extends BaseNode {
3387
3588
  };
3388
3589
  if (parentKey) {
3389
3590
  params.parentKey = parentKey;
3390
- if (Array.isArray((this as any)[parentKey])) {
3391
- const index = (this as any)[parentKey].indexOf(role);
3591
+ // @ts-ignore
3592
+ const t = this.__v_raw || this;
3593
+ // @ts-ignore
3594
+ const n = role.__v_raw || role;
3595
+ if (Array.isArray((t as any)[parentKey])) {
3596
+ const index = (t as any)[parentKey].indexOf(n);
3392
3597
  ~index && (this as any)[parentKey].splice(index, 1);
3393
3598
  params.index = index;
3394
- } else if ((this as any)[parentKey] === role) {
3599
+ } else if ((t as any)[parentKey] === n) {
3395
3600
  params.index = 0;
3396
3601
  (this as any)[parentKey] = undefined;
3397
3602
  }
@@ -3435,11 +3640,15 @@ export class App extends BaseNode {
3435
3640
  };
3436
3641
  if (parentKey) {
3437
3642
  params.parentKey = parentKey;
3438
- if (Array.isArray((this as any)[parentKey])) {
3439
- const index = (this as any)[parentKey].indexOf(configuration);
3643
+ // @ts-ignore
3644
+ const t = this.__v_raw || this;
3645
+ // @ts-ignore
3646
+ const n = configuration.__v_raw || configuration;
3647
+ if (Array.isArray((t as any)[parentKey])) {
3648
+ const index = (t as any)[parentKey].indexOf(n);
3440
3649
  ~index && (this as any)[parentKey].splice(index, 1);
3441
3650
  params.index = index;
3442
- } else if ((this as any)[parentKey] === configuration) {
3651
+ } else if ((t as any)[parentKey] === n) {
3443
3652
  params.index = 0;
3444
3653
  (this as any)[parentKey] = undefined;
3445
3654
  }
@@ -3533,11 +3742,15 @@ export class App extends BaseNode {
3533
3742
  };
3534
3743
  if (parentKey) {
3535
3744
  params.parentKey = parentKey;
3536
- if (Array.isArray((this as any)[parentKey])) {
3537
- const index = (this as any)[parentKey].indexOf(module);
3745
+ // @ts-ignore
3746
+ const t = this.__v_raw || this;
3747
+ // @ts-ignore
3748
+ const n = module.__v_raw || module;
3749
+ if (Array.isArray((t as any)[parentKey])) {
3750
+ const index = (t as any)[parentKey].indexOf(n);
3538
3751
  ~index && (this as any)[parentKey].splice(index, 1);
3539
3752
  params.index = index;
3540
- } else if ((this as any)[parentKey] === module) {
3753
+ } else if ((t as any)[parentKey] === n) {
3541
3754
  params.index = 0;
3542
3755
  (this as any)[parentKey] = undefined;
3543
3756
  }
@@ -3581,11 +3794,15 @@ export class App extends BaseNode {
3581
3794
  };
3582
3795
  if (parentKey) {
3583
3796
  params.parentKey = parentKey;
3584
- if (Array.isArray((this as any)[parentKey])) {
3585
- const index = (this as any)[parentKey].indexOf(integration);
3797
+ // @ts-ignore
3798
+ const t = this.__v_raw || this;
3799
+ // @ts-ignore
3800
+ const n = integration.__v_raw || integration;
3801
+ if (Array.isArray((t as any)[parentKey])) {
3802
+ const index = (t as any)[parentKey].indexOf(n);
3586
3803
  ~index && (this as any)[parentKey].splice(index, 1);
3587
3804
  params.index = index;
3588
- } else if ((this as any)[parentKey] === integration) {
3805
+ } else if ((t as any)[parentKey] === n) {
3589
3806
  params.index = 0;
3590
3807
  (this as any)[parentKey] = undefined;
3591
3808
  }
@@ -3631,11 +3848,15 @@ export class App extends BaseNode {
3631
3848
  };
3632
3849
  if (parentKey) {
3633
3850
  params.parentKey = parentKey;
3634
- if (Array.isArray((this as any)[parentKey])) {
3635
- const index = (this as any)[parentKey].indexOf(authLogic);
3851
+ // @ts-ignore
3852
+ const t = this.__v_raw || this;
3853
+ // @ts-ignore
3854
+ const n = authLogic.__v_raw || authLogic;
3855
+ if (Array.isArray((t as any)[parentKey])) {
3856
+ const index = (t as any)[parentKey].indexOf(n);
3636
3857
  ~index && (this as any)[parentKey].splice(index, 1);
3637
3858
  params.index = index;
3638
- } else if ((this as any)[parentKey] === authLogic) {
3859
+ } else if ((t as any)[parentKey] === n) {
3639
3860
  params.index = 0;
3640
3861
  (this as any)[parentKey] = undefined;
3641
3862
  }
@@ -3679,11 +3900,15 @@ export class App extends BaseNode {
3679
3900
  };
3680
3901
  if (parentKey) {
3681
3902
  params.parentKey = parentKey;
3682
- if (Array.isArray((this as any)[parentKey])) {
3683
- const index = (this as any)[parentKey].indexOf(connection);
3903
+ // @ts-ignore
3904
+ const t = this.__v_raw || this;
3905
+ // @ts-ignore
3906
+ const n = connection.__v_raw || connection;
3907
+ if (Array.isArray((t as any)[parentKey])) {
3908
+ const index = (t as any)[parentKey].indexOf(n);
3684
3909
  ~index && (this as any)[parentKey].splice(index, 1);
3685
3910
  params.index = index;
3686
- } else if ((this as any)[parentKey] === connection) {
3911
+ } else if ((t as any)[parentKey] === n) {
3687
3912
  params.index = 0;
3688
3913
  (this as any)[parentKey] = undefined;
3689
3914
  }
@@ -3727,11 +3952,67 @@ export class App extends BaseNode {
3727
3952
  };
3728
3953
  if (parentKey) {
3729
3954
  params.parentKey = parentKey;
3730
- if (Array.isArray((this as any)[parentKey])) {
3731
- const index = (this as any)[parentKey].indexOf(triggerLauncher);
3955
+ // @ts-ignore
3956
+ const t = this.__v_raw || this;
3957
+ // @ts-ignore
3958
+ const n = triggerLauncher.__v_raw || triggerLauncher;
3959
+ if (Array.isArray((t as any)[parentKey])) {
3960
+ const index = (t as any)[parentKey].indexOf(n);
3732
3961
  ~index && (this as any)[parentKey].splice(index, 1);
3733
3962
  params.index = index;
3734
- } else if ((this as any)[parentKey] === triggerLauncher) {
3963
+ } else if ((t as any)[parentKey] === n) {
3964
+ params.index = 0;
3965
+ (this as any)[parentKey] = undefined;
3966
+ }
3967
+ }
3968
+ return params;
3969
+ }
3970
+
3971
+ /**
3972
+ * 删除元数据类型
3973
+ * @param name 元数据类型名称
3974
+ */
3975
+ removeMetadataType(name: string): void;
3976
+
3977
+ /**
3978
+ * 删除元数据类型
3979
+ * @param metadataType 已有的元数据类型实例
3980
+ */
3981
+ removeMetadataType(metadataType: MetadataType): void;
3982
+
3983
+ removeMetadataType(options: string | MetadataType) {
3984
+ let metadataType: MetadataType;
3985
+ if (typeof options === 'string') {
3986
+ metadataType = (this.metadataTypes as MetadataType[]).find((item) => item.name === options);
3987
+ if (!metadataType) {
3988
+ throw new Error('找不到元数据类型 ' + options);
3989
+ }
3990
+ } else {
3991
+ metadataType = options;
3992
+ }
3993
+ return metadataType.delete();
3994
+ }
3995
+
3996
+ __removeMetadataType(metadataType: MetadataType) {
3997
+ const parentKey = metadataType.parentKey;
3998
+ const params: Params = {
3999
+ parentNode: this,
4000
+ parentKey,
4001
+ index: -1,
4002
+ object: null,
4003
+ oldObject: metadataType,
4004
+ };
4005
+ if (parentKey) {
4006
+ params.parentKey = parentKey;
4007
+ // @ts-ignore
4008
+ const t = this.__v_raw || this;
4009
+ // @ts-ignore
4010
+ const n = metadataType.__v_raw || metadataType;
4011
+ if (Array.isArray((t as any)[parentKey])) {
4012
+ const index = (t as any)[parentKey].indexOf(n);
4013
+ ~index && (this as any)[parentKey].splice(index, 1);
4014
+ params.index = index;
4015
+ } else if ((t as any)[parentKey] === n) {
3735
4016
  params.index = 0;
3736
4017
  (this as any)[parentKey] = undefined;
3737
4018
  }
@@ -3974,20 +4255,22 @@ export class App extends BaseNode {
3974
4255
  });
3975
4256
  });
3976
4257
  this.dependencies.forEach((dep: Module) => {
3977
- const { name, version, compilerInfoMap, frontends } = dep;
3978
- const prefixPath = compilerInfoMap?.js?.prefix;
3979
- if (name) {
3980
- (frontends || []).forEach((frontend) => {
3981
- if (frontend.type === scope) {
3982
- const jsName = `${prefix}/packages/${prefixPath?prefixPath+"/":""}${name}@${version}/dist-theme/index.js`;
3983
- if (!existingSet.has(jsName)) {
3984
- existingSet.add(jsName);
3985
- result.custom.js.push(jsName);
3986
- result.custom.names.push(dep.name);
3987
- }
3988
- }
3989
- });
3990
- }
4258
+ const { name, version, compilerInfoMap, frontends } = dep;
4259
+ const prefixPath = compilerInfoMap?.js?.prefix;
4260
+ if (name) {
4261
+ (frontends || []).forEach((frontend) => {
4262
+ if (frontend.type === scope) {
4263
+ const jsName = `${prefix}/packages/${
4264
+ prefixPath ? prefixPath + '/' : ''
4265
+ }${name}@${version}/dist-theme/index.js`;
4266
+ if (!existingSet.has(jsName)) {
4267
+ existingSet.add(jsName);
4268
+ result.custom.js.push(jsName);
4269
+ result.custom.names.push(dep.name);
4270
+ }
4271
+ }
4272
+ });
4273
+ }
3991
4274
  });
3992
4275
  return result;
3993
4276
  }