@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.
Files changed (365) hide show
  1. package/.conf/tsconfig.base.json +87 -0
  2. package/.conf/tsconfig.browser.json +34 -0
  3. package/.conf/tsconfig.node.json +35 -0
  4. package/.nvmrc +1 -0
  5. package/LICENSE +13 -0
  6. package/README.md +678 -0
  7. package/dist/browser/index.d.mts +521 -0
  8. package/dist/browser/index.mjs +1782 -0
  9. package/dist/browser/index.mjs.map +1 -0
  10. package/dist/node/AreBinding.attribute-C6JasbJL.d.ts +110 -0
  11. package/dist/node/AreBinding.attribute-C6qrxN8K.d.mts +110 -0
  12. package/dist/node/attributes/AreBinding.attribute.d.mts +4 -0
  13. package/dist/node/attributes/AreBinding.attribute.d.ts +4 -0
  14. package/dist/node/attributes/AreBinding.attribute.js +15 -0
  15. package/dist/node/attributes/AreBinding.attribute.js.map +1 -0
  16. package/dist/node/attributes/AreBinding.attribute.mjs +14 -0
  17. package/dist/node/attributes/AreBinding.attribute.mjs.map +1 -0
  18. package/dist/node/attributes/AreDirective.attribute.d.mts +4 -0
  19. package/dist/node/attributes/AreDirective.attribute.d.ts +4 -0
  20. package/dist/node/attributes/AreDirective.attribute.js +20 -0
  21. package/dist/node/attributes/AreDirective.attribute.js.map +1 -0
  22. package/dist/node/attributes/AreDirective.attribute.mjs +19 -0
  23. package/dist/node/attributes/AreDirective.attribute.mjs.map +1 -0
  24. package/dist/node/attributes/AreEvent.attribute.d.mts +4 -0
  25. package/dist/node/attributes/AreEvent.attribute.d.ts +4 -0
  26. package/dist/node/attributes/AreEvent.attribute.js +10 -0
  27. package/dist/node/attributes/AreEvent.attribute.js.map +1 -0
  28. package/dist/node/attributes/AreEvent.attribute.mjs +9 -0
  29. package/dist/node/attributes/AreEvent.attribute.mjs.map +1 -0
  30. package/dist/node/attributes/AreStatic.attribute.d.mts +4 -0
  31. package/dist/node/attributes/AreStatic.attribute.d.ts +4 -0
  32. package/dist/node/attributes/AreStatic.attribute.js +10 -0
  33. package/dist/node/attributes/AreStatic.attribute.js.map +1 -0
  34. package/dist/node/attributes/AreStatic.attribute.mjs +9 -0
  35. package/dist/node/attributes/AreStatic.attribute.mjs.map +1 -0
  36. package/dist/node/chunk-EQQGB2QZ.mjs +15 -0
  37. package/dist/node/chunk-EQQGB2QZ.mjs.map +1 -0
  38. package/dist/node/directives/AreComponent.directive.d.mts +2 -0
  39. package/dist/node/directives/AreComponent.directive.d.ts +2 -0
  40. package/dist/node/directives/AreComponent.directive.js +4 -0
  41. package/dist/node/directives/AreComponent.directive.js.map +1 -0
  42. package/dist/node/directives/AreComponent.directive.mjs +3 -0
  43. package/dist/node/directives/AreComponent.directive.mjs.map +1 -0
  44. package/dist/node/directives/AreDirectiveFor.directive.d.mts +41 -0
  45. package/dist/node/directives/AreDirectiveFor.directive.d.ts +41 -0
  46. package/dist/node/directives/AreDirectiveFor.directive.js +206 -0
  47. package/dist/node/directives/AreDirectiveFor.directive.js.map +1 -0
  48. package/dist/node/directives/AreDirectiveFor.directive.mjs +196 -0
  49. package/dist/node/directives/AreDirectiveFor.directive.mjs.map +1 -0
  50. package/dist/node/directives/AreDirectiveIf.directive.d.mts +15 -0
  51. package/dist/node/directives/AreDirectiveIf.directive.d.ts +15 -0
  52. package/dist/node/directives/AreDirectiveIf.directive.js +91 -0
  53. package/dist/node/directives/AreDirectiveIf.directive.js.map +1 -0
  54. package/dist/node/directives/AreDirectiveIf.directive.mjs +81 -0
  55. package/dist/node/directives/AreDirectiveIf.directive.mjs.map +1 -0
  56. package/dist/node/engine/AreHTML.compiler.d.mts +27 -0
  57. package/dist/node/engine/AreHTML.compiler.d.ts +27 -0
  58. package/dist/node/engine/AreHTML.compiler.js +150 -0
  59. package/dist/node/engine/AreHTML.compiler.js.map +1 -0
  60. package/dist/node/engine/AreHTML.compiler.mjs +140 -0
  61. package/dist/node/engine/AreHTML.compiler.mjs.map +1 -0
  62. package/dist/node/engine/AreHTML.constants.d.mts +2 -0
  63. package/dist/node/engine/AreHTML.constants.d.ts +2 -0
  64. package/dist/node/engine/AreHTML.constants.js +4 -0
  65. package/dist/node/engine/AreHTML.constants.js.map +1 -0
  66. package/dist/node/engine/AreHTML.constants.mjs +3 -0
  67. package/dist/node/engine/AreHTML.constants.mjs.map +1 -0
  68. package/dist/node/engine/AreHTML.context.d.mts +108 -0
  69. package/dist/node/engine/AreHTML.context.d.ts +108 -0
  70. package/dist/node/engine/AreHTML.context.js +155 -0
  71. package/dist/node/engine/AreHTML.context.js.map +1 -0
  72. package/dist/node/engine/AreHTML.context.mjs +154 -0
  73. package/dist/node/engine/AreHTML.context.mjs.map +1 -0
  74. package/dist/node/engine/AreHTML.engine.d.mts +21 -0
  75. package/dist/node/engine/AreHTML.engine.d.ts +21 -0
  76. package/dist/node/engine/AreHTML.engine.js +191 -0
  77. package/dist/node/engine/AreHTML.engine.js.map +1 -0
  78. package/dist/node/engine/AreHTML.engine.mjs +181 -0
  79. package/dist/node/engine/AreHTML.engine.mjs.map +1 -0
  80. package/dist/node/engine/AreHTML.interpreter.d.mts +28 -0
  81. package/dist/node/engine/AreHTML.interpreter.d.ts +28 -0
  82. package/dist/node/engine/AreHTML.interpreter.js +340 -0
  83. package/dist/node/engine/AreHTML.interpreter.js.map +1 -0
  84. package/dist/node/engine/AreHTML.interpreter.mjs +330 -0
  85. package/dist/node/engine/AreHTML.interpreter.mjs.map +1 -0
  86. package/dist/node/engine/AreHTML.lifecycle.d.mts +17 -0
  87. package/dist/node/engine/AreHTML.lifecycle.d.ts +17 -0
  88. package/dist/node/engine/AreHTML.lifecycle.js +91 -0
  89. package/dist/node/engine/AreHTML.lifecycle.js.map +1 -0
  90. package/dist/node/engine/AreHTML.lifecycle.mjs +79 -0
  91. package/dist/node/engine/AreHTML.lifecycle.mjs.map +1 -0
  92. package/dist/node/engine/AreHTML.tokenizer.d.mts +13 -0
  93. package/dist/node/engine/AreHTML.tokenizer.d.ts +13 -0
  94. package/dist/node/engine/AreHTML.tokenizer.js +83 -0
  95. package/dist/node/engine/AreHTML.tokenizer.js.map +1 -0
  96. package/dist/node/engine/AreHTML.tokenizer.mjs +71 -0
  97. package/dist/node/engine/AreHTML.tokenizer.mjs.map +1 -0
  98. package/dist/node/engine/AreHTML.transformer.d.mts +11 -0
  99. package/dist/node/engine/AreHTML.transformer.d.ts +11 -0
  100. package/dist/node/engine/AreHTML.transformer.js +44 -0
  101. package/dist/node/engine/AreHTML.transformer.js.map +1 -0
  102. package/dist/node/engine/AreHTML.transformer.mjs +32 -0
  103. package/dist/node/engine/AreHTML.transformer.mjs.map +1 -0
  104. package/dist/node/engine/AreHTML.types.d.mts +6 -0
  105. package/dist/node/engine/AreHTML.types.d.ts +6 -0
  106. package/dist/node/engine/AreHTML.types.js +4 -0
  107. package/dist/node/engine/AreHTML.types.js.map +1 -0
  108. package/dist/node/engine/AreHTML.types.mjs +3 -0
  109. package/dist/node/engine/AreHTML.types.mjs.map +1 -0
  110. package/dist/node/index.d.mts +39 -0
  111. package/dist/node/index.d.ts +39 -0
  112. package/dist/node/index.js +294 -0
  113. package/dist/node/index.js.map +1 -0
  114. package/dist/node/index.mjs +43 -0
  115. package/dist/node/index.mjs.map +1 -0
  116. package/dist/node/instructions/AddAttribute.instruction.d.mts +9 -0
  117. package/dist/node/instructions/AddAttribute.instruction.d.ts +9 -0
  118. package/dist/node/instructions/AddAttribute.instruction.js +32 -0
  119. package/dist/node/instructions/AddAttribute.instruction.js.map +1 -0
  120. package/dist/node/instructions/AddAttribute.instruction.mjs +25 -0
  121. package/dist/node/instructions/AddAttribute.instruction.mjs.map +1 -0
  122. package/dist/node/instructions/AddComment.instruction.d.mts +9 -0
  123. package/dist/node/instructions/AddComment.instruction.d.ts +9 -0
  124. package/dist/node/instructions/AddComment.instruction.js +35 -0
  125. package/dist/node/instructions/AddComment.instruction.js.map +1 -0
  126. package/dist/node/instructions/AddComment.instruction.mjs +28 -0
  127. package/dist/node/instructions/AddComment.instruction.mjs.map +1 -0
  128. package/dist/node/instructions/AddElement.instruction.d.mts +8 -0
  129. package/dist/node/instructions/AddElement.instruction.d.ts +8 -0
  130. package/dist/node/instructions/AddElement.instruction.js +32 -0
  131. package/dist/node/instructions/AddElement.instruction.js.map +1 -0
  132. package/dist/node/instructions/AddElement.instruction.mjs +25 -0
  133. package/dist/node/instructions/AddElement.instruction.mjs.map +1 -0
  134. package/dist/node/instructions/AddInterpolation.instruction.d.mts +8 -0
  135. package/dist/node/instructions/AddInterpolation.instruction.d.ts +8 -0
  136. package/dist/node/instructions/AddInterpolation.instruction.js +32 -0
  137. package/dist/node/instructions/AddInterpolation.instruction.js.map +1 -0
  138. package/dist/node/instructions/AddInterpolation.instruction.mjs +25 -0
  139. package/dist/node/instructions/AddInterpolation.instruction.mjs.map +1 -0
  140. package/dist/node/instructions/AddListener.instruction.d.mts +8 -0
  141. package/dist/node/instructions/AddListener.instruction.d.ts +8 -0
  142. package/dist/node/instructions/AddListener.instruction.js +32 -0
  143. package/dist/node/instructions/AddListener.instruction.js.map +1 -0
  144. package/dist/node/instructions/AddListener.instruction.mjs +25 -0
  145. package/dist/node/instructions/AddListener.instruction.mjs.map +1 -0
  146. package/dist/node/instructions/AddStyle.instruction.d.mts +8 -0
  147. package/dist/node/instructions/AddStyle.instruction.d.ts +8 -0
  148. package/dist/node/instructions/AddStyle.instruction.js +32 -0
  149. package/dist/node/instructions/AddStyle.instruction.js.map +1 -0
  150. package/dist/node/instructions/AddStyle.instruction.mjs +25 -0
  151. package/dist/node/instructions/AddStyle.instruction.mjs.map +1 -0
  152. package/dist/node/instructions/AddText.instruction.d.mts +8 -0
  153. package/dist/node/instructions/AddText.instruction.d.ts +8 -0
  154. package/dist/node/instructions/AddText.instruction.js +32 -0
  155. package/dist/node/instructions/AddText.instruction.js.map +1 -0
  156. package/dist/node/instructions/AddText.instruction.mjs +25 -0
  157. package/dist/node/instructions/AddText.instruction.mjs.map +1 -0
  158. package/dist/node/instructions/AreHTML.instructions.constants.d.mts +11 -0
  159. package/dist/node/instructions/AreHTML.instructions.constants.d.ts +11 -0
  160. package/dist/node/instructions/AreHTML.instructions.constants.js +15 -0
  161. package/dist/node/instructions/AreHTML.instructions.constants.js.map +1 -0
  162. package/dist/node/instructions/AreHTML.instructions.constants.mjs +15 -0
  163. package/dist/node/instructions/AreHTML.instructions.constants.mjs.map +1 -0
  164. package/dist/node/instructions/AreHTML.instructions.types.d.mts +46 -0
  165. package/dist/node/instructions/AreHTML.instructions.types.d.ts +46 -0
  166. package/dist/node/instructions/AreHTML.instructions.types.js +4 -0
  167. package/dist/node/instructions/AreHTML.instructions.types.js.map +1 -0
  168. package/dist/node/instructions/AreHTML.instructions.types.mjs +3 -0
  169. package/dist/node/instructions/AreHTML.instructions.types.mjs.map +1 -0
  170. package/dist/node/lib/AreDirective/AreDirective.component.d.mts +4 -0
  171. package/dist/node/lib/AreDirective/AreDirective.component.d.ts +4 -0
  172. package/dist/node/lib/AreDirective/AreDirective.component.js +117 -0
  173. package/dist/node/lib/AreDirective/AreDirective.component.js.map +1 -0
  174. package/dist/node/lib/AreDirective/AreDirective.component.mjs +107 -0
  175. package/dist/node/lib/AreDirective/AreDirective.component.mjs.map +1 -0
  176. package/dist/node/lib/AreDirective/AreDirective.constants.d.mts +16 -0
  177. package/dist/node/lib/AreDirective/AreDirective.constants.d.ts +16 -0
  178. package/dist/node/lib/AreDirective/AreDirective.constants.js +20 -0
  179. package/dist/node/lib/AreDirective/AreDirective.constants.js.map +1 -0
  180. package/dist/node/lib/AreDirective/AreDirective.constants.mjs +20 -0
  181. package/dist/node/lib/AreDirective/AreDirective.constants.mjs.map +1 -0
  182. package/dist/node/lib/AreDirective/AreDirective.context.d.mts +9 -0
  183. package/dist/node/lib/AreDirective/AreDirective.context.d.ts +9 -0
  184. package/dist/node/lib/AreDirective/AreDirective.context.js +14 -0
  185. package/dist/node/lib/AreDirective/AreDirective.context.js.map +1 -0
  186. package/dist/node/lib/AreDirective/AreDirective.context.mjs +13 -0
  187. package/dist/node/lib/AreDirective/AreDirective.context.mjs.map +1 -0
  188. package/dist/node/lib/AreDirective/AreDirective.meta.d.mts +7 -0
  189. package/dist/node/lib/AreDirective/AreDirective.meta.d.ts +7 -0
  190. package/dist/node/lib/AreDirective/AreDirective.meta.js +14 -0
  191. package/dist/node/lib/AreDirective/AreDirective.meta.js.map +1 -0
  192. package/dist/node/lib/AreDirective/AreDirective.meta.mjs +13 -0
  193. package/dist/node/lib/AreDirective/AreDirective.meta.mjs.map +1 -0
  194. package/dist/node/lib/AreDirective/AreDirective.types.d.mts +17 -0
  195. package/dist/node/lib/AreDirective/AreDirective.types.d.ts +17 -0
  196. package/dist/node/lib/AreDirective/AreDirective.types.js +4 -0
  197. package/dist/node/lib/AreDirective/AreDirective.types.js.map +1 -0
  198. package/dist/node/lib/AreDirective/AreDirective.types.mjs +3 -0
  199. package/dist/node/lib/AreDirective/AreDirective.types.mjs.map +1 -0
  200. package/dist/node/lib/AreHTML/AreHTML.tokenizer.d.mts +13 -0
  201. package/dist/node/lib/AreHTML/AreHTML.tokenizer.d.ts +13 -0
  202. package/dist/node/lib/AreHTML/AreHTML.tokenizer.js +82 -0
  203. package/dist/node/lib/AreHTML/AreHTML.tokenizer.js.map +1 -0
  204. package/dist/node/lib/AreHTML/AreHTML.tokenizer.mjs +70 -0
  205. package/dist/node/lib/AreHTML/AreHTML.tokenizer.mjs.map +1 -0
  206. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.d.mts +4 -0
  207. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.d.ts +4 -0
  208. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.js +13 -0
  209. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.js.map +1 -0
  210. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.mjs +12 -0
  211. package/dist/node/lib/AreHTMLAttribute/AreHTML.attribute.mjs.map +1 -0
  212. package/dist/node/lib/AreHTMLNode/AreHTMLNode.d.mts +4 -0
  213. package/dist/node/lib/AreHTMLNode/AreHTMLNode.d.ts +4 -0
  214. package/dist/node/lib/AreHTMLNode/AreHTMLNode.js +82 -0
  215. package/dist/node/lib/AreHTMLNode/AreHTMLNode.js.map +1 -0
  216. package/dist/node/lib/AreHTMLNode/AreHTMLNode.mjs +75 -0
  217. package/dist/node/lib/AreHTMLNode/AreHTMLNode.mjs.map +1 -0
  218. package/dist/node/lib/AreRoot/AreRoot.component.d.mts +13 -0
  219. package/dist/node/lib/AreRoot/AreRoot.component.d.ts +13 -0
  220. package/dist/node/lib/AreRoot/AreRoot.component.js +117 -0
  221. package/dist/node/lib/AreRoot/AreRoot.component.js.map +1 -0
  222. package/dist/node/lib/AreRoot/AreRoot.component.mjs +107 -0
  223. package/dist/node/lib/AreRoot/AreRoot.component.mjs.map +1 -0
  224. package/dist/node/lib/AreStyle/AreStyle.context.d.mts +8 -0
  225. package/dist/node/lib/AreStyle/AreStyle.context.d.ts +8 -0
  226. package/dist/node/lib/AreStyle/AreStyle.context.js +16 -0
  227. package/dist/node/lib/AreStyle/AreStyle.context.js.map +1 -0
  228. package/dist/node/lib/AreStyle/AreStyle.context.mjs +15 -0
  229. package/dist/node/lib/AreStyle/AreStyle.context.mjs.map +1 -0
  230. package/dist/node/lib/AreStyle/AreStyle.types.d.mts +2 -0
  231. package/dist/node/lib/AreStyle/AreStyle.types.d.ts +2 -0
  232. package/dist/node/lib/AreStyle/AreStyle.types.js +4 -0
  233. package/dist/node/lib/AreStyle/AreStyle.types.js.map +1 -0
  234. package/dist/node/lib/AreStyle/AreStyle.types.mjs +3 -0
  235. package/dist/node/lib/AreStyle/AreStyle.types.mjs.map +1 -0
  236. package/dist/node/lib/AreWatcher/AreWatcher.component.d.mts +18 -0
  237. package/dist/node/lib/AreWatcher/AreWatcher.component.d.ts +18 -0
  238. package/dist/node/lib/AreWatcher/AreWatcher.component.js +78 -0
  239. package/dist/node/lib/AreWatcher/AreWatcher.component.js.map +1 -0
  240. package/dist/node/lib/AreWatcher/AreWatcher.component.mjs +71 -0
  241. package/dist/node/lib/AreWatcher/AreWatcher.component.mjs.map +1 -0
  242. package/dist/node/nodes/AreComment.d.mts +10 -0
  243. package/dist/node/nodes/AreComment.d.ts +10 -0
  244. package/dist/node/nodes/AreComment.js +19 -0
  245. package/dist/node/nodes/AreComment.js.map +1 -0
  246. package/dist/node/nodes/AreComment.mjs +18 -0
  247. package/dist/node/nodes/AreComment.mjs.map +1 -0
  248. package/dist/node/nodes/AreComponent.d.mts +17 -0
  249. package/dist/node/nodes/AreComponent.d.ts +17 -0
  250. package/dist/node/nodes/AreComponent.js +35 -0
  251. package/dist/node/nodes/AreComponent.js.map +1 -0
  252. package/dist/node/nodes/AreComponent.mjs +28 -0
  253. package/dist/node/nodes/AreComponent.mjs.map +1 -0
  254. package/dist/node/nodes/AreInterpolation.d.mts +10 -0
  255. package/dist/node/nodes/AreInterpolation.d.ts +10 -0
  256. package/dist/node/nodes/AreInterpolation.js +19 -0
  257. package/dist/node/nodes/AreInterpolation.js.map +1 -0
  258. package/dist/node/nodes/AreInterpolation.mjs +18 -0
  259. package/dist/node/nodes/AreInterpolation.mjs.map +1 -0
  260. package/dist/node/nodes/AreRoot.d.mts +21 -0
  261. package/dist/node/nodes/AreRoot.d.ts +21 -0
  262. package/dist/node/nodes/AreRoot.js +41 -0
  263. package/dist/node/nodes/AreRoot.js.map +1 -0
  264. package/dist/node/nodes/AreRoot.mjs +34 -0
  265. package/dist/node/nodes/AreRoot.mjs.map +1 -0
  266. package/dist/node/nodes/AreText.d.mts +10 -0
  267. package/dist/node/nodes/AreText.d.ts +10 -0
  268. package/dist/node/nodes/AreText.js +19 -0
  269. package/dist/node/nodes/AreText.js.map +1 -0
  270. package/dist/node/nodes/AreText.mjs +18 -0
  271. package/dist/node/nodes/AreText.mjs.map +1 -0
  272. package/dist/node/signals/AreRoute.signal.d.mts +12 -0
  273. package/dist/node/signals/AreRoute.signal.d.ts +12 -0
  274. package/dist/node/signals/AreRoute.signal.js +25 -0
  275. package/dist/node/signals/AreRoute.signal.js.map +1 -0
  276. package/dist/node/signals/AreRoute.signal.mjs +24 -0
  277. package/dist/node/signals/AreRoute.signal.mjs.map +1 -0
  278. package/docs/a-logo-docs.png +0 -0
  279. package/examples/dashboard/concept.ts +60 -0
  280. package/examples/dashboard/containers/UI.container.ts +233 -0
  281. package/examples/dashboard/dist/index.html +22 -0
  282. package/examples/dashboard/dist/mnzfypsd-6zjt7w.js +11454 -0
  283. package/examples/dashboard/dist/styles.css +792 -0
  284. package/examples/dashboard/public/index.html +22 -0
  285. package/examples/dashboard/public/styles.css +792 -0
  286. package/examples/dashboard/src/components/DashboardApp.component.ts +31 -0
  287. package/examples/dashboard/src/components/DashboardHeader.component.ts +40 -0
  288. package/examples/dashboard/src/components/DashboardLogo.component.ts +29 -0
  289. package/examples/dashboard/src/components/DashboardMain.component.ts +57 -0
  290. package/examples/dashboard/src/components/DashboardMenu.component.ts +94 -0
  291. package/examples/dashboard/src/components/DashboardNav.component.ts +28 -0
  292. package/examples/dashboard/src/components/DashboardNavItem.component.ts +32 -0
  293. package/examples/dashboard/src/components/DashboardSidebar.component.ts +43 -0
  294. package/examples/dashboard/src/components/DashboardStatCard.component.ts +71 -0
  295. package/examples/dashboard/src/components/DashboardStats.component.ts +28 -0
  296. package/examples/dashboard/src/components/DashboardTable.component.ts +138 -0
  297. package/examples/dashboard/src/components/DashboardUserCard.component.ts +39 -0
  298. package/examples/dashboard/src/concept.ts +93 -0
  299. package/examples/jumpstart/concept.ts +60 -0
  300. package/examples/jumpstart/containers/UI.container.ts +233 -0
  301. package/examples/jumpstart/dist/index.html +104 -0
  302. package/examples/jumpstart/dist/mnpl1g4i-nobz9g.js +10882 -0
  303. package/examples/jumpstart/dist/static/css/main.css +40 -0
  304. package/examples/jumpstart/dist/static/img/test.png +0 -0
  305. package/examples/jumpstart/public/index.html +104 -0
  306. package/examples/jumpstart/public/static/css/main.css +40 -0
  307. package/examples/jumpstart/public/static/img/test.png +0 -0
  308. package/examples/jumpstart/src/components/A-Btn.component.ts +150 -0
  309. package/examples/jumpstart/src/components/A-Input.component.ts +78 -0
  310. package/examples/jumpstart/src/components/A-Navigation.component.ts +167 -0
  311. package/examples/jumpstart/src/components/List.component.ts +138 -0
  312. package/examples/jumpstart/src/components/PromptTextArea.component.ts +359 -0
  313. package/examples/jumpstart/src/components/SignInComponent.component.ts +127 -0
  314. package/examples/jumpstart/src/concept.ts +105 -0
  315. package/jest.config.ts +61 -0
  316. package/package.json +110 -0
  317. package/src/attributes/AreBinding.attribute.ts +19 -0
  318. package/src/attributes/AreDirective.attribute.ts +26 -0
  319. package/src/attributes/AreEvent.attribute.ts +5 -0
  320. package/src/attributes/AreStatic.attribute.ts +6 -0
  321. package/src/directives/AreComponent.directive.ts +0 -0
  322. package/src/directives/AreDirectiveFor.directive.ts +322 -0
  323. package/src/directives/AreDirectiveIf.directive.ts +130 -0
  324. package/src/engine/AreHTML.compiler.ts +226 -0
  325. package/src/engine/AreHTML.constants.ts +2 -0
  326. package/src/engine/AreHTML.context.ts +196 -0
  327. package/src/engine/AreHTML.engine.ts +210 -0
  328. package/src/engine/AreHTML.interpreter.ts +466 -0
  329. package/src/engine/AreHTML.lifecycle.ts +96 -0
  330. package/src/engine/AreHTML.tokenizer.ts +90 -0
  331. package/src/engine/AreHTML.transformer.ts +37 -0
  332. package/src/engine/AreHTML.types.ts +6 -0
  333. package/src/index.ts +80 -0
  334. package/src/instructions/AddAttribute.instruction.ts +25 -0
  335. package/src/instructions/AddComment.instruction.ts +27 -0
  336. package/src/instructions/AddElement.instruction.ts +22 -0
  337. package/src/instructions/AddInterpolation.instruction.ts +24 -0
  338. package/src/instructions/AddListener.instruction.ts +24 -0
  339. package/src/instructions/AddStyle.instruction.ts +24 -0
  340. package/src/instructions/AddText.instruction.ts +21 -0
  341. package/src/instructions/AreHTML.instructions.constants.ts +11 -0
  342. package/src/instructions/AreHTML.instructions.types.ts +51 -0
  343. package/src/lib/AreDirective/AreDirective.component.ts +124 -0
  344. package/src/lib/AreDirective/AreDirective.constants.ts +16 -0
  345. package/src/lib/AreDirective/AreDirective.context.ts +16 -0
  346. package/src/lib/AreDirective/AreDirective.meta.ts +9 -0
  347. package/src/lib/AreDirective/AreDirective.types.ts +14 -0
  348. package/src/lib/AreHTML/AreHTML.tokenizer.ts +86 -0
  349. package/src/lib/AreHTMLAttribute/AreHTML.attribute.ts +13 -0
  350. package/src/lib/AreHTMLNode/AreHTMLNode.ts +84 -0
  351. package/src/lib/AreRoot/AreRoot.component.ts +134 -0
  352. package/src/lib/AreStyle/AreStyle.context.ts +20 -0
  353. package/src/lib/AreStyle/AreStyle.types.ts +0 -0
  354. package/src/lib/AreWatcher/AreWatcher.component.ts +84 -0
  355. package/src/nodes/AreComment.ts +17 -0
  356. package/src/nodes/AreComponent.ts +25 -0
  357. package/src/nodes/AreInterpolation.ts +16 -0
  358. package/src/nodes/AreRoot.ts +29 -0
  359. package/src/nodes/AreText.ts +17 -0
  360. package/src/signals/AreRoute.signal.ts +27 -0
  361. package/tests/AreTokenizer.test.ts +260 -0
  362. package/tests/jest.setup.ts +30 -0
  363. package/tsconfig.json +60 -0
  364. package/tslint.json +98 -0
  365. package/tsup.config.ts +108 -0
@@ -0,0 +1,117 @@
1
+ 'use strict';
2
+
3
+ var aConcept = require('@adaas/a-concept');
4
+ var aLogger = require('@adaas/a-utils/a-logger');
5
+ var AreDirective_meta = require('./AreDirective.meta');
6
+ var AreDirective_constants = require('./AreDirective.constants');
7
+
8
+ var __defProp = Object.defineProperty;
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
+ var __decorateClass = (decorators, target, key, kind) => {
11
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
+ if (decorator = decorators[i])
14
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
+ if (kind && result) __defProp(target, key, result);
16
+ return result;
17
+ };
18
+ var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
19
+ exports.AreDirective = class AreDirective extends aConcept.A_Component {
20
+ //==================================================================================
21
+ //======================== LIFECYCLE DECORATORS ====================================
22
+ //==================================================================================
23
+ /**
24
+ * Allows to define a compilation order for directives, which is necessary when we have multiple directives on the same node and we want to control the order of their compilation and application. The directive with the highest priority will be compiled and applied first, and the directive with the lowest priority will be compiled and applied last. This is important because some directives may depend on the output of other directives, so we need to ensure that they are compiled and applied in the correct order to avoid errors and ensure the expected behavior.
25
+ *
26
+ * @param priority
27
+ * @returns
28
+ */
29
+ static Priority(priority) {
30
+ return function(target) {
31
+ const meta = aConcept.A_Context.meta(target);
32
+ meta.priority = priority;
33
+ return target;
34
+ };
35
+ }
36
+ /**
37
+ * Allows to define a custom method for transforming the AreNode tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
38
+ */
39
+ static get Transform() {
40
+ return (target, propertyKey, descriptor) => {
41
+ return aConcept.A_Feature.Extend({
42
+ name: AreDirective_constants.AreDirectiveFeatures.Transform,
43
+ scope: [target.constructor]
44
+ })(target, propertyKey, descriptor);
45
+ };
46
+ }
47
+ /**
48
+ * Allows to define a custom method for compiling a directive attribute into a set of SceneInstructions.
49
+ * Can be used at any component to extend this logic not only for a AreDirective inherited.
50
+ */
51
+ static get Compile() {
52
+ return (target, propertyKey, descriptor) => {
53
+ return aConcept.A_Feature.Extend({
54
+ name: AreDirective_constants.AreDirectiveFeatures.Compile,
55
+ scope: [target.constructor]
56
+ })(target, propertyKey, descriptor);
57
+ };
58
+ }
59
+ /**
60
+ * Allows to define a custom method for updating a directive attribute based on changes in the store or other dependencies.
61
+ * Can be used at any component to extend this logic not only for a AreDirective inherited.
62
+ */
63
+ static get Update() {
64
+ return (target, propertyKey, descriptor) => {
65
+ return aConcept.A_Feature.Extend({
66
+ name: AreDirective_constants.AreDirectiveFeatures.Update,
67
+ scope: [target.constructor]
68
+ })(target, propertyKey, descriptor);
69
+ };
70
+ }
71
+ /**
72
+ * Default transform method for directives, which can be overridden by specific directive implementations. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
73
+ *
74
+ * @param attribute - The directive attribute to transform, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)
75
+ * @param args - Additional arguments that may be required for the transformation process.
76
+ */
77
+ transform(attribute, ...args) {
78
+ const logger = aConcept.A_Context.scope(this).resolve(aLogger.A_Logger);
79
+ if (logger) {
80
+ logger.warning(`No transforming logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
81
+ }
82
+ }
83
+ compile(attribute, ...args) {
84
+ const logger = aConcept.A_Context.scope(this).resolve(aLogger.A_Logger);
85
+ if (logger) {
86
+ logger.warning(`No compiling logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
87
+ }
88
+ }
89
+ update(attribute, ...args) {
90
+ const logger = aConcept.A_Context.scope(this).resolve(aLogger.A_Logger);
91
+ if (logger) {
92
+ logger.warning(`No update logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
93
+ }
94
+ }
95
+ };
96
+ __decorateClass([
97
+ __decorateParam(0, aConcept.A_Inject(aConcept.A_Caller))
98
+ ], exports.AreDirective.prototype, "transform", 1);
99
+ __decorateClass([
100
+ aConcept.A_Feature.Extend({
101
+ name: AreDirective_constants.AreDirectiveFeatures.Compile,
102
+ scope: [exports.AreDirective]
103
+ }),
104
+ __decorateParam(0, aConcept.A_Inject(aConcept.A_Caller))
105
+ ], exports.AreDirective.prototype, "compile", 1);
106
+ __decorateClass([
107
+ aConcept.A_Feature.Extend({
108
+ name: AreDirective_constants.AreDirectiveFeatures.Update,
109
+ scope: [exports.AreDirective]
110
+ }),
111
+ __decorateParam(0, aConcept.A_Inject(aConcept.A_Caller))
112
+ ], exports.AreDirective.prototype, "update", 1);
113
+ exports.AreDirective = __decorateClass([
114
+ aConcept.A_Meta.Define(AreDirective_meta.AreDirectiveMeta)
115
+ ], exports.AreDirective);
116
+ //# sourceMappingURL=AreDirective.component.js.map
117
+ //# sourceMappingURL=AreDirective.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.component.ts"],"names":["AreDirective","A_Component","A_Context","A_Feature","AreDirectiveFeatures","A_Logger","A_Caller","A_Meta","AreDirectiveMeta"],"mappings":"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","file":"AreDirective.component.js","sourcesContent":["import { A_Caller, A_Component, A_Context, A_Feature, A_Inject, A_Meta, A_TYPES__Ctor } from \"@adaas/a-concept\";\nimport { A_Logger } from \"@adaas/a-utils/a-logger\";\nimport type { AreDirectiveAttribute } from \"@adaas/are-html/attributes/AreDirective.attribute\";\nimport { AreDirectiveMeta } from \"./AreDirective.meta\";\nimport { AreDirectiveFeatures } from \"./AreDirective.constants\";\n\n\n@A_Meta.Define(AreDirectiveMeta)\nexport class AreDirective extends A_Component {\n\n //==================================================================================\n //======================== LIFECYCLE DECORATORS ====================================\n //==================================================================================\n /**\n * Allows to define a compilation order for directives, which is necessary when we have multiple directives on the same node and we want to control the order of their compilation and application. The directive with the highest priority will be compiled and applied first, and the directive with the lowest priority will be compiled and applied last. This is important because some directives may depend on the output of other directives, so we need to ensure that they are compiled and applied in the correct order to avoid errors and ensure the expected behavior.\n * \n * @param priority \n * @returns \n */\n static Priority(priority: number) {\n return function <TTarget extends A_TYPES__Ctor<AreDirective>>(\n target: TTarget\n ): TTarget {\n // Store meta info on the target class itself for the Meta decorator to pick up\n const meta = A_Context.meta<AreDirectiveMeta>(target);\n\n meta.priority = priority;\n\n return target;\n };\n }\n\n /**\n * Allows to define a custom method for transforming the AreNode tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n */\n static get Transform() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Transform,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Allows to define a custom method for compiling a directive attribute into a set of SceneInstructions. \n * Can be used at any component to extend this logic not only for a AreDirective inherited.\n */\n static get Compile() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Compile,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Allows to define a custom method for updating a directive attribute based on changes in the store or other dependencies.\n * Can be used at any component to extend this logic not only for a AreDirective inherited.\n */\n static get Update() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Update,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Default transform method for directives, which can be overridden by specific directive implementations. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n * \n * @param attribute - The directive attribute to transform, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the transformation process.\n */\n transform(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No transforming logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n /**\n * Default compile method for directives, which can be overridden by specific directive implementations.\n * \n * @param attribute - The directive attribute to compile, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the compilation process.\n */\n @A_Feature.Extend({\n name: AreDirectiveFeatures.Compile,\n scope: [AreDirective],\n })\n compile(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No compiling logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n /**\n * Default update method for directives, which can be overridden by specific directive implementations. This method is called when there are changes in the store or other dependencies that may affect the directive's behavior or appearance. The method should contain logic to update the directive accordingly, such as re-evaluating its value, modifying the DOM, or triggering re-rendering of the affected nodes.\n * \n * @param attribute - The directive attribute to update, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the update process.\n */\n @A_Feature.Extend({\n name: AreDirectiveFeatures.Update,\n scope: [AreDirective],\n })\n update(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No update logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n}"]}
@@ -0,0 +1,107 @@
1
+ import { __decorateClass, __decorateParam } from '../../chunk-EQQGB2QZ.mjs';
2
+ import { A_Inject, A_Caller, A_Feature, A_Meta, A_Component, A_Context } from '@adaas/a-concept';
3
+ import { A_Logger } from '@adaas/a-utils/a-logger';
4
+ import { AreDirectiveMeta } from './AreDirective.meta';
5
+ import { AreDirectiveFeatures } from './AreDirective.constants';
6
+
7
+ let AreDirective = class extends A_Component {
8
+ //==================================================================================
9
+ //======================== LIFECYCLE DECORATORS ====================================
10
+ //==================================================================================
11
+ /**
12
+ * Allows to define a compilation order for directives, which is necessary when we have multiple directives on the same node and we want to control the order of their compilation and application. The directive with the highest priority will be compiled and applied first, and the directive with the lowest priority will be compiled and applied last. This is important because some directives may depend on the output of other directives, so we need to ensure that they are compiled and applied in the correct order to avoid errors and ensure the expected behavior.
13
+ *
14
+ * @param priority
15
+ * @returns
16
+ */
17
+ static Priority(priority) {
18
+ return function(target) {
19
+ const meta = A_Context.meta(target);
20
+ meta.priority = priority;
21
+ return target;
22
+ };
23
+ }
24
+ /**
25
+ * Allows to define a custom method for transforming the AreNode tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
26
+ */
27
+ static get Transform() {
28
+ return (target, propertyKey, descriptor) => {
29
+ return A_Feature.Extend({
30
+ name: AreDirectiveFeatures.Transform,
31
+ scope: [target.constructor]
32
+ })(target, propertyKey, descriptor);
33
+ };
34
+ }
35
+ /**
36
+ * Allows to define a custom method for compiling a directive attribute into a set of SceneInstructions.
37
+ * Can be used at any component to extend this logic not only for a AreDirective inherited.
38
+ */
39
+ static get Compile() {
40
+ return (target, propertyKey, descriptor) => {
41
+ return A_Feature.Extend({
42
+ name: AreDirectiveFeatures.Compile,
43
+ scope: [target.constructor]
44
+ })(target, propertyKey, descriptor);
45
+ };
46
+ }
47
+ /**
48
+ * Allows to define a custom method for updating a directive attribute based on changes in the store or other dependencies.
49
+ * Can be used at any component to extend this logic not only for a AreDirective inherited.
50
+ */
51
+ static get Update() {
52
+ return (target, propertyKey, descriptor) => {
53
+ return A_Feature.Extend({
54
+ name: AreDirectiveFeatures.Update,
55
+ scope: [target.constructor]
56
+ })(target, propertyKey, descriptor);
57
+ };
58
+ }
59
+ /**
60
+ * Default transform method for directives, which can be overridden by specific directive implementations. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
61
+ *
62
+ * @param attribute - The directive attribute to transform, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)
63
+ * @param args - Additional arguments that may be required for the transformation process.
64
+ */
65
+ transform(attribute, ...args) {
66
+ const logger = A_Context.scope(this).resolve(A_Logger);
67
+ if (logger) {
68
+ logger.warning(`No transforming logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
69
+ }
70
+ }
71
+ compile(attribute, ...args) {
72
+ const logger = A_Context.scope(this).resolve(A_Logger);
73
+ if (logger) {
74
+ logger.warning(`No compiling logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
75
+ }
76
+ }
77
+ update(attribute, ...args) {
78
+ const logger = A_Context.scope(this).resolve(A_Logger);
79
+ if (logger) {
80
+ logger.warning(`No update logic defined for directive: ${attribute.name} with content: ${attribute.content}`);
81
+ }
82
+ }
83
+ };
84
+ __decorateClass([
85
+ __decorateParam(0, A_Inject(A_Caller))
86
+ ], AreDirective.prototype, "transform", 1);
87
+ __decorateClass([
88
+ A_Feature.Extend({
89
+ name: AreDirectiveFeatures.Compile,
90
+ scope: [AreDirective]
91
+ }),
92
+ __decorateParam(0, A_Inject(A_Caller))
93
+ ], AreDirective.prototype, "compile", 1);
94
+ __decorateClass([
95
+ A_Feature.Extend({
96
+ name: AreDirectiveFeatures.Update,
97
+ scope: [AreDirective]
98
+ }),
99
+ __decorateParam(0, A_Inject(A_Caller))
100
+ ], AreDirective.prototype, "update", 1);
101
+ AreDirective = __decorateClass([
102
+ A_Meta.Define(AreDirectiveMeta)
103
+ ], AreDirective);
104
+
105
+ export { AreDirective };
106
+ //# sourceMappingURL=AreDirective.component.mjs.map
107
+ //# sourceMappingURL=AreDirective.component.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.component.ts"],"names":[],"mappings":"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","file":"AreDirective.component.mjs","sourcesContent":["import { A_Caller, A_Component, A_Context, A_Feature, A_Inject, A_Meta, A_TYPES__Ctor } from \"@adaas/a-concept\";\nimport { A_Logger } from \"@adaas/a-utils/a-logger\";\nimport type { AreDirectiveAttribute } from \"@adaas/are-html/attributes/AreDirective.attribute\";\nimport { AreDirectiveMeta } from \"./AreDirective.meta\";\nimport { AreDirectiveFeatures } from \"./AreDirective.constants\";\n\n\n@A_Meta.Define(AreDirectiveMeta)\nexport class AreDirective extends A_Component {\n\n //==================================================================================\n //======================== LIFECYCLE DECORATORS ====================================\n //==================================================================================\n /**\n * Allows to define a compilation order for directives, which is necessary when we have multiple directives on the same node and we want to control the order of their compilation and application. The directive with the highest priority will be compiled and applied first, and the directive with the lowest priority will be compiled and applied last. This is important because some directives may depend on the output of other directives, so we need to ensure that they are compiled and applied in the correct order to avoid errors and ensure the expected behavior.\n * \n * @param priority \n * @returns \n */\n static Priority(priority: number) {\n return function <TTarget extends A_TYPES__Ctor<AreDirective>>(\n target: TTarget\n ): TTarget {\n // Store meta info on the target class itself for the Meta decorator to pick up\n const meta = A_Context.meta<AreDirectiveMeta>(target);\n\n meta.priority = priority;\n\n return target;\n };\n }\n\n /**\n * Allows to define a custom method for transforming the AreNode tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n */\n static get Transform() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Transform,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Allows to define a custom method for compiling a directive attribute into a set of SceneInstructions. \n * Can be used at any component to extend this logic not only for a AreDirective inherited.\n */\n static get Compile() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Compile,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Allows to define a custom method for updating a directive attribute based on changes in the store or other dependencies.\n * Can be used at any component to extend this logic not only for a AreDirective inherited.\n */\n static get Update() {\n return (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {\n return A_Feature.Extend({\n name: AreDirectiveFeatures.Update,\n scope: [target.constructor],\n })(target, propertyKey, descriptor);\n }\n }\n\n /**\n * Default transform method for directives, which can be overridden by specific directive implementations. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n * \n * @param attribute - The directive attribute to transform, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the transformation process.\n */\n transform(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No transforming logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n /**\n * Default compile method for directives, which can be overridden by specific directive implementations.\n * \n * @param attribute - The directive attribute to compile, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the compilation process.\n */\n @A_Feature.Extend({\n name: AreDirectiveFeatures.Compile,\n scope: [AreDirective],\n })\n compile(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No compiling logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n /**\n * Default update method for directives, which can be overridden by specific directive implementations. This method is called when there are changes in the store or other dependencies that may affect the directive's behavior or appearance. The method should contain logic to update the directive accordingly, such as re-evaluating its value, modifying the DOM, or triggering re-rendering of the affected nodes.\n * \n * @param attribute - The directive attribute to update, which contains all the information about the directive as defined in the template (e.g. name, raw content, evaluated value, etc.)\n * @param args - Additional arguments that may be required for the update process.\n */\n @A_Feature.Extend({\n name: AreDirectiveFeatures.Update,\n scope: [AreDirective],\n })\n update(\n @A_Inject(A_Caller) attribute: AreDirectiveAttribute,\n ...args: any[]\n ) {\n const logger = A_Context.scope(this).resolve(A_Logger) as A_Logger | undefined\n if (logger) {\n logger.warning(`No update logic defined for directive: ${attribute.name} with content: ${attribute.content}`);\n }\n }\n}"]}
@@ -0,0 +1,16 @@
1
+ declare const AreDirectiveFeatures: {
2
+ /**
3
+ * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
4
+ */
5
+ readonly Transform: "_AreDirective_Transform";
6
+ /**
7
+ * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly
8
+ */
9
+ readonly Compile: "_AreDirective_Compile";
10
+ /**
11
+ * Feature that should update the directiveAttribute based on the changes in the store or other dependencies.
12
+ */
13
+ readonly Update: "_AreDirective_Update";
14
+ };
15
+
16
+ export { AreDirectiveFeatures };
@@ -0,0 +1,16 @@
1
+ declare const AreDirectiveFeatures: {
2
+ /**
3
+ * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
4
+ */
5
+ readonly Transform: "_AreDirective_Transform";
6
+ /**
7
+ * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly
8
+ */
9
+ readonly Compile: "_AreDirective_Compile";
10
+ /**
11
+ * Feature that should update the directiveAttribute based on the changes in the store or other dependencies.
12
+ */
13
+ readonly Update: "_AreDirective_Update";
14
+ };
15
+
16
+ export { AreDirectiveFeatures };
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ const AreDirectiveFeatures = {
4
+ /**
5
+ * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
6
+ */
7
+ Transform: "_AreDirective_Transform",
8
+ /**
9
+ * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly
10
+ */
11
+ Compile: "_AreDirective_Compile",
12
+ /**
13
+ * Feature that should update the directiveAttribute based on the changes in the store or other dependencies.
14
+ */
15
+ Update: "_AreDirective_Update"
16
+ };
17
+
18
+ exports.AreDirectiveFeatures = AreDirectiveFeatures;
19
+ //# sourceMappingURL=AreDirective.constants.js.map
20
+ //# sourceMappingURL=AreDirective.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.constants.ts"],"names":[],"mappings":";;AAEO,MAAM,oBAAA,GAAuB;AAAA;AAAA;AAAA;AAAA,EAIhC,SAAA,EAAW,yBAAA;AAAA;AAAA;AAAA;AAAA,EAIX,OAAA,EAAS,uBAAA;AAAA;AAAA;AAAA;AAAA,EAIT,MAAA,EAAQ;AACZ","file":"AreDirective.constants.js","sourcesContent":["\n\nexport const AreDirectiveFeatures = {\n /**\n * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n */\n Transform: '_AreDirective_Transform',\n /**\n * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly\n */\n Compile: '_AreDirective_Compile',\n /**\n * Feature that should update the directiveAttribute based on the changes in the store or other dependencies. \n */\n Update: '_AreDirective_Update',\n} as const"]}
@@ -0,0 +1,20 @@
1
+ import '../../chunk-EQQGB2QZ.mjs';
2
+
3
+ const AreDirectiveFeatures = {
4
+ /**
5
+ * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.
6
+ */
7
+ Transform: "_AreDirective_Transform",
8
+ /**
9
+ * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly
10
+ */
11
+ Compile: "_AreDirective_Compile",
12
+ /**
13
+ * Feature that should update the directiveAttribute based on the changes in the store or other dependencies.
14
+ */
15
+ Update: "_AreDirective_Update"
16
+ };
17
+
18
+ export { AreDirectiveFeatures };
19
+ //# sourceMappingURL=AreDirective.constants.mjs.map
20
+ //# sourceMappingURL=AreDirective.constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.constants.ts"],"names":[],"mappings":";;AAEO,MAAM,oBAAA,GAAuB;AAAA;AAAA;AAAA;AAAA,EAIhC,SAAA,EAAW,yBAAA;AAAA;AAAA;AAAA;AAAA,EAIX,OAAA,EAAS,uBAAA;AAAA;AAAA;AAAA;AAAA,EAIT,MAAA,EAAQ;AACZ","file":"AreDirective.constants.mjs","sourcesContent":["\n\nexport const AreDirectiveFeatures = {\n /**\n * Feature that should transform the tree based on the directive attribute. This method is called during the transformation phase of the ARE component and should perform any necessary transformations on the AreNode tree based on the directive's content and context. This can include tasks such as adding or removing nodes, modifying node properties, or restructuring the tree to ensure that the directive is applied correctly during rendering.\n */\n Transform: '_AreDirective_Transform',\n /**\n * Feature that should convert a directiveAttribute definition into a set of SceneInstructions to be rendered correctly\n */\n Compile: '_AreDirective_Compile',\n /**\n * Feature that should update the directiveAttribute based on the changes in the store or other dependencies. \n */\n Update: '_AreDirective_Update',\n} as const"]}
@@ -0,0 +1,9 @@
1
+ import { ASEID } from '@adaas/a-concept';
2
+ import { A_ExecutionContext } from '@adaas/a-utils/a-execution';
3
+
4
+ declare class AreDirectiveContext extends A_ExecutionContext {
5
+ scope: Record<string, any>;
6
+ constructor(aseid: ASEID | string);
7
+ }
8
+
9
+ export { AreDirectiveContext };
@@ -0,0 +1,9 @@
1
+ import { ASEID } from '@adaas/a-concept';
2
+ import { A_ExecutionContext } from '@adaas/a-utils/a-execution';
3
+
4
+ declare class AreDirectiveContext extends A_ExecutionContext {
5
+ scope: Record<string, any>;
6
+ constructor(aseid: ASEID | string);
7
+ }
8
+
9
+ export { AreDirectiveContext };
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var aExecution = require('@adaas/a-utils/a-execution');
4
+
5
+ class AreDirectiveContext extends aExecution.A_ExecutionContext {
6
+ constructor(aseid) {
7
+ super(aseid.toString());
8
+ this.scope = {};
9
+ }
10
+ }
11
+
12
+ exports.AreDirectiveContext = AreDirectiveContext;
13
+ //# sourceMappingURL=AreDirective.context.js.map
14
+ //# sourceMappingURL=AreDirective.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.context.ts"],"names":["A_ExecutionContext"],"mappings":";;;;AAIO,MAAM,4BAA4BA,6BAAA,CAAmB;AAAA,EAKxD,YAAY,KAAA,EAAuB;AAC/B,IAAA,KAAA,CAAM,KAAA,CAAM,UAAU,CAAA;AAJ1B,IAAA,IAAA,CAAA,KAAA,GAA4B,EAAC;AAAA,EAK7B;AAIJ","file":"AreDirective.context.js","sourcesContent":["import { ASEID } from \"@adaas/a-concept\";\nimport { A_ExecutionContext } from \"@adaas/a-utils/a-execution\";\n\n\nexport class AreDirectiveContext extends A_ExecutionContext {\n\n scope:Record<string, any> = {}\n\n\n constructor(aseid: ASEID | string) {\n super(aseid.toString());\n }\n\n\n\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import '../../chunk-EQQGB2QZ.mjs';
2
+ import { A_ExecutionContext } from '@adaas/a-utils/a-execution';
3
+
4
+ class AreDirectiveContext extends A_ExecutionContext {
5
+ constructor(aseid) {
6
+ super(aseid.toString());
7
+ this.scope = {};
8
+ }
9
+ }
10
+
11
+ export { AreDirectiveContext };
12
+ //# sourceMappingURL=AreDirective.context.mjs.map
13
+ //# sourceMappingURL=AreDirective.context.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.context.ts"],"names":[],"mappings":";;;AAIO,MAAM,4BAA4B,kBAAA,CAAmB;AAAA,EAKxD,YAAY,KAAA,EAAuB;AAC/B,IAAA,KAAA,CAAM,KAAA,CAAM,UAAU,CAAA;AAJ1B,IAAA,IAAA,CAAA,KAAA,GAA4B,EAAC;AAAA,EAK7B;AAIJ","file":"AreDirective.context.mjs","sourcesContent":["import { ASEID } from \"@adaas/a-concept\";\nimport { A_ExecutionContext } from \"@adaas/a-utils/a-execution\";\n\n\nexport class AreDirectiveContext extends A_ExecutionContext {\n\n scope:Record<string, any> = {}\n\n\n constructor(aseid: ASEID | string) {\n super(aseid.toString());\n }\n\n\n\n}\n"]}
@@ -0,0 +1,7 @@
1
+ import { A_ComponentMeta } from '@adaas/a-concept';
2
+
3
+ declare class AreDirectiveMeta extends A_ComponentMeta {
4
+ priority: number;
5
+ }
6
+
7
+ export { AreDirectiveMeta };
@@ -0,0 +1,7 @@
1
+ import { A_ComponentMeta } from '@adaas/a-concept';
2
+
3
+ declare class AreDirectiveMeta extends A_ComponentMeta {
4
+ priority: number;
5
+ }
6
+
7
+ export { AreDirectiveMeta };
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var aConcept = require('@adaas/a-concept');
4
+
5
+ class AreDirectiveMeta extends aConcept.A_ComponentMeta {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.priority = 0;
9
+ }
10
+ }
11
+
12
+ exports.AreDirectiveMeta = AreDirectiveMeta;
13
+ //# sourceMappingURL=AreDirective.meta.js.map
14
+ //# sourceMappingURL=AreDirective.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.meta.ts"],"names":["A_ComponentMeta"],"mappings":";;;;AAIO,MAAM,yBAAyBA,wBAAA,CAAgB;AAAA,EAA/C,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEH,IAAA,IAAA,CAAA,QAAA,GAAmB,CAAA;AAAA,EAAA;AAEvB","file":"AreDirective.meta.js","sourcesContent":["import { A_ComponentMeta } from \"@adaas/a-concept\";\n\n\n\nexport class AreDirectiveMeta extends A_ComponentMeta {\n\n priority: number = 0\n\n}"]}
@@ -0,0 +1,13 @@
1
+ import '../../chunk-EQQGB2QZ.mjs';
2
+ import { A_ComponentMeta } from '@adaas/a-concept';
3
+
4
+ class AreDirectiveMeta extends A_ComponentMeta {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.priority = 0;
8
+ }
9
+ }
10
+
11
+ export { AreDirectiveMeta };
12
+ //# sourceMappingURL=AreDirective.meta.mjs.map
13
+ //# sourceMappingURL=AreDirective.meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/lib/AreDirective/AreDirective.meta.ts"],"names":[],"mappings":";;;AAIO,MAAM,yBAAyB,eAAA,CAAgB;AAAA,EAA/C,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEH,IAAA,IAAA,CAAA,QAAA,GAAmB,CAAA;AAAA,EAAA;AAEvB","file":"AreDirective.meta.mjs","sourcesContent":["import { A_ComponentMeta } from \"@adaas/a-concept\";\n\n\n\nexport class AreDirectiveMeta extends A_ComponentMeta {\n\n priority: number = 0\n\n}"]}
@@ -0,0 +1,17 @@
1
+ import { A_TYPES__Ctor } from '@adaas/a-concept';
2
+ import { a as AreDirective } from '../../AreBinding.attribute-C6qrxN8K.mjs';
3
+ import '@adaas/are';
4
+ import '../AreStyle/AreStyle.context.mjs';
5
+
6
+ type AreDirectiveOrderDecoratorParameters = {
7
+ /**
8
+ * The directive that should be applied before the decorated directive. It can be specified as a string (directive name), a regular expression (to match directive names) or a constructor of the directive class.
9
+ */
10
+ before: string | RegExp | A_TYPES__Ctor<AreDirective>;
11
+ /**
12
+ * The directive that should be applied after the decorated directive. It can be specified as a string (directive name), a regular expression (to match directive names) or a constructor of the directive class.
13
+ */
14
+ after: string | RegExp | A_TYPES__Ctor<AreDirective>;
15
+ };
16
+
17
+ export type { AreDirectiveOrderDecoratorParameters };
@@ -0,0 +1,17 @@
1
+ import { A_TYPES__Ctor } from '@adaas/a-concept';
2
+ import { a as AreDirective } from '../../AreBinding.attribute-C6JasbJL.js';
3
+ import '@adaas/are';
4
+ import '../AreStyle/AreStyle.context.js';
5
+
6
+ type AreDirectiveOrderDecoratorParameters = {
7
+ /**
8
+ * The directive that should be applied before the decorated directive. It can be specified as a string (directive name), a regular expression (to match directive names) or a constructor of the directive class.
9
+ */
10
+ before: string | RegExp | A_TYPES__Ctor<AreDirective>;
11
+ /**
12
+ * The directive that should be applied after the decorated directive. It can be specified as a string (directive name), a regular expression (to match directive names) or a constructor of the directive class.
13
+ */
14
+ after: string | RegExp | A_TYPES__Ctor<AreDirective>;
15
+ };
16
+
17
+ export type { AreDirectiveOrderDecoratorParameters };
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=AreDirective.types.js.map
4
+ //# sourceMappingURL=AreDirective.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"AreDirective.types.js"}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=AreDirective.types.mjs.map
3
+ //# sourceMappingURL=AreDirective.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"AreDirective.types.mjs"}
@@ -0,0 +1,13 @@
1
+ import { AreTokenizer, AreNode, AreContext } from '@adaas/are';
2
+ import { A_Logger } from '@adaas/a-utils/a-logger';
3
+ import { d as AreHTMLAttribute } from '../../AreBinding.attribute-C6qrxN8K.mjs';
4
+ import '@adaas/a-concept';
5
+ import '../AreStyle/AreStyle.context.mjs';
6
+
7
+ declare class AreHTMLTokenizer extends AreTokenizer {
8
+ ATTR_PATTERN: RegExp;
9
+ tokenize(node: AreNode, context: AreContext, logger?: A_Logger): void;
10
+ extractAttributes(markup: string): AreHTMLAttribute[];
11
+ }
12
+
13
+ export { AreHTMLTokenizer };
@@ -0,0 +1,13 @@
1
+ import { AreTokenizer, AreNode, AreContext } from '@adaas/are';
2
+ import { A_Logger } from '@adaas/a-utils/a-logger';
3
+ import { d as AreHTMLAttribute } from '../../AreBinding.attribute-C6JasbJL.js';
4
+ import '@adaas/a-concept';
5
+ import '../AreStyle/AreStyle.context.js';
6
+
7
+ declare class AreHTMLTokenizer extends AreTokenizer {
8
+ ATTR_PATTERN: RegExp;
9
+ tokenize(node: AreNode, context: AreContext, logger?: A_Logger): void;
10
+ extractAttributes(markup: string): AreHTMLAttribute[];
11
+ }
12
+
13
+ export { AreHTMLTokenizer };