@lcap/nasl 3.3.2-beta.3 → 3.3.3-beta.1
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/.nyc_output/{d58d92d8-c0d6-479b-9f82-1f4da8e73ff3.json → 4f2d526f-9422-4abc-993d-0857e05a5009.json} +1 -1
- package/.nyc_output/processinfo/4f2d526f-9422-4abc-993d-0857e05a5009.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/coverage/index.html +108 -108
- package/coverage/src/automate/engine/index.html +1 -1
- package/coverage/src/automate/engine/utils.js.html +36 -36
- package/coverage/src/bak/index.html +15 -15
- package/coverage/src/bak/translator.js.html +183 -60
- package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +1 -1
- package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +1 -1
- package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +1 -1
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +1 -1
- package/coverage/src/breakpoint/generator/index.html +1 -1
- package/coverage/src/breakpoint/generator/index.ts.html +1 -1
- package/coverage/src/breakpoint/index.html +1 -1
- package/coverage/src/breakpoint/index.ts.html +1 -1
- package/coverage/src/breakpoint/shared/constants.ts.html +1 -1
- package/coverage/src/breakpoint/shared/index.html +1 -1
- package/coverage/src/breakpoint/shared/index.ts.html +1 -1
- package/coverage/src/breakpoint/shared/operations.ts.html +1 -1
- package/coverage/src/breakpoint/shared/socket.ts.html +1 -1
- package/coverage/src/breakpoint/shared/utils.ts.html +1 -1
- package/coverage/src/breakpoint/store/core.ts.html +1 -1
- package/coverage/src/breakpoint/store/dock.ts.html +1 -1
- package/coverage/src/breakpoint/store/index.html +1 -1
- package/coverage/src/breakpoint/store/index.ts.html +1 -1
- package/coverage/src/common/BaseNode.ts.html +92 -62
- package/coverage/src/common/Command.ts.html +1 -1
- package/coverage/src/common/EventEmitter.ts.html +1 -1
- package/coverage/src/common/Messager.ts.html +1 -1
- package/coverage/src/common/asyncFuncMap.ts.html +1 -1
- package/coverage/src/common/index.html +14 -14
- package/coverage/src/common/index.ts.html +1 -1
- package/coverage/src/concepts/Abort__.ts.html +9 -6
- package/coverage/src/concepts/Anchor__.ts.html +36 -21
- package/coverage/src/concepts/AnonymousFunction__.ts.html +62 -20
- package/coverage/src/concepts/App__.ts.html +917 -74
- package/coverage/src/concepts/Argument__.ts.html +41 -26
- package/coverage/src/concepts/Assignee__.ts.html +40 -13
- package/coverage/src/concepts/AssignmentLine__.ts.html +9 -6
- package/coverage/src/concepts/Assignment__.ts.html +61 -22
- package/coverage/src/concepts/Attribute__.ts.html +25 -10
- package/coverage/src/concepts/AuthInterface__.ts.html +9 -6
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +25 -10
- package/coverage/src/concepts/AuthLogic__.ts.html +18 -6
- package/coverage/src/concepts/BackendVariable__.ts.html +25 -10
- package/coverage/src/concepts/Backend__.ts.html +25 -10
- package/coverage/src/concepts/BatchAssignment__.ts.html +61 -16
- package/coverage/src/concepts/BinaryExpression__.ts.html +141 -39
- package/coverage/src/concepts/BindAttribute__.ts.html +134 -41
- package/coverage/src/concepts/BindDirective__.ts.html +79 -16
- package/coverage/src/concepts/BindEvent__.ts.html +80 -23
- package/coverage/src/concepts/BindStyle__.ts.html +25 -10
- package/coverage/src/concepts/BooleanLiteral__.ts.html +9 -6
- package/coverage/src/concepts/CallAuthInterface__.ts.html +25 -10
- package/coverage/src/concepts/CallConnector__.ts.html +9 -6
- package/coverage/src/concepts/CallFunction__.ts.html +56 -38
- package/coverage/src/concepts/CallInterface__.ts.html +81 -36
- package/coverage/src/concepts/CallLogic__.ts.html +195 -264
- package/coverage/src/concepts/CallQueryComponent__.ts.html +40 -13
- package/coverage/src/concepts/Comment__.ts.html +11 -8
- package/coverage/src/concepts/CompletionProperty__.ts.html +25 -10
- package/coverage/src/concepts/ConfigGroup__.ts.html +25 -10
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +9 -6
- package/coverage/src/concepts/ConfigProperty__.ts.html +25 -10
- package/coverage/src/concepts/Configuration__.ts.html +25 -10
- package/coverage/src/concepts/Connection__.ts.html +26 -11
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +9 -6
- package/coverage/src/concepts/Connector__.ts.html +85 -22
- package/coverage/src/concepts/Constant__.ts.html +25 -10
- package/coverage/src/concepts/DataSource__.ts.html +26 -11
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +9 -6
- package/coverage/src/concepts/Destination__.ts.html +24 -12
- package/coverage/src/concepts/End__.ts.html +9 -6
- package/coverage/src/concepts/EntityIndex__.ts.html +9 -6
- package/coverage/src/concepts/EntityProperty__.ts.html +62 -14
- package/coverage/src/concepts/Entity__.ts.html +41 -14
- package/coverage/src/concepts/EnumItem__.ts.html +9 -6
- package/coverage/src/concepts/Enum__.ts.html +25 -10
- package/coverage/src/concepts/Event__.ts.html +25 -10
- package/coverage/src/concepts/ExternalDestination__.ts.html +25 -10
- package/coverage/src/concepts/ForEachStatement__.ts.html +68 -47
- package/coverage/src/concepts/FrontendLibrary__.ts.html +40 -13
- package/coverage/src/concepts/FrontendVariable__.ts.html +1 -1
- package/coverage/src/concepts/Frontend__.ts.html +86 -23
- package/coverage/src/concepts/Function__.ts.html +92 -26
- package/coverage/src/concepts/Identifier__.ts.html +28 -25
- package/coverage/src/concepts/IfStatement__.ts.html +83 -56
- package/coverage/src/concepts/Integration__.ts.html +40 -13
- package/coverage/src/concepts/InterfaceParam__.ts.html +25 -10
- package/coverage/src/concepts/Interface__.ts.html +61 -22
- package/coverage/src/concepts/JSBlock__.ts.html +188 -8
- package/coverage/src/concepts/JavaLogic__.ts.html +9 -6
- package/coverage/src/concepts/LogicItem__.ts.html +15 -12
- package/coverage/src/concepts/Logic__.ts.html +117 -81
- package/coverage/src/concepts/MatchCase__.ts.html +100 -61
- package/coverage/src/concepts/Match__.ts.html +48 -27
- package/coverage/src/concepts/MemberExpression__.ts.html +72 -66
- package/coverage/src/concepts/MetadataType__.ts.html +1996 -0
- package/coverage/src/concepts/MicroApp__.ts.html +9 -6
- package/coverage/src/concepts/Module__.ts.html +672 -18
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +25 -10
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +25 -10
- package/coverage/src/concepts/Namespace__.ts.html +175 -40
- package/coverage/src/concepts/NewComposite__.ts.html +93 -27
- package/coverage/src/concepts/NewList__.ts.html +44 -14
- package/coverage/src/concepts/NewMap__.ts.html +44 -14
- package/coverage/src/concepts/New__.ts.html +1 -1
- package/coverage/src/concepts/NullLiteral__.ts.html +9 -6
- package/coverage/src/concepts/NumericLiteral__.ts.html +27 -12
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +103 -13
- package/coverage/src/concepts/OverriddenLogic__.ts.html +100 -25
- package/coverage/src/concepts/Param__.ts.html +24 -15
- package/coverage/src/concepts/Point__.ts.html +9 -6
- package/coverage/src/concepts/ProcessComponent__.ts.html +40 -13
- package/coverage/src/concepts/ProcessElement__.ts.html +128 -29
- package/coverage/src/concepts/ProcessOutcome__.ts.html +9 -6
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +9 -6
- package/coverage/src/concepts/Process__.ts.html +85 -22
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +25 -10
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +9 -6
- package/coverage/src/concepts/QueryFromExpression__.ts.html +25 -10
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +25 -10
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +25 -10
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +25 -10
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +25 -10
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +25 -10
- package/coverage/src/concepts/Rect__.ts.html +9 -6
- package/coverage/src/concepts/Return__.ts.html +25 -10
- package/coverage/src/concepts/Role__.ts.html +9 -6
- package/coverage/src/concepts/SelectMembers__.ts.html +25 -10
- package/coverage/src/concepts/Slot__.ts.html +25 -10
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +25 -10
- package/coverage/src/concepts/Start__.ts.html +9 -6
- package/coverage/src/concepts/StringInterpolation__.ts.html +40 -19
- package/coverage/src/concepts/StringLiteral__.ts.html +9 -6
- package/coverage/src/concepts/StructureProperty__.ts.html +25 -10
- package/coverage/src/concepts/Structure__.ts.html +40 -13
- package/coverage/src/concepts/SwitchCase__.ts.html +33 -18
- package/coverage/src/concepts/SwitchStatement__.ts.html +38 -23
- package/coverage/src/concepts/Theme__.ts.html +9 -6
- package/coverage/src/concepts/Transactional__.ts.html +9 -6
- package/coverage/src/concepts/TriggerEvent__.ts.html +25 -10
- package/coverage/src/concepts/TriggerLauncher__.ts.html +9 -6
- package/coverage/src/concepts/TypeAnnotation__.ts.html +223 -61
- package/coverage/src/concepts/TypeParam__.ts.html +10 -7
- package/coverage/src/concepts/UnaryExpression__.ts.html +40 -13
- package/coverage/src/concepts/Unparsed__.ts.html +11 -8
- package/coverage/src/concepts/UseComponent__.ts.html +9 -6
- package/coverage/src/concepts/ValidationRule__.ts.html +30 -15
- package/coverage/src/concepts/Variable__.ts.html +61 -16
- package/coverage/src/concepts/ViewBlock__.ts.html +9 -6
- package/coverage/src/concepts/ViewComponent__.ts.html +99 -24
- package/coverage/src/concepts/ViewElement__.ts.html +334 -181
- package/coverage/src/concepts/View__.ts.html +326 -71
- package/coverage/src/concepts/WhileStatement__.ts.html +78 -45
- package/coverage/src/concepts/basics/stdlib/index.html +1 -1
- package/coverage/src/concepts/basics/stdlib/index.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +1 -1
- package/coverage/src/concepts/basics/types/coreTypeList.ts.html +1 -1
- package/coverage/src/concepts/basics/types/index.html +1 -1
- package/coverage/src/concepts/basics/types/index.ts.html +1 -1
- package/coverage/src/concepts/index.html +823 -808
- package/coverage/src/concepts/index.ts.html +1 -1
- package/coverage/src/concepts/index__.ts.html +7 -4
- package/coverage/src/config.ts.html +1 -1
- package/coverage/src/decorators/index.html +1 -1
- package/coverage/src/decorators/index.ts.html +24 -24
- package/coverage/src/decorators/promise.ts.html +1 -1
- package/coverage/src/eventBus.ts.html +1 -1
- package/coverage/src/generator/compileComponent.ts.html +1 -1
- package/coverage/src/generator/genBundleFiles.ts.html +13 -19
- package/coverage/src/generator/genHash.ts.html +1 -1
- package/coverage/src/generator/genMetaData.ts.html +103 -16
- package/coverage/src/generator/genReleaseBody.ts.html +1 -1
- package/coverage/src/generator/icestark.ts.html +1 -1
- package/coverage/src/generator/index.html +15 -15
- package/coverage/src/generator/index.ts.html +1 -1
- package/coverage/src/generator/microApp.ts.html +1 -1
- package/coverage/src/generator/permission.ts.html +1 -1
- package/coverage/src/generator/qiankun.ts.html +1 -1
- package/coverage/src/generator/styleReplacer.ts.html +1 -1
- package/coverage/src/index.html +7 -7
- package/coverage/src/index.ts.html +4 -4
- package/coverage/src/manager/diagnostic.ts.html +1 -1
- package/coverage/src/manager/index.html +1 -1
- package/coverage/src/manager/stepRecorder.ts.html +1 -1
- package/coverage/src/natural/genNaturalTS.ts.html +1 -1
- package/coverage/src/natural/index.html +15 -15
- package/coverage/src/natural/index.ts.html +1 -1
- package/coverage/src/natural/naslStdlibMap.ts.html +1 -1
- package/coverage/src/natural/transformTSCode.ts.html +78 -18
- package/coverage/src/sentry/index.html +1 -1
- package/coverage/src/sentry/index.ts.html +21 -21
- package/coverage/src/server/createUiTs.ts.html +15 -6
- package/coverage/src/server/entity2LogicNamespace.ts.html +1 -1
- package/coverage/src/server/event.js.html +1 -1
- package/coverage/src/server/extendBaseNode.ts.html +7 -4
- package/coverage/src/server/formatTsUtils.ts.html +1 -1
- package/coverage/src/server/getConnector.ts.html +1 -1
- package/coverage/src/server/getExtensionModules.ts.html +1 -1
- package/coverage/src/server/getFunctions.ts.html +1 -1
- package/coverage/src/server/getInterfaces.ts.html +1 -1
- package/coverage/src/server/getLogging.ts.html +1 -1
- package/coverage/src/server/getLogics.ts.html +1 -1
- package/coverage/src/server/getMemberIdentifier.ts.html +161 -113
- package/coverage/src/server/getProcessComponents.ts.html +1 -1
- package/coverage/src/server/getProcesses.ts.html +1 -1
- package/coverage/src/server/getValidates.ts.html +1 -1
- package/coverage/src/server/index.html +25 -25
- package/coverage/src/server/index.ts.html +1 -1
- package/coverage/src/server/naslServer.ts.html +470 -59
- package/coverage/src/server/naslStdlibMap.ts.html +1 -1
- package/coverage/src/server/process2LogicNamespace.ts.html +1 -1
- package/coverage/src/server/translator.ts.html +3 -3
- package/coverage/src/service/creator/add.configs.js.html +26 -8
- package/coverage/src/service/creator/errHandles.js.html +19 -37
- package/coverage/src/service/creator/index.html +22 -22
- package/coverage/src/service/creator/index.js.html +1 -1
- package/coverage/src/service/datasource/api.js.html +1 -1
- package/coverage/src/service/datasource/index.html +1 -1
- package/coverage/src/service/datasource/index.js.html +1 -1
- package/coverage/src/service/logic/api.js.html +1 -1
- package/coverage/src/service/logic/index.html +1 -1
- package/coverage/src/service/logic/index.js.html +1 -1
- package/coverage/src/service/storage/api.js.html +1 -1
- package/coverage/src/service/storage/index.html +19 -19
- package/coverage/src/service/storage/index.ts.html +1 -1
- package/coverage/src/service/storage/init.ts.html +1498 -598
- package/coverage/src/service/storage/jsoner.ts.html +3 -3
- package/coverage/src/service/storage/map.ts.html +1 -1
- package/coverage/src/service/storage/service.ts.html +1 -1
- package/coverage/src/service/storage/storagePoint.ts.html +1 -1
- package/coverage/src/templator/genCallComponentLogic.ts.html +1 -1
- package/coverage/src/templator/genCreateBlock.ts.html +47 -56
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +49 -31
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +81 -93
- package/coverage/src/templator/genEditTableBlock.ts.html +80 -11
- package/coverage/src/templator/genEnumSelectBlock.ts.html +1 -1
- package/coverage/src/templator/genGetBlock.ts.html +1 -1
- package/coverage/src/templator/genGridViewBlock.ts.html +1 -1
- package/coverage/src/templator/genListViewBlock.ts.html +1 -1
- package/coverage/src/templator/genQueryComponent.ts.html +1 -1
- package/coverage/src/templator/genSelectBlock.ts.html +1 -1
- package/coverage/src/templator/genTableBlock.ts.html +66 -3
- package/coverage/src/templator/genUpdateBlock.ts.html +48 -36
- package/coverage/src/templator/index.html +39 -39
- package/coverage/src/templator/index.ts.html +1 -1
- package/coverage/src/templator/utils.ts.html +77 -11
- package/coverage/src/translator/constant.ts.html +1 -1
- package/coverage/src/translator/index.html +20 -20
- package/coverage/src/translator/index.ts.html +1 -1
- package/coverage/src/translator/utils.ts.html +87 -30
- package/coverage/src/utils/cookie.ts.html +1 -1
- package/coverage/src/utils/env.ts.html +1 -1
- package/coverage/src/utils/index.html +27 -27
- package/coverage/src/utils/index.ts.html +115 -22
- package/coverage/src/utils/logger.ts.html +1 -1
- package/coverage/src/utils/sortTsString.ts.html +1 -1
- package/coverage/src/utils/string.ts.html +110 -8
- package/coverage/src/utils/time-slicing.ts.html +1 -1
- package/coverage/src/utils/traverse.ts.html +1 -1
- package/coverage/src/utils/window.ts.html +1 -1
- package/package.json +7 -7
- package/sandbox/stdlib/nasl.core.ts +187 -185
- package/src/bak/translator.js +100 -47
- package/src/common/BaseNode.ts +64 -13
- package/src/concepts/Abort__.ts +1 -0
- package/src/concepts/Anchor__.ts +19 -14
- package/src/concepts/AnonymousFunction__.ts +26 -12
- package/src/concepts/App__.ts +359 -76
- package/src/concepts/Argument__.ts +8 -3
- package/src/concepts/Assignee__.ts +15 -6
- package/src/concepts/AssignmentLine__.ts +1 -0
- package/src/concepts/Assignment__.ts +27 -14
- package/src/concepts/Attribute__.ts +8 -3
- package/src/concepts/AuthInterface__.ts +1 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +8 -3
- package/src/concepts/AuthLogic__.ts +4 -0
- package/src/concepts/BackendVariable__.ts +30 -6
- package/src/concepts/Backend__.ts +8 -3
- package/src/concepts/BatchAssignment__.ts +28 -13
- package/src/concepts/BinaryExpression__.ts +56 -22
- package/src/concepts/BindAttribute__.ts +50 -18
- package/src/concepts/BindDirective__.ts +26 -5
- package/src/concepts/BindEvent__.ts +34 -15
- package/src/concepts/BindStyle__.ts +8 -3
- package/src/concepts/BooleanLiteral__.ts +1 -0
- package/src/concepts/CallAuthInterface__.ts +8 -3
- package/src/concepts/CallConnector__.ts +1 -0
- package/src/concepts/CallFunction__.ts +27 -24
- package/src/concepts/CallInterface__.ts +43 -28
- package/src/concepts/CallLogic__.ts +86 -108
- package/src/concepts/CallQueryComponent__.ts +15 -6
- package/src/concepts/Comment__.ts +2 -1
- package/src/concepts/CompletionProperty__.ts +8 -3
- package/src/concepts/ConfigGroup__.ts +8 -3
- package/src/concepts/ConfigPropertyValue__.ts +1 -0
- package/src/concepts/ConfigProperty__.ts +8 -3
- package/src/concepts/Configuration__.ts +8 -3
- package/src/concepts/Connection__.ts +9 -4
- package/src/concepts/ConnectorTrigger__.ts +1 -0
- package/src/concepts/Connector__.ts +36 -15
- package/src/concepts/Constant__.ts +8 -3
- package/src/concepts/DataSource__.ts +8 -3
- package/src/concepts/DatabaseTypeAnnotation__.ts +1 -0
- package/src/concepts/Destination__.ts +8 -4
- package/src/concepts/End__.ts +1 -0
- package/src/concepts/EntityIndex__.ts +1 -0
- package/src/concepts/EntityProperty__.ts +23 -7
- package/src/concepts/Entity__.ts +15 -6
- package/src/concepts/EnumItem__.ts +1 -0
- package/src/concepts/Enum__.ts +8 -3
- package/src/concepts/Event__.ts +8 -3
- package/src/concepts/ExternalDestination__.ts +8 -3
- package/src/concepts/ForEachStatement__.ts +43 -36
- package/src/concepts/FrontendLibrary__.ts +15 -6
- package/src/concepts/Frontend__.ts +36 -15
- package/src/concepts/Function__.ts +40 -18
- package/src/concepts/Identifier__.ts +1 -0
- package/src/concepts/IfStatement__.ts +29 -20
- package/src/concepts/Integration__.ts +15 -6
- package/src/concepts/InterfaceParam__.ts +8 -3
- package/src/concepts/Interface__.ts +28 -15
- package/src/concepts/JSBlock__.ts +60 -0
- package/src/concepts/JavaLogic__.ts +1 -0
- package/src/concepts/LogicItem__.ts +5 -4
- package/src/concepts/Logic__.ts +70 -58
- package/src/concepts/MatchCase__.ts +42 -29
- package/src/concepts/Match__.ts +23 -16
- package/src/concepts/MemberExpression__.ts +26 -21
- package/src/concepts/MetadataType__.ts +637 -0
- package/src/concepts/MicroApp__.ts +1 -0
- package/src/concepts/Module__.ts +227 -9
- package/src/concepts/MsgTriggerEvent__.ts +8 -3
- package/src/concepts/MsgTriggerLauncher__.ts +8 -3
- package/src/concepts/Namespace__.ts +78 -33
- package/src/concepts/NewComposite__.ts +41 -19
- package/src/concepts/NewList__.ts +17 -7
- package/src/concepts/NewMap__.ts +17 -7
- package/src/concepts/NullLiteral__.ts +1 -0
- package/src/concepts/NumericLiteral__.ts +9 -4
- package/src/concepts/OqlQueryComponent__.ts +35 -5
- package/src/concepts/OverriddenLogic__.ts +44 -19
- package/src/concepts/Param__.ts +38 -15
- package/src/concepts/Point__.ts +1 -0
- package/src/concepts/ProcessComponent__.ts +15 -6
- package/src/concepts/ProcessElement__.ts +57 -24
- package/src/concepts/ProcessOutcome__.ts +1 -0
- package/src/concepts/ProcessOutcomes__.ts +1 -0
- package/src/concepts/Process__.ts +36 -15
- package/src/concepts/QueryAggregateExpression__.ts +8 -3
- package/src/concepts/QueryFieldExpression__.ts +1 -0
- package/src/concepts/QueryFromExpression__.ts +8 -3
- package/src/concepts/QueryGroupByExpression__.ts +8 -3
- package/src/concepts/QueryJoinExpression__.ts +8 -3
- package/src/concepts/QueryLimitExpression__.ts +8 -3
- package/src/concepts/QueryOrderByExpression__.ts +8 -3
- package/src/concepts/QuerySelectExpression__.ts +8 -3
- package/src/concepts/Rect__.ts +1 -0
- package/src/concepts/Return__.ts +31 -6
- package/src/concepts/Role__.ts +1 -0
- package/src/concepts/SelectMembers__.ts +8 -3
- package/src/concepts/Slot__.ts +8 -3
- package/src/concepts/SqlQueryComponent__.ts +8 -3
- package/src/concepts/Start__.ts +1 -0
- package/src/concepts/StringInterpolation__.ts +14 -7
- package/src/concepts/StringLiteral__.ts +1 -0
- package/src/concepts/StructureProperty__.ts +8 -3
- package/src/concepts/Structure__.ts +15 -6
- package/src/concepts/SwitchCase__.ts +14 -9
- package/src/concepts/SwitchStatement__.ts +21 -16
- package/src/concepts/Theme__.ts +1 -0
- package/src/concepts/Transactional__.ts +1 -0
- package/src/concepts/TriggerEvent__.ts +8 -3
- package/src/concepts/TriggerLauncher__.ts +1 -0
- package/src/concepts/TypeAnnotation__.ts +82 -28
- package/src/concepts/TypeParam__.ts +2 -1
- package/src/concepts/UnaryExpression__.ts +15 -6
- package/src/concepts/Unparsed__.ts +2 -1
- package/src/concepts/UseComponent__.ts +1 -0
- package/src/concepts/ValidationRule__.ts +10 -5
- package/src/concepts/Variable__.ts +32 -8
- package/src/concepts/ViewBlock__.ts +1 -0
- package/src/concepts/ViewComponent__.ts +43 -18
- package/src/concepts/ViewElement__.ts +198 -124
- package/src/concepts/View__.ts +150 -56
- package/src/concepts/WhileStatement__.ts +26 -15
- package/src/concepts/basics/stdlib/nasl.util.ts +2 -2
- package/src/concepts/index__.ts +1 -0
- package/src/concepts/types__.ts +2 -0
- package/src/generator/genBundleFiles.ts +11 -13
- package/src/generator/genMetaData.ts +37 -8
- package/src/generator/permission.ts +33 -9
- package/src/index.ts +1 -1
- package/src/natural/transformTSCode.ts +22 -3
- package/src/sentry/index.ts +3 -1
- package/src/server/extendBaseNode.ts +2 -1
- package/src/server/getMemberIdentifier.ts +122 -121
- package/src/server/naslServer.ts +141 -5
- package/src/server/translator.ts +2 -2
- package/src/service/creator/add.configs.js +6 -0
- package/src/service/storage/init.ts +317 -11
- package/src/templator/genCreateBlock.ts +35 -38
- package/src/templator/genCurdEditMultipleKeyBlock.ts +31 -25
- package/src/templator/genCurdMultipleKeyBlock.ts +67 -71
- package/src/templator/genEditTableBlock.ts +7 -6
- package/src/templator/genUpdateBlock.ts +30 -26
- package/src/templator/utils.ts +23 -1
- package/src/translator/utils.ts +20 -0
- package/src/utils/index.ts +31 -0
- package/src/utils/string.ts +34 -0
- package/test/concepts/call-interface/__snapshots__/toJS.spec.ts.snap +2 -2
- package/test/concepts/call-logic/__snapshots__/toJS.spec.ts.snap +3 -3
- package/test/concepts/match/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toVue.spec.ts.snap +1 -1
- package/test/concepts/numeric-literal/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/validation-rule/__snapshots__/toJS.spec.ts.snap +3 -3
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +5 -22
- package/.nyc_output/processinfo/d58d92d8-c0d6-479b-9f82-1f4da8e73ff3.json +0 -1
- package/out/automate/engine/index.d.ts +0 -4
- package/out/automate/engine/index.js +0 -443
- package/out/automate/engine/index.js.map +0 -1
- package/out/automate/engine/operators.d.ts +0 -24
- package/out/automate/engine/operators.js +0 -252
- package/out/automate/engine/operators.js.map +0 -1
- package/out/automate/engine/uniqueName.d.ts +0 -12
- package/out/automate/engine/uniqueName.js +0 -112
- package/out/automate/engine/uniqueName.js.map +0 -1
- package/out/automate/engine/utils.d.ts +0 -25
- package/out/automate/engine/utils.js +0 -444
- package/out/automate/engine/utils.js.map +0 -1
- package/out/automate/engine/viewCache.d.ts +0 -19
- package/out/automate/engine/viewCache.js +0 -45
- package/out/automate/engine/viewCache.js.map +0 -1
- package/out/automate/template/myProcess.d.ts +0 -10
- package/out/automate/template/myProcess.js +0 -11498
- package/out/automate/template/myProcess.js.map +0 -1
- package/out/automate/upgrader/2.12.d.ts +0 -7
- package/out/automate/upgrader/2.12.js +0 -63
- package/out/automate/upgrader/2.12.js.map +0 -1
- package/out/automate/upgrader/2.14-components.d.ts +0 -1115
- package/out/automate/upgrader/2.14-components.js +0 -1087
- package/out/automate/upgrader/2.14-components.js.map +0 -1
- package/out/automate/upgrader/2.14.d.ts +0 -10
- package/out/automate/upgrader/2.14.js +0 -236
- package/out/automate/upgrader/2.14.js.map +0 -1
- package/out/automate/upgrader/2.14.old.d.ts +0 -1
- package/out/automate/upgrader/2.14.old.js +0 -125
- package/out/automate/upgrader/2.14.old.js.map +0 -1
- package/out/automate/upgrader/2.16.d.ts +0 -10
- package/out/automate/upgrader/2.16.js +0 -75
- package/out/automate/upgrader/2.16.js.map +0 -1
- package/out/automate/upgrader/2.17.d.ts +0 -21
- package/out/automate/upgrader/2.17.js +0 -557
- package/out/automate/upgrader/2.17.js.map +0 -1
- package/out/automate/upgrader/2.18.d.ts +0 -10
- package/out/automate/upgrader/2.18.js +0 -107
- package/out/automate/upgrader/2.18.js.map +0 -1
- package/out/automate/upgrader/2.20.d.ts +0 -17
- package/out/automate/upgrader/2.20.js +0 -68
- package/out/automate/upgrader/2.20.js.map +0 -1
- package/out/bak/translator.d.ts +0 -1
- package/out/bak/translator.js +0 -167
- package/out/bak/translator.js.map +0 -1
- package/out/breakpoint/generator/AfterStartNode.d.ts +0 -7
- package/out/breakpoint/generator/AfterStartNode.js +0 -30
- package/out/breakpoint/generator/AfterStartNode.js.map +0 -1
- package/out/breakpoint/generator/BeforeEndNode.d.ts +0 -7
- package/out/breakpoint/generator/BeforeEndNode.js +0 -28
- package/out/breakpoint/generator/BeforeEndNode.js.map +0 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +0 -15
- package/out/breakpoint/generator/BreakpointNode.js +0 -284
- package/out/breakpoint/generator/BreakpointNode.js.map +0 -1
- package/out/breakpoint/generator/CallbackNode.d.ts +0 -4
- package/out/breakpoint/generator/CallbackNode.js +0 -22
- package/out/breakpoint/generator/CallbackNode.js.map +0 -1
- package/out/breakpoint/generator/FragmentNode.d.ts +0 -4
- package/out/breakpoint/generator/FragmentNode.js +0 -18
- package/out/breakpoint/generator/FragmentNode.js.map +0 -1
- package/out/breakpoint/generator/index.d.ts +0 -4
- package/out/breakpoint/generator/index.js +0 -119
- package/out/breakpoint/generator/index.js.map +0 -1
- package/out/breakpoint/index.d.ts +0 -3
- package/out/breakpoint/index.js +0 -20
- package/out/breakpoint/index.js.map +0 -1
- package/out/breakpoint/shared/constants.d.ts +0 -37
- package/out/breakpoint/shared/constants.js +0 -106
- package/out/breakpoint/shared/constants.js.map +0 -1
- package/out/breakpoint/shared/index.d.ts +0 -3
- package/out/breakpoint/shared/index.js +0 -33
- package/out/breakpoint/shared/index.js.map +0 -1
- package/out/breakpoint/shared/operations.d.ts +0 -10
- package/out/breakpoint/shared/operations.js +0 -25
- package/out/breakpoint/shared/operations.js.map +0 -1
- package/out/breakpoint/shared/socket.d.ts +0 -48
- package/out/breakpoint/shared/socket.js +0 -257
- package/out/breakpoint/shared/socket.js.map +0 -1
- package/out/breakpoint/shared/utils.d.ts +0 -27
- package/out/breakpoint/shared/utils.js +0 -229
- package/out/breakpoint/shared/utils.js.map +0 -1
- package/out/breakpoint/store/core.d.ts +0 -80
- package/out/breakpoint/store/core.js +0 -416
- package/out/breakpoint/store/core.js.map +0 -1
- package/out/breakpoint/store/dock.d.ts +0 -1
- package/out/breakpoint/store/dock.js +0 -160
- package/out/breakpoint/store/dock.js.map +0 -1
- package/out/breakpoint/store/index.d.ts +0 -2
- package/out/breakpoint/store/index.js +0 -19
- package/out/breakpoint/store/index.js.map +0 -1
- package/out/common/BaseNode.d.ts +0 -330
- package/out/common/BaseNode.js +0 -1260
- package/out/common/BaseNode.js.map +0 -1
- package/out/common/Command.d.ts +0 -21
- package/out/common/Command.js +0 -79
- package/out/common/Command.js.map +0 -1
- package/out/common/ComponentAPI.d.ts +0 -110
- package/out/common/ComponentAPI.js +0 -3
- package/out/common/ComponentAPI.js.map +0 -1
- package/out/common/EventEmitter.d.ts +0 -59
- package/out/common/EventEmitter.js +0 -69
- package/out/common/EventEmitter.js.map +0 -1
- package/out/common/Messager.d.ts +0 -91
- package/out/common/Messager.js +0 -207
- package/out/common/Messager.js.map +0 -1
- package/out/common/asyncFuncMap.d.ts +0 -2
- package/out/common/asyncFuncMap.js +0 -16
- package/out/common/asyncFuncMap.js.map +0 -1
- package/out/common/index.d.ts +0 -3
- package/out/common/index.js +0 -20
- package/out/common/index.js.map +0 -1
- package/out/concepts/Abort__.d.ts +0 -26
- package/out/concepts/Abort__.js +0 -80
- package/out/concepts/Abort__.js.map +0 -1
- package/out/concepts/Anchor__.d.ts +0 -46
- package/out/concepts/Anchor__.js +0 -198
- package/out/concepts/Anchor__.js.map +0 -1
- package/out/concepts/AnonymousFunction__.d.ts +0 -173
- package/out/concepts/AnonymousFunction__.js +0 -519
- package/out/concepts/AnonymousFunction__.js.map +0 -1
- package/out/concepts/App__.d.ts +0 -1687
- package/out/concepts/App__.js +0 -2529
- package/out/concepts/App__.js.map +0 -1
- package/out/concepts/Argument__.d.ts +0 -67
- package/out/concepts/Argument__.js +0 -302
- package/out/concepts/Argument__.js.map +0 -1
- package/out/concepts/Assignee__.d.ts +0 -289
- package/out/concepts/Assignee__.js +0 -425
- package/out/concepts/Assignee__.js.map +0 -1
- package/out/concepts/AssignmentLine__.d.ts +0 -42
- package/out/concepts/AssignmentLine__.js +0 -111
- package/out/concepts/AssignmentLine__.js.map +0 -1
- package/out/concepts/Assignment__.d.ts +0 -75
- package/out/concepts/Assignment__.js +0 -310
- package/out/concepts/Assignment__.js.map +0 -1
- package/out/concepts/Attribute__.d.ts +0 -98
- package/out/concepts/Attribute__.js +0 -206
- package/out/concepts/Attribute__.js.map +0 -1
- package/out/concepts/AuthInterface__.d.ts +0 -36
- package/out/concepts/AuthInterface__.js +0 -83
- package/out/concepts/AuthInterface__.js.map +0 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +0 -139
- package/out/concepts/AuthLogicForCallInterface__.js +0 -523
- package/out/concepts/AuthLogicForCallInterface__.js.map +0 -1
- package/out/concepts/AuthLogic__.d.ts +0 -67
- package/out/concepts/AuthLogic__.js +0 -219
- package/out/concepts/AuthLogic__.js.map +0 -1
- package/out/concepts/BackendVariable__.d.ts +0 -138
- package/out/concepts/BackendVariable__.js +0 -424
- package/out/concepts/BackendVariable__.js.map +0 -1
- package/out/concepts/Backend__.d.ts +0 -135
- package/out/concepts/Backend__.js +0 -275
- package/out/concepts/Backend__.js.map +0 -1
- package/out/concepts/BatchAssignment__.d.ts +0 -253
- package/out/concepts/BatchAssignment__.js +0 -856
- package/out/concepts/BatchAssignment__.js.map +0 -1
- package/out/concepts/BinaryExpression__.d.ts +0 -72
- package/out/concepts/BinaryExpression__.js +0 -386
- package/out/concepts/BinaryExpression__.js.map +0 -1
- package/out/concepts/BindAttribute__.d.ts +0 -324
- package/out/concepts/BindAttribute__.js +0 -1046
- package/out/concepts/BindAttribute__.js.map +0 -1
- package/out/concepts/BindDirective__.d.ts +0 -163
- package/out/concepts/BindDirective__.js +0 -540
- package/out/concepts/BindDirective__.js.map +0 -1
- package/out/concepts/BindEvent__.d.ts +0 -253
- package/out/concepts/BindEvent__.js +0 -922
- package/out/concepts/BindEvent__.js.map +0 -1
- package/out/concepts/BindStyle__.d.ts +0 -140
- package/out/concepts/BindStyle__.js +0 -433
- package/out/concepts/BindStyle__.js.map +0 -1
- package/out/concepts/BooleanLiteral__.d.ts +0 -36
- package/out/concepts/BooleanLiteral__.js +0 -106
- package/out/concepts/BooleanLiteral__.js.map +0 -1
- package/out/concepts/CallAuthInterface__.d.ts +0 -126
- package/out/concepts/CallAuthInterface__.js +0 -405
- package/out/concepts/CallAuthInterface__.js.map +0 -1
- package/out/concepts/CallConnector__.d.ts +0 -47
- package/out/concepts/CallConnector__.js +0 -264
- package/out/concepts/CallConnector__.js.map +0 -1
- package/out/concepts/CallFunction__.d.ts +0 -159
- package/out/concepts/CallFunction__.js +0 -549
- package/out/concepts/CallFunction__.js.map +0 -1
- package/out/concepts/CallInterface__.d.ts +0 -130
- package/out/concepts/CallInterface__.js +0 -790
- package/out/concepts/CallInterface__.js.map +0 -1
- package/out/concepts/CallLogic__.d.ts +0 -231
- package/out/concepts/CallLogic__.js +0 -1366
- package/out/concepts/CallLogic__.js.map +0 -1
- package/out/concepts/CallQueryComponent__.d.ts +0 -433
- package/out/concepts/CallQueryComponent__.js +0 -1283
- package/out/concepts/CallQueryComponent__.js.map +0 -1
- package/out/concepts/Comment__.d.ts +0 -33
- package/out/concepts/Comment__.js +0 -102
- package/out/concepts/Comment__.js.map +0 -1
- package/out/concepts/CompletionProperty__.d.ts +0 -105
- package/out/concepts/CompletionProperty__.js +0 -269
- package/out/concepts/CompletionProperty__.js.map +0 -1
- package/out/concepts/ConfigGroup__.d.ts +0 -125
- package/out/concepts/ConfigGroup__.js +0 -254
- package/out/concepts/ConfigGroup__.js.map +0 -1
- package/out/concepts/ConfigPropertyValue__.d.ts +0 -45
- package/out/concepts/ConfigPropertyValue__.js +0 -107
- package/out/concepts/ConfigPropertyValue__.js.map +0 -1
- package/out/concepts/ConfigProperty__.d.ts +0 -154
- package/out/concepts/ConfigProperty__.js +0 -325
- package/out/concepts/ConfigProperty__.js.map +0 -1
- package/out/concepts/Configuration__.d.ts +0 -124
- package/out/concepts/Configuration__.js +0 -227
- package/out/concepts/Configuration__.js.map +0 -1
- package/out/concepts/Connection__.d.ts +0 -166
- package/out/concepts/Connection__.js +0 -335
- package/out/concepts/Connection__.js.map +0 -1
- package/out/concepts/ConnectorTrigger__.d.ts +0 -79
- package/out/concepts/ConnectorTrigger__.js +0 -157
- package/out/concepts/ConnectorTrigger__.js.map +0 -1
- package/out/concepts/Connector__.d.ts +0 -570
- package/out/concepts/Connector__.js +0 -856
- package/out/concepts/Connector__.js.map +0 -1
- package/out/concepts/Constant__.d.ts +0 -111
- package/out/concepts/Constant__.js +0 -255
- package/out/concepts/Constant__.js.map +0 -1
- package/out/concepts/DataSource__.d.ts +0 -169
- package/out/concepts/DataSource__.js +0 -465
- package/out/concepts/DataSource__.js.map +0 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +0 -32
- package/out/concepts/DatabaseTypeAnnotation__.js +0 -79
- package/out/concepts/DatabaseTypeAnnotation__.js.map +0 -1
- package/out/concepts/Destination__.d.ts +0 -158
- package/out/concepts/Destination__.js +0 -796
- package/out/concepts/Destination__.js.map +0 -1
- package/out/concepts/End__.d.ts +0 -25
- package/out/concepts/End__.js +0 -114
- package/out/concepts/End__.js.map +0 -1
- package/out/concepts/EntityIndex__.d.ts +0 -96
- package/out/concepts/EntityIndex__.js +0 -221
- package/out/concepts/EntityIndex__.js.map +0 -1
- package/out/concepts/EntityProperty__.d.ts +0 -275
- package/out/concepts/EntityProperty__.js +0 -819
- package/out/concepts/EntityProperty__.js.map +0 -1
- package/out/concepts/Entity__.d.ts +0 -340
- package/out/concepts/Entity__.js +0 -738
- package/out/concepts/Entity__.js.map +0 -1
- package/out/concepts/EnumItem__.d.ts +0 -65
- package/out/concepts/EnumItem__.js +0 -152
- package/out/concepts/EnumItem__.js.map +0 -1
- package/out/concepts/Enum__.d.ts +0 -139
- package/out/concepts/Enum__.js +0 -334
- package/out/concepts/Enum__.js.map +0 -1
- package/out/concepts/Event__.d.ts +0 -144
- package/out/concepts/Event__.js +0 -249
- package/out/concepts/Event__.js.map +0 -1
- package/out/concepts/ExternalDestination__.d.ts +0 -76
- package/out/concepts/ExternalDestination__.js +0 -286
- package/out/concepts/ExternalDestination__.js.map +0 -1
- package/out/concepts/ForEachStatement__.d.ts +0 -171
- package/out/concepts/ForEachStatement__.js +0 -508
- package/out/concepts/ForEachStatement__.js.map +0 -1
- package/out/concepts/FrontendLibrary__.d.ts +0 -214
- package/out/concepts/FrontendLibrary__.js +0 -353
- package/out/concepts/FrontendLibrary__.js.map +0 -1
- package/out/concepts/FrontendVariable__.d.ts +0 -22
- package/out/concepts/FrontendVariable__.js +0 -65
- package/out/concepts/FrontendVariable__.js.map +0 -1
- package/out/concepts/Frontend__.d.ts +0 -478
- package/out/concepts/Frontend__.js +0 -845
- package/out/concepts/Frontend__.js.map +0 -1
- package/out/concepts/Function__.d.ts +0 -418
- package/out/concepts/Function__.js +0 -757
- package/out/concepts/Function__.js.map +0 -1
- package/out/concepts/Identifier__.d.ts +0 -52
- package/out/concepts/Identifier__.js +0 -302
- package/out/concepts/Identifier__.js.map +0 -1
- package/out/concepts/IfStatement__.d.ts +0 -159
- package/out/concepts/IfStatement__.js +0 -333
- package/out/concepts/IfStatement__.js.map +0 -1
- package/out/concepts/Integration__.d.ts +0 -144
- package/out/concepts/Integration__.js +0 -282
- package/out/concepts/Integration__.js.map +0 -1
- package/out/concepts/InterfaceParam__.d.ts +0 -136
- package/out/concepts/InterfaceParam__.js +0 -296
- package/out/concepts/InterfaceParam__.js.map +0 -1
- package/out/concepts/Interface__.d.ts +0 -331
- package/out/concepts/Interface__.js +0 -881
- package/out/concepts/Interface__.js.map +0 -1
- package/out/concepts/JSBlock__.d.ts +0 -35
- package/out/concepts/JSBlock__.js +0 -112
- package/out/concepts/JSBlock__.js.map +0 -1
- package/out/concepts/JavaLogic__.d.ts +0 -43
- package/out/concepts/JavaLogic__.js +0 -124
- package/out/concepts/JavaLogic__.js.map +0 -1
- package/out/concepts/LogicItem__.d.ts +0 -152
- package/out/concepts/LogicItem__.js +0 -286
- package/out/concepts/LogicItem__.js.map +0 -1
- package/out/concepts/Logic__.d.ts +0 -644
- package/out/concepts/Logic__.js +0 -1819
- package/out/concepts/Logic__.js.map +0 -1
- package/out/concepts/MatchCase__.d.ts +0 -259
- package/out/concepts/MatchCase__.js +0 -683
- package/out/concepts/MatchCase__.js.map +0 -1
- package/out/concepts/Match__.d.ts +0 -125
- package/out/concepts/Match__.js +0 -683
- package/out/concepts/Match__.js.map +0 -1
- package/out/concepts/MemberExpression__.d.ts +0 -75
- package/out/concepts/MemberExpression__.js +0 -484
- package/out/concepts/MemberExpression__.js.map +0 -1
- package/out/concepts/MicroApp__.d.ts +0 -52
- package/out/concepts/MicroApp__.js +0 -119
- package/out/concepts/MicroApp__.js.map +0 -1
- package/out/concepts/Module__.d.ts +0 -1236
- package/out/concepts/Module__.js +0 -1692
- package/out/concepts/Module__.js.map +0 -1
- package/out/concepts/MsgTriggerEvent__.d.ts +0 -138
- package/out/concepts/MsgTriggerEvent__.js +0 -227
- package/out/concepts/MsgTriggerEvent__.js.map +0 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +0 -127
- package/out/concepts/MsgTriggerLauncher__.js +0 -222
- package/out/concepts/MsgTriggerLauncher__.js.map +0 -1
- package/out/concepts/Namespace__.d.ts +0 -1070
- package/out/concepts/Namespace__.js +0 -1394
- package/out/concepts/Namespace__.js.map +0 -1
- package/out/concepts/NewComposite__.d.ts +0 -349
- package/out/concepts/NewComposite__.js +0 -1221
- package/out/concepts/NewComposite__.js.map +0 -1
- package/out/concepts/NewList__.d.ts +0 -136
- package/out/concepts/NewList__.js +0 -423
- package/out/concepts/NewList__.js.map +0 -1
- package/out/concepts/NewMap__.d.ts +0 -226
- package/out/concepts/NewMap__.js +0 -550
- package/out/concepts/NewMap__.js.map +0 -1
- package/out/concepts/New__.d.ts +0 -21
- package/out/concepts/New__.js +0 -70
- package/out/concepts/New__.js.map +0 -1
- package/out/concepts/NullLiteral__.d.ts +0 -27
- package/out/concepts/NullLiteral__.js +0 -81
- package/out/concepts/NullLiteral__.js.map +0 -1
- package/out/concepts/NumericLiteral__.d.ts +0 -57
- package/out/concepts/NumericLiteral__.js +0 -180
- package/out/concepts/NumericLiteral__.js.map +0 -1
- package/out/concepts/OqlQueryComponent__.d.ts +0 -74
- package/out/concepts/OqlQueryComponent__.js +0 -335
- package/out/concepts/OqlQueryComponent__.js.map +0 -1
- package/out/concepts/OverriddenLogic__.d.ts +0 -635
- package/out/concepts/OverriddenLogic__.js +0 -1634
- package/out/concepts/OverriddenLogic__.js.map +0 -1
- package/out/concepts/Param__.d.ts +0 -173
- package/out/concepts/Param__.js +0 -489
- package/out/concepts/Param__.js.map +0 -1
- package/out/concepts/Point__.d.ts +0 -32
- package/out/concepts/Point__.js +0 -79
- package/out/concepts/Point__.js.map +0 -1
- package/out/concepts/ProcessComponent__.d.ts +0 -220
- package/out/concepts/ProcessComponent__.js +0 -339
- package/out/concepts/ProcessComponent__.js.map +0 -1
- package/out/concepts/ProcessElement__.d.ts +0 -647
- package/out/concepts/ProcessElement__.js +0 -1227
- package/out/concepts/ProcessElement__.js.map +0 -1
- package/out/concepts/ProcessOutcome__.d.ts +0 -32
- package/out/concepts/ProcessOutcome__.js +0 -90
- package/out/concepts/ProcessOutcome__.js.map +0 -1
- package/out/concepts/ProcessOutcomes__.d.ts +0 -32
- package/out/concepts/ProcessOutcomes__.js +0 -89
- package/out/concepts/ProcessOutcomes__.js.map +0 -1
- package/out/concepts/Process__.d.ts +0 -614
- package/out/concepts/Process__.js +0 -1037
- package/out/concepts/Process__.js.map +0 -1
- package/out/concepts/QueryAggregateExpression__.d.ts +0 -52
- package/out/concepts/QueryAggregateExpression__.js +0 -149
- package/out/concepts/QueryAggregateExpression__.js.map +0 -1
- package/out/concepts/QueryFieldExpression__.d.ts +0 -54
- package/out/concepts/QueryFieldExpression__.js +0 -160
- package/out/concepts/QueryFieldExpression__.js.map +0 -1
- package/out/concepts/QueryFromExpression__.d.ts +0 -99
- package/out/concepts/QueryFromExpression__.js +0 -208
- package/out/concepts/QueryFromExpression__.js.map +0 -1
- package/out/concepts/QueryGroupByExpression__.d.ts +0 -47
- package/out/concepts/QueryGroupByExpression__.js +0 -140
- package/out/concepts/QueryGroupByExpression__.js.map +0 -1
- package/out/concepts/QueryJoinExpression__.d.ts +0 -186
- package/out/concepts/QueryJoinExpression__.js +0 -331
- package/out/concepts/QueryJoinExpression__.js.map +0 -1
- package/out/concepts/QueryLimitExpression__.d.ts +0 -58
- package/out/concepts/QueryLimitExpression__.js +0 -160
- package/out/concepts/QueryLimitExpression__.js.map +0 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +0 -69
- package/out/concepts/QueryOrderByExpression__.js +0 -173
- package/out/concepts/QueryOrderByExpression__.js.map +0 -1
- package/out/concepts/QuerySelectExpression__.d.ts +0 -204
- package/out/concepts/QuerySelectExpression__.js +0 -299
- package/out/concepts/QuerySelectExpression__.js.map +0 -1
- package/out/concepts/Rect__.d.ts +0 -40
- package/out/concepts/Rect__.js +0 -95
- package/out/concepts/Rect__.js.map +0 -1
- package/out/concepts/Return__.d.ts +0 -135
- package/out/concepts/Return__.js +0 -370
- package/out/concepts/Return__.js.map +0 -1
- package/out/concepts/Role__.d.ts +0 -63
- package/out/concepts/Role__.js +0 -169
- package/out/concepts/Role__.js.map +0 -1
- package/out/concepts/SelectMembers__.d.ts +0 -143
- package/out/concepts/SelectMembers__.js +0 -293
- package/out/concepts/SelectMembers__.js.map +0 -1
- package/out/concepts/Slot__.d.ts +0 -75
- package/out/concepts/Slot__.js +0 -165
- package/out/concepts/Slot__.js.map +0 -1
- package/out/concepts/SqlQueryComponent__.d.ts +0 -72
- package/out/concepts/SqlQueryComponent__.js +0 -281
- package/out/concepts/SqlQueryComponent__.js.map +0 -1
- package/out/concepts/Start__.d.ts +0 -25
- package/out/concepts/Start__.js +0 -73
- package/out/concepts/Start__.js.map +0 -1
- package/out/concepts/StringInterpolation__.d.ts +0 -116
- package/out/concepts/StringInterpolation__.js +0 -263
- package/out/concepts/StringInterpolation__.js.map +0 -1
- package/out/concepts/StringLiteral__.d.ts +0 -39
- package/out/concepts/StringLiteral__.js +0 -138
- package/out/concepts/StringLiteral__.js.map +0 -1
- package/out/concepts/StructureProperty__.d.ts +0 -136
- package/out/concepts/StructureProperty__.js +0 -320
- package/out/concepts/StructureProperty__.js.map +0 -1
- package/out/concepts/Structure__.d.ts +0 -248
- package/out/concepts/Structure__.js +0 -475
- package/out/concepts/Structure__.js.map +0 -1
- package/out/concepts/SwitchCase__.d.ts +0 -95
- package/out/concepts/SwitchCase__.js +0 -273
- package/out/concepts/SwitchCase__.js.map +0 -1
- package/out/concepts/SwitchStatement__.d.ts +0 -85
- package/out/concepts/SwitchStatement__.js +0 -200
- package/out/concepts/SwitchStatement__.js.map +0 -1
- package/out/concepts/Theme__.d.ts +0 -38
- package/out/concepts/Theme__.js +0 -88
- package/out/concepts/Theme__.js.map +0 -1
- package/out/concepts/Transactional__.d.ts +0 -88
- package/out/concepts/Transactional__.js +0 -168
- package/out/concepts/Transactional__.js.map +0 -1
- package/out/concepts/TriggerEvent__.d.ts +0 -121
- package/out/concepts/TriggerEvent__.js +0 -224
- package/out/concepts/TriggerEvent__.js.map +0 -1
- package/out/concepts/TriggerLauncher__.d.ts +0 -82
- package/out/concepts/TriggerLauncher__.js +0 -220
- package/out/concepts/TriggerLauncher__.js.map +0 -1
- package/out/concepts/TypeAnnotation__.d.ts +0 -299
- package/out/concepts/TypeAnnotation__.js +0 -995
- package/out/concepts/TypeAnnotation__.js.map +0 -1
- package/out/concepts/TypeParam__.d.ts +0 -26
- package/out/concepts/TypeParam__.js +0 -79
- package/out/concepts/TypeParam__.js.map +0 -1
- package/out/concepts/UnaryExpression__.d.ts +0 -50
- package/out/concepts/UnaryExpression__.js +0 -186
- package/out/concepts/UnaryExpression__.js.map +0 -1
- package/out/concepts/Unparsed__.d.ts +0 -33
- package/out/concepts/Unparsed__.js +0 -100
- package/out/concepts/Unparsed__.js.map +0 -1
- package/out/concepts/UseComponent__.d.ts +0 -32
- package/out/concepts/UseComponent__.js +0 -79
- package/out/concepts/UseComponent__.js.map +0 -1
- package/out/concepts/ValidationRule__.d.ts +0 -148
- package/out/concepts/ValidationRule__.js +0 -489
- package/out/concepts/ValidationRule__.js.map +0 -1
- package/out/concepts/Variable__.d.ts +0 -155
- package/out/concepts/Variable__.js +0 -420
- package/out/concepts/Variable__.js.map +0 -1
- package/out/concepts/ViewBlock__.d.ts +0 -36
- package/out/concepts/ViewBlock__.js +0 -87
- package/out/concepts/ViewBlock__.js.map +0 -1
- package/out/concepts/ViewComponent__.d.ts +0 -566
- package/out/concepts/ViewComponent__.js +0 -762
- package/out/concepts/ViewComponent__.js.map +0 -1
- package/out/concepts/ViewElement__.d.ts +0 -628
- package/out/concepts/ViewElement__.js +0 -2241
- package/out/concepts/ViewElement__.js.map +0 -1
- package/out/concepts/View__.d.ts +0 -722
- package/out/concepts/View__.js +0 -2114
- package/out/concepts/View__.js.map +0 -1
- package/out/concepts/WhileStatement__.d.ts +0 -98
- package/out/concepts/WhileStatement__.js +0 -235
- package/out/concepts/WhileStatement__.js.map +0 -1
- package/out/concepts/basics/stdlib/index.d.ts +0 -4
- package/out/concepts/basics/stdlib/index.js +0 -45
- package/out/concepts/basics/stdlib/index.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.auth.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.auth.js +0 -164
- package/out/concepts/basics/stdlib/nasl.auth.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.browser.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.browser.js +0 -149
- package/out/concepts/basics/stdlib/nasl.browser.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.collection.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.collection.js +0 -52
- package/out/concepts/basics/stdlib/nasl.collection.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.configuration.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.configuration.js +0 -33
- package/out/concepts/basics/stdlib/nasl.configuration.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.core.d.ts +0 -5
- package/out/concepts/basics/stdlib/nasl.core.js +0 -49
- package/out/concepts/basics/stdlib/nasl.core.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.event.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.event.js +0 -25
- package/out/concepts/basics/stdlib/nasl.event.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.http.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.http.js +0 -169
- package/out/concepts/basics/stdlib/nasl.http.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.interface.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.interface.js +0 -43
- package/out/concepts/basics/stdlib/nasl.interface.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.io.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.io.js +0 -52
- package/out/concepts/basics/stdlib/nasl.io.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.logging.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.logging.js +0 -56
- package/out/concepts/basics/stdlib/nasl.logging.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.process.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.process.js +0 -638
- package/out/concepts/basics/stdlib/nasl.process.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.ui.d.ts +0 -7
- package/out/concepts/basics/stdlib/nasl.ui.js +0 -1063
- package/out/concepts/basics/stdlib/nasl.ui.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.util.d.ts +0 -5
- package/out/concepts/basics/stdlib/nasl.util.js +0 -2255
- package/out/concepts/basics/stdlib/nasl.util.js.map +0 -1
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +0 -3
- package/out/concepts/basics/stdlib/nasl.validation.js +0 -565
- package/out/concepts/basics/stdlib/nasl.validation.js.map +0 -1
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -5
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +0 -26
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
- package/out/concepts/basics/stdlib/timeZone.d.ts +0 -5
- package/out/concepts/basics/stdlib/timeZone.js +0 -196
- package/out/concepts/basics/stdlib/timeZone.js.map +0 -1
- package/out/concepts/basics/types/coreTypeList.d.ts +0 -2
- package/out/concepts/basics/types/coreTypeList.js +0 -15
- package/out/concepts/basics/types/coreTypeList.js.map +0 -1
- package/out/concepts/basics/types/index.d.ts +0 -16
- package/out/concepts/basics/types/index.js +0 -35
- package/out/concepts/basics/types/index.js.map +0 -1
- package/out/concepts/index.d.ts +0 -6
- package/out/concepts/index.js +0 -25
- package/out/concepts/index.js.map +0 -1
- package/out/concepts/index__.d.ts +0 -122
- package/out/concepts/index__.js +0 -139
- package/out/concepts/index__.js.map +0 -1
- package/out/concepts/types__.d.ts +0 -124
- package/out/concepts/types__.js +0 -3
- package/out/concepts/types__.js.map +0 -1
- package/out/config.d.ts +0 -43
- package/out/config.js +0 -72
- package/out/config.js.map +0 -1
- package/out/decorators/index.d.ts +0 -57
- package/out/decorators/index.js +0 -170
- package/out/decorators/index.js.map +0 -1
- package/out/decorators/promise.d.ts +0 -7
- package/out/decorators/promise.js +0 -28
- package/out/decorators/promise.js.map +0 -1
- package/out/enums/KEYWORDS.d.ts +0 -6
- package/out/enums/KEYWORDS.js +0 -1244
- package/out/enums/KEYWORDS.js.map +0 -1
- package/out/enums/LEVEL_NAME_MAP.d.ts +0 -26
- package/out/enums/LEVEL_NAME_MAP.js +0 -30
- package/out/enums/LEVEL_NAME_MAP.js.map +0 -1
- package/out/eventBus.d.ts +0 -3
- package/out/eventBus.js +0 -7
- package/out/eventBus.js.map +0 -1
- package/out/generator/compileComponent.d.ts +0 -11
- package/out/generator/compileComponent.js +0 -12
- package/out/generator/compileComponent.js.map +0 -1
- package/out/generator/genBundleFiles.d.ts +0 -34
- package/out/generator/genBundleFiles.js +0 -547
- package/out/generator/genBundleFiles.js.map +0 -1
- package/out/generator/genHash.d.ts +0 -7
- package/out/generator/genHash.js +0 -39
- package/out/generator/genHash.js.map +0 -1
- package/out/generator/genMetaData.d.ts +0 -31
- package/out/generator/genMetaData.js +0 -286
- package/out/generator/genMetaData.js.map +0 -1
- package/out/generator/genReleaseBody.d.ts +0 -72
- package/out/generator/genReleaseBody.js +0 -322
- package/out/generator/genReleaseBody.js.map +0 -1
- package/out/generator/icestark.d.ts +0 -2
- package/out/generator/icestark.js +0 -48
- package/out/generator/icestark.js.map +0 -1
- package/out/generator/index.d.ts +0 -7
- package/out/generator/index.js +0 -24
- package/out/generator/index.js.map +0 -1
- package/out/generator/microApp.d.ts +0 -2
- package/out/generator/microApp.js +0 -36
- package/out/generator/microApp.js.map +0 -1
- package/out/generator/permission.d.ts +0 -10
- package/out/generator/permission.js +0 -270
- package/out/generator/permission.js.map +0 -1
- package/out/generator/qiankun.d.ts +0 -2
- package/out/generator/qiankun.js +0 -52
- package/out/generator/qiankun.js.map +0 -1
- package/out/generator/styleReplacer.d.ts +0 -3
- package/out/generator/styleReplacer.js +0 -68
- package/out/generator/styleReplacer.js.map +0 -1
- package/out/index.d.ts +0 -13
- package/out/index.js +0 -63
- package/out/index.js.map +0 -1
- package/out/manager/diagnostic.d.ts +0 -35
- package/out/manager/diagnostic.js +0 -63
- package/out/manager/diagnostic.js.map +0 -1
- package/out/manager/stepRecorder.d.ts +0 -20
- package/out/manager/stepRecorder.js +0 -114
- package/out/manager/stepRecorder.js.map +0 -1
- package/out/natural/componentData.d.ts +0 -31
- package/out/natural/componentData.js +0 -85
- package/out/natural/componentData.js.map +0 -1
- package/out/natural/genNaturalTS.d.ts +0 -3
- package/out/natural/genNaturalTS.js +0 -90
- package/out/natural/genNaturalTS.js.map +0 -1
- package/out/natural/index.d.ts +0 -2
- package/out/natural/index.js +0 -19
- package/out/natural/index.js.map +0 -1
- package/out/natural/naslStdlibMap.d.ts +0 -2
- package/out/natural/naslStdlibMap.js +0 -26
- package/out/natural/naslStdlibMap.js.map +0 -1
- package/out/natural/transformTSCode.d.ts +0 -7
- package/out/natural/transformTSCode.js +0 -900
- package/out/natural/transformTSCode.js.map +0 -1
- package/out/sentry/index.d.ts +0 -34
- package/out/sentry/index.js +0 -148
- package/out/sentry/index.js.map +0 -1
- package/out/server/createUiTs.d.ts +0 -16
- package/out/server/createUiTs.js +0 -296
- package/out/server/createUiTs.js.map +0 -1
- package/out/server/entity2LogicNamespace.d.ts +0 -10
- package/out/server/entity2LogicNamespace.js +0 -382
- package/out/server/entity2LogicNamespace.js.map +0 -1
- package/out/server/event.d.ts +0 -30
- package/out/server/event.js +0 -151
- package/out/server/event.js.map +0 -1
- package/out/server/extendBaseNode.d.ts +0 -1
- package/out/server/extendBaseNode.js +0 -544
- package/out/server/extendBaseNode.js.map +0 -1
- package/out/server/formatTsUtils.d.ts +0 -37
- package/out/server/formatTsUtils.js +0 -852
- package/out/server/formatTsUtils.js.map +0 -1
- package/out/server/getConnector.d.ts +0 -14
- package/out/server/getConnector.js +0 -78
- package/out/server/getConnector.js.map +0 -1
- package/out/server/getExtensionModules.d.ts +0 -3
- package/out/server/getExtensionModules.js +0 -34
- package/out/server/getExtensionModules.js.map +0 -1
- package/out/server/getFunctions.d.ts +0 -3
- package/out/server/getFunctions.js +0 -20
- package/out/server/getFunctions.js.map +0 -1
- package/out/server/getInterfaces.d.ts +0 -2
- package/out/server/getInterfaces.js +0 -48
- package/out/server/getInterfaces.js.map +0 -1
- package/out/server/getLogging.d.ts +0 -1
- package/out/server/getLogging.js +0 -9
- package/out/server/getLogging.js.map +0 -1
- package/out/server/getLogics.d.ts +0 -4
- package/out/server/getLogics.js +0 -381
- package/out/server/getLogics.js.map +0 -1
- package/out/server/getMemberIdentifier.d.ts +0 -17
- package/out/server/getMemberIdentifier.js +0 -482
- package/out/server/getMemberIdentifier.js.map +0 -1
- package/out/server/getProcessComponents.d.ts +0 -2
- package/out/server/getProcessComponents.js +0 -13
- package/out/server/getProcessComponents.js.map +0 -1
- package/out/server/getProcesses.d.ts +0 -33
- package/out/server/getProcesses.js +0 -597
- package/out/server/getProcesses.js.map +0 -1
- package/out/server/getScope.d.ts +0 -13
- package/out/server/getScope.js +0 -61
- package/out/server/getScope.js.map +0 -1
- package/out/server/getValidates.d.ts +0 -3
- package/out/server/getValidates.js +0 -14
- package/out/server/getValidates.js.map +0 -1
- package/out/server/index.d.ts +0 -5
- package/out/server/index.js +0 -42
- package/out/server/index.js.map +0 -1
- package/out/server/naslServer.d.ts +0 -381
- package/out/server/naslServer.js +0 -4591
- package/out/server/naslServer.js.map +0 -1
- package/out/server/naslStdlibMap.d.ts +0 -2
- package/out/server/naslStdlibMap.js +0 -54
- package/out/server/naslStdlibMap.js.map +0 -1
- package/out/server/process2LogicNamespace.d.ts +0 -26
- package/out/server/process2LogicNamespace.js +0 -109
- package/out/server/process2LogicNamespace.js.map +0 -1
- package/out/server/translator.d.ts +0 -26
- package/out/server/translator.js +0 -806
- package/out/server/translator.js.map +0 -1
- package/out/service/creator/add.configs.d.ts +0 -1
- package/out/service/creator/add.configs.js +0 -100
- package/out/service/creator/add.configs.js.map +0 -1
- package/out/service/creator/errHandles.d.ts +0 -18
- package/out/service/creator/errHandles.js +0 -68
- package/out/service/creator/errHandles.js.map +0 -1
- package/out/service/creator/index.d.ts +0 -1
- package/out/service/creator/index.js +0 -87
- package/out/service/creator/index.js.map +0 -1
- package/out/service/datasource/api.d.ts +0 -12
- package/out/service/datasource/api.js +0 -14
- package/out/service/datasource/api.js.map +0 -1
- package/out/service/datasource/index.d.ts +0 -2
- package/out/service/datasource/index.js +0 -10
- package/out/service/datasource/index.js.map +0 -1
- package/out/service/defaultErrorMessage.json +0 -98
- package/out/service/logic/api.d.ts +0 -9
- package/out/service/logic/api.js +0 -11
- package/out/service/logic/api.js.map +0 -1
- package/out/service/logic/checktypeSocket.d.ts +0 -5
- package/out/service/logic/checktypeSocket.js +0 -55
- package/out/service/logic/checktypeSocket.js.map +0 -1
- package/out/service/logic/index.d.ts +0 -2
- package/out/service/logic/index.js +0 -10
- package/out/service/logic/index.js.map +0 -1
- package/out/service/storage/api.d.ts +0 -54
- package/out/service/storage/api.js +0 -42
- package/out/service/storage/api.js.map +0 -1
- package/out/service/storage/index.d.ts +0 -2
- package/out/service/storage/index.js +0 -10
- package/out/service/storage/index.js.map +0 -1
- package/out/service/storage/init.d.ts +0 -82
- package/out/service/storage/init.js +0 -851
- package/out/service/storage/init.js.map +0 -1
- package/out/service/storage/jsoner.d.ts +0 -36
- package/out/service/storage/jsoner.js +0 -129
- package/out/service/storage/jsoner.js.map +0 -1
- package/out/service/storage/map.d.ts +0 -4
- package/out/service/storage/map.js +0 -54
- package/out/service/storage/map.js.map +0 -1
- package/out/service/storage/service.d.ts +0 -25
- package/out/service/storage/service.js +0 -80
- package/out/service/storage/service.js.map +0 -1
- package/out/service/storage/storagePoint.d.ts +0 -17
- package/out/service/storage/storagePoint.js +0 -76
- package/out/service/storage/storagePoint.js.map +0 -1
- package/out/service/video/BaseService.d.ts +0 -7
- package/out/service/video/BaseService.js +0 -61
- package/out/service/video/BaseService.js.map +0 -1
- package/out/service/video/MainCallbackService.d.ts +0 -12
- package/out/service/video/MainCallbackService.js +0 -183
- package/out/service/video/MainCallbackService.js.map +0 -1
- package/out/service/video/VideoTranscribe.d.ts +0 -15
- package/out/service/video/VideoTranscribe.js +0 -96
- package/out/service/video/VideoTranscribe.js.map +0 -1
- package/out/service/video/publishService.d.ts +0 -1
- package/out/service/video/publishService.js +0 -58
- package/out/service/video/publishService.js.map +0 -1
- package/out/templator/genCallComponentLogic.d.ts +0 -17
- package/out/templator/genCallComponentLogic.js +0 -29
- package/out/templator/genCallComponentLogic.js.map +0 -1
- package/out/templator/genCreateBlock.d.ts +0 -10
- package/out/templator/genCreateBlock.js +0 -343
- package/out/templator/genCreateBlock.js.map +0 -1
- package/out/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
- package/out/templator/genCurdEditMultipleKeyBlock.js +0 -527
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/templator/genCurdMultipleKeyBlock.d.ts +0 -34
- package/out/templator/genCurdMultipleKeyBlock.js +0 -704
- package/out/templator/genCurdMultipleKeyBlock.js.map +0 -1
- package/out/templator/genEditTableBlock.d.ts +0 -51
- package/out/templator/genEditTableBlock.js +0 -326
- package/out/templator/genEditTableBlock.js.map +0 -1
- package/out/templator/genEnumSelectBlock.d.ts +0 -10
- package/out/templator/genEnumSelectBlock.js +0 -26
- package/out/templator/genEnumSelectBlock.js.map +0 -1
- package/out/templator/genGetBlock.d.ts +0 -6
- package/out/templator/genGetBlock.js +0 -138
- package/out/templator/genGetBlock.js.map +0 -1
- package/out/templator/genGridViewBlock.d.ts +0 -55
- package/out/templator/genGridViewBlock.js +0 -359
- package/out/templator/genGridViewBlock.js.map +0 -1
- package/out/templator/genListViewBlock.d.ts +0 -19
- package/out/templator/genListViewBlock.js +0 -148
- package/out/templator/genListViewBlock.js.map +0 -1
- package/out/templator/genQueryComponent.d.ts +0 -34
- package/out/templator/genQueryComponent.js +0 -349
- package/out/templator/genQueryComponent.js.map +0 -1
- package/out/templator/genSelectBlock.d.ts +0 -45
- package/out/templator/genSelectBlock.js +0 -388
- package/out/templator/genSelectBlock.js.map +0 -1
- package/out/templator/genTableBlock.d.ts +0 -53
- package/out/templator/genTableBlock.js +0 -304
- package/out/templator/genTableBlock.js.map +0 -1
- package/out/templator/genUpdateBlock.d.ts +0 -6
- package/out/templator/genUpdateBlock.js +0 -385
- package/out/templator/genUpdateBlock.js.map +0 -1
- package/out/templator/index.d.ts +0 -19
- package/out/templator/index.js +0 -38
- package/out/templator/index.js.map +0 -1
- package/out/templator/utils.d.ts +0 -683
- package/out/templator/utils.js +0 -459
- package/out/templator/utils.js.map +0 -1
- package/out/translator/constant.d.ts +0 -6
- package/out/translator/constant.js +0 -10
- package/out/translator/constant.js.map +0 -1
- package/out/translator/index.d.ts +0 -3
- package/out/translator/index.js +0 -20
- package/out/translator/index.js.map +0 -1
- package/out/translator/types.d.ts +0 -33
- package/out/translator/types.js +0 -3
- package/out/translator/types.js.map +0 -1
- package/out/translator/utils.d.ts +0 -17
- package/out/translator/utils.js +0 -111
- package/out/translator/utils.js.map +0 -1
- package/out/utils/cookie.d.ts +0 -9
- package/out/utils/cookie.js +0 -62
- package/out/utils/cookie.js.map +0 -1
- package/out/utils/env.d.ts +0 -2
- package/out/utils/env.js +0 -6
- package/out/utils/env.js.map +0 -1
- package/out/utils/index.d.ts +0 -43
- package/out/utils/index.js +0 -188
- package/out/utils/index.js.map +0 -1
- package/out/utils/logger.d.ts +0 -7
- package/out/utils/logger.js +0 -23
- package/out/utils/logger.js.map +0 -1
- package/out/utils/sortTsString.d.ts +0 -1
- package/out/utils/sortTsString.js +0 -38
- package/out/utils/sortTsString.js.map +0 -1
- package/out/utils/string.d.ts +0 -51
- package/out/utils/string.js +0 -107
- package/out/utils/string.js.map +0 -1
- package/out/utils/time-slicing.d.ts +0 -41
- package/out/utils/time-slicing.js +0 -82
- package/out/utils/time-slicing.js.map +0 -1
- package/out/utils/traverse.d.ts +0 -36
- package/out/utils/traverse.js +0 -143
- package/out/utils/traverse.js.map +0 -1
- package/out/utils/types.d.ts +0 -1
- package/out/utils/types.js +0 -3
- package/out/utils/types.js.map +0 -1
- package/out/utils/window.d.ts +0 -7
- package/out/utils/window.js +0 -14
- package/out/utils/window.js.map +0 -1
package/src/common/BaseNode.ts
CHANGED
|
@@ -12,6 +12,12 @@ import { Diagnostic } from '../manager/diagnostic';
|
|
|
12
12
|
import { sentryMonitorNaslNode } from '../sentry';
|
|
13
13
|
import operations from '../breakpoint/shared/operations';
|
|
14
14
|
import type { SynatxNode, SynatxNodeConcept, ViewElement, TypeAnnotation, App, Namespace } from '../concepts';
|
|
15
|
+
import eventBus from '../eventBus';
|
|
16
|
+
|
|
17
|
+
let actionable = true;
|
|
18
|
+
export function setActionable(value: boolean) {
|
|
19
|
+
actionable = value;
|
|
20
|
+
}
|
|
15
21
|
|
|
16
22
|
// 确保属性都是定义过的
|
|
17
23
|
function ensureDefined(object: any, concept: string) {
|
|
@@ -46,6 +52,10 @@ function ensureDefined(object: any, concept: string) {
|
|
|
46
52
|
return newObject;
|
|
47
53
|
}
|
|
48
54
|
|
|
55
|
+
type NodePathOption = {
|
|
56
|
+
useName?: boolean,
|
|
57
|
+
}
|
|
58
|
+
|
|
49
59
|
/**
|
|
50
60
|
* 顶点类
|
|
51
61
|
* 属性均为只读,仅在初始化和 load 的情况下可以修改
|
|
@@ -196,7 +206,7 @@ export class BaseNode extends EventEmitter {
|
|
|
196
206
|
@excludedInJSON()
|
|
197
207
|
dataTreeNodeHidden!: boolean;
|
|
198
208
|
|
|
199
|
-
|
|
209
|
+
/**
|
|
200
210
|
* 数据树节点是否显示
|
|
201
211
|
* 前端 UI 状态
|
|
202
212
|
*/
|
|
@@ -401,6 +411,11 @@ export class BaseNode extends EventEmitter {
|
|
|
401
411
|
}
|
|
402
412
|
|
|
403
413
|
createNode({ parentNode, parentKey, index }: { parentNode: SynatxNode; parentKey: string; index: number }) {
|
|
414
|
+
if(!actionable) {
|
|
415
|
+
eventBus.emit('NotActionable')
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
|
|
404
419
|
if (parentNode) {
|
|
405
420
|
const property = parentNode[parentKey as keyof SynatxNode];
|
|
406
421
|
if (Array.isArray(property) && index !== -1) {
|
|
@@ -428,6 +443,11 @@ export class BaseNode extends EventEmitter {
|
|
|
428
443
|
* 创建节点
|
|
429
444
|
*/
|
|
430
445
|
create(parentParams: Params) {
|
|
446
|
+
if(!actionable) {
|
|
447
|
+
this._delete();
|
|
448
|
+
eventBus.emit('NotActionable');
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
431
451
|
this.emit('create', {
|
|
432
452
|
action: 'create',
|
|
433
453
|
path: this.getNodePath(true),
|
|
@@ -441,12 +461,22 @@ export class BaseNode extends EventEmitter {
|
|
|
441
461
|
* 如果有父节点,则删除节点,在添加时调用
|
|
442
462
|
*/
|
|
443
463
|
ensureDelete() {
|
|
464
|
+
if(!actionable) {
|
|
465
|
+
eventBus.emit('NotActionable');
|
|
466
|
+
return;
|
|
467
|
+
}
|
|
468
|
+
|
|
444
469
|
// 批量赋值因为连线的问题需要特殊处理一下.
|
|
445
470
|
if (this.parentNode?.concept === 'SelectMembers') {
|
|
446
471
|
this.parentNode.ensureDelete();
|
|
447
472
|
return;
|
|
448
473
|
}
|
|
449
474
|
|
|
475
|
+
if (this.concept === 'SelectMembers' && this.parentNode) {
|
|
476
|
+
const node: any = this.parentNode;
|
|
477
|
+
node.changeLinesLocation(this);
|
|
478
|
+
}
|
|
479
|
+
|
|
450
480
|
if (this.parentNode && this.parentKey) {
|
|
451
481
|
const path = this.getNodePath(false);
|
|
452
482
|
const parentParams = this._delete();
|
|
@@ -479,6 +509,11 @@ export class BaseNode extends EventEmitter {
|
|
|
479
509
|
* 删除节点
|
|
480
510
|
*/
|
|
481
511
|
delete() {
|
|
512
|
+
if(!actionable) {
|
|
513
|
+
eventBus.emit('NotActionable');
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
|
|
482
517
|
if (this.parentNode?.concept === 'Match' && this.parentKey === 'expression') {
|
|
483
518
|
(this.parentNode as any).setExpressionWitchCase(null);
|
|
484
519
|
return;
|
|
@@ -533,6 +568,11 @@ export class BaseNode extends EventEmitter {
|
|
|
533
568
|
* 更新节点
|
|
534
569
|
*/
|
|
535
570
|
update({ field, ...object }: any) {
|
|
571
|
+
if(!actionable) {
|
|
572
|
+
eventBus.emit('NotActionable');
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
|
|
536
576
|
const path = this.getNodePath(false);
|
|
537
577
|
const oldObject: any = {};
|
|
538
578
|
for (const key in object) {
|
|
@@ -649,12 +689,16 @@ export class BaseNode extends EventEmitter {
|
|
|
649
689
|
|
|
650
690
|
getNodePath(useIndex: boolean): string;
|
|
651
691
|
getNodePath(useIndexKeys: string[]): string;
|
|
652
|
-
getNodePath(
|
|
692
|
+
getNodePath(option: NodePathOption): string;
|
|
693
|
+
getNodePath(useIndex: boolean | string[] | NodePathOption) {
|
|
653
694
|
let node: BaseNode = this;
|
|
654
695
|
let useIndexKeys: string[] = [];
|
|
696
|
+
let option: NodePathOption = {};
|
|
655
697
|
if (Array.isArray(useIndex)) {
|
|
656
698
|
useIndexKeys = useIndex;
|
|
657
699
|
useIndex = false;
|
|
700
|
+
} else if(useIndex && typeof useIndex === 'object') {
|
|
701
|
+
option = useIndex;
|
|
658
702
|
}
|
|
659
703
|
let isNodeSelf = true;
|
|
660
704
|
const pathArr = [];
|
|
@@ -674,7 +718,7 @@ export class BaseNode extends EventEmitter {
|
|
|
674
718
|
return child?.name === name && child !== node && child?.id !== node?.id;
|
|
675
719
|
})
|
|
676
720
|
: null;
|
|
677
|
-
if (siblingNode || !name || (useIndex && isNodeSelf) || useIndexKeys.includes(node.concept)) {
|
|
721
|
+
if (!(option.useName && name) && (siblingNode || !name || (useIndex && isNodeSelf) || useIndexKeys.includes(node.concept))) {
|
|
678
722
|
const index = parentProperty.findIndex((item) => {
|
|
679
723
|
if (item === node) {
|
|
680
724
|
return true;
|
|
@@ -1009,6 +1053,11 @@ export class BaseNode extends EventEmitter {
|
|
|
1009
1053
|
* @param position
|
|
1010
1054
|
*/
|
|
1011
1055
|
moveNode(options: { sourceNode: BaseNode; position: 'append' | 'insertBefore' | 'insertAfter'; action?: string }) {
|
|
1056
|
+
if (!actionable) {
|
|
1057
|
+
eventBus.emit('NotActionable');
|
|
1058
|
+
return;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1012
1061
|
const { sourceNode, position } = options;
|
|
1013
1062
|
if (this.concept === 'App') {
|
|
1014
1063
|
return;
|
|
@@ -1045,7 +1094,8 @@ export class BaseNode extends EventEmitter {
|
|
|
1045
1094
|
parentKey,
|
|
1046
1095
|
});
|
|
1047
1096
|
|
|
1048
|
-
|
|
1097
|
+
// 和原开发沟通过,可注释掉这行,否则拖拽的时候会更新name
|
|
1098
|
+
// if (this.concept === 'ViewElement') this.name = (this as unknown as ViewElement).getViewElementUniqueName(this.name);
|
|
1049
1099
|
|
|
1050
1100
|
list.splice(index, 0, this);
|
|
1051
1101
|
this.create({
|
|
@@ -1186,7 +1236,8 @@ export class BaseNode extends EventEmitter {
|
|
|
1186
1236
|
this.concept === 'Param' ||
|
|
1187
1237
|
this.concept === 'Return' ||
|
|
1188
1238
|
this.concept === 'StructureProperty' ||
|
|
1189
|
-
this.concept === 'Variable'
|
|
1239
|
+
this.concept === 'Variable' ||
|
|
1240
|
+
this.concept === 'FrontendVariable'
|
|
1190
1241
|
) {
|
|
1191
1242
|
if ((this as any).typeAnnotation || (this.__TypeAnnotation && this.parentKey === 'virtualParams')) {
|
|
1192
1243
|
return !this.hasChildren;
|
|
@@ -1221,11 +1272,11 @@ export class BaseNode extends EventEmitter {
|
|
|
1221
1272
|
changeConceptNode(concept: SynatxNodeConcept) {
|
|
1222
1273
|
return new Proxy(this, {
|
|
1223
1274
|
get(target, p: keyof BaseNode, receiver) {
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1275
|
+
if (p === 'concept') {
|
|
1276
|
+
return concept;
|
|
1277
|
+
}
|
|
1227
1278
|
|
|
1228
|
-
|
|
1279
|
+
return target[p];
|
|
1229
1280
|
},
|
|
1230
1281
|
})
|
|
1231
1282
|
}
|
|
@@ -1235,13 +1286,13 @@ export class BaseNode extends EventEmitter {
|
|
|
1235
1286
|
/** 收集特定类型的子节点 */
|
|
1236
1287
|
collectNodes(concept: SynatxNodeConcept): SynatxNode[];
|
|
1237
1288
|
/** 收集断言返回`true`的子节点 */
|
|
1238
|
-
collectNodes(pre: (node
|
|
1239
|
-
collectNodes(input?: SynatxNodeConcept | ((node
|
|
1289
|
+
collectNodes(pre: (node?: SynatxNode) => boolean): SynatxNode[];
|
|
1290
|
+
collectNodes(input?: SynatxNodeConcept | ((node?: SynatxNode) => boolean)) {
|
|
1240
1291
|
const pre =
|
|
1241
1292
|
typeof input === 'undefined'
|
|
1242
|
-
? (node: SynatxNode) => typeof node.concept === 'string'
|
|
1293
|
+
? (node: SynatxNode) => node && typeof node.concept === 'string'
|
|
1243
1294
|
: typeof input === 'string'
|
|
1244
|
-
? (node: SynatxNode) => node
|
|
1295
|
+
? (node: SynatxNode) => node?.concept === input
|
|
1245
1296
|
: input;
|
|
1246
1297
|
const nodes: SynatxNode[] = [];
|
|
1247
1298
|
const self = this as unknown as SynatxNode;
|
package/src/concepts/Abort__.ts
CHANGED
package/src/concepts/Anchor__.ts
CHANGED
|
@@ -26,6 +26,7 @@ export class Anchor extends LogicItem {
|
|
|
26
26
|
/**
|
|
27
27
|
* 产品概念
|
|
28
28
|
*/
|
|
29
|
+
@property('concept')
|
|
29
30
|
// @ts-ignore
|
|
30
31
|
readonly concept!: 'Anchor';
|
|
31
32
|
|
|
@@ -100,11 +101,15 @@ export class Anchor extends LogicItem {
|
|
|
100
101
|
};
|
|
101
102
|
if (parentKey) {
|
|
102
103
|
params.parentKey = parentKey;
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
// @ts-ignore
|
|
105
|
+
const t = this.__v_raw || this;
|
|
106
|
+
// @ts-ignore
|
|
107
|
+
const n = logicItem.__v_raw || logicItem;
|
|
108
|
+
if (Array.isArray((t as any)[parentKey])) {
|
|
109
|
+
const index = (t as any)[parentKey].indexOf(n);
|
|
105
110
|
~index && (this as any)[parentKey].splice(index, 1);
|
|
106
111
|
params.index = index;
|
|
107
|
-
} else if ((
|
|
112
|
+
} else if ((t as any)[parentKey] === n) {
|
|
108
113
|
params.index = 0;
|
|
109
114
|
(this as any)[parentKey] = undefined;
|
|
110
115
|
}
|
|
@@ -162,19 +167,19 @@ export class Anchor extends LogicItem {
|
|
|
162
167
|
|
|
163
168
|
@withSourceMap()
|
|
164
169
|
toNaturalTS(state = createCompilerState(), isHaveKeyWord?: boolean): string {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
let code = '';
|
|
171
|
+
if (isHaveKeyWord) {
|
|
172
|
+
code += `_anchor: `;
|
|
173
|
+
}
|
|
174
|
+
if (this.expression) {
|
|
175
|
+
code += (this.expression as StringLiteral).toNaturalTS(shiftState(state, code, { inline: true }), false);
|
|
176
|
+
} else {
|
|
177
|
+
code += 'undefined';
|
|
178
|
+
}
|
|
179
|
+
return code;
|
|
175
180
|
}
|
|
176
181
|
|
|
177
|
-
|
|
182
|
+
//================================================================================
|
|
178
183
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
179
184
|
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
180
185
|
//================================================================================
|
|
@@ -37,6 +37,7 @@ export class AnonymousFunction extends LogicItem {
|
|
|
37
37
|
/**
|
|
38
38
|
* 产品概念
|
|
39
39
|
*/
|
|
40
|
+
@property('concept')
|
|
40
41
|
// @ts-ignore
|
|
41
42
|
readonly concept!: 'AnonymousFunction';
|
|
42
43
|
|
|
@@ -305,11 +306,15 @@ export class AnonymousFunction extends LogicItem {
|
|
|
305
306
|
};
|
|
306
307
|
if (parentKey) {
|
|
307
308
|
params.parentKey = parentKey;
|
|
308
|
-
|
|
309
|
-
|
|
309
|
+
// @ts-ignore
|
|
310
|
+
const t = this.__v_raw || this;
|
|
311
|
+
// @ts-ignore
|
|
312
|
+
const n = param.__v_raw || param;
|
|
313
|
+
if (Array.isArray((t as any)[parentKey])) {
|
|
314
|
+
const index = (t as any)[parentKey].indexOf(n);
|
|
310
315
|
~index && (this as any)[parentKey].splice(index, 1);
|
|
311
316
|
params.index = index;
|
|
312
|
-
} else if ((
|
|
317
|
+
} else if ((t as any)[parentKey] === n) {
|
|
313
318
|
params.index = 0;
|
|
314
319
|
(this as any)[parentKey] = undefined;
|
|
315
320
|
}
|
|
@@ -353,11 +358,15 @@ export class AnonymousFunction extends LogicItem {
|
|
|
353
358
|
};
|
|
354
359
|
if (parentKey) {
|
|
355
360
|
params.parentKey = parentKey;
|
|
356
|
-
|
|
357
|
-
|
|
361
|
+
// @ts-ignore
|
|
362
|
+
const t = this.__v_raw || this;
|
|
363
|
+
// @ts-ignore
|
|
364
|
+
const n = logicItem.__v_raw || logicItem;
|
|
365
|
+
if (Array.isArray((t as any)[parentKey])) {
|
|
366
|
+
const index = (t as any)[parentKey].indexOf(n);
|
|
358
367
|
~index && (this as any)[parentKey].splice(index, 1);
|
|
359
368
|
params.index = index;
|
|
360
|
-
} else if ((
|
|
369
|
+
} else if ((t as any)[parentKey] === n) {
|
|
361
370
|
params.index = 0;
|
|
362
371
|
(this as any)[parentKey] = undefined;
|
|
363
372
|
}
|
|
@@ -401,11 +410,15 @@ export class AnonymousFunction extends LogicItem {
|
|
|
401
410
|
};
|
|
402
411
|
if (parentKey) {
|
|
403
412
|
params.parentKey = parentKey;
|
|
404
|
-
|
|
405
|
-
|
|
413
|
+
// @ts-ignore
|
|
414
|
+
const t = this.__v_raw || this;
|
|
415
|
+
// @ts-ignore
|
|
416
|
+
const n = typeAnnotation.__v_raw || typeAnnotation;
|
|
417
|
+
if (Array.isArray((t as any)[parentKey])) {
|
|
418
|
+
const index = (t as any)[parentKey].indexOf(n);
|
|
406
419
|
~index && (this as any)[parentKey].splice(index, 1);
|
|
407
420
|
params.index = index;
|
|
408
|
-
} else if ((
|
|
421
|
+
} else if ((t as any)[parentKey] === n) {
|
|
409
422
|
params.index = 0;
|
|
410
423
|
(this as any)[parentKey] = undefined;
|
|
411
424
|
}
|
|
@@ -549,14 +562,15 @@ export class AnonymousFunction extends LogicItem {
|
|
|
549
562
|
code += `(`;
|
|
550
563
|
this.params.forEach((param, index) => {
|
|
551
564
|
code += param.toNaturalTS(shiftState(state, code, { inline: true }));
|
|
552
|
-
if (index !== this.params.length - 1)
|
|
553
|
-
code += ', ';
|
|
565
|
+
if (index !== this.params.length - 1) code += ', ';
|
|
554
566
|
});
|
|
555
567
|
code += `)`;
|
|
556
568
|
code += ` => (`;
|
|
557
569
|
|
|
558
570
|
if (this.body) {
|
|
559
|
-
code +=
|
|
571
|
+
code +=
|
|
572
|
+
this.body.toNaturalTS &&
|
|
573
|
+
this.body.toNaturalTS(shiftState(state, code, { tabSize: state.tabSize + 1, inline: true }));
|
|
560
574
|
}
|
|
561
575
|
code += ')';
|
|
562
576
|
code += ';';
|