@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
|
@@ -0,0 +1,1277 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
+
};
|
|
34
|
+
var ViewElement_1;
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ViewElement = void 0;
|
|
37
|
+
const translator_1 = require("../translator");
|
|
38
|
+
const babelParser = __importStar(require("@babel/parser"));
|
|
39
|
+
const json5 = __importStar(require("json5"));
|
|
40
|
+
const compiler = __importStar(require("vue-template-compiler"));
|
|
41
|
+
const LogicItem__1 = __importDefault(require("./LogicItem__"));
|
|
42
|
+
const __1 = require("..");
|
|
43
|
+
function genArgumentMemberExpression(arr) {
|
|
44
|
+
let expressionNode;
|
|
45
|
+
const propertyName = arr.pop();
|
|
46
|
+
if (arr.length >= 1) {
|
|
47
|
+
expressionNode = {
|
|
48
|
+
concept: 'MemberExpression',
|
|
49
|
+
name: '',
|
|
50
|
+
kind: 'Expression',
|
|
51
|
+
object: genArgumentMemberExpression(arr),
|
|
52
|
+
property: {
|
|
53
|
+
concept: 'Identifier',
|
|
54
|
+
kind: 'Expression',
|
|
55
|
+
name: propertyName,
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
return {
|
|
61
|
+
concept: 'Identifier',
|
|
62
|
+
kind: 'Expression',
|
|
63
|
+
name: propertyName,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
return expressionNode;
|
|
67
|
+
}
|
|
68
|
+
function transAstNodeToNaslNode(astNode) {
|
|
69
|
+
let node = null;
|
|
70
|
+
if (astNode.type === 'CallExpression' && astNode.callee.object.name === '$utils') {
|
|
71
|
+
const calleeName = astNode.callee.property.name || astNode.callee.property.value;
|
|
72
|
+
node = {
|
|
73
|
+
concept: 'CallFunction',
|
|
74
|
+
name: '',
|
|
75
|
+
label: '调用逻辑',
|
|
76
|
+
kind: 'Expression',
|
|
77
|
+
calleeNamespace: 'nasl.util',
|
|
78
|
+
calleeName,
|
|
79
|
+
arguments: astNode.arguments.map((argument) => ({
|
|
80
|
+
concept: 'Argument',
|
|
81
|
+
name: '',
|
|
82
|
+
kind: 'Statement',
|
|
83
|
+
keyword: '',
|
|
84
|
+
expression: transAstNodeToNaslNode(Object.assign({}, argument)),
|
|
85
|
+
})),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
else if (astNode.type === 'MemberExpression') {
|
|
89
|
+
node = {
|
|
90
|
+
concept: 'MemberExpression',
|
|
91
|
+
name: '',
|
|
92
|
+
kind: 'Expression',
|
|
93
|
+
object: transAstNodeToNaslNode(astNode.object),
|
|
94
|
+
property: transAstNodeToNaslNode(astNode.property),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
else if (astNode.type === 'Identifier') {
|
|
98
|
+
node = {
|
|
99
|
+
concept: 'Identifier',
|
|
100
|
+
name: astNode.name,
|
|
101
|
+
kind: 'Expression',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
else if (astNode.type === 'ArrayExpression' || astNode.type === 'ObjectExpression') {
|
|
105
|
+
node = {
|
|
106
|
+
concept: 'Unparsed',
|
|
107
|
+
label: '原子项',
|
|
108
|
+
code: astNode.value,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
else if (astNode.type === 'StringLiteral') {
|
|
112
|
+
node = {
|
|
113
|
+
concept: 'StringLiteral',
|
|
114
|
+
kind: 'Expression',
|
|
115
|
+
name: '',
|
|
116
|
+
value: astNode.value,
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
return node;
|
|
120
|
+
}
|
|
121
|
+
const decorators_1 = require("../decorators");
|
|
122
|
+
const utils = __importStar(require("../utils"));
|
|
123
|
+
const BaseNode_1 = __importDefault(require("../common/BaseNode"));
|
|
124
|
+
const classMap_1 = __importDefault(require("../common/classMap"));
|
|
125
|
+
const BindAttribute__1 = __importDefault(require("./BindAttribute__"));
|
|
126
|
+
const BindEvent__1 = __importDefault(require("./BindEvent__"));
|
|
127
|
+
const BindDirective__1 = __importDefault(require("./BindDirective__"));
|
|
128
|
+
/**
|
|
129
|
+
* 页面元素
|
|
130
|
+
*/
|
|
131
|
+
let ViewElement = ViewElement_1 = class ViewElement extends BaseNode_1.default {
|
|
132
|
+
/**
|
|
133
|
+
* 产品概念
|
|
134
|
+
*/
|
|
135
|
+
concept = 'ViewElement';
|
|
136
|
+
/**
|
|
137
|
+
* 类型
|
|
138
|
+
*/
|
|
139
|
+
type = undefined;
|
|
140
|
+
/**
|
|
141
|
+
* 元素标签
|
|
142
|
+
*/
|
|
143
|
+
tag = undefined;
|
|
144
|
+
/**
|
|
145
|
+
* 页面元素名称
|
|
146
|
+
*/
|
|
147
|
+
name = undefined;
|
|
148
|
+
/**
|
|
149
|
+
* 静态 class 名
|
|
150
|
+
*/
|
|
151
|
+
staticClass = undefined;
|
|
152
|
+
/**
|
|
153
|
+
* 静态 style
|
|
154
|
+
*/
|
|
155
|
+
staticStyle = undefined;
|
|
156
|
+
/**
|
|
157
|
+
* 插槽目标
|
|
158
|
+
*/
|
|
159
|
+
slotTarget = undefined;
|
|
160
|
+
/**
|
|
161
|
+
* 插槽 scope 表达式
|
|
162
|
+
*/
|
|
163
|
+
slotScope = undefined;
|
|
164
|
+
/**
|
|
165
|
+
* 元素绑定属性列表
|
|
166
|
+
*/
|
|
167
|
+
bindAttrs = [];
|
|
168
|
+
/**
|
|
169
|
+
* 元素绑定事件列表
|
|
170
|
+
*/
|
|
171
|
+
bindEvents = [];
|
|
172
|
+
/**
|
|
173
|
+
* 元素指令列表
|
|
174
|
+
*/
|
|
175
|
+
bindDirectives = [];
|
|
176
|
+
/**
|
|
177
|
+
* 绑定的角色
|
|
178
|
+
*/
|
|
179
|
+
bindRoles = [];
|
|
180
|
+
/**
|
|
181
|
+
* 子元素列表
|
|
182
|
+
*/
|
|
183
|
+
children = [];
|
|
184
|
+
/**
|
|
185
|
+
* 祖先 View
|
|
186
|
+
*/
|
|
187
|
+
get view() {
|
|
188
|
+
return this.getAncestor('View');
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* 祖先 Module
|
|
192
|
+
*/
|
|
193
|
+
get module() {
|
|
194
|
+
return this.getAncestor('Module');
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* 祖先 App
|
|
198
|
+
*/
|
|
199
|
+
get app() {
|
|
200
|
+
return this.getAncestor('App');
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @param source 需要合并的部分参数
|
|
204
|
+
*/
|
|
205
|
+
constructor(source) {
|
|
206
|
+
source = Object.assign({}, ViewElement_1.getDefaultOptions(), source);
|
|
207
|
+
super(source);
|
|
208
|
+
super.subConstructor(source);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 从父级删除该节点
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
_delete() {
|
|
215
|
+
let params = null;
|
|
216
|
+
if (this.parentNode) {
|
|
217
|
+
params = this.parentNode?.__removeViewElement?.(this);
|
|
218
|
+
}
|
|
219
|
+
return params;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* 设置页面元素名称
|
|
223
|
+
*/
|
|
224
|
+
setName(name) {
|
|
225
|
+
const object = {
|
|
226
|
+
name,
|
|
227
|
+
};
|
|
228
|
+
this.update({
|
|
229
|
+
...object,
|
|
230
|
+
field: 'name',
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* 设置静态 style
|
|
235
|
+
*/
|
|
236
|
+
setStaticStyle(staticStyle) {
|
|
237
|
+
const object = {
|
|
238
|
+
staticStyle,
|
|
239
|
+
};
|
|
240
|
+
this.update({
|
|
241
|
+
...object,
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
getBindAttributeExistingNames(excludedList = []) {
|
|
245
|
+
const excludedSet = new Set(excludedList);
|
|
246
|
+
return (this.bindAttrs || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
247
|
+
}
|
|
248
|
+
getBindAttributeUniqueName(name = 'bindAttribute1') {
|
|
249
|
+
return utils.unique(name, this.getBindAttributeExistingNames());
|
|
250
|
+
}
|
|
251
|
+
_insertBindAttributeAt(options, index) {
|
|
252
|
+
const bindAttributeOptions = {};
|
|
253
|
+
const relationOptions = { parentNode: this, parentKey: 'bindAttrs' };
|
|
254
|
+
let bindAttribute;
|
|
255
|
+
if (!options) {
|
|
256
|
+
bindAttribute = BindAttribute__1.default.from({
|
|
257
|
+
...bindAttributeOptions,
|
|
258
|
+
name: this.getBindAttributeUniqueName(),
|
|
259
|
+
}, this, 'bindAttrs');
|
|
260
|
+
}
|
|
261
|
+
else if (typeof options === 'string') {
|
|
262
|
+
bindAttribute = BindAttribute__1.default.from({
|
|
263
|
+
...bindAttributeOptions,
|
|
264
|
+
name: options,
|
|
265
|
+
}, this, 'bindAttrs');
|
|
266
|
+
}
|
|
267
|
+
else if (options instanceof BindAttribute__1.default) {
|
|
268
|
+
options.delete(); // 同一实例不支持多处存在
|
|
269
|
+
bindAttribute = options;
|
|
270
|
+
Object.assign(bindAttribute, relationOptions);
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
bindAttribute = BindAttribute__1.default.from({
|
|
274
|
+
...bindAttributeOptions,
|
|
275
|
+
...options,
|
|
276
|
+
}, this, 'bindAttrs');
|
|
277
|
+
}
|
|
278
|
+
this.bindAttrs.splice(index, 0, bindAttribute);
|
|
279
|
+
return bindAttribute;
|
|
280
|
+
}
|
|
281
|
+
insertBindAttributeAt(options, index) {
|
|
282
|
+
const node = this._insertBindAttributeAt(options, index);
|
|
283
|
+
node.create({
|
|
284
|
+
index,
|
|
285
|
+
parentNode: this,
|
|
286
|
+
parentKey: 'bindAttrs',
|
|
287
|
+
});
|
|
288
|
+
return node;
|
|
289
|
+
}
|
|
290
|
+
_addBindAttribute(options) {
|
|
291
|
+
const index = this.bindAttrs.length;
|
|
292
|
+
return this._insertBindAttributeAt(options, index);
|
|
293
|
+
}
|
|
294
|
+
addBindAttribute(options) {
|
|
295
|
+
const node = this._addBindAttribute(options);
|
|
296
|
+
const index = this.bindAttrs.length;
|
|
297
|
+
node.create({
|
|
298
|
+
index,
|
|
299
|
+
parentNode: this,
|
|
300
|
+
parentKey: 'bindAttrs',
|
|
301
|
+
});
|
|
302
|
+
return node;
|
|
303
|
+
}
|
|
304
|
+
getBindEventExistingNames(excludedList = []) {
|
|
305
|
+
const excludedSet = new Set(excludedList);
|
|
306
|
+
return (this.bindEvents || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
307
|
+
}
|
|
308
|
+
getBindEventUniqueName(name = 'bindEvent1') {
|
|
309
|
+
return utils.unique(name, this.getBindEventExistingNames());
|
|
310
|
+
}
|
|
311
|
+
_insertBindEventAt(options, index) {
|
|
312
|
+
const bindEventOptions = {};
|
|
313
|
+
const relationOptions = { parentNode: this, parentKey: 'bindEvents' };
|
|
314
|
+
let bindEvent;
|
|
315
|
+
if (!options) {
|
|
316
|
+
bindEvent = BindEvent__1.default.from({
|
|
317
|
+
...bindEventOptions,
|
|
318
|
+
name: this.getBindEventUniqueName(),
|
|
319
|
+
}, this, 'bindEvents');
|
|
320
|
+
}
|
|
321
|
+
else if (typeof options === 'string') {
|
|
322
|
+
bindEvent = BindEvent__1.default.from({
|
|
323
|
+
...bindEventOptions,
|
|
324
|
+
name: options,
|
|
325
|
+
}, this, 'bindEvents');
|
|
326
|
+
}
|
|
327
|
+
else if (options instanceof BindEvent__1.default) {
|
|
328
|
+
options.delete(); // 同一实例不支持多处存在
|
|
329
|
+
bindEvent = options;
|
|
330
|
+
Object.assign(bindEvent, relationOptions);
|
|
331
|
+
}
|
|
332
|
+
else {
|
|
333
|
+
bindEvent = BindEvent__1.default.from({
|
|
334
|
+
...bindEventOptions,
|
|
335
|
+
...options,
|
|
336
|
+
}, this, 'bindEvents');
|
|
337
|
+
}
|
|
338
|
+
this.bindEvents.splice(index, 0, bindEvent);
|
|
339
|
+
return bindEvent;
|
|
340
|
+
}
|
|
341
|
+
insertBindEventAt(options, index) {
|
|
342
|
+
const node = this._insertBindEventAt(options, index);
|
|
343
|
+
node.create({
|
|
344
|
+
index,
|
|
345
|
+
parentNode: this,
|
|
346
|
+
parentKey: 'bindEvents',
|
|
347
|
+
});
|
|
348
|
+
return node;
|
|
349
|
+
}
|
|
350
|
+
_addBindEvent(options) {
|
|
351
|
+
const index = this.bindEvents.length;
|
|
352
|
+
return this._insertBindEventAt(options, index);
|
|
353
|
+
}
|
|
354
|
+
addBindEvent(options) {
|
|
355
|
+
const node = this._addBindEvent(options);
|
|
356
|
+
const index = this.bindEvents.length;
|
|
357
|
+
node.create({
|
|
358
|
+
index,
|
|
359
|
+
parentNode: this,
|
|
360
|
+
parentKey: 'bindEvents',
|
|
361
|
+
});
|
|
362
|
+
return node;
|
|
363
|
+
}
|
|
364
|
+
getBindDirectiveExistingNames(excludedList = []) {
|
|
365
|
+
const excludedSet = new Set(excludedList);
|
|
366
|
+
return (this.bindDirectives || []).filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
367
|
+
}
|
|
368
|
+
getBindDirectiveUniqueName(name = 'bindDirective1') {
|
|
369
|
+
return utils.unique(name, this.getBindDirectiveExistingNames());
|
|
370
|
+
}
|
|
371
|
+
_insertBindDirectiveAt(options, index) {
|
|
372
|
+
const bindDirectiveOptions = {};
|
|
373
|
+
const relationOptions = { parentNode: this, parentKey: 'bindDirectives' };
|
|
374
|
+
let bindDirective;
|
|
375
|
+
if (!options) {
|
|
376
|
+
bindDirective = BindDirective__1.default.from({
|
|
377
|
+
...bindDirectiveOptions,
|
|
378
|
+
name: this.getBindDirectiveUniqueName(),
|
|
379
|
+
}, this, 'bindDirectives');
|
|
380
|
+
}
|
|
381
|
+
else if (typeof options === 'string') {
|
|
382
|
+
bindDirective = BindDirective__1.default.from({
|
|
383
|
+
...bindDirectiveOptions,
|
|
384
|
+
name: options,
|
|
385
|
+
}, this, 'bindDirectives');
|
|
386
|
+
}
|
|
387
|
+
else if (options instanceof BindDirective__1.default) {
|
|
388
|
+
options.delete(); // 同一实例不支持多处存在
|
|
389
|
+
bindDirective = options;
|
|
390
|
+
Object.assign(bindDirective, relationOptions);
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
bindDirective = BindDirective__1.default.from({
|
|
394
|
+
...bindDirectiveOptions,
|
|
395
|
+
...options,
|
|
396
|
+
}, this, 'bindDirectives');
|
|
397
|
+
}
|
|
398
|
+
this.bindDirectives.splice(index, 0, bindDirective);
|
|
399
|
+
return bindDirective;
|
|
400
|
+
}
|
|
401
|
+
insertBindDirectiveAt(options, index) {
|
|
402
|
+
const node = this._insertBindDirectiveAt(options, index);
|
|
403
|
+
node.create({
|
|
404
|
+
index,
|
|
405
|
+
parentNode: this,
|
|
406
|
+
parentKey: 'bindDirectives',
|
|
407
|
+
});
|
|
408
|
+
return node;
|
|
409
|
+
}
|
|
410
|
+
_addBindDirective(options) {
|
|
411
|
+
const index = this.bindDirectives.length;
|
|
412
|
+
return this._insertBindDirectiveAt(options, index);
|
|
413
|
+
}
|
|
414
|
+
addBindDirective(options) {
|
|
415
|
+
const node = this._addBindDirective(options);
|
|
416
|
+
const index = this.bindDirectives.length;
|
|
417
|
+
node.create({
|
|
418
|
+
index,
|
|
419
|
+
parentNode: this,
|
|
420
|
+
parentKey: 'bindDirectives',
|
|
421
|
+
});
|
|
422
|
+
return node;
|
|
423
|
+
}
|
|
424
|
+
_insertViewElementAt(options, index) {
|
|
425
|
+
const viewElementOptions = {};
|
|
426
|
+
const relationOptions = { parentNode: this, parentKey: 'children' };
|
|
427
|
+
let viewElement;
|
|
428
|
+
if (!options) {
|
|
429
|
+
viewElement = ViewElement_1.from({
|
|
430
|
+
...viewElementOptions,
|
|
431
|
+
name: this.getViewElementUniqueName(),
|
|
432
|
+
}, this, 'children');
|
|
433
|
+
}
|
|
434
|
+
else if (typeof options === 'string') {
|
|
435
|
+
viewElement = ViewElement_1.from({
|
|
436
|
+
...viewElementOptions,
|
|
437
|
+
name: options,
|
|
438
|
+
}, this, 'children');
|
|
439
|
+
}
|
|
440
|
+
else if (options instanceof ViewElement_1) {
|
|
441
|
+
options.delete(); // 同一实例不支持多处存在
|
|
442
|
+
viewElement = options;
|
|
443
|
+
Object.assign(viewElement, relationOptions);
|
|
444
|
+
}
|
|
445
|
+
else {
|
|
446
|
+
viewElement = ViewElement_1.from({
|
|
447
|
+
...viewElementOptions,
|
|
448
|
+
...options,
|
|
449
|
+
}, this, 'children');
|
|
450
|
+
}
|
|
451
|
+
this.children.splice(index, 0, viewElement);
|
|
452
|
+
return viewElement;
|
|
453
|
+
}
|
|
454
|
+
insertViewElementAt(options, index) {
|
|
455
|
+
const node = this._insertViewElementAt(options, index);
|
|
456
|
+
node.create({
|
|
457
|
+
index,
|
|
458
|
+
parentNode: this,
|
|
459
|
+
parentKey: 'children',
|
|
460
|
+
});
|
|
461
|
+
return node;
|
|
462
|
+
}
|
|
463
|
+
_addViewElement(options) {
|
|
464
|
+
const index = this.children.length;
|
|
465
|
+
return this._insertViewElementAt(options, index);
|
|
466
|
+
}
|
|
467
|
+
addViewElement(options) {
|
|
468
|
+
const node = this._addViewElement(options);
|
|
469
|
+
const index = this.children.length;
|
|
470
|
+
node.create({
|
|
471
|
+
index,
|
|
472
|
+
parentNode: this,
|
|
473
|
+
parentKey: 'children',
|
|
474
|
+
});
|
|
475
|
+
return node;
|
|
476
|
+
}
|
|
477
|
+
removeBindAttribute(options) {
|
|
478
|
+
let bindAttribute;
|
|
479
|
+
if (typeof options === 'string') {
|
|
480
|
+
bindAttribute = this.bindAttrs.find((item) => item.name === options);
|
|
481
|
+
if (!bindAttribute) {
|
|
482
|
+
throw new Error('找不到元素绑定属性 ' + options);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
else {
|
|
486
|
+
bindAttribute = options;
|
|
487
|
+
}
|
|
488
|
+
return bindAttribute.delete();
|
|
489
|
+
}
|
|
490
|
+
__removeBindAttribute(bindAttribute) {
|
|
491
|
+
const parentKey = bindAttribute.parentKey;
|
|
492
|
+
const params = {
|
|
493
|
+
parentNode: this,
|
|
494
|
+
parentKey,
|
|
495
|
+
index: -1,
|
|
496
|
+
object: null,
|
|
497
|
+
oldObject: bindAttribute,
|
|
498
|
+
};
|
|
499
|
+
if (parentKey) {
|
|
500
|
+
params.parentKey = parentKey;
|
|
501
|
+
if (Array.isArray(this[parentKey])) {
|
|
502
|
+
const index = this[parentKey].indexOf(bindAttribute);
|
|
503
|
+
~index && this[parentKey].splice(index, 1);
|
|
504
|
+
params.index = index;
|
|
505
|
+
}
|
|
506
|
+
else if (this[parentKey] === bindAttribute) {
|
|
507
|
+
params.index = 0;
|
|
508
|
+
this[parentKey] = undefined;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return params;
|
|
512
|
+
}
|
|
513
|
+
removeBindEvent(options) {
|
|
514
|
+
let bindEvent;
|
|
515
|
+
if (typeof options === 'string') {
|
|
516
|
+
bindEvent = this.bindEvents.find((item) => item.name === options);
|
|
517
|
+
if (!bindEvent) {
|
|
518
|
+
throw new Error('找不到元素绑定事件 ' + options);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
bindEvent = options;
|
|
523
|
+
}
|
|
524
|
+
return bindEvent.delete();
|
|
525
|
+
}
|
|
526
|
+
__removeBindEvent(bindEvent) {
|
|
527
|
+
const parentKey = bindEvent.parentKey;
|
|
528
|
+
const params = {
|
|
529
|
+
parentNode: this,
|
|
530
|
+
parentKey,
|
|
531
|
+
index: -1,
|
|
532
|
+
object: null,
|
|
533
|
+
oldObject: bindEvent,
|
|
534
|
+
};
|
|
535
|
+
if (parentKey) {
|
|
536
|
+
params.parentKey = parentKey;
|
|
537
|
+
if (Array.isArray(this[parentKey])) {
|
|
538
|
+
const index = this[parentKey].indexOf(bindEvent);
|
|
539
|
+
~index && this[parentKey].splice(index, 1);
|
|
540
|
+
params.index = index;
|
|
541
|
+
}
|
|
542
|
+
else if (this[parentKey] === bindEvent) {
|
|
543
|
+
params.index = 0;
|
|
544
|
+
this[parentKey] = undefined;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
return params;
|
|
548
|
+
}
|
|
549
|
+
removeBindDirective(options) {
|
|
550
|
+
let bindDirective;
|
|
551
|
+
if (typeof options === 'string') {
|
|
552
|
+
bindDirective = this.bindDirectives.find((item) => item.name === options);
|
|
553
|
+
if (!bindDirective) {
|
|
554
|
+
throw new Error('找不到元素指令 ' + options);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
else {
|
|
558
|
+
bindDirective = options;
|
|
559
|
+
}
|
|
560
|
+
return bindDirective.delete();
|
|
561
|
+
}
|
|
562
|
+
__removeBindDirective(bindDirective) {
|
|
563
|
+
const parentKey = bindDirective.parentKey;
|
|
564
|
+
const params = {
|
|
565
|
+
parentNode: this,
|
|
566
|
+
parentKey,
|
|
567
|
+
index: -1,
|
|
568
|
+
object: null,
|
|
569
|
+
oldObject: bindDirective,
|
|
570
|
+
};
|
|
571
|
+
if (parentKey) {
|
|
572
|
+
params.parentKey = parentKey;
|
|
573
|
+
if (Array.isArray(this[parentKey])) {
|
|
574
|
+
const index = this[parentKey].indexOf(bindDirective);
|
|
575
|
+
~index && this[parentKey].splice(index, 1);
|
|
576
|
+
params.index = index;
|
|
577
|
+
}
|
|
578
|
+
else if (this[parentKey] === bindDirective) {
|
|
579
|
+
params.index = 0;
|
|
580
|
+
this[parentKey] = undefined;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
return params;
|
|
584
|
+
}
|
|
585
|
+
removeViewElement(options) {
|
|
586
|
+
let viewElement;
|
|
587
|
+
if (typeof options === 'string') {
|
|
588
|
+
viewElement = this.children.find((item) => item.name === options);
|
|
589
|
+
if (!viewElement) {
|
|
590
|
+
throw new Error('找不到页面元素 ' + options);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
else {
|
|
594
|
+
viewElement = options;
|
|
595
|
+
}
|
|
596
|
+
return viewElement.delete();
|
|
597
|
+
}
|
|
598
|
+
__removeViewElement(viewElement) {
|
|
599
|
+
const parentKey = viewElement.parentKey;
|
|
600
|
+
const params = {
|
|
601
|
+
parentNode: this,
|
|
602
|
+
parentKey,
|
|
603
|
+
index: -1,
|
|
604
|
+
object: null,
|
|
605
|
+
oldObject: viewElement,
|
|
606
|
+
};
|
|
607
|
+
if (parentKey) {
|
|
608
|
+
params.parentKey = parentKey;
|
|
609
|
+
if (Array.isArray(this[parentKey])) {
|
|
610
|
+
const index = this[parentKey].indexOf(viewElement);
|
|
611
|
+
~index && this[parentKey].splice(index, 1);
|
|
612
|
+
params.index = index;
|
|
613
|
+
}
|
|
614
|
+
else if (this[parentKey] === viewElement) {
|
|
615
|
+
params.index = 0;
|
|
616
|
+
this[parentKey] = undefined;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
return params;
|
|
620
|
+
}
|
|
621
|
+
//================================================================================
|
|
622
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
623
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
624
|
+
//================================================================================
|
|
625
|
+
getViewElementUniqueName(name = 'viewElement1') {
|
|
626
|
+
return this.view?.getViewElementUniqueName(name);
|
|
627
|
+
}
|
|
628
|
+
static TAG_NAME_PREFIX_REG = /^([lieu]|van)[-_]/;
|
|
629
|
+
static from(source, parentNode, parentKey) {
|
|
630
|
+
const node = super.from(source, parentNode, parentKey);
|
|
631
|
+
if (!node.name) {
|
|
632
|
+
const tagName = node.tag.replace(ViewElement_1.TAG_NAME_PREFIX_REG, '').replace(/-/g, '_');
|
|
633
|
+
node.name = node.getViewElementUniqueName(`${tagName}1`);
|
|
634
|
+
}
|
|
635
|
+
return node;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* 设置组件权限
|
|
639
|
+
*/
|
|
640
|
+
setBindRoles(bindRoles) {
|
|
641
|
+
const object = {
|
|
642
|
+
bindRoles,
|
|
643
|
+
};
|
|
644
|
+
this.update({
|
|
645
|
+
...object,
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
getBindAttribute(name) {
|
|
649
|
+
return this.bindAttrs.find((bindAttr) => bindAttr.name === name);
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* 角色
|
|
653
|
+
*/
|
|
654
|
+
roles = [];
|
|
655
|
+
toggleRole(role) {
|
|
656
|
+
const index = this.roles.findIndex((roleItem) => roleItem.name === role.name);
|
|
657
|
+
const roles = [...this.roles];
|
|
658
|
+
if (index !== -1) {
|
|
659
|
+
roles.splice(index, 1);
|
|
660
|
+
}
|
|
661
|
+
else {
|
|
662
|
+
roles.push({
|
|
663
|
+
namespace: role.getNamespace(),
|
|
664
|
+
name: role.name,
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
const object = {
|
|
668
|
+
roles,
|
|
669
|
+
};
|
|
670
|
+
this.update({
|
|
671
|
+
...object,
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
toHump(name) {
|
|
675
|
+
return name.replace(/\-(\w)/g, (all, letter) => letter.toUpperCase());
|
|
676
|
+
}
|
|
677
|
+
get haveScope() {
|
|
678
|
+
const dataSourceList = ['uGallery', 'uTableView', 'uListView', 'uGridView', 'uCalendarView', 'uListComponents', 'uSelect'];
|
|
679
|
+
return dataSourceList.includes(this.toHump(this.tag));
|
|
680
|
+
}
|
|
681
|
+
toEmbeddedTSDefinition(state) {
|
|
682
|
+
let code = '';
|
|
683
|
+
// formItem的单独处理
|
|
684
|
+
if (this.tag === 'u-form-item') {
|
|
685
|
+
code = (0, translator_1.indent)(state.tabSize) + `${this.name}: <nasl.ui.${this.toHump(this.tag)}`;
|
|
686
|
+
if (Array.isArray(this.children) && this.children.length) {
|
|
687
|
+
const tag = this.children[0].tag;
|
|
688
|
+
if (tag === 'u-input') {
|
|
689
|
+
code += '<nasl.core.String>';
|
|
690
|
+
}
|
|
691
|
+
else if (tag === 'u-input-number') {
|
|
692
|
+
code += '<nasl.core.Integer>';
|
|
693
|
+
}
|
|
694
|
+
else {
|
|
695
|
+
code += '<nasl.core.Any>';
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
code += '> null,\n';
|
|
699
|
+
}
|
|
700
|
+
if (this.haveScope) {
|
|
701
|
+
let genericType = 'any';
|
|
702
|
+
const bindAttrs = this.bindAttrs;
|
|
703
|
+
if (bindAttrs && bindAttrs.length) {
|
|
704
|
+
const attr = bindAttrs.find((item) => item.name === 'data-source');
|
|
705
|
+
if (attr && attr.expression) {
|
|
706
|
+
let expressionTs = attr.expression.toEmbeddedTS((0, translator_1.shiftState)(state, code));
|
|
707
|
+
expressionTs = expressionTs.replaceAll(' ', '');
|
|
708
|
+
// 如果是逻辑就推导出逻辑类型
|
|
709
|
+
genericType = `nasl.ui.GetItemTypeFromDataSource<typeof ${expressionTs}>`;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
code += (0, translator_1.indent)(state.tabSize) + `${this.name}: <nasl.ui.${this.toHump(this.tag)}<${genericType}>> null,\n`;
|
|
713
|
+
}
|
|
714
|
+
else {
|
|
715
|
+
code = (0, translator_1.indent)(state.tabSize) + `${this.name}: <nasl.ui.${this.toHump(this.tag)}<any>> null,\n`;
|
|
716
|
+
}
|
|
717
|
+
if (Array.isArray(this.children)) {
|
|
718
|
+
this.children.forEach((element) => {
|
|
719
|
+
code += element.toEmbeddedTSDefinition((0, translator_1.shiftState)(state, code));
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
return code;
|
|
723
|
+
}
|
|
724
|
+
toEmbeddedTS(state, parentLevel) {
|
|
725
|
+
function chineseTsName(name) {
|
|
726
|
+
let tsName = name;
|
|
727
|
+
if (/^\d/.test(tsName)) {
|
|
728
|
+
tsName = '$' + tsName;
|
|
729
|
+
}
|
|
730
|
+
// 匹配所有特殊字符都转为_
|
|
731
|
+
tsName = tsName.replace(/\W/g, '_');
|
|
732
|
+
return tsName;
|
|
733
|
+
}
|
|
734
|
+
let code = `__elements.${this.name} = new nasl.ui.${this.toHump(this.tag)}({\n`;
|
|
735
|
+
// 是否开启权限
|
|
736
|
+
let hasAuth = false;
|
|
737
|
+
if (Array.isArray(this.bindDirectives)) {
|
|
738
|
+
hasAuth = !!this.bindDirectives.filter((directive) => directive.name === 'auth').length;
|
|
739
|
+
}
|
|
740
|
+
// 角色
|
|
741
|
+
if (hasAuth && Array.isArray(this.bindRoles)) {
|
|
742
|
+
code += (0, translator_1.indent)(state.tabSize + 2);
|
|
743
|
+
code += 'roles = [\n';
|
|
744
|
+
this.bindRoles.forEach((role) => {
|
|
745
|
+
code += (0, translator_1.indent)(state.tabSize + 3);
|
|
746
|
+
code += `${this.app.getNamespace()}.roles.${chineseTsName(role)}.${chineseTsName(role)},`;
|
|
747
|
+
code += '\n';
|
|
748
|
+
});
|
|
749
|
+
code += (0, translator_1.indent)(state.tabSize + 2);
|
|
750
|
+
code += '],\n';
|
|
751
|
+
}
|
|
752
|
+
// 绑定属性
|
|
753
|
+
if (Array.isArray(this.bindAttrs)) {
|
|
754
|
+
this.bindAttrs.forEach((attr) => {
|
|
755
|
+
// 跳转页面
|
|
756
|
+
if (attr.destination) {
|
|
757
|
+
code += attr.destination.toEmbeddedTS((0, translator_1.shiftState)(state, code, {
|
|
758
|
+
tabSize: state.tabSize,
|
|
759
|
+
}));
|
|
760
|
+
}
|
|
761
|
+
});
|
|
762
|
+
code += '\n';
|
|
763
|
+
}
|
|
764
|
+
// 事件
|
|
765
|
+
if (Array.isArray(this.bindEvents)) {
|
|
766
|
+
this.bindEvents.forEach((event) => {
|
|
767
|
+
code += event.toEmbeddedTS((0, translator_1.shiftState)(state, code, {
|
|
768
|
+
tabSize: state.tabSize + 2,
|
|
769
|
+
}));
|
|
770
|
+
code += '\n';
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
// 子元素
|
|
774
|
+
if (Array.isArray(this.children)) {
|
|
775
|
+
code += (0, translator_1.indent)(state.tabSize + 1);
|
|
776
|
+
let levelIndex = parentLevel || 0;
|
|
777
|
+
if (this.haveScope) {
|
|
778
|
+
code += `slotDefault: (scope${levelIndex || ''})=> [\n`;
|
|
779
|
+
levelIndex++;
|
|
780
|
+
}
|
|
781
|
+
else {
|
|
782
|
+
code += `slotDefault: ()=> [\n`;
|
|
783
|
+
}
|
|
784
|
+
if (Array.isArray(this.bindAttrs)) {
|
|
785
|
+
code += (0, translator_1.indent)(state.tabSize + 2) + `() => [\n`;
|
|
786
|
+
this.bindAttrs.forEach((attr) => {
|
|
787
|
+
if (attr.expression) {
|
|
788
|
+
code
|
|
789
|
+
+= attr.expression.toEmbeddedTS((0, translator_1.shiftState)(state, code, {
|
|
790
|
+
tabSize: state.tabSize + 3,
|
|
791
|
+
})) + ',\n';
|
|
792
|
+
}
|
|
793
|
+
});
|
|
794
|
+
code += (0, translator_1.indent)(state.tabSize + 2) + '],\n';
|
|
795
|
+
}
|
|
796
|
+
this.children.forEach((element) => {
|
|
797
|
+
code += element.toEmbeddedTS((0, translator_1.shiftState)(state, code, {
|
|
798
|
+
tabSize: state.tabSize + 2,
|
|
799
|
+
}), levelIndex);
|
|
800
|
+
code += '\n';
|
|
801
|
+
});
|
|
802
|
+
code += (0, translator_1.indent)(state.tabSize + 1);
|
|
803
|
+
code += ']\n';
|
|
804
|
+
}
|
|
805
|
+
code += (0, translator_1.indent)(state.tabSize) + '}),\n';
|
|
806
|
+
return code;
|
|
807
|
+
}
|
|
808
|
+
_duplicate(options) {
|
|
809
|
+
const code = this.toVue(options);
|
|
810
|
+
const element = ViewElement_1.fromHTML(code, {
|
|
811
|
+
view: this.view,
|
|
812
|
+
});
|
|
813
|
+
element.deepRenameElements();
|
|
814
|
+
return element;
|
|
815
|
+
}
|
|
816
|
+
// 递归遍历组件
|
|
817
|
+
traverseChildren(cb) {
|
|
818
|
+
utils.traverse((current) => {
|
|
819
|
+
cb(current.node);
|
|
820
|
+
}, { node: this });
|
|
821
|
+
}
|
|
822
|
+
// 递归生成组件名
|
|
823
|
+
deepRenameElements() {
|
|
824
|
+
return this.traverseChildren((ele) => {
|
|
825
|
+
const tagName = ele.tag.replace(ViewElement_1.TAG_NAME_PREFIX_REG, '').replace(/-/g, '_');
|
|
826
|
+
ele.name = this.getViewElementUniqueName(`${tagName}1`);
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* 解析属性中的表达式
|
|
831
|
+
* @param value
|
|
832
|
+
* @param $def 目前 $def 只用来查找 $def.variables 和 $def.structures
|
|
833
|
+
* @param dataSchema
|
|
834
|
+
*/
|
|
835
|
+
static _parseExpression(value) {
|
|
836
|
+
try {
|
|
837
|
+
const ast = babelParser.parseExpression(value);
|
|
838
|
+
const node = transAstNodeToNaslNode(ast);
|
|
839
|
+
return LogicItem__1.default.from(node, null, null);
|
|
840
|
+
}
|
|
841
|
+
catch (e) {
|
|
842
|
+
return null;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
static _parseValidationRule(value) {
|
|
846
|
+
let calleeName = value;
|
|
847
|
+
let args = [];
|
|
848
|
+
try {
|
|
849
|
+
const ast = babelParser.parseExpression(value);
|
|
850
|
+
if (ast.type === 'CallExpression') {
|
|
851
|
+
calleeName = ast.callee.property.name || ast.callee.property.value;
|
|
852
|
+
args = ast.arguments.map((argument) => ({
|
|
853
|
+
concept: 'Argument',
|
|
854
|
+
name: '',
|
|
855
|
+
kind: 'Statement',
|
|
856
|
+
keyword: '',
|
|
857
|
+
expression: transAstNodeToNaslNode(Object.assign({}, argument)),
|
|
858
|
+
}));
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
catch (error) { }
|
|
862
|
+
return {
|
|
863
|
+
concept: 'ValidationRule',
|
|
864
|
+
name: '',
|
|
865
|
+
label: '验证规则',
|
|
866
|
+
folded: true,
|
|
867
|
+
kind: 'Expression',
|
|
868
|
+
calleeNamespace: 'nasl.validation',
|
|
869
|
+
arguments: args,
|
|
870
|
+
calleeName,
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* 从 Vue 的 ASTNode 转换成 ASL 元素
|
|
875
|
+
* @param astNode Vue 的 ASTNode
|
|
876
|
+
*/
|
|
877
|
+
static _fromASTNode(astNode, context) {
|
|
878
|
+
const view = context?.view;
|
|
879
|
+
// 临时处理组件的 text
|
|
880
|
+
//h5-mock
|
|
881
|
+
if (['u-text', 'van-text', 'u-link', 'u-button', 'u-label', 'u-radio', 'u-checkbox', 'u-navbar-item', 'u-sidebar-item', 'u-menu-item'].includes(astNode.tag)
|
|
882
|
+
&& astNode.children.length === 1
|
|
883
|
+
&& astNode.children[0].type === 3) {
|
|
884
|
+
astNode.attrs = astNode.attrs || [];
|
|
885
|
+
astNode.attrs.push({
|
|
886
|
+
name: 'text',
|
|
887
|
+
value: JSON.stringify(astNode.children[0].text),
|
|
888
|
+
});
|
|
889
|
+
astNode.children = [];
|
|
890
|
+
}
|
|
891
|
+
// 将 scopedSlots 合并到 children 中
|
|
892
|
+
if (astNode.scopedSlots) {
|
|
893
|
+
astNode.children = astNode.children || [];
|
|
894
|
+
Object.keys(astNode.scopedSlots).forEach((key) => {
|
|
895
|
+
if (!astNode.children.find((child) => key === child.slotTarget))
|
|
896
|
+
astNode.children.unshift(astNode.scopedSlots[key]);
|
|
897
|
+
});
|
|
898
|
+
delete astNode.scopedSlots;
|
|
899
|
+
}
|
|
900
|
+
// 提示不支持的字段
|
|
901
|
+
['component', 'inlineTemplate', 'pre', 'ns', 'transition', 'transitionOnAppear', 'transitionMode', 'slotName', 'classBinding', 'styleBinding'].forEach((key) => {
|
|
902
|
+
if (astNode[key])
|
|
903
|
+
console.warn(`[warn] ViewElement NASL unsupports '${key}' field in node `, astNode);
|
|
904
|
+
});
|
|
905
|
+
let element;
|
|
906
|
+
if (astNode.type === 1) {
|
|
907
|
+
if (astNode.tag === 'router-view') {
|
|
908
|
+
if (__1.config.scope === 'h5') {
|
|
909
|
+
astNode.tag = 'van-router-view';
|
|
910
|
+
}
|
|
911
|
+
else {
|
|
912
|
+
astNode.tag = 'u-router-view';
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
const tagName = astNode.tag.replace(ViewElement_1.TAG_NAME_PREFIX_REG, '').replace(/-/g, '_');
|
|
916
|
+
element = new ViewElement_1({
|
|
917
|
+
tag: astNode.tag,
|
|
918
|
+
name: astNode.attrsMap.ref || view.getViewElementUniqueName(`${tagName}1`),
|
|
919
|
+
staticClass: astNode.attrsMap.class,
|
|
920
|
+
staticStyle: astNode.attrsMap.style,
|
|
921
|
+
slotTarget: astNode.slotTarget && json5.parse(astNode.slotTarget),
|
|
922
|
+
slotScope: astNode.slotScope === '_empty_' ? '' : astNode.slotScope,
|
|
923
|
+
children: astNode.children.map((item) => this._fromASTNode(item, context)),
|
|
924
|
+
});
|
|
925
|
+
astNode.attrs
|
|
926
|
+
&& astNode.attrs.forEach((oldAttr) => {
|
|
927
|
+
let attr;
|
|
928
|
+
if (oldAttr.value === '""' && oldAttr.end - oldAttr.start === oldAttr.name.length) {
|
|
929
|
+
attr = BindAttribute__1.default.from({
|
|
930
|
+
type: 'static',
|
|
931
|
+
name: oldAttr.name,
|
|
932
|
+
value: 'true',
|
|
933
|
+
}, element);
|
|
934
|
+
}
|
|
935
|
+
else {
|
|
936
|
+
try {
|
|
937
|
+
const tmp = json5.parse(oldAttr.value);
|
|
938
|
+
const source = {
|
|
939
|
+
type: typeof tmp === 'string' ? 'string' : 'static',
|
|
940
|
+
name: oldAttr.name,
|
|
941
|
+
value: typeof tmp === 'string' ? tmp : oldAttr.value,
|
|
942
|
+
};
|
|
943
|
+
if (oldAttr.name === 'rules') {
|
|
944
|
+
source.rules = tmp?.split('|').map((ruleStr) => this._parseValidationRule(ruleStr.trim()));
|
|
945
|
+
}
|
|
946
|
+
attr = BindAttribute__1.default.from(source, element);
|
|
947
|
+
}
|
|
948
|
+
catch (e) {
|
|
949
|
+
const expression = this._parseExpression(oldAttr.value);
|
|
950
|
+
attr = BindAttribute__1.default.from({
|
|
951
|
+
type: 'dynamic',
|
|
952
|
+
name: oldAttr.name,
|
|
953
|
+
value: expression ? '' : oldAttr.value,
|
|
954
|
+
expression,
|
|
955
|
+
}, element);
|
|
956
|
+
if (astNode.attrsMap[`:${attr.name}.sync`]) {
|
|
957
|
+
attr.sync = true;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
element.bindAttrs.push(attr);
|
|
962
|
+
});
|
|
963
|
+
// compiler 处理:value.sync 时会加上update:value事件,需要过滤
|
|
964
|
+
astNode.events
|
|
965
|
+
&& Object.keys(astNode.events)
|
|
966
|
+
.filter((name) => !name.startsWith('update:'))
|
|
967
|
+
.forEach((name) => {
|
|
968
|
+
const oldEvent = astNode.events[name];
|
|
969
|
+
const str = oldEvent.value;
|
|
970
|
+
const value = str.split('(')[0];
|
|
971
|
+
const matchArr = str.match(/\(([^)]*)\)/);
|
|
972
|
+
let argsStr = '';
|
|
973
|
+
if (matchArr.length >= 2) {
|
|
974
|
+
argsStr = matchArr[1];
|
|
975
|
+
}
|
|
976
|
+
let args = [];
|
|
977
|
+
if (argsStr) {
|
|
978
|
+
args = argsStr.split(',').map((argStr) => {
|
|
979
|
+
const keyword = argStr.trim().split('.');
|
|
980
|
+
return {
|
|
981
|
+
concept: 'Argument',
|
|
982
|
+
expression: genArgumentMemberExpression(keyword),
|
|
983
|
+
};
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
const viewNamespace = view?.getNamespace();
|
|
987
|
+
const viewName = `${view?.name}`;
|
|
988
|
+
element.bindEvents.push(BindEvent__1.default.from({
|
|
989
|
+
name,
|
|
990
|
+
calleeNamespace: `${viewNamespace}.${viewName}.logics`,
|
|
991
|
+
calleeName: value,
|
|
992
|
+
arguments: args,
|
|
993
|
+
}, element));
|
|
994
|
+
});
|
|
995
|
+
astNode.directives
|
|
996
|
+
&& astNode.directives.forEach((directive) => {
|
|
997
|
+
if (directive.name === 'model') {
|
|
998
|
+
const valueAttr = astNode.attrs && astNode.attrs.find((attr) => attr.name === 'value');
|
|
999
|
+
if (!valueAttr) {
|
|
1000
|
+
const expression = this._parseExpression(directive.value);
|
|
1001
|
+
element.bindAttrs.push(BindAttribute__1.default.from({
|
|
1002
|
+
type: 'dynamic',
|
|
1003
|
+
name: 'value',
|
|
1004
|
+
value: expression ? '' : directive.value,
|
|
1005
|
+
expression,
|
|
1006
|
+
sync: true,
|
|
1007
|
+
}, element));
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
else {
|
|
1011
|
+
const expression = this._parseExpression(directive.value);
|
|
1012
|
+
element.bindDirectives.push(BindDirective__1.default.from({
|
|
1013
|
+
type: expression ? 'string' : 'dynamic',
|
|
1014
|
+
name: directive.name,
|
|
1015
|
+
rawName: directive.rawName,
|
|
1016
|
+
value: expression ? '' : directive.value,
|
|
1017
|
+
expression,
|
|
1018
|
+
arg: directive.arg,
|
|
1019
|
+
modifiers: directive.modifiers,
|
|
1020
|
+
}, element));
|
|
1021
|
+
}
|
|
1022
|
+
});
|
|
1023
|
+
if (astNode.if) {
|
|
1024
|
+
element.bindDirectives.push(BindDirective__1.default.from({
|
|
1025
|
+
type: 'dynamic',
|
|
1026
|
+
name: 'if',
|
|
1027
|
+
rawName: 'v-if',
|
|
1028
|
+
value: '',
|
|
1029
|
+
expression: this._parseExpression(astNode.if),
|
|
1030
|
+
}, element));
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
else if (astNode.type === 2) {
|
|
1034
|
+
if (__1.config.scope === 'h5') {
|
|
1035
|
+
element = new ViewElement_1({
|
|
1036
|
+
tag: 'van-text',
|
|
1037
|
+
});
|
|
1038
|
+
}
|
|
1039
|
+
else {
|
|
1040
|
+
element = new ViewElement_1({
|
|
1041
|
+
tag: 'u-text',
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
const value = astNode.text.match(/{{(.*?)}}/)[1].trim();
|
|
1045
|
+
const expression = this._parseExpression(value);
|
|
1046
|
+
element.bindAttrs.push(new BindAttribute__1.default({
|
|
1047
|
+
type: 'dynamic',
|
|
1048
|
+
name: 'text',
|
|
1049
|
+
value: expression ? '' : value,
|
|
1050
|
+
expression,
|
|
1051
|
+
}));
|
|
1052
|
+
}
|
|
1053
|
+
else if (astNode.type === 3) {
|
|
1054
|
+
if (__1.config.scope === 'h5') {
|
|
1055
|
+
element = new ViewElement_1({
|
|
1056
|
+
tag: 'van-text',
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
else {
|
|
1060
|
+
element = new ViewElement_1({
|
|
1061
|
+
tag: 'u-text',
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
element.bindAttrs.push(new BindAttribute__1.default({
|
|
1065
|
+
name: 'text',
|
|
1066
|
+
type: 'string',
|
|
1067
|
+
value: astNode.text,
|
|
1068
|
+
}));
|
|
1069
|
+
}
|
|
1070
|
+
return element;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* 解析 Vue 模板
|
|
1074
|
+
* 该方法不会绑定 view 和 parent,如果是添加元素优先使用 fromHTML
|
|
1075
|
+
* @param html Vue 的模板
|
|
1076
|
+
* @TODO 处理多个元素的问题
|
|
1077
|
+
*/
|
|
1078
|
+
static parse(html, context) {
|
|
1079
|
+
html = html || '<div></div>';
|
|
1080
|
+
const compilerOptions = {
|
|
1081
|
+
preserveWhitespace: false,
|
|
1082
|
+
outputSourceRange: true,
|
|
1083
|
+
};
|
|
1084
|
+
let ast = compiler.compile(html, compilerOptions).ast;
|
|
1085
|
+
if (ast.tag === 'template' && !ast.slotTarget)
|
|
1086
|
+
ast = ast.children[0];
|
|
1087
|
+
let root;
|
|
1088
|
+
utils.traverse((current) => {
|
|
1089
|
+
// 处理 scopedSlots;
|
|
1090
|
+
if (!current.parent)
|
|
1091
|
+
root = this._fromASTNode(current.node, context);
|
|
1092
|
+
else
|
|
1093
|
+
current.parent.children[current.index] = this._fromASTNode(current.node, context);
|
|
1094
|
+
}, { node: ast });
|
|
1095
|
+
return root;
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* 从模板生成规范的 ViewElement 对象
|
|
1099
|
+
*/
|
|
1100
|
+
static fromHTML(html, context) {
|
|
1101
|
+
const element = this.parse(html, context);
|
|
1102
|
+
return element;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* 转换成设计器中使用的 Vue 文件
|
|
1106
|
+
* @param options
|
|
1107
|
+
*/
|
|
1108
|
+
toDesignerVue() {
|
|
1109
|
+
return this.toVue({
|
|
1110
|
+
finalCode: false,
|
|
1111
|
+
nodePathAttr: true,
|
|
1112
|
+
attrFormat: (attr, element, defaultResult) => {
|
|
1113
|
+
if (attr.concept === 'BindAttribute') {
|
|
1114
|
+
const api = __1.config.allNodesAPI[element.tag];
|
|
1115
|
+
const apiOfAttr = api && api.attrs && api.attrs.find((_attr) => _attr.name === attr.name);
|
|
1116
|
+
if (apiOfAttr && apiOfAttr['designer-value'] !== undefined) {
|
|
1117
|
+
let designerValue = apiOfAttr['designer-value'];
|
|
1118
|
+
if (typeof designerValue === 'string') {
|
|
1119
|
+
designerValue = designerValue.replace(/"/g, "'");
|
|
1120
|
+
}
|
|
1121
|
+
try {
|
|
1122
|
+
json5.parse(designerValue);
|
|
1123
|
+
return `:${attr.name}="${designerValue}"`;
|
|
1124
|
+
}
|
|
1125
|
+
catch (e) {
|
|
1126
|
+
return `${attr.name}="${designerValue}"`;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
if (attr.type === 'dynamic' && !(element.tag === 'u-cascade-select' && attr.name === 'categories'))
|
|
1130
|
+
return defaultResult.replace(/:?(\w+)(?:.*?)="(.*)"/, (m, name, value) => {
|
|
1131
|
+
try {
|
|
1132
|
+
const tempValue = json5.parse(value);
|
|
1133
|
+
if (typeof tempValue === 'boolean' || typeof tempValue === 'number') {
|
|
1134
|
+
// 简单类型走属性
|
|
1135
|
+
return `:${name}="${value.replace(/"/g, "'")}"`;
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
catch (e) {
|
|
1139
|
+
if (apiOfAttr && !apiOfAttr.type.includes('string'))
|
|
1140
|
+
return '';
|
|
1141
|
+
}
|
|
1142
|
+
return `${name}="{{ ${value.replace(/"/g, "'")} }}"`;
|
|
1143
|
+
});
|
|
1144
|
+
else
|
|
1145
|
+
return defaultResult;
|
|
1146
|
+
}
|
|
1147
|
+
return false;
|
|
1148
|
+
},
|
|
1149
|
+
getExtraParts: (el) => {
|
|
1150
|
+
const parts = [];
|
|
1151
|
+
const api = __1.config.allNodesAPI[el.tag];
|
|
1152
|
+
const emptySlot = api && api.slots && api.slots.find((slot) => slot.name === 'default' && slot['empty-background']);
|
|
1153
|
+
if (!el.children.length && emptySlot) {
|
|
1154
|
+
let addEmpty = true;
|
|
1155
|
+
if (el.tag === 'u-grid-view' || el.tag === 'u-list-view' || el.tag === 'van-list-view') {
|
|
1156
|
+
const hasDataSource = el.bindAttrs.find((attr) => attr.name === 'data-source');
|
|
1157
|
+
addEmpty = !hasDataSource;
|
|
1158
|
+
}
|
|
1159
|
+
addEmpty && parts.push(`vusion-empty-background="${emptySlot['empty-background']}"`);
|
|
1160
|
+
}
|
|
1161
|
+
return parts;
|
|
1162
|
+
},
|
|
1163
|
+
});
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* 转换成 Vue 的模板格式
|
|
1167
|
+
*/
|
|
1168
|
+
toVue(options) {
|
|
1169
|
+
options = Object.assign({
|
|
1170
|
+
indentStyle: 'space',
|
|
1171
|
+
tabSize: 4,
|
|
1172
|
+
indentLevel: 0,
|
|
1173
|
+
aslIdAttr: false,
|
|
1174
|
+
nodePathAttr: false,
|
|
1175
|
+
getExtraParts: () => [],
|
|
1176
|
+
attrFormat: (attr, element, defaultResult) => defaultResult,
|
|
1177
|
+
}, options);
|
|
1178
|
+
const tabString = ' '.repeat(options.tabSize * options.indentLevel);
|
|
1179
|
+
const insideTabString = ' '.repeat(options.tabSize * (options.indentLevel + 1));
|
|
1180
|
+
let shouldIndent = true;
|
|
1181
|
+
const content = !this.children ? '' : this.children
|
|
1182
|
+
.map((element) => {
|
|
1183
|
+
const childOptions = Object.assign({}, options);
|
|
1184
|
+
childOptions.indentLevel++;
|
|
1185
|
+
return (shouldIndent ? '\n' + insideTabString : '') + element.toVue(childOptions);
|
|
1186
|
+
})
|
|
1187
|
+
.join('');
|
|
1188
|
+
if (!content.length)
|
|
1189
|
+
shouldIndent = false;
|
|
1190
|
+
const parts = [];
|
|
1191
|
+
if (options.aslIdAttr) {
|
|
1192
|
+
if (options.aslIdAttr === true)
|
|
1193
|
+
options.aslIdAttr = 'asl-id';
|
|
1194
|
+
parts.push(`${options.aslIdAttr}="${this.id}"`);
|
|
1195
|
+
}
|
|
1196
|
+
if (options.nodePathAttr) {
|
|
1197
|
+
// 注入 asl 的 node-path
|
|
1198
|
+
parts.push(`vusion-node-path="${this.nodePath}"`);
|
|
1199
|
+
}
|
|
1200
|
+
this.slotTarget && parts.push(`#${this.slotTarget}` + (this.slotScope ? `="${this.slotScope}"` : ''));
|
|
1201
|
+
this.name && parts.push(`ref="${this.name}"`);
|
|
1202
|
+
this.staticClass && parts.push(`class="${this.staticClass}"`);
|
|
1203
|
+
this.staticStyle && parts.push(`style="${this.staticStyle}"`);
|
|
1204
|
+
[].concat(this.bindAttrs, this.bindDirectives, this.bindEvents).forEach((attr) => {
|
|
1205
|
+
const result = options.attrFormat(attr, this, attr.toVue(options));
|
|
1206
|
+
result && parts.push(result);
|
|
1207
|
+
});
|
|
1208
|
+
options.getExtraParts(this).forEach((part) => parts.push(part));
|
|
1209
|
+
let partsLength = 0;
|
|
1210
|
+
let partsString = '';
|
|
1211
|
+
parts.forEach((part) => {
|
|
1212
|
+
if (partsLength >= 120 || part.length >= 120) {
|
|
1213
|
+
partsString += '\n' + tabString + ' '.repeat(3); // ' '.repeat(el.tag.length + 1);
|
|
1214
|
+
partsLength = 0;
|
|
1215
|
+
}
|
|
1216
|
+
partsString += ' ' + part;
|
|
1217
|
+
partsLength += part.length;
|
|
1218
|
+
});
|
|
1219
|
+
return `<${this.tag}${partsString.length ? partsString : ''}>` + content + (shouldIndent ? '\n' + tabString : '') + `</${this.tag}>`;
|
|
1220
|
+
}
|
|
1221
|
+
};
|
|
1222
|
+
__decorate([
|
|
1223
|
+
(0, decorators_1.property)()
|
|
1224
|
+
], ViewElement.prototype, "concept", void 0);
|
|
1225
|
+
__decorate([
|
|
1226
|
+
(0, decorators_1.property)()
|
|
1227
|
+
], ViewElement.prototype, "type", void 0);
|
|
1228
|
+
__decorate([
|
|
1229
|
+
(0, decorators_1.property)()
|
|
1230
|
+
], ViewElement.prototype, "tag", void 0);
|
|
1231
|
+
__decorate([
|
|
1232
|
+
(0, decorators_1.property)()
|
|
1233
|
+
], ViewElement.prototype, "name", void 0);
|
|
1234
|
+
__decorate([
|
|
1235
|
+
(0, decorators_1.property)()
|
|
1236
|
+
], ViewElement.prototype, "staticClass", void 0);
|
|
1237
|
+
__decorate([
|
|
1238
|
+
(0, decorators_1.property)()
|
|
1239
|
+
], ViewElement.prototype, "staticStyle", void 0);
|
|
1240
|
+
__decorate([
|
|
1241
|
+
(0, decorators_1.property)()
|
|
1242
|
+
], ViewElement.prototype, "slotTarget", void 0);
|
|
1243
|
+
__decorate([
|
|
1244
|
+
(0, decorators_1.property)()
|
|
1245
|
+
], ViewElement.prototype, "slotScope", void 0);
|
|
1246
|
+
__decorate([
|
|
1247
|
+
(0, decorators_1.property)('BindAttribute')
|
|
1248
|
+
], ViewElement.prototype, "bindAttrs", void 0);
|
|
1249
|
+
__decorate([
|
|
1250
|
+
(0, decorators_1.property)('BindEvent')
|
|
1251
|
+
], ViewElement.prototype, "bindEvents", void 0);
|
|
1252
|
+
__decorate([
|
|
1253
|
+
(0, decorators_1.property)('BindDirective')
|
|
1254
|
+
], ViewElement.prototype, "bindDirectives", void 0);
|
|
1255
|
+
__decorate([
|
|
1256
|
+
(0, decorators_1.property)()
|
|
1257
|
+
], ViewElement.prototype, "bindRoles", void 0);
|
|
1258
|
+
__decorate([
|
|
1259
|
+
(0, decorators_1.property)('ViewElement')
|
|
1260
|
+
], ViewElement.prototype, "children", void 0);
|
|
1261
|
+
__decorate([
|
|
1262
|
+
(0, decorators_1.property)()
|
|
1263
|
+
], ViewElement.prototype, "roles", void 0);
|
|
1264
|
+
__decorate([
|
|
1265
|
+
(0, translator_1.withSourceMap)()
|
|
1266
|
+
], ViewElement.prototype, "toEmbeddedTS", null);
|
|
1267
|
+
ViewElement = ViewElement_1 = __decorate([
|
|
1268
|
+
decorators_1.concept
|
|
1269
|
+
], ViewElement);
|
|
1270
|
+
exports.ViewElement = ViewElement;
|
|
1271
|
+
classMap_1.default.ViewElement = ViewElement;
|
|
1272
|
+
exports.default = ViewElement;
|
|
1273
|
+
//================================================================================
|
|
1274
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
1275
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
1276
|
+
//================================================================================
|
|
1277
|
+
//# sourceMappingURL=ViewElement__.js.map
|