@lcap/nasl 0.3.14-beta.0 → 1.0.0-alpha
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/DEVELOPMENT.md +39 -55
- package/README.md +78 -5
- package/bak/basicTypes.ts +76 -0
- package/bak/dataTypeUtils.ts +429 -0
- package/bak/dataTypes.ts +51 -0
- package/bak/entityUtils.ts +660 -0
- package/bak/genericTypes.ts +131 -0
- package/bak/systemTypes.ts +1590 -0
- package/bak/tools.js +174 -0
- package/bak/translator.js +129 -0
- package/bak/translator_backup.js +601 -0
- package/bin/naslc +3 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +3 -0
- package/docs/assets/highlight.css +78 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/App.html +509 -0
- package/docs/classes/Argument.html +191 -0
- package/docs/classes/Assignment.html +195 -0
- package/docs/classes/Attribute.html +169 -0
- package/docs/classes/BaseNode.html +128 -0
- package/docs/classes/BinaryExpression.html +199 -0
- package/docs/classes/BindAttribute.html +209 -0
- package/docs/classes/BindDirective.html +161 -0
- package/docs/classes/BindEvent.html +173 -0
- package/docs/classes/BooleanLiteral.html +177 -0
- package/docs/classes/CallFunction.html +201 -0
- package/docs/classes/CallInterface.html +201 -0
- package/docs/classes/CallLogic.html +207 -0
- package/docs/classes/CallQueryComponent.html +301 -0
- package/docs/classes/Comment.html +175 -0
- package/docs/classes/CompletionProperty.html +165 -0
- package/docs/classes/Constant.html +161 -0
- package/docs/classes/DataElement.html +143 -0
- package/docs/classes/Destination.html +205 -0
- package/docs/classes/End.html +173 -0
- package/docs/classes/Entity.html +205 -0
- package/docs/classes/EntityIndex.html +153 -0
- package/docs/classes/EntityProperty.html +211 -0
- package/docs/classes/Enum.html +171 -0
- package/docs/classes/EnumItem.html +143 -0
- package/docs/classes/Event.html +173 -0
- package/docs/classes/ForEachStatement.html +253 -0
- package/docs/classes/Function.html +259 -0
- package/docs/classes/Identifier.html +181 -0
- package/docs/classes/IfStatement.html +229 -0
- package/docs/classes/Interface.html +211 -0
- package/docs/classes/InterfaceParam.html +171 -0
- package/docs/classes/JSBlock.html +179 -0
- package/docs/classes/Logic.html +327 -0
- package/docs/classes/LogicItem.html +175 -0
- package/docs/classes/MemberExpression.html +196 -0
- package/docs/classes/Module.html +386 -0
- package/docs/classes/Namespace.html +497 -0
- package/docs/classes/NullLiteral.html +175 -0
- package/docs/classes/NumericLiteral.html +187 -0
- package/docs/classes/Param.html +173 -0
- package/docs/classes/Point.html +131 -0
- package/docs/classes/Process.html +261 -0
- package/docs/classes/ProcessComponent.html +199 -0
- package/docs/classes/ProcessElement.html +333 -0
- package/docs/classes/ProcessOutcome.html +179 -0
- package/docs/classes/QueryAggregateExpression.html +185 -0
- package/docs/classes/QueryFieldExpression.html +185 -0
- package/docs/classes/QueryFromExpression.html +205 -0
- package/docs/classes/QueryGroupByExpression.html +187 -0
- package/docs/classes/QueryJoinExpression.html +237 -0
- package/docs/classes/QueryLimitExpression.html +199 -0
- package/docs/classes/QueryOrderByExpression.html +197 -0
- package/docs/classes/QuerySelectExpression.html +213 -0
- package/docs/classes/Rect.html +135 -0
- package/docs/classes/Return.html +169 -0
- package/docs/classes/Role.html +139 -0
- package/docs/classes/Slot.html +143 -0
- package/docs/classes/SqlQueryComponent.html +191 -0
- package/docs/classes/Start.html +173 -0
- package/docs/classes/StringLiteral.html +177 -0
- package/docs/classes/Structure.html +203 -0
- package/docs/classes/StructureProperty.html +171 -0
- package/docs/classes/SwitchCase.html +207 -0
- package/docs/classes/SwitchStatement.html +193 -0
- package/docs/classes/Theme.html +133 -0
- package/docs/classes/Transactional.html +151 -0
- package/docs/classes/TypeAnnotation.html +163 -0
- package/docs/classes/TypeParam.html +129 -0
- package/docs/classes/UnaryExpression.html +187 -0
- package/docs/classes/Unparsed.html +177 -0
- package/docs/classes/UseComponent.html +131 -0
- package/docs/classes/ValidationRule.html +201 -0
- package/docs/classes/Variable.html +167 -0
- package/docs/classes/View.html +366 -0
- package/docs/classes/ViewComponent.html +289 -0
- package/docs/classes/ViewElement.html +296 -0
- package/docs/classes/WhileStatement.html +207 -0
- package/docs/index.html +69 -313
- package/docs/modules.html +31 -377
- package/docs-theme/LICENSE +21 -0
- package/docs-theme/README.md +9 -0
- package/docs-theme/package.json +81 -0
- package/docs-theme/src/assets/common.js +2 -0
- package/docs-theme/src/assets/common.js.LICENSE.txt +61 -0
- package/docs-theme/src/assets/css/main.css +1 -0
- package/docs-theme/src/assets/images/icons.png +0 -0
- package/docs-theme/src/assets/images/icons@2x.png +0 -0
- package/docs-theme/src/config.json +25 -0
- package/docs-theme/src/index.js +45 -0
- package/docs-theme/src/layouts/default.js +88 -0
- package/docs-theme/src/partials/analytics.js +22 -0
- package/docs-theme/src/partials/breadcrumb.js +9 -0
- package/docs-theme/src/partials/footer.js +96 -0
- package/docs-theme/src/partials/header.js +25 -0
- package/docs-theme/src/partials/infrafoot.js +113 -0
- package/docs-theme/src/partials/infranav.js +187 -0
- package/docs-theme/src/partials/navigation.js +39 -0
- package/docs-theme/src/templates/index.js +7 -0
- package/docs-theme/src/templates/reflection.js +41 -0
- package/docs-theme/src/utils/lib.js +109 -0
- package/out/bak/translator.d.ts +1 -0
- package/out/bak/translator.js +117 -0
- package/out/bak/translator.js.map +1 -0
- package/out/baseService/index.d.ts +2 -0
- package/out/baseService/index.js +12 -0
- package/out/baseService/index.js.map +1 -0
- package/out/baseTypes/App__.d.ts +169 -0
- package/out/baseTypes/App__.js +344 -0
- package/out/baseTypes/App__.js.map +1 -0
- package/out/baseTypes/AssignmentExpression__.d.ts +42 -0
- package/out/baseTypes/AssignmentExpression__.js +112 -0
- package/out/baseTypes/AssignmentExpression__.js.map +1 -0
- package/out/baseTypes/Attr__.d.ts +96 -0
- package/out/baseTypes/Attr__.js +191 -0
- package/out/baseTypes/Attr__.js.map +1 -0
- package/out/baseTypes/BinaryExpression__.d.ts +40 -0
- package/out/baseTypes/BinaryExpression__.js +92 -0
- package/out/baseTypes/BinaryExpression__.js.map +1 -0
- package/out/baseTypes/BooleanLiteral__.d.ts +25 -0
- package/out/baseTypes/BooleanLiteral__.js +64 -0
- package/out/baseTypes/BooleanLiteral__.js.map +1 -0
- package/out/baseTypes/Comment__.d.ts +27 -0
- package/out/baseTypes/Comment__.js +60 -0
- package/out/baseTypes/Comment__.js.map +1 -0
- package/out/baseTypes/Directive__.d.ts +100 -0
- package/out/baseTypes/Directive__.js +198 -0
- package/out/baseTypes/Directive__.js.map +1 -0
- package/out/baseTypes/Element__.d.ts +303 -0
- package/out/baseTypes/Element__.js +555 -0
- package/out/baseTypes/Element__.js.map +1 -0
- package/out/baseTypes/End__.d.ts +24 -0
- package/out/baseTypes/End__.js +61 -0
- package/out/baseTypes/End__.js.map +1 -0
- package/out/baseTypes/EntityProperty__.d.ts +116 -0
- package/out/baseTypes/EntityProperty__.js +230 -0
- package/out/baseTypes/EntityProperty__.js.map +1 -0
- package/out/baseTypes/Entity__.d.ts +106 -0
- package/out/baseTypes/Entity__.js +222 -0
- package/out/baseTypes/Entity__.js.map +1 -0
- package/out/baseTypes/EnumItem__.d.ts +56 -0
- package/out/baseTypes/EnumItem__.js +125 -0
- package/out/baseTypes/EnumItem__.js.map +1 -0
- package/out/baseTypes/Enum__.d.ts +98 -0
- package/out/baseTypes/Enum__.js +211 -0
- package/out/baseTypes/Enum__.js.map +1 -0
- package/out/baseTypes/Event__.d.ts +93 -0
- package/out/baseTypes/Event__.js +181 -0
- package/out/baseTypes/Event__.js.map +1 -0
- package/out/baseTypes/ForEachStatement__.d.ts +89 -0
- package/out/baseTypes/ForEachStatement__.js +169 -0
- package/out/baseTypes/ForEachStatement__.js.map +1 -0
- package/out/baseTypes/Identifier__.d.ts +24 -0
- package/out/baseTypes/Identifier__.js +60 -0
- package/out/baseTypes/Identifier__.js.map +1 -0
- package/out/baseTypes/IfStatement__.d.ts +60 -0
- package/out/baseTypes/IfStatement__.js +109 -0
- package/out/baseTypes/IfStatement__.js.map +1 -0
- package/out/baseTypes/Lifecycle__.d.ts +89 -0
- package/out/baseTypes/Lifecycle__.js +175 -0
- package/out/baseTypes/Lifecycle__.js.map +1 -0
- package/out/baseTypes/LogicItem__.d.ts +103 -0
- package/out/baseTypes/LogicItem__.js +211 -0
- package/out/baseTypes/LogicItem__.js.map +1 -0
- package/out/baseTypes/Logic__.d.ts +280 -0
- package/out/baseTypes/Logic__.js +598 -0
- package/out/baseTypes/Logic__.js.map +1 -0
- package/out/baseTypes/Module__.d.ts +278 -0
- package/out/baseTypes/Module__.js +511 -0
- package/out/baseTypes/Module__.js.map +1 -0
- package/out/baseTypes/NullLiteral__.d.ts +20 -0
- package/out/baseTypes/NullLiteral__.js +53 -0
- package/out/baseTypes/NullLiteral__.js.map +1 -0
- package/out/baseTypes/Page__.d.ts +85 -0
- package/out/baseTypes/Page__.js +166 -0
- package/out/baseTypes/Page__.js.map +1 -0
- package/out/baseTypes/Param__.d.ts +88 -0
- package/out/baseTypes/Param__.js +194 -0
- package/out/baseTypes/Param__.js.map +1 -0
- package/out/baseTypes/ProcessComponent__.d.ts +67 -0
- package/out/baseTypes/ProcessComponent__.js +142 -0
- package/out/baseTypes/ProcessComponent__.js.map +1 -0
- package/out/baseTypes/Process__.d.ts +134 -0
- package/out/baseTypes/Process__.js +255 -0
- package/out/baseTypes/Process__.js.map +1 -0
- package/out/baseTypes/Return__.d.ts +88 -0
- package/out/baseTypes/Return__.js +194 -0
- package/out/baseTypes/Return__.js.map +1 -0
- package/out/baseTypes/Start__.d.ts +24 -0
- package/out/baseTypes/Start__.js +60 -0
- package/out/baseTypes/Start__.js.map +1 -0
- package/out/baseTypes/StringLiteral__.d.ts +25 -0
- package/out/baseTypes/StringLiteral__.js +73 -0
- package/out/baseTypes/StringLiteral__.js.map +1 -0
- package/out/baseTypes/StructureProperty__.d.ts +107 -0
- package/out/baseTypes/StructureProperty__.js +206 -0
- package/out/baseTypes/StructureProperty__.js.map +1 -0
- package/out/baseTypes/Structure__.d.ts +129 -0
- package/out/baseTypes/Structure__.js +296 -0
- package/out/baseTypes/Structure__.js.map +1 -0
- package/out/baseTypes/SwitchCase__.d.ts +56 -0
- package/out/baseTypes/SwitchCase__.js +105 -0
- package/out/baseTypes/SwitchCase__.js.map +1 -0
- package/out/baseTypes/SwitchStatement__.d.ts +49 -0
- package/out/baseTypes/SwitchStatement__.js +90 -0
- package/out/baseTypes/SwitchStatement__.js.map +1 -0
- package/out/baseTypes/TypeAnnotation__.d.ts +62 -0
- package/out/baseTypes/TypeAnnotation__.js +156 -0
- package/out/baseTypes/TypeAnnotation__.js.map +1 -0
- package/out/baseTypes/UnaryExpression__.d.ts +32 -0
- package/out/baseTypes/UnaryExpression__.js +76 -0
- package/out/baseTypes/UnaryExpression__.js.map +1 -0
- package/out/baseTypes/Variable__.d.ts +88 -0
- package/out/baseTypes/Variable__.js +194 -0
- package/out/baseTypes/Variable__.js.map +1 -0
- package/out/baseTypes/View__.d.ts +359 -0
- package/out/baseTypes/View__.js +644 -0
- package/out/baseTypes/View__.js.map +1 -0
- package/out/baseTypes/WhileStatement__.d.ts +56 -0
- package/out/baseTypes/WhileStatement__.js +105 -0
- package/out/baseTypes/WhileStatement__.js.map +1 -0
- package/out/baseTypes/basics/types/index.d.ts +8 -0
- package/out/baseTypes/basics/types/index.js +14 -0
- package/out/baseTypes/basics/types/index.js.map +1 -0
- package/out/baseTypes/basics/types/primitiveTypes.d.ts +2 -0
- package/out/baseTypes/basics/types/primitiveTypes.js +17 -0
- package/out/baseTypes/basics/types/primitiveTypes.js.map +1 -0
- package/out/baseTypes/basics/types/systemTypes.d.ts +2 -0
- package/out/baseTypes/basics/types/systemTypes.js +30 -0
- package/out/baseTypes/basics/types/systemTypes.js.map +1 -0
- package/out/baseTypes/index.d.ts +6 -0
- package/out/baseTypes/index.js +21 -0
- package/out/baseTypes/index.js.map +1 -0
- package/out/baseTypes/index__.d.ts +38 -0
- package/out/baseTypes/index__.js +51 -0
- package/out/baseTypes/index__.js.map +1 -0
- package/out/generator/debugInFileStorage.d.ts +3 -0
- package/out/generator/debugInFileStorage.js +15 -0
- package/out/generator/debugInFileStorage.js.map +1 -0
- package/out/generator/genAllEmbeddedTS.d.ts +7 -0
- package/out/generator/genAllEmbeddedTS.js +20 -0
- package/out/generator/genAllEmbeddedTS.js.map +1 -0
- package/out/generator/index.d.ts +2 -0
- package/out/generator/index.js +15 -0
- package/out/generator/index.js.map +1 -0
- package/out/index.d.ts +3 -0
- package/out/index.js +16 -0
- package/out/index.js.map +1 -0
- package/out/manager/diagnostic.d.ts +30 -0
- package/out/manager/diagnostic.js +82 -0
- package/out/manager/diagnostic.js.map +1 -0
- package/{analysis/mergeBlock/raw1.json → out/manager/history.d.ts} +0 -0
- package/out/manager/history.js +1 -0
- package/out/manager/history.js.map +1 -0
- package/out/manager/problem.d.ts +0 -0
- package/out/manager/problem.js +1 -0
- package/out/manager/problem.js.map +1 -0
- package/out/service/app/api.d.ts +1 -15
- package/out/service/app/api.js +1 -11
- package/out/service/app/api.js.map +1 -1
- package/out/service/create/index.js +2 -2
- package/out/service/create/index.js.map +1 -1
- package/out/service/debugger/debugger.d.ts +3 -0
- package/out/service/debugger/debugger.js +95 -0
- package/out/service/debugger/debugger.js.map +1 -0
- package/out/service/logic/index.d.ts +0 -3
- package/out/service/logic/index.js +1 -4
- package/out/service/logic/index.js.map +1 -1
- package/out/service/logic/logic.d.ts +0 -9
- package/out/service/logic/logic.js +0 -7
- package/out/service/logic/logic.js.map +1 -1
- package/out/service/page/api.d.ts +1 -1
- package/out/service/page/api.js +0 -15
- package/out/service/page/api.js.map +1 -1
- package/out/service/page/view.d.ts +1 -1
- package/out/service/page/view.js +0 -15
- package/out/service/page/view.js.map +1 -1
- package/out/src/bak/basicTypes.d.ts +25 -0
- package/out/src/bak/basicTypes.js +77 -0
- package/out/src/bak/basicTypes.js.map +1 -0
- package/out/src/bak/dataTypeUtils.d.ts +94 -0
- package/out/src/bak/dataTypeUtils.js +449 -0
- package/out/src/bak/dataTypeUtils.js.map +1 -0
- package/out/src/bak/dataTypes.d.ts +20 -0
- package/out/src/bak/dataTypes.js +47 -0
- package/out/src/bak/dataTypes.js.map +1 -0
- package/out/src/bak/entityUtils.d.ts +164 -0
- package/out/src/bak/entityUtils.js +621 -0
- package/out/src/bak/entityUtils.js.map +1 -0
- package/out/src/bak/genericTypes.d.ts +40 -0
- package/out/src/bak/genericTypes.js +134 -0
- package/out/src/bak/genericTypes.js.map +1 -0
- package/out/src/bak/systemTypes.d.ts +9 -0
- package/out/src/bak/systemTypes.js +1563 -0
- package/out/src/bak/systemTypes.js.map +1 -0
- package/out/src/baseService/index.d.ts +2 -0
- package/out/src/baseService/index.js +10 -0
- package/out/src/baseService/index.js.map +1 -0
- package/out/src/baseTypes/App__.d.ts +181 -0
- package/out/src/baseTypes/App__.js +381 -0
- package/out/src/baseTypes/App__.js.map +1 -0
- package/out/src/baseTypes/Argument__.d.ts +40 -0
- package/out/src/baseTypes/Argument__.js +147 -0
- package/out/src/baseTypes/Argument__.js.map +1 -0
- package/out/src/baseTypes/AssignmentExpression__.d.ts +45 -0
- package/out/src/baseTypes/AssignmentExpression__.js +172 -0
- package/out/src/baseTypes/AssignmentExpression__.js.map +1 -0
- package/out/src/baseTypes/Attr__.d.ts +79 -0
- package/out/src/baseTypes/Attr__.js +210 -0
- package/out/src/baseTypes/Attr__.js.map +1 -0
- package/out/src/baseTypes/BinaryExpression__.d.ts +43 -0
- package/out/src/baseTypes/BinaryExpression__.js +152 -0
- package/out/src/baseTypes/BinaryExpression__.js.map +1 -0
- package/out/src/baseTypes/BooleanLiteral__.d.ts +28 -0
- package/out/src/baseTypes/BooleanLiteral__.js +118 -0
- package/out/src/baseTypes/BooleanLiteral__.js.map +1 -0
- package/out/src/baseTypes/CallLogic__.d.ts +45 -0
- package/out/src/baseTypes/CallLogic__.js +162 -0
- package/out/src/baseTypes/CallLogic__.js.map +1 -0
- package/out/src/baseTypes/CallQueryComponent__.d.ts +83 -0
- package/out/src/baseTypes/CallQueryComponent__.js +235 -0
- package/out/src/baseTypes/CallQueryComponent__.js.map +1 -0
- package/out/src/baseTypes/Comment__.d.ts +30 -0
- package/out/src/baseTypes/Comment__.js +114 -0
- package/out/src/baseTypes/Comment__.js.map +1 -0
- package/out/src/baseTypes/Directive__.d.ts +83 -0
- package/out/src/baseTypes/Directive__.js +218 -0
- package/out/src/baseTypes/Directive__.js.map +1 -0
- package/out/src/baseTypes/Element__.d.ts +389 -0
- package/out/src/baseTypes/Element__.js +589 -0
- package/out/src/baseTypes/Element__.js.map +1 -0
- package/out/src/baseTypes/End__.d.ts +27 -0
- package/out/src/baseTypes/End__.js +115 -0
- package/out/src/baseTypes/End__.js.map +1 -0
- package/out/src/baseTypes/EntityProperty__.d.ts +99 -0
- package/out/src/baseTypes/EntityProperty__.js +254 -0
- package/out/src/baseTypes/EntityProperty__.js.map +1 -0
- package/out/src/baseTypes/Entity__.d.ts +121 -0
- package/out/src/baseTypes/Entity__.js +250 -0
- package/out/src/baseTypes/Entity__.js.map +1 -0
- package/out/src/baseTypes/EnumItem__.d.ts +131 -0
- package/out/src/baseTypes/EnumItem__.js +271 -0
- package/out/src/baseTypes/EnumItem__.js.map +1 -0
- package/out/src/baseTypes/Enum__.d.ts +114 -0
- package/out/src/baseTypes/Enum__.js +226 -0
- package/out/src/baseTypes/Enum__.js.map +1 -0
- package/out/src/baseTypes/Event__.d.ts +76 -0
- package/out/src/baseTypes/Event__.js +205 -0
- package/out/src/baseTypes/Event__.js.map +1 -0
- package/out/src/baseTypes/ForEachStatement__.d.ts +116 -0
- package/out/src/baseTypes/ForEachStatement__.js +242 -0
- package/out/src/baseTypes/ForEachStatement__.js.map +1 -0
- package/out/src/baseTypes/Identifier__.d.ts +29 -0
- package/out/src/baseTypes/Identifier__.js +121 -0
- package/out/src/baseTypes/Identifier__.js.map +1 -0
- package/out/src/baseTypes/IfStatement__.d.ts +87 -0
- package/out/src/baseTypes/IfStatement__.js +175 -0
- package/out/src/baseTypes/IfStatement__.js.map +1 -0
- package/out/src/baseTypes/Lifecycle__.d.ts +71 -0
- package/out/src/baseTypes/Lifecycle__.js +196 -0
- package/out/src/baseTypes/Lifecycle__.js.map +1 -0
- package/out/src/baseTypes/LogicItem__.d.ts +100 -0
- package/out/src/baseTypes/LogicItem__.js +265 -0
- package/out/src/baseTypes/LogicItem__.js.map +1 -0
- package/out/src/baseTypes/Logic__.d.ts +382 -0
- package/out/src/baseTypes/Logic__.js +622 -0
- package/out/src/baseTypes/Logic__.js.map +1 -0
- package/out/src/baseTypes/Module__.d.ts +521 -0
- package/out/src/baseTypes/Module__.js +728 -0
- package/out/src/baseTypes/Module__.js.map +1 -0
- package/out/src/baseTypes/NullLiteral__.d.ts +23 -0
- package/out/src/baseTypes/NullLiteral__.js +106 -0
- package/out/src/baseTypes/NullLiteral__.js.map +1 -0
- package/out/src/baseTypes/Page__.d.ts +65 -0
- package/out/src/baseTypes/Page__.js +186 -0
- package/out/src/baseTypes/Page__.js.map +1 -0
- package/out/src/baseTypes/Param__.d.ts +107 -0
- package/out/src/baseTypes/Param__.js +278 -0
- package/out/src/baseTypes/Param__.js.map +1 -0
- package/out/src/baseTypes/ProcessComponent__.d.ts +50 -0
- package/out/src/baseTypes/ProcessComponent__.js +153 -0
- package/out/src/baseTypes/ProcessComponent__.js.map +1 -0
- package/out/src/baseTypes/Process__.d.ts +285 -0
- package/out/src/baseTypes/Process__.js +450 -0
- package/out/src/baseTypes/Process__.js.map +1 -0
- package/out/src/baseTypes/QuerSelectExpression__.d.ts +39 -0
- package/out/src/baseTypes/QuerSelectExpression__.js +133 -0
- package/out/src/baseTypes/QuerSelectExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryAggregateExpression__.d.ts +35 -0
- package/out/src/baseTypes/QueryAggregateExpression__.js +126 -0
- package/out/src/baseTypes/QueryAggregateExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryFieldExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryFieldExpression__.js +131 -0
- package/out/src/baseTypes/QueryFieldExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryFromExpression__.d.ts +40 -0
- package/out/src/baseTypes/QueryFromExpression__.js +136 -0
- package/out/src/baseTypes/QueryFromExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryGroupByExpression__.d.ts +30 -0
- package/out/src/baseTypes/QueryGroupByExpression__.js +118 -0
- package/out/src/baseTypes/QueryGroupByExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryJoinExpression__.d.ts +48 -0
- package/out/src/baseTypes/QueryJoinExpression__.js +155 -0
- package/out/src/baseTypes/QueryJoinExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryLimitExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryLimitExpression__.js +137 -0
- package/out/src/baseTypes/QueryLimitExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryOrderByExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryOrderByExpression__.js +137 -0
- package/out/src/baseTypes/QueryOrderByExpression__.js.map +1 -0
- package/out/src/baseTypes/Return__.d.ts +107 -0
- package/out/src/baseTypes/Return__.js +274 -0
- package/out/src/baseTypes/Return__.js.map +1 -0
- package/out/src/baseTypes/Start__.d.ts +27 -0
- package/out/src/baseTypes/Start__.js +114 -0
- package/out/src/baseTypes/Start__.js.map +1 -0
- package/out/src/baseTypes/StringLiteral__.d.ts +28 -0
- package/out/src/baseTypes/StringLiteral__.js +127 -0
- package/out/src/baseTypes/StringLiteral__.js.map +1 -0
- package/out/src/baseTypes/StructureProperty__.d.ts +97 -0
- package/out/src/baseTypes/StructureProperty__.js +253 -0
- package/out/src/baseTypes/StructureProperty__.js.map +1 -0
- package/out/src/baseTypes/Structure__.d.ts +153 -0
- package/out/src/baseTypes/Structure__.js +329 -0
- package/out/src/baseTypes/Structure__.js.map +1 -0
- package/out/src/baseTypes/SwitchCase__.d.ts +83 -0
- package/out/src/baseTypes/SwitchCase__.js +165 -0
- package/out/src/baseTypes/SwitchCase__.js.map +1 -0
- package/out/src/baseTypes/SwitchStatement__.d.ts +76 -0
- package/out/src/baseTypes/SwitchStatement__.js +147 -0
- package/out/src/baseTypes/SwitchStatement__.js.map +1 -0
- package/out/src/baseTypes/TypeAnnotation__.d.ts +60 -0
- package/out/src/baseTypes/TypeAnnotation__.js +201 -0
- package/out/src/baseTypes/TypeAnnotation__.js.map +1 -0
- package/out/src/baseTypes/UnaryExpression__.d.ts +35 -0
- package/out/src/baseTypes/UnaryExpression__.js +133 -0
- package/out/src/baseTypes/UnaryExpression__.js.map +1 -0
- package/out/src/baseTypes/Variable__.d.ts +107 -0
- package/out/src/baseTypes/Variable__.js +278 -0
- package/out/src/baseTypes/Variable__.js.map +1 -0
- package/out/src/baseTypes/View__.d.ts +472 -0
- package/out/src/baseTypes/View__.js +692 -0
- package/out/src/baseTypes/View__.js.map +1 -0
- package/out/src/baseTypes/WhileStatement__.d.ts +83 -0
- package/out/src/baseTypes/WhileStatement__.js +165 -0
- package/out/src/baseTypes/WhileStatement__.js.map +1 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.d.ts +2 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.js +30 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.js.map +1 -0
- package/out/src/baseTypes/basics/types/coreTypes.d.ts +2 -0
- package/out/src/baseTypes/basics/types/coreTypes.js +17 -0
- package/out/src/baseTypes/basics/types/coreTypes.js.map +1 -0
- package/out/src/baseTypes/basics/types/index.d.ts +8 -0
- package/out/src/baseTypes/basics/types/index.js +14 -0
- package/out/src/baseTypes/basics/types/index.js.map +1 -0
- package/out/src/baseTypes/basics/types/stdlibModule.d.ts +7 -0
- package/out/src/baseTypes/basics/types/stdlibModule.js +48 -0
- package/out/src/baseTypes/basics/types/stdlibModule.js.map +1 -0
- package/out/src/baseTypes/index.d.ts +6 -0
- package/out/src/baseTypes/index.js +21 -0
- package/out/src/baseTypes/index.js.map +1 -0
- package/out/src/baseTypes/index__.d.ts +49 -0
- package/out/src/baseTypes/index__.js +62 -0
- package/out/src/baseTypes/index__.js.map +1 -0
- package/out/src/common/BaseNode.d.ts +231 -0
- package/out/src/common/BaseNode.js +683 -0
- package/out/src/common/BaseNode.js.map +1 -0
- package/out/src/common/Command.d.ts +8 -0
- package/out/src/common/Command.js +32 -0
- package/out/src/common/Command.js.map +1 -0
- package/out/src/common/ComponentAPI.d.ts +110 -0
- package/out/src/common/ComponentAPI.js +3 -0
- package/out/src/common/ComponentAPI.js.map +1 -0
- package/out/src/common/EventEmitter.d.ts +54 -0
- package/out/src/common/EventEmitter.js +68 -0
- package/out/src/common/EventEmitter.js.map +1 -0
- package/out/src/common/Messager.d.ts +86 -0
- package/out/src/common/Messager.js +187 -0
- package/out/src/common/Messager.js.map +1 -0
- package/out/src/common/classMap.d.ts +4 -0
- package/out/src/common/classMap.js +5 -0
- package/out/src/common/classMap.js.map +1 -0
- package/out/src/common/index.d.ts +4 -0
- package/out/src/common/index.js +21 -0
- package/out/src/common/index.js.map +1 -0
- package/out/src/concepts/App__.d.ts +1077 -0
- package/out/src/concepts/App__.js +1453 -0
- package/out/src/concepts/App__.js.map +1 -0
- package/out/src/concepts/Argument__.d.ts +56 -0
- package/out/src/concepts/Argument__.js +177 -0
- package/out/src/concepts/Argument__.js.map +1 -0
- package/out/src/concepts/Assignment__.d.ts +72 -0
- package/out/src/concepts/Assignment__.js +200 -0
- package/out/src/concepts/Assignment__.js.map +1 -0
- package/out/src/concepts/Attribute__.d.ts +101 -0
- package/out/src/concepts/Attribute__.js +221 -0
- package/out/src/concepts/Attribute__.js.map +1 -0
- package/out/src/concepts/BinaryExpression__.d.ts +66 -0
- package/out/src/concepts/BinaryExpression__.js +237 -0
- package/out/src/concepts/BinaryExpression__.js.map +1 -0
- package/out/src/concepts/BindAttribute__.d.ts +211 -0
- package/out/src/concepts/BindAttribute__.js +395 -0
- package/out/src/concepts/BindAttribute__.js.map +1 -0
- package/out/src/concepts/BindDirective__.d.ts +92 -0
- package/out/src/concepts/BindDirective__.js +221 -0
- package/out/src/concepts/BindDirective__.js.map +1 -0
- package/out/src/concepts/BindEvent__.d.ts +133 -0
- package/out/src/concepts/BindEvent__.js +258 -0
- package/out/src/concepts/BindEvent__.js.map +1 -0
- package/out/src/concepts/BooleanLiteral__.d.ts +27 -0
- package/out/src/concepts/BooleanLiteral__.js +74 -0
- package/out/src/concepts/BooleanLiteral__.js.map +1 -0
- package/out/src/concepts/CallFunction__.d.ts +100 -0
- package/out/src/concepts/CallFunction__.js +231 -0
- package/out/src/concepts/CallFunction__.js.map +1 -0
- package/out/src/concepts/CallInterface__.d.ts +100 -0
- package/out/src/concepts/CallInterface__.js +220 -0
- package/out/src/concepts/CallInterface__.js.map +1 -0
- package/out/src/concepts/CallLogic__.d.ts +116 -0
- package/out/src/concepts/CallLogic__.js +305 -0
- package/out/src/concepts/CallLogic__.js.map +1 -0
- package/out/src/concepts/CallQueryComponent__.d.ts +312 -0
- package/out/src/concepts/CallQueryComponent__.js +738 -0
- package/out/src/concepts/CallQueryComponent__.js.map +1 -0
- package/out/src/concepts/Comment__.d.ts +35 -0
- package/out/src/concepts/Comment__.js +99 -0
- package/out/src/concepts/Comment__.js.map +1 -0
- package/out/src/concepts/CompletionProperty__.d.ts +95 -0
- package/out/src/concepts/CompletionProperty__.js +231 -0
- package/out/src/concepts/CompletionProperty__.js.map +1 -0
- package/out/src/concepts/Constant__.d.ts +96 -0
- package/out/src/concepts/Constant__.js +220 -0
- package/out/src/concepts/Constant__.js.map +1 -0
- package/out/src/concepts/DataElement__.d.ts +45 -0
- package/out/src/concepts/DataElement__.js +114 -0
- package/out/src/concepts/DataElement__.js.map +1 -0
- package/out/src/concepts/Destination__.d.ts +106 -0
- package/out/src/concepts/Destination__.js +263 -0
- package/out/src/concepts/Destination__.js.map +1 -0
- package/out/src/concepts/End__.d.ts +28 -0
- package/out/src/concepts/End__.js +102 -0
- package/out/src/concepts/End__.js.map +1 -0
- package/out/src/concepts/EntityIndex__.d.ts +81 -0
- package/out/src/concepts/EntityIndex__.js +189 -0
- package/out/src/concepts/EntityIndex__.js.map +1 -0
- package/out/src/concepts/EntityProperty__.d.ts +207 -0
- package/out/src/concepts/EntityProperty__.js +472 -0
- package/out/src/concepts/EntityProperty__.js.map +1 -0
- package/out/src/concepts/Entity__.d.ts +282 -0
- package/out/src/concepts/Entity__.js +520 -0
- package/out/src/concepts/Entity__.js.map +1 -0
- package/out/src/concepts/EnumItem__.d.ts +60 -0
- package/out/src/concepts/EnumItem__.js +136 -0
- package/out/src/concepts/EnumItem__.js.map +1 -0
- package/out/src/concepts/Enum__.d.ts +130 -0
- package/out/src/concepts/Enum__.js +259 -0
- package/out/src/concepts/Enum__.js.map +1 -0
- package/out/src/concepts/Event__.d.ts +142 -0
- package/out/src/concepts/Event__.js +242 -0
- package/out/src/concepts/Event__.js.map +1 -0
- package/out/src/concepts/ForEachStatement__.d.ts +194 -0
- package/out/src/concepts/ForEachStatement__.js +410 -0
- package/out/src/concepts/ForEachStatement__.js.map +1 -0
- package/out/src/concepts/Function__.d.ts +387 -0
- package/out/src/concepts/Function__.js +557 -0
- package/out/src/concepts/Function__.js.map +1 -0
- package/out/src/concepts/Identifier__.d.ts +44 -0
- package/out/src/concepts/Identifier__.js +159 -0
- package/out/src/concepts/Identifier__.js.map +1 -0
- package/out/src/concepts/IfStatement__.d.ts +150 -0
- package/out/src/concepts/IfStatement__.js +310 -0
- package/out/src/concepts/IfStatement__.js.map +1 -0
- package/out/src/concepts/InterfaceParam__.d.ts +110 -0
- package/out/src/concepts/InterfaceParam__.js +273 -0
- package/out/src/concepts/InterfaceParam__.js.map +1 -0
- package/out/src/concepts/Interface__.d.ts +247 -0
- package/out/src/concepts/Interface__.js +441 -0
- package/out/src/concepts/Interface__.js.map +1 -0
- package/out/src/concepts/JSBlock__.d.ts +35 -0
- package/out/src/concepts/JSBlock__.js +106 -0
- package/out/src/concepts/JSBlock__.js.map +1 -0
- package/out/src/concepts/LogicItem__.d.ts +114 -0
- package/out/src/concepts/LogicItem__.js +216 -0
- package/out/src/concepts/LogicItem__.js.map +1 -0
- package/out/src/concepts/Logic__.d.ts +571 -0
- package/out/src/concepts/Logic__.js +951 -0
- package/out/src/concepts/Logic__.js.map +1 -0
- package/out/src/concepts/MemberExpression__.d.ts +69 -0
- package/out/src/concepts/MemberExpression__.js +204 -0
- package/out/src/concepts/MemberExpression__.js.map +1 -0
- package/out/src/concepts/Module__.d.ts +747 -0
- package/out/src/concepts/Module__.js +982 -0
- package/out/src/concepts/Module__.js.map +1 -0
- package/out/src/concepts/Namespace__.d.ts +1068 -0
- package/out/src/concepts/Namespace__.js +1397 -0
- package/out/src/concepts/Namespace__.js.map +1 -0
- package/out/src/concepts/NullLiteral__.d.ts +23 -0
- package/out/src/concepts/NullLiteral__.js +67 -0
- package/out/src/concepts/NullLiteral__.js.map +1 -0
- package/out/src/concepts/NumericLiteral__.d.ts +55 -0
- package/out/src/concepts/NumericLiteral__.js +164 -0
- package/out/src/concepts/NumericLiteral__.js.map +1 -0
- package/out/src/concepts/Param__.d.ts +143 -0
- package/out/src/concepts/Param__.js +327 -0
- package/out/src/concepts/Param__.js.map +1 -0
- package/out/src/concepts/Point__.d.ts +30 -0
- package/out/src/concepts/Point__.js +75 -0
- package/out/src/concepts/Point__.js.map +1 -0
- package/out/src/concepts/ProcessComponent__.d.ts +218 -0
- package/out/src/concepts/ProcessComponent__.js +333 -0
- package/out/src/concepts/ProcessComponent__.js.map +1 -0
- package/out/src/concepts/ProcessElement__.d.ts +557 -0
- package/out/src/concepts/ProcessElement__.js +889 -0
- package/out/src/concepts/ProcessElement__.js.map +1 -0
- package/out/src/concepts/ProcessOutcome__.d.ts +34 -0
- package/out/src/concepts/ProcessOutcome__.js +94 -0
- package/out/src/concepts/ProcessOutcome__.js.map +1 -0
- package/out/src/concepts/Process__.d.ts +425 -0
- package/out/src/concepts/Process__.js +736 -0
- package/out/src/concepts/Process__.js.map +1 -0
- package/out/src/concepts/QueryAggregateExpression__.d.ts +56 -0
- package/out/src/concepts/QueryAggregateExpression__.js +177 -0
- package/out/src/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/src/concepts/QueryFieldExpression__.d.ts +51 -0
- package/out/src/concepts/QueryFieldExpression__.js +129 -0
- package/out/src/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/src/concepts/QueryFromExpression__.d.ts +95 -0
- package/out/src/concepts/QueryFromExpression__.js +188 -0
- package/out/src/concepts/QueryFromExpression__.js.map +1 -0
- package/out/src/concepts/QueryGroupByExpression__.d.ts +46 -0
- package/out/src/concepts/QueryGroupByExpression__.js +126 -0
- package/out/src/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/src/concepts/QueryJoinExpression__.d.ts +182 -0
- package/out/src/concepts/QueryJoinExpression__.js +308 -0
- package/out/src/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/src/concepts/QueryLimitExpression__.d.ts +60 -0
- package/out/src/concepts/QueryLimitExpression__.js +163 -0
- package/out/src/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/src/concepts/QueryOrderByExpression__.d.ts +71 -0
- package/out/src/concepts/QueryOrderByExpression__.js +176 -0
- package/out/src/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/src/concepts/QuerySelectExpression__.d.ts +118 -0
- package/out/src/concepts/QuerySelectExpression__.js +210 -0
- package/out/src/concepts/QuerySelectExpression__.js.map +1 -0
- package/out/src/concepts/Rect__.d.ts +38 -0
- package/out/src/concepts/Rect__.js +89 -0
- package/out/src/concepts/Rect__.js.map +1 -0
- package/out/src/concepts/Return__.d.ts +129 -0
- package/out/src/concepts/Return__.js +291 -0
- package/out/src/concepts/Return__.js.map +1 -0
- package/out/src/concepts/Role__.d.ts +52 -0
- package/out/src/concepts/Role__.js +131 -0
- package/out/src/concepts/Role__.js.map +1 -0
- package/out/src/concepts/Slot__.d.ts +57 -0
- package/out/src/concepts/Slot__.js +114 -0
- package/out/src/concepts/Slot__.js.map +1 -0
- package/out/src/concepts/SqlQueryComponent__.d.ts +49 -0
- package/out/src/concepts/SqlQueryComponent__.js +125 -0
- package/out/src/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/src/concepts/Start__.d.ts +28 -0
- package/out/src/concepts/Start__.js +81 -0
- package/out/src/concepts/Start__.js.map +1 -0
- package/out/src/concepts/StringLiteral__.d.ts +37 -0
- package/out/src/concepts/StringLiteral__.js +135 -0
- package/out/src/concepts/StringLiteral__.js.map +1 -0
- package/out/src/concepts/StructureProperty__.d.ts +123 -0
- package/out/src/concepts/StructureProperty__.js +294 -0
- package/out/src/concepts/StructureProperty__.js.map +1 -0
- package/out/src/concepts/Structure__.d.ts +231 -0
- package/out/src/concepts/Structure__.js +386 -0
- package/out/src/concepts/Structure__.js.map +1 -0
- package/out/src/concepts/SwitchCase__.d.ts +97 -0
- package/out/src/concepts/SwitchCase__.js +270 -0
- package/out/src/concepts/SwitchCase__.js.map +1 -0
- package/out/src/concepts/SwitchStatement__.d.ts +86 -0
- package/out/src/concepts/SwitchStatement__.js +187 -0
- package/out/src/concepts/SwitchStatement__.js.map +1 -0
- package/out/src/concepts/Theme__.d.ts +36 -0
- package/out/src/concepts/Theme__.js +86 -0
- package/out/src/concepts/Theme__.js.map +1 -0
- package/out/src/concepts/Transactional__.d.ts +76 -0
- package/out/src/concepts/Transactional__.js +151 -0
- package/out/src/concepts/Transactional__.js.map +1 -0
- package/out/src/concepts/TypeAnnotation__.d.ts +125 -0
- package/out/src/concepts/TypeAnnotation__.js +305 -0
- package/out/src/concepts/TypeAnnotation__.js.map +1 -0
- package/out/src/concepts/TypeParam__.d.ts +20 -0
- package/out/src/concepts/TypeParam__.js +57 -0
- package/out/src/concepts/TypeParam__.js.map +1 -0
- package/out/src/concepts/UnaryExpression__.d.ts +48 -0
- package/out/src/concepts/UnaryExpression__.js +163 -0
- package/out/src/concepts/UnaryExpression__.js.map +1 -0
- package/out/src/concepts/Unparsed__.d.ts +32 -0
- package/out/src/concepts/Unparsed__.js +92 -0
- package/out/src/concepts/Unparsed__.js.map +1 -0
- package/out/src/concepts/UseComponent__.d.ts +30 -0
- package/out/src/concepts/UseComponent__.js +75 -0
- package/out/src/concepts/UseComponent__.js.map +1 -0
- package/out/src/concepts/ValidationRule__.d.ts +95 -0
- package/out/src/concepts/ValidationRule__.js +212 -0
- package/out/src/concepts/ValidationRule__.js.map +1 -0
- package/out/src/concepts/Variable__.d.ts +119 -0
- package/out/src/concepts/Variable__.js +277 -0
- package/out/src/concepts/Variable__.js.map +1 -0
- package/out/src/concepts/ViewComponent__.d.ts +472 -0
- package/out/src/concepts/ViewComponent__.js +644 -0
- package/out/src/concepts/ViewComponent__.js.map +1 -0
- package/out/src/concepts/ViewElement__.d.ts +483 -0
- package/out/src/concepts/ViewElement__.js +1167 -0
- package/out/src/concepts/ViewElement__.js.map +1 -0
- package/out/src/concepts/View__.d.ts +676 -0
- package/out/src/concepts/View__.js +1268 -0
- package/out/src/concepts/View__.js.map +1 -0
- package/out/src/concepts/WhileStatement__.d.ts +97 -0
- package/out/src/concepts/WhileStatement__.js +228 -0
- package/out/src/concepts/WhileStatement__.js.map +1 -0
- package/out/src/concepts/basics/stdlib/index.d.ts +4 -0
- package/out/src/concepts/basics/stdlib/index.js +23 -0
- package/out/src/concepts/basics/stdlib/index.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.js +54 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.core.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.core.js +15 -0
- package/out/src/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.js +43 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.process.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.process.js +43 -0
- package/out/src/concepts/basics/stdlib/nasl.process.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.js +85 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.util.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.util.js +587 -0
- package/out/src/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.js +527 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.js.map +1 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +26 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/src/concepts/basics/types/coreTypeList.d.ts +2 -0
- package/out/src/concepts/basics/types/coreTypeList.js +17 -0
- package/out/src/concepts/basics/types/coreTypeList.js.map +1 -0
- package/out/src/concepts/basics/types/index.d.ts +11 -0
- package/out/src/concepts/basics/types/index.js +20 -0
- package/out/src/concepts/basics/types/index.js.map +1 -0
- package/out/src/concepts/index.d.ts +5 -0
- package/out/src/concepts/index.js +24 -0
- package/out/src/concepts/index.js.map +1 -0
- package/out/src/concepts/index__.d.ts +77 -0
- package/out/src/concepts/index__.js +94 -0
- package/out/src/concepts/index__.js.map +1 -0
- package/out/src/config.d.ts +43 -0
- package/out/src/config.js +72 -0
- package/out/src/config.js.map +1 -0
- package/out/src/decorators/index.d.ts +54 -0
- package/out/src/decorators/index.js +146 -0
- package/out/src/decorators/index.js.map +1 -0
- package/out/src/generator/compileComponent.d.ts +11 -0
- package/out/src/generator/compileComponent.js +12 -0
- package/out/src/generator/compileComponent.js.map +1 -0
- package/out/src/generator/debugInFileStorage.d.ts +3 -0
- package/out/src/generator/debugInFileStorage.js +15 -0
- package/out/src/generator/debugInFileStorage.js.map +1 -0
- package/out/src/generator/genAllEmbeddedTS.d.ts +7 -0
- package/out/src/generator/genAllEmbeddedTS.js +20 -0
- package/out/src/generator/genAllEmbeddedTS.js.map +1 -0
- package/out/src/generator/genBundleFiles.d.ts +38 -0
- package/out/src/generator/genBundleFiles.js +219 -0
- package/out/src/generator/genBundleFiles.js.map +1 -0
- package/out/src/generator/genHash.d.ts +7 -0
- package/out/src/generator/genHash.js +39 -0
- package/out/src/generator/genHash.js.map +1 -0
- package/out/src/generator/index.d.ts +4 -0
- package/out/src/generator/index.js +21 -0
- package/out/src/generator/index.js.map +1 -0
- package/out/src/generator/styleReplacer.d.ts +3 -0
- package/out/src/generator/styleReplacer.js +71 -0
- package/out/src/generator/styleReplacer.js.map +1 -0
- package/out/src/index.d.ts +9 -0
- package/out/src/index.js +48 -0
- package/out/src/index.js.map +1 -0
- package/out/src/init.d.ts +1 -0
- package/out/src/init.js +140 -0
- package/out/src/init.js.map +1 -0
- package/out/src/manager/diagnostic.d.ts +38 -0
- package/out/src/manager/diagnostic.js +84 -0
- package/out/src/manager/diagnostic.js.map +1 -0
- package/out/src/manager/history.d.ts +0 -0
- package/out/src/manager/history.js +1 -0
- package/out/src/manager/history.js.map +1 -0
- package/out/src/manager/problem.d.ts +0 -0
- package/out/src/manager/problem.js +1 -0
- package/out/src/manager/problem.js.map +1 -0
- package/out/src/map.d.ts +4 -0
- package/out/src/map.js +62 -0
- package/out/src/map.js.map +1 -0
- package/out/src/naslServer/index.d.ts +55 -0
- package/out/src/naslServer/index.js +296 -0
- package/out/src/naslServer/index.js.map +1 -0
- package/out/src/naslServer/translator.d.ts +3 -0
- package/out/src/naslServer/translator.js +78 -0
- package/out/src/naslServer/translator.js.map +1 -0
- package/out/src/server/entity2LogicNamespace.d.ts +2 -0
- package/out/src/server/entity2LogicNamespace.js +192 -0
- package/out/src/server/entity2LogicNamespace.js.map +1 -0
- package/out/src/server/getFunctions.d.ts +2 -0
- package/out/src/server/getFunctions.js +14 -0
- package/out/src/server/getFunctions.js.map +1 -0
- package/out/src/server/getInterfaces.d.ts +2 -0
- package/out/src/server/getInterfaces.js +48 -0
- package/out/src/server/getInterfaces.js.map +1 -0
- package/out/src/server/getLogics.d.ts +2 -0
- package/out/src/server/getLogics.js +83 -0
- package/out/src/server/getLogics.js.map +1 -0
- package/out/src/server/getMemberIdentifier.d.ts +5 -0
- package/out/src/server/getMemberIdentifier.js +102 -0
- package/out/src/server/getMemberIdentifier.js.map +1 -0
- package/out/src/server/getProcessComponents.d.ts +2 -0
- package/out/src/server/getProcessComponents.js +13 -0
- package/out/src/server/getProcessComponents.js.map +1 -0
- package/out/src/server/getProcesses.d.ts +19 -0
- package/out/src/server/getProcesses.js +106 -0
- package/out/src/server/getProcesses.js.map +1 -0
- package/out/src/server/getValidates.d.ts +3 -0
- package/out/src/server/getValidates.js +14 -0
- package/out/src/server/getValidates.js.map +1 -0
- package/out/src/server/index.d.ts +2 -0
- package/out/src/server/index.js +26 -0
- package/out/src/server/index.js.map +1 -0
- package/out/src/server/naslServer.d.ts +139 -0
- package/out/src/server/naslServer.js +1120 -0
- package/out/src/server/naslServer.js.map +1 -0
- package/out/src/server/process2LogicNamespace.d.ts +2 -0
- package/out/src/server/process2LogicNamespace.js +24 -0
- package/out/src/server/process2LogicNamespace.js.map +1 -0
- package/out/src/server/translator.d.ts +5 -0
- package/out/src/server/translator.js +150 -0
- package/out/src/server/translator.js.map +1 -0
- package/out/src/service/app/api.d.ts +61 -0
- package/out/src/service/app/api.js +77 -0
- package/out/src/service/app/api.js.map +1 -0
- package/out/src/service/app/index.d.ts +2 -0
- package/out/src/service/app/index.js +10 -0
- package/out/src/service/app/index.js.map +1 -0
- package/out/src/service/assets/asset.d.ts +104 -0
- package/out/src/service/assets/asset.js +78 -0
- package/out/src/service/assets/asset.js.map +1 -0
- package/out/src/service/assets/block.d.ts +9 -0
- package/out/src/service/assets/block.js +11 -0
- package/out/src/service/assets/block.js.map +1 -0
- package/out/src/service/assets/index.d.ts +2 -0
- package/out/src/service/assets/index.js +12 -0
- package/out/src/service/assets/index.js.map +1 -0
- package/out/src/service/common/findUsage.d.ts +9 -0
- package/out/src/service/common/findUsage.js +11 -0
- package/out/src/service/common/findUsage.js.map +1 -0
- package/out/src/service/common/index.d.ts +2 -0
- package/out/src/service/common/index.js +12 -0
- package/out/src/service/common/index.js.map +1 -0
- package/out/src/service/common/preprocess.d.ts +14 -0
- package/out/src/service/common/preprocess.js +75 -0
- package/out/src/service/common/preprocess.js.map +1 -0
- package/out/src/service/common/schema.d.ts +9 -0
- package/out/src/service/common/schema.js +12 -0
- package/out/src/service/common/schema.js.map +1 -0
- package/out/src/service/create/add.configs.d.ts +1 -0
- package/out/src/service/create/add.configs.js +68 -0
- package/out/src/service/create/add.configs.js.map +1 -0
- package/out/src/service/create/errHandles.d.ts +18 -0
- package/out/src/service/create/errHandles.js +57 -0
- package/out/src/service/create/errHandles.js.map +1 -0
- package/out/src/service/create/index.d.ts +1 -0
- package/out/src/service/create/index.js +77 -0
- package/out/src/service/create/index.js.map +1 -0
- package/out/src/service/data/api.d.ts +36 -0
- package/out/src/service/data/api.js +36 -0
- package/out/src/service/data/api.js.map +1 -0
- package/out/src/service/data/entity.d.ts +135 -0
- package/out/src/service/data/entity.js +103 -0
- package/out/src/service/data/entity.js.map +1 -0
- package/out/src/service/data/enum.d.ts +63 -0
- package/out/src/service/data/enum.js +55 -0
- package/out/src/service/data/enum.js.map +1 -0
- package/out/src/service/data/enumProperty.d.ts +28 -0
- package/out/src/service/data/enumProperty.js +23 -0
- package/out/src/service/data/enumProperty.js.map +1 -0
- package/out/src/service/data/generic.d.ts +9 -0
- package/out/src/service/data/generic.js +11 -0
- package/out/src/service/data/generic.js.map +1 -0
- package/out/src/service/data/index.d.ts +8 -0
- package/out/src/service/data/index.js +23 -0
- package/out/src/service/data/index.js.map +1 -0
- package/out/src/service/data/interface.d.ts +67 -0
- package/out/src/service/data/interface.js +58 -0
- package/out/src/service/data/interface.js.map +1 -0
- package/out/src/service/data/structure.d.ts +92 -0
- package/out/src/service/data/structure.js +77 -0
- package/out/src/service/data/structure.js.map +1 -0
- package/out/src/service/logic/index.d.ts +2 -0
- package/out/src/service/logic/index.js +14 -0
- package/out/src/service/logic/index.js.map +1 -0
- package/out/src/service/logic/logic.d.ts +157 -0
- package/out/src/service/logic/logic.js +116 -0
- package/out/src/service/logic/logic.js.map +1 -0
- package/out/src/service/logic/param.d.ts +37 -0
- package/out/src/service/logic/param.js +29 -0
- package/out/src/service/logic/param.js.map +1 -0
- package/out/src/service/nuims/api.d.ts +264 -0
- package/out/src/service/nuims/api.js +194 -0
- package/out/src/service/nuims/api.js.map +1 -0
- package/out/src/service/nuims/index.d.ts +2 -0
- package/out/src/service/nuims/index.js +17 -0
- package/out/src/service/nuims/index.js.map +1 -0
- package/out/src/service/page/api.d.ts +186 -0
- package/out/src/service/page/api.js +1361 -0
- package/out/src/service/page/api.js.map +1 -0
- package/out/src/service/page/attribute.d.ts +28 -0
- package/out/src/service/page/attribute.js +23 -0
- package/out/src/service/page/attribute.js.map +1 -0
- package/out/src/service/page/directive.d.ts +28 -0
- package/out/src/service/page/directive.js +23 -0
- package/out/src/service/page/directive.js.map +1 -0
- package/out/src/service/page/element.d.ts +45 -0
- package/out/src/service/page/element.js +42 -0
- package/out/src/service/page/element.js.map +1 -0
- package/out/src/service/page/event.d.ts +28 -0
- package/out/src/service/page/event.js +23 -0
- package/out/src/service/page/event.js.map +1 -0
- package/out/src/service/page/index.d.ts +8 -0
- package/out/src/service/page/index.js +23 -0
- package/out/src/service/page/index.js.map +1 -0
- package/out/src/service/page/lifecycle.d.ts +28 -0
- package/out/src/service/page/lifecycle.js +23 -0
- package/out/src/service/page/lifecycle.js.map +1 -0
- package/out/src/service/page/templates.d.ts +14 -0
- package/out/src/service/page/templates.js +70 -0
- package/out/src/service/page/templates.js.map +1 -0
- package/out/src/service/page/view.d.ts +130 -0
- package/out/src/service/page/view.js +101 -0
- package/out/src/service/page/view.js.map +1 -0
- package/out/src/service/permission/api.d.ts +57 -0
- package/out/src/service/permission/api.js +41 -0
- package/out/src/service/permission/api.js.map +1 -0
- package/out/src/service/permission/index.d.ts +2 -0
- package/out/src/service/permission/index.js +17 -0
- package/out/src/service/permission/index.js.map +1 -0
- package/out/src/service/process/api.d.ts +136 -0
- package/out/src/service/process/api.js +95 -0
- package/out/src/service/process/api.js.map +1 -0
- package/out/src/service/process/index.d.ts +2 -0
- package/out/src/service/process/index.js +10 -0
- package/out/src/service/process/index.js.map +1 -0
- package/out/src/service/storage/index.d.ts +2 -0
- package/out/src/service/storage/index.js +10 -0
- package/out/src/service/storage/index.js.map +1 -0
- package/out/src/service/storage/init.d.ts +7 -0
- package/out/src/service/storage/init.js +187 -0
- package/out/src/service/storage/init.js.map +1 -0
- package/out/src/service/storage/jsoner.d.ts +29 -0
- package/out/src/service/storage/jsoner.js +130 -0
- package/out/src/service/storage/jsoner.js.map +1 -0
- package/out/src/service/storage/map.d.ts +4 -0
- package/out/src/service/storage/map.js +54 -0
- package/out/src/service/storage/map.js.map +1 -0
- package/out/src/service/storage/storagePoint.d.ts +30 -0
- package/out/src/service/storage/storagePoint.js +76 -0
- package/out/src/service/storage/storagePoint.js.map +1 -0
- package/out/src/service/undoredo/api.d.ts +36 -0
- package/out/src/service/undoredo/api.js +29 -0
- package/out/src/service/undoredo/api.js.map +1 -0
- package/out/src/service/undoredo/index.d.ts +2 -0
- package/out/src/service/undoredo/index.js +10 -0
- package/out/src/service/undoredo/index.js.map +1 -0
- package/out/src/service/webFile/api.d.ts +45 -0
- package/out/src/service/webFile/api.js +35 -0
- package/out/src/service/webFile/api.js.map +1 -0
- package/out/src/service/webFile/index.d.ts +3 -0
- package/out/src/service/webFile/index.js +32 -0
- package/out/src/service/webFile/index.js.map +1 -0
- package/out/src/service/webFile/loadCache.d.ts +18 -0
- package/out/src/service/webFile/loadCache.js +17 -0
- package/out/src/service/webFile/loadCache.js.map +1 -0
- package/out/src/storagePoint.d.ts +16 -0
- package/out/src/storagePoint.js +49 -0
- package/out/src/storagePoint.js.map +1 -0
- package/out/src/templator/genCallComponentLogic.d.ts +17 -0
- package/out/src/templator/genCallComponentLogic.js +30 -0
- package/out/src/templator/genCallComponentLogic.js.map +1 -0
- package/out/src/templator/genCallInterface.d.ts +12 -0
- package/out/src/templator/genCallInterface.js +20 -0
- package/out/src/templator/genCallInterface.js.map +1 -0
- package/out/src/templator/genCallLogic.d.ts +12 -0
- package/out/src/templator/genCallLogic.js +26 -0
- package/out/src/templator/genCallLogic.js.map +1 -0
- package/out/src/templator/genCreateBlock.d.ts +10 -0
- package/out/src/templator/genCreateBlock.js +304 -0
- package/out/src/templator/genCreateBlock.js.map +1 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +2 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.js +453 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/src/templator/genCurdMultipleKeyBlock.d.ts +3 -0
- package/out/src/templator/genCurdMultipleKeyBlock.js +640 -0
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/src/templator/genEditTableBlock.d.ts +51 -0
- package/out/src/templator/genEditTableBlock.js +301 -0
- package/out/src/templator/genEditTableBlock.js.map +1 -0
- package/out/src/templator/genEnumSelectBlock.d.ts +10 -0
- package/out/src/templator/genEnumSelectBlock.js +23 -0
- package/out/src/templator/genEnumSelectBlock.js.map +1 -0
- package/out/src/templator/genGetBlock.d.ts +6 -0
- package/out/src/templator/genGetBlock.js +133 -0
- package/out/src/templator/genGetBlock.js.map +1 -0
- package/out/src/templator/genGridViewBlock.d.ts +53 -0
- package/out/src/templator/genGridViewBlock.js +308 -0
- package/out/src/templator/genGridViewBlock.js.map +1 -0
- package/out/src/templator/genListViewBlock.d.ts +19 -0
- package/out/src/templator/genListViewBlock.js +137 -0
- package/out/src/templator/genListViewBlock.js.map +1 -0
- package/out/src/templator/genQueryComponent.d.ts +32 -0
- package/out/src/templator/genQueryComponent.js +307 -0
- package/out/src/templator/genQueryComponent.js.map +1 -0
- package/out/src/templator/genSelectBlock.d.ts +34 -0
- package/out/src/templator/genSelectBlock.js +142 -0
- package/out/src/templator/genSelectBlock.js.map +1 -0
- package/out/src/templator/genTableBlock.d.ts +53 -0
- package/out/src/templator/genTableBlock.js +295 -0
- package/out/src/templator/genTableBlock.js.map +1 -0
- package/out/src/templator/genUpdateBlock.d.ts +6 -0
- package/out/src/templator/genUpdateBlock.js +347 -0
- package/out/src/templator/genUpdateBlock.js.map +1 -0
- package/out/src/templator/index.d.ts +15 -0
- package/out/src/templator/index.js +33 -0
- package/out/src/templator/index.js.map +1 -0
- package/out/src/templator/utils.d.ts +634 -0
- package/out/src/templator/utils.js +412 -0
- package/out/src/templator/utils.js.map +1 -0
- package/out/src/terms/LEVEL_NAME_MAP.d.ts +26 -0
- package/out/src/terms/LEVEL_NAME_MAP.js +30 -0
- package/out/src/terms/LEVEL_NAME_MAP.js.map +1 -0
- package/out/src/test/fixtures/env.d.ts +5 -0
- package/out/src/test/fixtures/env.js +21 -0
- package/out/src/test/fixtures/env.js.map +1 -0
- package/out/src/test/integration/connect-file.d.ts +1 -0
- package/out/src/test/integration/connect-file.js +49 -0
- package/out/src/test/integration/connect-file.js.map +1 -0
- package/out/src/test/units/app/App.spec.d.ts +1 -0
- package/out/src/test/units/app/App.spec.js +17 -0
- package/out/src/test/units/app/App.spec.js.map +1 -0
- package/out/src/test/units/app/Service.spec.d.ts +1 -0
- package/out/src/test/units/app/Service.spec.js +24 -0
- package/out/src/test/units/app/Service.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/Assignment.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/Assignment.spec.js +43 -0
- package/out/src/test/units/baseTypes/Assignment.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js +39 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.js +44 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.js +75 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/new.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/new.spec.js +37 -0
- package/out/src/test/units/baseTypes/new.spec.js.map +1 -0
- package/out/src/test/units/common/Vertex.spec.d.ts +1 -0
- package/out/src/test/units/common/Vertex.spec.js +22 -0
- package/out/src/test/units/common/Vertex.spec.js.map +1 -0
- package/out/src/test/units/data/Entity.spec.d.ts +1 -0
- package/out/src/test/units/data/Entity.spec.js +12 -0
- package/out/src/test/units/data/Entity.spec.js.map +1 -0
- package/out/src/test/units/login.spec.d.ts +1 -0
- package/out/src/test/units/login.spec.js +12 -0
- package/out/src/test/units/login.spec.js.map +1 -0
- package/out/src/test/units/page/Block.spec.d.ts +0 -0
- package/out/src/test/units/page/Block.spec.js +13 -0
- package/out/src/test/units/page/Block.spec.js.map +1 -0
- package/out/src/test/units/page/Element.spec.d.ts +1 -0
- package/out/src/test/units/page/Element.spec.js +44 -0
- package/out/src/test/units/page/Element.spec.js.map +1 -0
- package/out/src/test/units/temp/temp.spec.d.ts +1 -0
- package/out/src/test/units/temp/temp.spec.js +68 -0
- package/out/src/test/units/temp/temp.spec.js.map +1 -0
- package/out/src/translator/index.d.ts +47 -0
- package/out/src/translator/index.js +108 -0
- package/out/src/translator/index.js.map +1 -0
- package/out/src/translator/lsp.d.ts +45 -0
- package/out/src/translator/lsp.js +6 -0
- package/out/src/translator/lsp.js.map +1 -0
- package/out/src/translator/tsp.d.ts +12 -0
- package/out/src/translator/tsp.js +3 -0
- package/out/src/translator/tsp.js.map +1 -0
- package/out/src/types/app/App.d.ts +148 -0
- package/out/src/types/app/App.js +358 -0
- package/out/src/types/app/App.js.map +1 -0
- package/out/src/types/app/History.d.ts +36 -0
- package/out/src/types/app/History.js +366 -0
- package/out/src/types/app/History.js.map +1 -0
- package/out/src/types/app/Service.d.ts +220 -0
- package/out/src/types/app/Service.js +831 -0
- package/out/src/types/app/Service.js.map +1 -0
- package/out/src/types/cache.d.ts +6 -0
- package/out/src/types/cache.js +54 -0
- package/out/src/types/cache.js.map +1 -0
- package/out/src/types/cacheData.d.ts +4 -0
- package/out/src/types/cacheData.js +34 -0
- package/out/src/types/cacheData.js.map +1 -0
- package/out/src/types/classMap.d.ts +4 -0
- package/out/src/types/classMap.js +5 -0
- package/out/src/types/classMap.js.map +1 -0
- package/out/src/types/common/ComponentAPI.d.ts +110 -0
- package/out/src/types/common/ComponentAPI.js +3 -0
- package/out/src/types/common/ComponentAPI.js.map +1 -0
- package/out/src/types/common/EventEmitter.d.ts +37 -0
- package/out/src/types/common/EventEmitter.js +70 -0
- package/out/src/types/common/EventEmitter.js.map +1 -0
- package/out/src/types/common/PackageJSON.d.ts +32 -0
- package/out/src/types/common/PackageJSON.js +3 -0
- package/out/src/types/common/PackageJSON.js.map +1 -0
- package/out/src/types/common/Vertex.d.ts +205 -0
- package/out/src/types/common/Vertex.js +591 -0
- package/out/src/types/common/Vertex.js.map +1 -0
- package/out/src/types/config.d.ts +32 -0
- package/out/src/types/config.js +30 -0
- package/out/src/types/config.js.map +1 -0
- package/out/src/types/data/DataNode.d.ts +24 -0
- package/out/src/types/data/DataNode.js +52 -0
- package/out/src/types/data/DataNode.js.map +1 -0
- package/out/src/types/data/Entity.d.ts +124 -0
- package/out/src/types/data/Entity.js +537 -0
- package/out/src/types/data/Entity.js.map +1 -0
- package/out/src/types/data/EntityIndex.d.ts +87 -0
- package/out/src/types/data/EntityIndex.js +262 -0
- package/out/src/types/data/EntityIndex.js.map +1 -0
- package/out/src/types/data/EntityProperty.d.ts +196 -0
- package/out/src/types/data/EntityProperty.js +584 -0
- package/out/src/types/data/EntityProperty.js.map +1 -0
- package/out/src/types/data/Enum.d.ts +97 -0
- package/out/src/types/data/Enum.js +267 -0
- package/out/src/types/data/Enum.js.map +1 -0
- package/out/src/types/data/EnumItem.d.ts +57 -0
- package/out/src/types/data/EnumItem.js +170 -0
- package/out/src/types/data/EnumItem.js.map +1 -0
- package/out/src/types/data/GlobalLogicNode.d.ts +44 -0
- package/out/src/types/data/GlobalLogicNode.js +201 -0
- package/out/src/types/data/GlobalLogicNode.js.map +1 -0
- package/out/src/types/data/Interface.d.ts +153 -0
- package/out/src/types/data/Interface.js +482 -0
- package/out/src/types/data/Interface.js.map +1 -0
- package/out/src/types/data/Schema.d.ts +121 -0
- package/out/src/types/data/Schema.js +3 -0
- package/out/src/types/data/Schema.js.map +1 -0
- package/out/src/types/data/Structure.d.ts +104 -0
- package/out/src/types/data/Structure.js +319 -0
- package/out/src/types/data/Structure.js.map +1 -0
- package/out/src/types/data/StructureProperty.d.ts +134 -0
- package/out/src/types/data/StructureProperty.js +380 -0
- package/out/src/types/data/StructureProperty.js.map +1 -0
- package/out/src/types/data/basicTypes.d.ts +25 -0
- package/out/src/types/data/basicTypes.js +77 -0
- package/out/src/types/data/basicTypes.js.map +1 -0
- package/out/src/types/data/dataTypeUtils.d.ts +94 -0
- package/out/src/types/data/dataTypeUtils.js +441 -0
- package/out/src/types/data/dataTypeUtils.js.map +1 -0
- package/out/src/types/data/dataTypes.d.ts +20 -0
- package/out/src/types/data/dataTypes.js +47 -0
- package/out/src/types/data/dataTypes.js.map +1 -0
- package/out/src/types/data/entityUtils.d.ts +164 -0
- package/out/src/types/data/entityUtils.js +632 -0
- package/out/src/types/data/entityUtils.js.map +1 -0
- package/out/src/types/data/genBlock/builtInFunctions.json +545 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.d.ts +20 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.js +32 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.js.map +1 -0
- package/out/src/types/data/genBlock/genCallInterface.d.ts +41 -0
- package/out/src/types/data/genBlock/genCallInterface.js +86 -0
- package/out/src/types/data/genBlock/genCallInterface.js.map +1 -0
- package/out/src/types/data/genBlock/genCreateBlock.d.ts +10 -0
- package/out/src/types/data/genBlock/genCreateBlock.js +313 -0
- package/out/src/types/data/genBlock/genCreateBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genCurdBlock.d.ts +4 -0
- package/out/src/types/data/genBlock/genCurdBlock.js +648 -0
- package/out/src/types/data/genBlock/genCurdBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.d.ts +3 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js +578 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genEditTableBlock.d.ts +234 -0
- package/out/src/types/data/genBlock/genEditTableBlock.js +419 -0
- package/out/src/types/data/genBlock/genEditTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.d.ts +10 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.js +23 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genGetBlock.d.ts +6 -0
- package/out/src/types/data/genBlock/genGetBlock.js +151 -0
- package/out/src/types/data/genBlock/genGetBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genGridViewBlock.d.ts +136 -0
- package/out/src/types/data/genBlock/genGridViewBlock.js +274 -0
- package/out/src/types/data/genBlock/genGridViewBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genListViewBlock.d.ts +63 -0
- package/out/src/types/data/genBlock/genListViewBlock.js +110 -0
- package/out/src/types/data/genBlock/genListViewBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genQueryComponent.d.ts +336 -0
- package/out/src/types/data/genBlock/genQueryComponent.js +526 -0
- package/out/src/types/data/genBlock/genQueryComponent.js.map +1 -0
- package/out/src/types/data/genBlock/genSelectBlock.d.ts +63 -0
- package/out/src/types/data/genBlock/genSelectBlock.js +106 -0
- package/out/src/types/data/genBlock/genSelectBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genTableBlock.d.ts +136 -0
- package/out/src/types/data/genBlock/genTableBlock.js +270 -0
- package/out/src/types/data/genBlock/genTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genUpdateBlock.d.ts +6 -0
- package/out/src/types/data/genBlock/genUpdateBlock.js +384 -0
- package/out/src/types/data/genBlock/genUpdateBlock.js.map +1 -0
- package/out/src/types/data/genBlock/index.d.ts +17 -0
- package/out/src/types/data/genBlock/index.js +31 -0
- package/out/src/types/data/genBlock/index.js.map +1 -0
- package/out/src/types/data/genBlock/utils.d.ts +99 -0
- package/out/src/types/data/genBlock/utils.js +224 -0
- package/out/src/types/data/genBlock/utils.js.map +1 -0
- package/out/src/types/data/genericTypes.d.ts +40 -0
- package/out/src/types/data/genericTypes.js +145 -0
- package/out/src/types/data/genericTypes.js.map +1 -0
- package/out/src/types/data/systemTypes.d.ts +9 -0
- package/out/src/types/data/systemTypes.js +1563 -0
- package/out/src/types/data/systemTypes.js.map +1 -0
- package/out/src/types/decorators/index.d.ts +31 -0
- package/out/src/types/decorators/index.js +121 -0
- package/out/src/types/decorators/index.js.map +1 -0
- package/out/src/types/enum.d.ts +6 -0
- package/out/src/types/enum.js +11 -0
- package/out/src/types/enum.js.map +1 -0
- package/out/src/types/index.d.ts +145 -0
- package/out/src/types/index.js +226 -0
- package/out/src/types/index.js.map +1 -0
- package/out/src/types/logic/BaseVariable.d.ts +75 -0
- package/out/src/types/logic/BaseVariable.js +159 -0
- package/out/src/types/logic/BaseVariable.js.map +1 -0
- package/out/src/types/logic/Logic.d.ts +180 -0
- package/out/src/types/logic/Logic.js +591 -0
- package/out/src/types/logic/Logic.js.map +1 -0
- package/out/src/types/logic/LogicItem.d.ts +320 -0
- package/out/src/types/logic/LogicItem.js +1295 -0
- package/out/src/types/logic/LogicItem.js.map +1 -0
- package/out/src/types/logic/Param.d.ts +86 -0
- package/out/src/types/logic/Param.js +367 -0
- package/out/src/types/logic/Param.js.map +1 -0
- package/out/src/types/logic/Return.d.ts +73 -0
- package/out/src/types/logic/Return.js +313 -0
- package/out/src/types/logic/Return.js.map +1 -0
- package/out/src/types/logic/Variable.d.ts +72 -0
- package/out/src/types/logic/Variable.js +309 -0
- package/out/src/types/logic/Variable.js.map +1 -0
- package/out/src/types/logic/expressions/MemberExpression.d.ts +23 -0
- package/out/src/types/logic/expressions/MemberExpression.js +52 -0
- package/out/src/types/logic/expressions/MemberExpression.js.map +1 -0
- package/out/src/types/logic/expressions/NumericLiteral.d.ts +19 -0
- package/out/src/types/logic/expressions/NumericLiteral.js +42 -0
- package/out/src/types/logic/expressions/NumericLiteral.js.map +1 -0
- package/out/src/types/logic/expressions/Unparsed.d.ts +19 -0
- package/out/src/types/logic/expressions/Unparsed.js +42 -0
- package/out/src/types/logic/expressions/Unparsed.js.map +1 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.d.ts +27 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.js +56 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.js.map +1 -0
- package/out/src/types/logic/nodes/BuiltInFunction.d.ts +24 -0
- package/out/src/types/logic/nodes/BuiltInFunction.js +55 -0
- package/out/src/types/logic/nodes/BuiltInFunction.js.map +1 -0
- package/out/src/types/logic/nodes/CallConsoleLog.d.ts +19 -0
- package/out/src/types/logic/nodes/CallConsoleLog.js +42 -0
- package/out/src/types/logic/nodes/CallConsoleLog.js.map +1 -0
- package/out/src/types/logic/nodes/CallInterParam.d.ts +23 -0
- package/out/src/types/logic/nodes/CallInterParam.js +49 -0
- package/out/src/types/logic/nodes/CallInterParam.js.map +1 -0
- package/out/src/types/logic/nodes/CallInterface.d.ts +24 -0
- package/out/src/types/logic/nodes/CallInterface.js +49 -0
- package/out/src/types/logic/nodes/CallInterface.js.map +1 -0
- package/out/src/types/logic/nodes/CallLogic.d.ts +24 -0
- package/out/src/types/logic/nodes/CallLogic.js +55 -0
- package/out/src/types/logic/nodes/CallLogic.js.map +1 -0
- package/out/src/types/logic/nodes/CallMessageShow.d.ts +27 -0
- package/out/src/types/logic/nodes/CallMessageShow.js +56 -0
- package/out/src/types/logic/nodes/CallMessageShow.js.map +1 -0
- package/out/src/types/logic/nodes/Destination.d.ts +32 -0
- package/out/src/types/logic/nodes/Destination.js +73 -0
- package/out/src/types/logic/nodes/Destination.js.map +1 -0
- package/out/src/types/logic/nodes/DestinationParam.d.ts +24 -0
- package/out/src/types/logic/nodes/DestinationParam.js +49 -0
- package/out/src/types/logic/nodes/DestinationParam.js.map +1 -0
- package/out/src/types/logic/nodes/JSBlock.d.ts +19 -0
- package/out/src/types/logic/nodes/JSBlock.js +46 -0
- package/out/src/types/logic/nodes/JSBlock.js.map +1 -0
- package/out/src/types/logic/nodes/JSONDeserialize.d.ts +19 -0
- package/out/src/types/logic/nodes/JSONDeserialize.js +42 -0
- package/out/src/types/logic/nodes/JSONDeserialize.js.map +1 -0
- package/out/src/types/logic/nodes/JSONSerialize.d.ts +19 -0
- package/out/src/types/logic/nodes/JSONSerialize.js +42 -0
- package/out/src/types/logic/nodes/JSONSerialize.js.map +1 -0
- package/out/src/types/logic/nodes/ProcessOutcome.d.ts +27 -0
- package/out/src/types/logic/nodes/ProcessOutcome.js +56 -0
- package/out/src/types/logic/nodes/ProcessOutcome.js.map +1 -0
- package/out/src/types/logic/tools.d.ts +15 -0
- package/out/src/types/logic/tools.js +164 -0
- package/out/src/types/logic/tools.js.map +1 -0
- package/out/src/types/logic/translator.d.ts +1 -0
- package/out/src/types/logic/translator.js +624 -0
- package/out/src/types/logic/translator.js.map +1 -0
- package/out/src/types/login.d.ts +7 -0
- package/out/src/types/login.js +39 -0
- package/out/src/types/login.js.map +1 -0
- package/out/src/types/nuims/Nuims.d.ts +128 -0
- package/out/src/types/nuims/Nuims.js +446 -0
- package/out/src/types/nuims/Nuims.js.map +1 -0
- package/out/src/types/page/Attr.d.ts +79 -0
- package/out/src/types/page/Attr.js +217 -0
- package/out/src/types/page/Attr.js.map +1 -0
- package/out/src/types/page/Block.d.ts +65 -0
- package/out/src/types/page/Block.js +82 -0
- package/out/src/types/page/Block.js.map +1 -0
- package/out/src/types/page/Directive.d.ts +78 -0
- package/out/src/types/page/Directive.js +202 -0
- package/out/src/types/page/Directive.js.map +1 -0
- package/out/src/types/page/Element.d.ts +266 -0
- package/out/src/types/page/Element.js +1418 -0
- package/out/src/types/page/Element.js.map +1 -0
- package/out/src/types/page/Event.d.ts +63 -0
- package/out/src/types/page/Event.js +212 -0
- package/out/src/types/page/Event.js.map +1 -0
- package/out/src/types/page/Lifecycle.d.ts +58 -0
- package/out/src/types/page/Lifecycle.js +192 -0
- package/out/src/types/page/Lifecycle.js.map +1 -0
- package/out/src/types/page/Page.d.ts +95 -0
- package/out/src/types/page/Page.js +394 -0
- package/out/src/types/page/Page.js.map +1 -0
- package/out/src/types/page/View.d.ts +253 -0
- package/out/src/types/page/View.js +1178 -0
- package/out/src/types/page/View.js.map +1 -0
- package/out/src/types/page/ViewParam.d.ts +73 -0
- package/out/src/types/page/ViewParam.js +296 -0
- package/out/src/types/page/ViewParam.js.map +1 -0
- package/out/src/types/page/ViewVariable.d.ts +73 -0
- package/out/src/types/page/ViewVariable.js +276 -0
- package/out/src/types/page/ViewVariable.js.map +1 -0
- package/out/src/types/permission/Permission.d.ts +41 -0
- package/out/src/types/permission/Permission.js +122 -0
- package/out/src/types/permission/Permission.js.map +1 -0
- package/out/src/types/process/Process.d.ts +118 -0
- package/out/src/types/process/Process.js +357 -0
- package/out/src/types/process/Process.js.map +1 -0
- package/out/src/types/process/ProcessComponent.d.ts +133 -0
- package/out/src/types/process/ProcessComponent.js +339 -0
- package/out/src/types/process/ProcessComponent.js.map +1 -0
- package/out/src/types/process/ProcessComponentAttribute.d.ts +63 -0
- package/out/src/types/process/ProcessComponentAttribute.js +163 -0
- package/out/src/types/process/ProcessComponentAttribute.js.map +1 -0
- package/out/src/types/process/ProcessComponentProperty.d.ts +37 -0
- package/out/src/types/process/ProcessComponentProperty.js +81 -0
- package/out/src/types/process/ProcessComponentProperty.js.map +1 -0
- package/out/src/types/process/ProcessComponentReturn.d.ts +77 -0
- package/out/src/types/process/ProcessComponentReturn.js +260 -0
- package/out/src/types/process/ProcessComponentReturn.js.map +1 -0
- package/out/src/types/process/ProcessComponentVariable.d.ts +78 -0
- package/out/src/types/process/ProcessComponentVariable.js +252 -0
- package/out/src/types/process/ProcessComponentVariable.js.map +1 -0
- package/out/src/types/process/ProcessInterface.d.ts +112 -0
- package/out/src/types/process/ProcessInterface.js +227 -0
- package/out/src/types/process/ProcessInterface.js.map +1 -0
- package/out/src/types/process/ProcessParam.d.ts +77 -0
- package/out/src/types/process/ProcessParam.js +261 -0
- package/out/src/types/process/ProcessParam.js.map +1 -0
- package/out/src/types/process/ProcessProperty.d.ts +37 -0
- package/out/src/types/process/ProcessProperty.js +81 -0
- package/out/src/types/process/ProcessProperty.js.map +1 -0
- package/out/src/types/process/ProcessReturn.d.ts +73 -0
- package/out/src/types/process/ProcessReturn.js +237 -0
- package/out/src/types/process/ProcessReturn.js.map +1 -0
- package/out/src/types/utils/index.d.ts +26 -0
- package/out/src/types/utils/index.js +90 -0
- package/out/src/types/utils/index.js.map +1 -0
- package/out/src/types/utils/logger.d.ts +3 -0
- package/out/src/types/utils/logger.js +14 -0
- package/out/src/types/utils/logger.js.map +1 -0
- package/out/src/types/utils/string.d.ts +38 -0
- package/out/src/types/utils/string.js +66 -0
- package/out/src/types/utils/string.js.map +1 -0
- package/out/src/types/utils/traverse.d.ts +35 -0
- package/out/src/types/utils/traverse.js +126 -0
- package/out/src/types/utils/traverse.js.map +1 -0
- package/out/src/utils/index.d.ts +26 -0
- package/out/src/utils/index.js +52 -0
- package/out/src/utils/index.js.map +1 -0
- package/out/src/utils/logger.d.ts +3 -0
- package/out/src/utils/logger.js +11 -0
- package/out/src/utils/logger.js.map +1 -0
- package/out/src/utils/string.d.ts +38 -0
- package/out/src/utils/string.js +66 -0
- package/out/src/utils/string.js.map +1 -0
- package/out/src/utils/traverse.d.ts +35 -0
- package/out/src/utils/traverse.js +126 -0
- package/out/src/utils/traverse.js.map +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.d.ts +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js +71 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js.map +1 -0
- package/out/test/units/baseTypes/new.spec.d.ts +1 -0
- package/out/test/units/baseTypes/new.spec.js +33 -0
- package/out/test/units/baseTypes/new.spec.js.map +1 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.d.ts +1 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js +39 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js.map +1 -0
- package/out/test/units/config.spec.d.ts +1 -0
- package/out/test/units/config.spec.js +12 -0
- package/out/test/units/config.spec.js.map +1 -0
- package/out/translator/index.d.ts +39 -0
- package/out/translator/index.js +86 -0
- package/out/translator/index.js.map +1 -0
- package/out/translator/lsp.d.ts +45 -0
- package/out/translator/lsp.js +6 -0
- package/out/translator/lsp.js.map +1 -0
- package/out/translator/tsp.d.ts +12 -0
- package/out/translator/tsp.js +3 -0
- package/out/translator/tsp.js.map +1 -0
- package/out/types/app/App.d.ts +2 -5
- package/out/types/app/App.js +2 -29
- package/out/types/app/App.js.map +1 -1
- package/out/types/app/Service.d.ts +0 -31
- package/out/types/app/Service.js +4 -128
- package/out/types/app/Service.js.map +1 -1
- package/out/types/classMap.d.ts +4 -0
- package/out/types/classMap.js +5 -0
- package/out/types/classMap.js.map +1 -0
- package/out/types/common/Vertex.d.ts +16 -34
- package/out/types/common/Vertex.js +81 -63
- package/out/types/common/Vertex.js.map +1 -1
- package/out/types/config.d.ts +0 -1
- package/out/types/config.js +0 -1
- package/out/types/config.js.map +1 -1
- package/out/types/data/Entity.d.ts +1 -19
- package/out/types/data/Entity.js +2 -38
- package/out/types/data/Entity.js.map +1 -1
- package/out/types/data/EntityProperty.d.ts +0 -4
- package/out/types/data/EntityProperty.js +0 -7
- package/out/types/data/EntityProperty.js.map +1 -1
- package/out/types/data/Enum.d.ts +0 -4
- package/out/types/data/Enum.js +0 -7
- package/out/types/data/Enum.js.map +1 -1
- package/out/types/data/Interface.js +1 -2
- package/out/types/data/Interface.js.map +1 -1
- package/out/types/data/Structure.d.ts +0 -8
- package/out/types/data/Structure.js +0 -19
- package/out/types/data/Structure.js.map +1 -1
- package/out/types/data/dataTypes.d.ts +1 -2
- package/out/types/data/dataTypes.js +7 -41
- package/out/types/data/dataTypes.js.map +1 -1
- package/out/types/data/genBlock/builtInFunctions.json +0 -15
- package/out/types/data/genBlock/genCreateBlock.js +5 -4
- package/out/types/data/genBlock/genCreateBlock.js.map +1 -1
- package/out/types/data/genBlock/genListViewBlock.js +1 -1
- package/out/types/data/genBlock/genListViewBlock.js.map +1 -1
- package/out/types/data/genBlock/genTableBlock.js +2 -2
- package/out/types/data/genBlock/genTableBlock.js.map +1 -1
- package/out/types/data/genBlock/genUpdateBlock.js +5 -4
- package/out/types/data/genBlock/genUpdateBlock.js.map +1 -1
- package/out/types/data/genBlock/index.d.ts +2 -2
- package/out/types/data/genBlock/index.js +2 -2
- package/out/types/data/genBlock/index.js.map +1 -1
- package/out/types/data/genericTypes.d.ts +1 -1
- package/out/types/data/genericTypes.js +2 -6
- package/out/types/data/genericTypes.js.map +1 -1
- package/out/types/data/systemTypes.js +0 -73
- package/out/types/data/systemTypes.js.map +1 -1
- package/out/types/decorators/index.d.ts +1 -1
- package/out/types/decorators/index.js +7 -2
- package/out/types/decorators/index.js.map +1 -1
- package/out/types/index.d.ts +2 -5
- package/out/types/index.js +5 -10
- package/out/types/index.js.map +1 -1
- package/out/types/logic/BreakPoint.d.ts +42 -0
- package/out/types/logic/BreakPoint.js +155 -0
- package/out/types/logic/BreakPoint.js.map +1 -0
- package/out/types/logic/Debugger.d.ts +156 -0
- package/out/types/logic/Debugger.js +912 -0
- package/out/types/logic/Debugger.js.map +1 -0
- package/out/types/logic/Logic.d.ts +0 -20
- package/out/types/logic/Logic.js +1 -47
- package/out/types/logic/Logic.js.map +1 -1
- package/out/types/logic/LogicItem.d.ts +2 -2
- package/out/types/logic/LogicItem.js +48 -112
- package/out/types/logic/LogicItem.js.map +1 -1
- package/out/types/logic/Param.js +1 -1
- package/out/types/logic/Param.js.map +1 -1
- package/out/types/logic/translator.js +51 -74
- package/out/types/logic/translator.js.map +1 -1
- package/out/types/page/Element.js +9 -21
- package/out/types/page/Element.js.map +1 -1
- package/out/types/page/Page.js +0 -7
- package/out/types/page/Page.js.map +1 -1
- package/out/types/page/View.d.ts +1 -1
- package/out/types/page/View.js +1 -29
- package/out/types/page/View.js.map +1 -1
- package/out/types/process/Process.js +3 -3
- package/out/types/process/Process.js.map +1 -1
- package/out/types/process/ProcessComponent.js +1 -1
- package/out/types/process/ProcessComponent.js.map +1 -1
- package/out/types/process/ProcessParam.js +1 -1
- package/out/types/process/ProcessParam.js.map +1 -1
- package/out/types/typeCheck.js +2 -12
- package/out/types/typeCheck.js.map +1 -1
- package/out/types/utils/string.d.ts +4 -0
- package/out/types/utils/string.js +4 -0
- package/out/types/utils/string.js.map +1 -1
- package/package.json +10 -14
- package/src/automate/engine/index.js +308 -0
- package/src/automate/engine/utils.js +312 -0
- package/src/common/BaseNode.ts +635 -0
- package/src/common/Command.ts +27 -0
- package/src/common/ComponentAPI.ts +103 -0
- package/src/common/EventEmitter.ts +86 -0
- package/src/common/Messager.ts +225 -0
- package/src/common/classMap.ts +3 -0
- package/src/common/index.ts +4 -0
- package/src/concepts/App__.ts +2492 -0
- package/src/concepts/Argument__.ts +191 -0
- package/src/concepts/Assignment__.ts +235 -0
- package/src/concepts/Attribute__.ts +251 -0
- package/src/concepts/BinaryExpression__.ts +270 -0
- package/src/concepts/BindAttribute__.ts +500 -0
- package/src/concepts/BindDirective__.ts +238 -0
- package/src/concepts/BindEvent__.ts +339 -0
- package/src/concepts/BooleanLiteral__.ts +82 -0
- package/src/concepts/CallFunction__.ts +307 -0
- package/src/concepts/CallInterface__.ts +295 -0
- package/src/concepts/CallLogic__.ts +390 -0
- package/src/concepts/CallQueryComponent__.ts +1006 -0
- package/src/concepts/Comment__.ts +104 -0
- package/src/concepts/CompletionProperty__.ts +244 -0
- package/src/concepts/Constant__.ts +243 -0
- package/src/concepts/DataElement__.ts +134 -0
- package/src/concepts/Destination__.ts +316 -0
- package/src/concepts/End__.ts +108 -0
- package/src/concepts/EntityIndex__.ts +197 -0
- package/src/concepts/EntityProperty__.ts +497 -0
- package/src/concepts/Entity__.ts +695 -0
- package/src/concepts/EnumItem__.ts +139 -0
- package/src/concepts/Enum__.ts +337 -0
- package/src/concepts/Event__.ts +316 -0
- package/src/concepts/ForEachStatement__.ts +562 -0
- package/src/concepts/Function__.ts +915 -0
- package/src/concepts/Identifier__.ts +171 -0
- package/src/concepts/IfStatement__.ts +478 -0
- package/src/concepts/InterfaceParam__.ts +305 -0
- package/src/concepts/Interface__.ts +610 -0
- package/src/concepts/JSBlock__.ts +113 -0
- package/src/concepts/LogicItem__.ts +232 -0
- package/src/concepts/Logic__.ts +1487 -0
- package/src/concepts/MemberExpression__.ts +240 -0
- package/src/concepts/Module__.ts +1718 -0
- package/src/concepts/Namespace__.ts +2517 -0
- package/src/concepts/NullLiteral__.ts +78 -0
- package/src/concepts/NumericLiteral__.ts +182 -0
- package/src/concepts/Param__.ts +364 -0
- package/src/concepts/Point__.ts +84 -0
- package/src/concepts/ProcessComponent__.ts +502 -0
- package/src/concepts/ProcessElement__.ts +1370 -0
- package/src/concepts/ProcessOutcome__.ts +97 -0
- package/src/concepts/Process__.ts +1113 -0
- package/src/concepts/QueryAggregateExpression__.ts +197 -0
- package/src/concepts/QueryFieldExpression__.ts +133 -0
- package/src/concepts/QueryFromExpression__.ts +261 -0
- package/src/concepts/QueryGroupByExpression__.ts +144 -0
- package/src/concepts/QueryJoinExpression__.ts +448 -0
- package/src/concepts/QueryLimitExpression__.ts +193 -0
- package/src/concepts/QueryOrderByExpression__.ts +207 -0
- package/src/concepts/QuerySelectExpression__.ts +285 -0
- package/src/concepts/Rect__.ts +96 -0
- package/src/concepts/Return__.ts +334 -0
- package/src/concepts/Role__.ts +139 -0
- package/src/concepts/Slot__.ts +121 -0
- package/src/concepts/SqlQueryComponent__.ts +145 -0
- package/src/concepts/Start__.ts +86 -0
- package/src/concepts/StringLiteral__.ts +140 -0
- package/src/concepts/StructureProperty__.ts +327 -0
- package/src/concepts/Structure__.ts +559 -0
- package/src/concepts/SwitchCase__.ts +363 -0
- package/src/concepts/SwitchStatement__.ts +261 -0
- package/src/concepts/Theme__.ts +94 -0
- package/src/concepts/Transactional__.ts +164 -0
- package/src/concepts/TypeAnnotation__.ts +373 -0
- package/src/concepts/TypeParam__.ts +68 -0
- package/src/concepts/UnaryExpression__.ts +177 -0
- package/src/concepts/Unparsed__.ts +98 -0
- package/src/concepts/UseComponent__.ts +84 -0
- package/src/concepts/ValidationRule__.ts +292 -0
- package/src/concepts/Variable__.ts +312 -0
- package/src/concepts/ViewComponent__.ts +1098 -0
- package/src/concepts/ViewElement__.ts +1562 -0
- package/src/concepts/View__.ts +1842 -0
- package/src/concepts/WhileStatement__.ts +323 -0
- package/src/concepts/basics/stdlib/index.ts +20 -0
- package/src/concepts/basics/stdlib/nasl.collection.ts +54 -0
- package/src/concepts/basics/stdlib/nasl.core.ts +12 -0
- package/src/concepts/basics/stdlib/nasl.interface.ts +43 -0
- package/src/concepts/basics/stdlib/nasl.process.ts +47 -0
- package/src/concepts/basics/stdlib/nasl.ui.ts +84 -0
- package/src/concepts/basics/stdlib/nasl.util.ts +585 -0
- package/src/concepts/basics/stdlib/nasl.validate.ts +523 -0
- package/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts +26 -0
- package/src/concepts/basics/types/coreTypeList.ts +14 -0
- package/src/concepts/basics/types/index.ts +20 -0
- package/src/concepts/index.ts +5 -0
- package/src/concepts/index__.ts +77 -0
- package/src/config.ts +80 -0
- package/src/decorators/index.ts +153 -0
- package/src/generator/compileComponent.ts +19 -0
- package/src/generator/genBundleFiles.ts +258 -0
- package/src/generator/genHash.ts +13 -0
- package/src/generator/index.ts +4 -0
- package/src/generator/styleReplacer.ts +41 -0
- package/src/index.ts +10 -0
- package/src/manager/diagnostic.ts +129 -0
- package/src/manager/history.ts +0 -0
- package/src/manager/problem.ts +0 -0
- package/src/server/entity2LogicNamespace.ts +188 -0
- package/src/server/getFunctions.ts +10 -0
- package/src/server/getInterfaces.ts +47 -0
- package/src/server/getLogics.ts +94 -0
- package/src/server/getMemberIdentifier.ts +110 -0
- package/src/server/getProcessComponents.ts +9 -0
- package/src/server/getProcesses.ts +129 -0
- package/src/server/getValidates.ts +10 -0
- package/src/server/index.ts +21 -0
- package/src/server/naslServer.ts +1194 -0
- package/src/server/process2LogicNamespace.ts +20 -0
- package/src/server/translator.ts +148 -0
- package/src/service/app/index.js +1 -1
- package/src/service/assets/index.js +1 -1
- package/src/service/{create → creator}/add.configs.js +0 -0
- package/src/service/{create → creator}/errHandles.js +0 -0
- package/src/service/creator/index.js +80 -0
- package/src/service/storage/index.ts +6 -0
- package/src/service/storage/init.ts +160 -0
- package/src/service/storage/jsoner.ts +139 -0
- package/src/service/storage/map.ts +57 -0
- package/src/service/storage/storagePoint.ts +73 -0
- package/src/service/video/BaseService.js +68 -0
- package/src/service/video/MainCallbackService.js +207 -0
- package/src/service/video/VideoTranscribe.js +102 -0
- package/src/service/video/publishService.js +61 -0
- package/src/templator/builtInFunctions.json +1 -0
- package/src/templator/genCallComponentLogic.ts +27 -0
- package/src/templator/genCreateBlock.ts +281 -0
- package/src/templator/genCurdEditMultipleKeyBlock.ts +432 -0
- package/src/templator/genCurdMultipleKeyBlock.ts +624 -0
- package/src/templator/genEditTableBlock.ts +284 -0
- package/src/templator/genEnumSelectBlock.ts +22 -0
- package/src/templator/genGetBlock.ts +121 -0
- package/src/templator/genGridViewBlock.ts +306 -0
- package/src/templator/genListViewBlock.ts +122 -0
- package/src/templator/genQueryComponent.ts +287 -0
- package/src/templator/genSelectBlock.ts +125 -0
- package/src/templator/genTableBlock.ts +295 -0
- package/src/templator/genUpdateBlock.ts +324 -0
- package/src/templator/index.ts +18 -0
- package/src/templator/utils.ts +640 -0
- package/src/terms/LEVEL_NAME_MAP.ts +31 -0
- package/src/test/examples/app1.json +17 -0
- package/src/test/fixtures/env.ts +4 -4
- package/src/test/integration/connect-create-file.ts +14 -0
- package/src/test/integration/connect-file.ts +24 -0
- package/src/test/units/baseTypes/Assignment.spec.ts +20 -0
- package/src/test/units/baseTypes/CallLogic.spec.ts +22 -0
- package/src/test/units/baseTypes/StringLiteral.spec.ts +60 -0
- package/src/test/units/baseTypes/new.spec.ts +13 -0
- package/src/test/units/common/Vertex.spec.ts +17 -19
- package/src/test/units/data/Entity.spec.ts +1 -1
- package/src/test/units/login.spec.ts +3 -3
- package/src/test/units/page/Block.spec.ts +12 -12
- package/src/test/units/page/Element.spec.ts +11 -11
- package/src/test/units/temp/temp.spec.ts +2 -2
- package/src/translator/index.ts +131 -0
- package/src/translator/lsp.ts +50 -0
- package/src/translator/tsp.ts +14 -0
- package/src/utils/index.ts +52 -0
- package/src/utils/logger.ts +8 -0
- package/src/utils/string.ts +60 -0
- package/src/utils/traverse.ts +152 -0
- package/tsconfig.json +6 -13
- package/analysis/mergeBlock/README.md +0 -14
- package/analysis/mergeBlock/raw2.json +0 -2522
- package/analysis/mergeBlock/raw3.json +0 -505
- package/analysis/mergeBlock/req2.json +0 -2219
- package/analysis/mergeBlock/req3.json +0 -462
- package/analysis/mergeBlock/script.js +0 -159
- package/docs/assets/css/main.css +0 -2638
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/app_app.app.html +0 -1359
- package/docs/classes/app_service.microservice.html +0 -1572
- package/docs/classes/app_service.service.html +0 -1233
- package/docs/classes/app_service.webservice.html +0 -1635
- package/docs/classes/common_eventemitter.eventemitter.html +0 -387
- package/docs/classes/common_vertex.vertex.html +0 -1086
- package/docs/classes/data_datanode.datanode.html +0 -1157
- package/docs/classes/data_entity.entity.html +0 -1656
- package/docs/classes/data_entityproperty.entityproperty.html +0 -1903
- package/docs/classes/data_enum.enum.html +0 -1402
- package/docs/classes/data_enumitem.enumitem.html +0 -1252
- package/docs/classes/data_interface.interface.html +0 -1673
- package/docs/classes/data_structure.structure.html +0 -1427
- package/docs/classes/data_structureproperty.structureproperty.html +0 -1656
- package/docs/classes/logic_basevariable.basevariable.html +0 -1261
- package/docs/classes/logic_logic.logic.html +0 -1639
- package/docs/classes/logic_logicitem.expressionnode.html +0 -1982
- package/docs/classes/logic_logicitem.logicitem.html +0 -1828
- package/docs/classes/logic_logicitem.logicnode.html +0 -2229
- package/docs/classes/logic_param.param.html +0 -1707
- package/docs/classes/logic_return.return.html +0 -1605
- package/docs/classes/logic_variable.variable.html +0 -1631
- package/docs/classes/nuims_nuims.nuims.html +0 -596
- package/docs/classes/page_attr.attr.html +0 -1335
- package/docs/classes/page_block.block.html +0 -1272
- package/docs/classes/page_directive.directive.html +0 -1350
- package/docs/classes/page_element.element.html +0 -2118
- package/docs/classes/page_event.event.html +0 -1284
- package/docs/classes/page_lifecycle.lifecycle.html +0 -1286
- package/docs/classes/page_page.page.html +0 -1389
- package/docs/classes/page_view.view.html +0 -2299
- package/docs/classes/page_viewparam.viewparam.html +0 -1727
- package/docs/classes/page_viewvariable.viewvariable.html +0 -1668
- package/docs/classes/process_process.process.html +0 -1532
- package/docs/classes/process_processcomponent.processcomponent.html +0 -1589
- package/docs/classes/process_processcomponentattribute.processcomponentattribute.html +0 -1236
- package/docs/classes/process_processcomponentproperty.processcomponentproperty.html +0 -1727
- package/docs/classes/process_processcomponentreturn.processcomponentreturn.html +0 -1704
- package/docs/classes/process_processcomponentvariable.processcomponentvariable.html +0 -1679
- package/docs/classes/process_processinterface.processinterface.html +0 -1462
- package/docs/classes/process_processparam.processparam.html +0 -1778
- package/docs/classes/process_processproperty.processproperty.html +0 -1727
- package/docs/classes/process_processreturn.processreturn.html +0 -1678
- package/docs/enums/app_service.service_type.html +0 -186
- package/docs/enums/data_basictypes.basic_type.html +0 -312
- package/docs/enums/index.level_enum.html +0 -655
- package/docs/enums/logic_logicitem.logic_type.html +0 -441
- package/docs/interfaces/app_service.assetsinfo.html +0 -209
- package/docs/interfaces/common_packagejson.default.html +0 -431
- package/docs/interfaces/data_entity.resolver.html +0 -228
- package/docs/interfaces/data_entityproperty.display.html +0 -214
- package/docs/interfaces/data_schema.arrayschema.html +0 -306
- package/docs/interfaces/data_schema.baseschema.html +0 -361
- package/docs/interfaces/data_schema.basicrefschema.html +0 -362
- package/docs/interfaces/data_schema.basicschema.html +0 -334
- package/docs/interfaces/data_schema.booleanschema.html +0 -306
- package/docs/interfaces/data_schema.enumitemschema.html +0 -225
- package/docs/interfaces/data_schema.enumschema.html +0 -306
- package/docs/interfaces/data_schema.integerschema.html +0 -334
- package/docs/interfaces/data_schema.mapschema.html +0 -320
- package/docs/interfaces/data_schema.numberschema.html +0 -334
- package/docs/interfaces/data_schema.objectschema.html +0 -313
- package/docs/interfaces/data_schema.refschema.html +0 -332
- package/docs/interfaces/data_schema.schema.html +0 -511
- package/docs/interfaces/data_schema.setschema.html +0 -306
- package/docs/interfaces/data_schema.stringschema.html +0 -334
- package/docs/interfaces/history.historyrecord.html +0 -183
- package/docs/interfaces/index.arrayschema.html +0 -261
- package/docs/interfaces/index.baseschema.html +0 -236
- package/docs/interfaces/index.basicrefschema.html +0 -317
- package/docs/interfaces/index.basicschema.html +0 -289
- package/docs/interfaces/index.booleanschema.html +0 -261
- package/docs/interfaces/index.enumitemschema.html +0 -180
- package/docs/interfaces/index.enumschema.html +0 -261
- package/docs/interfaces/index.integerschema.html +0 -289
- package/docs/interfaces/index.mapschema.html +0 -275
- package/docs/interfaces/index.numberschema.html +0 -289
- package/docs/interfaces/index.objectschema.html +0 -261
- package/docs/interfaces/index.refschema.html +0 -287
- package/docs/interfaces/index.schema.html +0 -459
- package/docs/interfaces/index.setschema.html +0 -261
- package/docs/interfaces/index.stringschema.html +0 -289
- package/docs/interfaces/page_element.elementtovueoptions.html +0 -283
- package/docs/interfaces/typecheck.typecheckrecord.html +0 -211
- package/docs/interfaces/utils.inode.html +0 -212
- package/docs/interfaces/utils.inodeinfo.html +0 -295
- package/docs/interfaces/utils_traverse.inode.html +0 -191
- package/docs/interfaces/utils_traverse.inodeinfo.html +0 -274
- package/docs/modules/app_app.html +0 -149
- package/docs/modules/app_service.html +0 -175
- package/docs/modules/cachedata.html +0 -198
- package/docs/modules/common_eventemitter.html +0 -192
- package/docs/modules/common_packagejson.html +0 -132
- package/docs/modules/common_vertex.html +0 -149
- package/docs/modules/config.html +0 -168
- package/docs/modules/data_basictypes.html +0 -271
- package/docs/modules/data_datanode.html +0 -149
- package/docs/modules/data_datatypes.html +0 -196
- package/docs/modules/data_datatypeutils.html +0 -430
- package/docs/modules/data_entity.html +0 -158
- package/docs/modules/data_entityproperty.html +0 -158
- package/docs/modules/data_entityutils.html +0 -342
- package/docs/modules/data_enum.html +0 -149
- package/docs/modules/data_enumitem.html +0 -149
- package/docs/modules/data_interface.html +0 -149
- package/docs/modules/data_schema.html +0 -205
- package/docs/modules/data_structure.html +0 -149
- package/docs/modules/data_structureproperty.html +0 -149
- package/docs/modules/data_systemtypes.html +0 -167
- package/docs/modules/decorators.html +0 -333
- package/docs/modules/eventbus.html +0 -116
- package/docs/modules/generator.html +0 -749
- package/docs/modules/generator_data.html +0 -495
- package/docs/modules/generator_hotreload.html +0 -200
- package/docs/modules/generator_load.html +0 -247
- package/docs/modules/generator_page.html +0 -200
- package/docs/modules/history.html +0 -200
- package/docs/modules/index.html +0 -1163
- package/docs/modules/logic_basevariable.html +0 -238
- package/docs/modules/logic_callinterface.html +0 -116
- package/docs/modules/logic_logic.html +0 -149
- package/docs/modules/logic_logicitem.html +0 -220
- package/docs/modules/logic_param.html +0 -149
- package/docs/modules/logic_return.html +0 -149
- package/docs/modules/logic_tools.html +0 -326
- package/docs/modules/logic_translator.html +0 -158
- package/docs/modules/logic_variable.html +0 -149
- package/docs/modules/nuims_nuims.html +0 -149
- package/docs/modules/page_attr.html +0 -149
- package/docs/modules/page_block.html +0 -149
- package/docs/modules/page_directive.html +0 -149
- package/docs/modules/page_element.html +0 -158
- package/docs/modules/page_event.html +0 -149
- package/docs/modules/page_lifecycle.html +0 -149
- package/docs/modules/page_page.html +0 -149
- package/docs/modules/page_view.html +0 -149
- package/docs/modules/page_viewparam.html +0 -149
- package/docs/modules/page_viewvariable.html +0 -149
- package/docs/modules/process_process.html +0 -149
- package/docs/modules/process_processcomponent.html +0 -149
- package/docs/modules/process_processcomponentattribute.html +0 -149
- package/docs/modules/process_processcomponentproperty.html +0 -149
- package/docs/modules/process_processcomponentreturn.html +0 -149
- package/docs/modules/process_processcomponentvariable.html +0 -149
- package/docs/modules/process_processinterface.html +0 -149
- package/docs/modules/process_processparam.html +0 -149
- package/docs/modules/process_processproperty.html +0 -149
- package/docs/modules/process_processreturn.html +0 -149
- package/docs/modules/typecheck.html +0 -269
- package/docs/modules/utils.html +0 -536
- package/docs/modules/utils_logger.html +0 -172
- package/docs/modules/utils_string.html +0 -347
- package/docs/modules/utils_traverse.html +0 -248
- package/index.js +0 -12
- package/module/base.js +0 -11
- package/out/service/logic/checktypeSocket.d.ts +0 -5
- package/out/service/logic/checktypeSocket.js +0 -55
- package/out/service/logic/checktypeSocket.js.map +0 -1
- package/out/types/data/Module.d.ts +0 -34
- package/out/types/data/Module.js +0 -53
- package/out/types/data/Module.js.map +0 -1
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.d.ts +0 -7
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.js +0 -470
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.d.ts +0 -9
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.js +0 -662
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.js.map +0 -1
- package/spec/conceptMap.json +0 -3310
- package/spec/spec.yaml +0 -416
- package/spec-build/index.ts +0 -98
- package/src/routes.map.js +0 -5
- package/src/service/common/findUsage.js +0 -8
- package/src/service/common/index.js +0 -6
- package/src/service/common/preprocess.js +0 -54
- package/src/service/common/schema.js +0 -9
- package/src/service/config/api.js +0 -32
- package/src/service/config/index.js +0 -6
- package/src/service/create/index.js +0 -80
- package/src/service/data/api.js +0 -33
- package/src/service/data/entity.js +0 -101
- package/src/service/data/enum.js +0 -53
- package/src/service/data/enumProperty.js +0 -20
- package/src/service/data/generic.js +0 -8
- package/src/service/data/index.js +0 -18
- package/src/service/data/interface.js +0 -56
- package/src/service/data/structure.js +0 -75
- package/src/service/developPermission/api.js +0 -37
- package/src/service/developPermission/index.js +0 -13
- package/src/service/logic/checktypeSocket.js +0 -49
- package/src/service/logic/index.js +0 -14
- package/src/service/logic/logic.js +0 -121
- package/src/service/logic/param.js +0 -26
- package/src/service/modules/api.js +0 -20
- package/src/service/modules/index.js +0 -6
- package/src/service/nuims/api.js +0 -192
- package/src/service/nuims/index.js +0 -13
- package/src/service/page/api.js +0 -1374
- package/src/service/page/attribute.js +0 -20
- package/src/service/page/directive.js +0 -20
- package/src/service/page/element.js +0 -40
- package/src/service/page/event.js +0 -20
- package/src/service/page/index.js +0 -19
- package/src/service/page/lifecycle.js +0 -20
- package/src/service/page/templates.ts +0 -72
- package/src/service/page/view.js +0 -116
- package/src/service/permission/api.js +0 -38
- package/src/service/permission/index.js +0 -13
- package/src/service/process/api.js +0 -92
- package/src/service/process/index.js +0 -6
- package/src/service/undoredo/api.js +0 -26
- package/src/service/undoredo/index.js +0 -6
- package/src/service/webFile/api.js +0 -32
- package/src/service/webFile/index.d.tmp +0 -62
- package/src/service/webFile/index.js +0 -28
- package/src/service/webFile/loadCache.js +0 -14
- package/src/test/units/app/App.spec.ts +0 -16
- package/src/test/units/app/Service.spec.ts +0 -31
- package/src/types/app/App.ts +0 -349
- package/src/types/app/History.ts +0 -389
- package/src/types/app/Service.ts +0 -1036
- package/src/types/cache.ts +0 -50
- package/src/types/cacheData.ts +0 -33
- package/src/types/common/ComponentAPI.ts +0 -103
- package/src/types/common/EventEmitter.ts +0 -56
- package/src/types/common/PackageJSON.ts +0 -22
- package/src/types/common/Vertex.ts +0 -296
- package/src/types/config.ts +0 -23
- package/src/types/data/DataNode.ts +0 -37
- package/src/types/data/Entity.ts +0 -556
- package/src/types/data/EntityIndex.ts +0 -238
- package/src/types/data/EntityProperty.ts +0 -524
- package/src/types/data/Enum.ts +0 -245
- package/src/types/data/EnumItem.ts +0 -156
- package/src/types/data/GlobalLogicNode.ts +0 -208
- package/src/types/data/Interface.ts +0 -438
- package/src/types/data/Module.ts +0 -51
- package/src/types/data/Schema.ts +0 -133
- package/src/types/data/Structure.ts +0 -315
- package/src/types/data/StructureProperty.ts +0 -332
- package/src/types/data/basicTypes.ts +0 -76
- package/src/types/data/dataTypeUtils.ts +0 -426
- package/src/types/data/dataTypes.ts +0 -88
- package/src/types/data/entityUtils.ts +0 -681
- package/src/types/data/genBlock/builtInFunctions.json +0 -560
- package/src/types/data/genBlock/genCallComponentLogic.ts +0 -28
- package/src/types/data/genBlock/genCallInterface.ts +0 -87
- package/src/types/data/genBlock/genCreateBlock.ts +0 -305
- package/src/types/data/genBlock/genCurdEditMultipleKeyBlock.ts +0 -468
- package/src/types/data/genBlock/genCurdMultipleKeyBlock.ts +0 -665
- package/src/types/data/genBlock/genEditTableBlock.ts +0 -470
- package/src/types/data/genBlock/genEnumSelectBlock.ts +0 -21
- package/src/types/data/genBlock/genGetBlock.ts +0 -160
- package/src/types/data/genBlock/genGridViewBlock.ts +0 -316
- package/src/types/data/genBlock/genListViewBlock.ts +0 -130
- package/src/types/data/genBlock/genQueryComponent.ts +0 -548
- package/src/types/data/genBlock/genSelectBlock.ts +0 -123
- package/src/types/data/genBlock/genTableBlock.ts +0 -315
- package/src/types/data/genBlock/genUpdateBlock.ts +0 -389
- package/src/types/data/genBlock/index.ts +0 -20
- package/src/types/data/genBlock/utils.ts +0 -252
- package/src/types/data/genericTypes.ts +0 -151
- package/src/types/data/systemTypes.ts +0 -1635
- package/src/types/decorators/index.ts +0 -52
- package/src/types/enum.ts +0 -6
- package/src/types/generator/data.ts +0 -206
- package/src/types/generator/hotReload.ts +0 -41
- package/src/types/generator/index.ts +0 -4
- package/src/types/generator/load.ts +0 -97
- package/src/types/generator/page.ts +0 -37
- package/src/types/history.ts +0 -14
- package/src/types/index.ts +0 -167
- package/src/types/logic/BaseVariable.ts +0 -130
- package/src/types/logic/Logic.ts +0 -591
- package/src/types/logic/LogicItem.ts +0 -1370
- package/src/types/logic/Param.ts +0 -336
- package/src/types/logic/Return.ts +0 -292
- package/src/types/logic/Variable.ts +0 -288
- package/src/types/logic/expressions/BinaryExpression.ts +0 -35
- package/src/types/logic/expressions/BooleanLiteral.ts +0 -25
- package/src/types/logic/expressions/Identifier.ts +0 -36
- package/src/types/logic/expressions/LogicalExpression.ts +0 -35
- package/src/types/logic/expressions/MemberExpression.ts +0 -33
- package/src/types/logic/expressions/NullLiteral.ts +0 -20
- package/src/types/logic/expressions/NumericLiteral.ts +0 -25
- package/src/types/logic/expressions/StringLiteral.ts +0 -25
- package/src/types/logic/expressions/UnaryExpression.ts +0 -30
- package/src/types/logic/expressions/Unparsed.ts +0 -25
- package/src/types/logic/nodes/AssignmentExpression.ts +0 -30
- package/src/types/logic/nodes/BuiltInFuncParam.ts +0 -35
- package/src/types/logic/nodes/BuiltInFunction.ts +0 -39
- package/src/types/logic/nodes/CallConsoleLog.ts +0 -25
- package/src/types/logic/nodes/CallGraphQL.ts +0 -36
- package/src/types/logic/nodes/CallInterParam.ts +0 -30
- package/src/types/logic/nodes/CallInterface.ts +0 -31
- package/src/types/logic/nodes/CallLogic.ts +0 -39
- package/src/types/logic/nodes/CallMessageShow.ts +0 -35
- package/src/types/logic/nodes/Comment.ts +0 -25
- package/src/types/logic/nodes/CronJob.ts +0 -25
- package/src/types/logic/nodes/DBQuery.ts +0 -25
- package/src/types/logic/nodes/Destination.ts +0 -52
- package/src/types/logic/nodes/DestinationParam.ts +0 -31
- package/src/types/logic/nodes/End.ts +0 -21
- package/src/types/logic/nodes/ForEachStatement.ts +0 -52
- package/src/types/logic/nodes/IfStatement.ts +0 -35
- package/src/types/logic/nodes/JSBlock.ts +0 -29
- package/src/types/logic/nodes/JSONDeserialize.ts +0 -25
- package/src/types/logic/nodes/JSONSerialize.ts +0 -25
- package/src/types/logic/nodes/ProcessOutcome.ts +0 -35
- package/src/types/logic/nodes/Start.ts +0 -20
- package/src/types/logic/nodes/SwitchCase.ts +0 -30
- package/src/types/logic/nodes/SwitchStatement.ts +0 -26
- package/src/types/logic/nodes/TypeNote.ts +0 -25
- package/src/types/logic/nodes/WhileStatement.ts +0 -30
- package/src/types/logic/tools.js +0 -170
- package/src/types/logic/translator.js +0 -684
- package/src/types/logic/translator_backup.js +0 -632
- package/src/types/login.ts +0 -36
- package/src/types/nuims/Nuims.ts +0 -499
- package/src/types/page/Attr.ts +0 -217
- package/src/types/page/Block.ts +0 -103
- package/src/types/page/Directive.ts +0 -208
- package/src/types/page/Element.ts +0 -1444
- package/src/types/page/Event.ts +0 -188
- package/src/types/page/Lifecycle.ts +0 -172
- package/src/types/page/Page.ts +0 -414
- package/src/types/page/View.ts +0 -1236
- package/src/types/page/ViewParam.ts +0 -284
- package/src/types/page/ViewVariable.ts +0 -264
- package/src/types/page/dist/View.js +0 -727
- package/src/types/permission/Permission.ts +0 -112
- package/src/types/process/Process.ts +0 -306
- package/src/types/process/ProcessComponent.ts +0 -276
- package/src/types/process/ProcessComponentAttribute.ts +0 -131
- package/src/types/process/ProcessComponentProperty.ts +0 -68
- package/src/types/process/ProcessComponentReturn.ts +0 -235
- package/src/types/process/ProcessComponentVariable.ts +0 -225
- package/src/types/process/ProcessInterface.ts +0 -175
- package/src/types/process/ProcessParam.ts +0 -237
- package/src/types/process/ProcessProperty.ts +0 -69
- package/src/types/process/ProcessReturn.ts +0 -210
- package/src/types/typeCheck.ts +0 -120
- package/src/types/utils/index.ts +0 -91
- package/src/types/utils/logger.ts +0 -8
- package/src/types/utils/string.ts +0 -56
- package/src/types/utils/traverse.ts +0 -160
- package/src/views/components/lcap-json-view/README.md +0 -80
- package/src/views/components/lcap-json-view/index.js +0 -9
- package/src/views/components/lcap-json-view/index.vue +0 -61
- package/src/views/components/lcap-json-view/node.vue +0 -328
- package/src/views/components/lcap-json-view/utils.js +0 -41
- package/src/views/examples/index.vue +0 -44
- package/src/views/examples/logic.json +0 -1576
- package/src/views/index.vue +0 -28
- package/src/views/specification/README.md +0 -10
- package/src/views/specification/conceptTree.js +0 -1179
- package/src/views/specification/index.vue +0 -255
- package/src/views/theme.css +0 -138
|
@@ -1,1370 +0,0 @@
|
|
|
1
|
-
import { immutable, excludedInJSON, action } from '../decorators';
|
|
2
|
-
import { config, typeCheck, utils, Vertex, LEVEL_ENUM, Logic, Schema, ActionOptions, ACTION_MODE } from '..';
|
|
3
|
-
import { logicService, checkTypeClient } from '../../service/logic';
|
|
4
|
-
import { traverse } from '../utils';
|
|
5
|
-
import { vertexsMap } from '../cacheData';
|
|
6
|
-
import { getSchemaOfExpressionNode } from './tools';
|
|
7
|
-
import Structure from '../data/Structure';
|
|
8
|
-
import { refreshLogic } from '../cache';
|
|
9
|
-
import { BusinessCode } from '../enum';
|
|
10
|
-
import { log } from 'console';
|
|
11
|
-
|
|
12
|
-
export enum LOGIC_TYPE {
|
|
13
|
-
// LogicNode
|
|
14
|
-
Start = 'Start',
|
|
15
|
-
ProcessOutcome = 'ProcessOutcome',
|
|
16
|
-
End = 'End',
|
|
17
|
-
IfStatement = 'IfStatement',
|
|
18
|
-
SwitchStatement = 'SwitchStatement',
|
|
19
|
-
SwitchCase = 'SwitchCase',
|
|
20
|
-
ForEachStatement = 'ForEachStatement',
|
|
21
|
-
WhileStatement = 'WhileStatement',
|
|
22
|
-
AssignmentExpression = 'AssignmentExpression',
|
|
23
|
-
Comment = 'Comment',
|
|
24
|
-
CallLogic = 'CallLogic',
|
|
25
|
-
CallInterface = 'CallInterface',
|
|
26
|
-
CallInterParam = 'CallInterParam',
|
|
27
|
-
CallGraphQL = 'CallGraphQL',
|
|
28
|
-
DBQuery = 'DBQuery',
|
|
29
|
-
CronJob = 'CronJob',
|
|
30
|
-
JSONSerialize = 'JSONSerialize',
|
|
31
|
-
JSONDeserialize = 'JSONDeserialize',
|
|
32
|
-
CallMessageShow = 'CallMessageShow',
|
|
33
|
-
CallConsoleLog = 'CallConsoleLog',
|
|
34
|
-
JSBlock = 'JSBlock',
|
|
35
|
-
TypeNote = 'TypeNote',
|
|
36
|
-
CallQueryComponent = 'CallQueryComponent',
|
|
37
|
-
// Expression
|
|
38
|
-
Identifier = 'Identifier',
|
|
39
|
-
NumericLiteral = 'NumericLiteral',
|
|
40
|
-
BooleanLiteral = 'BooleanLiteral',
|
|
41
|
-
StringLiteral = 'StringLiteral',
|
|
42
|
-
NullLiteral = 'NullLiteral',
|
|
43
|
-
UnaryExpression = 'UnaryExpression',
|
|
44
|
-
BinaryExpression = 'BinaryExpression',
|
|
45
|
-
LogicalExpression = 'LogicalExpression',
|
|
46
|
-
MemberExpression = 'MemberExpression',
|
|
47
|
-
CallExpression = 'CallExpression',
|
|
48
|
-
ObjectExpression = 'ObjectExpression',
|
|
49
|
-
ArrayExpression = 'ArrayExpression',
|
|
50
|
-
Destination = 'Destination',
|
|
51
|
-
DestinationParam = 'DestinationParam',
|
|
52
|
-
BuiltInFunction = 'BuiltInFunction',
|
|
53
|
-
BuiltInFuncParam = 'BuiltInFuncParam',
|
|
54
|
-
Unparsed = 'Unparsed',
|
|
55
|
-
QuerySelectExpression = 'QuerySelectExpression',
|
|
56
|
-
QueryFromExpression = 'QueryFromExpression',
|
|
57
|
-
QueryJoinExpression = 'QueryJoinExpression',
|
|
58
|
-
QueryAggregateExpression = 'QueryAggregateExpression'
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const atomicList = [
|
|
62
|
-
LOGIC_TYPE.Identifier,
|
|
63
|
-
LOGIC_TYPE.NumericLiteral,
|
|
64
|
-
LOGIC_TYPE.BooleanLiteral,
|
|
65
|
-
LOGIC_TYPE.StringLiteral,
|
|
66
|
-
LOGIC_TYPE.NullLiteral,
|
|
67
|
-
LOGIC_TYPE.UnaryExpression,
|
|
68
|
-
LOGIC_TYPE.MemberExpression,
|
|
69
|
-
LOGIC_TYPE.Unparsed,
|
|
70
|
-
LOGIC_TYPE.BuiltInFunction,
|
|
71
|
-
];
|
|
72
|
-
|
|
73
|
-
export function evaluate(node: LogicNode | ExpressionNode, finalCode = true): string {
|
|
74
|
-
if (!node)
|
|
75
|
-
return '';
|
|
76
|
-
if (node.type === 'Identifier')
|
|
77
|
-
return node.code || node.name;
|
|
78
|
-
|
|
79
|
-
if (node.type === 'NumericLiteral')
|
|
80
|
-
return <string>node.value;
|
|
81
|
-
|
|
82
|
-
if (node.type === 'BooleanLiteral')
|
|
83
|
-
return `${node.value}`;
|
|
84
|
-
|
|
85
|
-
if (node.type === 'StringLiteral')
|
|
86
|
-
return `'${node.value}'`;
|
|
87
|
-
|
|
88
|
-
if (node.type === 'NullLiteral')
|
|
89
|
-
return 'null';
|
|
90
|
-
|
|
91
|
-
if (node.type === 'BinaryExpression') {
|
|
92
|
-
let left: string = evaluate(<LogicNode>node.left, finalCode);
|
|
93
|
-
if (!atomicList.includes((node.left as any)?.type) || (!finalCode && node.left?.type === LOGIC_TYPE.MemberExpression))
|
|
94
|
-
left = `(${left})`;
|
|
95
|
-
|
|
96
|
-
let right: string = evaluate(<LogicNode>node.right, finalCode);
|
|
97
|
-
if (!atomicList.includes((node.right as any)?.type) || (!finalCode && node.right?.type === LOGIC_TYPE.MemberExpression))
|
|
98
|
-
right = `(${right})`;
|
|
99
|
-
return `${left} ${node.operator} ${right}`;
|
|
100
|
-
}
|
|
101
|
-
if (node.type === 'LogicalExpression') {
|
|
102
|
-
let left: string = evaluate(<LogicNode>node.left, finalCode);
|
|
103
|
-
if (!atomicList.includes((node.left as any)?.type) || (!finalCode && node.left?.type === LOGIC_TYPE.MemberExpression))
|
|
104
|
-
left = `(${left})`;
|
|
105
|
-
let right: string = evaluate(<LogicNode>node.right, finalCode);
|
|
106
|
-
if (!atomicList.includes((node.right as any)?.type) || (!finalCode && node.right?.type === LOGIC_TYPE.MemberExpression))
|
|
107
|
-
right = `(${right})`;
|
|
108
|
-
return `${left} ${node.operator} ${right}`;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
if (node.type === LOGIC_TYPE.UnaryExpression && node.operator === '!') {
|
|
112
|
-
const argument = (<ExpressionNode>node).argument;
|
|
113
|
-
const code = evaluate(argument, finalCode);
|
|
114
|
-
const arr = [LOGIC_TYPE.BinaryExpression, LOGIC_TYPE.LogicalExpression];
|
|
115
|
-
if (!finalCode)
|
|
116
|
-
arr.push(LOGIC_TYPE.MemberExpression);
|
|
117
|
-
return arr.includes(argument?.type) ? `!(${code})` : `!${code}`;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
if (node.type === 'Unparsed') {
|
|
121
|
-
return node.code;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (node.type === 'MemberExpression') {
|
|
125
|
-
const object: string = evaluate((<ExpressionNode>node).object, finalCode);
|
|
126
|
-
const property = (<ExpressionNode>node).property;
|
|
127
|
-
|
|
128
|
-
if (finalCode || property.code?.includes('ID_ENUMVALUE_')) {
|
|
129
|
-
if (property.type === 'Identifier')
|
|
130
|
-
return `${object}.${property.code || property.name}`;
|
|
131
|
-
else if (property.type === 'StringLiteral')
|
|
132
|
-
return `${object}['${property.value}']`;
|
|
133
|
-
else if (property.type === 'NumericLiteral')
|
|
134
|
-
return `${object}[${property.value}]`;
|
|
135
|
-
} else {
|
|
136
|
-
const lastPart = object.split(' && ').pop();
|
|
137
|
-
if (property.type === 'Identifier')
|
|
138
|
-
return `${object} && ${lastPart}.${property.code || property.name}`;
|
|
139
|
-
else if (property.type === 'StringLiteral')
|
|
140
|
-
return `${object} && ${lastPart}['${property.value}']`;
|
|
141
|
-
else if (property.type === 'NumericLiteral')
|
|
142
|
-
return `${object} && ${lastPart}[${property.value}]`;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
if (node.type === 'CallExpression') {
|
|
147
|
-
const args = [];
|
|
148
|
-
for (const argumentNode of (<LogicNode>node).arguments) {
|
|
149
|
-
args.push(evaluate(argumentNode, finalCode));
|
|
150
|
-
}
|
|
151
|
-
const name = (<ExpressionNode>node).callee.name;
|
|
152
|
-
return `${name}(${args.join(', ')})`;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
if (node.type === 'ObjectExpression') {
|
|
156
|
-
const obj: {
|
|
157
|
-
[prop: string]: any;
|
|
158
|
-
} = {};
|
|
159
|
-
for (let { key, value } of (<ExpressionNode>node).properties) {
|
|
160
|
-
let keyValue = evaluate(key, finalCode);
|
|
161
|
-
if (/^"(.*)"$/.test(keyValue))
|
|
162
|
-
keyValue = RegExp.$1;
|
|
163
|
-
|
|
164
|
-
const valueTemp = evaluate(<ExpressionNode>value, finalCode);
|
|
165
|
-
if (/^"(.*)"$/.test(valueTemp))
|
|
166
|
-
value = RegExp.$1;
|
|
167
|
-
obj[keyValue] = value;
|
|
168
|
-
}
|
|
169
|
-
return JSON.stringify(obj);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (node.type === 'ArrayExpression') {
|
|
173
|
-
const arr = [];
|
|
174
|
-
for (const elementNode of (<ExpressionNode>node).elements) {
|
|
175
|
-
arr.push(evaluate(elementNode, finalCode));
|
|
176
|
-
}
|
|
177
|
-
return '[' + arr.join(', ') + ']';
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
if (node.type === 'Destination') {
|
|
181
|
-
const params = ((node as any).params || [])
|
|
182
|
-
.filter((param: LogicNode) => param.pageParamKey && param.pageParamKeyValue)
|
|
183
|
-
.map((param: LogicNode) => evaluate(param.pageParamKey, finalCode) + '=${' + evaluate(param.pageParamKeyValue, finalCode) + '}');
|
|
184
|
-
let result = node.code;
|
|
185
|
-
if (params.length) {
|
|
186
|
-
result = '`' + `${node.code}?${params.join('&')}` + '`';
|
|
187
|
-
} else {
|
|
188
|
-
result = '`' + `${result}` + '`';
|
|
189
|
-
}
|
|
190
|
-
return result.replace(/"/g, "'");
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
if (node.type === 'BuiltInFunction') {
|
|
194
|
-
const calleeCode = `$utils['${(node as LogicNode).calleeCode}']`;
|
|
195
|
-
if (!calleeCode)
|
|
196
|
-
return;
|
|
197
|
-
// 需要保持params顺序
|
|
198
|
-
const params = ((node as any).builtInFuncParams || []).map((param: any) => (param.builtInFuncParamValue ? evaluate(param.builtInFuncParamValue, finalCode) : null));
|
|
199
|
-
let paramResult = params.join(',');
|
|
200
|
-
if (paramResult === ',') {
|
|
201
|
-
paramResult = '';
|
|
202
|
-
} else {
|
|
203
|
-
paramResult = params.join(',');
|
|
204
|
-
}
|
|
205
|
-
return `${calleeCode}(${paramResult})`.replace(/"/g, "'");
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
if (node.type === 'TypeNote') {
|
|
209
|
-
const { type, format } = node.schema;
|
|
210
|
-
return `{ type: '${type}', format: '${format}' }`;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export const logicItemKeyOfLogicItem: string[] = [
|
|
215
|
-
'test',
|
|
216
|
-
'left',
|
|
217
|
-
'right',
|
|
218
|
-
'each',
|
|
219
|
-
'item',
|
|
220
|
-
'index',
|
|
221
|
-
'start',
|
|
222
|
-
'end',
|
|
223
|
-
'variables',
|
|
224
|
-
'taskId',
|
|
225
|
-
'processInstanceId',
|
|
226
|
-
'startedBy',
|
|
227
|
-
'errorMessage',
|
|
228
|
-
'callInterParamValue',
|
|
229
|
-
'builtInFuncParamValue',
|
|
230
|
-
'pageParamKey',
|
|
231
|
-
'pageParamKeyValue',
|
|
232
|
-
'argument',
|
|
233
|
-
'select',
|
|
234
|
-
'from',
|
|
235
|
-
'limit',
|
|
236
|
-
'orderElement',
|
|
237
|
-
'aggregateParam',
|
|
238
|
-
'order',
|
|
239
|
-
'pageElement',
|
|
240
|
-
'pageSizeElement',
|
|
241
|
-
'groupElement',
|
|
242
|
-
];
|
|
243
|
-
export const logicItemArrayKeyOfLogicItem: string[] = [
|
|
244
|
-
'body',
|
|
245
|
-
'consequent',
|
|
246
|
-
'alternate',
|
|
247
|
-
'cases',
|
|
248
|
-
'params',
|
|
249
|
-
'arguments',
|
|
250
|
-
'builtInFuncParams',
|
|
251
|
-
'groupBy',
|
|
252
|
-
'orderBy',
|
|
253
|
-
'selectElementList',
|
|
254
|
-
'joinPartList',
|
|
255
|
-
'onExpressionList',
|
|
256
|
-
'where',
|
|
257
|
-
'having',
|
|
258
|
-
];
|
|
259
|
-
|
|
260
|
-
export function catchFn(logic: Logic) {
|
|
261
|
-
return async (err: any) => {
|
|
262
|
-
if (err.code !== BusinessCode.HasReferenced)
|
|
263
|
-
// 节点被引用,不用刷新数据
|
|
264
|
-
await refreshLogic(logic);
|
|
265
|
-
else
|
|
266
|
-
config.defaultApp?.emit('saved', err);
|
|
267
|
-
|
|
268
|
-
config.defaultApp?.history.load();
|
|
269
|
-
throw err;
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* 逻辑项类
|
|
275
|
-
*/
|
|
276
|
-
export class LogicItem extends Vertex {
|
|
277
|
-
/**
|
|
278
|
-
* 概念类型
|
|
279
|
-
*/
|
|
280
|
-
@immutable()
|
|
281
|
-
public readonly level: LEVEL_ENUM = LEVEL_ENUM.logicItem;
|
|
282
|
-
/**
|
|
283
|
-
* Id
|
|
284
|
-
*/
|
|
285
|
-
@immutable()
|
|
286
|
-
public readonly id: string = undefined;
|
|
287
|
-
/**
|
|
288
|
-
* 父级 Id
|
|
289
|
-
*/
|
|
290
|
-
@immutable()
|
|
291
|
-
public readonly parentId: string = undefined;
|
|
292
|
-
/**
|
|
293
|
-
* 所属父级属性
|
|
294
|
-
*/
|
|
295
|
-
@immutable()
|
|
296
|
-
public readonly parentAttr: string = undefined;
|
|
297
|
-
@excludedInJSON()
|
|
298
|
-
@immutable()
|
|
299
|
-
public readonly parent: LogicItem = undefined;
|
|
300
|
-
@immutable()
|
|
301
|
-
public readonly logicId: string = undefined;
|
|
302
|
-
@immutable()
|
|
303
|
-
public readonly logic: Logic = undefined;
|
|
304
|
-
/**
|
|
305
|
-
* 标题
|
|
306
|
-
*/
|
|
307
|
-
@immutable()
|
|
308
|
-
public readonly label: string = undefined;
|
|
309
|
-
@immutable()
|
|
310
|
-
public folded: boolean = false;
|
|
311
|
-
@immutable()
|
|
312
|
-
public placeholderName: string = undefined;
|
|
313
|
-
/**
|
|
314
|
-
* OffsetX
|
|
315
|
-
*/
|
|
316
|
-
@immutable()
|
|
317
|
-
public readonly offsetX: number = undefined;
|
|
318
|
-
/**
|
|
319
|
-
* OffsetY
|
|
320
|
-
*/
|
|
321
|
-
@immutable()
|
|
322
|
-
public readonly offsetY: number = undefined;
|
|
323
|
-
/**
|
|
324
|
-
* 所在位置
|
|
325
|
-
*/
|
|
326
|
-
@immutable()
|
|
327
|
-
public readonly _posIndex: number = undefined;
|
|
328
|
-
/**
|
|
329
|
-
* 标题
|
|
330
|
-
*/
|
|
331
|
-
@immutable()
|
|
332
|
-
public readonly type: string = undefined;
|
|
333
|
-
/**
|
|
334
|
-
* Ref
|
|
335
|
-
*/
|
|
336
|
-
@excludedInJSON()
|
|
337
|
-
@immutable()
|
|
338
|
-
public readonly refTarget: any = undefined;
|
|
339
|
-
@immutable()
|
|
340
|
-
public readonly callInterParam: any = undefined;
|
|
341
|
-
@immutable()
|
|
342
|
-
public readonly callInterParamValue: any = undefined;
|
|
343
|
-
|
|
344
|
-
@immutable()
|
|
345
|
-
public readonly builtInFuncParamValue: any = undefined;
|
|
346
|
-
|
|
347
|
-
@immutable()
|
|
348
|
-
public readonly pageParamKey: any = undefined;
|
|
349
|
-
@immutable()
|
|
350
|
-
public readonly pageParamKeyValue: any = undefined;
|
|
351
|
-
/**
|
|
352
|
-
* CallQueryComponent 对应的 structure 的 id
|
|
353
|
-
*/
|
|
354
|
-
@immutable()
|
|
355
|
-
public readonly structureRef: string = undefined;
|
|
356
|
-
@immutable()
|
|
357
|
-
public readonly schema?: Schema = undefined;
|
|
358
|
-
/**
|
|
359
|
-
* 类型校验结果
|
|
360
|
-
*/
|
|
361
|
-
@excludedInJSON()
|
|
362
|
-
public typeCheckNote: any = undefined;
|
|
363
|
-
/**
|
|
364
|
-
* @param source 需要合并的部分参数
|
|
365
|
-
*/
|
|
366
|
-
constructor(source?: Partial<LogicItem>) {
|
|
367
|
-
super();
|
|
368
|
-
source && this.assign(source);
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* 纯前端添加
|
|
372
|
-
*/
|
|
373
|
-
addIn(parent: LogicItem, parentId: string, parentAttr: string, _posIndex: number) {
|
|
374
|
-
if (!parent) {
|
|
375
|
-
if (!this.logic)
|
|
376
|
-
return;
|
|
377
|
-
if (this.logic.playgroundId === parentId) {
|
|
378
|
-
// In playgroundId
|
|
379
|
-
const index = _posIndex || this.logic.playground.length;
|
|
380
|
-
this.logic.playground.splice(index, 0, this);
|
|
381
|
-
} else {
|
|
382
|
-
// In main body 这个后面让忠杰改成数组吧
|
|
383
|
-
const index = this.logic.body.findIndex((item) => item.id === parentId);
|
|
384
|
-
~index && this.logic.body.splice(index + 1, 0, this);
|
|
385
|
-
this.logic.body.forEach((item, index) => {
|
|
386
|
-
if (index) {
|
|
387
|
-
item.assign({ parentId: this.logic.body[index - 1].id });
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
} else {
|
|
392
|
-
this.assign({ parent, parentAttr });
|
|
393
|
-
const attr = parent[parentAttr as keyof LogicItem];
|
|
394
|
-
if (Array.isArray(attr)) {
|
|
395
|
-
const index = _posIndex;
|
|
396
|
-
~index && attr.splice(index, 0, this);
|
|
397
|
-
} else {
|
|
398
|
-
if (!parentAttr)
|
|
399
|
-
return;
|
|
400
|
-
parent.assign({ [parentAttr]: this });
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* @temp 临时的
|
|
406
|
-
* @param body
|
|
407
|
-
*/
|
|
408
|
-
static preprocess(body: any) {
|
|
409
|
-
traverse(
|
|
410
|
-
(current) => {
|
|
411
|
-
delete current.node.editable;
|
|
412
|
-
if (current.node.type !== 'ForEachStatement')
|
|
413
|
-
delete current.node.index;
|
|
414
|
-
|
|
415
|
-
// 处理 CallGraphQL
|
|
416
|
-
if (current.node.type === 'CallGraphQL') {
|
|
417
|
-
const body = current.node;
|
|
418
|
-
delete body.paramsType;
|
|
419
|
-
delete body.optionalParams;
|
|
420
|
-
body.params
|
|
421
|
-
&& body.params.forEach((param: any, index: number) => {
|
|
422
|
-
param._posIndex = index;
|
|
423
|
-
});
|
|
424
|
-
delete body.querySchemaMap;
|
|
425
|
-
delete body.singularResolverName;
|
|
426
|
-
body.querySchemaList = JSON.stringify(body.querySchemaList || []);
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
{ node: body },
|
|
430
|
-
{ mode: 'anyObject' },
|
|
431
|
-
);
|
|
432
|
-
|
|
433
|
-
// 处理 CallInterface
|
|
434
|
-
if (body.type === 'CallInterface') {
|
|
435
|
-
delete body.paramsType;
|
|
436
|
-
delete body.optionalParams;
|
|
437
|
-
|
|
438
|
-
body.params.forEach((param: any, index: number) => {
|
|
439
|
-
param._posIndex = index;
|
|
440
|
-
});
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
/**
|
|
444
|
-
* 创建
|
|
445
|
-
* @requires this.logic
|
|
446
|
-
* @param parent
|
|
447
|
-
* @param parentId
|
|
448
|
-
* @param parentAttr
|
|
449
|
-
* @param _posIndex
|
|
450
|
-
* @param cache 在前端不处理节点
|
|
451
|
-
*/
|
|
452
|
-
async create(
|
|
453
|
-
{
|
|
454
|
-
parent,
|
|
455
|
-
parentId,
|
|
456
|
-
parentAttr,
|
|
457
|
-
_posIndex,
|
|
458
|
-
cache,
|
|
459
|
-
offsetX,
|
|
460
|
-
offsetY,
|
|
461
|
-
}: {
|
|
462
|
-
parent: LogicItem;
|
|
463
|
-
parentId: string;
|
|
464
|
-
parentAttr: string;
|
|
465
|
-
_posIndex?: number;
|
|
466
|
-
cache?: boolean;
|
|
467
|
-
offsetX?: number;
|
|
468
|
-
offsetY?: number;
|
|
469
|
-
},
|
|
470
|
-
actionOptions?: ActionOptions,
|
|
471
|
-
) {
|
|
472
|
-
config.defaultApp?.emit('saving');
|
|
473
|
-
|
|
474
|
-
const prevParent = this.parent;
|
|
475
|
-
if (parent) {
|
|
476
|
-
const attr = parent[parentAttr as keyof LogicItem];
|
|
477
|
-
if (_posIndex === undefined && Array.isArray(attr))
|
|
478
|
-
_posIndex = attr.length;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
offsetX = offsetX ?? this.offsetX;
|
|
482
|
-
offsetY = offsetY ?? this.offsetY;
|
|
483
|
-
const body = this.toJSON();
|
|
484
|
-
body.parentId = parentId;
|
|
485
|
-
body.parentAttr = parentAttr;
|
|
486
|
-
body._posIndex = _posIndex;
|
|
487
|
-
body.offsetX = offsetX;
|
|
488
|
-
body.offsetY = offsetY;
|
|
489
|
-
|
|
490
|
-
LogicItem.preprocess(body);
|
|
491
|
-
|
|
492
|
-
let result: LogicItem;
|
|
493
|
-
if (actionOptions?.actionMode !== ACTION_MODE.undoRedo) {
|
|
494
|
-
utils.logger.debug(`在该逻辑节点的属性"${parentAttr}"上插入一个节点"`, body);
|
|
495
|
-
|
|
496
|
-
body.logicId = this.logic && this.logic.id;
|
|
497
|
-
result = await logicService
|
|
498
|
-
.addItem({
|
|
499
|
-
headers: {
|
|
500
|
-
moduleType: this.logic && this.logic.moduleType,
|
|
501
|
-
appId: config.defaultApp?.id,
|
|
502
|
-
serviceId: this.logic?.interface?.serviceId,
|
|
503
|
-
operationAction: 'LogicItem.create',
|
|
504
|
-
operationDesc: actionOptions?.actionDesc || `添加逻辑项"${this.label || this.type}"`,
|
|
505
|
-
operationIgnore: actionOptions?.actionIgnore,
|
|
506
|
-
},
|
|
507
|
-
body,
|
|
508
|
-
})
|
|
509
|
-
.catch(catchFn(this.logic));
|
|
510
|
-
this.deepPick(result, ['id', 'parentId', 'parentAttr', 'joinPartRef', 'structureRef']);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
this.assign({
|
|
514
|
-
parent,
|
|
515
|
-
parentId,
|
|
516
|
-
parentAttr,
|
|
517
|
-
offsetX,
|
|
518
|
-
offsetY,
|
|
519
|
-
logicId: this.logic && this.logic.id,
|
|
520
|
-
});
|
|
521
|
-
LogicItem.from(this, this.logic, this.parent, false);
|
|
522
|
-
|
|
523
|
-
!cache && this.addIn(parent, parentId, parentAttr, _posIndex);
|
|
524
|
-
|
|
525
|
-
utils.traverse(
|
|
526
|
-
({ node }) => {
|
|
527
|
-
if (node.type === LOGIC_TYPE.CallQueryComponent) {
|
|
528
|
-
// 兼容 流程-流程节点 内部逻辑
|
|
529
|
-
const service = this.logic.processComponent ? this.logic.processComponent.process?.service : this.logic.interface?.service;
|
|
530
|
-
const structure = Structure.from(
|
|
531
|
-
{
|
|
532
|
-
id: node.structureRef,
|
|
533
|
-
},
|
|
534
|
-
service,
|
|
535
|
-
);
|
|
536
|
-
structure.loadPro();
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
{ node: this },
|
|
540
|
-
{
|
|
541
|
-
mode: 'anyObject',
|
|
542
|
-
excludedKeySet: this.JSON_EXCLUDED_KEYS,
|
|
543
|
-
},
|
|
544
|
-
);
|
|
545
|
-
|
|
546
|
-
this.logic && this.logic.emit('change');
|
|
547
|
-
|
|
548
|
-
if (actionOptions?.checkTypeIgnore !== true) {
|
|
549
|
-
this.checkType();
|
|
550
|
-
prevParent && prevParent.checkType();
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
await config.defaultApp?.history.load(
|
|
554
|
-
actionOptions?.actionMode !== ACTION_MODE.undoRedo && {
|
|
555
|
-
operationAction: 'LogicItem.create',
|
|
556
|
-
operationBeforeImage: null,
|
|
557
|
-
operationAfterImage: JSON.parse(JSON.stringify(this)),
|
|
558
|
-
operationDesc: `添加逻辑项"${this.label || this.type}"`,
|
|
559
|
-
},
|
|
560
|
-
);
|
|
561
|
-
config.defaultApp?.emit('saved');
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* 创建或移动
|
|
565
|
-
* @requires this.logic
|
|
566
|
-
* @param parent
|
|
567
|
-
* @param parentId
|
|
568
|
-
* @param parentAttr
|
|
569
|
-
* @param _posIndex
|
|
570
|
-
* @param cache 在前端不处理节点
|
|
571
|
-
*/
|
|
572
|
-
async move(
|
|
573
|
-
{
|
|
574
|
-
parent,
|
|
575
|
-
parentId,
|
|
576
|
-
parentAttr,
|
|
577
|
-
_posIndex,
|
|
578
|
-
cache,
|
|
579
|
-
offsetX,
|
|
580
|
-
offsetY,
|
|
581
|
-
}: {
|
|
582
|
-
parent: LogicItem;
|
|
583
|
-
parentId: string;
|
|
584
|
-
parentAttr: string;
|
|
585
|
-
_posIndex?: number;
|
|
586
|
-
cache?: boolean;
|
|
587
|
-
offsetX?: number;
|
|
588
|
-
offsetY?: number;
|
|
589
|
-
},
|
|
590
|
-
actionOptions?: ActionOptions,
|
|
591
|
-
) {
|
|
592
|
-
config.defaultApp?.emit('saving');
|
|
593
|
-
|
|
594
|
-
const prevParent = this.parent;
|
|
595
|
-
if (parentAttr && !parent) {
|
|
596
|
-
parent = vertexsMap.get(parentId) as LogicItem;
|
|
597
|
-
}
|
|
598
|
-
if (parent) {
|
|
599
|
-
const attr = parent[parentAttr as keyof LogicItem];
|
|
600
|
-
if (_posIndex === undefined && Array.isArray(attr))
|
|
601
|
-
_posIndex = attr.length;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
const body = this.toJSON();
|
|
605
|
-
body.parentId = parentId;
|
|
606
|
-
body.parentAttr = parentAttr;
|
|
607
|
-
body._posIndex = _posIndex;
|
|
608
|
-
|
|
609
|
-
LogicItem.preprocess(body);
|
|
610
|
-
|
|
611
|
-
if (actionOptions?.actionMode !== ACTION_MODE.undoRedo) {
|
|
612
|
-
utils.logger.debug(`在该逻辑节点的属性"${parentAttr}"上插入一个节点"`, body);
|
|
613
|
-
|
|
614
|
-
await logicService
|
|
615
|
-
.moveItem({
|
|
616
|
-
headers: {
|
|
617
|
-
moduleType: this.logic && this.logic.moduleType,
|
|
618
|
-
appId: config.defaultApp?.id,
|
|
619
|
-
operationAction: 'LogicItem.move',
|
|
620
|
-
operationDesc: actionOptions?.actionDesc || `移动逻辑项"${this.label || this.type}"`,
|
|
621
|
-
},
|
|
622
|
-
body: {
|
|
623
|
-
id: body.id,
|
|
624
|
-
moveFromLogicItem: {
|
|
625
|
-
parentId: this.parentId,
|
|
626
|
-
parentAttr: this.parentAttr,
|
|
627
|
-
_posIndex: this._posIndex,
|
|
628
|
-
offsetX: this.offsetX,
|
|
629
|
-
offsetY: this.offsetY,
|
|
630
|
-
},
|
|
631
|
-
moveToLogicItem: {
|
|
632
|
-
parentId,
|
|
633
|
-
parentAttr,
|
|
634
|
-
_posIndex,
|
|
635
|
-
offsetX,
|
|
636
|
-
offsetY,
|
|
637
|
-
},
|
|
638
|
-
},
|
|
639
|
-
})
|
|
640
|
-
.catch(catchFn(this.logic));
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
if (!(this.parentId === parentId && this.parentId === this.logic.playgroundId && this.parentAttr === parentAttr)) {
|
|
644
|
-
// 以下几句顺序不能变,注意!
|
|
645
|
-
!cache && this.remove();
|
|
646
|
-
this.assign({
|
|
647
|
-
parent,
|
|
648
|
-
parentId,
|
|
649
|
-
parentAttr,
|
|
650
|
-
offsetX,
|
|
651
|
-
offsetY,
|
|
652
|
-
});
|
|
653
|
-
!cache && this.addIn(parent, parentId, parentAttr, _posIndex);
|
|
654
|
-
} else {
|
|
655
|
-
this.assign({
|
|
656
|
-
offsetX,
|
|
657
|
-
offsetY,
|
|
658
|
-
});
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
this.logic && this.logic.emit('change');
|
|
662
|
-
|
|
663
|
-
this.checkType();
|
|
664
|
-
prevParent && prevParent.checkType();
|
|
665
|
-
|
|
666
|
-
await config.defaultApp?.history.load(
|
|
667
|
-
actionOptions?.actionMode !== ACTION_MODE.undoRedo && {
|
|
668
|
-
operationAction: 'LogicItem.move',
|
|
669
|
-
operationBeforeImage: null,
|
|
670
|
-
operationAfterImage: null,
|
|
671
|
-
operationDesc: `移动逻辑项"${this.label || this.type}"`,
|
|
672
|
-
},
|
|
673
|
-
);
|
|
674
|
-
config.defaultApp?.emit('saved');
|
|
675
|
-
}
|
|
676
|
-
/**
|
|
677
|
-
* 创建或移动
|
|
678
|
-
* @requires this.logic
|
|
679
|
-
* @param parent
|
|
680
|
-
* @param parentId
|
|
681
|
-
* @param parentAttr
|
|
682
|
-
* @param _posIndex
|
|
683
|
-
* @param cache 在前端不处理节点
|
|
684
|
-
*/
|
|
685
|
-
createOrMove(
|
|
686
|
-
options: {
|
|
687
|
-
parent: LogicItem;
|
|
688
|
-
parentId: string;
|
|
689
|
-
parentAttr: string;
|
|
690
|
-
_posIndex?: number;
|
|
691
|
-
cache?: boolean;
|
|
692
|
-
offsetX?: number;
|
|
693
|
-
offsetY?: number;
|
|
694
|
-
},
|
|
695
|
-
actionOptions?: ActionOptions,
|
|
696
|
-
) {
|
|
697
|
-
if (this.id)
|
|
698
|
-
return this.move(options, actionOptions);
|
|
699
|
-
else
|
|
700
|
-
return this.create(options, actionOptions);
|
|
701
|
-
}
|
|
702
|
-
/**
|
|
703
|
-
* 粘贴
|
|
704
|
-
* @param logicItems
|
|
705
|
-
* @param targetType
|
|
706
|
-
* @param targetId
|
|
707
|
-
*/
|
|
708
|
-
static async paste(logicItems: LogicItem[] | LogicItem, targetType: 'logic' | 'html' | 'processComponent', targetId: string) {
|
|
709
|
-
config.defaultApp?.emit('saving');
|
|
710
|
-
|
|
711
|
-
if (!Array.isArray(logicItems))
|
|
712
|
-
logicItems = [logicItems];
|
|
713
|
-
|
|
714
|
-
logicItems.forEach((logicItem) => {
|
|
715
|
-
LogicItem.preprocess(logicItem);
|
|
716
|
-
});
|
|
717
|
-
const res = await logicService
|
|
718
|
-
.paste({
|
|
719
|
-
body: {
|
|
720
|
-
type: 'logicItem',
|
|
721
|
-
logicItems,
|
|
722
|
-
targetId,
|
|
723
|
-
targetType,
|
|
724
|
-
},
|
|
725
|
-
headers: {
|
|
726
|
-
appId: config.defaultApp?.id,
|
|
727
|
-
operationAction: 'LogicItem.paste',
|
|
728
|
-
operationDesc: `粘贴逻辑项"${logicItems[0].label || logicItems[0].type}"`,
|
|
729
|
-
},
|
|
730
|
-
})
|
|
731
|
-
.catch(catchFn(vertexsMap.get(targetId) as Logic));
|
|
732
|
-
|
|
733
|
-
LogicItem.redoPaste(res);
|
|
734
|
-
}
|
|
735
|
-
static async redoPaste(res: any) {
|
|
736
|
-
const logic = vertexsMap.get(res.targetId) as Logic;
|
|
737
|
-
res.logicItems.forEach((logicItem: LogicItem) => {
|
|
738
|
-
logicItem = LogicItem.from(logicItem, logic, null);
|
|
739
|
-
logic.playground.push(logicItem);
|
|
740
|
-
logicItem.checkType();
|
|
741
|
-
|
|
742
|
-
utils.traverse(
|
|
743
|
-
({ node }) => {
|
|
744
|
-
if (node.type === LOGIC_TYPE.CallQueryComponent) {
|
|
745
|
-
// 兼容 流程-流程节点 内部逻辑
|
|
746
|
-
const service = node.logic.processComponent ? node.logic.processComponent.process?.service : node.logic.interface?.service;
|
|
747
|
-
const structure = Structure.from(
|
|
748
|
-
{
|
|
749
|
-
id: node.structureRef,
|
|
750
|
-
},
|
|
751
|
-
service,
|
|
752
|
-
);
|
|
753
|
-
structure.loadPro();
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
{ node: logicItem },
|
|
757
|
-
{
|
|
758
|
-
mode: 'anyObject',
|
|
759
|
-
excludedKeySet: logicItem.JSON_EXCLUDED_KEYS,
|
|
760
|
-
},
|
|
761
|
-
);
|
|
762
|
-
});
|
|
763
|
-
|
|
764
|
-
await config.defaultApp?.history.load();
|
|
765
|
-
config.defaultApp?.emit('saved');
|
|
766
|
-
}
|
|
767
|
-
static async undoPaste(res: any) {
|
|
768
|
-
const logic = vertexsMap.get(res.targetId) as Logic;
|
|
769
|
-
const { playground } = logic;
|
|
770
|
-
for (let i = playground.length - 1; i >= 0; i--) {
|
|
771
|
-
if (res.logicItems.find((item: any) => item.id === playground[i].id)) {
|
|
772
|
-
typeCheck.delete(playground[i].id);
|
|
773
|
-
playground.splice(i, 1);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
logic.interface?.service?.syncStructures(); // 处理 CallQueryComponent 嵌套的情形
|
|
778
|
-
|
|
779
|
-
await config.defaultApp?.history.load();
|
|
780
|
-
config.defaultApp?.emit('saved');
|
|
781
|
-
}
|
|
782
|
-
/**
|
|
783
|
-
* 粘贴预处理,用于粘贴到表达式输入弹窗。此处,粘贴没有立即提交到后端,点击确定按钮后才提交。
|
|
784
|
-
* @param logicItems
|
|
785
|
-
* @param targetType
|
|
786
|
-
* @param targetId
|
|
787
|
-
*/
|
|
788
|
-
static async pretreatmentBeforePaste(logicItems: LogicItem[] | LogicItem, targetType: 'logic' | 'html' | 'processComponent', targetId: string) {
|
|
789
|
-
if (!Array.isArray(logicItems))
|
|
790
|
-
logicItems = [logicItems];
|
|
791
|
-
|
|
792
|
-
logicItems.forEach((logicItem) => {
|
|
793
|
-
LogicItem.preprocess(logicItem);
|
|
794
|
-
});
|
|
795
|
-
|
|
796
|
-
function removeId(logicItems: LogicItem[]) {
|
|
797
|
-
return JSON.parse(JSON.stringify(logicItems, (key, value) => (key === 'id' ? undefined : value)));
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
return logicService
|
|
801
|
-
.pretreatmentBeforePaste({
|
|
802
|
-
body: {
|
|
803
|
-
type: 'logicItem',
|
|
804
|
-
logicItems,
|
|
805
|
-
targetId,
|
|
806
|
-
targetType,
|
|
807
|
-
},
|
|
808
|
-
})
|
|
809
|
-
.then((res: any) => {
|
|
810
|
-
res.logicItems = removeId(res.logicItems);
|
|
811
|
-
return res;
|
|
812
|
-
});
|
|
813
|
-
}
|
|
814
|
-
/**
|
|
815
|
-
* 纯前端创建
|
|
816
|
-
*/
|
|
817
|
-
virtualCreate(parent: LogicItem, parentId: string, parentAttr: string, _posIndex?: number, cache?: boolean) {
|
|
818
|
-
if (parent) {
|
|
819
|
-
const attr = parent[parentAttr as keyof LogicItem];
|
|
820
|
-
if (_posIndex === undefined && Array.isArray(attr))
|
|
821
|
-
_posIndex = attr.length;
|
|
822
|
-
}
|
|
823
|
-
this.addIn(parent, parentId, parentAttr, _posIndex);
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* 纯前端 replaceWith
|
|
828
|
-
*/
|
|
829
|
-
async virtualReplaceWith(logicItem: LogicItem) {
|
|
830
|
-
this.remove();
|
|
831
|
-
|
|
832
|
-
let _posIndex: number;
|
|
833
|
-
if (this.parent) {
|
|
834
|
-
const attr = this.parent[this.parentAttr as keyof LogicItem];
|
|
835
|
-
if (Array.isArray(attr))
|
|
836
|
-
_posIndex = attr.indexOf(this);
|
|
837
|
-
}
|
|
838
|
-
logicItem.virtualCreate(this.parent, this.parentId, this.parentAttr, _posIndex, false);
|
|
839
|
-
this.assign(logicItem);
|
|
840
|
-
return this;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* 纯前端删除
|
|
845
|
-
*/
|
|
846
|
-
remove() {
|
|
847
|
-
// 处理 old
|
|
848
|
-
if (!this.parent) {
|
|
849
|
-
if (!this.logic)
|
|
850
|
-
return;
|
|
851
|
-
if (this.logic.playgroundId === this.parentId) {
|
|
852
|
-
// In playgroundId
|
|
853
|
-
const index = this.logic.playground.indexOf(this);
|
|
854
|
-
~index && this.logic.playground.splice(index, 1);
|
|
855
|
-
} else {
|
|
856
|
-
// In main body 这个后面让忠杰改成数组吧
|
|
857
|
-
const index = this.logic.body.indexOf(this);
|
|
858
|
-
~index && this.logic.body.splice(index, 1);
|
|
859
|
-
this.logic.body.forEach((item, index) => {
|
|
860
|
-
if (index) {
|
|
861
|
-
item.assign({ parentId: this.logic.body[index - 1].id });
|
|
862
|
-
}
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
} else {
|
|
866
|
-
const attr = this.parent[this.parentAttr as keyof LogicItem];
|
|
867
|
-
if (Array.isArray(attr)) {
|
|
868
|
-
const index = attr.indexOf(this);
|
|
869
|
-
~index && attr.splice(index, 1);
|
|
870
|
-
} else {
|
|
871
|
-
this.parent.assign({ [this.parentAttr]: null });
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* 删除逻辑节点
|
|
877
|
-
* @param cache 在前端不处理节点
|
|
878
|
-
*/
|
|
879
|
-
@action('删除逻辑节点')
|
|
880
|
-
async delete(cache?: boolean, actionOptions?: ActionOptions) {
|
|
881
|
-
config.defaultApp?.emit('saving');
|
|
882
|
-
|
|
883
|
-
if (actionOptions?.actionMode !== ACTION_MODE.undoRedo) {
|
|
884
|
-
if (this.id) {
|
|
885
|
-
const body = this.toPlainJSON();
|
|
886
|
-
/// @TODO: 不知道哪里来的 index
|
|
887
|
-
delete body.index;
|
|
888
|
-
///
|
|
889
|
-
|
|
890
|
-
await logicService
|
|
891
|
-
.removeItem({
|
|
892
|
-
headers: {
|
|
893
|
-
moduleType: this.logic?.moduleType,
|
|
894
|
-
appId: config.defaultApp?.id,
|
|
895
|
-
serviceId: this.logic?.interface?.serviceId,
|
|
896
|
-
operationAction: 'LogicItem.delete',
|
|
897
|
-
operationDesc: `删除逻辑项"${this.label || this.type}"`,
|
|
898
|
-
},
|
|
899
|
-
body,
|
|
900
|
-
})
|
|
901
|
-
.catch(catchFn(this.logic));
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
if (this.id) {
|
|
906
|
-
typeCheck.delete(this.id);
|
|
907
|
-
this.logic?.interface?.service?.syncStructures(); // 处理 CallQueryComponent 嵌套的情形
|
|
908
|
-
|
|
909
|
-
const parent: LogicItem = this.parent;
|
|
910
|
-
if (parent && parent.checkType) {
|
|
911
|
-
parent.checkType();
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
!cache && this.remove();
|
|
916
|
-
this.destroy();
|
|
917
|
-
this.logic && this.logic.emit('change');
|
|
918
|
-
await config.defaultApp?.history.load(
|
|
919
|
-
actionOptions?.actionMode !== ACTION_MODE.undoRedo && {
|
|
920
|
-
operationAction: 'LogicItem.delete',
|
|
921
|
-
operationBeforeImage: JSON.parse(JSON.stringify(this)),
|
|
922
|
-
operationAfterImage: null,
|
|
923
|
-
operationDesc: `删除逻辑项"${this.label || this.type}"`,
|
|
924
|
-
},
|
|
925
|
-
);
|
|
926
|
-
config.defaultApp?.emit('saved');
|
|
927
|
-
}
|
|
928
|
-
/**
|
|
929
|
-
* LogicItem 有选择框的情况,为了减少变量变更,使用 replaceWith 的方式
|
|
930
|
-
*/
|
|
931
|
-
async replaceWith(logicItem: LogicItem) {
|
|
932
|
-
await this.delete(true);
|
|
933
|
-
|
|
934
|
-
let _posIndex: number;
|
|
935
|
-
if (this.parent) {
|
|
936
|
-
const attr = this.parent[this.parentAttr as keyof LogicItem];
|
|
937
|
-
if (Array.isArray(attr))
|
|
938
|
-
_posIndex = attr.indexOf(this);
|
|
939
|
-
}
|
|
940
|
-
await logicItem.createOrMove({
|
|
941
|
-
parent: this.parent,
|
|
942
|
-
parentId: this.parentId,
|
|
943
|
-
parentAttr: this.parentAttr,
|
|
944
|
-
_posIndex,
|
|
945
|
-
cache: true,
|
|
946
|
-
});
|
|
947
|
-
logicItem.assign({
|
|
948
|
-
offsetX: this.offsetX,
|
|
949
|
-
offsetY: this.offsetY,
|
|
950
|
-
});
|
|
951
|
-
this.assign(logicItem);
|
|
952
|
-
this.logic && this.logic.emit('change');
|
|
953
|
-
return this;
|
|
954
|
-
}
|
|
955
|
-
/**
|
|
956
|
-
* 修改逻辑项
|
|
957
|
-
*/
|
|
958
|
-
async update(source?: LogicItem, actionOptions?: ActionOptions) {
|
|
959
|
-
config.defaultApp?.emit('saving');
|
|
960
|
-
|
|
961
|
-
if (source) {
|
|
962
|
-
// 处理子节点
|
|
963
|
-
if (Object.values(source).some((value) => typeof value === 'object')) {
|
|
964
|
-
source = LogicItem.from(source, this.logic, this.parent);
|
|
965
|
-
utils.clearObject(source);
|
|
966
|
-
}
|
|
967
|
-
this.assign(source);
|
|
968
|
-
}
|
|
969
|
-
const body = this.toJSON();
|
|
970
|
-
|
|
971
|
-
body.params = (this as any).params && JSON.parse(JSON.stringify((this as any).params));
|
|
972
|
-
body.querySchemaList = (this as any).querySchemaList && Array.from((this as any).querySchemaList);
|
|
973
|
-
body.returnSchema = (this as any).returnSchema;
|
|
974
|
-
|
|
975
|
-
if (this.parentAttr === 'item')
|
|
976
|
-
body.schema = (this as any).schema;
|
|
977
|
-
|
|
978
|
-
if (this.type === 'TypeNote')
|
|
979
|
-
body.schema = (this as any).schema;
|
|
980
|
-
|
|
981
|
-
LogicItem.preprocess(body);
|
|
982
|
-
|
|
983
|
-
utils.logger.debug('修改逻辑项', body);
|
|
984
|
-
if (actionOptions?.actionMode !== ACTION_MODE.undoRedo) {
|
|
985
|
-
const result = await logicService
|
|
986
|
-
.updateItem({
|
|
987
|
-
headers: {
|
|
988
|
-
moduleType: this.logic.moduleType,
|
|
989
|
-
appId: config.defaultApp?.id,
|
|
990
|
-
operationAction: 'LogicItem.update',
|
|
991
|
-
operationDesc: `修改逻辑项"${this.label || this.type}"`,
|
|
992
|
-
operationIgnore: actionOptions?.actionIgnore,
|
|
993
|
-
},
|
|
994
|
-
body,
|
|
995
|
-
})
|
|
996
|
-
.catch(catchFn(this.logic));
|
|
997
|
-
|
|
998
|
-
// 合并params里的id
|
|
999
|
-
if (body.params && body.params.length) {
|
|
1000
|
-
const logicItem = LogicItem.from(result, this.logic, this.parent);
|
|
1001
|
-
this.assign({ params: (logicItem as any).params });
|
|
1002
|
-
}
|
|
1003
|
-
if (body.builtInFuncParams && body.builtInFuncParams.length) {
|
|
1004
|
-
const logicItem = LogicItem.from(result, this.logic, this.parent);
|
|
1005
|
-
this.assign({ builtInFuncParams: (logicItem as any).builtInFuncParams });
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
// 处理 each 的问题
|
|
1010
|
-
if (this.parentAttr === 'each') {
|
|
1011
|
-
const each = this;
|
|
1012
|
-
const item: any = (this.parent as LogicNode).item;
|
|
1013
|
-
let eachSchema = getSchemaOfExpressionNode(each);
|
|
1014
|
-
if (eachSchema) {
|
|
1015
|
-
eachSchema = eachSchema.schema || eachSchema;
|
|
1016
|
-
(item as any).schema = eachSchema.items; // 兼容老的items形式
|
|
1017
|
-
if (eachSchema.type === 'genericType') {
|
|
1018
|
-
(item as any).schema = eachSchema.typeInstantiation.typeParams[0].typeParamValue;
|
|
1019
|
-
}
|
|
1020
|
-
if (!(item as any).schema) {
|
|
1021
|
-
(item as any).schema = eachSchema;
|
|
1022
|
-
}
|
|
1023
|
-
return item.update(undefined, {
|
|
1024
|
-
actionIgnore: true,
|
|
1025
|
-
});
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
this.emitVertexIdToNameChange();
|
|
1030
|
-
|
|
1031
|
-
this.logic && this.logic.emit('change');
|
|
1032
|
-
this.checkType();
|
|
1033
|
-
|
|
1034
|
-
await config.defaultApp?.history.load(
|
|
1035
|
-
actionOptions?.actionMode !== ACTION_MODE.undoRedo && {
|
|
1036
|
-
operationAction: 'LogicItem.update',
|
|
1037
|
-
operationBeforeImage: null,
|
|
1038
|
-
operationAfterImage: null,
|
|
1039
|
-
operationDesc: `修改逻辑项"${this.label || this.type}"`,
|
|
1040
|
-
},
|
|
1041
|
-
);
|
|
1042
|
-
config.defaultApp?.emit('saved');
|
|
1043
|
-
return this;
|
|
1044
|
-
}
|
|
1045
|
-
/**
|
|
1046
|
-
* 设置逻辑项标题
|
|
1047
|
-
* @param label 标题
|
|
1048
|
-
*/
|
|
1049
|
-
@action('设置逻辑项标题')
|
|
1050
|
-
async setLabel(label: string) {
|
|
1051
|
-
this.assign({ label });
|
|
1052
|
-
await this.update(undefined, {
|
|
1053
|
-
actionDesc: '设置逻辑项标题',
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
/**
|
|
1057
|
-
* 从后端 JSON 生成规范的 ExpressionNode 对象
|
|
1058
|
-
* @param source JSON
|
|
1059
|
-
* @param logic 父级 logic
|
|
1060
|
-
*/
|
|
1061
|
-
public static from(source: any, logic: Logic, parent: LogicItem, shouldCreateNewItem = true) {
|
|
1062
|
-
if (source.level === LEVEL_ENUM.variable && source.type === LOGIC_TYPE.Identifier)
|
|
1063
|
-
source.code = `ID_${source.id}`;
|
|
1064
|
-
|
|
1065
|
-
let logicItem: LogicItem;
|
|
1066
|
-
if (!shouldCreateNewItem && source instanceof LogicItem)
|
|
1067
|
-
logicItem = source;
|
|
1068
|
-
else
|
|
1069
|
-
logicItem = source.level === 'logicNode' ? new LogicNode(source) : new ExpressionNode(source);
|
|
1070
|
-
|
|
1071
|
-
logicItem.assign({
|
|
1072
|
-
logic,
|
|
1073
|
-
parent,
|
|
1074
|
-
});
|
|
1075
|
-
|
|
1076
|
-
if (logicItem.type === LOGIC_TYPE.CallGraphQL) {
|
|
1077
|
-
const querySchemaList = (logicItem as any).querySchemaList;
|
|
1078
|
-
logicItem.assign({ querySchemaList: querySchemaList && typeof querySchemaList === 'string' ? JSON.parse(querySchemaList || '[]') : querySchemaList });
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
if (logicItem.type === LOGIC_TYPE.CallQueryComponent) {
|
|
1082
|
-
logicItem.assign({
|
|
1083
|
-
logicName: logic.name,
|
|
1084
|
-
serviceId: logic.interface?.serviceId,
|
|
1085
|
-
});
|
|
1086
|
-
}
|
|
1087
|
-
if (['QueryFromExpression', 'QueryJoinExpression', 'QueryAggregateExpression'].includes(logicItem.type)) {
|
|
1088
|
-
logicItem.assign({
|
|
1089
|
-
serviceId: logic?.interface?.serviceId,
|
|
1090
|
-
});
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
logicItemKeyOfLogicItem.forEach((key) => {
|
|
1094
|
-
if (source[key]) {
|
|
1095
|
-
if (source[key].level === LEVEL_ENUM.logicNode)
|
|
1096
|
-
logicItem.assign({ [key]: LogicNode.from(source[key], logic, logicItem) });
|
|
1097
|
-
else if (source[key].level === LEVEL_ENUM.expressionNode || source[key].level === LEVEL_ENUM.variable)
|
|
1098
|
-
logicItem.assign({ [key]: ExpressionNode.from(source[key], logic, logicItem) });
|
|
1099
|
-
else if (!Array.isArray(source[key]) && !Object.keys(source[key]).length)
|
|
1100
|
-
logicItem.assign({ [key]: null });
|
|
1101
|
-
}
|
|
1102
|
-
});
|
|
1103
|
-
|
|
1104
|
-
logicItemArrayKeyOfLogicItem.forEach((key) => {
|
|
1105
|
-
if (Array.isArray(source[key]))
|
|
1106
|
-
logicItem.assign({ [key]: source[key].map((item: any) => LogicItem.from(item, logic, logicItem)) });
|
|
1107
|
-
});
|
|
1108
|
-
|
|
1109
|
-
if ((logicItem as any).callInterParam) {
|
|
1110
|
-
logicItem.assign({ refTarget: LogicItem.getVertexByRef((logicItem as any).callInterParam) });
|
|
1111
|
-
} else if ((logicItem as any).interfaceKey) {
|
|
1112
|
-
logicItem.assign({ refTarget: LogicItem.getVertexByRef((logicItem as any).interfaceKey) });
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
return logicItem;
|
|
1116
|
-
}
|
|
1117
|
-
/**
|
|
1118
|
-
* 校验类型
|
|
1119
|
-
*/
|
|
1120
|
-
async checkType() {
|
|
1121
|
-
let crt: LogicItem = this;
|
|
1122
|
-
const nodes = [];
|
|
1123
|
-
do {
|
|
1124
|
-
if (!['builtInFuncParams'].includes(crt.parentAttr) && !(crt instanceof ExpressionNode && crt.parent instanceof LogicNode) && (crt instanceof ExpressionNode || !crt.parent))
|
|
1125
|
-
nodes.push(crt);
|
|
1126
|
-
|
|
1127
|
-
// CallQueryComponent 内部的节点不用checkType
|
|
1128
|
-
if (crt.parent?.type === LOGIC_TYPE.CallQueryComponent)
|
|
1129
|
-
nodes.splice(0, nodes.length);
|
|
1130
|
-
|
|
1131
|
-
crt = crt.parent;
|
|
1132
|
-
} while (crt instanceof LogicItem);
|
|
1133
|
-
|
|
1134
|
-
for (const node of nodes) {
|
|
1135
|
-
await this._checkType(node);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
private async _checkType(node: LogicItem) {
|
|
1140
|
-
if (checkTypeClient.connect) {
|
|
1141
|
-
checkTypeClient.client.emit('checktype', {
|
|
1142
|
-
id: node.id,
|
|
1143
|
-
type: 'logicItem',
|
|
1144
|
-
logicId: this.logic && this.logic.id,
|
|
1145
|
-
appId: config.defaultApp?.id,
|
|
1146
|
-
});
|
|
1147
|
-
}
|
|
1148
|
-
// const res = await logicService.checkType({
|
|
1149
|
-
// query: {
|
|
1150
|
-
// logicId: this.logic && this.logic.id,
|
|
1151
|
-
// loItemId: node.id,
|
|
1152
|
-
// },
|
|
1153
|
-
// });
|
|
1154
|
-
// if (res) {
|
|
1155
|
-
// res.logicId = this.logic && this.logic.id;
|
|
1156
|
-
// typeCheck.pushAll([res]);
|
|
1157
|
-
|
|
1158
|
-
// LogicItem.assignTypeCheckResult(node, res);
|
|
1159
|
-
// }
|
|
1160
|
-
|
|
1161
|
-
// return res;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
static assignTypeCheckResult(logicItem: LogicItem | LogicItem[], typeCheckResult: any) {
|
|
1165
|
-
if (Array.isArray(logicItem)) {
|
|
1166
|
-
const map = new Map();
|
|
1167
|
-
for (const item of typeCheckResult) {
|
|
1168
|
-
map.set(item.id, item);
|
|
1169
|
-
}
|
|
1170
|
-
for (let i = 0; i < logicItem.length; i++) {
|
|
1171
|
-
LogicItem.assignTypeCheckResult(logicItem[i], map.get(logicItem[i].id));
|
|
1172
|
-
}
|
|
1173
|
-
return;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
if (!typeCheckResult || !logicItem || typeof typeCheckResult !== 'object')
|
|
1177
|
-
return;
|
|
1178
|
-
|
|
1179
|
-
logicItem.typeCheckNote = typeCheckResult.typeCheckNote;
|
|
1180
|
-
|
|
1181
|
-
for (const [key, object] of Object.entries(typeCheckResult)) {
|
|
1182
|
-
if (['id', 'typeCheckNote', 'processComponentId', 'attributes'].includes(key))
|
|
1183
|
-
continue;
|
|
1184
|
-
|
|
1185
|
-
LogicItem.assignTypeCheckResult((logicItem as any)[key], object);
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* 生成 JS 脚本
|
|
1191
|
-
*/
|
|
1192
|
-
toScript() {
|
|
1193
|
-
return '';
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
getLogicItem(type: LOGIC_TYPE) {
|
|
1197
|
-
let node: LogicItem = this;
|
|
1198
|
-
while (node) {
|
|
1199
|
-
if (node.type === LOGIC_TYPE[type])
|
|
1200
|
-
return node;
|
|
1201
|
-
|
|
1202
|
-
node = node.parent;
|
|
1203
|
-
}
|
|
1204
|
-
return undefined;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
getSelectedTabOfCallQueryComponent(activeImage: any) {
|
|
1208
|
-
const map: { [key: string]: string } = {
|
|
1209
|
-
where: 'where',
|
|
1210
|
-
from: 'from',
|
|
1211
|
-
groupBy: 'groupBy',
|
|
1212
|
-
select: 'groupBy',
|
|
1213
|
-
having: 'groupBy',
|
|
1214
|
-
orderBy: 'orderBy',
|
|
1215
|
-
limit: 'orderBy',
|
|
1216
|
-
};
|
|
1217
|
-
|
|
1218
|
-
let node: LogicItem = this;
|
|
1219
|
-
while (node) {
|
|
1220
|
-
if (node.parent?.type === LOGIC_TYPE.CallQueryComponent) {
|
|
1221
|
-
const parentAttr = node.parentAttr;
|
|
1222
|
-
return {
|
|
1223
|
-
tab: map[parentAttr],
|
|
1224
|
-
parentAttr,
|
|
1225
|
-
};
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
node = node.parent;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
if (activeImage?.parentAttr && map[activeImage.parentAttr])
|
|
1232
|
-
return {
|
|
1233
|
-
tab: map[activeImage.parentAttr],
|
|
1234
|
-
parentAttr: activeImage.parentAttr,
|
|
1235
|
-
};
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
export class LogicNode extends LogicItem {
|
|
1240
|
-
/**
|
|
1241
|
-
* 逻辑节点类型
|
|
1242
|
-
*/
|
|
1243
|
-
@immutable()
|
|
1244
|
-
public readonly type: LOGIC_TYPE = undefined;
|
|
1245
|
-
@immutable()
|
|
1246
|
-
public readonly test: ExpressionNode = undefined;
|
|
1247
|
-
@immutable()
|
|
1248
|
-
public readonly consequent: Array<LogicNode> = undefined;
|
|
1249
|
-
public readonly alternate: Array<LogicNode> = undefined;
|
|
1250
|
-
public readonly cases: Array<LogicNode> = undefined;
|
|
1251
|
-
@immutable()
|
|
1252
|
-
public readonly each: ExpressionNode = undefined;
|
|
1253
|
-
@immutable()
|
|
1254
|
-
public readonly item: ExpressionNode = undefined;
|
|
1255
|
-
@immutable()
|
|
1256
|
-
public readonly index: ExpressionNode = undefined;
|
|
1257
|
-
@immutable()
|
|
1258
|
-
public readonly start: ExpressionNode = undefined;
|
|
1259
|
-
@immutable()
|
|
1260
|
-
public readonly end: ExpressionNode = undefined;
|
|
1261
|
-
@immutable()
|
|
1262
|
-
public readonly body: Array<LogicNode> = undefined;
|
|
1263
|
-
@immutable()
|
|
1264
|
-
public readonly operator: string = undefined;
|
|
1265
|
-
@immutable()
|
|
1266
|
-
public readonly left: LogicItem = undefined;
|
|
1267
|
-
@immutable()
|
|
1268
|
-
public readonly right: LogicItem = undefined;
|
|
1269
|
-
@immutable()
|
|
1270
|
-
public readonly arguments: Array<ExpressionNode> = undefined;
|
|
1271
|
-
@immutable()
|
|
1272
|
-
public readonly params: Array<ExpressionNode> = undefined;
|
|
1273
|
-
@immutable()
|
|
1274
|
-
public readonly value: string = undefined;
|
|
1275
|
-
@immutable()
|
|
1276
|
-
public readonly method: string = undefined;
|
|
1277
|
-
@immutable()
|
|
1278
|
-
public readonly entity: string = undefined;
|
|
1279
|
-
@immutable()
|
|
1280
|
-
public readonly action: string = undefined;
|
|
1281
|
-
@immutable()
|
|
1282
|
-
public readonly processDefinitionKey: string = undefined;
|
|
1283
|
-
@immutable()
|
|
1284
|
-
public readonly taskId: string = undefined;
|
|
1285
|
-
@immutable()
|
|
1286
|
-
public readonly finished: string = undefined;
|
|
1287
|
-
@immutable()
|
|
1288
|
-
public readonly processInstanceId: string = undefined;
|
|
1289
|
-
@immutable()
|
|
1290
|
-
public readonly schemaRef: string = undefined;
|
|
1291
|
-
@immutable()
|
|
1292
|
-
public readonly returnSchema: Schema = undefined;
|
|
1293
|
-
@immutable()
|
|
1294
|
-
public readonly cron: string = undefined;
|
|
1295
|
-
@immutable()
|
|
1296
|
-
public readonly page: string = undefined;
|
|
1297
|
-
@immutable()
|
|
1298
|
-
public readonly url: string = undefined;
|
|
1299
|
-
@immutable()
|
|
1300
|
-
public readonly code: string = undefined;
|
|
1301
|
-
@immutable()
|
|
1302
|
-
public readonly calleeCode: string = undefined;
|
|
1303
|
-
@immutable()
|
|
1304
|
-
public readonly interfaceKey: string = undefined;
|
|
1305
|
-
@immutable()
|
|
1306
|
-
public readonly name: string = undefined;
|
|
1307
|
-
@immutable()
|
|
1308
|
-
public readonly from: ExpressionNode = undefined;
|
|
1309
|
-
/**
|
|
1310
|
-
* @param source 需要合并的部分参数
|
|
1311
|
-
*/
|
|
1312
|
-
constructor(source?: Partial<LogicNode>) {
|
|
1313
|
-
super();
|
|
1314
|
-
|
|
1315
|
-
const hasInstantiated = source && source.id && vertexsMap.get(source.id) instanceof LogicNode;
|
|
1316
|
-
if (hasInstantiated) {
|
|
1317
|
-
console.warn(`LogicNode (${source.id}) 多次实例化`);
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
source && this.assign(source);
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
export class ExpressionNode extends LogicItem {
|
|
1325
|
-
/**
|
|
1326
|
-
* 逻辑节点类型
|
|
1327
|
-
*/
|
|
1328
|
-
@immutable()
|
|
1329
|
-
public readonly type: LOGIC_TYPE = undefined;
|
|
1330
|
-
@immutable()
|
|
1331
|
-
public readonly left: LogicItem = undefined;
|
|
1332
|
-
@immutable()
|
|
1333
|
-
public readonly right: LogicItem = undefined;
|
|
1334
|
-
@immutable()
|
|
1335
|
-
public readonly code: string = undefined;
|
|
1336
|
-
@immutable()
|
|
1337
|
-
public readonly name: string = undefined;
|
|
1338
|
-
@immutable()
|
|
1339
|
-
public readonly key: ExpressionNode = undefined;
|
|
1340
|
-
@immutable()
|
|
1341
|
-
public readonly value: string | ExpressionNode = undefined;
|
|
1342
|
-
@immutable()
|
|
1343
|
-
public readonly object: ExpressionNode = undefined;
|
|
1344
|
-
@immutable()
|
|
1345
|
-
public readonly property: ExpressionNode = undefined;
|
|
1346
|
-
@immutable()
|
|
1347
|
-
public readonly operator: string = undefined;
|
|
1348
|
-
@immutable()
|
|
1349
|
-
public readonly properties: Array<ExpressionNode> = undefined;
|
|
1350
|
-
@immutable()
|
|
1351
|
-
public readonly elements: Array<ExpressionNode> = undefined;
|
|
1352
|
-
@immutable()
|
|
1353
|
-
public readonly callee: ExpressionNode = undefined;
|
|
1354
|
-
@immutable()
|
|
1355
|
-
public readonly argument: ExpressionNode = undefined;
|
|
1356
|
-
/**
|
|
1357
|
-
* SchemaRef
|
|
1358
|
-
*/
|
|
1359
|
-
@immutable()
|
|
1360
|
-
public readonly schemaRef: string = undefined;
|
|
1361
|
-
@immutable()
|
|
1362
|
-
public readonly joinType: 'INNER' | 'LEFT' | 'RIGHT' | 'FULL' = undefined;
|
|
1363
|
-
/**
|
|
1364
|
-
* @param source 需要合并的部分参数
|
|
1365
|
-
*/
|
|
1366
|
-
constructor(source?: Partial<ExpressionNode>) {
|
|
1367
|
-
super();
|
|
1368
|
-
source && this.assign(source);
|
|
1369
|
-
}
|
|
1370
|
-
}
|