@lcap/nasl 3.6.0-beta.1 → 3.7.0-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 → 559608df-ab15-4969-acf0-5239dacd6111.json} +1 -1
- package/.nyc_output/processinfo/559608df-ab15-4969-acf0-5239dacd6111.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/coverage/index.html +153 -138
- package/coverage/src/automate/engine/index.html +1 -1
- package/coverage/src/automate/engine/utils.js.html +46 -46
- package/coverage/src/bak/index.html +15 -15
- package/coverage/src/bak/translator.js.html +153 -57
- 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 +43 -7
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +59 -8
- package/coverage/src/breakpoint/generator/index.html +21 -21
- 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 +2 -2
- 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 +3 -3
- 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 +609 -180
- package/coverage/src/common/Command.ts.html +2 -2
- package/coverage/src/common/EventEmitter.ts.html +6 -6
- package/coverage/src/common/Messager.ts.html +1 -1
- package/coverage/src/common/asyncFuncMap.ts.html +1 -1
- package/coverage/src/common/index.html +36 -21
- package/coverage/src/common/index.ts.html +7 -4
- package/coverage/src/common/utils.ts.html +136 -0
- package/coverage/src/concepts/Abort__.ts.html +39 -9
- package/coverage/src/concepts/AbstractInterface__.ts.html +280 -0
- package/coverage/src/concepts/Anchor__.ts.html +86 -29
- package/coverage/src/concepts/AnonymousFunction__.ts.html +262 -169
- package/coverage/src/concepts/App__.ts.html +1205 -152
- package/coverage/src/concepts/Argument__.ts.html +120 -51
- package/coverage/src/concepts/Assignee__.ts.html +124 -34
- package/coverage/src/concepts/AssignmentLine__.ts.html +48 -15
- package/coverage/src/concepts/Assignment__.ts.html +147 -69
- package/coverage/src/concepts/Attribute__.ts.html +41 -14
- package/coverage/src/concepts/AuthInterface__.ts.html +9 -6
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +108 -144
- package/coverage/src/concepts/AuthLogic__.ts.html +18 -6
- package/coverage/src/concepts/BackendVariable__.ts.html +135 -51
- package/coverage/src/concepts/Backend__.ts.html +106 -28
- package/coverage/src/concepts/BatchAssignment__.ts.html +274 -169
- package/coverage/src/concepts/BinaryExpression__.ts.html +188 -110
- package/coverage/src/concepts/BindAttribute__.ts.html +213 -93
- package/coverage/src/concepts/BindDirective__.ts.html +131 -26
- package/coverage/src/concepts/BindEvent__.ts.html +167 -71
- package/coverage/src/concepts/BindStyle__.ts.html +78 -21
- package/coverage/src/concepts/Block__.ts.html +910 -0
- package/coverage/src/concepts/BooleanLiteral__.ts.html +47 -20
- package/coverage/src/concepts/CallAuthInterface__.ts.html +105 -48
- package/coverage/src/concepts/CallConnector__.ts.html +62 -35
- package/coverage/src/concepts/CallFunction__.ts.html +328 -160
- package/coverage/src/concepts/CallInterface__.ts.html +93 -60
- package/coverage/src/concepts/CallLogic__.ts.html +544 -427
- package/coverage/src/concepts/CallQueryComponent__.ts.html +126 -93
- package/coverage/src/concepts/Comment__.ts.html +43 -10
- package/coverage/src/concepts/CompletionProperty__.ts.html +40 -13
- package/coverage/src/concepts/ConfigGroup__.ts.html +47 -20
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +22 -19
- package/coverage/src/concepts/ConfigProperty__.ts.html +97 -40
- package/coverage/src/concepts/Configuration__.ts.html +48 -21
- package/coverage/src/concepts/Connection__.ts.html +97 -22
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +9 -6
- package/coverage/src/concepts/Connector__.ts.html +161 -38
- package/coverage/src/concepts/Constant__.ts.html +84 -24
- package/coverage/src/concepts/CountersignPolicy__.ts.html +316 -0
- package/coverage/src/concepts/DataSource__.ts.html +111 -57
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +9 -6
- package/coverage/src/concepts/DefaultValue__.ts.html +1000 -0
- package/coverage/src/concepts/Destination__.ts.html +97 -55
- package/coverage/src/concepts/End__.ts.html +56 -26
- package/coverage/src/concepts/EntityIndex__.ts.html +40 -10
- package/coverage/src/concepts/EntityProperty__.ts.html +164 -56
- package/coverage/src/concepts/Entity__.ts.html +169 -91
- package/coverage/src/concepts/EnumItem__.ts.html +40 -10
- package/coverage/src/concepts/Enum__.ts.html +84 -24
- package/coverage/src/concepts/Event__.ts.html +41 -14
- package/coverage/src/concepts/ExternalDestination__.ts.html +75 -21
- package/coverage/src/concepts/ForEachStatement__.ts.html +143 -95
- package/coverage/src/concepts/FrontendLibrary__.ts.html +71 -20
- package/coverage/src/concepts/FrontendVariable__.ts.html +1 -1
- package/coverage/src/concepts/Frontend__.ts.html +213 -57
- package/coverage/src/concepts/Function__.ts.html +239 -86
- package/coverage/src/concepts/I18nInfo__.ts.html +436 -0
- package/coverage/src/concepts/Identifier__.ts.html +103 -73
- package/coverage/src/concepts/IfStatement__.ts.html +138 -75
- package/coverage/src/concepts/ImportedInterface__.ts.html +268 -0
- package/coverage/src/concepts/Integration__.ts.html +70 -19
- package/coverage/src/concepts/InterfaceParam__.ts.html +78 -21
- package/coverage/src/concepts/Interface__.ts.html +162 -60
- package/coverage/src/concepts/JSBlock__.ts.html +39 -9
- package/coverage/src/concepts/JavaLogic__.ts.html +42 -9
- package/coverage/src/concepts/LogicItem__.ts.html +56 -26
- package/coverage/src/concepts/Logic__.ts.html +409 -322
- package/coverage/src/concepts/MatchCase__.ts.html +181 -97
- package/coverage/src/concepts/Match__.ts.html +135 -63
- package/coverage/src/concepts/MemberExpression__.ts.html +185 -128
- package/coverage/src/concepts/MetadataType__.ts.html +2053 -0
- package/coverage/src/concepts/MicroApp__.ts.html +9 -6
- package/coverage/src/concepts/Module__.ts.html +690 -36
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +41 -14
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +41 -14
- package/coverage/src/concepts/MultiApprovalPolicy__.ts.html +292 -0
- package/coverage/src/concepts/Namespace__.ts.html +359 -92
- package/coverage/src/concepts/NewComposite__.ts.html +326 -146
- package/coverage/src/concepts/NewList__.ts.html +195 -57
- package/coverage/src/concepts/NewMap__.ts.html +168 -63
- package/coverage/src/concepts/New__.ts.html +39 -9
- package/coverage/src/concepts/NullLiteral__.ts.html +36 -9
- package/coverage/src/concepts/NumericLiteral__.ts.html +86 -32
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +161 -35
- package/coverage/src/concepts/OverriddenLogic__.ts.html +324 -201
- package/coverage/src/concepts/Param__.ts.html +155 -80
- package/coverage/src/concepts/Point__.ts.html +9 -6
- package/coverage/src/concepts/ProcessComponent__.ts.html +72 -21
- package/coverage/src/concepts/ProcessElement__.ts.html +524 -116
- package/coverage/src/concepts/ProcessOutcome__.ts.html +85 -13
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +85 -13
- package/coverage/src/concepts/Process__.ts.html +217 -70
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +67 -16
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +41 -11
- package/coverage/src/concepts/QueryFromExpression__.ts.html +81 -21
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +70 -19
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +85 -25
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +77 -20
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +80 -20
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +42 -15
- package/coverage/src/concepts/Rect__.ts.html +9 -6
- package/coverage/src/concepts/Return__.ts.html +131 -50
- package/coverage/src/concepts/Role__.ts.html +45 -15
- package/coverage/src/concepts/SelectMembers__.ts.html +81 -24
- package/coverage/src/concepts/SequentialPolicy__.ts.html +259 -0
- package/coverage/src/concepts/Slot__.ts.html +40 -13
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +84 -24
- package/coverage/src/concepts/Start__.ts.html +41 -14
- package/coverage/src/concepts/StaticString__.ts.html +403 -0
- package/coverage/src/concepts/StringInterpolation__.ts.html +127 -46
- package/coverage/src/concepts/StringLiteral__.ts.html +62 -32
- package/coverage/src/concepts/StructureProperty__.ts.html +86 -29
- package/coverage/src/concepts/Structure__.ts.html +122 -38
- package/coverage/src/concepts/SwitchCase__.ts.html +87 -36
- package/coverage/src/concepts/SwitchStatement__.ts.html +90 -33
- package/coverage/src/concepts/Theme__.ts.html +15 -12
- package/coverage/src/concepts/Transactional__.ts.html +9 -6
- package/coverage/src/concepts/TriggerEvent__.ts.html +41 -14
- package/coverage/src/concepts/TriggerLauncher__.ts.html +46 -13
- package/coverage/src/concepts/TypeAnnotation__.ts.html +348 -117
- package/coverage/src/concepts/TypeParam__.ts.html +42 -12
- package/coverage/src/concepts/UnaryExpression__.ts.html +105 -27
- package/coverage/src/concepts/Unparsed__.ts.html +36 -12
- package/coverage/src/concepts/UseComponent__.ts.html +9 -6
- package/coverage/src/concepts/ValidationRule__.ts.html +87 -48
- package/coverage/src/concepts/Variable__.ts.html +127 -46
- 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 +498 -288
- package/coverage/src/concepts/View__.ts.html +482 -170
- package/coverage/src/concepts/WhileStatement__.ts.html +118 -55
- package/coverage/src/concepts/basics/constants.ts.html +88 -0
- package/coverage/src/concepts/basics/index.html +116 -0
- 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 +2 -2
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +1 -1
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +4 -4
- 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 +1023 -963
- package/coverage/src/concepts/index.ts.html +1 -1
- package/coverage/src/concepts/index__.ts.html +16 -4
- package/coverage/src/concepts/utils/asserts.ts.html +27967 -0
- package/coverage/src/concepts/utils/index.html +116 -0
- package/coverage/src/config.ts.html +1 -1
- package/coverage/src/decorators/index.html +5 -5
- package/coverage/src/decorators/index.ts.html +32 -32
- package/coverage/src/decorators/promise.ts.html +10 -10
- package/coverage/src/eventBus.ts.html +1 -1
- package/coverage/src/generator/compileComponent.ts.html +1 -1
- package/coverage/src/generator/genBundleFiles.ts.html +17 -23
- 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 +43 -43
- package/coverage/src/generator/icestark.ts.html +10 -4
- package/coverage/src/generator/index.html +21 -21
- 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 +92 -20
- package/coverage/src/generator/qiankun.ts.html +9 -3
- 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 +11 -14
- package/coverage/src/manager/index.html +13 -13
- 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 +14 -14
- package/coverage/src/sentry/index.ts.html +38 -32
- package/coverage/src/server/createUiTs.ts.html +15 -6
- package/coverage/src/server/entity2LogicNamespace.ts.html +9 -9
- package/coverage/src/server/event.js.html +1 -1
- package/coverage/src/server/extendBaseNode.ts.html +73 -43
- package/coverage/src/server/formatTsUtils.ts.html +31 -28
- 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 +20 -8
- package/coverage/src/server/getMemberIdentifier.ts.html +231 -120
- package/coverage/src/server/getProcessComponents.ts.html +1 -1
- package/coverage/src/server/getProcesses.ts.html +163 -13
- package/coverage/src/server/getValidates.ts.html +1 -1
- package/coverage/src/server/index.html +63 -63
- package/coverage/src/server/index.ts.html +6 -3
- package/coverage/src/server/naslServer.ts.html +1207 -949
- 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 +59 -14
- package/coverage/src/service/creator/add.configs.js.html +27 -9
- package/coverage/src/service/creator/errHandles.js.html +28 -37
- package/coverage/src/service/creator/index.html +23 -23
- 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 +29 -29
- package/coverage/src/service/storage/index.ts.html +1 -1
- package/coverage/src/service/storage/init.ts.html +1533 -600
- package/coverage/src/service/storage/jsoner.ts.html +76 -13
- package/coverage/src/service/storage/map.ts.html +3 -3
- 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 +37 -58
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +19 -19
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +71 -89
- package/coverage/src/templator/genEditTableBlock.ts.html +76 -13
- 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 +35 -32
- package/coverage/src/templator/index.html +38 -38
- package/coverage/src/templator/index.ts.html +1 -1
- package/coverage/src/templator/utils.ts.html +74 -11
- package/coverage/src/translator/constant.ts.html +1 -1
- package/coverage/src/translator/index.html +21 -21
- package/coverage/src/translator/index.ts.html +1 -1
- package/coverage/src/translator/utils.ts.html +389 -68
- package/coverage/src/utils/cookie.ts.html +4 -4
- package/coverage/src/utils/env.ts.html +1 -1
- package/coverage/src/utils/i18nInfo.ts.html +166 -0
- package/coverage/src/utils/index.html +34 -49
- 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 +25 -10
- package/coverage/src/utils/string.ts.html +110 -8
- package/coverage/src/utils/time-slicing/constant.ts.html +196 -0
- package/coverage/src/utils/time-slicing/controller.ts.html +1144 -0
- package/coverage/src/utils/time-slicing/index.html +236 -0
- package/coverage/src/utils/time-slicing/index.ts.html +103 -0
- package/coverage/src/utils/time-slicing/page-state.ts.html +121 -0
- package/coverage/src/utils/time-slicing/performance.ts.html +253 -0
- package/coverage/src/utils/time-slicing/runner.ts.html +241 -0
- package/coverage/src/utils/time-slicing/tool.ts.html +220 -0
- package/coverage/src/utils/time-slicing/utils.ts.html +355 -0
- package/coverage/src/utils/time-slicing/wrapper.ts.html +259 -0
- 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/out/common/BaseNode.js +10 -1
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/Abort__.d.ts +7 -0
- package/out/concepts/Abort__.js +7 -0
- package/out/concepts/Abort__.js.map +1 -1
- package/out/concepts/AbstractInterface__.d.ts +7 -0
- package/out/concepts/AbstractInterface__.js +7 -0
- package/out/concepts/AbstractInterface__.js.map +1 -1
- package/out/concepts/Anchor__.d.ts +7 -0
- package/out/concepts/Anchor__.js +7 -0
- package/out/concepts/Anchor__.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +7 -0
- package/out/concepts/AnonymousFunction__.js +7 -0
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +7 -0
- package/out/concepts/App__.js +8 -1
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.d.ts +7 -0
- package/out/concepts/Argument__.js +7 -0
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/Assignee__.d.ts +7 -0
- package/out/concepts/Assignee__.js +7 -0
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/AssignmentLine__.d.ts +7 -0
- package/out/concepts/AssignmentLine__.js +7 -0
- package/out/concepts/AssignmentLine__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts +7 -0
- package/out/concepts/Assignment__.js +7 -0
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/Attribute__.d.ts +11 -13
- package/out/concepts/Attribute__.js +11 -14
- package/out/concepts/Attribute__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +7 -0
- package/out/concepts/AuthInterface__.js +7 -0
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +7 -0
- package/out/concepts/AuthLogicForCallInterface__.js +7 -0
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +7 -0
- package/out/concepts/AuthLogic__.js +7 -0
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +7 -0
- package/out/concepts/BackendVariable__.js +7 -0
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +7 -0
- package/out/concepts/Backend__.js +7 -0
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/BaseSetter__.d.ts +25 -0
- package/out/concepts/BaseSetter__.js +53 -0
- package/out/concepts/BaseSetter__.js.map +1 -0
- package/out/concepts/BatchAssignment__.d.ts +7 -0
- package/out/concepts/BatchAssignment__.js +7 -0
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts +7 -0
- package/out/concepts/BinaryExpression__.js +7 -0
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +7 -0
- package/out/concepts/BindAttribute__.js +7 -0
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +7 -0
- package/out/concepts/BindDirective__.js +7 -0
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +7 -0
- package/out/concepts/BindEvent__.js +7 -0
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +7 -0
- package/out/concepts/BindStyle__.js +7 -0
- package/out/concepts/BindStyle__.js.map +1 -1
- package/out/concepts/Block__.d.ts +7 -0
- package/out/concepts/Block__.js +7 -0
- package/out/concepts/Block__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.d.ts +7 -0
- package/out/concepts/BooleanLiteral__.js +7 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/BusinessComponent__.d.ts +7 -0
- package/out/concepts/BusinessComponent__.js +8 -1
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.d.ts +7 -0
- package/out/concepts/BusinessLogic__.js +7 -0
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +7 -0
- package/out/concepts/CallAuthInterface__.js +7 -0
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +7 -0
- package/out/concepts/CallConnector__.js +7 -0
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallEvent__.d.ts +7 -0
- package/out/concepts/CallEvent__.js +7 -0
- package/out/concepts/CallEvent__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +17 -0
- package/out/concepts/CallFunction__.js +73 -2
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +7 -0
- package/out/concepts/CallInterface__.js +7 -0
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +7 -0
- package/out/concepts/CallLogic__.js +17 -9
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts +7 -0
- package/out/concepts/CallQueryComponent__.js +7 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/CapsulesSetter__.d.ts +109 -0
- package/out/concepts/CapsulesSetter__.js +163 -0
- package/out/concepts/CapsulesSetter__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +7 -0
- package/out/concepts/Comment__.js +7 -0
- package/out/concepts/Comment__.js.map +1 -1
- package/out/concepts/CompletionProperty__.d.ts +7 -8
- package/out/concepts/CompletionProperty__.js +7 -16
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.d.ts +7 -0
- package/out/concepts/ConfigGroup__.js +7 -0
- package/out/concepts/ConfigGroup__.js.map +1 -1
- package/out/concepts/ConfigPropertyValue__.d.ts +7 -0
- package/out/concepts/ConfigPropertyValue__.js +7 -0
- package/out/concepts/ConfigPropertyValue__.js.map +1 -1
- package/out/concepts/ConfigProperty__.d.ts +7 -0
- package/out/concepts/ConfigProperty__.js +7 -0
- package/out/concepts/ConfigProperty__.js.map +1 -1
- package/out/concepts/Configuration__.d.ts +7 -0
- package/out/concepts/Configuration__.js +7 -0
- package/out/concepts/Configuration__.js.map +1 -1
- package/out/concepts/Connection__.d.ts +7 -0
- package/out/concepts/Connection__.js +7 -0
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +7 -0
- package/out/concepts/ConnectorTrigger__.js +7 -0
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +7 -0
- package/out/concepts/Connector__.js +7 -0
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/Constant__.d.ts +7 -0
- package/out/concepts/Constant__.js +7 -0
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +7 -0
- package/out/concepts/CountersignPolicy__.js +7 -0
- package/out/concepts/CountersignPolicy__.js.map +1 -1
- package/out/concepts/DataSource__.d.ts +7 -0
- package/out/concepts/DataSource__.js +7 -0
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +7 -0
- package/out/concepts/DatabaseTypeAnnotation__.js +7 -0
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
- package/out/concepts/DefaultValue__.d.ts +7 -0
- package/out/concepts/DefaultValue__.js +7 -0
- package/out/concepts/DefaultValue__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +7 -0
- package/out/concepts/Destination__.js +7 -0
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.d.ts +7 -0
- package/out/concepts/End__.js +7 -0
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityIndex__.d.ts +7 -0
- package/out/concepts/EntityIndex__.js +7 -0
- package/out/concepts/EntityIndex__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +7 -0
- package/out/concepts/EntityProperty__.js +14 -8
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +7 -0
- package/out/concepts/Entity__.js +7 -0
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.d.ts +7 -0
- package/out/concepts/EnumItem__.js +7 -0
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/EnumSelectSetter__.d.ts +109 -0
- package/out/concepts/EnumSelectSetter__.js +163 -0
- package/out/concepts/EnumSelectSetter__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +12 -0
- package/out/concepts/Enum__.js +33 -4
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/EventDeclaration__.d.ts +41 -0
- package/out/concepts/EventDeclaration__.js +81 -0
- package/out/concepts/EventDeclaration__.js.map +1 -0
- package/out/concepts/Event__.d.ts +10 -3
- package/out/concepts/Event__.js +9 -2
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ExternalDestination__.d.ts +7 -0
- package/out/concepts/ExternalDestination__.js +7 -0
- package/out/concepts/ExternalDestination__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts +7 -0
- package/out/concepts/ForEachStatement__.js +7 -0
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +34 -27
- package/out/concepts/FrontendLibrary__.js +39 -32
- package/out/concepts/FrontendLibrary__.js.map +1 -1
- package/out/concepts/FrontendType__.d.ts +7 -0
- package/out/concepts/FrontendType__.js +7 -0
- package/out/concepts/FrontendType__.js.map +1 -1
- package/out/concepts/FrontendVariable__.d.ts +7 -0
- package/out/concepts/FrontendVariable__.js +7 -0
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +7 -0
- package/out/concepts/Frontend__.js +7 -0
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Function__.d.ts +7 -0
- package/out/concepts/Function__.js +7 -0
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +7 -0
- package/out/concepts/I18nInfo__.js +7 -0
- package/out/concepts/I18nInfo__.js.map +1 -1
- package/out/concepts/IconSetter__.d.ts +29 -0
- package/out/concepts/IconSetter__.js +62 -0
- package/out/concepts/IconSetter__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +7 -0
- package/out/concepts/Identifier__.js +7 -0
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.d.ts +7 -0
- package/out/concepts/IfStatement__.js +7 -0
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/ImageSetter__.d.ts +25 -0
- package/out/concepts/ImageSetter__.js +53 -0
- package/out/concepts/ImageSetter__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +7 -0
- package/out/concepts/ImportedInterface__.js +7 -0
- package/out/concepts/ImportedInterface__.js.map +1 -1
- package/out/concepts/InputSetter__.d.ts +29 -0
- package/out/concepts/InputSetter__.js +62 -0
- package/out/concepts/InputSetter__.js.map +1 -0
- package/out/concepts/Integration__.d.ts +7 -0
- package/out/concepts/Integration__.js +7 -0
- package/out/concepts/Integration__.js.map +1 -1
- package/out/concepts/InterfaceParam__.d.ts +7 -0
- package/out/concepts/InterfaceParam__.js +7 -0
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +7 -0
- package/out/concepts/Interface__.js +7 -0
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/JSBlock__.d.ts +7 -0
- package/out/concepts/JSBlock__.js +7 -0
- package/out/concepts/JSBlock__.js.map +1 -1
- package/out/concepts/JavaLogic__.d.ts +7 -0
- package/out/concepts/JavaLogic__.js +7 -0
- package/out/concepts/JavaLogic__.js.map +1 -1
- package/out/concepts/LogicDeclaration__.d.ts +289 -0
- package/out/concepts/LogicDeclaration__.js +352 -0
- package/out/concepts/LogicDeclaration__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +7 -0
- package/out/concepts/LogicItem__.js +7 -0
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +17 -7
- package/out/concepts/Logic__.js +89 -8
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.d.ts +7 -0
- package/out/concepts/MatchCase__.js +7 -0
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Match__.d.ts +7 -0
- package/out/concepts/Match__.js +7 -0
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +7 -0
- package/out/concepts/MemberExpression__.js +7 -0
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/MetadataType__.d.ts +7 -0
- package/out/concepts/MetadataType__.js +7 -0
- package/out/concepts/MetadataType__.js.map +1 -1
- package/out/concepts/MicroApp__.d.ts +7 -0
- package/out/concepts/MicroApp__.js +7 -0
- package/out/concepts/MicroApp__.js.map +1 -1
- package/out/concepts/Module__.d.ts +7 -0
- package/out/concepts/Module__.js +7 -0
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/MsgTriggerEvent__.d.ts +7 -0
- package/out/concepts/MsgTriggerEvent__.js +7 -0
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +7 -0
- package/out/concepts/MsgTriggerLauncher__.js +7 -0
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +7 -0
- package/out/concepts/MultiApprovalPolicy__.js +7 -0
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +34 -27
- package/out/concepts/Namespace__.js +39 -32
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +7 -0
- package/out/concepts/NewComposite__.js +7 -0
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +7 -0
- package/out/concepts/NewList__.js +7 -0
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/NewMap__.d.ts +7 -0
- package/out/concepts/NewMap__.js +7 -0
- package/out/concepts/NewMap__.js.map +1 -1
- package/out/concepts/New__.d.ts +7 -0
- package/out/concepts/New__.js +7 -0
- package/out/concepts/New__.js.map +1 -1
- package/out/concepts/NullLiteral__.d.ts +7 -0
- package/out/concepts/NullLiteral__.js +7 -0
- package/out/concepts/NullLiteral__.js.map +1 -1
- package/out/concepts/NumberInputSetter__.d.ts +45 -0
- package/out/concepts/NumberInputSetter__.js +98 -0
- package/out/concepts/NumberInputSetter__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +7 -0
- package/out/concepts/NumericLiteral__.js +7 -0
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts +7 -0
- package/out/concepts/OqlQueryComponent__.js +7 -0
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +7 -0
- package/out/concepts/OverriddenLogic__.js +7 -0
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Paginate__.d.ts +7 -0
- package/out/concepts/Paginate__.js +7 -0
- package/out/concepts/Paginate__.js.map +1 -1
- package/out/concepts/ParamWithGroup__.d.ts +7 -0
- package/out/concepts/ParamWithGroup__.js +7 -0
- package/out/concepts/ParamWithGroup__.js.map +1 -1
- package/out/concepts/Param__.d.ts +9 -9
- package/out/concepts/Param__.js +17 -19
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Point__.d.ts +7 -0
- package/out/concepts/Point__.js +7 -0
- package/out/concepts/Point__.js.map +1 -1
- package/out/concepts/ProcessComponent__.d.ts +7 -0
- package/out/concepts/ProcessComponent__.js +7 -0
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.d.ts +7 -0
- package/out/concepts/ProcessElement__.js +7 -0
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.d.ts +7 -0
- package/out/concepts/ProcessOutcome__.js +7 -0
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +7 -0
- package/out/concepts/ProcessOutcomes__.js +7 -0
- package/out/concepts/ProcessOutcomes__.js.map +1 -1
- package/out/concepts/Process__.d.ts +7 -0
- package/out/concepts/Process__.js +7 -0
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/PropDeclaration__.d.ts +99 -0
- package/out/concepts/PropDeclaration__.js +183 -0
- package/out/concepts/PropDeclaration__.js.map +1 -0
- package/out/concepts/PropertySelectSetter__.d.ts +25 -0
- package/out/concepts/PropertySelectSetter__.js +53 -0
- package/out/concepts/PropertySelectSetter__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +7 -0
- package/out/concepts/QueryAggregateExpression__.js +7 -0
- package/out/concepts/QueryAggregateExpression__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.d.ts +7 -0
- package/out/concepts/QueryFieldExpression__.js +7 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.d.ts +7 -0
- package/out/concepts/QueryFromExpression__.js +7 -0
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryGroupByExpression__.d.ts +7 -0
- package/out/concepts/QueryGroupByExpression__.js +7 -0
- package/out/concepts/QueryGroupByExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +7 -0
- package/out/concepts/QueryJoinExpression__.js +7 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryLimitExpression__.d.ts +7 -0
- package/out/concepts/QueryLimitExpression__.js +7 -0
- package/out/concepts/QueryLimitExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +7 -0
- package/out/concepts/QueryOrderByExpression__.js +7 -0
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.d.ts +7 -0
- package/out/concepts/QuerySelectExpression__.js +7 -0
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Rect__.d.ts +7 -0
- package/out/concepts/Rect__.js +7 -0
- package/out/concepts/Rect__.js.map +1 -1
- package/out/concepts/Return__.d.ts +8 -1
- package/out/concepts/Return__.js +11 -0
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Role__.d.ts +7 -0
- package/out/concepts/Role__.js +7 -0
- package/out/concepts/Role__.js.map +1 -1
- package/out/concepts/SelectMembers__.d.ts +7 -0
- package/out/concepts/SelectMembers__.js +7 -0
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/SequentialPolicy__.d.ts +7 -0
- package/out/concepts/SequentialPolicy__.js +7 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -1
- package/out/concepts/SetterOption__.d.ts +49 -0
- package/out/concepts/SetterOption__.js +99 -0
- package/out/concepts/SetterOption__.js.map +1 -0
- package/out/concepts/SlotDeclaration__.d.ts +213 -0
- package/out/concepts/SlotDeclaration__.js +287 -0
- package/out/concepts/SlotDeclaration__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +2 -2
- package/out/concepts/Slot__.js +1 -1
- package/out/concepts/Slot__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +7 -0
- package/out/concepts/SqlQueryComponent__.js +7 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/Start__.d.ts +7 -0
- package/out/concepts/Start__.js +7 -0
- package/out/concepts/Start__.js.map +1 -1
- package/out/concepts/StaticString__.d.ts +7 -0
- package/out/concepts/StaticString__.js +7 -0
- package/out/concepts/StaticString__.js.map +1 -1
- package/out/concepts/StringInterpolation__.d.ts +7 -0
- package/out/concepts/StringInterpolation__.js +8 -1
- package/out/concepts/StringInterpolation__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts +7 -0
- package/out/concepts/StringLiteral__.js +7 -0
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +7 -8
- package/out/concepts/StructureProperty__.js +7 -16
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +7 -0
- package/out/concepts/Structure__.js +7 -0
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SwitchCase__.d.ts +7 -0
- package/out/concepts/SwitchCase__.js +7 -0
- package/out/concepts/SwitchCase__.js.map +1 -1
- package/out/concepts/SwitchSetter__.d.ts +25 -0
- package/out/concepts/SwitchSetter__.js +53 -0
- package/out/concepts/SwitchSetter__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +7 -0
- package/out/concepts/SwitchStatement__.js +7 -0
- package/out/concepts/SwitchStatement__.js.map +1 -1
- package/out/concepts/ThemeVariable__.d.ts +29 -0
- package/out/concepts/ThemeVariable__.js +58 -0
- package/out/concepts/ThemeVariable__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +7 -0
- package/out/concepts/Theme__.js +7 -0
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/Transactional__.d.ts +7 -0
- package/out/concepts/Transactional__.js +7 -0
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TriggerEvent__.d.ts +9 -81
- package/out/concepts/TriggerEvent__.js +10 -107
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +7 -0
- package/out/concepts/TriggerLauncher__.js +7 -0
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +7 -0
- package/out/concepts/TypeAnnotation__.js +27 -11
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +7 -0
- package/out/concepts/TypeParam__.js +7 -0
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.d.ts +7 -0
- package/out/concepts/UnaryExpression__.js +7 -0
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Unparsed__.d.ts +7 -0
- package/out/concepts/Unparsed__.js +7 -0
- package/out/concepts/Unparsed__.js.map +1 -1
- package/out/concepts/UseComponent__.d.ts +7 -0
- package/out/concepts/UseComponent__.js +7 -0
- package/out/concepts/UseComponent__.js.map +1 -1
- package/out/concepts/ValidationRule__.d.ts +7 -0
- package/out/concepts/ValidationRule__.js +8 -1
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +8 -1
- package/out/concepts/Variable__.js +11 -0
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewBlockWithImage__.d.ts +33 -0
- package/out/concepts/ViewBlockWithImage__.js +63 -0
- package/out/concepts/ViewBlockWithImage__.js.map +1 -0
- package/out/concepts/ViewBlock__.d.ts +12 -5
- package/out/concepts/ViewBlock__.js +16 -5
- package/out/concepts/ViewBlock__.js.map +1 -1
- package/out/concepts/ViewComponentDeclaration__.d.ts +721 -0
- package/out/concepts/ViewComponentDeclaration__.js +808 -0
- package/out/concepts/ViewComponentDeclaration__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +7 -0
- package/out/concepts/ViewElement__.js +8 -6
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +9 -1
- package/out/concepts/View__.js +66 -5
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.d.ts +7 -0
- package/out/concepts/WhileStatement__.js +7 -0
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.process.js +101 -3
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/index__.d.ts +17 -2
- package/out/concepts/index__.js +17 -2
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +781 -41
- package/out/concepts/utils/asserts.js +1117 -133
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +56 -7
- package/out/generator/genMetaData.js +6 -0
- package/out/generator/genMetaData.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +3 -1
- package/out/index.js.map +1 -1
- package/out/server/createUiTs.js +0 -1
- package/out/server/createUiTs.js.map +1 -1
- package/out/server/entity2LogicNamespace.js +1 -15
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/getConnector.d.ts +1 -0
- package/out/server/getConnector.js +35 -32
- package/out/server/getConnector.js.map +1 -1
- package/out/server/getLogics.js +1 -1
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +3 -3
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/templator/genEditTableBlock.js +1 -1
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +1 -1
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genTableBlock.js +2 -2
- package/out/templator/genTableBlock.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.collection.ts +5 -3
- package/sandbox/stdlib/nasl.core.ts +2 -1
- package/sandbox/stdlib/nasl.process.ts +18 -0
- package/sandbox/stdlib/nasl.util.ts +5 -3
- package/src/common/BaseNode.ts +10 -1
- package/src/concepts/Abort__.ts +7 -0
- package/src/concepts/AbstractInterface__.ts +7 -0
- package/src/concepts/Anchor__.ts +7 -0
- package/src/concepts/AnonymousFunction__.ts +7 -0
- package/src/concepts/App__.ts +8 -1
- package/src/concepts/Argument__.ts +7 -0
- package/src/concepts/Assignee__.ts +7 -0
- package/src/concepts/AssignmentLine__.ts +7 -0
- package/src/concepts/Assignment__.ts +7 -0
- package/src/concepts/Attribute__.ts +12 -22
- package/src/concepts/AuthInterface__.ts +7 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +7 -0
- package/src/concepts/AuthLogic__.ts +7 -0
- package/src/concepts/BackendVariable__.ts +7 -0
- package/src/concepts/Backend__.ts +7 -0
- package/src/concepts/BaseSetter__.ts +72 -0
- package/src/concepts/BatchAssignment__.ts +7 -0
- package/src/concepts/BinaryExpression__.ts +7 -0
- package/src/concepts/BindAttribute__.ts +8 -1
- package/src/concepts/BindDirective__.ts +7 -0
- package/src/concepts/BindEvent__.ts +7 -0
- package/src/concepts/BindStyle__.ts +7 -0
- package/src/concepts/Block__.ts +7 -0
- package/src/concepts/BooleanLiteral__.ts +7 -0
- package/src/concepts/BusinessComponent__.ts +20 -10
- package/src/concepts/BusinessLogic__.ts +7 -0
- package/src/concepts/CallAuthInterface__.ts +7 -0
- package/src/concepts/CallConnector__.ts +7 -0
- package/src/concepts/CallEvent__.ts +7 -0
- package/src/concepts/CallFunction__.ts +84 -2
- package/src/concepts/CallInterface__.ts +7 -0
- package/src/concepts/CallLogic__.ts +25 -16
- package/src/concepts/CallQueryComponent__.ts +16 -9
- package/src/concepts/CapsulesSetter__.ts +254 -0
- package/src/concepts/Comment__.ts +7 -0
- package/src/concepts/CompletionProperty__.ts +7 -20
- package/src/concepts/ConfigGroup__.ts +7 -0
- package/src/concepts/ConfigPropertyValue__.ts +7 -0
- package/src/concepts/ConfigProperty__.ts +7 -0
- package/src/concepts/Configuration__.ts +7 -0
- package/src/concepts/Connection__.ts +7 -0
- package/src/concepts/ConnectorTrigger__.ts +7 -0
- package/src/concepts/Connector__.ts +7 -0
- package/src/concepts/Constant__.ts +7 -0
- package/src/concepts/CountersignPolicy__.ts +7 -0
- package/src/concepts/DataSource__.ts +7 -0
- package/src/concepts/DatabaseTypeAnnotation__.ts +7 -0
- package/src/concepts/DefaultValue__.ts +7 -0
- package/src/concepts/Destination__.ts +7 -0
- package/src/concepts/End__.ts +7 -0
- package/src/concepts/EntityIndex__.ts +7 -0
- package/src/concepts/EntityProperty__.ts +14 -8
- package/src/concepts/Entity__.ts +7 -0
- package/src/concepts/EnumItem__.ts +7 -0
- package/src/concepts/EnumSelectSetter__.ts +254 -0
- package/src/concepts/Enum__.ts +38 -5
- package/src/concepts/EventDeclaration__.ts +95 -0
- package/src/concepts/Event__.ts +10 -3
- package/src/concepts/ExternalDestination__.ts +7 -0
- package/src/concepts/ForEachStatement__.ts +7 -0
- package/src/concepts/FrontendLibrary__.ts +93 -62
- package/src/concepts/FrontendType__.ts +7 -0
- package/src/concepts/FrontendVariable__.ts +7 -0
- package/src/concepts/Frontend__.ts +7 -0
- package/src/concepts/Function__.ts +7 -0
- package/src/concepts/I18nInfo__.ts +7 -0
- package/src/concepts/IconSetter__.ts +72 -0
- package/src/concepts/Identifier__.ts +7 -0
- package/src/concepts/IfStatement__.ts +7 -0
- package/src/concepts/ImageSetter__.ts +65 -0
- package/src/concepts/ImportedInterface__.ts +7 -0
- package/src/concepts/InputSetter__.ts +72 -0
- package/src/concepts/Integration__.ts +7 -0
- package/src/concepts/InterfaceParam__.ts +7 -0
- package/src/concepts/Interface__.ts +7 -0
- package/src/concepts/JSBlock__.ts +7 -0
- package/src/concepts/JavaLogic__.ts +7 -0
- package/src/concepts/LogicDeclaration__.ts +657 -0
- package/src/concepts/LogicItem__.ts +7 -0
- package/src/concepts/Logic__.ts +122 -34
- package/src/concepts/MatchCase__.ts +10 -3
- package/src/concepts/Match__.ts +9 -2
- package/src/concepts/MemberExpression__.ts +7 -0
- package/src/concepts/MetadataType__.ts +7 -0
- package/src/concepts/MicroApp__.ts +7 -0
- package/src/concepts/Module__.ts +7 -0
- package/src/concepts/MsgTriggerEvent__.ts +7 -0
- package/src/concepts/MsgTriggerLauncher__.ts +7 -0
- package/src/concepts/MultiApprovalPolicy__.ts +7 -0
- package/src/concepts/Namespace__.ts +91 -60
- package/src/concepts/NewComposite__.ts +7 -0
- package/src/concepts/NewList__.ts +7 -0
- package/src/concepts/NewMap__.ts +7 -0
- package/src/concepts/New__.ts +7 -0
- package/src/concepts/NullLiteral__.ts +7 -0
- package/src/concepts/NumberInputSetter__.ts +104 -0
- package/src/concepts/NumericLiteral__.ts +7 -0
- package/src/concepts/OqlQueryComponent__.ts +7 -0
- package/src/concepts/OverriddenLogic__.ts +7 -0
- package/src/concepts/Paginate__.ts +7 -0
- package/src/concepts/ParamWithGroup__.ts +7 -0
- package/src/concepts/Param__.ts +14 -24
- package/src/concepts/Point__.ts +7 -0
- package/src/concepts/ProcessComponent__.ts +7 -0
- package/src/concepts/ProcessElement__.ts +7 -0
- package/src/concepts/ProcessOutcome__.ts +7 -0
- package/src/concepts/ProcessOutcomes__.ts +7 -0
- package/src/concepts/Process__.ts +7 -0
- package/src/concepts/PropDeclaration__.ts +209 -0
- package/src/concepts/PropertySelectSetter__.ts +65 -0
- package/src/concepts/QueryAggregateExpression__.ts +7 -0
- package/src/concepts/QueryFieldExpression__.ts +7 -0
- package/src/concepts/QueryFromExpression__.ts +7 -0
- package/src/concepts/QueryGroupByExpression__.ts +7 -0
- package/src/concepts/QueryJoinExpression__.ts +7 -0
- package/src/concepts/QueryLimitExpression__.ts +7 -0
- package/src/concepts/QueryOrderByExpression__.ts +7 -0
- package/src/concepts/QuerySelectExpression__.ts +7 -0
- package/src/concepts/Rect__.ts +7 -0
- package/src/concepts/Return__.ts +8 -1
- package/src/concepts/Role__.ts +7 -0
- package/src/concepts/SelectMembers__.ts +7 -0
- package/src/concepts/SequentialPolicy__.ts +7 -0
- package/src/concepts/SetterOption__.ts +111 -0
- package/src/concepts/SlotDeclaration__.ts +488 -0
- package/src/concepts/Slot__.ts +2 -2
- package/src/concepts/SqlQueryComponent__.ts +7 -0
- package/src/concepts/Start__.ts +7 -0
- package/src/concepts/StaticString__.ts +7 -0
- package/src/concepts/StringInterpolation__.ts +8 -1
- package/src/concepts/StringLiteral__.ts +7 -0
- package/src/concepts/StructureProperty__.ts +7 -20
- package/src/concepts/Structure__.ts +7 -0
- package/src/concepts/SwitchCase__.ts +7 -0
- package/src/concepts/SwitchSetter__.ts +65 -0
- package/src/concepts/SwitchStatement__.ts +7 -0
- package/src/concepts/ThemeVariable__.ts +71 -0
- package/src/concepts/Theme__.ts +7 -0
- package/src/concepts/Transactional__.ts +7 -0
- package/src/concepts/TriggerEvent__.ts +12 -185
- package/src/concepts/TriggerLauncher__.ts +7 -0
- package/src/concepts/TypeAnnotation__.ts +29 -12
- package/src/concepts/TypeParam__.ts +7 -0
- package/src/concepts/UnaryExpression__.ts +7 -0
- package/src/concepts/Unparsed__.ts +7 -0
- package/src/concepts/UseComponent__.ts +7 -0
- package/src/concepts/ValidationRule__.ts +8 -1
- package/src/concepts/Variable__.ts +8 -1
- package/src/concepts/ViewBlockWithImage__.ts +80 -0
- package/src/concepts/ViewBlock__.ts +16 -9
- package/src/concepts/ViewComponentDeclaration__.ts +1670 -0
- package/src/concepts/ViewElement__.ts +9 -7
- package/src/concepts/View__.ts +91 -25
- package/src/concepts/WhileStatement__.ts +7 -0
- package/src/concepts/basics/stdlib/nasl.process.ts +103 -7
- package/src/concepts/basics/stdlib/nasl.util.ts +1 -1
- package/src/concepts/index__.ts +17 -2
- package/src/concepts/utils/asserts.ts +1223 -166
- package/src/concepts/utils/types.ts +85 -8
- package/src/generator/genMetaData.ts +7 -1
- package/src/index.ts +1 -0
- package/src/server/createUiTs.ts +0 -1
- package/src/server/entity2LogicNamespace.ts +1 -16
- package/src/server/getConnector.ts +40 -32
- package/src/server/getLogics.ts +1 -1
- package/src/server/getMemberIdentifier.ts +3 -3
- package/src/templator/genEditTableBlock.ts +1 -1
- package/src/templator/genGridViewBlock.ts +1 -1
- package/src/templator/genTableBlock.ts +2 -2
- package/test/concepts/entity/__snapshots__/toEmbeddedTS.spec.ts.snap +2 -2
- package/.nyc_output/processinfo/d58d92d8-c0d6-479b-9f82-1f4da8e73ff3.json +0 -1
- package/out/concepts/ViewComponent__.d.ts +0 -549
- package/out/concepts/ViewComponent__.js +0 -620
- package/out/concepts/ViewComponent__.js.map +0 -1
- package/src/concepts/ViewComponent__.ts +0 -1245
|
@@ -28,6 +28,13 @@ import LogicItem from './LogicItem__';
|
|
|
28
28
|
export class JSBlock extends LogicItem {
|
|
29
29
|
/** 类名 */
|
|
30
30
|
static readonly ConceptName: string = 'JSBlock';
|
|
31
|
+
/**
|
|
32
|
+
* 是否为抽象类
|
|
33
|
+
* 抽象类不能产生 concept: string
|
|
34
|
+
*/
|
|
35
|
+
static isAbstract: boolean = false;
|
|
36
|
+
/** 继承链 */
|
|
37
|
+
static readonly inheritanceChain: string[] = ['LogicItem', 'BaseNode'];
|
|
31
38
|
|
|
32
39
|
/**
|
|
33
40
|
* 产品概念
|
|
@@ -28,6 +28,13 @@ import LogicItem from './LogicItem__';
|
|
|
28
28
|
export class JavaLogic extends LogicItem {
|
|
29
29
|
/** 类名 */
|
|
30
30
|
static readonly ConceptName: string = 'JavaLogic';
|
|
31
|
+
/**
|
|
32
|
+
* 是否为抽象类
|
|
33
|
+
* 抽象类不能产生 concept: string
|
|
34
|
+
*/
|
|
35
|
+
static isAbstract: boolean = false;
|
|
36
|
+
/** 继承链 */
|
|
37
|
+
static readonly inheritanceChain: string[] = ['LogicItem', 'BaseNode'];
|
|
31
38
|
|
|
32
39
|
/**
|
|
33
40
|
* 产品概念
|
|
@@ -0,0 +1,657 @@
|
|
|
1
|
+
//================================================================================
|
|
2
|
+
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
3
|
+
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
4
|
+
//================================================================================
|
|
5
|
+
import { EventPayload, Params } from '../common/EventEmitter';
|
|
6
|
+
import { concept, excludedInJSON, property, getConceptConstructor } from '../decorators';
|
|
7
|
+
|
|
8
|
+
import * as utils from '../utils';
|
|
9
|
+
import * as types from './utils/types';
|
|
10
|
+
import * as asserts from './utils/asserts';
|
|
11
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
12
|
+
import BaseNode from '../common/BaseNode';
|
|
13
|
+
import TypeParam from './TypeParam__';
|
|
14
|
+
import Param from './Param__';
|
|
15
|
+
import Return from './Return__';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 逻辑声明
|
|
19
|
+
*/
|
|
20
|
+
@concept('逻辑声明')
|
|
21
|
+
export class LogicDeclaration extends BaseNode {
|
|
22
|
+
/** 类名 */
|
|
23
|
+
static readonly ConceptName: string = 'LogicDeclaration';
|
|
24
|
+
/**
|
|
25
|
+
* 是否为抽象类
|
|
26
|
+
* 抽象类不能产生 concept: string
|
|
27
|
+
*/
|
|
28
|
+
static isAbstract: boolean = false;
|
|
29
|
+
/** 继承链 */
|
|
30
|
+
static readonly inheritanceChain: string[] = ['BaseNode'];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 产品概念
|
|
34
|
+
*/
|
|
35
|
+
@property('concept')
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
readonly concept!: 'LogicDeclaration';
|
|
38
|
+
/**
|
|
39
|
+
* 逻辑名称
|
|
40
|
+
*/
|
|
41
|
+
@property({
|
|
42
|
+
objectRef: '',
|
|
43
|
+
})
|
|
44
|
+
name: string = '';
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 逻辑标题
|
|
48
|
+
*/
|
|
49
|
+
@property({
|
|
50
|
+
objectRef: '',
|
|
51
|
+
})
|
|
52
|
+
title: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 逻辑描述
|
|
56
|
+
*/
|
|
57
|
+
@property({
|
|
58
|
+
objectRef: '',
|
|
59
|
+
})
|
|
60
|
+
description: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 类型参数列表
|
|
64
|
+
*/
|
|
65
|
+
@property({
|
|
66
|
+
objectRef: 'TypeParam',
|
|
67
|
+
isArray: true,
|
|
68
|
+
defaultValue: null,
|
|
69
|
+
})
|
|
70
|
+
typeParams?: Array<TypeParam> = null;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 输入参数列表
|
|
74
|
+
*/
|
|
75
|
+
@property({
|
|
76
|
+
objectRef: 'Param',
|
|
77
|
+
isArray: true,
|
|
78
|
+
defaultValue: [],
|
|
79
|
+
})
|
|
80
|
+
params: Array<Param> = [];
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 输出参数列表
|
|
84
|
+
*/
|
|
85
|
+
@property({
|
|
86
|
+
objectRef: 'Return',
|
|
87
|
+
isArray: true,
|
|
88
|
+
defaultValue: [],
|
|
89
|
+
})
|
|
90
|
+
returns: Array<Return> = [];
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @param source 需要合并的部分参数
|
|
94
|
+
*/
|
|
95
|
+
constructor(source?: Partial<LogicDeclaration>) {
|
|
96
|
+
source = Object.assign({}, LogicDeclaration.getDefaultOptions(), source);
|
|
97
|
+
super(source);
|
|
98
|
+
super.subConstructor(source);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static from(source: any, parentNode?: any, parentKey?: string): LogicDeclaration {
|
|
102
|
+
return super.from(source, parentNode, parentKey) as LogicDeclaration;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
getTypeParamExistingNames(excludedList: Array<TypeParam> = []) {
|
|
106
|
+
const excludedSet = new Set(excludedList);
|
|
107
|
+
return ((this.typeParams as TypeParam[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
108
|
+
}
|
|
109
|
+
getTypeParamUniqueName(name = 'typeParam1') {
|
|
110
|
+
return utils.unique(name, this.getTypeParamExistingNames(), undefined, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* 插入类型参数
|
|
115
|
+
* @internal
|
|
116
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
117
|
+
*/
|
|
118
|
+
_insertTypeParamAt(name: string, index: number): TypeParam;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 插入类型参数
|
|
122
|
+
* @internal
|
|
123
|
+
* @param typeParamOptions 类型参数参数
|
|
124
|
+
*/
|
|
125
|
+
_insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 插入类型参数
|
|
129
|
+
* @internal
|
|
130
|
+
* @param typeParam 已有的类型参数实例
|
|
131
|
+
*/
|
|
132
|
+
_insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
133
|
+
|
|
134
|
+
_insertTypeParamAt(options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
135
|
+
const typeParamOptions: any = {};
|
|
136
|
+
const relationOptions = { parentNode: this, parentKey: 'typeParams' };
|
|
137
|
+
const TypeParam = getConceptConstructor('TypeParam');
|
|
138
|
+
let typeParam: TypeParam;
|
|
139
|
+
if (!options) {
|
|
140
|
+
typeParam = TypeParam.from(
|
|
141
|
+
{
|
|
142
|
+
...typeParamOptions,
|
|
143
|
+
name: this.getTypeParamUniqueName(),
|
|
144
|
+
},
|
|
145
|
+
this,
|
|
146
|
+
'typeParams',
|
|
147
|
+
);
|
|
148
|
+
} else if (typeof options === 'string') {
|
|
149
|
+
typeParam = TypeParam.from(
|
|
150
|
+
{
|
|
151
|
+
...typeParamOptions,
|
|
152
|
+
name: options,
|
|
153
|
+
},
|
|
154
|
+
this,
|
|
155
|
+
'typeParams',
|
|
156
|
+
);
|
|
157
|
+
} else if (asserts.isTypeParam(options)) {
|
|
158
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
159
|
+
typeParam = options;
|
|
160
|
+
Object.assign(typeParam, relationOptions);
|
|
161
|
+
} else {
|
|
162
|
+
typeParam = TypeParam.from(
|
|
163
|
+
{
|
|
164
|
+
...typeParamOptions,
|
|
165
|
+
...options,
|
|
166
|
+
},
|
|
167
|
+
this,
|
|
168
|
+
'typeParams',
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
this.typeParams.splice(index, 0, typeParam);
|
|
172
|
+
return typeParam;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* 插入类型参数
|
|
177
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
178
|
+
*/
|
|
179
|
+
insertTypeParamAt(name: string, index: number): TypeParam;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* 插入类型参数
|
|
183
|
+
* @param typeParamOptions 类型参数参数
|
|
184
|
+
*/
|
|
185
|
+
insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 插入类型参数
|
|
189
|
+
* @param typeParam 已有的类型参数实例
|
|
190
|
+
*/
|
|
191
|
+
insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
192
|
+
|
|
193
|
+
insertTypeParamAt(options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
194
|
+
const node = this._insertTypeParamAt(options as any, index);
|
|
195
|
+
node.create({
|
|
196
|
+
index,
|
|
197
|
+
parentNode: this,
|
|
198
|
+
parentKey: 'typeParams',
|
|
199
|
+
});
|
|
200
|
+
return node;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 添加类型参数
|
|
205
|
+
* @internal
|
|
206
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
207
|
+
*/
|
|
208
|
+
_addTypeParam(name?: string): TypeParam;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* 添加类型参数
|
|
212
|
+
* @internal
|
|
213
|
+
* @param typeParamOptions 类型参数参数
|
|
214
|
+
*/
|
|
215
|
+
_addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 添加类型参数
|
|
219
|
+
* @internal
|
|
220
|
+
* @param typeParam 已有的类型参数实例
|
|
221
|
+
*/
|
|
222
|
+
_addTypeParam(typeParam: TypeParam): TypeParam;
|
|
223
|
+
|
|
224
|
+
_addTypeParam(options?: string | Partial<TypeParam> | TypeParam) {
|
|
225
|
+
const index = this.typeParams.length;
|
|
226
|
+
return this._insertTypeParamAt(options as any, index);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* 添加类型参数
|
|
231
|
+
* @internal
|
|
232
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
233
|
+
*/
|
|
234
|
+
addTypeParam(name?: string): TypeParam;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* 添加类型参数
|
|
238
|
+
* @param typeParamOptions 类型参数参数
|
|
239
|
+
*/
|
|
240
|
+
addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* 添加类型参数
|
|
244
|
+
* @param typeParam 已有的类型参数实例
|
|
245
|
+
*/
|
|
246
|
+
addTypeParam(typeParam: TypeParam): TypeParam;
|
|
247
|
+
|
|
248
|
+
addTypeParam(options?: string | Partial<TypeParam> | TypeParam) {
|
|
249
|
+
const node = this._addTypeParam(options as any);
|
|
250
|
+
const index = this.typeParams.indexOf(node);
|
|
251
|
+
node.create({
|
|
252
|
+
index,
|
|
253
|
+
parentNode: this,
|
|
254
|
+
parentKey: 'typeParams',
|
|
255
|
+
});
|
|
256
|
+
return node;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
getParamExistingNames(excludedList: Array<Param> = []) {
|
|
260
|
+
const excludedSet = new Set(excludedList);
|
|
261
|
+
return ((this.params as Param[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
262
|
+
}
|
|
263
|
+
getParamUniqueName(name = 'param1') {
|
|
264
|
+
return utils.unique(name, this.getParamExistingNames(), undefined, false);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* 插入输入参数
|
|
269
|
+
* @internal
|
|
270
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
271
|
+
*/
|
|
272
|
+
_insertParamAt(name: string, index: number): Param;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 插入输入参数
|
|
276
|
+
* @internal
|
|
277
|
+
* @param paramOptions 输入参数参数
|
|
278
|
+
*/
|
|
279
|
+
_insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 插入输入参数
|
|
283
|
+
* @internal
|
|
284
|
+
* @param param 已有的输入参数实例
|
|
285
|
+
*/
|
|
286
|
+
_insertParamAt(param: Param, index: number): Param;
|
|
287
|
+
|
|
288
|
+
_insertParamAt(options: string | Partial<Param> | Param, index: number) {
|
|
289
|
+
const paramOptions: any = {};
|
|
290
|
+
const relationOptions = { parentNode: this, parentKey: 'params' };
|
|
291
|
+
const Param = getConceptConstructor('Param');
|
|
292
|
+
let param: Param;
|
|
293
|
+
if (!options) {
|
|
294
|
+
param = Param.from(
|
|
295
|
+
{
|
|
296
|
+
...paramOptions,
|
|
297
|
+
name: this.getParamUniqueName(),
|
|
298
|
+
},
|
|
299
|
+
this,
|
|
300
|
+
'params',
|
|
301
|
+
);
|
|
302
|
+
} else if (typeof options === 'string') {
|
|
303
|
+
param = Param.from(
|
|
304
|
+
{
|
|
305
|
+
...paramOptions,
|
|
306
|
+
name: options,
|
|
307
|
+
},
|
|
308
|
+
this,
|
|
309
|
+
'params',
|
|
310
|
+
);
|
|
311
|
+
} else if (asserts.isParam(options)) {
|
|
312
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
313
|
+
param = options;
|
|
314
|
+
Object.assign(param, relationOptions);
|
|
315
|
+
} else {
|
|
316
|
+
param = Param.from(
|
|
317
|
+
{
|
|
318
|
+
...paramOptions,
|
|
319
|
+
...options,
|
|
320
|
+
},
|
|
321
|
+
this,
|
|
322
|
+
'params',
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
this.params.splice(index, 0, param);
|
|
326
|
+
return param;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* 插入输入参数
|
|
331
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
332
|
+
*/
|
|
333
|
+
insertParamAt(name: string, index: number): Param;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* 插入输入参数
|
|
337
|
+
* @param paramOptions 输入参数参数
|
|
338
|
+
*/
|
|
339
|
+
insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* 插入输入参数
|
|
343
|
+
* @param param 已有的输入参数实例
|
|
344
|
+
*/
|
|
345
|
+
insertParamAt(param: Param, index: number): Param;
|
|
346
|
+
|
|
347
|
+
insertParamAt(options: string | Partial<Param> | Param, index: number) {
|
|
348
|
+
const node = this._insertParamAt(options as any, index);
|
|
349
|
+
node.create({
|
|
350
|
+
index,
|
|
351
|
+
parentNode: this,
|
|
352
|
+
parentKey: 'params',
|
|
353
|
+
});
|
|
354
|
+
return node;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* 添加输入参数
|
|
359
|
+
* @internal
|
|
360
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
361
|
+
*/
|
|
362
|
+
_addParam(name?: string): Param;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* 添加输入参数
|
|
366
|
+
* @internal
|
|
367
|
+
* @param paramOptions 输入参数参数
|
|
368
|
+
*/
|
|
369
|
+
_addParam(paramOptions: Partial<Param>): Param;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* 添加输入参数
|
|
373
|
+
* @internal
|
|
374
|
+
* @param param 已有的输入参数实例
|
|
375
|
+
*/
|
|
376
|
+
_addParam(param: Param): Param;
|
|
377
|
+
|
|
378
|
+
_addParam(options?: string | Partial<Param> | Param) {
|
|
379
|
+
const index = this.params.length;
|
|
380
|
+
return this._insertParamAt(options as any, index);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 添加输入参数
|
|
385
|
+
* @internal
|
|
386
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
387
|
+
*/
|
|
388
|
+
addParam(name?: string): Param;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* 添加输入参数
|
|
392
|
+
* @param paramOptions 输入参数参数
|
|
393
|
+
*/
|
|
394
|
+
addParam(paramOptions: Partial<Param>): Param;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* 添加输入参数
|
|
398
|
+
* @param param 已有的输入参数实例
|
|
399
|
+
*/
|
|
400
|
+
addParam(param: Param): Param;
|
|
401
|
+
|
|
402
|
+
addParam(options?: string | Partial<Param> | Param) {
|
|
403
|
+
const node = this._addParam(options as any);
|
|
404
|
+
const index = this.params.indexOf(node);
|
|
405
|
+
node.create({
|
|
406
|
+
index,
|
|
407
|
+
parentNode: this,
|
|
408
|
+
parentKey: 'params',
|
|
409
|
+
});
|
|
410
|
+
return node;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
getReturnExistingNames(excludedList: Array<Return> = []) {
|
|
414
|
+
const excludedSet = new Set(excludedList);
|
|
415
|
+
return ((this.returns as Return[]) || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
416
|
+
}
|
|
417
|
+
getReturnUniqueName(name = 'ret1') {
|
|
418
|
+
return utils.unique(name, this.getReturnExistingNames(), undefined, false);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* 插入输出参数
|
|
423
|
+
* @internal
|
|
424
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
425
|
+
*/
|
|
426
|
+
_insertReturnAt(name: string, index: number): Return;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* 插入输出参数
|
|
430
|
+
* @internal
|
|
431
|
+
* @param retOptions 输出参数参数
|
|
432
|
+
*/
|
|
433
|
+
_insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* 插入输出参数
|
|
437
|
+
* @internal
|
|
438
|
+
* @param ret 已有的输出参数实例
|
|
439
|
+
*/
|
|
440
|
+
_insertReturnAt(ret: Return, index: number): Return;
|
|
441
|
+
|
|
442
|
+
_insertReturnAt(options: string | Partial<Return> | Return, index: number) {
|
|
443
|
+
const retOptions: any = {};
|
|
444
|
+
const relationOptions = { parentNode: this, parentKey: 'returns' };
|
|
445
|
+
const Return = getConceptConstructor('Return');
|
|
446
|
+
let ret: Return;
|
|
447
|
+
if (!options) {
|
|
448
|
+
ret = Return.from(
|
|
449
|
+
{
|
|
450
|
+
...retOptions,
|
|
451
|
+
name: this.getReturnUniqueName(),
|
|
452
|
+
},
|
|
453
|
+
this,
|
|
454
|
+
'returns',
|
|
455
|
+
);
|
|
456
|
+
} else if (typeof options === 'string') {
|
|
457
|
+
ret = Return.from(
|
|
458
|
+
{
|
|
459
|
+
...retOptions,
|
|
460
|
+
name: options,
|
|
461
|
+
},
|
|
462
|
+
this,
|
|
463
|
+
'returns',
|
|
464
|
+
);
|
|
465
|
+
} else if (asserts.isReturn(options)) {
|
|
466
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
467
|
+
ret = options;
|
|
468
|
+
Object.assign(ret, relationOptions);
|
|
469
|
+
} else {
|
|
470
|
+
ret = Return.from(
|
|
471
|
+
{
|
|
472
|
+
...retOptions,
|
|
473
|
+
...options,
|
|
474
|
+
},
|
|
475
|
+
this,
|
|
476
|
+
'returns',
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
this.returns.splice(index, 0, ret);
|
|
480
|
+
return ret;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* 插入输出参数
|
|
485
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
486
|
+
*/
|
|
487
|
+
insertReturnAt(name: string, index: number): Return;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* 插入输出参数
|
|
491
|
+
* @param retOptions 输出参数参数
|
|
492
|
+
*/
|
|
493
|
+
insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* 插入输出参数
|
|
497
|
+
* @param ret 已有的输出参数实例
|
|
498
|
+
*/
|
|
499
|
+
insertReturnAt(ret: Return, index: number): Return;
|
|
500
|
+
|
|
501
|
+
insertReturnAt(options: string | Partial<Return> | Return, index: number) {
|
|
502
|
+
const node = this._insertReturnAt(options as any, index);
|
|
503
|
+
node.create({
|
|
504
|
+
index,
|
|
505
|
+
parentNode: this,
|
|
506
|
+
parentKey: 'returns',
|
|
507
|
+
});
|
|
508
|
+
return node;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* 添加输出参数
|
|
513
|
+
* @internal
|
|
514
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
515
|
+
*/
|
|
516
|
+
_addReturn(name?: string): Return;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* 添加输出参数
|
|
520
|
+
* @internal
|
|
521
|
+
* @param retOptions 输出参数参数
|
|
522
|
+
*/
|
|
523
|
+
_addReturn(retOptions: Partial<Return>): Return;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* 添加输出参数
|
|
527
|
+
* @internal
|
|
528
|
+
* @param ret 已有的输出参数实例
|
|
529
|
+
*/
|
|
530
|
+
_addReturn(ret: Return): Return;
|
|
531
|
+
|
|
532
|
+
_addReturn(options?: string | Partial<Return> | Return) {
|
|
533
|
+
const index = this.returns.length;
|
|
534
|
+
return this._insertReturnAt(options as any, index);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* 添加输出参数
|
|
539
|
+
* @internal
|
|
540
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
541
|
+
*/
|
|
542
|
+
addReturn(name?: string): Return;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* 添加输出参数
|
|
546
|
+
* @param retOptions 输出参数参数
|
|
547
|
+
*/
|
|
548
|
+
addReturn(retOptions: Partial<Return>): Return;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* 添加输出参数
|
|
552
|
+
* @param ret 已有的输出参数实例
|
|
553
|
+
*/
|
|
554
|
+
addReturn(ret: Return): Return;
|
|
555
|
+
|
|
556
|
+
addReturn(options?: string | Partial<Return> | Return) {
|
|
557
|
+
const node = this._addReturn(options as any);
|
|
558
|
+
const index = this.returns.indexOf(node);
|
|
559
|
+
node.create({
|
|
560
|
+
index,
|
|
561
|
+
parentNode: this,
|
|
562
|
+
parentKey: 'returns',
|
|
563
|
+
});
|
|
564
|
+
return node;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* 删除类型参数
|
|
569
|
+
* @param name 类型参数名称
|
|
570
|
+
*/
|
|
571
|
+
removeTypeParam(name: string): void;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* 删除类型参数
|
|
575
|
+
* @param typeParam 已有的类型参数实例
|
|
576
|
+
*/
|
|
577
|
+
removeTypeParam(typeParam: TypeParam): void;
|
|
578
|
+
|
|
579
|
+
removeTypeParam(options: string | TypeParam) {
|
|
580
|
+
let typeParam: TypeParam;
|
|
581
|
+
if (typeof options === 'string') {
|
|
582
|
+
typeParam = (this.typeParams as TypeParam[]).find((item) => item.name === options);
|
|
583
|
+
if (!typeParam) {
|
|
584
|
+
throw new Error('找不到类型参数 ' + options);
|
|
585
|
+
}
|
|
586
|
+
} else {
|
|
587
|
+
typeParam = options;
|
|
588
|
+
}
|
|
589
|
+
return typeParam.delete();
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* 删除输入参数
|
|
594
|
+
* @param name 输入参数名称
|
|
595
|
+
*/
|
|
596
|
+
removeParam(name: string): void;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* 删除输入参数
|
|
600
|
+
* @param param 已有的输入参数实例
|
|
601
|
+
*/
|
|
602
|
+
removeParam(param: Param): void;
|
|
603
|
+
|
|
604
|
+
removeParam(options: string | Param) {
|
|
605
|
+
let param: Param;
|
|
606
|
+
if (typeof options === 'string') {
|
|
607
|
+
param = (this.params as Param[]).find((item) => item.name === options);
|
|
608
|
+
if (!param) {
|
|
609
|
+
throw new Error('找不到输入参数 ' + options);
|
|
610
|
+
}
|
|
611
|
+
} else {
|
|
612
|
+
param = options;
|
|
613
|
+
}
|
|
614
|
+
return param.delete();
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* 删除输出参数
|
|
619
|
+
* @param name 输出参数名称
|
|
620
|
+
*/
|
|
621
|
+
removeReturn(name: string): void;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* 删除输出参数
|
|
625
|
+
* @param ret 已有的输出参数实例
|
|
626
|
+
*/
|
|
627
|
+
removeReturn(ret: Return): void;
|
|
628
|
+
|
|
629
|
+
removeReturn(options: string | Return) {
|
|
630
|
+
let ret: Return;
|
|
631
|
+
if (typeof options === 'string') {
|
|
632
|
+
ret = (this.returns as Return[]).find((item) => item.name === options);
|
|
633
|
+
if (!ret) {
|
|
634
|
+
throw new Error('找不到输出参数 ' + options);
|
|
635
|
+
}
|
|
636
|
+
} else {
|
|
637
|
+
ret = options;
|
|
638
|
+
}
|
|
639
|
+
return ret.delete();
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
//================================================================================
|
|
643
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
644
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
645
|
+
//================================================================================
|
|
646
|
+
|
|
647
|
+
//================================================================================
|
|
648
|
+
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
649
|
+
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
650
|
+
//================================================================================
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export default LogicDeclaration;
|
|
654
|
+
//================================================================================
|
|
655
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
656
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
657
|
+
//================================================================================
|
|
@@ -40,6 +40,13 @@ import BaseNode from '../common/BaseNode';
|
|
|
40
40
|
export abstract class LogicItem extends BaseNode {
|
|
41
41
|
/** 类名 */
|
|
42
42
|
static readonly ConceptName: string = 'LogicItem';
|
|
43
|
+
/**
|
|
44
|
+
* 是否为抽象类
|
|
45
|
+
* 抽象类不能产生 concept: string
|
|
46
|
+
*/
|
|
47
|
+
static isAbstract: boolean = true;
|
|
48
|
+
/** 继承链 */
|
|
49
|
+
static readonly inheritanceChain: string[] = ['BaseNode'];
|
|
43
50
|
|
|
44
51
|
/**
|
|
45
52
|
* 产品概念
|