@lcap/nasl 3.6.4-beta.3 → 3.6.4-beta.5
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/concepts/Integration__.d.ts +1 -0
- package/out/concepts/Integration__.js +4 -0
- package/out/concepts/Integration__.js.map +1 -1
- package/out/generator/release-body/body.js +2 -0
- package/out/generator/release-body/body.js.map +1 -1
- package/out/generator/release-body/data.js +2 -0
- package/out/generator/release-body/data.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 +6 -8
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/getLogics.js +1 -1
- package/out/server/getLogics.js.map +1 -1
- package/out/server/naslServer.js +10 -3
- package/out/server/naslServer.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 -2
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +2 -2
- 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/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-natural/stdlib/nasl.core.ts +0 -2
- package/src/concepts/Integration__.ts +5 -0
- package/src/generator/release-body/body.ts +4 -1
- package/src/generator/release-body/data.ts +2 -0
- 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 +6 -8
- package/src/server/getLogics.ts +1 -1
- package/src/server/naslServer.ts +13 -3
- package/src/templator/genCreateBlock.ts +2 -2
- package/src/templator/genCurdEditMultipleKeyBlock.ts +1 -1
- package/src/templator/genCurdMultipleKeyBlock.ts +2 -2
- package/src/templator/genUpdateBlock.ts +2 -2
- 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/time-slicing/controller.ts +5 -3
- package/src/utils/time-slicing/page-state.ts +1 -9
|
@@ -0,0 +1,1060 @@
|
|
|
1
|
+
import BaseNode from '../common/BaseNode';
|
|
2
|
+
import Process from './Process__';
|
|
3
|
+
import Structure from './Structure__';
|
|
4
|
+
import Enum from './Enum__';
|
|
5
|
+
import Logic from './Logic__';
|
|
6
|
+
import Function from './Function__';
|
|
7
|
+
import AbstractInterface from './AbstractInterface__';
|
|
8
|
+
import View from './View__';
|
|
9
|
+
import Variable from './Variable__';
|
|
10
|
+
import ViewComponentDeclaration from './ViewComponentDeclaration__';
|
|
11
|
+
import ProcessComponent from './ProcessComponent__';
|
|
12
|
+
/**
|
|
13
|
+
* 命名空间
|
|
14
|
+
*/
|
|
15
|
+
export declare class Namespace extends BaseNode {
|
|
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: 'Namespace';
|
|
29
|
+
/**
|
|
30
|
+
* 表示是从实体还是流程等概念产生的
|
|
31
|
+
*/
|
|
32
|
+
originConcept: string;
|
|
33
|
+
/**
|
|
34
|
+
* 命名空间名称
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* 命名空间标题
|
|
39
|
+
*/
|
|
40
|
+
title: string;
|
|
41
|
+
/**
|
|
42
|
+
* 命名空间描述
|
|
43
|
+
*/
|
|
44
|
+
description: string;
|
|
45
|
+
/**
|
|
46
|
+
* 命名空间列表
|
|
47
|
+
*/
|
|
48
|
+
children: Array<Namespace>;
|
|
49
|
+
/**
|
|
50
|
+
* 流程列表
|
|
51
|
+
*/
|
|
52
|
+
processes: Array<Process>;
|
|
53
|
+
/**
|
|
54
|
+
* 数据结构列表
|
|
55
|
+
*/
|
|
56
|
+
structures: Array<Structure>;
|
|
57
|
+
/**
|
|
58
|
+
* 枚举列表
|
|
59
|
+
*/
|
|
60
|
+
enums: Array<Enum>;
|
|
61
|
+
/**
|
|
62
|
+
* 逻辑列表
|
|
63
|
+
*/
|
|
64
|
+
logics: Array<Logic>;
|
|
65
|
+
/**
|
|
66
|
+
* 函数列表
|
|
67
|
+
*/
|
|
68
|
+
functions: Array<Function>;
|
|
69
|
+
/**
|
|
70
|
+
* 接口列表
|
|
71
|
+
*/
|
|
72
|
+
interfaces: Array<AbstractInterface>;
|
|
73
|
+
/**
|
|
74
|
+
* 页面列表
|
|
75
|
+
*/
|
|
76
|
+
views: Array<View>;
|
|
77
|
+
/**
|
|
78
|
+
* 变量列表
|
|
79
|
+
*/
|
|
80
|
+
frontendVariables: Array<Variable>;
|
|
81
|
+
/**
|
|
82
|
+
* 变量列表
|
|
83
|
+
*/
|
|
84
|
+
variables: Array<Variable>;
|
|
85
|
+
/**
|
|
86
|
+
* 页面组件列表
|
|
87
|
+
*/
|
|
88
|
+
viewComponents: Array<ViewComponentDeclaration>;
|
|
89
|
+
/**
|
|
90
|
+
* 流程组件列表
|
|
91
|
+
*/
|
|
92
|
+
processComponents: Array<ProcessComponent>;
|
|
93
|
+
/**
|
|
94
|
+
* @param source 需要合并的部分参数
|
|
95
|
+
*/
|
|
96
|
+
constructor(source?: Partial<Namespace>);
|
|
97
|
+
static from(source: any, parentNode?: any, parentKey?: string): Namespace;
|
|
98
|
+
getNamespaceExistingNames(excludedList?: Array<Namespace>): string[];
|
|
99
|
+
getNamespaceUniqueName(name?: string): string;
|
|
100
|
+
/**
|
|
101
|
+
* 插入命名空间
|
|
102
|
+
* @internal
|
|
103
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
104
|
+
*/
|
|
105
|
+
_insertNamespaceAt(name: string, index: number): Namespace;
|
|
106
|
+
/**
|
|
107
|
+
* 插入命名空间
|
|
108
|
+
* @internal
|
|
109
|
+
* @param namespaceOptions 命名空间参数
|
|
110
|
+
*/
|
|
111
|
+
_insertNamespaceAt(namespaceOptions: Partial<Namespace>, index: number): Namespace;
|
|
112
|
+
/**
|
|
113
|
+
* 插入命名空间
|
|
114
|
+
* @internal
|
|
115
|
+
* @param namespace 已有的命名空间实例
|
|
116
|
+
*/
|
|
117
|
+
_insertNamespaceAt(namespace: Namespace, index: number): Namespace;
|
|
118
|
+
/**
|
|
119
|
+
* 插入命名空间
|
|
120
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
121
|
+
*/
|
|
122
|
+
insertNamespaceAt(name: string, index: number): Namespace;
|
|
123
|
+
/**
|
|
124
|
+
* 插入命名空间
|
|
125
|
+
* @param namespaceOptions 命名空间参数
|
|
126
|
+
*/
|
|
127
|
+
insertNamespaceAt(namespaceOptions: Partial<Namespace>, index: number): Namespace;
|
|
128
|
+
/**
|
|
129
|
+
* 插入命名空间
|
|
130
|
+
* @param namespace 已有的命名空间实例
|
|
131
|
+
*/
|
|
132
|
+
insertNamespaceAt(namespace: Namespace, index: number): Namespace;
|
|
133
|
+
/**
|
|
134
|
+
* 添加命名空间
|
|
135
|
+
* @internal
|
|
136
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
137
|
+
*/
|
|
138
|
+
_addNamespace(name?: string): Namespace;
|
|
139
|
+
/**
|
|
140
|
+
* 添加命名空间
|
|
141
|
+
* @internal
|
|
142
|
+
* @param namespaceOptions 命名空间参数
|
|
143
|
+
*/
|
|
144
|
+
_addNamespace(namespaceOptions: Partial<Namespace>): Namespace;
|
|
145
|
+
/**
|
|
146
|
+
* 添加命名空间
|
|
147
|
+
* @internal
|
|
148
|
+
* @param namespace 已有的命名空间实例
|
|
149
|
+
*/
|
|
150
|
+
_addNamespace(namespace: Namespace): Namespace;
|
|
151
|
+
/**
|
|
152
|
+
* 添加命名空间
|
|
153
|
+
* @internal
|
|
154
|
+
* @param name 命名空间名称,如果不填会自动生成一个唯一名称
|
|
155
|
+
*/
|
|
156
|
+
addNamespace(name?: string): Namespace;
|
|
157
|
+
/**
|
|
158
|
+
* 添加命名空间
|
|
159
|
+
* @param namespaceOptions 命名空间参数
|
|
160
|
+
*/
|
|
161
|
+
addNamespace(namespaceOptions: Partial<Namespace>): Namespace;
|
|
162
|
+
/**
|
|
163
|
+
* 添加命名空间
|
|
164
|
+
* @param namespace 已有的命名空间实例
|
|
165
|
+
*/
|
|
166
|
+
addNamespace(namespace: Namespace): Namespace;
|
|
167
|
+
getProcessExistingNames(excludedList?: Array<Process>): string[];
|
|
168
|
+
getProcessUniqueName(name?: string): string;
|
|
169
|
+
/**
|
|
170
|
+
* 插入流程
|
|
171
|
+
* @internal
|
|
172
|
+
* @param name 流程名称,如果不填会自动生成一个唯一名称
|
|
173
|
+
*/
|
|
174
|
+
_insertProcessAt(name: string, index: number): Process;
|
|
175
|
+
/**
|
|
176
|
+
* 插入流程
|
|
177
|
+
* @internal
|
|
178
|
+
* @param processOptions 流程参数
|
|
179
|
+
*/
|
|
180
|
+
_insertProcessAt(processOptions: Partial<Process>, index: number): Process;
|
|
181
|
+
/**
|
|
182
|
+
* 插入流程
|
|
183
|
+
* @internal
|
|
184
|
+
* @param process 已有的流程实例
|
|
185
|
+
*/
|
|
186
|
+
_insertProcessAt(process: Process, index: number): Process;
|
|
187
|
+
/**
|
|
188
|
+
* 插入流程
|
|
189
|
+
* @param name 流程名称,如果不填会自动生成一个唯一名称
|
|
190
|
+
*/
|
|
191
|
+
insertProcessAt(name: string, index: number): Process;
|
|
192
|
+
/**
|
|
193
|
+
* 插入流程
|
|
194
|
+
* @param processOptions 流程参数
|
|
195
|
+
*/
|
|
196
|
+
insertProcessAt(processOptions: Partial<Process>, index: number): Process;
|
|
197
|
+
/**
|
|
198
|
+
* 插入流程
|
|
199
|
+
* @param process 已有的流程实例
|
|
200
|
+
*/
|
|
201
|
+
insertProcessAt(process: Process, index: number): Process;
|
|
202
|
+
/**
|
|
203
|
+
* 添加流程
|
|
204
|
+
* @internal
|
|
205
|
+
* @param name 流程名称,如果不填会自动生成一个唯一名称
|
|
206
|
+
*/
|
|
207
|
+
_addProcess(name?: string): Process;
|
|
208
|
+
/**
|
|
209
|
+
* 添加流程
|
|
210
|
+
* @internal
|
|
211
|
+
* @param processOptions 流程参数
|
|
212
|
+
*/
|
|
213
|
+
_addProcess(processOptions: Partial<Process>): Process;
|
|
214
|
+
/**
|
|
215
|
+
* 添加流程
|
|
216
|
+
* @internal
|
|
217
|
+
* @param process 已有的流程实例
|
|
218
|
+
*/
|
|
219
|
+
_addProcess(process: Process): Process;
|
|
220
|
+
/**
|
|
221
|
+
* 添加流程
|
|
222
|
+
* @internal
|
|
223
|
+
* @param name 流程名称,如果不填会自动生成一个唯一名称
|
|
224
|
+
*/
|
|
225
|
+
addProcess(name?: string): Process;
|
|
226
|
+
/**
|
|
227
|
+
* 添加流程
|
|
228
|
+
* @param processOptions 流程参数
|
|
229
|
+
*/
|
|
230
|
+
addProcess(processOptions: Partial<Process>): Process;
|
|
231
|
+
/**
|
|
232
|
+
* 添加流程
|
|
233
|
+
* @param process 已有的流程实例
|
|
234
|
+
*/
|
|
235
|
+
addProcess(process: Process): Process;
|
|
236
|
+
getStructureExistingNames(excludedList?: Array<Structure>): string[];
|
|
237
|
+
getStructureUniqueName(name?: string): string;
|
|
238
|
+
/**
|
|
239
|
+
* 插入数据结构
|
|
240
|
+
* @internal
|
|
241
|
+
* @param name 数据结构名称,如果不填会自动生成一个唯一名称
|
|
242
|
+
*/
|
|
243
|
+
_insertStructureAt(name: string, index: number): Structure;
|
|
244
|
+
/**
|
|
245
|
+
* 插入数据结构
|
|
246
|
+
* @internal
|
|
247
|
+
* @param structureOptions 数据结构参数
|
|
248
|
+
*/
|
|
249
|
+
_insertStructureAt(structureOptions: Partial<Structure>, index: number): Structure;
|
|
250
|
+
/**
|
|
251
|
+
* 插入数据结构
|
|
252
|
+
* @internal
|
|
253
|
+
* @param structure 已有的数据结构实例
|
|
254
|
+
*/
|
|
255
|
+
_insertStructureAt(structure: Structure, index: number): Structure;
|
|
256
|
+
/**
|
|
257
|
+
* 插入数据结构
|
|
258
|
+
* @param name 数据结构名称,如果不填会自动生成一个唯一名称
|
|
259
|
+
*/
|
|
260
|
+
insertStructureAt(name: string, index: number): Structure;
|
|
261
|
+
/**
|
|
262
|
+
* 插入数据结构
|
|
263
|
+
* @param structureOptions 数据结构参数
|
|
264
|
+
*/
|
|
265
|
+
insertStructureAt(structureOptions: Partial<Structure>, index: number): Structure;
|
|
266
|
+
/**
|
|
267
|
+
* 插入数据结构
|
|
268
|
+
* @param structure 已有的数据结构实例
|
|
269
|
+
*/
|
|
270
|
+
insertStructureAt(structure: Structure, index: number): Structure;
|
|
271
|
+
/**
|
|
272
|
+
* 添加数据结构
|
|
273
|
+
* @internal
|
|
274
|
+
* @param name 数据结构名称,如果不填会自动生成一个唯一名称
|
|
275
|
+
*/
|
|
276
|
+
_addStructure(name?: string): Structure;
|
|
277
|
+
/**
|
|
278
|
+
* 添加数据结构
|
|
279
|
+
* @internal
|
|
280
|
+
* @param structureOptions 数据结构参数
|
|
281
|
+
*/
|
|
282
|
+
_addStructure(structureOptions: Partial<Structure>): Structure;
|
|
283
|
+
/**
|
|
284
|
+
* 添加数据结构
|
|
285
|
+
* @internal
|
|
286
|
+
* @param structure 已有的数据结构实例
|
|
287
|
+
*/
|
|
288
|
+
_addStructure(structure: Structure): Structure;
|
|
289
|
+
/**
|
|
290
|
+
* 添加数据结构
|
|
291
|
+
* @internal
|
|
292
|
+
* @param name 数据结构名称,如果不填会自动生成一个唯一名称
|
|
293
|
+
*/
|
|
294
|
+
addStructure(name?: string): Structure;
|
|
295
|
+
/**
|
|
296
|
+
* 添加数据结构
|
|
297
|
+
* @param structureOptions 数据结构参数
|
|
298
|
+
*/
|
|
299
|
+
addStructure(structureOptions: Partial<Structure>): Structure;
|
|
300
|
+
/**
|
|
301
|
+
* 添加数据结构
|
|
302
|
+
* @param structure 已有的数据结构实例
|
|
303
|
+
*/
|
|
304
|
+
addStructure(structure: Structure): Structure;
|
|
305
|
+
getEnumExistingNames(excludedList?: Array<Enum>): string[];
|
|
306
|
+
getEnumUniqueName(name?: string): string;
|
|
307
|
+
/**
|
|
308
|
+
* 插入枚举
|
|
309
|
+
* @internal
|
|
310
|
+
* @param name 枚举名称,如果不填会自动生成一个唯一名称
|
|
311
|
+
*/
|
|
312
|
+
_insertEnumAt(name: string, index: number): Enum;
|
|
313
|
+
/**
|
|
314
|
+
* 插入枚举
|
|
315
|
+
* @internal
|
|
316
|
+
* @param enumerationOptions 枚举参数
|
|
317
|
+
*/
|
|
318
|
+
_insertEnumAt(enumerationOptions: Partial<Enum>, index: number): Enum;
|
|
319
|
+
/**
|
|
320
|
+
* 插入枚举
|
|
321
|
+
* @internal
|
|
322
|
+
* @param enumeration 已有的枚举实例
|
|
323
|
+
*/
|
|
324
|
+
_insertEnumAt(enumeration: Enum, index: number): Enum;
|
|
325
|
+
/**
|
|
326
|
+
* 插入枚举
|
|
327
|
+
* @param name 枚举名称,如果不填会自动生成一个唯一名称
|
|
328
|
+
*/
|
|
329
|
+
insertEnumAt(name: string, index: number): Enum;
|
|
330
|
+
/**
|
|
331
|
+
* 插入枚举
|
|
332
|
+
* @param enumerationOptions 枚举参数
|
|
333
|
+
*/
|
|
334
|
+
insertEnumAt(enumerationOptions: Partial<Enum>, index: number): Enum;
|
|
335
|
+
/**
|
|
336
|
+
* 插入枚举
|
|
337
|
+
* @param enumeration 已有的枚举实例
|
|
338
|
+
*/
|
|
339
|
+
insertEnumAt(enumeration: Enum, index: number): Enum;
|
|
340
|
+
/**
|
|
341
|
+
* 添加枚举
|
|
342
|
+
* @internal
|
|
343
|
+
* @param name 枚举名称,如果不填会自动生成一个唯一名称
|
|
344
|
+
*/
|
|
345
|
+
_addEnum(name?: string): Enum;
|
|
346
|
+
/**
|
|
347
|
+
* 添加枚举
|
|
348
|
+
* @internal
|
|
349
|
+
* @param enumerationOptions 枚举参数
|
|
350
|
+
*/
|
|
351
|
+
_addEnum(enumerationOptions: Partial<Enum>): Enum;
|
|
352
|
+
/**
|
|
353
|
+
* 添加枚举
|
|
354
|
+
* @internal
|
|
355
|
+
* @param enumeration 已有的枚举实例
|
|
356
|
+
*/
|
|
357
|
+
_addEnum(enumeration: Enum): Enum;
|
|
358
|
+
/**
|
|
359
|
+
* 添加枚举
|
|
360
|
+
* @internal
|
|
361
|
+
* @param name 枚举名称,如果不填会自动生成一个唯一名称
|
|
362
|
+
*/
|
|
363
|
+
addEnum(name?: string): Enum;
|
|
364
|
+
/**
|
|
365
|
+
* 添加枚举
|
|
366
|
+
* @param enumerationOptions 枚举参数
|
|
367
|
+
*/
|
|
368
|
+
addEnum(enumerationOptions: Partial<Enum>): Enum;
|
|
369
|
+
/**
|
|
370
|
+
* 添加枚举
|
|
371
|
+
* @param enumeration 已有的枚举实例
|
|
372
|
+
*/
|
|
373
|
+
addEnum(enumeration: Enum): Enum;
|
|
374
|
+
getLogicExistingNames(excludedList?: Array<Logic>): string[];
|
|
375
|
+
getLogicUniqueName(name?: string): string;
|
|
376
|
+
/**
|
|
377
|
+
* 插入逻辑
|
|
378
|
+
* @internal
|
|
379
|
+
* @param name 逻辑名称,如果不填会自动生成一个唯一名称
|
|
380
|
+
*/
|
|
381
|
+
_insertLogicAt(name: string, index: number): Logic;
|
|
382
|
+
/**
|
|
383
|
+
* 插入逻辑
|
|
384
|
+
* @internal
|
|
385
|
+
* @param logicOptions 逻辑参数
|
|
386
|
+
*/
|
|
387
|
+
_insertLogicAt(logicOptions: Partial<Logic>, index: number): Logic;
|
|
388
|
+
/**
|
|
389
|
+
* 插入逻辑
|
|
390
|
+
* @internal
|
|
391
|
+
* @param logic 已有的逻辑实例
|
|
392
|
+
*/
|
|
393
|
+
_insertLogicAt(logic: Logic, index: number): Logic;
|
|
394
|
+
/**
|
|
395
|
+
* 插入逻辑
|
|
396
|
+
* @param name 逻辑名称,如果不填会自动生成一个唯一名称
|
|
397
|
+
*/
|
|
398
|
+
insertLogicAt(name: string, index: number): Logic;
|
|
399
|
+
/**
|
|
400
|
+
* 插入逻辑
|
|
401
|
+
* @param logicOptions 逻辑参数
|
|
402
|
+
*/
|
|
403
|
+
insertLogicAt(logicOptions: Partial<Logic>, index: number): Logic;
|
|
404
|
+
/**
|
|
405
|
+
* 插入逻辑
|
|
406
|
+
* @param logic 已有的逻辑实例
|
|
407
|
+
*/
|
|
408
|
+
insertLogicAt(logic: Logic, index: number): Logic;
|
|
409
|
+
/**
|
|
410
|
+
* 添加逻辑
|
|
411
|
+
* @internal
|
|
412
|
+
* @param name 逻辑名称,如果不填会自动生成一个唯一名称
|
|
413
|
+
*/
|
|
414
|
+
_addLogic(name?: string): Logic;
|
|
415
|
+
/**
|
|
416
|
+
* 添加逻辑
|
|
417
|
+
* @internal
|
|
418
|
+
* @param logicOptions 逻辑参数
|
|
419
|
+
*/
|
|
420
|
+
_addLogic(logicOptions: Partial<Logic>): Logic;
|
|
421
|
+
/**
|
|
422
|
+
* 添加逻辑
|
|
423
|
+
* @internal
|
|
424
|
+
* @param logic 已有的逻辑实例
|
|
425
|
+
*/
|
|
426
|
+
_addLogic(logic: Logic): Logic;
|
|
427
|
+
/**
|
|
428
|
+
* 添加逻辑
|
|
429
|
+
* @internal
|
|
430
|
+
* @param name 逻辑名称,如果不填会自动生成一个唯一名称
|
|
431
|
+
*/
|
|
432
|
+
addLogic(name?: string): Logic;
|
|
433
|
+
/**
|
|
434
|
+
* 添加逻辑
|
|
435
|
+
* @param logicOptions 逻辑参数
|
|
436
|
+
*/
|
|
437
|
+
addLogic(logicOptions: Partial<Logic>): Logic;
|
|
438
|
+
/**
|
|
439
|
+
* 添加逻辑
|
|
440
|
+
* @param logic 已有的逻辑实例
|
|
441
|
+
*/
|
|
442
|
+
addLogic(logic: Logic): Logic;
|
|
443
|
+
getFunctionExistingNames(excludedList?: Array<Function>): string[];
|
|
444
|
+
getFunctionUniqueName(name?: string): string;
|
|
445
|
+
/**
|
|
446
|
+
* 插入函数
|
|
447
|
+
* @internal
|
|
448
|
+
* @param name 函数名称,如果不填会自动生成一个唯一名称
|
|
449
|
+
*/
|
|
450
|
+
_insertFunctionAt(name: string, index: number): Function;
|
|
451
|
+
/**
|
|
452
|
+
* 插入函数
|
|
453
|
+
* @internal
|
|
454
|
+
* @param funcOptions 函数参数
|
|
455
|
+
*/
|
|
456
|
+
_insertFunctionAt(funcOptions: Partial<Function>, index: number): Function;
|
|
457
|
+
/**
|
|
458
|
+
* 插入函数
|
|
459
|
+
* @internal
|
|
460
|
+
* @param func 已有的函数实例
|
|
461
|
+
*/
|
|
462
|
+
_insertFunctionAt(func: Function, index: number): Function;
|
|
463
|
+
/**
|
|
464
|
+
* 插入函数
|
|
465
|
+
* @param name 函数名称,如果不填会自动生成一个唯一名称
|
|
466
|
+
*/
|
|
467
|
+
insertFunctionAt(name: string, index: number): Function;
|
|
468
|
+
/**
|
|
469
|
+
* 插入函数
|
|
470
|
+
* @param funcOptions 函数参数
|
|
471
|
+
*/
|
|
472
|
+
insertFunctionAt(funcOptions: Partial<Function>, index: number): Function;
|
|
473
|
+
/**
|
|
474
|
+
* 插入函数
|
|
475
|
+
* @param func 已有的函数实例
|
|
476
|
+
*/
|
|
477
|
+
insertFunctionAt(func: Function, index: number): Function;
|
|
478
|
+
/**
|
|
479
|
+
* 添加函数
|
|
480
|
+
* @internal
|
|
481
|
+
* @param name 函数名称,如果不填会自动生成一个唯一名称
|
|
482
|
+
*/
|
|
483
|
+
_addFunction(name?: string): Function;
|
|
484
|
+
/**
|
|
485
|
+
* 添加函数
|
|
486
|
+
* @internal
|
|
487
|
+
* @param funcOptions 函数参数
|
|
488
|
+
*/
|
|
489
|
+
_addFunction(funcOptions: Partial<Function>): Function;
|
|
490
|
+
/**
|
|
491
|
+
* 添加函数
|
|
492
|
+
* @internal
|
|
493
|
+
* @param func 已有的函数实例
|
|
494
|
+
*/
|
|
495
|
+
_addFunction(func: Function): Function;
|
|
496
|
+
/**
|
|
497
|
+
* 添加函数
|
|
498
|
+
* @internal
|
|
499
|
+
* @param name 函数名称,如果不填会自动生成一个唯一名称
|
|
500
|
+
*/
|
|
501
|
+
addFunction(name?: string): Function;
|
|
502
|
+
/**
|
|
503
|
+
* 添加函数
|
|
504
|
+
* @param funcOptions 函数参数
|
|
505
|
+
*/
|
|
506
|
+
addFunction(funcOptions: Partial<Function>): Function;
|
|
507
|
+
/**
|
|
508
|
+
* 添加函数
|
|
509
|
+
* @param func 已有的函数实例
|
|
510
|
+
*/
|
|
511
|
+
addFunction(func: Function): Function;
|
|
512
|
+
getInterfaceExistingNames(excludedList?: Array<AbstractInterface>): string[];
|
|
513
|
+
getInterfaceUniqueName(name?: string): string;
|
|
514
|
+
/**
|
|
515
|
+
* 插入接口
|
|
516
|
+
* @internal
|
|
517
|
+
* @param name 接口名称,如果不填会自动生成一个唯一名称
|
|
518
|
+
*/
|
|
519
|
+
_insertInterfaceAt(name: string, index: number): AbstractInterface;
|
|
520
|
+
/**
|
|
521
|
+
* 插入接口
|
|
522
|
+
* @internal
|
|
523
|
+
* @param itfaceOptions 接口参数
|
|
524
|
+
*/
|
|
525
|
+
_insertInterfaceAt(itfaceOptions: Partial<AbstractInterface>, index: number): AbstractInterface;
|
|
526
|
+
/**
|
|
527
|
+
* 插入接口
|
|
528
|
+
* @internal
|
|
529
|
+
* @param itface 已有的接口实例
|
|
530
|
+
*/
|
|
531
|
+
_insertInterfaceAt(itface: AbstractInterface, index: number): AbstractInterface;
|
|
532
|
+
/**
|
|
533
|
+
* 插入接口
|
|
534
|
+
* @param name 接口名称,如果不填会自动生成一个唯一名称
|
|
535
|
+
*/
|
|
536
|
+
insertInterfaceAt(name: string, index: number): AbstractInterface;
|
|
537
|
+
/**
|
|
538
|
+
* 插入接口
|
|
539
|
+
* @param itfaceOptions 接口参数
|
|
540
|
+
*/
|
|
541
|
+
insertInterfaceAt(itfaceOptions: Partial<AbstractInterface>, index: number): AbstractInterface;
|
|
542
|
+
/**
|
|
543
|
+
* 插入接口
|
|
544
|
+
* @param itface 已有的接口实例
|
|
545
|
+
*/
|
|
546
|
+
insertInterfaceAt(itface: AbstractInterface, index: number): AbstractInterface;
|
|
547
|
+
/**
|
|
548
|
+
* 添加接口
|
|
549
|
+
* @internal
|
|
550
|
+
* @param name 接口名称,如果不填会自动生成一个唯一名称
|
|
551
|
+
*/
|
|
552
|
+
_addInterface(name?: string): AbstractInterface;
|
|
553
|
+
/**
|
|
554
|
+
* 添加接口
|
|
555
|
+
* @internal
|
|
556
|
+
* @param itfaceOptions 接口参数
|
|
557
|
+
*/
|
|
558
|
+
_addInterface(itfaceOptions: Partial<AbstractInterface>): AbstractInterface;
|
|
559
|
+
/**
|
|
560
|
+
* 添加接口
|
|
561
|
+
* @internal
|
|
562
|
+
* @param itface 已有的接口实例
|
|
563
|
+
*/
|
|
564
|
+
_addInterface(itface: AbstractInterface): AbstractInterface;
|
|
565
|
+
/**
|
|
566
|
+
* 添加接口
|
|
567
|
+
* @internal
|
|
568
|
+
* @param name 接口名称,如果不填会自动生成一个唯一名称
|
|
569
|
+
*/
|
|
570
|
+
addInterface(name?: string): AbstractInterface;
|
|
571
|
+
/**
|
|
572
|
+
* 添加接口
|
|
573
|
+
* @param itfaceOptions 接口参数
|
|
574
|
+
*/
|
|
575
|
+
addInterface(itfaceOptions: Partial<AbstractInterface>): AbstractInterface;
|
|
576
|
+
/**
|
|
577
|
+
* 添加接口
|
|
578
|
+
* @param itface 已有的接口实例
|
|
579
|
+
*/
|
|
580
|
+
addInterface(itface: AbstractInterface): AbstractInterface;
|
|
581
|
+
getViewExistingNames(excludedList?: Array<View>): string[];
|
|
582
|
+
getViewUniqueName(name?: string): string;
|
|
583
|
+
/**
|
|
584
|
+
* 插入页面
|
|
585
|
+
* @internal
|
|
586
|
+
* @param name 页面名称,如果不填会自动生成一个唯一名称
|
|
587
|
+
*/
|
|
588
|
+
_insertViewAt(name: string, index: number): View;
|
|
589
|
+
/**
|
|
590
|
+
* 插入页面
|
|
591
|
+
* @internal
|
|
592
|
+
* @param viewOptions 页面参数
|
|
593
|
+
*/
|
|
594
|
+
_insertViewAt(viewOptions: Partial<View>, index: number): View;
|
|
595
|
+
/**
|
|
596
|
+
* 插入页面
|
|
597
|
+
* @internal
|
|
598
|
+
* @param view 已有的页面实例
|
|
599
|
+
*/
|
|
600
|
+
_insertViewAt(view: View, index: number): View;
|
|
601
|
+
/**
|
|
602
|
+
* 插入页面
|
|
603
|
+
* @param name 页面名称,如果不填会自动生成一个唯一名称
|
|
604
|
+
*/
|
|
605
|
+
insertViewAt(name: string, index: number): View;
|
|
606
|
+
/**
|
|
607
|
+
* 插入页面
|
|
608
|
+
* @param viewOptions 页面参数
|
|
609
|
+
*/
|
|
610
|
+
insertViewAt(viewOptions: Partial<View>, index: number): View;
|
|
611
|
+
/**
|
|
612
|
+
* 插入页面
|
|
613
|
+
* @param view 已有的页面实例
|
|
614
|
+
*/
|
|
615
|
+
insertViewAt(view: View, index: number): View;
|
|
616
|
+
/**
|
|
617
|
+
* 添加页面
|
|
618
|
+
* @internal
|
|
619
|
+
* @param name 页面名称,如果不填会自动生成一个唯一名称
|
|
620
|
+
*/
|
|
621
|
+
_addView(name?: string): View;
|
|
622
|
+
/**
|
|
623
|
+
* 添加页面
|
|
624
|
+
* @internal
|
|
625
|
+
* @param viewOptions 页面参数
|
|
626
|
+
*/
|
|
627
|
+
_addView(viewOptions: Partial<View>): View;
|
|
628
|
+
/**
|
|
629
|
+
* 添加页面
|
|
630
|
+
* @internal
|
|
631
|
+
* @param view 已有的页面实例
|
|
632
|
+
*/
|
|
633
|
+
_addView(view: View): View;
|
|
634
|
+
/**
|
|
635
|
+
* 添加页面
|
|
636
|
+
* @internal
|
|
637
|
+
* @param name 页面名称,如果不填会自动生成一个唯一名称
|
|
638
|
+
*/
|
|
639
|
+
addView(name?: string): View;
|
|
640
|
+
/**
|
|
641
|
+
* 添加页面
|
|
642
|
+
* @param viewOptions 页面参数
|
|
643
|
+
*/
|
|
644
|
+
addView(viewOptions: Partial<View>): View;
|
|
645
|
+
/**
|
|
646
|
+
* 添加页面
|
|
647
|
+
* @param view 已有的页面实例
|
|
648
|
+
*/
|
|
649
|
+
addView(view: View): View;
|
|
650
|
+
getVarExistingNames(excludedList?: Array<Variable>): string[];
|
|
651
|
+
getVariableUniqueName(name?: string): string;
|
|
652
|
+
/**
|
|
653
|
+
* 插入变量
|
|
654
|
+
* @internal
|
|
655
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
656
|
+
*/
|
|
657
|
+
_insertVariableInFrontendVariablesAt(name: string, index: number): Variable;
|
|
658
|
+
/**
|
|
659
|
+
* 插入变量
|
|
660
|
+
* @internal
|
|
661
|
+
* @param variableOptions 变量参数
|
|
662
|
+
*/
|
|
663
|
+
_insertVariableInFrontendVariablesAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
664
|
+
/**
|
|
665
|
+
* 插入变量
|
|
666
|
+
* @internal
|
|
667
|
+
* @param variable 已有的变量实例
|
|
668
|
+
*/
|
|
669
|
+
_insertVariableInFrontendVariablesAt(variable: Variable, index: number): Variable;
|
|
670
|
+
/**
|
|
671
|
+
* 插入变量
|
|
672
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
673
|
+
*/
|
|
674
|
+
insertVariableInFrontendVariablesAt(name: string, index: number): Variable;
|
|
675
|
+
/**
|
|
676
|
+
* 插入变量
|
|
677
|
+
* @param variableOptions 变量参数
|
|
678
|
+
*/
|
|
679
|
+
insertVariableInFrontendVariablesAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
680
|
+
/**
|
|
681
|
+
* 插入变量
|
|
682
|
+
* @param variable 已有的变量实例
|
|
683
|
+
*/
|
|
684
|
+
insertVariableInFrontendVariablesAt(variable: Variable, index: number): Variable;
|
|
685
|
+
/**
|
|
686
|
+
* 添加变量
|
|
687
|
+
* @internal
|
|
688
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
689
|
+
*/
|
|
690
|
+
_addVariableInFrontendVariables(name?: string): Variable;
|
|
691
|
+
/**
|
|
692
|
+
* 添加变量
|
|
693
|
+
* @internal
|
|
694
|
+
* @param variableOptions 变量参数
|
|
695
|
+
*/
|
|
696
|
+
_addVariableInFrontendVariables(variableOptions: Partial<Variable>): Variable;
|
|
697
|
+
/**
|
|
698
|
+
* 添加变量
|
|
699
|
+
* @internal
|
|
700
|
+
* @param variable 已有的变量实例
|
|
701
|
+
*/
|
|
702
|
+
_addVariableInFrontendVariables(variable: Variable): Variable;
|
|
703
|
+
/**
|
|
704
|
+
* 添加变量
|
|
705
|
+
* @internal
|
|
706
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
707
|
+
*/
|
|
708
|
+
addVariableInFrontendVariables(name?: string): Variable;
|
|
709
|
+
/**
|
|
710
|
+
* 添加变量
|
|
711
|
+
* @param variableOptions 变量参数
|
|
712
|
+
*/
|
|
713
|
+
addVariableInFrontendVariables(variableOptions: Partial<Variable>): Variable;
|
|
714
|
+
/**
|
|
715
|
+
* 添加变量
|
|
716
|
+
* @param variable 已有的变量实例
|
|
717
|
+
*/
|
|
718
|
+
addVariableInFrontendVariables(variable: Variable): Variable;
|
|
719
|
+
/**
|
|
720
|
+
* 插入变量
|
|
721
|
+
* @internal
|
|
722
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
723
|
+
*/
|
|
724
|
+
_insertVariableInVariablesAt(name: string, index: number): Variable;
|
|
725
|
+
/**
|
|
726
|
+
* 插入变量
|
|
727
|
+
* @internal
|
|
728
|
+
* @param variableOptions 变量参数
|
|
729
|
+
*/
|
|
730
|
+
_insertVariableInVariablesAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
731
|
+
/**
|
|
732
|
+
* 插入变量
|
|
733
|
+
* @internal
|
|
734
|
+
* @param variable 已有的变量实例
|
|
735
|
+
*/
|
|
736
|
+
_insertVariableInVariablesAt(variable: Variable, index: number): Variable;
|
|
737
|
+
/**
|
|
738
|
+
* 插入变量
|
|
739
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
740
|
+
*/
|
|
741
|
+
insertVariableInVariablesAt(name: string, index: number): Variable;
|
|
742
|
+
/**
|
|
743
|
+
* 插入变量
|
|
744
|
+
* @param variableOptions 变量参数
|
|
745
|
+
*/
|
|
746
|
+
insertVariableInVariablesAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
747
|
+
/**
|
|
748
|
+
* 插入变量
|
|
749
|
+
* @param variable 已有的变量实例
|
|
750
|
+
*/
|
|
751
|
+
insertVariableInVariablesAt(variable: Variable, index: number): Variable;
|
|
752
|
+
/**
|
|
753
|
+
* 添加变量
|
|
754
|
+
* @internal
|
|
755
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
756
|
+
*/
|
|
757
|
+
_addVariableInVariables(name?: string): Variable;
|
|
758
|
+
/**
|
|
759
|
+
* 添加变量
|
|
760
|
+
* @internal
|
|
761
|
+
* @param variableOptions 变量参数
|
|
762
|
+
*/
|
|
763
|
+
_addVariableInVariables(variableOptions: Partial<Variable>): Variable;
|
|
764
|
+
/**
|
|
765
|
+
* 添加变量
|
|
766
|
+
* @internal
|
|
767
|
+
* @param variable 已有的变量实例
|
|
768
|
+
*/
|
|
769
|
+
_addVariableInVariables(variable: Variable): Variable;
|
|
770
|
+
/**
|
|
771
|
+
* 添加变量
|
|
772
|
+
* @internal
|
|
773
|
+
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
774
|
+
*/
|
|
775
|
+
addVariableInVariables(name?: string): Variable;
|
|
776
|
+
/**
|
|
777
|
+
* 添加变量
|
|
778
|
+
* @param variableOptions 变量参数
|
|
779
|
+
*/
|
|
780
|
+
addVariableInVariables(variableOptions: Partial<Variable>): Variable;
|
|
781
|
+
/**
|
|
782
|
+
* 添加变量
|
|
783
|
+
* @param variable 已有的变量实例
|
|
784
|
+
*/
|
|
785
|
+
addVariableInVariables(variable: Variable): Variable;
|
|
786
|
+
getViewComponentDeclarationExistingNames(excludedList?: Array<ViewComponentDeclaration>): string[];
|
|
787
|
+
getViewComponentDeclarationUniqueName(name?: string): string;
|
|
788
|
+
/**
|
|
789
|
+
* 插入页面组件
|
|
790
|
+
* @internal
|
|
791
|
+
* @param name 页面组件名称,如果不填会自动生成一个唯一名称
|
|
792
|
+
*/
|
|
793
|
+
_insertViewComponentDeclarationAt(name: string, index: number): ViewComponentDeclaration;
|
|
794
|
+
/**
|
|
795
|
+
* 插入页面组件
|
|
796
|
+
* @internal
|
|
797
|
+
* @param viewComponentDeclarationOptions 页面组件参数
|
|
798
|
+
*/
|
|
799
|
+
_insertViewComponentDeclarationAt(viewComponentDeclarationOptions: Partial<ViewComponentDeclaration>, index: number): ViewComponentDeclaration;
|
|
800
|
+
/**
|
|
801
|
+
* 插入页面组件
|
|
802
|
+
* @internal
|
|
803
|
+
* @param viewComponentDeclaration 已有的页面组件实例
|
|
804
|
+
*/
|
|
805
|
+
_insertViewComponentDeclarationAt(viewComponentDeclaration: ViewComponentDeclaration, index: number): ViewComponentDeclaration;
|
|
806
|
+
/**
|
|
807
|
+
* 插入页面组件
|
|
808
|
+
* @param name 页面组件名称,如果不填会自动生成一个唯一名称
|
|
809
|
+
*/
|
|
810
|
+
insertViewComponentDeclarationAt(name: string, index: number): ViewComponentDeclaration;
|
|
811
|
+
/**
|
|
812
|
+
* 插入页面组件
|
|
813
|
+
* @param viewComponentDeclarationOptions 页面组件参数
|
|
814
|
+
*/
|
|
815
|
+
insertViewComponentDeclarationAt(viewComponentDeclarationOptions: Partial<ViewComponentDeclaration>, index: number): ViewComponentDeclaration;
|
|
816
|
+
/**
|
|
817
|
+
* 插入页面组件
|
|
818
|
+
* @param viewComponentDeclaration 已有的页面组件实例
|
|
819
|
+
*/
|
|
820
|
+
insertViewComponentDeclarationAt(viewComponentDeclaration: ViewComponentDeclaration, index: number): ViewComponentDeclaration;
|
|
821
|
+
/**
|
|
822
|
+
* 添加页面组件
|
|
823
|
+
* @internal
|
|
824
|
+
* @param name 页面组件名称,如果不填会自动生成一个唯一名称
|
|
825
|
+
*/
|
|
826
|
+
_addViewComponentDeclaration(name?: string): ViewComponentDeclaration;
|
|
827
|
+
/**
|
|
828
|
+
* 添加页面组件
|
|
829
|
+
* @internal
|
|
830
|
+
* @param viewComponentDeclarationOptions 页面组件参数
|
|
831
|
+
*/
|
|
832
|
+
_addViewComponentDeclaration(viewComponentDeclarationOptions: Partial<ViewComponentDeclaration>): ViewComponentDeclaration;
|
|
833
|
+
/**
|
|
834
|
+
* 添加页面组件
|
|
835
|
+
* @internal
|
|
836
|
+
* @param viewComponentDeclaration 已有的页面组件实例
|
|
837
|
+
*/
|
|
838
|
+
_addViewComponentDeclaration(viewComponentDeclaration: ViewComponentDeclaration): ViewComponentDeclaration;
|
|
839
|
+
/**
|
|
840
|
+
* 添加页面组件
|
|
841
|
+
* @internal
|
|
842
|
+
* @param name 页面组件名称,如果不填会自动生成一个唯一名称
|
|
843
|
+
*/
|
|
844
|
+
addViewComponentDeclaration(name?: string): ViewComponentDeclaration;
|
|
845
|
+
/**
|
|
846
|
+
* 添加页面组件
|
|
847
|
+
* @param viewComponentDeclarationOptions 页面组件参数
|
|
848
|
+
*/
|
|
849
|
+
addViewComponentDeclaration(viewComponentDeclarationOptions: Partial<ViewComponentDeclaration>): ViewComponentDeclaration;
|
|
850
|
+
/**
|
|
851
|
+
* 添加页面组件
|
|
852
|
+
* @param viewComponentDeclaration 已有的页面组件实例
|
|
853
|
+
*/
|
|
854
|
+
addViewComponentDeclaration(viewComponentDeclaration: ViewComponentDeclaration): ViewComponentDeclaration;
|
|
855
|
+
getProcessComponentExistingNames(excludedList?: Array<ProcessComponent>): string[];
|
|
856
|
+
getProcessComponentUniqueName(name?: string): string;
|
|
857
|
+
/**
|
|
858
|
+
* 插入流程组件
|
|
859
|
+
* @internal
|
|
860
|
+
* @param name 流程组件名称,如果不填会自动生成一个唯一名称
|
|
861
|
+
*/
|
|
862
|
+
_insertProcessComponentAt(name: string, index: number): ProcessComponent;
|
|
863
|
+
/**
|
|
864
|
+
* 插入流程组件
|
|
865
|
+
* @internal
|
|
866
|
+
* @param processComponentOptions 流程组件参数
|
|
867
|
+
*/
|
|
868
|
+
_insertProcessComponentAt(processComponentOptions: Partial<ProcessComponent>, index: number): ProcessComponent;
|
|
869
|
+
/**
|
|
870
|
+
* 插入流程组件
|
|
871
|
+
* @internal
|
|
872
|
+
* @param processComponent 已有的流程组件实例
|
|
873
|
+
*/
|
|
874
|
+
_insertProcessComponentAt(processComponent: ProcessComponent, index: number): ProcessComponent;
|
|
875
|
+
/**
|
|
876
|
+
* 插入流程组件
|
|
877
|
+
* @param name 流程组件名称,如果不填会自动生成一个唯一名称
|
|
878
|
+
*/
|
|
879
|
+
insertProcessComponentAt(name: string, index: number): ProcessComponent;
|
|
880
|
+
/**
|
|
881
|
+
* 插入流程组件
|
|
882
|
+
* @param processComponentOptions 流程组件参数
|
|
883
|
+
*/
|
|
884
|
+
insertProcessComponentAt(processComponentOptions: Partial<ProcessComponent>, index: number): ProcessComponent;
|
|
885
|
+
/**
|
|
886
|
+
* 插入流程组件
|
|
887
|
+
* @param processComponent 已有的流程组件实例
|
|
888
|
+
*/
|
|
889
|
+
insertProcessComponentAt(processComponent: ProcessComponent, index: number): ProcessComponent;
|
|
890
|
+
/**
|
|
891
|
+
* 添加流程组件
|
|
892
|
+
* @internal
|
|
893
|
+
* @param name 流程组件名称,如果不填会自动生成一个唯一名称
|
|
894
|
+
*/
|
|
895
|
+
_addProcessComponent(name?: string): ProcessComponent;
|
|
896
|
+
/**
|
|
897
|
+
* 添加流程组件
|
|
898
|
+
* @internal
|
|
899
|
+
* @param processComponentOptions 流程组件参数
|
|
900
|
+
*/
|
|
901
|
+
_addProcessComponent(processComponentOptions: Partial<ProcessComponent>): ProcessComponent;
|
|
902
|
+
/**
|
|
903
|
+
* 添加流程组件
|
|
904
|
+
* @internal
|
|
905
|
+
* @param processComponent 已有的流程组件实例
|
|
906
|
+
*/
|
|
907
|
+
_addProcessComponent(processComponent: ProcessComponent): ProcessComponent;
|
|
908
|
+
/**
|
|
909
|
+
* 添加流程组件
|
|
910
|
+
* @internal
|
|
911
|
+
* @param name 流程组件名称,如果不填会自动生成一个唯一名称
|
|
912
|
+
*/
|
|
913
|
+
addProcessComponent(name?: string): ProcessComponent;
|
|
914
|
+
/**
|
|
915
|
+
* 添加流程组件
|
|
916
|
+
* @param processComponentOptions 流程组件参数
|
|
917
|
+
*/
|
|
918
|
+
addProcessComponent(processComponentOptions: Partial<ProcessComponent>): ProcessComponent;
|
|
919
|
+
/**
|
|
920
|
+
* 添加流程组件
|
|
921
|
+
* @param processComponent 已有的流程组件实例
|
|
922
|
+
*/
|
|
923
|
+
addProcessComponent(processComponent: ProcessComponent): ProcessComponent;
|
|
924
|
+
/**
|
|
925
|
+
* 删除命名空间
|
|
926
|
+
* @param name 命名空间名称
|
|
927
|
+
*/
|
|
928
|
+
removeNamespace(name: string): void;
|
|
929
|
+
/**
|
|
930
|
+
* 删除命名空间
|
|
931
|
+
* @param namespace 已有的命名空间实例
|
|
932
|
+
*/
|
|
933
|
+
removeNamespace(namespace: Namespace): void;
|
|
934
|
+
/**
|
|
935
|
+
* 删除流程
|
|
936
|
+
* @param name 流程名称
|
|
937
|
+
*/
|
|
938
|
+
removeProcess(name: string): void;
|
|
939
|
+
/**
|
|
940
|
+
* 删除流程
|
|
941
|
+
* @param process 已有的流程实例
|
|
942
|
+
*/
|
|
943
|
+
removeProcess(process: Process): void;
|
|
944
|
+
/**
|
|
945
|
+
* 删除数据结构
|
|
946
|
+
* @param name 数据结构名称
|
|
947
|
+
*/
|
|
948
|
+
removeStructure(name: string): void;
|
|
949
|
+
/**
|
|
950
|
+
* 删除数据结构
|
|
951
|
+
* @param structure 已有的数据结构实例
|
|
952
|
+
*/
|
|
953
|
+
removeStructure(structure: Structure): void;
|
|
954
|
+
/**
|
|
955
|
+
* 删除枚举
|
|
956
|
+
* @param name 枚举名称
|
|
957
|
+
*/
|
|
958
|
+
removeEnum(name: string): void;
|
|
959
|
+
/**
|
|
960
|
+
* 删除枚举
|
|
961
|
+
* @param enumeration 已有的枚举实例
|
|
962
|
+
*/
|
|
963
|
+
removeEnum(enumeration: Enum): void;
|
|
964
|
+
/**
|
|
965
|
+
* 删除逻辑
|
|
966
|
+
* @param name 逻辑名称
|
|
967
|
+
*/
|
|
968
|
+
removeLogic(name: string): void;
|
|
969
|
+
/**
|
|
970
|
+
* 删除逻辑
|
|
971
|
+
* @param logic 已有的逻辑实例
|
|
972
|
+
*/
|
|
973
|
+
removeLogic(logic: Logic): void;
|
|
974
|
+
/**
|
|
975
|
+
* 删除函数
|
|
976
|
+
* @param name 函数名称
|
|
977
|
+
*/
|
|
978
|
+
removeFunction(name: string): void;
|
|
979
|
+
/**
|
|
980
|
+
* 删除函数
|
|
981
|
+
* @param func 已有的函数实例
|
|
982
|
+
*/
|
|
983
|
+
removeFunction(func: Function): void;
|
|
984
|
+
/**
|
|
985
|
+
* 删除接口
|
|
986
|
+
* @param name 接口名称
|
|
987
|
+
*/
|
|
988
|
+
removeInterface(name: string): void;
|
|
989
|
+
/**
|
|
990
|
+
* 删除接口
|
|
991
|
+
* @param itface 已有的接口实例
|
|
992
|
+
*/
|
|
993
|
+
removeInterface(itface: AbstractInterface): void;
|
|
994
|
+
/**
|
|
995
|
+
* 删除页面
|
|
996
|
+
* @param name 页面名称
|
|
997
|
+
*/
|
|
998
|
+
removeView(name: string): void;
|
|
999
|
+
/**
|
|
1000
|
+
* 删除页面
|
|
1001
|
+
* @param view 已有的页面实例
|
|
1002
|
+
*/
|
|
1003
|
+
removeView(view: View): void;
|
|
1004
|
+
/**
|
|
1005
|
+
* 删除变量
|
|
1006
|
+
* @param name 变量名称
|
|
1007
|
+
*/
|
|
1008
|
+
removeVariableInFrontendVariables(name: string): void;
|
|
1009
|
+
/**
|
|
1010
|
+
* 删除变量
|
|
1011
|
+
* @param variable 已有的变量实例
|
|
1012
|
+
*/
|
|
1013
|
+
removeVariableInFrontendVariables(variable: Variable): void;
|
|
1014
|
+
/**
|
|
1015
|
+
* 删除变量
|
|
1016
|
+
* @param name 变量名称
|
|
1017
|
+
*/
|
|
1018
|
+
removeVariableInVariables(name: string): void;
|
|
1019
|
+
/**
|
|
1020
|
+
* 删除变量
|
|
1021
|
+
* @param variable 已有的变量实例
|
|
1022
|
+
*/
|
|
1023
|
+
removeVariableInVariables(variable: Variable): void;
|
|
1024
|
+
/**
|
|
1025
|
+
* 删除页面组件
|
|
1026
|
+
* @param name 页面组件名称
|
|
1027
|
+
*/
|
|
1028
|
+
removeViewComponentDeclaration(name: string): void;
|
|
1029
|
+
/**
|
|
1030
|
+
* 删除页面组件
|
|
1031
|
+
* @param viewComponentDeclaration 已有的页面组件实例
|
|
1032
|
+
*/
|
|
1033
|
+
removeViewComponentDeclaration(viewComponentDeclaration: ViewComponentDeclaration): void;
|
|
1034
|
+
/**
|
|
1035
|
+
* 删除流程组件
|
|
1036
|
+
* @param name 流程组件名称
|
|
1037
|
+
*/
|
|
1038
|
+
removeProcessComponent(name: string): void;
|
|
1039
|
+
/**
|
|
1040
|
+
* 删除流程组件
|
|
1041
|
+
* @param processComponent 已有的流程组件实例
|
|
1042
|
+
*/
|
|
1043
|
+
removeProcessComponent(processComponent: ProcessComponent): void;
|
|
1044
|
+
findEnumByName(name: string): Enum;
|
|
1045
|
+
findStructureByName(name: string): Structure;
|
|
1046
|
+
findLogicByName(name: string): Logic;
|
|
1047
|
+
path: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* 获取命名空间
|
|
1050
|
+
*/
|
|
1051
|
+
getNamespace(): string;
|
|
1052
|
+
/**
|
|
1053
|
+
* 获取命名空间
|
|
1054
|
+
*/
|
|
1055
|
+
getTsNamespace(): string;
|
|
1056
|
+
findChild(name: string): Namespace;
|
|
1057
|
+
findLogic(name: string): Logic;
|
|
1058
|
+
getLogicExistingTitles(excludedList?: Array<Logic>): string[];
|
|
1059
|
+
}
|
|
1060
|
+
export default Namespace;
|