@lcap/nasl-concepts 4.1.0-beta.1 → 4.1.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/out/common/BaseNode.d.ts +1 -1
  2. package/out/common/BaseNode.d.ts.map +1 -1
  3. package/out/common/BaseNode.js +17 -0
  4. package/out/common/BaseNode.js.map +1 -1
  5. package/out/concepts/Annotation__.d.ts.map +1 -1
  6. package/out/concepts/Annotation__.js +3 -1
  7. package/out/concepts/Annotation__.js.map +1 -1
  8. package/out/concepts/BackendVariable__.d.ts.map +1 -1
  9. package/out/concepts/BackendVariable__.js +0 -22
  10. package/out/concepts/BackendVariable__.js.map +1 -1
  11. package/out/concepts/BatchAssignment__.d.ts.map +1 -1
  12. package/out/concepts/BatchAssignment__.js +7 -17
  13. package/out/concepts/BatchAssignment__.js.map +1 -1
  14. package/out/concepts/BindAttribute__.d.ts.map +1 -1
  15. package/out/concepts/BindAttribute__.js +10 -6
  16. package/out/concepts/BindAttribute__.js.map +1 -1
  17. package/out/concepts/BindDirective__.d.ts.map +1 -1
  18. package/out/concepts/BindDirective__.js +1 -4
  19. package/out/concepts/BindDirective__.js.map +1 -1
  20. package/out/concepts/BindEvent__.d.ts +6 -1
  21. package/out/concepts/BindEvent__.d.ts.map +1 -1
  22. package/out/concepts/BindEvent__.js +5 -6
  23. package/out/concepts/BindEvent__.js.map +1 -1
  24. package/out/concepts/BindStyle__.d.ts +1 -1
  25. package/out/concepts/BindStyle__.d.ts.map +1 -1
  26. package/out/concepts/BusinessComponent__.d.ts +8 -5
  27. package/out/concepts/BusinessComponent__.d.ts.map +1 -1
  28. package/out/concepts/BusinessComponent__.js +18 -51
  29. package/out/concepts/BusinessComponent__.js.map +1 -1
  30. package/out/concepts/CallInterface__.d.ts.map +1 -1
  31. package/out/concepts/CallInterface__.js +13 -5
  32. package/out/concepts/CallInterface__.js.map +1 -1
  33. package/out/concepts/CallLogic__.d.ts.map +1 -1
  34. package/out/concepts/CallLogic__.js +37 -30
  35. package/out/concepts/CallLogic__.js.map +1 -1
  36. package/out/concepts/CallQueryComponent__.d.ts.map +1 -1
  37. package/out/concepts/CallQueryComponent__.js +2 -1
  38. package/out/concepts/CallQueryComponent__.js.map +1 -1
  39. package/out/concepts/EntityProperty__.d.ts +1 -0
  40. package/out/concepts/EntityProperty__.d.ts.map +1 -1
  41. package/out/concepts/EntityProperty__.js +23 -2
  42. package/out/concepts/EntityProperty__.js.map +1 -1
  43. package/out/concepts/Enum__.d.ts +1 -1
  44. package/out/concepts/Enum__.d.ts.map +1 -1
  45. package/out/concepts/Enum__.js +11 -11
  46. package/out/concepts/Enum__.js.map +1 -1
  47. package/out/concepts/Frontend__.d.ts +1 -0
  48. package/out/concepts/Frontend__.d.ts.map +1 -1
  49. package/out/concepts/Frontend__.js +16 -0
  50. package/out/concepts/Frontend__.js.map +1 -1
  51. package/out/concepts/Identifier__.d.ts +2 -2
  52. package/out/concepts/Identifier__.d.ts.map +1 -1
  53. package/out/concepts/Identifier__.js +25 -26
  54. package/out/concepts/Identifier__.js.map +1 -1
  55. package/out/concepts/Interface__.d.ts +1 -1
  56. package/out/concepts/Interface__.d.ts.map +1 -1
  57. package/out/concepts/Interface__.js +11 -11
  58. package/out/concepts/Interface__.js.map +1 -1
  59. package/out/concepts/LogicItem__.d.ts +1 -1
  60. package/out/concepts/LogicItem__.d.ts.map +1 -1
  61. package/out/concepts/LogicItem__.js.map +1 -1
  62. package/out/concepts/Logic__.d.ts +1 -2
  63. package/out/concepts/Logic__.d.ts.map +1 -1
  64. package/out/concepts/Logic__.js +38 -35
  65. package/out/concepts/Logic__.js.map +1 -1
  66. package/out/concepts/MemberExpression__.d.ts.map +1 -1
  67. package/out/concepts/MemberExpression__.js +2 -1
  68. package/out/concepts/MemberExpression__.js.map +1 -1
  69. package/out/concepts/Module__.d.ts.map +1 -1
  70. package/out/concepts/Module__.js +6 -0
  71. package/out/concepts/Module__.js.map +1 -1
  72. package/out/concepts/NewComposite__.d.ts +1 -1
  73. package/out/concepts/NewComposite__.d.ts.map +1 -1
  74. package/out/concepts/NewComposite__.js +6 -16
  75. package/out/concepts/NewComposite__.js.map +1 -1
  76. package/out/concepts/OqlQueryComponent__.d.ts.map +1 -1
  77. package/out/concepts/OqlQueryComponent__.js.map +1 -1
  78. package/out/concepts/OverriddenLogic__.d.ts +1 -2
  79. package/out/concepts/OverriddenLogic__.d.ts.map +1 -1
  80. package/out/concepts/OverriddenLogic__.js +19 -16
  81. package/out/concepts/OverriddenLogic__.js.map +1 -1
  82. package/out/concepts/Param__.d.ts +1 -1
  83. package/out/concepts/Param__.d.ts.map +1 -1
  84. package/out/concepts/Param__.js +15 -18
  85. package/out/concepts/Param__.js.map +1 -1
  86. package/out/concepts/ProcessDefinitionV2__.d.ts +92 -0
  87. package/out/concepts/ProcessDefinitionV2__.d.ts.map +1 -1
  88. package/out/concepts/ProcessDefinitionV2__.js +107 -4
  89. package/out/concepts/ProcessDefinitionV2__.js.map +1 -1
  90. package/out/concepts/ProcessV2__.d.ts +85 -1
  91. package/out/concepts/ProcessV2__.d.ts.map +1 -1
  92. package/out/concepts/ProcessV2__.js +109 -18
  93. package/out/concepts/ProcessV2__.js.map +1 -1
  94. package/out/concepts/QueryFieldExpression__.js +1 -1
  95. package/out/concepts/QueryFieldExpression__.js.map +1 -1
  96. package/out/concepts/QueryFromExpression__.js +1 -1
  97. package/out/concepts/QueryFromExpression__.js.map +1 -1
  98. package/out/concepts/QueryJoinExpression__.js +1 -1
  99. package/out/concepts/QueryJoinExpression__.js.map +1 -1
  100. package/out/concepts/Return__.d.ts +1 -1
  101. package/out/concepts/Return__.d.ts.map +1 -1
  102. package/out/concepts/Return__.js +11 -22
  103. package/out/concepts/Return__.js.map +1 -1
  104. package/out/concepts/StringLiteral__.d.ts.map +1 -1
  105. package/out/concepts/StringLiteral__.js +4 -12
  106. package/out/concepts/StringLiteral__.js.map +1 -1
  107. package/out/concepts/StructureProperty__.d.ts +4 -4
  108. package/out/concepts/StructureProperty__.d.ts.map +1 -1
  109. package/out/concepts/StructureProperty__.js +14 -14
  110. package/out/concepts/StructureProperty__.js.map +1 -1
  111. package/out/concepts/Structure__.d.ts +1 -1
  112. package/out/concepts/Structure__.d.ts.map +1 -1
  113. package/out/concepts/Structure__.js +11 -11
  114. package/out/concepts/Structure__.js.map +1 -1
  115. package/out/concepts/SubLogic__.d.ts +0 -1
  116. package/out/concepts/SubLogic__.d.ts.map +1 -1
  117. package/out/concepts/SubLogic__.js +19 -16
  118. package/out/concepts/SubLogic__.js.map +1 -1
  119. package/out/concepts/Theme__.d.ts +4 -0
  120. package/out/concepts/Theme__.d.ts.map +1 -1
  121. package/out/concepts/Theme__.js +3 -0
  122. package/out/concepts/Theme__.js.map +1 -1
  123. package/out/concepts/TypeAnnotation__.d.ts +8 -7
  124. package/out/concepts/TypeAnnotation__.d.ts.map +1 -1
  125. package/out/concepts/TypeAnnotation__.js +88 -63
  126. package/out/concepts/TypeAnnotation__.js.map +1 -1
  127. package/out/concepts/TypeParam__.d.ts +1 -1
  128. package/out/concepts/TypeParam__.d.ts.map +1 -1
  129. package/out/concepts/TypeParam__.js +11 -11
  130. package/out/concepts/TypeParam__.js.map +1 -1
  131. package/out/concepts/UnaryExpression__.js +2 -2
  132. package/out/concepts/UnaryExpression__.js.map +1 -1
  133. package/out/concepts/Variable__.d.ts +1 -1
  134. package/out/concepts/Variable__.d.ts.map +1 -1
  135. package/out/concepts/Variable__.js +11 -22
  136. package/out/concepts/Variable__.js.map +1 -1
  137. package/out/concepts/VariadicExpression__.d.ts +146 -0
  138. package/out/concepts/VariadicExpression__.d.ts.map +1 -0
  139. package/out/concepts/VariadicExpression__.js +405 -0
  140. package/out/concepts/VariadicExpression__.js.map +1 -0
  141. package/out/concepts/ViewElement__.d.ts +8 -0
  142. package/out/concepts/ViewElement__.d.ts.map +1 -1
  143. package/out/concepts/ViewElement__.js +41 -6
  144. package/out/concepts/ViewElement__.js.map +1 -1
  145. package/out/concepts/View__.d.ts +25 -6
  146. package/out/concepts/View__.d.ts.map +1 -1
  147. package/out/concepts/View__.js +93 -54
  148. package/out/concepts/View__.js.map +1 -1
  149. package/out/concepts/basics/index.d.ts +1 -1
  150. package/out/concepts/basics/index.d.ts.map +1 -1
  151. package/out/concepts/basics/index.js +2 -1
  152. package/out/concepts/basics/index.js.map +1 -1
  153. package/out/concepts/basics/stdlib/nasl.processV2.d.ts +1 -0
  154. package/out/concepts/basics/stdlib/nasl.processV2.d.ts.map +1 -1
  155. package/out/concepts/basics/stdlib/nasl.processV2.js +7 -1
  156. package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -1
  157. package/out/concepts/index__.d.ts +1 -0
  158. package/out/concepts/index__.d.ts.map +1 -1
  159. package/out/concepts/index__.js +1 -0
  160. package/out/concepts/index__.js.map +1 -1
  161. package/out/concepts/utils/asserts.d.ts +51 -0
  162. package/out/concepts/utils/asserts.d.ts.map +1 -1
  163. package/out/concepts/utils/asserts.js +82 -14
  164. package/out/concepts/utils/asserts.js.map +1 -1
  165. package/out/concepts/utils/types.d.ts +5 -2
  166. package/out/concepts/utils/types.d.ts.map +1 -1
  167. package/out/index.d.ts +1 -1
  168. package/out/index.d.ts.map +1 -1
  169. package/out/index.js +2 -1
  170. package/out/index.js.map +1 -1
  171. package/out/semantics/localVarCollector.d.ts +11 -1
  172. package/out/semantics/localVarCollector.d.ts.map +1 -1
  173. package/out/semantics/localVarCollector.js +21 -2
  174. package/out/semantics/localVarCollector.js.map +1 -1
  175. package/out/semantics/semanticData.d.ts +4 -2
  176. package/out/semantics/semanticData.d.ts.map +1 -1
  177. package/out/semantics/semanticData.js +36 -14
  178. package/out/semantics/semanticData.js.map +1 -1
  179. package/out/service/file-module.js +2 -2
  180. package/out/service/file-module.js.map +1 -1
  181. package/out/service/genSlotVarRef.d.ts +2 -3
  182. package/out/service/genSlotVarRef.d.ts.map +1 -1
  183. package/out/service/genSlotVarRef.js +76 -20
  184. package/out/service/genSlotVarRef.js.map +1 -1
  185. package/out/service/getMemberIdentifier.d.ts +1 -2
  186. package/out/service/getMemberIdentifier.d.ts.map +1 -1
  187. package/out/service/getMemberIdentifier.js +31 -61
  188. package/out/service/getMemberIdentifier.js.map +1 -1
  189. package/out/utils/analyzer/index.d.ts +15 -0
  190. package/out/utils/analyzer/index.d.ts.map +1 -0
  191. package/out/utils/analyzer/index.js +86 -0
  192. package/out/utils/analyzer/index.js.map +1 -0
  193. package/out/utils/bak-translator/composition.d.ts.map +1 -1
  194. package/out/utils/bak-translator/composition.js +58 -24
  195. package/out/utils/bak-translator/composition.js.map +1 -1
  196. package/out/utils/bak-translator/legacy.d.ts +9 -1
  197. package/out/utils/bak-translator/legacy.d.ts.map +1 -1
  198. package/out/utils/bak-translator/legacy.js +141 -31
  199. package/out/utils/bak-translator/legacy.js.map +1 -1
  200. package/out/utils/constant.d.ts +1 -0
  201. package/out/utils/constant.d.ts.map +1 -1
  202. package/out/utils/constant.js +8 -1
  203. package/out/utils/constant.js.map +1 -1
  204. package/out/utils/index.d.ts +1 -0
  205. package/out/utils/index.d.ts.map +1 -1
  206. package/out/utils/index.js +1 -0
  207. package/out/utils/index.js.map +1 -1
  208. package/package.json +5 -5
@@ -4,4 +4,5 @@ export declare const ERROR_TIPS_SUFFIX = "__ERROR";
4
4
  export declare const officialCustoms: string[];
5
5
  /** ProcessV2 包含的逻辑名称 */
6
6
  export declare const ProcessV2LogicName: Set<string>;
7
+ export declare const autoSplitComponentTags: string[];
7
8
  //# sourceMappingURL=constant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../src/utils/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAC;AAGF,eAAO,MAAM,gCAAgC,eAAe,CAAC;AAE7D,eAAO,MAAM,iBAAiB,YAAY,CAAA;AAG1C,eAAO,MAAM,eAAe,UAc3B,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,aAQ7B,CAAC"}
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../src/utils/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAC;AAGF,eAAO,MAAM,gCAAgC,eAAe,CAAC;AAE7D,eAAO,MAAM,iBAAiB,YAAY,CAAA;AAG1C,eAAO,MAAM,eAAe,UAc3B,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,aAQ7B,CAAC;AAEH,eAAO,MAAM,sBAAsB,UAOlC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProcessV2LogicName = exports.officialCustoms = exports.ERROR_TIPS_SUFFIX = exports.CUSTOM_CONNECTOR_EDITABLE_SUFFIX = exports.asyncFuncMap = void 0;
3
+ exports.autoSplitComponentTags = exports.ProcessV2LogicName = exports.officialCustoms = exports.ERROR_TIPS_SUFFIX = exports.CUSTOM_CONNECTOR_EDITABLE_SUFFIX = exports.asyncFuncMap = void 0;
4
4
  exports.asyncFuncMap = {
5
5
  ListSort: 'ListSortAsync',
6
6
  ListFind: 'ListFindAsync',
@@ -43,4 +43,11 @@ exports.ProcessV2LogicName = new Set([
43
43
  'approveTask',
44
44
  'getTaskData',
45
45
  ]);
46
+ exports.autoSplitComponentTags = [
47
+ 'u-modal',
48
+ 'u-table-view',
49
+ 'el-dialog',
50
+ 'el-table-pro',
51
+ 'el-table',
52
+ ];
46
53
  //# sourceMappingURL=constant.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constant.js","sourceRoot":"","sources":["../../src/utils/constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAA2B;IAClD,QAAQ,EAAE,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,UAAU,EAAE,iBAAiB;IAC7B,aAAa,EA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Y;IACZ,YAAY;IACZ,eAAe;IACf,eAAe;IACf,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,aAAa;IACb,kBAAkB;IAClB,YAAY;CACb,CAAC;AAEF,wBAAwB;AACX,QAAA,kBAAkB,GAAG,IAAI,GAAG,CAAC;IACxC,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;CACd,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG;IACpC,SAAS;IACT,cAAc;IAEd,WAAW;IACX,cAAc;IACd,UAAU;CACX,CAAC"}
@@ -4,4 +4,5 @@ export * from './bak-translator';
4
4
  export * from './utils';
5
5
  export * from './traverse';
6
6
  export * from '@lcap/nasl-utils';
7
+ export * from './analyzer';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
@@ -20,4 +20,5 @@ __exportStar(require("./bak-translator"), exports);
20
20
  __exportStar(require("./utils"), exports);
21
21
  __exportStar(require("./traverse"), exports);
22
22
  __exportStar(require("@lcap/nasl-utils"), exports);
23
+ __exportStar(require("./analyzer"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,6CAA2B;AAC3B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,6CAA2B;AAC3B,mDAAiC;AACjC,6CAA2B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lcap/nasl-concepts",
3
3
  "description": "NetEase Application Specific Language",
4
- "version": "4.1.0-beta.1",
4
+ "version": "4.1.0-beta.11",
5
5
  "author": "Forrest <rainforest92@126.com>",
6
6
  "main": "./out",
7
7
  "types": "./out",
@@ -48,10 +48,10 @@
48
48
  "lodash": "4.17.21",
49
49
  "uuid": "8.3.2",
50
50
  "validator": "13.7.0",
51
- "@lcap/nasl-sentry": "4.1.0-beta.1",
52
- "@lcap/nasl-translator": "4.1.0-beta.1",
53
- "@lcap/nasl-utils": "4.1.0-beta.1",
54
- "@lcap/nasl-types": "4.1.0-beta.1"
51
+ "@lcap/nasl-sentry": "4.1.0-beta.11",
52
+ "@lcap/nasl-types": "4.1.0-beta.11",
53
+ "@lcap/nasl-utils": "4.1.0-beta.11",
54
+ "@lcap/nasl-translator": "4.1.0-beta.11"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/validator": "13.12.2",