@lcap/nasl 3.7.0-beta.4 → 3.7.0-beta.6
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/dist/README.md +97 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +397 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +91 -0
- package/dist/src/automate/engine/index.d.ts +4 -0
- package/dist/src/automate/engine/operators.d.ts +26 -0
- package/dist/src/automate/engine/uniqueName.d.ts +12 -0
- package/dist/src/automate/engine/utils.d.ts +25 -0
- package/dist/src/automate/engine/viewCache.d.ts +19 -0
- package/dist/src/automate/template/myProcess.d.ts +10 -0
- package/dist/src/automate/upgrader/2.12.d.ts +7 -0
- package/dist/src/automate/upgrader/2.14-components.d.ts +1115 -0
- package/dist/src/automate/upgrader/2.14.d.ts +10 -0
- package/dist/src/automate/upgrader/2.14.old.d.ts +1 -0
- package/dist/src/automate/upgrader/2.16.d.ts +10 -0
- package/dist/src/automate/upgrader/2.17.d.ts +21 -0
- package/dist/src/automate/upgrader/2.18.d.ts +10 -0
- package/dist/src/automate/upgrader/2.20.d.ts +17 -0
- package/dist/src/bak/translator.d.ts +1 -0
- package/dist/src/breakpoint/generator/AfterStartNode.d.ts +7 -0
- package/dist/src/breakpoint/generator/BeforeEndNode.d.ts +7 -0
- package/dist/src/breakpoint/generator/BreakpointNode.d.ts +20 -0
- package/dist/src/breakpoint/generator/CallbackNode.d.ts +4 -0
- package/dist/src/breakpoint/generator/FragmentNode.d.ts +4 -0
- package/dist/src/breakpoint/generator/index.d.ts +4 -0
- package/dist/src/breakpoint/index.d.ts +3 -0
- package/dist/src/breakpoint/shared/constants.d.ts +37 -0
- package/dist/src/breakpoint/shared/index.d.ts +3 -0
- package/dist/src/breakpoint/shared/operations.d.ts +10 -0
- package/dist/src/breakpoint/shared/socket.d.ts +48 -0
- package/dist/src/breakpoint/shared/utils.d.ts +27 -0
- package/dist/src/breakpoint/store/core.d.ts +80 -0
- package/dist/src/breakpoint/store/dock.d.ts +1 -0
- package/dist/src/breakpoint/store/index.d.ts +2 -0
- package/dist/src/common/BaseNode.d.ts +384 -0
- package/dist/src/common/Command.d.ts +21 -0
- package/dist/src/common/ComponentAPI.d.ts +112 -0
- package/dist/src/common/EventEmitter.d.ts +61 -0
- package/dist/src/common/Messager.d.ts +91 -0
- package/dist/src/common/asyncFuncMap.d.ts +2 -0
- package/dist/src/common/index.d.ts +4 -0
- package/dist/src/common/utils.d.ts +2 -0
- package/dist/src/concepts/Abort__.d.ts +31 -0
- package/dist/src/concepts/AbstractInterface__.d.ts +25 -0
- package/dist/src/concepts/Anchor__.d.ts +42 -0
- package/dist/src/concepts/AnonymousFunction__.d.ts +144 -0
- package/dist/src/concepts/App__.d.ts +1711 -0
- package/dist/src/concepts/Argument__.d.ts +64 -0
- package/dist/src/concepts/Assignee__.d.ts +294 -0
- package/dist/src/concepts/AssignmentLine__.d.ts +43 -0
- package/dist/src/concepts/Assignment__.d.ts +57 -0
- package/dist/src/concepts/Attribute__.d.ts +75 -0
- package/dist/src/concepts/AuthInterface__.d.ts +38 -0
- package/dist/src/concepts/AuthLogicForCallInterface__.d.ts +145 -0
- package/dist/src/concepts/AuthLogic__.d.ts +69 -0
- package/dist/src/concepts/BackendVariable__.d.ts +118 -0
- package/dist/src/concepts/Backend__.d.ts +127 -0
- package/dist/src/concepts/BaseSetter__.d.ts +25 -0
- package/dist/src/concepts/BatchAssignment__.d.ts +244 -0
- package/dist/src/concepts/BinaryExpression__.d.ts +61 -0
- package/dist/src/concepts/BindAttribute__.d.ts +284 -0
- package/dist/src/concepts/BindDirective__.d.ts +156 -0
- package/dist/src/concepts/BindEvent__.d.ts +246 -0
- package/dist/src/concepts/BindStyle__.d.ts +127 -0
- package/dist/src/concepts/Block__.d.ts +88 -0
- package/dist/src/concepts/BooleanLiteral__.d.ts +44 -0
- package/dist/src/concepts/BusinessComponent__.d.ts +640 -0
- package/dist/src/concepts/BusinessLogic__.d.ts +44 -0
- package/dist/src/concepts/CallAuthInterface__.d.ts +132 -0
- package/dist/src/concepts/CallConnector__.d.ts +55 -0
- package/dist/src/concepts/CallEvent__.d.ts +100 -0
- package/dist/src/concepts/CallFunction__.d.ts +171 -0
- package/dist/src/concepts/CallInterface__.d.ts +143 -0
- package/dist/src/concepts/CallLogic__.d.ts +224 -0
- package/dist/src/concepts/CallQueryComponent__.d.ts +383 -0
- package/dist/src/concepts/CapsulesSetter__.d.ts +109 -0
- package/dist/src/concepts/Comment__.d.ts +41 -0
- package/dist/src/concepts/CompletionProperty__.d.ts +87 -0
- package/dist/src/concepts/ConfigGroup__.d.ts +121 -0
- package/dist/src/concepts/ConfigPropertyValue__.d.ts +42 -0
- package/dist/src/concepts/ConfigProperty__.d.ts +147 -0
- package/dist/src/concepts/Configuration__.d.ts +120 -0
- package/dist/src/concepts/Connection__.d.ts +159 -0
- package/dist/src/concepts/ConnectorLogic__.d.ts +33 -0
- package/dist/src/concepts/ConnectorTriggerLauncher__.d.ts +44 -0
- package/dist/src/concepts/ConnectorTrigger__.d.ts +76 -0
- package/dist/src/concepts/Connector__.d.ts +532 -0
- package/dist/src/concepts/Constant__.d.ts +94 -0
- package/dist/src/concepts/CountersignPolicy__.d.ts +29 -0
- package/dist/src/concepts/DataSource__.d.ts +163 -0
- package/dist/src/concepts/DatabaseTypeAnnotation__.d.ts +35 -0
- package/dist/src/concepts/DefaultValue__.d.ts +94 -0
- package/dist/src/concepts/Destination__.d.ts +150 -0
- package/dist/src/concepts/End__.d.ts +30 -0
- package/dist/src/concepts/EntityIndex__.d.ts +93 -0
- package/dist/src/concepts/EntityProperty__.d.ts +255 -0
- package/dist/src/concepts/Entity__.d.ts +332 -0
- package/dist/src/concepts/EnumItem__.d.ts +83 -0
- package/dist/src/concepts/EnumSelectSetter__.d.ts +109 -0
- package/dist/src/concepts/Enum__.d.ts +133 -0
- package/dist/src/concepts/EventDeclaration__.d.ts +41 -0
- package/dist/src/concepts/Event__.d.ts +149 -0
- package/dist/src/concepts/ExternalDestination__.d.ts +63 -0
- package/dist/src/concepts/ForEachStatement__.d.ts +126 -0
- package/dist/src/concepts/FrontendLibrary__.d.ts +208 -0
- package/dist/src/concepts/FrontendType__.d.ts +304 -0
- package/dist/src/concepts/FrontendVariable__.d.ts +41 -0
- package/dist/src/concepts/Frontend__.d.ts +389 -0
- package/dist/src/concepts/Function__.d.ts +399 -0
- package/dist/src/concepts/I18nInfo__.d.ts +47 -0
- package/dist/src/concepts/IconSetter__.d.ts +29 -0
- package/dist/src/concepts/Identifier__.d.ts +66 -0
- package/dist/src/concepts/IfStatement__.d.ts +155 -0
- package/dist/src/concepts/ImageSetter__.d.ts +25 -0
- package/dist/src/concepts/ImportedInterface__.d.ts +29 -0
- package/dist/src/concepts/InputSetter__.d.ts +29 -0
- package/dist/src/concepts/Integration__.d.ts +127 -0
- package/dist/src/concepts/InterfaceParam__.d.ts +119 -0
- package/dist/src/concepts/InterfaceTriggerEvent__.d.ts +34 -0
- package/dist/src/concepts/Interface__.d.ts +323 -0
- package/dist/src/concepts/JSBlock__.d.ts +38 -0
- package/dist/src/concepts/JavaLogic__.d.ts +50 -0
- package/dist/src/concepts/LogicDeclaration__.d.ts +289 -0
- package/dist/src/concepts/LogicItem__.d.ts +171 -0
- package/dist/src/concepts/Logic__.d.ts +632 -0
- package/dist/src/concepts/MatchCase__.d.ts +264 -0
- package/dist/src/concepts/Match__.d.ts +122 -0
- package/dist/src/concepts/MemberExpression__.d.ts +64 -0
- package/dist/src/concepts/MetadataType__.d.ts +220 -0
- package/dist/src/concepts/MicroApp__.d.ts +53 -0
- package/dist/src/concepts/Module__.d.ts +1142 -0
- package/dist/src/concepts/MsgTriggerEvent__.d.ts +138 -0
- package/dist/src/concepts/MsgTriggerLauncher__.d.ts +119 -0
- package/dist/src/concepts/MultiApprovalPolicy__.d.ts +25 -0
- package/dist/src/concepts/Namespace__.d.ts +1060 -0
- package/dist/src/concepts/NewComposite__.d.ts +346 -0
- package/dist/src/concepts/NewList__.d.ts +135 -0
- package/dist/src/concepts/NewMap__.d.ts +226 -0
- package/dist/src/concepts/New__.d.ts +30 -0
- package/dist/src/concepts/NullLiteral__.d.ts +36 -0
- package/dist/src/concepts/NumberInputSetter__.d.ts +45 -0
- package/dist/src/concepts/NumericLiteral__.d.ts +53 -0
- package/dist/src/concepts/OqlQueryComponent__.d.ts +67 -0
- package/dist/src/concepts/OverriddenLogic__.d.ts +615 -0
- package/dist/src/concepts/Paginate__.d.ts +59 -0
- package/dist/src/concepts/ParamWithGroup__.d.ts +44 -0
- package/dist/src/concepts/Param__.d.ts +140 -0
- package/dist/src/concepts/Point__.d.ts +33 -0
- package/dist/src/concepts/ProcessComponent__.d.ts +214 -0
- package/dist/src/concepts/ProcessElement__.d.ts +620 -0
- package/dist/src/concepts/ProcessOutcome__.d.ts +35 -0
- package/dist/src/concepts/ProcessOutcomes__.d.ts +35 -0
- package/dist/src/concepts/Process__.d.ts +605 -0
- package/dist/src/concepts/PropDeclaration__.d.ts +99 -0
- package/dist/src/concepts/PropertySelectSetter__.d.ts +25 -0
- package/dist/src/concepts/QueryAggregateExpression__.d.ts +50 -0
- package/dist/src/concepts/QueryFieldExpression__.d.ts +66 -0
- package/dist/src/concepts/QueryFromExpression__.d.ts +107 -0
- package/dist/src/concepts/QueryGroupByExpression__.d.ts +46 -0
- package/dist/src/concepts/QueryJoinExpression__.d.ts +194 -0
- package/dist/src/concepts/QueryLimitExpression__.d.ts +46 -0
- package/dist/src/concepts/QueryOrderByExpression__.d.ts +57 -0
- package/dist/src/concepts/QuerySelectExpression__.d.ts +213 -0
- package/dist/src/concepts/Rect__.d.ts +41 -0
- package/dist/src/concepts/Return__.d.ts +120 -0
- package/dist/src/concepts/Role__.d.ts +58 -0
- package/dist/src/concepts/SelectMembers__.d.ts +134 -0
- package/dist/src/concepts/SequentialPolicy__.d.ts +25 -0
- package/dist/src/concepts/SetterOption__.d.ts +49 -0
- package/dist/src/concepts/SlotDeclaration__.d.ts +213 -0
- package/dist/src/concepts/Slot__.d.ts +53 -0
- package/dist/src/concepts/SqlQueryComponent__.d.ts +63 -0
- package/dist/src/concepts/Start__.d.ts +30 -0
- package/dist/src/concepts/StaticString__.d.ts +49 -0
- package/dist/src/concepts/StringInterpolation__.d.ts +122 -0
- package/dist/src/concepts/StringLiteral__.d.ts +51 -0
- package/dist/src/concepts/StructureProperty__.d.ts +119 -0
- package/dist/src/concepts/Structure__.d.ts +243 -0
- package/dist/src/concepts/SwitchCase__.d.ts +91 -0
- package/dist/src/concepts/SwitchSetter__.d.ts +25 -0
- package/dist/src/concepts/SwitchStatement__.d.ts +90 -0
- package/dist/src/concepts/ThemeVariable__.d.ts +29 -0
- package/dist/src/concepts/Theme__.d.ts +39 -0
- package/dist/src/concepts/Transactional__.d.ts +85 -0
- package/dist/src/concepts/TriggerEvent__.d.ts +42 -0
- package/dist/src/concepts/TriggerLauncher__.d.ts +76 -0
- package/dist/src/concepts/TypeAnnotation__.d.ts +303 -0
- package/dist/src/concepts/TypeParam__.d.ts +34 -0
- package/dist/src/concepts/UnaryExpression__.d.ts +45 -0
- package/dist/src/concepts/Unparsed__.d.ts +41 -0
- package/dist/src/concepts/UseComponent__.d.ts +33 -0
- package/dist/src/concepts/ValidationRule__.d.ts +133 -0
- package/dist/src/concepts/Variable__.d.ts +137 -0
- package/dist/src/concepts/ViewBlockWithImage__.d.ts +33 -0
- package/dist/src/concepts/ViewBlock__.d.ts +37 -0
- package/dist/src/concepts/ViewComponentDeclaration__.d.ts +721 -0
- package/dist/src/concepts/ViewElement__.d.ts +652 -0
- package/dist/src/concepts/View__.d.ts +728 -0
- package/dist/src/concepts/WhileStatement__.d.ts +94 -0
- package/dist/src/concepts/basics/constants.d.ts +1 -0
- package/dist/src/concepts/basics/stdlib/index.d.ts +16 -0
- package/dist/src/concepts/basics/stdlib/nasl.auth.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.browser.d.ts +5 -0
- package/dist/src/concepts/basics/stdlib/nasl.collection.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.configuration.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.core.d.ts +7 -0
- package/dist/src/concepts/basics/stdlib/nasl.event.d.ts +5 -0
- package/dist/src/concepts/basics/stdlib/nasl.http.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.interface.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.io.d.ts +5 -0
- package/dist/src/concepts/basics/stdlib/nasl.logging.d.ts +5 -0
- package/dist/src/concepts/basics/stdlib/nasl.process.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.ui.d.ts +9 -0
- package/dist/src/concepts/basics/stdlib/nasl.util.d.ts +6 -0
- package/dist/src/concepts/basics/stdlib/nasl.validation.d.ts +5 -0
- package/dist/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +4 -0
- package/dist/src/concepts/basics/stdlib/timeZone.d.ts +5 -0
- package/dist/src/concepts/basics/types/coreTypeList.d.ts +2 -0
- package/dist/src/concepts/basics/types/index.d.ts +17 -0
- package/dist/src/concepts/index.d.ts +7 -0
- package/dist/src/concepts/index__.d.ts +156 -0
- package/dist/src/concepts/utils/asserts.d.ts +7825 -0
- package/dist/src/concepts/utils/quick-info.d.ts +13 -0
- package/dist/src/concepts/utils/types.d.ts +510 -0
- package/dist/src/config.d.ts +52 -0
- package/dist/src/decorators/index.d.ts +67 -0
- package/dist/src/decorators/promise.d.ts +7 -0
- package/dist/src/enums/KEYWORDS.d.ts +6 -0
- package/dist/src/enums/LEVEL_NAME_MAP.d.ts +26 -0
- package/dist/src/eventBus.d.ts +3 -0
- package/dist/src/generator/compileComponent.d.ts +11 -0
- package/dist/src/generator/genBundleFiles.d.ts +37 -0
- package/dist/src/generator/genHash.d.ts +7 -0
- package/dist/src/generator/genMetaData.d.ts +31 -0
- package/dist/src/generator/icestark.d.ts +2 -0
- package/dist/src/generator/index.d.ts +7 -0
- package/dist/src/generator/microApp.d.ts +2 -0
- package/dist/src/generator/permission.d.ts +14 -0
- package/dist/src/generator/qiankun.d.ts +2 -0
- package/dist/src/generator/release-body/body.d.ts +42 -0
- package/dist/src/generator/release-body/data.d.ts +45 -0
- package/dist/src/generator/release-body/index.d.ts +2 -0
- package/dist/src/generator/release-body/internal.d.ts +622 -0
- package/dist/src/generator/release-body/types.d.ts +57 -0
- package/dist/src/generator/release-body/utils.d.ts +418 -0
- package/dist/src/generator/release-body/validation.d.ts +3 -0
- package/dist/src/generator/styleReplacer.d.ts +3 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/manager/diagnostic.d.ts +39 -0
- package/dist/src/manager/stepRecorder.d.ts +20 -0
- package/dist/src/natural/componentData.d.ts +31 -0
- package/dist/src/natural/genNaturalTS.d.ts +241 -0
- package/dist/src/natural/index.d.ts +6 -0
- package/dist/src/natural/naslStdlibMap.d.ts +1 -0
- package/dist/src/natural/prompt/analyzeClaims.d.ts +1 -0
- package/dist/src/natural/prompt/analyzeFormatOutput.d.ts +1 -0
- package/dist/src/natural/prompt/analyzeTasks.d.ts +1 -0
- package/dist/src/natural/prompt/executeClaims.d.ts +1 -0
- package/dist/src/natural/transformTSCode.d.ts +7 -0
- package/dist/src/sentry/index.d.ts +34 -0
- package/dist/src/server/createUiTs.d.ts +17 -0
- package/dist/src/server/entity2LogicNamespace.d.ts +10 -0
- package/dist/src/server/event.d.ts +30 -0
- package/dist/src/server/extendBaseNode.d.ts +1 -0
- package/dist/src/server/formatTsUtils.d.ts +36 -0
- package/dist/src/server/getConnector.d.ts +15 -0
- package/dist/src/server/getExtensionModules.d.ts +3 -0
- package/dist/src/server/getFunctions.d.ts +3 -0
- package/dist/src/server/getInterfaces.d.ts +2 -0
- package/dist/src/server/getLogging.d.ts +1 -0
- package/dist/src/server/getLogics.d.ts +5 -0
- package/dist/src/server/getMemberIdentifier.d.ts +17 -0
- package/dist/src/server/getProcessComponents.d.ts +2 -0
- package/dist/src/server/getProcesses.d.ts +33 -0
- package/dist/src/server/getScope.d.ts +13 -0
- package/dist/src/server/getValidates.d.ts +3 -0
- package/dist/src/server/index.d.ts +5 -0
- package/dist/src/server/naslServer.d.ts +391 -0
- package/dist/src/server/naslStdlibMap.d.ts +2 -0
- package/dist/src/server/process2LogicNamespace.d.ts +26 -0
- package/dist/src/server/translator.d.ts +26 -0
- package/dist/src/service/creator/add.configs.d.ts +1 -0
- package/dist/src/service/creator/errHandles.d.ts +18 -0
- package/dist/src/service/creator/index.d.ts +1 -0
- package/dist/src/service/datasource/api.d.ts +12 -0
- package/dist/src/service/datasource/index.d.ts +2 -0
- package/dist/src/service/logic/api.d.ts +9 -0
- package/dist/src/service/logic/checktypeSocket.d.ts +5 -0
- package/dist/src/service/logic/index.d.ts +2 -0
- package/dist/src/service/storage/api.d.ts +54 -0
- package/dist/src/service/storage/index.d.ts +2 -0
- package/dist/src/service/storage/init.d.ts +105 -0
- package/dist/src/service/storage/jsoner.d.ts +36 -0
- package/dist/src/service/storage/map.d.ts +4 -0
- package/dist/src/service/storage/service.d.ts +25 -0
- package/dist/src/service/storage/storagePoint.d.ts +17 -0
- package/dist/src/service/video/BaseService.d.ts +7 -0
- package/dist/src/service/video/MainCallbackService.d.ts +12 -0
- package/dist/src/service/video/VideoTranscribe.d.ts +15 -0
- package/dist/src/service/video/publishService.d.ts +1 -0
- package/dist/src/templator/genCallComponentLogic.d.ts +17 -0
- package/dist/src/templator/genCreateBlock.d.ts +10 -0
- package/dist/src/templator/genCurdEditMultipleKeyBlock.d.ts +8 -0
- package/dist/src/templator/genCurdMultipleKeyBlock.d.ts +61 -0
- package/dist/src/templator/genEditTableBlock.d.ts +51 -0
- package/dist/src/templator/genEnumSelectBlock.d.ts +10 -0
- package/dist/src/templator/genGetBlock.d.ts +6 -0
- package/dist/src/templator/genGridViewBlock.d.ts +55 -0
- package/dist/src/templator/genListViewBlock.d.ts +19 -0
- package/dist/src/templator/genQueryComponent.d.ts +34 -0
- package/dist/src/templator/genSelectBlock.d.ts +45 -0
- package/dist/src/templator/genTableBlock.d.ts +55 -0
- package/dist/src/templator/genUpdateBlock.d.ts +6 -0
- package/dist/src/templator/index.d.ts +19 -0
- package/dist/src/templator/utils.d.ts +683 -0
- package/dist/src/translator/constant.d.ts +6 -0
- package/dist/src/translator/index.d.ts +3 -0
- package/dist/src/translator/types.d.ts +85 -0
- package/dist/src/translator/utils.d.ts +47 -0
- package/dist/src/utils/cookie.d.ts +9 -0
- package/dist/src/utils/create.d.ts +2 -0
- package/dist/src/utils/env.d.ts +2 -0
- package/dist/src/utils/file.d.ts +33 -0
- package/dist/src/utils/i18nInfo.d.ts +5 -0
- package/dist/src/utils/index.d.ts +72 -0
- package/dist/src/utils/logger.d.ts +8 -0
- package/dist/src/utils/sortTsString.d.ts +1 -0
- package/dist/src/utils/string.d.ts +64 -0
- package/dist/src/utils/time-slicing/constant.d.ts +35 -0
- package/dist/src/utils/time-slicing/controller.d.ts +53 -0
- package/dist/src/utils/time-slicing/index.d.ts +5 -0
- package/dist/src/utils/time-slicing/page-state.d.ts +2 -0
- package/dist/src/utils/time-slicing/performance.d.ts +11 -0
- package/dist/src/utils/time-slicing/runner.d.ts +12 -0
- package/dist/src/utils/time-slicing/tool.d.ts +24 -0
- package/dist/src/utils/time-slicing/utils.d.ts +62 -0
- package/dist/src/utils/time-slicing/wrapper.d.ts +18 -0
- package/dist/src/utils/traverse.d.ts +36 -0
- package/dist/src/utils/types.d.ts +13 -0
- package/dist/src/utils/window.d.ts +7 -0
- package/dist/test/concepts/anonymous-function/constant.d.ts +2 -0
- package/dist/test/concepts/anonymous-function/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/anonymous-function/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/anonymous-function/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/assignment/constant.d.ts +2 -0
- package/dist/test/concepts/assignment/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/assignment/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/assignment/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/batch-assignment/constant.d.ts +2 -0
- package/dist/test/concepts/batch-assignment/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/batch-assignment/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/batch-assignment/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/binary-expression/constant.d.ts +2 -0
- package/dist/test/concepts/binary-expression/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/binary-expression/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/binary-expression/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/binary-expression/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/boolean-literal/constant.d.ts +2 -0
- package/dist/test/concepts/boolean-literal/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/boolean-literal/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/boolean-literal/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/call-function/constant.d.ts +2 -0
- package/dist/test/concepts/call-function/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/call-function/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/call-function/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/call-interface/constant.d.ts +2 -0
- package/dist/test/concepts/call-interface/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/call-interface/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/call-interface/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/constant.d.ts +2 -0
- package/dist/test/concepts/call-logic/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/toUI.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/call-logic/toVueDesigner.spec.d.ts +1 -0
- package/dist/test/concepts/data-source/constant.d.ts +2 -0
- package/dist/test/concepts/data-source/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/data-source/toEmbeddedTSFile.spec.d.ts +1 -0
- package/dist/test/concepts/entity/constant.d.ts +2 -0
- package/dist/test/concepts/entity/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/entity/toEmbeddedTSFile.spec.d.ts +1 -0
- package/dist/test/concepts/identifier/constant.d.ts +2 -0
- package/dist/test/concepts/identifier/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/identifier/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/identifier/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/match/constant.d.ts +2 -0
- package/dist/test/concepts/match/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/match/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/member-expression/constant.d.ts +2 -0
- package/dist/test/concepts/member-expression/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/member-expression/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/member-expression/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/new-composite/constant.d.ts +2 -0
- package/dist/test/concepts/new-composite/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/new-composite/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/new-composite/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/new-list/constant.d.ts +2 -0
- package/dist/test/concepts/new-list/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/new-list/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/new-list/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/new-map/constant.d.ts +2 -0
- package/dist/test/concepts/new-map/getQuickInfoOffset.spec.d.ts +1 -0
- package/dist/test/concepts/new-map/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/new-map/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/null-literal/constant.d.ts +2 -0
- package/dist/test/concepts/null-literal/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/null-literal/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/null-literal/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/numeric-literal/constant.d.ts +2 -0
- package/dist/test/concepts/numeric-literal/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/numeric-literal/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/numeric-literal/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/string-literal/constant.d.ts +2 -0
- package/dist/test/concepts/string-literal/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/string-literal/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/string-literal/toVue.spec.d.ts +1 -0
- package/dist/test/concepts/utils.d.ts +13 -0
- package/dist/test/concepts/validation-rule/constant.d.ts +2 -0
- package/dist/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/validation-rule/toJS.spec.d.ts +1 -0
- package/dist/test/concepts/validation-rule/validation-rule.spec.d.ts +1 -0
- package/dist/test/concepts/view-element/constant.d.ts +2 -0
- package/dist/test/concepts/view-element/toEmbeddedTS.spec.d.ts +1 -0
- package/dist/test/concepts/view-element/toVue.spec.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/test/time-slicing/runner.spec.d.ts +1 -0
- package/dist/test/time-slicing/time-slicing-nodejs.spec.d.ts +1 -0
- package/dist/test/time-slicing/utils.d.ts +1 -0
- package/dist/test/time-slicing/wrapper.spec.d.ts +1 -0
- package/out/automate/engine/utils.js +1 -1
- package/out/automate/engine/utils.js.map +1 -1
- package/out/bak/translator.js +12 -12
- package/out/bak/translator.js.map +1 -1
- package/out/common/BaseNode.js +3 -3
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/App__.d.ts +6 -2
- package/out/concepts/App__.js +32 -16
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.js +5 -0
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +1 -0
- package/out/concepts/AuthLogicForCallInterface__.js +15 -4
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +1 -0
- package/out/concepts/CallAuthInterface__.js +14 -1
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +9 -1
- package/out/concepts/CallInterface__.js +105 -16
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.js +12 -6
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/Connection__.d.ts +2 -1
- package/out/concepts/ConnectorLogic__.d.ts +33 -0
- package/out/concepts/ConnectorLogic__.js +69 -0
- package/out/concepts/ConnectorLogic__.js.map +1 -0
- package/out/concepts/ConnectorTriggerLauncher__.d.ts +44 -0
- package/out/concepts/ConnectorTriggerLauncher__.js +99 -0
- package/out/concepts/ConnectorTriggerLauncher__.js.map +1 -0
- package/out/concepts/ConnectorTrigger__.d.ts +5 -4
- package/out/concepts/ConnectorTrigger__.js +39 -4
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +1 -0
- package/out/concepts/Connector__.js +5 -0
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/End__.js +1 -0
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/Frontend__.js +1 -0
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Integration__.d.ts +1 -0
- package/out/concepts/Integration__.js +4 -0
- package/out/concepts/Integration__.js.map +1 -1
- package/out/concepts/InterfaceTriggerEvent__.d.ts +34 -0
- package/out/concepts/InterfaceTriggerEvent__.js +72 -0
- package/out/concepts/InterfaceTriggerEvent__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +3 -3
- package/out/concepts/Interface__.js +7 -6
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/LogicItem__.d.ts +5 -0
- package/out/concepts/LogicItem__.js +7 -1
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +1 -1
- package/out/concepts/Logic__.js +4 -4
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Module__.js +1 -0
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +3 -10
- package/out/concepts/MsgTriggerLauncher__.js +6 -19
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.js +2 -1
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/Param__.js +3 -1
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Structure__.js +4 -4
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/TriggerEvent__.d.ts +2 -2
- package/out/concepts/TriggerEvent__.js +1 -1
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +1 -1
- package/out/concepts/TriggerLauncher__.js +18 -1
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/ViewElement__.d.ts +1 -0
- package/out/concepts/ViewElement__.js +7 -0
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +3 -2
- package/out/concepts/View__.js +11 -18
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.browser.js +42 -0
- package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.configuration.js +8 -0
- package/out/concepts/basics/stdlib/nasl.configuration.js.map +1 -1
- package/out/concepts/index__.d.ts +3 -0
- package/out/concepts/index__.js +3 -0
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +145 -17
- package/out/concepts/utils/asserts.js +212 -39
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +15 -4
- package/out/generator/genBundleFiles.js +15 -2
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genMetaData.js +1 -0
- package/out/generator/genMetaData.js.map +1 -1
- package/out/generator/permission.js +1 -0
- package/out/generator/permission.js.map +1 -1
- package/out/generator/release-body/body.d.ts +1 -0
- package/out/generator/release-body/body.js +8 -6
- package/out/generator/release-body/body.js.map +1 -1
- package/out/generator/release-body/data.d.ts +1 -0
- package/out/generator/release-body/data.js +11 -8
- package/out/generator/release-body/data.js.map +1 -1
- package/out/generator/release-body/internal.d.ts +1 -0
- package/out/generator/release-body/internal.js.map +1 -1
- package/out/generator/release-body/types.d.ts +3 -1
- package/out/manager/diagnostic.d.ts +6 -2
- package/out/manager/diagnostic.js +28 -23
- package/out/manager/diagnostic.js.map +1 -1
- package/out/natural/genNaturalTS.d.ts +8 -8
- package/out/natural/genNaturalTS.js +41 -41
- package/out/natural/prompt/analyzeClaims.js +4 -3
- package/out/natural/prompt/analyzeClaims.js.map +1 -1
- package/out/natural/prompt/analyzeFormatOutput.js +1 -1
- package/out/natural/prompt/analyzeTasks.js +2 -2
- package/out/natural/transformTSCode.js +31 -3
- package/out/natural/transformTSCode.js.map +1 -1
- package/out/server/extendBaseNode.js +36 -3
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.d.ts +1 -1
- package/out/server/formatTsUtils.js +7 -3
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getConnector.d.ts +4 -4
- package/out/server/getConnector.js +3 -3
- package/out/server/getConnector.js.map +1 -1
- package/out/server/getExtensionModules.d.ts +1 -1
- package/out/server/getLogics.js +20 -6
- package/out/server/getLogics.js.map +1 -1
- package/out/server/naslServer.d.ts +5 -4
- package/out/server/naslServer.js +94 -61
- package/out/server/naslServer.js.map +1 -1
- package/out/service/storage/init.js +1 -1
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +2 -2
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.js +2 -3
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +5 -4
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/utils/delay/index.d.ts +0 -0
- package/out/utils/delay/index.js +1 -0
- package/out/utils/delay/index.js.map +1 -0
- package/out/utils/delay.d.ts +9 -0
- package/out/utils/delay.js +41 -0
- package/out/utils/delay.js.map +1 -0
- package/out/utils/env.d.ts +4 -0
- package/out/utils/env.js +6 -1
- package/out/utils/env.js.map +1 -1
- package/out/utils/index.d.ts +5 -0
- package/out/utils/index.js +36 -1
- package/out/utils/index.js.map +1 -1
- package/out/utils/time-slicing/controller.js +4 -2
- package/out/utils/time-slicing/controller.js.map +1 -1
- package/out/utils/time-slicing/page-state.d.ts +1 -1
- package/out/utils/time-slicing/page-state.js +3 -9
- package/out/utils/time-slicing/page-state.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.browser.ts +5 -0
- package/sandbox-natural/stdlib/nasl.core.ts +0 -2
- package/src/automate/engine/utils.js +1 -1
- package/src/bak/translator.js +13 -13
- package/src/common/BaseNode.ts +3 -3
- package/src/concepts/App__.ts +34 -18
- package/src/concepts/Argument__.ts +6 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +15 -4
- package/src/concepts/CallAuthInterface__.ts +18 -1
- package/src/concepts/CallInterface__.ts +121 -16
- package/src/concepts/CallLogic__.ts +14 -7
- package/src/concepts/Connection__.ts +1 -1
- package/src/concepts/ConnectorLogic__.ts +84 -0
- package/src/concepts/ConnectorTriggerLauncher__.ts +117 -0
- package/src/concepts/ConnectorTrigger__.ts +38 -5
- package/src/concepts/Connector__.ts +6 -0
- package/src/concepts/End__.ts +1 -0
- package/src/concepts/Frontend__.ts +1 -0
- package/src/concepts/Integration__.ts +6 -0
- package/src/concepts/InterfaceTriggerEvent__.ts +88 -0
- package/src/concepts/Interface__.ts +9 -8
- package/src/concepts/LogicItem__.ts +8 -1
- package/src/concepts/Logic__.ts +6 -5
- package/src/concepts/MatchCase__.ts +1 -0
- package/src/concepts/Module__.ts +2 -1
- package/src/concepts/MsgTriggerLauncher__.ts +7 -23
- package/src/concepts/OqlQueryComponent__.ts +18 -17
- package/src/concepts/Param__.ts +3 -1
- package/src/concepts/Structure__.ts +4 -4
- package/src/concepts/TriggerEvent__.ts +3 -3
- package/src/concepts/TriggerLauncher__.ts +19 -2
- package/src/concepts/ViewElement__.ts +11 -1
- package/src/concepts/View__.ts +12 -20
- package/src/concepts/basics/stdlib/nasl.browser.ts +42 -0
- package/src/concepts/basics/stdlib/nasl.configuration.ts +8 -0
- package/src/concepts/index__.ts +3 -0
- package/src/concepts/utils/asserts.ts +212 -24
- package/src/concepts/utils/types.ts +25 -6
- package/src/generator/genBundleFiles.ts +14 -4
- package/src/generator/genMetaData.ts +1 -0
- package/src/generator/permission.ts +1 -0
- package/src/generator/release-body/body.ts +10 -7
- package/src/generator/release-body/data.ts +11 -8
- package/src/generator/release-body/internal.ts +1 -0
- package/src/generator/release-body/types.ts +3 -1
- package/src/manager/diagnostic.ts +35 -31
- package/src/natural/genNaturalTS.ts +41 -41
- package/src/natural/prompt/analyzeClaims.ts +4 -3
- package/src/natural/prompt/analyzeFormatOutput.ts +1 -1
- package/src/natural/prompt/analyzeTasks.ts +2 -2
- package/src/natural/transformTSCode.ts +32 -4
- package/src/server/extendBaseNode.ts +35 -4
- package/src/server/formatTsUtils.ts +6 -3
- package/src/server/getConnector.ts +7 -7
- package/src/server/getLogics.ts +21 -6
- package/src/server/naslServer.ts +107 -64
- package/src/service/storage/init.ts +1 -1
- package/src/templator/genCreateBlock.ts +2 -2
- package/src/templator/genCurdEditMultipleKeyBlock.ts +1 -1
- package/src/templator/genCurdMultipleKeyBlock.ts +2 -3
- package/src/templator/genUpdateBlock.ts +5 -4
- package/src/utils/delay/index.ts +0 -0
- package/src/utils/delay.ts +41 -0
- package/src/utils/env.ts +7 -0
- package/src/utils/index.ts +36 -1
- package/src/utils/time-slicing/controller.ts +5 -3
- package/src/utils/time-slicing/page-state.ts +1 -9
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +2 -2
- package/ts-worker/src/index.js +4 -3
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
import View from './View__';
|
|
2
|
+
import Frontend from './Frontend__';
|
|
3
|
+
import ProcessElement from './ProcessElement__';
|
|
4
|
+
import Process from './Process__';
|
|
5
|
+
import Param from './Param__';
|
|
6
|
+
import ConnectorTrigger from './ConnectorTrigger__';
|
|
7
|
+
import Logic from './Logic__';
|
|
8
|
+
import Namespace from './Namespace__';
|
|
9
|
+
import AuthLogic from './AuthLogic__';
|
|
10
|
+
import AuthLogicForCallInterface from './AuthLogicForCallInterface__';
|
|
11
|
+
import Module from './Module__';
|
|
12
|
+
/**
|
|
13
|
+
* 连接器
|
|
14
|
+
*/
|
|
15
|
+
export declare class Connector extends Module {
|
|
16
|
+
/** 类名 */
|
|
17
|
+
static readonly ConceptName: string;
|
|
18
|
+
/**
|
|
19
|
+
* 是否为抽象类
|
|
20
|
+
* 抽象类不能产生 concept: string
|
|
21
|
+
*/
|
|
22
|
+
static isAbstract: boolean;
|
|
23
|
+
/** 继承链 */
|
|
24
|
+
static readonly inheritanceChain: string[];
|
|
25
|
+
/**
|
|
26
|
+
* 产品概念
|
|
27
|
+
*/
|
|
28
|
+
readonly concept: 'Connector';
|
|
29
|
+
/**
|
|
30
|
+
* connectorKind
|
|
31
|
+
*/
|
|
32
|
+
connectorKind: string;
|
|
33
|
+
/**
|
|
34
|
+
* 输入参数列表
|
|
35
|
+
*/
|
|
36
|
+
properties: Array<Param>;
|
|
37
|
+
/**
|
|
38
|
+
* 连接器触发器列表
|
|
39
|
+
*/
|
|
40
|
+
triggers: Array<ConnectorTrigger>;
|
|
41
|
+
/**
|
|
42
|
+
* createLogic
|
|
43
|
+
*/
|
|
44
|
+
createLogic: Logic;
|
|
45
|
+
/**
|
|
46
|
+
* testConnectorLogic
|
|
47
|
+
*/
|
|
48
|
+
testConnectorLogic: Logic;
|
|
49
|
+
/**
|
|
50
|
+
* 预览图
|
|
51
|
+
*/
|
|
52
|
+
previewImg: string;
|
|
53
|
+
/**
|
|
54
|
+
* 命名空间列表
|
|
55
|
+
*/
|
|
56
|
+
namespaces: Array<Namespace>;
|
|
57
|
+
/**
|
|
58
|
+
* 暴露接口的接口鉴权
|
|
59
|
+
*/
|
|
60
|
+
authLogics: Array<AuthLogic>;
|
|
61
|
+
/**
|
|
62
|
+
* 调用接口的鉴权模板
|
|
63
|
+
*/
|
|
64
|
+
authLogicsForCallInterface: Array<AuthLogicForCallInterface>;
|
|
65
|
+
/**
|
|
66
|
+
* isLocal
|
|
67
|
+
*/
|
|
68
|
+
isLocal: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @param source 需要合并的部分参数
|
|
71
|
+
*/
|
|
72
|
+
constructor(source?: Partial<Connector>);
|
|
73
|
+
static from(source: any, parentNode?: any, parentKey?: string): Connector;
|
|
74
|
+
/**
|
|
75
|
+
* 设置connectorKind
|
|
76
|
+
*/
|
|
77
|
+
setConnectorKind(connectorKind: string): void;
|
|
78
|
+
/**
|
|
79
|
+
* 设置输入参数列表
|
|
80
|
+
*/
|
|
81
|
+
setProperties(properties: Array<Param>): void;
|
|
82
|
+
/**
|
|
83
|
+
* 设置连接器触发器列表
|
|
84
|
+
*/
|
|
85
|
+
setTriggers(triggers: Array<ConnectorTrigger>): void;
|
|
86
|
+
/**
|
|
87
|
+
* 设置createLogic
|
|
88
|
+
*/
|
|
89
|
+
setCreateLogic(createLogic: Logic): void;
|
|
90
|
+
/**
|
|
91
|
+
* 设置testConnectorLogic
|
|
92
|
+
*/
|
|
93
|
+
setTestConnectorLogic(testConnectorLogic: Logic): void;
|
|
94
|
+
/**
|
|
95
|
+
* 设置预览图
|
|
96
|
+
*/
|
|
97
|
+
setPreviewImg(previewImg: string): void;
|
|
98
|
+
/**
|
|
99
|
+
* 设置命名空间列表
|
|
100
|
+
*/
|
|
101
|
+
setNamespaces(namespaces: Array<Namespace>): void;
|
|
102
|
+
/**
|
|
103
|
+
* 设置isLocal
|
|
104
|
+
*/
|
|
105
|
+
setIsLocal(isLocal: boolean): void;
|
|
106
|
+
getParamExistingNames(excludedList?: Array<Param>): string[];
|
|
107
|
+
getParamUniqueName(name?: string): string;
|
|
108
|
+
/**
|
|
109
|
+
* 插入输入参数
|
|
110
|
+
* @internal
|
|
111
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
112
|
+
*/
|
|
113
|
+
_insertParamAt(name: string, index: number): Param;
|
|
114
|
+
/**
|
|
115
|
+
* 插入输入参数
|
|
116
|
+
* @internal
|
|
117
|
+
* @param paramOptions 输入参数参数
|
|
118
|
+
*/
|
|
119
|
+
_insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
120
|
+
/**
|
|
121
|
+
* 插入输入参数
|
|
122
|
+
* @internal
|
|
123
|
+
* @param param 已有的输入参数实例
|
|
124
|
+
*/
|
|
125
|
+
_insertParamAt(param: Param, index: number): Param;
|
|
126
|
+
/**
|
|
127
|
+
* 插入输入参数
|
|
128
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
129
|
+
*/
|
|
130
|
+
insertParamAt(name: string, index: number): Param;
|
|
131
|
+
/**
|
|
132
|
+
* 插入输入参数
|
|
133
|
+
* @param paramOptions 输入参数参数
|
|
134
|
+
*/
|
|
135
|
+
insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
136
|
+
/**
|
|
137
|
+
* 插入输入参数
|
|
138
|
+
* @param param 已有的输入参数实例
|
|
139
|
+
*/
|
|
140
|
+
insertParamAt(param: Param, index: number): Param;
|
|
141
|
+
/**
|
|
142
|
+
* 添加输入参数
|
|
143
|
+
* @internal
|
|
144
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
145
|
+
*/
|
|
146
|
+
_addParam(name?: string): Param;
|
|
147
|
+
/**
|
|
148
|
+
* 添加输入参数
|
|
149
|
+
* @internal
|
|
150
|
+
* @param paramOptions 输入参数参数
|
|
151
|
+
*/
|
|
152
|
+
_addParam(paramOptions: Partial<Param>): Param;
|
|
153
|
+
/**
|
|
154
|
+
* 添加输入参数
|
|
155
|
+
* @internal
|
|
156
|
+
* @param param 已有的输入参数实例
|
|
157
|
+
*/
|
|
158
|
+
_addParam(param: Param): Param;
|
|
159
|
+
/**
|
|
160
|
+
* 添加输入参数
|
|
161
|
+
* @internal
|
|
162
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
163
|
+
*/
|
|
164
|
+
addParam(name?: string): Param;
|
|
165
|
+
/**
|
|
166
|
+
* 添加输入参数
|
|
167
|
+
* @param paramOptions 输入参数参数
|
|
168
|
+
*/
|
|
169
|
+
addParam(paramOptions: Partial<Param>): Param;
|
|
170
|
+
/**
|
|
171
|
+
* 添加输入参数
|
|
172
|
+
* @param param 已有的输入参数实例
|
|
173
|
+
*/
|
|
174
|
+
addParam(param: Param): Param;
|
|
175
|
+
getConnectorTriggerExistingNames(excludedList?: Array<ConnectorTrigger>): string[];
|
|
176
|
+
getConnectorTriggerUniqueName(name?: string): string;
|
|
177
|
+
/**
|
|
178
|
+
* 插入连接器触发器
|
|
179
|
+
* @internal
|
|
180
|
+
* @param name 连接器触发器名称,如果不填会自动生成一个唯一名称
|
|
181
|
+
*/
|
|
182
|
+
_insertConnectorTriggerAt(name: string, index: number): ConnectorTrigger;
|
|
183
|
+
/**
|
|
184
|
+
* 插入连接器触发器
|
|
185
|
+
* @internal
|
|
186
|
+
* @param connectorTriggerOptions 连接器触发器参数
|
|
187
|
+
*/
|
|
188
|
+
_insertConnectorTriggerAt(connectorTriggerOptions: Partial<ConnectorTrigger>, index: number): ConnectorTrigger;
|
|
189
|
+
/**
|
|
190
|
+
* 插入连接器触发器
|
|
191
|
+
* @internal
|
|
192
|
+
* @param connectorTrigger 已有的连接器触发器实例
|
|
193
|
+
*/
|
|
194
|
+
_insertConnectorTriggerAt(connectorTrigger: ConnectorTrigger, index: number): ConnectorTrigger;
|
|
195
|
+
/**
|
|
196
|
+
* 插入连接器触发器
|
|
197
|
+
* @param name 连接器触发器名称,如果不填会自动生成一个唯一名称
|
|
198
|
+
*/
|
|
199
|
+
insertConnectorTriggerAt(name: string, index: number): ConnectorTrigger;
|
|
200
|
+
/**
|
|
201
|
+
* 插入连接器触发器
|
|
202
|
+
* @param connectorTriggerOptions 连接器触发器参数
|
|
203
|
+
*/
|
|
204
|
+
insertConnectorTriggerAt(connectorTriggerOptions: Partial<ConnectorTrigger>, index: number): ConnectorTrigger;
|
|
205
|
+
/**
|
|
206
|
+
* 插入连接器触发器
|
|
207
|
+
* @param connectorTrigger 已有的连接器触发器实例
|
|
208
|
+
*/
|
|
209
|
+
insertConnectorTriggerAt(connectorTrigger: ConnectorTrigger, index: number): ConnectorTrigger;
|
|
210
|
+
/**
|
|
211
|
+
* 添加连接器触发器
|
|
212
|
+
* @internal
|
|
213
|
+
* @param name 连接器触发器名称,如果不填会自动生成一个唯一名称
|
|
214
|
+
*/
|
|
215
|
+
_addConnectorTrigger(name?: string): ConnectorTrigger;
|
|
216
|
+
/**
|
|
217
|
+
* 添加连接器触发器
|
|
218
|
+
* @internal
|
|
219
|
+
* @param connectorTriggerOptions 连接器触发器参数
|
|
220
|
+
*/
|
|
221
|
+
_addConnectorTrigger(connectorTriggerOptions: Partial<ConnectorTrigger>): ConnectorTrigger;
|
|
222
|
+
/**
|
|
223
|
+
* 添加连接器触发器
|
|
224
|
+
* @internal
|
|
225
|
+
* @param connectorTrigger 已有的连接器触发器实例
|
|
226
|
+
*/
|
|
227
|
+
_addConnectorTrigger(connectorTrigger: ConnectorTrigger): ConnectorTrigger;
|
|
228
|
+
/**
|
|
229
|
+
* 添加连接器触发器
|
|
230
|
+
* @internal
|
|
231
|
+
* @param name 连接器触发器名称,如果不填会自动生成一个唯一名称
|
|
232
|
+
*/
|
|
233
|
+
addConnectorTrigger(name?: string): ConnectorTrigger;
|
|
234
|
+
/**
|
|
235
|
+
* 添加连接器触发器
|
|
236
|
+
* @param connectorTriggerOptions 连接器触发器参数
|
|
237
|
+
*/
|
|
238
|
+
addConnectorTrigger(connectorTriggerOptions: Partial<ConnectorTrigger>): ConnectorTrigger;
|
|
239
|
+
/**
|
|
240
|
+
* 添加连接器触发器
|
|
241
|
+
* @param connectorTrigger 已有的连接器触发器实例
|
|
242
|
+
*/
|
|
243
|
+
addConnectorTrigger(connectorTrigger: ConnectorTrigger): ConnectorTrigger;
|
|
244
|
+
getNamespaceExistingNames(excludedList?: Array<Namespace>): string[];
|
|
245
|
+
getNamespaceUniqueName(name?: string): string;
|
|
246
|
+
/**
|
|
247
|
+
* 插入命名空间
|
|
248
|
+
* @internal
|
|
249
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
250
|
+
*/
|
|
251
|
+
_insertNamespaceAt(name: string, index: number): Namespace;
|
|
252
|
+
/**
|
|
253
|
+
* 插入命名空间
|
|
254
|
+
* @internal
|
|
255
|
+
* @param namespaceOptions 命名空间参数
|
|
256
|
+
*/
|
|
257
|
+
_insertNamespaceAt(namespaceOptions: Partial<Namespace>, index: number): Namespace;
|
|
258
|
+
/**
|
|
259
|
+
* 插入命名空间
|
|
260
|
+
* @internal
|
|
261
|
+
* @param namespace 已有的命名空间实例
|
|
262
|
+
*/
|
|
263
|
+
_insertNamespaceAt(namespace: Namespace, index: number): Namespace;
|
|
264
|
+
/**
|
|
265
|
+
* 插入命名空间
|
|
266
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
267
|
+
*/
|
|
268
|
+
insertNamespaceAt(name: string, index: number): Namespace;
|
|
269
|
+
/**
|
|
270
|
+
* 插入命名空间
|
|
271
|
+
* @param namespaceOptions 命名空间参数
|
|
272
|
+
*/
|
|
273
|
+
insertNamespaceAt(namespaceOptions: Partial<Namespace>, index: number): Namespace;
|
|
274
|
+
/**
|
|
275
|
+
* 插入命名空间
|
|
276
|
+
* @param namespace 已有的命名空间实例
|
|
277
|
+
*/
|
|
278
|
+
insertNamespaceAt(namespace: Namespace, index: number): Namespace;
|
|
279
|
+
/**
|
|
280
|
+
* 添加命名空间
|
|
281
|
+
* @internal
|
|
282
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
283
|
+
*/
|
|
284
|
+
_addNamespace(name?: string): Namespace;
|
|
285
|
+
/**
|
|
286
|
+
* 添加命名空间
|
|
287
|
+
* @internal
|
|
288
|
+
* @param namespaceOptions 命名空间参数
|
|
289
|
+
*/
|
|
290
|
+
_addNamespace(namespaceOptions: Partial<Namespace>): Namespace;
|
|
291
|
+
/**
|
|
292
|
+
* 添加命名空间
|
|
293
|
+
* @internal
|
|
294
|
+
* @param namespace 已有的命名空间实例
|
|
295
|
+
*/
|
|
296
|
+
_addNamespace(namespace: Namespace): Namespace;
|
|
297
|
+
/**
|
|
298
|
+
* 添加命名空间
|
|
299
|
+
* @internal
|
|
300
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
301
|
+
*/
|
|
302
|
+
addNamespace(name?: string): Namespace;
|
|
303
|
+
/**
|
|
304
|
+
* 添加命名空间
|
|
305
|
+
* @param namespaceOptions 命名空间参数
|
|
306
|
+
*/
|
|
307
|
+
addNamespace(namespaceOptions: Partial<Namespace>): Namespace;
|
|
308
|
+
/**
|
|
309
|
+
* 添加命名空间
|
|
310
|
+
* @param namespace 已有的命名空间实例
|
|
311
|
+
*/
|
|
312
|
+
addNamespace(namespace: Namespace): Namespace;
|
|
313
|
+
getAuthLogicExistingNames(excludedList?: Array<AuthLogic>): string[];
|
|
314
|
+
getAuthLogicUniqueName(name?: string): string;
|
|
315
|
+
/**
|
|
316
|
+
* 插入鉴权逻辑
|
|
317
|
+
* @internal
|
|
318
|
+
* @param name 鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
319
|
+
*/
|
|
320
|
+
_insertAuthLogicAt(name: string, index: number): AuthLogic;
|
|
321
|
+
/**
|
|
322
|
+
* 插入鉴权逻辑
|
|
323
|
+
* @internal
|
|
324
|
+
* @param authLogicOptions 鉴权逻辑参数
|
|
325
|
+
*/
|
|
326
|
+
_insertAuthLogicAt(authLogicOptions: Partial<AuthLogic>, index: number): AuthLogic;
|
|
327
|
+
/**
|
|
328
|
+
* 插入鉴权逻辑
|
|
329
|
+
* @internal
|
|
330
|
+
* @param authLogic 已有的鉴权逻辑实例
|
|
331
|
+
*/
|
|
332
|
+
_insertAuthLogicAt(authLogic: AuthLogic, index: number): AuthLogic;
|
|
333
|
+
/**
|
|
334
|
+
* 插入鉴权逻辑
|
|
335
|
+
* @param name 鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
336
|
+
*/
|
|
337
|
+
insertAuthLogicAt(name: string, index: number): AuthLogic;
|
|
338
|
+
/**
|
|
339
|
+
* 插入鉴权逻辑
|
|
340
|
+
* @param authLogicOptions 鉴权逻辑参数
|
|
341
|
+
*/
|
|
342
|
+
insertAuthLogicAt(authLogicOptions: Partial<AuthLogic>, index: number): AuthLogic;
|
|
343
|
+
/**
|
|
344
|
+
* 插入鉴权逻辑
|
|
345
|
+
* @param authLogic 已有的鉴权逻辑实例
|
|
346
|
+
*/
|
|
347
|
+
insertAuthLogicAt(authLogic: AuthLogic, index: number): AuthLogic;
|
|
348
|
+
/**
|
|
349
|
+
* 添加鉴权逻辑
|
|
350
|
+
* @internal
|
|
351
|
+
* @param name 鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
352
|
+
*/
|
|
353
|
+
_addAuthLogic(name?: string): AuthLogic;
|
|
354
|
+
/**
|
|
355
|
+
* 添加鉴权逻辑
|
|
356
|
+
* @internal
|
|
357
|
+
* @param authLogicOptions 鉴权逻辑参数
|
|
358
|
+
*/
|
|
359
|
+
_addAuthLogic(authLogicOptions: Partial<AuthLogic>): AuthLogic;
|
|
360
|
+
/**
|
|
361
|
+
* 添加鉴权逻辑
|
|
362
|
+
* @internal
|
|
363
|
+
* @param authLogic 已有的鉴权逻辑实例
|
|
364
|
+
*/
|
|
365
|
+
_addAuthLogic(authLogic: AuthLogic): AuthLogic;
|
|
366
|
+
/**
|
|
367
|
+
* 添加鉴权逻辑
|
|
368
|
+
* @internal
|
|
369
|
+
* @param name 鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
370
|
+
*/
|
|
371
|
+
addAuthLogic(name?: string): AuthLogic;
|
|
372
|
+
/**
|
|
373
|
+
* 添加鉴权逻辑
|
|
374
|
+
* @param authLogicOptions 鉴权逻辑参数
|
|
375
|
+
*/
|
|
376
|
+
addAuthLogic(authLogicOptions: Partial<AuthLogic>): AuthLogic;
|
|
377
|
+
/**
|
|
378
|
+
* 添加鉴权逻辑
|
|
379
|
+
* @param authLogic 已有的鉴权逻辑实例
|
|
380
|
+
*/
|
|
381
|
+
addAuthLogic(authLogic: AuthLogic): AuthLogic;
|
|
382
|
+
getAuthLogicForCallInterfaceExistingNames(excludedList?: Array<AuthLogicForCallInterface>): string[];
|
|
383
|
+
getAuthLogicForCallInterfaceUniqueName(name?: string): string;
|
|
384
|
+
/**
|
|
385
|
+
* 插入调用接口的鉴权逻辑
|
|
386
|
+
* @internal
|
|
387
|
+
* @param name 调用接口的鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
388
|
+
*/
|
|
389
|
+
_insertAuthLogicForCallInterfaceAt(name: string, index: number): AuthLogicForCallInterface;
|
|
390
|
+
/**
|
|
391
|
+
* 插入调用接口的鉴权逻辑
|
|
392
|
+
* @internal
|
|
393
|
+
* @param authLogicForCallInterfaceOptions 调用接口的鉴权逻辑参数
|
|
394
|
+
*/
|
|
395
|
+
_insertAuthLogicForCallInterfaceAt(authLogicForCallInterfaceOptions: Partial<AuthLogicForCallInterface>, index: number): AuthLogicForCallInterface;
|
|
396
|
+
/**
|
|
397
|
+
* 插入调用接口的鉴权逻辑
|
|
398
|
+
* @internal
|
|
399
|
+
* @param authLogicForCallInterface 已有的调用接口的鉴权逻辑实例
|
|
400
|
+
*/
|
|
401
|
+
_insertAuthLogicForCallInterfaceAt(authLogicForCallInterface: AuthLogicForCallInterface, index: number): AuthLogicForCallInterface;
|
|
402
|
+
/**
|
|
403
|
+
* 插入调用接口的鉴权逻辑
|
|
404
|
+
* @param name 调用接口的鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
405
|
+
*/
|
|
406
|
+
insertAuthLogicForCallInterfaceAt(name: string, index: number): AuthLogicForCallInterface;
|
|
407
|
+
/**
|
|
408
|
+
* 插入调用接口的鉴权逻辑
|
|
409
|
+
* @param authLogicForCallInterfaceOptions 调用接口的鉴权逻辑参数
|
|
410
|
+
*/
|
|
411
|
+
insertAuthLogicForCallInterfaceAt(authLogicForCallInterfaceOptions: Partial<AuthLogicForCallInterface>, index: number): AuthLogicForCallInterface;
|
|
412
|
+
/**
|
|
413
|
+
* 插入调用接口的鉴权逻辑
|
|
414
|
+
* @param authLogicForCallInterface 已有的调用接口的鉴权逻辑实例
|
|
415
|
+
*/
|
|
416
|
+
insertAuthLogicForCallInterfaceAt(authLogicForCallInterface: AuthLogicForCallInterface, index: number): AuthLogicForCallInterface;
|
|
417
|
+
/**
|
|
418
|
+
* 添加调用接口的鉴权逻辑
|
|
419
|
+
* @internal
|
|
420
|
+
* @param name 调用接口的鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
421
|
+
*/
|
|
422
|
+
_addAuthLogicForCallInterface(name?: string): AuthLogicForCallInterface;
|
|
423
|
+
/**
|
|
424
|
+
* 添加调用接口的鉴权逻辑
|
|
425
|
+
* @internal
|
|
426
|
+
* @param authLogicForCallInterfaceOptions 调用接口的鉴权逻辑参数
|
|
427
|
+
*/
|
|
428
|
+
_addAuthLogicForCallInterface(authLogicForCallInterfaceOptions: Partial<AuthLogicForCallInterface>): AuthLogicForCallInterface;
|
|
429
|
+
/**
|
|
430
|
+
* 添加调用接口的鉴权逻辑
|
|
431
|
+
* @internal
|
|
432
|
+
* @param authLogicForCallInterface 已有的调用接口的鉴权逻辑实例
|
|
433
|
+
*/
|
|
434
|
+
_addAuthLogicForCallInterface(authLogicForCallInterface: AuthLogicForCallInterface): AuthLogicForCallInterface;
|
|
435
|
+
/**
|
|
436
|
+
* 添加调用接口的鉴权逻辑
|
|
437
|
+
* @internal
|
|
438
|
+
* @param name 调用接口的鉴权逻辑名称,如果不填会自动生成一个唯一名称
|
|
439
|
+
*/
|
|
440
|
+
addAuthLogicForCallInterface(name?: string): AuthLogicForCallInterface;
|
|
441
|
+
/**
|
|
442
|
+
* 添加调用接口的鉴权逻辑
|
|
443
|
+
* @param authLogicForCallInterfaceOptions 调用接口的鉴权逻辑参数
|
|
444
|
+
*/
|
|
445
|
+
addAuthLogicForCallInterface(authLogicForCallInterfaceOptions: Partial<AuthLogicForCallInterface>): AuthLogicForCallInterface;
|
|
446
|
+
/**
|
|
447
|
+
* 添加调用接口的鉴权逻辑
|
|
448
|
+
* @param authLogicForCallInterface 已有的调用接口的鉴权逻辑实例
|
|
449
|
+
*/
|
|
450
|
+
addAuthLogicForCallInterface(authLogicForCallInterface: AuthLogicForCallInterface): AuthLogicForCallInterface;
|
|
451
|
+
/**
|
|
452
|
+
* 删除输入参数
|
|
453
|
+
* @param name 输入参数名称
|
|
454
|
+
*/
|
|
455
|
+
removeParam(name: string): void;
|
|
456
|
+
/**
|
|
457
|
+
* 删除输入参数
|
|
458
|
+
* @param param 已有的输入参数实例
|
|
459
|
+
*/
|
|
460
|
+
removeParam(param: Param): void;
|
|
461
|
+
/**
|
|
462
|
+
* 删除连接器触发器
|
|
463
|
+
* @param name 连接器触发器名称
|
|
464
|
+
*/
|
|
465
|
+
removeConnectorTrigger(name: string): void;
|
|
466
|
+
/**
|
|
467
|
+
* 删除连接器触发器
|
|
468
|
+
* @param connectorTrigger 已有的连接器触发器实例
|
|
469
|
+
*/
|
|
470
|
+
removeConnectorTrigger(connectorTrigger: ConnectorTrigger): void;
|
|
471
|
+
/**
|
|
472
|
+
* 删除命名空间
|
|
473
|
+
* @param name 命名空间名称
|
|
474
|
+
*/
|
|
475
|
+
removeNamespace(name: string): void;
|
|
476
|
+
/**
|
|
477
|
+
* 删除命名空间
|
|
478
|
+
* @param namespace 已有的命名空间实例
|
|
479
|
+
*/
|
|
480
|
+
removeNamespace(namespace: Namespace): void;
|
|
481
|
+
/**
|
|
482
|
+
* 删除鉴权逻辑
|
|
483
|
+
* @param name 鉴权逻辑名称
|
|
484
|
+
*/
|
|
485
|
+
removeAuthLogic(name: string): void;
|
|
486
|
+
/**
|
|
487
|
+
* 删除鉴权逻辑
|
|
488
|
+
* @param authLogic 已有的鉴权逻辑实例
|
|
489
|
+
*/
|
|
490
|
+
removeAuthLogic(authLogic: AuthLogic): void;
|
|
491
|
+
/**
|
|
492
|
+
* 删除调用接口的鉴权逻辑
|
|
493
|
+
* @param name 调用接口的鉴权逻辑名称
|
|
494
|
+
*/
|
|
495
|
+
removeAuthLogicForCallInterface(name: string): void;
|
|
496
|
+
/**
|
|
497
|
+
* 删除调用接口的鉴权逻辑
|
|
498
|
+
* @param authLogicForCallInterface 已有的调用接口的鉴权逻辑实例
|
|
499
|
+
*/
|
|
500
|
+
removeAuthLogicForCallInterface(authLogicForCallInterface: AuthLogicForCallInterface): void;
|
|
501
|
+
/**
|
|
502
|
+
* 祖先 Module
|
|
503
|
+
*/
|
|
504
|
+
get module(): Module;
|
|
505
|
+
/**
|
|
506
|
+
* 祖先 View
|
|
507
|
+
*/
|
|
508
|
+
get view(): View;
|
|
509
|
+
/**
|
|
510
|
+
* 祖先 Frontend
|
|
511
|
+
*/
|
|
512
|
+
get frontend(): Frontend;
|
|
513
|
+
/**
|
|
514
|
+
* 祖先 ProcessElement
|
|
515
|
+
*/
|
|
516
|
+
get processElement(): ProcessElement;
|
|
517
|
+
/**
|
|
518
|
+
* 祖先 Process
|
|
519
|
+
*/
|
|
520
|
+
get process(): Process;
|
|
521
|
+
getActions(): Logic[] | {
|
|
522
|
+
title: string;
|
|
523
|
+
name: string;
|
|
524
|
+
expanded: boolean;
|
|
525
|
+
unselectable: boolean;
|
|
526
|
+
children: Logic[];
|
|
527
|
+
}[];
|
|
528
|
+
getNamespaceExistingTitles(excludedList?: Array<Namespace>): string[];
|
|
529
|
+
getNamespaceUniqueTitle(name?: string): string;
|
|
530
|
+
get getNamespacePrefix(): string;
|
|
531
|
+
}
|
|
532
|
+
export default Connector;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { TranslatorState, TranslatorGenerator } from '../translator';
|
|
2
|
+
import { ElementToVueOptions } from './ViewElement__';
|
|
3
|
+
import Logic from './Logic__';
|
|
4
|
+
import Module from './Module__';
|
|
5
|
+
import Connector from './Connector__';
|
|
6
|
+
import View from './View__';
|
|
7
|
+
import Frontend from './Frontend__';
|
|
8
|
+
import ProcessElement from './ProcessElement__';
|
|
9
|
+
import Process from './Process__';
|
|
10
|
+
import BaseNode from '../common/BaseNode';
|
|
11
|
+
import TypeAnnotation from './TypeAnnotation__';
|
|
12
|
+
import DefaultValue from './DefaultValue__';
|
|
13
|
+
/**
|
|
14
|
+
* 常量
|
|
15
|
+
*/
|
|
16
|
+
export declare class Constant extends BaseNode {
|
|
17
|
+
/** 类名 */
|
|
18
|
+
static readonly ConceptName: string;
|
|
19
|
+
/**
|
|
20
|
+
* 是否为抽象类
|
|
21
|
+
* 抽象类不能产生 concept: string
|
|
22
|
+
*/
|
|
23
|
+
static isAbstract: boolean;
|
|
24
|
+
/** 继承链 */
|
|
25
|
+
static readonly inheritanceChain: string[];
|
|
26
|
+
/**
|
|
27
|
+
* 产品概念
|
|
28
|
+
*/
|
|
29
|
+
readonly concept: 'Constant';
|
|
30
|
+
/**
|
|
31
|
+
* 常量名称
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* 常量描述
|
|
36
|
+
*/
|
|
37
|
+
description: string;
|
|
38
|
+
/**
|
|
39
|
+
* 类型
|
|
40
|
+
*/
|
|
41
|
+
typeAnnotation: TypeAnnotation;
|
|
42
|
+
/**
|
|
43
|
+
* 默认值
|
|
44
|
+
*/
|
|
45
|
+
defaultValue: DefaultValue;
|
|
46
|
+
/**
|
|
47
|
+
* @param source 需要合并的部分参数
|
|
48
|
+
*/
|
|
49
|
+
constructor(source?: Partial<Constant>);
|
|
50
|
+
static from(source: any, parentNode?: any, parentKey?: string): Constant;
|
|
51
|
+
/**
|
|
52
|
+
* 设置常量名称
|
|
53
|
+
*/
|
|
54
|
+
setName(name: string): void;
|
|
55
|
+
/**
|
|
56
|
+
* 设置常量描述
|
|
57
|
+
*/
|
|
58
|
+
setDescription(description: string): void;
|
|
59
|
+
/**
|
|
60
|
+
* 祖先 Logic
|
|
61
|
+
*/
|
|
62
|
+
get logic(): Logic;
|
|
63
|
+
/**
|
|
64
|
+
* 祖先 Module
|
|
65
|
+
*/
|
|
66
|
+
get module(): Module;
|
|
67
|
+
/**
|
|
68
|
+
* 祖先 Connector
|
|
69
|
+
*/
|
|
70
|
+
get connector(): Connector;
|
|
71
|
+
/**
|
|
72
|
+
* 祖先 View
|
|
73
|
+
*/
|
|
74
|
+
get view(): View;
|
|
75
|
+
/**
|
|
76
|
+
* 祖先 Frontend
|
|
77
|
+
*/
|
|
78
|
+
get frontend(): Frontend;
|
|
79
|
+
/**
|
|
80
|
+
* 祖先 ProcessElement
|
|
81
|
+
*/
|
|
82
|
+
get processElement(): ProcessElement;
|
|
83
|
+
/**
|
|
84
|
+
* 祖先 Process
|
|
85
|
+
*/
|
|
86
|
+
get process(): Process;
|
|
87
|
+
toVue(options?: ElementToVueOptions): string;
|
|
88
|
+
toUI(state?: TranslatorState, hideDetails?: boolean): string;
|
|
89
|
+
toJS(state?: TranslatorState): string;
|
|
90
|
+
toEmbeddedTS(state?: TranslatorState): TranslatorGenerator;
|
|
91
|
+
toEmbeddedTSInProcess(state?: TranslatorState): TranslatorGenerator;
|
|
92
|
+
toNaturalTS(state?: TranslatorState): string;
|
|
93
|
+
}
|
|
94
|
+
export default Constant;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import MultiApprovalPolicy from './MultiApprovalPolicy__';
|
|
2
|
+
/**
|
|
3
|
+
* 会签
|
|
4
|
+
*/
|
|
5
|
+
export declare class CountersignPolicy extends MultiApprovalPolicy {
|
|
6
|
+
/** 类名 */
|
|
7
|
+
static readonly ConceptName: string;
|
|
8
|
+
/**
|
|
9
|
+
* 是否为抽象类
|
|
10
|
+
* 抽象类不能产生 concept: string
|
|
11
|
+
*/
|
|
12
|
+
static isAbstract: boolean;
|
|
13
|
+
/** 继承链 */
|
|
14
|
+
static readonly inheritanceChain: string[];
|
|
15
|
+
/**
|
|
16
|
+
* 产品概念
|
|
17
|
+
*/
|
|
18
|
+
readonly concept: 'CountersignPolicy';
|
|
19
|
+
/**
|
|
20
|
+
* 通过百分比
|
|
21
|
+
*/
|
|
22
|
+
passPercent: number;
|
|
23
|
+
/**
|
|
24
|
+
* @param source 需要合并的部分参数
|
|
25
|
+
*/
|
|
26
|
+
constructor(source?: Partial<CountersignPolicy>);
|
|
27
|
+
static from(source: any, parentNode?: any, parentKey?: string): CountersignPolicy;
|
|
28
|
+
}
|
|
29
|
+
export default CountersignPolicy;
|