@lcap/nasl-concepts 3.9.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/out/breakpoint/index.d.ts +2 -0
- package/out/breakpoint/index.d.ts.map +1 -0
- package/out/breakpoint/index.js +18 -0
- package/out/breakpoint/index.js.map +1 -0
- package/out/breakpoint/operation.d.ts +11 -0
- package/out/breakpoint/operation.d.ts.map +1 -0
- package/out/breakpoint/operation.js +24 -0
- package/out/breakpoint/operation.js.map +1 -0
- package/out/common/BaseNode.d.ts +427 -0
- package/out/common/BaseNode.d.ts.map +1 -0
- package/out/common/BaseNode.js +1721 -0
- package/out/common/BaseNode.js.map +1 -0
- package/out/common/EventEmitter.d.ts +30 -0
- package/out/common/EventEmitter.d.ts.map +1 -0
- package/out/common/EventEmitter.js +70 -0
- package/out/common/EventEmitter.js.map +1 -0
- package/out/common/index.d.ts +3 -0
- package/out/common/index.d.ts.map +1 -0
- package/out/common/index.js +19 -0
- package/out/common/index.js.map +1 -0
- package/out/common/types.d.ts +5 -0
- package/out/common/types.d.ts.map +1 -0
- package/out/common/types.js +3 -0
- package/out/common/types.js.map +1 -0
- package/out/concepts/Abort__.d.ts +32 -0
- package/out/concepts/Abort__.d.ts.map +1 -0
- package/out/concepts/Abort__.js +94 -0
- package/out/concepts/Abort__.js.map +1 -0
- package/out/concepts/AbstractInterface__.d.ts +29 -0
- package/out/concepts/AbstractInterface__.d.ts.map +1 -0
- package/out/concepts/AbstractInterface__.js +62 -0
- package/out/concepts/AbstractInterface__.js.map +1 -0
- package/out/concepts/Anchor__.d.ts +44 -0
- package/out/concepts/Anchor__.d.ts.map +1 -0
- package/out/concepts/Anchor__.js +179 -0
- package/out/concepts/Anchor__.js.map +1 -0
- package/out/concepts/Annotatable__.d.ts +111 -0
- package/out/concepts/Annotatable__.d.ts.map +1 -0
- package/out/concepts/Annotatable__.js +163 -0
- package/out/concepts/Annotatable__.js.map +1 -0
- package/out/concepts/AnnotationProperty__.d.ts +49 -0
- package/out/concepts/AnnotationProperty__.d.ts.map +1 -0
- package/out/concepts/AnnotationProperty__.js +76 -0
- package/out/concepts/AnnotationProperty__.js.map +1 -0
- package/out/concepts/Annotation__.d.ts +129 -0
- package/out/concepts/Annotation__.d.ts.map +1 -0
- package/out/concepts/Annotation__.js +249 -0
- package/out/concepts/Annotation__.js.map +1 -0
- package/out/concepts/AnonymousFunction__.d.ts +141 -0
- package/out/concepts/AnonymousFunction__.d.ts.map +1 -0
- package/out/concepts/AnonymousFunction__.js +428 -0
- package/out/concepts/AnonymousFunction__.js.map +1 -0
- package/out/concepts/App__.d.ts +1794 -0
- package/out/concepts/App__.d.ts.map +1 -0
- package/out/concepts/App__.js +3475 -0
- package/out/concepts/App__.js.map +1 -0
- package/out/concepts/ApplyAnnotation__.d.ts +88 -0
- package/out/concepts/ApplyAnnotation__.d.ts.map +1 -0
- package/out/concepts/ApplyAnnotation__.js +142 -0
- package/out/concepts/ApplyAnnotation__.js.map +1 -0
- package/out/concepts/ApprovalPolicyV2__.d.ts +27 -0
- package/out/concepts/ApprovalPolicyV2__.d.ts.map +1 -0
- package/out/concepts/ApprovalPolicyV2__.js +55 -0
- package/out/concepts/ApprovalPolicyV2__.js.map +1 -0
- package/out/concepts/Argument__.d.ts +85 -0
- package/out/concepts/Argument__.d.ts.map +1 -0
- package/out/concepts/Argument__.js +390 -0
- package/out/concepts/Argument__.js.map +1 -0
- package/out/concepts/AssigneeV2__.d.ts +380 -0
- package/out/concepts/AssigneeV2__.d.ts.map +1 -0
- package/out/concepts/AssigneeV2__.js +517 -0
- package/out/concepts/AssigneeV2__.js.map +1 -0
- package/out/concepts/Assignee__.d.ts +296 -0
- package/out/concepts/Assignee__.d.ts.map +1 -0
- package/out/concepts/Assignee__.js +404 -0
- package/out/concepts/Assignee__.js.map +1 -0
- package/out/concepts/AssignmentLine__.d.ts +44 -0
- package/out/concepts/AssignmentLine__.d.ts.map +1 -0
- package/out/concepts/AssignmentLine__.js +110 -0
- package/out/concepts/AssignmentLine__.js.map +1 -0
- package/out/concepts/Assignment__.d.ts +59 -0
- package/out/concepts/Assignment__.d.ts.map +1 -0
- package/out/concepts/Assignment__.js +288 -0
- package/out/concepts/Assignment__.js.map +1 -0
- package/out/concepts/Attribute__.d.ts +77 -0
- package/out/concepts/Attribute__.d.ts.map +1 -0
- package/out/concepts/Attribute__.js +103 -0
- package/out/concepts/Attribute__.js.map +1 -0
- package/out/concepts/AuthInterface__.d.ts +39 -0
- package/out/concepts/AuthInterface__.d.ts.map +1 -0
- package/out/concepts/AuthInterface__.js +79 -0
- package/out/concepts/AuthInterface__.js.map +1 -0
- package/out/concepts/AuthLogicForCallInterface__.d.ts +148 -0
- package/out/concepts/AuthLogicForCallInterface__.d.ts.map +1 -0
- package/out/concepts/AuthLogicForCallInterface__.js +597 -0
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -0
- package/out/concepts/AuthLogic__.d.ts +70 -0
- package/out/concepts/AuthLogic__.d.ts.map +1 -0
- package/out/concepts/AuthLogic__.js +211 -0
- package/out/concepts/AuthLogic__.js.map +1 -0
- package/out/concepts/BackendVariable__.d.ts +120 -0
- package/out/concepts/BackendVariable__.d.ts.map +1 -0
- package/out/concepts/BackendVariable__.js +432 -0
- package/out/concepts/BackendVariable__.js.map +1 -0
- package/out/concepts/Backend__.d.ts +128 -0
- package/out/concepts/Backend__.d.ts.map +1 -0
- package/out/concepts/Backend__.js +238 -0
- package/out/concepts/Backend__.js.map +1 -0
- package/out/concepts/BaseSetter__.d.ts +27 -0
- package/out/concepts/BaseSetter__.d.ts.map +1 -0
- package/out/concepts/BaseSetter__.js +55 -0
- package/out/concepts/BaseSetter__.js.map +1 -0
- package/out/concepts/BatchAssignment__.d.ts +246 -0
- package/out/concepts/BatchAssignment__.d.ts.map +1 -0
- package/out/concepts/BatchAssignment__.js +831 -0
- package/out/concepts/BatchAssignment__.js.map +1 -0
- package/out/concepts/BinaryExpression__.d.ts +64 -0
- package/out/concepts/BinaryExpression__.d.ts.map +1 -0
- package/out/concepts/BinaryExpression__.js +508 -0
- package/out/concepts/BinaryExpression__.js.map +1 -0
- package/out/concepts/BindAttribute__.d.ts +294 -0
- package/out/concepts/BindAttribute__.d.ts.map +1 -0
- package/out/concepts/BindAttribute__.js +1023 -0
- package/out/concepts/BindAttribute__.js.map +1 -0
- package/out/concepts/BindDirective__.d.ts +157 -0
- package/out/concepts/BindDirective__.d.ts.map +1 -0
- package/out/concepts/BindDirective__.js +492 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/concepts/BindEvent__.d.ts +247 -0
- package/out/concepts/BindEvent__.d.ts.map +1 -0
- package/out/concepts/BindEvent__.js +833 -0
- package/out/concepts/BindEvent__.js.map +1 -0
- package/out/concepts/BindStyle__.d.ts +128 -0
- package/out/concepts/BindStyle__.d.ts.map +1 -0
- package/out/concepts/BindStyle__.js +412 -0
- package/out/concepts/BindStyle__.js.map +1 -0
- package/out/concepts/Block__.d.ts +90 -0
- package/out/concepts/Block__.d.ts.map +1 -0
- package/out/concepts/Block__.js +204 -0
- package/out/concepts/Block__.js.map +1 -0
- package/out/concepts/BooleanLiteral__.d.ts +46 -0
- package/out/concepts/BooleanLiteral__.d.ts.map +1 -0
- package/out/concepts/BooleanLiteral__.js +119 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -0
- package/out/concepts/BusinessComponent__.d.ts +648 -0
- package/out/concepts/BusinessComponent__.d.ts.map +1 -0
- package/out/concepts/BusinessComponent__.js +1785 -0
- package/out/concepts/BusinessComponent__.js.map +1 -0
- package/out/concepts/BusinessLogic__.d.ts +46 -0
- package/out/concepts/BusinessLogic__.d.ts.map +1 -0
- package/out/concepts/BusinessLogic__.js +485 -0
- package/out/concepts/BusinessLogic__.js.map +1 -0
- package/out/concepts/CallAuthInterface__.d.ts +134 -0
- package/out/concepts/CallAuthInterface__.d.ts.map +1 -0
- package/out/concepts/CallAuthInterface__.js +426 -0
- package/out/concepts/CallAuthInterface__.js.map +1 -0
- package/out/concepts/CallConnector__.d.ts +56 -0
- package/out/concepts/CallConnector__.d.ts.map +1 -0
- package/out/concepts/CallConnector__.js +296 -0
- package/out/concepts/CallConnector__.js.map +1 -0
- package/out/concepts/CallEvent__.d.ts +103 -0
- package/out/concepts/CallEvent__.d.ts.map +1 -0
- package/out/concepts/CallEvent__.js +326 -0
- package/out/concepts/CallEvent__.js.map +1 -0
- package/out/concepts/CallFunction__.d.ts +173 -0
- package/out/concepts/CallFunction__.d.ts.map +1 -0
- package/out/concepts/CallFunction__.js +679 -0
- package/out/concepts/CallFunction__.js.map +1 -0
- package/out/concepts/CallInterface__.d.ts +145 -0
- package/out/concepts/CallInterface__.d.ts.map +1 -0
- package/out/concepts/CallInterface__.js +882 -0
- package/out/concepts/CallInterface__.js.map +1 -0
- package/out/concepts/CallLogic__.d.ts +247 -0
- package/out/concepts/CallLogic__.d.ts.map +1 -0
- package/out/concepts/CallLogic__.js +1583 -0
- package/out/concepts/CallLogic__.js.map +1 -0
- package/out/concepts/CallQueryComponent__.d.ts +380 -0
- package/out/concepts/CallQueryComponent__.d.ts.map +1 -0
- package/out/concepts/CallQueryComponent__.js +1227 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -0
- package/out/concepts/CapsulesSetter__.d.ts +114 -0
- package/out/concepts/CapsulesSetter__.d.ts.map +1 -0
- package/out/concepts/CapsulesSetter__.js +172 -0
- package/out/concepts/CapsulesSetter__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +42 -0
- package/out/concepts/Comment__.d.ts.map +1 -0
- package/out/concepts/Comment__.js +107 -0
- package/out/concepts/Comment__.js.map +1 -0
- package/out/concepts/CompletionProperty__.d.ts +88 -0
- package/out/concepts/CompletionProperty__.d.ts.map +1 -0
- package/out/concepts/CompletionProperty__.js +175 -0
- package/out/concepts/CompletionProperty__.js.map +1 -0
- package/out/concepts/ConfigGroup__.d.ts +122 -0
- package/out/concepts/ConfigGroup__.d.ts.map +1 -0
- package/out/concepts/ConfigGroup__.js +228 -0
- package/out/concepts/ConfigGroup__.js.map +1 -0
- package/out/concepts/ConfigPropertyValue__.d.ts +42 -0
- package/out/concepts/ConfigPropertyValue__.d.ts.map +1 -0
- package/out/concepts/ConfigPropertyValue__.js +83 -0
- package/out/concepts/ConfigPropertyValue__.js.map +1 -0
- package/out/concepts/ConfigProperty__.d.ts +148 -0
- package/out/concepts/ConfigProperty__.d.ts.map +1 -0
- package/out/concepts/ConfigProperty__.js +294 -0
- package/out/concepts/ConfigProperty__.js.map +1 -0
- package/out/concepts/Configuration__.d.ts +121 -0
- package/out/concepts/Configuration__.d.ts.map +1 -0
- package/out/concepts/Configuration__.js +202 -0
- package/out/concepts/Configuration__.js.map +1 -0
- package/out/concepts/Connection__.d.ts +165 -0
- package/out/concepts/Connection__.d.ts.map +1 -0
- package/out/concepts/Connection__.js +330 -0
- package/out/concepts/Connection__.js.map +1 -0
- package/out/concepts/ConnectorLogic__.d.ts +34 -0
- package/out/concepts/ConnectorLogic__.d.ts.map +1 -0
- package/out/concepts/ConnectorLogic__.js +69 -0
- package/out/concepts/ConnectorLogic__.js.map +1 -0
- package/out/concepts/ConnectorTriggerLauncher__.d.ts +45 -0
- package/out/concepts/ConnectorTriggerLauncher__.d.ts.map +1 -0
- package/out/concepts/ConnectorTriggerLauncher__.js +98 -0
- package/out/concepts/ConnectorTriggerLauncher__.js.map +1 -0
- package/out/concepts/ConnectorTrigger__.d.ts +94 -0
- package/out/concepts/ConnectorTrigger__.d.ts.map +1 -0
- package/out/concepts/ConnectorTrigger__.js +339 -0
- package/out/concepts/ConnectorTrigger__.js.map +1 -0
- package/out/concepts/Connector__.d.ts +533 -0
- package/out/concepts/Connector__.d.ts.map +1 -0
- package/out/concepts/Connector__.js +670 -0
- package/out/concepts/Connector__.js.map +1 -0
- package/out/concepts/Constant__.d.ts +95 -0
- package/out/concepts/Constant__.d.ts.map +1 -0
- package/out/concepts/Constant__.js +243 -0
- package/out/concepts/Constant__.js.map +1 -0
- package/out/concepts/CountersignPolicyV2__.d.ts +30 -0
- package/out/concepts/CountersignPolicyV2__.d.ts.map +1 -0
- package/out/concepts/CountersignPolicyV2__.js +58 -0
- package/out/concepts/CountersignPolicyV2__.js.map +1 -0
- package/out/concepts/CountersignPolicy__.d.ts +30 -0
- package/out/concepts/CountersignPolicy__.d.ts.map +1 -0
- package/out/concepts/CountersignPolicy__.js +58 -0
- package/out/concepts/CountersignPolicy__.js.map +1 -0
- package/out/concepts/DataSource__.d.ts +166 -0
- package/out/concepts/DataSource__.d.ts.map +1 -0
- package/out/concepts/DataSource__.js +516 -0
- package/out/concepts/DataSource__.js.map +1 -0
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +36 -0
- package/out/concepts/DatabaseTypeAnnotation__.d.ts.map +1 -0
- package/out/concepts/DatabaseTypeAnnotation__.js +81 -0
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -0
- package/out/concepts/DefaultValue__.d.ts +96 -0
- package/out/concepts/DefaultValue__.d.ts.map +1 -0
- package/out/concepts/DefaultValue__.js +212 -0
- package/out/concepts/DefaultValue__.js.map +1 -0
- package/out/concepts/DepartmentManagerV2__.d.ts +30 -0
- package/out/concepts/DepartmentManagerV2__.d.ts.map +1 -0
- package/out/concepts/DepartmentManagerV2__.js +58 -0
- package/out/concepts/DepartmentManagerV2__.js.map +1 -0
- package/out/concepts/DepartmentV2__.d.ts +34 -0
- package/out/concepts/DepartmentV2__.d.ts.map +1 -0
- package/out/concepts/DepartmentV2__.js +65 -0
- package/out/concepts/DepartmentV2__.js.map +1 -0
- package/out/concepts/Destination__.d.ts +151 -0
- package/out/concepts/Destination__.d.ts.map +1 -0
- package/out/concepts/Destination__.js +771 -0
- package/out/concepts/Destination__.js.map +1 -0
- package/out/concepts/DirectManagerV2__.d.ts +26 -0
- package/out/concepts/DirectManagerV2__.d.ts.map +1 -0
- package/out/concepts/DirectManagerV2__.js +55 -0
- package/out/concepts/DirectManagerV2__.js.map +1 -0
- package/out/concepts/End__.d.ts +31 -0
- package/out/concepts/End__.d.ts.map +1 -0
- package/out/concepts/End__.js +150 -0
- package/out/concepts/End__.js.map +1 -0
- package/out/concepts/EntityIndex__.d.ts +94 -0
- package/out/concepts/EntityIndex__.d.ts.map +1 -0
- package/out/concepts/EntityIndex__.js +201 -0
- package/out/concepts/EntityIndex__.js.map +1 -0
- package/out/concepts/EntityProperty__.d.ts +254 -0
- package/out/concepts/EntityProperty__.d.ts.map +1 -0
- package/out/concepts/EntityProperty__.js +715 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/concepts/Entity__.d.ts +341 -0
- package/out/concepts/Entity__.d.ts.map +1 -0
- package/out/concepts/Entity__.js +783 -0
- package/out/concepts/Entity__.js.map +1 -0
- package/out/concepts/EnumItem__.d.ts +93 -0
- package/out/concepts/EnumItem__.d.ts.map +1 -0
- package/out/concepts/EnumItem__.js +235 -0
- package/out/concepts/EnumItem__.js.map +1 -0
- package/out/concepts/EnumSelectSetter__.d.ts +114 -0
- package/out/concepts/EnumSelectSetter__.d.ts.map +1 -0
- package/out/concepts/EnumSelectSetter__.js +172 -0
- package/out/concepts/EnumSelectSetter__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +129 -0
- package/out/concepts/Enum__.d.ts.map +1 -0
- package/out/concepts/Enum__.js +342 -0
- package/out/concepts/Enum__.js.map +1 -0
- package/out/concepts/EventDeclaration__.d.ts +43 -0
- package/out/concepts/EventDeclaration__.d.ts.map +1 -0
- package/out/concepts/EventDeclaration__.js +109 -0
- package/out/concepts/EventDeclaration__.js.map +1 -0
- package/out/concepts/Event__.d.ts +156 -0
- package/out/concepts/Event__.d.ts.map +1 -0
- package/out/concepts/Event__.js +291 -0
- package/out/concepts/Event__.js.map +1 -0
- package/out/concepts/ExternalDestination__.d.ts +65 -0
- package/out/concepts/ExternalDestination__.d.ts.map +1 -0
- package/out/concepts/ExternalDestination__.js +285 -0
- package/out/concepts/ExternalDestination__.js.map +1 -0
- package/out/concepts/FieldPermissionV2__.d.ts +40 -0
- package/out/concepts/FieldPermissionV2__.d.ts.map +1 -0
- package/out/concepts/FieldPermissionV2__.js +85 -0
- package/out/concepts/FieldPermissionV2__.js.map +1 -0
- package/out/concepts/FlowConditionItemV2__.d.ts +45 -0
- package/out/concepts/FlowConditionItemV2__.d.ts.map +1 -0
- package/out/concepts/FlowConditionItemV2__.js +107 -0
- package/out/concepts/FlowConditionItemV2__.js.map +1 -0
- package/out/concepts/FlowConditionV2__.d.ts +116 -0
- package/out/concepts/FlowConditionV2__.d.ts.map +1 -0
- package/out/concepts/FlowConditionV2__.js +181 -0
- package/out/concepts/FlowConditionV2__.js.map +1 -0
- package/out/concepts/ForEachStatement__.d.ts +128 -0
- package/out/concepts/ForEachStatement__.d.ts.map +1 -0
- package/out/concepts/ForEachStatement__.js +398 -0
- package/out/concepts/ForEachStatement__.js.map +1 -0
- package/out/concepts/FrontendLibrary__.d.ts +213 -0
- package/out/concepts/FrontendLibrary__.d.ts.map +1 -0
- package/out/concepts/FrontendLibrary__.js +303 -0
- package/out/concepts/FrontendLibrary__.js.map +1 -0
- package/out/concepts/FrontendType__.d.ts +312 -0
- package/out/concepts/FrontendType__.d.ts.map +1 -0
- package/out/concepts/FrontendType__.js +550 -0
- package/out/concepts/FrontendType__.js.map +1 -0
- package/out/concepts/FrontendVariable__.d.ts +42 -0
- package/out/concepts/FrontendVariable__.d.ts.map +1 -0
- package/out/concepts/FrontendVariable__.js +81 -0
- package/out/concepts/FrontendVariable__.js.map +1 -0
- package/out/concepts/Frontend__.d.ts +395 -0
- package/out/concepts/Frontend__.d.ts.map +1 -0
- package/out/concepts/Frontend__.js +870 -0
- package/out/concepts/Frontend__.js.map +1 -0
- package/out/concepts/Function__.d.ts +400 -0
- package/out/concepts/Function__.d.ts.map +1 -0
- package/out/concepts/Function__.js +631 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/concepts/HistoryProcessV2__.d.ts +229 -0
- package/out/concepts/HistoryProcessV2__.d.ts.map +1 -0
- package/out/concepts/HistoryProcessV2__.js +345 -0
- package/out/concepts/HistoryProcessV2__.js.map +1 -0
- package/out/concepts/I18nInfo__.d.ts +48 -0
- package/out/concepts/I18nInfo__.d.ts.map +1 -0
- package/out/concepts/I18nInfo__.js +100 -0
- package/out/concepts/I18nInfo__.js.map +1 -0
- package/out/concepts/IconSetter__.d.ts +30 -0
- package/out/concepts/IconSetter__.d.ts.map +1 -0
- package/out/concepts/IconSetter__.js +58 -0
- package/out/concepts/IconSetter__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +69 -0
- package/out/concepts/Identifier__.d.ts.map +1 -0
- package/out/concepts/Identifier__.js +437 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/concepts/IfStatement__.d.ts +157 -0
- package/out/concepts/IfStatement__.d.ts.map +1 -0
- package/out/concepts/IfStatement__.js +365 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/concepts/ImageSetter__.d.ts +26 -0
- package/out/concepts/ImageSetter__.d.ts.map +1 -0
- package/out/concepts/ImageSetter__.js +55 -0
- package/out/concepts/ImageSetter__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +31 -0
- package/out/concepts/ImportedInterface__.d.ts.map +1 -0
- package/out/concepts/ImportedInterface__.js +58 -0
- package/out/concepts/ImportedInterface__.js.map +1 -0
- package/out/concepts/InputSetter__.d.ts +30 -0
- package/out/concepts/InputSetter__.d.ts.map +1 -0
- package/out/concepts/InputSetter__.js +58 -0
- package/out/concepts/InputSetter__.js.map +1 -0
- package/out/concepts/Integration__.d.ts +129 -0
- package/out/concepts/Integration__.d.ts.map +1 -0
- package/out/concepts/Integration__.js +215 -0
- package/out/concepts/Integration__.js.map +1 -0
- package/out/concepts/InterfaceParam__.d.ts +121 -0
- package/out/concepts/InterfaceParam__.d.ts.map +1 -0
- package/out/concepts/InterfaceParam__.js +285 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/concepts/InterfaceTriggerEvent__.d.ts +35 -0
- package/out/concepts/InterfaceTriggerEvent__.d.ts.map +1 -0
- package/out/concepts/InterfaceTriggerEvent__.js +74 -0
- package/out/concepts/InterfaceTriggerEvent__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +406 -0
- package/out/concepts/Interface__.d.ts.map +1 -0
- package/out/concepts/Interface__.js +994 -0
- package/out/concepts/Interface__.js.map +1 -0
- package/out/concepts/JSBlock__.d.ts +40 -0
- package/out/concepts/JSBlock__.d.ts.map +1 -0
- package/out/concepts/JSBlock__.js +110 -0
- package/out/concepts/JSBlock__.js.map +1 -0
- package/out/concepts/JavaLogic__.d.ts +51 -0
- package/out/concepts/JavaLogic__.d.ts.map +1 -0
- package/out/concepts/JavaLogic__.js +116 -0
- package/out/concepts/JavaLogic__.js.map +1 -0
- package/out/concepts/LogicDeclaration__.d.ts +292 -0
- package/out/concepts/LogicDeclaration__.d.ts.map +1 -0
- package/out/concepts/LogicDeclaration__.js +421 -0
- package/out/concepts/LogicDeclaration__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +188 -0
- package/out/concepts/LogicItem__.d.ts.map +1 -0
- package/out/concepts/LogicItem__.js +322 -0
- package/out/concepts/LogicItem__.js.map +1 -0
- package/out/concepts/Logic__.d.ts +657 -0
- package/out/concepts/Logic__.d.ts.map +1 -0
- package/out/concepts/Logic__.js +2280 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/concepts/ManagerV2__.d.ts +36 -0
- package/out/concepts/ManagerV2__.d.ts.map +1 -0
- package/out/concepts/ManagerV2__.js +63 -0
- package/out/concepts/ManagerV2__.js.map +1 -0
- package/out/concepts/MatchCase__.d.ts +266 -0
- package/out/concepts/MatchCase__.d.ts.map +1 -0
- package/out/concepts/MatchCase__.js +677 -0
- package/out/concepts/MatchCase__.js.map +1 -0
- package/out/concepts/Match__.d.ts +125 -0
- package/out/concepts/Match__.d.ts.map +1 -0
- package/out/concepts/Match__.js +685 -0
- package/out/concepts/Match__.js.map +1 -0
- package/out/concepts/MemberExpression__.d.ts +66 -0
- package/out/concepts/MemberExpression__.d.ts.map +1 -0
- package/out/concepts/MemberExpression__.js +514 -0
- package/out/concepts/MemberExpression__.js.map +1 -0
- package/out/concepts/MetadataType__.d.ts +222 -0
- package/out/concepts/MetadataType__.d.ts.map +1 -0
- package/out/concepts/MetadataType__.js +422 -0
- package/out/concepts/MetadataType__.js.map +1 -0
- package/out/concepts/MicroApp__.d.ts +54 -0
- package/out/concepts/MicroApp__.d.ts.map +1 -0
- package/out/concepts/MicroApp__.js +80 -0
- package/out/concepts/MicroApp__.js.map +1 -0
- package/out/concepts/Module__.d.ts +1314 -0
- package/out/concepts/Module__.d.ts.map +1 -0
- package/out/concepts/Module__.js +1580 -0
- package/out/concepts/Module__.js.map +1 -0
- package/out/concepts/MsgTriggerEvent__.d.ts +139 -0
- package/out/concepts/MsgTriggerEvent__.d.ts.map +1 -0
- package/out/concepts/MsgTriggerEvent__.js +210 -0
- package/out/concepts/MsgTriggerEvent__.js.map +1 -0
- package/out/concepts/MsgTriggerLauncher__.d.ts +120 -0
- package/out/concepts/MsgTriggerLauncher__.d.ts.map +1 -0
- package/out/concepts/MsgTriggerLauncher__.js +189 -0
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -0
- package/out/concepts/MultiApprovalPolicy__.d.ts +27 -0
- package/out/concepts/MultiApprovalPolicy__.d.ts.map +1 -0
- package/out/concepts/MultiApprovalPolicy__.js +55 -0
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -0
- package/out/concepts/Namespace__.d.ts +1146 -0
- package/out/concepts/Namespace__.d.ts.map +1 -0
- package/out/concepts/Namespace__.js +1256 -0
- package/out/concepts/Namespace__.js.map +1 -0
- package/out/concepts/NewComposite__.d.ts +341 -0
- package/out/concepts/NewComposite__.d.ts.map +1 -0
- package/out/concepts/NewComposite__.js +1225 -0
- package/out/concepts/NewComposite__.js.map +1 -0
- package/out/concepts/NewList__.d.ts +128 -0
- package/out/concepts/NewList__.d.ts.map +1 -0
- package/out/concepts/NewList__.js +408 -0
- package/out/concepts/NewList__.js.map +1 -0
- package/out/concepts/NewMap__.d.ts +219 -0
- package/out/concepts/NewMap__.d.ts.map +1 -0
- package/out/concepts/NewMap__.js +558 -0
- package/out/concepts/NewMap__.js.map +1 -0
- package/out/concepts/New__.d.ts +32 -0
- package/out/concepts/New__.d.ts.map +1 -0
- package/out/concepts/New__.js +80 -0
- package/out/concepts/New__.js.map +1 -0
- package/out/concepts/NullLiteral__.d.ts +37 -0
- package/out/concepts/NullLiteral__.d.ts.map +1 -0
- package/out/concepts/NullLiteral__.js +102 -0
- package/out/concepts/NullLiteral__.js.map +1 -0
- package/out/concepts/NumberInputSetter__.d.ts +46 -0
- package/out/concepts/NumberInputSetter__.d.ts.map +1 -0
- package/out/concepts/NumberInputSetter__.js +70 -0
- package/out/concepts/NumberInputSetter__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +49 -0
- package/out/concepts/NumericLiteral__.d.ts.map +1 -0
- package/out/concepts/NumericLiteral__.js +141 -0
- package/out/concepts/NumericLiteral__.js.map +1 -0
- package/out/concepts/OperatePermissionV2__.d.ts +44 -0
- package/out/concepts/OperatePermissionV2__.d.ts.map +1 -0
- package/out/concepts/OperatePermissionV2__.js +82 -0
- package/out/concepts/OperatePermissionV2__.js.map +1 -0
- package/out/concepts/OqlQueryComponent__.d.ts +63 -0
- package/out/concepts/OqlQueryComponent__.d.ts.map +1 -0
- package/out/concepts/OqlQueryComponent__.js +313 -0
- package/out/concepts/OqlQueryComponent__.js.map +1 -0
- package/out/concepts/OrSignPolicyV2__.d.ts +26 -0
- package/out/concepts/OrSignPolicyV2__.d.ts.map +1 -0
- package/out/concepts/OrSignPolicyV2__.js +55 -0
- package/out/concepts/OrSignPolicyV2__.js.map +1 -0
- package/out/concepts/OverriddenLogic__.d.ts +618 -0
- package/out/concepts/OverriddenLogic__.d.ts.map +1 -0
- package/out/concepts/OverriddenLogic__.js +1657 -0
- package/out/concepts/OverriddenLogic__.js.map +1 -0
- package/out/concepts/Paginate__.d.ts +57 -0
- package/out/concepts/Paginate__.d.ts.map +1 -0
- package/out/concepts/Paginate__.js +163 -0
- package/out/concepts/Paginate__.js.map +1 -0
- package/out/concepts/ParamWithGroup__.d.ts +44 -0
- package/out/concepts/ParamWithGroup__.d.ts.map +1 -0
- package/out/concepts/ParamWithGroup__.js +161 -0
- package/out/concepts/ParamWithGroup__.js.map +1 -0
- package/out/concepts/Param__.d.ts +145 -0
- package/out/concepts/Param__.d.ts.map +1 -0
- package/out/concepts/Param__.js +453 -0
- package/out/concepts/Param__.js.map +1 -0
- package/out/concepts/Point__.d.ts +34 -0
- package/out/concepts/Point__.d.ts.map +1 -0
- package/out/concepts/Point__.js +61 -0
- package/out/concepts/Point__.js.map +1 -0
- package/out/concepts/ProcessBindV2__.d.ts +53 -0
- package/out/concepts/ProcessBindV2__.d.ts.map +1 -0
- package/out/concepts/ProcessBindV2__.js +114 -0
- package/out/concepts/ProcessBindV2__.js.map +1 -0
- package/out/concepts/ProcessComponentV2__.d.ts +126 -0
- package/out/concepts/ProcessComponentV2__.d.ts.map +1 -0
- package/out/concepts/ProcessComponentV2__.js +186 -0
- package/out/concepts/ProcessComponentV2__.js.map +1 -0
- package/out/concepts/ProcessComponent__.d.ts +215 -0
- package/out/concepts/ProcessComponent__.d.ts.map +1 -0
- package/out/concepts/ProcessComponent__.js +276 -0
- package/out/concepts/ProcessComponent__.js.map +1 -0
- package/out/concepts/ProcessElementV2__.d.ts +552 -0
- package/out/concepts/ProcessElementV2__.d.ts.map +1 -0
- package/out/concepts/ProcessElementV2__.js +954 -0
- package/out/concepts/ProcessElementV2__.js.map +1 -0
- package/out/concepts/ProcessElement__.d.ts +628 -0
- package/out/concepts/ProcessElement__.d.ts.map +1 -0
- package/out/concepts/ProcessElement__.js +1079 -0
- package/out/concepts/ProcessElement__.js.map +1 -0
- package/out/concepts/ProcessOutcome__.d.ts +36 -0
- package/out/concepts/ProcessOutcome__.d.ts.map +1 -0
- package/out/concepts/ProcessOutcome__.js +97 -0
- package/out/concepts/ProcessOutcome__.js.map +1 -0
- package/out/concepts/ProcessOutcomes__.d.ts +36 -0
- package/out/concepts/ProcessOutcomes__.d.ts.map +1 -0
- package/out/concepts/ProcessOutcomes__.js +104 -0
- package/out/concepts/ProcessOutcomes__.js.map +1 -0
- package/out/concepts/ProcessV2__.d.ts +433 -0
- package/out/concepts/ProcessV2__.d.ts.map +1 -0
- package/out/concepts/ProcessV2__.js +732 -0
- package/out/concepts/ProcessV2__.js.map +1 -0
- package/out/concepts/Process__.d.ts +615 -0
- package/out/concepts/Process__.d.ts.map +1 -0
- package/out/concepts/Process__.js +985 -0
- package/out/concepts/Process__.js.map +1 -0
- package/out/concepts/PropDeclaration__.d.ts +109 -0
- package/out/concepts/PropDeclaration__.d.ts.map +1 -0
- package/out/concepts/PropDeclaration__.js +137 -0
- package/out/concepts/PropDeclaration__.js.map +1 -0
- package/out/concepts/PropertySelectSetter__.d.ts +26 -0
- package/out/concepts/PropertySelectSetter__.d.ts.map +1 -0
- package/out/concepts/PropertySelectSetter__.js +55 -0
- package/out/concepts/PropertySelectSetter__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +51 -0
- package/out/concepts/QueryAggregateExpression__.d.ts.map +1 -0
- package/out/concepts/QueryAggregateExpression__.js +126 -0
- package/out/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/concepts/QueryFieldExpression__.d.ts +67 -0
- package/out/concepts/QueryFieldExpression__.d.ts.map +1 -0
- package/out/concepts/QueryFieldExpression__.js +207 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/concepts/QueryFromExpression__.d.ts +108 -0
- package/out/concepts/QueryFromExpression__.d.ts.map +1 -0
- package/out/concepts/QueryFromExpression__.js +244 -0
- package/out/concepts/QueryFromExpression__.js.map +1 -0
- package/out/concepts/QueryGroupByExpression__.d.ts +48 -0
- package/out/concepts/QueryGroupByExpression__.d.ts.map +1 -0
- package/out/concepts/QueryGroupByExpression__.js +123 -0
- package/out/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/concepts/QueryJoinExpression__.d.ts +195 -0
- package/out/concepts/QueryJoinExpression__.d.ts.map +1 -0
- package/out/concepts/QueryJoinExpression__.js +357 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/concepts/QueryLimitExpression__.d.ts +48 -0
- package/out/concepts/QueryLimitExpression__.d.ts.map +1 -0
- package/out/concepts/QueryLimitExpression__.js +141 -0
- package/out/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/concepts/QueryOrderByExpression__.d.ts +59 -0
- package/out/concepts/QueryOrderByExpression__.d.ts.map +1 -0
- package/out/concepts/QueryOrderByExpression__.js +158 -0
- package/out/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/concepts/QuerySelectExpression__.d.ts +213 -0
- package/out/concepts/QuerySelectExpression__.d.ts.map +1 -0
- package/out/concepts/QuerySelectExpression__.js +346 -0
- package/out/concepts/QuerySelectExpression__.js.map +1 -0
- package/out/concepts/Rect__.d.ts +42 -0
- package/out/concepts/Rect__.d.ts.map +1 -0
- package/out/concepts/Rect__.js +67 -0
- package/out/concepts/Rect__.js.map +1 -0
- package/out/concepts/Return__.d.ts +122 -0
- package/out/concepts/Return__.d.ts.map +1 -0
- package/out/concepts/Return__.js +359 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/concepts/Role__.d.ts +60 -0
- package/out/concepts/Role__.d.ts.map +1 -0
- package/out/concepts/Role__.js +188 -0
- package/out/concepts/Role__.js.map +1 -0
- package/out/concepts/SelectMembers__.d.ts +136 -0
- package/out/concepts/SelectMembers__.d.ts.map +1 -0
- package/out/concepts/SelectMembers__.js +259 -0
- package/out/concepts/SelectMembers__.js.map +1 -0
- package/out/concepts/SequentialPolicyV2__.d.ts +26 -0
- package/out/concepts/SequentialPolicyV2__.d.ts.map +1 -0
- package/out/concepts/SequentialPolicyV2__.js +55 -0
- package/out/concepts/SequentialPolicyV2__.js.map +1 -0
- package/out/concepts/SequentialPolicy__.d.ts +26 -0
- package/out/concepts/SequentialPolicy__.d.ts.map +1 -0
- package/out/concepts/SequentialPolicy__.js +55 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -0
- package/out/concepts/SetterOption__.d.ts +50 -0
- package/out/concepts/SetterOption__.d.ts.map +1 -0
- package/out/concepts/SetterOption__.js +73 -0
- package/out/concepts/SetterOption__.js.map +1 -0
- package/out/concepts/SlotDeclaration__.d.ts +215 -0
- package/out/concepts/SlotDeclaration__.d.ts.map +1 -0
- package/out/concepts/SlotDeclaration__.js +285 -0
- package/out/concepts/SlotDeclaration__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +54 -0
- package/out/concepts/Slot__.d.ts.map +1 -0
- package/out/concepts/Slot__.js +95 -0
- package/out/concepts/Slot__.js.map +1 -0
- package/out/concepts/SqlQueryComponent__.d.ts +59 -0
- package/out/concepts/SqlQueryComponent__.d.ts.map +1 -0
- package/out/concepts/SqlQueryComponent__.js +220 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/concepts/Start__.d.ts +31 -0
- package/out/concepts/Start__.d.ts.map +1 -0
- package/out/concepts/Start__.js +75 -0
- package/out/concepts/Start__.js.map +1 -0
- package/out/concepts/StaticString__.d.ts +50 -0
- package/out/concepts/StaticString__.d.ts.map +1 -0
- package/out/concepts/StaticString__.js +114 -0
- package/out/concepts/StaticString__.js.map +1 -0
- package/out/concepts/StringInterpolation__.d.ts +124 -0
- package/out/concepts/StringInterpolation__.d.ts.map +1 -0
- package/out/concepts/StringInterpolation__.js +279 -0
- package/out/concepts/StringInterpolation__.js.map +1 -0
- package/out/concepts/StringLiteral__.d.ts +52 -0
- package/out/concepts/StringLiteral__.d.ts.map +1 -0
- package/out/concepts/StringLiteral__.js +185 -0
- package/out/concepts/StringLiteral__.js.map +1 -0
- package/out/concepts/StructureProperty__.d.ts +134 -0
- package/out/concepts/StructureProperty__.d.ts.map +1 -0
- package/out/concepts/StructureProperty__.js +292 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/concepts/Structure__.d.ts +241 -0
- package/out/concepts/Structure__.d.ts.map +1 -0
- package/out/concepts/Structure__.js +485 -0
- package/out/concepts/Structure__.js.map +1 -0
- package/out/concepts/SubLogic__.d.ts +418 -0
- package/out/concepts/SubLogic__.d.ts.map +1 -0
- package/out/concepts/SubLogic__.js +1002 -0
- package/out/concepts/SubLogic__.js.map +1 -0
- package/out/concepts/SwitchCase__.d.ts +93 -0
- package/out/concepts/SwitchCase__.d.ts.map +1 -0
- package/out/concepts/SwitchCase__.js +282 -0
- package/out/concepts/SwitchCase__.js.map +1 -0
- package/out/concepts/SwitchSetter__.d.ts +26 -0
- package/out/concepts/SwitchSetter__.d.ts.map +1 -0
- package/out/concepts/SwitchSetter__.js +55 -0
- package/out/concepts/SwitchSetter__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +92 -0
- package/out/concepts/SwitchStatement__.d.ts.map +1 -0
- package/out/concepts/SwitchStatement__.js +221 -0
- package/out/concepts/SwitchStatement__.js.map +1 -0
- package/out/concepts/ThemeVariable__.d.ts +30 -0
- package/out/concepts/ThemeVariable__.d.ts.map +1 -0
- package/out/concepts/ThemeVariable__.js +58 -0
- package/out/concepts/ThemeVariable__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +44 -0
- package/out/concepts/Theme__.d.ts.map +1 -0
- package/out/concepts/Theme__.js +83 -0
- package/out/concepts/Theme__.js.map +1 -0
- package/out/concepts/Transactional__.d.ts +86 -0
- package/out/concepts/Transactional__.d.ts.map +1 -0
- package/out/concepts/Transactional__.js +150 -0
- package/out/concepts/Transactional__.js.map +1 -0
- package/out/concepts/TriggerEvent__.d.ts +44 -0
- package/out/concepts/TriggerEvent__.d.ts.map +1 -0
- package/out/concepts/TriggerEvent__.js +93 -0
- package/out/concepts/TriggerEvent__.js.map +1 -0
- package/out/concepts/TriggerLauncher__.d.ts +77 -0
- package/out/concepts/TriggerLauncher__.d.ts.map +1 -0
- package/out/concepts/TriggerLauncher__.js +232 -0
- package/out/concepts/TriggerLauncher__.js.map +1 -0
- package/out/concepts/TypeAnnotation__.d.ts +310 -0
- package/out/concepts/TypeAnnotation__.d.ts.map +1 -0
- package/out/concepts/TypeAnnotation__.js +1169 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -0
- package/out/concepts/TypeParam__.d.ts +40 -0
- package/out/concepts/TypeParam__.d.ts.map +1 -0
- package/out/concepts/TypeParam__.js +91 -0
- package/out/concepts/TypeParam__.js.map +1 -0
- package/out/concepts/UnaryExpression__.d.ts +48 -0
- package/out/concepts/UnaryExpression__.d.ts.map +1 -0
- package/out/concepts/UnaryExpression__.js +176 -0
- package/out/concepts/UnaryExpression__.js.map +1 -0
- package/out/concepts/Unparsed__.d.ts +42 -0
- package/out/concepts/Unparsed__.d.ts.map +1 -0
- package/out/concepts/Unparsed__.js +98 -0
- package/out/concepts/Unparsed__.js.map +1 -0
- package/out/concepts/UseComponent__.d.ts +34 -0
- package/out/concepts/UseComponent__.d.ts.map +1 -0
- package/out/concepts/UseComponent__.js +61 -0
- package/out/concepts/UseComponent__.js.map +1 -0
- package/out/concepts/ValidationRule__.d.ts +130 -0
- package/out/concepts/ValidationRule__.d.ts.map +1 -0
- package/out/concepts/ValidationRule__.js +542 -0
- package/out/concepts/ValidationRule__.js.map +1 -0
- package/out/concepts/Variable__.d.ts +140 -0
- package/out/concepts/Variable__.d.ts.map +1 -0
- package/out/concepts/Variable__.js +457 -0
- package/out/concepts/Variable__.js.map +1 -0
- package/out/concepts/ViewBlockWithImage__.d.ts +34 -0
- package/out/concepts/ViewBlockWithImage__.d.ts.map +1 -0
- package/out/concepts/ViewBlockWithImage__.js +61 -0
- package/out/concepts/ViewBlockWithImage__.js.map +1 -0
- package/out/concepts/ViewBlock__.d.ts +38 -0
- package/out/concepts/ViewBlock__.d.ts.map +1 -0
- package/out/concepts/ViewBlock__.js +64 -0
- package/out/concepts/ViewBlock__.js.map +1 -0
- package/out/concepts/ViewComponentDeclaration__.d.ts +727 -0
- package/out/concepts/ViewComponentDeclaration__.d.ts.map +1 -0
- package/out/concepts/ViewComponentDeclaration__.js +833 -0
- package/out/concepts/ViewComponentDeclaration__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +666 -0
- package/out/concepts/ViewElement__.d.ts.map +1 -0
- package/out/concepts/ViewElement__.js +2929 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +754 -0
- package/out/concepts/View__.d.ts.map +1 -0
- package/out/concepts/View__.js +2907 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/concepts/WhileStatement__.d.ts +96 -0
- package/out/concepts/WhileStatement__.d.ts.map +1 -0
- package/out/concepts/WhileStatement__.js +256 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/concepts/basics/index.d.ts +16 -0
- package/out/concepts/basics/index.d.ts.map +1 -0
- package/out/concepts/basics/index.js +54 -0
- package/out/concepts/basics/index.js.map +1 -0
- package/out/concepts/basics/stdlib/index.d.ts +16 -0
- package/out/concepts/basics/stdlib/index.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/index.js +93 -0
- package/out/concepts/basics/stdlib/index.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.auth.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.auth.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.auth.js +206 -0
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.browser.d.ts +6 -0
- package/out/concepts/basics/stdlib/nasl.browser.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.browser.js +200 -0
- package/out/concepts/basics/stdlib/nasl.browser.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.collection.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.collection.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.collection.js +57 -0
- package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.configuration.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.configuration.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.configuration.js +97 -0
- package/out/concepts/basics/stdlib/nasl.configuration.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.core.d.ts +8 -0
- package/out/concepts/basics/stdlib/nasl.core.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.core.js +47 -0
- package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.event.d.ts +6 -0
- package/out/concepts/basics/stdlib/nasl.event.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.event.js +34 -0
- package/out/concepts/basics/stdlib/nasl.event.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.http.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.http.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.http.js +174 -0
- package/out/concepts/basics/stdlib/nasl.http.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.interface.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.interface.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.interface.js +49 -0
- package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.io.d.ts +6 -0
- package/out/concepts/basics/stdlib/nasl.io.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.io.js +61 -0
- package/out/concepts/basics/stdlib/nasl.io.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.logging.d.ts +6 -0
- package/out/concepts/basics/stdlib/nasl.logging.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.logging.js +65 -0
- package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.process.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.process.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.process.js +741 -0
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.processV2.d.ts +12 -0
- package/out/concepts/basics/stdlib/nasl.processV2.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.processV2.js +967 -0
- package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.ui.d.ts +10 -0
- package/out/concepts/basics/stdlib/nasl.ui.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.ui.js +1038 -0
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.util.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.util.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.util.js +2501 -0
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +6 -0
- package/out/concepts/basics/stdlib/nasl.validation.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/nasl.validation.js +680 -0
- package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +47 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/concepts/basics/stdlib/timeZone.d.ts +6 -0
- package/out/concepts/basics/stdlib/timeZone.d.ts.map +1 -0
- package/out/concepts/basics/stdlib/timeZone.js +196 -0
- package/out/concepts/basics/stdlib/timeZone.js.map +1 -0
- package/out/concepts/basics/types/coreTypeList.d.ts +5 -0
- package/out/concepts/basics/types/coreTypeList.d.ts.map +1 -0
- package/out/concepts/basics/types/coreTypeList.js +14 -0
- package/out/concepts/basics/types/coreTypeList.js.map +1 -0
- package/out/concepts/basics/types/dataTypes.d.ts +9 -0
- package/out/concepts/basics/types/dataTypes.d.ts.map +1 -0
- package/out/concepts/basics/types/dataTypes.js +18 -0
- package/out/concepts/basics/types/dataTypes.js.map +1 -0
- package/out/concepts/basics/types/index.d.ts +5 -0
- package/out/concepts/basics/types/index.d.ts.map +1 -0
- package/out/concepts/basics/types/index.js +17 -0
- package/out/concepts/basics/types/index.js.map +1 -0
- package/out/concepts/index.d.ts +6 -0
- package/out/concepts/index.d.ts.map +1 -0
- package/out/concepts/index.js +36 -0
- package/out/concepts/index.js.map +1 -0
- package/out/concepts/index__.d.ts +178 -0
- package/out/concepts/index__.d.ts.map +1 -0
- package/out/concepts/index__.js +194 -0
- package/out/concepts/index__.js.map +1 -0
- package/out/concepts/types__.d.ts +2 -0
- package/out/concepts/types__.d.ts.map +1 -0
- package/out/concepts/types__.js +3 -0
- package/out/concepts/types__.js.map +1 -0
- package/out/concepts/utils/asserts.d.ts +8822 -0
- package/out/concepts/utils/asserts.d.ts.map +1 -0
- package/out/concepts/utils/asserts.js +11727 -0
- package/out/concepts/utils/asserts.js.map +1 -0
- package/out/concepts/utils/quick-info.d.ts +21 -0
- package/out/concepts/utils/quick-info.d.ts.map +1 -0
- package/out/concepts/utils/quick-info.js +108 -0
- package/out/concepts/utils/quick-info.js.map +1 -0
- package/out/concepts/utils/types.d.ts +580 -0
- package/out/concepts/utils/types.d.ts.map +1 -0
- package/out/concepts/utils/types.js +3 -0
- package/out/concepts/utils/types.js.map +1 -0
- package/out/decorators/constant.d.ts +12 -0
- package/out/decorators/constant.d.ts.map +1 -0
- package/out/decorators/constant.js +6 -0
- package/out/decorators/constant.js.map +1 -0
- package/out/decorators/index.d.ts +34 -0
- package/out/decorators/index.d.ts.map +1 -0
- package/out/decorators/index.js +123 -0
- package/out/decorators/index.js.map +1 -0
- package/out/decorators/utils.d.ts +22 -0
- package/out/decorators/utils.d.ts.map +1 -0
- package/out/decorators/utils.js +50 -0
- package/out/decorators/utils.js.map +1 -0
- package/out/index.d.ts +13 -0
- package/out/index.d.ts.map +1 -0
- package/out/index.js +49 -0
- package/out/index.js.map +1 -0
- package/out/service/actionable.d.ts +3 -0
- package/out/service/actionable.d.ts.map +1 -0
- package/out/service/actionable.js +9 -0
- package/out/service/actionable.js.map +1 -0
- package/out/service/engine.d.ts +7 -0
- package/out/service/engine.d.ts.map +1 -0
- package/out/service/engine.js +120 -0
- package/out/service/engine.js.map +1 -0
- package/out/service/entity2LogicNamespace.d.ts +11 -0
- package/out/service/entity2LogicNamespace.d.ts.map +1 -0
- package/out/service/entity2LogicNamespace.js +379 -0
- package/out/service/entity2LogicNamespace.js.map +1 -0
- package/out/service/formatTsUtils.d.ts +37 -0
- package/out/service/formatTsUtils.d.ts.map +1 -0
- package/out/service/formatTsUtils.js +876 -0
- package/out/service/formatTsUtils.js.map +1 -0
- package/out/service/getConnector.d.ts +13 -0
- package/out/service/getConnector.d.ts.map +1 -0
- package/out/service/getConnector.js +117 -0
- package/out/service/getConnector.js.map +1 -0
- package/out/service/getExtensionModules.d.ts +4 -0
- package/out/service/getExtensionModules.d.ts.map +1 -0
- package/out/service/getExtensionModules.js +34 -0
- package/out/service/getExtensionModules.js.map +1 -0
- package/out/service/getFunctions.d.ts +4 -0
- package/out/service/getFunctions.d.ts.map +1 -0
- package/out/service/getFunctions.js +20 -0
- package/out/service/getFunctions.js.map +1 -0
- package/out/service/getInterfaces.d.ts +3 -0
- package/out/service/getInterfaces.d.ts.map +1 -0
- package/out/service/getInterfaces.js +48 -0
- package/out/service/getInterfaces.js.map +1 -0
- package/out/service/getLogging.d.ts +2 -0
- package/out/service/getLogging.d.ts.map +1 -0
- package/out/service/getLogging.js +9 -0
- package/out/service/getLogging.js.map +1 -0
- package/out/service/getLogics.d.ts +6 -0
- package/out/service/getLogics.d.ts.map +1 -0
- package/out/service/getLogics.js +509 -0
- package/out/service/getLogics.js.map +1 -0
- package/out/service/getMemberIdentifier.d.ts +18 -0
- package/out/service/getMemberIdentifier.d.ts.map +1 -0
- package/out/service/getMemberIdentifier.js +489 -0
- package/out/service/getMemberIdentifier.js.map +1 -0
- package/out/service/getProcessComponents.d.ts +3 -0
- package/out/service/getProcessComponents.d.ts.map +1 -0
- package/out/service/getProcessComponents.js +13 -0
- package/out/service/getProcessComponents.js.map +1 -0
- package/out/service/getProcesses.d.ts +34 -0
- package/out/service/getProcesses.d.ts.map +1 -0
- package/out/service/getProcesses.js +644 -0
- package/out/service/getProcesses.js.map +1 -0
- package/out/service/getProcessesV2.d.ts +91 -0
- package/out/service/getProcessesV2.d.ts.map +1 -0
- package/out/service/getProcessesV2.js +687 -0
- package/out/service/getProcessesV2.js.map +1 -0
- package/out/service/getValidates.d.ts +4 -0
- package/out/service/getValidates.d.ts.map +1 -0
- package/out/service/getValidates.js +14 -0
- package/out/service/getValidates.js.map +1 -0
- package/out/service/index.d.ts +19 -0
- package/out/service/index.d.ts.map +1 -0
- package/out/service/index.js +48 -0
- package/out/service/index.js.map +1 -0
- package/out/service/modules.d.ts +9 -0
- package/out/service/modules.d.ts.map +1 -0
- package/out/service/modules.js +88 -0
- package/out/service/modules.js.map +1 -0
- package/out/service/process2LogicNamespace.d.ts +27 -0
- package/out/service/process2LogicNamespace.d.ts.map +1 -0
- package/out/service/process2LogicNamespace.js +109 -0
- package/out/service/process2LogicNamespace.js.map +1 -0
- package/out/service/transform.d.ts +9 -0
- package/out/service/transform.d.ts.map +1 -0
- package/out/service/transform.js +36 -0
- package/out/service/transform.js.map +1 -0
- package/out/store/event.d.ts +14 -0
- package/out/store/event.d.ts.map +1 -0
- package/out/store/event.js +19 -0
- package/out/store/event.js.map +1 -0
- package/out/store/index.d.ts +8 -0
- package/out/store/index.d.ts.map +1 -0
- package/out/store/index.js +25 -0
- package/out/store/index.js.map +1 -0
- package/out/store/lib.d.ts +16 -0
- package/out/store/lib.d.ts.map +1 -0
- package/out/store/lib.js +21 -0
- package/out/store/lib.js.map +1 -0
- package/out/store/store.d.ts +16 -0
- package/out/store/store.d.ts.map +1 -0
- package/out/store/store.js +18 -0
- package/out/store/store.js.map +1 -0
- package/out/utils/bak-translator.d.ts +2 -0
- package/out/utils/bak-translator.d.ts.map +1 -0
- package/out/utils/bak-translator.js +334 -0
- package/out/utils/bak-translator.js.map +1 -0
- package/out/utils/constant.d.ts +4 -0
- package/out/utils/constant.d.ts.map +1 -0
- package/out/utils/constant.js +34 -0
- package/out/utils/constant.js.map +1 -0
- package/out/utils/index.d.ts +6 -0
- package/out/utils/index.d.ts.map +1 -0
- package/out/utils/index.js +22 -0
- package/out/utils/index.js.map +1 -0
- package/out/utils/node.d.ts +14 -0
- package/out/utils/node.d.ts.map +1 -0
- package/out/utils/node.js +85 -0
- package/out/utils/node.js.map +1 -0
- package/out/utils/utils.d.ts +13 -0
- package/out/utils/utils.d.ts.map +1 -0
- package/out/utils/utils.js +77 -0
- package/out/utils/utils.js.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,732 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
+
};
|
|
34
|
+
var ProcessV2_1;
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ProcessV2 = void 0;
|
|
37
|
+
const utils_1 = require("../utils");
|
|
38
|
+
const nasl_translator_1 = require("@lcap/nasl-translator");
|
|
39
|
+
const getProcesses_1 = require("../service/getProcesses");
|
|
40
|
+
const getProcessesV2_1 = require("../service/getProcessesV2");
|
|
41
|
+
const utils_2 = require("../utils");
|
|
42
|
+
const decorators_1 = require("../decorators");
|
|
43
|
+
const utils = __importStar(require("../utils"));
|
|
44
|
+
const asserts = __importStar(require("./utils/asserts"));
|
|
45
|
+
const BaseNode_1 = __importDefault(require("../common/BaseNode"));
|
|
46
|
+
/**
|
|
47
|
+
* 流程
|
|
48
|
+
*/
|
|
49
|
+
let ProcessV2 = class ProcessV2 extends BaseNode_1.default {
|
|
50
|
+
static { ProcessV2_1 = this; }
|
|
51
|
+
/** 类名 */
|
|
52
|
+
static { this.ConceptName = 'ProcessV2'; }
|
|
53
|
+
/**
|
|
54
|
+
* 是否为抽象类
|
|
55
|
+
* 抽象类不能产生 concept: string
|
|
56
|
+
*/
|
|
57
|
+
static { this.isAbstract = false; }
|
|
58
|
+
/** 继承链 */
|
|
59
|
+
static { this.inheritanceChain = ['BaseNode']; }
|
|
60
|
+
/**
|
|
61
|
+
* @param source 需要合并的部分参数
|
|
62
|
+
*/
|
|
63
|
+
constructor(source) {
|
|
64
|
+
source = Object.assign({}, ProcessV2_1.getDefaultOptions(), source);
|
|
65
|
+
super(source);
|
|
66
|
+
/**
|
|
67
|
+
* 流程唯一标识
|
|
68
|
+
*/
|
|
69
|
+
this.uniqueKey = (0, utils_2.createUniqueKey)();
|
|
70
|
+
/**
|
|
71
|
+
* 流程名称
|
|
72
|
+
*/
|
|
73
|
+
this.name = '';
|
|
74
|
+
/**
|
|
75
|
+
* 流程元素列表
|
|
76
|
+
*/
|
|
77
|
+
this.elements = [];
|
|
78
|
+
/**
|
|
79
|
+
* 流程历史版本
|
|
80
|
+
*/
|
|
81
|
+
this.historyProcesses = [];
|
|
82
|
+
/**
|
|
83
|
+
* 流程绑定事件列表
|
|
84
|
+
*/
|
|
85
|
+
this.bindEvents = [];
|
|
86
|
+
/**
|
|
87
|
+
* 获取当前逻辑下所有elements上bindEvents下的logic
|
|
88
|
+
*/
|
|
89
|
+
this.elementLogicRoot = [];
|
|
90
|
+
// TODO need reset when process support hoc & spread param & type annotation
|
|
91
|
+
this.subLogics = [];
|
|
92
|
+
super.subConstructor(source);
|
|
93
|
+
}
|
|
94
|
+
static from(source, parentNode, parentKey) {
|
|
95
|
+
return super.from(source, parentNode, parentKey);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 设置流程名称
|
|
99
|
+
*/
|
|
100
|
+
setName(name) {
|
|
101
|
+
const object = {
|
|
102
|
+
name,
|
|
103
|
+
};
|
|
104
|
+
this.update({
|
|
105
|
+
...object,
|
|
106
|
+
field: 'name',
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* 设置流程标题
|
|
111
|
+
*/
|
|
112
|
+
setTitle(title) {
|
|
113
|
+
const object = {
|
|
114
|
+
title,
|
|
115
|
+
};
|
|
116
|
+
this.update({
|
|
117
|
+
...object,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* 设置流程描述
|
|
122
|
+
*/
|
|
123
|
+
setDescription(description) {
|
|
124
|
+
const object = {
|
|
125
|
+
description,
|
|
126
|
+
};
|
|
127
|
+
this.update({
|
|
128
|
+
...object,
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
getElementExistingNames(excludedList = []) {
|
|
132
|
+
const excludedSet = new Set(excludedList);
|
|
133
|
+
return (this.elements || [])
|
|
134
|
+
.filter((item) => !excludedSet.has(item))
|
|
135
|
+
.map((item) => item.name);
|
|
136
|
+
}
|
|
137
|
+
getElementUniqueName(name = 'element1') {
|
|
138
|
+
return utils.unique(name, this.getElementExistingNames(), undefined, false);
|
|
139
|
+
}
|
|
140
|
+
_insertElementAt(options, index) {
|
|
141
|
+
const elementOptions = {};
|
|
142
|
+
const relationOptions = { parentNode: this, parentKey: 'elements' };
|
|
143
|
+
const ProcessElementV2 = (0, decorators_1.getConceptConstructor)('ProcessElementV2');
|
|
144
|
+
let element;
|
|
145
|
+
if (!options) {
|
|
146
|
+
element = ProcessElementV2.from({
|
|
147
|
+
...elementOptions,
|
|
148
|
+
name: this.getElementUniqueName(),
|
|
149
|
+
}, this, 'elements');
|
|
150
|
+
}
|
|
151
|
+
else if (typeof options === 'string') {
|
|
152
|
+
element = ProcessElementV2.from({
|
|
153
|
+
...elementOptions,
|
|
154
|
+
name: options,
|
|
155
|
+
}, this, 'elements');
|
|
156
|
+
}
|
|
157
|
+
else if (asserts.isProcessElementV2(options)) {
|
|
158
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
159
|
+
element = options;
|
|
160
|
+
Object.assign(element, relationOptions);
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
element = ProcessElementV2.from({
|
|
164
|
+
...elementOptions,
|
|
165
|
+
...options,
|
|
166
|
+
}, this, 'elements');
|
|
167
|
+
}
|
|
168
|
+
this.elements.splice(index, 0, element);
|
|
169
|
+
return element;
|
|
170
|
+
}
|
|
171
|
+
insertElementAt(options, index) {
|
|
172
|
+
const node = this._insertElementAt(options, index);
|
|
173
|
+
node.create({
|
|
174
|
+
index,
|
|
175
|
+
parentNode: this,
|
|
176
|
+
parentKey: 'elements',
|
|
177
|
+
});
|
|
178
|
+
return node;
|
|
179
|
+
}
|
|
180
|
+
_addElement(options) {
|
|
181
|
+
const index = this.elements.length;
|
|
182
|
+
return this._insertElementAt(options, index);
|
|
183
|
+
}
|
|
184
|
+
addElement(options) {
|
|
185
|
+
const node = this._addElement(options);
|
|
186
|
+
const index = this.elements.indexOf(node);
|
|
187
|
+
node.create({
|
|
188
|
+
index,
|
|
189
|
+
parentNode: this,
|
|
190
|
+
parentKey: 'elements',
|
|
191
|
+
});
|
|
192
|
+
return node;
|
|
193
|
+
}
|
|
194
|
+
getHistoryProcessV2ExistingNames(excludedList = []) {
|
|
195
|
+
const excludedSet = new Set(excludedList);
|
|
196
|
+
return (this.historyProcesses || [])
|
|
197
|
+
.filter((item) => !excludedSet.has(item))
|
|
198
|
+
.map((item) => item.name);
|
|
199
|
+
}
|
|
200
|
+
getHistoryProcessV2UniqueName(name = 'historyProcessV21') {
|
|
201
|
+
return utils.unique(name, this.getHistoryProcessV2ExistingNames(), undefined, false);
|
|
202
|
+
}
|
|
203
|
+
_insertHistoryProcessV2At(options, index) {
|
|
204
|
+
const historyProcessV2Options = {};
|
|
205
|
+
const relationOptions = { parentNode: this, parentKey: 'historyProcesses' };
|
|
206
|
+
const HistoryProcessV2 = (0, decorators_1.getConceptConstructor)('HistoryProcessV2');
|
|
207
|
+
let historyProcessV2;
|
|
208
|
+
if (!options) {
|
|
209
|
+
historyProcessV2 = HistoryProcessV2.from({
|
|
210
|
+
...historyProcessV2Options,
|
|
211
|
+
name: this.getHistoryProcessV2UniqueName(),
|
|
212
|
+
}, this, 'historyProcesses');
|
|
213
|
+
}
|
|
214
|
+
else if (typeof options === 'string') {
|
|
215
|
+
historyProcessV2 = HistoryProcessV2.from({
|
|
216
|
+
...historyProcessV2Options,
|
|
217
|
+
name: options,
|
|
218
|
+
}, this, 'historyProcesses');
|
|
219
|
+
}
|
|
220
|
+
else if (asserts.isHistoryProcessV2(options)) {
|
|
221
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
222
|
+
historyProcessV2 = options;
|
|
223
|
+
Object.assign(historyProcessV2, relationOptions);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
historyProcessV2 = HistoryProcessV2.from({
|
|
227
|
+
...historyProcessV2Options,
|
|
228
|
+
...options,
|
|
229
|
+
}, this, 'historyProcesses');
|
|
230
|
+
}
|
|
231
|
+
this.historyProcesses.splice(index, 0, historyProcessV2);
|
|
232
|
+
return historyProcessV2;
|
|
233
|
+
}
|
|
234
|
+
insertHistoryProcessV2At(options, index) {
|
|
235
|
+
const node = this._insertHistoryProcessV2At(options, index);
|
|
236
|
+
node.create({
|
|
237
|
+
index,
|
|
238
|
+
parentNode: this,
|
|
239
|
+
parentKey: 'historyProcesses',
|
|
240
|
+
});
|
|
241
|
+
return node;
|
|
242
|
+
}
|
|
243
|
+
_addHistoryProcessV2(options) {
|
|
244
|
+
const index = this.historyProcesses.length;
|
|
245
|
+
return this._insertHistoryProcessV2At(options, index);
|
|
246
|
+
}
|
|
247
|
+
addHistoryProcessV2(options) {
|
|
248
|
+
const node = this._addHistoryProcessV2(options);
|
|
249
|
+
const index = this.historyProcesses.indexOf(node);
|
|
250
|
+
node.create({
|
|
251
|
+
index,
|
|
252
|
+
parentNode: this,
|
|
253
|
+
parentKey: 'historyProcesses',
|
|
254
|
+
});
|
|
255
|
+
return node;
|
|
256
|
+
}
|
|
257
|
+
getBindEventExistingNames(excludedList = []) {
|
|
258
|
+
const excludedSet = new Set(excludedList);
|
|
259
|
+
return (this.bindEvents || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
260
|
+
}
|
|
261
|
+
getBindEventUniqueName(name = 'bindEvent1') {
|
|
262
|
+
return utils.unique(name, this.getBindEventExistingNames(), undefined, false);
|
|
263
|
+
}
|
|
264
|
+
_insertBindEventAt(options, index) {
|
|
265
|
+
const bindEventOptions = {};
|
|
266
|
+
const relationOptions = { parentNode: this, parentKey: 'bindEvents' };
|
|
267
|
+
const BindEvent = (0, decorators_1.getConceptConstructor)('BindEvent');
|
|
268
|
+
let bindEvent;
|
|
269
|
+
if (!options) {
|
|
270
|
+
bindEvent = BindEvent.from({
|
|
271
|
+
...bindEventOptions,
|
|
272
|
+
name: this.getBindEventUniqueName(),
|
|
273
|
+
}, this, 'bindEvents');
|
|
274
|
+
}
|
|
275
|
+
else if (typeof options === 'string') {
|
|
276
|
+
bindEvent = BindEvent.from({
|
|
277
|
+
...bindEventOptions,
|
|
278
|
+
name: options,
|
|
279
|
+
}, this, 'bindEvents');
|
|
280
|
+
}
|
|
281
|
+
else if (asserts.isBindEvent(options)) {
|
|
282
|
+
options.ensureDelete(); // 同一实例不支持多处存在
|
|
283
|
+
bindEvent = options;
|
|
284
|
+
Object.assign(bindEvent, relationOptions);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
bindEvent = BindEvent.from({
|
|
288
|
+
...bindEventOptions,
|
|
289
|
+
...options,
|
|
290
|
+
}, this, 'bindEvents');
|
|
291
|
+
}
|
|
292
|
+
this.bindEvents.splice(index, 0, bindEvent);
|
|
293
|
+
return bindEvent;
|
|
294
|
+
}
|
|
295
|
+
insertBindEventAt(options, index) {
|
|
296
|
+
const node = this._insertBindEventAt(options, index);
|
|
297
|
+
node.create({
|
|
298
|
+
index,
|
|
299
|
+
parentNode: this,
|
|
300
|
+
parentKey: 'bindEvents',
|
|
301
|
+
});
|
|
302
|
+
return node;
|
|
303
|
+
}
|
|
304
|
+
_addBindEvent(options) {
|
|
305
|
+
const index = this.bindEvents.length;
|
|
306
|
+
return this._insertBindEventAt(options, index);
|
|
307
|
+
}
|
|
308
|
+
addBindEvent(options) {
|
|
309
|
+
const node = this._addBindEvent(options);
|
|
310
|
+
const index = this.bindEvents.indexOf(node);
|
|
311
|
+
node.create({
|
|
312
|
+
index,
|
|
313
|
+
parentNode: this,
|
|
314
|
+
parentKey: 'bindEvents',
|
|
315
|
+
});
|
|
316
|
+
return node;
|
|
317
|
+
}
|
|
318
|
+
removeElement(options) {
|
|
319
|
+
let element;
|
|
320
|
+
if (typeof options === 'string') {
|
|
321
|
+
element = this.elements.find((item) => item.name === options);
|
|
322
|
+
if (!element) {
|
|
323
|
+
throw new Error('找不到流程元素 ' + options);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
element = options;
|
|
328
|
+
}
|
|
329
|
+
return element.delete();
|
|
330
|
+
}
|
|
331
|
+
removeHistoryProcessV2(options) {
|
|
332
|
+
let historyProcessV2;
|
|
333
|
+
if (typeof options === 'string') {
|
|
334
|
+
historyProcessV2 = this.historyProcesses.find((item) => item.name === options);
|
|
335
|
+
if (!historyProcessV2) {
|
|
336
|
+
throw new Error('找不到流程历史 ' + options);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
historyProcessV2 = options;
|
|
341
|
+
}
|
|
342
|
+
return historyProcessV2.delete();
|
|
343
|
+
}
|
|
344
|
+
removeBindEvent(options) {
|
|
345
|
+
let bindEvent;
|
|
346
|
+
if (typeof options === 'string') {
|
|
347
|
+
bindEvent = this.bindEvents.find((item) => item.name === options);
|
|
348
|
+
if (!bindEvent) {
|
|
349
|
+
throw new Error('找不到元素绑定事件 ' + options);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
bindEvent = options;
|
|
354
|
+
}
|
|
355
|
+
return bindEvent.delete();
|
|
356
|
+
}
|
|
357
|
+
get currentBindEntity() {
|
|
358
|
+
const arr = this.bind.refNamespace.split('.');
|
|
359
|
+
const sourceName = arr[2];
|
|
360
|
+
const dataSource = this.app.findDataSourceByName(sourceName);
|
|
361
|
+
const entity = dataSource.entities.find(({ name }) => name === this.bind.refName);
|
|
362
|
+
return entity;
|
|
363
|
+
}
|
|
364
|
+
get isFormProcess() {
|
|
365
|
+
return !!this.composedBy?.length;
|
|
366
|
+
}
|
|
367
|
+
onChange($event) {
|
|
368
|
+
this.emit('change', $event);
|
|
369
|
+
}
|
|
370
|
+
getSourceRefElements(name) {
|
|
371
|
+
return this.elements.filter((item) => item.sourceRef === name);
|
|
372
|
+
}
|
|
373
|
+
getTargetRefElements(name) {
|
|
374
|
+
return this.elements.filter((item) => item.targetRef === name);
|
|
375
|
+
}
|
|
376
|
+
findElementByName(name) {
|
|
377
|
+
return this.elements.find((item) => item.name === name);
|
|
378
|
+
}
|
|
379
|
+
findElementLink(sourceRef, targetRef) {
|
|
380
|
+
return this.elements.find((item) => item.sourceRef === sourceRef && item.targetRef === targetRef);
|
|
381
|
+
}
|
|
382
|
+
getVarExistingNames(excludedList = []) {
|
|
383
|
+
const excludedSet = new Set(excludedList);
|
|
384
|
+
return this.elements.filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
385
|
+
}
|
|
386
|
+
getNamespace(ns) {
|
|
387
|
+
if (this.parentNode && this.parentNode.getNamespace) {
|
|
388
|
+
const parentNamespace = this.parentNode.getNamespace();
|
|
389
|
+
const parentName = this.parentNode.name;
|
|
390
|
+
const arr = [parentNamespace];
|
|
391
|
+
if (this.parentNode.concept !== 'App' && parentName) {
|
|
392
|
+
arr.push(parentName);
|
|
393
|
+
}
|
|
394
|
+
return `${arr.join('.')}.${ns || 'processV2s'}`;
|
|
395
|
+
}
|
|
396
|
+
throw new Error('无法获取命名空间,请设置 parentNode!');
|
|
397
|
+
}
|
|
398
|
+
getElementLogicRoot() {
|
|
399
|
+
const logics = [];
|
|
400
|
+
// 页面上的绑定的事件
|
|
401
|
+
this.bindEvents.forEach((bindEvent) => {
|
|
402
|
+
bindEvent.logics.forEach((logic) => {
|
|
403
|
+
logics.push(logic);
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
this.elements.forEach((item) => {
|
|
407
|
+
if (item.concept === 'ProcessElementV2' && item.isManualTask) {
|
|
408
|
+
utils.traverse((current) => {
|
|
409
|
+
current.node.bindEvents.forEach((bindEvent) => {
|
|
410
|
+
bindEvent.logics.forEach((logic) => {
|
|
411
|
+
logics.push(logic);
|
|
412
|
+
});
|
|
413
|
+
});
|
|
414
|
+
}, { node: item });
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
const expanded = (this.elementLogicRoot.length && this.elementLogicRoot[0].expanded) || false;
|
|
418
|
+
this.elementLogicRoot = [
|
|
419
|
+
{
|
|
420
|
+
concept: 'elementLogicRoot',
|
|
421
|
+
id: 'elementLogicRoot',
|
|
422
|
+
expanded,
|
|
423
|
+
children: logics,
|
|
424
|
+
},
|
|
425
|
+
];
|
|
426
|
+
}
|
|
427
|
+
*toEmbeddedTS(state = (0, nasl_translator_1.createCompilerState)()) {
|
|
428
|
+
const self = this;
|
|
429
|
+
// 获取虚拟logic的参数和内容
|
|
430
|
+
// 用作展示和tots查找引用
|
|
431
|
+
self.getElementLogicRoot();
|
|
432
|
+
// 获取所有子节点用于树上填充
|
|
433
|
+
self.getSubLogics();
|
|
434
|
+
const tab1 = (0, nasl_translator_1.indent)((state?.tabSize || 0) + 1);
|
|
435
|
+
let code = `export namespace ${self.uniqueKey} {\n`;
|
|
436
|
+
const bind = self.bind;
|
|
437
|
+
if (bind) {
|
|
438
|
+
code += `let refEntity = `;
|
|
439
|
+
code += yield* bind.toEmbeddedTS((0, nasl_translator_1.shiftState)(state, code));
|
|
440
|
+
code += `;\n`;
|
|
441
|
+
code += `// 绑定数据类型定义(实体/关联实体等)
|
|
442
|
+
export let bindData: {`;
|
|
443
|
+
const { properties } = bind.typeAnnotation || {};
|
|
444
|
+
if (Array.isArray(properties)) {
|
|
445
|
+
yield* (0, utils_1.wrapForEachToGenerator)(properties, function* warpForEachGenerator(property) {
|
|
446
|
+
code += yield* property?.toEmbeddedTS((0, nasl_translator_1.shiftState)(state, code), property?.name === 'data');
|
|
447
|
+
code += `;\n`;
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
code += `\n__name?: any;`;
|
|
451
|
+
code += `\n};\n`;
|
|
452
|
+
}
|
|
453
|
+
// 流程实例暴露出去的逻辑
|
|
454
|
+
code += `${tab1}export declare namespace logics {\n`;
|
|
455
|
+
const launchLogic = (0, getProcessesV2_1.genLaunchProcess)(this);
|
|
456
|
+
launchLogic.parentNode = this;
|
|
457
|
+
// 流程操作
|
|
458
|
+
const processOperates = ['transferTask', 'submitTask', 'rejectTask', 'approveTask', 'getTaskData'].map((taskName) => {
|
|
459
|
+
const logic = (0, getProcessesV2_1.genProcessOperate)(this, taskName);
|
|
460
|
+
logic.parentNode = this;
|
|
461
|
+
return logic;
|
|
462
|
+
});
|
|
463
|
+
// 流程节点
|
|
464
|
+
yield* (0, utils_1.wrapForEachToGenerator)([launchLogic, ...processOperates], function* warpForEachGenerator(logic) {
|
|
465
|
+
code += yield* logic.toEmbeddedDeclarationTS((0, nasl_translator_1.shiftState)(state, code, { tabSize: (state?.tabSize || 0) + 2, hideDefaultValue: true }));
|
|
466
|
+
});
|
|
467
|
+
code += `${tab1}}\n`;
|
|
468
|
+
// 流程节点
|
|
469
|
+
yield* (0, utils_1.wrapForEachToGenerator)(self.elements, function* warpForEachGenerator(ele) {
|
|
470
|
+
code += '\n';
|
|
471
|
+
if (!['EndNoneEvent'].includes(ele.type)) {
|
|
472
|
+
code += `const ${ele.name}Elem = {\n`;
|
|
473
|
+
code += yield* ele.toEmbeddedTS((0, nasl_translator_1.shiftState)(state, code, { tabSize: (state?.tabSize || 0) + 1 }));
|
|
474
|
+
code += '\n};';
|
|
475
|
+
}
|
|
476
|
+
});
|
|
477
|
+
// 流程节点
|
|
478
|
+
code += `${tab1}export const elements = {\n`;
|
|
479
|
+
yield* (0, utils_1.wrapForEachToGenerator)(self.elements, function* warpForEachGenerator(ele) {
|
|
480
|
+
if (!(['EndNoneEvent'].includes(ele.type) || ele.isFlow || ele.isBranch)) {
|
|
481
|
+
code += `...${ele.name}Elem,\n`;
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
code += `\n${tab1}}\n`;
|
|
485
|
+
// 流程逻辑提示错误信息
|
|
486
|
+
if (Array.isArray(self.bindEvents)) {
|
|
487
|
+
// 当前范围的变量声明
|
|
488
|
+
let variDeclCodeWithSelf = `let processSystem: nasl.processV2.ProcessVariable;\n`;
|
|
489
|
+
variDeclCodeWithSelf += 'let custom: typeof bindData;\n';
|
|
490
|
+
yield* (0, utils_1.wrapForEachToGenerator)(self.bindEvents, function* warpForEachGenerator(event) {
|
|
491
|
+
code += yield* event.toEmbeddedTS((0, nasl_translator_1.shiftState)(state, code, {
|
|
492
|
+
tabSize: state?.tabSize || 0,
|
|
493
|
+
}), false, variDeclCodeWithSelf);
|
|
494
|
+
code += '\n';
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
// 历史流程
|
|
498
|
+
if (Array.isArray(self.historyProcesses)) {
|
|
499
|
+
yield* (0, utils_1.wrapForEachToGenerator)(self.historyProcesses, function* warpForEachGenerator(historyProcesse, index) {
|
|
500
|
+
code += `namespace historyProcesse_${index} {\n`;
|
|
501
|
+
code += yield* historyProcesse.toEmbeddedTS((0, nasl_translator_1.shiftState)(state, code, {
|
|
502
|
+
tabSize: state?.tabSize || 0,
|
|
503
|
+
}));
|
|
504
|
+
code += '\n}\n';
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
code += `}\n`;
|
|
508
|
+
return code;
|
|
509
|
+
}
|
|
510
|
+
getEmbeddedFilePath(name = this.name) {
|
|
511
|
+
return `/embedded/${this.app.name}/processV2s/${name}.ts`;
|
|
512
|
+
}
|
|
513
|
+
*toEmbeddedTSFile() {
|
|
514
|
+
let code = `namespace ${this.getNamespace('processV2s')} {\n`;
|
|
515
|
+
const state = (0, nasl_translator_1.createCompilerState)(code, { tabSize: 1 });
|
|
516
|
+
try {
|
|
517
|
+
code += yield* this.toEmbeddedTS(state);
|
|
518
|
+
}
|
|
519
|
+
catch (err) {
|
|
520
|
+
code += '';
|
|
521
|
+
console.log(err);
|
|
522
|
+
}
|
|
523
|
+
code += '}\n';
|
|
524
|
+
return {
|
|
525
|
+
code,
|
|
526
|
+
filePath: this.getEmbeddedFilePath(),
|
|
527
|
+
sourceMap: state.sourceMap,
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
renameUniqueKey() {
|
|
531
|
+
let unique = (0, utils_2.createUniqueKey)().slice(0, 8);
|
|
532
|
+
unique = `Process_${unique}`;
|
|
533
|
+
this.uniqueKey = unique;
|
|
534
|
+
}
|
|
535
|
+
static getDefaultOptions() {
|
|
536
|
+
const unique = (0, utils_2.createUniqueKey)().slice(0, 8);
|
|
537
|
+
return {
|
|
538
|
+
uniqueKey: `Process_${unique}`,
|
|
539
|
+
title: `流程${this.name.replace('ProcessV2', '')}`,
|
|
540
|
+
version: 1,
|
|
541
|
+
status: 'designing',
|
|
542
|
+
elements: [
|
|
543
|
+
{
|
|
544
|
+
concept: 'ProcessElementV2',
|
|
545
|
+
name: 'Start',
|
|
546
|
+
type: 'InitiateTask',
|
|
547
|
+
title: '开始',
|
|
548
|
+
taskTitle: '开始',
|
|
549
|
+
bounds: {
|
|
550
|
+
concept: 'Rect',
|
|
551
|
+
x: 0,
|
|
552
|
+
y: 200,
|
|
553
|
+
},
|
|
554
|
+
bindAttrs: [
|
|
555
|
+
{
|
|
556
|
+
concept: 'BindAttribute',
|
|
557
|
+
name: 'assigneeV2',
|
|
558
|
+
assigneeV2: {
|
|
559
|
+
concept: 'AssigneeV2',
|
|
560
|
+
fromVariables: [
|
|
561
|
+
{
|
|
562
|
+
concept: 'MemberExpression',
|
|
563
|
+
object: {
|
|
564
|
+
concept: 'Identifier',
|
|
565
|
+
name: 'processSystem',
|
|
566
|
+
folded: false,
|
|
567
|
+
},
|
|
568
|
+
property: {
|
|
569
|
+
concept: 'Identifier',
|
|
570
|
+
name: 'procInstStartBy',
|
|
571
|
+
folded: false,
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
],
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
operatePermissions: [
|
|
579
|
+
{
|
|
580
|
+
concept: 'OperatePermissionV2',
|
|
581
|
+
name: 'submit',
|
|
582
|
+
operationEnabled: true,
|
|
583
|
+
displayText: '提交',
|
|
584
|
+
commentRequired: false,
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
concept: 'OperatePermissionV2',
|
|
588
|
+
name: 'reassign',
|
|
589
|
+
operationEnabled: true,
|
|
590
|
+
displayText: '转派',
|
|
591
|
+
commentRequired: false,
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
concept: 'OperatePermissionV2',
|
|
595
|
+
name: 'withdraw',
|
|
596
|
+
operationEnabled: true,
|
|
597
|
+
displayText: '撤回',
|
|
598
|
+
commentRequired: false,
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
concept: 'ProcessElementV2',
|
|
604
|
+
name: 'End',
|
|
605
|
+
type: 'EndNoneEvent',
|
|
606
|
+
title: '结束',
|
|
607
|
+
taskTitle: '结束',
|
|
608
|
+
bounds: {
|
|
609
|
+
concept: 'Rect',
|
|
610
|
+
x: 0,
|
|
611
|
+
y: 400,
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
concept: 'ProcessElementV2',
|
|
616
|
+
name: 'SequenceFlow',
|
|
617
|
+
type: 'SequenceFlow',
|
|
618
|
+
sourceRef: 'Start',
|
|
619
|
+
targetRef: 'End',
|
|
620
|
+
waypoints: [
|
|
621
|
+
{ x: 0, y: 1 },
|
|
622
|
+
{ x: 0, y: -1 },
|
|
623
|
+
],
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
getSubLogics() {
|
|
629
|
+
const subLogics = this.findNaslNodeByBFS((node) => {
|
|
630
|
+
if (asserts.isSubLogic(node)) {
|
|
631
|
+
return true;
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
this.subLogics = subLogics;
|
|
635
|
+
}
|
|
636
|
+
get includeSpreadCallLogic() {
|
|
637
|
+
return !!this.findNode((node) => {
|
|
638
|
+
if (asserts.isCallLogic(node)) {
|
|
639
|
+
const logic = node.getCallNode();
|
|
640
|
+
const args = logic?.params || [];
|
|
641
|
+
return args.some((arg) => arg.spread);
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
get includeTypeArgs() {
|
|
646
|
+
return !!this.findNode((node) => {
|
|
647
|
+
if (asserts.isCallLogic(node)) {
|
|
648
|
+
return (node?.needCompleteTypeArguments?.length || 0) > 0;
|
|
649
|
+
}
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
exports.ProcessV2 = ProcessV2;
|
|
654
|
+
__decorate([
|
|
655
|
+
(0, decorators_1.property)()
|
|
656
|
+
// @ts-ignore
|
|
657
|
+
], ProcessV2.prototype, "concept", void 0);
|
|
658
|
+
__decorate([
|
|
659
|
+
(0, decorators_1.property)()
|
|
660
|
+
], ProcessV2.prototype, "uniqueKey", void 0);
|
|
661
|
+
__decorate([
|
|
662
|
+
(0, decorators_1.property)()
|
|
663
|
+
], ProcessV2.prototype, "name", void 0);
|
|
664
|
+
__decorate([
|
|
665
|
+
(0, decorators_1.property)()
|
|
666
|
+
], ProcessV2.prototype, "title", void 0);
|
|
667
|
+
__decorate([
|
|
668
|
+
(0, decorators_1.property)()
|
|
669
|
+
], ProcessV2.prototype, "description", void 0);
|
|
670
|
+
__decorate([
|
|
671
|
+
(0, decorators_1.property)({
|
|
672
|
+
objectRef: 'ProcessElementV2',
|
|
673
|
+
isArray: true,
|
|
674
|
+
defaultValue: [],
|
|
675
|
+
})
|
|
676
|
+
], ProcessV2.prototype, "elements", void 0);
|
|
677
|
+
__decorate([
|
|
678
|
+
(0, decorators_1.property)()
|
|
679
|
+
], ProcessV2.prototype, "version", void 0);
|
|
680
|
+
__decorate([
|
|
681
|
+
(0, decorators_1.property)()
|
|
682
|
+
], ProcessV2.prototype, "status", void 0);
|
|
683
|
+
__decorate([
|
|
684
|
+
(0, decorators_1.property)({
|
|
685
|
+
objectRef: 'HistoryProcessV2',
|
|
686
|
+
isArray: true,
|
|
687
|
+
defaultValue: [],
|
|
688
|
+
})
|
|
689
|
+
], ProcessV2.prototype, "historyProcesses", void 0);
|
|
690
|
+
__decorate([
|
|
691
|
+
(0, decorators_1.property)({
|
|
692
|
+
objectRef: 'ProcessBindV2',
|
|
693
|
+
})
|
|
694
|
+
], ProcessV2.prototype, "bind", void 0);
|
|
695
|
+
__decorate([
|
|
696
|
+
(0, decorators_1.property)({
|
|
697
|
+
objectRef: 'BindEvent',
|
|
698
|
+
isArray: true,
|
|
699
|
+
defaultValue: [],
|
|
700
|
+
})
|
|
701
|
+
], ProcessV2.prototype, "bindEvents", void 0);
|
|
702
|
+
__decorate([
|
|
703
|
+
nasl_translator_1.withSourceMapGenerator
|
|
704
|
+
], ProcessV2.prototype, "toEmbeddedTS", null);
|
|
705
|
+
exports.ProcessV2 = ProcessV2 = ProcessV2_1 = __decorate([
|
|
706
|
+
(0, decorators_1.concept)('流程')
|
|
707
|
+
], ProcessV2);
|
|
708
|
+
exports.default = ProcessV2;
|
|
709
|
+
//================================================================================
|
|
710
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
711
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
712
|
+
//================================================================================
|
|
713
|
+
ProcessV2.prototype.setName = function (name) {
|
|
714
|
+
const App = this.rootNode;
|
|
715
|
+
const oldName = this.name;
|
|
716
|
+
App.emit('collect:start', {
|
|
717
|
+
actionMsg: '设置名称',
|
|
718
|
+
});
|
|
719
|
+
(0, getProcesses_1.syncMemberExpression)(this, (node) => {
|
|
720
|
+
if (asserts.isIdentifier(node.object) && node.object.name === oldName) {
|
|
721
|
+
node.object.update({
|
|
722
|
+
name,
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
});
|
|
726
|
+
this.update({
|
|
727
|
+
name,
|
|
728
|
+
field: 'name',
|
|
729
|
+
});
|
|
730
|
+
App.emit('collect:end');
|
|
731
|
+
};
|
|
732
|
+
//# sourceMappingURL=ProcessV2__.js.map
|