@lcap/nasl 2.22.12-beta.1 → 2.22.12-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/breakpoint/generator/AfterStartNode.js +1 -1
- package/out/breakpoint/generator/AfterStartNode.js.map +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js +1 -1
- package/out/breakpoint/generator/BeforeEndNode.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +3 -0
- package/out/breakpoint/generator/BreakpointNode.js +12 -3
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/breakpoint/generator/CallbackNode.js +15 -0
- package/out/breakpoint/generator/CallbackNode.js.map +1 -1
- package/out/breakpoint/shared/constants.js +1 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/breakpoint/shared/utils.js +12 -6
- package/out/breakpoint/shared/utils.js.map +1 -1
- package/out/common/BaseNode.js +1 -1
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/utils.d.ts +2 -0
- package/out/common/utils.js +18 -0
- package/out/common/utils.js.map +1 -0
- package/out/concepts/AbstractInterface__.d.ts +22 -0
- package/out/concepts/AbstractInterface__.js +56 -0
- package/out/concepts/AbstractInterface__.js.map +1 -0
- package/out/concepts/AuthInterface__.d.ts +5 -3
- package/out/concepts/AuthInterface__.js +11 -22
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +6 -4
- package/out/concepts/AuthLogicForCallInterface__.js +102 -118
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +9 -7
- package/out/concepts/AuthLogic__.js +11 -22
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +30 -23
- package/out/concepts/BackendVariable__.js +179 -130
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +9 -10
- package/out/concepts/Backend__.js +42 -43
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/Block__.d.ts +84 -0
- package/out/concepts/Block__.js +215 -0
- package/out/concepts/Block__.js.map +1 -0
- package/out/concepts/BusinessComponent__.d.ts +641 -0
- package/out/concepts/BusinessComponent__.js +1901 -0
- package/out/concepts/BusinessComponent__.js.map +1 -0
- package/out/concepts/BusinessLogic__.d.ts +38 -0
- package/out/concepts/BusinessLogic__.js +358 -0
- package/out/concepts/BusinessLogic__.js.map +1 -0
- package/out/concepts/CallAuthInterface__.d.ts +10 -6
- package/out/concepts/CallAuthInterface__.js +84 -60
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +7 -5
- package/out/concepts/CallConnector__.js +41 -50
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallEvent__.d.ts +97 -0
- package/out/concepts/CallEvent__.js +263 -0
- package/out/concepts/CallEvent__.js.map +1 -0
- package/out/concepts/Connection__.d.ts +10 -11
- package/out/concepts/Connection__.js +38 -50
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +9 -7
- package/out/concepts/ConnectorTrigger__.js +11 -32
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +382 -23
- package/out/concepts/Connector__.js +581 -121
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +28 -0
- package/out/concepts/CountersignPolicy__.js +62 -0
- package/out/concepts/CountersignPolicy__.js.map +1 -0
- package/out/concepts/DefaultValue__.d.ts +104 -0
- package/out/concepts/DefaultValue__.js +242 -0
- package/out/concepts/DefaultValue__.js.map +1 -0
- package/out/concepts/FrontendType__.d.ts +308 -0
- package/out/concepts/FrontendType__.js +605 -0
- package/out/concepts/FrontendType__.js.map +1 -0
- package/out/concepts/FrontendVariable__.d.ts +15 -1
- package/out/concepts/FrontendVariable__.js +23 -11
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +46 -0
- package/out/concepts/I18nInfo__.js +90 -0
- package/out/concepts/I18nInfo__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +20 -0
- package/out/concepts/ImportedInterface__.js +48 -0
- package/out/concepts/ImportedInterface__.js.map +1 -0
- package/out/concepts/MsgTriggerEvent__.d.ts +10 -8
- package/out/concepts/MsgTriggerEvent__.js +32 -30
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +7 -5
- package/out/concepts/MsgTriggerLauncher__.js +32 -35
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +26 -0
- package/out/concepts/MultiApprovalPolicy__.js +59 -0
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -0
- package/out/concepts/OverriddenLogic__.d.ts +28 -29
- package/out/concepts/OverriddenLogic__.js +268 -273
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/ParamWithGroup__.d.ts +39 -0
- package/out/concepts/ParamWithGroup__.js +85 -0
- package/out/concepts/ParamWithGroup__.js.map +1 -0
- package/out/concepts/SequentialPolicy__.d.ts +20 -0
- package/out/concepts/SequentialPolicy__.js +48 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -0
- package/out/concepts/StaticString__.d.ts +49 -0
- package/out/concepts/StaticString__.js +91 -0
- package/out/concepts/StaticString__.js.map +1 -0
- package/out/concepts/TriggerEvent__.d.ts +11 -78
- package/out/concepts/TriggerEvent__.js +24 -118
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +10 -11
- package/out/concepts/TriggerLauncher__.js +18 -43
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/basics/constants.d.ts +1 -0
- package/out/concepts/basics/constants.js +6 -0
- package/out/concepts/basics/constants.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.http.d.ts +7 -5
- package/out/concepts/basics/stdlib/nasl.http.js +78 -73
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -1
- package/out/concepts/types__.d.ts +0 -124
- package/out/concepts/types__.js +0 -2
- package/out/concepts/utils/asserts.d.ts +6931 -0
- package/out/concepts/utils/asserts.js +9208 -0
- package/out/concepts/utils/asserts.js.map +1 -0
- package/out/concepts/utils/quick-info.d.ts +13 -0
- package/out/concepts/utils/quick-info.js +51 -0
- package/out/concepts/utils/quick-info.js.map +1 -0
- package/out/concepts/utils/types.d.ts +447 -0
- package/out/concepts/utils/types.js +3 -0
- package/out/concepts/utils/types.js.map +1 -0
- package/out/server/getConnector.js +27 -4
- package/out/server/getConnector.js.map +1 -1
- package/out/utils/i18nInfo.d.ts +5 -0
- package/out/utils/i18nInfo.js +36 -0
- package/out/utils/i18nInfo.js.map +1 -0
- package/out/utils/time-slicing/constant.d.ts +35 -0
- package/out/utils/time-slicing/constant.js +40 -0
- package/out/utils/time-slicing/constant.js.map +1 -0
- package/out/utils/time-slicing/controller.d.ts +53 -0
- package/out/utils/time-slicing/controller.js +294 -0
- package/out/utils/time-slicing/controller.js.map +1 -0
- package/out/utils/time-slicing/index.d.ts +5 -0
- package/out/utils/time-slicing/index.js +26 -0
- package/out/utils/time-slicing/index.js.map +1 -0
- package/out/utils/time-slicing/page-state.d.ts +2 -0
- package/out/utils/time-slicing/page-state.js +14 -0
- package/out/utils/time-slicing/page-state.js.map +1 -0
- package/out/utils/time-slicing/performance.d.ts +11 -0
- package/out/utils/time-slicing/performance.js +50 -0
- package/out/utils/time-slicing/performance.js.map +1 -0
- package/out/utils/time-slicing/runner.d.ts +12 -0
- package/out/utils/time-slicing/runner.js +52 -0
- package/out/utils/time-slicing/runner.js.map +1 -0
- package/out/utils/time-slicing/tool.d.ts +24 -0
- package/out/utils/time-slicing/tool.js +47 -0
- package/out/utils/time-slicing/tool.js.map +1 -0
- package/out/utils/time-slicing/utils.d.ts +62 -0
- package/out/utils/time-slicing/utils.js +47 -0
- package/out/utils/time-slicing/utils.js.map +1 -0
- package/out/utils/time-slicing/wrapper.d.ts +18 -0
- package/out/utils/time-slicing/wrapper.js +55 -0
- package/out/utils/time-slicing/wrapper.js.map +1 -0
- package/package.json +3 -3
- package/src/common/BaseNode.ts +1 -1
- package/ts-worker/package.json +1 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -461
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/src/automate/engine/index.html +0 -116
- package/coverage/src/automate/engine/utils.js.html +0 -1414
- package/coverage/src/bak/index.html +0 -116
- package/coverage/src/bak/translator.js.html +0 -745
- package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +0 -175
- package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +0 -169
- package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +0 -1246
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +0 -145
- package/coverage/src/breakpoint/generator/index.html +0 -176
- package/coverage/src/breakpoint/generator/index.ts.html +0 -508
- package/coverage/src/breakpoint/index.html +0 -116
- package/coverage/src/breakpoint/index.ts.html +0 -94
- package/coverage/src/breakpoint/shared/constants.ts.html +0 -436
- package/coverage/src/breakpoint/shared/index.html +0 -176
- package/coverage/src/breakpoint/shared/index.ts.html +0 -94
- package/coverage/src/breakpoint/shared/operations.ts.html +0 -160
- package/coverage/src/breakpoint/shared/socket.ts.html +0 -1297
- package/coverage/src/breakpoint/shared/utils.ts.html +0 -1087
- package/coverage/src/breakpoint/store/core.ts.html +0 -1600
- package/coverage/src/breakpoint/store/dock.ts.html +0 -733
- package/coverage/src/breakpoint/store/index.html +0 -146
- package/coverage/src/breakpoint/store/index.ts.html +0 -91
- package/coverage/src/common/BaseNode.ts.html +0 -3904
- package/coverage/src/common/Command.ts.html +0 -310
- package/coverage/src/common/EventEmitter.ts.html +0 -370
- package/coverage/src/common/Messager.ts.html +0 -820
- package/coverage/src/common/asyncFuncMap.ts.html +0 -127
- package/coverage/src/common/index.html +0 -191
- package/coverage/src/common/index.ts.html +0 -94
- package/coverage/src/concepts/Abort__.ts.html +0 -331
- package/coverage/src/concepts/Anchor__.ts.html +0 -661
- package/coverage/src/concepts/AnonymousFunction__.ts.html +0 -2071
- package/coverage/src/concepts/App__.ts.html +0 -14095
- package/coverage/src/concepts/Argument__.ts.html +0 -979
- package/coverage/src/concepts/Assignee__.ts.html +0 -2263
- package/coverage/src/concepts/AssignmentLine__.ts.html +0 -412
- package/coverage/src/concepts/Assignment__.ts.html +0 -1162
- package/coverage/src/concepts/Attribute__.ts.html +0 -748
- package/coverage/src/concepts/AuthInterface__.ts.html +0 -370
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +0 -1999
- package/coverage/src/concepts/AuthLogic__.ts.html +0 -793
- package/coverage/src/concepts/BackendVariable__.ts.html +0 -1498
- package/coverage/src/concepts/Backend__.ts.html +0 -1180
- package/coverage/src/concepts/BatchAssignment__.ts.html +0 -3346
- package/coverage/src/concepts/BinaryExpression__.ts.html +0 -1543
- package/coverage/src/concepts/BindAttribute__.ts.html +0 -3928
- package/coverage/src/concepts/BindDirective__.ts.html +0 -1984
- package/coverage/src/concepts/BindEvent__.ts.html +0 -3463
- package/coverage/src/concepts/BindStyle__.ts.html +0 -1627
- package/coverage/src/concepts/BooleanLiteral__.ts.html +0 -421
- package/coverage/src/concepts/CallAuthInterface__.ts.html +0 -1630
- package/coverage/src/concepts/CallConnector__.ts.html +0 -925
- package/coverage/src/concepts/CallFunction__.ts.html +0 -2140
- package/coverage/src/concepts/CallInterface__.ts.html +0 -2764
- package/coverage/src/concepts/CallLogic__.ts.html +0 -4738
- package/coverage/src/concepts/CallQueryComponent__.ts.html +0 -5335
- package/coverage/src/concepts/Comment__.ts.html +0 -397
- package/coverage/src/concepts/CompletionProperty__.ts.html +0 -940
- package/coverage/src/concepts/ConfigGroup__.ts.html +0 -1120
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +0 -427
- package/coverage/src/concepts/ConfigProperty__.ts.html +0 -1363
- package/coverage/src/concepts/Configuration__.ts.html +0 -1042
- package/coverage/src/concepts/Connection__.ts.html +0 -1375
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +0 -598
- package/coverage/src/concepts/Connector__.ts.html +0 -4318
- package/coverage/src/concepts/Constant__.ts.html +0 -928
- package/coverage/src/concepts/DataSource__.ts.html +0 -1786
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +0 -334
- package/coverage/src/concepts/Destination__.ts.html +0 -2743
- package/coverage/src/concepts/End__.ts.html +0 -436
- package/coverage/src/concepts/EntityIndex__.ts.html +0 -790
- package/coverage/src/concepts/EntityProperty__.ts.html +0 -2716
- package/coverage/src/concepts/Entity__.ts.html +0 -2977
- package/coverage/src/concepts/EnumItem__.ts.html +0 -553
- package/coverage/src/concepts/Enum__.ts.html +0 -1246
- package/coverage/src/concepts/Event__.ts.html +0 -1099
- package/coverage/src/concepts/ExternalDestination__.ts.html +0 -1048
- package/coverage/src/concepts/ForEachStatement__.ts.html +0 -1978
- package/coverage/src/concepts/FrontendLibrary__.ts.html +0 -1738
- package/coverage/src/concepts/FrontendVariable__.ts.html +0 -292
- package/coverage/src/concepts/Frontend__.ts.html +0 -4024
- package/coverage/src/concepts/Function__.ts.html +0 -3664
- package/coverage/src/concepts/Identifier__.ts.html +0 -1060
- package/coverage/src/concepts/IfStatement__.ts.html +0 -1621
- package/coverage/src/concepts/Integration__.ts.html +0 -1255
- package/coverage/src/concepts/InterfaceParam__.ts.html +0 -1102
- package/coverage/src/concepts/Interface__.ts.html +0 -3433
- package/coverage/src/concepts/JSBlock__.ts.html +0 -601
- package/coverage/src/concepts/JavaLogic__.ts.html +0 -463
- package/coverage/src/concepts/LogicItem__.ts.html +0 -1174
- package/coverage/src/concepts/Logic__.ts.html +0 -7444
- package/coverage/src/concepts/MatchCase__.ts.html +0 -2968
- package/coverage/src/concepts/Match__.ts.html +0 -2476
- package/coverage/src/concepts/MemberExpression__.ts.html +0 -1732
- package/coverage/src/concepts/MetadataType__.ts.html +0 -1996
- package/coverage/src/concepts/MicroApp__.ts.html +0 -439
- package/coverage/src/concepts/Module__.ts.html +0 -9874
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +0 -1060
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +0 -1033
- package/coverage/src/concepts/Namespace__.ts.html +0 -8077
- package/coverage/src/concepts/NewComposite__.ts.html +0 -4795
- package/coverage/src/concepts/NewList__.ts.html +0 -1648
- package/coverage/src/concepts/NewMap__.ts.html +0 -2356
- package/coverage/src/concepts/New__.ts.html +0 -289
- package/coverage/src/concepts/NullLiteral__.ts.html +0 -352
- package/coverage/src/concepts/NumericLiteral__.ts.html +0 -691
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +0 -1231
- package/coverage/src/concepts/OverriddenLogic__.ts.html +0 -6892
- package/coverage/src/concepts/Param__.ts.html +0 -1735
- package/coverage/src/concepts/Point__.ts.html +0 -334
- package/coverage/src/concepts/ProcessComponent__.ts.html +0 -1693
- package/coverage/src/concepts/ProcessElement__.ts.html +0 -5983
- package/coverage/src/concepts/ProcessOutcome__.ts.html +0 -355
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +0 -346
- package/coverage/src/concepts/Process__.ts.html +0 -4831
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +0 -583
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +0 -586
- package/coverage/src/concepts/QueryFromExpression__.ts.html +0 -925
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +0 -574
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +0 -1582
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +0 -652
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +0 -694
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +0 -1729
- package/coverage/src/concepts/Rect__.ts.html +0 -376
- package/coverage/src/concepts/Return__.ts.html +0 -1327
- package/coverage/src/concepts/Role__.ts.html +0 -604
- package/coverage/src/concepts/SelectMembers__.ts.html +0 -1261
- package/coverage/src/concepts/Slot__.ts.html +0 -643
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +0 -997
- package/coverage/src/concepts/Start__.ts.html +0 -307
- package/coverage/src/concepts/StringInterpolation__.ts.html +0 -1150
- package/coverage/src/concepts/StringLiteral__.ts.html +0 -508
- package/coverage/src/concepts/StructureProperty__.ts.html +0 -1147
- package/coverage/src/concepts/Structure__.ts.html +0 -2119
- package/coverage/src/concepts/SwitchCase__.ts.html +0 -1189
- package/coverage/src/concepts/SwitchStatement__.ts.html +0 -892
- package/coverage/src/concepts/Theme__.ts.html +0 -361
- package/coverage/src/concepts/Transactional__.ts.html +0 -631
- package/coverage/src/concepts/TriggerEvent__.ts.html +0 -1027
- package/coverage/src/concepts/TriggerLauncher__.ts.html +0 -778
- package/coverage/src/concepts/TypeAnnotation__.ts.html +0 -3880
- package/coverage/src/concepts/TypeParam__.ts.html +0 -322
- package/coverage/src/concepts/UnaryExpression__.ts.html +0 -724
- package/coverage/src/concepts/Unparsed__.ts.html +0 -397
- package/coverage/src/concepts/UseComponent__.ts.html +0 -334
- package/coverage/src/concepts/ValidationRule__.ts.html +0 -1855
- package/coverage/src/concepts/Variable__.ts.html +0 -1534
- package/coverage/src/concepts/ViewBlock__.ts.html +0 -355
- package/coverage/src/concepts/ViewComponent__.ts.html +0 -4255
- package/coverage/src/concepts/ViewElement__.ts.html +0 -8956
- package/coverage/src/concepts/View__.ts.html +0 -8875
- package/coverage/src/concepts/WhileStatement__.ts.html +0 -1096
- package/coverage/src/concepts/basics/stdlib/index.html +0 -356
- package/coverage/src/concepts/basics/stdlib/index.ts.html +0 -208
- package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +0 -565
- package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +0 -517
- package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +0 -226
- package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +0 -172
- package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +0 -214
- package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +0 -145
- package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +0 -589
- package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +0 -214
- package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +0 -229
- package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +0 -268
- package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +0 -1999
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +0 -3259
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +0 -6844
- package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +0 -1768
- package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +0 -163
- package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +0 -664
- package/coverage/src/concepts/basics/types/coreTypeList.ts.html +0 -121
- package/coverage/src/concepts/basics/types/index.html +0 -131
- package/coverage/src/concepts/basics/types/index.ts.html +0 -160
- package/coverage/src/concepts/index.html +0 -1976
- package/coverage/src/concepts/index.ts.html +0 -103
- package/coverage/src/concepts/index__.ts.html +0 -454
- package/coverage/src/config.ts.html +0 -325
- package/coverage/src/decorators/index.html +0 -131
- package/coverage/src/decorators/index.ts.html +0 -574
- package/coverage/src/decorators/promise.ts.html +0 -169
- package/coverage/src/eventBus.ts.html +0 -100
- package/coverage/src/generator/compileComponent.ts.html +0 -142
- package/coverage/src/generator/genBundleFiles.ts.html +0 -1822
- package/coverage/src/generator/genHash.ts.html +0 -124
- package/coverage/src/generator/genMetaData.ts.html +0 -1129
- package/coverage/src/generator/genReleaseBody.ts.html +0 -1282
- package/coverage/src/generator/icestark.ts.html +0 -220
- package/coverage/src/generator/index.html +0 -266
- package/coverage/src/generator/index.ts.html +0 -106
- package/coverage/src/generator/microApp.ts.html +0 -172
- package/coverage/src/generator/permission.ts.html +0 -1036
- package/coverage/src/generator/qiankun.ts.html +0 -232
- package/coverage/src/generator/styleReplacer.ts.html +0 -199
- package/coverage/src/index.html +0 -146
- package/coverage/src/index.ts.html +0 -121
- package/coverage/src/manager/diagnostic.ts.html +0 -442
- package/coverage/src/manager/index.html +0 -131
- package/coverage/src/manager/stepRecorder.ts.html +0 -457
- package/coverage/src/natural/genNaturalTS.ts.html +0 -355
- package/coverage/src/natural/index.html +0 -161
- package/coverage/src/natural/index.ts.html +0 -91
- package/coverage/src/natural/naslStdlibMap.ts.html +0 -157
- package/coverage/src/natural/transformTSCode.ts.html +0 -2707
- package/coverage/src/sentry/index.html +0 -116
- package/coverage/src/sentry/index.ts.html +0 -676
- package/coverage/src/server/createUiTs.ts.html +0 -919
- package/coverage/src/server/entity2LogicNamespace.ts.html +0 -1294
- package/coverage/src/server/event.js.html +0 -526
- package/coverage/src/server/extendBaseNode.ts.html +0 -1765
- package/coverage/src/server/formatTsUtils.ts.html +0 -2689
- package/coverage/src/server/getConnector.ts.html +0 -316
- package/coverage/src/server/getExtensionModules.ts.html +0 -178
- package/coverage/src/server/getFunctions.ts.html +0 -133
- package/coverage/src/server/getInterfaces.ts.html +0 -229
- package/coverage/src/server/getLogging.ts.html +0 -100
- package/coverage/src/server/getLogics.ts.html +0 -1363
- package/coverage/src/server/getMemberIdentifier.ts.html +0 -1609
- package/coverage/src/server/getProcessComponents.ts.html +0 -112
- package/coverage/src/server/getProcesses.ts.html +0 -2023
- package/coverage/src/server/getValidates.ts.html +0 -115
- package/coverage/src/server/index.html +0 -401
- package/coverage/src/server/index.ts.html +0 -229
- package/coverage/src/server/naslServer.ts.html +0 -14812
- package/coverage/src/server/naslStdlibMap.ts.html +0 -241
- package/coverage/src/server/process2LogicNamespace.ts.html +0 -454
- package/coverage/src/server/translator.ts.html +0 -2566
- package/coverage/src/service/creator/add.configs.js.html +0 -397
- package/coverage/src/service/creator/errHandles.js.html +0 -304
- package/coverage/src/service/creator/index.html +0 -146
- package/coverage/src/service/creator/index.js.html +0 -352
- package/coverage/src/service/datasource/api.js.html +0 -118
- package/coverage/src/service/datasource/index.html +0 -131
- package/coverage/src/service/datasource/index.js.html +0 -103
- package/coverage/src/service/logic/api.js.html +0 -109
- package/coverage/src/service/logic/index.html +0 -131
- package/coverage/src/service/logic/index.js.html +0 -103
- package/coverage/src/service/storage/api.js.html +0 -202
- package/coverage/src/service/storage/index.html +0 -206
- package/coverage/src/service/storage/index.ts.html +0 -103
- package/coverage/src/service/storage/init.ts.html +0 -3661
- package/coverage/src/service/storage/jsoner.ts.html +0 -502
- package/coverage/src/service/storage/map.ts.html +0 -256
- package/coverage/src/service/storage/service.ts.html +0 -331
- package/coverage/src/service/storage/storagePoint.ts.html +0 -304
- package/coverage/src/templator/genCallComponentLogic.ts.html +0 -163
- package/coverage/src/templator/genCreateBlock.ts.html +0 -1084
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +0 -1627
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +0 -2242
- package/coverage/src/templator/genEditTableBlock.ts.html +0 -1024
- package/coverage/src/templator/genEnumSelectBlock.ts.html +0 -178
- package/coverage/src/templator/genGetBlock.ts.html +0 -451
- package/coverage/src/templator/genGridViewBlock.ts.html +0 -1114
- package/coverage/src/templator/genListViewBlock.ts.html +0 -475
- package/coverage/src/templator/genQueryComponent.ts.html +0 -1207
- package/coverage/src/templator/genSelectBlock.ts.html +0 -1243
- package/coverage/src/templator/genTableBlock.ts.html +0 -973
- package/coverage/src/templator/genUpdateBlock.ts.html +0 -1204
- package/coverage/src/templator/index.html +0 -326
- package/coverage/src/templator/index.ts.html +0 -154
- package/coverage/src/templator/utils.ts.html +0 -1927
- package/coverage/src/translator/constant.ts.html +0 -106
- package/coverage/src/translator/index.html +0 -146
- package/coverage/src/translator/index.ts.html +0 -94
- package/coverage/src/translator/utils.ts.html +0 -493
- package/coverage/src/utils/cookie.ts.html +0 -265
- package/coverage/src/utils/env.ts.html +0 -91
- package/coverage/src/utils/index.html +0 -236
- package/coverage/src/utils/index.ts.html +0 -748
- package/coverage/src/utils/logger.ts.html +0 -145
- package/coverage/src/utils/sortTsString.ts.html +0 -187
- package/coverage/src/utils/string.ts.html +0 -502
- package/coverage/src/utils/time-slicing.ts.html +0 -418
- package/coverage/src/utils/traverse.ts.html +0 -568
- package/coverage/src/utils/window.ts.html +0 -112
- 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
|
@@ -36,74 +36,60 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.Connector = void 0;
|
|
37
37
|
const decorators_1 = require("../decorators");
|
|
38
38
|
const utils = __importStar(require("../utils"));
|
|
39
|
-
const
|
|
40
|
-
const Logic__1 = __importDefault(require("./Logic__"));
|
|
41
|
-
const ConnectorTrigger__1 = __importDefault(require("./ConnectorTrigger__"));
|
|
42
|
-
const Structure__1 = __importDefault(require("./Structure__"));
|
|
43
|
-
const Namespace__1 = __importDefault(require("./Namespace__"));
|
|
39
|
+
const asserts = __importStar(require("./utils/asserts"));
|
|
44
40
|
const Module__1 = __importDefault(require("./Module__"));
|
|
45
41
|
/**
|
|
46
42
|
* 连接器
|
|
47
43
|
*/
|
|
48
|
-
let Connector = Connector_1 =
|
|
49
|
-
// @ts-ignore
|
|
50
|
-
class Connector extends Module__1.default {
|
|
51
|
-
/** 类名 */
|
|
52
|
-
static ConceptName = 'Connector';
|
|
44
|
+
let Connector = Connector_1 = class Connector extends Module__1.default {
|
|
53
45
|
/**
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
concept;
|
|
57
|
-
/**
|
|
58
|
-
* 连接器名称
|
|
59
|
-
*/
|
|
60
|
-
// @ts-ignore
|
|
61
|
-
name;
|
|
62
|
-
/**
|
|
63
|
-
* connectorKind
|
|
64
|
-
*/
|
|
65
|
-
// @ts-ignore
|
|
66
|
-
connectorKind;
|
|
67
|
-
/**
|
|
68
|
-
* 输入参数列表
|
|
69
|
-
*/
|
|
70
|
-
properties = [];
|
|
71
|
-
/**
|
|
72
|
-
* 逻辑列表
|
|
73
|
-
*/
|
|
74
|
-
logics = [];
|
|
75
|
-
/**
|
|
76
|
-
* 连接器触发器列表
|
|
77
|
-
*/
|
|
78
|
-
triggers = [];
|
|
79
|
-
/**
|
|
80
|
-
* 数据结构列表
|
|
81
|
-
*/
|
|
82
|
-
structures = [];
|
|
83
|
-
/**
|
|
84
|
-
* compilerInfoMap
|
|
85
|
-
*/
|
|
86
|
-
// @ts-ignore
|
|
87
|
-
compilerInfoMap;
|
|
88
|
-
/**
|
|
89
|
-
* createLogic
|
|
90
|
-
*/
|
|
91
|
-
// @ts-ignore
|
|
92
|
-
createLogic;
|
|
93
|
-
/**
|
|
94
|
-
* testConnectorLogic
|
|
95
|
-
*/
|
|
96
|
-
// @ts-ignore
|
|
97
|
-
testConnectorLogic;
|
|
98
|
-
/**
|
|
99
|
-
* 预览图
|
|
100
|
-
*/
|
|
101
|
-
// @ts-ignore
|
|
102
|
-
previewImg;
|
|
103
|
-
/**
|
|
104
|
-
* 命名空间列表
|
|
46
|
+
* @param source 需要合并的部分参数
|
|
105
47
|
*/
|
|
106
|
-
|
|
48
|
+
constructor(source) {
|
|
49
|
+
source = Object.assign({}, Connector_1.getDefaultOptions(), source);
|
|
50
|
+
super(source);
|
|
51
|
+
/**
|
|
52
|
+
* 输入参数列表
|
|
53
|
+
*/
|
|
54
|
+
this.properties = [];
|
|
55
|
+
/**
|
|
56
|
+
* 逻辑列表
|
|
57
|
+
*/
|
|
58
|
+
this.logics = [];
|
|
59
|
+
/**
|
|
60
|
+
* 连接器触发器列表
|
|
61
|
+
*/
|
|
62
|
+
this.triggers = [];
|
|
63
|
+
/**
|
|
64
|
+
* 数据结构列表
|
|
65
|
+
*/
|
|
66
|
+
this.structures = [];
|
|
67
|
+
/**
|
|
68
|
+
* 命名空间列表
|
|
69
|
+
*/
|
|
70
|
+
this.namespaces = [];
|
|
71
|
+
/**
|
|
72
|
+
* 暴露接口的接口鉴权
|
|
73
|
+
*/
|
|
74
|
+
this.authLogics = [];
|
|
75
|
+
/**
|
|
76
|
+
* 调用接口的鉴权模板
|
|
77
|
+
*/
|
|
78
|
+
this.authLogicsForCallInterface = [];
|
|
79
|
+
/**
|
|
80
|
+
* 触发器启动器列表
|
|
81
|
+
*/
|
|
82
|
+
this.triggerLaunchers = [];
|
|
83
|
+
/**
|
|
84
|
+
* 连接列表
|
|
85
|
+
*/
|
|
86
|
+
this.connections = [];
|
|
87
|
+
/**
|
|
88
|
+
* isLocal
|
|
89
|
+
*/
|
|
90
|
+
this.isLocal = true;
|
|
91
|
+
super.subConstructor(source);
|
|
92
|
+
}
|
|
107
93
|
/**
|
|
108
94
|
* 祖先 Module
|
|
109
95
|
*/
|
|
@@ -140,14 +126,6 @@ class Connector extends Module__1.default {
|
|
|
140
126
|
get process() {
|
|
141
127
|
return this.getAncestor('Process');
|
|
142
128
|
}
|
|
143
|
-
/**
|
|
144
|
-
* @param source 需要合并的部分参数
|
|
145
|
-
*/
|
|
146
|
-
constructor(source) {
|
|
147
|
-
source = Object.assign({}, Connector_1.getDefaultOptions(), source);
|
|
148
|
-
super(source);
|
|
149
|
-
super.subConstructor(source);
|
|
150
|
-
}
|
|
151
129
|
static from(source, parentNode, parentKey) {
|
|
152
130
|
return super.from(source, parentNode, parentKey);
|
|
153
131
|
}
|
|
@@ -273,6 +251,17 @@ class Connector extends Module__1.default {
|
|
|
273
251
|
...object,
|
|
274
252
|
});
|
|
275
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* 设置isLocal
|
|
256
|
+
*/
|
|
257
|
+
setIsLocal(isLocal) {
|
|
258
|
+
const object = {
|
|
259
|
+
isLocal,
|
|
260
|
+
};
|
|
261
|
+
this.update({
|
|
262
|
+
...object,
|
|
263
|
+
});
|
|
264
|
+
}
|
|
276
265
|
getParamExistingNames(excludedList = []) {
|
|
277
266
|
const excludedSet = new Set(excludedList);
|
|
278
267
|
return (this.properties || []).filter((item) => !excludedSet.has(item)).map((item) => item?.name);
|
|
@@ -283,26 +272,27 @@ class Connector extends Module__1.default {
|
|
|
283
272
|
_insertParamAt(options, index) {
|
|
284
273
|
const paramOptions = {};
|
|
285
274
|
const relationOptions = { parentNode: this, parentKey: 'properties' };
|
|
275
|
+
const Param = (0, decorators_1.getConceptConstructor)('Param');
|
|
286
276
|
let param;
|
|
287
277
|
if (!options) {
|
|
288
|
-
param =
|
|
278
|
+
param = Param.from({
|
|
289
279
|
...paramOptions,
|
|
290
280
|
name: this.getParamUniqueName(),
|
|
291
281
|
}, this, 'properties');
|
|
292
282
|
}
|
|
293
283
|
else if (typeof options === 'string') {
|
|
294
|
-
param =
|
|
284
|
+
param = Param.from({
|
|
295
285
|
...paramOptions,
|
|
296
286
|
name: options,
|
|
297
287
|
}, this, 'properties');
|
|
298
288
|
}
|
|
299
|
-
else if (options
|
|
289
|
+
else if (asserts.isParam(options)) {
|
|
300
290
|
options.ensureDelete(); // 同一实例不支持多处存在
|
|
301
291
|
param = options;
|
|
302
292
|
Object.assign(param, relationOptions);
|
|
303
293
|
}
|
|
304
294
|
else {
|
|
305
|
-
param =
|
|
295
|
+
param = Param.from({
|
|
306
296
|
...paramOptions,
|
|
307
297
|
...options,
|
|
308
298
|
}, this, 'properties');
|
|
@@ -340,29 +330,30 @@ class Connector extends Module__1.default {
|
|
|
340
330
|
getLogicUniqueName(name = 'logic1') {
|
|
341
331
|
return utils.unique(name, this.getLogicExistingNames(), undefined, false);
|
|
342
332
|
}
|
|
343
|
-
|
|
333
|
+
_insertLogicInLogicsAt(options, index) {
|
|
344
334
|
const logicOptions = {};
|
|
345
335
|
const relationOptions = { parentNode: this, parentKey: 'logics' };
|
|
336
|
+
const Logic = (0, decorators_1.getConceptConstructor)('Logic');
|
|
346
337
|
let logic;
|
|
347
338
|
if (!options) {
|
|
348
|
-
logic =
|
|
339
|
+
logic = Logic.from({
|
|
349
340
|
...logicOptions,
|
|
350
341
|
name: this.getLogicUniqueName(),
|
|
351
342
|
}, this, 'logics');
|
|
352
343
|
}
|
|
353
344
|
else if (typeof options === 'string') {
|
|
354
|
-
logic =
|
|
345
|
+
logic = Logic.from({
|
|
355
346
|
...logicOptions,
|
|
356
347
|
name: options,
|
|
357
348
|
}, this, 'logics');
|
|
358
349
|
}
|
|
359
|
-
else if (options
|
|
350
|
+
else if (asserts.isLogic(options)) {
|
|
360
351
|
options.ensureDelete(); // 同一实例不支持多处存在
|
|
361
352
|
logic = options;
|
|
362
353
|
Object.assign(logic, relationOptions);
|
|
363
354
|
}
|
|
364
355
|
else {
|
|
365
|
-
logic =
|
|
356
|
+
logic = Logic.from({
|
|
366
357
|
...logicOptions,
|
|
367
358
|
...options,
|
|
368
359
|
}, this, 'logics');
|
|
@@ -370,8 +361,8 @@ class Connector extends Module__1.default {
|
|
|
370
361
|
this.logics.splice(index, 0, logic);
|
|
371
362
|
return logic;
|
|
372
363
|
}
|
|
373
|
-
|
|
374
|
-
const node = this.
|
|
364
|
+
insertLogicInLogicsAt(options, index) {
|
|
365
|
+
const node = this._insertLogicInLogicsAt(options, index);
|
|
375
366
|
node.create({
|
|
376
367
|
index,
|
|
377
368
|
parentNode: this,
|
|
@@ -379,12 +370,12 @@ class Connector extends Module__1.default {
|
|
|
379
370
|
});
|
|
380
371
|
return node;
|
|
381
372
|
}
|
|
382
|
-
|
|
373
|
+
_addLogicInLogics(options) {
|
|
383
374
|
const index = this.logics.length;
|
|
384
|
-
return this.
|
|
375
|
+
return this._insertLogicInLogicsAt(options, index);
|
|
385
376
|
}
|
|
386
|
-
|
|
387
|
-
const node = this.
|
|
377
|
+
addLogicInLogics(options) {
|
|
378
|
+
const node = this._addLogicInLogics(options);
|
|
388
379
|
const index = this.logics.indexOf(node);
|
|
389
380
|
node.create({
|
|
390
381
|
index,
|
|
@@ -405,26 +396,27 @@ class Connector extends Module__1.default {
|
|
|
405
396
|
_insertConnectorTriggerAt(options, index) {
|
|
406
397
|
const connectorTriggerOptions = {};
|
|
407
398
|
const relationOptions = { parentNode: this, parentKey: 'triggers' };
|
|
399
|
+
const ConnectorTrigger = (0, decorators_1.getConceptConstructor)('ConnectorTrigger');
|
|
408
400
|
let connectorTrigger;
|
|
409
401
|
if (!options) {
|
|
410
|
-
connectorTrigger =
|
|
402
|
+
connectorTrigger = ConnectorTrigger.from({
|
|
411
403
|
...connectorTriggerOptions,
|
|
412
404
|
name: this.getConnectorTriggerUniqueName(),
|
|
413
405
|
}, this, 'triggers');
|
|
414
406
|
}
|
|
415
407
|
else if (typeof options === 'string') {
|
|
416
|
-
connectorTrigger =
|
|
408
|
+
connectorTrigger = ConnectorTrigger.from({
|
|
417
409
|
...connectorTriggerOptions,
|
|
418
410
|
name: options,
|
|
419
411
|
}, this, 'triggers');
|
|
420
412
|
}
|
|
421
|
-
else if (options
|
|
413
|
+
else if (asserts.isConnectorTrigger(options)) {
|
|
422
414
|
options.ensureDelete(); // 同一实例不支持多处存在
|
|
423
415
|
connectorTrigger = options;
|
|
424
416
|
Object.assign(connectorTrigger, relationOptions);
|
|
425
417
|
}
|
|
426
418
|
else {
|
|
427
|
-
connectorTrigger =
|
|
419
|
+
connectorTrigger = ConnectorTrigger.from({
|
|
428
420
|
...connectorTriggerOptions,
|
|
429
421
|
...options,
|
|
430
422
|
}, this, 'triggers');
|
|
@@ -465,26 +457,27 @@ class Connector extends Module__1.default {
|
|
|
465
457
|
_insertStructureAt(options, index) {
|
|
466
458
|
const structureOptions = {};
|
|
467
459
|
const relationOptions = { parentNode: this, parentKey: 'structures' };
|
|
460
|
+
const Structure = (0, decorators_1.getConceptConstructor)('Structure');
|
|
468
461
|
let structure;
|
|
469
462
|
if (!options) {
|
|
470
|
-
structure =
|
|
463
|
+
structure = Structure.from({
|
|
471
464
|
...structureOptions,
|
|
472
465
|
name: this.getStructureUniqueName(),
|
|
473
466
|
}, this, 'structures');
|
|
474
467
|
}
|
|
475
468
|
else if (typeof options === 'string') {
|
|
476
|
-
structure =
|
|
469
|
+
structure = Structure.from({
|
|
477
470
|
...structureOptions,
|
|
478
471
|
name: options,
|
|
479
472
|
}, this, 'structures');
|
|
480
473
|
}
|
|
481
|
-
else if (options
|
|
474
|
+
else if (asserts.isStructure(options)) {
|
|
482
475
|
options.ensureDelete(); // 同一实例不支持多处存在
|
|
483
476
|
structure = options;
|
|
484
477
|
Object.assign(structure, relationOptions);
|
|
485
478
|
}
|
|
486
479
|
else {
|
|
487
|
-
structure =
|
|
480
|
+
structure = Structure.from({
|
|
488
481
|
...structureOptions,
|
|
489
482
|
...options,
|
|
490
483
|
}, this, 'structures');
|
|
@@ -525,26 +518,27 @@ class Connector extends Module__1.default {
|
|
|
525
518
|
_insertNamespaceAt(options, index) {
|
|
526
519
|
const namespaceOptions = {};
|
|
527
520
|
const relationOptions = { parentNode: this, parentKey: 'namespaces' };
|
|
521
|
+
const Namespace = (0, decorators_1.getConceptConstructor)('Namespace');
|
|
528
522
|
let namespace;
|
|
529
523
|
if (!options) {
|
|
530
|
-
namespace =
|
|
524
|
+
namespace = Namespace.from({
|
|
531
525
|
...namespaceOptions,
|
|
532
526
|
name: this.getNamespaceUniqueName(),
|
|
533
527
|
}, this, 'namespaces');
|
|
534
528
|
}
|
|
535
529
|
else if (typeof options === 'string') {
|
|
536
|
-
namespace =
|
|
530
|
+
namespace = Namespace.from({
|
|
537
531
|
...namespaceOptions,
|
|
538
532
|
name: options,
|
|
539
533
|
}, this, 'namespaces');
|
|
540
534
|
}
|
|
541
|
-
else if (options
|
|
535
|
+
else if (asserts.isNamespace(options)) {
|
|
542
536
|
options.ensureDelete(); // 同一实例不支持多处存在
|
|
543
537
|
namespace = options;
|
|
544
538
|
Object.assign(namespace, relationOptions);
|
|
545
539
|
}
|
|
546
540
|
else {
|
|
547
|
-
namespace =
|
|
541
|
+
namespace = Namespace.from({
|
|
548
542
|
...namespaceOptions,
|
|
549
543
|
...options,
|
|
550
544
|
}, this, 'namespaces');
|
|
@@ -575,6 +569,132 @@ class Connector extends Module__1.default {
|
|
|
575
569
|
});
|
|
576
570
|
return node;
|
|
577
571
|
}
|
|
572
|
+
getTriggerLauncherExistingNames(excludedList = []) {
|
|
573
|
+
const excludedSet = new Set(excludedList);
|
|
574
|
+
return (this.triggerLaunchers || [])
|
|
575
|
+
.filter((item) => !excludedSet.has(item))
|
|
576
|
+
.map((item) => item?.name);
|
|
577
|
+
}
|
|
578
|
+
getTriggerLauncherUniqueName(name = 'triggerLauncher1') {
|
|
579
|
+
return utils.unique(name, this.getTriggerLauncherExistingNames(), undefined, false);
|
|
580
|
+
}
|
|
581
|
+
_insertTriggerLauncherAt(options, index) {
|
|
582
|
+
const triggerLauncherOptions = {};
|
|
583
|
+
const relationOptions = { parentNode: this, parentKey: 'triggerLaunchers' };
|
|
584
|
+
const TriggerLauncher = (0, decorators_1.getConceptConstructor)('TriggerLauncher');
|
|
585
|
+
let triggerLauncher;
|
|
586
|
+
if (!options) {
|
|
587
|
+
triggerLauncher = TriggerLauncher.from({
|
|
588
|
+
...triggerLauncherOptions,
|
|
589
|
+
name: this.getTriggerLauncherUniqueName(),
|
|
590
|
+
}, this, 'triggerLaunchers');
|
|
591
|
+
}
|
|
592
|
+
else if (typeof options === 'string') {
|
|
593
|
+
triggerLauncher = TriggerLauncher.from({
|
|
594
|
+
...triggerLauncherOptions,
|
|
595
|
+
name: options,
|
|
596
|
+
}, this, 'triggerLaunchers');
|
|
597
|
+
}
|
|
598
|
+
else if (asserts.isTriggerLauncher(options)) {
|
|
599
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
600
|
+
triggerLauncher = options;
|
|
601
|
+
Object.assign(triggerLauncher, relationOptions);
|
|
602
|
+
}
|
|
603
|
+
else {
|
|
604
|
+
triggerLauncher = TriggerLauncher.from({
|
|
605
|
+
...triggerLauncherOptions,
|
|
606
|
+
...options,
|
|
607
|
+
}, this, 'triggerLaunchers');
|
|
608
|
+
}
|
|
609
|
+
this.triggerLaunchers.splice(index, 0, triggerLauncher);
|
|
610
|
+
return triggerLauncher;
|
|
611
|
+
}
|
|
612
|
+
insertTriggerLauncherAt(options, index) {
|
|
613
|
+
const node = this._insertTriggerLauncherAt(options, index);
|
|
614
|
+
node.create({
|
|
615
|
+
index,
|
|
616
|
+
parentNode: this,
|
|
617
|
+
parentKey: 'triggerLaunchers',
|
|
618
|
+
});
|
|
619
|
+
return node;
|
|
620
|
+
}
|
|
621
|
+
_addTriggerLauncher(options) {
|
|
622
|
+
const index = 0;
|
|
623
|
+
return this._insertTriggerLauncherAt(options, index);
|
|
624
|
+
}
|
|
625
|
+
addTriggerLauncher(options) {
|
|
626
|
+
const node = this._addTriggerLauncher(options);
|
|
627
|
+
const index = this.triggerLaunchers.indexOf(node);
|
|
628
|
+
node.create({
|
|
629
|
+
index,
|
|
630
|
+
parentNode: this,
|
|
631
|
+
parentKey: 'triggerLaunchers',
|
|
632
|
+
});
|
|
633
|
+
return node;
|
|
634
|
+
}
|
|
635
|
+
getConnectionExistingNames(excludedList = []) {
|
|
636
|
+
const excludedSet = new Set(excludedList);
|
|
637
|
+
return (this.connections || [])
|
|
638
|
+
.filter((item) => !excludedSet.has(item))
|
|
639
|
+
.map((item) => item?.name);
|
|
640
|
+
}
|
|
641
|
+
getConnectionUniqueName(name = 'connection1') {
|
|
642
|
+
return utils.unique(name, this.getConnectionExistingNames(), undefined, false);
|
|
643
|
+
}
|
|
644
|
+
_insertConnectionAt(options, index) {
|
|
645
|
+
const connectionOptions = {};
|
|
646
|
+
const relationOptions = { parentNode: this, parentKey: 'connections' };
|
|
647
|
+
const Connection = (0, decorators_1.getConceptConstructor)('Connection');
|
|
648
|
+
let connection;
|
|
649
|
+
if (!options) {
|
|
650
|
+
connection = Connection.from({
|
|
651
|
+
...connectionOptions,
|
|
652
|
+
name: this.getConnectionUniqueName(),
|
|
653
|
+
}, this, 'connections');
|
|
654
|
+
}
|
|
655
|
+
else if (typeof options === 'string') {
|
|
656
|
+
connection = Connection.from({
|
|
657
|
+
...connectionOptions,
|
|
658
|
+
name: options,
|
|
659
|
+
}, this, 'connections');
|
|
660
|
+
}
|
|
661
|
+
else if (asserts.isConnection(options)) {
|
|
662
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
663
|
+
connection = options;
|
|
664
|
+
Object.assign(connection, relationOptions);
|
|
665
|
+
}
|
|
666
|
+
else {
|
|
667
|
+
connection = Connection.from({
|
|
668
|
+
...connectionOptions,
|
|
669
|
+
...options,
|
|
670
|
+
}, this, 'connections');
|
|
671
|
+
}
|
|
672
|
+
this.connections.splice(index, 0, connection);
|
|
673
|
+
return connection;
|
|
674
|
+
}
|
|
675
|
+
insertConnectionAt(options, index) {
|
|
676
|
+
const node = this._insertConnectionAt(options, index);
|
|
677
|
+
node.create({
|
|
678
|
+
index,
|
|
679
|
+
parentNode: this,
|
|
680
|
+
parentKey: 'connections',
|
|
681
|
+
});
|
|
682
|
+
return node;
|
|
683
|
+
}
|
|
684
|
+
_addConnection(options) {
|
|
685
|
+
const index = 0;
|
|
686
|
+
return this._insertConnectionAt(options, index);
|
|
687
|
+
}
|
|
688
|
+
addConnection(options) {
|
|
689
|
+
const node = this._addConnection(options);
|
|
690
|
+
const index = this.connections.indexOf(node);
|
|
691
|
+
node.create({
|
|
692
|
+
index,
|
|
693
|
+
parentNode: this,
|
|
694
|
+
parentKey: 'connections',
|
|
695
|
+
});
|
|
696
|
+
return node;
|
|
697
|
+
}
|
|
578
698
|
removeParam(options) {
|
|
579
699
|
let param;
|
|
580
700
|
if (typeof options === 'string') {
|
|
@@ -609,9 +729,12 @@ class Connector extends Module__1.default {
|
|
|
609
729
|
~index && this[parentKey].splice(index, 1);
|
|
610
730
|
params.index = index;
|
|
611
731
|
}
|
|
612
|
-
else
|
|
613
|
-
|
|
614
|
-
|
|
732
|
+
else {
|
|
733
|
+
const q = t[parentKey];
|
|
734
|
+
if ((q.__v_raw || q) === n) {
|
|
735
|
+
params.index = 0;
|
|
736
|
+
this[parentKey] = undefined;
|
|
737
|
+
}
|
|
615
738
|
}
|
|
616
739
|
}
|
|
617
740
|
return params;
|
|
@@ -655,6 +778,32 @@ class Connector extends Module__1.default {
|
|
|
655
778
|
}
|
|
656
779
|
return testConnectorLogic.delete();
|
|
657
780
|
}
|
|
781
|
+
removeAuthLogicInAuthLogics(options) {
|
|
782
|
+
let authLogic;
|
|
783
|
+
if (typeof options === 'string') {
|
|
784
|
+
authLogic = this.authLogics.find((item) => item.name === options);
|
|
785
|
+
if (!authLogic) {
|
|
786
|
+
throw new Error('找不到鉴权逻辑 ' + options);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
authLogic = options;
|
|
791
|
+
}
|
|
792
|
+
return authLogic.delete();
|
|
793
|
+
}
|
|
794
|
+
removeAuthLogicForCallInterfaceInAuthLogicsForCallInterface(options) {
|
|
795
|
+
let authLogicForCallInterface;
|
|
796
|
+
if (typeof options === 'string') {
|
|
797
|
+
authLogicForCallInterface = this.authLogicsForCallInterface.find((item) => item.name === options);
|
|
798
|
+
if (!authLogicForCallInterface) {
|
|
799
|
+
throw new Error('找不到调用接口的鉴权逻辑 ' + options);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
else {
|
|
803
|
+
authLogicForCallInterface = options;
|
|
804
|
+
}
|
|
805
|
+
return authLogicForCallInterface.delete();
|
|
806
|
+
}
|
|
658
807
|
__removeLogic(logic) {
|
|
659
808
|
const parentKey = logic.parentKey;
|
|
660
809
|
const params = {
|
|
@@ -676,9 +825,12 @@ class Connector extends Module__1.default {
|
|
|
676
825
|
~index && this[parentKey].splice(index, 1);
|
|
677
826
|
params.index = index;
|
|
678
827
|
}
|
|
679
|
-
else
|
|
680
|
-
|
|
681
|
-
|
|
828
|
+
else {
|
|
829
|
+
const q = t[parentKey];
|
|
830
|
+
if ((q.__v_raw || q) === n) {
|
|
831
|
+
params.index = 0;
|
|
832
|
+
this[parentKey] = undefined;
|
|
833
|
+
}
|
|
682
834
|
}
|
|
683
835
|
}
|
|
684
836
|
return params;
|
|
@@ -717,9 +869,12 @@ class Connector extends Module__1.default {
|
|
|
717
869
|
~index && this[parentKey].splice(index, 1);
|
|
718
870
|
params.index = index;
|
|
719
871
|
}
|
|
720
|
-
else
|
|
721
|
-
|
|
722
|
-
|
|
872
|
+
else {
|
|
873
|
+
const q = t[parentKey];
|
|
874
|
+
if ((q.__v_raw || q) === n) {
|
|
875
|
+
params.index = 0;
|
|
876
|
+
this[parentKey] = undefined;
|
|
877
|
+
}
|
|
723
878
|
}
|
|
724
879
|
}
|
|
725
880
|
return params;
|
|
@@ -758,9 +913,12 @@ class Connector extends Module__1.default {
|
|
|
758
913
|
~index && this[parentKey].splice(index, 1);
|
|
759
914
|
params.index = index;
|
|
760
915
|
}
|
|
761
|
-
else
|
|
762
|
-
|
|
763
|
-
|
|
916
|
+
else {
|
|
917
|
+
const q = t[parentKey];
|
|
918
|
+
if ((q.__v_raw || q) === n) {
|
|
919
|
+
params.index = 0;
|
|
920
|
+
this[parentKey] = undefined;
|
|
921
|
+
}
|
|
764
922
|
}
|
|
765
923
|
}
|
|
766
924
|
return params;
|
|
@@ -799,9 +957,100 @@ class Connector extends Module__1.default {
|
|
|
799
957
|
~index && this[parentKey].splice(index, 1);
|
|
800
958
|
params.index = index;
|
|
801
959
|
}
|
|
802
|
-
else
|
|
803
|
-
|
|
804
|
-
|
|
960
|
+
else {
|
|
961
|
+
const q = t[parentKey];
|
|
962
|
+
if ((q.__v_raw || q) === n) {
|
|
963
|
+
params.index = 0;
|
|
964
|
+
this[parentKey] = undefined;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
return params;
|
|
969
|
+
}
|
|
970
|
+
removeTriggerLauncher(options) {
|
|
971
|
+
let triggerLauncher;
|
|
972
|
+
if (typeof options === 'string') {
|
|
973
|
+
triggerLauncher = this.triggerLaunchers.find((item) => item.name === options);
|
|
974
|
+
if (!triggerLauncher) {
|
|
975
|
+
throw new Error('找不到触发器启动器 ' + options);
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
else {
|
|
979
|
+
triggerLauncher = options;
|
|
980
|
+
}
|
|
981
|
+
return triggerLauncher.delete();
|
|
982
|
+
}
|
|
983
|
+
__removeTriggerLauncher(triggerLauncher) {
|
|
984
|
+
const parentKey = triggerLauncher.parentKey;
|
|
985
|
+
const params = {
|
|
986
|
+
parentNode: this,
|
|
987
|
+
parentKey,
|
|
988
|
+
index: -1,
|
|
989
|
+
object: null,
|
|
990
|
+
oldObject: triggerLauncher,
|
|
991
|
+
};
|
|
992
|
+
if (parentKey) {
|
|
993
|
+
params.parentKey = parentKey;
|
|
994
|
+
// @ts-ignore
|
|
995
|
+
const t = this.__v_raw || this;
|
|
996
|
+
// @ts-ignore
|
|
997
|
+
const n = triggerLauncher.__v_raw || triggerLauncher;
|
|
998
|
+
if (Array.isArray(t[parentKey])) {
|
|
999
|
+
// @ts-ignore
|
|
1000
|
+
const index = t[parentKey].findIndex((el) => (el.__v_raw || el) === n);
|
|
1001
|
+
~index && this[parentKey].splice(index, 1);
|
|
1002
|
+
params.index = index;
|
|
1003
|
+
}
|
|
1004
|
+
else {
|
|
1005
|
+
const q = t[parentKey];
|
|
1006
|
+
if ((q.__v_raw || q) === n) {
|
|
1007
|
+
params.index = 0;
|
|
1008
|
+
this[parentKey] = undefined;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
return params;
|
|
1013
|
+
}
|
|
1014
|
+
removeConnection(options) {
|
|
1015
|
+
let connection;
|
|
1016
|
+
if (typeof options === 'string') {
|
|
1017
|
+
connection = this.connections.find((item) => item.name === options);
|
|
1018
|
+
if (!connection) {
|
|
1019
|
+
throw new Error('找不到连接 ' + options);
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
else {
|
|
1023
|
+
connection = options;
|
|
1024
|
+
}
|
|
1025
|
+
return connection.delete();
|
|
1026
|
+
}
|
|
1027
|
+
__removeConnection(connection) {
|
|
1028
|
+
const parentKey = connection.parentKey;
|
|
1029
|
+
const params = {
|
|
1030
|
+
parentNode: this,
|
|
1031
|
+
parentKey,
|
|
1032
|
+
index: -1,
|
|
1033
|
+
object: null,
|
|
1034
|
+
oldObject: connection,
|
|
1035
|
+
};
|
|
1036
|
+
if (parentKey) {
|
|
1037
|
+
params.parentKey = parentKey;
|
|
1038
|
+
// @ts-ignore
|
|
1039
|
+
const t = this.__v_raw || this;
|
|
1040
|
+
// @ts-ignore
|
|
1041
|
+
const n = connection.__v_raw || connection;
|
|
1042
|
+
if (Array.isArray(t[parentKey])) {
|
|
1043
|
+
// @ts-ignore
|
|
1044
|
+
const index = t[parentKey].findIndex((el) => (el.__v_raw || el) === n);
|
|
1045
|
+
~index && this[parentKey].splice(index, 1);
|
|
1046
|
+
params.index = index;
|
|
1047
|
+
}
|
|
1048
|
+
else {
|
|
1049
|
+
const q = t[parentKey];
|
|
1050
|
+
if ((q.__v_raw || q) === n) {
|
|
1051
|
+
params.index = 0;
|
|
1052
|
+
this[parentKey] = undefined;
|
|
1053
|
+
}
|
|
805
1054
|
}
|
|
806
1055
|
}
|
|
807
1056
|
return params;
|
|
@@ -832,7 +1081,165 @@ class Connector extends Module__1.default {
|
|
|
832
1081
|
getNamespaceUniqueTitle(name = '分组1') {
|
|
833
1082
|
return utils.unique(name, this.getNamespaceExistingTitles(), undefined, false);
|
|
834
1083
|
}
|
|
1084
|
+
// ================ 为解决循环引用而将之前的自动生成代码移动到这里 START =================
|
|
1085
|
+
getAuthLogicForCallInterfaceExistingNames(excludedList = []) {
|
|
1086
|
+
const excludedSet = new Set(excludedList);
|
|
1087
|
+
return (this.authLogicsForCallInterface || [])
|
|
1088
|
+
.filter((item) => !excludedSet.has(item))
|
|
1089
|
+
.map((item) => item.name);
|
|
1090
|
+
}
|
|
1091
|
+
getAuthLogicForCallInterfaceUniqueName(name = 'authLogicForCallInterface1') {
|
|
1092
|
+
return utils.unique(name, this.getAuthLogicForCallInterfaceExistingNames(), undefined, false);
|
|
1093
|
+
}
|
|
1094
|
+
_insertAuthLogicForCallInterfaceAt(options, index) {
|
|
1095
|
+
const authLogicForCallInterfaceOptions = {};
|
|
1096
|
+
const relationOptions = { parentNode: this, parentKey: 'authLogicsForCallInterface' };
|
|
1097
|
+
let authLogicForCallInterface;
|
|
1098
|
+
if (!options) {
|
|
1099
|
+
throw Error('请先调用from方法创建AuthLogicForCallInterface实例');
|
|
1100
|
+
}
|
|
1101
|
+
else if (typeof options === 'string') {
|
|
1102
|
+
throw Error('请先调用from方法创建AuthLogicForCallInterface实例');
|
|
1103
|
+
// FIXME : dont change
|
|
1104
|
+
}
|
|
1105
|
+
else if (options.concept === 'AuthLogicForCallInterface') {
|
|
1106
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
1107
|
+
authLogicForCallInterface = options;
|
|
1108
|
+
Object.assign(authLogicForCallInterface, relationOptions);
|
|
1109
|
+
}
|
|
1110
|
+
else {
|
|
1111
|
+
throw Error('请先调用from方法创建AuthLogicForCallInterface实例');
|
|
1112
|
+
}
|
|
1113
|
+
this.authLogicsForCallInterface.splice(index, 0, authLogicForCallInterface);
|
|
1114
|
+
return authLogicForCallInterface;
|
|
1115
|
+
}
|
|
1116
|
+
insertAuthLogicForCallInterfaceAt(options, index) {
|
|
1117
|
+
const node = this._insertAuthLogicForCallInterfaceAt(options, index);
|
|
1118
|
+
node.create({
|
|
1119
|
+
index,
|
|
1120
|
+
parentNode: this,
|
|
1121
|
+
parentKey: 'authLogicsForCallInterface',
|
|
1122
|
+
});
|
|
1123
|
+
return node;
|
|
1124
|
+
}
|
|
1125
|
+
_addAuthLogicForCallInterface(options) {
|
|
1126
|
+
const index = this.authLogicsForCallInterface.length;
|
|
1127
|
+
return this._insertAuthLogicForCallInterfaceAt(options, index);
|
|
1128
|
+
}
|
|
1129
|
+
addAuthLogicForCallInterface(options) {
|
|
1130
|
+
const node = this._addAuthLogicForCallInterface(options);
|
|
1131
|
+
const index = this.authLogicsForCallInterface.indexOf(node);
|
|
1132
|
+
node.create({
|
|
1133
|
+
index,
|
|
1134
|
+
parentNode: this,
|
|
1135
|
+
parentKey: 'authLogicsForCallInterface',
|
|
1136
|
+
});
|
|
1137
|
+
return node;
|
|
1138
|
+
}
|
|
1139
|
+
removeAuthLogicForCallInterface(options) {
|
|
1140
|
+
let authLogicForCallInterface;
|
|
1141
|
+
if (typeof options === 'string') {
|
|
1142
|
+
authLogicForCallInterface = this.authLogicsForCallInterface.find((item) => item.name === options);
|
|
1143
|
+
if (!authLogicForCallInterface) {
|
|
1144
|
+
throw new Error('找不到调用接口的鉴权逻辑 ' + options);
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
else {
|
|
1148
|
+
authLogicForCallInterface = options;
|
|
1149
|
+
}
|
|
1150
|
+
return authLogicForCallInterface.delete();
|
|
1151
|
+
}
|
|
1152
|
+
__removeAuthLogic(authLogic) {
|
|
1153
|
+
const parentKey = authLogic.parentKey;
|
|
1154
|
+
const params = {
|
|
1155
|
+
parentNode: this,
|
|
1156
|
+
parentKey,
|
|
1157
|
+
index: -1,
|
|
1158
|
+
object: null,
|
|
1159
|
+
oldObject: authLogic,
|
|
1160
|
+
};
|
|
1161
|
+
if (parentKey) {
|
|
1162
|
+
params.parentKey = parentKey;
|
|
1163
|
+
if (Array.isArray(this[parentKey])) {
|
|
1164
|
+
const index = this[parentKey].indexOf(authLogic);
|
|
1165
|
+
~index && this[parentKey].splice(index, 1);
|
|
1166
|
+
params.index = index;
|
|
1167
|
+
}
|
|
1168
|
+
else if (this[parentKey] === authLogic) {
|
|
1169
|
+
params.index = 0;
|
|
1170
|
+
this[parentKey] = undefined;
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
return params;
|
|
1174
|
+
}
|
|
1175
|
+
_insertAuthLogicInAuthLogicsAt(options, index) {
|
|
1176
|
+
const relationOptions = { parentNode: this, parentKey: 'authLogics' };
|
|
1177
|
+
let authLogic;
|
|
1178
|
+
if (!options) {
|
|
1179
|
+
// authLogic = AuthLogic.from({
|
|
1180
|
+
// ...authLogicOptions,
|
|
1181
|
+
// name: this.getAuthLogicUniqueName(),
|
|
1182
|
+
// }, this, 'authLogics');
|
|
1183
|
+
throw Error('请先调用from方法');
|
|
1184
|
+
}
|
|
1185
|
+
else if (typeof options === 'string') {
|
|
1186
|
+
// authLogic = AuthLogic.from({
|
|
1187
|
+
// ...authLogicOptions,
|
|
1188
|
+
// name: options,
|
|
1189
|
+
// }, this, 'authLogics');
|
|
1190
|
+
// FIXME : dont change
|
|
1191
|
+
throw Error('请先调用from方法');
|
|
1192
|
+
}
|
|
1193
|
+
else if (options.concept === 'AuthLogic') {
|
|
1194
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
1195
|
+
authLogic = options;
|
|
1196
|
+
Object.assign(authLogic, relationOptions);
|
|
1197
|
+
}
|
|
1198
|
+
else {
|
|
1199
|
+
// authLogic = AuthLogic.from({
|
|
1200
|
+
// ...authLogicOptions,
|
|
1201
|
+
// ...options,
|
|
1202
|
+
// }, this, 'authLogics');
|
|
1203
|
+
throw Error('请先调用from方法');
|
|
1204
|
+
}
|
|
1205
|
+
this.authLogics.splice(index, 0, authLogic);
|
|
1206
|
+
return authLogic;
|
|
1207
|
+
}
|
|
1208
|
+
insertAuthLogicInAuthLogicsAt(options, index) {
|
|
1209
|
+
const node = this._insertAuthLogicInAuthLogicsAt(options, index);
|
|
1210
|
+
node.create({
|
|
1211
|
+
index,
|
|
1212
|
+
parentNode: this,
|
|
1213
|
+
parentKey: 'authLogics',
|
|
1214
|
+
});
|
|
1215
|
+
return node;
|
|
1216
|
+
}
|
|
1217
|
+
_addAuthLogicInAuthLogics(options) {
|
|
1218
|
+
const index = this.authLogics.length;
|
|
1219
|
+
return this._insertAuthLogicInAuthLogicsAt(options, index);
|
|
1220
|
+
}
|
|
1221
|
+
addAuthLogicInAuthLogics(options) {
|
|
1222
|
+
const node = this._addAuthLogicInAuthLogics(options);
|
|
1223
|
+
const index = this.authLogics.indexOf(node);
|
|
1224
|
+
node.create({
|
|
1225
|
+
index,
|
|
1226
|
+
parentNode: this,
|
|
1227
|
+
parentKey: 'authLogics',
|
|
1228
|
+
});
|
|
1229
|
+
return node;
|
|
1230
|
+
}
|
|
1231
|
+
getAuthLogicExistingNames(excludedList = []) {
|
|
1232
|
+
const excludedSet = new Set(excludedList);
|
|
1233
|
+
return (this.authLogics || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
1234
|
+
}
|
|
1235
|
+
getAuthLogicUniqueName(name = 'authentication1') {
|
|
1236
|
+
return utils.unique(name, this.getAuthLogicExistingNames(), undefined, true);
|
|
1237
|
+
}
|
|
835
1238
|
};
|
|
1239
|
+
/** 类名 */
|
|
1240
|
+
Connector.ConceptName = 'Connector';
|
|
1241
|
+
/** 继承链 */
|
|
1242
|
+
Connector.inheritanceChain = ['Module', 'BaseNode'];
|
|
836
1243
|
__decorate([
|
|
837
1244
|
(0, decorators_1.property)('concept')
|
|
838
1245
|
], Connector.prototype, "concept", void 0);
|
|
@@ -843,36 +1250,89 @@ __decorate([
|
|
|
843
1250
|
(0, decorators_1.property)()
|
|
844
1251
|
], Connector.prototype, "connectorKind", void 0);
|
|
845
1252
|
__decorate([
|
|
846
|
-
(0, decorators_1.property)(
|
|
1253
|
+
(0, decorators_1.property)({
|
|
1254
|
+
objectRef: 'Param',
|
|
1255
|
+
isArray: true,
|
|
1256
|
+
defaultValue: [],
|
|
1257
|
+
})
|
|
847
1258
|
], Connector.prototype, "properties", void 0);
|
|
848
1259
|
__decorate([
|
|
849
|
-
(0, decorators_1.property)(
|
|
1260
|
+
(0, decorators_1.property)({
|
|
1261
|
+
objectRef: 'Logic',
|
|
1262
|
+
isArray: true,
|
|
1263
|
+
defaultValue: [],
|
|
1264
|
+
})
|
|
850
1265
|
], Connector.prototype, "logics", void 0);
|
|
851
1266
|
__decorate([
|
|
852
|
-
(0, decorators_1.property)(
|
|
1267
|
+
(0, decorators_1.property)({
|
|
1268
|
+
objectRef: 'ConnectorTrigger',
|
|
1269
|
+
isArray: true,
|
|
1270
|
+
defaultValue: [],
|
|
1271
|
+
})
|
|
853
1272
|
], Connector.prototype, "triggers", void 0);
|
|
854
1273
|
__decorate([
|
|
855
|
-
(0, decorators_1.property)(
|
|
1274
|
+
(0, decorators_1.property)({
|
|
1275
|
+
objectRef: 'Structure',
|
|
1276
|
+
isArray: true,
|
|
1277
|
+
defaultValue: [],
|
|
1278
|
+
})
|
|
856
1279
|
], Connector.prototype, "structures", void 0);
|
|
857
1280
|
__decorate([
|
|
858
1281
|
(0, decorators_1.property)()
|
|
859
1282
|
], Connector.prototype, "compilerInfoMap", void 0);
|
|
860
1283
|
__decorate([
|
|
861
|
-
(0, decorators_1.property)(
|
|
1284
|
+
(0, decorators_1.property)({
|
|
1285
|
+
objectRef: 'Logic',
|
|
1286
|
+
})
|
|
862
1287
|
], Connector.prototype, "createLogic", void 0);
|
|
863
1288
|
__decorate([
|
|
864
|
-
(0, decorators_1.property)(
|
|
1289
|
+
(0, decorators_1.property)({
|
|
1290
|
+
objectRef: 'Logic',
|
|
1291
|
+
})
|
|
865
1292
|
], Connector.prototype, "testConnectorLogic", void 0);
|
|
866
1293
|
__decorate([
|
|
867
1294
|
(0, decorators_1.property)()
|
|
868
1295
|
], Connector.prototype, "previewImg", void 0);
|
|
869
1296
|
__decorate([
|
|
870
|
-
(0, decorators_1.property)(
|
|
1297
|
+
(0, decorators_1.property)({
|
|
1298
|
+
objectRef: 'Namespace',
|
|
1299
|
+
isArray: true,
|
|
1300
|
+
defaultValue: [],
|
|
1301
|
+
})
|
|
871
1302
|
], Connector.prototype, "namespaces", void 0);
|
|
1303
|
+
__decorate([
|
|
1304
|
+
(0, decorators_1.property)({
|
|
1305
|
+
objectRef: 'AuthLogic',
|
|
1306
|
+
isArray: true,
|
|
1307
|
+
defaultValue: [],
|
|
1308
|
+
})
|
|
1309
|
+
], Connector.prototype, "authLogics", void 0);
|
|
1310
|
+
__decorate([
|
|
1311
|
+
(0, decorators_1.property)({
|
|
1312
|
+
objectRef: 'AuthLogicForCallInterface',
|
|
1313
|
+
isArray: true,
|
|
1314
|
+
defaultValue: [],
|
|
1315
|
+
})
|
|
1316
|
+
], Connector.prototype, "authLogicsForCallInterface", void 0);
|
|
1317
|
+
__decorate([
|
|
1318
|
+
(0, decorators_1.property)({
|
|
1319
|
+
objectRef: 'TriggerLauncher',
|
|
1320
|
+
isArray: true,
|
|
1321
|
+
defaultValue: [],
|
|
1322
|
+
})
|
|
1323
|
+
], Connector.prototype, "triggerLaunchers", void 0);
|
|
1324
|
+
__decorate([
|
|
1325
|
+
(0, decorators_1.property)({
|
|
1326
|
+
objectRef: 'Connection',
|
|
1327
|
+
isArray: true,
|
|
1328
|
+
defaultValue: [],
|
|
1329
|
+
})
|
|
1330
|
+
], Connector.prototype, "connections", void 0);
|
|
1331
|
+
__decorate([
|
|
1332
|
+
(0, decorators_1.property)()
|
|
1333
|
+
], Connector.prototype, "isLocal", void 0);
|
|
872
1334
|
Connector = Connector_1 = __decorate([
|
|
873
|
-
decorators_1.className,
|
|
874
1335
|
(0, decorators_1.concept)('连接器')
|
|
875
|
-
// @ts-ignore
|
|
876
1336
|
], Connector);
|
|
877
1337
|
exports.Connector = Connector;
|
|
878
1338
|
exports.default = Connector;
|