@adaas/are-html 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.conf/tsconfig.base.json +87 -0
- package/.conf/tsconfig.browser.json +34 -0
- package/.conf/tsconfig.node.json +35 -0
- package/.nvmrc +1 -0
- package/LICENSE +13 -0
- package/README.md +678 -0
- package/dist/browser/index.d.mts +521 -0
- package/dist/browser/index.mjs +1782 -0
- package/dist/browser/index.mjs.map +1 -0
- package/dist/node/AreBinding.attribute-C6JasbJL.d.ts +110 -0
- package/dist/node/AreBinding.attribute-C6qrxN8K.d.mts +110 -0
- package/dist/node/attributes/AreBinding.attribute.d.mts +4 -0
- package/dist/node/attributes/AreBinding.attribute.d.ts +4 -0
- package/dist/node/attributes/AreBinding.attribute.js +15 -0
- package/dist/node/attributes/AreBinding.attribute.js.map +1 -0
- package/dist/node/attributes/AreBinding.attribute.mjs +14 -0
- package/dist/node/attributes/AreBinding.attribute.mjs.map +1 -0
- package/dist/node/attributes/AreDirective.attribute.d.mts +4 -0
- package/dist/node/attributes/AreDirective.attribute.d.ts +4 -0
- package/dist/node/attributes/AreDirective.attribute.js +20 -0
- package/dist/node/attributes/AreDirective.attribute.js.map +1 -0
- package/dist/node/attributes/AreDirective.attribute.mjs +19 -0
- package/dist/node/attributes/AreDirective.attribute.mjs.map +1 -0
- package/dist/node/attributes/AreEvent.attribute.d.mts +4 -0
- package/dist/node/attributes/AreEvent.attribute.d.ts +4 -0
- package/dist/node/attributes/AreEvent.attribute.js +10 -0
- package/dist/node/attributes/AreEvent.attribute.js.map +1 -0
- package/dist/node/attributes/AreEvent.attribute.mjs +9 -0
- package/dist/node/attributes/AreEvent.attribute.mjs.map +1 -0
- package/dist/node/attributes/AreStatic.attribute.d.mts +4 -0
- package/dist/node/attributes/AreStatic.attribute.d.ts +4 -0
- package/dist/node/attributes/AreStatic.attribute.js +10 -0
- package/dist/node/attributes/AreStatic.attribute.js.map +1 -0
- package/dist/node/attributes/AreStatic.attribute.mjs +9 -0
- package/dist/node/attributes/AreStatic.attribute.mjs.map +1 -0
- package/dist/node/chunk-EQQGB2QZ.mjs +15 -0
- package/dist/node/chunk-EQQGB2QZ.mjs.map +1 -0
- package/dist/node/directives/AreComponent.directive.d.mts +2 -0
- package/dist/node/directives/AreComponent.directive.d.ts +2 -0
- package/dist/node/directives/AreComponent.directive.js +4 -0
- package/dist/node/directives/AreComponent.directive.js.map +1 -0
- package/dist/node/directives/AreComponent.directive.mjs +3 -0
- package/dist/node/directives/AreComponent.directive.mjs.map +1 -0
- package/dist/node/directives/AreDirectiveFor.directive.d.mts +41 -0
- package/dist/node/directives/AreDirectiveFor.directive.d.ts +41 -0
- package/dist/node/directives/AreDirectiveFor.directive.js +206 -0
- package/dist/node/directives/AreDirectiveFor.directive.js.map +1 -0
- package/dist/node/directives/AreDirectiveFor.directive.mjs +196 -0
- package/dist/node/directives/AreDirectiveFor.directive.mjs.map +1 -0
- package/dist/node/directives/AreDirectiveIf.directive.d.mts +15 -0
- package/dist/node/directives/AreDirectiveIf.directive.d.ts +15 -0
- package/dist/node/directives/AreDirectiveIf.directive.js +91 -0
- package/dist/node/directives/AreDirectiveIf.directive.js.map +1 -0
- package/dist/node/directives/AreDirectiveIf.directive.mjs +81 -0
- package/dist/node/directives/AreDirectiveIf.directive.mjs.map +1 -0
- package/dist/node/engine/AreHTML.compiler.d.mts +27 -0
- package/dist/node/engine/AreHTML.compiler.d.ts +27 -0
- package/dist/node/engine/AreHTML.compiler.js +150 -0
- package/dist/node/engine/AreHTML.compiler.js.map +1 -0
- package/dist/node/engine/AreHTML.compiler.mjs +140 -0
- package/dist/node/engine/AreHTML.compiler.mjs.map +1 -0
- package/dist/node/engine/AreHTML.constants.d.mts +2 -0
- package/dist/node/engine/AreHTML.constants.d.ts +2 -0
- package/dist/node/engine/AreHTML.constants.js +4 -0
- package/dist/node/engine/AreHTML.constants.js.map +1 -0
- package/dist/node/engine/AreHTML.constants.mjs +3 -0
- package/dist/node/engine/AreHTML.constants.mjs.map +1 -0
- package/dist/node/engine/AreHTML.context.d.mts +108 -0
- package/dist/node/engine/AreHTML.context.d.ts +108 -0
- package/dist/node/engine/AreHTML.context.js +155 -0
- package/dist/node/engine/AreHTML.context.js.map +1 -0
- package/dist/node/engine/AreHTML.context.mjs +154 -0
- package/dist/node/engine/AreHTML.context.mjs.map +1 -0
- package/dist/node/engine/AreHTML.engine.d.mts +21 -0
- package/dist/node/engine/AreHTML.engine.d.ts +21 -0
- package/dist/node/engine/AreHTML.engine.js +191 -0
- package/dist/node/engine/AreHTML.engine.js.map +1 -0
- package/dist/node/engine/AreHTML.engine.mjs +181 -0
- package/dist/node/engine/AreHTML.engine.mjs.map +1 -0
- package/dist/node/engine/AreHTML.interpreter.d.mts +28 -0
- package/dist/node/engine/AreHTML.interpreter.d.ts +28 -0
- package/dist/node/engine/AreHTML.interpreter.js +340 -0
- package/dist/node/engine/AreHTML.interpreter.js.map +1 -0
- package/dist/node/engine/AreHTML.interpreter.mjs +330 -0
- package/dist/node/engine/AreHTML.interpreter.mjs.map +1 -0
- package/dist/node/engine/AreHTML.lifecycle.d.mts +17 -0
- package/dist/node/engine/AreHTML.lifecycle.d.ts +17 -0
- package/dist/node/engine/AreHTML.lifecycle.js +91 -0
- package/dist/node/engine/AreHTML.lifecycle.js.map +1 -0
- package/dist/node/engine/AreHTML.lifecycle.mjs +79 -0
- package/dist/node/engine/AreHTML.lifecycle.mjs.map +1 -0
- package/dist/node/engine/AreHTML.tokenizer.d.mts +13 -0
- package/dist/node/engine/AreHTML.tokenizer.d.ts +13 -0
- package/dist/node/engine/AreHTML.tokenizer.js +83 -0
- package/dist/node/engine/AreHTML.tokenizer.js.map +1 -0
- package/dist/node/engine/AreHTML.tokenizer.mjs +71 -0
- package/dist/node/engine/AreHTML.tokenizer.mjs.map +1 -0
- package/dist/node/engine/AreHTML.transformer.d.mts +11 -0
- package/dist/node/engine/AreHTML.transformer.d.ts +11 -0
- package/dist/node/engine/AreHTML.transformer.js +44 -0
- package/dist/node/engine/AreHTML.transformer.js.map +1 -0
- package/dist/node/engine/AreHTML.transformer.mjs +32 -0
- package/dist/node/engine/AreHTML.transformer.mjs.map +1 -0
- package/dist/node/engine/AreHTML.types.d.mts +6 -0
- package/dist/node/engine/AreHTML.types.d.ts +6 -0
- package/dist/node/engine/AreHTML.types.js +4 -0
- package/dist/node/engine/AreHTML.types.js.map +1 -0
- package/dist/node/engine/AreHTML.types.mjs +3 -0
- package/dist/node/engine/AreHTML.types.mjs.map +1 -0
- package/dist/node/index.d.mts +39 -0
- package/dist/node/index.d.ts +39 -0
- package/dist/node/index.js +294 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/index.mjs +43 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/instructions/AddAttribute.instruction.d.mts +9 -0
- package/dist/node/instructions/AddAttribute.instruction.d.ts +9 -0
- package/dist/node/instructions/AddAttribute.instruction.js +32 -0
- package/dist/node/instructions/AddAttribute.instruction.js.map +1 -0
- package/dist/node/instructions/AddAttribute.instruction.mjs +25 -0
- package/dist/node/instructions/AddAttribute.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddComment.instruction.d.mts +9 -0
- package/dist/node/instructions/AddComment.instruction.d.ts +9 -0
- package/dist/node/instructions/AddComment.instruction.js +35 -0
- package/dist/node/instructions/AddComment.instruction.js.map +1 -0
- package/dist/node/instructions/AddComment.instruction.mjs +28 -0
- package/dist/node/instructions/AddComment.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddElement.instruction.d.mts +8 -0
- package/dist/node/instructions/AddElement.instruction.d.ts +8 -0
- package/dist/node/instructions/AddElement.instruction.js +32 -0
- package/dist/node/instructions/AddElement.instruction.js.map +1 -0
- package/dist/node/instructions/AddElement.instruction.mjs +25 -0
- package/dist/node/instructions/AddElement.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddInterpolation.instruction.d.mts +8 -0
- package/dist/node/instructions/AddInterpolation.instruction.d.ts +8 -0
- package/dist/node/instructions/AddInterpolation.instruction.js +32 -0
- package/dist/node/instructions/AddInterpolation.instruction.js.map +1 -0
- package/dist/node/instructions/AddInterpolation.instruction.mjs +25 -0
- package/dist/node/instructions/AddInterpolation.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddListener.instruction.d.mts +8 -0
- package/dist/node/instructions/AddListener.instruction.d.ts +8 -0
- package/dist/node/instructions/AddListener.instruction.js +32 -0
- package/dist/node/instructions/AddListener.instruction.js.map +1 -0
- package/dist/node/instructions/AddListener.instruction.mjs +25 -0
- package/dist/node/instructions/AddListener.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddStyle.instruction.d.mts +8 -0
- package/dist/node/instructions/AddStyle.instruction.d.ts +8 -0
- package/dist/node/instructions/AddStyle.instruction.js +32 -0
- package/dist/node/instructions/AddStyle.instruction.js.map +1 -0
- package/dist/node/instructions/AddStyle.instruction.mjs +25 -0
- package/dist/node/instructions/AddStyle.instruction.mjs.map +1 -0
- package/dist/node/instructions/AddText.instruction.d.mts +8 -0
- package/dist/node/instructions/AddText.instruction.d.ts +8 -0
- package/dist/node/instructions/AddText.instruction.js +32 -0
- package/dist/node/instructions/AddText.instruction.js.map +1 -0
- package/dist/node/instructions/AddText.instruction.mjs +25 -0
- package/dist/node/instructions/AddText.instruction.mjs.map +1 -0
- package/dist/node/instructions/AreHTML.instructions.constants.d.mts +11 -0
- package/dist/node/instructions/AreHTML.instructions.constants.d.ts +11 -0
- package/dist/node/instructions/AreHTML.instructions.constants.js +15 -0
- package/dist/node/instructions/AreHTML.instructions.constants.js.map +1 -0
- package/dist/node/instructions/AreHTML.instructions.constants.mjs +15 -0
- package/dist/node/instructions/AreHTML.instructions.constants.mjs.map +1 -0
- package/dist/node/instructions/AreHTML.instructions.types.d.mts +46 -0
- package/dist/node/instructions/AreHTML.instructions.types.d.ts +46 -0
- package/dist/node/instructions/AreHTML.instructions.types.js +4 -0
- package/dist/node/instructions/AreHTML.instructions.types.js.map +1 -0
- package/dist/node/instructions/AreHTML.instructions.types.mjs +3 -0
- package/dist/node/instructions/AreHTML.instructions.types.mjs.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.component.d.mts +4 -0
- package/dist/node/lib/AreDirective/AreDirective.component.d.ts +4 -0
- package/dist/node/lib/AreDirective/AreDirective.component.js +117 -0
- package/dist/node/lib/AreDirective/AreDirective.component.js.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.component.mjs +107 -0
- package/dist/node/lib/AreDirective/AreDirective.component.mjs.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.d.mts +16 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.d.ts +16 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.js +20 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.js.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.mjs +20 -0
- package/dist/node/lib/AreDirective/AreDirective.constants.mjs.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.context.d.mts +9 -0
- package/dist/node/lib/AreDirective/AreDirective.context.d.ts +9 -0
- package/dist/node/lib/AreDirective/AreDirective.context.js +14 -0
- package/dist/node/lib/AreDirective/AreDirective.context.js.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.context.mjs +13 -0
- package/dist/node/lib/AreDirective/AreDirective.context.mjs.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.d.mts +7 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.d.ts +7 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.js +14 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.js.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.mjs +13 -0
- package/dist/node/lib/AreDirective/AreDirective.meta.mjs.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.types.d.mts +17 -0
- package/dist/node/lib/AreDirective/AreDirective.types.d.ts +17 -0
- package/dist/node/lib/AreDirective/AreDirective.types.js +4 -0
- package/dist/node/lib/AreDirective/AreDirective.types.js.map +1 -0
- package/dist/node/lib/AreDirective/AreDirective.types.mjs +3 -0
- package/dist/node/lib/AreDirective/AreDirective.types.mjs.map +1 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.d.mts +13 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.d.ts +13 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.js +82 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.js.map +1 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.mjs +70 -0
- package/dist/node/lib/AreHTML/AreHTML.tokenizer.mjs.map +1 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.d.mts +4 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.d.ts +4 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.js +13 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.js.map +1 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.mjs +12 -0
- package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.mjs.map +1 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.d.mts +4 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.d.ts +4 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.js +82 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.js.map +1 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.mjs +75 -0
- package/dist/node/lib/AreHTMLNode/AreHTMLNode.mjs.map +1 -0
- package/dist/node/lib/AreRoot/AreRoot.component.d.mts +13 -0
- package/dist/node/lib/AreRoot/AreRoot.component.d.ts +13 -0
- package/dist/node/lib/AreRoot/AreRoot.component.js +117 -0
- package/dist/node/lib/AreRoot/AreRoot.component.js.map +1 -0
- package/dist/node/lib/AreRoot/AreRoot.component.mjs +107 -0
- package/dist/node/lib/AreRoot/AreRoot.component.mjs.map +1 -0
- package/dist/node/lib/AreStyle/AreStyle.context.d.mts +8 -0
- package/dist/node/lib/AreStyle/AreStyle.context.d.ts +8 -0
- package/dist/node/lib/AreStyle/AreStyle.context.js +16 -0
- package/dist/node/lib/AreStyle/AreStyle.context.js.map +1 -0
- package/dist/node/lib/AreStyle/AreStyle.context.mjs +15 -0
- package/dist/node/lib/AreStyle/AreStyle.context.mjs.map +1 -0
- package/dist/node/lib/AreStyle/AreStyle.types.d.mts +2 -0
- package/dist/node/lib/AreStyle/AreStyle.types.d.ts +2 -0
- package/dist/node/lib/AreStyle/AreStyle.types.js +4 -0
- package/dist/node/lib/AreStyle/AreStyle.types.js.map +1 -0
- package/dist/node/lib/AreStyle/AreStyle.types.mjs +3 -0
- package/dist/node/lib/AreStyle/AreStyle.types.mjs.map +1 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.d.mts +18 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.d.ts +18 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.js +78 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.js.map +1 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.mjs +71 -0
- package/dist/node/lib/AreWatcher/AreWatcher.component.mjs.map +1 -0
- package/dist/node/nodes/AreComment.d.mts +10 -0
- package/dist/node/nodes/AreComment.d.ts +10 -0
- package/dist/node/nodes/AreComment.js +19 -0
- package/dist/node/nodes/AreComment.js.map +1 -0
- package/dist/node/nodes/AreComment.mjs +18 -0
- package/dist/node/nodes/AreComment.mjs.map +1 -0
- package/dist/node/nodes/AreComponent.d.mts +17 -0
- package/dist/node/nodes/AreComponent.d.ts +17 -0
- package/dist/node/nodes/AreComponent.js +35 -0
- package/dist/node/nodes/AreComponent.js.map +1 -0
- package/dist/node/nodes/AreComponent.mjs +28 -0
- package/dist/node/nodes/AreComponent.mjs.map +1 -0
- package/dist/node/nodes/AreInterpolation.d.mts +10 -0
- package/dist/node/nodes/AreInterpolation.d.ts +10 -0
- package/dist/node/nodes/AreInterpolation.js +19 -0
- package/dist/node/nodes/AreInterpolation.js.map +1 -0
- package/dist/node/nodes/AreInterpolation.mjs +18 -0
- package/dist/node/nodes/AreInterpolation.mjs.map +1 -0
- package/dist/node/nodes/AreRoot.d.mts +21 -0
- package/dist/node/nodes/AreRoot.d.ts +21 -0
- package/dist/node/nodes/AreRoot.js +41 -0
- package/dist/node/nodes/AreRoot.js.map +1 -0
- package/dist/node/nodes/AreRoot.mjs +34 -0
- package/dist/node/nodes/AreRoot.mjs.map +1 -0
- package/dist/node/nodes/AreText.d.mts +10 -0
- package/dist/node/nodes/AreText.d.ts +10 -0
- package/dist/node/nodes/AreText.js +19 -0
- package/dist/node/nodes/AreText.js.map +1 -0
- package/dist/node/nodes/AreText.mjs +18 -0
- package/dist/node/nodes/AreText.mjs.map +1 -0
- package/dist/node/signals/AreRoute.signal.d.mts +12 -0
- package/dist/node/signals/AreRoute.signal.d.ts +12 -0
- package/dist/node/signals/AreRoute.signal.js +25 -0
- package/dist/node/signals/AreRoute.signal.js.map +1 -0
- package/dist/node/signals/AreRoute.signal.mjs +24 -0
- package/dist/node/signals/AreRoute.signal.mjs.map +1 -0
- package/docs/a-logo-docs.png +0 -0
- package/examples/dashboard/concept.ts +60 -0
- package/examples/dashboard/containers/UI.container.ts +233 -0
- package/examples/dashboard/dist/index.html +22 -0
- package/examples/dashboard/dist/mnzfypsd-6zjt7w.js +11454 -0
- package/examples/dashboard/dist/styles.css +792 -0
- package/examples/dashboard/public/index.html +22 -0
- package/examples/dashboard/public/styles.css +792 -0
- package/examples/dashboard/src/components/DashboardApp.component.ts +31 -0
- package/examples/dashboard/src/components/DashboardHeader.component.ts +40 -0
- package/examples/dashboard/src/components/DashboardLogo.component.ts +29 -0
- package/examples/dashboard/src/components/DashboardMain.component.ts +57 -0
- package/examples/dashboard/src/components/DashboardMenu.component.ts +94 -0
- package/examples/dashboard/src/components/DashboardNav.component.ts +28 -0
- package/examples/dashboard/src/components/DashboardNavItem.component.ts +32 -0
- package/examples/dashboard/src/components/DashboardSidebar.component.ts +43 -0
- package/examples/dashboard/src/components/DashboardStatCard.component.ts +71 -0
- package/examples/dashboard/src/components/DashboardStats.component.ts +28 -0
- package/examples/dashboard/src/components/DashboardTable.component.ts +138 -0
- package/examples/dashboard/src/components/DashboardUserCard.component.ts +39 -0
- package/examples/dashboard/src/concept.ts +93 -0
- package/examples/jumpstart/concept.ts +60 -0
- package/examples/jumpstart/containers/UI.container.ts +233 -0
- package/examples/jumpstart/dist/index.html +104 -0
- package/examples/jumpstart/dist/mnpl1g4i-nobz9g.js +10882 -0
- package/examples/jumpstart/dist/static/css/main.css +40 -0
- package/examples/jumpstart/dist/static/img/test.png +0 -0
- package/examples/jumpstart/public/index.html +104 -0
- package/examples/jumpstart/public/static/css/main.css +40 -0
- package/examples/jumpstart/public/static/img/test.png +0 -0
- package/examples/jumpstart/src/components/A-Btn.component.ts +150 -0
- package/examples/jumpstart/src/components/A-Input.component.ts +78 -0
- package/examples/jumpstart/src/components/A-Navigation.component.ts +167 -0
- package/examples/jumpstart/src/components/List.component.ts +138 -0
- package/examples/jumpstart/src/components/PromptTextArea.component.ts +359 -0
- package/examples/jumpstart/src/components/SignInComponent.component.ts +127 -0
- package/examples/jumpstart/src/concept.ts +105 -0
- package/jest.config.ts +61 -0
- package/package.json +110 -0
- package/src/attributes/AreBinding.attribute.ts +19 -0
- package/src/attributes/AreDirective.attribute.ts +26 -0
- package/src/attributes/AreEvent.attribute.ts +5 -0
- package/src/attributes/AreStatic.attribute.ts +6 -0
- package/src/directives/AreComponent.directive.ts +0 -0
- package/src/directives/AreDirectiveFor.directive.ts +322 -0
- package/src/directives/AreDirectiveIf.directive.ts +130 -0
- package/src/engine/AreHTML.compiler.ts +226 -0
- package/src/engine/AreHTML.constants.ts +2 -0
- package/src/engine/AreHTML.context.ts +196 -0
- package/src/engine/AreHTML.engine.ts +210 -0
- package/src/engine/AreHTML.interpreter.ts +466 -0
- package/src/engine/AreHTML.lifecycle.ts +96 -0
- package/src/engine/AreHTML.tokenizer.ts +90 -0
- package/src/engine/AreHTML.transformer.ts +37 -0
- package/src/engine/AreHTML.types.ts +6 -0
- package/src/index.ts +80 -0
- package/src/instructions/AddAttribute.instruction.ts +25 -0
- package/src/instructions/AddComment.instruction.ts +27 -0
- package/src/instructions/AddElement.instruction.ts +22 -0
- package/src/instructions/AddInterpolation.instruction.ts +24 -0
- package/src/instructions/AddListener.instruction.ts +24 -0
- package/src/instructions/AddStyle.instruction.ts +24 -0
- package/src/instructions/AddText.instruction.ts +21 -0
- package/src/instructions/AreHTML.instructions.constants.ts +11 -0
- package/src/instructions/AreHTML.instructions.types.ts +51 -0
- package/src/lib/AreDirective/AreDirective.component.ts +124 -0
- package/src/lib/AreDirective/AreDirective.constants.ts +16 -0
- package/src/lib/AreDirective/AreDirective.context.ts +16 -0
- package/src/lib/AreDirective/AreDirective.meta.ts +9 -0
- package/src/lib/AreDirective/AreDirective.types.ts +14 -0
- package/src/lib/AreHTML/AreHTML.tokenizer.ts +86 -0
- package/src/lib/AreHTMLAttribute/AreHTML.attribute.ts +13 -0
- package/src/lib/AreHTMLNode/AreHTMLNode.ts +84 -0
- package/src/lib/AreRoot/AreRoot.component.ts +134 -0
- package/src/lib/AreStyle/AreStyle.context.ts +20 -0
- package/src/lib/AreStyle/AreStyle.types.ts +0 -0
- package/src/lib/AreWatcher/AreWatcher.component.ts +84 -0
- package/src/nodes/AreComment.ts +17 -0
- package/src/nodes/AreComponent.ts +25 -0
- package/src/nodes/AreInterpolation.ts +16 -0
- package/src/nodes/AreRoot.ts +29 -0
- package/src/nodes/AreText.ts +17 -0
- package/src/signals/AreRoute.signal.ts +27 -0
- package/tests/AreTokenizer.test.ts +260 -0
- package/tests/jest.setup.ts +30 -0
- package/tsconfig.json +60 -0
- package/tslint.json +98 -0
- package/tsup.config.ts +108 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var AreBinding_attribute = require('./attributes/AreBinding.attribute');
|
|
4
|
+
var AreDirective_attribute = require('./attributes/AreDirective.attribute');
|
|
5
|
+
var AreEvent_attribute = require('./attributes/AreEvent.attribute');
|
|
6
|
+
var AreStatic_attribute = require('./attributes/AreStatic.attribute');
|
|
7
|
+
var AreComponent_directive = require('./directives/AreComponent.directive');
|
|
8
|
+
var AreDirectiveFor_directive = require('./directives/AreDirectiveFor.directive');
|
|
9
|
+
var AreDirectiveIf_directive = require('./directives/AreDirectiveIf.directive');
|
|
10
|
+
var AddAttribute_instruction = require('./instructions/AddAttribute.instruction');
|
|
11
|
+
var AddElement_instruction = require('./instructions/AddElement.instruction');
|
|
12
|
+
var AddInterpolation_instruction = require('./instructions/AddInterpolation.instruction');
|
|
13
|
+
var AddListener_instruction = require('./instructions/AddListener.instruction');
|
|
14
|
+
var AddStyle_instruction = require('./instructions/AddStyle.instruction');
|
|
15
|
+
var AddText_instruction = require('./instructions/AddText.instruction');
|
|
16
|
+
var AreHTML_instructions_constants = require('./instructions/AreHTML.instructions.constants');
|
|
17
|
+
var AreHTML_instructions_types = require('./instructions/AreHTML.instructions.types');
|
|
18
|
+
var AreComment = require('./nodes/AreComment');
|
|
19
|
+
var AreComponent = require('./nodes/AreComponent');
|
|
20
|
+
var AreInterpolation = require('./nodes/AreInterpolation');
|
|
21
|
+
var AreRoot = require('./nodes/AreRoot');
|
|
22
|
+
var AreText = require('./nodes/AreText');
|
|
23
|
+
var AreRoute_signal = require('./signals/AreRoute.signal');
|
|
24
|
+
var AreHTMLNode = require('./lib/AreHTMLNode/AreHTMLNode');
|
|
25
|
+
var AreHTML_attribute = require('./lib/AreHTMLAttribute/AreHTML.attribute');
|
|
26
|
+
var AreHTML_constants = require('./engine/AreHTML.constants');
|
|
27
|
+
var AreHTML_context = require('./engine/AreHTML.context');
|
|
28
|
+
var AreHTML_types = require('./engine/AreHTML.types');
|
|
29
|
+
var AreHTML_compiler = require('./engine/AreHTML.compiler');
|
|
30
|
+
var AreHTML_engine = require('./engine/AreHTML.engine');
|
|
31
|
+
var AreHTML_interpreter = require('./engine/AreHTML.interpreter');
|
|
32
|
+
var AreHTML_lifecycle = require('./engine/AreHTML.lifecycle');
|
|
33
|
+
var AreHTML_tokenizer = require('./engine/AreHTML.tokenizer');
|
|
34
|
+
var AreHTML_transformer = require('./engine/AreHTML.transformer');
|
|
35
|
+
var AreDirective_component = require('./lib/AreDirective/AreDirective.component');
|
|
36
|
+
var AreDirective_constants = require('./lib/AreDirective/AreDirective.constants');
|
|
37
|
+
var AreDirective_context = require('./lib/AreDirective/AreDirective.context');
|
|
38
|
+
var AreDirective_meta = require('./lib/AreDirective/AreDirective.meta');
|
|
39
|
+
var AreDirective_types = require('./lib/AreDirective/AreDirective.types');
|
|
40
|
+
var AreRoot_component = require('./lib/AreRoot/AreRoot.component');
|
|
41
|
+
var AreStyle_context = require('./lib/AreStyle/AreStyle.context');
|
|
42
|
+
var AreStyle_types = require('./lib/AreStyle/AreStyle.types');
|
|
43
|
+
var AreWatcher_component = require('./lib/AreWatcher/AreWatcher.component');
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
Object.keys(AreBinding_attribute).forEach(function (k) {
|
|
48
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return AreBinding_attribute[k]; }
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
Object.keys(AreDirective_attribute).forEach(function (k) {
|
|
54
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return AreDirective_attribute[k]; }
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
Object.keys(AreEvent_attribute).forEach(function (k) {
|
|
60
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return AreEvent_attribute[k]; }
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
Object.keys(AreStatic_attribute).forEach(function (k) {
|
|
66
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return AreStatic_attribute[k]; }
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
Object.keys(AreComponent_directive).forEach(function (k) {
|
|
72
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return AreComponent_directive[k]; }
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
Object.keys(AreDirectiveFor_directive).forEach(function (k) {
|
|
78
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return AreDirectiveFor_directive[k]; }
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
Object.keys(AreDirectiveIf_directive).forEach(function (k) {
|
|
84
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return AreDirectiveIf_directive[k]; }
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
Object.keys(AddAttribute_instruction).forEach(function (k) {
|
|
90
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return AddAttribute_instruction[k]; }
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
Object.keys(AddElement_instruction).forEach(function (k) {
|
|
96
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return AddElement_instruction[k]; }
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
Object.keys(AddInterpolation_instruction).forEach(function (k) {
|
|
102
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return AddInterpolation_instruction[k]; }
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
Object.keys(AddListener_instruction).forEach(function (k) {
|
|
108
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return AddListener_instruction[k]; }
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
Object.keys(AddStyle_instruction).forEach(function (k) {
|
|
114
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return AddStyle_instruction[k]; }
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
Object.keys(AddText_instruction).forEach(function (k) {
|
|
120
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return AddText_instruction[k]; }
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
Object.keys(AreHTML_instructions_constants).forEach(function (k) {
|
|
126
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return AreHTML_instructions_constants[k]; }
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
Object.keys(AreHTML_instructions_types).forEach(function (k) {
|
|
132
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return AreHTML_instructions_types[k]; }
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
Object.keys(AreComment).forEach(function (k) {
|
|
138
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return AreComment[k]; }
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
Object.keys(AreComponent).forEach(function (k) {
|
|
144
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return AreComponent[k]; }
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
Object.keys(AreInterpolation).forEach(function (k) {
|
|
150
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return AreInterpolation[k]; }
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
Object.keys(AreRoot).forEach(function (k) {
|
|
156
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return AreRoot[k]; }
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
Object.keys(AreText).forEach(function (k) {
|
|
162
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return AreText[k]; }
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
Object.keys(AreRoute_signal).forEach(function (k) {
|
|
168
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return AreRoute_signal[k]; }
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
Object.keys(AreHTMLNode).forEach(function (k) {
|
|
174
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function () { return AreHTMLNode[k]; }
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
Object.keys(AreHTML_attribute).forEach(function (k) {
|
|
180
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return AreHTML_attribute[k]; }
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
Object.keys(AreHTML_constants).forEach(function (k) {
|
|
186
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () { return AreHTML_constants[k]; }
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
Object.keys(AreHTML_context).forEach(function (k) {
|
|
192
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return AreHTML_context[k]; }
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
Object.keys(AreHTML_types).forEach(function (k) {
|
|
198
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return AreHTML_types[k]; }
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
Object.keys(AreHTML_compiler).forEach(function (k) {
|
|
204
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return AreHTML_compiler[k]; }
|
|
207
|
+
});
|
|
208
|
+
});
|
|
209
|
+
Object.keys(AreHTML_engine).forEach(function (k) {
|
|
210
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () { return AreHTML_engine[k]; }
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
Object.keys(AreHTML_interpreter).forEach(function (k) {
|
|
216
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return AreHTML_interpreter[k]; }
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
Object.keys(AreHTML_lifecycle).forEach(function (k) {
|
|
222
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () { return AreHTML_lifecycle[k]; }
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
Object.keys(AreHTML_tokenizer).forEach(function (k) {
|
|
228
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: function () { return AreHTML_tokenizer[k]; }
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
Object.keys(AreHTML_transformer).forEach(function (k) {
|
|
234
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return AreHTML_transformer[k]; }
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
Object.keys(AreDirective_component).forEach(function (k) {
|
|
240
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function () { return AreDirective_component[k]; }
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
Object.keys(AreDirective_constants).forEach(function (k) {
|
|
246
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return AreDirective_constants[k]; }
|
|
249
|
+
});
|
|
250
|
+
});
|
|
251
|
+
Object.keys(AreDirective_context).forEach(function (k) {
|
|
252
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function () { return AreDirective_context[k]; }
|
|
255
|
+
});
|
|
256
|
+
});
|
|
257
|
+
Object.keys(AreDirective_meta).forEach(function (k) {
|
|
258
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return AreDirective_meta[k]; }
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
Object.keys(AreDirective_types).forEach(function (k) {
|
|
264
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () { return AreDirective_types[k]; }
|
|
267
|
+
});
|
|
268
|
+
});
|
|
269
|
+
Object.keys(AreRoot_component).forEach(function (k) {
|
|
270
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () { return AreRoot_component[k]; }
|
|
273
|
+
});
|
|
274
|
+
});
|
|
275
|
+
Object.keys(AreStyle_context).forEach(function (k) {
|
|
276
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: function () { return AreStyle_context[k]; }
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
Object.keys(AreStyle_types).forEach(function (k) {
|
|
282
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () { return AreStyle_types[k]; }
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
Object.keys(AreWatcher_component).forEach(function (k) {
|
|
288
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: function () { return AreWatcher_component[k]; }
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
//# sourceMappingURL=index.js.map
|
|
294
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './attributes/AreBinding.attribute';
|
|
2
|
+
export * from './attributes/AreDirective.attribute';
|
|
3
|
+
export * from './attributes/AreEvent.attribute';
|
|
4
|
+
export * from './attributes/AreStatic.attribute';
|
|
5
|
+
export * from './directives/AreComponent.directive';
|
|
6
|
+
export * from './directives/AreDirectiveFor.directive';
|
|
7
|
+
export * from './directives/AreDirectiveIf.directive';
|
|
8
|
+
export * from './instructions/AddAttribute.instruction';
|
|
9
|
+
export * from './instructions/AddElement.instruction';
|
|
10
|
+
export * from './instructions/AddInterpolation.instruction';
|
|
11
|
+
export * from './instructions/AddListener.instruction';
|
|
12
|
+
export * from './instructions/AddStyle.instruction';
|
|
13
|
+
export * from './instructions/AddText.instruction';
|
|
14
|
+
export * from './instructions/AreHTML.instructions.constants';
|
|
15
|
+
export * from './instructions/AreHTML.instructions.types';
|
|
16
|
+
export * from './nodes/AreComment';
|
|
17
|
+
export * from './nodes/AreComponent';
|
|
18
|
+
export * from './nodes/AreInterpolation';
|
|
19
|
+
export * from './nodes/AreRoot';
|
|
20
|
+
export * from './nodes/AreText';
|
|
21
|
+
export * from './signals/AreRoute.signal';
|
|
22
|
+
export * from './lib/AreHTMLNode/AreHTMLNode';
|
|
23
|
+
export * from './lib/AreHTMLAttribute/AreHTML.attribute';
|
|
24
|
+
export * from './engine/AreHTML.constants';
|
|
25
|
+
export * from './engine/AreHTML.context';
|
|
26
|
+
export * from './engine/AreHTML.types';
|
|
27
|
+
export * from './engine/AreHTML.compiler';
|
|
28
|
+
export * from './engine/AreHTML.engine';
|
|
29
|
+
export * from './engine/AreHTML.interpreter';
|
|
30
|
+
export * from './engine/AreHTML.lifecycle';
|
|
31
|
+
export * from './engine/AreHTML.tokenizer';
|
|
32
|
+
export * from './engine/AreHTML.transformer';
|
|
33
|
+
export * from './lib/AreDirective/AreDirective.component';
|
|
34
|
+
export * from './lib/AreDirective/AreDirective.constants';
|
|
35
|
+
export * from './lib/AreDirective/AreDirective.context';
|
|
36
|
+
export * from './lib/AreDirective/AreDirective.meta';
|
|
37
|
+
export * from './lib/AreDirective/AreDirective.types';
|
|
38
|
+
export * from './lib/AreRoot/AreRoot.component';
|
|
39
|
+
export * from './lib/AreStyle/AreStyle.context';
|
|
40
|
+
export * from './lib/AreStyle/AreStyle.types';
|
|
41
|
+
export * from './lib/AreWatcher/AreWatcher.component';
|
|
42
|
+
//# sourceMappingURL=index.mjs.map
|
|
43
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AreMutation, AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddAttributeInstructionPayload } from './AreHTML.instructions.types.mjs';
|
|
3
|
+
|
|
4
|
+
declare class AddAttributeInstruction extends AreMutation<AreHtmlAddAttributeInstructionPayload> {
|
|
5
|
+
cache?: string;
|
|
6
|
+
constructor(parent: AreDeclaration, props: AreHtmlAddAttributeInstructionPayload | AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { AddAttributeInstruction };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AreMutation, AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddAttributeInstructionPayload } from './AreHTML.instructions.types.js';
|
|
3
|
+
|
|
4
|
+
declare class AddAttributeInstruction extends AreMutation<AreHtmlAddAttributeInstructionPayload> {
|
|
5
|
+
cache?: string;
|
|
6
|
+
constructor(parent: AreDeclaration, props: AreHtmlAddAttributeInstructionPayload | AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { AddAttributeInstruction };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var aFrame = require('@adaas/a-frame');
|
|
4
|
+
var are = require('@adaas/are');
|
|
5
|
+
var AreHTML_instructions_constants = require('./AreHTML.instructions.constants');
|
|
6
|
+
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (decorator(result)) || result;
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
exports.AddAttributeInstruction = class AddAttributeInstruction extends are.AreMutation {
|
|
16
|
+
constructor(parent, props) {
|
|
17
|
+
if ("aseid" in props) {
|
|
18
|
+
super(props);
|
|
19
|
+
} else {
|
|
20
|
+
super(AreHTML_instructions_constants.AreHTMLInstructions.AddAttribute, parent, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.AddAttributeInstruction = __decorateClass([
|
|
25
|
+
aFrame.A_Frame.Component({
|
|
26
|
+
namespace: "A-ARE",
|
|
27
|
+
name: "AddAttributeInstruction",
|
|
28
|
+
description: "Sets an attribute on an HTML element. Apply calls setAttribute; revert calls removeAttribute."
|
|
29
|
+
})
|
|
30
|
+
], exports.AddAttributeInstruction);
|
|
31
|
+
//# sourceMappingURL=AddAttribute.instruction.js.map
|
|
32
|
+
//# sourceMappingURL=AddAttribute.instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddAttribute.instruction.ts"],"names":["AddAttributeInstruction","AreMutation","AreHTMLInstructions","A_Frame"],"mappings":";;;;;;;;;;;;;;AAWaA,+BAAA,GAAN,sCAAsCC,eAAA,CAAmD;AAAA,EAI5F,WAAA,CACI,QACA,KAAA,EAAgH;AAChH,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAwE,CAAA;AAAA,IAClF,CAAA,MAAO;AACH,MAAA,KAAA,CAAMC,kDAAA,CAAoB,YAAA,EAAc,MAAA,EAAQ,KAAK,CAAA;AAAA,IACzD;AAAA,EACJ;AACJ;AAbaF,+BAAA,GAAN,eAAA,CAAA;AAAA,EALNG,eAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,yBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACYH,+BAAA,CAAA","file":"AddAttribute.instruction.js","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreMutation, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddAttributeInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddAttributeInstruction',\n description: 'Sets an attribute on an HTML element. Apply calls setAttribute; revert calls removeAttribute.'\n})\nexport class AddAttributeInstruction extends AreMutation<AreHtmlAddAttributeInstructionPayload> {\n\n cache?: string;\n\n constructor(\n parent: AreDeclaration,\n props: AreHtmlAddAttributeInstructionPayload | AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>) {\n if ('aseid' in props) {\n super(props as AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>);\n } else {\n super(AreHTMLInstructions.AddAttribute, parent, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorateClass } from '../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
import { A_Frame } from '@adaas/a-frame';
|
|
3
|
+
import { AreMutation } from '@adaas/are';
|
|
4
|
+
import { AreHTMLInstructions } from './AreHTML.instructions.constants';
|
|
5
|
+
|
|
6
|
+
let AddAttributeInstruction = class extends AreMutation {
|
|
7
|
+
constructor(parent, props) {
|
|
8
|
+
if ("aseid" in props) {
|
|
9
|
+
super(props);
|
|
10
|
+
} else {
|
|
11
|
+
super(AreHTMLInstructions.AddAttribute, parent, props);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
AddAttributeInstruction = __decorateClass([
|
|
16
|
+
A_Frame.Component({
|
|
17
|
+
namespace: "A-ARE",
|
|
18
|
+
name: "AddAttributeInstruction",
|
|
19
|
+
description: "Sets an attribute on an HTML element. Apply calls setAttribute; revert calls removeAttribute."
|
|
20
|
+
})
|
|
21
|
+
], AddAttributeInstruction);
|
|
22
|
+
|
|
23
|
+
export { AddAttributeInstruction };
|
|
24
|
+
//# sourceMappingURL=AddAttribute.instruction.mjs.map
|
|
25
|
+
//# sourceMappingURL=AddAttribute.instruction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddAttribute.instruction.ts"],"names":[],"mappings":";;;;;AAWO,IAAM,uBAAA,GAAN,cAAsC,WAAA,CAAmD;AAAA,EAI5F,WAAA,CACI,QACA,KAAA,EAAgH;AAChH,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAwE,CAAA;AAAA,IAClF,CAAA,MAAO;AACH,MAAA,KAAA,CAAM,mBAAA,CAAoB,YAAA,EAAc,MAAA,EAAQ,KAAK,CAAA;AAAA,IACzD;AAAA,EACJ;AACJ;AAba,uBAAA,GAAN,eAAA,CAAA;AAAA,EALN,QAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,yBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,uBAAA,CAAA","file":"AddAttribute.instruction.mjs","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreMutation, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddAttributeInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddAttributeInstruction',\n description: 'Sets an attribute on an HTML element. Apply calls setAttribute; revert calls removeAttribute.'\n})\nexport class AddAttributeInstruction extends AreMutation<AreHtmlAddAttributeInstructionPayload> {\n\n cache?: string;\n\n constructor(\n parent: AreDeclaration,\n props: AreHtmlAddAttributeInstructionPayload | AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>) {\n if ('aseid' in props) {\n super(props as AreInstructionSerialized<AreHtmlAddAttributeInstructionPayload>);\n } else {\n super(AreHTMLInstructions.AddAttribute, parent, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddCommentInstructionPayload } from './AreHTML.instructions.types.mjs';
|
|
3
|
+
|
|
4
|
+
declare class AddCommentInstruction extends AreDeclaration<AreHtmlAddCommentInstructionPayload> {
|
|
5
|
+
get content(): string;
|
|
6
|
+
constructor(props: AreHtmlAddCommentInstructionPayload | AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { AddCommentInstruction };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddCommentInstructionPayload } from './AreHTML.instructions.types.js';
|
|
3
|
+
|
|
4
|
+
declare class AddCommentInstruction extends AreDeclaration<AreHtmlAddCommentInstructionPayload> {
|
|
5
|
+
get content(): string;
|
|
6
|
+
constructor(props: AreHtmlAddCommentInstructionPayload | AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { AddCommentInstruction };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var aFrame = require('@adaas/a-frame');
|
|
4
|
+
var are = require('@adaas/are');
|
|
5
|
+
var AreHTML_instructions_constants = require('./AreHTML.instructions.constants');
|
|
6
|
+
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (decorator(result)) || result;
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
exports.AddCommentInstruction = class AddCommentInstruction extends are.AreDeclaration {
|
|
16
|
+
get content() {
|
|
17
|
+
return this.payload.content;
|
|
18
|
+
}
|
|
19
|
+
constructor(props) {
|
|
20
|
+
if ("aseid" in props) {
|
|
21
|
+
super(props);
|
|
22
|
+
} else {
|
|
23
|
+
super(AreHTML_instructions_constants.AreHTMLInstructions.AddComment, props);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
exports.AddCommentInstruction = __decorateClass([
|
|
28
|
+
aFrame.A_Frame.Component({
|
|
29
|
+
namespace: "A-ARE",
|
|
30
|
+
name: "AddCommentInstruction",
|
|
31
|
+
description: "Appends a comment node to an element. Apply creates the comment node; revert removes it. Content can be a static string or a dynamic getter for interpolations."
|
|
32
|
+
})
|
|
33
|
+
], exports.AddCommentInstruction);
|
|
34
|
+
//# sourceMappingURL=AddComment.instruction.js.map
|
|
35
|
+
//# sourceMappingURL=AddComment.instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddComment.instruction.ts"],"names":["AddCommentInstruction","AreDeclaration","AreHTMLInstructions","A_Frame"],"mappings":";;;;;;;;;;;;;;AAWaA,6BAAA,GAAN,oCAAoCC,kBAAA,CAAoD;AAAA,EAE3F,IAAI,OAAA,GAAU;AACV,IAAA,OAAO,KAAK,OAAA,CAAQ,OAAA;AAAA,EACxB;AAAA,EAEA,YACI,KAAA,EACF;AACE,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAsE,CAAA;AAAA,IAChF,CAAA,MAAO;AACH,MAAA,KAAA,CAAMC,kDAAA,CAAoB,YAAY,KAAK,CAAA;AAAA,IAC/C;AAAA,EACJ;AACJ;AAfaF,6BAAA,GAAN,eAAA,CAAA;AAAA,EALNG,eAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,uBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACYH,6BAAA,CAAA","file":"AddComment.instruction.js","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddCommentInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddCommentInstruction',\n description: 'Appends a comment node to an element. Apply creates the comment node; revert removes it. Content can be a static string or a dynamic getter for interpolations.'\n})\nexport class AddCommentInstruction extends AreDeclaration<AreHtmlAddCommentInstructionPayload> {\n\n get content() {\n return this.payload.content;\n }\n\n constructor(\n props: AreHtmlAddCommentInstructionPayload | AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>\n ) {\n if ('aseid' in props) {\n super(props as AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>);\n } else {\n super(AreHTMLInstructions.AddComment, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __decorateClass } from '../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
import { A_Frame } from '@adaas/a-frame';
|
|
3
|
+
import { AreDeclaration } from '@adaas/are';
|
|
4
|
+
import { AreHTMLInstructions } from './AreHTML.instructions.constants';
|
|
5
|
+
|
|
6
|
+
let AddCommentInstruction = class extends AreDeclaration {
|
|
7
|
+
get content() {
|
|
8
|
+
return this.payload.content;
|
|
9
|
+
}
|
|
10
|
+
constructor(props) {
|
|
11
|
+
if ("aseid" in props) {
|
|
12
|
+
super(props);
|
|
13
|
+
} else {
|
|
14
|
+
super(AreHTMLInstructions.AddComment, props);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
AddCommentInstruction = __decorateClass([
|
|
19
|
+
A_Frame.Component({
|
|
20
|
+
namespace: "A-ARE",
|
|
21
|
+
name: "AddCommentInstruction",
|
|
22
|
+
description: "Appends a comment node to an element. Apply creates the comment node; revert removes it. Content can be a static string or a dynamic getter for interpolations."
|
|
23
|
+
})
|
|
24
|
+
], AddCommentInstruction);
|
|
25
|
+
|
|
26
|
+
export { AddCommentInstruction };
|
|
27
|
+
//# sourceMappingURL=AddComment.instruction.mjs.map
|
|
28
|
+
//# sourceMappingURL=AddComment.instruction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddComment.instruction.ts"],"names":[],"mappings":";;;;;AAWO,IAAM,qBAAA,GAAN,cAAoC,cAAA,CAAoD;AAAA,EAE3F,IAAI,OAAA,GAAU;AACV,IAAA,OAAO,KAAK,OAAA,CAAQ,OAAA;AAAA,EACxB;AAAA,EAEA,YACI,KAAA,EACF;AACE,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAsE,CAAA;AAAA,IAChF,CAAA,MAAO;AACH,MAAA,KAAA,CAAM,mBAAA,CAAoB,YAAY,KAAK,CAAA;AAAA,IAC/C;AAAA,EACJ;AACJ;AAfa,qBAAA,GAAN,eAAA,CAAA;AAAA,EALN,QAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,uBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,qBAAA,CAAA","file":"AddComment.instruction.mjs","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddCommentInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddCommentInstruction',\n description: 'Appends a comment node to an element. Apply creates the comment node; revert removes it. Content can be a static string or a dynamic getter for interpolations.'\n})\nexport class AddCommentInstruction extends AreDeclaration<AreHtmlAddCommentInstructionPayload> {\n\n get content() {\n return this.payload.content;\n }\n\n constructor(\n props: AreHtmlAddCommentInstructionPayload | AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>\n ) {\n if ('aseid' in props) {\n super(props as AreInstructionSerialized<AreHtmlAddCommentInstructionPayload>);\n } else {\n super(AreHTMLInstructions.AddComment, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddElementInstructionPayload } from './AreHTML.instructions.types.mjs';
|
|
3
|
+
|
|
4
|
+
declare class AddElementInstruction extends AreDeclaration<AreHtmlAddElementInstructionPayload> {
|
|
5
|
+
constructor(props: AreHtmlAddElementInstructionPayload | AreInstructionSerialized<AreHtmlAddElementInstructionPayload>);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { AddElementInstruction };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddElementInstructionPayload } from './AreHTML.instructions.types.js';
|
|
3
|
+
|
|
4
|
+
declare class AddElementInstruction extends AreDeclaration<AreHtmlAddElementInstructionPayload> {
|
|
5
|
+
constructor(props: AreHtmlAddElementInstructionPayload | AreInstructionSerialized<AreHtmlAddElementInstructionPayload>);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { AddElementInstruction };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var aFrame = require('@adaas/a-frame');
|
|
4
|
+
var are = require('@adaas/are');
|
|
5
|
+
var AreHTML_instructions_constants = require('./AreHTML.instructions.constants');
|
|
6
|
+
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (decorator(result)) || result;
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
exports.AddElementInstruction = class AddElementInstruction extends are.AreDeclaration {
|
|
16
|
+
constructor(props) {
|
|
17
|
+
if ("aseid" in props) {
|
|
18
|
+
super(props);
|
|
19
|
+
} else {
|
|
20
|
+
super(AreHTML_instructions_constants.AreHTMLInstructions.AddElement, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.AddElementInstruction = __decorateClass([
|
|
25
|
+
aFrame.A_Frame.Component({
|
|
26
|
+
namespace: "A-ARE",
|
|
27
|
+
name: "AddElementInstruction",
|
|
28
|
+
description: "Creates a new HTML element in the DOM. Apply creates the element; revert removes it."
|
|
29
|
+
})
|
|
30
|
+
], exports.AddElementInstruction);
|
|
31
|
+
//# sourceMappingURL=AddElement.instruction.js.map
|
|
32
|
+
//# sourceMappingURL=AddElement.instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddElement.instruction.ts"],"names":["AddElementInstruction","AreDeclaration","AreHTMLInstructions","A_Frame"],"mappings":";;;;;;;;;;;;;;AAWaA,6BAAA,GAAN,oCAAoCC,kBAAA,CAAoD;AAAA,EAC3F,YACI,KAAA,EACF;AACE,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAK,CAAA;AAAA,IACf,CAAA,MAAO;AACH,MAAA,KAAA,CAAMC,kDAAA,CAAoB,YAAY,KAAK,CAAA;AAAA,IAC/C;AAAA,EACJ;AACJ;AAVaF,6BAAA,GAAN,eAAA,CAAA;AAAA,EALNG,eAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,uBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACYH,6BAAA,CAAA","file":"AddElement.instruction.js","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddElementInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddElementInstruction',\n description: 'Creates a new HTML element in the DOM. Apply creates the element; revert removes it.'\n})\nexport class AddElementInstruction extends AreDeclaration<AreHtmlAddElementInstructionPayload> {\n constructor(\n props: AreHtmlAddElementInstructionPayload | AreInstructionSerialized<AreHtmlAddElementInstructionPayload>\n ) {\n if ('aseid' in props) {\n super(props);\n } else {\n super(AreHTMLInstructions.AddElement, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorateClass } from '../chunk-EQQGB2QZ.mjs';
|
|
2
|
+
import { A_Frame } from '@adaas/a-frame';
|
|
3
|
+
import { AreDeclaration } from '@adaas/are';
|
|
4
|
+
import { AreHTMLInstructions } from './AreHTML.instructions.constants';
|
|
5
|
+
|
|
6
|
+
let AddElementInstruction = class extends AreDeclaration {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
if ("aseid" in props) {
|
|
9
|
+
super(props);
|
|
10
|
+
} else {
|
|
11
|
+
super(AreHTMLInstructions.AddElement, props);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
AddElementInstruction = __decorateClass([
|
|
16
|
+
A_Frame.Component({
|
|
17
|
+
namespace: "A-ARE",
|
|
18
|
+
name: "AddElementInstruction",
|
|
19
|
+
description: "Creates a new HTML element in the DOM. Apply creates the element; revert removes it."
|
|
20
|
+
})
|
|
21
|
+
], AddElementInstruction);
|
|
22
|
+
|
|
23
|
+
export { AddElementInstruction };
|
|
24
|
+
//# sourceMappingURL=AddElement.instruction.mjs.map
|
|
25
|
+
//# sourceMappingURL=AddElement.instruction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/instructions/AddElement.instruction.ts"],"names":[],"mappings":";;;;;AAWO,IAAM,qBAAA,GAAN,cAAoC,cAAA,CAAoD;AAAA,EAC3F,YACI,KAAA,EACF;AACE,IAAA,IAAI,WAAW,KAAA,EAAO;AAClB,MAAA,KAAA,CAAM,KAAK,CAAA;AAAA,IACf,CAAA,MAAO;AACH,MAAA,KAAA,CAAM,mBAAA,CAAoB,YAAY,KAAK,CAAA;AAAA,IAC/C;AAAA,EACJ;AACJ;AAVa,qBAAA,GAAN,eAAA,CAAA;AAAA,EALN,QAAQ,SAAA,CAAU;AAAA,IACf,SAAA,EAAW,OAAA;AAAA,IACX,IAAA,EAAM,uBAAA;AAAA,IACN,WAAA,EAAa;AAAA,GAChB;AAAA,CAAA,EACY,qBAAA,CAAA","file":"AddElement.instruction.mjs","sourcesContent":["import { A_Frame } from \"@adaas/a-frame\";\nimport { AreDeclaration, AreInstructionSerialized } from \"@adaas/are\";\nimport { AreHtmlAddElementInstructionPayload } from \"./AreHTML.instructions.types\";\nimport { AreHTMLInstructions } from \"./AreHTML.instructions.constants\";\n\n\n@A_Frame.Component({\n namespace: 'A-ARE',\n name: 'AddElementInstruction',\n description: 'Creates a new HTML element in the DOM. Apply creates the element; revert removes it.'\n})\nexport class AddElementInstruction extends AreDeclaration<AreHtmlAddElementInstructionPayload> {\n constructor(\n props: AreHtmlAddElementInstructionPayload | AreInstructionSerialized<AreHtmlAddElementInstructionPayload>\n ) {\n if ('aseid' in props) {\n super(props);\n } else {\n super(AreHTMLInstructions.AddElement, props);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AreMutation, AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddInterpolationInstructionPayload } from './AreHTML.instructions.types.mjs';
|
|
3
|
+
|
|
4
|
+
declare class AddInterpolationInstruction extends AreMutation<AreHtmlAddInterpolationInstructionPayload> {
|
|
5
|
+
constructor(parent: AreDeclaration, props: AreHtmlAddInterpolationInstructionPayload | AreInstructionSerialized<AreHtmlAddInterpolationInstructionPayload>);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { AddInterpolationInstruction };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AreMutation, AreDeclaration, AreInstructionSerialized } from '@adaas/are';
|
|
2
|
+
import { AreHtmlAddInterpolationInstructionPayload } from './AreHTML.instructions.types.js';
|
|
3
|
+
|
|
4
|
+
declare class AddInterpolationInstruction extends AreMutation<AreHtmlAddInterpolationInstructionPayload> {
|
|
5
|
+
constructor(parent: AreDeclaration, props: AreHtmlAddInterpolationInstructionPayload | AreInstructionSerialized<AreHtmlAddInterpolationInstructionPayload>);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { AddInterpolationInstruction };
|