@lcap/nasl 1.0.0-alpha → 1.0.0-alpha.1
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 +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CompletionProperty.html +4 -2
- package/docs/index.html +1 -1
- package/out/bak/translator.js +3 -2
- package/out/bak/translator.js.map +1 -1
- package/out/{src/common → common}/BaseNode.d.ts +0 -0
- package/out/{src/common → common}/BaseNode.js +0 -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/{src/common → common}/EventEmitter.d.ts +0 -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/{src/concepts → concepts}/App__.d.ts +0 -0
- package/out/{src/concepts → concepts}/App__.js +0 -0
- package/out/concepts/App__.js.map +1 -0
- package/out/{src/concepts → concepts}/Argument__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Argument__.js +0 -0
- package/out/concepts/Argument__.js.map +1 -0
- package/out/{src/concepts → concepts}/Assignment__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Assignment__.js +0 -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/{src/concepts → concepts}/BinaryExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/BinaryExpression__.js +0 -0
- package/out/concepts/BinaryExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/BindAttribute__.d.ts +0 -0
- package/out/{src/concepts → concepts}/BindAttribute__.js +0 -0
- package/out/concepts/BindAttribute__.js.map +1 -0
- package/out/{src/concepts → concepts}/BindDirective__.d.ts +0 -0
- package/out/{src/concepts → concepts}/BindDirective__.js +0 -0
- package/out/concepts/BindDirective__.js.map +1 -0
- package/out/{src/concepts → concepts}/BindEvent__.d.ts +0 -0
- package/out/{src/concepts → concepts}/BindEvent__.js +0 -0
- package/out/concepts/BindEvent__.js.map +1 -0
- package/out/{src/concepts → concepts}/BooleanLiteral__.d.ts +0 -0
- package/out/{src/concepts → concepts}/BooleanLiteral__.js +0 -0
- package/out/concepts/BooleanLiteral__.js.map +1 -0
- package/out/{src/concepts → concepts}/CallFunction__.d.ts +0 -0
- package/out/{src/concepts → concepts}/CallFunction__.js +0 -0
- package/out/concepts/CallFunction__.js.map +1 -0
- package/out/{src/concepts → concepts}/CallInterface__.d.ts +0 -0
- package/out/{src/concepts → concepts}/CallInterface__.js +0 -0
- package/out/concepts/CallInterface__.js.map +1 -0
- package/out/{src/concepts → concepts}/CallLogic__.d.ts +0 -0
- package/out/{src/concepts → concepts}/CallLogic__.js +0 -0
- package/out/concepts/CallLogic__.js.map +1 -0
- package/out/{src/concepts → concepts}/CallQueryComponent__.d.ts +0 -0
- package/out/{src/concepts → concepts}/CallQueryComponent__.js +0 -0
- package/out/concepts/CallQueryComponent__.js.map +1 -0
- package/out/{src/concepts → concepts}/Comment__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Comment__.js +0 -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/{src/concepts → concepts}/Constant__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Constant__.js +0 -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/{src/concepts → concepts}/Destination__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Destination__.js +0 -0
- package/out/concepts/Destination__.js.map +1 -0
- package/out/{src/concepts → concepts}/End__.d.ts +0 -0
- package/out/{src/concepts → concepts}/End__.js +0 -0
- package/out/concepts/End__.js.map +1 -0
- package/out/{src/concepts → concepts}/EntityIndex__.d.ts +0 -0
- package/out/{src/concepts → concepts}/EntityIndex__.js +0 -0
- package/out/concepts/EntityIndex__.js.map +1 -0
- package/out/{src/concepts → concepts}/EntityProperty__.d.ts +0 -0
- package/out/{src/concepts → concepts}/EntityProperty__.js +0 -0
- package/out/concepts/EntityProperty__.js.map +1 -0
- package/out/{src/concepts → concepts}/Entity__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Entity__.js +0 -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/{src/concepts → concepts}/Enum__.js +0 -0
- package/out/concepts/Enum__.js.map +1 -0
- package/out/{src/concepts → concepts}/Event__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Event__.js +0 -0
- package/out/concepts/Event__.js.map +1 -0
- package/out/{src/concepts → concepts}/ForEachStatement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ForEachStatement__.js +0 -0
- package/out/concepts/ForEachStatement__.js.map +1 -0
- package/out/{src/concepts → concepts}/Function__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Function__.js +0 -0
- package/out/concepts/Function__.js.map +1 -0
- package/out/{src/concepts → concepts}/Identifier__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Identifier__.js +0 -0
- package/out/concepts/Identifier__.js.map +1 -0
- package/out/{src/concepts → concepts}/IfStatement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/IfStatement__.js +0 -0
- package/out/concepts/IfStatement__.js.map +1 -0
- package/out/{src/concepts → concepts}/InterfaceParam__.d.ts +0 -0
- package/out/{src/concepts → concepts}/InterfaceParam__.js +0 -0
- package/out/concepts/InterfaceParam__.js.map +1 -0
- package/out/{src/concepts → concepts}/Interface__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Interface__.js +0 -0
- package/out/concepts/Interface__.js.map +1 -0
- package/out/{src/concepts → concepts}/JSBlock__.d.ts +0 -0
- package/out/{src/concepts → concepts}/JSBlock__.js +0 -0
- package/out/concepts/JSBlock__.js.map +1 -0
- package/out/{src/concepts → concepts}/LogicItem__.d.ts +0 -0
- package/out/{src/concepts → concepts}/LogicItem__.js +0 -0
- package/out/concepts/LogicItem__.js.map +1 -0
- package/out/{src/concepts → concepts}/Logic__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Logic__.js +0 -0
- package/out/concepts/Logic__.js.map +1 -0
- package/out/{src/concepts → concepts}/MemberExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/MemberExpression__.js +0 -0
- package/out/concepts/MemberExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/Module__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Module__.js +0 -0
- package/out/concepts/Module__.js.map +1 -0
- package/out/{src/concepts → concepts}/Namespace__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Namespace__.js +0 -0
- package/out/concepts/Namespace__.js.map +1 -0
- package/out/{src/concepts → concepts}/NullLiteral__.d.ts +0 -0
- package/out/{src/concepts → concepts}/NullLiteral__.js +0 -0
- package/out/concepts/NullLiteral__.js.map +1 -0
- package/out/{src/concepts → concepts}/NumericLiteral__.d.ts +0 -0
- package/out/{src/concepts → concepts}/NumericLiteral__.js +0 -0
- package/out/concepts/NumericLiteral__.js.map +1 -0
- package/out/{src/concepts → concepts}/Param__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Param__.js +0 -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/{src/concepts → concepts}/ProcessComponent__.js +0 -0
- package/out/concepts/ProcessComponent__.js.map +1 -0
- package/out/{src/concepts → concepts}/ProcessElement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ProcessElement__.js +0 -0
- package/out/concepts/ProcessElement__.js.map +1 -0
- package/out/{src/concepts → concepts}/ProcessOutcome__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ProcessOutcome__.js +0 -0
- package/out/concepts/ProcessOutcome__.js.map +1 -0
- package/out/{src/concepts → concepts}/Process__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Process__.js +0 -0
- package/out/concepts/Process__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryAggregateExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryAggregateExpression__.js +0 -0
- package/out/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryFieldExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryFieldExpression__.js +0 -0
- package/out/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryFromExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryFromExpression__.js +0 -0
- package/out/concepts/QueryFromExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryGroupByExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryGroupByExpression__.js +0 -0
- package/out/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryJoinExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryJoinExpression__.js +0 -0
- package/out/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryLimitExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryLimitExpression__.js +0 -0
- package/out/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QueryOrderByExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QueryOrderByExpression__.js +0 -0
- package/out/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/QuerySelectExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/QuerySelectExpression__.js +0 -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/{src/concepts → concepts}/Return__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Return__.js +0 -0
- package/out/concepts/Return__.js.map +1 -0
- package/out/{src/concepts → concepts}/Role__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Role__.js +0 -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/{src/concepts → concepts}/SqlQueryComponent__.d.ts +0 -0
- package/out/{src/concepts → concepts}/SqlQueryComponent__.js +0 -0
- package/out/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/{src/concepts → concepts}/Start__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Start__.js +0 -0
- package/out/concepts/Start__.js.map +1 -0
- package/out/{src/concepts → concepts}/StringLiteral__.d.ts +0 -0
- package/out/{src/concepts → concepts}/StringLiteral__.js +0 -0
- package/out/concepts/StringLiteral__.js.map +1 -0
- package/out/{src/concepts → concepts}/StructureProperty__.d.ts +0 -0
- package/out/{src/concepts → concepts}/StructureProperty__.js +0 -0
- package/out/concepts/StructureProperty__.js.map +1 -0
- package/out/{src/concepts → concepts}/Structure__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Structure__.js +0 -0
- package/out/concepts/Structure__.js.map +1 -0
- package/out/{src/concepts → concepts}/SwitchCase__.d.ts +0 -0
- package/out/{src/concepts → concepts}/SwitchCase__.js +0 -0
- package/out/concepts/SwitchCase__.js.map +1 -0
- package/out/{src/concepts → concepts}/SwitchStatement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/SwitchStatement__.js +0 -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/{src/concepts → concepts}/TypeAnnotation__.js +0 -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/{src/concepts → concepts}/UnaryExpression__.d.ts +0 -0
- package/out/{src/concepts → concepts}/UnaryExpression__.js +0 -0
- package/out/concepts/UnaryExpression__.js.map +1 -0
- package/out/{src/concepts → concepts}/Unparsed__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Unparsed__.js +0 -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/{src/concepts → concepts}/ValidationRule__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ValidationRule__.js +0 -0
- package/out/concepts/ValidationRule__.js.map +1 -0
- package/out/{src/concepts → concepts}/Variable__.d.ts +0 -0
- package/out/{src/concepts → concepts}/Variable__.js +0 -0
- package/out/concepts/Variable__.js.map +1 -0
- package/out/{src/concepts → concepts}/ViewComponent__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ViewComponent__.js +0 -0
- package/out/concepts/ViewComponent__.js.map +1 -0
- package/out/{src/concepts → concepts}/ViewElement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/ViewElement__.js +0 -0
- package/out/concepts/ViewElement__.js.map +1 -0
- package/out/concepts/View__.d.ts +676 -0
- package/out/concepts/View__.js +1268 -0
- package/out/concepts/View__.js.map +1 -0
- package/out/{src/concepts → concepts}/WhileStatement__.d.ts +0 -0
- package/out/{src/concepts → concepts}/WhileStatement__.js +0 -0
- package/out/concepts/WhileStatement__.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/index.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/index.js +0 -0
- package/out/concepts/basics/stdlib/index.js.map +1 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.collection.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.collection.js +0 -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/{src/concepts → concepts}/basics/stdlib/nasl.ui.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/stdlib/nasl.ui.js +0 -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/{src/concepts → concepts}/basics/stdlib/nasl.util.js +0 -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/{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/{src/concepts → concepts}/basics/types/index.d.ts +0 -0
- package/out/{src/concepts → concepts}/basics/types/index.js +0 -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/{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/{src/config.d.ts → config.d.ts} +0 -0
- package/out/{src/config.js → config.js} +0 -0
- package/out/config.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/{src/generator → generator}/compileComponent.d.ts +0 -0
- package/out/{src/generator → generator}/compileComponent.js +0 -0
- package/out/generator/compileComponent.js.map +1 -0
- package/out/{src/generator → generator}/genBundleFiles.d.ts +0 -0
- package/out/{src/generator → generator}/genBundleFiles.js +0 -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/index.d.ts +4 -2
- package/out/generator/index.js +9 -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 +35 -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/{src/server → server}/entity2LogicNamespace.d.ts +0 -0
- package/out/{src/server → server}/entity2LogicNamespace.js +0 -0
- package/out/server/entity2LogicNamespace.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/{src/server → server}/getInterfaces.js +0 -0
- package/out/server/getInterfaces.js.map +1 -0
- package/out/server/getLogics.d.ts +3 -0
- package/out/server/getLogics.js +112 -0
- package/out/server/getLogics.js.map +1 -0
- package/out/server/getMemberIdentifier.d.ts +6 -0
- package/out/server/getMemberIdentifier.js +134 -0
- package/out/server/getMemberIdentifier.js.map +1 -0
- package/out/{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/{src/server → server}/getProcesses.d.ts +0 -0
- package/out/{src/server → server}/getProcesses.js +0 -0
- package/out/server/getProcesses.js.map +1 -0
- package/out/{src/server → server}/getValidates.d.ts +0 -0
- package/out/{src/server → server}/getValidates.js +0 -0
- package/out/server/getValidates.js.map +1 -0
- package/out/{src/server → server}/index.d.ts +0 -0
- package/out/server/index.js +27 -0
- package/out/server/index.js.map +1 -0
- package/out/server/naslServer.d.ts +141 -0
- package/out/server/naslServer.js +1141 -0
- package/out/server/naslServer.js.map +1 -0
- package/out/{src/server → server}/process2LogicNamespace.d.ts +0 -0
- package/out/{src/server → server}/process2LogicNamespace.js +0 -0
- package/out/server/process2LogicNamespace.js.map +1 -0
- package/out/{src/server → server}/translator.d.ts +0 -0
- package/out/{src/server → server}/translator.js +0 -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/{src/service → service}/storage/init.d.ts +0 -0
- package/out/{src/service → service}/storage/init.js +0 -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/{src/templator → templator}/genCallComponentLogic.js +0 -0
- package/out/templator/genCallComponentLogic.js.map +1 -0
- package/out/{src/templator → templator}/genCreateBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genCreateBlock.js +0 -0
- package/out/templator/genCreateBlock.js.map +1 -0
- package/out/{src/templator → templator}/genCurdEditMultipleKeyBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genCurdEditMultipleKeyBlock.js +0 -0
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/{src/templator → templator}/genCurdMultipleKeyBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genCurdMultipleKeyBlock.js +0 -0
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/{src/templator → templator}/genEditTableBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genEditTableBlock.js +0 -0
- package/out/templator/genEditTableBlock.js.map +1 -0
- package/out/{src/templator → templator}/genEnumSelectBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genEnumSelectBlock.js +0 -0
- package/out/templator/genEnumSelectBlock.js.map +1 -0
- package/out/{src/templator → templator}/genGetBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genGetBlock.js +0 -0
- package/out/templator/genGetBlock.js.map +1 -0
- package/out/{src/templator → templator}/genGridViewBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genGridViewBlock.js +0 -0
- package/out/templator/genGridViewBlock.js.map +1 -0
- package/out/{src/templator → templator}/genListViewBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genListViewBlock.js +0 -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/{src/templator → templator}/genSelectBlock.js +0 -0
- package/out/templator/genSelectBlock.js.map +1 -0
- package/out/{src/templator → templator}/genTableBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genTableBlock.js +0 -0
- package/out/templator/genTableBlock.js.map +1 -0
- package/out/{src/templator → templator}/genUpdateBlock.d.ts +0 -0
- package/out/{src/templator → templator}/genUpdateBlock.js +0 -0
- package/out/templator/genUpdateBlock.js.map +1 -0
- package/out/{src/templator → templator}/index.d.ts +0 -0
- package/out/{src/templator → templator}/index.js +0 -0
- package/out/templator/index.js.map +1 -0
- package/out/{src/templator → templator}/utils.d.ts +0 -0
- package/out/{src/templator → templator}/utils.js +0 -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/{src/types/utils → utils}/traverse.d.ts +0 -0
- package/out/{src/types/utils → utils}/traverse.js +0 -0
- package/out/utils/traverse.js.map +1 -0
- package/package.json +2 -1
- package/src/automate/engine/index.js +104 -24
- package/src/automate/engine/utils.js +1 -1
- package/src/bak/translator.js +131 -0
- package/src/concepts/CompletionProperty__.ts +5 -0
- package/src/concepts/View__.ts +93 -113
- package/src/server/getLogics.ts +40 -13
- package/src/server/getMemberIdentifier.ts +44 -11
- package/src/server/index.ts +2 -1
- package/src/server/naslServer.ts +20 -0
- 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.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.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__.js.map +0 -1
- package/out/src/concepts/Argument__.js.map +0 -1
- package/out/src/concepts/Assignment__.js.map +0 -1
- package/out/src/concepts/Attribute__.js.map +0 -1
- package/out/src/concepts/BinaryExpression__.js.map +0 -1
- package/out/src/concepts/BindAttribute__.js.map +0 -1
- package/out/src/concepts/BindDirective__.js.map +0 -1
- package/out/src/concepts/BindEvent__.js.map +0 -1
- package/out/src/concepts/BooleanLiteral__.js.map +0 -1
- package/out/src/concepts/CallFunction__.js.map +0 -1
- package/out/src/concepts/CallInterface__.js.map +0 -1
- package/out/src/concepts/CallLogic__.js.map +0 -1
- package/out/src/concepts/CallQueryComponent__.js.map +0 -1
- 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__.js.map +0 -1
- package/out/src/concepts/DataElement__.js.map +0 -1
- package/out/src/concepts/Destination__.js.map +0 -1
- package/out/src/concepts/End__.js.map +0 -1
- package/out/src/concepts/EntityIndex__.js.map +0 -1
- package/out/src/concepts/EntityProperty__.js.map +0 -1
- package/out/src/concepts/Entity__.js.map +0 -1
- package/out/src/concepts/EnumItem__.js.map +0 -1
- package/out/src/concepts/Enum__.js.map +0 -1
- package/out/src/concepts/Event__.js.map +0 -1
- package/out/src/concepts/ForEachStatement__.js.map +0 -1
- package/out/src/concepts/Function__.js.map +0 -1
- package/out/src/concepts/Identifier__.js.map +0 -1
- package/out/src/concepts/IfStatement__.js.map +0 -1
- package/out/src/concepts/InterfaceParam__.js.map +0 -1
- package/out/src/concepts/Interface__.js.map +0 -1
- package/out/src/concepts/JSBlock__.js.map +0 -1
- package/out/src/concepts/LogicItem__.js.map +0 -1
- package/out/src/concepts/Logic__.js.map +0 -1
- package/out/src/concepts/MemberExpression__.js.map +0 -1
- package/out/src/concepts/Module__.js.map +0 -1
- package/out/src/concepts/Namespace__.js.map +0 -1
- package/out/src/concepts/NullLiteral__.js.map +0 -1
- package/out/src/concepts/NumericLiteral__.js.map +0 -1
- package/out/src/concepts/Param__.js.map +0 -1
- package/out/src/concepts/Point__.js.map +0 -1
- package/out/src/concepts/ProcessComponent__.js.map +0 -1
- package/out/src/concepts/ProcessElement__.js.map +0 -1
- package/out/src/concepts/ProcessOutcome__.js.map +0 -1
- package/out/src/concepts/Process__.js.map +0 -1
- package/out/src/concepts/QueryAggregateExpression__.js.map +0 -1
- package/out/src/concepts/QueryFieldExpression__.js.map +0 -1
- package/out/src/concepts/QueryFromExpression__.js.map +0 -1
- package/out/src/concepts/QueryGroupByExpression__.js.map +0 -1
- package/out/src/concepts/QueryJoinExpression__.js.map +0 -1
- package/out/src/concepts/QueryLimitExpression__.js.map +0 -1
- package/out/src/concepts/QueryOrderByExpression__.js.map +0 -1
- package/out/src/concepts/QuerySelectExpression__.js.map +0 -1
- package/out/src/concepts/Rect__.js.map +0 -1
- package/out/src/concepts/Return__.js.map +0 -1
- package/out/src/concepts/Role__.js.map +0 -1
- package/out/src/concepts/Slot__.js.map +0 -1
- package/out/src/concepts/SqlQueryComponent__.js.map +0 -1
- package/out/src/concepts/Start__.js.map +0 -1
- package/out/src/concepts/StringLiteral__.js.map +0 -1
- package/out/src/concepts/StructureProperty__.js.map +0 -1
- package/out/src/concepts/Structure__.js.map +0 -1
- package/out/src/concepts/SwitchCase__.js.map +0 -1
- 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.map +0 -1
- package/out/src/concepts/TypeParam__.js.map +0 -1
- package/out/src/concepts/UnaryExpression__.js.map +0 -1
- package/out/src/concepts/Unparsed__.js.map +0 -1
- package/out/src/concepts/UseComponent__.js.map +0 -1
- package/out/src/concepts/ValidationRule__.js.map +0 -1
- package/out/src/concepts/Variable__.js.map +0 -1
- package/out/src/concepts/ViewComponent__.js.map +0 -1
- 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__.js.map +0 -1
- package/out/src/concepts/basics/stdlib/index.js.map +0 -1
- 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.js.map +0 -1
- 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.js.map +0 -1
- package/out/src/concepts/index.js.map +0 -1
- package/out/src/concepts/index__.js.map +0 -1
- package/out/src/config.js.map +0 -1
- package/out/src/decorators/index.js.map +0 -1
- 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.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.js.map +0 -1
- package/out/src/server/getFunctions.js.map +0 -1
- 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.js.map +0 -1
- 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.js.map +0 -1
- 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.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.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.map +0 -1
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +0 -1
- package/out/src/templator/genEditTableBlock.js.map +0 -1
- package/out/src/templator/genEnumSelectBlock.js.map +0 -1
- package/out/src/templator/genGetBlock.js.map +0 -1
- package/out/src/templator/genGridViewBlock.js.map +0 -1
- package/out/src/templator/genListViewBlock.js.map +0 -1
- package/out/src/templator/genQueryComponent.js.map +0 -1
- package/out/src/templator/genSelectBlock.js.map +0 -1
- package/out/src/templator/genTableBlock.js.map +0 -1
- package/out/src/templator/genUpdateBlock.js.map +0 -1
- package/out/src/templator/index.js.map +0 -1
- 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.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
|
@@ -1,1418 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
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;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.Element = exports.catchFn = void 0;
|
|
29
|
-
const decorators_1 = require("../decorators");
|
|
30
|
-
const __1 = require("..");
|
|
31
|
-
const compiler = __importStar(require("vue-template-compiler"));
|
|
32
|
-
const json5 = __importStar(require("json5"));
|
|
33
|
-
const page_1 = require("../../service/page");
|
|
34
|
-
const cacheData_1 = require("../cacheData");
|
|
35
|
-
const babelParser = __importStar(require("@babel/parser"));
|
|
36
|
-
const lodash_1 = require("lodash");
|
|
37
|
-
const cache_1 = require("../cache");
|
|
38
|
-
const enum_1 = require("../enum");
|
|
39
|
-
function catchFn(view) {
|
|
40
|
-
return async (err) => {
|
|
41
|
-
if (err.code !== enum_1.BusinessCode.HasReferenced) // 节点被引用,不用刷新数据
|
|
42
|
-
await cache_1.refreshHtml(view);
|
|
43
|
-
else
|
|
44
|
-
__1.config.defaultApp?.emit('saved', err);
|
|
45
|
-
__1.config.defaultApp?.history.load();
|
|
46
|
-
throw err;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.catchFn = catchFn;
|
|
50
|
-
/**
|
|
51
|
-
* 前端页面元素
|
|
52
|
-
* @example
|
|
53
|
-
* <u-input size="small" v-model="value" @change="onChange"></u-input>
|
|
54
|
-
*/
|
|
55
|
-
class Element extends __1.Vertex {
|
|
56
|
-
/**
|
|
57
|
-
* @param source 需要合并的部分参数
|
|
58
|
-
*/
|
|
59
|
-
constructor(source) {
|
|
60
|
-
super();
|
|
61
|
-
/**
|
|
62
|
-
* 概念类型
|
|
63
|
-
*/
|
|
64
|
-
this.level = __1.LEVEL_ENUM.element;
|
|
65
|
-
/**
|
|
66
|
-
* 元素类型
|
|
67
|
-
* 去除了 expression 和 text,目前只有一种节点类型
|
|
68
|
-
*/
|
|
69
|
-
this.type = 0;
|
|
70
|
-
/**
|
|
71
|
-
* 元素 Id
|
|
72
|
-
*/
|
|
73
|
-
this.id = undefined;
|
|
74
|
-
/**
|
|
75
|
-
* 元素标签
|
|
76
|
-
*/
|
|
77
|
-
this.tag = undefined;
|
|
78
|
-
/**
|
|
79
|
-
* 元素名称
|
|
80
|
-
* 用户可以自定义
|
|
81
|
-
* Vue 中的 ref
|
|
82
|
-
*/
|
|
83
|
-
this.name = undefined;
|
|
84
|
-
/*
|
|
85
|
-
* 描述信息
|
|
86
|
-
*/
|
|
87
|
-
this.description = undefined;
|
|
88
|
-
/**
|
|
89
|
-
* 属性列表
|
|
90
|
-
* 和原来的 attrsList 不同,注意区分
|
|
91
|
-
*/
|
|
92
|
-
this.attrList = [];
|
|
93
|
-
/**
|
|
94
|
-
* 事件列表
|
|
95
|
-
*/
|
|
96
|
-
this.eventList = [];
|
|
97
|
-
/**
|
|
98
|
-
* 指令列表
|
|
99
|
-
*/
|
|
100
|
-
this.directiveList = [];
|
|
101
|
-
/**
|
|
102
|
-
* 插槽目标
|
|
103
|
-
* @example
|
|
104
|
-
* 'cell'
|
|
105
|
-
*/
|
|
106
|
-
this.slotTarget = undefined;
|
|
107
|
-
/**
|
|
108
|
-
* 插槽 scope 表达式
|
|
109
|
-
* @example
|
|
110
|
-
* 'scope'
|
|
111
|
-
*/
|
|
112
|
-
this.slotScope = undefined;
|
|
113
|
-
/**
|
|
114
|
-
* 静态 class 名
|
|
115
|
-
* 不计划支持动态 class
|
|
116
|
-
*/
|
|
117
|
-
this.staticClass = undefined;
|
|
118
|
-
/**
|
|
119
|
-
* 静态 style
|
|
120
|
-
* 不计划支持动态样式
|
|
121
|
-
*/
|
|
122
|
-
this.staticStyle = undefined;
|
|
123
|
-
/**
|
|
124
|
-
* 当前节点路径,只在前端动态计算后使用
|
|
125
|
-
*/
|
|
126
|
-
this.nodePath = undefined;
|
|
127
|
-
/**
|
|
128
|
-
* 所在父元素 Id
|
|
129
|
-
*/
|
|
130
|
-
this.parentId = undefined;
|
|
131
|
-
/**
|
|
132
|
-
* 所在位置
|
|
133
|
-
*/
|
|
134
|
-
this._posIndex = undefined;
|
|
135
|
-
/**
|
|
136
|
-
* 所在父元素
|
|
137
|
-
*/
|
|
138
|
-
this.parent = undefined;
|
|
139
|
-
/**
|
|
140
|
-
* 所在父元素 Id
|
|
141
|
-
*/
|
|
142
|
-
this.viewId = undefined;
|
|
143
|
-
/**
|
|
144
|
-
* 所在子页面
|
|
145
|
-
*/
|
|
146
|
-
this.view = undefined;
|
|
147
|
-
/**
|
|
148
|
-
* 子元素
|
|
149
|
-
*/
|
|
150
|
-
this.children = [];
|
|
151
|
-
source && this.assign(source);
|
|
152
|
-
}
|
|
153
|
-
assign(source) {
|
|
154
|
-
['attrList', 'eventList', 'directiveList', 'children'].forEach((key) => {
|
|
155
|
-
if (source[key] === null)
|
|
156
|
-
delete source[key];
|
|
157
|
-
});
|
|
158
|
-
super.assign(source);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* 添加元素
|
|
162
|
-
*/
|
|
163
|
-
async create(none, actionOptions) {
|
|
164
|
-
if (actionOptions?.actionMode === __1.ACTION_MODE.local) {
|
|
165
|
-
this.view && this.view.emit('local-change');
|
|
166
|
-
return this;
|
|
167
|
-
}
|
|
168
|
-
__1.config.defaultApp?.emit('saving');
|
|
169
|
-
if (actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo) {
|
|
170
|
-
const body = this.toJSON();
|
|
171
|
-
body.parentId = this.parent && this.parent.id;
|
|
172
|
-
body._posIndex = this.parent && this.parent.children.indexOf(this);
|
|
173
|
-
__1.utils.logger.debug('添加元素', body);
|
|
174
|
-
const result = await page_1.elementService.create({
|
|
175
|
-
headers: {
|
|
176
|
-
appId: __1.config.defaultApp?.id,
|
|
177
|
-
operationAction: 'Element.create',
|
|
178
|
-
operationDesc: `添加组件"${this.getElementTitle()}"`,
|
|
179
|
-
},
|
|
180
|
-
body,
|
|
181
|
-
}).catch(catchFn(this.view));
|
|
182
|
-
this.deepPick(result, ['id', 'parentId', 'elementId']);
|
|
183
|
-
// attr,directive,event的id,expression需要合并
|
|
184
|
-
this.attrList.forEach((attr, index) => {
|
|
185
|
-
attr.deepPick(result.attrList[index], ['id', 'expression']);
|
|
186
|
-
});
|
|
187
|
-
this.directiveList.forEach((directive, index) => {
|
|
188
|
-
directive.deepPick(result.directiveList[index], ['id', 'expression']);
|
|
189
|
-
});
|
|
190
|
-
this.eventList.forEach((event, index) => {
|
|
191
|
-
event.deepPick(result.eventList[index], ['id']);
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
this.view && this.view.emit('change');
|
|
195
|
-
if (actionOptions?.loadHistory !== false) {
|
|
196
|
-
await __1.config.defaultApp?.history.load(actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo && {
|
|
197
|
-
operationAction: 'Element.create',
|
|
198
|
-
operationBeforeImage: null,
|
|
199
|
-
operationAfterImage: JSON.parse(JSON.stringify(this)),
|
|
200
|
-
operationDesc: `添加组件"${this.getElementTitle()}"`,
|
|
201
|
-
});
|
|
202
|
-
__1.config.defaultApp?.emit('saved');
|
|
203
|
-
}
|
|
204
|
-
return this;
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* 删除元素
|
|
208
|
-
*/
|
|
209
|
-
async delete(none, actionOptions) {
|
|
210
|
-
if (actionOptions?.actionMode === __1.ACTION_MODE.local) {
|
|
211
|
-
const index = this.parent.children.indexOf(this);
|
|
212
|
-
~index && this.parent.children.splice(index, 1);
|
|
213
|
-
this.deepRemoveElementsName();
|
|
214
|
-
this.view && this.view.emit('local-change');
|
|
215
|
-
return this;
|
|
216
|
-
}
|
|
217
|
-
__1.config.defaultApp?.emit('saving');
|
|
218
|
-
if (!this.parent)
|
|
219
|
-
throw Error('该元素为根节点!');
|
|
220
|
-
if (actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo) {
|
|
221
|
-
if (this.id) {
|
|
222
|
-
await page_1.elementService.delete({
|
|
223
|
-
headers: {
|
|
224
|
-
appId: __1.config.defaultApp?.id,
|
|
225
|
-
operationAction: 'Element.delete',
|
|
226
|
-
operationDesc: `删除组件"${this.getElementTitle()}"`,
|
|
227
|
-
},
|
|
228
|
-
query: {
|
|
229
|
-
id: this.id,
|
|
230
|
-
},
|
|
231
|
-
}).catch(catchFn(this.view));
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
const index = this.parent.children.indexOf(this);
|
|
235
|
-
~index && this.parent.children.splice(index, 1);
|
|
236
|
-
// 递归删除组件名的缓存
|
|
237
|
-
this.deepRemoveElementsName();
|
|
238
|
-
this.destroy();
|
|
239
|
-
this.view && this.view.emit('change');
|
|
240
|
-
if (actionOptions?.loadHistory !== false) {
|
|
241
|
-
await __1.config.defaultApp?.history.load(actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo && {
|
|
242
|
-
operationAction: 'Element.delete',
|
|
243
|
-
operationBeforeImage: JSON.parse(JSON.stringify(this)),
|
|
244
|
-
operationAfterImage: null,
|
|
245
|
-
operationDesc: `删除组件"${this.getElementTitle()}"`,
|
|
246
|
-
});
|
|
247
|
-
__1.config.defaultApp?.emit('saved');
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* 修改元素
|
|
252
|
-
*/
|
|
253
|
-
async update(source, actionOptions) {
|
|
254
|
-
__1.config.defaultApp?.emit('saving');
|
|
255
|
-
source && this.assign(source);
|
|
256
|
-
if (actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo) {
|
|
257
|
-
const body = this.toPlainJSON();
|
|
258
|
-
__1.utils.logger.debug('修改组件', body);
|
|
259
|
-
await page_1.elementService.update({
|
|
260
|
-
headers: {
|
|
261
|
-
appId: __1.config.defaultApp?.id,
|
|
262
|
-
operationAction: actionOptions?.actionName || 'Element.update',
|
|
263
|
-
operationDesc: actionOptions?.actionDesc || `修改组件"${this.getElementTitle()}"`,
|
|
264
|
-
},
|
|
265
|
-
body,
|
|
266
|
-
}).catch(catchFn(this.view));
|
|
267
|
-
}
|
|
268
|
-
this.view && this.view.emit('change');
|
|
269
|
-
await __1.config.defaultApp?.history.load(actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo && {
|
|
270
|
-
operationAction: 'Element.update',
|
|
271
|
-
operationBeforeImage: null,
|
|
272
|
-
operationAfterImage: null,
|
|
273
|
-
operationDesc: `修改组件"${this.getElementTitle()}"`,
|
|
274
|
-
});
|
|
275
|
-
__1.config.defaultApp?.emit('saved');
|
|
276
|
-
return this;
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* 按当前 id 加载逻辑数据
|
|
280
|
-
*/
|
|
281
|
-
async load() {
|
|
282
|
-
if (!this.id)
|
|
283
|
-
return;
|
|
284
|
-
const result = await page_1.elementService.load({
|
|
285
|
-
headers: {
|
|
286
|
-
appId: __1.config.defaultApp?.id,
|
|
287
|
-
},
|
|
288
|
-
query: {
|
|
289
|
-
id: this.id,
|
|
290
|
-
},
|
|
291
|
-
config: { noErrorTip: true },
|
|
292
|
-
});
|
|
293
|
-
const newElement = Element.from(result, this.parent, this.view);
|
|
294
|
-
this.assign(newElement);
|
|
295
|
-
}
|
|
296
|
-
async move(options, actionOptions) {
|
|
297
|
-
try {
|
|
298
|
-
if (!options.parentId)
|
|
299
|
-
return;
|
|
300
|
-
__1.config.defaultApp?.emit('element.moving');
|
|
301
|
-
const index = this.parent.children.indexOf(this);
|
|
302
|
-
~index && this.parent.children.splice(index, 1);
|
|
303
|
-
const parent = cacheData_1.vertexsMap.get(options.parentId);
|
|
304
|
-
parent.children.splice(options._posIndex, 0, this);
|
|
305
|
-
this.assign({
|
|
306
|
-
parent,
|
|
307
|
-
parentId: options.parentId,
|
|
308
|
-
_posIndex: options._posIndex,
|
|
309
|
-
});
|
|
310
|
-
if (actionOptions?.actionMode !== __1.ACTION_MODE.undoRedo) {
|
|
311
|
-
await this.update(undefined, {
|
|
312
|
-
actionName: 'Element.move',
|
|
313
|
-
actionDesc: `移动组件"${this.getElementTitle()}"`,
|
|
314
|
-
});
|
|
315
|
-
this.view.attachNodePath();
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
this.view.attachNodePath();
|
|
319
|
-
this.view && this.view.emit('change');
|
|
320
|
-
await __1.config.defaultApp?.history.load();
|
|
321
|
-
}
|
|
322
|
-
__1.config.defaultApp?.emit('element.moved');
|
|
323
|
-
__1.config.defaultApp?.emit('saved');
|
|
324
|
-
}
|
|
325
|
-
catch (err) {
|
|
326
|
-
if (this.view) {
|
|
327
|
-
await this.view.load();
|
|
328
|
-
this.view.emit('change');
|
|
329
|
-
}
|
|
330
|
-
__1.config.defaultApp?.emit('saved', {
|
|
331
|
-
action: 'move',
|
|
332
|
-
err,
|
|
333
|
-
});
|
|
334
|
-
throw err;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
/**
|
|
338
|
-
* 添加元素副本
|
|
339
|
-
* 在所在父节点的后面添加一个相同的元素
|
|
340
|
-
*/
|
|
341
|
-
async duplicate() {
|
|
342
|
-
const code = this.toVue();
|
|
343
|
-
const index = this.parent.children.indexOf(this);
|
|
344
|
-
const newNode = Element.fromHTML(code, this.parent, this.view);
|
|
345
|
-
// 复制的元素需重新命名
|
|
346
|
-
newNode.deepRenameElements();
|
|
347
|
-
const mergeExpression = (originList, newList) => {
|
|
348
|
-
newList.forEach((item) => {
|
|
349
|
-
const originItem = originList.find((originItem) => originItem.name === item.name);
|
|
350
|
-
if (originItem && originItem.expression) {
|
|
351
|
-
// item.expression可能为空
|
|
352
|
-
const expression = lodash_1.cloneDeep(originItem.expression);
|
|
353
|
-
Object.assign(item, { expression, value: '' });
|
|
354
|
-
Object.assign(item.expression, { id: '' });
|
|
355
|
-
__1.utils.traverse((current) => {
|
|
356
|
-
delete current.node.editable;
|
|
357
|
-
delete current.node.index;
|
|
358
|
-
delete current.node.parentAttr;
|
|
359
|
-
delete current.node.parentId;
|
|
360
|
-
delete current.node.id;
|
|
361
|
-
}, { node: item.expression }, { mode: 'anyObject' });
|
|
362
|
-
}
|
|
363
|
-
});
|
|
364
|
-
};
|
|
365
|
-
// 遍历合并
|
|
366
|
-
const traverseMergeNode = (origiNode, newNode) => {
|
|
367
|
-
const originalStack = [];
|
|
368
|
-
const newStack = [];
|
|
369
|
-
originalStack.push(origiNode);
|
|
370
|
-
newStack.push(newNode);
|
|
371
|
-
let originalTempNode;
|
|
372
|
-
let newTempNode;
|
|
373
|
-
while (originalStack.length) {
|
|
374
|
-
originalTempNode = originalStack.pop();
|
|
375
|
-
newTempNode = newStack.pop();
|
|
376
|
-
if (newTempNode) {
|
|
377
|
-
mergeExpression(originalTempNode.attrList, newTempNode.attrList);
|
|
378
|
-
mergeExpression(originalTempNode.directiveList, newTempNode.directiveList);
|
|
379
|
-
newTempNode.eventList.forEach((event) => {
|
|
380
|
-
const originEvent = originalTempNode.eventList.find((eventTemp) => eventTemp.name === event.name);
|
|
381
|
-
if (originEvent) {
|
|
382
|
-
Object.assign(event, {
|
|
383
|
-
logicId: originEvent.logicId,
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
});
|
|
387
|
-
if (originalTempNode.children.length) {
|
|
388
|
-
for (let i = originalTempNode.children.length - 1; i >= 0; i--) {
|
|
389
|
-
originalStack.push(originalTempNode.children[i]);
|
|
390
|
-
newStack.push(newTempNode.children[i]);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
const arrayComp = this.findElementsByTag('u-modal');
|
|
397
|
-
const existingNames = Object.values(lodash_1.mapValues(arrayComp, (o) => o.name));
|
|
398
|
-
// 处理弹窗组件的命名问题
|
|
399
|
-
if (newNode.tag === 'u-modal') {
|
|
400
|
-
Object.assign(newNode, {
|
|
401
|
-
name: __1.utils.unique('saveModal1', existingNames),
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
traverseMergeNode(this, newNode);
|
|
405
|
-
~index && this.parent.children.splice(index + 1, 0, newNode);
|
|
406
|
-
this.parent.children.forEach((item, index) => {
|
|
407
|
-
item._posIndex = index;
|
|
408
|
-
});
|
|
409
|
-
try {
|
|
410
|
-
await newNode.create();
|
|
411
|
-
}
|
|
412
|
-
catch {
|
|
413
|
-
~index && this.parent.children.splice(index + 1, 1);
|
|
414
|
-
this.parent.children.forEach((item, index) => {
|
|
415
|
-
item._posIndex = index;
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* 添加子元素
|
|
421
|
-
* @param child
|
|
422
|
-
*/
|
|
423
|
-
addChild(child, actionOptions) {
|
|
424
|
-
if (typeof child === 'string') {
|
|
425
|
-
child = Element.fromHTML(child, this, this.view);
|
|
426
|
-
}
|
|
427
|
-
if (lodash_1.isPlainObject(child)) {
|
|
428
|
-
child = Element.from(child, this, this.view);
|
|
429
|
-
}
|
|
430
|
-
if (!this.children.includes(child)) {
|
|
431
|
-
const index = child._posIndex === undefined ? this.children.length : child._posIndex;
|
|
432
|
-
this.children.splice(index, 0, child);
|
|
433
|
-
}
|
|
434
|
-
return child.create(undefined, actionOptions);
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
* 删除子元素
|
|
438
|
-
* @param child
|
|
439
|
-
*/
|
|
440
|
-
removeChild(child, actionOptions) {
|
|
441
|
-
if (lodash_1.isPlainObject(child)) {
|
|
442
|
-
child = this.children.find((item) => item.id === child.id);
|
|
443
|
-
}
|
|
444
|
-
return child.delete(undefined, actionOptions);
|
|
445
|
-
}
|
|
446
|
-
getElementTitle() {
|
|
447
|
-
const currentNode = __1.config.allNodesAPI?.[this.tag];
|
|
448
|
-
return currentNode?.title || this.tag;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* 设置组件名称
|
|
452
|
-
*/
|
|
453
|
-
async setName(name) {
|
|
454
|
-
const oldName = this.name;
|
|
455
|
-
this.assign({ name });
|
|
456
|
-
await this.update(undefined, {
|
|
457
|
-
actionDesc: `设置组件"${this.getElementTitle()}"的名称为"${name}"`,
|
|
458
|
-
});
|
|
459
|
-
if (!window.globalData.hasUserCenter) {
|
|
460
|
-
// 同步权限
|
|
461
|
-
new __1.Nuims({
|
|
462
|
-
domainName: this.view.page.service.app.name,
|
|
463
|
-
element: this,
|
|
464
|
-
}).editResourceFromResourceValue(oldName ? `${this.view.tempPath}/${oldName}` : null);
|
|
465
|
-
}
|
|
466
|
-
this.view && this.view.emit('change');
|
|
467
|
-
if (this.view && this.view.page && this.view.page.service) {
|
|
468
|
-
this.view.page.service.emit('vertexIdToNameChange', this.id, this.name);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
* 更新描述信息
|
|
473
|
-
* @param description
|
|
474
|
-
*/
|
|
475
|
-
async setDescription(description) {
|
|
476
|
-
this.assign({ description });
|
|
477
|
-
await this.update(undefined, {
|
|
478
|
-
actionDesc: `设置组件"${this.getElementTitle()}"的描述为"${description}"`,
|
|
479
|
-
});
|
|
480
|
-
this.view && this.view.emit('change');
|
|
481
|
-
if (this.view && this.view.page && this.view.page.service) {
|
|
482
|
-
this.view.page.service.emit('vertexIdToNameChange', this.id, this.name);
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* 添加组件属性
|
|
487
|
-
*/
|
|
488
|
-
async addAttr(attr, actionOptions) {
|
|
489
|
-
if (lodash_1.isPlainObject(attr)) {
|
|
490
|
-
attr = __1.Attr.from(attr, this);
|
|
491
|
-
}
|
|
492
|
-
if (!this.attrList.includes(attr))
|
|
493
|
-
this.attrList.push(attr);
|
|
494
|
-
await attr.create(undefined, Object.assign({
|
|
495
|
-
actionDesc: `添加组件"${this.getElementTitle()}"属性"${attr.name}"`,
|
|
496
|
-
}, actionOptions));
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* 删除组件属性
|
|
500
|
-
*/
|
|
501
|
-
async deleteAttr(attr, actionOptions) {
|
|
502
|
-
if (!attr)
|
|
503
|
-
throw Error(`该组件"${this.getElementTitle()}"没有属性"${attr.name}"`);
|
|
504
|
-
if (lodash_1.isPlainObject(attr))
|
|
505
|
-
attr = this.attrList.find((item) => item.id === attr.id);
|
|
506
|
-
await attr.delete(undefined, Object.assign({
|
|
507
|
-
actionDesc: `删除组件"${this.getElementTitle()}"属性"${attr.name}"`,
|
|
508
|
-
}, actionOptions));
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* 获取组件属性
|
|
512
|
-
*/
|
|
513
|
-
getAttr(name) {
|
|
514
|
-
return this.attrList.find((attr) => attr.name === name);
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* 设置组件属性
|
|
518
|
-
*/
|
|
519
|
-
async setAttr(name, type, value) {
|
|
520
|
-
let attr = this.getAttr(name);
|
|
521
|
-
//
|
|
522
|
-
if (value !== undefined) {
|
|
523
|
-
if (typeof value !== 'string')
|
|
524
|
-
value = JSON.stringify(value);
|
|
525
|
-
if (attr) {
|
|
526
|
-
attr.assign({
|
|
527
|
-
type,
|
|
528
|
-
value,
|
|
529
|
-
});
|
|
530
|
-
await attr.update(undefined, {
|
|
531
|
-
actionDesc: `设置组件"${this.getElementTitle()}"属性"${attr.name}"的值为"${attr.value}"`,
|
|
532
|
-
}).catch(catchFn(this.view));
|
|
533
|
-
}
|
|
534
|
-
else {
|
|
535
|
-
attr = __1.Attr.from({
|
|
536
|
-
name,
|
|
537
|
-
type,
|
|
538
|
-
value,
|
|
539
|
-
elementId: this.id,
|
|
540
|
-
}, this);
|
|
541
|
-
await attr.create(undefined, {
|
|
542
|
-
actionDesc: `设置组件"${this.getElementTitle()}"属性"${attr.name}"的值为"${attr.value}"`,
|
|
543
|
-
}).catch(catchFn(this.view));
|
|
544
|
-
this.attrList.push(attr);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
this.view && this.view.emit('change');
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* 添加组件事件
|
|
551
|
-
*/
|
|
552
|
-
async addEvent(data, actionOptions) {
|
|
553
|
-
// (data as any).element = this;
|
|
554
|
-
let event = new __1.Event(data);
|
|
555
|
-
await event.create(undefined, Object.assign({
|
|
556
|
-
actionDesc: `添加组件"${this.getElementTitle()}"事件"${event.name}"`,
|
|
557
|
-
}, actionOptions)).catch(catchFn(this.view));
|
|
558
|
-
event = __1.Event.from(event, this);
|
|
559
|
-
this.eventList.push(event);
|
|
560
|
-
this.view && this.view.emit('change');
|
|
561
|
-
await __1.config.defaultApp?.history.load();
|
|
562
|
-
__1.config.defaultApp?.emit('saved');
|
|
563
|
-
return event;
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* 删除组件属性
|
|
567
|
-
*/
|
|
568
|
-
async deleteEvent(event, actionOptions) {
|
|
569
|
-
if (!event)
|
|
570
|
-
throw Error(`该组件"${this.getElementTitle()}"没有事件"${event.name}"`);
|
|
571
|
-
if (lodash_1.isPlainObject(event))
|
|
572
|
-
event = this.eventList.find((item) => item.id === event.id);
|
|
573
|
-
await event.delete(undefined, Object.assign({
|
|
574
|
-
actionDesc: `删除组件"${this.getElementTitle()}"事件"${event.name}"`,
|
|
575
|
-
}, actionOptions)).catch(catchFn(this.view));
|
|
576
|
-
const index = this.eventList.indexOf(event);
|
|
577
|
-
~index && this.eventList.splice(index, 1);
|
|
578
|
-
this.view && this.view.emit('change');
|
|
579
|
-
await __1.config.defaultApp?.history.load();
|
|
580
|
-
__1.config.defaultApp?.emit('saved');
|
|
581
|
-
}
|
|
582
|
-
/**
|
|
583
|
-
* 添加组件指令
|
|
584
|
-
*/
|
|
585
|
-
async addDirective(data, actionOptions) {
|
|
586
|
-
// (data as any).element = this;
|
|
587
|
-
const directive = new __1.Directive(data);
|
|
588
|
-
await directive.create(undefined, Object.assign({
|
|
589
|
-
actionDesc: `添加组件"${this.getElementTitle()}"指令"${directive.name}"`,
|
|
590
|
-
}, actionOptions)).catch(catchFn(this.view));
|
|
591
|
-
this.directiveList.push(__1.Directive.from(directive, this));
|
|
592
|
-
this.view && this.view.emit('change');
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* 删除组件属性
|
|
596
|
-
*/
|
|
597
|
-
async deleteDirective(directive, actionOptions) {
|
|
598
|
-
if (!directive)
|
|
599
|
-
throw Error(`该组件"${this.getElementTitle()}"没有指令"${directive.name}"`);
|
|
600
|
-
if (lodash_1.isPlainObject(directive))
|
|
601
|
-
directive = this.directiveList.find((item) => item.id === directive.id);
|
|
602
|
-
await directive.delete(undefined, Object.assign({
|
|
603
|
-
actionDesc: `删除组件"${this.getElementTitle()}"属性"${directive.name}"`,
|
|
604
|
-
}, actionOptions)).catch(catchFn(this.view));
|
|
605
|
-
const index = this.directiveList.indexOf(directive);
|
|
606
|
-
~index && this.directiveList.splice(index, 1);
|
|
607
|
-
this.view && this.view.emit('change');
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* 转换成 Vue 的模板格式
|
|
611
|
-
*/
|
|
612
|
-
toVue(options) {
|
|
613
|
-
options = Object.assign({
|
|
614
|
-
indentStyle: 'space',
|
|
615
|
-
tabSize: 4,
|
|
616
|
-
indentLevel: 0,
|
|
617
|
-
aslIdAttr: false,
|
|
618
|
-
nodePathAttr: false,
|
|
619
|
-
getExtraParts: () => [],
|
|
620
|
-
attrFormat: (attr, element, defaultResult) => defaultResult,
|
|
621
|
-
}, options);
|
|
622
|
-
const tabString = ' '.repeat(options.tabSize * options.indentLevel);
|
|
623
|
-
const insideTabString = ' '.repeat(options.tabSize * (options.indentLevel + 1));
|
|
624
|
-
let shouldIndent = true;
|
|
625
|
-
const content = !this.children ? '' : this.children.map((element) => {
|
|
626
|
-
const childOptions = Object.assign({}, options);
|
|
627
|
-
childOptions.indentLevel++;
|
|
628
|
-
return (shouldIndent ? '\n' + insideTabString : '') + element.toVue(childOptions);
|
|
629
|
-
}).join('');
|
|
630
|
-
if (!content.length)
|
|
631
|
-
shouldIndent = false;
|
|
632
|
-
const parts = [];
|
|
633
|
-
if (options.aslIdAttr) {
|
|
634
|
-
if (options.aslIdAttr === true)
|
|
635
|
-
options.aslIdAttr = 'asl-id';
|
|
636
|
-
parts.push(`${options.aslIdAttr}="${this.id}"`);
|
|
637
|
-
}
|
|
638
|
-
if (options.nodePathAttr) {
|
|
639
|
-
// 注入 asl 的 node-path
|
|
640
|
-
parts.push(`vusion-node-path="${this.nodePath}"`);
|
|
641
|
-
}
|
|
642
|
-
this.slotTarget && parts.push(`#${this.slotTarget}` + (this.slotScope ? `="${this.slotScope}"` : ''));
|
|
643
|
-
this.name && parts.push(`ref="${this.name}"`);
|
|
644
|
-
this.staticClass && parts.push(`class="${this.staticClass}"`);
|
|
645
|
-
this.staticStyle && parts.push(`style="${this.staticStyle}"`);
|
|
646
|
-
const { finalCode } = options;
|
|
647
|
-
[].concat(this.attrList, this.directiveList, this.eventList)
|
|
648
|
-
.forEach((attr) => {
|
|
649
|
-
const result = options.attrFormat(attr, this, attr.toVue(this, finalCode));
|
|
650
|
-
result && parts.push(result);
|
|
651
|
-
});
|
|
652
|
-
options.getExtraParts(this).forEach((part) => parts.push(part));
|
|
653
|
-
let partsLength = 0;
|
|
654
|
-
let partsString = '';
|
|
655
|
-
parts.forEach((part) => {
|
|
656
|
-
if (partsLength >= 120 || part.length >= 120) {
|
|
657
|
-
partsString += '\n' + tabString + ' '.repeat(3); // ' '.repeat(el.tag.length + 1);
|
|
658
|
-
partsLength = 0;
|
|
659
|
-
}
|
|
660
|
-
partsString += ' ' + part;
|
|
661
|
-
partsLength += part.length;
|
|
662
|
-
});
|
|
663
|
-
return `<${this.tag}${partsString.length ? partsString : ''}>` + content + (shouldIndent ? '\n' + tabString : '') + `</${this.tag}>`;
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* 转换成设计器中使用的 Vue 文件
|
|
667
|
-
* @param options
|
|
668
|
-
*/
|
|
669
|
-
toDesignerVue(options) {
|
|
670
|
-
options = Object.assign({
|
|
671
|
-
nodePathAttr: true,
|
|
672
|
-
attrFormat: (attr, el, defaultResult) => {
|
|
673
|
-
if (attr.level === __1.LEVEL_ENUM.event || attr.level === __1.LEVEL_ENUM.directive)
|
|
674
|
-
return false;
|
|
675
|
-
if (attr.level === __1.LEVEL_ENUM.attr) {
|
|
676
|
-
const api = __1.config.allNodesAPI[el.tag];
|
|
677
|
-
const apiOfAttr = api && api.attrs && api.attrs.find((_attr) => _attr.name === attr.name);
|
|
678
|
-
if (apiOfAttr && apiOfAttr['designer-value'] !== undefined) {
|
|
679
|
-
let designerValue = apiOfAttr['designer-value'];
|
|
680
|
-
if (typeof designerValue === 'string') {
|
|
681
|
-
designerValue = designerValue.replace(/"/g, '\'');
|
|
682
|
-
}
|
|
683
|
-
try {
|
|
684
|
-
json5.parse(designerValue);
|
|
685
|
-
return `:${attr.name}="${designerValue}"`;
|
|
686
|
-
}
|
|
687
|
-
catch (e) {
|
|
688
|
-
return `${attr.name}="${designerValue}"`;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
if (attr.type === 'dynamic'
|
|
692
|
-
&& !(el.tag === 'u-cascade-select' && attr.name === 'categories'))
|
|
693
|
-
return defaultResult.replace(/:?(\w+)(?:.*?)="(.*)"/, (m, name, value) => {
|
|
694
|
-
try {
|
|
695
|
-
const tempValue = json5.parse(value);
|
|
696
|
-
if (typeof tempValue === 'boolean' || typeof tempValue === 'number') { // 简单类型走属性
|
|
697
|
-
return `:${name}="${value.replace(/"/g, '\'')}"`;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
catch (e) {
|
|
701
|
-
if (apiOfAttr && !apiOfAttr.type.includes('string'))
|
|
702
|
-
return '';
|
|
703
|
-
}
|
|
704
|
-
return `${name}="{{ ${value.replace(/"/g, '\'')} }}"`;
|
|
705
|
-
});
|
|
706
|
-
else
|
|
707
|
-
return defaultResult;
|
|
708
|
-
}
|
|
709
|
-
return false;
|
|
710
|
-
},
|
|
711
|
-
getExtraParts: (el) => {
|
|
712
|
-
const parts = [];
|
|
713
|
-
const api = __1.config.allNodesAPI[el.tag];
|
|
714
|
-
const emptySlot = api && api.slots && api.slots.find((slot) => slot.name === 'default' && slot['empty-background']);
|
|
715
|
-
if (!el.children.length && emptySlot) {
|
|
716
|
-
let addEmpty = true;
|
|
717
|
-
if (el.tag === 'u-grid-view'
|
|
718
|
-
|| el.tag === 'u-list-view'
|
|
719
|
-
|| el.tag === 'van-list-view') {
|
|
720
|
-
const hasDataSource = el.attrList.find((attr) => attr.name === 'data-source');
|
|
721
|
-
addEmpty = !hasDataSource;
|
|
722
|
-
}
|
|
723
|
-
addEmpty && parts.push(`vusion-empty-background="${emptySlot['empty-background']}"`);
|
|
724
|
-
}
|
|
725
|
-
return parts;
|
|
726
|
-
},
|
|
727
|
-
}, options);
|
|
728
|
-
return this.toVue(options);
|
|
729
|
-
}
|
|
730
|
-
/**
|
|
731
|
-
* 同 toVue 方法
|
|
732
|
-
* @param options 缩进等选项
|
|
733
|
-
*/
|
|
734
|
-
toHTML(options) {
|
|
735
|
-
return this.toVue(options);
|
|
736
|
-
}
|
|
737
|
-
/**
|
|
738
|
-
* 根据标签查找元素
|
|
739
|
-
* @param tag
|
|
740
|
-
*/
|
|
741
|
-
findElementByTag(tag) {
|
|
742
|
-
if (this.tag === tag)
|
|
743
|
-
return this;
|
|
744
|
-
else {
|
|
745
|
-
for (const child of this.children) {
|
|
746
|
-
const result = child.findElementByTag(tag);
|
|
747
|
-
if (result)
|
|
748
|
-
return result;
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* 根据属性查找元素
|
|
754
|
-
* @param name
|
|
755
|
-
* @param value
|
|
756
|
-
*/
|
|
757
|
-
findElementByAttr(name, value) {
|
|
758
|
-
if (this.attrList.find((attr) => attr.name === name && attr.value === value))
|
|
759
|
-
return this;
|
|
760
|
-
else {
|
|
761
|
-
for (const child of this.children) {
|
|
762
|
-
const result = child.findElementByAttr(name, value);
|
|
763
|
-
if (result)
|
|
764
|
-
return result;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
findElementsByTag(tag) {
|
|
769
|
-
let existingNames = [];
|
|
770
|
-
existingNames = this.findElementsByTagCurrent(tag, existingNames);
|
|
771
|
-
this.findElementsByTagInChildren(this.view.$html.children, tag, existingNames);
|
|
772
|
-
return existingNames;
|
|
773
|
-
}
|
|
774
|
-
findElementsByTagCurrent(tag, existingNames) {
|
|
775
|
-
if (this.tag === tag) {
|
|
776
|
-
existingNames.push(this);
|
|
777
|
-
}
|
|
778
|
-
return existingNames;
|
|
779
|
-
}
|
|
780
|
-
findElementsByTagInChildren(children, tag, existingNames) {
|
|
781
|
-
for (const child of children) {
|
|
782
|
-
const result = child.findElementByTag(tag);
|
|
783
|
-
if (child.children) {
|
|
784
|
-
this.findElementsByTagInChildren(child.children, tag, existingNames);
|
|
785
|
-
}
|
|
786
|
-
if (result) {
|
|
787
|
-
existingNames.push(result);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
// 初始化组件名
|
|
792
|
-
initElementName() {
|
|
793
|
-
if (Element.ignoreTag.includes(this.tag)) {
|
|
794
|
-
return;
|
|
795
|
-
}
|
|
796
|
-
const name = this.genElementName();
|
|
797
|
-
this.assign({ name });
|
|
798
|
-
this.view.addElementName(name);
|
|
799
|
-
}
|
|
800
|
-
// 生成新的组件名
|
|
801
|
-
genElementName() {
|
|
802
|
-
const compNameSet = this.view.elementNameSet;
|
|
803
|
-
const tagName = this.tag.replace(Element.TAG_NAME_PREFIX_REG, '').replace(/-/g, '_');
|
|
804
|
-
const componentName = __1.utils.unique(tagName + '1', compNameSet);
|
|
805
|
-
return componentName;
|
|
806
|
-
}
|
|
807
|
-
// 递归生成组件名
|
|
808
|
-
deepRenameElements() {
|
|
809
|
-
return this.traverseChildren((ele) => {
|
|
810
|
-
ele.initElementName();
|
|
811
|
-
});
|
|
812
|
-
}
|
|
813
|
-
// 递归删除组件名的缓存
|
|
814
|
-
deepRemoveElementsName() {
|
|
815
|
-
return this.traverseChildren((ele) => {
|
|
816
|
-
this.view.removeElementName(ele.name);
|
|
817
|
-
});
|
|
818
|
-
}
|
|
819
|
-
// 递归遍历组件
|
|
820
|
-
traverseChildren(cb) {
|
|
821
|
-
__1.utils.traverse((current) => {
|
|
822
|
-
cb(current.node);
|
|
823
|
-
}, { node: this });
|
|
824
|
-
}
|
|
825
|
-
/**
|
|
826
|
-
* 从 Vue 的 ASTNode 转换成 ASL 元素
|
|
827
|
-
* @param astNode Vue 的 ASTNode
|
|
828
|
-
*/
|
|
829
|
-
static _fromASTNode(astNode, context) {
|
|
830
|
-
// 临时处理组件的 text
|
|
831
|
-
//h5-mock
|
|
832
|
-
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)
|
|
833
|
-
&& astNode.children.length === 1 && astNode.children[0].type === 3) {
|
|
834
|
-
astNode.attrs = astNode.attrs || [];
|
|
835
|
-
astNode.attrs.push({ name: 'text', value: JSON.stringify(astNode.children[0].text) });
|
|
836
|
-
astNode.children = [];
|
|
837
|
-
}
|
|
838
|
-
// 将 scopedSlots 合并到 children 中
|
|
839
|
-
if (astNode.scopedSlots) {
|
|
840
|
-
astNode.children = astNode.children || [];
|
|
841
|
-
Object.keys(astNode.scopedSlots).forEach((key) => {
|
|
842
|
-
if (!astNode.children.find((child) => key === child.slotTarget))
|
|
843
|
-
astNode.children.unshift(astNode.scopedSlots[key]);
|
|
844
|
-
});
|
|
845
|
-
delete astNode.scopedSlots;
|
|
846
|
-
}
|
|
847
|
-
// 提示不支持的字段
|
|
848
|
-
[
|
|
849
|
-
'component', 'inlineTemplate', 'pre', 'ns',
|
|
850
|
-
'transition', 'transitionOnAppear', 'transitionMode',
|
|
851
|
-
'slotName', 'classBinding', 'styleBinding',
|
|
852
|
-
].forEach((key) => {
|
|
853
|
-
if (astNode[key])
|
|
854
|
-
console.warn(`[warn] Element NASL unsupports '${key}' field in node `, astNode);
|
|
855
|
-
});
|
|
856
|
-
let element;
|
|
857
|
-
if (astNode.type === 1) {
|
|
858
|
-
if (astNode.tag === 'router-view') {
|
|
859
|
-
if (__1.config.scope === 'h5') {
|
|
860
|
-
astNode.tag = 'van-router-view';
|
|
861
|
-
}
|
|
862
|
-
else {
|
|
863
|
-
astNode.tag = 'u-router-view';
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
element = new Element({
|
|
867
|
-
tag: astNode.tag,
|
|
868
|
-
name: astNode.attrsMap.ref,
|
|
869
|
-
staticClass: astNode.attrsMap.class,
|
|
870
|
-
staticStyle: astNode.attrsMap.style,
|
|
871
|
-
slotTarget: astNode.slotTarget && json5.parse(astNode.slotTarget),
|
|
872
|
-
slotScope: astNode.slotScope === '_empty_' ? '' : astNode.slotScope,
|
|
873
|
-
children: astNode.children,
|
|
874
|
-
});
|
|
875
|
-
astNode.attrs && astNode.attrs.forEach((oldAttr) => {
|
|
876
|
-
let attr;
|
|
877
|
-
if (oldAttr.value === '""' && oldAttr.end - oldAttr.start === oldAttr.name.length) {
|
|
878
|
-
attr = __1.Attr.from({
|
|
879
|
-
type: 'static',
|
|
880
|
-
name: oldAttr.name,
|
|
881
|
-
value: 'true',
|
|
882
|
-
}, element);
|
|
883
|
-
}
|
|
884
|
-
else {
|
|
885
|
-
try {
|
|
886
|
-
const tmp = json5.parse(oldAttr.value);
|
|
887
|
-
attr = __1.Attr.from({
|
|
888
|
-
type: typeof tmp === 'string' ? 'string' : 'static',
|
|
889
|
-
name: oldAttr.name,
|
|
890
|
-
value: typeof tmp === 'string' ? tmp : oldAttr.value,
|
|
891
|
-
}, element);
|
|
892
|
-
}
|
|
893
|
-
catch (e) {
|
|
894
|
-
const expression = this._parseExpression(oldAttr.value, context);
|
|
895
|
-
attr = __1.Attr.from({
|
|
896
|
-
type: 'dynamic',
|
|
897
|
-
name: oldAttr.name,
|
|
898
|
-
value: expression ? '' : oldAttr.value,
|
|
899
|
-
expression,
|
|
900
|
-
}, element);
|
|
901
|
-
if (astNode.attrsMap[`:${attr.name}.sync`]) {
|
|
902
|
-
attr.assign({ sync: true });
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
element.attrList.push(attr);
|
|
907
|
-
});
|
|
908
|
-
// compiler 处理:value.sync 时会加上update:value事件,需要过滤
|
|
909
|
-
astNode.events && Object.keys(astNode.events).filter((name) => !name.startsWith('update:')).forEach((name) => {
|
|
910
|
-
const oldEvent = astNode.events[name];
|
|
911
|
-
const value = oldEvent.value.split('(')[0];
|
|
912
|
-
element.eventList.push(__1.Event.from({
|
|
913
|
-
name,
|
|
914
|
-
value,
|
|
915
|
-
logicId: value[0] === '$' ? undefined : value,
|
|
916
|
-
}, element));
|
|
917
|
-
});
|
|
918
|
-
astNode.directives && astNode.directives.forEach((directive) => {
|
|
919
|
-
if (directive.name === 'model') {
|
|
920
|
-
const valueAttr = astNode.attrs && astNode.attrs.find((attr) => attr.name === 'value');
|
|
921
|
-
if (!valueAttr) {
|
|
922
|
-
const expression = this._parseExpression(directive.value, context);
|
|
923
|
-
element.attrList.push(__1.Attr.from({
|
|
924
|
-
type: 'dynamic',
|
|
925
|
-
name: 'value',
|
|
926
|
-
value: expression ? '' : directive.value,
|
|
927
|
-
expression,
|
|
928
|
-
sync: true,
|
|
929
|
-
}, element));
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
else {
|
|
933
|
-
const expression = this._parseExpression(directive.value, context);
|
|
934
|
-
element.directiveList.push(__1.Directive.from({
|
|
935
|
-
type: expression ? 'string' : 'dynamic',
|
|
936
|
-
name: directive.name,
|
|
937
|
-
rawName: directive.rawName,
|
|
938
|
-
value: expression ? '' : directive.value,
|
|
939
|
-
expression,
|
|
940
|
-
arg: directive.arg,
|
|
941
|
-
modifiers: directive.modifiers,
|
|
942
|
-
}, element));
|
|
943
|
-
}
|
|
944
|
-
});
|
|
945
|
-
if (astNode.if) {
|
|
946
|
-
element.directiveList.push(__1.Directive.from({
|
|
947
|
-
type: 'dynamic',
|
|
948
|
-
name: 'if',
|
|
949
|
-
rawName: 'v-if',
|
|
950
|
-
value: '',
|
|
951
|
-
expression: this._parseExpression(astNode.if, context),
|
|
952
|
-
}, element));
|
|
953
|
-
}
|
|
954
|
-
// Removed
|
|
955
|
-
// hasBindings:
|
|
956
|
-
// static:
|
|
957
|
-
// staticRoot:
|
|
958
|
-
// refInFor?: boolean;
|
|
959
|
-
// if?: string;
|
|
960
|
-
// ifProcessed?: boolean;
|
|
961
|
-
// elseif?: string;
|
|
962
|
-
// else?: true;
|
|
963
|
-
// ifConditions?: ASTIfCondition[];
|
|
964
|
-
// for?: string;
|
|
965
|
-
// forProcessed?: boolean;
|
|
966
|
-
// key?: string;
|
|
967
|
-
// alias?: string;
|
|
968
|
-
// iterator1?: string;
|
|
969
|
-
// iterator2?: string;
|
|
970
|
-
// events?: ASTElementHandlers;
|
|
971
|
-
// nativeEvents?: ASTElementHandlers;
|
|
972
|
-
// model?: {
|
|
973
|
-
// value: string;
|
|
974
|
-
// callback: string;
|
|
975
|
-
// expression: string;
|
|
976
|
-
// };
|
|
977
|
-
// directives?: ASTDirective[];
|
|
978
|
-
}
|
|
979
|
-
else if (astNode.type === 2) {
|
|
980
|
-
if (__1.config.scope === 'h5') {
|
|
981
|
-
element = new Element({
|
|
982
|
-
tag: 'van-text',
|
|
983
|
-
});
|
|
984
|
-
}
|
|
985
|
-
else {
|
|
986
|
-
element = new Element({
|
|
987
|
-
tag: 'u-text',
|
|
988
|
-
});
|
|
989
|
-
}
|
|
990
|
-
const value = astNode.text.match(/{{(.*?)}}/)[1].trim();
|
|
991
|
-
const expression = this._parseExpression(value, context);
|
|
992
|
-
element.attrList.push(new __1.Attr({
|
|
993
|
-
type: 'dynamic',
|
|
994
|
-
name: 'text',
|
|
995
|
-
value: expression ? '' : value,
|
|
996
|
-
expression,
|
|
997
|
-
element,
|
|
998
|
-
}));
|
|
999
|
-
}
|
|
1000
|
-
else if (astNode.type === 3) {
|
|
1001
|
-
if (__1.config.scope === 'h5') {
|
|
1002
|
-
element = new Element({
|
|
1003
|
-
tag: 'van-text',
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
|
-
else {
|
|
1007
|
-
element = new Element({
|
|
1008
|
-
tag: 'u-text',
|
|
1009
|
-
});
|
|
1010
|
-
}
|
|
1011
|
-
element.attrList.push(new __1.Attr({
|
|
1012
|
-
name: 'text',
|
|
1013
|
-
value: astNode.text,
|
|
1014
|
-
element,
|
|
1015
|
-
}));
|
|
1016
|
-
}
|
|
1017
|
-
return element;
|
|
1018
|
-
}
|
|
1019
|
-
/**
|
|
1020
|
-
* 解析属性中的表达式
|
|
1021
|
-
* @param value
|
|
1022
|
-
* @param $def 目前 $def 只用来查找 $def.variables 和 $def.structures
|
|
1023
|
-
* @param dataSchema
|
|
1024
|
-
*/
|
|
1025
|
-
static _parseExpression(value, context = {}) {
|
|
1026
|
-
try {
|
|
1027
|
-
let ast = babelParser.parseExpression(value);
|
|
1028
|
-
__1.utils.traverse((current) => {
|
|
1029
|
-
if (!current.node)
|
|
1030
|
-
return;
|
|
1031
|
-
current.node.level = 'expressionNode';
|
|
1032
|
-
delete current.node.loc;
|
|
1033
|
-
delete current.node.start;
|
|
1034
|
-
delete current.node.end;
|
|
1035
|
-
delete current.node.errors;
|
|
1036
|
-
delete current.node.comments;
|
|
1037
|
-
delete current.node.innerComments;
|
|
1038
|
-
delete current.node.leadingComments;
|
|
1039
|
-
delete current.node.trailingComments;
|
|
1040
|
-
if (current.node.type === 'CallExpression' && current.node.callee.object.name === '$utils') {
|
|
1041
|
-
const calleeCode = current.node.callee.property.name || current.node.callee.property.value;
|
|
1042
|
-
if (calleeCode === 'Enum') {
|
|
1043
|
-
const enumName = current.node.arguments[0] && current.node.arguments[0].value;
|
|
1044
|
-
if (enumName) {
|
|
1045
|
-
let enumNode;
|
|
1046
|
-
Object.keys(__1.dataTypesMap).forEach((dataTypeKey) => {
|
|
1047
|
-
if (__1.dataTypesMap[dataTypeKey].type === 'enum') {
|
|
1048
|
-
if (__1.dataTypesMap[dataTypeKey].name === enumName) {
|
|
1049
|
-
enumNode = __1.dataTypesMap[dataTypeKey];
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
});
|
|
1053
|
-
if (enumNode) {
|
|
1054
|
-
const code = 'ID_' + enumNode.id;
|
|
1055
|
-
current.node.arguments[0].value = code;
|
|
1056
|
-
current.node.arguments[0].code = code;
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
Object.assign(current.node, {
|
|
1061
|
-
type: 'BuiltInFunction',
|
|
1062
|
-
value: calleeCode,
|
|
1063
|
-
calleeCode,
|
|
1064
|
-
label: '内置函数',
|
|
1065
|
-
level: 'expressionNode',
|
|
1066
|
-
builtInFuncParams: current.node.arguments.map((argument) => ({
|
|
1067
|
-
level: 'expressionNode',
|
|
1068
|
-
type: 'BuiltInFuncParam',
|
|
1069
|
-
name: '',
|
|
1070
|
-
builtInFuncParamValue: Object.assign({
|
|
1071
|
-
level: 'expressionNode',
|
|
1072
|
-
}, argument),
|
|
1073
|
-
})),
|
|
1074
|
-
});
|
|
1075
|
-
delete current.node.arguments;
|
|
1076
|
-
delete current.node.callee;
|
|
1077
|
-
}
|
|
1078
|
-
else if (current.node.type === 'MemberExpression') {
|
|
1079
|
-
let object = current.node.object;
|
|
1080
|
-
const properties = [current.node.property];
|
|
1081
|
-
while (object.type === 'MemberExpression') {
|
|
1082
|
-
properties.push(object.property);
|
|
1083
|
-
object = object.object;
|
|
1084
|
-
}
|
|
1085
|
-
if (object.name === 'scope') {
|
|
1086
|
-
let schema = {
|
|
1087
|
-
$ref: '',
|
|
1088
|
-
};
|
|
1089
|
-
if (context.dataSchema) { // 可以直接用 dataSchema,处理 mergeBlock 的情况
|
|
1090
|
-
const typeKey = '#/genericTypes/ScopeOf';
|
|
1091
|
-
schema = {
|
|
1092
|
-
type: 'genericType',
|
|
1093
|
-
typeKey,
|
|
1094
|
-
typeInstantiation: {
|
|
1095
|
-
typeName: 'ScopeOf',
|
|
1096
|
-
typeParams: [
|
|
1097
|
-
{
|
|
1098
|
-
typeParamName: 'T',
|
|
1099
|
-
typeParamValue: {
|
|
1100
|
-
$ref: context.dataSchema,
|
|
1101
|
-
typeKey: context.dataSchema,
|
|
1102
|
-
},
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
1105
|
-
},
|
|
1106
|
-
};
|
|
1107
|
-
}
|
|
1108
|
-
Object.assign(object, { schema, code: object.name });
|
|
1109
|
-
}
|
|
1110
|
-
if (context && object.name) {
|
|
1111
|
-
let variable = (context.variables || []).find((variable) => variable.name === object.name);
|
|
1112
|
-
variable = variable || object;
|
|
1113
|
-
if (variable) {
|
|
1114
|
-
let schemaData = __1.dataTypesMap[variable.schema && variable.schema.$ref];
|
|
1115
|
-
if (variable.schema && variable.schema.type === 'genericType') {
|
|
1116
|
-
const genericClass = __1.dataTypesMap[variable.schema.typeKey];
|
|
1117
|
-
let propertyList = [];
|
|
1118
|
-
if (genericClass) {
|
|
1119
|
-
propertyList = lodash_1.cloneDeep(genericClass.propertyList);
|
|
1120
|
-
propertyList = propertyList.map((property) => {
|
|
1121
|
-
if (property.type === 'genericParam' && variable.schema.typeInstantiation) {
|
|
1122
|
-
const param = variable.schema.typeInstantiation.typeParams.find((typeParam) => typeParam.typeParamName === property.typeParamName);
|
|
1123
|
-
if (param) {
|
|
1124
|
-
property = Object.assign({ name: property.name }, param.typeParamValue);
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
return property;
|
|
1128
|
-
});
|
|
1129
|
-
}
|
|
1130
|
-
schemaData = { propertyList };
|
|
1131
|
-
}
|
|
1132
|
-
// 这部分功能还不稳定,先单独处理一下
|
|
1133
|
-
if (object.name === 'scope' && properties.length >= 3) {
|
|
1134
|
-
const tempStructure = context.structures.find((structure) => context.dataSchema === structure.schemaRef || context.dataSchema === structure.name);
|
|
1135
|
-
if (tempStructure && !tempStructure.id) {
|
|
1136
|
-
properties.pop(); // scope.item 那一项
|
|
1137
|
-
let property = properties.pop();
|
|
1138
|
-
property.schemaRef = tempStructure.name + '.' + property.name;
|
|
1139
|
-
const originProp = tempStructure.propertyList.find((tempProp) => tempProp.name === property.name);
|
|
1140
|
-
schemaData = originProp && __1.dataTypesMap[originProp.$ref];
|
|
1141
|
-
property = properties.pop();
|
|
1142
|
-
while (property && schemaData) {
|
|
1143
|
-
if (schemaData.propertyList) {
|
|
1144
|
-
const originProp = schemaData.propertyList.find((tempProp) => tempProp.name === property.name);
|
|
1145
|
-
if (originProp) {
|
|
1146
|
-
if (originProp.id) {
|
|
1147
|
-
Object.assign(property, {
|
|
1148
|
-
schemaRef: '#/' + originProp.id,
|
|
1149
|
-
code: `ID_${originProp.id}`,
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
schemaData = __1.dataTypesMap[originProp.$ref];
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
property = properties.pop();
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
else if (tempStructure && tempStructure.id && context.recordProperty) {
|
|
1159
|
-
properties.pop(); // scope.item 那一项
|
|
1160
|
-
let property = properties.pop();
|
|
1161
|
-
property.schemaRef = context.recordProperty.$ref;
|
|
1162
|
-
property.code = `ID_${context.recordProperty.id}`;
|
|
1163
|
-
const originProp = context.recordProperty;
|
|
1164
|
-
schemaData = originProp && __1.dataTypesMap[originProp.$ref];
|
|
1165
|
-
property = properties.pop();
|
|
1166
|
-
while (property && schemaData) {
|
|
1167
|
-
if (schemaData.propertyList) {
|
|
1168
|
-
const originProp = schemaData.propertyList.find((tempProp) => tempProp.name === property.name);
|
|
1169
|
-
if (originProp) {
|
|
1170
|
-
if (originProp.id) {
|
|
1171
|
-
Object.assign(property, {
|
|
1172
|
-
schemaRef: `#/${originProp.id}`,
|
|
1173
|
-
code: `ID_${originProp.id}`,
|
|
1174
|
-
});
|
|
1175
|
-
}
|
|
1176
|
-
schemaData = __1.dataTypesMap[originProp.$ref];
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
property = properties.pop();
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
else {
|
|
1184
|
-
let property = properties.pop();
|
|
1185
|
-
while (property && schemaData) {
|
|
1186
|
-
if (schemaData.propertyList) {
|
|
1187
|
-
const originProp = schemaData.propertyList.find((tempProp) => tempProp.name === property.name);
|
|
1188
|
-
if (originProp) {
|
|
1189
|
-
if (originProp.id) {
|
|
1190
|
-
Object.assign(property, {
|
|
1191
|
-
schemaRef: '#/' + originProp.id,
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
schemaData = __1.dataTypesMap[originProp.$ref];
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
property = properties.pop();
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
const property = current.node.property;
|
|
1203
|
-
if (property.type === 'StringLiteral') {
|
|
1204
|
-
// 区分单引号的变量和纯文字
|
|
1205
|
-
// $utils['FormatDate']()
|
|
1206
|
-
// 把 'FormatDate' 变成 Identifier, 因为内置函数名是通过选择出来的;如果不改,会展示成输入框
|
|
1207
|
-
if (property.extra.raw.includes("'")) {
|
|
1208
|
-
property.type = 'Identifier';
|
|
1209
|
-
property.name = ast.value;
|
|
1210
|
-
property.level = 'expressionNode';
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
else if (current.node.type === 'Identifier') {
|
|
1215
|
-
if (current.node.name && current.node.name.startsWith('ID_ENUM_LIST_')) {
|
|
1216
|
-
current.node.schemaRef = current.node.name.replace('ID_ENUM_LIST_', '');
|
|
1217
|
-
current.node.code = current.node.name;
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
delete current.node.extra;
|
|
1221
|
-
}, { node: ast }, { mode: 'anyObject' });
|
|
1222
|
-
if (ast) {
|
|
1223
|
-
let hasSchema = !!context.dataSchema;
|
|
1224
|
-
let object = ast;
|
|
1225
|
-
while (!hasSchema && object) {
|
|
1226
|
-
if (object.schema || object.schemaRef || (object.property && (object.property.schema || object.property.schemaRef)))
|
|
1227
|
-
hasSchema = true;
|
|
1228
|
-
object = object.object;
|
|
1229
|
-
}
|
|
1230
|
-
if (ast.type === 'ArrayExpression' || ast.type === 'ObjectExpression'
|
|
1231
|
-
|| ast.type === 'MemberExpression' && !hasSchema) {
|
|
1232
|
-
ast = {
|
|
1233
|
-
label: '原子项',
|
|
1234
|
-
level: 'expressionNode',
|
|
1235
|
-
type: 'Unparsed',
|
|
1236
|
-
editable: true,
|
|
1237
|
-
code: value,
|
|
1238
|
-
};
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
return __1.LogicItem.from(ast, null, null);
|
|
1242
|
-
}
|
|
1243
|
-
catch (e) {
|
|
1244
|
-
return null;
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
* 解析 Vue 模板
|
|
1249
|
-
* 该方法不会绑定 view 和 parent,如果是添加元素优先使用 fromHTML
|
|
1250
|
-
* @param html Vue 的模板
|
|
1251
|
-
* @TODO 处理多个元素的问题
|
|
1252
|
-
*/
|
|
1253
|
-
static parse(html, context) {
|
|
1254
|
-
html = html || '<div></div>';
|
|
1255
|
-
const compilerOptions = {
|
|
1256
|
-
preserveWhitespace: false,
|
|
1257
|
-
outputSourceRange: true,
|
|
1258
|
-
};
|
|
1259
|
-
let ast = compiler.compile(html, compilerOptions).ast;
|
|
1260
|
-
if (ast.tag === 'template' && !ast.slotTarget)
|
|
1261
|
-
ast = ast.children[0];
|
|
1262
|
-
if (context && !context.dataSchema) {
|
|
1263
|
-
const cap = html.match(/data-schema="(.*?)"/);
|
|
1264
|
-
context.dataSchema = cap ? cap[1] : '';
|
|
1265
|
-
}
|
|
1266
|
-
let root;
|
|
1267
|
-
__1.utils.traverse((current) => {
|
|
1268
|
-
// 处理 scopedSlots;
|
|
1269
|
-
if (!current.parent)
|
|
1270
|
-
root = this._fromASTNode(current.node, context);
|
|
1271
|
-
else
|
|
1272
|
-
current.parent.children[current.index] = this._fromASTNode(current.node, context);
|
|
1273
|
-
}, { node: ast });
|
|
1274
|
-
return root;
|
|
1275
|
-
}
|
|
1276
|
-
/**
|
|
1277
|
-
* 从模板生成规范的 Element 对象
|
|
1278
|
-
*/
|
|
1279
|
-
static fromHTML(html, parent, view, context) {
|
|
1280
|
-
const element = this.parse(html, context);
|
|
1281
|
-
__1.utils.traverse((current) => {
|
|
1282
|
-
current.node.assign({ view, parent: current.parent });
|
|
1283
|
-
// 生成唯一组件名 依赖element.view
|
|
1284
|
-
if (!current.node.name) {
|
|
1285
|
-
current.node.initElementName();
|
|
1286
|
-
}
|
|
1287
|
-
}, { node: element, parent });
|
|
1288
|
-
return element;
|
|
1289
|
-
}
|
|
1290
|
-
/**
|
|
1291
|
-
* 从后端 JSON 生成规范的 Element 对象
|
|
1292
|
-
*/
|
|
1293
|
-
static from(source, parent, view, currentElement) {
|
|
1294
|
-
const element = new Element(source);
|
|
1295
|
-
currentElement = currentElement || element;
|
|
1296
|
-
element.assign({
|
|
1297
|
-
attrList: element.attrList.map((attr) => __1.Attr.from(attr, currentElement)),
|
|
1298
|
-
eventList: element.eventList.map((ret) => __1.Event.from(ret, currentElement)),
|
|
1299
|
-
directiveList: element.directiveList.map((directive) => __1.Directive.from(directive, currentElement)),
|
|
1300
|
-
children: element.children.map((child) => Element.from(child, currentElement, view)),
|
|
1301
|
-
view,
|
|
1302
|
-
parent,
|
|
1303
|
-
});
|
|
1304
|
-
return element;
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
/**
|
|
1308
|
-
* 标签名前缀
|
|
1309
|
-
*/
|
|
1310
|
-
Element.TAG_NAME_PREFIX_REG = /^([lieu]|van)[-_]/;
|
|
1311
|
-
/**
|
|
1312
|
-
* 忽略命名的标签
|
|
1313
|
-
*/
|
|
1314
|
-
Element.ignoreTag = ['div', 'span'];
|
|
1315
|
-
__decorate([
|
|
1316
|
-
decorators_1.immutable()
|
|
1317
|
-
], Element.prototype, "level", void 0);
|
|
1318
|
-
__decorate([
|
|
1319
|
-
decorators_1.immutable()
|
|
1320
|
-
], Element.prototype, "type", void 0);
|
|
1321
|
-
__decorate([
|
|
1322
|
-
decorators_1.immutable()
|
|
1323
|
-
], Element.prototype, "id", void 0);
|
|
1324
|
-
__decorate([
|
|
1325
|
-
decorators_1.immutable()
|
|
1326
|
-
], Element.prototype, "tag", void 0);
|
|
1327
|
-
__decorate([
|
|
1328
|
-
decorators_1.immutable()
|
|
1329
|
-
], Element.prototype, "name", void 0);
|
|
1330
|
-
__decorate([
|
|
1331
|
-
decorators_1.immutable()
|
|
1332
|
-
], Element.prototype, "description", void 0);
|
|
1333
|
-
__decorate([
|
|
1334
|
-
decorators_1.immutable()
|
|
1335
|
-
], Element.prototype, "attrList", void 0);
|
|
1336
|
-
__decorate([
|
|
1337
|
-
decorators_1.immutable()
|
|
1338
|
-
], Element.prototype, "eventList", void 0);
|
|
1339
|
-
__decorate([
|
|
1340
|
-
decorators_1.immutable()
|
|
1341
|
-
], Element.prototype, "directiveList", void 0);
|
|
1342
|
-
__decorate([
|
|
1343
|
-
decorators_1.immutable()
|
|
1344
|
-
], Element.prototype, "slotTarget", void 0);
|
|
1345
|
-
__decorate([
|
|
1346
|
-
decorators_1.immutable()
|
|
1347
|
-
], Element.prototype, "slotScope", void 0);
|
|
1348
|
-
__decorate([
|
|
1349
|
-
decorators_1.immutable()
|
|
1350
|
-
], Element.prototype, "staticClass", void 0);
|
|
1351
|
-
__decorate([
|
|
1352
|
-
decorators_1.immutable()
|
|
1353
|
-
], Element.prototype, "staticStyle", void 0);
|
|
1354
|
-
__decorate([
|
|
1355
|
-
decorators_1.excludedInJSON()
|
|
1356
|
-
], Element.prototype, "nodePath", void 0);
|
|
1357
|
-
__decorate([
|
|
1358
|
-
decorators_1.immutable()
|
|
1359
|
-
], Element.prototype, "parentId", void 0);
|
|
1360
|
-
__decorate([
|
|
1361
|
-
decorators_1.immutable()
|
|
1362
|
-
], Element.prototype, "_posIndex", void 0);
|
|
1363
|
-
__decorate([
|
|
1364
|
-
decorators_1.circular(),
|
|
1365
|
-
decorators_1.immutable()
|
|
1366
|
-
], Element.prototype, "parent", void 0);
|
|
1367
|
-
__decorate([
|
|
1368
|
-
decorators_1.immutable()
|
|
1369
|
-
], Element.prototype, "viewId", void 0);
|
|
1370
|
-
__decorate([
|
|
1371
|
-
decorators_1.circular(),
|
|
1372
|
-
decorators_1.immutable()
|
|
1373
|
-
], Element.prototype, "view", void 0);
|
|
1374
|
-
__decorate([
|
|
1375
|
-
decorators_1.immutable()
|
|
1376
|
-
], Element.prototype, "children", void 0);
|
|
1377
|
-
__decorate([
|
|
1378
|
-
decorators_1.action('添加元素')
|
|
1379
|
-
], Element.prototype, "create", null);
|
|
1380
|
-
__decorate([
|
|
1381
|
-
decorators_1.action('删除元素')
|
|
1382
|
-
], Element.prototype, "delete", null);
|
|
1383
|
-
__decorate([
|
|
1384
|
-
decorators_1.action('添加元素副本')
|
|
1385
|
-
], Element.prototype, "duplicate", null);
|
|
1386
|
-
__decorate([
|
|
1387
|
-
decorators_1.action('设置组件名称')
|
|
1388
|
-
], Element.prototype, "setName", null);
|
|
1389
|
-
__decorate([
|
|
1390
|
-
decorators_1.action('添加组件属性')
|
|
1391
|
-
], Element.prototype, "addAttr", null);
|
|
1392
|
-
__decorate([
|
|
1393
|
-
decorators_1.action('删除组件属性')
|
|
1394
|
-
], Element.prototype, "deleteAttr", null);
|
|
1395
|
-
__decorate([
|
|
1396
|
-
decorators_1.action('设置组件属性')
|
|
1397
|
-
], Element.prototype, "setAttr", null);
|
|
1398
|
-
__decorate([
|
|
1399
|
-
decorators_1.action('添加组件事件')
|
|
1400
|
-
], Element.prototype, "addEvent", null);
|
|
1401
|
-
__decorate([
|
|
1402
|
-
decorators_1.action('删除组件事件')
|
|
1403
|
-
], Element.prototype, "deleteEvent", null);
|
|
1404
|
-
__decorate([
|
|
1405
|
-
decorators_1.action('添加组件指令')
|
|
1406
|
-
], Element.prototype, "addDirective", null);
|
|
1407
|
-
__decorate([
|
|
1408
|
-
decorators_1.action('删除组件指令')
|
|
1409
|
-
], Element.prototype, "deleteDirective", null);
|
|
1410
|
-
__decorate([
|
|
1411
|
-
decorators_1.immutable()
|
|
1412
|
-
], Element, "TAG_NAME_PREFIX_REG", void 0);
|
|
1413
|
-
__decorate([
|
|
1414
|
-
decorators_1.immutable()
|
|
1415
|
-
], Element, "ignoreTag", void 0);
|
|
1416
|
-
exports.Element = Element;
|
|
1417
|
-
exports.default = Element;
|
|
1418
|
-
//# sourceMappingURL=Element.js.map
|