@lcap/nasl 3.9.0-beta.9 → 3.9.1-beta.2

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 (155) hide show
  1. package/out/automate/upgrader/2.18.js +1 -1
  2. package/out/automate/upgrader/2.18.js.map +1 -1
  3. package/out/common/Messager.d.ts +1 -0
  4. package/out/common/Messager.d.ts.map +1 -1
  5. package/out/common/Messager.js +16 -8
  6. package/out/common/Messager.js.map +1 -1
  7. package/out/config.js +1 -1
  8. package/out/config.js.map +1 -1
  9. package/out/generator/annotation/full.d.ts +2 -1
  10. package/out/generator/annotation/full.d.ts.map +1 -1
  11. package/out/generator/annotation/full.js +4 -7
  12. package/out/generator/annotation/full.js.map +1 -1
  13. package/out/generator/annotation/incremental.d.ts +2 -1
  14. package/out/generator/annotation/incremental.d.ts.map +1 -1
  15. package/out/generator/annotation/incremental.js +31 -9
  16. package/out/generator/annotation/incremental.js.map +1 -1
  17. package/out/generator/annotation/utils.d.ts +2 -2
  18. package/out/generator/annotation/utils.d.ts.map +1 -1
  19. package/out/generator/annotation/utils.js +2 -1
  20. package/out/generator/annotation/utils.js.map +1 -1
  21. package/out/generator/genBundleFiles.d.ts +1 -29
  22. package/out/generator/genBundleFiles.d.ts.map +1 -1
  23. package/out/generator/genBundleFiles.js +165 -111
  24. package/out/generator/genBundleFiles.js.map +1 -1
  25. package/out/generator/index.d.ts +1 -0
  26. package/out/generator/index.d.ts.map +1 -1
  27. package/out/generator/index.js +1 -0
  28. package/out/generator/index.js.map +1 -1
  29. package/out/generator/permission.d.ts.map +1 -1
  30. package/out/generator/permission.js +26 -6
  31. package/out/generator/permission.js.map +1 -1
  32. package/out/generator/release-body/body.d.ts +1 -0
  33. package/out/generator/release-body/body.d.ts.map +1 -1
  34. package/out/generator/release-body/body.js +30 -12
  35. package/out/generator/release-body/body.js.map +1 -1
  36. package/out/generator/release-body/data.d.ts +1 -0
  37. package/out/generator/release-body/data.d.ts.map +1 -1
  38. package/out/generator/release-body/data.js +7 -7
  39. package/out/generator/release-body/data.js.map +1 -1
  40. package/out/generator/release-body/internal.d.ts +1 -0
  41. package/out/generator/release-body/internal.d.ts.map +1 -1
  42. package/out/generator/release-body/internal.js.map +1 -1
  43. package/out/generator/release-body/types.d.ts +31 -0
  44. package/out/generator/release-body/types.d.ts.map +1 -1
  45. package/out/generator/release-body/types.js.map +1 -1
  46. package/out/generator/release-body/utils.d.ts +9 -4
  47. package/out/generator/release-body/utils.d.ts.map +1 -1
  48. package/out/generator/release-body/utils.js +96 -36
  49. package/out/generator/release-body/utils.js.map +1 -1
  50. package/out/generator/ui-library-declaration/basic.d.ts +4 -0
  51. package/out/generator/ui-library-declaration/basic.d.ts.map +1 -1
  52. package/out/generator/ui-library-declaration/basic.js +36 -31
  53. package/out/generator/ui-library-declaration/basic.js.map +1 -1
  54. package/out/generator/ui-library-declaration/dependency.d.ts +2 -2
  55. package/out/generator/ui-library-declaration/dependency.d.ts.map +1 -1
  56. package/out/generator/ui-library-declaration/dependency.js +14 -7
  57. package/out/generator/ui-library-declaration/dependency.js.map +1 -1
  58. package/out/generator/ui-library-declaration/format.d.ts +3 -1
  59. package/out/generator/ui-library-declaration/format.d.ts.map +1 -1
  60. package/out/generator/ui-library-declaration/format.js +72 -17
  61. package/out/generator/ui-library-declaration/format.js.map +1 -1
  62. package/out/generator/ui-library-declaration/index.d.ts +2 -0
  63. package/out/generator/ui-library-declaration/index.d.ts.map +1 -1
  64. package/out/generator/ui-library-declaration/index.js +2 -0
  65. package/out/generator/ui-library-declaration/index.js.map +1 -1
  66. package/out/generator/ui-library-declaration/material.d.ts +1 -0
  67. package/out/generator/ui-library-declaration/material.d.ts.map +1 -1
  68. package/out/generator/ui-library-declaration/material.js +20 -3
  69. package/out/generator/ui-library-declaration/material.js.map +1 -1
  70. package/out/generator/ui-library-declaration/types.d.ts +5 -0
  71. package/out/generator/ui-library-declaration/types.d.ts.map +1 -1
  72. package/out/manager/diagnostic.d.ts +2 -0
  73. package/out/manager/diagnostic.d.ts.map +1 -1
  74. package/out/manager/diagnostic.js +9 -0
  75. package/out/manager/diagnostic.js.map +1 -1
  76. package/out/natural/genNaturalTS.d.ts +5 -0
  77. package/out/natural/genNaturalTS.d.ts.map +1 -1
  78. package/out/natural/genNaturalTS.js +16 -9
  79. package/out/natural/genNaturalTS.js.map +1 -1
  80. package/out/natural/getContext/getUILib.d.ts +4 -1
  81. package/out/natural/getContext/getUILib.d.ts.map +1 -1
  82. package/out/natural/getContext/getUILib.js +55 -18
  83. package/out/natural/getContext/getUILib.js.map +1 -1
  84. package/out/natural/getContext/index.d.ts +18 -11
  85. package/out/natural/getContext/index.d.ts.map +1 -1
  86. package/out/natural/getContext/index.js +53 -28
  87. package/out/natural/getContext/index.js.map +1 -1
  88. package/out/natural/tools.d.ts +5 -0
  89. package/out/natural/tools.d.ts.map +1 -1
  90. package/out/natural/tools.js +30 -1
  91. package/out/natural/tools.js.map +1 -1
  92. package/out/natural/transformTS2UI.d.ts.map +1 -1
  93. package/out/natural/transformTS2UI.js +85 -25
  94. package/out/natural/transformTS2UI.js.map +1 -1
  95. package/out/natural/transformTSCode.d.ts +1 -1
  96. package/out/natural/transformTSCode.d.ts.map +1 -1
  97. package/out/natural/transformTSCode.js +3 -1
  98. package/out/natural/transformTSCode.js.map +1 -1
  99. package/out/natural/transforms/transform2LogicItem.d.ts.map +1 -1
  100. package/out/natural/transforms/transform2LogicItem.js +50 -12
  101. package/out/natural/transforms/transform2LogicItem.js.map +1 -1
  102. package/out/server/OQL/oql-cache.d.ts +12 -0
  103. package/out/server/OQL/oql-cache.d.ts.map +1 -0
  104. package/out/server/OQL/oql-cache.js +232 -0
  105. package/out/server/OQL/oql-cache.js.map +1 -0
  106. package/out/server/extendBaseNode.d.ts.map +1 -1
  107. package/out/server/extendBaseNode.js +3 -6
  108. package/out/server/extendBaseNode.js.map +1 -1
  109. package/out/server/naslServer.d.ts +15 -3
  110. package/out/server/naslServer.d.ts.map +1 -1
  111. package/out/server/naslServer.js +306 -172
  112. package/out/server/naslServer.js.map +1 -1
  113. package/out/server/translator.d.ts.map +1 -1
  114. package/out/server/translator.js +56 -1
  115. package/out/server/translator.js.map +1 -1
  116. package/out/service/storage/init.d.ts.map +1 -1
  117. package/out/service/storage/init.js +73 -22
  118. package/out/service/storage/init.js.map +1 -1
  119. package/out/service/storage/utils.d.ts.map +1 -1
  120. package/out/service/storage/utils.js +15 -19
  121. package/out/service/storage/utils.js.map +1 -1
  122. package/out/service/video/BaseService.d.ts.map +1 -1
  123. package/out/service/video/BaseService.js +0 -3
  124. package/out/service/video/BaseService.js.map +1 -1
  125. package/out/service/video/MainCallbackService.d.ts.map +1 -1
  126. package/out/service/video/MainCallbackService.js +0 -3
  127. package/out/service/video/MainCallbackService.js.map +1 -1
  128. package/out/templator/block2nasl/transformBlock2Nasl.d.ts.map +1 -1
  129. package/out/templator/block2nasl/transformBlock2Nasl.js +0 -2
  130. package/out/templator/block2nasl/transformBlock2Nasl.js.map +1 -1
  131. package/out/templator/block2nasl/viewMergeBlock.d.ts +7 -0
  132. package/out/templator/block2nasl/viewMergeBlock.d.ts.map +1 -1
  133. package/out/templator/block2nasl/viewMergeBlock.js +51 -35
  134. package/out/templator/block2nasl/viewMergeBlock.js.map +1 -1
  135. package/out/templator/utils.js +1 -1
  136. package/out/templator/utils.js.map +1 -1
  137. package/package.json +13 -20
  138. package/sandbox/stdlib/nasl.processV2.ts +2 -2
  139. package/sandbox/stdlib/nasl.ui.definition.ts +41 -1
  140. package/sandbox/stdlib/nasl.ui.ts +15 -0
  141. package/sandbox/stdlib/nasl.util.ts +5 -15
  142. package/sandbox-natural/stdlib/nasl.ui.d.ts +43 -31
  143. package/sandbox-natural/stdlib/nasl.ui.h5.d.ts +4760 -1611
  144. package/sandbox-natural/stdlib/nasl.ui.h5.json +1253 -300
  145. package/sandbox-natural/stdlib/nasl.ui.pc.d.ts +11724 -5227
  146. package/sandbox-natural/stdlib/nasl.ui.pc.json +34381 -11248
  147. package/sandbox-natural/stdlib/nasl.util.d.ts +1 -1
  148. package/ts-worker/bundle.js +2 -2
  149. package/ts-worker/lib/Messager.js +8 -2
  150. package/out/utils/uiPathId.d.ts +0 -2
  151. package/out/utils/uiPathId.d.ts.map +0 -1
  152. package/out/utils/uiPathId.js +0 -32
  153. package/out/utils/uiPathId.js.map +0 -1
  154. package/sandbox/stdlib/nasl.ui.components.h5.ts +0 -1751
  155. package/sandbox/stdlib/nasl.ui.components.pc.ts +0 -3495
@@ -92,7 +92,7 @@ declare namespace nasl.util {
92
92
  */
93
93
  export function EnumToList<T extends Enums>(): List<{ text: String, value: String; }>;
94
94
  // 返回枚举指定value的标题字符串
95
- export function EnumValueToText<T extends Enums>(value: any): String;
95
+ export function EnumItemToText(value: Enums<Long | String>): String;
96
96
  // 在指定枚举中找到与参数相同的枚举值并返回
97
97
  export function StringToEnumValue<T extends Enums>(value: String): T;
98
98