@lcap/nasl 4.4.0-beta.3 → 4.4.0-beta.31
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/generator/genBundleFiles.d.ts +2 -0
- package/out/generator/genBundleFiles.d.ts.map +1 -1
- package/out/generator/genBundleFiles.js +77 -12
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/icestark.d.ts +1 -1
- package/out/generator/icestark.d.ts.map +1 -1
- package/out/generator/icestark.js +6 -1
- package/out/generator/icestark.js.map +1 -1
- package/out/generator/qiankun.d.ts +1 -1
- package/out/generator/qiankun.d.ts.map +1 -1
- package/out/generator/qiankun.js +9 -3
- package/out/generator/qiankun.js.map +1 -1
- package/out/generator/release-body/body.d.ts +0 -1
- package/out/generator/release-body/body.d.ts.map +1 -1
- package/out/generator/release-body/body.js +1 -390
- package/out/generator/release-body/body.js.map +1 -1
- package/out/generator/release-body/data.d.ts.map +1 -1
- package/out/generator/release-body/data.js +38 -11
- package/out/generator/release-body/data.js.map +1 -1
- package/out/generator/release-body/internal.d.ts +1 -0
- package/out/generator/release-body/internal.d.ts.map +1 -1
- package/out/generator/release-body/internal.js.map +1 -1
- package/out/generator/release-body/share-content.js +1 -1
- package/out/generator/release-body/share-content.js.map +1 -1
- package/out/generator/release-body/types.d.ts +2 -0
- package/out/generator/release-body/types.d.ts.map +1 -1
- package/out/generator/release-body/utils.d.ts +1 -0
- package/out/generator/release-body/utils.d.ts.map +1 -1
- package/out/generator/release-body/utils.js +2 -1
- package/out/generator/release-body/utils.js.map +1 -1
- package/out/generator/templates/chunk.js +1 -1
- package/out/generator/templates/runtime.js +2 -2
- package/out/generator/ui-library-declaration/dependency.d.ts +20 -0
- package/out/generator/ui-library-declaration/dependency.d.ts.map +1 -1
- package/out/generator/ui-library-declaration/dependency.js +3 -2
- package/out/generator/ui-library-declaration/dependency.js.map +1 -1
- package/out/generator/ui-library-declaration/index.d.ts +1 -0
- package/out/generator/ui-library-declaration/index.d.ts.map +1 -1
- package/out/generator/ui-library-declaration/index.js +1 -0
- package/out/generator/ui-library-declaration/index.js.map +1 -1
- package/out/generator/wujie.d.ts +1 -1
- package/out/generator/wujie.d.ts.map +1 -1
- package/out/generator/wujie.js +6 -1
- package/out/generator/wujie.js.map +1 -1
- package/out/natural/exports/nasl2Files.d.ts +34 -0
- package/out/natural/exports/nasl2Files.d.ts.map +1 -0
- package/out/natural/exports/nasl2Files.js +237 -0
- package/out/natural/exports/nasl2Files.js.map +1 -0
- package/out/natural/{transform2BatchActions.d.ts → exports/transform2BatchActions.d.ts} +20 -2
- package/out/natural/exports/transform2BatchActions.d.ts.map +1 -0
- package/out/natural/exports/transform2BatchActions.js +1233 -0
- package/out/natural/exports/transform2BatchActions.js.map +1 -0
- package/out/natural/index.d.ts +12 -12
- package/out/natural/index.d.ts.map +1 -1
- package/out/natural/index.js +12 -14
- package/out/natural/index.js.map +1 -1
- package/out/natural/{genNaturalTS.d.ts → old/getContext/genNaturalTS.d.ts} +12 -12
- package/out/natural/old/getContext/genNaturalTS.d.ts.map +1 -0
- package/out/natural/{genNaturalTS.js → old/getContext/genNaturalTS.js} +65 -65
- package/out/natural/old/getContext/genNaturalTS.js.map +1 -0
- package/out/natural/old/getContext/genTextualNASL.d.ts.map +1 -0
- package/out/natural/old/getContext/genTextualNASL.js.map +1 -0
- package/out/natural/{getContext → old/getContext}/getUILib.d.ts +1 -1
- package/out/natural/old/getContext/getUILib.d.ts.map +1 -0
- package/out/natural/{getContext → old/getContext}/getUILib.js +14 -14
- package/out/natural/old/getContext/getUILib.js.map +1 -0
- package/out/natural/{getContext → old/getContext}/index.d.ts +3 -3
- package/out/natural/old/getContext/index.d.ts.map +1 -0
- package/out/natural/{getContext → old/getContext}/index.js +4 -4
- package/out/natural/old/getContext/index.js.map +1 -0
- package/out/natural/old/getContext/naslStdlibMap.d.ts.map +1 -0
- package/out/natural/{getContext → old/getContext}/naslStdlibMap.js +10 -10
- package/out/natural/old/getContext/naslStdlibMap.js.map +1 -0
- package/out/natural/{transformTS2UI.d.ts → old/parser/transformTS2UI.d.ts} +2 -2
- package/out/natural/old/parser/transformTS2UI.d.ts.map +1 -0
- package/out/natural/{transformTS2UI.js → old/parser/transformTS2UI.js} +13 -14
- package/out/natural/old/parser/transformTS2UI.js.map +1 -0
- package/out/natural/{transformTSCode.d.ts → old/parser/transformTSCode.d.ts} +1 -1
- package/out/natural/old/parser/transformTSCode.d.ts.map +1 -0
- package/out/natural/{transformTSCode.js → old/parser/transformTSCode.js} +32 -8
- package/out/natural/old/parser/transformTSCode.js.map +1 -0
- package/out/natural/{tools.d.ts → old/tools.d.ts} +0 -4
- package/out/natural/old/tools.d.ts.map +1 -0
- package/out/natural/{tools.js → old/tools.js} +7 -25
- package/out/natural/old/tools.js.map +1 -0
- package/out/natural/{parseNaturalTS.d.ts → parser/parseNaturalTS.d.ts} +9 -2
- package/out/natural/parser/parseNaturalTS.d.ts.map +1 -0
- package/out/natural/{parseNaturalTS.js → parser/parseNaturalTS.js} +119 -38
- package/out/natural/parser/parseNaturalTS.js.map +1 -0
- package/out/natural/{parseNaturalTSXView.d.ts → parser/parseNaturalTSXView.d.ts} +1 -2
- package/out/natural/parser/parseNaturalTSXView.d.ts.map +1 -0
- package/out/natural/{parseNaturalTSXView.js → parser/parseNaturalTSXView.js} +181 -139
- package/out/natural/parser/parseNaturalTSXView.js.map +1 -0
- package/out/natural/transforms/checker/checkDataQueryCalleeNameOrder.d.ts +7 -0
- package/out/natural/transforms/checker/checkDataQueryCalleeNameOrder.d.ts.map +1 -0
- package/out/natural/transforms/checker/checkDataQueryCalleeNameOrder.js +38 -0
- package/out/natural/transforms/checker/checkDataQueryCalleeNameOrder.js.map +1 -0
- package/out/natural/transforms/checker/checkDefaultValue.d.ts +14 -0
- package/out/natural/transforms/checker/checkDefaultValue.d.ts.map +1 -0
- package/out/natural/transforms/checker/checkDefaultValue.js +39 -0
- package/out/natural/transforms/checker/checkDefaultValue.js.map +1 -0
- package/out/natural/transforms/checker/checkLcapEntity.d.ts +16 -0
- package/out/natural/transforms/checker/checkLcapEntity.d.ts.map +1 -0
- package/out/natural/transforms/checker/checkLcapEntity.js +337 -0
- package/out/natural/transforms/checker/checkLcapEntity.js.map +1 -0
- package/out/natural/transforms/checker/checkValidationCalleeName.d.ts +3 -0
- package/out/natural/transforms/checker/checkValidationCalleeName.d.ts.map +1 -0
- package/out/natural/transforms/checker/checkValidationCalleeName.js +88 -0
- package/out/natural/transforms/checker/checkValidationCalleeName.js.map +1 -0
- package/out/natural/transforms/checker/checkViewElement.d.ts +29 -0
- package/out/natural/transforms/checker/checkViewElement.d.ts.map +1 -0
- package/out/natural/transforms/checker/checkViewElement.js +618 -0
- package/out/natural/transforms/checker/checkViewElement.js.map +1 -0
- package/out/natural/transforms/checker/index.d.ts +19 -0
- package/out/natural/transforms/checker/index.d.ts.map +1 -0
- package/out/natural/transforms/checker/index.js +30 -0
- package/out/natural/transforms/checker/index.js.map +1 -0
- package/out/natural/transforms/transform2Entity.d.ts +13 -1
- package/out/natural/transforms/transform2Entity.d.ts.map +1 -1
- package/out/natural/transforms/transform2Entity.js +172 -17
- package/out/natural/transforms/transform2Entity.js.map +1 -1
- package/out/natural/transforms/transform2Enum.d.ts +1 -1
- package/out/natural/transforms/transform2Enum.d.ts.map +1 -1
- package/out/natural/transforms/transform2Enum.js +5 -1
- package/out/natural/transforms/transform2Enum.js.map +1 -1
- package/out/natural/transforms/transform2GlobalLogicDeclaration.d.ts +2 -2
- package/out/natural/transforms/transform2GlobalLogicDeclaration.d.ts.map +1 -1
- package/out/natural/transforms/transform2GlobalLogicDeclaration.js +18 -4
- package/out/natural/transforms/transform2GlobalLogicDeclaration.js.map +1 -1
- package/out/natural/transforms/transform2Logic.d.ts +4 -4
- package/out/natural/transforms/transform2Logic.d.ts.map +1 -1
- package/out/natural/transforms/transform2Logic.js +58 -17
- package/out/natural/transforms/transform2Logic.js.map +1 -1
- package/out/natural/transforms/transform2LogicItem.d.ts +11 -4
- package/out/natural/transforms/transform2LogicItem.d.ts.map +1 -1
- package/out/natural/transforms/transform2LogicItem.js +279 -178
- package/out/natural/transforms/transform2LogicItem.js.map +1 -1
- package/out/natural/transforms/transform2MetadataType.d.ts +1 -1
- package/out/natural/transforms/transform2MetadataType.d.ts.map +1 -1
- package/out/natural/transforms/transform2MetadataType.js +1 -1
- package/out/natural/transforms/transform2MetadataType.js.map +1 -1
- package/out/natural/transforms/transform2Param.d.ts +4 -0
- package/out/natural/transforms/transform2Param.d.ts.map +1 -0
- package/out/natural/transforms/transform2Param.js +114 -0
- package/out/natural/transforms/transform2Param.js.map +1 -0
- package/out/natural/transforms/transform2Structure.d.ts +1 -1
- package/out/natural/transforms/transform2Structure.d.ts.map +1 -1
- package/out/natural/transforms/transform2Structure.js +13 -2
- package/out/natural/transforms/transform2Structure.js.map +1 -1
- package/out/natural/transforms/transform2TypeAnnotation.d.ts +1 -1
- package/out/natural/transforms/transform2TypeAnnotation.d.ts.map +1 -1
- package/out/natural/transforms/transform2TypeAnnotation.js +3 -3
- package/out/natural/transforms/transform2TypeAnnotation.js.map +1 -1
- package/out/natural/transforms/transform2ValidationRule.d.ts +2 -2
- package/out/natural/transforms/transform2ValidationRule.d.ts.map +1 -1
- package/out/natural/transforms/transform2ValidationRule.js +6 -1
- package/out/natural/transforms/transform2ValidationRule.js.map +1 -1
- package/out/natural/transforms/transform2Variable.d.ts +4 -3
- package/out/natural/transforms/transform2Variable.d.ts.map +1 -1
- package/out/natural/transforms/transform2Variable.js +57 -6
- package/out/natural/transforms/transform2Variable.js.map +1 -1
- package/out/natural/transforms/transformThemeAndStyle.d.ts +5 -2
- package/out/natural/transforms/transformThemeAndStyle.d.ts.map +1 -1
- package/out/natural/transforms/transformThemeAndStyle.js +26 -13
- package/out/natural/transforms/transformThemeAndStyle.js.map +1 -1
- package/out/natural/transforms/utils/createComponentLookupMap.d.ts +32 -0
- package/out/natural/transforms/utils/createComponentLookupMap.d.ts.map +1 -0
- package/out/natural/transforms/utils/createComponentLookupMap.js +57 -0
- package/out/natural/transforms/utils/createComponentLookupMap.js.map +1 -0
- package/out/natural/transforms/utils/iconNames.d.ts +2 -0
- package/out/natural/transforms/utils/iconNames.d.ts.map +1 -0
- package/out/natural/transforms/utils/iconNames.js +299 -0
- package/out/natural/transforms/utils/iconNames.js.map +1 -0
- package/out/natural/transforms/utils/misc.d.ts +16 -0
- package/out/natural/transforms/utils/misc.d.ts.map +1 -0
- package/out/natural/transforms/utils/misc.js +240 -0
- package/out/natural/transforms/utils/misc.js.map +1 -0
- package/out/natural/transforms/utils/normalizeNode.d.ts +3 -0
- package/out/natural/transforms/utils/normalizeNode.d.ts.map +1 -0
- package/out/natural/transforms/utils/normalizeNode.js +15 -0
- package/out/natural/transforms/utils/normalizeNode.js.map +1 -0
- package/out/natural/transforms/utils/parseDecorator.d.ts +74 -0
- package/out/natural/transforms/utils/parseDecorator.d.ts.map +1 -0
- package/out/natural/transforms/utils/parseDecorator.js +252 -0
- package/out/natural/transforms/utils/parseDecorator.js.map +1 -0
- package/out/natural/transforms/utils/transform2Directory.d.ts +59 -0
- package/out/natural/transforms/utils/transform2Directory.d.ts.map +1 -0
- package/out/natural/transforms/utils/transform2Directory.js +229 -0
- package/out/natural/transforms/utils/transform2Directory.js.map +1 -0
- package/out/natural/{transforms/utils.d.ts → utils/index.d.ts} +35 -18
- package/out/natural/utils/index.d.ts.map +1 -0
- package/out/natural/utils/index.js +206 -0
- package/out/natural/utils/index.js.map +1 -0
- package/out/natural/utils/nasl-file-types.d.ts +45 -0
- package/out/natural/utils/nasl-file-types.d.ts.map +1 -0
- package/out/natural/utils/nasl-file-types.js +131 -0
- package/out/natural/utils/nasl-file-types.js.map +1 -0
- package/out/server/OQL/sqlDbTypes.json +717 -0
- package/out/server/createUiTs.d.ts +0 -1
- package/out/server/createUiTs.d.ts.map +1 -1
- package/out/server/createUiTs.js +1 -118
- package/out/server/createUiTs.js.map +1 -1
- package/out/server/extendBaseNode.d.ts.map +1 -1
- package/out/server/extendBaseNode.js +25 -3
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/findReference.js +1 -1
- package/out/server/findReference.js.map +1 -1
- package/out/server/naslServer.d.ts +0 -1
- package/out/server/naslServer.d.ts.map +1 -1
- package/out/server/naslServer.js +66 -55
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js.map +1 -1
- package/out/service/autofix/rules/rule-convert-incompatible-assignment-to-union.js.map +1 -1
- package/out/service/creator/add.configs.js +1 -1
- package/out/service/creator/add.configs.js.map +1 -1
- package/out/service/storage/init.d.ts +1 -1
- package/out/service/storage/init.d.ts.map +1 -1
- package/out/service/storage/init.js +26 -9
- package/out/service/storage/init.js.map +1 -1
- package/out/service/storage/specTools.d.ts +20 -8
- package/out/service/storage/specTools.d.ts.map +1 -1
- package/out/service/storage/specTools.js +157 -5
- package/out/service/storage/specTools.js.map +1 -1
- package/out/templator/block2nasl/jsx2nasl/transform-func2nasl.d.ts +4 -0
- package/out/templator/block2nasl/jsx2nasl/transform-func2nasl.d.ts.map +1 -1
- package/out/templator/block2nasl/jsx2nasl/transform-func2nasl.js +20 -1
- package/out/templator/block2nasl/jsx2nasl/transform-func2nasl.js.map +1 -1
- package/out/templator/block2nasl/jsx2nasl/transform-tsx2nasl.d.ts.map +1 -1
- package/out/templator/block2nasl/jsx2nasl/transform-tsx2nasl.js +28 -1
- package/out/templator/block2nasl/jsx2nasl/transform-tsx2nasl.js.map +1 -1
- package/out/templator/block2nasl/transformBlock2Nasl.js +2 -2
- package/out/templator/block2nasl/transformBlock2Nasl.js.map +1 -1
- package/out/templator/block2nasl/viewMergeBlock.js +3 -2
- package/out/templator/block2nasl/viewMergeBlock.js.map +1 -1
- package/out/utils/can-i-use.d.ts.map +1 -1
- package/out/utils/can-i-use.js +1 -0
- package/out/utils/can-i-use.js.map +1 -1
- package/package.json +9 -9
- package/sandbox/stdlib/nasl.core.ts +2 -0
- package/sandbox/stdlib/nasl.io.ts +1 -1
- package/sandbox/stdlib/nasl.oql.ts +2 -0
- package/sandbox/stdlib/nasl.util.ts +1 -1
- package/sandbox/stdlib/nasl.validation.ts +50 -14
- package/out/natural/genNaturalTS.d.ts.map +0 -1
- package/out/natural/genNaturalTS.js.map +0 -1
- package/out/natural/genTextualNASL.d.ts.map +0 -1
- package/out/natural/genTextualNASL.js.map +0 -1
- package/out/natural/getContext/getUILib.d.ts.map +0 -1
- package/out/natural/getContext/getUILib.js.map +0 -1
- package/out/natural/getContext/index.d.ts.map +0 -1
- package/out/natural/getContext/index.js.map +0 -1
- package/out/natural/getContext/nasl2Files.d.ts +0 -15
- package/out/natural/getContext/nasl2Files.d.ts.map +0 -1
- package/out/natural/getContext/nasl2Files.js +0 -75
- package/out/natural/getContext/nasl2Files.js.map +0 -1
- package/out/natural/getContext/naslStdlibMap.d.ts.map +0 -1
- package/out/natural/getContext/naslStdlibMap.js.map +0 -1
- package/out/natural/parseNaturalTS.d.ts.map +0 -1
- package/out/natural/parseNaturalTS.js.map +0 -1
- package/out/natural/parseNaturalTSXView.d.ts.map +0 -1
- package/out/natural/parseNaturalTSXView.js.map +0 -1
- package/out/natural/tools.d.ts.map +0 -1
- package/out/natural/tools.js.map +0 -1
- package/out/natural/transform2BatchActions.d.ts.map +0 -1
- package/out/natural/transform2BatchActions.js +0 -387
- package/out/natural/transform2BatchActions.js.map +0 -1
- package/out/natural/transformTS2UI.d.ts.map +0 -1
- package/out/natural/transformTS2UI.js.map +0 -1
- package/out/natural/transformTSCode.d.ts.map +0 -1
- package/out/natural/transformTSCode.js.map +0 -1
- package/out/natural/transforms/utils.d.ts.map +0 -1
- package/out/natural/transforms/utils.js +0 -407
- package/out/natural/transforms/utils.js.map +0 -1
- /package/out/natural/{genTextualNASL.d.ts → old/getContext/genTextualNASL.d.ts} +0 -0
- /package/out/natural/{genTextualNASL.js → old/getContext/genTextualNASL.js} +0 -0
- /package/out/natural/{getContext → old/getContext}/naslStdlibMap.d.ts +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createComponentLookupMap = void 0;
|
|
4
|
+
const index_1 = require("../../index");
|
|
5
|
+
/**
|
|
6
|
+
* 转换 allNodesAPI 为快速查找的 Map 结构
|
|
7
|
+
* @param nodesAPI 原始的组件API定义
|
|
8
|
+
* @returns 优化后的查找Map
|
|
9
|
+
*/
|
|
10
|
+
function createComponentLookupMap(nodesAPI) {
|
|
11
|
+
const lookupMap = new Map();
|
|
12
|
+
Object.entries(nodesAPI).forEach(([tagName, component]) => {
|
|
13
|
+
const propsMap = new Map();
|
|
14
|
+
let propsNames = '';
|
|
15
|
+
if (component.props?.length) {
|
|
16
|
+
for (let i = 0; i < component.props.length; i++) {
|
|
17
|
+
const prop = component.props[i];
|
|
18
|
+
propsMap.set(prop.name, prop);
|
|
19
|
+
propsNames += i === 0 ? prop.name : `, ${prop.name}`;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
const eventsMap = new Map();
|
|
23
|
+
let eventNames = '';
|
|
24
|
+
if (component.events?.length) {
|
|
25
|
+
for (let i = 0; i < component.events.length; i++) {
|
|
26
|
+
const event = component.events[i];
|
|
27
|
+
const name = `on${(0, index_1.firstUpperCase)(event.name.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase()))}`;
|
|
28
|
+
eventsMap.set(name, event);
|
|
29
|
+
eventNames += i === 0 ? name : `, ${name}`;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
const slotsMap = new Map();
|
|
33
|
+
let slotNames = '';
|
|
34
|
+
if (component.slots?.length) {
|
|
35
|
+
for (let i = 0; i < component.slots.length; i++) {
|
|
36
|
+
const slot = component.slots[i];
|
|
37
|
+
const name = `slot${(0, index_1.firstUpperCase)(slot.name)}`;
|
|
38
|
+
slotsMap.set(name, slot);
|
|
39
|
+
slotNames += i === 0 ? name : `, ${name}`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
lookupMap.set(tagName, {
|
|
43
|
+
component: {
|
|
44
|
+
ideusage: component?.ideusage,
|
|
45
|
+
propsNames,
|
|
46
|
+
eventNames,
|
|
47
|
+
slotNames,
|
|
48
|
+
},
|
|
49
|
+
propsMap,
|
|
50
|
+
eventsMap,
|
|
51
|
+
slotsMap,
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
return lookupMap;
|
|
55
|
+
}
|
|
56
|
+
exports.createComponentLookupMap = createComponentLookupMap;
|
|
57
|
+
//# sourceMappingURL=createComponentLookupMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComponentLookupMap.js","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/createComponentLookupMap.ts"],"names":[],"mappings":";;;AAAA,uCAA6C;AA4B7C;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,QAAkB;IACzD,MAAM,SAAS,GAAG,IAAI,GAAG,EAA+B,CAAC;IAEzD,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,EAAE;QACxD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;QAC3B,IAAI,UAAU,GAAG,EAAE,CAAC;QACpB,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;YAC5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBAChD,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAChC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC9B,UAAU,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;YACvD,CA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AAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YAC5C,CAAC;QACH,CAAC;QAED,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE;YACrB,SAAS,EAAE;gBACT,QAAQ,EAAE,SAAS,EAAE,QAAQ;gBAC7B,UAAU;gBACV,UAAU;gBACV,SAAS;aACV;YACD,QAAQ;YACR,SAAS;YACT,QAAQ;SACT,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,SAAS,CAAC;AACnB,CAAC;AApDD,4DAoDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconNames.d.ts","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/iconNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAsS3B,CAAC"}
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VALID_ICON_NAMES = void 0;
|
|
4
|
+
exports.VALID_ICON_NAMES = new Set([
|
|
5
|
+
'Plus',
|
|
6
|
+
'Minus',
|
|
7
|
+
'CirclePlus',
|
|
8
|
+
'Search',
|
|
9
|
+
'Female',
|
|
10
|
+
'Male',
|
|
11
|
+
'Aim',
|
|
12
|
+
'House',
|
|
13
|
+
'FullScreen',
|
|
14
|
+
'Loading',
|
|
15
|
+
'Link',
|
|
16
|
+
'Service',
|
|
17
|
+
'Pointer',
|
|
18
|
+
'Star',
|
|
19
|
+
'Notification',
|
|
20
|
+
'Connection',
|
|
21
|
+
'ChatDotRound',
|
|
22
|
+
'Setting',
|
|
23
|
+
'Clock',
|
|
24
|
+
'Position',
|
|
25
|
+
'Discount',
|
|
26
|
+
'Odometer',
|
|
27
|
+
'ChatSquare',
|
|
28
|
+
'ChatRound',
|
|
29
|
+
'ChatLineRound',
|
|
30
|
+
'ChatLineSquare',
|
|
31
|
+
'ChatDotSquare',
|
|
32
|
+
'View',
|
|
33
|
+
'Hide',
|
|
34
|
+
'Unlock',
|
|
35
|
+
'Lock',
|
|
36
|
+
'RefreshRight',
|
|
37
|
+
'RefreshLeft',
|
|
38
|
+
'Refresh',
|
|
39
|
+
'Bell',
|
|
40
|
+
'MuteNotification',
|
|
41
|
+
'User',
|
|
42
|
+
'Check',
|
|
43
|
+
'CircleCheck',
|
|
44
|
+
'Warning',
|
|
45
|
+
'CircleClose',
|
|
46
|
+
'Close',
|
|
47
|
+
'PieChart',
|
|
48
|
+
'More',
|
|
49
|
+
'Compass',
|
|
50
|
+
'Filter',
|
|
51
|
+
'Switch',
|
|
52
|
+
'Select',
|
|
53
|
+
'SemiSelect',
|
|
54
|
+
'CloseBold',
|
|
55
|
+
'EditPen',
|
|
56
|
+
'Edit',
|
|
57
|
+
'Message',
|
|
58
|
+
'MessageBox',
|
|
59
|
+
'TurnOff',
|
|
60
|
+
'Finished',
|
|
61
|
+
'Delete',
|
|
62
|
+
'Crop',
|
|
63
|
+
'SwitchButton',
|
|
64
|
+
'Operation',
|
|
65
|
+
'Open',
|
|
66
|
+
'Remove',
|
|
67
|
+
'ZoomOut',
|
|
68
|
+
'ZoomIn',
|
|
69
|
+
'InfoFilled',
|
|
70
|
+
'CircleCheckFilled',
|
|
71
|
+
'SuccessFilled',
|
|
72
|
+
'WarningFilled',
|
|
73
|
+
'CircleCloseFilled',
|
|
74
|
+
'QuestionFilled',
|
|
75
|
+
'WarnTriangleFilled',
|
|
76
|
+
'UserFilled',
|
|
77
|
+
'MoreFilled',
|
|
78
|
+
'Tools',
|
|
79
|
+
'HomeFilled',
|
|
80
|
+
'Menu',
|
|
81
|
+
'UploadFilled',
|
|
82
|
+
'Avatar',
|
|
83
|
+
'HelpFilled',
|
|
84
|
+
'Share',
|
|
85
|
+
'StarFilled',
|
|
86
|
+
'Comment',
|
|
87
|
+
'Histogram',
|
|
88
|
+
'Grid',
|
|
89
|
+
'Promotion',
|
|
90
|
+
'DeleteFilled',
|
|
91
|
+
'RemoveFilled',
|
|
92
|
+
'CirclePlusFilled',
|
|
93
|
+
'ArrowLeft',
|
|
94
|
+
'ArrowUp',
|
|
95
|
+
'ArrowRight',
|
|
96
|
+
'ArrowDown',
|
|
97
|
+
'ArrowLeftBold',
|
|
98
|
+
'ArrowUpBold',
|
|
99
|
+
'ArrowRightBold',
|
|
100
|
+
'ArrowDownBold',
|
|
101
|
+
'DArrowRight',
|
|
102
|
+
'DArrowLeft',
|
|
103
|
+
'Download',
|
|
104
|
+
'Upload',
|
|
105
|
+
'Top',
|
|
106
|
+
'Bottom',
|
|
107
|
+
'Back',
|
|
108
|
+
'Right',
|
|
109
|
+
'TopRight',
|
|
110
|
+
'TopLeft',
|
|
111
|
+
'BottomRight',
|
|
112
|
+
'BottomLeft',
|
|
113
|
+
'Sort',
|
|
114
|
+
'SortUp',
|
|
115
|
+
'SortDown',
|
|
116
|
+
'Rank',
|
|
117
|
+
'CaretLeft',
|
|
118
|
+
'CaretTop',
|
|
119
|
+
'CaretRight',
|
|
120
|
+
'CaretBottom',
|
|
121
|
+
'DCaret',
|
|
122
|
+
'Expand',
|
|
123
|
+
'Fold',
|
|
124
|
+
'DocumentAdd',
|
|
125
|
+
'Document',
|
|
126
|
+
'Notebook',
|
|
127
|
+
'Tickets',
|
|
128
|
+
'Memo',
|
|
129
|
+
'Collection',
|
|
130
|
+
'Postcard',
|
|
131
|
+
'ScaleToOriginal',
|
|
132
|
+
'SetUp',
|
|
133
|
+
'DocumentDelete',
|
|
134
|
+
'DocumentChecked',
|
|
135
|
+
'DataBoard',
|
|
136
|
+
'DataAnalysis',
|
|
137
|
+
'CopyDocument',
|
|
138
|
+
'FolderChecked',
|
|
139
|
+
'Files',
|
|
140
|
+
'Folder',
|
|
141
|
+
'FolderDelete',
|
|
142
|
+
'FolderRemove',
|
|
143
|
+
'FolderOpened',
|
|
144
|
+
'DocumentCopy',
|
|
145
|
+
'DocumentRemove',
|
|
146
|
+
'FolderAdd',
|
|
147
|
+
'FirstAidKit',
|
|
148
|
+
'Reading',
|
|
149
|
+
'DataLine',
|
|
150
|
+
'Management',
|
|
151
|
+
'Checked',
|
|
152
|
+
'Ticket',
|
|
153
|
+
'Failed',
|
|
154
|
+
'TrendCharts',
|
|
155
|
+
'List',
|
|
156
|
+
'Microphone',
|
|
157
|
+
'Mute',
|
|
158
|
+
'Mic',
|
|
159
|
+
'VideoPause',
|
|
160
|
+
'VideoCamera',
|
|
161
|
+
'VideoPlay',
|
|
162
|
+
'Headset',
|
|
163
|
+
'Monitor',
|
|
164
|
+
'Film',
|
|
165
|
+
'Camera',
|
|
166
|
+
'Picture',
|
|
167
|
+
'PictureRounded',
|
|
168
|
+
'Iphone',
|
|
169
|
+
'Cellphone',
|
|
170
|
+
'VideoCameraFilled',
|
|
171
|
+
'PictureFilled',
|
|
172
|
+
'Platform',
|
|
173
|
+
'CameraFilled',
|
|
174
|
+
'BellFilled',
|
|
175
|
+
'Location',
|
|
176
|
+
'LocationInformation',
|
|
177
|
+
'DeleteLocation',
|
|
178
|
+
'Coordinate',
|
|
179
|
+
'Bicycle',
|
|
180
|
+
'OfficeBuilding',
|
|
181
|
+
'School',
|
|
182
|
+
'Guide',
|
|
183
|
+
'AddLocation',
|
|
184
|
+
'MapLocation',
|
|
185
|
+
'Place',
|
|
186
|
+
'LocationFilled',
|
|
187
|
+
'Van',
|
|
188
|
+
'Watermelon',
|
|
189
|
+
'Pear',
|
|
190
|
+
'NoSmoking',
|
|
191
|
+
'Smoking',
|
|
192
|
+
'Mug',
|
|
193
|
+
'GobletSquareFull',
|
|
194
|
+
'GobletFull',
|
|
195
|
+
'KnifeFork',
|
|
196
|
+
'Sugar',
|
|
197
|
+
'Bowl',
|
|
198
|
+
'MilkTea',
|
|
199
|
+
'Lollipop',
|
|
200
|
+
'Coffee',
|
|
201
|
+
'Chicken',
|
|
202
|
+
'Dish',
|
|
203
|
+
'IceTea',
|
|
204
|
+
'ColdDrink',
|
|
205
|
+
'CoffeeCup',
|
|
206
|
+
'DishDot',
|
|
207
|
+
'IceDrink',
|
|
208
|
+
'IceCream',
|
|
209
|
+
'Dessert',
|
|
210
|
+
'IceCreamSquare',
|
|
211
|
+
'ForkSpoon',
|
|
212
|
+
'IceCreamRound',
|
|
213
|
+
'Food',
|
|
214
|
+
'HotWater',
|
|
215
|
+
'Grape',
|
|
216
|
+
'Fries',
|
|
217
|
+
'Apple',
|
|
218
|
+
'Burger',
|
|
219
|
+
'Goblet',
|
|
220
|
+
'GobletSquare',
|
|
221
|
+
'Orange',
|
|
222
|
+
'Cherry',
|
|
223
|
+
'Printer',
|
|
224
|
+
'Calendar',
|
|
225
|
+
'CreditCard',
|
|
226
|
+
'Box',
|
|
227
|
+
'Money',
|
|
228
|
+
'Refrigerator',
|
|
229
|
+
'Cpu',
|
|
230
|
+
'Football',
|
|
231
|
+
'Brush',
|
|
232
|
+
'Suitcase',
|
|
233
|
+
'SuitcaseLine',
|
|
234
|
+
'Umbrella',
|
|
235
|
+
'AlarmClock',
|
|
236
|
+
'Medal',
|
|
237
|
+
'GoldMedal',
|
|
238
|
+
'Present',
|
|
239
|
+
'Mouse',
|
|
240
|
+
'Watch',
|
|
241
|
+
'QuartzWatch',
|
|
242
|
+
'Magnet',
|
|
243
|
+
'Help',
|
|
244
|
+
'Soccer',
|
|
245
|
+
'ToiletPaper',
|
|
246
|
+
'ReadingLamp',
|
|
247
|
+
'Paperclip',
|
|
248
|
+
'MagicStick',
|
|
249
|
+
'Basketball',
|
|
250
|
+
'Baseball',
|
|
251
|
+
'Coin',
|
|
252
|
+
'Goods',
|
|
253
|
+
'Sell',
|
|
254
|
+
'SoldOut',
|
|
255
|
+
'Key',
|
|
256
|
+
'ShoppingCart',
|
|
257
|
+
'ShoppingCartFull',
|
|
258
|
+
'ShoppingTrolley',
|
|
259
|
+
'Phone',
|
|
260
|
+
'Scissor',
|
|
261
|
+
'Handbag',
|
|
262
|
+
'ShoppingBag',
|
|
263
|
+
'Trophy',
|
|
264
|
+
'TrophyBase',
|
|
265
|
+
'Stopwatch',
|
|
266
|
+
'Timer',
|
|
267
|
+
'CollectionTag',
|
|
268
|
+
'TakeawayBox',
|
|
269
|
+
'PriceTag',
|
|
270
|
+
'Wallet',
|
|
271
|
+
'Opportunity',
|
|
272
|
+
'PhoneFilled',
|
|
273
|
+
'WalletFilled',
|
|
274
|
+
'GoodsFilled',
|
|
275
|
+
'Flag',
|
|
276
|
+
'BrushFilled',
|
|
277
|
+
'Briefcase',
|
|
278
|
+
'Stamp',
|
|
279
|
+
'Sunrise',
|
|
280
|
+
'Sunny',
|
|
281
|
+
'Ship',
|
|
282
|
+
'MostlyCloudy',
|
|
283
|
+
'PartlyCloudy',
|
|
284
|
+
'Sunset',
|
|
285
|
+
'Drizzling',
|
|
286
|
+
'Pouring',
|
|
287
|
+
'Cloudy',
|
|
288
|
+
'Moon',
|
|
289
|
+
'MoonNight',
|
|
290
|
+
'Lightning',
|
|
291
|
+
'ChromeFilled',
|
|
292
|
+
'Eleme',
|
|
293
|
+
'ElemeFilled',
|
|
294
|
+
'ElementPlus',
|
|
295
|
+
'Shop',
|
|
296
|
+
'SwitchFilled',
|
|
297
|
+
'WindPower',
|
|
298
|
+
]);
|
|
299
|
+
//# sourceMappingURL=iconNames.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconNames.js","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/iconNames.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,IAAI,GAAG,CAAC;IACtC,MAAM;IACN,OAAO;IACP,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,KAAK;IACL,OAAO;IACP,YAAY;IACZ,SAAS;IACT,MAAM;IACN,SAAS;IACT,SAAS;IACT,MAAM;IACN,cAAc;IACd,YAAY;IACZ,cAAc;IACd,SAAS;IACT,OAAO;IACP,UAAU;IACV,UAAU;IACV,UAAU;IACV,YAAY;IACZ,WAAW;IACX,eAAe;IACf,gBAAgB;IAChB,eA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WAAW;IACX,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,MAAM;IACN,OAAO;IACP,MAAM;IACN,SAAS;IACT,KAAK;IACL,cAAc;IACd,kBAAkB;IAClB,iBAAiB;IACjB,OAAO;IACP,SAAS;IACT,SAAS;IACT,aAAa;IACb,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,OAAO;IACP,eAAe;IACf,aAAa;IACb,UAAU;IACV,QAAQ;IACR,aAAa;IACb,aAAa;IACb,cAAc;IACd,aAAa;IACb,MAAM;IACN,aAAa;IACb,WAAW;IACX,OAAO;IACP,SAAS;IACT,OAAO;IACP,MAAM;IACN,cAAc;IACd,cAAc;IACd,QAAQ;IACR,WAAW;IACX,SAAS;IACT,QAAQ;IACR,MAAM;IACN,WAAW;IACX,WAAW;IACX,cAAc;IACd,OAAO;IACP,aAAa;IACb,aAAa;IACb,MAAM;IACN,cAAc;IACd,WAAW;CACZ,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ParseNaturalTSState, type naslTypes } from '../../utils';
|
|
2
|
+
export declare const callFunctionMap: string[];
|
|
3
|
+
export declare const replaceCallFunctionMap: {
|
|
4
|
+
ListAdd: string;
|
|
5
|
+
ListAddAll: string;
|
|
6
|
+
ListContains: string;
|
|
7
|
+
ListInsert: string;
|
|
8
|
+
ListGet: string;
|
|
9
|
+
ListRemove: string;
|
|
10
|
+
ListRemoveAt: string;
|
|
11
|
+
ListSet: string;
|
|
12
|
+
COUNTD: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function upgradeListSort(node: any): any;
|
|
15
|
+
export declare function handleListSort(node: naslTypes.CallFunction, parseState: ParseNaturalTSState): naslTypes.CallFunction | void;
|
|
16
|
+
//# sourceMappingURL=misc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1F,eAAO,MAAM,eAAe,UA4F3B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;CAUlC,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,OAoFxC;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,YAAY,EAAE,UAAU,EAAE,mBAAmB,GAAG,SAAS,CAAC,YAAY,GAAG,IAAI,CAsC3H"}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.handleListSort = exports.upgradeListSort = exports.replaceCallFunctionMap = exports.callFunctionMap = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
exports.callFunctionMap = [
|
|
6
|
+
'Convert',
|
|
7
|
+
'FormatNumber',
|
|
8
|
+
'FormatDateTime',
|
|
9
|
+
'FormatDate',
|
|
10
|
+
'FromString',
|
|
11
|
+
'ToString',
|
|
12
|
+
'Length',
|
|
13
|
+
'IndexOf',
|
|
14
|
+
'Join',
|
|
15
|
+
'LastIndexOf',
|
|
16
|
+
'Replace',
|
|
17
|
+
'Split',
|
|
18
|
+
'SubString',
|
|
19
|
+
'ToLower',
|
|
20
|
+
'ToUpper',
|
|
21
|
+
'Trim',
|
|
22
|
+
'CurrDate',
|
|
23
|
+
'CurrDateTime',
|
|
24
|
+
'CurrTime',
|
|
25
|
+
'DateDiff',
|
|
26
|
+
'AlterDateTime',
|
|
27
|
+
'GetDateCount',
|
|
28
|
+
'GetSpecificDaysOfWeek',
|
|
29
|
+
'ListAdd',
|
|
30
|
+
'ListAddAll',
|
|
31
|
+
'ListContains',
|
|
32
|
+
'ListInsert',
|
|
33
|
+
'ListDistinct',
|
|
34
|
+
'ListDistinctBy',
|
|
35
|
+
'ListFilter',
|
|
36
|
+
'ListFind',
|
|
37
|
+
'ListFindIndex',
|
|
38
|
+
'ListFlatten',
|
|
39
|
+
'ListGroupBy',
|
|
40
|
+
'ListHead',
|
|
41
|
+
'ListLast',
|
|
42
|
+
'ListMax',
|
|
43
|
+
'ListMin',
|
|
44
|
+
'ListReverse',
|
|
45
|
+
'ListSlice',
|
|
46
|
+
'ListSort',
|
|
47
|
+
'ListSum',
|
|
48
|
+
'ListToMap',
|
|
49
|
+
'ListTransform',
|
|
50
|
+
'ListGet',
|
|
51
|
+
'ListRemove',
|
|
52
|
+
'ListRemoveAt',
|
|
53
|
+
'ListSet',
|
|
54
|
+
'ListRange',
|
|
55
|
+
'ListRepeat',
|
|
56
|
+
'MapContains',
|
|
57
|
+
'MapGet',
|
|
58
|
+
'MapPut',
|
|
59
|
+
'MapKeys',
|
|
60
|
+
'MapRemove',
|
|
61
|
+
'MapValues',
|
|
62
|
+
'EnumToList',
|
|
63
|
+
'EnumItemToText',
|
|
64
|
+
'Round',
|
|
65
|
+
'Clear',
|
|
66
|
+
'Clone',
|
|
67
|
+
'HasValue',
|
|
68
|
+
'RandomInt',
|
|
69
|
+
'NewList',
|
|
70
|
+
'NewMap',
|
|
71
|
+
'NewEntity',
|
|
72
|
+
'NewStructure',
|
|
73
|
+
'NewAnonymousStructure',
|
|
74
|
+
'jsonSerialize',
|
|
75
|
+
'jsonDeserialize',
|
|
76
|
+
"Add",
|
|
77
|
+
"AddAll",
|
|
78
|
+
"Contains",
|
|
79
|
+
"Insert",
|
|
80
|
+
"Get",
|
|
81
|
+
"Remove",
|
|
82
|
+
"RemoveAt",
|
|
83
|
+
"Set",
|
|
84
|
+
"Ceil",
|
|
85
|
+
"Floor",
|
|
86
|
+
"Trunc",
|
|
87
|
+
"TruncDivide",
|
|
88
|
+
"Abs",
|
|
89
|
+
"Pow",
|
|
90
|
+
"Sqrt",
|
|
91
|
+
"Cbrt",
|
|
92
|
+
"Log",
|
|
93
|
+
"PadStart",
|
|
94
|
+
"PadEnd",
|
|
95
|
+
"TrimStart",
|
|
96
|
+
"TrimEnd",
|
|
97
|
+
];
|
|
98
|
+
exports.replaceCallFunctionMap = {
|
|
99
|
+
"ListAdd": "Add",
|
|
100
|
+
"ListAddAll": "AddAll",
|
|
101
|
+
"ListContains": "Contains",
|
|
102
|
+
"ListInsert": "Insert",
|
|
103
|
+
"ListGet": "Get",
|
|
104
|
+
"ListRemove": "Remove",
|
|
105
|
+
"ListRemoveAt": "RemoveAt",
|
|
106
|
+
"ListSet": "Set",
|
|
107
|
+
"COUNTD": "COUNT",
|
|
108
|
+
};
|
|
109
|
+
function upgradeListSort(node) {
|
|
110
|
+
const asc = node?.arguments?.[2]?.expression;
|
|
111
|
+
const by = node?.arguments?.[1]?.expression;
|
|
112
|
+
const newArgument = [
|
|
113
|
+
{
|
|
114
|
+
...node.arguments[0]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
concept: 'Argument',
|
|
118
|
+
keyword: 'fn1',
|
|
119
|
+
expression: {
|
|
120
|
+
concept: 'AnonymousFunction',
|
|
121
|
+
body: {
|
|
122
|
+
concept: 'NewComposite',
|
|
123
|
+
typeAnnotation: {
|
|
124
|
+
concept: 'TypeAnnotation',
|
|
125
|
+
typeKind: 'anonymousStructure',
|
|
126
|
+
properties: [
|
|
127
|
+
{
|
|
128
|
+
concept: 'StructureProperty',
|
|
129
|
+
name: 'asc',
|
|
130
|
+
typeAnnotation: {
|
|
131
|
+
concept: 'TypeAnnotation',
|
|
132
|
+
typeKind: 'primitive',
|
|
133
|
+
typeNamespace: 'nasl.core',
|
|
134
|
+
typeName: 'Boolean'
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
concept: 'StructureProperty',
|
|
139
|
+
name: 'by',
|
|
140
|
+
typeAnnotation: null
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
properties: [
|
|
145
|
+
{
|
|
146
|
+
concept: 'Identifier',
|
|
147
|
+
name: 'asc',
|
|
148
|
+
folded: false,
|
|
149
|
+
typeAnnotation: null
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
concept: 'Identifier',
|
|
153
|
+
name: 'by',
|
|
154
|
+
folded: false,
|
|
155
|
+
typeAnnotation: null
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
rights: [
|
|
159
|
+
{
|
|
160
|
+
concept: 'SelectMembers',
|
|
161
|
+
hideMembers: false,
|
|
162
|
+
expression: asc,
|
|
163
|
+
members: []
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
assignmentLines: [
|
|
167
|
+
{
|
|
168
|
+
concept: 'AssignmentLine',
|
|
169
|
+
leftIndex: [0, 0],
|
|
170
|
+
rightIndex: [0]
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
params: by?.params
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
];
|
|
178
|
+
if (by?.body) {
|
|
179
|
+
newArgument[1].expression.body.rights.push({
|
|
180
|
+
concept: 'SelectMembers',
|
|
181
|
+
hideMembers: false,
|
|
182
|
+
expression: by.body,
|
|
183
|
+
members: []
|
|
184
|
+
});
|
|
185
|
+
newArgument[1].expression.body.assignmentLines.push({
|
|
186
|
+
concept: 'AssignmentLine',
|
|
187
|
+
leftIndex: [0, 1],
|
|
188
|
+
rightIndex: [1]
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
node.arguments = newArgument;
|
|
192
|
+
return node;
|
|
193
|
+
}
|
|
194
|
+
exports.upgradeListSort = upgradeListSort;
|
|
195
|
+
function handleListSort(node, parseState) {
|
|
196
|
+
const args = node?.arguments;
|
|
197
|
+
let hasErrorArg = false;
|
|
198
|
+
if (args?.[args?.length - 1]?.expression?.concept === 'BooleanLiteral') {
|
|
199
|
+
if (utils_1.DEBUG)
|
|
200
|
+
return (0, utils_1.throwError)(parseState, '调用 ListSort 函数需要使用最新的写法');
|
|
201
|
+
// 老的 ListSort 结构'nasl.util.ListSort(variable1, (item) => item, true)',要升级成新的
|
|
202
|
+
return upgradeListSort(node);
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
args?.forEach((arg, index) => {
|
|
206
|
+
// 新的 ListSort: nasl.util.ListSort(list, (item) => ({ asc: true, by: item.name}))
|
|
207
|
+
if (index !== 0) {
|
|
208
|
+
const argExpression = arg?.expression;
|
|
209
|
+
if (argExpression?.concept === 'AnonymousFunction' && argExpression?.body?.concept === 'NewComposite') {
|
|
210
|
+
// 做下特殊处理
|
|
211
|
+
if (argExpression?.body?.rights[1] && argExpression?.body?.rights[1]?.members[0]) {
|
|
212
|
+
argExpression.body.rights[1].expression = argExpression?.body?.rights[1]?.members[0];
|
|
213
|
+
argExpression.body.rights[1].members = [];
|
|
214
|
+
argExpression.body.assignmentLines[1].rightIndex = [1];
|
|
215
|
+
}
|
|
216
|
+
if (!argExpression?.params?.length) {
|
|
217
|
+
argExpression.params = [
|
|
218
|
+
{
|
|
219
|
+
concept: 'Param',
|
|
220
|
+
name: 'item',
|
|
221
|
+
typeAnnotation: null
|
|
222
|
+
}
|
|
223
|
+
];
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
else if (argExpression?.concept === 'SubLogic') {
|
|
227
|
+
hasErrorArg = false;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
hasErrorArg = true;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
if (hasErrorArg)
|
|
235
|
+
return null;
|
|
236
|
+
return node;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
exports.handleListSort = handleListSort;
|
|
240
|
+
//# sourceMappingURL=misc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/misc.ts"],"names":[],"mappings":";;;AAAA,uCAA0F;AAE7E,QAAA,eAAe,GAAG;IAC7B,SAAS;IACT,cAAc;IACd,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,UAAU;IAC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CC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { babelTypes } from '../../utils';
|
|
2
|
+
export declare function normalizeArrowFunctionBody(node: babelTypes.ArrowFunctionExpression | babelTypes.FunctionExpression): babelTypes.ArrowFunctionExpression | babelTypes.FunctionExpression;
|
|
3
|
+
//# sourceMappingURL=normalizeNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeNode.d.ts","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/normalizeNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,UAAU,CAAC,uBAAuB,GAAG,UAAU,CAAC,kBAAkB,GAAG,UAAU,CAAC,uBAAuB,GAAG,UAAU,CAAC,kBAAkB,CAQvL"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.normalizeArrowFunctionBody = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
function normalizeArrowFunctionBody(node) {
|
|
6
|
+
if (node.type === 'ArrowFunctionExpression' && node.body.type !== 'BlockStatement') {
|
|
7
|
+
return {
|
|
8
|
+
...node,
|
|
9
|
+
body: utils_1.babelTypes.blockStatement([utils_1.babelTypes.expressionStatement(node.body)]),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
return node;
|
|
13
|
+
}
|
|
14
|
+
exports.normalizeArrowFunctionBody = normalizeArrowFunctionBody;
|
|
15
|
+
//# sourceMappingURL=normalizeNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeNode.js","sourceRoot":"","sources":["../../../../src/natural/transforms/utils/normalizeNode.ts"],"names":[],"mappings":";;;AAAA,uCAAyC;AAEzC,SAAgB,0BAA0B,CAAC,IAAwE;IACjH,IAAI,IAAI,CAAC,IAAI,KAAK,yBAAyB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACnF,OAAO;YACL,GAAG,IAAI;YACP,IAAI,EAAE,kBAAU,CAAC,cAAc,CAAC,CAAC,kBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAA6B,CAAC,CAAC,CAAC;SACtG,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AARD,gEAQC"}
|