@lcap/nasl 1.0.0-alpha.2 → 1.0.0-alpha.3
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/README.md +3 -3
- package/docs/assets/search.js +1 -1
- package/docs/classes/Entity.html +2832 -204
- package/docs/classes/View.html +4567 -365
- package/out/common/BaseNode.js +23 -16
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/App__.d.ts +22 -0
- package/out/concepts/App__.js +77 -15
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.d.ts +2 -1
- package/out/concepts/Argument__.js +2 -2
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts +2 -1
- package/out/concepts/Assignment__.js +3 -8
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/Attribute__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts +2 -1
- package/out/concepts/BinaryExpression__.js +5 -5
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +2 -1
- package/out/concepts/BindAttribute__.js +9 -4
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +2 -1
- package/out/concepts/BindDirective__.js +2 -2
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +2 -1
- package/out/concepts/BindEvent__.js +4 -3
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.d.ts +2 -1
- package/out/concepts/BooleanLiteral__.js +1 -1
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +57 -1
- package/out/concepts/CallFunction__.js +119 -11
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +2 -1
- package/out/concepts/CallInterface__.js +2 -2
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +57 -1
- package/out/concepts/CallLogic__.js +117 -10
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.js +1 -1
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/Comment__.js.map +1 -1
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.d.ts +120 -0
- package/out/concepts/ConfigGroup__.js +214 -0
- package/out/concepts/ConfigGroup__.js.map +1 -0
- package/out/concepts/ConfigPropertyValue__.d.ts +43 -0
- package/out/concepts/ConfigPropertyValue__.js +103 -0
- package/out/concepts/ConfigPropertyValue__.js.map +1 -0
- package/out/concepts/ConfigProperty__.d.ts +128 -0
- package/out/concepts/ConfigProperty__.js +236 -0
- package/out/concepts/ConfigProperty__.js.map +1 -0
- package/out/concepts/Configuration__.d.ts +120 -0
- package/out/concepts/Configuration__.js +210 -0
- package/out/concepts/Configuration__.js.map +1 -0
- package/out/concepts/Constant__.d.ts +2 -1
- package/out/concepts/Constant__.js +1 -1
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/DataElement__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +2 -1
- package/out/concepts/Destination__.js +4 -3
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityIndex__.d.ts +8 -0
- package/out/concepts/EntityIndex__.js +18 -0
- package/out/concepts/EntityIndex__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +5 -5
- package/out/concepts/EntityProperty__.js +10 -9
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +30 -26
- package/out/concepts/Entity__.js +44 -36
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/Enum__.d.ts +8 -8
- package/out/concepts/Enum__.js +10 -4
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/Event__.js +1 -1
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts +35 -33
- package/out/concepts/ForEachStatement__.js +103 -36
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/Function__.js +1 -1
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/Identifier__.d.ts +2 -1
- package/out/concepts/Identifier__.js +15 -1
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/InterfaceParam__.js +1 -1
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +5 -1
- package/out/concepts/Interface__.js +19 -5
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/JSBlock__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +2 -1
- package/out/concepts/LogicItem__.js +2 -2
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.js +9 -7
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +2 -5
- package/out/concepts/MemberExpression__.js +12 -18
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/Module__.d.ts +121 -126
- package/out/concepts/Module__.js +10 -17
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/Namespace__.js +12 -12
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NullLiteral__.d.ts +2 -1
- package/out/concepts/NullLiteral__.js +1 -1
- package/out/concepts/NullLiteral__.js.map +1 -1
- package/out/concepts/NumericLiteral__.d.ts +2 -1
- package/out/concepts/NumericLiteral__.js +1 -1
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/Param__.d.ts +1 -1
- package/out/concepts/Param__.js +2 -2
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Point__.js.map +1 -1
- package/out/concepts/ProcessComponent__.js +2 -2
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.d.ts +82 -81
- package/out/concepts/ProcessElement__.js +19 -6
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/Process__.d.ts +1 -0
- package/out/concepts/Process__.js +10 -4
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/QueryAggregateExpression__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.js +1 -1
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryGroupByExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.js +1 -1
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryLimitExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.js +1 -1
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Rect__.js.map +1 -1
- package/out/concepts/Return__.d.ts +1 -1
- package/out/concepts/Return__.js +2 -2
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Role__.d.ts +5 -0
- package/out/concepts/Role__.js +19 -2
- package/out/concepts/Role__.js.map +1 -1
- package/out/concepts/Slot__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +2 -0
- package/out/concepts/SqlQueryComponent__.js +16 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/Start__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts +2 -1
- package/out/concepts/StringLiteral__.js +1 -1
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +1 -1
- package/out/concepts/StructureProperty__.js +1 -1
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +1 -1
- package/out/concepts/Structure__.js +4 -4
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SwitchCase__.js.map +1 -1
- package/out/concepts/SwitchStatement__.js.map +1 -1
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.js +3 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.d.ts +2 -1
- package/out/concepts/UnaryExpression__.js +3 -3
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Unparsed__.d.ts +2 -1
- package/out/concepts/Unparsed__.js +1 -1
- package/out/concepts/Unparsed__.js.map +1 -1
- package/out/concepts/UseComponent__.js.map +1 -1
- package/out/concepts/ValidationRule__.d.ts +2 -1
- package/out/concepts/ValidationRule__.js +2 -2
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +6 -5
- package/out/concepts/Variable__.js +3 -3
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewComponent__.js +5 -5
- package/out/concepts/ViewComponent__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +5 -4
- package/out/concepts/ViewElement__.js +109 -65
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +97 -90
- package/out/concepts/View__.js +153 -118
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/index.js +2 -2
- package/out/concepts/basics/stdlib/index.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.js +3 -137
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +21 -5
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.validation.js +527 -0
- package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
- package/out/concepts/index__.d.ts +4 -0
- package/out/concepts/index__.js +4 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/data/Module.d.ts +34 -0
- package/out/data/Module.js +53 -0
- package/out/data/Module.js.map +1 -0
- package/out/generator/compileComponent.d.ts +1 -1
- package/out/generator/genBundleFiles.d.ts +0 -1
- package/out/generator/genBundleFiles.js +1 -1
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.d.ts +35 -0
- package/out/generator/genMetaData.js +78 -0
- package/out/generator/genMetaData.js.map +1 -0
- package/out/generator/index.d.ts +1 -0
- package/out/generator/index.js +1 -0
- package/out/generator/index.js.map +1 -1
- package/out/index.d.ts +2 -2
- package/out/index.js +3 -1
- package/out/index.js.map +1 -1
- package/out/server/createUiTs.d.ts +7 -0
- package/out/server/createUiTs.js +157 -0
- package/out/server/createUiTs.js.map +1 -0
- package/out/server/entity2LogicNamespace.d.ts +9 -1
- package/out/server/entity2LogicNamespace.js +11 -1
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/getExtensionModules.d.ts +3 -0
- package/out/server/getExtensionModules.js +18 -0
- package/out/server/getExtensionModules.js.map +1 -0
- package/out/server/getLogics.js +18 -15
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.d.ts +3 -2
- package/out/server/getMemberIdentifier.js +47 -15
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/getProcesses.d.ts +4 -1
- package/out/server/getProcesses.js +16 -7
- package/out/server/getProcesses.js.map +1 -1
- package/out/server/getValidates.js +1 -1
- package/out/server/getValidates.js.map +1 -1
- package/out/server/index.js +1 -0
- package/out/server/index.js.map +1 -1
- package/out/server/naslServer.d.ts +23 -5
- package/out/server/naslServer.js +199 -25
- package/out/server/naslServer.js.map +1 -1
- package/out/server/process2LogicNamespace.d.ts +15 -1
- package/out/server/process2LogicNamespace.js +30 -3
- package/out/server/process2LogicNamespace.js.map +1 -1
- package/out/server/translator.js +28 -0
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.d.ts +5 -0
- package/out/service/storage/init.js +60 -52
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCallComponentLogic.js +2 -2
- package/out/templator/genCallComponentLogic.js.map +1 -1
- package/out/templator/genCreateBlock.js +6 -8
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +3 -3
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.js +4 -4
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.js +3 -3
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genGetBlock.js +1 -1
- package/out/templator/genGetBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +2 -2
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genSelectBlock.js +1 -1
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +8 -12
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/templator/utils.d.ts +20 -20
- package/out/templator/utils.js +22 -22
- package/out/templator/utils.js.map +1 -1
- package/package.json +2 -1
- package/src/automate/engine/index.js +37 -3
- package/src/automate/engine/utils.js +68 -64
- package/src/common/BaseNode.ts +24 -17
- package/src/concepts/App__.ts +93 -17
- package/src/concepts/Argument__.ts +4 -2
- package/src/concepts/Assignment__.ts +5 -7
- package/src/concepts/Attribute__.ts +1 -0
- package/src/concepts/BinaryExpression__.ts +7 -5
- package/src/concepts/BindAttribute__.ts +9 -4
- package/src/concepts/BindDirective__.ts +4 -2
- package/src/concepts/BindEvent__.ts +6 -4
- package/src/concepts/BooleanLiteral__.ts +3 -1
- package/src/concepts/CallFunction__.ts +195 -11
- package/src/concepts/CallInterface__.ts +4 -2
- package/src/concepts/CallLogic__.ts +211 -12
- package/src/concepts/CallQueryComponent__.ts +2 -1
- package/src/concepts/Comment__.ts +1 -0
- package/src/concepts/CompletionProperty__.ts +1 -0
- package/src/concepts/ConfigGroup__.ts +290 -0
- package/src/concepts/ConfigPropertyValue__.ts +112 -0
- package/src/concepts/ConfigProperty__.ts +306 -0
- package/src/concepts/Configuration__.ts +286 -0
- package/src/concepts/Constant__.ts +3 -1
- package/src/concepts/DataElement__.ts +1 -0
- package/src/concepts/Destination__.ts +7 -5
- package/src/concepts/End__.ts +1 -0
- package/src/concepts/EntityIndex__.ts +19 -0
- package/src/concepts/EntityProperty__.ts +9 -8
- package/src/concepts/Entity__.ts +66 -59
- package/src/concepts/EnumItem__.ts +1 -0
- package/src/concepts/Enum__.ts +32 -12
- package/src/concepts/Event__.ts +2 -1
- package/src/concepts/ForEachStatement__.ts +115 -69
- package/src/concepts/Function__.ts +2 -1
- package/src/concepts/Identifier__.ts +18 -1
- package/src/concepts/IfStatement__.ts +1 -0
- package/src/concepts/InterfaceParam__.ts +2 -1
- package/src/concepts/Interface__.ts +21 -5
- package/src/concepts/JSBlock__.ts +1 -0
- package/src/concepts/LogicItem__.ts +9 -40
- package/src/concepts/Logic__.ts +48 -9
- package/src/concepts/MemberExpression__.ts +14 -17
- package/src/concepts/Module__.ts +158 -139
- package/src/concepts/Namespace__.ts +13 -12
- package/src/concepts/NullLiteral__.ts +3 -1
- package/src/concepts/NumericLiteral__.ts +3 -1
- package/src/concepts/Param__.ts +3 -2
- package/src/concepts/Point__.ts +1 -0
- package/src/concepts/ProcessComponent__.ts +3 -2
- package/src/concepts/ProcessElement__.ts +102 -107
- package/src/concepts/ProcessOutcome__.ts +1 -0
- package/src/concepts/Process__.ts +12 -4
- package/src/concepts/QueryAggregateExpression__.ts +1 -0
- package/src/concepts/QueryFieldExpression__.ts +2 -1
- package/src/concepts/QueryFromExpression__.ts +1 -0
- package/src/concepts/QueryGroupByExpression__.ts +1 -0
- package/src/concepts/QueryJoinExpression__.ts +2 -1
- package/src/concepts/QueryLimitExpression__.ts +1 -0
- package/src/concepts/QueryOrderByExpression__.ts +1 -0
- package/src/concepts/QuerySelectExpression__.ts +2 -1
- package/src/concepts/Rect__.ts +1 -0
- package/src/concepts/Return__.ts +3 -2
- package/src/concepts/Role__.ts +19 -2
- package/src/concepts/Slot__.ts +1 -0
- package/src/concepts/SqlQueryComponent__.ts +11 -1
- package/src/concepts/Start__.ts +1 -0
- package/src/concepts/StringLiteral__.ts +3 -1
- package/src/concepts/StructureProperty__.ts +2 -1
- package/src/concepts/Structure__.ts +5 -4
- package/src/concepts/SwitchCase__.ts +1 -0
- package/src/concepts/SwitchStatement__.ts +1 -0
- package/src/concepts/Theme__.ts +1 -0
- package/src/concepts/Transactional__.ts +1 -0
- package/src/concepts/TypeAnnotation__.ts +4 -0
- package/src/concepts/TypeParam__.ts +1 -0
- package/src/concepts/UnaryExpression__.ts +6 -3
- package/src/concepts/Unparsed__.ts +3 -1
- package/src/concepts/UseComponent__.ts +1 -0
- package/src/concepts/ValidationRule__.ts +5 -2
- package/src/concepts/Variable__.ts +12 -6
- package/src/concepts/ViewComponent__.ts +6 -5
- package/src/concepts/ViewElement__.ts +109 -80
- package/src/concepts/View__.ts +245 -206
- package/src/concepts/WhileStatement__.ts +1 -0
- package/src/concepts/basics/stdlib/index.ts +2 -2
- package/src/concepts/basics/stdlib/nasl.ui.ts +3 -137
- package/src/concepts/basics/stdlib/nasl.util.ts +21 -5
- package/src/concepts/basics/stdlib/{nasl.validate.ts → nasl.validation.ts} +28 -28
- package/src/concepts/index__.ts +4 -0
- package/src/generator/compileComponent.ts +1 -1
- package/src/generator/genBundleFiles.ts +1 -2
- package/src/generator/genMetaData.ts +111 -0
- package/src/generator/index.ts +1 -0
- package/src/index.ts +2 -2
- package/src/server/createUiTs.ts +153 -0
- package/src/server/entity2LogicNamespace.ts +17 -1
- package/src/server/getExtensionModules.ts +13 -0
- package/src/server/getLogics.ts +19 -18
- package/src/server/getMemberIdentifier.ts +60 -19
- package/src/server/getProcesses.ts +15 -8
- package/src/server/getValidates.ts +1 -1
- package/src/server/index.ts +2 -1
- package/src/server/naslServer.ts +204 -24
- package/src/server/process2LogicNamespace.ts +44 -3
- package/src/server/translator.ts +121 -97
- package/src/service/config/api.js +32 -0
- package/src/service/config/index.js +6 -0
- package/src/service/creator/index.js +2 -2
- package/src/service/logic/checktypeSocket.js +49 -0
- package/src/service/modules/api.js +20 -0
- package/src/service/modules/index.js +6 -0
- package/src/service/storage/init.ts +62 -54
- package/src/templator/genCallComponentLogic.ts +2 -2
- package/src/templator/genCreateBlock.ts +19 -25
- package/src/templator/genCurdEditMultipleKeyBlock.ts +3 -3
- package/src/templator/genCurdMultipleKeyBlock.ts +4 -4
- package/src/templator/genEditTableBlock.ts +3 -3
- package/src/templator/genGetBlock.ts +1 -1
- package/src/templator/genListViewBlock.ts +2 -2
- package/src/templator/genSelectBlock.ts +1 -1
- package/src/templator/genUpdateBlock.ts +19 -25
- package/src/templator/utils.ts +25 -153
|
@@ -9,10 +9,11 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
9
9
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
10
10
|
|
|
11
11
|
import * as utils from '../utils';
|
|
12
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
12
13
|
import BaseNode from '../common/BaseNode';
|
|
13
14
|
import classMap from '../common/classMap';
|
|
14
15
|
import LogicItem from './LogicItem__';
|
|
15
|
-
import
|
|
16
|
+
import Param from './Param__';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* For 循环分支
|
|
@@ -32,25 +33,25 @@ export class ForEachStatement extends LogicItem {
|
|
|
32
33
|
each: LogicItem = undefined;
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* 循环项参数
|
|
36
37
|
*/
|
|
37
|
-
@property('
|
|
38
|
-
item:
|
|
38
|
+
@property('Param')
|
|
39
|
+
item: Param = undefined;
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* 循环项索引
|
|
42
43
|
*/
|
|
43
|
-
@property('
|
|
44
|
-
index:
|
|
44
|
+
@property('Param')
|
|
45
|
+
index: Param = undefined;
|
|
45
46
|
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
+
* 循环开始值
|
|
48
49
|
*/
|
|
49
50
|
@property('LogicItem')
|
|
50
51
|
start: LogicItem = undefined;
|
|
51
52
|
|
|
52
53
|
/**
|
|
53
|
-
*
|
|
54
|
+
* 循环结束值
|
|
54
55
|
*/
|
|
55
56
|
@property('LogicItem')
|
|
56
57
|
end: LogicItem = undefined;
|
|
@@ -93,9 +94,9 @@ export class ForEachStatement extends LogicItem {
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
/**
|
|
96
|
-
*
|
|
97
|
+
* 设置循环项参数
|
|
97
98
|
*/
|
|
98
|
-
setItem(item:
|
|
99
|
+
setItem(item: Param) {
|
|
99
100
|
item._delete();
|
|
100
101
|
const relationOptions = { parentNode: this, parentKey: 'item' };
|
|
101
102
|
Object.assign(item, relationOptions);
|
|
@@ -108,9 +109,9 @@ export class ForEachStatement extends LogicItem {
|
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/**
|
|
111
|
-
*
|
|
112
|
+
* 设置循环项索引
|
|
112
113
|
*/
|
|
113
|
-
setIndex(index:
|
|
114
|
+
setIndex(index: Param) {
|
|
114
115
|
index._delete();
|
|
115
116
|
const relationOptions = { parentNode: this, parentKey: 'index' };
|
|
116
117
|
Object.assign(index, relationOptions);
|
|
@@ -123,7 +124,7 @@ export class ForEachStatement extends LogicItem {
|
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
/**
|
|
126
|
-
*
|
|
127
|
+
* 设置循环开始值
|
|
127
128
|
*/
|
|
128
129
|
setStart(start: LogicItem) {
|
|
129
130
|
start._delete();
|
|
@@ -138,7 +139,7 @@ export class ForEachStatement extends LogicItem {
|
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
/**
|
|
141
|
-
*
|
|
142
|
+
* 设置循环结束值
|
|
142
143
|
*/
|
|
143
144
|
setEnd(end: LogicItem) {
|
|
144
145
|
end._delete();
|
|
@@ -288,60 +289,6 @@ export class ForEachStatement extends LogicItem {
|
|
|
288
289
|
|
|
289
290
|
|
|
290
291
|
|
|
291
|
-
/**
|
|
292
|
-
* 删除标识符
|
|
293
|
-
* @param name 标识符名称
|
|
294
|
-
*/
|
|
295
|
-
removeItem(name: string): void;
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* 删除标识符
|
|
299
|
-
* @param item 已有的标识符实例
|
|
300
|
-
*/
|
|
301
|
-
removeItem(item: Identifier): void;
|
|
302
|
-
|
|
303
|
-
removeItem(options: string | Identifier) {
|
|
304
|
-
let item: Identifier;
|
|
305
|
-
if (typeof options === 'string') {
|
|
306
|
-
item = this.item;
|
|
307
|
-
if (!item) {
|
|
308
|
-
throw new Error('找不到标识符 ' + options);
|
|
309
|
-
}
|
|
310
|
-
} else {
|
|
311
|
-
item = options;
|
|
312
|
-
}
|
|
313
|
-
return item.delete();
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* 删除标识符
|
|
320
|
-
* @param name 标识符名称
|
|
321
|
-
*/
|
|
322
|
-
removeIndex(name: string): void;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* 删除标识符
|
|
326
|
-
* @param index 已有的标识符实例
|
|
327
|
-
*/
|
|
328
|
-
removeIndex(index: Identifier): void;
|
|
329
|
-
|
|
330
|
-
removeIndex(options: string | Identifier) {
|
|
331
|
-
let index: Identifier;
|
|
332
|
-
if (typeof options === 'string') {
|
|
333
|
-
index = this.index;
|
|
334
|
-
if (!index) {
|
|
335
|
-
throw new Error('找不到标识符 ' + options);
|
|
336
|
-
}
|
|
337
|
-
} else {
|
|
338
|
-
index = options;
|
|
339
|
-
}
|
|
340
|
-
return index.delete();
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
292
|
/**
|
|
346
293
|
* 删除逻辑项
|
|
347
294
|
* @param name 逻辑项名称
|
|
@@ -430,11 +377,110 @@ export class ForEachStatement extends LogicItem {
|
|
|
430
377
|
return params;
|
|
431
378
|
}
|
|
432
379
|
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* 删除输入参数
|
|
384
|
+
* @param name 输入参数名称
|
|
385
|
+
*/
|
|
386
|
+
removeItem(name: string): void;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* 删除输入参数
|
|
390
|
+
* @param item 已有的输入参数实例
|
|
391
|
+
*/
|
|
392
|
+
removeItem(item: Param): void;
|
|
393
|
+
|
|
394
|
+
removeItem(options: string | Param) {
|
|
395
|
+
let item: Param;
|
|
396
|
+
if (typeof options === 'string') {
|
|
397
|
+
item = this.item;
|
|
398
|
+
if (!item) {
|
|
399
|
+
throw new Error('找不到输入参数 ' + options);
|
|
400
|
+
}
|
|
401
|
+
} else {
|
|
402
|
+
item = options;
|
|
403
|
+
}
|
|
404
|
+
return item.delete();
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* 删除输入参数
|
|
411
|
+
* @param name 输入参数名称
|
|
412
|
+
*/
|
|
413
|
+
removeIndex(name: string): void;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* 删除输入参数
|
|
417
|
+
* @param index 已有的输入参数实例
|
|
418
|
+
*/
|
|
419
|
+
removeIndex(index: Param): void;
|
|
420
|
+
|
|
421
|
+
removeIndex(options: string | Param) {
|
|
422
|
+
let index: Param;
|
|
423
|
+
if (typeof options === 'string') {
|
|
424
|
+
index = this.index;
|
|
425
|
+
if (!index) {
|
|
426
|
+
throw new Error('找不到输入参数 ' + options);
|
|
427
|
+
}
|
|
428
|
+
} else {
|
|
429
|
+
index = options;
|
|
430
|
+
}
|
|
431
|
+
return index.delete();
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
__removeParam(param: Param) {
|
|
435
|
+
const parentKey = param.parentKey;
|
|
436
|
+
const params: Params = {
|
|
437
|
+
parentNode: this,
|
|
438
|
+
parentKey,
|
|
439
|
+
index: -1,
|
|
440
|
+
object: null,
|
|
441
|
+
oldObject: param,
|
|
442
|
+
};
|
|
443
|
+
if (parentKey) {
|
|
444
|
+
params.parentKey = parentKey;
|
|
445
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
446
|
+
const index = (this as any)[parentKey].indexOf(param);
|
|
447
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
448
|
+
params.index = index;
|
|
449
|
+
} else if ((this as any)[parentKey] === param) {
|
|
450
|
+
params.index = 0;
|
|
451
|
+
(this as any)[parentKey] = undefined;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
return params;
|
|
455
|
+
}
|
|
456
|
+
|
|
433
457
|
//================================================================================
|
|
434
458
|
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
435
459
|
// 自动生成的代码已结束。下面可以手动编写。
|
|
436
460
|
//================================================================================
|
|
437
461
|
|
|
462
|
+
public checkItemIndexName() {
|
|
463
|
+
const itemNames = [];
|
|
464
|
+
const idxNames = [];
|
|
465
|
+
let n = this.parentNode;
|
|
466
|
+
while(n && n.concept !== 'Logic') {
|
|
467
|
+
if(n instanceof ForEachStatement){
|
|
468
|
+
itemNames.push(n.item.name);
|
|
469
|
+
idxNames.push(n.index.name);
|
|
470
|
+
}
|
|
471
|
+
n = n.parentNode;
|
|
472
|
+
}
|
|
473
|
+
const uniqueItemName = utils.unique('item', itemNames);
|
|
474
|
+
const uniqueIdxName = utils.unique('index', idxNames);
|
|
475
|
+
if(this.item.name !== uniqueItemName) {
|
|
476
|
+
this.item.setName(uniqueItemName);
|
|
477
|
+
}
|
|
478
|
+
if(this.index.name !== uniqueIdxName) {
|
|
479
|
+
this.index.setName(uniqueIdxName);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
|
|
438
484
|
public static getDefaultOptions() {
|
|
439
485
|
return {
|
|
440
486
|
label: 'ForEach 循环分支',
|
|
@@ -7,6 +7,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
7
7
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
8
8
|
|
|
9
9
|
import * as utils from '../utils';
|
|
10
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
10
11
|
import BaseNode from '../common/BaseNode';
|
|
11
12
|
import classMap from '../common/classMap';
|
|
12
13
|
import TypeParam from './TypeParam__';
|
|
@@ -127,7 +128,7 @@ export class Function extends BaseNode {
|
|
|
127
128
|
|
|
128
129
|
getTypeParamExistingNames(excludedList: Array<TypeParam> = []) {
|
|
129
130
|
const excludedSet = new Set(excludedList);
|
|
130
|
-
return this.typeParams.filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
131
|
+
return (this.typeParams || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
131
132
|
}
|
|
132
133
|
getTypeParamUniqueName(name = 'typeParam1') {
|
|
133
134
|
return utils.unique(name, this.getTypeParamExistingNames());
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { TranslatorState, shiftState, withSourceMap, indent, createCompilerState } from '../translator';
|
|
2
|
+
import { BindAttribute } from '..';
|
|
3
|
+
import { ElementToVueOptions } from './ViewElement__';
|
|
4
|
+
|
|
2
5
|
//================================================================================
|
|
3
6
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
4
7
|
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
@@ -7,6 +10,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
7
10
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
8
11
|
|
|
9
12
|
import * as utils from '../utils';
|
|
13
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
10
14
|
import BaseNode from '../common/BaseNode';
|
|
11
15
|
import classMap from '../common/classMap';
|
|
12
16
|
import LogicItem from './LogicItem__';
|
|
@@ -68,7 +72,7 @@ export class Identifier extends LogicItem {
|
|
|
68
72
|
$refs: true,
|
|
69
73
|
};
|
|
70
74
|
|
|
71
|
-
toVue(): string {
|
|
75
|
+
toVue(options?: ElementToVueOptions): string {
|
|
72
76
|
return this.name;
|
|
73
77
|
}
|
|
74
78
|
|
|
@@ -104,6 +108,19 @@ export class Identifier extends LogicItem {
|
|
|
104
108
|
|
|
105
109
|
@withSourceMap()
|
|
106
110
|
toEmbeddedTS(state?: TranslatorState): string {
|
|
111
|
+
// 只有data-source可以是函数 ,也可能是属性
|
|
112
|
+
if (this.parentNode instanceof BindAttribute && this.parentNode.name === 'data-source') {
|
|
113
|
+
const view = this.view;
|
|
114
|
+
const viewLogics = view.logics;
|
|
115
|
+
const findLogic = viewLogics.find((item) => item.name === this.name);
|
|
116
|
+
if (findLogic) {
|
|
117
|
+
return 'logics.' + this.name;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
// 因为右侧枚举要赋值就赋值toList方法一下
|
|
121
|
+
if (this.namespace && this.namespace.endsWith('enums')) {
|
|
122
|
+
return ((this.namespace + '.') || '') + this.name + '.toList()';
|
|
123
|
+
}
|
|
107
124
|
// 如果是identifier 而且枚举
|
|
108
125
|
return this.namespace ? this.namespace + '.' + this.name : this.name || '__IDENTIFIER__';
|
|
109
126
|
}
|
|
@@ -8,6 +8,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
8
8
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
9
9
|
|
|
10
10
|
import * as utils from '../utils';
|
|
11
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
11
12
|
import BaseNode from '../common/BaseNode';
|
|
12
13
|
import classMap from '../common/classMap';
|
|
13
14
|
import LogicItem from './LogicItem__';
|
|
@@ -11,6 +11,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
11
11
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
12
12
|
|
|
13
13
|
import * as utils from '../utils';
|
|
14
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
14
15
|
import BaseNode from '../common/BaseNode';
|
|
15
16
|
import classMap from '../common/classMap';
|
|
16
17
|
import TypeAnnotation from './TypeAnnotation__';
|
|
@@ -258,7 +259,7 @@ export class InterfaceParam extends BaseNode {
|
|
|
258
259
|
* 是否可编辑
|
|
259
260
|
* */
|
|
260
261
|
get nodeReadonly() {
|
|
261
|
-
return this.
|
|
262
|
+
return !!this.module;
|
|
262
263
|
}
|
|
263
264
|
|
|
264
265
|
@withSourceMap()
|
|
@@ -8,6 +8,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
8
8
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
9
9
|
|
|
10
10
|
import * as utils from '../utils';
|
|
11
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
11
12
|
import BaseNode from '../common/BaseNode';
|
|
12
13
|
import classMap from '../common/classMap';
|
|
13
14
|
import InterfaceParam from './InterfaceParam__';
|
|
@@ -514,10 +515,22 @@ export class Interface extends BaseNode {
|
|
|
514
515
|
/**
|
|
515
516
|
* 是否可编辑
|
|
516
517
|
* */
|
|
517
|
-
get
|
|
518
|
+
get readonly() {
|
|
518
519
|
return !!this.module;
|
|
519
520
|
}
|
|
520
521
|
|
|
522
|
+
/**
|
|
523
|
+
* 设置逻辑名称
|
|
524
|
+
*/
|
|
525
|
+
setOriginLogicName(originLogicName: string) {
|
|
526
|
+
const object = {
|
|
527
|
+
originLogicName,
|
|
528
|
+
};
|
|
529
|
+
this.update({
|
|
530
|
+
...object,
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
|
|
521
534
|
toEmbeddedTSFile() {
|
|
522
535
|
let code = `namespace ${this.getNamespace()} {\n`;
|
|
523
536
|
|
|
@@ -547,7 +560,8 @@ export class Interface extends BaseNode {
|
|
|
547
560
|
|
|
548
561
|
@withSourceMap()
|
|
549
562
|
toEmbeddedTS(state?: TranslatorState): string {
|
|
550
|
-
let code =
|
|
563
|
+
let code = '';
|
|
564
|
+
code += `export function ${this.name}(`;
|
|
551
565
|
this.params.forEach((param, index) => {
|
|
552
566
|
if (index === 0) {
|
|
553
567
|
code += '{';
|
|
@@ -576,10 +590,13 @@ export class Interface extends BaseNode {
|
|
|
576
590
|
code += ret.typeAnnotation.toEmbeddedTS(shiftState(state, code));
|
|
577
591
|
});
|
|
578
592
|
code += '{\n';
|
|
593
|
+
code += 'let logic =' + (this.parentNode as Namespace).getNamespace() + '.logics.' + this.originLogicName + '\n';
|
|
579
594
|
code += `return new ${this.returns[0].typeAnnotation.toEmbeddedTS(shiftState(state, code))}();`;
|
|
580
595
|
code += '\n }';
|
|
581
596
|
} else {
|
|
582
|
-
code += 'void {
|
|
597
|
+
code += 'void {';
|
|
598
|
+
code += 'let logic =' + (this.parentNode as Namespace).getNamespace() + '.logics.' + this.originLogicName + '\n';
|
|
599
|
+
code += '};';
|
|
583
600
|
}
|
|
584
601
|
code += '\n';
|
|
585
602
|
return code;
|
|
@@ -587,8 +604,7 @@ export class Interface extends BaseNode {
|
|
|
587
604
|
|
|
588
605
|
getNamespace() {
|
|
589
606
|
if (this.parentNode && (this.parentNode as Namespace).getNamespace)
|
|
590
|
-
return
|
|
591
|
-
// return `${(this.parentNode as Namespace).getNamespace()}.interfaces`;
|
|
607
|
+
return `${(this.parentNode as Namespace).getNamespace()}.interfaces`;
|
|
592
608
|
else
|
|
593
609
|
throw new Error('无法获取命名空间,请设置 parentNode!');
|
|
594
610
|
}
|
|
@@ -7,6 +7,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
7
7
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
8
8
|
|
|
9
9
|
import * as utils from '../utils';
|
|
10
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
10
11
|
import BaseNode from '../common/BaseNode';
|
|
11
12
|
import classMap from '../common/classMap';
|
|
12
13
|
import LogicItem from './LogicItem__';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TranslatorState } from '../translator';
|
|
2
2
|
import CallFunction from './CallFunction__';
|
|
3
|
+
import { ElementToVueOptions } from './ViewElement__';
|
|
3
4
|
|
|
4
5
|
//================================================================================
|
|
5
6
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
@@ -9,6 +10,7 @@ import { EventPayload, Params } from '../common/EventEmitter';
|
|
|
9
10
|
import { concept, excludedInJSON, property } from '../decorators';
|
|
10
11
|
|
|
11
12
|
import * as utils from '../utils';
|
|
13
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
12
14
|
import BaseNode from '../common/BaseNode';
|
|
13
15
|
import classMap from '../common/classMap';
|
|
14
16
|
import Logic from './Logic__';
|
|
@@ -27,44 +29,7 @@ export class LogicItem extends BaseNode {
|
|
|
27
29
|
* 产品概念
|
|
28
30
|
*/
|
|
29
31
|
@property()
|
|
30
|
-
concept:
|
|
31
|
-
| 'LogicItem'
|
|
32
|
-
| 'Start'
|
|
33
|
-
| 'End'
|
|
34
|
-
| 'IfStatement'
|
|
35
|
-
| 'SwitchStatement'
|
|
36
|
-
| 'SwitchCase'
|
|
37
|
-
| 'ForEachStatement'
|
|
38
|
-
| 'WhileStatement'
|
|
39
|
-
| 'Assignment'
|
|
40
|
-
| 'Comment'
|
|
41
|
-
| 'CallLogic'
|
|
42
|
-
| 'CallFunction'
|
|
43
|
-
| 'CallInterface'
|
|
44
|
-
| 'Destination'
|
|
45
|
-
| 'ValidationRule'
|
|
46
|
-
| 'Argument'
|
|
47
|
-
| 'JSBlock'
|
|
48
|
-
| 'Identifier'
|
|
49
|
-
| 'NullLiteral'
|
|
50
|
-
| 'BooleanLiteral'
|
|
51
|
-
| 'StringLiteral'
|
|
52
|
-
| 'NumericLiteral'
|
|
53
|
-
| 'BinaryExpression'
|
|
54
|
-
| 'UnaryExpression'
|
|
55
|
-
| 'MemberExpression'
|
|
56
|
-
| 'Unparsed'
|
|
57
|
-
| 'CallQueryComponent'
|
|
58
|
-
| 'QueryFromExpression'
|
|
59
|
-
| 'QueryJoinExpression'
|
|
60
|
-
| 'QueryFieldExpression'
|
|
61
|
-
| 'QueryAggregateExpression'
|
|
62
|
-
| 'QueryOrderByExpression'
|
|
63
|
-
| 'QueryGroupByExpression'
|
|
64
|
-
| 'QuerySelectExpression'
|
|
65
|
-
| 'QueryLimitExpression'
|
|
66
|
-
| 'SqlQueryComponent'
|
|
67
|
-
| 'ProcessOutcome' = 'LogicItem';
|
|
32
|
+
concept: 'LogicItem' | 'Start' | 'End' | 'IfStatement' | 'SwitchStatement' | 'SwitchCase' | 'ForEachStatement' | 'WhileStatement' | 'Assignment' | 'Comment' | 'CallLogic' | 'CallFunction' | 'CallInterface' | 'Destination' | 'ValidationRule' | 'Argument' | 'JSBlock' | 'Identifier' | 'NullLiteral' | 'BooleanLiteral' | 'StringLiteral' | 'NumericLiteral' | 'BinaryExpression' | 'UnaryExpression' | 'MemberExpression' | 'Unparsed' | 'CallQueryComponent' | 'QueryFromExpression' | 'QueryJoinExpression' | 'QueryFieldExpression' | 'QueryAggregateExpression' | 'QueryOrderByExpression' | 'QueryGroupByExpression' | 'QuerySelectExpression' | 'QueryLimitExpression' | 'SqlQueryComponent' | 'ProcessOutcome' = 'LogicItem';
|
|
68
33
|
|
|
69
34
|
/**
|
|
70
35
|
* 逻辑项标题
|
|
@@ -193,6 +158,10 @@ export class LogicItem extends BaseNode {
|
|
|
193
158
|
});
|
|
194
159
|
}
|
|
195
160
|
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
196
165
|
//================================================================================
|
|
197
166
|
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
198
167
|
// 自动生成的代码已结束。下面可以手动编写。
|
|
@@ -220,7 +189,7 @@ export class LogicItem extends BaseNode {
|
|
|
220
189
|
return '[编译方法未实现]';
|
|
221
190
|
}
|
|
222
191
|
|
|
223
|
-
toVue(
|
|
192
|
+
toVue(options?: ElementToVueOptions) {
|
|
224
193
|
return '[编译方法未实现]';
|
|
225
194
|
}
|
|
226
195
|
|
|
@@ -261,7 +230,7 @@ export class LogicItem extends BaseNode {
|
|
|
261
230
|
//================================================================================
|
|
262
231
|
}
|
|
263
232
|
|
|
264
|
-
classMap
|
|
233
|
+
classMap['LogicItem'] = LogicItem;
|
|
265
234
|
export default LogicItem;
|
|
266
235
|
//================================================================================
|
|
267
236
|
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|