@lcap/nasl 1.0.0-alpha → 1.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/CompletionProperty.html +4 -2
- package/docs/classes/Entity.html +2832 -204
- package/docs/classes/View.html +4567 -365
- package/docs/index.html +1 -1
- package/out/automate/engine/index.d.ts +3 -0
- package/out/automate/engine/index.js +436 -0
- package/out/automate/engine/index.js.map +1 -0
- package/out/automate/engine/utils.d.ts +19 -0
- package/out/automate/engine/utils.js +333 -0
- package/out/automate/engine/utils.js.map +1 -0
- package/out/bak/translator.js +2 -8
- package/out/bak/translator.js.map +1 -1
- package/out/common/BaseNode.d.ts +235 -0
- package/out/common/BaseNode.js +726 -0
- package/out/common/BaseNode.js.map +1 -0
- package/out/{src/common → common}/Command.d.ts +0 -0
- package/out/{src/common → common}/Command.js +0 -0
- package/out/common/Command.js.map +1 -0
- package/out/{src/common → common}/ComponentAPI.d.ts +0 -0
- package/out/{src/common → common}/ComponentAPI.js +0 -0
- package/out/common/ComponentAPI.js.map +1 -0
- package/out/common/EventEmitter.d.ts +58 -0
- package/out/{src/common → common}/EventEmitter.js +0 -0
- package/out/common/EventEmitter.js.map +1 -0
- package/out/{src/common → common}/Messager.d.ts +0 -0
- package/out/{src/common → common}/Messager.js +0 -0
- package/out/common/Messager.js.map +1 -0
- package/out/{src/common → common}/classMap.d.ts +0 -0
- package/out/{src/common → common}/classMap.js +0 -0
- package/out/common/classMap.js.map +1 -0
- package/out/{src/common → common}/index.d.ts +0 -0
- package/out/{src/common → common}/index.js +0 -0
- package/out/common/index.js.map +1 -0
- package/out/concepts/App__.d.ts +1099 -0
- package/out/concepts/App__.js +1515 -0
- package/out/concepts/App__.js.map +1 -0
- package/out/concepts/Argument__.d.ts +54 -0
- package/out/concepts/Argument__.js +180 -0
- package/out/concepts/Argument__.js.map +1 -0
- package/out/concepts/Assignment__.d.ts +70 -0
- package/out/concepts/Assignment__.js +196 -0
- package/out/concepts/Assignment__.js.map +1 -0
- package/out/{src/concepts → concepts}/Attribute__.d.ts +0 -0
- package/out/concepts/Attribute__.js +221 -0
- package/out/concepts/Attribute__.js.map +1 -0
- package/out/concepts/BinaryExpression__.d.ts +64 -0
- package/out/concepts/BinaryExpression__.js +251 -0
- package/out/concepts/BinaryExpression__.js.map +1 -0
- package/out/concepts/BindAttribute__.d.ts +212 -0
- package/out/concepts/BindAttribute__.js +405 -0
- package/out/concepts/BindAttribute__.js.map +1 -0
- package/out/concepts/BindDirective__.d.ts +93 -0
- package/out/concepts/BindDirective__.js +224 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/concepts/BindEvent__.d.ts +138 -0
- package/out/concepts/BindEvent__.js +315 -0
- package/out/concepts/BindEvent__.js.map +1 -0
- package/out/concepts/BooleanLiteral__.d.ts +25 -0
- package/out/concepts/BooleanLiteral__.js +70 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -0
- package/out/concepts/CallFunction__.d.ts +153 -0
- package/out/concepts/CallFunction__.js +342 -0
- package/out/concepts/CallFunction__.js.map +1 -0
- package/out/concepts/CallInterface__.d.ts +98 -0
- package/out/concepts/CallInterface__.js +234 -0
- package/out/concepts/CallInterface__.js.map +1 -0
- package/out/concepts/CallLogic__.d.ts +170 -0
- package/out/concepts/CallLogic__.js +529 -0
- package/out/concepts/CallLogic__.js.map +1 -0
- package/out/concepts/CallQueryComponent__.d.ts +310 -0
- package/out/concepts/CallQueryComponent__.js +753 -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/ConfigGroup__.d.ts +120 -0
- package/out/concepts/ConfigGroup__.js +214 -0
- package/out/concepts/ConfigGroup__.js.map +1 -0
- package/out/concepts/ConfigPropertyValue__.d.ts +43 -0
- package/out/concepts/ConfigPropertyValue__.js +103 -0
- package/out/concepts/ConfigPropertyValue__.js.map +1 -0
- package/out/concepts/ConfigProperty__.d.ts +128 -0
- package/out/concepts/ConfigProperty__.js +236 -0
- package/out/concepts/ConfigProperty__.js.map +1 -0
- package/out/concepts/Configuration__.d.ts +120 -0
- package/out/concepts/Configuration__.js +210 -0
- package/out/concepts/Configuration__.js.map +1 -0
- package/out/concepts/Constant__.d.ts +98 -0
- package/out/concepts/Constant__.js +223 -0
- package/out/concepts/Constant__.js.map +1 -0
- package/out/{src/concepts → concepts}/DataElement__.d.ts +0 -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 +328 -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 +89 -0
- package/out/concepts/EntityIndex__.js +207 -0
- package/out/concepts/EntityIndex__.js.map +1 -0
- package/out/concepts/EntityProperty__.d.ts +215 -0
- package/out/concepts/EntityProperty__.js +495 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/concepts/Entity__.d.ts +291 -0
- package/out/concepts/Entity__.js +546 -0
- package/out/concepts/Entity__.js.map +1 -0
- package/out/{src/concepts → concepts}/EnumItem__.d.ts +0 -0
- package/out/concepts/EnumItem__.js +136 -0
- package/out/concepts/EnumItem__.js.map +1 -0
- package/out/{src/concepts → concepts}/Enum__.d.ts +0 -0
- package/out/concepts/Enum__.js +275 -0
- package/out/concepts/Enum__.js.map +1 -0
- package/out/{src/concepts → concepts}/Event__.d.ts +0 -0
- package/out/concepts/Event__.js +242 -0
- package/out/concepts/Event__.js.map +1 -0
- package/out/concepts/ForEachStatement__.d.ts +191 -0
- package/out/concepts/ForEachStatement__.js +445 -0
- package/out/concepts/ForEachStatement__.js.map +1 -0
- package/out/concepts/Function__.d.ts +388 -0
- package/out/concepts/Function__.js +562 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +42 -0
- package/out/concepts/Identifier__.js +164 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/concepts/IfStatement__.d.ts +148 -0
- package/out/concepts/IfStatement__.js +280 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/concepts/InterfaceParam__.d.ts +110 -0
- package/out/concepts/InterfaceParam__.js +265 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +256 -0
- package/out/concepts/Interface__.js +475 -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 +116 -0
- package/out/concepts/LogicItem__.js +219 -0
- package/out/concepts/LogicItem__.js.map +1 -0
- package/out/concepts/Logic__.d.ts +592 -0
- package/out/concepts/Logic__.js +1056 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/concepts/MemberExpression__.d.ts +63 -0
- package/out/concepts/MemberExpression__.js +201 -0
- package/out/concepts/MemberExpression__.js.map +1 -0
- package/out/concepts/Module__.d.ts +747 -0
- package/out/concepts/Module__.js +987 -0
- package/out/concepts/Module__.js.map +1 -0
- package/out/{src/concepts → concepts}/Namespace__.d.ts +0 -0
- package/out/concepts/Namespace__.js +1397 -0
- package/out/concepts/Namespace__.js.map +1 -0
- package/out/concepts/NullLiteral__.d.ts +20 -0
- package/out/concepts/NullLiteral__.js +63 -0
- package/out/concepts/NullLiteral__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +53 -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 +315 -0
- package/out/concepts/Param__.js.map +1 -0
- package/out/{src/concepts → concepts}/Point__.d.ts +0 -0
- package/out/concepts/Point__.js +75 -0
- package/out/concepts/Point__.js.map +1 -0
- package/out/{src/concepts → concepts}/ProcessComponent__.d.ts +0 -0
- package/out/concepts/ProcessComponent__.js +333 -0
- package/out/concepts/ProcessComponent__.js.map +1 -0
- package/out/concepts/ProcessElement__.d.ts +558 -0
- package/out/concepts/ProcessElement__.js +909 -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 +445 -0
- package/out/concepts/Process__.js +770 -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/{src/concepts → concepts}/Rect__.d.ts +0 -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 +281 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/concepts/Role__.d.ts +61 -0
- package/out/concepts/Role__.js +155 -0
- package/out/concepts/Role__.js.map +1 -0
- package/out/{src/concepts → concepts}/Slot__.d.ts +0 -0
- package/out/concepts/Slot__.js +114 -0
- package/out/concepts/Slot__.js.map +1 -0
- package/out/concepts/SqlQueryComponent__.d.ts +47 -0
- package/out/concepts/SqlQueryComponent__.js +134 -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 +35 -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 +286 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/concepts/Structure__.d.ts +245 -0
- package/out/concepts/Structure__.js +408 -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/{src/concepts → concepts}/Theme__.d.ts +0 -0
- package/out/concepts/Theme__.js +86 -0
- package/out/concepts/Theme__.js.map +1 -0
- package/out/{src/concepts → concepts}/Transactional__.d.ts +0 -0
- package/out/concepts/Transactional__.js +151 -0
- package/out/concepts/Transactional__.js.map +1 -0
- package/out/concepts/TypeAnnotation__.d.ts +126 -0
- package/out/concepts/TypeAnnotation__.js +317 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -0
- package/out/{src/concepts → concepts}/TypeParam__.d.ts +0 -0
- package/out/concepts/TypeParam__.js +57 -0
- package/out/concepts/TypeParam__.js.map +1 -0
- package/out/concepts/UnaryExpression__.d.ts +46 -0
- package/out/concepts/UnaryExpression__.js +164 -0
- package/out/concepts/UnaryExpression__.js.map +1 -0
- package/out/concepts/Unparsed__.d.ts +29 -0
- package/out/concepts/Unparsed__.js +88 -0
- package/out/concepts/Unparsed__.js.map +1 -0
- package/out/{src/concepts → concepts}/UseComponent__.d.ts +0 -0
- package/out/concepts/UseComponent__.js +75 -0
- package/out/concepts/UseComponent__.js.map +1 -0
- package/out/concepts/ValidationRule__.d.ts +93 -0
- package/out/concepts/ValidationRule__.js +219 -0
- package/out/concepts/ValidationRule__.js.map +1 -0
- package/out/concepts/Variable__.d.ts +127 -0
- package/out/concepts/Variable__.js +279 -0
- package/out/concepts/Variable__.js.map +1 -0
- package/out/{src/concepts → concepts}/ViewComponent__.d.ts +0 -0
- package/out/concepts/ViewComponent__.js +644 -0
- package/out/concepts/ViewComponent__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +475 -0
- package/out/concepts/ViewElement__.js +1285 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +674 -0
- package/out/concepts/View__.js +1280 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/concepts/WhileStatement__.d.ts +95 -0
- package/out/concepts/WhileStatement__.js +208 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/index.d.ts +0 -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/{src/concepts → concepts}/basics/stdlib/nasl.core.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.core.js +0 -0
- package/out/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.interface.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.interface.js +0 -0
- package/out/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.process.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.process.js +0 -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 +814 -0
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.util.d.ts +0 -0
- package/out/concepts/basics/stdlib/nasl.util.js +632 -0
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/{src/concepts/basics/stdlib/nasl.validate.d.ts → concepts/basics/stdlib/nasl.validation.d.ts} +0 -0
- package/out/concepts/basics/stdlib/nasl.validation.js +527 -0
- package/out/concepts/basics/stdlib/nasl.validation.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/reference2TypeAnnotationList.js +0 -0
- package/out/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/types/coreTypeList.d.ts +0 -0
- package/out/concepts/basics/types/coreTypeList.js +18 -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/{src/concepts → concepts}/index.d.ts +0 -0
- package/out/{src/concepts → concepts}/index.js +0 -0
- package/out/concepts/index.js.map +1 -0
- package/out/concepts/index__.d.ts +81 -0
- package/out/concepts/index__.js +98 -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 +149 -0
- package/out/decorators/index.js.map +1 -0
- package/out/generator/compileComponent.d.ts +11 -0
- package/out/{src/generator → generator}/compileComponent.js +0 -0
- package/out/generator/compileComponent.js.map +1 -0
- package/out/generator/genBundleFiles.d.ts +37 -0
- package/out/generator/genBundleFiles.js +231 -0
- package/out/generator/genBundleFiles.js.map +1 -0
- package/out/{src/generator → generator}/genHash.d.ts +0 -0
- package/out/{src/generator → generator}/genHash.js +0 -0
- package/out/generator/genHash.js.map +1 -0
- package/out/generator/genMetaData.d.ts +35 -0
- package/out/generator/genMetaData.js +78 -0
- package/out/generator/genMetaData.js.map +1 -0
- package/out/generator/index.d.ts +5 -2
- package/out/generator/index.js +10 -3
- package/out/generator/index.js.map +1 -1
- package/out/{src/generator → generator}/styleReplacer.d.ts +0 -0
- package/out/{src/generator → generator}/styleReplacer.js +0 -0
- package/out/generator/styleReplacer.js.map +1 -0
- package/out/index.d.ts +9 -2
- package/out/index.js +38 -3
- package/out/index.js.map +1 -1
- package/out/manager/diagnostic.d.ts +25 -17
- package/out/manager/diagnostic.js +62 -60
- package/out/manager/diagnostic.js.map +1 -1
- package/out/server/createUiTs.d.ts +7 -0
- package/out/server/createUiTs.js +163 -0
- package/out/server/createUiTs.js.map +1 -0
- package/out/server/entity2LogicNamespace.d.ts +10 -0
- package/out/server/entity2LogicNamespace.js +202 -0
- package/out/server/entity2LogicNamespace.js.map +1 -0
- package/out/server/getExtensionModules.d.ts +3 -0
- package/out/server/getExtensionModules.js +18 -0
- package/out/server/getExtensionModules.js.map +1 -0
- package/out/{src/server → server}/getFunctions.d.ts +0 -0
- package/out/{src/server → server}/getFunctions.js +0 -0
- package/out/server/getFunctions.js.map +1 -0
- package/out/{src/server → server}/getInterfaces.d.ts +0 -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 +118 -0
- package/out/server/getLogics.js.map +1 -0
- package/out/server/getMemberIdentifier.d.ts +7 -0
- package/out/server/getMemberIdentifier.js +230 -0
- package/out/server/getMemberIdentifier.js.map +1 -0
- package/out/{src/server → server}/getProcessComponents.d.ts +0 -0
- package/out/{src/server → server}/getProcessComponents.js +0 -0
- package/out/server/getProcessComponents.js.map +1 -0
- package/out/server/getProcesses.d.ts +22 -0
- package/out/server/getProcesses.js +115 -0
- package/out/server/getProcesses.js.map +1 -0
- package/out/{src/server → server}/getValidates.d.ts +0 -0
- package/out/server/getValidates.js +14 -0
- package/out/server/getValidates.js.map +1 -0
- package/out/{src/server → server}/index.d.ts +0 -0
- package/out/server/index.js +28 -0
- package/out/server/index.js.map +1 -0
- package/out/server/naslServer.d.ts +156 -0
- package/out/server/naslServer.js +1465 -0
- package/out/server/naslServer.js.map +1 -0
- package/out/server/process2LogicNamespace.d.ts +16 -0
- package/out/server/process2LogicNamespace.js +60 -0
- package/out/server/process2LogicNamespace.js.map +1 -0
- package/out/{src/server → server}/translator.d.ts +0 -0
- package/out/server/translator.js +178 -0
- package/out/server/translator.js.map +1 -0
- package/out/{baseService → service/storage}/index.d.ts +0 -0
- package/out/{src/service → service}/storage/index.js +0 -0
- package/out/service/storage/index.js.map +1 -0
- package/out/service/storage/init.d.ts +12 -0
- package/out/service/storage/init.js +280 -0
- package/out/service/storage/init.js.map +1 -0
- package/out/{src/service → service}/storage/jsoner.d.ts +0 -0
- package/out/{src/service → service}/storage/jsoner.js +0 -0
- package/out/service/storage/jsoner.js.map +1 -0
- package/out/{src → service/storage}/map.d.ts +0 -0
- package/out/{src/service → service}/storage/map.js +0 -0
- package/out/service/storage/map.js.map +1 -0
- package/out/{src/service → service}/storage/storagePoint.d.ts +0 -0
- package/out/{src/service → service}/storage/storagePoint.js +0 -0
- package/out/service/storage/storagePoint.js.map +1 -0
- package/out/{src/templator → templator}/genCallComponentLogic.d.ts +0 -0
- package/out/templator/genCallComponentLogic.js +30 -0
- package/out/templator/genCallComponentLogic.js.map +1 -0
- package/out/{src/templator → templator}/genCreateBlock.d.ts +0 -0
- package/out/templator/genCreateBlock.js +317 -0
- package/out/templator/genCreateBlock.js.map +1 -0
- package/out/{src/templator → templator}/genCurdEditMultipleKeyBlock.d.ts +0 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js +469 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/{src/templator → templator}/genCurdMultipleKeyBlock.d.ts +0 -0
- package/out/templator/genCurdMultipleKeyBlock.js +656 -0
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/{src/templator → templator}/genEditTableBlock.d.ts +0 -0
- package/out/templator/genEditTableBlock.js +301 -0
- package/out/templator/genEditTableBlock.js.map +1 -0
- package/out/{src/templator → templator}/genEnumSelectBlock.d.ts +0 -0
- package/out/templator/genEnumSelectBlock.js +23 -0
- package/out/templator/genEnumSelectBlock.js.map +1 -0
- package/out/{src/templator → templator}/genGetBlock.d.ts +0 -0
- package/out/templator/genGetBlock.js +133 -0
- package/out/templator/genGetBlock.js.map +1 -0
- package/out/{src/templator → templator}/genGridViewBlock.d.ts +0 -0
- package/out/templator/genGridViewBlock.js +308 -0
- package/out/templator/genGridViewBlock.js.map +1 -0
- package/out/{src/templator → templator}/genListViewBlock.d.ts +0 -0
- package/out/templator/genListViewBlock.js +139 -0
- package/out/templator/genListViewBlock.js.map +1 -0
- package/out/{src/templator → templator}/genQueryComponent.d.ts +0 -0
- package/out/{src/templator → templator}/genQueryComponent.js +0 -0
- package/out/templator/genQueryComponent.js.map +1 -0
- package/out/{src/templator → templator}/genSelectBlock.d.ts +0 -0
- package/out/templator/genSelectBlock.js +152 -0
- package/out/templator/genSelectBlock.js.map +1 -0
- package/out/{src/templator → templator}/genTableBlock.d.ts +0 -0
- package/out/templator/genTableBlock.js +296 -0
- package/out/templator/genTableBlock.js.map +1 -0
- package/out/{src/templator → templator}/genUpdateBlock.d.ts +0 -0
- package/out/templator/genUpdateBlock.js +359 -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/{src/terms → terms}/LEVEL_NAME_MAP.d.ts +0 -0
- package/out/{src/terms → terms}/LEVEL_NAME_MAP.js +0 -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/{src/test/integration/connect-file.d.ts → test/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/{src/test/units/app/App.spec.d.ts → test/integration/connect-file.d.ts} +0 -0
- package/out/{src/test → test}/integration/connect-file.js +0 -0
- package/out/test/integration/connect-file.js.map +1 -0
- package/out/{src/test → test}/units/baseTypes/Assignment.spec.d.ts +0 -0
- package/out/{src/test → test}/units/baseTypes/Assignment.spec.js +0 -0
- package/out/test/units/baseTypes/Assignment.spec.js.map +1 -0
- package/out/{src/test → test}/units/baseTypes/CallLogic.spec.d.ts +0 -0
- package/out/{src/test → test}/units/baseTypes/CallLogic.spec.js +0 -0
- package/out/test/units/baseTypes/CallLogic.spec.js.map +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js +25 -21
- package/out/test/units/baseTypes/StringLiteral.spec.js.map +1 -1
- package/out/test/units/baseTypes/new.spec.js +8 -4
- package/out/test/units/baseTypes/new.spec.js.map +1 -1
- 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 +12 -4
- package/out/translator/index.js +30 -8
- package/out/translator/index.js.map +1 -1
- package/out/{src/utils → utils}/index.d.ts +0 -0
- package/out/{src/utils → utils}/index.js +0 -0
- package/out/utils/index.js.map +1 -0
- package/out/{src/types/utils → utils}/logger.d.ts +0 -0
- package/out/{src/utils → utils}/logger.js +0 -0
- package/out/utils/logger.js.map +1 -0
- package/out/{src/types/utils → utils}/string.d.ts +0 -0
- package/out/{src/types/utils → utils}/string.js +0 -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 +8 -2
- package/src/automate/engine/index.js +275 -129
- package/src/automate/engine/utils.js +198 -175
- package/src/bak/translator.js +124 -0
- package/src/common/BaseNode.ts +86 -44
- package/src/common/EventEmitter.ts +4 -0
- package/src/concepts/App__.ts +140 -64
- package/src/concepts/Argument__.ts +13 -7
- package/src/concepts/Assignment__.ts +13 -12
- package/src/concepts/Attribute__.ts +2 -1
- package/src/concepts/BinaryExpression__.ts +26 -8
- package/src/concepts/BindAttribute__.ts +20 -12
- package/src/concepts/BindDirective__.ts +8 -4
- package/src/concepts/BindEvent__.ts +76 -15
- package/src/concepts/BooleanLiteral__.ts +7 -7
- package/src/concepts/CallFunction__.ts +210 -21
- package/src/concepts/CallInterface__.ts +32 -13
- package/src/concepts/CallLogic__.ts +311 -16
- package/src/concepts/CallQueryComponent__.ts +36 -19
- package/src/concepts/Comment__.ts +2 -10
- package/src/concepts/CompletionProperty__.ts +7 -1
- package/src/concepts/ConfigGroup__.ts +290 -0
- package/src/concepts/ConfigPropertyValue__.ts +112 -0
- package/src/concepts/ConfigProperty__.ts +306 -0
- package/src/concepts/Configuration__.ts +286 -0
- package/src/concepts/Constant__.ts +7 -1
- package/src/concepts/DataElement__.ts +2 -1
- package/src/concepts/Destination__.ts +93 -23
- package/src/concepts/End__.ts +3 -27
- package/src/concepts/EntityIndex__.ts +20 -1
- package/src/concepts/EntityProperty__.ts +33 -10
- package/src/concepts/Entity__.ts +101 -77
- package/src/concepts/EnumItem__.ts +2 -1
- package/src/concepts/Enum__.ts +24 -7
- package/src/concepts/Event__.ts +7 -6
- package/src/concepts/ForEachStatement__.ts +120 -107
- package/src/concepts/Function__.ts +26 -19
- package/src/concepts/Identifier__.ts +48 -38
- package/src/concepts/IfStatement__.ts +9 -41
- package/src/concepts/InterfaceParam__.ts +10 -20
- package/src/concepts/Interface__.ts +51 -13
- package/src/concepts/JSBlock__.ts +2 -18
- package/src/concepts/LogicItem__.ts +11 -5
- package/src/concepts/Logic__.ts +179 -75
- package/src/concepts/MemberExpression__.ts +26 -22
- package/src/concepts/Module__.ts +50 -43
- package/src/concepts/Namespace__.ts +62 -61
- package/src/concepts/NullLiteral__.ts +8 -9
- package/src/concepts/NumericLiteral__.ts +11 -9
- package/src/concepts/Param__.ts +28 -41
- package/src/concepts/Point__.ts +2 -1
- package/src/concepts/ProcessComponent__.ts +12 -11
- package/src/concepts/ProcessElement__.ts +51 -28
- package/src/concepts/ProcessOutcome__.ts +2 -7
- package/src/concepts/Process__.ts +89 -48
- package/src/concepts/QueryAggregateExpression__.ts +2 -35
- package/src/concepts/QueryFieldExpression__.ts +3 -8
- package/src/concepts/QueryFromExpression__.ts +4 -9
- package/src/concepts/QueryGroupByExpression__.ts +2 -7
- package/src/concepts/QueryJoinExpression__.ts +9 -14
- package/src/concepts/QueryLimitExpression__.ts +2 -7
- package/src/concepts/QueryOrderByExpression__.ts +2 -7
- package/src/concepts/QuerySelectExpression__.ts +7 -12
- package/src/concepts/Rect__.ts +2 -1
- package/src/concepts/Return__.ts +14 -28
- package/src/concepts/Role__.ts +26 -3
- package/src/concepts/Slot__.ts +2 -1
- package/src/concepts/SqlQueryComponent__.ts +12 -8
- package/src/concepts/Start__.ts +3 -10
- package/src/concepts/StringLiteral__.ts +20 -9
- package/src/concepts/StructureProperty__.ts +10 -20
- package/src/concepts/Structure__.ts +38 -16
- package/src/concepts/SwitchCase__.ts +4 -42
- package/src/concepts/SwitchStatement__.ts +4 -9
- package/src/concepts/Theme__.ts +2 -1
- package/src/concepts/Transactional__.ts +2 -1
- package/src/concepts/TypeAnnotation__.ts +19 -5
- package/src/concepts/TypeParam__.ts +2 -1
- package/src/concepts/UnaryExpression__.ts +14 -9
- package/src/concepts/Unparsed__.ts +11 -11
- package/src/concepts/UseComponent__.ts +2 -1
- package/src/concepts/ValidationRule__.ts +21 -11
- package/src/concepts/Variable__.ts +26 -22
- package/src/concepts/ViewComponent__.ts +27 -26
- package/src/concepts/ViewElement__.ts +239 -115
- package/src/concepts/View__.ts +297 -283
- package/src/concepts/WhileStatement__.ts +7 -29
- package/src/concepts/basics/stdlib/index.ts +2 -2
- package/src/concepts/basics/stdlib/nasl.collection.ts +34 -10
- package/src/concepts/basics/stdlib/nasl.ui.ts +753 -27
- package/src/concepts/basics/stdlib/nasl.util.ts +50 -5
- package/src/concepts/basics/stdlib/nasl.validation.ts +523 -0
- package/src/concepts/basics/types/coreTypeList.ts +1 -0
- package/src/concepts/basics/types/index.ts +2 -2
- package/src/concepts/index__.ts +4 -0
- package/src/config.ts +2 -2
- package/src/decorators/index.ts +6 -3
- package/src/generator/compileComponent.ts +1 -1
- package/src/generator/genBundleFiles.ts +47 -24
- package/src/generator/genMetaData.ts +111 -0
- package/src/generator/index.ts +1 -0
- package/src/index.ts +3 -2
- package/src/server/createUiTs.ts +159 -0
- package/src/server/entity2LogicNamespace.ts +25 -9
- package/src/server/getExtensionModules.ts +13 -0
- package/src/server/getInterfaces.ts +3 -3
- package/src/server/getLogics.ts +58 -28
- package/src/server/getMemberIdentifier.ts +169 -28
- package/src/server/getProcesses.ts +15 -8
- package/src/server/getValidates.ts +1 -1
- package/src/server/index.ts +4 -2
- package/src/server/naslServer.ts +538 -187
- package/src/server/process2LogicNamespace.ts +55 -5
- package/src/server/translator.ts +121 -97
- package/src/service/config/api.js +32 -0
- package/src/service/config/index.js +6 -0
- package/src/service/creator/index.js +2 -2
- package/src/service/logic/checktypeSocket.js +49 -0
- package/src/service/modules/api.js +20 -0
- package/src/service/modules/index.js +6 -0
- package/src/service/storage/init.ts +161 -66
- package/src/templator/genCallComponentLogic.ts +2 -2
- package/src/templator/genCreateBlock.ts +39 -29
- package/src/templator/genCurdEditMultipleKeyBlock.ts +31 -11
- package/src/templator/genCurdMultipleKeyBlock.ts +33 -12
- package/src/templator/genEditTableBlock.ts +5 -5
- package/src/templator/genEnumSelectBlock.ts +2 -2
- package/src/templator/genGetBlock.ts +2 -2
- package/src/templator/genGridViewBlock.ts +1 -1
- package/src/templator/genListViewBlock.ts +5 -3
- package/src/templator/genSelectBlock.ts +13 -3
- package/src/templator/genTableBlock.ts +2 -1
- package/src/templator/genUpdateBlock.ts +38 -24
- package/src/templator/index.ts +1 -0
- package/src/templator/utils.ts +38 -155
- package/src/utils/traverse.ts +9 -3
- package/tsconfig.json +1 -1
- package/bak/basicTypes.ts +0 -76
- package/bak/dataTypeUtils.ts +0 -429
- package/bak/dataTypes.ts +0 -51
- package/bak/entityUtils.ts +0 -660
- package/bak/genericTypes.ts +0 -131
- package/bak/systemTypes.ts +0 -1590
- package/bak/tools.js +0 -174
- package/bak/translator.js +0 -129
- package/bak/translator_backup.js +0 -601
- package/out/baseService/index.js +0 -12
- package/out/baseService/index.js.map +0 -1
- package/out/baseTypes/App__.d.ts +0 -169
- package/out/baseTypes/App__.js +0 -344
- package/out/baseTypes/App__.js.map +0 -1
- package/out/baseTypes/AssignmentExpression__.d.ts +0 -42
- package/out/baseTypes/AssignmentExpression__.js +0 -112
- package/out/baseTypes/AssignmentExpression__.js.map +0 -1
- package/out/baseTypes/Attr__.d.ts +0 -96
- package/out/baseTypes/Attr__.js +0 -191
- package/out/baseTypes/Attr__.js.map +0 -1
- package/out/baseTypes/BinaryExpression__.d.ts +0 -40
- package/out/baseTypes/BinaryExpression__.js +0 -92
- package/out/baseTypes/BinaryExpression__.js.map +0 -1
- package/out/baseTypes/BooleanLiteral__.d.ts +0 -25
- package/out/baseTypes/BooleanLiteral__.js +0 -64
- package/out/baseTypes/BooleanLiteral__.js.map +0 -1
- package/out/baseTypes/Comment__.d.ts +0 -27
- package/out/baseTypes/Comment__.js +0 -60
- package/out/baseTypes/Comment__.js.map +0 -1
- package/out/baseTypes/Directive__.d.ts +0 -100
- package/out/baseTypes/Directive__.js +0 -198
- package/out/baseTypes/Directive__.js.map +0 -1
- package/out/baseTypes/Element__.d.ts +0 -303
- package/out/baseTypes/Element__.js +0 -555
- package/out/baseTypes/Element__.js.map +0 -1
- package/out/baseTypes/End__.d.ts +0 -24
- package/out/baseTypes/End__.js +0 -61
- package/out/baseTypes/End__.js.map +0 -1
- package/out/baseTypes/EntityProperty__.d.ts +0 -116
- package/out/baseTypes/EntityProperty__.js +0 -230
- package/out/baseTypes/EntityProperty__.js.map +0 -1
- package/out/baseTypes/Entity__.d.ts +0 -106
- package/out/baseTypes/Entity__.js +0 -222
- package/out/baseTypes/Entity__.js.map +0 -1
- package/out/baseTypes/EnumItem__.d.ts +0 -56
- package/out/baseTypes/EnumItem__.js +0 -125
- package/out/baseTypes/EnumItem__.js.map +0 -1
- package/out/baseTypes/Enum__.d.ts +0 -98
- package/out/baseTypes/Enum__.js +0 -211
- package/out/baseTypes/Enum__.js.map +0 -1
- package/out/baseTypes/Event__.d.ts +0 -93
- package/out/baseTypes/Event__.js +0 -181
- package/out/baseTypes/Event__.js.map +0 -1
- package/out/baseTypes/ForEachStatement__.d.ts +0 -89
- package/out/baseTypes/ForEachStatement__.js +0 -169
- package/out/baseTypes/ForEachStatement__.js.map +0 -1
- package/out/baseTypes/Identifier__.d.ts +0 -24
- package/out/baseTypes/Identifier__.js +0 -60
- package/out/baseTypes/Identifier__.js.map +0 -1
- package/out/baseTypes/IfStatement__.d.ts +0 -60
- package/out/baseTypes/IfStatement__.js +0 -109
- package/out/baseTypes/IfStatement__.js.map +0 -1
- package/out/baseTypes/Lifecycle__.d.ts +0 -89
- package/out/baseTypes/Lifecycle__.js +0 -175
- package/out/baseTypes/Lifecycle__.js.map +0 -1
- package/out/baseTypes/LogicItem__.d.ts +0 -103
- package/out/baseTypes/LogicItem__.js +0 -211
- package/out/baseTypes/LogicItem__.js.map +0 -1
- package/out/baseTypes/Logic__.d.ts +0 -280
- package/out/baseTypes/Logic__.js +0 -598
- package/out/baseTypes/Logic__.js.map +0 -1
- package/out/baseTypes/Module__.d.ts +0 -278
- package/out/baseTypes/Module__.js +0 -511
- package/out/baseTypes/Module__.js.map +0 -1
- package/out/baseTypes/NullLiteral__.d.ts +0 -20
- package/out/baseTypes/NullLiteral__.js +0 -53
- package/out/baseTypes/NullLiteral__.js.map +0 -1
- package/out/baseTypes/Page__.d.ts +0 -85
- package/out/baseTypes/Page__.js +0 -166
- package/out/baseTypes/Page__.js.map +0 -1
- package/out/baseTypes/Param__.d.ts +0 -88
- package/out/baseTypes/Param__.js +0 -194
- package/out/baseTypes/Param__.js.map +0 -1
- package/out/baseTypes/ProcessComponent__.d.ts +0 -67
- package/out/baseTypes/ProcessComponent__.js +0 -142
- package/out/baseTypes/ProcessComponent__.js.map +0 -1
- package/out/baseTypes/Process__.d.ts +0 -134
- package/out/baseTypes/Process__.js +0 -255
- package/out/baseTypes/Process__.js.map +0 -1
- package/out/baseTypes/Return__.d.ts +0 -88
- package/out/baseTypes/Return__.js +0 -194
- package/out/baseTypes/Return__.js.map +0 -1
- package/out/baseTypes/Start__.d.ts +0 -24
- package/out/baseTypes/Start__.js +0 -60
- package/out/baseTypes/Start__.js.map +0 -1
- package/out/baseTypes/StringLiteral__.d.ts +0 -25
- package/out/baseTypes/StringLiteral__.js +0 -73
- package/out/baseTypes/StringLiteral__.js.map +0 -1
- package/out/baseTypes/StructureProperty__.d.ts +0 -107
- package/out/baseTypes/StructureProperty__.js +0 -206
- package/out/baseTypes/StructureProperty__.js.map +0 -1
- package/out/baseTypes/Structure__.d.ts +0 -129
- package/out/baseTypes/Structure__.js +0 -296
- package/out/baseTypes/Structure__.js.map +0 -1
- package/out/baseTypes/SwitchCase__.d.ts +0 -56
- package/out/baseTypes/SwitchCase__.js +0 -105
- package/out/baseTypes/SwitchCase__.js.map +0 -1
- package/out/baseTypes/SwitchStatement__.d.ts +0 -49
- package/out/baseTypes/SwitchStatement__.js +0 -90
- package/out/baseTypes/SwitchStatement__.js.map +0 -1
- package/out/baseTypes/TypeAnnotation__.d.ts +0 -62
- package/out/baseTypes/TypeAnnotation__.js +0 -156
- package/out/baseTypes/TypeAnnotation__.js.map +0 -1
- package/out/baseTypes/UnaryExpression__.d.ts +0 -32
- package/out/baseTypes/UnaryExpression__.js +0 -76
- package/out/baseTypes/UnaryExpression__.js.map +0 -1
- package/out/baseTypes/Variable__.d.ts +0 -88
- package/out/baseTypes/Variable__.js +0 -194
- package/out/baseTypes/Variable__.js.map +0 -1
- package/out/baseTypes/View__.d.ts +0 -359
- package/out/baseTypes/View__.js +0 -644
- package/out/baseTypes/View__.js.map +0 -1
- package/out/baseTypes/WhileStatement__.d.ts +0 -56
- package/out/baseTypes/WhileStatement__.js +0 -105
- package/out/baseTypes/WhileStatement__.js.map +0 -1
- package/out/baseTypes/basics/types/index.d.ts +0 -8
- package/out/baseTypes/basics/types/index.js +0 -14
- package/out/baseTypes/basics/types/index.js.map +0 -1
- package/out/baseTypes/basics/types/primitiveTypes.d.ts +0 -2
- package/out/baseTypes/basics/types/primitiveTypes.js +0 -17
- package/out/baseTypes/basics/types/primitiveTypes.js.map +0 -1
- package/out/baseTypes/basics/types/systemTypes.d.ts +0 -2
- package/out/baseTypes/basics/types/systemTypes.js +0 -30
- package/out/baseTypes/basics/types/systemTypes.js.map +0 -1
- package/out/baseTypes/index.d.ts +0 -6
- package/out/baseTypes/index.js +0 -21
- package/out/baseTypes/index.js.map +0 -1
- package/out/baseTypes/index__.d.ts +0 -38
- package/out/baseTypes/index__.js +0 -51
- package/out/baseTypes/index__.js.map +0 -1
- package/out/generator/debugInFileStorage.d.ts +0 -3
- package/out/generator/debugInFileStorage.js +0 -15
- package/out/generator/debugInFileStorage.js.map +0 -1
- package/out/generator/genAllEmbeddedTS.d.ts +0 -7
- package/out/generator/genAllEmbeddedTS.js +0 -20
- package/out/generator/genAllEmbeddedTS.js.map +0 -1
- package/out/service/app/api.d.ts +0 -61
- package/out/service/app/api.js +0 -77
- 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/debugger/debugger.d.ts +0 -3
- package/out/service/debugger/debugger.js +0 -95
- package/out/service/debugger/debugger.js.map +0 -1
- package/out/service/logic/index.d.ts +0 -2
- package/out/service/logic/index.js +0 -14
- package/out/service/logic/index.js.map +0 -1
- package/out/service/logic/logic.d.ts +0 -157
- package/out/service/logic/logic.js +0 -116
- 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 -1361
- 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 -101
- 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/src/bak/basicTypes.d.ts +0 -25
- package/out/src/bak/basicTypes.js +0 -77
- package/out/src/bak/basicTypes.js.map +0 -1
- package/out/src/bak/dataTypeUtils.d.ts +0 -94
- package/out/src/bak/dataTypeUtils.js +0 -449
- package/out/src/bak/dataTypeUtils.js.map +0 -1
- package/out/src/bak/dataTypes.d.ts +0 -20
- package/out/src/bak/dataTypes.js +0 -47
- package/out/src/bak/dataTypes.js.map +0 -1
- package/out/src/bak/entityUtils.d.ts +0 -164
- package/out/src/bak/entityUtils.js +0 -621
- package/out/src/bak/entityUtils.js.map +0 -1
- package/out/src/bak/genericTypes.d.ts +0 -40
- package/out/src/bak/genericTypes.js +0 -134
- package/out/src/bak/genericTypes.js.map +0 -1
- package/out/src/bak/systemTypes.d.ts +0 -9
- package/out/src/bak/systemTypes.js +0 -1563
- package/out/src/bak/systemTypes.js.map +0 -1
- package/out/src/baseService/index.d.ts +0 -2
- package/out/src/baseService/index.js +0 -10
- package/out/src/baseService/index.js.map +0 -1
- package/out/src/baseTypes/App__.d.ts +0 -181
- package/out/src/baseTypes/App__.js +0 -381
- package/out/src/baseTypes/App__.js.map +0 -1
- package/out/src/baseTypes/Argument__.d.ts +0 -40
- package/out/src/baseTypes/Argument__.js +0 -147
- package/out/src/baseTypes/Argument__.js.map +0 -1
- package/out/src/baseTypes/AssignmentExpression__.d.ts +0 -45
- package/out/src/baseTypes/AssignmentExpression__.js +0 -172
- package/out/src/baseTypes/AssignmentExpression__.js.map +0 -1
- package/out/src/baseTypes/Attr__.d.ts +0 -79
- package/out/src/baseTypes/Attr__.js +0 -210
- package/out/src/baseTypes/Attr__.js.map +0 -1
- package/out/src/baseTypes/BinaryExpression__.d.ts +0 -43
- package/out/src/baseTypes/BinaryExpression__.js +0 -152
- package/out/src/baseTypes/BinaryExpression__.js.map +0 -1
- package/out/src/baseTypes/BooleanLiteral__.d.ts +0 -28
- package/out/src/baseTypes/BooleanLiteral__.js +0 -118
- package/out/src/baseTypes/BooleanLiteral__.js.map +0 -1
- package/out/src/baseTypes/CallLogic__.d.ts +0 -45
- package/out/src/baseTypes/CallLogic__.js +0 -162
- package/out/src/baseTypes/CallLogic__.js.map +0 -1
- package/out/src/baseTypes/CallQueryComponent__.d.ts +0 -83
- package/out/src/baseTypes/CallQueryComponent__.js +0 -235
- package/out/src/baseTypes/CallQueryComponent__.js.map +0 -1
- package/out/src/baseTypes/Comment__.d.ts +0 -30
- package/out/src/baseTypes/Comment__.js +0 -114
- package/out/src/baseTypes/Comment__.js.map +0 -1
- package/out/src/baseTypes/Directive__.d.ts +0 -83
- package/out/src/baseTypes/Directive__.js +0 -218
- package/out/src/baseTypes/Directive__.js.map +0 -1
- package/out/src/baseTypes/Element__.d.ts +0 -389
- package/out/src/baseTypes/Element__.js +0 -589
- package/out/src/baseTypes/Element__.js.map +0 -1
- package/out/src/baseTypes/End__.d.ts +0 -27
- package/out/src/baseTypes/End__.js +0 -115
- package/out/src/baseTypes/End__.js.map +0 -1
- package/out/src/baseTypes/EntityProperty__.d.ts +0 -99
- package/out/src/baseTypes/EntityProperty__.js +0 -254
- package/out/src/baseTypes/EntityProperty__.js.map +0 -1
- package/out/src/baseTypes/Entity__.d.ts +0 -121
- package/out/src/baseTypes/Entity__.js +0 -250
- package/out/src/baseTypes/Entity__.js.map +0 -1
- package/out/src/baseTypes/EnumItem__.d.ts +0 -131
- package/out/src/baseTypes/EnumItem__.js +0 -271
- package/out/src/baseTypes/EnumItem__.js.map +0 -1
- package/out/src/baseTypes/Enum__.d.ts +0 -114
- package/out/src/baseTypes/Enum__.js +0 -226
- package/out/src/baseTypes/Enum__.js.map +0 -1
- package/out/src/baseTypes/Event__.d.ts +0 -76
- package/out/src/baseTypes/Event__.js +0 -205
- package/out/src/baseTypes/Event__.js.map +0 -1
- package/out/src/baseTypes/ForEachStatement__.d.ts +0 -116
- package/out/src/baseTypes/ForEachStatement__.js +0 -242
- package/out/src/baseTypes/ForEachStatement__.js.map +0 -1
- package/out/src/baseTypes/Identifier__.d.ts +0 -29
- package/out/src/baseTypes/Identifier__.js +0 -121
- package/out/src/baseTypes/Identifier__.js.map +0 -1
- package/out/src/baseTypes/IfStatement__.d.ts +0 -87
- package/out/src/baseTypes/IfStatement__.js +0 -175
- package/out/src/baseTypes/IfStatement__.js.map +0 -1
- package/out/src/baseTypes/Lifecycle__.d.ts +0 -71
- package/out/src/baseTypes/Lifecycle__.js +0 -196
- package/out/src/baseTypes/Lifecycle__.js.map +0 -1
- package/out/src/baseTypes/LogicItem__.d.ts +0 -100
- package/out/src/baseTypes/LogicItem__.js +0 -265
- package/out/src/baseTypes/LogicItem__.js.map +0 -1
- package/out/src/baseTypes/Logic__.d.ts +0 -382
- package/out/src/baseTypes/Logic__.js +0 -622
- package/out/src/baseTypes/Logic__.js.map +0 -1
- package/out/src/baseTypes/Module__.d.ts +0 -521
- package/out/src/baseTypes/Module__.js +0 -728
- package/out/src/baseTypes/Module__.js.map +0 -1
- package/out/src/baseTypes/NullLiteral__.d.ts +0 -23
- package/out/src/baseTypes/NullLiteral__.js +0 -106
- package/out/src/baseTypes/NullLiteral__.js.map +0 -1
- package/out/src/baseTypes/Page__.d.ts +0 -65
- package/out/src/baseTypes/Page__.js +0 -186
- package/out/src/baseTypes/Page__.js.map +0 -1
- package/out/src/baseTypes/Param__.d.ts +0 -107
- package/out/src/baseTypes/Param__.js +0 -278
- package/out/src/baseTypes/Param__.js.map +0 -1
- package/out/src/baseTypes/ProcessComponent__.d.ts +0 -50
- package/out/src/baseTypes/ProcessComponent__.js +0 -153
- package/out/src/baseTypes/ProcessComponent__.js.map +0 -1
- package/out/src/baseTypes/Process__.d.ts +0 -285
- package/out/src/baseTypes/Process__.js +0 -450
- package/out/src/baseTypes/Process__.js.map +0 -1
- package/out/src/baseTypes/QuerSelectExpression__.d.ts +0 -39
- package/out/src/baseTypes/QuerSelectExpression__.js +0 -133
- package/out/src/baseTypes/QuerSelectExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryAggregateExpression__.d.ts +0 -35
- package/out/src/baseTypes/QueryAggregateExpression__.js +0 -126
- package/out/src/baseTypes/QueryAggregateExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryFieldExpression__.d.ts +0 -38
- package/out/src/baseTypes/QueryFieldExpression__.js +0 -131
- package/out/src/baseTypes/QueryFieldExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryFromExpression__.d.ts +0 -40
- package/out/src/baseTypes/QueryFromExpression__.js +0 -136
- package/out/src/baseTypes/QueryFromExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryGroupByExpression__.d.ts +0 -30
- package/out/src/baseTypes/QueryGroupByExpression__.js +0 -118
- package/out/src/baseTypes/QueryGroupByExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryJoinExpression__.d.ts +0 -48
- package/out/src/baseTypes/QueryJoinExpression__.js +0 -155
- package/out/src/baseTypes/QueryJoinExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryLimitExpression__.d.ts +0 -38
- package/out/src/baseTypes/QueryLimitExpression__.js +0 -137
- package/out/src/baseTypes/QueryLimitExpression__.js.map +0 -1
- package/out/src/baseTypes/QueryOrderByExpression__.d.ts +0 -38
- package/out/src/baseTypes/QueryOrderByExpression__.js +0 -137
- package/out/src/baseTypes/QueryOrderByExpression__.js.map +0 -1
- package/out/src/baseTypes/Return__.d.ts +0 -107
- package/out/src/baseTypes/Return__.js +0 -274
- package/out/src/baseTypes/Return__.js.map +0 -1
- package/out/src/baseTypes/Start__.d.ts +0 -27
- package/out/src/baseTypes/Start__.js +0 -114
- package/out/src/baseTypes/Start__.js.map +0 -1
- package/out/src/baseTypes/StringLiteral__.d.ts +0 -28
- package/out/src/baseTypes/StringLiteral__.js +0 -127
- package/out/src/baseTypes/StringLiteral__.js.map +0 -1
- package/out/src/baseTypes/StructureProperty__.d.ts +0 -97
- package/out/src/baseTypes/StructureProperty__.js +0 -253
- package/out/src/baseTypes/StructureProperty__.js.map +0 -1
- package/out/src/baseTypes/Structure__.d.ts +0 -153
- package/out/src/baseTypes/Structure__.js +0 -329
- package/out/src/baseTypes/Structure__.js.map +0 -1
- package/out/src/baseTypes/SwitchCase__.d.ts +0 -83
- package/out/src/baseTypes/SwitchCase__.js +0 -165
- package/out/src/baseTypes/SwitchCase__.js.map +0 -1
- package/out/src/baseTypes/SwitchStatement__.d.ts +0 -76
- package/out/src/baseTypes/SwitchStatement__.js +0 -147
- package/out/src/baseTypes/SwitchStatement__.js.map +0 -1
- package/out/src/baseTypes/TypeAnnotation__.d.ts +0 -60
- package/out/src/baseTypes/TypeAnnotation__.js +0 -201
- package/out/src/baseTypes/TypeAnnotation__.js.map +0 -1
- package/out/src/baseTypes/UnaryExpression__.d.ts +0 -35
- package/out/src/baseTypes/UnaryExpression__.js +0 -133
- package/out/src/baseTypes/UnaryExpression__.js.map +0 -1
- package/out/src/baseTypes/Variable__.d.ts +0 -107
- package/out/src/baseTypes/Variable__.js +0 -278
- package/out/src/baseTypes/Variable__.js.map +0 -1
- package/out/src/baseTypes/View__.d.ts +0 -472
- package/out/src/baseTypes/View__.js +0 -692
- package/out/src/baseTypes/View__.js.map +0 -1
- package/out/src/baseTypes/WhileStatement__.d.ts +0 -83
- package/out/src/baseTypes/WhileStatement__.js +0 -165
- package/out/src/baseTypes/WhileStatement__.js.map +0 -1
- package/out/src/baseTypes/basics/types/collectionTypeList.d.ts +0 -2
- package/out/src/baseTypes/basics/types/collectionTypeList.js +0 -30
- package/out/src/baseTypes/basics/types/collectionTypeList.js.map +0 -1
- package/out/src/baseTypes/basics/types/coreTypes.d.ts +0 -2
- package/out/src/baseTypes/basics/types/coreTypes.js +0 -17
- package/out/src/baseTypes/basics/types/coreTypes.js.map +0 -1
- package/out/src/baseTypes/basics/types/index.d.ts +0 -8
- package/out/src/baseTypes/basics/types/index.js +0 -14
- package/out/src/baseTypes/basics/types/index.js.map +0 -1
- package/out/src/baseTypes/basics/types/stdlibModule.d.ts +0 -7
- package/out/src/baseTypes/basics/types/stdlibModule.js +0 -48
- package/out/src/baseTypes/basics/types/stdlibModule.js.map +0 -1
- package/out/src/baseTypes/index.d.ts +0 -6
- package/out/src/baseTypes/index.js +0 -21
- package/out/src/baseTypes/index.js.map +0 -1
- package/out/src/baseTypes/index__.d.ts +0 -49
- package/out/src/baseTypes/index__.js +0 -62
- package/out/src/baseTypes/index__.js.map +0 -1
- package/out/src/common/BaseNode.d.ts +0 -231
- package/out/src/common/BaseNode.js +0 -683
- package/out/src/common/BaseNode.js.map +0 -1
- package/out/src/common/Command.js.map +0 -1
- package/out/src/common/ComponentAPI.js.map +0 -1
- package/out/src/common/EventEmitter.d.ts +0 -54
- package/out/src/common/EventEmitter.js.map +0 -1
- package/out/src/common/Messager.js.map +0 -1
- package/out/src/common/classMap.js.map +0 -1
- package/out/src/common/index.js.map +0 -1
- package/out/src/concepts/App__.d.ts +0 -1077
- package/out/src/concepts/App__.js +0 -1453
- package/out/src/concepts/App__.js.map +0 -1
- package/out/src/concepts/Argument__.d.ts +0 -56
- package/out/src/concepts/Argument__.js +0 -177
- package/out/src/concepts/Argument__.js.map +0 -1
- package/out/src/concepts/Assignment__.d.ts +0 -72
- package/out/src/concepts/Assignment__.js +0 -200
- package/out/src/concepts/Assignment__.js.map +0 -1
- package/out/src/concepts/Attribute__.js +0 -221
- package/out/src/concepts/Attribute__.js.map +0 -1
- package/out/src/concepts/BinaryExpression__.d.ts +0 -66
- package/out/src/concepts/BinaryExpression__.js +0 -237
- package/out/src/concepts/BinaryExpression__.js.map +0 -1
- package/out/src/concepts/BindAttribute__.d.ts +0 -211
- package/out/src/concepts/BindAttribute__.js +0 -395
- package/out/src/concepts/BindAttribute__.js.map +0 -1
- package/out/src/concepts/BindDirective__.d.ts +0 -92
- package/out/src/concepts/BindDirective__.js +0 -221
- package/out/src/concepts/BindDirective__.js.map +0 -1
- package/out/src/concepts/BindEvent__.d.ts +0 -133
- package/out/src/concepts/BindEvent__.js +0 -258
- package/out/src/concepts/BindEvent__.js.map +0 -1
- package/out/src/concepts/BooleanLiteral__.d.ts +0 -27
- package/out/src/concepts/BooleanLiteral__.js +0 -74
- package/out/src/concepts/BooleanLiteral__.js.map +0 -1
- package/out/src/concepts/CallFunction__.d.ts +0 -100
- package/out/src/concepts/CallFunction__.js +0 -231
- package/out/src/concepts/CallFunction__.js.map +0 -1
- package/out/src/concepts/CallInterface__.d.ts +0 -100
- package/out/src/concepts/CallInterface__.js +0 -220
- package/out/src/concepts/CallInterface__.js.map +0 -1
- package/out/src/concepts/CallLogic__.d.ts +0 -116
- package/out/src/concepts/CallLogic__.js +0 -305
- package/out/src/concepts/CallLogic__.js.map +0 -1
- package/out/src/concepts/CallQueryComponent__.d.ts +0 -312
- package/out/src/concepts/CallQueryComponent__.js +0 -738
- package/out/src/concepts/CallQueryComponent__.js.map +0 -1
- package/out/src/concepts/Comment__.d.ts +0 -35
- package/out/src/concepts/Comment__.js +0 -99
- package/out/src/concepts/Comment__.js.map +0 -1
- package/out/src/concepts/CompletionProperty__.d.ts +0 -95
- package/out/src/concepts/CompletionProperty__.js +0 -231
- package/out/src/concepts/CompletionProperty__.js.map +0 -1
- package/out/src/concepts/Constant__.d.ts +0 -96
- package/out/src/concepts/Constant__.js +0 -220
- package/out/src/concepts/Constant__.js.map +0 -1
- package/out/src/concepts/DataElement__.js +0 -114
- package/out/src/concepts/DataElement__.js.map +0 -1
- package/out/src/concepts/Destination__.d.ts +0 -106
- package/out/src/concepts/Destination__.js +0 -263
- package/out/src/concepts/Destination__.js.map +0 -1
- package/out/src/concepts/End__.d.ts +0 -28
- package/out/src/concepts/End__.js +0 -102
- package/out/src/concepts/End__.js.map +0 -1
- package/out/src/concepts/EntityIndex__.d.ts +0 -81
- package/out/src/concepts/EntityIndex__.js +0 -189
- package/out/src/concepts/EntityIndex__.js.map +0 -1
- package/out/src/concepts/EntityProperty__.d.ts +0 -207
- package/out/src/concepts/EntityProperty__.js +0 -472
- package/out/src/concepts/EntityProperty__.js.map +0 -1
- package/out/src/concepts/Entity__.d.ts +0 -282
- package/out/src/concepts/Entity__.js +0 -520
- package/out/src/concepts/Entity__.js.map +0 -1
- package/out/src/concepts/EnumItem__.js +0 -136
- package/out/src/concepts/EnumItem__.js.map +0 -1
- package/out/src/concepts/Enum__.js +0 -259
- package/out/src/concepts/Enum__.js.map +0 -1
- package/out/src/concepts/Event__.js +0 -242
- package/out/src/concepts/Event__.js.map +0 -1
- package/out/src/concepts/ForEachStatement__.d.ts +0 -194
- package/out/src/concepts/ForEachStatement__.js +0 -410
- package/out/src/concepts/ForEachStatement__.js.map +0 -1
- package/out/src/concepts/Function__.d.ts +0 -387
- package/out/src/concepts/Function__.js +0 -557
- package/out/src/concepts/Function__.js.map +0 -1
- package/out/src/concepts/Identifier__.d.ts +0 -44
- package/out/src/concepts/Identifier__.js +0 -159
- package/out/src/concepts/Identifier__.js.map +0 -1
- package/out/src/concepts/IfStatement__.d.ts +0 -150
- package/out/src/concepts/IfStatement__.js +0 -310
- package/out/src/concepts/IfStatement__.js.map +0 -1
- package/out/src/concepts/InterfaceParam__.d.ts +0 -110
- package/out/src/concepts/InterfaceParam__.js +0 -273
- package/out/src/concepts/InterfaceParam__.js.map +0 -1
- package/out/src/concepts/Interface__.d.ts +0 -247
- package/out/src/concepts/Interface__.js +0 -441
- package/out/src/concepts/Interface__.js.map +0 -1
- package/out/src/concepts/JSBlock__.d.ts +0 -35
- package/out/src/concepts/JSBlock__.js +0 -106
- package/out/src/concepts/JSBlock__.js.map +0 -1
- package/out/src/concepts/LogicItem__.d.ts +0 -114
- package/out/src/concepts/LogicItem__.js +0 -216
- package/out/src/concepts/LogicItem__.js.map +0 -1
- package/out/src/concepts/Logic__.d.ts +0 -571
- package/out/src/concepts/Logic__.js +0 -951
- package/out/src/concepts/Logic__.js.map +0 -1
- package/out/src/concepts/MemberExpression__.d.ts +0 -69
- package/out/src/concepts/MemberExpression__.js +0 -204
- package/out/src/concepts/MemberExpression__.js.map +0 -1
- package/out/src/concepts/Module__.d.ts +0 -747
- package/out/src/concepts/Module__.js +0 -982
- package/out/src/concepts/Module__.js.map +0 -1
- package/out/src/concepts/Namespace__.js +0 -1397
- package/out/src/concepts/Namespace__.js.map +0 -1
- package/out/src/concepts/NullLiteral__.d.ts +0 -23
- package/out/src/concepts/NullLiteral__.js +0 -67
- package/out/src/concepts/NullLiteral__.js.map +0 -1
- package/out/src/concepts/NumericLiteral__.d.ts +0 -55
- package/out/src/concepts/NumericLiteral__.js +0 -164
- package/out/src/concepts/NumericLiteral__.js.map +0 -1
- package/out/src/concepts/Param__.d.ts +0 -143
- package/out/src/concepts/Param__.js +0 -327
- package/out/src/concepts/Param__.js.map +0 -1
- package/out/src/concepts/Point__.js +0 -75
- package/out/src/concepts/Point__.js.map +0 -1
- package/out/src/concepts/ProcessComponent__.js +0 -333
- package/out/src/concepts/ProcessComponent__.js.map +0 -1
- package/out/src/concepts/ProcessElement__.d.ts +0 -557
- package/out/src/concepts/ProcessElement__.js +0 -889
- package/out/src/concepts/ProcessElement__.js.map +0 -1
- package/out/src/concepts/ProcessOutcome__.d.ts +0 -34
- package/out/src/concepts/ProcessOutcome__.js +0 -94
- package/out/src/concepts/ProcessOutcome__.js.map +0 -1
- package/out/src/concepts/Process__.d.ts +0 -425
- package/out/src/concepts/Process__.js +0 -736
- package/out/src/concepts/Process__.js.map +0 -1
- package/out/src/concepts/QueryAggregateExpression__.d.ts +0 -56
- package/out/src/concepts/QueryAggregateExpression__.js +0 -177
- package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
- package/out/src/concepts/QueryFieldExpression__.d.ts +0 -51
- package/out/src/concepts/QueryFieldExpression__.js +0 -129
- package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
- package/out/src/concepts/QueryFromExpression__.d.ts +0 -95
- package/out/src/concepts/QueryFromExpression__.js +0 -188
- package/out/src/concepts/QueryFromExpression__.js.map +0 -1
- package/out/src/concepts/QueryGroupByExpression__.d.ts +0 -46
- package/out/src/concepts/QueryGroupByExpression__.js +0 -126
- package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
- package/out/src/concepts/QueryJoinExpression__.d.ts +0 -182
- package/out/src/concepts/QueryJoinExpression__.js +0 -308
- package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
- package/out/src/concepts/QueryLimitExpression__.d.ts +0 -60
- package/out/src/concepts/QueryLimitExpression__.js +0 -163
- package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
- package/out/src/concepts/QueryOrderByExpression__.d.ts +0 -71
- package/out/src/concepts/QueryOrderByExpression__.js +0 -176
- package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
- package/out/src/concepts/QuerySelectExpression__.d.ts +0 -118
- package/out/src/concepts/QuerySelectExpression__.js +0 -210
- package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
- package/out/src/concepts/Rect__.js +0 -89
- package/out/src/concepts/Rect__.js.map +0 -1
- package/out/src/concepts/Return__.d.ts +0 -129
- package/out/src/concepts/Return__.js +0 -291
- package/out/src/concepts/Return__.js.map +0 -1
- package/out/src/concepts/Role__.d.ts +0 -52
- package/out/src/concepts/Role__.js +0 -131
- package/out/src/concepts/Role__.js.map +0 -1
- package/out/src/concepts/Slot__.js +0 -114
- package/out/src/concepts/Slot__.js.map +0 -1
- package/out/src/concepts/SqlQueryComponent__.d.ts +0 -49
- package/out/src/concepts/SqlQueryComponent__.js +0 -125
- package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/Start__.d.ts +0 -28
- package/out/src/concepts/Start__.js +0 -81
- package/out/src/concepts/Start__.js.map +0 -1
- package/out/src/concepts/StringLiteral__.d.ts +0 -37
- package/out/src/concepts/StringLiteral__.js +0 -135
- package/out/src/concepts/StringLiteral__.js.map +0 -1
- package/out/src/concepts/StructureProperty__.d.ts +0 -123
- package/out/src/concepts/StructureProperty__.js +0 -294
- package/out/src/concepts/StructureProperty__.js.map +0 -1
- package/out/src/concepts/Structure__.d.ts +0 -231
- package/out/src/concepts/Structure__.js +0 -386
- package/out/src/concepts/Structure__.js.map +0 -1
- package/out/src/concepts/SwitchCase__.d.ts +0 -97
- package/out/src/concepts/SwitchCase__.js +0 -270
- package/out/src/concepts/SwitchCase__.js.map +0 -1
- package/out/src/concepts/SwitchStatement__.d.ts +0 -86
- package/out/src/concepts/SwitchStatement__.js +0 -187
- package/out/src/concepts/SwitchStatement__.js.map +0 -1
- package/out/src/concepts/Theme__.js +0 -86
- package/out/src/concepts/Theme__.js.map +0 -1
- package/out/src/concepts/Transactional__.js +0 -151
- package/out/src/concepts/Transactional__.js.map +0 -1
- package/out/src/concepts/TypeAnnotation__.d.ts +0 -125
- package/out/src/concepts/TypeAnnotation__.js +0 -305
- package/out/src/concepts/TypeAnnotation__.js.map +0 -1
- package/out/src/concepts/TypeParam__.js +0 -57
- package/out/src/concepts/TypeParam__.js.map +0 -1
- package/out/src/concepts/UnaryExpression__.d.ts +0 -48
- package/out/src/concepts/UnaryExpression__.js +0 -163
- package/out/src/concepts/UnaryExpression__.js.map +0 -1
- package/out/src/concepts/Unparsed__.d.ts +0 -32
- package/out/src/concepts/Unparsed__.js +0 -92
- package/out/src/concepts/Unparsed__.js.map +0 -1
- package/out/src/concepts/UseComponent__.js +0 -75
- package/out/src/concepts/UseComponent__.js.map +0 -1
- package/out/src/concepts/ValidationRule__.d.ts +0 -95
- package/out/src/concepts/ValidationRule__.js +0 -212
- package/out/src/concepts/ValidationRule__.js.map +0 -1
- package/out/src/concepts/Variable__.d.ts +0 -119
- package/out/src/concepts/Variable__.js +0 -277
- package/out/src/concepts/Variable__.js.map +0 -1
- package/out/src/concepts/ViewComponent__.js +0 -644
- package/out/src/concepts/ViewComponent__.js.map +0 -1
- package/out/src/concepts/ViewElement__.d.ts +0 -483
- package/out/src/concepts/ViewElement__.js +0 -1167
- package/out/src/concepts/ViewElement__.js.map +0 -1
- package/out/src/concepts/View__.d.ts +0 -676
- package/out/src/concepts/View__.js +0 -1268
- package/out/src/concepts/View__.js.map +0 -1
- package/out/src/concepts/WhileStatement__.d.ts +0 -97
- package/out/src/concepts/WhileStatement__.js +0 -228
- package/out/src/concepts/WhileStatement__.js.map +0 -1
- package/out/src/concepts/basics/stdlib/index.js +0 -23
- package/out/src/concepts/basics/stdlib/index.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/nasl.collection.js +0 -54
- package/out/src/concepts/basics/stdlib/nasl.collection.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.core.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.interface.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.process.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -5
- package/out/src/concepts/basics/stdlib/nasl.ui.js +0 -85
- package/out/src/concepts/basics/stdlib/nasl.ui.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.util.js +0 -587
- package/out/src/concepts/basics/stdlib/nasl.util.js.map +0 -1
- package/out/src/concepts/basics/stdlib/nasl.validate.js +0 -527
- package/out/src/concepts/basics/stdlib/nasl.validate.js.map +0 -1
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
- package/out/src/concepts/basics/types/coreTypeList.js +0 -17
- package/out/src/concepts/basics/types/coreTypeList.js.map +0 -1
- package/out/src/concepts/basics/types/index.d.ts +0 -11
- package/out/src/concepts/basics/types/index.js +0 -20
- package/out/src/concepts/basics/types/index.js.map +0 -1
- package/out/src/concepts/index.js.map +0 -1
- package/out/src/concepts/index__.d.ts +0 -77
- package/out/src/concepts/index__.js +0 -94
- package/out/src/concepts/index__.js.map +0 -1
- package/out/src/config.d.ts +0 -43
- package/out/src/config.js +0 -72
- package/out/src/config.js.map +0 -1
- package/out/src/decorators/index.d.ts +0 -54
- package/out/src/decorators/index.js +0 -146
- package/out/src/decorators/index.js.map +0 -1
- package/out/src/generator/compileComponent.d.ts +0 -11
- package/out/src/generator/compileComponent.js.map +0 -1
- package/out/src/generator/debugInFileStorage.d.ts +0 -3
- package/out/src/generator/debugInFileStorage.js +0 -15
- package/out/src/generator/debugInFileStorage.js.map +0 -1
- package/out/src/generator/genAllEmbeddedTS.d.ts +0 -7
- package/out/src/generator/genAllEmbeddedTS.js +0 -20
- package/out/src/generator/genAllEmbeddedTS.js.map +0 -1
- package/out/src/generator/genBundleFiles.d.ts +0 -38
- package/out/src/generator/genBundleFiles.js +0 -219
- package/out/src/generator/genBundleFiles.js.map +0 -1
- package/out/src/generator/genHash.js.map +0 -1
- package/out/src/generator/index.d.ts +0 -4
- package/out/src/generator/index.js +0 -21
- package/out/src/generator/index.js.map +0 -1
- package/out/src/generator/styleReplacer.js.map +0 -1
- package/out/src/index.d.ts +0 -9
- package/out/src/index.js +0 -48
- package/out/src/index.js.map +0 -1
- package/out/src/init.d.ts +0 -1
- package/out/src/init.js +0 -140
- package/out/src/init.js.map +0 -1
- package/out/src/manager/diagnostic.d.ts +0 -38
- package/out/src/manager/diagnostic.js +0 -84
- package/out/src/manager/diagnostic.js.map +0 -1
- package/out/src/manager/history.d.ts +0 -0
- package/out/src/manager/history.js +0 -1
- package/out/src/manager/history.js.map +0 -1
- package/out/src/manager/problem.d.ts +0 -0
- package/out/src/manager/problem.js +0 -1
- package/out/src/manager/problem.js.map +0 -1
- package/out/src/map.js +0 -62
- package/out/src/map.js.map +0 -1
- package/out/src/naslServer/index.d.ts +0 -55
- package/out/src/naslServer/index.js +0 -296
- package/out/src/naslServer/index.js.map +0 -1
- package/out/src/naslServer/translator.d.ts +0 -3
- package/out/src/naslServer/translator.js +0 -78
- package/out/src/naslServer/translator.js.map +0 -1
- package/out/src/server/entity2LogicNamespace.d.ts +0 -2
- package/out/src/server/entity2LogicNamespace.js +0 -192
- package/out/src/server/entity2LogicNamespace.js.map +0 -1
- package/out/src/server/getFunctions.js.map +0 -1
- package/out/src/server/getInterfaces.js +0 -48
- package/out/src/server/getInterfaces.js.map +0 -1
- package/out/src/server/getLogics.d.ts +0 -2
- package/out/src/server/getLogics.js +0 -83
- package/out/src/server/getLogics.js.map +0 -1
- package/out/src/server/getMemberIdentifier.d.ts +0 -5
- package/out/src/server/getMemberIdentifier.js +0 -102
- package/out/src/server/getMemberIdentifier.js.map +0 -1
- package/out/src/server/getProcessComponents.js.map +0 -1
- package/out/src/server/getProcesses.d.ts +0 -19
- package/out/src/server/getProcesses.js +0 -106
- package/out/src/server/getProcesses.js.map +0 -1
- package/out/src/server/getValidates.js +0 -14
- package/out/src/server/getValidates.js.map +0 -1
- package/out/src/server/index.js +0 -26
- package/out/src/server/index.js.map +0 -1
- package/out/src/server/naslServer.d.ts +0 -139
- package/out/src/server/naslServer.js +0 -1120
- package/out/src/server/naslServer.js.map +0 -1
- package/out/src/server/process2LogicNamespace.d.ts +0 -2
- package/out/src/server/process2LogicNamespace.js +0 -24
- package/out/src/server/process2LogicNamespace.js.map +0 -1
- package/out/src/server/translator.js +0 -150
- package/out/src/server/translator.js.map +0 -1
- package/out/src/service/app/api.d.ts +0 -61
- package/out/src/service/app/api.js +0 -77
- package/out/src/service/app/api.js.map +0 -1
- package/out/src/service/app/index.d.ts +0 -2
- package/out/src/service/app/index.js +0 -10
- package/out/src/service/app/index.js.map +0 -1
- package/out/src/service/assets/asset.d.ts +0 -104
- package/out/src/service/assets/asset.js +0 -78
- package/out/src/service/assets/asset.js.map +0 -1
- package/out/src/service/assets/block.d.ts +0 -9
- package/out/src/service/assets/block.js +0 -11
- package/out/src/service/assets/block.js.map +0 -1
- package/out/src/service/assets/index.d.ts +0 -2
- package/out/src/service/assets/index.js +0 -12
- package/out/src/service/assets/index.js.map +0 -1
- package/out/src/service/common/findUsage.d.ts +0 -9
- package/out/src/service/common/findUsage.js +0 -11
- package/out/src/service/common/findUsage.js.map +0 -1
- package/out/src/service/common/index.d.ts +0 -2
- package/out/src/service/common/index.js +0 -12
- package/out/src/service/common/index.js.map +0 -1
- package/out/src/service/common/preprocess.d.ts +0 -14
- package/out/src/service/common/preprocess.js +0 -75
- package/out/src/service/common/preprocess.js.map +0 -1
- package/out/src/service/common/schema.d.ts +0 -9
- package/out/src/service/common/schema.js +0 -12
- package/out/src/service/common/schema.js.map +0 -1
- package/out/src/service/create/add.configs.d.ts +0 -1
- package/out/src/service/create/add.configs.js +0 -68
- package/out/src/service/create/add.configs.js.map +0 -1
- package/out/src/service/create/errHandles.d.ts +0 -18
- package/out/src/service/create/errHandles.js +0 -57
- package/out/src/service/create/errHandles.js.map +0 -1
- package/out/src/service/create/index.d.ts +0 -1
- package/out/src/service/create/index.js +0 -77
- package/out/src/service/create/index.js.map +0 -1
- package/out/src/service/data/api.d.ts +0 -36
- package/out/src/service/data/api.js +0 -36
- package/out/src/service/data/api.js.map +0 -1
- package/out/src/service/data/entity.d.ts +0 -135
- package/out/src/service/data/entity.js +0 -103
- package/out/src/service/data/entity.js.map +0 -1
- package/out/src/service/data/enum.d.ts +0 -63
- package/out/src/service/data/enum.js +0 -55
- package/out/src/service/data/enum.js.map +0 -1
- package/out/src/service/data/enumProperty.d.ts +0 -28
- package/out/src/service/data/enumProperty.js +0 -23
- package/out/src/service/data/enumProperty.js.map +0 -1
- package/out/src/service/data/generic.d.ts +0 -9
- package/out/src/service/data/generic.js +0 -11
- package/out/src/service/data/generic.js.map +0 -1
- package/out/src/service/data/index.d.ts +0 -8
- package/out/src/service/data/index.js +0 -23
- package/out/src/service/data/index.js.map +0 -1
- package/out/src/service/data/interface.d.ts +0 -67
- package/out/src/service/data/interface.js +0 -58
- package/out/src/service/data/interface.js.map +0 -1
- package/out/src/service/data/structure.d.ts +0 -92
- package/out/src/service/data/structure.js +0 -77
- package/out/src/service/data/structure.js.map +0 -1
- package/out/src/service/logic/index.d.ts +0 -2
- package/out/src/service/logic/index.js +0 -14
- package/out/src/service/logic/index.js.map +0 -1
- package/out/src/service/logic/logic.d.ts +0 -157
- package/out/src/service/logic/logic.js +0 -116
- package/out/src/service/logic/logic.js.map +0 -1
- package/out/src/service/logic/param.d.ts +0 -37
- package/out/src/service/logic/param.js +0 -29
- package/out/src/service/logic/param.js.map +0 -1
- package/out/src/service/nuims/api.d.ts +0 -264
- package/out/src/service/nuims/api.js +0 -194
- package/out/src/service/nuims/api.js.map +0 -1
- package/out/src/service/nuims/index.d.ts +0 -2
- package/out/src/service/nuims/index.js +0 -17
- package/out/src/service/nuims/index.js.map +0 -1
- package/out/src/service/page/api.d.ts +0 -186
- package/out/src/service/page/api.js +0 -1361
- package/out/src/service/page/api.js.map +0 -1
- package/out/src/service/page/attribute.d.ts +0 -28
- package/out/src/service/page/attribute.js +0 -23
- package/out/src/service/page/attribute.js.map +0 -1
- package/out/src/service/page/directive.d.ts +0 -28
- package/out/src/service/page/directive.js +0 -23
- package/out/src/service/page/directive.js.map +0 -1
- package/out/src/service/page/element.d.ts +0 -45
- package/out/src/service/page/element.js +0 -42
- package/out/src/service/page/element.js.map +0 -1
- package/out/src/service/page/event.d.ts +0 -28
- package/out/src/service/page/event.js +0 -23
- package/out/src/service/page/event.js.map +0 -1
- package/out/src/service/page/index.d.ts +0 -8
- package/out/src/service/page/index.js +0 -23
- package/out/src/service/page/index.js.map +0 -1
- package/out/src/service/page/lifecycle.d.ts +0 -28
- package/out/src/service/page/lifecycle.js +0 -23
- package/out/src/service/page/lifecycle.js.map +0 -1
- package/out/src/service/page/templates.d.ts +0 -14
- package/out/src/service/page/templates.js +0 -70
- package/out/src/service/page/templates.js.map +0 -1
- package/out/src/service/page/view.d.ts +0 -130
- package/out/src/service/page/view.js +0 -101
- package/out/src/service/page/view.js.map +0 -1
- package/out/src/service/permission/api.d.ts +0 -57
- package/out/src/service/permission/api.js +0 -41
- package/out/src/service/permission/api.js.map +0 -1
- package/out/src/service/permission/index.d.ts +0 -2
- package/out/src/service/permission/index.js +0 -17
- package/out/src/service/permission/index.js.map +0 -1
- package/out/src/service/process/api.d.ts +0 -136
- package/out/src/service/process/api.js +0 -95
- package/out/src/service/process/api.js.map +0 -1
- package/out/src/service/process/index.d.ts +0 -2
- package/out/src/service/process/index.js +0 -10
- package/out/src/service/process/index.js.map +0 -1
- package/out/src/service/storage/index.d.ts +0 -2
- package/out/src/service/storage/index.js.map +0 -1
- package/out/src/service/storage/init.d.ts +0 -7
- package/out/src/service/storage/init.js +0 -187
- package/out/src/service/storage/init.js.map +0 -1
- package/out/src/service/storage/jsoner.js.map +0 -1
- package/out/src/service/storage/map.d.ts +0 -4
- package/out/src/service/storage/map.js.map +0 -1
- package/out/src/service/storage/storagePoint.js.map +0 -1
- package/out/src/service/undoredo/api.d.ts +0 -36
- package/out/src/service/undoredo/api.js +0 -29
- package/out/src/service/undoredo/api.js.map +0 -1
- package/out/src/service/undoredo/index.d.ts +0 -2
- package/out/src/service/undoredo/index.js +0 -10
- package/out/src/service/undoredo/index.js.map +0 -1
- package/out/src/service/webFile/api.d.ts +0 -45
- package/out/src/service/webFile/api.js +0 -35
- package/out/src/service/webFile/api.js.map +0 -1
- package/out/src/service/webFile/index.d.ts +0 -3
- package/out/src/service/webFile/index.js +0 -32
- package/out/src/service/webFile/index.js.map +0 -1
- package/out/src/service/webFile/loadCache.d.ts +0 -18
- package/out/src/service/webFile/loadCache.js +0 -17
- package/out/src/service/webFile/loadCache.js.map +0 -1
- package/out/src/storagePoint.d.ts +0 -16
- package/out/src/storagePoint.js +0 -49
- package/out/src/storagePoint.js.map +0 -1
- package/out/src/templator/genCallComponentLogic.js +0 -30
- package/out/src/templator/genCallComponentLogic.js.map +0 -1
- package/out/src/templator/genCallInterface.d.ts +0 -12
- package/out/src/templator/genCallInterface.js +0 -20
- package/out/src/templator/genCallInterface.js.map +0 -1
- package/out/src/templator/genCallLogic.d.ts +0 -12
- package/out/src/templator/genCallLogic.js +0 -26
- package/out/src/templator/genCallLogic.js.map +0 -1
- package/out/src/templator/genCreateBlock.js +0 -304
- package/out/src/templator/genCreateBlock.js.map +0 -1
- package/out/src/templator/genCurdEditMultipleKeyBlock.js +0 -453
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genCurdMultipleKeyBlock.js +0 -640
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genEditTableBlock.js +0 -301
- package/out/src/templator/genEditTableBlock.js.map +0 -1
- package/out/src/templator/genEnumSelectBlock.js +0 -23
- package/out/src/templator/genEnumSelectBlock.js.map +0 -1
- package/out/src/templator/genGetBlock.js +0 -133
- package/out/src/templator/genGetBlock.js.map +0 -1
- package/out/src/templator/genGridViewBlock.js +0 -308
- package/out/src/templator/genGridViewBlock.js.map +0 -1
- package/out/src/templator/genListViewBlock.js +0 -137
- package/out/src/templator/genListViewBlock.js.map +0 -1
- package/out/src/templator/genQueryComponent.js.map +0 -1
- package/out/src/templator/genSelectBlock.js +0 -142
- package/out/src/templator/genSelectBlock.js.map +0 -1
- package/out/src/templator/genTableBlock.js +0 -295
- package/out/src/templator/genTableBlock.js.map +0 -1
- package/out/src/templator/genUpdateBlock.js +0 -347
- package/out/src/templator/genUpdateBlock.js.map +0 -1
- package/out/src/templator/index.d.ts +0 -15
- package/out/src/templator/index.js +0 -33
- package/out/src/templator/index.js.map +0 -1
- package/out/src/templator/utils.d.ts +0 -634
- package/out/src/templator/utils.js +0 -412
- package/out/src/templator/utils.js.map +0 -1
- package/out/src/terms/LEVEL_NAME_MAP.js.map +0 -1
- package/out/src/test/fixtures/env.d.ts +0 -5
- package/out/src/test/fixtures/env.js +0 -21
- package/out/src/test/fixtures/env.js.map +0 -1
- package/out/src/test/integration/connect-file.js.map +0 -1
- package/out/src/test/units/app/App.spec.js +0 -17
- package/out/src/test/units/app/App.spec.js.map +0 -1
- package/out/src/test/units/app/Service.spec.d.ts +0 -1
- package/out/src/test/units/app/Service.spec.js +0 -24
- package/out/src/test/units/app/Service.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/Assignment.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js +0 -39
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/CallLogic.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/StringLiteral.spec.js +0 -75
- package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +0 -1
- package/out/src/test/units/baseTypes/new.spec.d.ts +0 -1
- package/out/src/test/units/baseTypes/new.spec.js +0 -37
- package/out/src/test/units/baseTypes/new.spec.js.map +0 -1
- package/out/src/test/units/common/Vertex.spec.d.ts +0 -1
- package/out/src/test/units/common/Vertex.spec.js +0 -22
- package/out/src/test/units/common/Vertex.spec.js.map +0 -1
- package/out/src/test/units/data/Entity.spec.d.ts +0 -1
- package/out/src/test/units/data/Entity.spec.js +0 -12
- package/out/src/test/units/data/Entity.spec.js.map +0 -1
- package/out/src/test/units/login.spec.d.ts +0 -1
- package/out/src/test/units/login.spec.js +0 -12
- package/out/src/test/units/login.spec.js.map +0 -1
- package/out/src/test/units/page/Block.spec.d.ts +0 -0
- package/out/src/test/units/page/Block.spec.js +0 -13
- package/out/src/test/units/page/Block.spec.js.map +0 -1
- package/out/src/test/units/page/Element.spec.d.ts +0 -1
- package/out/src/test/units/page/Element.spec.js +0 -44
- package/out/src/test/units/page/Element.spec.js.map +0 -1
- package/out/src/test/units/temp/temp.spec.d.ts +0 -1
- package/out/src/test/units/temp/temp.spec.js +0 -68
- package/out/src/test/units/temp/temp.spec.js.map +0 -1
- package/out/src/translator/index.d.ts +0 -47
- package/out/src/translator/index.js +0 -108
- package/out/src/translator/index.js.map +0 -1
- package/out/src/translator/lsp.d.ts +0 -45
- package/out/src/translator/lsp.js +0 -6
- package/out/src/translator/lsp.js.map +0 -1
- package/out/src/translator/tsp.d.ts +0 -12
- package/out/src/translator/tsp.js +0 -3
- package/out/src/translator/tsp.js.map +0 -1
- package/out/src/types/app/App.d.ts +0 -148
- package/out/src/types/app/App.js +0 -358
- package/out/src/types/app/App.js.map +0 -1
- package/out/src/types/app/History.d.ts +0 -36
- package/out/src/types/app/History.js +0 -366
- package/out/src/types/app/History.js.map +0 -1
- package/out/src/types/app/Service.d.ts +0 -220
- package/out/src/types/app/Service.js +0 -831
- package/out/src/types/app/Service.js.map +0 -1
- package/out/src/types/cache.d.ts +0 -6
- package/out/src/types/cache.js +0 -54
- package/out/src/types/cache.js.map +0 -1
- package/out/src/types/cacheData.d.ts +0 -4
- package/out/src/types/cacheData.js +0 -34
- package/out/src/types/cacheData.js.map +0 -1
- package/out/src/types/classMap.d.ts +0 -4
- package/out/src/types/classMap.js +0 -5
- package/out/src/types/classMap.js.map +0 -1
- package/out/src/types/common/ComponentAPI.d.ts +0 -110
- package/out/src/types/common/ComponentAPI.js +0 -3
- package/out/src/types/common/ComponentAPI.js.map +0 -1
- package/out/src/types/common/EventEmitter.d.ts +0 -37
- package/out/src/types/common/EventEmitter.js +0 -70
- package/out/src/types/common/EventEmitter.js.map +0 -1
- package/out/src/types/common/PackageJSON.d.ts +0 -32
- package/out/src/types/common/PackageJSON.js +0 -3
- package/out/src/types/common/PackageJSON.js.map +0 -1
- package/out/src/types/common/Vertex.d.ts +0 -205
- package/out/src/types/common/Vertex.js +0 -591
- package/out/src/types/common/Vertex.js.map +0 -1
- package/out/src/types/config.d.ts +0 -32
- package/out/src/types/config.js +0 -30
- package/out/src/types/config.js.map +0 -1
- package/out/src/types/data/DataNode.d.ts +0 -24
- package/out/src/types/data/DataNode.js +0 -52
- package/out/src/types/data/DataNode.js.map +0 -1
- package/out/src/types/data/Entity.d.ts +0 -124
- package/out/src/types/data/Entity.js +0 -537
- package/out/src/types/data/Entity.js.map +0 -1
- package/out/src/types/data/EntityIndex.d.ts +0 -87
- package/out/src/types/data/EntityIndex.js +0 -262
- package/out/src/types/data/EntityIndex.js.map +0 -1
- package/out/src/types/data/EntityProperty.d.ts +0 -196
- package/out/src/types/data/EntityProperty.js +0 -584
- package/out/src/types/data/EntityProperty.js.map +0 -1
- package/out/src/types/data/Enum.d.ts +0 -97
- package/out/src/types/data/Enum.js +0 -267
- package/out/src/types/data/Enum.js.map +0 -1
- package/out/src/types/data/EnumItem.d.ts +0 -57
- package/out/src/types/data/EnumItem.js +0 -170
- package/out/src/types/data/EnumItem.js.map +0 -1
- package/out/src/types/data/GlobalLogicNode.d.ts +0 -44
- package/out/src/types/data/GlobalLogicNode.js +0 -201
- package/out/src/types/data/GlobalLogicNode.js.map +0 -1
- package/out/src/types/data/Interface.d.ts +0 -153
- package/out/src/types/data/Interface.js +0 -482
- package/out/src/types/data/Interface.js.map +0 -1
- package/out/src/types/data/Schema.d.ts +0 -121
- package/out/src/types/data/Schema.js +0 -3
- package/out/src/types/data/Schema.js.map +0 -1
- package/out/src/types/data/Structure.d.ts +0 -104
- package/out/src/types/data/Structure.js +0 -319
- package/out/src/types/data/Structure.js.map +0 -1
- package/out/src/types/data/StructureProperty.d.ts +0 -134
- package/out/src/types/data/StructureProperty.js +0 -380
- package/out/src/types/data/StructureProperty.js.map +0 -1
- package/out/src/types/data/basicTypes.d.ts +0 -25
- package/out/src/types/data/basicTypes.js +0 -77
- package/out/src/types/data/basicTypes.js.map +0 -1
- package/out/src/types/data/dataTypeUtils.d.ts +0 -94
- package/out/src/types/data/dataTypeUtils.js +0 -441
- package/out/src/types/data/dataTypeUtils.js.map +0 -1
- package/out/src/types/data/dataTypes.d.ts +0 -20
- package/out/src/types/data/dataTypes.js +0 -47
- package/out/src/types/data/dataTypes.js.map +0 -1
- package/out/src/types/data/entityUtils.d.ts +0 -164
- package/out/src/types/data/entityUtils.js +0 -632
- package/out/src/types/data/entityUtils.js.map +0 -1
- package/out/src/types/data/genBlock/builtInFunctions.json +0 -545
- package/out/src/types/data/genBlock/genCallComponentLogic.d.ts +0 -20
- package/out/src/types/data/genBlock/genCallComponentLogic.js +0 -32
- package/out/src/types/data/genBlock/genCallComponentLogic.js.map +0 -1
- package/out/src/types/data/genBlock/genCallInterface.d.ts +0 -41
- package/out/src/types/data/genBlock/genCallInterface.js +0 -86
- package/out/src/types/data/genBlock/genCallInterface.js.map +0 -1
- package/out/src/types/data/genBlock/genCreateBlock.d.ts +0 -10
- package/out/src/types/data/genBlock/genCreateBlock.js +0 -313
- package/out/src/types/data/genBlock/genCreateBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genCurdBlock.d.ts +0 -4
- package/out/src/types/data/genBlock/genCurdBlock.js +0 -648
- package/out/src/types/data/genBlock/genCurdBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genCurdEditTableBlock.d.ts +0 -3
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js +0 -578
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genEditTableBlock.d.ts +0 -234
- package/out/src/types/data/genBlock/genEditTableBlock.js +0 -419
- package/out/src/types/data/genBlock/genEditTableBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genEnumSelectBlock.d.ts +0 -10
- package/out/src/types/data/genBlock/genEnumSelectBlock.js +0 -23
- package/out/src/types/data/genBlock/genEnumSelectBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genGetBlock.d.ts +0 -6
- package/out/src/types/data/genBlock/genGetBlock.js +0 -151
- package/out/src/types/data/genBlock/genGetBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genGridViewBlock.d.ts +0 -136
- package/out/src/types/data/genBlock/genGridViewBlock.js +0 -274
- package/out/src/types/data/genBlock/genGridViewBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genListViewBlock.d.ts +0 -63
- package/out/src/types/data/genBlock/genListViewBlock.js +0 -110
- package/out/src/types/data/genBlock/genListViewBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genQueryComponent.d.ts +0 -336
- package/out/src/types/data/genBlock/genQueryComponent.js +0 -526
- package/out/src/types/data/genBlock/genQueryComponent.js.map +0 -1
- package/out/src/types/data/genBlock/genSelectBlock.d.ts +0 -63
- package/out/src/types/data/genBlock/genSelectBlock.js +0 -106
- package/out/src/types/data/genBlock/genSelectBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genTableBlock.d.ts +0 -136
- package/out/src/types/data/genBlock/genTableBlock.js +0 -270
- package/out/src/types/data/genBlock/genTableBlock.js.map +0 -1
- package/out/src/types/data/genBlock/genUpdateBlock.d.ts +0 -6
- package/out/src/types/data/genBlock/genUpdateBlock.js +0 -384
- package/out/src/types/data/genBlock/genUpdateBlock.js.map +0 -1
- package/out/src/types/data/genBlock/index.d.ts +0 -17
- package/out/src/types/data/genBlock/index.js +0 -31
- package/out/src/types/data/genBlock/index.js.map +0 -1
- package/out/src/types/data/genBlock/utils.d.ts +0 -99
- package/out/src/types/data/genBlock/utils.js +0 -224
- package/out/src/types/data/genBlock/utils.js.map +0 -1
- package/out/src/types/data/genericTypes.d.ts +0 -40
- package/out/src/types/data/genericTypes.js +0 -145
- package/out/src/types/data/genericTypes.js.map +0 -1
- package/out/src/types/data/systemTypes.d.ts +0 -9
- package/out/src/types/data/systemTypes.js +0 -1563
- package/out/src/types/data/systemTypes.js.map +0 -1
- package/out/src/types/decorators/index.d.ts +0 -31
- package/out/src/types/decorators/index.js +0 -121
- package/out/src/types/decorators/index.js.map +0 -1
- package/out/src/types/enum.d.ts +0 -6
- package/out/src/types/enum.js +0 -11
- package/out/src/types/enum.js.map +0 -1
- package/out/src/types/index.d.ts +0 -145
- package/out/src/types/index.js +0 -226
- package/out/src/types/index.js.map +0 -1
- package/out/src/types/logic/BaseVariable.d.ts +0 -75
- package/out/src/types/logic/BaseVariable.js +0 -159
- package/out/src/types/logic/BaseVariable.js.map +0 -1
- package/out/src/types/logic/Logic.d.ts +0 -180
- package/out/src/types/logic/Logic.js +0 -591
- package/out/src/types/logic/Logic.js.map +0 -1
- package/out/src/types/logic/LogicItem.d.ts +0 -320
- package/out/src/types/logic/LogicItem.js +0 -1295
- package/out/src/types/logic/LogicItem.js.map +0 -1
- package/out/src/types/logic/Param.d.ts +0 -86
- package/out/src/types/logic/Param.js +0 -367
- package/out/src/types/logic/Param.js.map +0 -1
- package/out/src/types/logic/Return.d.ts +0 -73
- package/out/src/types/logic/Return.js +0 -313
- package/out/src/types/logic/Return.js.map +0 -1
- package/out/src/types/logic/Variable.d.ts +0 -72
- package/out/src/types/logic/Variable.js +0 -309
- package/out/src/types/logic/Variable.js.map +0 -1
- package/out/src/types/logic/expressions/MemberExpression.d.ts +0 -23
- package/out/src/types/logic/expressions/MemberExpression.js +0 -52
- package/out/src/types/logic/expressions/MemberExpression.js.map +0 -1
- package/out/src/types/logic/expressions/NumericLiteral.d.ts +0 -19
- package/out/src/types/logic/expressions/NumericLiteral.js +0 -42
- package/out/src/types/logic/expressions/NumericLiteral.js.map +0 -1
- package/out/src/types/logic/expressions/Unparsed.d.ts +0 -19
- package/out/src/types/logic/expressions/Unparsed.js +0 -42
- package/out/src/types/logic/expressions/Unparsed.js.map +0 -1
- package/out/src/types/logic/nodes/BuiltInFuncParam.d.ts +0 -27
- package/out/src/types/logic/nodes/BuiltInFuncParam.js +0 -56
- package/out/src/types/logic/nodes/BuiltInFuncParam.js.map +0 -1
- package/out/src/types/logic/nodes/BuiltInFunction.d.ts +0 -24
- package/out/src/types/logic/nodes/BuiltInFunction.js +0 -55
- package/out/src/types/logic/nodes/BuiltInFunction.js.map +0 -1
- package/out/src/types/logic/nodes/CallConsoleLog.d.ts +0 -19
- package/out/src/types/logic/nodes/CallConsoleLog.js +0 -42
- package/out/src/types/logic/nodes/CallConsoleLog.js.map +0 -1
- package/out/src/types/logic/nodes/CallInterParam.d.ts +0 -23
- package/out/src/types/logic/nodes/CallInterParam.js +0 -49
- package/out/src/types/logic/nodes/CallInterParam.js.map +0 -1
- package/out/src/types/logic/nodes/CallInterface.d.ts +0 -24
- package/out/src/types/logic/nodes/CallInterface.js +0 -49
- package/out/src/types/logic/nodes/CallInterface.js.map +0 -1
- package/out/src/types/logic/nodes/CallLogic.d.ts +0 -24
- package/out/src/types/logic/nodes/CallLogic.js +0 -55
- package/out/src/types/logic/nodes/CallLogic.js.map +0 -1
- package/out/src/types/logic/nodes/CallMessageShow.d.ts +0 -27
- package/out/src/types/logic/nodes/CallMessageShow.js +0 -56
- package/out/src/types/logic/nodes/CallMessageShow.js.map +0 -1
- package/out/src/types/logic/nodes/Destination.d.ts +0 -32
- package/out/src/types/logic/nodes/Destination.js +0 -73
- package/out/src/types/logic/nodes/Destination.js.map +0 -1
- package/out/src/types/logic/nodes/DestinationParam.d.ts +0 -24
- package/out/src/types/logic/nodes/DestinationParam.js +0 -49
- package/out/src/types/logic/nodes/DestinationParam.js.map +0 -1
- package/out/src/types/logic/nodes/JSBlock.d.ts +0 -19
- package/out/src/types/logic/nodes/JSBlock.js +0 -46
- package/out/src/types/logic/nodes/JSBlock.js.map +0 -1
- package/out/src/types/logic/nodes/JSONDeserialize.d.ts +0 -19
- package/out/src/types/logic/nodes/JSONDeserialize.js +0 -42
- package/out/src/types/logic/nodes/JSONDeserialize.js.map +0 -1
- package/out/src/types/logic/nodes/JSONSerialize.d.ts +0 -19
- package/out/src/types/logic/nodes/JSONSerialize.js +0 -42
- package/out/src/types/logic/nodes/JSONSerialize.js.map +0 -1
- package/out/src/types/logic/nodes/ProcessOutcome.d.ts +0 -27
- package/out/src/types/logic/nodes/ProcessOutcome.js +0 -56
- package/out/src/types/logic/nodes/ProcessOutcome.js.map +0 -1
- package/out/src/types/logic/tools.d.ts +0 -15
- package/out/src/types/logic/tools.js +0 -164
- package/out/src/types/logic/tools.js.map +0 -1
- package/out/src/types/logic/translator.d.ts +0 -1
- package/out/src/types/logic/translator.js +0 -624
- package/out/src/types/logic/translator.js.map +0 -1
- package/out/src/types/login.d.ts +0 -7
- package/out/src/types/login.js +0 -39
- package/out/src/types/login.js.map +0 -1
- package/out/src/types/nuims/Nuims.d.ts +0 -128
- package/out/src/types/nuims/Nuims.js +0 -446
- package/out/src/types/nuims/Nuims.js.map +0 -1
- package/out/src/types/page/Attr.d.ts +0 -79
- package/out/src/types/page/Attr.js +0 -217
- package/out/src/types/page/Attr.js.map +0 -1
- package/out/src/types/page/Block.d.ts +0 -65
- package/out/src/types/page/Block.js +0 -82
- package/out/src/types/page/Block.js.map +0 -1
- package/out/src/types/page/Directive.d.ts +0 -78
- package/out/src/types/page/Directive.js +0 -202
- package/out/src/types/page/Directive.js.map +0 -1
- package/out/src/types/page/Element.d.ts +0 -266
- package/out/src/types/page/Element.js +0 -1418
- package/out/src/types/page/Element.js.map +0 -1
- package/out/src/types/page/Event.d.ts +0 -63
- package/out/src/types/page/Event.js +0 -212
- package/out/src/types/page/Event.js.map +0 -1
- package/out/src/types/page/Lifecycle.d.ts +0 -58
- package/out/src/types/page/Lifecycle.js +0 -192
- package/out/src/types/page/Lifecycle.js.map +0 -1
- package/out/src/types/page/Page.d.ts +0 -95
- package/out/src/types/page/Page.js +0 -394
- package/out/src/types/page/Page.js.map +0 -1
- package/out/src/types/page/View.d.ts +0 -253
- package/out/src/types/page/View.js +0 -1178
- package/out/src/types/page/View.js.map +0 -1
- package/out/src/types/page/ViewParam.d.ts +0 -73
- package/out/src/types/page/ViewParam.js +0 -296
- package/out/src/types/page/ViewParam.js.map +0 -1
- package/out/src/types/page/ViewVariable.d.ts +0 -73
- package/out/src/types/page/ViewVariable.js +0 -276
- package/out/src/types/page/ViewVariable.js.map +0 -1
- package/out/src/types/permission/Permission.d.ts +0 -41
- package/out/src/types/permission/Permission.js +0 -122
- package/out/src/types/permission/Permission.js.map +0 -1
- package/out/src/types/process/Process.d.ts +0 -118
- package/out/src/types/process/Process.js +0 -357
- package/out/src/types/process/Process.js.map +0 -1
- package/out/src/types/process/ProcessComponent.d.ts +0 -133
- package/out/src/types/process/ProcessComponent.js +0 -339
- package/out/src/types/process/ProcessComponent.js.map +0 -1
- package/out/src/types/process/ProcessComponentAttribute.d.ts +0 -63
- package/out/src/types/process/ProcessComponentAttribute.js +0 -163
- package/out/src/types/process/ProcessComponentAttribute.js.map +0 -1
- package/out/src/types/process/ProcessComponentProperty.d.ts +0 -37
- package/out/src/types/process/ProcessComponentProperty.js +0 -81
- package/out/src/types/process/ProcessComponentProperty.js.map +0 -1
- package/out/src/types/process/ProcessComponentReturn.d.ts +0 -77
- package/out/src/types/process/ProcessComponentReturn.js +0 -260
- package/out/src/types/process/ProcessComponentReturn.js.map +0 -1
- package/out/src/types/process/ProcessComponentVariable.d.ts +0 -78
- package/out/src/types/process/ProcessComponentVariable.js +0 -252
- package/out/src/types/process/ProcessComponentVariable.js.map +0 -1
- package/out/src/types/process/ProcessInterface.d.ts +0 -112
- package/out/src/types/process/ProcessInterface.js +0 -227
- package/out/src/types/process/ProcessInterface.js.map +0 -1
- package/out/src/types/process/ProcessParam.d.ts +0 -77
- package/out/src/types/process/ProcessParam.js +0 -261
- package/out/src/types/process/ProcessParam.js.map +0 -1
- package/out/src/types/process/ProcessProperty.d.ts +0 -37
- package/out/src/types/process/ProcessProperty.js +0 -81
- package/out/src/types/process/ProcessProperty.js.map +0 -1
- package/out/src/types/process/ProcessReturn.d.ts +0 -73
- package/out/src/types/process/ProcessReturn.js +0 -237
- package/out/src/types/process/ProcessReturn.js.map +0 -1
- package/out/src/types/utils/index.d.ts +0 -26
- package/out/src/types/utils/index.js +0 -90
- package/out/src/types/utils/index.js.map +0 -1
- package/out/src/types/utils/logger.js +0 -14
- package/out/src/types/utils/logger.js.map +0 -1
- package/out/src/types/utils/string.js.map +0 -1
- package/out/src/types/utils/traverse.d.ts +0 -35
- package/out/src/types/utils/traverse.js +0 -126
- package/out/src/types/utils/traverse.js.map +0 -1
- package/out/src/utils/index.js.map +0 -1
- package/out/src/utils/logger.d.ts +0 -3
- package/out/src/utils/logger.js.map +0 -1
- package/out/src/utils/string.d.ts +0 -38
- package/out/src/utils/string.js +0 -66
- package/out/src/utils/string.js.map +0 -1
- package/out/src/utils/traverse.d.ts +0 -35
- package/out/src/utils/traverse.js +0 -126
- package/out/src/utils/traverse.js.map +0 -1
- package/out/test/units/app/App.spec.d.ts +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.d.ts +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/test/units/baseTypes/toEmbeddedTS.spec.d.ts +0 -1
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js +0 -39
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js.map +0 -1
- package/out/test/units/config.spec.d.ts +0 -1
- package/out/test/units/config.spec.js +0 -12
- package/out/test/units/config.spec.js.map +0 -1
- package/out/types/app/App.d.ts +0 -148
- package/out/types/app/App.js +0 -358
- 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 -220
- package/out/types/app/Service.js +0 -831
- 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/classMap.d.ts +0 -4
- package/out/types/classMap.js +0 -5
- package/out/types/classMap.js.map +0 -1
- package/out/types/common/ComponentAPI.d.ts +0 -110
- package/out/types/common/ComponentAPI.js +0 -3
- 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 -132
- package/out/types/common/Vertex.js +0 -342
- package/out/types/common/Vertex.js.map +0 -1
- package/out/types/config.d.ts +0 -24
- package/out/types/config.js +0 -22
- 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 -124
- package/out/types/data/Entity.js +0 -537
- 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 -196
- package/out/types/data/EntityProperty.js +0 -584
- package/out/types/data/EntityProperty.js.map +0 -1
- package/out/types/data/Enum.d.ts +0 -97
- package/out/types/data/Enum.js +0 -267
- 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 -482
- package/out/types/data/Interface.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 -104
- package/out/types/data/Structure.js +0 -319
- 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 -20
- package/out/types/data/dataTypes.js +0 -47
- 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 -545
- 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 -313
- 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/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/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 -106
- 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 -384
- 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 -145
- 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 -1563
- 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 -62
- 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.d.ts +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 -197
- 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 -145
- package/out/types/index.js +0 -225
- 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/BreakPoint.d.ts +0 -42
- package/out/types/logic/BreakPoint.js +0 -155
- package/out/types/logic/BreakPoint.js.map +0 -1
- package/out/types/logic/CallInterface.d.ts +0 -1
- package/out/types/logic/CallInterface.js +0 -9
- package/out/types/logic/CallInterface.js.map +0 -1
- package/out/types/logic/Debugger.d.ts +0 -156
- package/out/types/logic/Debugger.js +0 -912
- package/out/types/logic/Debugger.js.map +0 -1
- package/out/types/logic/Logic.d.ts +0 -180
- package/out/types/logic/Logic.js +0 -591
- package/out/types/logic/Logic.js.map +0 -1
- package/out/types/logic/LogicItem.d.ts +0 -320
- package/out/types/logic/LogicItem.js +0 -1295
- 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 -624
- 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 -1418
- 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 -420
- 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 -1178
- 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 -81
- 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.d.ts +0 -3
- 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 -38
- package/out/types/utils/string.js +0 -66
- 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/src/concepts/basics/stdlib/nasl.validate.ts +0 -523
package/src/server/naslServer.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// #if process.env.NODE_ENV
|
|
2
|
-
import Worker from '../../../ts-worker/dist/bundle.js';
|
|
2
|
+
// import Worker from '../../../ts-worker/dist/bundle.js';
|
|
3
3
|
/// #else
|
|
4
4
|
// import { Worker } from 'worker_threads';
|
|
5
5
|
/// #endif
|
|
@@ -30,12 +30,20 @@ import {
|
|
|
30
30
|
Process,
|
|
31
31
|
Interface,
|
|
32
32
|
Argument,
|
|
33
|
+
ViewElement,
|
|
34
|
+
BindAttribute,
|
|
35
|
+
Assignment,
|
|
36
|
+
CallQueryComponent,
|
|
37
|
+
Role,
|
|
38
|
+
Configuration,
|
|
33
39
|
} from '../concepts';
|
|
34
40
|
import { lsp2tspNumber, SourceMap, SourceMapItem, embeddedTSEmitter } from '../translator';
|
|
35
41
|
import axios from '../service/storage';
|
|
36
42
|
import { transformType, translateDiagnosticMessage } from './translator';
|
|
37
43
|
import { EventPayload, invokeCommand, registerCommand } from '../common';
|
|
38
44
|
import { DiagnosticRecord, Diagnostic, default as diagnosticManager } from '../manager/diagnostic';
|
|
45
|
+
import formatUiTs from './createUiTs';
|
|
46
|
+
import { primitiveTypeList } from '../concepts/basics/types/coreTypeList';
|
|
39
47
|
|
|
40
48
|
const EmbeddedTSFileLineMap: { [name: string]: number } = {
|
|
41
49
|
Entity: 3,
|
|
@@ -55,14 +63,10 @@ interface setNameNode extends BaseNode {
|
|
|
55
63
|
[propname: string]: any;
|
|
56
64
|
}
|
|
57
65
|
interface treeNode {
|
|
58
|
-
[propName: string]:
|
|
59
|
-
name: string;
|
|
60
|
-
children: any[];
|
|
61
|
-
node: BaseNode;
|
|
62
|
-
}[];
|
|
66
|
+
[propName: string]: QuoteNode[];
|
|
63
67
|
}
|
|
64
68
|
export { transformType, translateDiagnosticMessage };
|
|
65
|
-
const worker = new Worker(
|
|
69
|
+
const worker = new Worker('/ts-worker.js');
|
|
66
70
|
const messager = new Messager({
|
|
67
71
|
protocol: 'ts-worker',
|
|
68
72
|
sender: 'ide',
|
|
@@ -108,72 +112,100 @@ const naslServer = {
|
|
|
108
112
|
* 先用挂在点上面,简单的方法实现,后期再考虑解耦
|
|
109
113
|
*/
|
|
110
114
|
file2NodeMap: new Map<string, BaseNode>(),
|
|
115
|
+
elementsLogic: <{ [elementLogicName: string]: Array<Logic> }>{},
|
|
111
116
|
start() {
|
|
112
117
|
return this.messager.requestCommand('start');
|
|
113
118
|
},
|
|
119
|
+
async createUiTs(allComponent: any) {
|
|
120
|
+
const { code, elementsLogic } = await formatUiTs(allComponent);
|
|
121
|
+
// 放入生產的uits文件
|
|
122
|
+
await naslServer.addFile({
|
|
123
|
+
file: 'nasl.ui.definition.ts',
|
|
124
|
+
fileContent: code,
|
|
125
|
+
});
|
|
126
|
+
naslServer.elementsLogic = elementsLogic;
|
|
127
|
+
// 全部文件加载完毕开始初始化
|
|
128
|
+
await naslServer.getDiagnosticRecordsAndPushAll();
|
|
129
|
+
},
|
|
130
|
+
contentToFile(module: Module | App, results: Array<ReturnType<Structure['toEmbeddedTSFile']>>) {
|
|
131
|
+
module.structures.forEach((structure) => {
|
|
132
|
+
const result = structure.toEmbeddedTSFile();
|
|
133
|
+
results.push(result);
|
|
134
|
+
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
135
|
+
structure.sourceMap = result.sourceMap;
|
|
136
|
+
this.file2NodeMap.set(result.filePath, structure);
|
|
137
|
+
});
|
|
138
|
+
module.entities.forEach((entity) => {
|
|
139
|
+
const result = entity.toEmbeddedTSFile();
|
|
140
|
+
results.push(result);
|
|
141
|
+
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
142
|
+
entity.sourceMap = result.sourceMap;
|
|
143
|
+
this.file2NodeMap.set(result.filePath, entity);
|
|
144
|
+
});
|
|
145
|
+
module.interfaces.forEach((_interface) => {
|
|
146
|
+
const result = _interface.toEmbeddedTSFile();
|
|
147
|
+
results.push(result);
|
|
148
|
+
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
149
|
+
_interface.sourceMap = result.sourceMap;
|
|
150
|
+
this.file2NodeMap.set(result.filePath, _interface);
|
|
151
|
+
});
|
|
152
|
+
module.enums.forEach((_enum) => {
|
|
153
|
+
const result = _enum.toEmbeddedTSFile();
|
|
154
|
+
results.push(result);
|
|
155
|
+
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
156
|
+
_enum.sourceMap = result.sourceMap;
|
|
157
|
+
this.file2NodeMap.set(result.filePath, _enum);
|
|
158
|
+
});
|
|
159
|
+
module.logics.forEach((logic) => {
|
|
160
|
+
if (!(logic instanceof Logic))
|
|
161
|
+
return;
|
|
162
|
+
const result = logic.toEmbeddedTSFile();
|
|
163
|
+
results.push(result);
|
|
164
|
+
logic.sourceMap = result.sourceMap;
|
|
165
|
+
this.file2NodeMap.set(result.filePath, logic);
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
// view的生成
|
|
169
|
+
naslServer.view2TSFile(module.views, results);
|
|
170
|
+
|
|
171
|
+
module.processes.forEach((process) => {
|
|
172
|
+
const result = process.toEmbeddedTSFile();
|
|
173
|
+
results.push(result);
|
|
174
|
+
process.sourceMap = result.sourceMap;
|
|
175
|
+
this.file2NodeMap.set(result.filePath, process);
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
if (module instanceof App) {
|
|
179
|
+
module.roles.forEach((role) => {
|
|
180
|
+
const result = role.toEmbeddedTSFile();
|
|
181
|
+
results.push(result);
|
|
182
|
+
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
183
|
+
role.sourceMap = result.sourceMap;
|
|
184
|
+
this.file2NodeMap.set(result.filePath, role);
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
view2TSFile(viewsChildren: View[], results: Array<ReturnType<Structure['toEmbeddedTSFile']>>) {
|
|
189
|
+
// 子页面
|
|
190
|
+
viewsChildren.forEach((view) => {
|
|
191
|
+
const result = view.toEmbeddedTSFile();
|
|
192
|
+
results.push(result);
|
|
193
|
+
view.sourceMap = result.sourceMap;
|
|
194
|
+
this.file2NodeMap.set(result.filePath, view);
|
|
195
|
+
if (view.children.length) {
|
|
196
|
+
naslServer.view2TSFile(view.children, results);
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
},
|
|
114
200
|
async openApp(app: App) {
|
|
115
201
|
const results: Array<ReturnType<Structure['toEmbeddedTSFile']>> = [];
|
|
116
202
|
try {
|
|
117
|
-
const contentToFile = (module: Module | App) => {
|
|
118
|
-
module.structures.forEach((structure) => {
|
|
119
|
-
const result = structure.toEmbeddedTSFile();
|
|
120
|
-
results.push(result);
|
|
121
|
-
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
122
|
-
structure.sourceMap = result.sourceMap;
|
|
123
|
-
this.file2NodeMap.set(result.filePath, structure);
|
|
124
|
-
});
|
|
125
|
-
module.entities.forEach((entity) => {
|
|
126
|
-
const result = entity.toEmbeddedTSFile();
|
|
127
|
-
results.push(result);
|
|
128
|
-
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
129
|
-
entity.sourceMap = result.sourceMap;
|
|
130
|
-
this.file2NodeMap.set(result.filePath, entity);
|
|
131
|
-
});
|
|
132
|
-
module.interfaces.forEach((_interface) => {
|
|
133
|
-
const result = _interface.toEmbeddedTSFile();
|
|
134
|
-
results.push(result);
|
|
135
|
-
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
136
|
-
_interface.sourceMap = result.sourceMap;
|
|
137
|
-
this.file2NodeMap.set(result.filePath, _interface);
|
|
138
|
-
});
|
|
139
|
-
module.enums.forEach((_enum) => {
|
|
140
|
-
const result = _enum.toEmbeddedTSFile();
|
|
141
|
-
results.push(result);
|
|
142
|
-
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
143
|
-
_enum.sourceMap = result.sourceMap;
|
|
144
|
-
this.file2NodeMap.set(result.filePath, _enum);
|
|
145
|
-
});
|
|
146
|
-
module.logics.forEach((logic) => {
|
|
147
|
-
const result = logic.toEmbeddedTSFile();
|
|
148
|
-
results.push(result);
|
|
149
|
-
logic.sourceMap = result.sourceMap;
|
|
150
|
-
this.file2NodeMap.set(result.filePath, logic);
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
module.views.forEach((view) => {
|
|
154
|
-
const result = view.toEmbeddedTSFile();
|
|
155
|
-
results.push(result);
|
|
156
|
-
view.sourceMap = result.sourceMap;
|
|
157
|
-
this.file2NodeMap.set(result.filePath, view);
|
|
158
|
-
});
|
|
159
|
-
module.processes.forEach((process) => {
|
|
160
|
-
const result = process.toEmbeddedTSFile();
|
|
161
|
-
results.push(result);
|
|
162
|
-
process.sourceMap = result.sourceMap;
|
|
163
|
-
this.file2NodeMap.set(result.filePath, process);
|
|
164
|
-
});
|
|
165
|
-
app.roles.forEach((role) => {
|
|
166
|
-
const result = role.toEmbeddedTSFile();
|
|
167
|
-
results.push(result);
|
|
168
|
-
// sourceMap都存在目录级别内容下,在页面层级下去找
|
|
169
|
-
role.sourceMap = result.sourceMap;
|
|
170
|
-
this.file2NodeMap.set(result.filePath, role);
|
|
171
|
-
});
|
|
172
|
-
};
|
|
173
203
|
// app的创建内容
|
|
174
|
-
contentToFile(app);
|
|
204
|
+
naslServer.contentToFile(app, results);
|
|
175
205
|
// 其他模块的创建内容
|
|
176
|
-
app.dependencies.forEach(contentToFile);
|
|
206
|
+
app.dependencies.forEach((item) => naslServer.contentToFile(item, results));
|
|
207
|
+
app.interfaceDependencies.forEach((item) => naslServer.contentToFile(item, results));
|
|
208
|
+
app.componentDependencies.forEach((item) => naslServer.contentToFile(item, results));
|
|
177
209
|
} catch (err) {
|
|
178
210
|
console.log(err);
|
|
179
211
|
}
|
|
@@ -193,6 +225,26 @@ const naslServer = {
|
|
|
193
225
|
callback();
|
|
194
226
|
});
|
|
195
227
|
},
|
|
228
|
+
async importModule(module: Module) {
|
|
229
|
+
const results: Array<ReturnType<Structure['toEmbeddedTSFile']>> = [];
|
|
230
|
+
try {
|
|
231
|
+
naslServer.contentToFile(module, results);
|
|
232
|
+
} catch (err) {
|
|
233
|
+
console.log(err);
|
|
234
|
+
}
|
|
235
|
+
const files = results.map((result) => ({
|
|
236
|
+
file: result.filePath,
|
|
237
|
+
fileContent: result.code,
|
|
238
|
+
}));
|
|
239
|
+
await this.writeFiles(files);
|
|
240
|
+
this._debugInFileStorage(module.parentNode as App, files);
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* 初始化之前添加文件
|
|
244
|
+
*/
|
|
245
|
+
addFile(file: tsProtocol.OpenRequestArgs) {
|
|
246
|
+
return this.messager.requestCommand('addFile', file);
|
|
247
|
+
},
|
|
196
248
|
/**
|
|
197
249
|
* 只新增文件
|
|
198
250
|
* @param {*} files
|
|
@@ -216,7 +268,11 @@ const naslServer = {
|
|
|
216
268
|
updateFiles(args: { outputFiles: Array<tsProtocol.OpenRequestArgs> }) {
|
|
217
269
|
return this.messager.requestCommand('updateFiles', args);
|
|
218
270
|
},
|
|
219
|
-
_debugInFileStorage(
|
|
271
|
+
_debugInFileStorage(node: BaseNode, openFiles: Array<tsProtocol.OpenRequestArgs>) {
|
|
272
|
+
let app = node;
|
|
273
|
+
if (node.concept !== 'App') {
|
|
274
|
+
app = (node as any).rootNode || (node as any).app;
|
|
275
|
+
}
|
|
220
276
|
return Promise.all(openFiles.map(async (file) => {
|
|
221
277
|
const res = await axios.post('/api/App/debugEmbedded?id=' + app.id, file);
|
|
222
278
|
return res.data;
|
|
@@ -234,25 +290,90 @@ const naslServer = {
|
|
|
234
290
|
async references(args: tsProtocol.FileLocationRequestArgs) {
|
|
235
291
|
return ((await this.messager.requestCommand('references', args)) as any)?.response as tsProtocol.ReferencesResponseBody;
|
|
236
292
|
},
|
|
237
|
-
|
|
293
|
+
getValueSelectCompletion(node: BaseNode, value: string, noFilterList?: Array<string>) {
|
|
238
294
|
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
239
295
|
// console.log(currentSource, fileNode);
|
|
240
296
|
if (currentSource && fileNode) {
|
|
241
|
-
return naslServer.
|
|
297
|
+
return naslServer._getValueSelectCompletion({
|
|
242
298
|
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
243
299
|
range: {
|
|
244
300
|
line: lsp2tspNumber(currentSource.range.start.line),
|
|
245
301
|
offset: lsp2tspNumber(currentSource.range.start.character),
|
|
246
302
|
},
|
|
303
|
+
value,
|
|
304
|
+
noFilterList,
|
|
247
305
|
});
|
|
248
306
|
} else {
|
|
249
307
|
console.log('没找到节点', node, currentSource, fileNode);
|
|
250
308
|
}
|
|
251
309
|
},
|
|
252
|
-
|
|
253
|
-
return this.messager.requestCommand('
|
|
310
|
+
_getValueSelectCompletion(args: any) {
|
|
311
|
+
return this.messager.requestCommand('getValueSelectCompletion', args);
|
|
312
|
+
},
|
|
313
|
+
// 联合类型切割取出类型
|
|
314
|
+
getDisplayString2Type(displayString: string) {
|
|
315
|
+
// 取出匹配的内容
|
|
316
|
+
const reg = /\<([^()]+)\>/g;
|
|
317
|
+
const types = reg.exec(displayString);
|
|
318
|
+
// 取出提示的类型,组成是数组
|
|
319
|
+
const typeList: string[] = types[1].split(' | ').map((item: string) => {
|
|
320
|
+
if (item.includes(' ')) {
|
|
321
|
+
const strs = item.split(' ');
|
|
322
|
+
const type = strs[strs.length - 1];
|
|
323
|
+
return type;
|
|
324
|
+
} else if (item.includes('.')) {
|
|
325
|
+
const strs = item.split('.');
|
|
326
|
+
const type = strs[strs.length - 1];
|
|
327
|
+
return type;
|
|
328
|
+
} else {
|
|
329
|
+
return item;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
return typeList;
|
|
333
|
+
},
|
|
334
|
+
async getTypeQuickinfo(node: BaseNode) {
|
|
335
|
+
console.log(node);
|
|
336
|
+
if (node instanceof Identifier) {
|
|
337
|
+
const callFunction = node.parentNode.parentNode;
|
|
338
|
+
/**
|
|
339
|
+
* currentSource callFunction 的节点,要去到当前节点的位置
|
|
340
|
+
* nasl.util.Convert(xxx),所以取到的位置要 + `nasl.util.C` 的长度
|
|
341
|
+
* fileNode
|
|
342
|
+
*/
|
|
343
|
+
const { currentSource, fileNode } = naslServer.getCurrentSource(callFunction);
|
|
344
|
+
const quickInfo = await naslServer._getTypeQuickinfo({
|
|
345
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
346
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
347
|
+
offset: lsp2tspNumber(currentSource.range.start.character) + `nasl.util.C`.length,
|
|
348
|
+
});
|
|
349
|
+
if (quickInfo.responseRequired) {
|
|
350
|
+
const displayString = quickInfo?.response?.displayString || '';
|
|
351
|
+
const typeList = naslServer.getDisplayString2Type(displayString);
|
|
352
|
+
let res: Array<TypeAnnotation> = [];
|
|
353
|
+
typeList.forEach((type) => {
|
|
354
|
+
const typeAnnotation = primitiveTypeList.find((typeAnnotation) => typeAnnotation.typeName === type);
|
|
355
|
+
if (typeAnnotation) {
|
|
356
|
+
res.push(typeAnnotation);
|
|
357
|
+
} else if (type === 'unknown') {
|
|
358
|
+
return null;
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
if (!res.length) {
|
|
362
|
+
res = primitiveTypeList;
|
|
363
|
+
}
|
|
364
|
+
// 调整结构
|
|
365
|
+
const dataTypeList: Array<{
|
|
366
|
+
title: string;
|
|
367
|
+
children: Array<TypeAnnotation>;
|
|
368
|
+
}> = [{ title: '基础类型', children: res }];
|
|
369
|
+
return dataTypeList;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
_getTypeQuickinfo(args: any) {
|
|
374
|
+
return this.messager.requestCommand('quickInfo', args) as unknown as { responseRequired: boolean; response: tsProtocol.QuickInfoResponseBody };
|
|
254
375
|
},
|
|
255
|
-
getSelectNextCompletion(node: BaseNode) {
|
|
376
|
+
getSelectNextCompletion(node: BaseNode, noFilterList?: Array<string>) {
|
|
256
377
|
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
257
378
|
// console.log(currentSource, fileNode);
|
|
258
379
|
if (currentSource && fileNode) {
|
|
@@ -262,6 +383,7 @@ const naslServer = {
|
|
|
262
383
|
line: lsp2tspNumber(currentSource.range.start.line),
|
|
263
384
|
offset: lsp2tspNumber(currentSource.range.start.character),
|
|
264
385
|
},
|
|
386
|
+
noFilterList,
|
|
265
387
|
});
|
|
266
388
|
} else {
|
|
267
389
|
console.log('没找到节点', currentSource, fileNode);
|
|
@@ -296,15 +418,24 @@ const naslServer = {
|
|
|
296
418
|
record.semanticDiagnostics = record.semanticDiagnostics
|
|
297
419
|
.map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
|
|
298
420
|
.filter((diag) => !!diag);
|
|
421
|
+
|
|
299
422
|
// 建议诊断
|
|
300
423
|
// 实体下的建议不用展示,因为都是平台自己写的逻辑
|
|
301
|
-
if (node instanceof Entity) {
|
|
302
|
-
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
424
|
+
// if (node instanceof Entity) {
|
|
425
|
+
// record.suggestionDiagnostics = [];
|
|
426
|
+
// }
|
|
427
|
+
// if (node instanceof View) {
|
|
428
|
+
// // event在view中不展示建议使用,提示关闭掉
|
|
429
|
+
// record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`'event'`));
|
|
430
|
+
// }
|
|
431
|
+
// if (node instanceof Logic) {
|
|
432
|
+
// // logic在for循环中,不展示any提示
|
|
433
|
+
// record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`implicitly has an 'any' type, but a better type may be inferred from usage.`));
|
|
434
|
+
// }
|
|
435
|
+
// record.suggestionDiagnostics = record.suggestionDiagnostics
|
|
436
|
+
// .map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
|
|
437
|
+
// .filter((diag) => !!diag);
|
|
438
|
+
record.suggestionDiagnostics = [];
|
|
308
439
|
// 语法诊断暂时不需要
|
|
309
440
|
});
|
|
310
441
|
return records;
|
|
@@ -337,11 +468,29 @@ const naslServer = {
|
|
|
337
468
|
* @returns
|
|
338
469
|
*/
|
|
339
470
|
_diagnosticSpecialTreatment(minRange: MinRange, tsErrorDetail: Diagnostic) {
|
|
340
|
-
|
|
341
|
-
//
|
|
342
|
-
if (minRange.node instanceof
|
|
343
|
-
|
|
471
|
+
const text = tsErrorDetail.originalDiagnostic.text;
|
|
472
|
+
// 有一些节点报错信息不向外暴露,缺失一些原生标签等等的展示
|
|
473
|
+
if (minRange.node instanceof View || minRange.node instanceof ViewElement) {
|
|
474
|
+
if (text.startsWith(`'nasl.ui' has no exported member named `)) {
|
|
475
|
+
return null;
|
|
476
|
+
} else if (text.startsWith(`Property '`) && text.includes(`does not exist on type 'typeof ui'.`)) {
|
|
477
|
+
return null;
|
|
478
|
+
} else if (text.startsWith(`Namespace 'nasl.ui' has no exported member `)) {
|
|
479
|
+
return null;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
if (/Expected (.+?) arguments, but got (.+?)./.exec(text)) {
|
|
483
|
+
// bindevent本身现在就不传参数
|
|
484
|
+
if (minRange.node instanceof BindEvent) {
|
|
485
|
+
return null;
|
|
486
|
+
}
|
|
487
|
+
// 因为缺少参数时候有可能有特殊情况,因为原本少的多了就会找到 callLogic上,
|
|
488
|
+
// 但是只少一个的时候就会找到准确的Argument上 需要特殊处理, ui层就可以统一处理
|
|
489
|
+
if (minRange.node instanceof Argument) {
|
|
490
|
+
minRange.node = minRange.node.parentNode;
|
|
491
|
+
}
|
|
344
492
|
}
|
|
493
|
+
|
|
345
494
|
minRange.node.tsErrorDetail = tsErrorDetail;
|
|
346
495
|
return {
|
|
347
496
|
id: minRange.node.id,
|
|
@@ -387,39 +536,28 @@ const naslServer = {
|
|
|
387
536
|
},
|
|
388
537
|
// 查找引用
|
|
389
538
|
async findReferences(node: BaseNode) {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
offset: lsp2tspNumber(currentSource.range.start.character),
|
|
397
|
-
});
|
|
398
|
-
refsList = [...newRefs.refs];
|
|
399
|
-
// 如果是entity就需要在单独,查一边来看有没有方法依赖
|
|
400
|
-
if (node instanceof Entity) {
|
|
401
|
-
const additionalRefs = await naslServer.references({
|
|
402
|
-
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
403
|
-
line: lsp2tspNumber(currentSource.range.end.line + 2),
|
|
404
|
-
offset: 43,
|
|
405
|
-
});
|
|
406
|
-
refsList = [...refsList, ...additionalRefs.refs];
|
|
407
|
-
}
|
|
408
|
-
// 过滤一把不需要改的信息
|
|
409
|
-
refsList = refsList.filter((item) =>
|
|
410
|
-
// 不是创建者
|
|
411
|
-
// 如果查找引用查到自己里面的引用不展示
|
|
412
|
-
item.isDefinition !== true && (fileNode as FileNode).getEmbeddedFilePath() !== item.file);
|
|
539
|
+
console.log(node);
|
|
540
|
+
const refsList = await naslServer._isHaveRef(node, true);
|
|
541
|
+
console.log(refsList, 'refsList');
|
|
542
|
+
// refsList = refsList.filter((item) =>
|
|
543
|
+
// // 不是创建者
|
|
544
|
+
// item.isDefinition !== true);
|
|
413
545
|
let result = {};
|
|
414
546
|
const resMap = {};
|
|
415
|
-
// console.log(refsList, 'refsList');
|
|
416
547
|
try {
|
|
417
548
|
refsList.forEach((record) => {
|
|
418
549
|
const fileNode = this.file2NodeMap.get(record.file);
|
|
419
550
|
if (!fileNode)
|
|
420
551
|
return;
|
|
421
552
|
const minRange = this._findMinRange(record, fileNode.sourceMap);
|
|
553
|
+
// 过滤一把不需要改的信息
|
|
422
554
|
if (minRange) {
|
|
555
|
+
// 如果查找引用查到自己里面的引用不展示
|
|
556
|
+
// 因为view生成的特殊性
|
|
557
|
+
if (minRange.node === node || (minRange.node instanceof View && node instanceof View)) {
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
// 拼装树
|
|
423
561
|
naslServer._getTreeMap(minRange, fileNode, resMap);
|
|
424
562
|
}
|
|
425
563
|
});
|
|
@@ -431,7 +569,7 @@ const naslServer = {
|
|
|
431
569
|
console.log(result);
|
|
432
570
|
return result;
|
|
433
571
|
},
|
|
434
|
-
async _isHaveRef(node: BaseNode) {
|
|
572
|
+
async _isHaveRef(node: BaseNode, isFind: boolean = false) {
|
|
435
573
|
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
436
574
|
let refsList: tsProtocol.ReferencesResponseItem[] = [];
|
|
437
575
|
|
|
@@ -449,21 +587,15 @@ const naslServer = {
|
|
|
449
587
|
|
|
450
588
|
// 如果是entity就需要在单独,查一边来修改名字
|
|
451
589
|
if (node instanceof Entity) {
|
|
452
|
-
const additionalRefs = await naslServer.references({
|
|
453
|
-
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
454
|
-
line: lsp2tspNumber(currentSource.range.end.line + 2),
|
|
455
|
-
offset: 43,
|
|
456
|
-
});
|
|
457
|
-
refsList = [...refsList, ...additionalRefs.refs];
|
|
458
590
|
// 过滤一把不需要改的信息
|
|
459
591
|
refsList = refsList.filter((item) =>
|
|
460
592
|
// 不再当前文件里
|
|
461
593
|
// 或者在当前列表但是位置小于entity的结束位置
|
|
462
|
-
(fileNode as FileNode).getEmbeddedFilePath() !== item.file
|
|
594
|
+
(fileNode as FileNode).getEmbeddedFilePath() !== item.file);
|
|
463
595
|
}
|
|
464
596
|
|
|
465
597
|
// 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
|
|
466
|
-
if (node instanceof Param) {
|
|
598
|
+
if (node instanceof Param && node.parentNode instanceof Logic) {
|
|
467
599
|
const logicNode = node.parentNode;
|
|
468
600
|
const { currentSource } = naslServer.getCurrentSource(logicNode);
|
|
469
601
|
const parentRefs = await naslServer.references({
|
|
@@ -473,6 +605,22 @@ const naslServer = {
|
|
|
473
605
|
});
|
|
474
606
|
refsList = [...refsList, ...parentRefs.refs];
|
|
475
607
|
}
|
|
608
|
+
|
|
609
|
+
// 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
|
|
610
|
+
if (node instanceof Param && node.parentNode instanceof View && isFind) {
|
|
611
|
+
const viewNode = node.parentNode;
|
|
612
|
+
const { currentSource } = naslServer.getCurrentSource(viewNode);
|
|
613
|
+
const code = currentSource.code;
|
|
614
|
+
const viewIndex = code.indexOf(' {');
|
|
615
|
+
const viewRefs = await naslServer.references({
|
|
616
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
617
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
618
|
+
offset: lsp2tspNumber(currentSource.range.start.character + viewIndex),
|
|
619
|
+
});
|
|
620
|
+
|
|
621
|
+
const filterViewRefs = viewRefs.refs.filter((item) => item.lineText.includes('.$destination('));
|
|
622
|
+
refsList = [...refsList, ...filterViewRefs];
|
|
623
|
+
}
|
|
476
624
|
/**
|
|
477
625
|
* view 因为不是嵌套的,所以不能用最前面的变量查找,所以要单独处理一下
|
|
478
626
|
* 找到第一个 { 之前的变量 进行修改
|
|
@@ -489,6 +637,31 @@ const naslServer = {
|
|
|
489
637
|
});
|
|
490
638
|
refsList = [...viewRefs.refs];
|
|
491
639
|
}
|
|
640
|
+
/**
|
|
641
|
+
* elements 需要查的是__elements.后面的那个内容,过滤两个为了生成内容的节点
|
|
642
|
+
*/
|
|
643
|
+
if (node instanceof ViewElement) {
|
|
644
|
+
const code = currentSource.code;
|
|
645
|
+
const prefix = '__elements.';
|
|
646
|
+
const prefixIndex = code.indexOf(prefix) !== -1 ? code.indexOf(prefix) : 0;
|
|
647
|
+
const methodsNameIndex = prefixIndex + prefix.length;
|
|
648
|
+
const methods = await naslServer.references({
|
|
649
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
650
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
651
|
+
offset: lsp2tspNumber(currentSource.range.start.character + methodsNameIndex),
|
|
652
|
+
});
|
|
653
|
+
|
|
654
|
+
const methodRefs = methods.refs.filter((item) => {
|
|
655
|
+
if (item.lineText.includes('__elements.') && item.lineText.includes('new nasl.ui.')) {
|
|
656
|
+
return false;
|
|
657
|
+
}
|
|
658
|
+
if (item.lineText.includes(': <nasl.ui.')) {
|
|
659
|
+
return false;
|
|
660
|
+
}
|
|
661
|
+
return true;
|
|
662
|
+
});
|
|
663
|
+
refsList = [...methodRefs];
|
|
664
|
+
}
|
|
492
665
|
return refsList;
|
|
493
666
|
},
|
|
494
667
|
/**
|
|
@@ -519,21 +692,36 @@ const naslServer = {
|
|
|
519
692
|
if (minRange.node instanceof CallLogic && node instanceof Logic) {
|
|
520
693
|
minRange.setTypeMethods = 'setCalleeName';
|
|
521
694
|
}
|
|
695
|
+
if (minRange.node instanceof CallLogic && node instanceof ViewElement) {
|
|
696
|
+
minRange.setTypeMethods = 'setCalleeName';
|
|
697
|
+
minRange.newValue = 'elements.' + newValue + '.logics';
|
|
698
|
+
}
|
|
522
699
|
// 如果节点是实体修改引发calllogic修改
|
|
523
|
-
if (minRange.node instanceof CallLogic && node instanceof Entity) {
|
|
700
|
+
if (minRange.node instanceof CallLogic && (node instanceof Entity || node instanceof View)) {
|
|
524
701
|
// 匹配到的内容,当前这一行的内容;
|
|
525
702
|
// 因为要用下面的点位信息
|
|
526
|
-
|
|
703
|
+
/**
|
|
704
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
705
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
706
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
707
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
708
|
+
* 1.取到转后的
|
|
709
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
710
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
527
714
|
// 先看下标位置
|
|
528
715
|
const lineText = record.lineText;
|
|
529
|
-
const index = lineText.indexOf(
|
|
716
|
+
const index = lineText.indexOf(tsCalleeNamespace);
|
|
530
717
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
531
718
|
const start = record.start.offset - index - 1;
|
|
532
719
|
const end = record.end.offset - index - 1;
|
|
533
720
|
// 新的完整的value
|
|
534
|
-
|
|
721
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
722
|
+
newTsNameSpace = newTsNameSpace.replace(/.$/g, '.');
|
|
535
723
|
minRange.setTypeMethods = 'setCalleeNamespace';
|
|
536
|
-
minRange.newValue =
|
|
724
|
+
minRange.newValue = newTsNameSpace;
|
|
537
725
|
}
|
|
538
726
|
// 如果参数修改影响了 callLogic
|
|
539
727
|
if (minRange.node instanceof CallLogic && node instanceof Param) {
|
|
@@ -572,6 +760,11 @@ const naslServer = {
|
|
|
572
760
|
minRange.newValue = newTextValue;
|
|
573
761
|
}
|
|
574
762
|
}
|
|
763
|
+
// 如果修改逻辑,改到了Identifier表达式,只能说明是在属性里有使用了
|
|
764
|
+
if (minRange.node instanceof Identifier && node instanceof Logic) {
|
|
765
|
+
minRange.newValue = newValue;
|
|
766
|
+
minRange.setTypeMethods = 'setName';
|
|
767
|
+
}
|
|
575
768
|
// 如果节点是MemberExpression表达式
|
|
576
769
|
if (minRange.node instanceof MemberExpression) {
|
|
577
770
|
// 匹配到的内容,当前这一行的内容;
|
|
@@ -609,65 +802,84 @@ const naslServer = {
|
|
|
609
802
|
}
|
|
610
803
|
// 如果是跳转逻辑的修改
|
|
611
804
|
// 跳转逻辑本身页面 都需要带 View前缀
|
|
612
|
-
if (minRange.node instanceof Destination) {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
805
|
+
if (node instanceof View && minRange.node instanceof Destination) {
|
|
806
|
+
/**
|
|
807
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
808
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
809
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
810
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
811
|
+
* 1.取到转后的
|
|
812
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
813
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
814
|
+
*
|
|
815
|
+
*/
|
|
816
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
817
|
+
const tsName = minRange.node.tsName;
|
|
818
|
+
const oldValue = tsCalleeNamespace + '.' + tsName;
|
|
616
819
|
// 先看下标位置
|
|
617
820
|
const lineText = record.lineText;
|
|
618
821
|
const index = lineText.indexOf(oldValue);
|
|
619
822
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
620
823
|
const start = record.start.offset - index - 1;
|
|
621
824
|
const end = record.end.offset - index - 1;
|
|
622
|
-
|
|
623
|
-
const newTextValue = oldValue.substring(0, start) + newValue + oldValue.substring(end, oldValue.length);
|
|
624
|
-
const newValueArr = newTextValue.split('.');
|
|
625
|
-
const newViewName = newValueArr[newValueArr.length - 1];
|
|
626
|
-
|
|
627
|
-
if (newViewName !== viewName) {
|
|
825
|
+
if (start > tsCalleeNamespace.length) {
|
|
628
826
|
minRange.setTypeMethods = 'setViewName';
|
|
629
827
|
minRange.newValue = newValue;
|
|
630
828
|
} else {
|
|
631
|
-
|
|
632
|
-
let
|
|
633
|
-
newValueArr.forEach((item, index) => {
|
|
634
|
-
newViewNamespace += index === 0 ? item : '.' + item;
|
|
635
|
-
});
|
|
829
|
+
// 新的完整的value
|
|
830
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
636
831
|
minRange.setTypeMethods = 'setViewNamespace';
|
|
637
|
-
|
|
832
|
+
newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
|
|
833
|
+
minRange.newValue = newTsNameSpace;
|
|
638
834
|
}
|
|
639
835
|
}
|
|
640
836
|
// 如果是事件修改
|
|
641
837
|
// 如果是view也需要加前缀
|
|
838
|
+
// logic 和 views名称修改 可能会触发bindEvent修改
|
|
642
839
|
if (minRange.node instanceof BindEvent) {
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
840
|
+
/**
|
|
841
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
842
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
843
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
844
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
845
|
+
* 1.取到转后的
|
|
846
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
847
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
848
|
+
*/
|
|
849
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
850
|
+
const tsName = minRange.node.tsName;
|
|
851
|
+
const oldValue = tsCalleeNamespace + '.' + tsName;
|
|
646
852
|
// 先看下标位置
|
|
647
853
|
const lineText = record.lineText;
|
|
648
854
|
const index = lineText.indexOf(oldValue);
|
|
649
|
-
|
|
650
855
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
651
856
|
const start = record.start.offset - index - 1;
|
|
652
857
|
const end = record.end.offset - index - 1;
|
|
653
858
|
// 新的完整的value
|
|
654
|
-
|
|
655
|
-
const newTextValue = oldValue.substring(0, start) + newValue + oldValue.substring(end, oldValue.length);
|
|
656
|
-
const newValueArr = newTextValue.split('.');
|
|
657
|
-
const newCalleeName = newValueArr[newValueArr.length - 1];
|
|
658
|
-
if (newCalleeName !== calleeName) {
|
|
859
|
+
if (start > tsCalleeNamespace.length) {
|
|
659
860
|
minRange.setTypeMethods = 'setCalleeName';
|
|
660
861
|
minRange.newValue = newValue;
|
|
661
862
|
} else {
|
|
662
|
-
|
|
663
|
-
let
|
|
664
|
-
newValueArr.forEach((item, index) => {
|
|
665
|
-
newCalleeNamespace += index === 0 ? item : '.' + item;
|
|
666
|
-
});
|
|
863
|
+
// 新的完整的value
|
|
864
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
667
865
|
minRange.setTypeMethods = 'setCalleeNamespace';
|
|
668
|
-
|
|
866
|
+
newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
|
|
867
|
+
minRange.newValue = newTsNameSpace;
|
|
669
868
|
}
|
|
670
869
|
}
|
|
870
|
+
if (minRange.node instanceof Interface && node instanceof Logic) {
|
|
871
|
+
minRange.setTypeMethods = 'setOriginLogicName';
|
|
872
|
+
}
|
|
873
|
+
// 如果是role改名,就需要查到变更后的数组
|
|
874
|
+
if ((minRange.node instanceof View || minRange.node instanceof ViewElement) && node instanceof Role) {
|
|
875
|
+
// oldName旧的节点存的值
|
|
876
|
+
// newValue用户输入值
|
|
877
|
+
// node.bindRoles 存的
|
|
878
|
+
minRange.setTypeMethods = 'setBindRoles';
|
|
879
|
+
const str = minRange.node.bindRoles.toString().replace(oldName, newValue);
|
|
880
|
+
const newBindRoles = str.split(',');
|
|
881
|
+
minRange.newValue = newBindRoles;
|
|
882
|
+
}
|
|
671
883
|
// 枚举修改枚举名,比较特殊
|
|
672
884
|
if (minRange.node instanceof EnumItem && node instanceof Enum) {
|
|
673
885
|
// 什么都不做,用来跳过修改
|
|
@@ -682,6 +894,10 @@ const naslServer = {
|
|
|
682
894
|
if (minRange.node instanceof View && node instanceof View && minRange.node !== node) {
|
|
683
895
|
return null;
|
|
684
896
|
}
|
|
897
|
+
// 逻辑改名,触发了在定义里面的,element定义,的值,直接掠过
|
|
898
|
+
if (minRange.node instanceof View && node instanceof Logic) {
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
685
901
|
} else {
|
|
686
902
|
console.log('没找到节点需要排查');
|
|
687
903
|
console.log(record, fileNode.sourceMap);
|
|
@@ -698,7 +914,9 @@ const naslServer = {
|
|
|
698
914
|
const App = node.rootNode;
|
|
699
915
|
const LogicNode = node.parentNode as Logic;
|
|
700
916
|
// 收集修改
|
|
701
|
-
App.emit('collect:start'
|
|
917
|
+
App.emit('collect:start', {
|
|
918
|
+
actionMsg: '增加逻辑参数',
|
|
919
|
+
});
|
|
702
920
|
node.create({
|
|
703
921
|
index: 0,
|
|
704
922
|
parentNode: LogicNode,
|
|
@@ -724,23 +942,74 @@ const naslServer = {
|
|
|
724
942
|
const minRangeNode = minRange.node;
|
|
725
943
|
let parantNode = minRangeNode;
|
|
726
944
|
// 顺序队列
|
|
727
|
-
const queue = [];
|
|
728
|
-
//
|
|
729
|
-
|
|
945
|
+
const queue: any[] = [];
|
|
946
|
+
// 先插入自己,如果没有在往上找,
|
|
947
|
+
// 一直到file节点的父级
|
|
948
|
+
while (parantNode !== fileNode.parentNode) {
|
|
730
949
|
// 找到上一级 在map对象中构造出他的子集
|
|
731
950
|
const currentNode = parantNode;
|
|
732
951
|
parantNode = parantNode.parentNode;
|
|
733
952
|
// 如果第一次就塞入子集和父节点,以后就只用父节点了
|
|
734
953
|
// 因为部分节点没有name,先过滤掉
|
|
735
|
-
if (currentNode.name) {
|
|
736
|
-
|
|
954
|
+
// if (currentNode.name) {
|
|
955
|
+
// }
|
|
956
|
+
|
|
957
|
+
// 排除一些不放入集合的节点
|
|
958
|
+
let isNeedPush = true;
|
|
959
|
+
// 如果不是ViewElement 或者 Assignment , 或者如果是的话, 排除l-root
|
|
960
|
+
if (currentNode instanceof ViewElement && (currentNode as ViewElement).tag !== 'l-root')
|
|
961
|
+
isNeedPush = false;
|
|
962
|
+
else if (currentNode instanceof Assignment)
|
|
963
|
+
isNeedPush = false;
|
|
964
|
+
else if (currentNode instanceof TypeAnnotation)
|
|
965
|
+
isNeedPush = false;
|
|
966
|
+
else if (currentNode instanceof CallQueryComponent)
|
|
967
|
+
isNeedPush = false;
|
|
968
|
+
else if (currentNode instanceof QueryFromExpression)
|
|
969
|
+
isNeedPush = false;
|
|
970
|
+
else if ((currentNode.concept === parantNode.concept) || (currentNode.name === parantNode.name))
|
|
971
|
+
isNeedPush = false;
|
|
972
|
+
if (isNeedPush) {
|
|
973
|
+
// 名称
|
|
974
|
+
let name = currentNode.name || currentNode.concept;
|
|
975
|
+
// 赋值图标
|
|
976
|
+
let icon = currentNode.concept && currentNode.concept.replace(/^./, (m) => m.toLowerCase());
|
|
977
|
+
if (currentNode instanceof ViewElement)
|
|
978
|
+
icon = 'element';
|
|
979
|
+
else if (currentNode instanceof BindAttribute)
|
|
980
|
+
icon = 'attr';
|
|
981
|
+
else if (currentNode instanceof Destination)
|
|
982
|
+
icon = 'logicNode';
|
|
983
|
+
else if (currentNode instanceof CallLogic) {
|
|
984
|
+
icon = 'interface';
|
|
985
|
+
name = '调用逻辑';
|
|
986
|
+
}
|
|
987
|
+
queue.unshift({ name, node: currentNode, expanded: true, icon });
|
|
737
988
|
}
|
|
738
989
|
}
|
|
739
990
|
|
|
740
|
-
// const key = parantNode.concept + parantNode.name;
|
|
741
991
|
const key = fileNode.name;
|
|
742
992
|
// 一个logic 或者 view可能会有多个顺序队列
|
|
743
993
|
if (resMap[key]) {
|
|
994
|
+
// // 是否展示两个内容全等,但是两个queue的node可能不一样,但是只需要展示一个
|
|
995
|
+
// let equalFlag = false;
|
|
996
|
+
// const queues = resMap[key].queue;
|
|
997
|
+
// queues.forEach((item) => {
|
|
998
|
+
// if (item.length === queue.length) {
|
|
999
|
+
// let equalIndex = 0;
|
|
1000
|
+
// item.forEach((queueItem, index) => {
|
|
1001
|
+
// if (queueItem.name === queue[index].name)
|
|
1002
|
+
// equalIndex++;
|
|
1003
|
+
// });
|
|
1004
|
+
// console.log(equalIndex)
|
|
1005
|
+
// if (equalIndex === queue.length)
|
|
1006
|
+
// equalFlag = true;
|
|
1007
|
+
// }
|
|
1008
|
+
// });
|
|
1009
|
+
|
|
1010
|
+
// // 如果有值就return
|
|
1011
|
+
// if (equalFlag)
|
|
1012
|
+
// return;
|
|
744
1013
|
queue.length && resMap[key].queue.push(queue);
|
|
745
1014
|
} else {
|
|
746
1015
|
resMap[key] = {
|
|
@@ -754,25 +1023,12 @@ const naslServer = {
|
|
|
754
1023
|
handleTreeMap(tree: ResMap) {
|
|
755
1024
|
const treeNodeMap: treeNode = {};
|
|
756
1025
|
for (const [sub, val] of Object.entries(tree)) {
|
|
757
|
-
if (!treeNodeMap[val.concept]) {
|
|
758
|
-
treeNodeMap[val.concept] = [];
|
|
759
|
-
}
|
|
760
1026
|
// 循环处理tree的queue
|
|
761
1027
|
const treeObj = naslServer.handleTreeQueue(val.queue);
|
|
762
|
-
if (treeNodeMap[val.concept]
|
|
763
|
-
treeNodeMap[val.concept].push(
|
|
764
|
-
name: sub,
|
|
765
|
-
children: treeObj,
|
|
766
|
-
node: val.node,
|
|
767
|
-
});
|
|
1028
|
+
if (treeNodeMap[val.concept]) {
|
|
1029
|
+
treeNodeMap[val.concept].push(treeObj);
|
|
768
1030
|
} else {
|
|
769
|
-
treeNodeMap[val.concept] = [
|
|
770
|
-
{
|
|
771
|
-
name: sub,
|
|
772
|
-
children: treeObj,
|
|
773
|
-
node: val.node,
|
|
774
|
-
},
|
|
775
|
-
];
|
|
1031
|
+
treeNodeMap[val.concept] = [treeObj];
|
|
776
1032
|
}
|
|
777
1033
|
}
|
|
778
1034
|
return treeNodeMap;
|
|
@@ -810,7 +1066,7 @@ const naslServer = {
|
|
|
810
1066
|
}
|
|
811
1067
|
}
|
|
812
1068
|
const children = naslServer._recursionCreateResult(root, map);
|
|
813
|
-
return
|
|
1069
|
+
return children;
|
|
814
1070
|
},
|
|
815
1071
|
/**
|
|
816
1072
|
* 递归调用输出结果
|
|
@@ -819,7 +1075,6 @@ const naslServer = {
|
|
|
819
1075
|
* @returns 当前节点,最后输出所有节点
|
|
820
1076
|
*/
|
|
821
1077
|
_recursionCreateResult(root: QuoteNode, map: { [propName: string]: QuoteNode[] }) {
|
|
822
|
-
console.log(root);
|
|
823
1078
|
const node = root;
|
|
824
1079
|
const rootKey = root.name;
|
|
825
1080
|
const children = map[rootKey].map((item: QuoteNode) => naslServer._recursionCreateResult(item, map));
|
|
@@ -837,7 +1092,9 @@ const naslServer = {
|
|
|
837
1092
|
let sourceMap = node.sourceMap;
|
|
838
1093
|
let fileNode = node;
|
|
839
1094
|
// 如果没有sourceMap,就继续向上找 ,或者到module结束
|
|
840
|
-
|
|
1095
|
+
// 如果 节点找到 app 或者module 停止
|
|
1096
|
+
|
|
1097
|
+
while (!sourceMap && fileNode && !(fileNode.parentNode instanceof App) && !(fileNode.parentNode instanceof Module)) {
|
|
841
1098
|
fileNode = fileNode.parentNode;
|
|
842
1099
|
sourceMap = fileNode?.sourceMap;
|
|
843
1100
|
}
|
|
@@ -857,6 +1114,26 @@ const naslServer = {
|
|
|
857
1114
|
}
|
|
858
1115
|
}
|
|
859
1116
|
},
|
|
1117
|
+
// 获取element方法的可选值
|
|
1118
|
+
getFieldKeySelectCompletion(node: BaseNode, fieldKey?: string) {
|
|
1119
|
+
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
1120
|
+
console.log(currentSource);
|
|
1121
|
+
if (currentSource && fileNode) {
|
|
1122
|
+
return naslServer._getFieldKeySelectCompletion({
|
|
1123
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
1124
|
+
range: {
|
|
1125
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
1126
|
+
offset: lsp2tspNumber(currentSource.range.start.character),
|
|
1127
|
+
},
|
|
1128
|
+
getFieldKey: fieldKey,
|
|
1129
|
+
});
|
|
1130
|
+
} else {
|
|
1131
|
+
console.log('没找到节点', currentSource, fileNode);
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
_getFieldKeySelectCompletion(args: any) {
|
|
1135
|
+
return this.messager.requestCommand('getFieldKeySelectCompletion', args);
|
|
1136
|
+
},
|
|
860
1137
|
};
|
|
861
1138
|
/**
|
|
862
1139
|
* 处理删除节点
|
|
@@ -864,7 +1141,7 @@ const naslServer = {
|
|
|
864
1141
|
* @param targetNode 当前操作的节点
|
|
865
1142
|
* @param result toTs生成的内容
|
|
866
1143
|
*/
|
|
867
|
-
|
|
1144
|
+
async function handleDelete(fileNode: BaseNode, targetNode: BaseNode, result: ReturnType<Structure['toEmbeddedTSFile']>) {
|
|
868
1145
|
const filePath = (fileNode as FileNode).getEmbeddedFilePath();
|
|
869
1146
|
// 如果要删除,而且当前要删Logic就直接删除并且清除错误
|
|
870
1147
|
/**
|
|
@@ -902,6 +1179,8 @@ BaseNode.prototype.findUsage = function findUsage() {
|
|
|
902
1179
|
}
|
|
903
1180
|
};
|
|
904
1181
|
BaseNode.prototype.changeName = async function changeName(newValue: string, updateAll: boolean = false) {
|
|
1182
|
+
console.log(newValue);
|
|
1183
|
+
console.log(this);
|
|
905
1184
|
try {
|
|
906
1185
|
/**
|
|
907
1186
|
* 查找这个节点是不是有依赖
|
|
@@ -922,7 +1201,9 @@ BaseNode.prototype.changeName = async function changeName(newValue: string, upda
|
|
|
922
1201
|
if (value) {
|
|
923
1202
|
const App = this.rootNode;
|
|
924
1203
|
// 收集修改
|
|
925
|
-
App.emit('collect:start'
|
|
1204
|
+
App.emit('collect:start', {
|
|
1205
|
+
actionMsg: '重命名并更新引用',
|
|
1206
|
+
});
|
|
926
1207
|
res.forEach((item) => {
|
|
927
1208
|
const itemNode = item.node as setNameNode;
|
|
928
1209
|
if (item.newValue) {
|
|
@@ -971,29 +1252,38 @@ BaseNode.prototype.prepareDelete = async function prepareDelete() {
|
|
|
971
1252
|
/**
|
|
972
1253
|
* 查找这个节点是不是有依赖
|
|
973
1254
|
*/
|
|
974
|
-
const
|
|
1255
|
+
const node = this;
|
|
1256
|
+
const refsList = await naslServer._isHaveRef(node);
|
|
975
1257
|
// console.log(refsList, 'refsList');
|
|
976
1258
|
const confirmParms = {
|
|
977
1259
|
actionType: 'delete',
|
|
978
1260
|
tipFlag: false,
|
|
979
|
-
node
|
|
1261
|
+
node,
|
|
980
1262
|
};
|
|
981
1263
|
let callback = null;
|
|
982
1264
|
if (refsList.length <= 1) {
|
|
983
1265
|
callback = () => {
|
|
984
|
-
|
|
1266
|
+
// Structure 和 Interface是内部有delete方法
|
|
1267
|
+
if (node instanceof Structure || node instanceof Interface) {
|
|
1268
|
+
(this as any).deleteLogincAndModule();
|
|
1269
|
+
} else {
|
|
1270
|
+
this.delete();
|
|
1271
|
+
}
|
|
985
1272
|
};
|
|
986
1273
|
} else {
|
|
987
1274
|
// 如果有依赖就有一个查找引用提示
|
|
988
1275
|
confirmParms.tipFlag = true;
|
|
1276
|
+
const node = this;
|
|
989
1277
|
callback = () => {
|
|
990
1278
|
// removeParam
|
|
991
1279
|
// 跟rename 还不太一样,部分修改依赖修改好的值,然后在下面的修改需要把自己传递进去
|
|
992
|
-
if (
|
|
1280
|
+
if (node instanceof Param) {
|
|
993
1281
|
const App = this.rootNode;
|
|
994
1282
|
const logicNode = this.parentNode;
|
|
995
1283
|
// 收集修改
|
|
996
|
-
App.emit('collect:start'
|
|
1284
|
+
App.emit('collect:start', {
|
|
1285
|
+
actionMsg: '删除参数',
|
|
1286
|
+
});
|
|
997
1287
|
this.delete();
|
|
998
1288
|
refsList.forEach((record) => {
|
|
999
1289
|
const fileNode = naslServer.file2NodeMap.get(record.file);
|
|
@@ -1010,8 +1300,64 @@ BaseNode.prototype.prepareDelete = async function prepareDelete() {
|
|
|
1010
1300
|
App.emit('collect:end');
|
|
1011
1301
|
return;
|
|
1012
1302
|
}
|
|
1303
|
+
// 删除logic节点,如果有对应的interface要一起删除
|
|
1304
|
+
if (node instanceof Logic) {
|
|
1305
|
+
const App = this.rootNode;
|
|
1306
|
+
// 收集修改
|
|
1307
|
+
App.emit('collect:start', {
|
|
1308
|
+
actionMsg: '删除逻辑并删除导出的接口',
|
|
1309
|
+
});
|
|
1310
|
+
this.delete();
|
|
1311
|
+
refsList.forEach((record) => {
|
|
1312
|
+
const fileNode = naslServer.file2NodeMap.get(record.file);
|
|
1313
|
+
if (!fileNode)
|
|
1314
|
+
return null;
|
|
1315
|
+
const minRange: MinRange = naslServer._findMinRange(record, fileNode.sourceMap);
|
|
1316
|
+
if (minRange) {
|
|
1317
|
+
if (minRange.node instanceof Interface) {
|
|
1318
|
+
minRange.node.delete();
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
});
|
|
1322
|
+
// 结束修改 ,批量操作
|
|
1323
|
+
App.emit('collect:end');
|
|
1324
|
+
}
|
|
1325
|
+
// 删除权限节点
|
|
1326
|
+
if (node instanceof Role) {
|
|
1327
|
+
const App = this.rootNode;
|
|
1328
|
+
// 收集修改
|
|
1329
|
+
App.emit('collect:start', {
|
|
1330
|
+
actionMsg: '删除权限',
|
|
1331
|
+
});
|
|
1332
|
+
this.delete();
|
|
1333
|
+
refsList.forEach((record) => {
|
|
1334
|
+
const fileNode = naslServer.file2NodeMap.get(record.file);
|
|
1335
|
+
if (!fileNode)
|
|
1336
|
+
return null;
|
|
1337
|
+
const minRange: MinRange = naslServer._findMinRange(record, fileNode.sourceMap);
|
|
1338
|
+
if (minRange) {
|
|
1339
|
+
if (minRange.node instanceof View || minRange.node instanceof ViewElement) {
|
|
1340
|
+
// oldName旧的节点存的值
|
|
1341
|
+
// newValue用户输入值
|
|
1342
|
+
// node.bindRoles 存的
|
|
1343
|
+
const str = minRange.node.bindRoles.toString().replace(this.name, '');
|
|
1344
|
+
const newBindRoles = str.split(',').filter((item) => !!item);
|
|
1345
|
+
minRange.node.setBindRoles(newBindRoles);
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
});
|
|
1349
|
+
// 结束修改 ,批量操作
|
|
1350
|
+
App.emit('collect:end');
|
|
1351
|
+
return;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1013
1354
|
// 其余的都直接调用删除
|
|
1014
|
-
|
|
1355
|
+
// Structure 和 Interface是内部有delete方法
|
|
1356
|
+
if (node instanceof Structure || node instanceof Interface) {
|
|
1357
|
+
(this as any).deleteLogincAndModule();
|
|
1358
|
+
} else {
|
|
1359
|
+
this.delete();
|
|
1360
|
+
}
|
|
1015
1361
|
};
|
|
1016
1362
|
}
|
|
1017
1363
|
invokeCommand('tsConfirm.open', confirmParms, callback);
|
|
@@ -1153,8 +1499,13 @@ async function receiveHandleChange($event: EventPayload) {
|
|
|
1153
1499
|
const targetNode = $event.target;
|
|
1154
1500
|
// 当前操作的文件节点
|
|
1155
1501
|
const { fileNode } = naslServer.getCurrentSource(targetNode);
|
|
1156
|
-
//
|
|
1502
|
+
// 如果是导入模块就,就引入对应模块,先不处理module和Configuration,下面的内容会自动创建
|
|
1503
|
+
if (fileNode instanceof Module || fileNode instanceof Configuration) {
|
|
1504
|
+
return;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1157
1507
|
const result = (fileNode as FileNode).toEmbeddedTSFile();
|
|
1508
|
+
// 当前操作的节点
|
|
1158
1509
|
// 如果当前没有生成tsFile
|
|
1159
1510
|
if (!result) {
|
|
1160
1511
|
return;
|
|
@@ -1186,7 +1537,7 @@ embeddedTSEmitter.on('change', ($event: EventPayload) => {
|
|
|
1186
1537
|
// 收集到一个行为集合
|
|
1187
1538
|
const eventValue = $event.value;
|
|
1188
1539
|
eventValue.forEach((item: EventPayload) => {
|
|
1189
|
-
receiveHandleChange(item);
|
|
1540
|
+
receiveHandleChange(item.originEvent);
|
|
1190
1541
|
});
|
|
1191
1542
|
});
|
|
1192
1543
|
|