@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.
- package/out/common/BaseNode.d.ts +1 -1
- package/out/common/BaseNode.d.ts.map +1 -1
- package/out/common/BaseNode.js +17 -0
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/Annotation__.d.ts.map +1 -1
- package/out/concepts/Annotation__.js +3 -1
- package/out/concepts/Annotation__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts.map +1 -1
- package/out/concepts/BackendVariable__.js +0 -22
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/BatchAssignment__.d.ts.map +1 -1
- package/out/concepts/BatchAssignment__.js +7 -17
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts.map +1 -1
- package/out/concepts/BindAttribute__.js +10 -6
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts.map +1 -1
- package/out/concepts/BindDirective__.js +1 -4
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +6 -1
- package/out/concepts/BindEvent__.d.ts.map +1 -1
- package/out/concepts/BindEvent__.js +5 -6
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +1 -1
- package/out/concepts/BindStyle__.d.ts.map +1 -1
- package/out/concepts/BusinessComponent__.d.ts +8 -5
- package/out/concepts/BusinessComponent__.d.ts.map +1 -1
- package/out/concepts/BusinessComponent__.js +18 -51
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts.map +1 -1
- package/out/concepts/CallInterface__.js +13 -5
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts.map +1 -1
- package/out/concepts/CallLogic__.js +37 -30
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts.map +1 -1
- package/out/concepts/CallQueryComponent__.js +2 -1
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +1 -0
- package/out/concepts/EntityProperty__.d.ts.map +1 -1
- package/out/concepts/EntityProperty__.js +23 -2
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Enum__.d.ts +1 -1
- package/out/concepts/Enum__.d.ts.map +1 -1
- package/out/concepts/Enum__.js +11 -11
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +1 -0
- package/out/concepts/Frontend__.d.ts.map +1 -1
- package/out/concepts/Frontend__.js +16 -0
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +2 -2
- package/out/concepts/Identifier__.d.ts.map +1 -1
- package/out/concepts/Identifier__.js +25 -26
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +1 -1
- package/out/concepts/Interface__.d.ts.map +1 -1
- package/out/concepts/Interface__.js +11 -11
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +1 -1
- package/out/concepts/LogicItem__.d.ts.map +1 -1
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +1 -2
- package/out/concepts/Logic__.d.ts.map +1 -1
- package/out/concepts/Logic__.js +38 -35
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts.map +1 -1
- package/out/concepts/MemberExpression__.js +2 -1
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/Module__.d.ts.map +1 -1
- package/out/concepts/Module__.js +6 -0
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +1 -1
- package/out/concepts/NewComposite__.d.ts.map +1 -1
- package/out/concepts/NewComposite__.js +6 -16
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts.map +1 -1
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +1 -2
- package/out/concepts/OverriddenLogic__.d.ts.map +1 -1
- package/out/concepts/OverriddenLogic__.js +19 -16
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Param__.d.ts +1 -1
- package/out/concepts/Param__.d.ts.map +1 -1
- package/out/concepts/Param__.js +15 -18
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/ProcessDefinitionV2__.d.ts +92 -0
- package/out/concepts/ProcessDefinitionV2__.d.ts.map +1 -1
- package/out/concepts/ProcessDefinitionV2__.js +107 -4
- package/out/concepts/ProcessDefinitionV2__.js.map +1 -1
- package/out/concepts/ProcessV2__.d.ts +85 -1
- package/out/concepts/ProcessV2__.d.ts.map +1 -1
- package/out/concepts/ProcessV2__.js +109 -18
- package/out/concepts/ProcessV2__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.js +1 -1
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.js +1 -1
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.js +1 -1
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/Return__.d.ts +1 -1
- package/out/concepts/Return__.d.ts.map +1 -1
- package/out/concepts/Return__.js +11 -22
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts.map +1 -1
- package/out/concepts/StringLiteral__.js +4 -12
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +4 -4
- package/out/concepts/StructureProperty__.d.ts.map +1 -1
- package/out/concepts/StructureProperty__.js +14 -14
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +1 -1
- package/out/concepts/Structure__.d.ts.map +1 -1
- package/out/concepts/Structure__.js +11 -11
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SubLogic__.d.ts +0 -1
- package/out/concepts/SubLogic__.d.ts.map +1 -1
- package/out/concepts/SubLogic__.js +19 -16
- package/out/concepts/SubLogic__.js.map +1 -1
- package/out/concepts/Theme__.d.ts +4 -0
- package/out/concepts/Theme__.d.ts.map +1 -1
- package/out/concepts/Theme__.js +3 -0
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +8 -7
- package/out/concepts/TypeAnnotation__.d.ts.map +1 -1
- package/out/concepts/TypeAnnotation__.js +88 -63
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +1 -1
- package/out/concepts/TypeParam__.d.ts.map +1 -1
- package/out/concepts/TypeParam__.js +11 -11
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.js +2 -2
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +1 -1
- package/out/concepts/Variable__.d.ts.map +1 -1
- package/out/concepts/Variable__.js +11 -22
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/VariadicExpression__.d.ts +146 -0
- package/out/concepts/VariadicExpression__.d.ts.map +1 -0
- package/out/concepts/VariadicExpression__.js +405 -0
- package/out/concepts/VariadicExpression__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +8 -0
- package/out/concepts/ViewElement__.d.ts.map +1 -1
- package/out/concepts/ViewElement__.js +41 -6
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +25 -6
- package/out/concepts/View__.d.ts.map +1 -1
- package/out/concepts/View__.js +93 -54
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/index.d.ts +1 -1
- package/out/concepts/basics/index.d.ts.map +1 -1
- package/out/concepts/basics/index.js +2 -1
- package/out/concepts/basics/index.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.processV2.d.ts +1 -0
- package/out/concepts/basics/stdlib/nasl.processV2.d.ts.map +1 -1
- package/out/concepts/basics/stdlib/nasl.processV2.js +7 -1
- package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -1
- package/out/concepts/index__.d.ts +1 -0
- package/out/concepts/index__.d.ts.map +1 -1
- package/out/concepts/index__.js +1 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +51 -0
- package/out/concepts/utils/asserts.d.ts.map +1 -1
- package/out/concepts/utils/asserts.js +82 -14
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +5 -2
- package/out/concepts/utils/types.d.ts.map +1 -1
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/index.js +2 -1
- package/out/index.js.map +1 -1
- package/out/semantics/localVarCollector.d.ts +11 -1
- package/out/semantics/localVarCollector.d.ts.map +1 -1
- package/out/semantics/localVarCollector.js +21 -2
- package/out/semantics/localVarCollector.js.map +1 -1
- package/out/semantics/semanticData.d.ts +4 -2
- package/out/semantics/semanticData.d.ts.map +1 -1
- package/out/semantics/semanticData.js +36 -14
- package/out/semantics/semanticData.js.map +1 -1
- package/out/service/file-module.js +2 -2
- package/out/service/file-module.js.map +1 -1
- package/out/service/genSlotVarRef.d.ts +2 -3
- package/out/service/genSlotVarRef.d.ts.map +1 -1
- package/out/service/genSlotVarRef.js +76 -20
- package/out/service/genSlotVarRef.js.map +1 -1
- package/out/service/getMemberIdentifier.d.ts +1 -2
- package/out/service/getMemberIdentifier.d.ts.map +1 -1
- package/out/service/getMemberIdentifier.js +31 -61
- package/out/service/getMemberIdentifier.js.map +1 -1
- package/out/utils/analyzer/index.d.ts +15 -0
- package/out/utils/analyzer/index.d.ts.map +1 -0
- package/out/utils/analyzer/index.js +86 -0
- package/out/utils/analyzer/index.js.map +1 -0
- package/out/utils/bak-translator/composition.d.ts.map +1 -1
- package/out/utils/bak-translator/composition.js +58 -24
- package/out/utils/bak-translator/composition.js.map +1 -1
- package/out/utils/bak-translator/legacy.d.ts +9 -1
- package/out/utils/bak-translator/legacy.d.ts.map +1 -1
- package/out/utils/bak-translator/legacy.js +141 -31
- package/out/utils/bak-translator/legacy.js.map +1 -1
- package/out/utils/constant.d.ts +1 -0
- package/out/utils/constant.d.ts.map +1 -1
- package/out/utils/constant.js +8 -1
- package/out/utils/constant.js.map +1 -1
- package/out/utils/index.d.ts +1 -0
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/index.js +1 -0
- package/out/utils/index.js.map +1 -1
- package/package.json +5 -5
package/out/utils/constant.d.ts
CHANGED
|
@@ -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"}
|
package/out/utils/constant.js
CHANGED
|
@@ -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,EAAE,oBAAoB;IACnC,cAAc,EAAE,qBAAqB;IACrC,WAAW,EAAE,kBAAkB;IAC/B,aAAa,EAAE,oBAAoB;IACnC,SAAS,EAAE,gBAAgB;IAC3B,YAAY,EAAE,mBAAmB;IACjC,SAAS,EAAE,gBAAgB;CAC5B,CAAC;AAEF,cAAc;AACD,QAAA,gCAAgC,GAAG,YAAY,CAAC;AAC7D,kBAAkB;AACL,QAAA,iBAAiB,GAAG,SAAS,CAAA;AAE1C,qBAAqB;AACR,QAAA,eAAe,GAAG;IAC7B,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,YAAY;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"}
|
|
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,EAAE,oBAAoB;IACnC,cAAc,EAAE,qBAAqB;IACrC,WAAW,EAAE,kBAAkB;IAC/B,aAAa,EAAE,oBAAoB;IACnC,SAAS,EAAE,gBAAgB;IAC3B,YAAY,EAAE,mBAAmB;IACjC,SAAS,EAAE,gBAAgB;CAC5B,CAAC;AAEF,cAAc;AACD,QAAA,gCAAgC,GAAG,YAAY,CAAC;AAC7D,kBAAkB;AACL,QAAA,iBAAiB,GAAG,SAAS,CAAA;AAE1C,qBAAqB;AACR,QAAA,eAAe,GAAG;IAC7B,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,YAAY;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"}
|
package/out/utils/index.d.ts
CHANGED
package/out/utils/index.d.ts.map
CHANGED
|
@@ -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"}
|
package/out/utils/index.js
CHANGED
|
@@ -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
|
package/out/utils/index.js.map
CHANGED
|
@@ -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.
|
|
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.
|
|
52
|
-
"@lcap/nasl-
|
|
53
|
-
"@lcap/nasl-utils": "4.1.0-beta.
|
|
54
|
-
"@lcap/nasl-
|
|
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",
|