@lcap/nasl 3.1.0-beta.2 → 3.1.0-beta.4

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 (1018) hide show
  1. package/out/breakpoint/shared/constants.js +2 -0
  2. package/out/breakpoint/shared/constants.js.map +1 -1
  3. package/out/common/Command.d.ts +1 -1
  4. package/out/common/Command.js +1 -1
  5. package/out/common/Command.js.map +1 -1
  6. package/out/concepts/AnonymousFunction__.d.ts +8 -9
  7. package/out/concepts/AnonymousFunction__.js +15 -14
  8. package/out/concepts/AnonymousFunction__.js.map +1 -1
  9. package/out/concepts/Argument__.js +7 -2
  10. package/out/concepts/Argument__.js.map +1 -1
  11. package/out/concepts/AuthInterface__.d.ts +0 -2
  12. package/out/concepts/AuthInterface__.js +0 -58
  13. package/out/concepts/AuthInterface__.js.map +1 -1
  14. package/out/concepts/BatchAssignment__.js +3 -2
  15. package/out/concepts/BatchAssignment__.js.map +1 -1
  16. package/out/concepts/BindAttribute__.js +10 -1
  17. package/out/concepts/BindAttribute__.js.map +1 -1
  18. package/out/concepts/CallAuthInterface__.d.ts +0 -1
  19. package/out/concepts/CallAuthInterface__.js +5 -8
  20. package/out/concepts/CallAuthInterface__.js.map +1 -1
  21. package/out/concepts/CallFunction__.js +4 -3
  22. package/out/concepts/CallFunction__.js.map +1 -1
  23. package/out/concepts/CallInterface__.d.ts +3 -1
  24. package/out/concepts/CallInterface__.js +21 -1
  25. package/out/concepts/CallInterface__.js.map +1 -1
  26. package/out/concepts/CallLogic__.d.ts +2 -0
  27. package/out/concepts/CallLogic__.js +74 -14
  28. package/out/concepts/CallLogic__.js.map +1 -1
  29. package/out/concepts/FrontendLibrary__.d.ts +29 -29
  30. package/out/concepts/FrontendLibrary__.js +2 -2
  31. package/out/concepts/Function__.js +3 -3
  32. package/out/concepts/Function__.js.map +1 -1
  33. package/out/concepts/LogicItem__.d.ts +6 -6
  34. package/out/concepts/LogicItem__.js +6 -6
  35. package/out/concepts/LogicItem__.js.map +1 -1
  36. package/out/concepts/Logic__.js +19 -4
  37. package/out/concepts/Logic__.js.map +1 -1
  38. package/out/concepts/Namespace__.d.ts +29 -29
  39. package/out/concepts/Namespace__.js +2 -2
  40. package/out/concepts/NewComposite__.d.ts +1 -0
  41. package/out/concepts/NewComposite__.js +67 -3
  42. package/out/concepts/NewComposite__.js.map +1 -1
  43. package/out/concepts/NewList__.d.ts +1 -0
  44. package/out/concepts/NewList__.js +17 -1
  45. package/out/concepts/NewList__.js.map +1 -1
  46. package/out/concepts/QueryJoinExpression__.d.ts +2 -0
  47. package/out/concepts/QueryJoinExpression__.js +11 -0
  48. package/out/concepts/QueryJoinExpression__.js.map +1 -1
  49. package/out/concepts/TypeAnnotation__.d.ts +1 -0
  50. package/out/concepts/TypeAnnotation__.js +37 -4
  51. package/out/concepts/TypeAnnotation__.js.map +1 -1
  52. package/out/concepts/ViewComponent__.d.ts +33 -33
  53. package/out/concepts/ViewComponent__.js +7 -7
  54. package/out/concepts/ViewElement__.d.ts +4 -1
  55. package/out/concepts/ViewElement__.js +51 -3
  56. package/out/concepts/ViewElement__.js.map +1 -1
  57. package/out/concepts/View__.js +4 -4
  58. package/out/concepts/View__.js.map +1 -1
  59. package/out/concepts/basics/stdlib/nasl.http.js +28 -26
  60. package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
  61. package/out/concepts/basics/stdlib/nasl.util.js +17 -9
  62. package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
  63. package/out/concepts/basics/types/index.js +1 -1
  64. package/out/concepts/basics/types/index.js.map +1 -1
  65. package/out/concepts/types__.d.ts +1 -2
  66. package/out/generator/genBundleFiles.js +32 -27
  67. package/out/generator/genBundleFiles.js.map +1 -1
  68. package/out/generator/genMetaData.js +8 -0
  69. package/out/generator/genMetaData.js.map +1 -1
  70. package/out/generator/genReleaseBody.js +6 -6
  71. package/out/generator/genReleaseBody.js.map +1 -1
  72. package/out/sentry/index.js +8 -1
  73. package/out/sentry/index.js.map +1 -1
  74. package/out/server/getInterfaces.js +1 -1
  75. package/out/server/getInterfaces.js.map +1 -1
  76. package/out/server/naslServer.d.ts +10 -2
  77. package/out/server/naslServer.js +55 -12
  78. package/out/server/naslServer.js.map +1 -1
  79. package/out/server/translator.js +0 -12
  80. package/out/server/translator.js.map +1 -1
  81. package/out/service/storage/init.js +102 -65
  82. package/out/service/storage/init.js.map +1 -1
  83. package/out/templator/genCreateBlock.js +2 -2
  84. package/out/templator/genCreateBlock.js.map +1 -1
  85. package/out/templator/genCurdEditMultipleKeyBlock.js +1 -1
  86. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
  87. package/out/templator/genCurdMultipleKeyBlock.js +2 -2
  88. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
  89. package/out/templator/genEditTableBlock.d.ts +1 -1
  90. package/out/templator/genEditTableBlock.js +6 -2
  91. package/out/templator/genEditTableBlock.js.map +1 -1
  92. package/out/templator/genEnumSelectBlock.js +2 -2
  93. package/out/templator/genEnumSelectBlock.js.map +1 -1
  94. package/out/templator/genGridViewBlock.d.ts +2 -2
  95. package/out/templator/genGridViewBlock.js +14 -8
  96. package/out/templator/genGridViewBlock.js.map +1 -1
  97. package/out/templator/genListViewBlock.d.ts +2 -2
  98. package/out/templator/genListViewBlock.js +9 -5
  99. package/out/templator/genListViewBlock.js.map +1 -1
  100. package/out/templator/genSelectBlock.d.ts +2 -2
  101. package/out/templator/genSelectBlock.js +18 -11
  102. package/out/templator/genSelectBlock.js.map +1 -1
  103. package/out/templator/genTableBlock.d.ts +1 -1
  104. package/out/templator/genTableBlock.js +7 -3
  105. package/out/templator/genTableBlock.js.map +1 -1
  106. package/out/templator/genUpdateBlock.js +2 -2
  107. package/out/templator/genUpdateBlock.js.map +1 -1
  108. package/package.json +13 -13
  109. package/sandbox/stdlib/nasl.util.ts +2 -2
  110. package/src/automate/engine/utils.js +3 -0
  111. package/src/breakpoint/shared/constants.ts +2 -0
  112. package/src/common/BaseNode.ts +10 -5
  113. package/src/common/Command.ts +1 -1
  114. package/src/concepts/AnonymousFunction__.ts +2 -1
  115. package/src/concepts/Argument__.ts +5 -5
  116. package/src/concepts/Assignment__.ts +2 -1
  117. package/src/concepts/AuthInterface__.ts +3 -53
  118. package/src/concepts/BindEvent__.ts +5 -6
  119. package/src/concepts/CallAuthInterface__.ts +5 -8
  120. package/src/concepts/CallFunction__.ts +2 -1
  121. package/src/concepts/CallInterface__.ts +84 -63
  122. package/src/concepts/CallLogic__.ts +89 -67
  123. package/src/concepts/CompletionProperty__.ts +6 -1
  124. package/src/concepts/ConfigPropertyValue__.ts +2 -2
  125. package/src/concepts/Function__.ts +2 -2
  126. package/src/concepts/QueryJoinExpression__.ts +13 -0
  127. package/src/concepts/TypeAnnotation__.ts +31 -0
  128. package/src/concepts/ViewElement__.ts +80 -33
  129. package/src/concepts/basics/stdlib/nasl.http.ts +26 -24
  130. package/src/concepts/types__.ts +1 -3
  131. package/src/generator/genBundleFiles.ts +32 -27
  132. package/src/generator/genReleaseBody.ts +10 -7
  133. package/src/generator/permission.ts +6 -6
  134. package/src/server/getInterfaces.ts +1 -1
  135. package/src/server/naslServer.ts +58 -8
  136. package/src/server/translator.ts +0 -12
  137. package/src/service/storage/init.ts +106 -67
  138. package/src/templator/genCreateBlock.ts +2 -2
  139. package/src/templator/genEnumSelectBlock.ts +2 -2
  140. package/src/templator/genSelectBlock.ts +4 -3
  141. package/src/templator/genUpdateBlock.ts +2 -2
  142. package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +71 -0
  143. package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +140 -0
  144. package/test/concepts/call-interface/constant.ts +5 -0
  145. package/test/concepts/call-interface/fixtures/only-interface.json +158 -0
  146. package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +455 -0
  147. package/test/concepts/call-interface/fixtures/with-body-no-argument.json +187 -0
  148. package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +225 -0
  149. package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +213 -0
  150. package/test/concepts/call-interface/fixtures/with-headers.json +192 -0
  151. package/test/concepts/call-interface/fixtures/with-query-no-argument.json +213 -0
  152. package/test/concepts/call-interface/fixtures/with-query.json +192 -0
  153. package/test/concepts/call-interface/toEmbeddedTS.spec.ts +14 -0
  154. package/test/concepts/call-interface/toJS.spec.ts +14 -0
  155. package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +74 -0
  156. package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +141 -0
  157. package/test/concepts/call-logic/constant.ts +5 -0
  158. package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +223 -0
  159. package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +359 -0
  160. package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +209 -0
  161. package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +311 -0
  162. package/test/concepts/call-logic/fixtures/only-call-logic.json +10 -0
  163. package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +128 -0
  164. package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +126 -0
  165. package/test/concepts/call-logic/fixtures/view-component-with-validation.json +244 -0
  166. package/test/concepts/call-logic/toEmbeddedTS.spec.ts +14 -0
  167. package/test/concepts/call-logic/toJS.spec.ts +14 -0
  168. package/test/concepts/utils.ts +76 -3
  169. package/test/concepts/validation-rule/__snapshots__/toEmbeddedTS.spec.ts.snap +3 -3
  170. package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +16 -0
  171. package/test/concepts/validation-rule/constant.ts +5 -0
  172. package/test/concepts/validation-rule/toEmbeddedTS.spec.ts +10 -17
  173. package/test/concepts/validation-rule/toJS.spec.ts +14 -0
  174. package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +89 -0
  175. package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +44 -0
  176. package/test/concepts/view-element/constant.ts +5 -0
  177. package/test/concepts/view-element/fixtures/default-not-found.json +322 -0
  178. package/test/concepts/view-element/toEmbeddedTS.spec.ts +14 -0
  179. package/test/concepts/view-element/toVue.spec.ts +14 -0
  180. package/test/setup.ts +6 -0
  181. package/ts-worker/lib/tsserver.js +5 -6
  182. package/ts-worker/package-lock.json +2 -1
  183. package/bin/naslc +0 -3
  184. package/out/src/automate/engine/index.d.ts +0 -4
  185. package/out/src/automate/engine/index.js +0 -443
  186. package/out/src/automate/engine/index.js.map +0 -1
  187. package/out/src/automate/engine/operators.d.ts +0 -24
  188. package/out/src/automate/engine/operators.js +0 -252
  189. package/out/src/automate/engine/operators.js.map +0 -1
  190. package/out/src/automate/engine/uniqueName.d.ts +0 -12
  191. package/out/src/automate/engine/uniqueName.js +0 -112
  192. package/out/src/automate/engine/uniqueName.js.map +0 -1
  193. package/out/src/automate/engine/utils.d.ts +0 -25
  194. package/out/src/automate/engine/utils.js +0 -440
  195. package/out/src/automate/engine/utils.js.map +0 -1
  196. package/out/src/automate/engine/viewCache.d.ts +0 -19
  197. package/out/src/automate/engine/viewCache.js +0 -45
  198. package/out/src/automate/engine/viewCache.js.map +0 -1
  199. package/out/src/automate/template/myProcess.d.ts +0 -10
  200. package/out/src/automate/template/myProcess.js +0 -11498
  201. package/out/src/automate/template/myProcess.js.map +0 -1
  202. package/out/src/automate/upgrader/2.12.d.ts +0 -7
  203. package/out/src/automate/upgrader/2.12.js +0 -63
  204. package/out/src/automate/upgrader/2.12.js.map +0 -1
  205. package/out/src/automate/upgrader/2.14-components.d.ts +0 -1115
  206. package/out/src/automate/upgrader/2.14-components.js +0 -1087
  207. package/out/src/automate/upgrader/2.14-components.js.map +0 -1
  208. package/out/src/automate/upgrader/2.14.d.ts +0 -10
  209. package/out/src/automate/upgrader/2.14.js +0 -236
  210. package/out/src/automate/upgrader/2.14.js.map +0 -1
  211. package/out/src/automate/upgrader/2.14.old.d.ts +0 -1
  212. package/out/src/automate/upgrader/2.14.old.js +0 -125
  213. package/out/src/automate/upgrader/2.14.old.js.map +0 -1
  214. package/out/src/automate/upgrader/2.16.d.ts +0 -10
  215. package/out/src/automate/upgrader/2.16.js +0 -75
  216. package/out/src/automate/upgrader/2.16.js.map +0 -1
  217. package/out/src/automate/upgrader/2.17.d.ts +0 -21
  218. package/out/src/automate/upgrader/2.17.js +0 -557
  219. package/out/src/automate/upgrader/2.17.js.map +0 -1
  220. package/out/src/automate/upgrader/2.18.d.ts +0 -10
  221. package/out/src/automate/upgrader/2.18.js +0 -107
  222. package/out/src/automate/upgrader/2.18.js.map +0 -1
  223. package/out/src/automate/upgrader/2.20.d.ts +0 -17
  224. package/out/src/automate/upgrader/2.20.js +0 -68
  225. package/out/src/automate/upgrader/2.20.js.map +0 -1
  226. package/out/src/bak/translator.d.ts +0 -1
  227. package/out/src/bak/translator.js +0 -119
  228. package/out/src/bak/translator.js.map +0 -1
  229. package/out/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
  230. package/out/src/breakpoint/generator/AfterStartNode.js +0 -27
  231. package/out/src/breakpoint/generator/AfterStartNode.js.map +0 -1
  232. package/out/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
  233. package/out/src/breakpoint/generator/BeforeEndNode.js +0 -27
  234. package/out/src/breakpoint/generator/BeforeEndNode.js.map +0 -1
  235. package/out/src/breakpoint/generator/BreakpointNode.d.ts +0 -14
  236. package/out/src/breakpoint/generator/BreakpointNode.js +0 -200
  237. package/out/src/breakpoint/generator/BreakpointNode.js.map +0 -1
  238. package/out/src/breakpoint/generator/index.d.ts +0 -4
  239. package/out/src/breakpoint/generator/index.js +0 -98
  240. package/out/src/breakpoint/generator/index.js.map +0 -1
  241. package/out/src/breakpoint/index.d.ts +0 -3
  242. package/out/src/breakpoint/index.js +0 -20
  243. package/out/src/breakpoint/index.js.map +0 -1
  244. package/out/src/breakpoint/shared/constants.d.ts +0 -31
  245. package/out/src/breakpoint/shared/constants.js +0 -91
  246. package/out/src/breakpoint/shared/constants.js.map +0 -1
  247. package/out/src/breakpoint/shared/index.d.ts +0 -3
  248. package/out/src/breakpoint/shared/index.js +0 -33
  249. package/out/src/breakpoint/shared/index.js.map +0 -1
  250. package/out/src/breakpoint/shared/operations.d.ts +0 -10
  251. package/out/src/breakpoint/shared/operations.js +0 -25
  252. package/out/src/breakpoint/shared/operations.js.map +0 -1
  253. package/out/src/breakpoint/shared/socket.d.ts +0 -47
  254. package/out/src/breakpoint/shared/socket.js +0 -210
  255. package/out/src/breakpoint/shared/socket.js.map +0 -1
  256. package/out/src/breakpoint/shared/utils.d.ts +0 -23
  257. package/out/src/breakpoint/shared/utils.js +0 -165
  258. package/out/src/breakpoint/shared/utils.js.map +0 -1
  259. package/out/src/breakpoint/store/core.d.ts +0 -32
  260. package/out/src/breakpoint/store/core.js +0 -388
  261. package/out/src/breakpoint/store/core.js.map +0 -1
  262. package/out/src/breakpoint/store/dock.d.ts +0 -1
  263. package/out/src/breakpoint/store/dock.js +0 -127
  264. package/out/src/breakpoint/store/dock.js.map +0 -1
  265. package/out/src/breakpoint/store/index.d.ts +0 -2
  266. package/out/src/breakpoint/store/index.js +0 -19
  267. package/out/src/breakpoint/store/index.js.map +0 -1
  268. package/out/src/common/BaseNode.d.ts +0 -317
  269. package/out/src/common/BaseNode.js +0 -1156
  270. package/out/src/common/BaseNode.js.map +0 -1
  271. package/out/src/common/Command.d.ts +0 -9
  272. package/out/src/common/Command.js +0 -36
  273. package/out/src/common/Command.js.map +0 -1
  274. package/out/src/common/ComponentAPI.d.ts +0 -110
  275. package/out/src/common/ComponentAPI.js +0 -3
  276. package/out/src/common/ComponentAPI.js.map +0 -1
  277. package/out/src/common/EventEmitter.d.ts +0 -59
  278. package/out/src/common/EventEmitter.js +0 -71
  279. package/out/src/common/EventEmitter.js.map +0 -1
  280. package/out/src/common/Messager.d.ts +0 -91
  281. package/out/src/common/Messager.js +0 -208
  282. package/out/src/common/Messager.js.map +0 -1
  283. package/out/src/common/asyncFuncMap.d.ts +0 -2
  284. package/out/src/common/asyncFuncMap.js +0 -16
  285. package/out/src/common/asyncFuncMap.js.map +0 -1
  286. package/out/src/common/classMap.d.ts +0 -4
  287. package/out/src/common/classMap.js +0 -5
  288. package/out/src/common/classMap.js.map +0 -1
  289. package/out/src/common/index.d.ts +0 -4
  290. package/out/src/common/index.js +0 -21
  291. package/out/src/common/index.js.map +0 -1
  292. package/out/src/concepts/Abort__.d.ts +0 -25
  293. package/out/src/concepts/Abort__.js +0 -80
  294. package/out/src/concepts/Abort__.js.map +0 -1
  295. package/out/src/concepts/Anchor__.d.ts +0 -44
  296. package/out/src/concepts/Anchor__.js +0 -182
  297. package/out/src/concepts/Anchor__.js.map +0 -1
  298. package/out/src/concepts/AnonymousFunction__.d.ts +0 -172
  299. package/out/src/concepts/AnonymousFunction__.js +0 -490
  300. package/out/src/concepts/AnonymousFunction__.js.map +0 -1
  301. package/out/src/concepts/App__.d.ts +0 -1510
  302. package/out/src/concepts/App__.js +0 -2268
  303. package/out/src/concepts/App__.js.map +0 -1
  304. package/out/src/concepts/Argument__.d.ts +0 -65
  305. package/out/src/concepts/Argument__.js +0 -265
  306. package/out/src/concepts/Argument__.js.map +0 -1
  307. package/out/src/concepts/Assignee__.d.ts +0 -288
  308. package/out/src/concepts/Assignee__.js +0 -427
  309. package/out/src/concepts/Assignee__.js.map +0 -1
  310. package/out/src/concepts/AssignmentLine__.d.ts +0 -41
  311. package/out/src/concepts/AssignmentLine__.js +0 -112
  312. package/out/src/concepts/AssignmentLine__.js.map +0 -1
  313. package/out/src/concepts/Assignment__.d.ts +0 -73
  314. package/out/src/concepts/Assignment__.js +0 -286
  315. package/out/src/concepts/Assignment__.js.map +0 -1
  316. package/out/src/concepts/Attribute__.d.ts +0 -97
  317. package/out/src/concepts/Attribute__.js +0 -197
  318. package/out/src/concepts/Attribute__.js.map +0 -1
  319. package/out/src/concepts/AuthInterface__.d.ts +0 -37
  320. package/out/src/concepts/AuthInterface__.js +0 -141
  321. package/out/src/concepts/AuthInterface__.js.map +0 -1
  322. package/out/src/concepts/AuthLogicForCallInterface__.d.ts +0 -138
  323. package/out/src/concepts/AuthLogicForCallInterface__.js +0 -493
  324. package/out/src/concepts/AuthLogicForCallInterface__.js.map +0 -1
  325. package/out/src/concepts/AuthLogic__.d.ts +0 -66
  326. package/out/src/concepts/AuthLogic__.js +0 -206
  327. package/out/src/concepts/AuthLogic__.js.map +0 -1
  328. package/out/src/concepts/BackendVariable__.d.ts +0 -137
  329. package/out/src/concepts/BackendVariable__.js +0 -422
  330. package/out/src/concepts/BackendVariable__.js.map +0 -1
  331. package/out/src/concepts/Backend__.d.ts +0 -134
  332. package/out/src/concepts/Backend__.js +0 -274
  333. package/out/src/concepts/Backend__.js.map +0 -1
  334. package/out/src/concepts/BatchAssignment__.d.ts +0 -251
  335. package/out/src/concepts/BatchAssignment__.js +0 -806
  336. package/out/src/concepts/BatchAssignment__.js.map +0 -1
  337. package/out/src/concepts/BinaryExpression__.d.ts +0 -70
  338. package/out/src/concepts/BinaryExpression__.js +0 -345
  339. package/out/src/concepts/BinaryExpression__.js.map +0 -1
  340. package/out/src/concepts/BindAttribute__.d.ts +0 -318
  341. package/out/src/concepts/BindAttribute__.js +0 -875
  342. package/out/src/concepts/BindAttribute__.js.map +0 -1
  343. package/out/src/concepts/BindDirective__.d.ts +0 -161
  344. package/out/src/concepts/BindDirective__.js +0 -532
  345. package/out/src/concepts/BindDirective__.js.map +0 -1
  346. package/out/src/concepts/BindEvent__.d.ts +0 -251
  347. package/out/src/concepts/BindEvent__.js +0 -788
  348. package/out/src/concepts/BindEvent__.js.map +0 -1
  349. package/out/src/concepts/BindStyle__.d.ts +0 -139
  350. package/out/src/concepts/BindStyle__.js +0 -432
  351. package/out/src/concepts/BindStyle__.js.map +0 -1
  352. package/out/src/concepts/BooleanLiteral__.d.ts +0 -34
  353. package/out/src/concepts/BooleanLiteral__.js +0 -100
  354. package/out/src/concepts/BooleanLiteral__.js.map +0 -1
  355. package/out/src/concepts/CallAuthInterface__.d.ts +0 -126
  356. package/out/src/concepts/CallAuthInterface__.js +0 -409
  357. package/out/src/concepts/CallAuthInterface__.js.map +0 -1
  358. package/out/src/concepts/CallConnector__.d.ts +0 -42
  359. package/out/src/concepts/CallConnector__.js +0 -198
  360. package/out/src/concepts/CallConnector__.js.map +0 -1
  361. package/out/src/concepts/CallFunction__.d.ts +0 -157
  362. package/out/src/concepts/CallFunction__.js +0 -503
  363. package/out/src/concepts/CallFunction__.js.map +0 -1
  364. package/out/src/concepts/CallInterface__.d.ts +0 -125
  365. package/out/src/concepts/CallInterface__.js +0 -677
  366. package/out/src/concepts/CallInterface__.js.map +0 -1
  367. package/out/src/concepts/CallLogic__.d.ts +0 -224
  368. package/out/src/concepts/CallLogic__.js +0 -1140
  369. package/out/src/concepts/CallLogic__.js.map +0 -1
  370. package/out/src/concepts/CallQueryComponent__.d.ts +0 -432
  371. package/out/src/concepts/CallQueryComponent__.js +0 -1264
  372. package/out/src/concepts/CallQueryComponent__.js.map +0 -1
  373. package/out/src/concepts/Comment__.d.ts +0 -31
  374. package/out/src/concepts/Comment__.js +0 -96
  375. package/out/src/concepts/Comment__.js.map +0 -1
  376. package/out/src/concepts/CompletionProperty__.d.ts +0 -104
  377. package/out/src/concepts/CompletionProperty__.js +0 -256
  378. package/out/src/concepts/CompletionProperty__.js.map +0 -1
  379. package/out/src/concepts/ConfigGroup__.d.ts +0 -124
  380. package/out/src/concepts/ConfigGroup__.js +0 -253
  381. package/out/src/concepts/ConfigGroup__.js.map +0 -1
  382. package/out/src/concepts/ConfigPropertyValue__.d.ts +0 -44
  383. package/out/src/concepts/ConfigPropertyValue__.js +0 -106
  384. package/out/src/concepts/ConfigPropertyValue__.js.map +0 -1
  385. package/out/src/concepts/ConfigProperty__.d.ts +0 -153
  386. package/out/src/concepts/ConfigProperty__.js +0 -322
  387. package/out/src/concepts/ConfigProperty__.js.map +0 -1
  388. package/out/src/concepts/Configuration__.d.ts +0 -123
  389. package/out/src/concepts/Configuration__.js +0 -229
  390. package/out/src/concepts/Configuration__.js.map +0 -1
  391. package/out/src/concepts/ConnectorTrigger__.d.ts +0 -78
  392. package/out/src/concepts/ConnectorTrigger__.js +0 -155
  393. package/out/src/concepts/ConnectorTrigger__.js.map +0 -1
  394. package/out/src/concepts/Connector__.d.ts +0 -464
  395. package/out/src/concepts/Connector__.js +0 -698
  396. package/out/src/concepts/Connector__.js.map +0 -1
  397. package/out/src/concepts/Constant__.d.ts +0 -110
  398. package/out/src/concepts/Constant__.js +0 -252
  399. package/out/src/concepts/Constant__.js.map +0 -1
  400. package/out/src/concepts/DataElement__.d.ts +0 -46
  401. package/out/src/concepts/DataElement__.js +0 -117
  402. package/out/src/concepts/DataElement__.js.map +0 -1
  403. package/out/src/concepts/DataSource__.d.ts +0 -164
  404. package/out/src/concepts/DataSource__.js +0 -441
  405. package/out/src/concepts/DataSource__.js.map +0 -1
  406. package/out/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -31
  407. package/out/src/concepts/DatabaseTypeAnnotation__.js +0 -78
  408. package/out/src/concepts/DatabaseTypeAnnotation__.js.map +0 -1
  409. package/out/src/concepts/Destination__.d.ts +0 -156
  410. package/out/src/concepts/Destination__.js +0 -738
  411. package/out/src/concepts/Destination__.js.map +0 -1
  412. package/out/src/concepts/End__.d.ts +0 -24
  413. package/out/src/concepts/End__.js +0 -114
  414. package/out/src/concepts/End__.js.map +0 -1
  415. package/out/src/concepts/EntityIndex__.d.ts +0 -95
  416. package/out/src/concepts/EntityIndex__.js +0 -218
  417. package/out/src/concepts/EntityIndex__.js.map +0 -1
  418. package/out/src/concepts/EntityProperty__.d.ts +0 -273
  419. package/out/src/concepts/EntityProperty__.js +0 -804
  420. package/out/src/concepts/EntityProperty__.js.map +0 -1
  421. package/out/src/concepts/Entity__.d.ts +0 -338
  422. package/out/src/concepts/Entity__.js +0 -709
  423. package/out/src/concepts/Entity__.js.map +0 -1
  424. package/out/src/concepts/EnumItem__.d.ts +0 -63
  425. package/out/src/concepts/EnumItem__.js +0 -145
  426. package/out/src/concepts/EnumItem__.js.map +0 -1
  427. package/out/src/concepts/Enum__.d.ts +0 -137
  428. package/out/src/concepts/Enum__.js +0 -320
  429. package/out/src/concepts/Enum__.js.map +0 -1
  430. package/out/src/concepts/Event__.d.ts +0 -143
  431. package/out/src/concepts/Event__.js +0 -245
  432. package/out/src/concepts/Event__.js.map +0 -1
  433. package/out/src/concepts/ExternalDestination__.d.ts +0 -75
  434. package/out/src/concepts/ExternalDestination__.js +0 -285
  435. package/out/src/concepts/ExternalDestination__.js.map +0 -1
  436. package/out/src/concepts/ForEachStatement__.d.ts +0 -188
  437. package/out/src/concepts/ForEachStatement__.js +0 -447
  438. package/out/src/concepts/ForEachStatement__.js.map +0 -1
  439. package/out/src/concepts/FrontendLibrary__.d.ts +0 -213
  440. package/out/src/concepts/FrontendLibrary__.js +0 -352
  441. package/out/src/concepts/FrontendLibrary__.js.map +0 -1
  442. package/out/src/concepts/FrontendVariable__.d.ts +0 -21
  443. package/out/src/concepts/FrontendVariable__.js +0 -64
  444. package/out/src/concepts/FrontendVariable__.js.map +0 -1
  445. package/out/src/concepts/Frontend__.d.ts +0 -477
  446. package/out/src/concepts/Frontend__.js +0 -841
  447. package/out/src/concepts/Frontend__.js.map +0 -1
  448. package/out/src/concepts/Function__.d.ts +0 -416
  449. package/out/src/concepts/Function__.js +0 -724
  450. package/out/src/concepts/Function__.js.map +0 -1
  451. package/out/src/concepts/Identifier__.d.ts +0 -51
  452. package/out/src/concepts/Identifier__.js +0 -295
  453. package/out/src/concepts/Identifier__.js.map +0 -1
  454. package/out/src/concepts/IfStatement__.d.ts +0 -157
  455. package/out/src/concepts/IfStatement__.js +0 -305
  456. package/out/src/concepts/IfStatement__.js.map +0 -1
  457. package/out/src/concepts/Integration__.d.ts +0 -53
  458. package/out/src/concepts/Integration__.js +0 -143
  459. package/out/src/concepts/Integration__.js.map +0 -1
  460. package/out/src/concepts/InterfaceParam__.d.ts +0 -110
  461. package/out/src/concepts/InterfaceParam__.js +0 -261
  462. package/out/src/concepts/InterfaceParam__.js.map +0 -1
  463. package/out/src/concepts/Interface__.d.ts +0 -303
  464. package/out/src/concepts/Interface__.js +0 -811
  465. package/out/src/concepts/Interface__.js.map +0 -1
  466. package/out/src/concepts/JSBlock__.d.ts +0 -33
  467. package/out/src/concepts/JSBlock__.js +0 -106
  468. package/out/src/concepts/JSBlock__.js.map +0 -1
  469. package/out/src/concepts/JavaLogic__.d.ts +0 -42
  470. package/out/src/concepts/JavaLogic__.js +0 -122
  471. package/out/src/concepts/JavaLogic__.js.map +0 -1
  472. package/out/src/concepts/LogicItem__.d.ts +0 -145
  473. package/out/src/concepts/LogicItem__.js +0 -274
  474. package/out/src/concepts/LogicItem__.js.map +0 -1
  475. package/out/src/concepts/Logic__.d.ts +0 -643
  476. package/out/src/concepts/Logic__.js +0 -1623
  477. package/out/src/concepts/Logic__.js.map +0 -1
  478. package/out/src/concepts/MatchCase__.d.ts +0 -257
  479. package/out/src/concepts/MatchCase__.js +0 -592
  480. package/out/src/concepts/MatchCase__.js.map +0 -1
  481. package/out/src/concepts/Match__.d.ts +0 -122
  482. package/out/src/concepts/Match__.js +0 -616
  483. package/out/src/concepts/Match__.js.map +0 -1
  484. package/out/src/concepts/MemberExpression__.d.ts +0 -72
  485. package/out/src/concepts/MemberExpression__.js +0 -318
  486. package/out/src/concepts/MemberExpression__.js.map +0 -1
  487. package/out/src/concepts/MicroApp__.d.ts +0 -51
  488. package/out/src/concepts/MicroApp__.js +0 -113
  489. package/out/src/concepts/MicroApp__.js.map +0 -1
  490. package/out/src/concepts/Module__.d.ts +0 -975
  491. package/out/src/concepts/Module__.js +0 -1371
  492. package/out/src/concepts/Module__.js.map +0 -1
  493. package/out/src/concepts/MsgTriggerEvent__.d.ts +0 -137
  494. package/out/src/concepts/MsgTriggerEvent__.js +0 -228
  495. package/out/src/concepts/MsgTriggerEvent__.js.map +0 -1
  496. package/out/src/concepts/MsgTriggerLauncher__.d.ts +0 -118
  497. package/out/src/concepts/MsgTriggerLauncher__.js +0 -204
  498. package/out/src/concepts/MsgTriggerLauncher__.js.map +0 -1
  499. package/out/src/concepts/Namespace__.d.ts +0 -1068
  500. package/out/src/concepts/Namespace__.js +0 -1377
  501. package/out/src/concepts/Namespace__.js.map +0 -1
  502. package/out/src/concepts/NewComposite__.d.ts +0 -345
  503. package/out/src/concepts/NewComposite__.js +0 -1086
  504. package/out/src/concepts/NewComposite__.js.map +0 -1
  505. package/out/src/concepts/NewList__.d.ts +0 -132
  506. package/out/src/concepts/NewList__.js +0 -378
  507. package/out/src/concepts/NewList__.js.map +0 -1
  508. package/out/src/concepts/NewMap__.d.ts +0 -223
  509. package/out/src/concepts/NewMap__.js +0 -522
  510. package/out/src/concepts/NewMap__.js.map +0 -1
  511. package/out/src/concepts/New__.d.ts +0 -20
  512. package/out/src/concepts/New__.js +0 -69
  513. package/out/src/concepts/New__.js.map +0 -1
  514. package/out/src/concepts/NullLiteral__.d.ts +0 -26
  515. package/out/src/concepts/NullLiteral__.js +0 -82
  516. package/out/src/concepts/NullLiteral__.js.map +0 -1
  517. package/out/src/concepts/NumericLiteral__.d.ts +0 -55
  518. package/out/src/concepts/NumericLiteral__.js +0 -173
  519. package/out/src/concepts/NumericLiteral__.js.map +0 -1
  520. package/out/src/concepts/OqlQueryComponent__.d.ts +0 -72
  521. package/out/src/concepts/OqlQueryComponent__.js +0 -323
  522. package/out/src/concepts/OqlQueryComponent__.js.map +0 -1
  523. package/out/src/concepts/OverriddenLogic__.d.ts +0 -643
  524. package/out/src/concepts/OverriddenLogic__.js +0 -1602
  525. package/out/src/concepts/OverriddenLogic__.js.map +0 -1
  526. package/out/src/concepts/Param__.d.ts +0 -171
  527. package/out/src/concepts/Param__.js +0 -446
  528. package/out/src/concepts/Param__.js.map +0 -1
  529. package/out/src/concepts/Point__.d.ts +0 -31
  530. package/out/src/concepts/Point__.js +0 -78
  531. package/out/src/concepts/Point__.js.map +0 -1
  532. package/out/src/concepts/ProcessComponent__.d.ts +0 -219
  533. package/out/src/concepts/ProcessComponent__.js +0 -336
  534. package/out/src/concepts/ProcessComponent__.js.map +0 -1
  535. package/out/src/concepts/ProcessElement__.d.ts +0 -646
  536. package/out/src/concepts/ProcessElement__.js +0 -1212
  537. package/out/src/concepts/ProcessElement__.js.map +0 -1
  538. package/out/src/concepts/ProcessOutcome__.d.ts +0 -31
  539. package/out/src/concepts/ProcessOutcome__.js +0 -90
  540. package/out/src/concepts/ProcessOutcome__.js.map +0 -1
  541. package/out/src/concepts/ProcessOutcomes__.d.ts +0 -31
  542. package/out/src/concepts/ProcessOutcomes__.js +0 -90
  543. package/out/src/concepts/ProcessOutcomes__.js.map +0 -1
  544. package/out/src/concepts/Process__.d.ts +0 -616
  545. package/out/src/concepts/Process__.js +0 -1023
  546. package/out/src/concepts/Process__.js.map +0 -1
  547. package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -51
  548. package/out/src/concepts/QueryAggregateExpression__.js +0 -147
  549. package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
  550. package/out/src/concepts/QueryFieldExpression__.d.ts +0 -53
  551. package/out/src/concepts/QueryFieldExpression__.js +0 -158
  552. package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
  553. package/out/src/concepts/QueryFromExpression__.d.ts +0 -96
  554. package/out/src/concepts/QueryFromExpression__.js +0 -195
  555. package/out/src/concepts/QueryFromExpression__.js.map +0 -1
  556. package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
  557. package/out/src/concepts/QueryGroupByExpression__.js +0 -142
  558. package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
  559. package/out/src/concepts/QueryJoinExpression__.d.ts +0 -183
  560. package/out/src/concepts/QueryJoinExpression__.js +0 -315
  561. package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
  562. package/out/src/concepts/QueryLimitExpression__.d.ts +0 -57
  563. package/out/src/concepts/QueryLimitExpression__.js +0 -159
  564. package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
  565. package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -68
  566. package/out/src/concepts/QueryOrderByExpression__.js +0 -172
  567. package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
  568. package/out/src/concepts/QuerySelectExpression__.d.ts +0 -203
  569. package/out/src/concepts/QuerySelectExpression__.js +0 -296
  570. package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
  571. package/out/src/concepts/Rect__.d.ts +0 -39
  572. package/out/src/concepts/Rect__.js +0 -92
  573. package/out/src/concepts/Rect__.js.map +0 -1
  574. package/out/src/concepts/Return__.d.ts +0 -133
  575. package/out/src/concepts/Return__.js +0 -348
  576. package/out/src/concepts/Return__.js.map +0 -1
  577. package/out/src/concepts/Role__.d.ts +0 -62
  578. package/out/src/concepts/Role__.js +0 -168
  579. package/out/src/concepts/Role__.js.map +0 -1
  580. package/out/src/concepts/SelectMembers__.d.ts +0 -142
  581. package/out/src/concepts/SelectMembers__.js +0 -293
  582. package/out/src/concepts/SelectMembers__.js.map +0 -1
  583. package/out/src/concepts/Slot__.d.ts +0 -74
  584. package/out/src/concepts/Slot__.js +0 -160
  585. package/out/src/concepts/Slot__.js.map +0 -1
  586. package/out/src/concepts/SqlQueryComponent__.d.ts +0 -70
  587. package/out/src/concepts/SqlQueryComponent__.js +0 -268
  588. package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
  589. package/out/src/concepts/Start__.d.ts +0 -24
  590. package/out/src/concepts/Start__.js +0 -74
  591. package/out/src/concepts/Start__.js.map +0 -1
  592. package/out/src/concepts/StringInterpolation__.d.ts +0 -114
  593. package/out/src/concepts/StringInterpolation__.js +0 -242
  594. package/out/src/concepts/StringInterpolation__.js.map +0 -1
  595. package/out/src/concepts/StringLiteral__.d.ts +0 -37
  596. package/out/src/concepts/StringLiteral__.js +0 -135
  597. package/out/src/concepts/StringLiteral__.js.map +0 -1
  598. package/out/src/concepts/StructureProperty__.d.ts +0 -130
  599. package/out/src/concepts/StructureProperty__.js +0 -297
  600. package/out/src/concepts/StructureProperty__.js.map +0 -1
  601. package/out/src/concepts/Structure__.d.ts +0 -251
  602. package/out/src/concepts/Structure__.js +0 -444
  603. package/out/src/concepts/Structure__.js.map +0 -1
  604. package/out/src/concepts/SwitchCase__.d.ts +0 -93
  605. package/out/src/concepts/SwitchCase__.js +0 -232
  606. package/out/src/concepts/SwitchCase__.js.map +0 -1
  607. package/out/src/concepts/SwitchStatement__.d.ts +0 -83
  608. package/out/src/concepts/SwitchStatement__.js +0 -178
  609. package/out/src/concepts/SwitchStatement__.js.map +0 -1
  610. package/out/src/concepts/Theme__.d.ts +0 -37
  611. package/out/src/concepts/Theme__.js +0 -89
  612. package/out/src/concepts/Theme__.js.map +0 -1
  613. package/out/src/concepts/Transactional__.d.ts +0 -87
  614. package/out/src/concepts/Transactional__.js +0 -166
  615. package/out/src/concepts/Transactional__.js.map +0 -1
  616. package/out/src/concepts/TriggerEvent__.d.ts +0 -120
  617. package/out/src/concepts/TriggerEvent__.js +0 -222
  618. package/out/src/concepts/TriggerEvent__.js.map +0 -1
  619. package/out/src/concepts/TriggerLauncher__.d.ts +0 -88
  620. package/out/src/concepts/TriggerLauncher__.js +0 -235
  621. package/out/src/concepts/TriggerLauncher__.js.map +0 -1
  622. package/out/src/concepts/TypeAnnotation__.d.ts +0 -293
  623. package/out/src/concepts/TypeAnnotation__.js +0 -878
  624. package/out/src/concepts/TypeAnnotation__.js.map +0 -1
  625. package/out/src/concepts/TypeParam__.d.ts +0 -24
  626. package/out/src/concepts/TypeParam__.js +0 -73
  627. package/out/src/concepts/TypeParam__.js.map +0 -1
  628. package/out/src/concepts/UnaryExpression__.d.ts +0 -48
  629. package/out/src/concepts/UnaryExpression__.js +0 -175
  630. package/out/src/concepts/UnaryExpression__.js.map +0 -1
  631. package/out/src/concepts/Unparsed__.d.ts +0 -31
  632. package/out/src/concepts/Unparsed__.js +0 -94
  633. package/out/src/concepts/Unparsed__.js.map +0 -1
  634. package/out/src/concepts/UseComponent__.d.ts +0 -31
  635. package/out/src/concepts/UseComponent__.js +0 -78
  636. package/out/src/concepts/UseComponent__.js.map +0 -1
  637. package/out/src/concepts/ValidationRule__.d.ts +0 -147
  638. package/out/src/concepts/ValidationRule__.js +0 -480
  639. package/out/src/concepts/ValidationRule__.js.map +0 -1
  640. package/out/src/concepts/Variable__.d.ts +0 -153
  641. package/out/src/concepts/Variable__.js +0 -401
  642. package/out/src/concepts/Variable__.js.map +0 -1
  643. package/out/src/concepts/ViewBlock__.d.ts +0 -35
  644. package/out/src/concepts/ViewBlock__.js +0 -85
  645. package/out/src/concepts/ViewBlock__.js.map +0 -1
  646. package/out/src/concepts/ViewComponent__.d.ts +0 -565
  647. package/out/src/concepts/ViewComponent__.js +0 -758
  648. package/out/src/concepts/ViewComponent__.js.map +0 -1
  649. package/out/src/concepts/ViewElement__.d.ts +0 -604
  650. package/out/src/concepts/ViewElement__.js +0 -1910
  651. package/out/src/concepts/ViewElement__.js.map +0 -1
  652. package/out/src/concepts/View__.d.ts +0 -713
  653. package/out/src/concepts/View__.js +0 -1693
  654. package/out/src/concepts/View__.js.map +0 -1
  655. package/out/src/concepts/WhileStatement__.d.ts +0 -96
  656. package/out/src/concepts/WhileStatement__.js +0 -211
  657. package/out/src/concepts/WhileStatement__.js.map +0 -1
  658. package/out/src/concepts/basics/stdlib/index.d.ts +0 -4
  659. package/out/src/concepts/basics/stdlib/index.js +0 -29
  660. package/out/src/concepts/basics/stdlib/index.js.map +0 -1
  661. package/out/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
  662. package/out/src/concepts/basics/stdlib/nasl.auth.js +0 -164
  663. package/out/src/concepts/basics/stdlib/nasl.auth.js.map +0 -1
  664. package/out/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
  665. package/out/src/concepts/basics/stdlib/nasl.browser.js +0 -96
  666. package/out/src/concepts/basics/stdlib/nasl.browser.js.map +0 -1
  667. package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
  668. package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -52
  669. package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
  670. package/out/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
  671. package/out/src/concepts/basics/stdlib/nasl.configuration.js +0 -33
  672. package/out/src/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
  673. package/out/src/concepts/basics/stdlib/nasl.core.d.ts +0 -5
  674. package/out/src/concepts/basics/stdlib/nasl.core.js +0 -49
  675. package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
  676. package/out/src/concepts/basics/stdlib/nasl.http.d.ts +0 -7
  677. package/out/src/concepts/basics/stdlib/nasl.http.js +0 -167
  678. package/out/src/concepts/basics/stdlib/nasl.http.js.map +0 -1
  679. package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
  680. package/out/src/concepts/basics/stdlib/nasl.interface.js +0 -43
  681. package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
  682. package/out/src/concepts/basics/stdlib/nasl.io.d.ts +0 -3
  683. package/out/src/concepts/basics/stdlib/nasl.io.js +0 -52
  684. package/out/src/concepts/basics/stdlib/nasl.io.js.map +0 -1
  685. package/out/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
  686. package/out/src/concepts/basics/stdlib/nasl.logging.js +0 -56
  687. package/out/src/concepts/basics/stdlib/nasl.logging.js.map +0 -1
  688. package/out/src/concepts/basics/stdlib/nasl.process.d.ts +0 -7
  689. package/out/src/concepts/basics/stdlib/nasl.process.js +0 -638
  690. package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
  691. package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
  692. package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -1018
  693. package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
  694. package/out/src/concepts/basics/stdlib/nasl.util.d.ts +0 -3
  695. package/out/src/concepts/basics/stdlib/nasl.util.js +0 -2238
  696. package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
  697. package/out/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
  698. package/out/src/concepts/basics/stdlib/nasl.validation.js +0 -565
  699. package/out/src/concepts/basics/stdlib/nasl.validation.js.map +0 -1
  700. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
  701. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
  702. package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
  703. package/out/src/concepts/basics/types/coreTypeList.d.ts +0 -2
  704. package/out/src/concepts/basics/types/coreTypeList.js +0 -15
  705. package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
  706. package/out/src/concepts/basics/types/index.d.ts +0 -16
  707. package/out/src/concepts/basics/types/index.js +0 -35
  708. package/out/src/concepts/basics/types/index.js.map +0 -1
  709. package/out/src/concepts/index.d.ts +0 -6
  710. package/out/src/concepts/index.js +0 -25
  711. package/out/src/concepts/index.js.map +0 -1
  712. package/out/src/concepts/index__.d.ts +0 -122
  713. package/out/src/concepts/index__.js +0 -139
  714. package/out/src/concepts/index__.js.map +0 -1
  715. package/out/src/concepts/types__.d.ts +0 -124
  716. package/out/src/concepts/types__.js +0 -3
  717. package/out/src/concepts/types__.js.map +0 -1
  718. package/out/src/config.d.ts +0 -43
  719. package/out/src/config.js +0 -72
  720. package/out/src/config.js.map +0 -1
  721. package/out/src/decorators/index.d.ts +0 -55
  722. package/out/src/decorators/index.js +0 -153
  723. package/out/src/decorators/index.js.map +0 -1
  724. package/out/src/enums/KEYWORDS.d.ts +0 -6
  725. package/out/src/enums/KEYWORDS.js +0 -1244
  726. package/out/src/enums/KEYWORDS.js.map +0 -1
  727. package/out/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
  728. package/out/src/enums/LEVEL_NAME_MAP.js +0 -30
  729. package/out/src/enums/LEVEL_NAME_MAP.js.map +0 -1
  730. package/out/src/eventBus.d.ts +0 -3
  731. package/out/src/eventBus.js +0 -7
  732. package/out/src/eventBus.js.map +0 -1
  733. package/out/src/generator/compileComponent.d.ts +0 -11
  734. package/out/src/generator/compileComponent.js +0 -12
  735. package/out/src/generator/compileComponent.js.map +0 -1
  736. package/out/src/generator/genBundleFiles.d.ts +0 -31
  737. package/out/src/generator/genBundleFiles.js +0 -432
  738. package/out/src/generator/genBundleFiles.js.map +0 -1
  739. package/out/src/generator/genHash.d.ts +0 -7
  740. package/out/src/generator/genHash.js +0 -39
  741. package/out/src/generator/genHash.js.map +0 -1
  742. package/out/src/generator/genMetaData.d.ts +0 -31
  743. package/out/src/generator/genMetaData.js +0 -274
  744. package/out/src/generator/genMetaData.js.map +0 -1
  745. package/out/src/generator/genReleaseBody.d.ts +0 -70
  746. package/out/src/generator/genReleaseBody.js +0 -268
  747. package/out/src/generator/genReleaseBody.js.map +0 -1
  748. package/out/src/generator/icestark.d.ts +0 -2
  749. package/out/src/generator/icestark.js +0 -48
  750. package/out/src/generator/icestark.js.map +0 -1
  751. package/out/src/generator/index.d.ts +0 -7
  752. package/out/src/generator/index.js +0 -24
  753. package/out/src/generator/index.js.map +0 -1
  754. package/out/src/generator/microApp.d.ts +0 -2
  755. package/out/src/generator/microApp.js +0 -35
  756. package/out/src/generator/microApp.js.map +0 -1
  757. package/out/src/generator/permission.d.ts +0 -10
  758. package/out/src/generator/permission.js +0 -267
  759. package/out/src/generator/permission.js.map +0 -1
  760. package/out/src/generator/qiankun.d.ts +0 -2
  761. package/out/src/generator/qiankun.js +0 -52
  762. package/out/src/generator/qiankun.js.map +0 -1
  763. package/out/src/generator/styleReplacer.d.ts +0 -3
  764. package/out/src/generator/styleReplacer.js +0 -71
  765. package/out/src/generator/styleReplacer.js.map +0 -1
  766. package/out/src/index.d.ts +0 -14
  767. package/out/src/index.js +0 -65
  768. package/out/src/index.js.map +0 -1
  769. package/out/src/manager/diagnostic.d.ts +0 -35
  770. package/out/src/manager/diagnostic.js +0 -63
  771. package/out/src/manager/diagnostic.js.map +0 -1
  772. package/out/src/manager/stepRecorder.d.ts +0 -20
  773. package/out/src/manager/stepRecorder.js +0 -110
  774. package/out/src/manager/stepRecorder.js.map +0 -1
  775. package/out/src/sentry/index.d.ts +0 -33
  776. package/out/src/sentry/index.js +0 -141
  777. package/out/src/sentry/index.js.map +0 -1
  778. package/out/src/server/createUiTs.d.ts +0 -16
  779. package/out/src/server/createUiTs.js +0 -248
  780. package/out/src/server/createUiTs.js.map +0 -1
  781. package/out/src/server/entity2LogicNamespace.d.ts +0 -10
  782. package/out/src/server/entity2LogicNamespace.js +0 -380
  783. package/out/src/server/entity2LogicNamespace.js.map +0 -1
  784. package/out/src/server/event.d.ts +0 -18
  785. package/out/src/server/event.js +0 -127
  786. package/out/src/server/event.js.map +0 -1
  787. package/out/src/server/extendBaseNode.d.ts +0 -1
  788. package/out/src/server/extendBaseNode.js +0 -528
  789. package/out/src/server/extendBaseNode.js.map +0 -1
  790. package/out/src/server/formatTsUtils.d.ts +0 -37
  791. package/out/src/server/formatTsUtils.js +0 -857
  792. package/out/src/server/formatTsUtils.js.map +0 -1
  793. package/out/src/server/getConnector.d.ts +0 -11
  794. package/out/src/server/getConnector.js +0 -42
  795. package/out/src/server/getConnector.js.map +0 -1
  796. package/out/src/server/getExtensionModules.d.ts +0 -3
  797. package/out/src/server/getExtensionModules.js +0 -34
  798. package/out/src/server/getExtensionModules.js.map +0 -1
  799. package/out/src/server/getFunctions.d.ts +0 -3
  800. package/out/src/server/getFunctions.js +0 -20
  801. package/out/src/server/getFunctions.js.map +0 -1
  802. package/out/src/server/getInterfaces.d.ts +0 -2
  803. package/out/src/server/getInterfaces.js +0 -48
  804. package/out/src/server/getInterfaces.js.map +0 -1
  805. package/out/src/server/getLogging.d.ts +0 -1
  806. package/out/src/server/getLogging.js +0 -9
  807. package/out/src/server/getLogging.js.map +0 -1
  808. package/out/src/server/getLogics.d.ts +0 -4
  809. package/out/src/server/getLogics.js +0 -335
  810. package/out/src/server/getLogics.js.map +0 -1
  811. package/out/src/server/getMemberIdentifier.d.ts +0 -16
  812. package/out/src/server/getMemberIdentifier.js +0 -317
  813. package/out/src/server/getMemberIdentifier.js.map +0 -1
  814. package/out/src/server/getProcessComponents.d.ts +0 -2
  815. package/out/src/server/getProcessComponents.js +0 -13
  816. package/out/src/server/getProcessComponents.js.map +0 -1
  817. package/out/src/server/getProcesses.d.ts +0 -33
  818. package/out/src/server/getProcesses.js +0 -605
  819. package/out/src/server/getProcesses.js.map +0 -1
  820. package/out/src/server/getScope.d.ts +0 -13
  821. package/out/src/server/getScope.js +0 -61
  822. package/out/src/server/getScope.js.map +0 -1
  823. package/out/src/server/getValidates.d.ts +0 -3
  824. package/out/src/server/getValidates.js +0 -14
  825. package/out/src/server/getValidates.js.map +0 -1
  826. package/out/src/server/index.d.ts +0 -5
  827. package/out/src/server/index.js +0 -41
  828. package/out/src/server/index.js.map +0 -1
  829. package/out/src/server/naslServer.d.ts +0 -357
  830. package/out/src/server/naslServer.js +0 -4369
  831. package/out/src/server/naslServer.js.map +0 -1
  832. package/out/src/server/naslStdlibMap.d.ts +0 -2
  833. package/out/src/server/naslStdlibMap.js +0 -50
  834. package/out/src/server/naslStdlibMap.js.map +0 -1
  835. package/out/src/server/process2LogicNamespace.d.ts +0 -26
  836. package/out/src/server/process2LogicNamespace.js +0 -109
  837. package/out/src/server/process2LogicNamespace.js.map +0 -1
  838. package/out/src/server/translator.d.ts +0 -26
  839. package/out/src/server/translator.js +0 -805
  840. package/out/src/server/translator.js.map +0 -1
  841. package/out/src/service/creator/add.configs.d.ts +0 -1
  842. package/out/src/service/creator/add.configs.js +0 -74
  843. package/out/src/service/creator/add.configs.js.map +0 -1
  844. package/out/src/service/creator/errHandles.d.ts +0 -18
  845. package/out/src/service/creator/errHandles.js +0 -75
  846. package/out/src/service/creator/errHandles.js.map +0 -1
  847. package/out/src/service/creator/index.d.ts +0 -1
  848. package/out/src/service/creator/index.js +0 -74
  849. package/out/src/service/creator/index.js.map +0 -1
  850. package/out/src/service/datasource/api.d.ts +0 -12
  851. package/out/src/service/datasource/api.js +0 -14
  852. package/out/src/service/datasource/api.js.map +0 -1
  853. package/out/src/service/datasource/index.d.ts +0 -2
  854. package/out/src/service/datasource/index.js +0 -10
  855. package/out/src/service/datasource/index.js.map +0 -1
  856. package/out/src/service/defaultErrorMessage.json +0 -98
  857. package/out/src/service/logic/api.d.ts +0 -9
  858. package/out/src/service/logic/api.js +0 -11
  859. package/out/src/service/logic/api.js.map +0 -1
  860. package/out/src/service/logic/checktypeSocket.d.ts +0 -5
  861. package/out/src/service/logic/checktypeSocket.js +0 -55
  862. package/out/src/service/logic/checktypeSocket.js.map +0 -1
  863. package/out/src/service/logic/index.d.ts +0 -2
  864. package/out/src/service/logic/index.js +0 -10
  865. package/out/src/service/logic/index.js.map +0 -1
  866. package/out/src/service/storage/api.d.ts +0 -54
  867. package/out/src/service/storage/api.js +0 -42
  868. package/out/src/service/storage/api.js.map +0 -1
  869. package/out/src/service/storage/index.d.ts +0 -2
  870. package/out/src/service/storage/index.js +0 -10
  871. package/out/src/service/storage/index.js.map +0 -1
  872. package/out/src/service/storage/init.d.ts +0 -68
  873. package/out/src/service/storage/init.js +0 -784
  874. package/out/src/service/storage/init.js.map +0 -1
  875. package/out/src/service/storage/jsoner.d.ts +0 -36
  876. package/out/src/service/storage/jsoner.js +0 -131
  877. package/out/src/service/storage/jsoner.js.map +0 -1
  878. package/out/src/service/storage/map.d.ts +0 -4
  879. package/out/src/service/storage/map.js +0 -54
  880. package/out/src/service/storage/map.js.map +0 -1
  881. package/out/src/service/storage/service.d.ts +0 -25
  882. package/out/src/service/storage/service.js +0 -80
  883. package/out/src/service/storage/service.js.map +0 -1
  884. package/out/src/service/storage/storagePoint.d.ts +0 -17
  885. package/out/src/service/storage/storagePoint.js +0 -76
  886. package/out/src/service/storage/storagePoint.js.map +0 -1
  887. package/out/src/service/video/BaseService.d.ts +0 -7
  888. package/out/src/service/video/BaseService.js +0 -61
  889. package/out/src/service/video/BaseService.js.map +0 -1
  890. package/out/src/service/video/MainCallbackService.d.ts +0 -12
  891. package/out/src/service/video/MainCallbackService.js +0 -183
  892. package/out/src/service/video/MainCallbackService.js.map +0 -1
  893. package/out/src/service/video/VideoTranscribe.d.ts +0 -15
  894. package/out/src/service/video/VideoTranscribe.js +0 -96
  895. package/out/src/service/video/VideoTranscribe.js.map +0 -1
  896. package/out/src/service/video/publishService.d.ts +0 -1
  897. package/out/src/service/video/publishService.js +0 -58
  898. package/out/src/service/video/publishService.js.map +0 -1
  899. package/out/src/templator/genCallComponentLogic.d.ts +0 -17
  900. package/out/src/templator/genCallComponentLogic.js +0 -30
  901. package/out/src/templator/genCallComponentLogic.js.map +0 -1
  902. package/out/src/templator/genCreateBlock.d.ts +0 -10
  903. package/out/src/templator/genCreateBlock.js +0 -336
  904. package/out/src/templator/genCreateBlock.js.map +0 -1
  905. package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
  906. package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -514
  907. package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
  908. package/out/src/templator/genCurdMultipleKeyBlock.d.ts +0 -34
  909. package/out/src/templator/genCurdMultipleKeyBlock.js +0 -707
  910. package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
  911. package/out/src/templator/genEditTableBlock.d.ts +0 -51
  912. package/out/src/templator/genEditTableBlock.js +0 -299
  913. package/out/src/templator/genEditTableBlock.js.map +0 -1
  914. package/out/src/templator/genEnumSelectBlock.d.ts +0 -10
  915. package/out/src/templator/genEnumSelectBlock.js +0 -26
  916. package/out/src/templator/genEnumSelectBlock.js.map +0 -1
  917. package/out/src/templator/genGetBlock.d.ts +0 -6
  918. package/out/src/templator/genGetBlock.js +0 -138
  919. package/out/src/templator/genGetBlock.js.map +0 -1
  920. package/out/src/templator/genGridViewBlock.d.ts +0 -55
  921. package/out/src/templator/genGridViewBlock.js +0 -350
  922. package/out/src/templator/genGridViewBlock.js.map +0 -1
  923. package/out/src/templator/genListViewBlock.d.ts +0 -19
  924. package/out/src/templator/genListViewBlock.js +0 -143
  925. package/out/src/templator/genListViewBlock.js.map +0 -1
  926. package/out/src/templator/genQueryComponent.d.ts +0 -34
  927. package/out/src/templator/genQueryComponent.js +0 -342
  928. package/out/src/templator/genQueryComponent.js.map +0 -1
  929. package/out/src/templator/genSelectBlock.d.ts +0 -45
  930. package/out/src/templator/genSelectBlock.js +0 -406
  931. package/out/src/templator/genSelectBlock.js.map +0 -1
  932. package/out/src/templator/genTableBlock.d.ts +0 -53
  933. package/out/src/templator/genTableBlock.js +0 -280
  934. package/out/src/templator/genTableBlock.js.map +0 -1
  935. package/out/src/templator/genUpdateBlock.d.ts +0 -6
  936. package/out/src/templator/genUpdateBlock.js +0 -378
  937. package/out/src/templator/genUpdateBlock.js.map +0 -1
  938. package/out/src/templator/index.d.ts +0 -17
  939. package/out/src/templator/index.js +0 -38
  940. package/out/src/templator/index.js.map +0 -1
  941. package/out/src/templator/utils.d.ts +0 -676
  942. package/out/src/templator/utils.js +0 -459
  943. package/out/src/templator/utils.js.map +0 -1
  944. package/out/src/test/fixtures/env.d.ts +0 -5
  945. package/out/src/test/fixtures/env.js +0 -20
  946. package/out/src/test/fixtures/env.js.map +0 -1
  947. package/out/src/test/integration/connect-create-file.d.ts +0 -1
  948. package/out/src/test/integration/connect-create-file.js +0 -39
  949. package/out/src/test/integration/connect-create-file.js.map +0 -1
  950. package/out/src/test/integration/connect-file.d.ts +0 -1
  951. package/out/src/test/integration/connect-file.js +0 -49
  952. package/out/src/test/integration/connect-file.js.map +0 -1
  953. package/out/src/test/integration/node-nasl-server.d.ts +0 -1
  954. package/out/src/test/integration/node-nasl-server.js +0 -13
  955. package/out/src/test/integration/node-nasl-server.js.map +0 -1
  956. package/out/src/test/units/baseTypes/Assignment.spec.d.ts +0 -1
  957. package/out/src/test/units/baseTypes/Assignment.spec.js +0 -43
  958. package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
  959. package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +0 -1
  960. package/out/src/test/units/baseTypes/CallLogic.spec.js +0 -44
  961. package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
  962. package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
  963. package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
  964. package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
  965. package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
  966. package/out/src/test/units/baseTypes/new.spec.js +0 -37
  967. package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
  968. package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
  969. package/out/src/test/units/common/Vertex.spec.js +0 -22
  970. package/out/src/test/units/common/Vertex.spec.js.map +0 -1
  971. package/out/src/test/units/data/Entity.spec.d.ts +0 -1
  972. package/out/src/test/units/data/Entity.spec.js +0 -12
  973. package/out/src/test/units/data/Entity.spec.js.map +0 -1
  974. package/out/src/test/units/login.spec.d.ts +0 -1
  975. package/out/src/test/units/login.spec.js +0 -12
  976. package/out/src/test/units/login.spec.js.map +0 -1
  977. package/out/src/test/units/page/Block.spec.d.ts +0 -0
  978. package/out/src/test/units/page/Block.spec.js +0 -13
  979. package/out/src/test/units/page/Block.spec.js.map +0 -1
  980. package/out/src/test/units/page/Element.spec.d.ts +0 -1
  981. package/out/src/test/units/page/Element.spec.js +0 -44
  982. package/out/src/test/units/page/Element.spec.js.map +0 -1
  983. package/out/src/test/units/temp/temp.spec.d.ts +0 -1
  984. package/out/src/test/units/temp/temp.spec.js +0 -68
  985. package/out/src/test/units/temp/temp.spec.js.map +0 -1
  986. package/out/src/translator/index.d.ts +0 -48
  987. package/out/src/translator/index.js +0 -114
  988. package/out/src/translator/index.js.map +0 -1
  989. package/out/src/translator/lsp.d.ts +0 -45
  990. package/out/src/translator/lsp.js +0 -6
  991. package/out/src/translator/lsp.js.map +0 -1
  992. package/out/src/translator/tsp.d.ts +0 -12
  993. package/out/src/translator/tsp.js +0 -3
  994. package/out/src/translator/tsp.js.map +0 -1
  995. package/out/src/utils/index.d.ts +0 -39
  996. package/out/src/utils/index.js +0 -191
  997. package/out/src/utils/index.js.map +0 -1
  998. package/out/src/utils/logger.d.ts +0 -3
  999. package/out/src/utils/logger.js +0 -11
  1000. package/out/src/utils/logger.js.map +0 -1
  1001. package/out/src/utils/sortTsString.d.ts +0 -1
  1002. package/out/src/utils/sortTsString.js +0 -36
  1003. package/out/src/utils/sortTsString.js.map +0 -1
  1004. package/out/src/utils/string.d.ts +0 -51
  1005. package/out/src/utils/string.js +0 -110
  1006. package/out/src/utils/string.js.map +0 -1
  1007. package/out/src/utils/traverse.d.ts +0 -36
  1008. package/out/src/utils/traverse.js +0 -145
  1009. package/out/src/utils/traverse.js.map +0 -1
  1010. package/out/test/concepts/utils.d.ts +0 -2
  1011. package/out/test/concepts/utils.js +0 -20
  1012. package/out/test/concepts/utils.js.map +0 -1
  1013. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
  1014. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js +0 -23
  1015. package/out/test/concepts/validation-rule/toEmbeddedTS.spec.js.map +0 -1
  1016. package/out/test/setup.d.ts +0 -1
  1017. package/out/test/setup.js +0 -6
  1018. package/out/test/setup.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"genReleaseBody.js","sourceRoot":"","sources":["../../../src/generator/genReleaseBody.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAC1D,6CAAmE;AAkCnE,SAAS,gBAAgB,CAAC,UAAqC;IAC3D,MAAM,GAAG,GAAG,IAAI,GAAG,EAAgC,CAAC;IAEpD,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACxC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACnB,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACP,CAA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CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7E,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;QACxH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;KACrH;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const _default: "\n if(window.ICESTARK?.root) {\n Object.assign(window.ICESTARK, {\n appEnter({ container, customProps }) {\n window.LcapMicro = window.LcapMicro || {};\n Object.assign(window.LcapMicro, {properties});\n \n if(window.LcapMicro.noAuthUrl && !window.LcapMicro.noAuthFn)\n window.LcapMicro.noAuthFn = () => {\n location.href = window.LcapMicro.noAuthUrl;\n };\n \n if(window.LcapMicro.loginUrl && !window.LcapMicro.loginFn)\n window.LcapMicro.loginFn = () => {\n location.href = window.LcapMicro.loginUrl;\n };\n\n if(window.LcapMicro.notFoundUrl && !window.LcapMicro.notFoundFn)\n window.LcapMicro.notFoundFn = () => {\n location.href = window.LcapMicro.notFoundUrl;\n };\n \n // 兼容 ICESTARK 旧集成方式\n if(!window.LcapMicro.loginFn)\n window.LcapMicro.loginFn = window.ICESTARK.loginFn;\n if(!window.LcapMicro.routePrefix)\n window.LcapMicro.routePrefix = window.ICESTARK.basename;\n if(!window.LcapMicro.proxyPrefix)\n window.LcapMicro.proxyPrefix = window.ICESTARK.proxyPrefix;\n\n window.LcapMicro.container = container; \n window.LcapMicro.props = customProps;\n loadAssets();\n },\n appLeave({ container }) {\n container.innerHTML = null;\n window.appVM?.$destroy();\n document.querySelectorAll('script.lazyload').forEach((ele) => {\n ele.active = false;\n });\n },\n });\n } else\n loadAssets();\n";
2
- export default _default;
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = `
4
- if(window.ICESTARK?.root) {
5
- Object.assign(window.ICESTARK, {
6
- appEnter({ container, customProps }) {
7
- window.LcapMicro = window.LcapMicro || {};
8
- Object.assign(window.LcapMicro, {properties});
9
-
10
- if(window.LcapMicro.noAuthUrl && !window.LcapMicro.noAuthFn)
11
- window.LcapMicro.noAuthFn = () => {
12
- location.href = window.LcapMicro.noAuthUrl;
13
- };
14
-
15
- if(window.LcapMicro.loginUrl && !window.LcapMicro.loginFn)
16
- window.LcapMicro.loginFn = () => {
17
- location.href = window.LcapMicro.loginUrl;
18
- };
19
-
20
- if(window.LcapMicro.notFoundUrl && !window.LcapMicro.notFoundFn)
21
- window.LcapMicro.notFoundFn = () => {
22
- location.href = window.LcapMicro.notFoundUrl;
23
- };
24
-
25
- // 兼容 ICESTARK 旧集成方式
26
- if(!window.LcapMicro.loginFn)
27
- window.LcapMicro.loginFn = window.ICESTARK.loginFn;
28
- if(!window.LcapMicro.routePrefix)
29
- window.LcapMicro.routePrefix = window.ICESTARK.basename;
30
- if(!window.LcapMicro.proxyPrefix)
31
- window.LcapMicro.proxyPrefix = window.ICESTARK.proxyPrefix;
32
-
33
- window.LcapMicro.container = container;
34
- window.LcapMicro.props = customProps;
35
- loadAssets();
36
- },
37
- appLeave({ container }) {
38
- container.innerHTML = null;
39
- window.appVM?.$destroy();
40
- document.querySelectorAll('script.lazyload').forEach((ele) => {
41
- ele.active = false;
42
- });
43
- },
44
- });
45
- } else
46
- loadAssets();
47
- `;
48
- //# sourceMappingURL=icestark.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icestark.js","sourceRoot":"","sources":["../../../src/generator/icestark.ts"],"names":[],"mappings":";;AAAA,kBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Cd,CAAC"}
@@ -1,7 +0,0 @@
1
- export * from './genHash';
2
- export * from './compileComponent';
3
- export * from './styleReplacer';
4
- export * from './genBundleFiles';
5
- export * from './genMetaData';
6
- export * from './genReleaseBody';
7
- export * from './permission';
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./genHash"), exports);
18
- __exportStar(require("./compileComponent"), exports);
19
- __exportStar(require("./styleReplacer"), exports);
20
- __exportStar(require("./genBundleFiles"), exports);
21
- __exportStar(require("./genMetaData"), exports);
22
- __exportStar(require("./genReleaseBody"), exports);
23
- __exportStar(require("./permission"), exports);
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generator/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B"}
@@ -1,2 +0,0 @@
1
- import { Frontend } from '../concepts';
2
- export declare function integrateMicroApp(frontend: Frontend): string;
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.integrateMicroApp = void 0;
7
- const qiankun_1 = __importDefault(require("./qiankun"));
8
- const icestark_1 = __importDefault(require("./icestark"));
9
- const framewords = {
10
- qiankun: qiankun_1.default, icestark: icestark_1.default,
11
- };
12
- function integrateMicroApp(frontend) {
13
- if (frontend.type === 'h5')
14
- return '';
15
- let { framework, name, routePrefix, proxyPrefix, loginUrl, noAuthUrl, notFoundUrl } = frontend.app.integration?.microApp || {};
16
- if (!framework)
17
- framework = 'icestark'; // 兼容 ICESTARK 旧集成方式
18
- if (loginUrl === `${routePrefix}${frontend.basePath}/login`)
19
- loginUrl = undefined;
20
- if (noAuthUrl === `${routePrefix}${frontend.basePath}/noAuth`)
21
- noAuthUrl = undefined;
22
- if (notFoundUrl === `${routePrefix}${frontend.basePath}/notFound`)
23
- notFoundUrl = undefined;
24
- const properties = JSON.stringify({
25
- name: name || undefined,
26
- routePrefix: routePrefix || undefined,
27
- proxyPrefix: proxyPrefix || undefined,
28
- loginUrl: loginUrl || undefined,
29
- noAuthUrl: noAuthUrl || undefined,
30
- notFoundUrl: notFoundUrl || undefined,
31
- });
32
- return framewords[framework].replace(/\{properties\}/g, properties);
33
- }
34
- exports.integrateMicroApp = integrateMicroApp;
35
- //# sourceMappingURL=microApp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"microApp.js","sourceRoot":"","sources":["../../../src/generator/microApp.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAChC,0DAAkC;AAGlC,MAAM,UAAU,GAAG;IACf,OAAO,EAAP,iBAAO,EAAE,QAAQ,EAAR,kBAAQ;CACpB,CAAC;AAEF,SAAgB,iBAAiB,CAAC,QAAkB;IAChD,IAAG,QAAQ,CAAC,IAAI,KAAK,IAAI;QAAE,OAAO,EAAE,CAAC;IAErC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,QAAQ,IAAI,EAAE,CAAC;IAChI,IAAG,CAAC,SAAS;QAAE,SAAS,GAAG,UAAU,CAAC,CAAE,oBAAoB;IAE5D,IAAG,QAAQ,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAC,QAAQ,QAAQ;QACtD,QAAQ,GAAG,SAAS,CAAC;IACzB,IAAG,SAAS,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAC,QAAQ,SAAS;QACxD,SAAS,GAAG,SAAS,CAAC;IAC1B,IAAG,WAAW,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAC,QAAQ,WAAW;QAC5D,WAAW,GAAG,SAAS,CAAC;IAE5B,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;QAC9B,IAAI,EAAE,IAAI,IAAI,SAAS;QACvB,WAAW,EAAE,WAAW,IAAI,SAAS;QACrC,WAAW,EAAE,WAAW,IAAI,SAAS;QACrC,QAAQ,EAAE,QAAQ,IAAI,SAAS;QAC/B,SAAS,EAAE,SAAS,IAAI,SAAS;QACjC,WAAW,EAAE,WAAW,IAAI,SAAS;KACxC,CAAC,CAAC;IACH,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;AACxE,CAAC;AAtBD,8CAsBC"}
@@ -1,10 +0,0 @@
1
- import { App } from '../concepts';
2
- declare type ResourceNode = {
3
- path: string;
4
- type: 'component' | 'page';
5
- };
6
- export declare function genPermissionData(app: App): Promise<{
7
- [key: string]: ResourceNode[][];
8
- }>;
9
- export declare function genLogicAuthFlag(app: App): boolean;
10
- export {};
@@ -1,267 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.genLogicAuthFlag = exports.genPermissionData = void 0;
4
- const concepts_1 = require("../concepts");
5
- const process2LogicNamespace_1 = require("../server/process2LogicNamespace");
6
- function isReadOnly(logic) {
7
- return !!logic.module
8
- || logic.parentNode?.concept === 'Namespace'
9
- || logic.parentKey === 'readonly'; // process logic
10
- }
11
- const cache = new Map();
12
- let useCache = false;
13
- async function findUsage(logic) {
14
- if (useCache && cache.has(logic))
15
- return cache.get(logic);
16
- const res = isReadOnly(logic) ? await logic.findReadOnlyLogicUsage() : await logic.findUsage();
17
- if (useCache)
18
- cache.set(logic, res);
19
- return res;
20
- }
21
- function openCache() {
22
- useCache = true;
23
- cache.clear();
24
- }
25
- function closeCache() {
26
- useCache = false;
27
- cache.clear();
28
- }
29
- async function findViewLogicReferences(logic, vis = new Set()) {
30
- const usageMap = await findUsage(logic);
31
- const usages = [];
32
- usageMap.forEach((usage, node) => {
33
- if (node instanceof concepts_1.Frontend)
34
- usages.push(usage);
35
- });
36
- async function dfs(usage) {
37
- if (usage.node instanceof concepts_1.CallLogic) {
38
- const logic = usage.node.logic;
39
- if (!vis.has(logic) && logic) {
40
- vis.add(logic);
41
- await findViewLogicReferences(logic, vis);
42
- }
43
- }
44
- if (usage.children) {
45
- for (const child of usage.children) {
46
- await dfs(child);
47
- }
48
- }
49
- }
50
- for (const usage of usages) {
51
- await dfs(usage);
52
- }
53
- return Array.from(vis);
54
- }
55
- async function findUIReferences(logic) {
56
- const usageMap = await findUsage(logic);
57
- const usages = [];
58
- usageMap.forEach((usage, node) => {
59
- if (node instanceof concepts_1.Frontend)
60
- usages.push(usage);
61
- });
62
- const res = [];
63
- function dfs(usage, parent = null) {
64
- if ((usage.node instanceof concepts_1.BindEvent || usage.node instanceof concepts_1.BindAttribute || usage.node instanceof concepts_1.BindStyle || usage.node instanceof concepts_1.BindDirective)
65
- && (parent.node instanceof concepts_1.View || parent.node instanceof concepts_1.ViewElement))
66
- res.push(parent.node);
67
- usage.children?.forEach((child) => {
68
- dfs(child, usage);
69
- });
70
- }
71
- usages.forEach((usage) => {
72
- dfs(usage);
73
- });
74
- return res;
75
- }
76
- function findResourcesOfUI(view) {
77
- const res = [];
78
- let node = view;
79
- while (node) {
80
- if (node instanceof concepts_1.View && node.auth)
81
- res.push({
82
- path: node.authPath,
83
- type: 'page',
84
- });
85
- else if (node instanceof concepts_1.ViewElement && node.auth) {
86
- res.push({
87
- path: node.authPath,
88
- type: 'component',
89
- });
90
- }
91
- node = node.parentNode;
92
- }
93
- return res;
94
- }
95
- function optimizeResourceData(resources) {
96
- let res = removeRedundantResourceData(resources);
97
- return res;
98
- }
99
- // [['b'], ['a' ,'b']] 只需要保留 [['b']]
100
- function removeRedundantResourceData(resources) {
101
- const wm = new WeakMap();
102
- for (const resource of resources) {
103
- const hash = resource.map(({ path, type }) => `${path}_${type}`)
104
- .join();
105
- wm.set(resource, hash);
106
- }
107
- resources.sort((a, b) => wm.get(a).length - wm.get(b).length);
108
- const res = [];
109
- const hashs = [];
110
- for (const resource of resources) {
111
- const hash = wm.get(resource);
112
- if (hashs.some((h) => hash.endsWith(h)))
113
- continue;
114
- res.push(resource);
115
- hashs.push(hash);
116
- }
117
- return res;
118
- }
119
- async function findResourcesOfLogic(logic, uploaders) {
120
- const logics = await findViewLogicReferences(logic);
121
- logics.push(logic);
122
- let UIs = [];
123
- for (const logic of logics) {
124
- UIs = UIs.concat(await findUIReferences(logic));
125
- }
126
- const service = logic.toService();
127
- if (uploaders.has(service.url.path)) {
128
- UIs = UIs.concat(uploaders.get(service.url.path));
129
- }
130
- UIs = Array.from(new Set(UIs));
131
- const res = UIs.map((ui) => findResourcesOfUI(ui));
132
- return optimizeResourceData(res);
133
- }
134
- function getAllLogics(app) {
135
- const modules = [];
136
- const entities = [];
137
- const logics = [];
138
- if (Array.isArray(app.dataSources)) {
139
- app.dataSources.forEach((dataSource) => {
140
- if (Array.isArray(dataSource.entities)) {
141
- entities.push(...dataSource.entities);
142
- }
143
- });
144
- }
145
- app.logics && logics.push(...app.logics);
146
- app.dependencies && modules.push(...app.dependencies);
147
- app.interfaceDependencies && modules.push(...app.interfaceDependencies);
148
- modules.forEach((module) => {
149
- module.logics && logics.push(...module.logics);
150
- if (Array.isArray(module.dataSources)) {
151
- module.dataSources.forEach((dataSource) => {
152
- if (Array.isArray(dataSource.entities)) {
153
- entities.push(...dataSource.entities);
154
- }
155
- });
156
- }
157
- });
158
- const allLogics = [];
159
- if (Array.isArray(entities)) {
160
- entities.forEach((entity) => {
161
- const ns = entity.ns;
162
- if (Array.isArray(ns?.logics)) {
163
- allLogics.push(...ns.logics);
164
- }
165
- });
166
- }
167
- if (Array.isArray(logics)) {
168
- allLogics.push(...logics);
169
- }
170
- const processLogics = [];
171
- const processTreeFragments = (app.processes || [])
172
- .map(process2LogicNamespace_1.processToTreeFragment);
173
- processTreeFragments.forEach((tree) => {
174
- processLogics.push(...tree.logics);
175
- tree.elements.forEach((element) => {
176
- processLogics.push(...element.logics);
177
- });
178
- });
179
- return {
180
- logics: allLogics,
181
- processLogics,
182
- };
183
- }
184
- function findUploaders(app) {
185
- const map = new Map();
186
- app.traverseChildren((node) => {
187
- if (node instanceof concepts_1.ViewElement && node.tag?.includes('uploader')) {
188
- const urlAttr = node.bindAttrs.find((item) => item.name === 'url');
189
- const url = urlAttr?.value;
190
- if (url) {
191
- if (!map.has(url))
192
- map.set(url, [node]);
193
- else
194
- map.get(url).push(node);
195
- }
196
- }
197
- });
198
- return map;
199
- }
200
- function checkUploadAuth(uploaders) {
201
- const res = [];
202
- // 如果开启控制权限-componet,没开启权限-page
203
- uploaders.get('/upload')?.map(node => {
204
- if (node instanceof concepts_1.ViewElement) {
205
- if (node.auth) {
206
- res.push({
207
- path: node.authPath,
208
- type: 'component',
209
- });
210
- }
211
- else {
212
- res.push({
213
- path: `${node?.view?.path}`,
214
- type: 'page',
215
- });
216
- }
217
- }
218
- });
219
- return res;
220
- }
221
- function checkPageAndUploadAuth(uploaders) {
222
- let flag = -1;
223
- flag = uploaders.get('/upload')?.findIndex(node => {
224
- if (node.getAncestor('View') instanceof concepts_1.View) {
225
- // 当前页面未开启权限且文件上传组件也未开启权限
226
- if (!node.getAncestor('View').auth && node instanceof concepts_1.ViewElement && !node.auth) {
227
- return true;
228
- }
229
- }
230
- });
231
- return flag;
232
- }
233
- async function genPermissionData(app) {
234
- // console.time('xxx');
235
- openCache();
236
- const logicPageResourceDtoList = {};
237
- const { logics, processLogics } = getAllLogics(app);
238
- const uploaders = findUploaders(app);
239
- for (const logic of [...logics, ...processLogics]) {
240
- const resources = await findResourcesOfLogic(logic, uploaders);
241
- if (resources.length === 0)
242
- continue;
243
- const service = logics.includes(logic) ? logic.toService() : logic.toProcessService();
244
- const key = `${service.url.path}:${service.url.method}`;
245
- logicPageResourceDtoList[key] = resources;
246
- }
247
- const authValue = checkUploadAuth(uploaders);
248
- if (authValue?.length) {
249
- logicPageResourceDtoList['/upload:POST'] = [checkPageAndUploadAuth(uploaders) != -1 ? [] : authValue];
250
- }
251
- closeCache();
252
- // console.timeEnd('xxx');
253
- return logicPageResourceDtoList;
254
- }
255
- exports.genPermissionData = genPermissionData;
256
- function genLogicAuthFlag(app) {
257
- let flag = false;
258
- app.traverseChildren((node) => {
259
- if (flag)
260
- return;
261
- if ((node instanceof concepts_1.View || node instanceof concepts_1.ViewElement) && node.auth)
262
- flag = true;
263
- });
264
- return flag;
265
- }
266
- exports.genLogicAuthFlag = genLogicAuthFlag;
267
- //# sourceMappingURL=permission.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../src/generator/permission.ts"],"names":[],"mappings":";;;AAAA,0CAA0K;AAC1K,6EAAyE;AAWzE,SAAS,UAAU,CAAC,KAAY;IAC5B,OAAO,CAAC,CAAC,KAAK,CAAC,MAAM;WACd,KAAK,CAAC,UAAU,EAAE,OAAO,KAAK,WAAW;WACzC,KAAK,CAAC,SAAS,KAAK,UAAU,CAAC,CAAC,gBAAgB;AAC3D,CAAC;AAED,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;AACxB,IAAI,QAAQ,GAAG,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CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;KAC7C;IACD,MAAM,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;IAC7C,IAAI,SAAS,EAAE,MAAM,EAAE;QACnB,wBAAwB,CAAC,cAAc,CAAC,GAAG,CAAC,sBAAsB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;KACzG;IACD,UAAU,EAAE,CAAC;IACb,0BAA0B;IAC1B,OAAO,wBAAwB,CAAC;AACpC,CAAC;AArBD,8CAqBC;AACD,SAAgB,gBAAgB,CAAC,GAAQ;IACrC,IAAI,IAAI,GAAG,KAAK,CAAC;IACjB,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,EAAE,EAAE;QAC1B,IAAG,IAAI;YAAE,OAAO;QAEhB,IAAG,CAAC,IAAI,YAAY,eAAI,IAAI,IAAI,YAAY,sBAAW,CAAC,IAAI,IAAI,CAAC,IAAI;YACjE,IAAI,GAAG,IAAI,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AAChB,CAAC;AAVD,4CAUC"}
@@ -1,2 +0,0 @@
1
- declare const _default: "\n if(window.__POWERED_BY_QIANKUN__) {\n window.LcapMicro = window.LcapMicro || {};\n Object.assign(window.LcapMicro, {properties});\n \n window[window.LcapMicro.name] = {\n bootstrap() {\n return Promise.resolve();\n },\n mount(props) { \n window.LcapMicro = window.LcapMicro || {};\n Object.assign(window.LcapMicro, {properties});\n \n if(window.LcapMicro.noAuthUrl && !window.LcapMicro.noAuthFn)\n window.LcapMicro.noAuthFn = () => {\n location.href = window.LcapMicro.noAuthUrl;\n };\n \n if(window.LcapMicro.loginUrl && !window.LcapMicro.loginFn)\n window.LcapMicro.loginFn = () => {\n location.href = window.LcapMicro.loginUrl;\n };\n\n if(window.LcapMicro.notFoundUrl && !window.LcapMicro.notFoundFn)\n window.LcapMicro.notFoundFn = () => {\n location.href = window.LcapMicro.notFoundUrl;\n };\n \n const { container } = props;\n window.LcapMicro.container = container.querySelector('#app'); \n window.LcapMicro.props = props;\n if(window.createLcapApp)\n window.createLcapApp()\n else\n loadAssets();\n return Promise.resolve();\n },\n unmount({ container }) {\n window.LcapMicro.container.innerHTML = null;\n window.appVM?.$destroy();\n document.querySelectorAll('script.lazyload').forEach((ele) => {\n ele.active = false;\n })\n return Promise.resolve();\n },\n };\n } else\n loadAssets();\n";
2
- export default _default;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = `
4
- if(window.__POWERED_BY_QIANKUN__) {
5
- window.LcapMicro = window.LcapMicro || {};
6
- Object.assign(window.LcapMicro, {properties});
7
-
8
- window[window.LcapMicro.name] = {
9
- bootstrap() {
10
- return Promise.resolve();
11
- },
12
- mount(props) {
13
- window.LcapMicro = window.LcapMicro || {};
14
- Object.assign(window.LcapMicro, {properties});
15
-
16
- if(window.LcapMicro.noAuthUrl && !window.LcapMicro.noAuthFn)
17
- window.LcapMicro.noAuthFn = () => {
18
- location.href = window.LcapMicro.noAuthUrl;
19
- };
20
-
21
- if(window.LcapMicro.loginUrl && !window.LcapMicro.loginFn)
22
- window.LcapMicro.loginFn = () => {
23
- location.href = window.LcapMicro.loginUrl;
24
- };
25
-
26
- if(window.LcapMicro.notFoundUrl && !window.LcapMicro.notFoundFn)
27
- window.LcapMicro.notFoundFn = () => {
28
- location.href = window.LcapMicro.notFoundUrl;
29
- };
30
-
31
- const { container } = props;
32
- window.LcapMicro.container = container.querySelector('#app');
33
- window.LcapMicro.props = props;
34
- if(window.createLcapApp)
35
- window.createLcapApp()
36
- else
37
- loadAssets();
38
- return Promise.resolve();
39
- },
40
- unmount({ container }) {
41
- window.LcapMicro.container.innerHTML = null;
42
- window.appVM?.$destroy();
43
- document.querySelectorAll('script.lazyload').forEach((ele) => {
44
- ele.active = false;
45
- })
46
- return Promise.resolve();
47
- },
48
- };
49
- } else
50
- loadAssets();
51
- `;
52
- //# sourceMappingURL=qiankun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"qiankun.js","sourceRoot":"","sources":["../../../src/generator/qiankun.ts"],"names":[],"mappings":";;AAAA,kBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDd,CAAC"}
@@ -1,3 +0,0 @@
1
- export declare function getClassName(styleStr: string): string;
2
- export declare function replaceCSS(content: string, hash: string): string;
3
- export declare function replaceTemplate(content: string, hash: string): string;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.replaceTemplate = exports.replaceCSS = exports.getClassName = void 0;
27
- const postcss = __importStar(require("postcss"));
28
- function getClassName(styleStr) {
29
- if (/^\$style\[['"](.*)['"]\]$/g.test(styleStr)) {
30
- const classNameVarName = /^\$style\[['"](.*)['"]\]$/g.exec(styleStr);
31
- if (classNameVarName)
32
- return classNameVarName[1];
33
- }
34
- else if (/^\$style./g.test(styleStr)) {
35
- const classNameVarName = styleStr.split('.')[1];
36
- if (classNameVarName)
37
- return classNameVarName;
38
- }
39
- return undefined;
40
- }
41
- exports.getClassName = getClassName;
42
- function replaceCSS(content, hash) {
43
- const root = postcss.parse(content);
44
- root.walkRules((rule) => {
45
- rule.selector = rule.selector.replace(/\.[-_a-zA-Z0-9]+/g, (m) => m + '__' + hash);
46
- });
47
- return root.toResult().css;
48
- }
49
- exports.replaceCSS = replaceCSS;
50
- function replaceTemplate(content, hash) {
51
- return content.replace(/(<[^>\s]+\s.*):class="([^"]+)"/g, (m, $1, $2) => {
52
- if ($1 !== '!--') {
53
- const className = $2;
54
- if (/^\[.*\]$/g.test(className)) {
55
- const result = /^\[(.*)\]$/g.exec(className);
56
- const contents = result[1]
57
- .split(',')
58
- .filter((item) => item)
59
- .map((item) => item.trim());
60
- return $1 + `class="${contents.map((item) => getClassName(item) + '__' + hash).join(' ')}"`;
61
- }
62
- else
63
- return $1 + `class="${getClassName(className) + '__' + hash}"`;
64
- }
65
- else {
66
- return m;
67
- }
68
- });
69
- }
70
- exports.replaceTemplate = replaceTemplate;
71
- //# sourceMappingURL=styleReplacer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styleReplacer.js","sourceRoot":"","sources":["../../../src/generator/styleReplacer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,SAAgB,YAAY,CAAC,QAAgB;IACzC,IAAI,4BAA4B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QAC7C,MAAM,gBAAgB,GAAG,4BAA4B,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrE,IAAI,gBAAgB;YAChB,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;KAClC;SAAM,IAAI,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QACpC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CA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AAG,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;aAC/F;;gBACG,OAAO,EAAE,GAAG,UAAU,YAAY,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC;SACtE;aAAM;YACH,OAAO,CAAC,CAAC;SACZ;IACL,CAAC,CAAC,CAAC;AACP,CAAC;AAjBD,0CAiBC"}
@@ -1,14 +0,0 @@
1
- export { EventEmitter, EventPayload, BaseNode } from './common';
2
- export * from './concepts';
3
- export { genBundleFiles, genFrontendBundleFiles, genMetaData, genReleaseBody, genPermissionData, genLogicAuthFlag } from './generator';
4
- export * from './translator';
5
- export { default as server, NaslServer } from './server';
6
- export * as genBlock from './templator';
7
- export * as utils from './utils';
8
- export * from './config';
9
- export * from './eventBus';
10
- export * as breakpoint from './breakpoint';
11
- export { loadApp, loadAppSync, handleApp, batchAction, batchQuery, mountDatabaseTypes } from './service/storage/init';
12
- export { createService } from './service/creator';
13
- export * from './manager/stepRecorder';
14
- import './automate/engine';