@lcap/nasl 0.3.15-beta → 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 +6 -5
- package/out/types/data/genBlock/genCreateBlock.js.map +1 -1
- package/out/types/data/genBlock/genEnumSelectBlock.js +1 -1
- package/out/types/data/genBlock/genEnumSelectBlock.js.map +1 -1
- package/out/types/data/genBlock/genGetBlock.js +1 -1
- package/out/types/data/genBlock/genGetBlock.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/genQueryComponent.js +1 -1
- package/out/types/data/genBlock/genQueryComponent.js.map +1 -1
- package/out/types/data/genBlock/genSelectBlock.js +1 -2
- package/out/types/data/genBlock/genSelectBlock.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 +6 -5
- 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/generator/data.js +0 -4
- package/out/types/generator/data.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 -3
- package/out/types/logic/LogicItem.js +48 -113
- 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 -124
- 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 -210
- 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 -1371
- 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
package/DEVELOPMENT.md
CHANGED
|
@@ -1,58 +1,42 @@
|
|
|
1
1
|
# Development
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
#### 改2
|
|
45
|
-
```
|
|
46
|
-
entity.setName('bbb');
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
#### 查
|
|
50
|
-
```
|
|
51
|
-
const entity = new Entity({ id: 'e457acee-d69b-4f5b-bbe5-64ac8fdbf7ce' });
|
|
52
|
-
entity.load(); => handle
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
#### [v] 查列表
|
|
3
|
+
## 目录结构
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
- src/ # 源文件
|
|
7
|
+
- common/ # 通用类
|
|
8
|
+
- concepts/ # 所有概念类
|
|
9
|
+
- decorators/ # 装饰器
|
|
10
|
+
- generator/ # 生成器
|
|
11
|
+
- manager/ # 管理器(类型检查)
|
|
12
|
+
- server/ # LanguageServer
|
|
13
|
+
- service/ # 后端请求 Service
|
|
14
|
+
- templator/ # 生成实体拖拽的模板器
|
|
15
|
+
- terms/ # 术语
|
|
16
|
+
- test/ # 测试脚本,由于 ts 是统一编译,一般就放在 src 下面了
|
|
17
|
+
- translator/ # 翻译器(编译器的部分)
|
|
18
|
+
- utils/ # 工具库
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 依赖层级
|
|
22
|
+
|
|
23
|
+
大家不要反向引用。
|
|
24
|
+
|
|
25
|
+
```mermaid
|
|
26
|
+
graph BT;
|
|
27
|
+
service --> config
|
|
28
|
+
common --> service
|
|
29
|
+
common --> decorators
|
|
30
|
+
common --> translator
|
|
31
|
+
common --> utils
|
|
32
|
+
concepts --> common
|
|
33
|
+
server --> concepts
|
|
34
|
+
manager --> concepts
|
|
35
|
+
templator --> concepts
|
|
36
|
+
generator --> concepts
|
|
37
|
+
designer --> concepts
|
|
38
|
+
designer --> server
|
|
39
|
+
designer --> manager
|
|
40
|
+
designer --> templator
|
|
41
|
+
designer --> generator
|
|
56
42
|
```
|
|
57
|
-
service.loadEntities(); => handle
|
|
58
|
-
```
|
package/README.md
CHANGED
|
@@ -2,10 +2,83 @@
|
|
|
2
2
|
|
|
3
3
|
Software Development Kit of NetEase Application Specific Language.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
NASL SDK 是针对 NASL 投射编辑的无可视化的软件工具包,与用户在编辑器中的实际操作一致。轻舟低代码平台的 IDE 和前端生成服务便是主要以它为核心开发的。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
可运行在 现代浏览器 和 [Node.js](https://nodejs.org) (>=14) 环境上。
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
9
|
+
🧐 NASL SDK 主要包含以下功能:
|
|
10
|
+
|
|
11
|
+
- NASL Object Model,即 NASL 语法树节点结合增删改查等行为的实例化对象,类似 HTML 之于 [DOM](https://developer.mozilla.org/zh-CN/docs/Web/API/Document_Object_Model/Introduction)、CSS 之于 [CSSOM](https://developer.mozilla.org/zh-CN/docs/Glossary/CSSOM)
|
|
12
|
+
- 用于生成中间代码或 Vue 等最终代码的编译方法
|
|
13
|
+
- 实体拖拽的方法
|
|
14
|
+
- 请求、遍历树、去重名等工具库
|
|
15
|
+
- ...
|
|
16
|
+
|
|
17
|
+
NASL SDK 不包含以下功能:
|
|
18
|
+
|
|
19
|
+
- 应用本身的创建和删除
|
|
20
|
+
- 应用的发布
|
|
21
|
+
|
|
22
|
+
## 快速开始 ⏱️
|
|
23
|
+
|
|
24
|
+
我们以一个在 Node.js 环境运行的脚本为例,您可以在上面进行快速开发。这里推荐使用 [TypeScript](https://www.typescriptlang.org),它可以给您提供很方便的关于 NASL Object Model 的类型提示。
|
|
25
|
+
|
|
26
|
+
### 1. 准备
|
|
27
|
+
|
|
28
|
+
安装 [Node.js](https://nodejs.org) (>=14)
|
|
29
|
+
|
|
30
|
+
### 2. 安装
|
|
31
|
+
|
|
32
|
+
```shell
|
|
33
|
+
npm i --save nasl
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 3. 三种方式
|
|
37
|
+
|
|
38
|
+
#### Browser 方式
|
|
39
|
+
|
|
40
|
+
```ts
|
|
41
|
+
import * as nasl from 'nasl';
|
|
42
|
+
|
|
43
|
+
async function start() {
|
|
44
|
+
await nasl.connect('http', '/some/path');
|
|
45
|
+
const app = await nasl.loadApp('aw9fajff90j323');
|
|
46
|
+
// Do your things
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
start();
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Node.js 请求方式
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
import * as nasl from 'nasl';
|
|
56
|
+
|
|
57
|
+
async function start() {
|
|
58
|
+
await nasl.connect('http', 'http://dogfood.lcap.163yun.com', 'username', 'password');
|
|
59
|
+
const app = await nasl.loadApp('aw9fajff90j323');
|
|
60
|
+
// Do your things
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
start();
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
#### Node.js 本地文件方式
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
import * as nasl from 'nasl';
|
|
70
|
+
|
|
71
|
+
async function start() {
|
|
72
|
+
await nasl.connect('file', './demo-app.json');
|
|
73
|
+
const app = await nasl.loadApp();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
start();
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Test
|
|
80
|
+
|
|
81
|
+
### 测试一个文件
|
|
82
|
+
```bash
|
|
83
|
+
npm run test:one -- src/test/integration/connect-file.ts
|
|
84
|
+
```
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { BasicSchema } from '..';
|
|
2
|
+
|
|
3
|
+
export enum BASIC_TYPE {
|
|
4
|
+
Boolean = 'Boolean',
|
|
5
|
+
Integer = 'Integer',
|
|
6
|
+
Long = 'Long',
|
|
7
|
+
Decimal = 'Decimal',
|
|
8
|
+
String = 'String',
|
|
9
|
+
Text = 'Text',
|
|
10
|
+
Binary = 'Binary',
|
|
11
|
+
Date = 'Date',
|
|
12
|
+
Time = 'Time',
|
|
13
|
+
DateTime = 'DateTime',
|
|
14
|
+
Email = 'Email'
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const basicTypeList = [
|
|
18
|
+
{ kind: 'basicType', text: 'Boolean 布尔值', value: '#/basicTypes/Boolean' },
|
|
19
|
+
{ kind: 'basicType', text: 'Integer 整数', value: '#/basicTypes/Integer' },
|
|
20
|
+
{ kind: 'basicType', text: 'Long 长整数', value: '#/basicTypes/Long' },
|
|
21
|
+
{ kind: 'basicType', text: 'Double 小数', value: '#/basicTypes/Decimal' },
|
|
22
|
+
{ kind: 'basicType', text: 'String 字符串', value: '#/basicTypes/String' },
|
|
23
|
+
{ kind: 'basicType', text: 'Text 长文本', value: '#/basicTypes/Text' },
|
|
24
|
+
{ kind: 'basicType', text: 'Binary 二进制流', value: '#/basicTypes/Binary' },
|
|
25
|
+
{ kind: 'basicType', text: 'Date 日期', value: '#/basicTypes/Date' },
|
|
26
|
+
{ kind: 'basicType', text: 'Time 时间', value: '#/basicTypes/Time' },
|
|
27
|
+
{ kind: 'basicType', text: 'DateTime 日期时间', value: '#/basicTypes/DateTime' },
|
|
28
|
+
{ kind: 'basicType', text: 'Email 电子邮箱', value: '#/basicTypes/Email' },
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
export const basicTypeMap: { [name: string]: BasicSchema } = {
|
|
32
|
+
'#/basicTypes/Boolean': { type: 'boolean', format: '' },
|
|
33
|
+
'#/basicTypes/Integer': { type: 'integer', format: 'int' },
|
|
34
|
+
'#/basicTypes/Long': { type: 'integer', format: 'long' },
|
|
35
|
+
'#/basicTypes/Decimal': { type: 'number', format: 'double' },
|
|
36
|
+
'#/basicTypes/String': { type: 'string', format: '' },
|
|
37
|
+
'#/basicTypes/Text': { type: 'string', format: 'text' },
|
|
38
|
+
'#/basicTypes/Binary': { type: 'string', format: 'binary' },
|
|
39
|
+
'#/basicTypes/Date': { type: 'string', format: 'date' },
|
|
40
|
+
'#/basicTypes/Time': { type: 'string', format: 'time' },
|
|
41
|
+
'#/basicTypes/DateTime': { type: 'string', format: 'date-time' },
|
|
42
|
+
'#/basicTypes/Email': { type: 'string', format: 'email' },
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export function getBasicTypeName(type: string, format: string) {
|
|
46
|
+
if (type === 'boolean')
|
|
47
|
+
return BASIC_TYPE.Boolean;
|
|
48
|
+
else if (type === 'integer' && format === 'long')
|
|
49
|
+
return BASIC_TYPE.Long;
|
|
50
|
+
else if (type === 'integer')
|
|
51
|
+
return BASIC_TYPE.Integer;
|
|
52
|
+
else if (type === 'number')
|
|
53
|
+
return BASIC_TYPE.Decimal;
|
|
54
|
+
else if (type === 'string' && format === 'text')
|
|
55
|
+
return BASIC_TYPE.Text;
|
|
56
|
+
else if (type === 'string' && format === 'binary')
|
|
57
|
+
return BASIC_TYPE.Binary;
|
|
58
|
+
else if (type === 'string' && format === 'date')
|
|
59
|
+
return BASIC_TYPE.Date;
|
|
60
|
+
else if (type === 'string' && format === 'time')
|
|
61
|
+
return BASIC_TYPE.Time;
|
|
62
|
+
else if (type === 'string' && format === 'date-time')
|
|
63
|
+
return BASIC_TYPE.DateTime;
|
|
64
|
+
else if (type === 'string' && format === 'email')
|
|
65
|
+
return BASIC_TYPE.Email;
|
|
66
|
+
else if (type === 'string')
|
|
67
|
+
return BASIC_TYPE.String;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function getBasicTypeRef(type: string, format: string) {
|
|
71
|
+
return `#/basicTypes/${getBasicTypeName(type, format)}`;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function getBasicTypeDefaultValue(value?: any): void {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import { Schema } from '..';
|
|
2
|
+
import { basicTypeMap, getBasicTypeRef } from './basicTypes';
|
|
3
|
+
import { dataTypesMap } from './dataTypes';
|
|
4
|
+
import { getGenericTypeRef } from './genericTypes';
|
|
5
|
+
import { cloneDeep } from 'lodash';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 会改变原来的结构,最好自己做深拷贝
|
|
9
|
+
* @param schema
|
|
10
|
+
* @param root
|
|
11
|
+
* @example RefType - 用于前端界面的类型描述
|
|
12
|
+
* {
|
|
13
|
+
* asset: {
|
|
14
|
+
* type: 'object',
|
|
15
|
+
* properties: [
|
|
16
|
+
* { name: 'id', $ref: '#/basicType/Long' },
|
|
17
|
+
* { name: 'name', $ref: '#/basicType/String' },
|
|
18
|
+
* ],
|
|
19
|
+
* },
|
|
20
|
+
* assetType: {
|
|
21
|
+
* type: 'enum',
|
|
22
|
+
* enumItems: [
|
|
23
|
+
* { value: 'COMPUTER', label: '台式机' },
|
|
24
|
+
* { value: 'TABLET', label: '平板电脑' },
|
|
25
|
+
* { value: 'MOBILE', label: '移动电话' },
|
|
26
|
+
* },
|
|
27
|
+
* },
|
|
28
|
+
* assets: {
|
|
29
|
+
* isArray: true,
|
|
30
|
+
* $ref: '#/xxxx/entity/asset'
|
|
31
|
+
* },
|
|
32
|
+
* test: { $ref: '#/basicType/Date' }
|
|
33
|
+
* }
|
|
34
|
+
*/
|
|
35
|
+
export function convert2RefType(schema: Schema): Schema {
|
|
36
|
+
if (!schema)
|
|
37
|
+
return schema;
|
|
38
|
+
if (schema.type === 'object') {
|
|
39
|
+
if (schema.properties) {
|
|
40
|
+
schema.properties = Object.keys(schema.properties).map((name) => {
|
|
41
|
+
const property = schema.properties[name];
|
|
42
|
+
property.name = name;
|
|
43
|
+
return property;
|
|
44
|
+
});
|
|
45
|
+
delete schema.properties;
|
|
46
|
+
}
|
|
47
|
+
schema.properties = !schema.properties ? [] : schema.properties.map((property) => convert2RefType(property));
|
|
48
|
+
} else if (schema.type === 'enum') {
|
|
49
|
+
if (schema.enumItems) {
|
|
50
|
+
schema.enumItems = Object.keys(schema.enumItems).map((value) => ({
|
|
51
|
+
level: 'enumItem',
|
|
52
|
+
label: schema.enumItems[value],
|
|
53
|
+
value,
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
delete schema.enumItems;
|
|
57
|
+
} else if (schema.type === 'array') {
|
|
58
|
+
schema.isArray = true;
|
|
59
|
+
// 转成泛型
|
|
60
|
+
const listSchema = dataTypesMap['#/genericTypes/List'];
|
|
61
|
+
if (listSchema) {
|
|
62
|
+
const genericSchema = {
|
|
63
|
+
type: 'genericType',
|
|
64
|
+
typeKey: '#/genericTypes/List',
|
|
65
|
+
typeInstantiation: {
|
|
66
|
+
typeName: 'List',
|
|
67
|
+
typeParams: (listSchema.typeParams || []).map((param: any) => {
|
|
68
|
+
const tempParam = Object.assign({}, param);
|
|
69
|
+
tempParam.typeParamValue = convert2RefType(schema.items);
|
|
70
|
+
tempParam.type = 'typeParam';
|
|
71
|
+
return tempParam;
|
|
72
|
+
}),
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
delete schema.items;
|
|
76
|
+
Object.assign(schema, genericSchema);
|
|
77
|
+
}
|
|
78
|
+
} else if (schema.type === 'genericType') {
|
|
79
|
+
if (schema.typeInstantiation) {
|
|
80
|
+
schema.typeKey = getGenericTypeRef(schema.typeInstantiation.typeName);
|
|
81
|
+
schema.typeInstantiation.typeParams.forEach((typeParam) => {
|
|
82
|
+
typeParam.type = 'typeParam';
|
|
83
|
+
convert2RefType(typeParam.typeParamValue);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
} else if (schema.type) {
|
|
87
|
+
schema.typeKey = getBasicTypeRef(schema.type, schema.format);
|
|
88
|
+
} else if (schema.$ref) {
|
|
89
|
+
if (schema.$ref.startsWith('#/basicTypes')) {
|
|
90
|
+
//兼容错误缓存情况
|
|
91
|
+
schema.typeKey = schema.$ref;
|
|
92
|
+
Object.assign(schema, dataTypesMap[schema.$ref]);
|
|
93
|
+
delete schema.$ref;
|
|
94
|
+
} else {
|
|
95
|
+
schema.typeKey = schema.$ref;
|
|
96
|
+
delete schema.type;
|
|
97
|
+
delete schema.format;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return schema;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 会改变原来的结构,最好自己做深拷贝
|
|
105
|
+
* @param schema
|
|
106
|
+
* @param root
|
|
107
|
+
* @example SchemaType - 非标准的 JSON Schema 结构
|
|
108
|
+
* {
|
|
109
|
+
* asset: {
|
|
110
|
+
* type: 'object',
|
|
111
|
+
* properties: [
|
|
112
|
+
* { type: 'int', format: 'long' },
|
|
113
|
+
* { type: 'string' },
|
|
114
|
+
* ],
|
|
115
|
+
* },
|
|
116
|
+
* assetType: {
|
|
117
|
+
* type: 'enum',
|
|
118
|
+
* enumItems: [
|
|
119
|
+
* { value: 'COMPUTER', label: '台式机' },
|
|
120
|
+
* { value: 'TABLET', label: '平板电脑' },
|
|
121
|
+
* { value: 'MOBILE', label: '移动电话' },
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* assets: {
|
|
125
|
+
* isArray: true,
|
|
126
|
+
* items: {
|
|
127
|
+
* $ref: '#/xxxx/entity/asset'
|
|
128
|
+
* }
|
|
129
|
+
* },
|
|
130
|
+
* test: { type: 'string', format: 'date' }
|
|
131
|
+
* }
|
|
132
|
+
*/
|
|
133
|
+
export function convert2SchemaType(schema: Schema, options: { enum?: string } = {}) {
|
|
134
|
+
if (!schema)
|
|
135
|
+
return schema;
|
|
136
|
+
|
|
137
|
+
if (schema.type === 'object') {
|
|
138
|
+
schema.properties && schema.properties.forEach((property) => convert2SchemaType(property));
|
|
139
|
+
} else if (schema.type === 'enum') {
|
|
140
|
+
//
|
|
141
|
+
} else if (schema.isArray) {
|
|
142
|
+
// 去除
|
|
143
|
+
//
|
|
144
|
+
} else if (schema.$ref) {
|
|
145
|
+
// 兼容老版本传$ref
|
|
146
|
+
if (!schema.$ref.startsWith('#/basicTypes/')) {
|
|
147
|
+
// 防止切换 type 时的污染
|
|
148
|
+
delete schema.type;
|
|
149
|
+
delete schema.format;
|
|
150
|
+
Object.assign(schema, { typeKey: schema.$ref });
|
|
151
|
+
} else {
|
|
152
|
+
Object.assign(schema, { typeKey: schema.$ref });
|
|
153
|
+
Object.assign(schema, basicTypeMap[schema.$ref]);
|
|
154
|
+
delete schema.$ref;
|
|
155
|
+
}
|
|
156
|
+
} else if (schema.typeKey) {
|
|
157
|
+
// 从s-datatype-select中选择类型后只传typeKey
|
|
158
|
+
if (schema.typeKey.startsWith('#/genericTypes')) {
|
|
159
|
+
if (!schema.typeInstantiation)
|
|
160
|
+
return schema;
|
|
161
|
+
schema = {
|
|
162
|
+
type: 'genericType',
|
|
163
|
+
typeKey: `#/genericTypes/${schema.typeInstantiation.typeName}`,
|
|
164
|
+
typeInstantiation: {
|
|
165
|
+
typeName: schema.typeInstantiation.typeName,
|
|
166
|
+
typeParams: schema.typeInstantiation.typeParams.map((typeParam: any) => {
|
|
167
|
+
delete typeParam.tempColor;
|
|
168
|
+
delete typeParam.tempText;
|
|
169
|
+
typeParam.typeParamValue = convert2SchemaType(typeParam.typeParamValue);
|
|
170
|
+
typeParam.type = 'typeParam';
|
|
171
|
+
return typeParam;
|
|
172
|
+
}),
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
} else if (!schema.typeKey.startsWith('#/basicTypes/')) {
|
|
176
|
+
// { $ref: '', typeKey: ''}
|
|
177
|
+
// 防止切换 type 时的污染
|
|
178
|
+
schema = { $ref: schema.typeKey, typeKey: schema.typeKey };
|
|
179
|
+
} else {
|
|
180
|
+
schema = Object.assign({ typeKey: schema.typeKey }, basicTypeMap[schema.typeKey]);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return schema;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* 根据 Ref Schema 生成子节点
|
|
188
|
+
* @param schema
|
|
189
|
+
* @param code
|
|
190
|
+
* @param dataTypesMap
|
|
191
|
+
*/
|
|
192
|
+
export function genSchemaChildren(schema: Schema, code: string = '', usedSchemaRefs: { [name: string]: boolean } = {}): Array<any> {
|
|
193
|
+
const typeKey = schema.typeKey;
|
|
194
|
+
if (typeKey && usedSchemaRefs[typeKey])
|
|
195
|
+
return;
|
|
196
|
+
// 理论上可以继续往下选,但这里先断掉!
|
|
197
|
+
|
|
198
|
+
const next = dataTypesMap[typeKey];
|
|
199
|
+
usedSchemaRefs = Object.assign({}, usedSchemaRefs);
|
|
200
|
+
if (typeKey && !(typeKey.startsWith('#/basicTypes/') || typeKey.startsWith('#/genericTypes/')))
|
|
201
|
+
usedSchemaRefs[typeKey] = true;
|
|
202
|
+
|
|
203
|
+
if (schema.type === 'genericType') {
|
|
204
|
+
const children: Array<any> = [];
|
|
205
|
+
const genericClass = dataTypesMap[schema.typeKey];
|
|
206
|
+
if (genericClass) {
|
|
207
|
+
const properties = genericClass.properties;
|
|
208
|
+
properties.forEach((property: any) => {
|
|
209
|
+
let propertySchema = cloneDeep(property);
|
|
210
|
+
if (property.type === 'genericParam' && schema.typeInstantiation) {
|
|
211
|
+
const param = schema.typeInstantiation.typeParams.find((typeParam: any) => typeParam.typeParamName === property.typeParamName);
|
|
212
|
+
if (param) {
|
|
213
|
+
propertySchema = Object.assign({ name: property.name }, param.typeParamValue);
|
|
214
|
+
}
|
|
215
|
+
} else if (propertySchema.type === 'genericType' && schema.typeInstantiation) {
|
|
216
|
+
if (propertySchema.typeInstantiation) {
|
|
217
|
+
propertySchema.typeInstantiation.typeParams.forEach((typeParam: any) => {
|
|
218
|
+
const param = schema.typeInstantiation.typeParams.find((typeParamTemp: any) => typeParamTemp.typeParamName === typeParam.typeParamName);
|
|
219
|
+
if (param) {
|
|
220
|
+
typeParam.typeParamValue = Object.assign({}, param.typeParamValue);
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
const item: any = {
|
|
226
|
+
level: 'property',
|
|
227
|
+
name: propertySchema.name,
|
|
228
|
+
schema: propertySchema,
|
|
229
|
+
code: property.id ? `${code}.ID_${property.id}` : `${code}.${property.name}`,
|
|
230
|
+
};
|
|
231
|
+
if (schema.typeName === '#/genericTypes/List') {
|
|
232
|
+
item.arrayLength = true;
|
|
233
|
+
}
|
|
234
|
+
item.children = genRefSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
235
|
+
item.isLeaf = !item.children;
|
|
236
|
+
children.push(item);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
return children;
|
|
240
|
+
} else if (schema.type === 'object') {
|
|
241
|
+
const children: Array<any> = [];
|
|
242
|
+
schema.properties
|
|
243
|
+
&& schema.properties.forEach((property: Schema) => {
|
|
244
|
+
const item: any = {
|
|
245
|
+
level: 'property',
|
|
246
|
+
name: property.name,
|
|
247
|
+
schema: property,
|
|
248
|
+
code: code + '.' + (property.id ? 'ID_' + property.id : property.name),
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
item.children = genSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
252
|
+
item.isLeaf = !item.children;
|
|
253
|
+
children.push(item);
|
|
254
|
+
});
|
|
255
|
+
return children;
|
|
256
|
+
} else if (schema.isArray) {
|
|
257
|
+
//
|
|
258
|
+
} else if (typeKey && typeKey.startsWith('#/basicTypes')) {
|
|
259
|
+
return undefined;
|
|
260
|
+
} else if (next) {
|
|
261
|
+
return genSchemaChildren(next, code, usedSchemaRefs);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* 根据 Ref Schema 生成子节点
|
|
267
|
+
* @param schema
|
|
268
|
+
* @param code
|
|
269
|
+
*/
|
|
270
|
+
export function genRefSchemaChildren(schema: Schema, code: string, usedSchemaRefs: { [name: string]: boolean } = {}): Array<any> {
|
|
271
|
+
if (!schema)
|
|
272
|
+
return;
|
|
273
|
+
const typeKey = schema.typeKey;
|
|
274
|
+
if (typeKey && usedSchemaRefs[typeKey])
|
|
275
|
+
return;
|
|
276
|
+
// 理论上可以继续往下选,但这里先断掉!
|
|
277
|
+
|
|
278
|
+
const next = dataTypesMap[typeKey];
|
|
279
|
+
usedSchemaRefs = Object.assign({}, usedSchemaRefs);
|
|
280
|
+
if (typeKey && !(typeKey.startsWith('#/basicTypes/') || typeKey.startsWith('#/genericTypes/')))
|
|
281
|
+
usedSchemaRefs[typeKey] = true;
|
|
282
|
+
|
|
283
|
+
if (schema.type === 'genericType') {
|
|
284
|
+
const children: Array<any> = [];
|
|
285
|
+
const genericClass = dataTypesMap[schema.typeKey];
|
|
286
|
+
if (genericClass) {
|
|
287
|
+
const properties = genericClass.properties;
|
|
288
|
+
properties.forEach((property: any) => {
|
|
289
|
+
let propertySchema = cloneDeep(property);
|
|
290
|
+
if (property.type === 'genericParam' && schema.typeInstantiation) {
|
|
291
|
+
const param = schema.typeInstantiation.typeParams.find((typeParam: any) => typeParam.typeParamName === property.typeParamName);
|
|
292
|
+
if (param) {
|
|
293
|
+
propertySchema = Object.assign({ name: property.name }, param.typeParamValue);
|
|
294
|
+
}
|
|
295
|
+
} else if (propertySchema.type === 'genericType' && schema.typeInstantiation) {
|
|
296
|
+
if (propertySchema.typeInstantiation) {
|
|
297
|
+
propertySchema.typeInstantiation.typeParams.forEach((typeParam: any) => {
|
|
298
|
+
const param = schema.typeInstantiation.typeParams.find((typeParamTemp: any) => typeParamTemp.typeParamName === typeParam.typeParamName);
|
|
299
|
+
if (param) {
|
|
300
|
+
typeParam.typeParamValue = Object.assign({}, param.typeParamValue);
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
const item: any = {
|
|
306
|
+
level: 'refProperty',
|
|
307
|
+
schema: propertySchema,
|
|
308
|
+
code: property.id ? `${code}.ID_${property.id}` : `${code}.${property.name}`,
|
|
309
|
+
};
|
|
310
|
+
if (schema.typeKey === '#/genericTypes/List') {
|
|
311
|
+
item.arrayLength = true;
|
|
312
|
+
}
|
|
313
|
+
item.children = genRefSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
314
|
+
item.isLeaf = !item.children;
|
|
315
|
+
children.push(item);
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
return children;
|
|
319
|
+
} else if (schema.type === 'object') {
|
|
320
|
+
const children: Array<any> = [];
|
|
321
|
+
schema.properties
|
|
322
|
+
&& schema.properties.forEach((property: Schema) => {
|
|
323
|
+
const item: any = {
|
|
324
|
+
level: 'refProperty',
|
|
325
|
+
schema: property,
|
|
326
|
+
code: property.id ? `${code}.ID_${property.id}` : `${code}.${property.name}`,
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
item.children = genRefSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
330
|
+
item.isLeaf = !item.children;
|
|
331
|
+
children.push(item);
|
|
332
|
+
});
|
|
333
|
+
return children;
|
|
334
|
+
} else if (schema.isArray) {
|
|
335
|
+
//
|
|
336
|
+
} else if (typeKey && typeKey.startsWith('#/basicTypes')) {
|
|
337
|
+
return undefined;
|
|
338
|
+
} else if (next) {
|
|
339
|
+
return genRefSchemaChildren(next, code, usedSchemaRefs);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 根据 Ref Schema 生成子节点
|
|
345
|
+
* @param schema
|
|
346
|
+
* @param code
|
|
347
|
+
*/
|
|
348
|
+
export function genFullRefSchemaChildren(schema: Schema, code: string, usedSchemaRefs: { [name: string]: boolean } = {}): Array<any> {
|
|
349
|
+
if (!schema)
|
|
350
|
+
return;
|
|
351
|
+
|
|
352
|
+
const typeKey = schema.typeKey;
|
|
353
|
+
if (typeKey && usedSchemaRefs[typeKey])
|
|
354
|
+
return;
|
|
355
|
+
// 理论上可以继续往下选,但这里先断掉!
|
|
356
|
+
|
|
357
|
+
const next = dataTypesMap[typeKey];
|
|
358
|
+
usedSchemaRefs = Object.assign({}, usedSchemaRefs);
|
|
359
|
+
if (typeKey && !(typeKey.startsWith('#/basicTypes/') || typeKey.startsWith('#/genericTypes/')))
|
|
360
|
+
usedSchemaRefs[typeKey] = true;
|
|
361
|
+
|
|
362
|
+
if (schema.type === 'genericType') {
|
|
363
|
+
let children: Array<any> = [];
|
|
364
|
+
if (schema.typeKey === '#/genericTypes/List') {
|
|
365
|
+
children = genRefSchemaChildren(schema.typeInstantiation.typeParams[0].typeParamValue, code, usedSchemaRefs);
|
|
366
|
+
} else {
|
|
367
|
+
const genericClass = dataTypesMap[schema.typeKey];
|
|
368
|
+
if (genericClass) {
|
|
369
|
+
const properties = genericClass.properties;
|
|
370
|
+
properties.forEach((property: any) => {
|
|
371
|
+
let propertySchema = cloneDeep(property);
|
|
372
|
+
if (property.type === 'genericParam' && schema.typeInstantiation) {
|
|
373
|
+
const param = schema.typeInstantiation.typeParams.find((typeParam: any) => typeParam.typeParamName === property.typeParamName);
|
|
374
|
+
if (param) {
|
|
375
|
+
propertySchema = Object.assign({ name: property.name }, param.typeParamValue);
|
|
376
|
+
}
|
|
377
|
+
} else if (propertySchema.type === 'genericType' && schema.typeInstantiation) {
|
|
378
|
+
if (propertySchema.typeInstantiation) {
|
|
379
|
+
propertySchema.typeInstantiation.typeParams.forEach((typeParam: any) => {
|
|
380
|
+
const param = schema.typeInstantiation.typeParams.find((typeParamTemp: any) => typeParamTemp.typeParamName === typeParam.typeParamName);
|
|
381
|
+
if (param) {
|
|
382
|
+
typeParam.typeParamValue = Object.assign({}, param.typeParamValue);
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
const item: any = {
|
|
388
|
+
level: 'refProperty',
|
|
389
|
+
schema: propertySchema,
|
|
390
|
+
code: property.id ? `${code}.ID_${property.id}` : `${code}.${property.name}`,
|
|
391
|
+
};
|
|
392
|
+
item.children = genRefSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
393
|
+
item.isLeaf = !item.children;
|
|
394
|
+
children.push(item);
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
return children;
|
|
400
|
+
} else if (schema.type === 'object') {
|
|
401
|
+
const children: Array<any> = [];
|
|
402
|
+
schema.properties
|
|
403
|
+
&& schema.properties.forEach((property: Schema) => {
|
|
404
|
+
const item: any = {
|
|
405
|
+
level: 'refProperty',
|
|
406
|
+
schema: property,
|
|
407
|
+
code: `${code}.ID_${property.id}`,
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
item.children = genFullRefSchemaChildren(item.schema, item.code, usedSchemaRefs);
|
|
411
|
+
item.isLeaf = !item.children;
|
|
412
|
+
children.push(item);
|
|
413
|
+
});
|
|
414
|
+
return children;
|
|
415
|
+
} else if (schema.isArray) {
|
|
416
|
+
//
|
|
417
|
+
} else if (typeKey && typeKey.startsWith('#/basicTypes')) {
|
|
418
|
+
return undefined;
|
|
419
|
+
} else if (next) {
|
|
420
|
+
return genFullRefSchemaChildren(next, code, usedSchemaRefs);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* 统一在 lcap-pc-template 中处理
|
|
426
|
+
*/
|
|
427
|
+
export function genInitData(schema: Schema, relationship = 'None', usedSchemaRefs: { [name: string]: boolean } = {}): any {
|
|
428
|
+
throw new Error('统一在 lcap-pc-template 中处理!');
|
|
429
|
+
}
|