@lcap/nasl 0.3.15-beta → 1.0.0-alpha.2
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/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 +167 -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 +111 -0
- package/out/bak/translator.js.map +1 -0
- package/out/common/BaseNode.d.ts +231 -0
- package/out/common/BaseNode.js +697 -0
- package/out/common/BaseNode.js.map +1 -0
- package/out/common/Command.d.ts +8 -0
- package/out/common/Command.js +32 -0
- package/out/common/Command.js.map +1 -0
- package/out/{types/common → common}/ComponentAPI.d.ts +0 -0
- package/out/{types/common → common}/ComponentAPI.js +0 -0
- package/out/common/ComponentAPI.js.map +1 -0
- package/out/common/EventEmitter.d.ts +57 -0
- package/out/common/EventEmitter.js +68 -0
- package/out/common/EventEmitter.js.map +1 -0
- package/out/common/Messager.d.ts +86 -0
- package/out/common/Messager.js +187 -0
- package/out/common/Messager.js.map +1 -0
- package/out/common/classMap.d.ts +4 -0
- package/out/common/classMap.js +5 -0
- package/out/common/classMap.js.map +1 -0
- package/out/common/index.d.ts +4 -0
- package/out/common/index.js +21 -0
- package/out/common/index.js.map +1 -0
- package/out/concepts/App__.d.ts +1077 -0
- package/out/concepts/App__.js +1453 -0
- package/out/concepts/App__.js.map +1 -0
- package/out/concepts/Argument__.d.ts +53 -0
- package/out/concepts/Argument__.js +180 -0
- package/out/concepts/Argument__.js.map +1 -0
- package/out/concepts/Assignment__.d.ts +69 -0
- package/out/concepts/Assignment__.js +201 -0
- package/out/concepts/Assignment__.js.map +1 -0
- package/out/concepts/Attribute__.d.ts +101 -0
- package/out/concepts/Attribute__.js +221 -0
- package/out/concepts/Attribute__.js.map +1 -0
- package/out/concepts/BinaryExpression__.d.ts +63 -0
- package/out/concepts/BinaryExpression__.js +250 -0
- package/out/concepts/BinaryExpression__.js.map +1 -0
- package/out/concepts/BindAttribute__.d.ts +211 -0
- package/out/concepts/BindAttribute__.js +400 -0
- package/out/concepts/BindAttribute__.js.map +1 -0
- package/out/concepts/BindDirective__.d.ts +92 -0
- package/out/concepts/BindDirective__.js +221 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/concepts/BindEvent__.d.ts +138 -0
- package/out/concepts/BindEvent__.js +326 -0
- package/out/concepts/BindEvent__.js.map +1 -0
- package/out/concepts/BooleanLiteral__.d.ts +24 -0
- package/out/concepts/BooleanLiteral__.js +70 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -0
- package/out/concepts/CallFunction__.d.ts +97 -0
- package/out/concepts/CallFunction__.js +234 -0
- package/out/concepts/CallFunction__.js.map +1 -0
- package/out/concepts/CallInterface__.d.ts +97 -0
- package/out/concepts/CallInterface__.js +234 -0
- package/out/concepts/CallInterface__.js.map +1 -0
- package/out/concepts/CallLogic__.d.ts +114 -0
- package/out/concepts/CallLogic__.js +422 -0
- package/out/concepts/CallLogic__.js.map +1 -0
- package/out/concepts/CallQueryComponent__.d.ts +309 -0
- package/out/concepts/CallQueryComponent__.js +745 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +30 -0
- package/out/concepts/Comment__.js +89 -0
- package/out/concepts/Comment__.js.map +1 -0
- package/out/concepts/CompletionProperty__.d.ts +99 -0
- package/out/concepts/CompletionProperty__.js +235 -0
- package/out/concepts/CompletionProperty__.js.map +1 -0
- package/out/concepts/Constant__.d.ts +97 -0
- package/out/concepts/Constant__.js +223 -0
- package/out/concepts/Constant__.js.map +1 -0
- package/out/concepts/DataElement__.d.ts +45 -0
- package/out/concepts/DataElement__.js +114 -0
- package/out/concepts/DataElement__.js.map +1 -0
- package/out/concepts/Destination__.d.ts +107 -0
- package/out/concepts/Destination__.js +339 -0
- package/out/concepts/Destination__.js.map +1 -0
- package/out/concepts/End__.d.ts +23 -0
- package/out/concepts/End__.js +76 -0
- package/out/concepts/End__.js.map +1 -0
- package/out/concepts/EntityIndex__.d.ts +81 -0
- package/out/concepts/EntityIndex__.js +189 -0
- package/out/concepts/EntityIndex__.js.map +1 -0
- package/out/concepts/EntityProperty__.d.ts +211 -0
- package/out/concepts/EntityProperty__.js +483 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/concepts/Entity__.d.ts +286 -0
- package/out/concepts/Entity__.js +534 -0
- package/out/concepts/Entity__.js.map +1 -0
- package/out/concepts/EnumItem__.d.ts +60 -0
- package/out/concepts/EnumItem__.js +136 -0
- package/out/concepts/EnumItem__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +130 -0
- package/out/concepts/Enum__.js +261 -0
- package/out/concepts/Enum__.js.map +1 -0
- package/out/concepts/Event__.d.ts +142 -0
- package/out/concepts/Event__.js +242 -0
- package/out/concepts/Event__.js.map +1 -0
- package/out/concepts/ForEachStatement__.d.ts +189 -0
- package/out/concepts/ForEachStatement__.js +378 -0
- package/out/concepts/ForEachStatement__.js.map +1 -0
- package/out/concepts/Function__.d.ts +387 -0
- package/out/concepts/Function__.js +557 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +41 -0
- package/out/concepts/Identifier__.js +136 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/concepts/IfStatement__.d.ts +145 -0
- package/out/concepts/IfStatement__.js +275 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/concepts/InterfaceParam__.d.ts +110 -0
- package/out/concepts/InterfaceParam__.js +273 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +247 -0
- package/out/concepts/Interface__.js +443 -0
- package/out/concepts/Interface__.js.map +1 -0
- package/out/concepts/JSBlock__.d.ts +30 -0
- package/out/concepts/JSBlock__.js +89 -0
- package/out/concepts/JSBlock__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +115 -0
- package/out/concepts/LogicItem__.js +219 -0
- package/out/concepts/LogicItem__.js.map +1 -0
- package/out/concepts/Logic__.d.ts +578 -0
- package/out/concepts/Logic__.js +1001 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/concepts/MemberExpression__.d.ts +66 -0
- package/out/concepts/MemberExpression__.js +202 -0
- package/out/concepts/MemberExpression__.js.map +1 -0
- package/out/concepts/Module__.d.ts +752 -0
- package/out/concepts/Module__.js +994 -0
- package/out/concepts/Module__.js.map +1 -0
- package/out/concepts/Namespace__.d.ts +1068 -0
- package/out/concepts/Namespace__.js +1397 -0
- package/out/concepts/Namespace__.js.map +1 -0
- package/out/concepts/NullLiteral__.d.ts +19 -0
- package/out/concepts/NullLiteral__.js +63 -0
- package/out/concepts/NullLiteral__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +52 -0
- package/out/concepts/NumericLiteral__.js +161 -0
- package/out/concepts/NumericLiteral__.js.map +1 -0
- package/out/concepts/Param__.d.ts +142 -0
- package/out/concepts/Param__.js +329 -0
- package/out/concepts/Param__.js.map +1 -0
- package/out/concepts/Point__.d.ts +30 -0
- package/out/concepts/Point__.js +75 -0
- package/out/concepts/Point__.js.map +1 -0
- package/out/concepts/ProcessComponent__.d.ts +218 -0
- package/out/concepts/ProcessComponent__.js +333 -0
- package/out/concepts/ProcessComponent__.js.map +1 -0
- package/out/concepts/ProcessElement__.d.ts +557 -0
- package/out/concepts/ProcessElement__.js +889 -0
- package/out/concepts/ProcessElement__.js.map +1 -0
- package/out/concepts/ProcessOutcome__.d.ts +30 -0
- package/out/concepts/ProcessOutcome__.js +87 -0
- package/out/concepts/ProcessOutcome__.js.map +1 -0
- package/out/concepts/Process__.d.ts +444 -0
- package/out/concepts/Process__.js +767 -0
- package/out/concepts/Process__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +50 -0
- package/out/concepts/QueryAggregateExpression__.js +144 -0
- package/out/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/concepts/QueryFieldExpression__.d.ts +47 -0
- package/out/concepts/QueryFieldExpression__.js +122 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/concepts/QueryFromExpression__.d.ts +91 -0
- package/out/concepts/QueryFromExpression__.js +181 -0
- package/out/concepts/QueryFromExpression__.js.map +1 -0
- package/out/concepts/QueryGroupByExpression__.d.ts +42 -0
- package/out/concepts/QueryGroupByExpression__.js +119 -0
- package/out/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/concepts/QueryJoinExpression__.d.ts +178 -0
- package/out/concepts/QueryJoinExpression__.js +301 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/concepts/QueryLimitExpression__.d.ts +56 -0
- package/out/concepts/QueryLimitExpression__.js +156 -0
- package/out/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/concepts/QueryOrderByExpression__.d.ts +67 -0
- package/out/concepts/QueryOrderByExpression__.js +169 -0
- package/out/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/concepts/QuerySelectExpression__.d.ts +114 -0
- package/out/concepts/QuerySelectExpression__.js +203 -0
- package/out/concepts/QuerySelectExpression__.js.map +1 -0
- package/out/concepts/Rect__.d.ts +38 -0
- package/out/concepts/Rect__.js +89 -0
- package/out/concepts/Rect__.js.map +1 -0
- package/out/concepts/Return__.d.ts +128 -0
- package/out/concepts/Return__.js +289 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/concepts/Role__.d.ts +52 -0
- package/out/concepts/Role__.js +131 -0
- package/out/concepts/Role__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +57 -0
- package/out/concepts/Slot__.js +114 -0
- package/out/concepts/Slot__.js.map +1 -0
- package/out/concepts/SqlQueryComponent__.d.ts +45 -0
- package/out/concepts/SqlQueryComponent__.js +118 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/concepts/Start__.d.ts +23 -0
- package/out/concepts/Start__.js +71 -0
- package/out/concepts/Start__.js.map +1 -0
- package/out/concepts/StringLiteral__.d.ts +34 -0
- package/out/concepts/StringLiteral__.js +142 -0
- package/out/concepts/StringLiteral__.js.map +1 -0
- package/out/concepts/StructureProperty__.d.ts +123 -0
- package/out/concepts/StructureProperty__.js +294 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/concepts/Structure__.d.ts +235 -0
- package/out/concepts/Structure__.js +394 -0
- package/out/concepts/Structure__.js.map +1 -0
- package/out/concepts/SwitchCase__.d.ts +92 -0
- package/out/concepts/SwitchCase__.js +231 -0
- package/out/concepts/SwitchCase__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +82 -0
- package/out/concepts/SwitchStatement__.js +180 -0
- package/out/concepts/SwitchStatement__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +36 -0
- package/out/concepts/Theme__.js +86 -0
- package/out/concepts/Theme__.js.map +1 -0
- package/out/concepts/Transactional__.d.ts +76 -0
- package/out/concepts/Transactional__.js +151 -0
- package/out/concepts/Transactional__.js.map +1 -0
- package/out/concepts/TypeAnnotation__.d.ts +125 -0
- package/out/concepts/TypeAnnotation__.js +305 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -0
- package/out/concepts/TypeParam__.d.ts +20 -0
- package/out/concepts/TypeParam__.js +57 -0
- package/out/concepts/TypeParam__.js.map +1 -0
- package/out/concepts/UnaryExpression__.d.ts +45 -0
- package/out/concepts/UnaryExpression__.js +164 -0
- package/out/concepts/UnaryExpression__.js.map +1 -0
- package/out/concepts/Unparsed__.d.ts +28 -0
- package/out/concepts/Unparsed__.js +88 -0
- package/out/concepts/Unparsed__.js.map +1 -0
- package/out/concepts/UseComponent__.d.ts +30 -0
- package/out/concepts/UseComponent__.js +75 -0
- package/out/concepts/UseComponent__.js.map +1 -0
- package/out/concepts/ValidationRule__.d.ts +92 -0
- package/out/concepts/ValidationRule__.js +219 -0
- package/out/concepts/ValidationRule__.js.map +1 -0
- package/out/concepts/Variable__.d.ts +120 -0
- package/out/concepts/Variable__.js +281 -0
- package/out/concepts/Variable__.js.map +1 -0
- package/out/concepts/ViewComponent__.d.ts +472 -0
- package/out/concepts/ViewComponent__.js +644 -0
- package/out/concepts/ViewComponent__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +483 -0
- package/out/concepts/ViewElement__.js +1233 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +677 -0
- package/out/concepts/View__.js +1275 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/concepts/WhileStatement__.d.ts +92 -0
- package/out/concepts/WhileStatement__.js +203 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/concepts/basics/stdlib/index.d.ts +4 -0
- package/out/concepts/basics/stdlib/index.js +23 -0
- package/out/concepts/basics/stdlib/index.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.collection.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.collection.js +83 -0
- package/out/concepts/basics/stdlib/nasl.collection.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.core.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.core.js +15 -0
- package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.interface.d.ts +5 -0
- package/out/concepts/basics/stdlib/nasl.interface.js +43 -0
- package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.process.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.process.js +43 -0
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.ui.d.ts +7 -0
- package/out/concepts/basics/stdlib/nasl.ui.js +948 -0
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.util.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.util.js +587 -0
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.validate.d.ts +3 -0
- package/out/concepts/basics/stdlib/nasl.validate.js +527 -0
- package/out/concepts/basics/stdlib/nasl.validate.js.map +1 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js +26 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/concepts/basics/types/coreTypeList.d.ts +2 -0
- package/out/concepts/basics/types/coreTypeList.js +17 -0
- package/out/concepts/basics/types/coreTypeList.js.map +1 -0
- package/out/concepts/basics/types/index.d.ts +11 -0
- package/out/concepts/basics/types/index.js +22 -0
- package/out/concepts/basics/types/index.js.map +1 -0
- package/out/concepts/index.d.ts +5 -0
- package/out/concepts/index.js +24 -0
- package/out/concepts/index.js.map +1 -0
- package/out/concepts/index__.d.ts +77 -0
- package/out/concepts/index__.js +94 -0
- package/out/concepts/index__.js.map +1 -0
- package/out/config.d.ts +43 -0
- package/out/config.js +72 -0
- package/out/config.js.map +1 -0
- package/out/decorators/index.d.ts +54 -0
- package/out/decorators/index.js +146 -0
- package/out/decorators/index.js.map +1 -0
- package/out/generator/compileComponent.d.ts +11 -0
- package/out/generator/compileComponent.js +12 -0
- package/out/generator/compileComponent.js.map +1 -0
- package/out/generator/genBundleFiles.d.ts +38 -0
- package/out/generator/genBundleFiles.js +228 -0
- package/out/generator/genBundleFiles.js.map +1 -0
- package/out/generator/genHash.d.ts +7 -0
- package/out/generator/genHash.js +39 -0
- package/out/generator/genHash.js.map +1 -0
- package/out/generator/index.d.ts +4 -0
- package/out/generator/index.js +21 -0
- package/out/generator/index.js.map +1 -0
- package/out/generator/styleReplacer.d.ts +3 -0
- package/out/generator/styleReplacer.js +71 -0
- package/out/generator/styleReplacer.js.map +1 -0
- package/out/index.d.ts +9 -0
- package/out/index.js +48 -0
- package/out/index.js.map +1 -0
- package/out/manager/diagnostic.d.ts +38 -0
- package/out/manager/diagnostic.js +84 -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/server/entity2LogicNamespace.d.ts +2 -0
- package/out/server/entity2LogicNamespace.js +192 -0
- package/out/server/entity2LogicNamespace.js.map +1 -0
- package/out/server/getFunctions.d.ts +2 -0
- package/out/server/getFunctions.js +14 -0
- package/out/server/getFunctions.js.map +1 -0
- package/out/server/getInterfaces.d.ts +2 -0
- package/out/server/getInterfaces.js +48 -0
- package/out/server/getInterfaces.js.map +1 -0
- package/out/server/getLogics.d.ts +3 -0
- package/out/server/getLogics.js +115 -0
- package/out/server/getLogics.js.map +1 -0
- package/out/server/getMemberIdentifier.d.ts +6 -0
- package/out/server/getMemberIdentifier.js +134 -0
- package/out/server/getMemberIdentifier.js.map +1 -0
- package/out/server/getProcessComponents.d.ts +2 -0
- package/out/server/getProcessComponents.js +13 -0
- package/out/server/getProcessComponents.js.map +1 -0
- package/out/server/getProcesses.d.ts +19 -0
- package/out/server/getProcesses.js +106 -0
- package/out/server/getProcesses.js.map +1 -0
- package/out/server/getValidates.d.ts +3 -0
- package/out/server/getValidates.js +14 -0
- package/out/server/getValidates.js.map +1 -0
- package/out/server/index.d.ts +2 -0
- package/out/server/index.js +27 -0
- package/out/server/index.js.map +1 -0
- package/out/server/naslServer.d.ts +138 -0
- package/out/server/naslServer.js +1204 -0
- package/out/server/naslServer.js.map +1 -0
- package/out/server/process2LogicNamespace.d.ts +2 -0
- package/out/server/process2LogicNamespace.js +32 -0
- package/out/server/process2LogicNamespace.js.map +1 -0
- package/out/server/translator.d.ts +5 -0
- package/out/server/translator.js +150 -0
- package/out/server/translator.js.map +1 -0
- package/out/service/storage/index.d.ts +2 -0
- package/out/service/storage/index.js +10 -0
- package/out/service/storage/index.js.map +1 -0
- package/out/service/storage/init.d.ts +7 -0
- package/out/service/storage/init.js +203 -0
- package/out/service/storage/init.js.map +1 -0
- package/out/service/storage/jsoner.d.ts +29 -0
- package/out/service/storage/jsoner.js +130 -0
- package/out/service/storage/jsoner.js.map +1 -0
- package/out/service/storage/map.d.ts +4 -0
- package/out/service/storage/map.js +54 -0
- package/out/service/storage/map.js.map +1 -0
- package/out/service/storage/storagePoint.d.ts +30 -0
- package/out/service/storage/storagePoint.js +76 -0
- package/out/service/storage/storagePoint.js.map +1 -0
- package/out/templator/genCallComponentLogic.d.ts +17 -0
- package/out/templator/genCallComponentLogic.js +30 -0
- package/out/templator/genCallComponentLogic.js.map +1 -0
- package/out/templator/genCreateBlock.d.ts +10 -0
- package/out/templator/genCreateBlock.js +320 -0
- package/out/templator/genCreateBlock.js.map +1 -0
- package/out/templator/genCurdEditMultipleKeyBlock.d.ts +2 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js +469 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/templator/genCurdMultipleKeyBlock.d.ts +3 -0
- package/out/templator/genCurdMultipleKeyBlock.js +656 -0
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/templator/genEditTableBlock.d.ts +51 -0
- package/out/templator/genEditTableBlock.js +301 -0
- package/out/templator/genEditTableBlock.js.map +1 -0
- package/out/templator/genEnumSelectBlock.d.ts +10 -0
- package/out/templator/genEnumSelectBlock.js +23 -0
- package/out/templator/genEnumSelectBlock.js.map +1 -0
- package/out/templator/genGetBlock.d.ts +6 -0
- package/out/templator/genGetBlock.js +133 -0
- package/out/templator/genGetBlock.js.map +1 -0
- package/out/templator/genGridViewBlock.d.ts +53 -0
- package/out/templator/genGridViewBlock.js +308 -0
- package/out/templator/genGridViewBlock.js.map +1 -0
- package/out/templator/genListViewBlock.d.ts +19 -0
- package/out/templator/genListViewBlock.js +137 -0
- package/out/templator/genListViewBlock.js.map +1 -0
- package/out/templator/genQueryComponent.d.ts +32 -0
- package/out/templator/genQueryComponent.js +307 -0
- package/out/templator/genQueryComponent.js.map +1 -0
- package/out/templator/genSelectBlock.d.ts +34 -0
- package/out/templator/genSelectBlock.js +142 -0
- package/out/templator/genSelectBlock.js.map +1 -0
- package/out/templator/genTableBlock.d.ts +53 -0
- package/out/templator/genTableBlock.js +296 -0
- package/out/templator/genTableBlock.js.map +1 -0
- package/out/templator/genUpdateBlock.d.ts +6 -0
- package/out/templator/genUpdateBlock.js +363 -0
- package/out/templator/genUpdateBlock.js.map +1 -0
- package/out/templator/index.d.ts +16 -0
- package/out/templator/index.js +34 -0
- package/out/templator/index.js.map +1 -0
- package/out/templator/utils.d.ts +634 -0
- package/out/templator/utils.js +421 -0
- package/out/templator/utils.js.map +1 -0
- package/out/terms/LEVEL_NAME_MAP.d.ts +26 -0
- package/out/terms/LEVEL_NAME_MAP.js +30 -0
- package/out/terms/LEVEL_NAME_MAP.js.map +1 -0
- package/out/test/fixtures/env.d.ts +1 -1
- package/out/test/fixtures/env.js +7 -7
- package/out/test/fixtures/env.js.map +1 -1
- package/out/test/{units/app/App.spec.d.ts → integration/connect-create-file.d.ts} +0 -0
- package/out/test/integration/connect-create-file.js +39 -0
- package/out/test/integration/connect-create-file.js.map +1 -0
- package/out/test/{units/app/Service.spec.d.ts → integration/connect-file.d.ts} +0 -0
- package/out/test/integration/connect-file.js +49 -0
- package/out/test/integration/connect-file.js.map +1 -0
- package/out/{types/eventBus.d.ts → test/units/baseTypes/Assignment.spec.d.ts} +0 -0
- package/out/test/units/baseTypes/Assignment.spec.js +43 -0
- package/out/test/units/baseTypes/Assignment.spec.js.map +1 -0
- package/out/{types/logic/CallInterface.d.ts → test/units/baseTypes/CallLogic.spec.d.ts} +0 -0
- package/out/test/units/baseTypes/CallLogic.spec.js +44 -0
- package/out/test/units/baseTypes/CallLogic.spec.js.map +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.d.ts +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js +75 -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 +37 -0
- package/out/test/units/baseTypes/new.spec.js.map +1 -0
- package/out/test/units/common/Vertex.spec.js +16 -38
- package/out/test/units/common/Vertex.spec.js.map +1 -1
- package/out/test/units/data/Entity.spec.js +3 -3
- package/out/test/units/data/Entity.spec.js.map +1 -1
- package/out/test/units/login.spec.js +4 -4
- package/out/test/units/login.spec.js.map +1 -1
- package/out/test/units/page/Block.spec.d.ts +0 -1
- package/out/test/units/page/Block.spec.js +12 -33
- package/out/test/units/page/Block.spec.js.map +1 -1
- package/out/test/units/page/Element.spec.js +14 -14
- package/out/test/units/page/Element.spec.js.map +1 -1
- package/out/test/units/temp/temp.spec.js +2 -2
- package/out/test/units/temp/temp.spec.js.map +1 -1
- package/out/translator/index.d.ts +47 -0
- package/out/translator/index.js +108 -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/utils/index.d.ts +26 -0
- package/out/utils/index.js +52 -0
- package/out/utils/index.js.map +1 -0
- package/out/{types/utils → utils}/logger.d.ts +0 -0
- package/out/utils/logger.js +11 -0
- package/out/utils/logger.js.map +1 -0
- package/out/utils/string.d.ts +38 -0
- package/out/utils/string.js +66 -0
- package/out/utils/string.js.map +1 -0
- package/out/utils/traverse.d.ts +36 -0
- package/out/utils/traverse.js +132 -0
- package/out/utils/traverse.js.map +1 -0
- package/package.json +12 -14
- package/src/automate/engine/index.js +388 -0
- package/src/automate/engine/utils.js +312 -0
- package/src/bak/translator.js +124 -0
- package/src/common/BaseNode.ts +648 -0
- package/src/common/Command.ts +27 -0
- package/src/common/ComponentAPI.ts +103 -0
- package/src/common/EventEmitter.ts +89 -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 +195 -0
- package/src/concepts/Assignment__.ts +238 -0
- package/src/concepts/Attribute__.ts +251 -0
- package/src/concepts/BinaryExpression__.ts +285 -0
- package/src/concepts/BindAttribute__.ts +503 -0
- package/src/concepts/BindDirective__.ts +238 -0
- package/src/concepts/BindEvent__.ts +408 -0
- package/src/concepts/BooleanLiteral__.ts +80 -0
- package/src/concepts/CallFunction__.ts +312 -0
- package/src/concepts/CallInterface__.ts +312 -0
- package/src/concepts/CallLogic__.ts +486 -0
- package/src/concepts/CallQueryComponent__.ts +1015 -0
- package/src/concepts/Comment__.ts +95 -0
- package/src/concepts/CompletionProperty__.ts +249 -0
- package/src/concepts/Constant__.ts +247 -0
- package/src/concepts/DataElement__.ts +134 -0
- package/src/concepts/Destination__.ts +396 -0
- package/src/concepts/End__.ts +83 -0
- package/src/concepts/EntityIndex__.ts +197 -0
- package/src/concepts/EntityProperty__.ts +508 -0
- package/src/concepts/Entity__.ts +708 -0
- package/src/concepts/EnumItem__.ts +139 -0
- package/src/concepts/Enum__.ts +325 -0
- package/src/concepts/Event__.ts +316 -0
- package/src/concepts/ForEachStatement__.ts +529 -0
- package/src/concepts/Function__.ts +915 -0
- package/src/concepts/Identifier__.ts +149 -0
- package/src/concepts/IfStatement__.ts +441 -0
- package/src/concepts/InterfaceParam__.ts +305 -0
- package/src/concepts/Interface__.ts +612 -0
- package/src/concepts/JSBlock__.ts +96 -0
- package/src/concepts/LogicItem__.ts +269 -0
- package/src/concepts/Logic__.ts +1498 -0
- package/src/concepts/MemberExpression__.ts +240 -0
- package/src/concepts/Module__.ts +1706 -0
- package/src/concepts/Namespace__.ts +2517 -0
- package/src/concepts/NullLiteral__.ts +75 -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 +91 -0
- package/src/concepts/Process__.ts +1149 -0
- package/src/concepts/QueryAggregateExpression__.ts +163 -0
- package/src/concepts/QueryFieldExpression__.ts +127 -0
- package/src/concepts/QueryFromExpression__.ts +255 -0
- package/src/concepts/QueryGroupByExpression__.ts +138 -0
- package/src/concepts/QueryJoinExpression__.ts +442 -0
- package/src/concepts/QueryLimitExpression__.ts +187 -0
- package/src/concepts/QueryOrderByExpression__.ts +201 -0
- package/src/concepts/QuerySelectExpression__.ts +279 -0
- package/src/concepts/Rect__.ts +96 -0
- package/src/concepts/Return__.ts +331 -0
- package/src/concepts/Role__.ts +139 -0
- package/src/concepts/Slot__.ts +121 -0
- package/src/concepts/SqlQueryComponent__.ts +139 -0
- package/src/concepts/Start__.ts +78 -0
- package/src/concepts/StringLiteral__.ts +149 -0
- package/src/concepts/StructureProperty__.ts +327 -0
- package/src/concepts/Structure__.ts +567 -0
- package/src/concepts/SwitchCase__.ts +324 -0
- package/src/concepts/SwitchStatement__.ts +255 -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 +179 -0
- package/src/concepts/Unparsed__.ts +96 -0
- package/src/concepts/UseComponent__.ts +84 -0
- package/src/concepts/ValidationRule__.ts +299 -0
- package/src/concepts/Variable__.ts +312 -0
- package/src/concepts/ViewComponent__.ts +1098 -0
- package/src/concepts/ViewElement__.ts +1629 -0
- package/src/concepts/View__.ts +1850 -0
- package/src/concepts/WhileStatement__.ts +296 -0
- package/src/concepts/basics/stdlib/index.ts +20 -0
- package/src/concepts/basics/stdlib/nasl.collection.ts +78 -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 +944 -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 +282 -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 +123 -0
- package/src/server/getMemberIdentifier.ts +143 -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 +22 -0
- package/src/server/naslServer.ts +1281 -0
- package/src/server/process2LogicNamespace.ts +28 -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 +173 -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 +300 -0
- package/src/templator/genCurdEditMultipleKeyBlock.ts +452 -0
- package/src/templator/genCurdMultipleKeyBlock.ts +645 -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 +296 -0
- package/src/templator/genUpdateBlock.ts +344 -0
- package/src/templator/index.ts +19 -0
- package/src/templator/utils.ts +651 -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 +158 -0
- package/tsconfig.json +5 -12
- 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/app/api.d.ts +0 -75
- package/out/service/app/api.js +0 -87
- package/out/service/app/api.js.map +0 -1
- package/out/service/app/index.d.ts +0 -2
- package/out/service/app/index.js +0 -10
- package/out/service/app/index.js.map +0 -1
- package/out/service/assets/asset.d.ts +0 -104
- package/out/service/assets/asset.js +0 -78
- package/out/service/assets/asset.js.map +0 -1
- package/out/service/assets/block.d.ts +0 -9
- package/out/service/assets/block.js +0 -11
- package/out/service/assets/block.js.map +0 -1
- package/out/service/assets/index.d.ts +0 -2
- package/out/service/assets/index.js +0 -12
- package/out/service/assets/index.js.map +0 -1
- package/out/service/common/findUsage.d.ts +0 -9
- package/out/service/common/findUsage.js +0 -11
- package/out/service/common/findUsage.js.map +0 -1
- package/out/service/common/index.d.ts +0 -2
- package/out/service/common/index.js +0 -12
- package/out/service/common/index.js.map +0 -1
- package/out/service/common/preprocess.d.ts +0 -14
- package/out/service/common/preprocess.js +0 -75
- package/out/service/common/preprocess.js.map +0 -1
- package/out/service/common/schema.d.ts +0 -9
- package/out/service/common/schema.js +0 -12
- package/out/service/common/schema.js.map +0 -1
- package/out/service/create/add.configs.d.ts +0 -1
- package/out/service/create/add.configs.js +0 -68
- package/out/service/create/add.configs.js.map +0 -1
- package/out/service/create/errHandles.d.ts +0 -18
- package/out/service/create/errHandles.js +0 -57
- package/out/service/create/errHandles.js.map +0 -1
- package/out/service/create/index.d.ts +0 -1
- package/out/service/create/index.js +0 -77
- package/out/service/create/index.js.map +0 -1
- package/out/service/data/api.d.ts +0 -36
- package/out/service/data/api.js +0 -36
- package/out/service/data/api.js.map +0 -1
- package/out/service/data/entity.d.ts +0 -135
- package/out/service/data/entity.js +0 -103
- package/out/service/data/entity.js.map +0 -1
- package/out/service/data/enum.d.ts +0 -63
- package/out/service/data/enum.js +0 -55
- package/out/service/data/enum.js.map +0 -1
- package/out/service/data/enumProperty.d.ts +0 -28
- package/out/service/data/enumProperty.js +0 -23
- package/out/service/data/enumProperty.js.map +0 -1
- package/out/service/data/generic.d.ts +0 -9
- package/out/service/data/generic.js +0 -11
- package/out/service/data/generic.js.map +0 -1
- package/out/service/data/index.d.ts +0 -8
- package/out/service/data/index.js +0 -23
- package/out/service/data/index.js.map +0 -1
- package/out/service/data/interface.d.ts +0 -67
- package/out/service/data/interface.js +0 -58
- package/out/service/data/interface.js.map +0 -1
- package/out/service/data/structure.d.ts +0 -92
- package/out/service/data/structure.js +0 -77
- package/out/service/data/structure.js.map +0 -1
- 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/service/logic/index.d.ts +0 -5
- package/out/service/logic/index.js +0 -17
- package/out/service/logic/index.js.map +0 -1
- package/out/service/logic/logic.d.ts +0 -166
- package/out/service/logic/logic.js +0 -123
- package/out/service/logic/logic.js.map +0 -1
- package/out/service/logic/param.d.ts +0 -37
- package/out/service/logic/param.js +0 -29
- package/out/service/logic/param.js.map +0 -1
- package/out/service/nuims/api.d.ts +0 -264
- package/out/service/nuims/api.js +0 -194
- package/out/service/nuims/api.js.map +0 -1
- package/out/service/nuims/index.d.ts +0 -2
- package/out/service/nuims/index.js +0 -17
- package/out/service/nuims/index.js.map +0 -1
- package/out/service/page/api.d.ts +0 -186
- package/out/service/page/api.js +0 -1376
- package/out/service/page/api.js.map +0 -1
- package/out/service/page/attribute.d.ts +0 -28
- package/out/service/page/attribute.js +0 -23
- package/out/service/page/attribute.js.map +0 -1
- package/out/service/page/directive.d.ts +0 -28
- package/out/service/page/directive.js +0 -23
- package/out/service/page/directive.js.map +0 -1
- package/out/service/page/element.d.ts +0 -45
- package/out/service/page/element.js +0 -42
- package/out/service/page/element.js.map +0 -1
- package/out/service/page/event.d.ts +0 -28
- package/out/service/page/event.js +0 -23
- package/out/service/page/event.js.map +0 -1
- package/out/service/page/index.d.ts +0 -8
- package/out/service/page/index.js +0 -23
- package/out/service/page/index.js.map +0 -1
- package/out/service/page/lifecycle.d.ts +0 -28
- package/out/service/page/lifecycle.js +0 -23
- package/out/service/page/lifecycle.js.map +0 -1
- package/out/service/page/templates.d.ts +0 -14
- package/out/service/page/templates.js +0 -70
- package/out/service/page/templates.js.map +0 -1
- package/out/service/page/view.d.ts +0 -130
- package/out/service/page/view.js +0 -116
- package/out/service/page/view.js.map +0 -1
- package/out/service/permission/api.d.ts +0 -57
- package/out/service/permission/api.js +0 -41
- package/out/service/permission/api.js.map +0 -1
- package/out/service/permission/index.d.ts +0 -2
- package/out/service/permission/index.js +0 -17
- package/out/service/permission/index.js.map +0 -1
- package/out/service/process/api.d.ts +0 -136
- package/out/service/process/api.js +0 -95
- package/out/service/process/api.js.map +0 -1
- package/out/service/process/index.d.ts +0 -2
- package/out/service/process/index.js +0 -10
- package/out/service/process/index.js.map +0 -1
- package/out/service/undoredo/api.d.ts +0 -36
- package/out/service/undoredo/api.js +0 -29
- package/out/service/undoredo/api.js.map +0 -1
- package/out/service/undoredo/index.d.ts +0 -2
- package/out/service/undoredo/index.js +0 -10
- package/out/service/undoredo/index.js.map +0 -1
- package/out/service/webFile/api.d.ts +0 -45
- package/out/service/webFile/api.js +0 -35
- package/out/service/webFile/api.js.map +0 -1
- package/out/service/webFile/index.d.ts +0 -3
- package/out/service/webFile/index.js +0 -32
- package/out/service/webFile/index.js.map +0 -1
- package/out/service/webFile/loadCache.d.ts +0 -18
- package/out/service/webFile/loadCache.js +0 -17
- package/out/service/webFile/loadCache.js.map +0 -1
- package/out/test/units/app/App.spec.js +0 -17
- package/out/test/units/app/App.spec.js.map +0 -1
- package/out/test/units/app/Service.spec.js +0 -24
- package/out/test/units/app/Service.spec.js.map +0 -1
- package/out/types/app/App.d.ts +0 -151
- package/out/types/app/App.js +0 -385
- package/out/types/app/App.js.map +0 -1
- package/out/types/app/History.d.ts +0 -36
- package/out/types/app/History.js +0 -366
- package/out/types/app/History.js.map +0 -1
- package/out/types/app/Service.d.ts +0 -251
- package/out/types/app/Service.js +0 -955
- package/out/types/app/Service.js.map +0 -1
- package/out/types/cache.d.ts +0 -6
- package/out/types/cache.js +0 -54
- package/out/types/cache.js.map +0 -1
- package/out/types/cacheData.d.ts +0 -4
- package/out/types/cacheData.js +0 -34
- package/out/types/cacheData.js.map +0 -1
- package/out/types/common/ComponentAPI.js.map +0 -1
- package/out/types/common/EventEmitter.d.ts +0 -29
- package/out/types/common/EventEmitter.js +0 -66
- package/out/types/common/EventEmitter.js.map +0 -1
- package/out/types/common/PackageJSON.d.ts +0 -32
- package/out/types/common/PackageJSON.js +0 -3
- package/out/types/common/PackageJSON.js.map +0 -1
- package/out/types/common/Vertex.d.ts +0 -150
- package/out/types/common/Vertex.js +0 -324
- package/out/types/common/Vertex.js.map +0 -1
- package/out/types/config.d.ts +0 -25
- package/out/types/config.js +0 -23
- package/out/types/config.js.map +0 -1
- package/out/types/data/DataNode.d.ts +0 -24
- package/out/types/data/DataNode.js +0 -52
- package/out/types/data/DataNode.js.map +0 -1
- package/out/types/data/Entity.d.ts +0 -142
- package/out/types/data/Entity.js +0 -573
- package/out/types/data/Entity.js.map +0 -1
- package/out/types/data/EntityIndex.d.ts +0 -87
- package/out/types/data/EntityIndex.js +0 -262
- package/out/types/data/EntityIndex.js.map +0 -1
- package/out/types/data/EntityProperty.d.ts +0 -200
- package/out/types/data/EntityProperty.js +0 -591
- package/out/types/data/EntityProperty.js.map +0 -1
- package/out/types/data/Enum.d.ts +0 -101
- package/out/types/data/Enum.js +0 -274
- package/out/types/data/Enum.js.map +0 -1
- package/out/types/data/EnumItem.d.ts +0 -57
- package/out/types/data/EnumItem.js +0 -170
- package/out/types/data/EnumItem.js.map +0 -1
- package/out/types/data/GlobalLogicNode.d.ts +0 -44
- package/out/types/data/GlobalLogicNode.js +0 -201
- package/out/types/data/GlobalLogicNode.js.map +0 -1
- package/out/types/data/Interface.d.ts +0 -153
- package/out/types/data/Interface.js +0 -483
- package/out/types/data/Interface.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/Schema.d.ts +0 -121
- package/out/types/data/Schema.js +0 -3
- package/out/types/data/Schema.js.map +0 -1
- package/out/types/data/Structure.d.ts +0 -112
- package/out/types/data/Structure.js +0 -338
- package/out/types/data/Structure.js.map +0 -1
- package/out/types/data/StructureProperty.d.ts +0 -134
- package/out/types/data/StructureProperty.js +0 -380
- package/out/types/data/StructureProperty.js.map +0 -1
- package/out/types/data/basicTypes.d.ts +0 -25
- package/out/types/data/basicTypes.js +0 -77
- package/out/types/data/basicTypes.js.map +0 -1
- package/out/types/data/dataTypeUtils.d.ts +0 -94
- package/out/types/data/dataTypeUtils.js +0 -441
- package/out/types/data/dataTypeUtils.js.map +0 -1
- package/out/types/data/dataTypes.d.ts +0 -21
- package/out/types/data/dataTypes.js +0 -81
- package/out/types/data/dataTypes.js.map +0 -1
- package/out/types/data/entityUtils.d.ts +0 -164
- package/out/types/data/entityUtils.js +0 -632
- package/out/types/data/entityUtils.js.map +0 -1
- package/out/types/data/genBlock/builtInFunctions.json +0 -560
- package/out/types/data/genBlock/genCallComponentLogic.d.ts +0 -20
- package/out/types/data/genBlock/genCallComponentLogic.js +0 -32
- package/out/types/data/genBlock/genCallComponentLogic.js.map +0 -1
- package/out/types/data/genBlock/genCallInterface.d.ts +0 -41
- package/out/types/data/genBlock/genCallInterface.js +0 -86
- package/out/types/data/genBlock/genCallInterface.js.map +0 -1
- package/out/types/data/genBlock/genCreateBlock.d.ts +0 -10
- package/out/types/data/genBlock/genCreateBlock.js +0 -312
- package/out/types/data/genBlock/genCreateBlock.js.map +0 -1
- package/out/types/data/genBlock/genCurdBlock.d.ts +0 -4
- package/out/types/data/genBlock/genCurdBlock.js +0 -648
- package/out/types/data/genBlock/genCurdBlock.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/genCurdEditTableBlock.d.ts +0 -3
- package/out/types/data/genBlock/genCurdEditTableBlock.js +0 -578
- package/out/types/data/genBlock/genCurdEditTableBlock.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/out/types/data/genBlock/genEditTableBlock.d.ts +0 -234
- package/out/types/data/genBlock/genEditTableBlock.js +0 -419
- package/out/types/data/genBlock/genEditTableBlock.js.map +0 -1
- package/out/types/data/genBlock/genEnumSelectBlock.d.ts +0 -10
- package/out/types/data/genBlock/genEnumSelectBlock.js +0 -23
- package/out/types/data/genBlock/genEnumSelectBlock.js.map +0 -1
- package/out/types/data/genBlock/genGetBlock.d.ts +0 -6
- package/out/types/data/genBlock/genGetBlock.js +0 -151
- package/out/types/data/genBlock/genGetBlock.js.map +0 -1
- package/out/types/data/genBlock/genGridViewBlock.d.ts +0 -136
- package/out/types/data/genBlock/genGridViewBlock.js +0 -274
- package/out/types/data/genBlock/genGridViewBlock.js.map +0 -1
- package/out/types/data/genBlock/genListViewBlock.d.ts +0 -63
- package/out/types/data/genBlock/genListViewBlock.js +0 -110
- package/out/types/data/genBlock/genListViewBlock.js.map +0 -1
- package/out/types/data/genBlock/genQueryComponent.d.ts +0 -336
- package/out/types/data/genBlock/genQueryComponent.js +0 -526
- package/out/types/data/genBlock/genQueryComponent.js.map +0 -1
- package/out/types/data/genBlock/genSelectBlock.d.ts +0 -63
- package/out/types/data/genBlock/genSelectBlock.js +0 -107
- package/out/types/data/genBlock/genSelectBlock.js.map +0 -1
- package/out/types/data/genBlock/genTableBlock.d.ts +0 -136
- package/out/types/data/genBlock/genTableBlock.js +0 -270
- package/out/types/data/genBlock/genTableBlock.js.map +0 -1
- package/out/types/data/genBlock/genUpdateBlock.d.ts +0 -6
- package/out/types/data/genBlock/genUpdateBlock.js +0 -383
- package/out/types/data/genBlock/genUpdateBlock.js.map +0 -1
- package/out/types/data/genBlock/index.d.ts +0 -17
- package/out/types/data/genBlock/index.js +0 -31
- package/out/types/data/genBlock/index.js.map +0 -1
- package/out/types/data/genBlock/utils.d.ts +0 -99
- package/out/types/data/genBlock/utils.js +0 -224
- package/out/types/data/genBlock/utils.js.map +0 -1
- package/out/types/data/genericTypes.d.ts +0 -40
- package/out/types/data/genericTypes.js +0 -149
- package/out/types/data/genericTypes.js.map +0 -1
- package/out/types/data/systemTypes.d.ts +0 -9
- package/out/types/data/systemTypes.js +0 -1636
- package/out/types/data/systemTypes.js.map +0 -1
- package/out/types/decorators/index.d.ts +0 -25
- package/out/types/decorators/index.js +0 -57
- package/out/types/decorators/index.js.map +0 -1
- package/out/types/enum.d.ts +0 -6
- package/out/types/enum.js +0 -11
- package/out/types/enum.js.map +0 -1
- package/out/types/eventBus.js +0 -5
- package/out/types/eventBus.js.map +0 -1
- package/out/types/generator/data.d.ts +0 -36
- package/out/types/generator/data.js +0 -201
- package/out/types/generator/data.js.map +0 -1
- package/out/types/generator/hotReload.d.ts +0 -14
- package/out/types/generator/hotReload.js +0 -50
- package/out/types/generator/hotReload.js.map +0 -1
- package/out/types/generator/index.d.ts +0 -4
- package/out/types/generator/index.js +0 -17
- package/out/types/generator/index.js.map +0 -1
- package/out/types/generator/load.d.ts +0 -8
- package/out/types/generator/load.js +0 -92
- package/out/types/generator/load.js.map +0 -1
- package/out/types/generator/page.d.ts +0 -11
- package/out/types/generator/page.js +0 -42
- package/out/types/generator/page.js.map +0 -1
- package/out/types/history.d.ts +0 -10
- package/out/types/history.js +0 -13
- package/out/types/history.js.map +0 -1
- package/out/types/index.d.ts +0 -148
- package/out/types/index.js +0 -230
- package/out/types/index.js.map +0 -1
- package/out/types/logic/BaseVariable.d.ts +0 -75
- package/out/types/logic/BaseVariable.js +0 -159
- package/out/types/logic/BaseVariable.js.map +0 -1
- package/out/types/logic/CallInterface.js +0 -9
- package/out/types/logic/CallInterface.js.map +0 -1
- package/out/types/logic/Logic.d.ts +0 -200
- package/out/types/logic/Logic.js +0 -637
- package/out/types/logic/Logic.js.map +0 -1
- package/out/types/logic/LogicItem.d.ts +0 -321
- package/out/types/logic/LogicItem.js +0 -1360
- package/out/types/logic/LogicItem.js.map +0 -1
- package/out/types/logic/Param.d.ts +0 -86
- package/out/types/logic/Param.js +0 -367
- package/out/types/logic/Param.js.map +0 -1
- package/out/types/logic/Return.d.ts +0 -73
- package/out/types/logic/Return.js +0 -313
- package/out/types/logic/Return.js.map +0 -1
- package/out/types/logic/Variable.d.ts +0 -72
- package/out/types/logic/Variable.js +0 -309
- package/out/types/logic/Variable.js.map +0 -1
- package/out/types/logic/expressions/BinaryExpression.d.ts +0 -27
- package/out/types/logic/expressions/BinaryExpression.js +0 -56
- package/out/types/logic/expressions/BinaryExpression.js.map +0 -1
- package/out/types/logic/expressions/BooleanLiteral.d.ts +0 -19
- package/out/types/logic/expressions/BooleanLiteral.js +0 -42
- package/out/types/logic/expressions/BooleanLiteral.js.map +0 -1
- package/out/types/logic/expressions/Identifier.d.ts +0 -28
- package/out/types/logic/expressions/Identifier.js +0 -57
- package/out/types/logic/expressions/Identifier.js.map +0 -1
- package/out/types/logic/expressions/LogicalExpression.d.ts +0 -27
- package/out/types/logic/expressions/LogicalExpression.js +0 -56
- package/out/types/logic/expressions/LogicalExpression.js.map +0 -1
- package/out/types/logic/expressions/MemberExpression.d.ts +0 -23
- package/out/types/logic/expressions/MemberExpression.js +0 -52
- package/out/types/logic/expressions/MemberExpression.js.map +0 -1
- package/out/types/logic/expressions/NullLiteral.d.ts +0 -15
- package/out/types/logic/expressions/NullLiteral.js +0 -35
- package/out/types/logic/expressions/NullLiteral.js.map +0 -1
- package/out/types/logic/expressions/NumericLiteral.d.ts +0 -19
- package/out/types/logic/expressions/NumericLiteral.js +0 -42
- package/out/types/logic/expressions/NumericLiteral.js.map +0 -1
- package/out/types/logic/expressions/StringLiteral.d.ts +0 -19
- package/out/types/logic/expressions/StringLiteral.js +0 -42
- package/out/types/logic/expressions/StringLiteral.js.map +0 -1
- package/out/types/logic/expressions/UnaryExpression.d.ts +0 -23
- package/out/types/logic/expressions/UnaryExpression.js +0 -49
- package/out/types/logic/expressions/UnaryExpression.js.map +0 -1
- package/out/types/logic/expressions/Unparsed.d.ts +0 -19
- package/out/types/logic/expressions/Unparsed.js +0 -42
- package/out/types/logic/expressions/Unparsed.js.map +0 -1
- package/out/types/logic/nodes/AssignmentExpression.d.ts +0 -23
- package/out/types/logic/nodes/AssignmentExpression.js +0 -49
- package/out/types/logic/nodes/AssignmentExpression.js.map +0 -1
- package/out/types/logic/nodes/BuiltInFuncParam.d.ts +0 -27
- package/out/types/logic/nodes/BuiltInFuncParam.js +0 -56
- package/out/types/logic/nodes/BuiltInFuncParam.js.map +0 -1
- package/out/types/logic/nodes/BuiltInFunction.d.ts +0 -24
- package/out/types/logic/nodes/BuiltInFunction.js +0 -55
- package/out/types/logic/nodes/BuiltInFunction.js.map +0 -1
- package/out/types/logic/nodes/CallConsoleLog.d.ts +0 -19
- package/out/types/logic/nodes/CallConsoleLog.js +0 -42
- package/out/types/logic/nodes/CallConsoleLog.js.map +0 -1
- package/out/types/logic/nodes/CallGraphQL.d.ts +0 -28
- package/out/types/logic/nodes/CallGraphQL.js +0 -56
- package/out/types/logic/nodes/CallGraphQL.js.map +0 -1
- package/out/types/logic/nodes/CallInterParam.d.ts +0 -23
- package/out/types/logic/nodes/CallInterParam.js +0 -49
- package/out/types/logic/nodes/CallInterParam.js.map +0 -1
- package/out/types/logic/nodes/CallInterface.d.ts +0 -24
- package/out/types/logic/nodes/CallInterface.js +0 -49
- package/out/types/logic/nodes/CallInterface.js.map +0 -1
- package/out/types/logic/nodes/CallLogic.d.ts +0 -24
- package/out/types/logic/nodes/CallLogic.js +0 -55
- package/out/types/logic/nodes/CallLogic.js.map +0 -1
- package/out/types/logic/nodes/CallMessageShow.d.ts +0 -27
- package/out/types/logic/nodes/CallMessageShow.js +0 -56
- package/out/types/logic/nodes/CallMessageShow.js.map +0 -1
- package/out/types/logic/nodes/Comment.d.ts +0 -19
- package/out/types/logic/nodes/Comment.js +0 -42
- package/out/types/logic/nodes/Comment.js.map +0 -1
- package/out/types/logic/nodes/CronJob.d.ts +0 -19
- package/out/types/logic/nodes/CronJob.js +0 -42
- package/out/types/logic/nodes/CronJob.js.map +0 -1
- package/out/types/logic/nodes/DBQuery.d.ts +0 -19
- package/out/types/logic/nodes/DBQuery.js +0 -42
- package/out/types/logic/nodes/DBQuery.js.map +0 -1
- package/out/types/logic/nodes/Destination.d.ts +0 -32
- package/out/types/logic/nodes/Destination.js +0 -73
- package/out/types/logic/nodes/Destination.js.map +0 -1
- package/out/types/logic/nodes/DestinationParam.d.ts +0 -24
- package/out/types/logic/nodes/DestinationParam.js +0 -49
- package/out/types/logic/nodes/DestinationParam.js.map +0 -1
- package/out/types/logic/nodes/End.d.ts +0 -15
- package/out/types/logic/nodes/End.js +0 -36
- package/out/types/logic/nodes/End.js.map +0 -1
- package/out/types/logic/nodes/ForEachStatement.d.ts +0 -40
- package/out/types/logic/nodes/ForEachStatement.js +0 -77
- package/out/types/logic/nodes/ForEachStatement.js.map +0 -1
- package/out/types/logic/nodes/IfStatement.d.ts +0 -27
- package/out/types/logic/nodes/IfStatement.js +0 -56
- package/out/types/logic/nodes/IfStatement.js.map +0 -1
- package/out/types/logic/nodes/JSBlock.d.ts +0 -19
- package/out/types/logic/nodes/JSBlock.js +0 -46
- package/out/types/logic/nodes/JSBlock.js.map +0 -1
- package/out/types/logic/nodes/JSONDeserialize.d.ts +0 -19
- package/out/types/logic/nodes/JSONDeserialize.js +0 -42
- package/out/types/logic/nodes/JSONDeserialize.js.map +0 -1
- package/out/types/logic/nodes/JSONSerialize.d.ts +0 -19
- package/out/types/logic/nodes/JSONSerialize.js +0 -42
- package/out/types/logic/nodes/JSONSerialize.js.map +0 -1
- package/out/types/logic/nodes/ProcessOutcome.d.ts +0 -27
- package/out/types/logic/nodes/ProcessOutcome.js +0 -56
- package/out/types/logic/nodes/ProcessOutcome.js.map +0 -1
- package/out/types/logic/nodes/Start.d.ts +0 -15
- package/out/types/logic/nodes/Start.js +0 -35
- package/out/types/logic/nodes/Start.js.map +0 -1
- package/out/types/logic/nodes/SwitchCase.d.ts +0 -23
- package/out/types/logic/nodes/SwitchCase.js +0 -49
- package/out/types/logic/nodes/SwitchCase.js.map +0 -1
- package/out/types/logic/nodes/SwitchStatement.d.ts +0 -20
- package/out/types/logic/nodes/SwitchStatement.js +0 -42
- package/out/types/logic/nodes/SwitchStatement.js.map +0 -1
- package/out/types/logic/nodes/TypeNote.d.ts +0 -19
- package/out/types/logic/nodes/TypeNote.js +0 -42
- package/out/types/logic/nodes/TypeNote.js.map +0 -1
- package/out/types/logic/nodes/WhileStatement.d.ts +0 -23
- package/out/types/logic/nodes/WhileStatement.js +0 -49
- package/out/types/logic/nodes/WhileStatement.js.map +0 -1
- package/out/types/logic/tools.d.ts +0 -15
- package/out/types/logic/tools.js +0 -164
- package/out/types/logic/tools.js.map +0 -1
- package/out/types/logic/translator.d.ts +0 -1
- package/out/types/logic/translator.js +0 -647
- package/out/types/logic/translator.js.map +0 -1
- package/out/types/login.d.ts +0 -7
- package/out/types/login.js +0 -39
- package/out/types/login.js.map +0 -1
- package/out/types/nuims/Nuims.d.ts +0 -128
- package/out/types/nuims/Nuims.js +0 -446
- package/out/types/nuims/Nuims.js.map +0 -1
- package/out/types/page/Attr.d.ts +0 -79
- package/out/types/page/Attr.js +0 -217
- package/out/types/page/Attr.js.map +0 -1
- package/out/types/page/Block.d.ts +0 -65
- package/out/types/page/Block.js +0 -82
- package/out/types/page/Block.js.map +0 -1
- package/out/types/page/Directive.d.ts +0 -78
- package/out/types/page/Directive.js +0 -202
- package/out/types/page/Directive.js.map +0 -1
- package/out/types/page/Element.d.ts +0 -266
- package/out/types/page/Element.js +0 -1430
- package/out/types/page/Element.js.map +0 -1
- package/out/types/page/Event.d.ts +0 -63
- package/out/types/page/Event.js +0 -212
- package/out/types/page/Event.js.map +0 -1
- package/out/types/page/Lifecycle.d.ts +0 -58
- package/out/types/page/Lifecycle.js +0 -192
- package/out/types/page/Lifecycle.js.map +0 -1
- package/out/types/page/Page.d.ts +0 -95
- package/out/types/page/Page.js +0 -427
- package/out/types/page/Page.js.map +0 -1
- package/out/types/page/View.d.ts +0 -253
- package/out/types/page/View.js +0 -1206
- package/out/types/page/View.js.map +0 -1
- package/out/types/page/ViewParam.d.ts +0 -73
- package/out/types/page/ViewParam.js +0 -296
- package/out/types/page/ViewParam.js.map +0 -1
- package/out/types/page/ViewVariable.d.ts +0 -73
- package/out/types/page/ViewVariable.js +0 -276
- package/out/types/page/ViewVariable.js.map +0 -1
- package/out/types/permission/Permission.d.ts +0 -41
- package/out/types/permission/Permission.js +0 -122
- package/out/types/permission/Permission.js.map +0 -1
- package/out/types/process/Process.d.ts +0 -118
- package/out/types/process/Process.js +0 -357
- package/out/types/process/Process.js.map +0 -1
- package/out/types/process/ProcessComponent.d.ts +0 -133
- package/out/types/process/ProcessComponent.js +0 -339
- package/out/types/process/ProcessComponent.js.map +0 -1
- package/out/types/process/ProcessComponentAttribute.d.ts +0 -63
- package/out/types/process/ProcessComponentAttribute.js +0 -163
- package/out/types/process/ProcessComponentAttribute.js.map +0 -1
- package/out/types/process/ProcessComponentProperty.d.ts +0 -37
- package/out/types/process/ProcessComponentProperty.js +0 -81
- package/out/types/process/ProcessComponentProperty.js.map +0 -1
- package/out/types/process/ProcessComponentReturn.d.ts +0 -77
- package/out/types/process/ProcessComponentReturn.js +0 -260
- package/out/types/process/ProcessComponentReturn.js.map +0 -1
- package/out/types/process/ProcessComponentVariable.d.ts +0 -78
- package/out/types/process/ProcessComponentVariable.js +0 -252
- package/out/types/process/ProcessComponentVariable.js.map +0 -1
- package/out/types/process/ProcessInterface.d.ts +0 -112
- package/out/types/process/ProcessInterface.js +0 -227
- package/out/types/process/ProcessInterface.js.map +0 -1
- package/out/types/process/ProcessParam.d.ts +0 -77
- package/out/types/process/ProcessParam.js +0 -261
- package/out/types/process/ProcessParam.js.map +0 -1
- package/out/types/process/ProcessProperty.d.ts +0 -37
- package/out/types/process/ProcessProperty.js +0 -81
- package/out/types/process/ProcessProperty.js.map +0 -1
- package/out/types/process/ProcessReturn.d.ts +0 -73
- package/out/types/process/ProcessReturn.js +0 -237
- package/out/types/process/ProcessReturn.js.map +0 -1
- package/out/types/typeCheck.d.ts +0 -30
- package/out/types/typeCheck.js +0 -91
- package/out/types/typeCheck.js.map +0 -1
- package/out/types/utils/index.d.ts +0 -26
- package/out/types/utils/index.js +0 -90
- package/out/types/utils/index.js.map +0 -1
- package/out/types/utils/logger.js +0 -14
- package/out/types/utils/logger.js.map +0 -1
- package/out/types/utils/string.d.ts +0 -34
- package/out/types/utils/string.js +0 -62
- package/out/types/utils/string.js.map +0 -1
- package/out/types/utils/traverse.d.ts +0 -35
- package/out/types/utils/traverse.js +0 -126
- package/out/types/utils/traverse.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
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.getConfigData = exports.stringify = exports.wbr = exports.renderFlags = exports.renderTypeParametersSignature = exports.classNames = exports.join = exports.hasTypeParameters = void 0;
|
|
27
|
+
const path = __importStar(require("path"));
|
|
28
|
+
const fs = __importStar(require("fs"));
|
|
29
|
+
const typedoc_1 = require("typedoc");
|
|
30
|
+
function hasTypeParameters(reflection) {
|
|
31
|
+
if (reflection instanceof typedoc_1.DeclarationReflection || reflection instanceof typedoc_1.SignatureReflection) {
|
|
32
|
+
return reflection.typeParameters != null;
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
exports.hasTypeParameters = hasTypeParameters;
|
|
37
|
+
function join(joiner, list, cb) {
|
|
38
|
+
const result = [];
|
|
39
|
+
for (const item of list) {
|
|
40
|
+
if (result.length > 0) {
|
|
41
|
+
result.push(joiner);
|
|
42
|
+
}
|
|
43
|
+
result.push(cb(item));
|
|
44
|
+
}
|
|
45
|
+
return typedoc_1.JSX.createElement(typedoc_1.JSX.Fragment, null, result);
|
|
46
|
+
}
|
|
47
|
+
exports.join = join;
|
|
48
|
+
function classNames(names) {
|
|
49
|
+
return Object.entries(names)
|
|
50
|
+
.filter(([, include]) => include)
|
|
51
|
+
.map(([key]) => key)
|
|
52
|
+
.join(" ");
|
|
53
|
+
}
|
|
54
|
+
exports.classNames = classNames;
|
|
55
|
+
function renderTypeParametersSignature(typeParameters) {
|
|
56
|
+
return (typedoc_1.JSX.createElement(typedoc_1.JSX.Fragment, null, !!typeParameters && typeParameters.length > 0 && (typedoc_1.JSX.createElement(typedoc_1.JSX.Fragment, null,
|
|
57
|
+
typedoc_1.JSX.createElement("span", { class: "tsd-signature-symbol" }, "<"),
|
|
58
|
+
join(typedoc_1.JSX.createElement("span", { class: "tsd-signature-symbol" }, ", "), typeParameters, (item) => (typedoc_1.JSX.createElement("span", { class: "tsd-signature-type", "data-tsd-kind": item.kindString }, item.name))),
|
|
59
|
+
typedoc_1.JSX.createElement("span", { class: "tsd-signature-symbol" }, ">")))));
|
|
60
|
+
}
|
|
61
|
+
exports.renderTypeParametersSignature = renderTypeParametersSignature;
|
|
62
|
+
function renderFlags(flags) {
|
|
63
|
+
return (typedoc_1.JSX.createElement(typedoc_1.JSX.Fragment, null, flags.map((item) => (typedoc_1.JSX.createElement(typedoc_1.JSX.Fragment, null,
|
|
64
|
+
typedoc_1.JSX.createElement("span", { class: "tsd-flag ts-flag" + item }, item),
|
|
65
|
+
" ")))));
|
|
66
|
+
}
|
|
67
|
+
exports.renderFlags = renderFlags;
|
|
68
|
+
/**
|
|
69
|
+
* Insert word break tags ``<wbr>`` into the given string.
|
|
70
|
+
*
|
|
71
|
+
* Breaks the given string at ``_``, ``-`` and capital letters.
|
|
72
|
+
*
|
|
73
|
+
* @param str The string that should be split.
|
|
74
|
+
* @return The original string containing ``<wbr>`` tags where possible.
|
|
75
|
+
*/
|
|
76
|
+
function wbr(str) {
|
|
77
|
+
const ret = [];
|
|
78
|
+
const re = /[\s\S]*?(?:([^_-][_-])(?=[^_-])|([^A-Z])(?=[A-Z][^A-Z]))/g;
|
|
79
|
+
let match;
|
|
80
|
+
let i = 0;
|
|
81
|
+
while ((match = re.exec(str))) {
|
|
82
|
+
ret.push(match[0]);
|
|
83
|
+
ret.push(typedoc_1.JSX.createElement("wbr", null));
|
|
84
|
+
i += match[0].length;
|
|
85
|
+
}
|
|
86
|
+
ret.push(str.slice(i));
|
|
87
|
+
return ret;
|
|
88
|
+
}
|
|
89
|
+
exports.wbr = wbr;
|
|
90
|
+
function stringify(data) {
|
|
91
|
+
if (typeof data === "bigint") {
|
|
92
|
+
return data.toString() + "n";
|
|
93
|
+
}
|
|
94
|
+
return JSON.stringify(data);
|
|
95
|
+
}
|
|
96
|
+
exports.stringify = stringify;
|
|
97
|
+
function getConfigData(context, prop) {
|
|
98
|
+
const fileName = 'config.json';
|
|
99
|
+
const normalizedPath = path.join(__dirname, '..', fileName);
|
|
100
|
+
const config = JSON.parse(fs.readFileSync(normalizedPath, 'utf8'));
|
|
101
|
+
const lang = 'en';
|
|
102
|
+
let data;
|
|
103
|
+
if (config && lang && process.env.NODE_ENV) {
|
|
104
|
+
data = config[lang][process.env.NODE_ENV.trim()];
|
|
105
|
+
}
|
|
106
|
+
const res = data ? data[prop] : '';
|
|
107
|
+
return res;
|
|
108
|
+
}
|
|
109
|
+
exports.getConfigData = getConfigData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(definition: any): string;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
function switchCase2If(cases) {
|
|
4
|
+
const cas = cases.shift();
|
|
5
|
+
const result = {
|
|
6
|
+
type: 'IfStatement',
|
|
7
|
+
test: cas.test,
|
|
8
|
+
consequent: {
|
|
9
|
+
type: 'BlockStatement',
|
|
10
|
+
body: [
|
|
11
|
+
{
|
|
12
|
+
type: 'CallConsoleInfo',
|
|
13
|
+
content: 'SWITCHCASE',
|
|
14
|
+
},
|
|
15
|
+
...(cas.consequent || []),
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
alternate: null,
|
|
19
|
+
};
|
|
20
|
+
if (cases.length) {
|
|
21
|
+
result.alternate = switchCase2If(cases);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
return {
|
|
25
|
+
type: 'BlockStatement',
|
|
26
|
+
body: [
|
|
27
|
+
{
|
|
28
|
+
type: 'CallConsoleInfo',
|
|
29
|
+
content: 'SWITCHDEFAULT',
|
|
30
|
+
},
|
|
31
|
+
...(cas.consequent || []),
|
|
32
|
+
],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
function default_1(definition) {
|
|
38
|
+
const dataMap = {};
|
|
39
|
+
/**
|
|
40
|
+
* 生成页面的 data
|
|
41
|
+
* genInitFromSchema 是为了将数据类型的处理和页面逻辑的生成分开
|
|
42
|
+
* 比如 param a.b 的 schema 有变化,View 代码无需再次生成
|
|
43
|
+
*/
|
|
44
|
+
const paramsData = (definition.params || [])
|
|
45
|
+
.map((param) => {
|
|
46
|
+
// pass schema to genInitData function, transform init realtime after datatypes changed
|
|
47
|
+
// 标记 Vue 的 data 中已经使用声明了该变量
|
|
48
|
+
dataMap[param.code || param.name] = true;
|
|
49
|
+
return (safeCodeAsKey(param)
|
|
50
|
+
+ `: this.$genInitFromSchema(${JSON.stringify(param.typeAnnotation)}, this.$route.query.hasOwnProperty('${param.name}') ? this.$route.query.${param.name} : ${JSON.stringify(param.defaultValue)}, true)`);
|
|
51
|
+
})
|
|
52
|
+
.join(',\n')
|
|
53
|
+
.trim();
|
|
54
|
+
/**
|
|
55
|
+
* 生成变量的 data
|
|
56
|
+
*/
|
|
57
|
+
const variablesData = (definition.variables || [])
|
|
58
|
+
.map((variable) => {
|
|
59
|
+
// 标记 Vue 的 data 中已经使用声明了该变量
|
|
60
|
+
dataMap[variable.name] = true;
|
|
61
|
+
return safeCodeAsKey(variable) + `: this.$genInitFromSchema(${JSON.stringify(variable.typeAnnotation)}, ${JSON.stringify(variable.defaultValue)})`;
|
|
62
|
+
})
|
|
63
|
+
.join(',\n')
|
|
64
|
+
.trim();
|
|
65
|
+
function safeCodeAsKey(node) {
|
|
66
|
+
return `['${node.name}']`;
|
|
67
|
+
}
|
|
68
|
+
const eventMap = new Map();
|
|
69
|
+
definition.events?.forEach((item) => {
|
|
70
|
+
if (!item?.name)
|
|
71
|
+
return;
|
|
72
|
+
if (!eventMap.has(item.name))
|
|
73
|
+
eventMap.set(item.name, [item]);
|
|
74
|
+
else
|
|
75
|
+
eventMap.get(item.name).push(item);
|
|
76
|
+
});
|
|
77
|
+
const events = Array.from(eventMap).map(([name, bindEvents]) => `
|
|
78
|
+
const old${name} = componentOptions['${name}'];
|
|
79
|
+
componentOptions['${name}'] = function () {
|
|
80
|
+
${bindEvents.map((event) => `old${name} && old${name}.call(this);this.${event.calleeName}();`).join('\n')}
|
|
81
|
+
}`);
|
|
82
|
+
const methods = (definition.logics || []).map((logic) => logic.toJS({
|
|
83
|
+
tabSize: 1,
|
|
84
|
+
}));
|
|
85
|
+
const output = `
|
|
86
|
+
const methods = componentOptions.methods = componentOptions.methods || {};
|
|
87
|
+
const computed = componentOptions.computed = componentOptions.computed || {};
|
|
88
|
+
const oldDataFunc = componentOptions.data;
|
|
89
|
+
const data = function () {
|
|
90
|
+
const oldData = oldDataFunc ? oldDataFunc.call(this) : {};
|
|
91
|
+
return Object.assign(oldData, {
|
|
92
|
+
${paramsData ? paramsData + ',' : ''}
|
|
93
|
+
${variablesData}
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
componentOptions.data = data;
|
|
97
|
+
const meta = componentOptions.meta = componentOptions.meta || {};
|
|
98
|
+
Object.assign(meta, {
|
|
99
|
+
title: ${JSON.stringify(definition.title)},
|
|
100
|
+
crumb: ${JSON.stringify(definition.crumb)},
|
|
101
|
+
first: ${JSON.stringify(definition.first)},
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
${events.join('\n\n')}
|
|
105
|
+
|
|
106
|
+
${methods.join('\n\n')}
|
|
107
|
+
`;
|
|
108
|
+
return output;
|
|
109
|
+
}
|
|
110
|
+
exports.default = default_1;
|
|
111
|
+
//# sourceMappingURL=translator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translator.js","sourceRoot":"","sources":["../../src/bak/translator.js"],"names":[],"mappings":";;AAEA,SAAS,aAAa,CAAC,KAAK;IACxB,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IAE1B,MAAM,MAAM,GAAG;QACX,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,UAAU,EAAE;YACR,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE;gBACF;oBACI,IAAI,EAAE,iBAAiB;oBACvB,OAAO,EAAE,YAAY;iBACxB;gBACD,GAAG,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC;aAC5B;SACJ;QACD,SAAS,EAAE,IAAI;KAClB,CAAC;IAEF,IAAI,KAAK,CAAC,MAAM,EAAE;QACd,MAAM,CAAC,SAAS,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;KAC3C;SAAM;QACH,OAAO;YACH,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE;gBACF;oBACI,IAAI,EAAE,iBAAiB;oBACvB,OAAO,EAAE,eAAe;iBAC3B;gBACD,GAAG,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC;aAC5B;SACJ,CAAC;KACL;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,mBAAyB,UAAU;IAC/B,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB;;;;OAIG;IACH,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,MAAM,IAAI,EAAE,CAAC;SACvC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACX,uFAAuF;QAEvF,4BAA4B;QAC5B,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;QACzC,OAAO,CACH,aAAa,CAAC,KAAK,CAAC;cAClB,6BAA6B,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC,uCAAuC,KAAK,CAAC,IAAI,0BAA0B,KAAK,CAAC,IAAI,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,YAAY,CAAC,SAAS,CAC5M,CAAC;IACN,CAAC,CAAC;SACD,IAAI,CAAC,KAAK,CAAC;SACX,IAAI,EAAE,CAAC;IACZ;;OAEG;IACH,MAAM,aAAa,GAAG,CAAC,UAAU,CAAC,SAAS,IAAI,EAAE,CAAC;SAC7C,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QACd,4BAA4B;QAC5B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;QAC9B,OAAO,aAAa,CAAC,QAAQ,CAAC,GAAG,6BAA6B,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC;IACvJ,CAAC,CAAC;SACD,IAAI,CAAC,KAAK,CAAC;SACX,IAAI,EAAE,CAAC;IAEZ,SAAS,aAAa,CAAC,IAAI;QACvB,OAAO,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC;IAC9B,CAAC;IAED,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;IAC3B,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAChC,IAAI,CAAC,IAAI,EAAE,IAAI;YACX,OAAO;QAEX,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;YACxB,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;;YAEhC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC;mBACjD,IAAI,wBAAwB,IAAI;4BACvB,IAAI;cAClB,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,IAAI,UAAU,IAAI,oBAAoB,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;UAC3G,CAAC,CAAC;IAER,MAAM,OAAO,GAAG,CAAC,UAAU,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACpD,KAAK,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,CAAC;KACb,CAAC,CAAC,CAAC;IAER,MAAM,MAAM,GAAG;;;;;;;kBAOD,UAAU,CAAC,CAAC,CAAC,UAAU,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE;kBAClC,aAAa;;;;;;qBAMV,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC;qBAChC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC;qBAChC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC;;;UAG3C,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;;UAEnB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;KACzB,CAAC;IAEF,OAAO,MAAM,CAAC;AAClB,CAAC;AApFD,4BAoFC"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { SourceMap } from '../translator';
|
|
2
|
+
import { EventEmitter, EventPayload, Params } from './EventEmitter';
|
|
3
|
+
import { Diagnostic } from '../manager/diagnostic';
|
|
4
|
+
/**
|
|
5
|
+
* 顶点类
|
|
6
|
+
* 属性均为只读,仅在初始化和 load 的情况下可以修改
|
|
7
|
+
*/
|
|
8
|
+
export declare class BaseNode extends EventEmitter {
|
|
9
|
+
/**
|
|
10
|
+
* 可修改标志,内部属性
|
|
11
|
+
* 标记在构造函数结束后是否可修改
|
|
12
|
+
*/
|
|
13
|
+
_mutable: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* 概念
|
|
16
|
+
*/
|
|
17
|
+
concept: string;
|
|
18
|
+
/**
|
|
19
|
+
* toJSON 时需要去除的键,为了避免出现 CircularJSON
|
|
20
|
+
*/
|
|
21
|
+
readonly JSON_EXCLUDED_KEYS: Set<string>;
|
|
22
|
+
/**
|
|
23
|
+
* 唯一 Id
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* 变动时间
|
|
28
|
+
*/
|
|
29
|
+
changedTime: number;
|
|
30
|
+
/**
|
|
31
|
+
* 分支名称
|
|
32
|
+
*/
|
|
33
|
+
branchName: string;
|
|
34
|
+
/**
|
|
35
|
+
* 父节点
|
|
36
|
+
*/
|
|
37
|
+
parentNode: BaseNode;
|
|
38
|
+
parentKey: string;
|
|
39
|
+
/**
|
|
40
|
+
* 是否正在编辑
|
|
41
|
+
* 前端 UI 状态
|
|
42
|
+
*/
|
|
43
|
+
editable: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* 是否可以删除
|
|
46
|
+
* 前端 UI 状态
|
|
47
|
+
*/
|
|
48
|
+
removable: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* 是否正在编辑
|
|
51
|
+
* 前端 UI 状态
|
|
52
|
+
*/
|
|
53
|
+
editing: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 是否正在请求
|
|
56
|
+
* 前端 UI 状态
|
|
57
|
+
*/
|
|
58
|
+
loading: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* 节点是否为展开状态
|
|
61
|
+
* 前端 UI 状态
|
|
62
|
+
*/
|
|
63
|
+
expanded: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* 节点是否显示
|
|
66
|
+
* 前端 UI 状态
|
|
67
|
+
*/
|
|
68
|
+
hidden: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* 页面树节点是否显示
|
|
71
|
+
* 前端 UI 状态
|
|
72
|
+
*/
|
|
73
|
+
pageTreeNodeHidden: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* 逻辑树节点是否显示
|
|
76
|
+
* 前端 UI 状态
|
|
77
|
+
*/
|
|
78
|
+
logicTreeNodeHidden: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* 数据树节点是否显示
|
|
81
|
+
* 前端 UI 状态
|
|
82
|
+
*/
|
|
83
|
+
dataTreeNodeHidden: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 数据树节点是否展开
|
|
86
|
+
* 前端 UI 状态
|
|
87
|
+
*/
|
|
88
|
+
logicTreeNodeExpanded: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 用于挂 embeddedTS 的 sourceMap
|
|
91
|
+
*/
|
|
92
|
+
sourceMap: SourceMap;
|
|
93
|
+
/**
|
|
94
|
+
* 是否为叶子节点
|
|
95
|
+
* 前端 UI 状态
|
|
96
|
+
*/
|
|
97
|
+
isLeaf: boolean;
|
|
98
|
+
storageJSON: any;
|
|
99
|
+
/**
|
|
100
|
+
* 当前节点上报错详细信息
|
|
101
|
+
*/
|
|
102
|
+
tsErrorDetail: Diagnostic | undefined;
|
|
103
|
+
name: string;
|
|
104
|
+
/**
|
|
105
|
+
* @param source 需要合并的部分参数
|
|
106
|
+
*/
|
|
107
|
+
constructor(source?: Partial<BaseNode>);
|
|
108
|
+
subConstructor(source?: Partial<BaseNode>): Promise<void>;
|
|
109
|
+
getIndexOfParent(): number;
|
|
110
|
+
/**
|
|
111
|
+
* 为存储点生成行为监听器
|
|
112
|
+
* @param action
|
|
113
|
+
* @returns
|
|
114
|
+
*/
|
|
115
|
+
genActionListener($event: EventPayload): void;
|
|
116
|
+
createNode({ parentNode, parentKey, index }: {
|
|
117
|
+
parentNode: BaseNode;
|
|
118
|
+
parentKey: string;
|
|
119
|
+
index: number;
|
|
120
|
+
}): void;
|
|
121
|
+
toTemplateJSON(): {};
|
|
122
|
+
/**
|
|
123
|
+
* 创建节点
|
|
124
|
+
*/
|
|
125
|
+
create(parentParams: Params): void;
|
|
126
|
+
/**
|
|
127
|
+
* 删除节点
|
|
128
|
+
*/
|
|
129
|
+
delete(): void;
|
|
130
|
+
/**
|
|
131
|
+
* 更新节点
|
|
132
|
+
*/
|
|
133
|
+
update({ field, ...object }: any): void;
|
|
134
|
+
_delete(): Params;
|
|
135
|
+
static from(source: any, parentNode?: BaseNode, parentKey?: string): BaseNode;
|
|
136
|
+
get nodePath(): string;
|
|
137
|
+
getNodePath(isCreate: boolean): string;
|
|
138
|
+
/**
|
|
139
|
+
* 上层节点
|
|
140
|
+
*/
|
|
141
|
+
get upperNode(): BaseNode;
|
|
142
|
+
/**
|
|
143
|
+
* 根节点
|
|
144
|
+
*/
|
|
145
|
+
get rootNode(): BaseNode;
|
|
146
|
+
/**
|
|
147
|
+
* 获取祖先节点
|
|
148
|
+
*/
|
|
149
|
+
getAncestor(concept: string): BaseNode;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param source
|
|
153
|
+
* @param Ctor
|
|
154
|
+
* @param completeList
|
|
155
|
+
* @param idsList
|
|
156
|
+
*/
|
|
157
|
+
handleSource(source: any, completeList: any[]): void;
|
|
158
|
+
/**
|
|
159
|
+
* 激活 JSON 内部实例
|
|
160
|
+
* @param source
|
|
161
|
+
*/
|
|
162
|
+
activeInside(source: any, Ctor: any, parentNode: any, parentKey: string): any;
|
|
163
|
+
/**
|
|
164
|
+
* 生成json
|
|
165
|
+
* @param instance
|
|
166
|
+
* @param Ctor
|
|
167
|
+
*/
|
|
168
|
+
genSources(instance: BaseNode, filerFn?: (source: Partial<BaseNode>) => {}): {};
|
|
169
|
+
/**
|
|
170
|
+
* 实例化一个 JSON
|
|
171
|
+
* 由于有 from,只能先实例化父级,再实例化子级
|
|
172
|
+
* @param obj
|
|
173
|
+
* @param parentNode
|
|
174
|
+
* @returns
|
|
175
|
+
*/
|
|
176
|
+
instantiate(source: any, parentNode: BaseNode, parentKey: string): any;
|
|
177
|
+
plainAssign(source: any): void;
|
|
178
|
+
pick(source: any, keys?: Array<string>): void;
|
|
179
|
+
/**
|
|
180
|
+
* 从对象中深度获取
|
|
181
|
+
* @param source
|
|
182
|
+
* @param keys
|
|
183
|
+
* @example 比如一般后端返回只是添加了个 id
|
|
184
|
+
* ```
|
|
185
|
+
* this.deepPick(result, ['id'])
|
|
186
|
+
*/
|
|
187
|
+
deepPick(source: any, keys?: Array<string>): void;
|
|
188
|
+
/**
|
|
189
|
+
* 去除循环依赖,转为纯 JSON
|
|
190
|
+
* @param parentKey 外面的 key,提供给 JSON.stringify 使用
|
|
191
|
+
* @param excludedKeys 需要额外排除的 keys
|
|
192
|
+
*/
|
|
193
|
+
toJSON(): {};
|
|
194
|
+
_toJSON(filerFn?: (source: Partial<BaseNode>) => {}): {};
|
|
195
|
+
/**
|
|
196
|
+
* 转为单层的 JSON
|
|
197
|
+
* @param parentKey 外面的 key,提供给 JSON.stringify 使用
|
|
198
|
+
* @param excludedKeys 需要额外排除的 keys
|
|
199
|
+
*/
|
|
200
|
+
toPlainJSON(parentKey?: string, excludedKeys?: Array<string>): any;
|
|
201
|
+
/**
|
|
202
|
+
* 查找引用
|
|
203
|
+
*/
|
|
204
|
+
findUsage(): Promise<any>;
|
|
205
|
+
/**
|
|
206
|
+
* 重命名
|
|
207
|
+
*/
|
|
208
|
+
changeName(newValue: string): Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* 准备删除
|
|
211
|
+
*/
|
|
212
|
+
prepareDelete(): Promise<any>;
|
|
213
|
+
/**
|
|
214
|
+
* 添加参数准备
|
|
215
|
+
*/
|
|
216
|
+
addParamsPrepare(): Promise<any>;
|
|
217
|
+
/**
|
|
218
|
+
* 销毁
|
|
219
|
+
* 从 Map 中删除点和子节点
|
|
220
|
+
*/
|
|
221
|
+
destroy(): void;
|
|
222
|
+
onChange($event?: EventPayload): void;
|
|
223
|
+
onCreate($event?: any): void;
|
|
224
|
+
onDelete($event?: any): void;
|
|
225
|
+
/**
|
|
226
|
+
* 获取添加时的默认选项
|
|
227
|
+
* @returns
|
|
228
|
+
*/
|
|
229
|
+
static getDefaultOptions(): any;
|
|
230
|
+
}
|
|
231
|
+
export default BaseNode;
|