@lcap/nasl 1.0.0-alpha → 1.0.0-alpha.3
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/bak/translator.js +2 -8
- package/out/bak/translator.js.map +1 -1
- package/out/common/BaseNode.d.ts +231 -0
- package/out/common/BaseNode.js +704 -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 +57 -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/{src/concepts → concepts}/Attribute__.js +0 -0
- package/out/concepts/Attribute__.js.map +1 -0
- package/out/concepts/BinaryExpression__.d.ts +64 -0
- package/out/concepts/BinaryExpression__.js +250 -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 +221 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/concepts/BindEvent__.d.ts +139 -0
- package/out/concepts/BindEvent__.js +327 -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 +309 -0
- package/out/concepts/CallQueryComponent__.js +745 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +30 -0
- package/out/concepts/Comment__.js +89 -0
- package/out/concepts/Comment__.js.map +1 -0
- package/out/concepts/CompletionProperty__.d.ts +99 -0
- package/out/concepts/CompletionProperty__.js +235 -0
- package/out/concepts/CompletionProperty__.js.map +1 -0
- package/out/concepts/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/{src/concepts → concepts}/DataElement__.js +0 -0
- package/out/concepts/DataElement__.js.map +1 -0
- package/out/concepts/Destination__.d.ts +108 -0
- package/out/concepts/Destination__.js +340 -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 +211 -0
- package/out/concepts/EntityProperty__.js +484 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/concepts/Entity__.d.ts +290 -0
- package/out/concepts/Entity__.js +542 -0
- package/out/concepts/Entity__.js.map +1 -0
- package/out/{src/concepts → concepts}/EnumItem__.d.ts +0 -0
- package/out/{src/concepts → concepts}/EnumItem__.js +0 -0
- package/out/concepts/EnumItem__.js.map +1 -0
- package/out/{src/concepts → concepts}/Enum__.d.ts +0 -0
- package/out/concepts/Enum__.js +267 -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/{src/concepts → concepts}/Function__.d.ts +0 -0
- package/out/concepts/Function__.js +557 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +42 -0
- package/out/concepts/Identifier__.js +150 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/concepts/IfStatement__.d.ts +145 -0
- package/out/concepts/IfStatement__.js +275 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/concepts/InterfaceParam__.d.ts +110 -0
- package/out/concepts/InterfaceParam__.js +273 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/concepts/Interface__.d.ts +251 -0
- package/out/concepts/Interface__.js +457 -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 +578 -0
- package/out/concepts/Logic__.js +1003 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/concepts/MemberExpression__.d.ts +63 -0
- package/out/concepts/MemberExpression__.js +196 -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 +329 -0
- package/out/concepts/Param__.js.map +1 -0
- package/out/{src/concepts → concepts}/Point__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Point__.js +0 -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 +902 -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 +773 -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/{src/concepts → concepts}/Rect__.js +0 -0
- package/out/concepts/Rect__.js.map +1 -0
- package/out/concepts/Return__.d.ts +128 -0
- package/out/concepts/Return__.js +289 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/concepts/Role__.d.ts +57 -0
- package/out/concepts/Role__.js +148 -0
- package/out/concepts/Role__.js.map +1 -0
- package/out/{src/concepts → concepts}/Slot__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Slot__.js +0 -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 +294 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/concepts/Structure__.d.ts +235 -0
- package/out/concepts/Structure__.js +394 -0
- package/out/concepts/Structure__.js.map +1 -0
- package/out/concepts/SwitchCase__.d.ts +92 -0
- package/out/concepts/SwitchCase__.js +231 -0
- package/out/concepts/SwitchCase__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +82 -0
- package/out/concepts/SwitchStatement__.js +180 -0
- package/out/concepts/SwitchStatement__.js.map +1 -0
- package/out/{src/concepts → concepts}/Theme__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Theme__.js +0 -0
- package/out/concepts/Theme__.js.map +1 -0
- package/out/{src/concepts → concepts}/Transactional__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Transactional__.js +0 -0
- package/out/concepts/Transactional__.js.map +1 -0
- package/out/{src/concepts → concepts}/TypeAnnotation__.d.ts +0 -0
- package/out/concepts/TypeAnnotation__.js +308 -0
- package/out/concepts/TypeAnnotation__.js.map +1 -0
- package/out/{src/concepts → concepts}/TypeParam__.d.ts +0 -0
- package/out/{src/concepts → concepts}/TypeParam__.js +0 -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/{src/concepts → concepts}/UseComponent__.js +0 -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 +121 -0
- package/out/concepts/Variable__.js +281 -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 +484 -0
- package/out/concepts/ViewElement__.js +1277 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +684 -0
- package/out/concepts/View__.js +1310 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/concepts/WhileStatement__.d.ts +92 -0
- package/out/concepts/WhileStatement__.js +203 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/{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 +603 -0
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.validate.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.validate.js +0 -0
- package/out/concepts/basics/stdlib/nasl.validate.js.map +1 -0
- package/out/concepts/basics/stdlib/nasl.validation.d.ts +3 -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/{src/concepts → concepts}/basics/types/coreTypeList.js +0 -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/data/Module.d.ts +34 -0
- package/out/data/Module.js +53 -0
- package/out/data/Module.js.map +1 -0
- package/out/{src/decorators → decorators}/index.d.ts +0 -0
- package/out/{src/decorators → decorators}/index.js +0 -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 +228 -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 +8 -2
- package/out/index.js +37 -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 +157 -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 +166 -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 +1378 -0
- package/out/server/naslServer.js.map +1 -0
- package/out/server/process2LogicNamespace.d.ts +16 -0
- package/out/server/process2LogicNamespace.js +59 -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 +211 -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 +318 -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 +137 -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 +142 -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 +4 -1
- package/src/automate/engine/index.js +141 -27
- package/src/automate/engine/utils.js +68 -64
- package/src/bak/translator.js +124 -0
- package/src/common/BaseNode.ts +52 -32
- package/src/common/EventEmitter.ts +3 -0
- package/src/concepts/App__.ts +139 -63
- package/src/concepts/Argument__.ts +12 -6
- package/src/concepts/Assignment__.ts +11 -10
- package/src/concepts/Attribute__.ts +1 -0
- package/src/concepts/BinaryExpression__.ts +23 -6
- package/src/concepts/BindAttribute__.ts +19 -11
- package/src/concepts/BindDirective__.ts +4 -2
- package/src/concepts/BindEvent__.ts +85 -14
- package/src/concepts/BooleanLiteral__.ts +6 -6
- package/src/concepts/CallFunction__.ts +209 -20
- package/src/concepts/CallInterface__.ts +31 -12
- package/src/concepts/CallLogic__.ts +310 -15
- package/src/concepts/CallQueryComponent__.ts +23 -13
- package/src/concepts/Comment__.ts +1 -9
- package/src/concepts/CompletionProperty__.ts +6 -0
- 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 +6 -0
- package/src/concepts/DataElement__.ts +1 -0
- package/src/concepts/Destination__.ts +104 -22
- package/src/concepts/End__.ts +2 -26
- package/src/concepts/EntityIndex__.ts +19 -0
- package/src/concepts/EntityProperty__.ts +21 -9
- package/src/concepts/Entity__.ts +96 -76
- package/src/concepts/EnumItem__.ts +1 -0
- package/src/concepts/Enum__.ts +14 -6
- package/src/concepts/Event__.ts +6 -5
- package/src/concepts/ForEachStatement__.ts +119 -106
- package/src/concepts/Function__.ts +19 -18
- package/src/concepts/Identifier__.ts +32 -37
- package/src/concepts/IfStatement__.ts +5 -41
- package/src/concepts/InterfaceParam__.ts +2 -1
- package/src/concepts/Interface__.ts +30 -12
- package/src/concepts/JSBlock__.ts +1 -17
- package/src/concepts/LogicItem__.ts +10 -4
- package/src/concepts/Logic__.ts +123 -73
- package/src/concepts/MemberExpression__.ts +17 -20
- package/src/concepts/Module__.ts +49 -42
- package/src/concepts/Namespace__.ts +61 -60
- package/src/concepts/NullLiteral__.ts +7 -8
- package/src/concepts/NumericLiteral__.ts +10 -8
- package/src/concepts/Param__.ts +8 -7
- package/src/concepts/Point__.ts +1 -0
- package/src/concepts/ProcessComponent__.ts +11 -10
- package/src/concepts/ProcessElement__.ts +122 -127
- package/src/concepts/ProcessOutcome__.ts +1 -6
- package/src/concepts/Process__.ts +91 -47
- package/src/concepts/QueryAggregateExpression__.ts +1 -34
- package/src/concepts/QueryFieldExpression__.ts +2 -7
- package/src/concepts/QueryFromExpression__.ts +3 -8
- package/src/concepts/QueryGroupByExpression__.ts +1 -6
- package/src/concepts/QueryJoinExpression__.ts +8 -13
- package/src/concepts/QueryLimitExpression__.ts +1 -6
- package/src/concepts/QueryOrderByExpression__.ts +1 -6
- package/src/concepts/QuerySelectExpression__.ts +6 -11
- package/src/concepts/Rect__.ts +1 -0
- package/src/concepts/Return__.ts +5 -7
- package/src/concepts/Role__.ts +19 -2
- package/src/concepts/Slot__.ts +1 -0
- package/src/concepts/SqlQueryComponent__.ts +11 -7
- package/src/concepts/Start__.ts +2 -9
- package/src/concepts/StringLiteral__.ts +19 -8
- package/src/concepts/StructureProperty__.ts +2 -1
- package/src/concepts/Structure__.ts +22 -13
- package/src/concepts/SwitchCase__.ts +3 -41
- package/src/concepts/SwitchStatement__.ts +3 -8
- package/src/concepts/Theme__.ts +1 -0
- package/src/concepts/Transactional__.ts +1 -0
- package/src/concepts/TypeAnnotation__.ts +6 -2
- package/src/concepts/TypeParam__.ts +1 -0
- package/src/concepts/UnaryExpression__.ts +11 -6
- package/src/concepts/Unparsed__.ts +9 -9
- package/src/concepts/UseComponent__.ts +1 -0
- package/src/concepts/ValidationRule__.ts +20 -10
- package/src/concepts/Variable__.ts +9 -3
- package/src/concepts/ViewComponent__.ts +26 -25
- package/src/concepts/ViewElement__.ts +199 -103
- package/src/concepts/View__.ts +297 -250
- package/src/concepts/WhileStatement__.ts +3 -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 +21 -5
- package/src/concepts/basics/stdlib/nasl.validation.ts +523 -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/generator/compileComponent.ts +1 -1
- package/src/generator/genBundleFiles.ts +49 -26
- package/src/generator/genMetaData.ts +111 -0
- package/src/generator/index.ts +1 -0
- package/src/index.ts +2 -2
- package/src/server/createUiTs.ts +153 -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 +102 -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 +436 -169
- package/src/server/process2LogicNamespace.ts +54 -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 +85 -64
- package/src/templator/genCallComponentLogic.ts +2 -2
- package/src/templator/genCreateBlock.ts +38 -25
- 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 +2 -2
- package/src/templator/genSelectBlock.ts +1 -1
- 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.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.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.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__.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.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.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.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.map +0 -1
- package/out/src/concepts/Transactional__.js.map +0 -1
- package/out/src/concepts/TypeAnnotation__.js +0 -305
- package/out/src/concepts/TypeAnnotation__.js.map +0 -1
- 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.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.map +0 -1
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +0 -1
- 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.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,11 +268,15 @@ const naslServer = {
|
|
|
216
268
|
updateFiles(args: { outputFiles: Array<tsProtocol.OpenRequestArgs> }) {
|
|
217
269
|
return this.messager.requestCommand('updateFiles', args);
|
|
218
270
|
},
|
|
219
|
-
_debugInFileStorage(
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}
|
|
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
|
+
// }
|
|
276
|
+
// return Promise.all(openFiles.map(async (file) => {
|
|
277
|
+
// const res = await axios.post('/api/App/debugEmbedded?id=' + app.id, file);
|
|
278
|
+
// return res.data;
|
|
279
|
+
// }));
|
|
224
280
|
},
|
|
225
281
|
open() {
|
|
226
282
|
return this.messager.requestCommand('open');
|
|
@@ -234,23 +290,87 @@ 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) {
|
|
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,
|
|
247
304
|
});
|
|
248
305
|
} else {
|
|
249
306
|
console.log('没找到节点', node, currentSource, fileNode);
|
|
250
307
|
}
|
|
251
308
|
},
|
|
252
|
-
|
|
253
|
-
return this.messager.requestCommand('
|
|
309
|
+
_getValueSelectCompletion(args: any) {
|
|
310
|
+
return this.messager.requestCommand('getValueSelectCompletion', args);
|
|
311
|
+
},
|
|
312
|
+
// 联合类型切割取出类型
|
|
313
|
+
getDisplayString2Type(displayString: string) {
|
|
314
|
+
// 取出匹配的内容
|
|
315
|
+
const reg = /\<([^()]+)\>/g;
|
|
316
|
+
const types = reg.exec(displayString);
|
|
317
|
+
// 取出提示的类型,组成是数组
|
|
318
|
+
const typeList: string[] = types[1].split(' | ').map((item: string) => {
|
|
319
|
+
if (item.includes(' ')) {
|
|
320
|
+
const strs = item.split(' ');
|
|
321
|
+
const type = strs[strs.length - 1];
|
|
322
|
+
return type;
|
|
323
|
+
} else if (item.includes('.')) {
|
|
324
|
+
const strs = item.split('.');
|
|
325
|
+
const type = strs[strs.length - 1];
|
|
326
|
+
return type;
|
|
327
|
+
} else {
|
|
328
|
+
return item;
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
return typeList;
|
|
332
|
+
},
|
|
333
|
+
async getTypeQuickinfo(node: BaseNode) {
|
|
334
|
+
console.log(node);
|
|
335
|
+
if (node instanceof Identifier) {
|
|
336
|
+
const callFunction = node.parentNode.parentNode;
|
|
337
|
+
/**
|
|
338
|
+
* currentSource callFunction 的节点,要去到当前节点的位置
|
|
339
|
+
* nasl.util.Convert(xxx),所以取到的位置要 + `nasl.util.C` 的长度
|
|
340
|
+
* fileNode
|
|
341
|
+
*/
|
|
342
|
+
const { currentSource, fileNode } = naslServer.getCurrentSource(callFunction);
|
|
343
|
+
const quickInfo = await naslServer._getTypeQuickinfo({
|
|
344
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
345
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
346
|
+
offset: lsp2tspNumber(currentSource.range.start.character) + `nasl.util.C`.length,
|
|
347
|
+
});
|
|
348
|
+
if (quickInfo.responseRequired) {
|
|
349
|
+
const displayString = quickInfo?.response?.displayString || '';
|
|
350
|
+
const typeList = naslServer.getDisplayString2Type(displayString);
|
|
351
|
+
let res: Array<TypeAnnotation> = [];
|
|
352
|
+
typeList.forEach((type) => {
|
|
353
|
+
const typeAnnotation = primitiveTypeList.find((typeAnnotation) => typeAnnotation.typeName === type);
|
|
354
|
+
if (typeAnnotation) {
|
|
355
|
+
res.push(typeAnnotation);
|
|
356
|
+
} else if (type === 'unknown') {
|
|
357
|
+
return null;
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
if (!res.length) {
|
|
361
|
+
res = primitiveTypeList;
|
|
362
|
+
}
|
|
363
|
+
// 调整结构
|
|
364
|
+
const dataTypeList: Array<{
|
|
365
|
+
title: string;
|
|
366
|
+
children: Array<TypeAnnotation>;
|
|
367
|
+
}> = [{ title: '基础类型', children: res }];
|
|
368
|
+
return dataTypeList;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
_getTypeQuickinfo(args: any) {
|
|
373
|
+
return this.messager.requestCommand('quickInfo', args) as unknown as { responseRequired: boolean; response: tsProtocol.QuickInfoResponseBody };
|
|
254
374
|
},
|
|
255
375
|
getSelectNextCompletion(node: BaseNode) {
|
|
256
376
|
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
@@ -296,15 +416,23 @@ const naslServer = {
|
|
|
296
416
|
record.semanticDiagnostics = record.semanticDiagnostics
|
|
297
417
|
.map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
|
|
298
418
|
.filter((diag) => !!diag);
|
|
419
|
+
|
|
299
420
|
// 建议诊断
|
|
300
421
|
// 实体下的建议不用展示,因为都是平台自己写的逻辑
|
|
301
422
|
if (node instanceof Entity) {
|
|
302
423
|
record.suggestionDiagnostics = [];
|
|
303
|
-
} else {
|
|
304
|
-
record.suggestionDiagnostics = record.suggestionDiagnostics
|
|
305
|
-
.map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
|
|
306
|
-
.filter((diag) => !!diag);
|
|
307
424
|
}
|
|
425
|
+
if (node instanceof View) {
|
|
426
|
+
// event在view中不展示建议使用,提示关闭掉
|
|
427
|
+
record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`'event'`));
|
|
428
|
+
}
|
|
429
|
+
if (node instanceof Logic) {
|
|
430
|
+
// logic在for循环中,不展示any提示
|
|
431
|
+
record.suggestionDiagnostics = record.suggestionDiagnostics.filter((item) => !item.text.includes(`implicitly has an 'any' type, but a better type may be inferred from usage.`));
|
|
432
|
+
}
|
|
433
|
+
record.suggestionDiagnostics = record.suggestionDiagnostics
|
|
434
|
+
.map((diag) => this._resolveDiagnostic(diag as unknown as tsProtocol.DiagnosticWithFileName, node.sourceMap))
|
|
435
|
+
.filter((diag) => !!diag);
|
|
308
436
|
// 语法诊断暂时不需要
|
|
309
437
|
});
|
|
310
438
|
return records;
|
|
@@ -339,7 +467,7 @@ const naslServer = {
|
|
|
339
467
|
_diagnosticSpecialTreatment(minRange: MinRange, tsErrorDetail: Diagnostic) {
|
|
340
468
|
// 因为缺少参数时候有可能有特殊情况,因为原本少的多了就会找到 callLogic上,
|
|
341
469
|
// 但是只少一个的时候就会找到准确的Argument上 需要特殊处理, ui层就可以统一处理
|
|
342
|
-
if (minRange.node instanceof Argument && /Expected (.+?) arguments, but got (.+?)./.exec(tsErrorDetail.text)) {
|
|
470
|
+
if (minRange.node instanceof Argument && /Expected (.+?) arguments, but got (.+?)./.exec(tsErrorDetail.originalDiagnostic.text)) {
|
|
343
471
|
minRange.node = minRange.node.parentNode;
|
|
344
472
|
}
|
|
345
473
|
minRange.node.tsErrorDetail = tsErrorDetail;
|
|
@@ -387,39 +515,27 @@ const naslServer = {
|
|
|
387
515
|
},
|
|
388
516
|
// 查找引用
|
|
389
517
|
async findReferences(node: BaseNode) {
|
|
390
|
-
const
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
line: lsp2tspNumber(currentSource.range.start.line),
|
|
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);
|
|
518
|
+
const refsList = await naslServer._isHaveRef(node, true);
|
|
519
|
+
console.log(refsList, 'refsList');
|
|
520
|
+
// refsList = refsList.filter((item) =>
|
|
521
|
+
// // 不是创建者
|
|
522
|
+
// item.isDefinition !== true);
|
|
413
523
|
let result = {};
|
|
414
524
|
const resMap = {};
|
|
415
|
-
// console.log(refsList, 'refsList');
|
|
416
525
|
try {
|
|
417
526
|
refsList.forEach((record) => {
|
|
418
527
|
const fileNode = this.file2NodeMap.get(record.file);
|
|
419
528
|
if (!fileNode)
|
|
420
529
|
return;
|
|
421
530
|
const minRange = this._findMinRange(record, fileNode.sourceMap);
|
|
531
|
+
// 过滤一把不需要改的信息
|
|
422
532
|
if (minRange) {
|
|
533
|
+
// 如果查找引用查到自己里面的引用不展示
|
|
534
|
+
// 因为view生成的特殊性
|
|
535
|
+
if (minRange.node === node || (minRange.node instanceof View && node instanceof View)) {
|
|
536
|
+
return;
|
|
537
|
+
}
|
|
538
|
+
// 拼装树
|
|
423
539
|
naslServer._getTreeMap(minRange, fileNode, resMap);
|
|
424
540
|
}
|
|
425
541
|
});
|
|
@@ -431,7 +547,7 @@ const naslServer = {
|
|
|
431
547
|
console.log(result);
|
|
432
548
|
return result;
|
|
433
549
|
},
|
|
434
|
-
async _isHaveRef(node: BaseNode) {
|
|
550
|
+
async _isHaveRef(node: BaseNode, isFind: boolean = false) {
|
|
435
551
|
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
436
552
|
let refsList: tsProtocol.ReferencesResponseItem[] = [];
|
|
437
553
|
|
|
@@ -463,7 +579,7 @@ const naslServer = {
|
|
|
463
579
|
}
|
|
464
580
|
|
|
465
581
|
// 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
|
|
466
|
-
if (node instanceof Param) {
|
|
582
|
+
if (node instanceof Param && node.parentNode instanceof Logic) {
|
|
467
583
|
const logicNode = node.parentNode;
|
|
468
584
|
const { currentSource } = naslServer.getCurrentSource(logicNode);
|
|
469
585
|
const parentRefs = await naslServer.references({
|
|
@@ -473,6 +589,22 @@ const naslServer = {
|
|
|
473
589
|
});
|
|
474
590
|
refsList = [...refsList, ...parentRefs.refs];
|
|
475
591
|
}
|
|
592
|
+
|
|
593
|
+
// 如果是参数, 就需要把logic的引用 都查找出来就需要把他的父级的引用全部查找出来
|
|
594
|
+
if (node instanceof Param && node.parentNode instanceof View && isFind) {
|
|
595
|
+
const viewNode = node.parentNode;
|
|
596
|
+
const { currentSource } = naslServer.getCurrentSource(viewNode);
|
|
597
|
+
const code = currentSource.code;
|
|
598
|
+
const viewIndex = code.indexOf(' {');
|
|
599
|
+
const viewRefs = await naslServer.references({
|
|
600
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
601
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
602
|
+
offset: lsp2tspNumber(currentSource.range.start.character + viewIndex),
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
const filterViewRefs = viewRefs.refs.filter((item) => item.lineText.includes('.$destination('));
|
|
606
|
+
refsList = [...refsList, ...filterViewRefs];
|
|
607
|
+
}
|
|
476
608
|
/**
|
|
477
609
|
* view 因为不是嵌套的,所以不能用最前面的变量查找,所以要单独处理一下
|
|
478
610
|
* 找到第一个 { 之前的变量 进行修改
|
|
@@ -489,6 +621,31 @@ const naslServer = {
|
|
|
489
621
|
});
|
|
490
622
|
refsList = [...viewRefs.refs];
|
|
491
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* elements 需要查的是__elements.后面的那个内容,过滤两个为了生成内容的节点
|
|
626
|
+
*/
|
|
627
|
+
if (node instanceof ViewElement) {
|
|
628
|
+
const code = currentSource.code;
|
|
629
|
+
const prefix = '__elements.';
|
|
630
|
+
const prefixIndex = code.indexOf(prefix) !== -1 ? code.indexOf(prefix) : 0;
|
|
631
|
+
const methodsNameIndex = prefixIndex + prefix.length;
|
|
632
|
+
const methods = await naslServer.references({
|
|
633
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
634
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
635
|
+
offset: lsp2tspNumber(currentSource.range.start.character + methodsNameIndex),
|
|
636
|
+
});
|
|
637
|
+
|
|
638
|
+
const methodRefs = methods.refs.filter((item) => {
|
|
639
|
+
if (item.lineText.includes('__elements.') && item.lineText.includes('new nasl.ui.')) {
|
|
640
|
+
return false;
|
|
641
|
+
}
|
|
642
|
+
if (item.lineText.includes(': <nasl.ui.')) {
|
|
643
|
+
return false;
|
|
644
|
+
}
|
|
645
|
+
return true;
|
|
646
|
+
});
|
|
647
|
+
refsList = [...methodRefs];
|
|
648
|
+
}
|
|
492
649
|
return refsList;
|
|
493
650
|
},
|
|
494
651
|
/**
|
|
@@ -519,21 +676,36 @@ const naslServer = {
|
|
|
519
676
|
if (minRange.node instanceof CallLogic && node instanceof Logic) {
|
|
520
677
|
minRange.setTypeMethods = 'setCalleeName';
|
|
521
678
|
}
|
|
679
|
+
if (minRange.node instanceof CallLogic && node instanceof ViewElement) {
|
|
680
|
+
minRange.setTypeMethods = 'setCalleeName';
|
|
681
|
+
minRange.newValue = 'elements.' + newValue + '.logics';
|
|
682
|
+
}
|
|
522
683
|
// 如果节点是实体修改引发calllogic修改
|
|
523
|
-
if (minRange.node instanceof CallLogic && node instanceof Entity) {
|
|
684
|
+
if (minRange.node instanceof CallLogic && (node instanceof Entity || node instanceof View)) {
|
|
524
685
|
// 匹配到的内容,当前这一行的内容;
|
|
525
686
|
// 因为要用下面的点位信息
|
|
526
|
-
|
|
687
|
+
/**
|
|
688
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
689
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
690
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
691
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
692
|
+
* 1.取到转后的
|
|
693
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
694
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
697
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
527
698
|
// 先看下标位置
|
|
528
699
|
const lineText = record.lineText;
|
|
529
|
-
const index = lineText.indexOf(
|
|
700
|
+
const index = lineText.indexOf(tsCalleeNamespace);
|
|
530
701
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
531
702
|
const start = record.start.offset - index - 1;
|
|
532
703
|
const end = record.end.offset - index - 1;
|
|
533
704
|
// 新的完整的value
|
|
534
|
-
|
|
705
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
706
|
+
newTsNameSpace = newTsNameSpace.replace(/.$/g, '.');
|
|
535
707
|
minRange.setTypeMethods = 'setCalleeNamespace';
|
|
536
|
-
minRange.newValue =
|
|
708
|
+
minRange.newValue = newTsNameSpace;
|
|
537
709
|
}
|
|
538
710
|
// 如果参数修改影响了 callLogic
|
|
539
711
|
if (minRange.node instanceof CallLogic && node instanceof Param) {
|
|
@@ -572,6 +744,11 @@ const naslServer = {
|
|
|
572
744
|
minRange.newValue = newTextValue;
|
|
573
745
|
}
|
|
574
746
|
}
|
|
747
|
+
// 如果修改逻辑,改到了Identifier表达式,只能说明是在属性里有使用了
|
|
748
|
+
if (minRange.node instanceof Identifier && node instanceof Logic) {
|
|
749
|
+
minRange.newValue = newValue;
|
|
750
|
+
minRange.setTypeMethods = 'setName';
|
|
751
|
+
}
|
|
575
752
|
// 如果节点是MemberExpression表达式
|
|
576
753
|
if (minRange.node instanceof MemberExpression) {
|
|
577
754
|
// 匹配到的内容,当前这一行的内容;
|
|
@@ -609,65 +786,84 @@ const naslServer = {
|
|
|
609
786
|
}
|
|
610
787
|
// 如果是跳转逻辑的修改
|
|
611
788
|
// 跳转逻辑本身页面 都需要带 View前缀
|
|
612
|
-
if (minRange.node instanceof Destination) {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
789
|
+
if (node instanceof View && minRange.node instanceof Destination) {
|
|
790
|
+
/**
|
|
791
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
792
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
793
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
794
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
795
|
+
* 1.取到转后的
|
|
796
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
797
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
798
|
+
*
|
|
799
|
+
*/
|
|
800
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
801
|
+
const tsName = minRange.node.tsName;
|
|
802
|
+
const oldValue = tsCalleeNamespace + '.' + tsName;
|
|
616
803
|
// 先看下标位置
|
|
617
804
|
const lineText = record.lineText;
|
|
618
805
|
const index = lineText.indexOf(oldValue);
|
|
619
806
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
620
807
|
const start = record.start.offset - index - 1;
|
|
621
808
|
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) {
|
|
809
|
+
if (start > tsCalleeNamespace.length) {
|
|
628
810
|
minRange.setTypeMethods = 'setViewName';
|
|
629
811
|
minRange.newValue = newValue;
|
|
630
812
|
} else {
|
|
631
|
-
|
|
632
|
-
let
|
|
633
|
-
newValueArr.forEach((item, index) => {
|
|
634
|
-
newViewNamespace += index === 0 ? item : '.' + item;
|
|
635
|
-
});
|
|
813
|
+
// 新的完整的value
|
|
814
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
636
815
|
minRange.setTypeMethods = 'setViewNamespace';
|
|
637
|
-
|
|
816
|
+
newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
|
|
817
|
+
minRange.newValue = newTsNameSpace;
|
|
638
818
|
}
|
|
639
819
|
}
|
|
640
820
|
// 如果是事件修改
|
|
641
821
|
// 如果是view也需要加前缀
|
|
822
|
+
// logic 和 views名称修改 可能会触发bindEvent修改
|
|
642
823
|
if (minRange.node instanceof BindEvent) {
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
824
|
+
/**
|
|
825
|
+
* 如果namespce是 'app.views.Student.views.404.views.505.views.update'
|
|
826
|
+
* 在ts中会是'app.views.Student.views.$404.views.$505.views.update'
|
|
827
|
+
* 但是505 要改名为 666 ,要存的是666
|
|
828
|
+
* 'app.views.Student.views.404.views.666.views.update'
|
|
829
|
+
* 1.取到转后的
|
|
830
|
+
* 2.在匹配到的内容中取转后的namespace的位置
|
|
831
|
+
* 3.然后把namespace中的 $替换成 ''
|
|
832
|
+
*/
|
|
833
|
+
const tsCalleeNamespace = minRange.node.tsCalleeNamespace;
|
|
834
|
+
const tsName = minRange.node.tsName;
|
|
835
|
+
const oldValue = tsCalleeNamespace + '.' + tsName;
|
|
646
836
|
// 先看下标位置
|
|
647
837
|
const lineText = record.lineText;
|
|
648
838
|
const index = lineText.indexOf(oldValue);
|
|
649
|
-
|
|
650
839
|
// 在把开始结束位置的-开始位置,来知道是哪里要替换
|
|
651
840
|
const start = record.start.offset - index - 1;
|
|
652
841
|
const end = record.end.offset - index - 1;
|
|
653
842
|
// 新的完整的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) {
|
|
843
|
+
if (start > tsCalleeNamespace.length) {
|
|
659
844
|
minRange.setTypeMethods = 'setCalleeName';
|
|
660
845
|
minRange.newValue = newValue;
|
|
661
846
|
} else {
|
|
662
|
-
|
|
663
|
-
let
|
|
664
|
-
newValueArr.forEach((item, index) => {
|
|
665
|
-
newCalleeNamespace += index === 0 ? item : '.' + item;
|
|
666
|
-
});
|
|
847
|
+
// 新的完整的value
|
|
848
|
+
let newTsNameSpace = tsCalleeNamespace.substring(0, start) + newValue + tsCalleeNamespace.substring(end, tsCalleeNamespace.length);
|
|
667
849
|
minRange.setTypeMethods = 'setCalleeNamespace';
|
|
668
|
-
|
|
850
|
+
newTsNameSpace = newTsNameSpace.replace(/\.\$/g, '.');
|
|
851
|
+
minRange.newValue = newTsNameSpace;
|
|
669
852
|
}
|
|
670
853
|
}
|
|
854
|
+
if (minRange.node instanceof Interface && node instanceof Logic) {
|
|
855
|
+
minRange.setTypeMethods = 'setOriginLogicName';
|
|
856
|
+
}
|
|
857
|
+
// 如果是role改名,就需要查到变更后的数组
|
|
858
|
+
if ((minRange.node instanceof View || minRange.node instanceof ViewElement) && node instanceof Role) {
|
|
859
|
+
// oldName旧的节点存的值
|
|
860
|
+
// newValue用户输入值
|
|
861
|
+
// node.bindRoles 存的
|
|
862
|
+
minRange.setTypeMethods = 'setBindRoles';
|
|
863
|
+
const str = minRange.node.bindRoles.toString().replace(oldName, newValue);
|
|
864
|
+
const newBindRoles = str.split(',');
|
|
865
|
+
minRange.newValue = newBindRoles;
|
|
866
|
+
}
|
|
671
867
|
// 枚举修改枚举名,比较特殊
|
|
672
868
|
if (minRange.node instanceof EnumItem && node instanceof Enum) {
|
|
673
869
|
// 什么都不做,用来跳过修改
|
|
@@ -682,6 +878,10 @@ const naslServer = {
|
|
|
682
878
|
if (minRange.node instanceof View && node instanceof View && minRange.node !== node) {
|
|
683
879
|
return null;
|
|
684
880
|
}
|
|
881
|
+
// 逻辑改名,触发了在定义里面的,element定义,的值,直接掠过
|
|
882
|
+
if (minRange.node instanceof View && node instanceof Logic) {
|
|
883
|
+
return null;
|
|
884
|
+
}
|
|
685
885
|
} else {
|
|
686
886
|
console.log('没找到节点需要排查');
|
|
687
887
|
console.log(record, fileNode.sourceMap);
|
|
@@ -725,19 +925,50 @@ const naslServer = {
|
|
|
725
925
|
let parantNode = minRangeNode;
|
|
726
926
|
// 顺序队列
|
|
727
927
|
const queue = [];
|
|
728
|
-
//
|
|
729
|
-
|
|
928
|
+
// 先插入自己,如果没有在往上找,
|
|
929
|
+
// 一直到file节点的父级
|
|
930
|
+
while (parantNode !== fileNode.parentNode) {
|
|
730
931
|
// 找到上一级 在map对象中构造出他的子集
|
|
731
932
|
const currentNode = parantNode;
|
|
732
933
|
parantNode = parantNode.parentNode;
|
|
733
934
|
// 如果第一次就塞入子集和父节点,以后就只用父节点了
|
|
734
935
|
// 因为部分节点没有name,先过滤掉
|
|
735
|
-
if (currentNode.name) {
|
|
736
|
-
|
|
936
|
+
// if (currentNode.name) {
|
|
937
|
+
// }
|
|
938
|
+
|
|
939
|
+
// 排除一些不放入集合的节点
|
|
940
|
+
let isNeedPush = true;
|
|
941
|
+
if (currentNode instanceof ViewElement && (currentNode as ViewElement).tag !== 'l-root')
|
|
942
|
+
isNeedPush = false;
|
|
943
|
+
else if (currentNode instanceof Assignment)
|
|
944
|
+
isNeedPush = false;
|
|
945
|
+
else if (currentNode instanceof TypeAnnotation)
|
|
946
|
+
isNeedPush = false;
|
|
947
|
+
else if (currentNode instanceof CallQueryComponent)
|
|
948
|
+
isNeedPush = false;
|
|
949
|
+
else if (currentNode instanceof QueryFromExpression)
|
|
950
|
+
isNeedPush = false;
|
|
951
|
+
|
|
952
|
+
// 如果不是ViewElement 或者 Assignment , 或者如果是的话, 排除l-root
|
|
953
|
+
if (isNeedPush) {
|
|
954
|
+
// 名称
|
|
955
|
+
let name = currentNode.name || currentNode.concept;
|
|
956
|
+
// 赋值图标
|
|
957
|
+
let level = currentNode.concept && currentNode.concept.replace(/^./, (m) => m.toLowerCase());
|
|
958
|
+
if (currentNode instanceof ViewElement)
|
|
959
|
+
level = 'element';
|
|
960
|
+
else if (currentNode instanceof BindAttribute)
|
|
961
|
+
level = 'attr';
|
|
962
|
+
else if (currentNode instanceof Destination)
|
|
963
|
+
level = 'logicNode';
|
|
964
|
+
else if (currentNode instanceof CallLogic) {
|
|
965
|
+
level = 'interface';
|
|
966
|
+
name = '调用逻辑';
|
|
967
|
+
}
|
|
968
|
+
queue.unshift({ name, node: currentNode, expanded: true, level });
|
|
737
969
|
}
|
|
738
970
|
}
|
|
739
971
|
|
|
740
|
-
// const key = parantNode.concept + parantNode.name;
|
|
741
972
|
const key = fileNode.name;
|
|
742
973
|
// 一个logic 或者 view可能会有多个顺序队列
|
|
743
974
|
if (resMap[key]) {
|
|
@@ -754,25 +985,12 @@ const naslServer = {
|
|
|
754
985
|
handleTreeMap(tree: ResMap) {
|
|
755
986
|
const treeNodeMap: treeNode = {};
|
|
756
987
|
for (const [sub, val] of Object.entries(tree)) {
|
|
757
|
-
if (!treeNodeMap[val.concept]) {
|
|
758
|
-
treeNodeMap[val.concept] = [];
|
|
759
|
-
}
|
|
760
988
|
// 循环处理tree的queue
|
|
761
989
|
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
|
-
});
|
|
990
|
+
if (treeNodeMap[val.concept]) {
|
|
991
|
+
treeNodeMap[val.concept].push(treeObj);
|
|
768
992
|
} else {
|
|
769
|
-
treeNodeMap[val.concept] = [
|
|
770
|
-
{
|
|
771
|
-
name: sub,
|
|
772
|
-
children: treeObj,
|
|
773
|
-
node: val.node,
|
|
774
|
-
},
|
|
775
|
-
];
|
|
993
|
+
treeNodeMap[val.concept] = [treeObj];
|
|
776
994
|
}
|
|
777
995
|
}
|
|
778
996
|
return treeNodeMap;
|
|
@@ -810,7 +1028,7 @@ const naslServer = {
|
|
|
810
1028
|
}
|
|
811
1029
|
}
|
|
812
1030
|
const children = naslServer._recursionCreateResult(root, map);
|
|
813
|
-
return
|
|
1031
|
+
return children;
|
|
814
1032
|
},
|
|
815
1033
|
/**
|
|
816
1034
|
* 递归调用输出结果
|
|
@@ -819,7 +1037,6 @@ const naslServer = {
|
|
|
819
1037
|
* @returns 当前节点,最后输出所有节点
|
|
820
1038
|
*/
|
|
821
1039
|
_recursionCreateResult(root: QuoteNode, map: { [propName: string]: QuoteNode[] }) {
|
|
822
|
-
console.log(root);
|
|
823
1040
|
const node = root;
|
|
824
1041
|
const rootKey = root.name;
|
|
825
1042
|
const children = map[rootKey].map((item: QuoteNode) => naslServer._recursionCreateResult(item, map));
|
|
@@ -837,7 +1054,9 @@ const naslServer = {
|
|
|
837
1054
|
let sourceMap = node.sourceMap;
|
|
838
1055
|
let fileNode = node;
|
|
839
1056
|
// 如果没有sourceMap,就继续向上找 ,或者到module结束
|
|
840
|
-
|
|
1057
|
+
// 如果 节点找到 app 或者module 停止
|
|
1058
|
+
|
|
1059
|
+
while (!sourceMap && fileNode && !(fileNode.parentNode instanceof App) && !(fileNode.parentNode instanceof Module)) {
|
|
841
1060
|
fileNode = fileNode.parentNode;
|
|
842
1061
|
sourceMap = fileNode?.sourceMap;
|
|
843
1062
|
}
|
|
@@ -857,6 +1076,26 @@ const naslServer = {
|
|
|
857
1076
|
}
|
|
858
1077
|
}
|
|
859
1078
|
},
|
|
1079
|
+
// 获取element方法的可选值
|
|
1080
|
+
getFieldKeySelectCompletion(node: BaseNode, fieldKey?: string) {
|
|
1081
|
+
const { currentSource, fileNode } = naslServer.getCurrentSource(node);
|
|
1082
|
+
console.log(currentSource);
|
|
1083
|
+
if (currentSource && fileNode) {
|
|
1084
|
+
return naslServer._getFieldKeySelectCompletion({
|
|
1085
|
+
file: (fileNode as FileNode).getEmbeddedFilePath(),
|
|
1086
|
+
range: {
|
|
1087
|
+
line: lsp2tspNumber(currentSource.range.start.line),
|
|
1088
|
+
offset: lsp2tspNumber(currentSource.range.start.character),
|
|
1089
|
+
},
|
|
1090
|
+
getFieldKey: fieldKey,
|
|
1091
|
+
});
|
|
1092
|
+
} else {
|
|
1093
|
+
console.log('没找到节点', currentSource, fileNode);
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
_getFieldKeySelectCompletion(args: any) {
|
|
1097
|
+
return this.messager.requestCommand('getFieldKeySelectCompletion', args);
|
|
1098
|
+
},
|
|
860
1099
|
};
|
|
861
1100
|
/**
|
|
862
1101
|
* 处理删除节点
|
|
@@ -864,7 +1103,7 @@ const naslServer = {
|
|
|
864
1103
|
* @param targetNode 当前操作的节点
|
|
865
1104
|
* @param result toTs生成的内容
|
|
866
1105
|
*/
|
|
867
|
-
|
|
1106
|
+
async function handleDelete(fileNode: BaseNode, targetNode: BaseNode, result: ReturnType<Structure['toEmbeddedTSFile']>) {
|
|
868
1107
|
const filePath = (fileNode as FileNode).getEmbeddedFilePath();
|
|
869
1108
|
// 如果要删除,而且当前要删Logic就直接删除并且清除错误
|
|
870
1109
|
/**
|
|
@@ -902,6 +1141,8 @@ BaseNode.prototype.findUsage = function findUsage() {
|
|
|
902
1141
|
}
|
|
903
1142
|
};
|
|
904
1143
|
BaseNode.prototype.changeName = async function changeName(newValue: string, updateAll: boolean = false) {
|
|
1144
|
+
console.log(newValue);
|
|
1145
|
+
console.log(this);
|
|
905
1146
|
try {
|
|
906
1147
|
/**
|
|
907
1148
|
* 查找这个节点是不是有依赖
|
|
@@ -986,10 +1227,11 @@ BaseNode.prototype.prepareDelete = async function prepareDelete() {
|
|
|
986
1227
|
} else {
|
|
987
1228
|
// 如果有依赖就有一个查找引用提示
|
|
988
1229
|
confirmParms.tipFlag = true;
|
|
1230
|
+
const node = this;
|
|
989
1231
|
callback = () => {
|
|
990
1232
|
// removeParam
|
|
991
1233
|
// 跟rename 还不太一样,部分修改依赖修改好的值,然后在下面的修改需要把自己传递进去
|
|
992
|
-
if (
|
|
1234
|
+
if (node instanceof Param) {
|
|
993
1235
|
const App = this.rootNode;
|
|
994
1236
|
const logicNode = this.parentNode;
|
|
995
1237
|
// 收集修改
|
|
@@ -1010,6 +1252,26 @@ BaseNode.prototype.prepareDelete = async function prepareDelete() {
|
|
|
1010
1252
|
App.emit('collect:end');
|
|
1011
1253
|
return;
|
|
1012
1254
|
}
|
|
1255
|
+
// 删除logic节点,如果有对应的interface要一起删除
|
|
1256
|
+
if (node instanceof Logic) {
|
|
1257
|
+
const App = this.rootNode;
|
|
1258
|
+
// 收集修改
|
|
1259
|
+
App.emit('collect:start');
|
|
1260
|
+
this.delete();
|
|
1261
|
+
refsList.forEach((record) => {
|
|
1262
|
+
const fileNode = naslServer.file2NodeMap.get(record.file);
|
|
1263
|
+
if (!fileNode)
|
|
1264
|
+
return null;
|
|
1265
|
+
const minRange: MinRange = naslServer._findMinRange(record, fileNode.sourceMap);
|
|
1266
|
+
if (minRange) {
|
|
1267
|
+
if (minRange.node instanceof Interface) {
|
|
1268
|
+
minRange.node.delete();
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
});
|
|
1272
|
+
// 结束修改 ,批量操作
|
|
1273
|
+
App.emit('collect:end');
|
|
1274
|
+
}
|
|
1013
1275
|
// 其余的都直接调用删除
|
|
1014
1276
|
this.delete();
|
|
1015
1277
|
};
|
|
@@ -1153,8 +1415,13 @@ async function receiveHandleChange($event: EventPayload) {
|
|
|
1153
1415
|
const targetNode = $event.target;
|
|
1154
1416
|
// 当前操作的文件节点
|
|
1155
1417
|
const { fileNode } = naslServer.getCurrentSource(targetNode);
|
|
1156
|
-
//
|
|
1418
|
+
// 如果是导入模块就,就引入对应模块,先不处理module和Configuration,下面的内容会自动创建
|
|
1419
|
+
if (fileNode instanceof Module || fileNode instanceof Configuration) {
|
|
1420
|
+
return;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1157
1423
|
const result = (fileNode as FileNode).toEmbeddedTSFile();
|
|
1424
|
+
// 当前操作的节点
|
|
1158
1425
|
// 如果当前没有生成tsFile
|
|
1159
1426
|
if (!result) {
|
|
1160
1427
|
return;
|
|
@@ -1186,7 +1453,7 @@ embeddedTSEmitter.on('change', ($event: EventPayload) => {
|
|
|
1186
1453
|
// 收集到一个行为集合
|
|
1187
1454
|
const eventValue = $event.value;
|
|
1188
1455
|
eventValue.forEach((item: EventPayload) => {
|
|
1189
|
-
receiveHandleChange(item);
|
|
1456
|
+
receiveHandleChange(item.originEvent);
|
|
1190
1457
|
});
|
|
1191
1458
|
});
|
|
1192
1459
|
|