@vanelsas/baredom-angular 2.7.0

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 (415) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +163 -0
  3. package/dist/cva/x-checkbox-cva.directive.d.ts +21 -0
  4. package/dist/cva/x-checkbox-cva.directive.d.ts.map +1 -0
  5. package/dist/cva/x-checkbox-cva.directive.js +66 -0
  6. package/dist/cva/x-checkbox-cva.directive.js.map +1 -0
  7. package/dist/cva/x-combobox-cva.directive.d.ts +21 -0
  8. package/dist/cva/x-combobox-cva.directive.d.ts.map +1 -0
  9. package/dist/cva/x-combobox-cva.directive.js +66 -0
  10. package/dist/cva/x-combobox-cva.directive.js.map +1 -0
  11. package/dist/cva/x-currency-field-cva.directive.d.ts +21 -0
  12. package/dist/cva/x-currency-field-cva.directive.d.ts.map +1 -0
  13. package/dist/cva/x-currency-field-cva.directive.js +66 -0
  14. package/dist/cva/x-currency-field-cva.directive.js.map +1 -0
  15. package/dist/cva/x-pagination-cva.directive.d.ts +21 -0
  16. package/dist/cva/x-pagination-cva.directive.d.ts.map +1 -0
  17. package/dist/cva/x-pagination-cva.directive.js +66 -0
  18. package/dist/cva/x-pagination-cva.directive.js.map +1 -0
  19. package/dist/cva/x-radio-cva.directive.d.ts +21 -0
  20. package/dist/cva/x-radio-cva.directive.d.ts.map +1 -0
  21. package/dist/cva/x-radio-cva.directive.js +66 -0
  22. package/dist/cva/x-radio-cva.directive.js.map +1 -0
  23. package/dist/cva/x-select-cva.directive.d.ts +21 -0
  24. package/dist/cva/x-select-cva.directive.d.ts.map +1 -0
  25. package/dist/cva/x-select-cva.directive.js +66 -0
  26. package/dist/cva/x-select-cva.directive.js.map +1 -0
  27. package/dist/cva/x-slider-cva.directive.d.ts +21 -0
  28. package/dist/cva/x-slider-cva.directive.d.ts.map +1 -0
  29. package/dist/cva/x-slider-cva.directive.js +66 -0
  30. package/dist/cva/x-slider-cva.directive.js.map +1 -0
  31. package/dist/cva/x-switch-cva.directive.d.ts +21 -0
  32. package/dist/cva/x-switch-cva.directive.d.ts.map +1 -0
  33. package/dist/cva/x-switch-cva.directive.js +66 -0
  34. package/dist/cva/x-switch-cva.directive.js.map +1 -0
  35. package/dist/cva/x-tabs-cva.directive.d.ts +21 -0
  36. package/dist/cva/x-tabs-cva.directive.d.ts.map +1 -0
  37. package/dist/cva/x-tabs-cva.directive.js +66 -0
  38. package/dist/cva/x-tabs-cva.directive.js.map +1 -0
  39. package/dist/cva/x-text-area-cva.directive.d.ts +21 -0
  40. package/dist/cva/x-text-area-cva.directive.d.ts.map +1 -0
  41. package/dist/cva/x-text-area-cva.directive.js +66 -0
  42. package/dist/cva/x-text-area-cva.directive.js.map +1 -0
  43. package/dist/directives/x-alert.directive.d.ts +26 -0
  44. package/dist/directives/x-alert.directive.d.ts.map +1 -0
  45. package/dist/directives/x-alert.directive.js +51 -0
  46. package/dist/directives/x-alert.directive.js.map +1 -0
  47. package/dist/directives/x-avatar-group.directive.d.ts +16 -0
  48. package/dist/directives/x-avatar-group.directive.d.ts.map +1 -0
  49. package/dist/directives/x-avatar-group.directive.js +35 -0
  50. package/dist/directives/x-avatar-group.directive.js.map +1 -0
  51. package/dist/directives/x-avatar.directive.d.ts +19 -0
  52. package/dist/directives/x-avatar.directive.d.ts.map +1 -0
  53. package/dist/directives/x-avatar.directive.js +44 -0
  54. package/dist/directives/x-avatar.directive.js.map +1 -0
  55. package/dist/directives/x-badge.directive.d.ts +17 -0
  56. package/dist/directives/x-badge.directive.d.ts.map +1 -0
  57. package/dist/directives/x-badge.directive.js +38 -0
  58. package/dist/directives/x-badge.directive.js.map +1 -0
  59. package/dist/directives/x-bento-grid.directive.d.ts +10 -0
  60. package/dist/directives/x-bento-grid.directive.d.ts.map +1 -0
  61. package/dist/directives/x-bento-grid.directive.js +17 -0
  62. package/dist/directives/x-bento-grid.directive.js.map +1 -0
  63. package/dist/directives/x-bento-item.directive.d.ts +10 -0
  64. package/dist/directives/x-bento-item.directive.d.ts.map +1 -0
  65. package/dist/directives/x-bento-item.directive.js +17 -0
  66. package/dist/directives/x-bento-item.directive.js.map +1 -0
  67. package/dist/directives/x-breadcrumbs.directive.d.ts +18 -0
  68. package/dist/directives/x-breadcrumbs.directive.d.ts.map +1 -0
  69. package/dist/directives/x-breadcrumbs.directive.js +41 -0
  70. package/dist/directives/x-breadcrumbs.directive.js.map +1 -0
  71. package/dist/directives/x-button.directive.d.ts +30 -0
  72. package/dist/directives/x-button.directive.d.ts.map +1 -0
  73. package/dist/directives/x-button.directive.js +62 -0
  74. package/dist/directives/x-button.directive.js.map +1 -0
  75. package/dist/directives/x-cancel-dialogue.directive.d.ts +31 -0
  76. package/dist/directives/x-cancel-dialogue.directive.d.ts.map +1 -0
  77. package/dist/directives/x-cancel-dialogue.directive.js +69 -0
  78. package/dist/directives/x-cancel-dialogue.directive.js.map +1 -0
  79. package/dist/directives/x-card.directive.d.ts +18 -0
  80. package/dist/directives/x-card.directive.d.ts.map +1 -0
  81. package/dist/directives/x-card.directive.js +39 -0
  82. package/dist/directives/x-card.directive.js.map +1 -0
  83. package/dist/directives/x-carousel.directive.d.ts +30 -0
  84. package/dist/directives/x-carousel.directive.d.ts.map +1 -0
  85. package/dist/directives/x-carousel.directive.js +63 -0
  86. package/dist/directives/x-carousel.directive.js.map +1 -0
  87. package/dist/directives/x-chart.directive.d.ts +21 -0
  88. package/dist/directives/x-chart.directive.d.ts.map +1 -0
  89. package/dist/directives/x-chart.directive.js +50 -0
  90. package/dist/directives/x-chart.directive.js.map +1 -0
  91. package/dist/directives/x-checkbox.directive.d.ts +31 -0
  92. package/dist/directives/x-checkbox.directive.d.ts.map +1 -0
  93. package/dist/directives/x-checkbox.directive.js +58 -0
  94. package/dist/directives/x-checkbox.directive.js.map +1 -0
  95. package/dist/directives/x-chip.directive.d.ts +23 -0
  96. package/dist/directives/x-chip.directive.d.ts.map +1 -0
  97. package/dist/directives/x-chip.directive.js +45 -0
  98. package/dist/directives/x-chip.directive.js.map +1 -0
  99. package/dist/directives/x-collapse.directive.d.ts +26 -0
  100. package/dist/directives/x-collapse.directive.d.ts.map +1 -0
  101. package/dist/directives/x-collapse.directive.js +49 -0
  102. package/dist/directives/x-collapse.directive.js.map +1 -0
  103. package/dist/directives/x-color-picker.directive.d.ts +38 -0
  104. package/dist/directives/x-color-picker.directive.d.ts.map +1 -0
  105. package/dist/directives/x-color-picker.directive.js +64 -0
  106. package/dist/directives/x-color-picker.directive.js.map +1 -0
  107. package/dist/directives/x-combobox.directive.d.ts +38 -0
  108. package/dist/directives/x-combobox.directive.d.ts.map +1 -0
  109. package/dist/directives/x-combobox.directive.js +66 -0
  110. package/dist/directives/x-combobox.directive.js.map +1 -0
  111. package/dist/directives/x-command-palette.directive.d.ts +31 -0
  112. package/dist/directives/x-command-palette.directive.d.ts.map +1 -0
  113. package/dist/directives/x-command-palette.directive.js +66 -0
  114. package/dist/directives/x-command-palette.directive.js.map +1 -0
  115. package/dist/directives/x-container.directive.d.ts +12 -0
  116. package/dist/directives/x-container.directive.d.ts.map +1 -0
  117. package/dist/directives/x-container.directive.js +23 -0
  118. package/dist/directives/x-container.directive.js.map +1 -0
  119. package/dist/directives/x-context-menu.directive.d.ts +15 -0
  120. package/dist/directives/x-context-menu.directive.d.ts.map +1 -0
  121. package/dist/directives/x-context-menu.directive.js +32 -0
  122. package/dist/directives/x-context-menu.directive.js.map +1 -0
  123. package/dist/directives/x-copy.directive.d.ts +39 -0
  124. package/dist/directives/x-copy.directive.d.ts.map +1 -0
  125. package/dist/directives/x-copy.directive.js +75 -0
  126. package/dist/directives/x-copy.directive.js.map +1 -0
  127. package/dist/directives/x-currency-field.directive.d.ts +41 -0
  128. package/dist/directives/x-currency-field.directive.d.ts.map +1 -0
  129. package/dist/directives/x-currency-field.directive.js +80 -0
  130. package/dist/directives/x-currency-field.directive.js.map +1 -0
  131. package/dist/directives/x-date-picker.directive.d.ts +18 -0
  132. package/dist/directives/x-date-picker.directive.d.ts.map +1 -0
  133. package/dist/directives/x-date-picker.directive.js +41 -0
  134. package/dist/directives/x-date-picker.directive.js.map +1 -0
  135. package/dist/directives/x-divider.directive.d.ts +18 -0
  136. package/dist/directives/x-divider.directive.d.ts.map +1 -0
  137. package/dist/directives/x-divider.directive.js +41 -0
  138. package/dist/directives/x-divider.directive.js.map +1 -0
  139. package/dist/directives/x-drawer.directive.d.ts +27 -0
  140. package/dist/directives/x-drawer.directive.d.ts.map +1 -0
  141. package/dist/directives/x-drawer.directive.js +49 -0
  142. package/dist/directives/x-drawer.directive.js.map +1 -0
  143. package/dist/directives/x-dropdown.directive.d.ts +26 -0
  144. package/dist/directives/x-dropdown.directive.d.ts.map +1 -0
  145. package/dist/directives/x-dropdown.directive.js +49 -0
  146. package/dist/directives/x-dropdown.directive.js.map +1 -0
  147. package/dist/directives/x-fieldset.directive.d.ts +12 -0
  148. package/dist/directives/x-fieldset.directive.d.ts.map +1 -0
  149. package/dist/directives/x-fieldset.directive.js +23 -0
  150. package/dist/directives/x-fieldset.directive.js.map +1 -0
  151. package/dist/directives/x-file-download.directive.d.ts +22 -0
  152. package/dist/directives/x-file-download.directive.d.ts.map +1 -0
  153. package/dist/directives/x-file-download.directive.js +42 -0
  154. package/dist/directives/x-file-download.directive.js.map +1 -0
  155. package/dist/directives/x-file-upload.directive.d.ts +30 -0
  156. package/dist/directives/x-file-upload.directive.d.ts.map +1 -0
  157. package/dist/directives/x-file-upload.directive.js +58 -0
  158. package/dist/directives/x-file-upload.directive.js.map +1 -0
  159. package/dist/directives/x-form-field.directive.d.ts +32 -0
  160. package/dist/directives/x-form-field.directive.d.ts.map +1 -0
  161. package/dist/directives/x-form-field.directive.js +64 -0
  162. package/dist/directives/x-form-field.directive.js.map +1 -0
  163. package/dist/directives/x-form.directive.d.ts +22 -0
  164. package/dist/directives/x-form.directive.d.ts.map +1 -0
  165. package/dist/directives/x-form.directive.js +46 -0
  166. package/dist/directives/x-form.directive.js.map +1 -0
  167. package/dist/directives/x-gaussian-blur.directive.d.ts +19 -0
  168. package/dist/directives/x-gaussian-blur.directive.d.ts.map +1 -0
  169. package/dist/directives/x-gaussian-blur.directive.js +44 -0
  170. package/dist/directives/x-gaussian-blur.directive.js.map +1 -0
  171. package/dist/directives/x-grid.directive.d.ts +10 -0
  172. package/dist/directives/x-grid.directive.d.ts.map +1 -0
  173. package/dist/directives/x-grid.directive.js +17 -0
  174. package/dist/directives/x-grid.directive.js.map +1 -0
  175. package/dist/directives/x-icon.directive.d.ts +13 -0
  176. package/dist/directives/x-icon.directive.d.ts.map +1 -0
  177. package/dist/directives/x-icon.directive.js +26 -0
  178. package/dist/directives/x-icon.directive.js.map +1 -0
  179. package/dist/directives/x-image.directive.d.ts +30 -0
  180. package/dist/directives/x-image.directive.d.ts.map +1 -0
  181. package/dist/directives/x-image.directive.js +58 -0
  182. package/dist/directives/x-image.directive.js.map +1 -0
  183. package/dist/directives/x-kinetic-canvas.directive.d.ts +16 -0
  184. package/dist/directives/x-kinetic-canvas.directive.d.ts.map +1 -0
  185. package/dist/directives/x-kinetic-canvas.directive.js +35 -0
  186. package/dist/directives/x-kinetic-canvas.directive.js.map +1 -0
  187. package/dist/directives/x-kinetic-font.directive.d.ts +27 -0
  188. package/dist/directives/x-kinetic-font.directive.d.ts.map +1 -0
  189. package/dist/directives/x-kinetic-font.directive.js +67 -0
  190. package/dist/directives/x-kinetic-font.directive.js.map +1 -0
  191. package/dist/directives/x-kinetic-typography.directive.d.ts +25 -0
  192. package/dist/directives/x-kinetic-typography.directive.d.ts.map +1 -0
  193. package/dist/directives/x-kinetic-typography.directive.js +62 -0
  194. package/dist/directives/x-kinetic-typography.directive.js.map +1 -0
  195. package/dist/directives/x-liquid-dock.directive.d.ts +31 -0
  196. package/dist/directives/x-liquid-dock.directive.d.ts.map +1 -0
  197. package/dist/directives/x-liquid-dock.directive.js +66 -0
  198. package/dist/directives/x-liquid-dock.directive.js.map +1 -0
  199. package/dist/directives/x-liquid-fill.directive.d.ts +27 -0
  200. package/dist/directives/x-liquid-fill.directive.d.ts.map +1 -0
  201. package/dist/directives/x-liquid-fill.directive.js +57 -0
  202. package/dist/directives/x-liquid-fill.directive.js.map +1 -0
  203. package/dist/directives/x-liquid-glass.directive.d.ts +24 -0
  204. package/dist/directives/x-liquid-glass.directive.d.ts.map +1 -0
  205. package/dist/directives/x-liquid-glass.directive.js +59 -0
  206. package/dist/directives/x-liquid-glass.directive.js.map +1 -0
  207. package/dist/directives/x-menu-item.directive.d.ts +22 -0
  208. package/dist/directives/x-menu-item.directive.d.ts.map +1 -0
  209. package/dist/directives/x-menu-item.directive.js +45 -0
  210. package/dist/directives/x-menu-item.directive.js.map +1 -0
  211. package/dist/directives/x-menu.directive.d.ts +23 -0
  212. package/dist/directives/x-menu.directive.d.ts.map +1 -0
  213. package/dist/directives/x-menu.directive.js +50 -0
  214. package/dist/directives/x-menu.directive.js.map +1 -0
  215. package/dist/directives/x-metaball-cursor.directive.d.ts +20 -0
  216. package/dist/directives/x-metaball-cursor.directive.d.ts.map +1 -0
  217. package/dist/directives/x-metaball-cursor.directive.js +47 -0
  218. package/dist/directives/x-metaball-cursor.directive.js.map +1 -0
  219. package/dist/directives/x-modal.directive.d.ts +27 -0
  220. package/dist/directives/x-modal.directive.d.ts.map +1 -0
  221. package/dist/directives/x-modal.directive.js +49 -0
  222. package/dist/directives/x-modal.directive.js.map +1 -0
  223. package/dist/directives/x-morph-stack.directive.d.ts +32 -0
  224. package/dist/directives/x-morph-stack.directive.d.ts.map +1 -0
  225. package/dist/directives/x-morph-stack.directive.js +61 -0
  226. package/dist/directives/x-morph-stack.directive.js.map +1 -0
  227. package/dist/directives/x-navbar.directive.d.ts +30 -0
  228. package/dist/directives/x-navbar.directive.d.ts.map +1 -0
  229. package/dist/directives/x-navbar.directive.js +62 -0
  230. package/dist/directives/x-navbar.directive.js.map +1 -0
  231. package/dist/directives/x-neural-glow.directive.d.ts +20 -0
  232. package/dist/directives/x-neural-glow.directive.d.ts.map +1 -0
  233. package/dist/directives/x-neural-glow.directive.js +47 -0
  234. package/dist/directives/x-neural-glow.directive.js.map +1 -0
  235. package/dist/directives/x-notification-center.directive.d.ts +29 -0
  236. package/dist/directives/x-notification-center.directive.d.ts.map +1 -0
  237. package/dist/directives/x-notification-center.directive.js +47 -0
  238. package/dist/directives/x-notification-center.directive.js.map +1 -0
  239. package/dist/directives/x-organic-divider.directive.d.ts +17 -0
  240. package/dist/directives/x-organic-divider.directive.d.ts.map +1 -0
  241. package/dist/directives/x-organic-divider.directive.js +38 -0
  242. package/dist/directives/x-organic-divider.directive.js.map +1 -0
  243. package/dist/directives/x-organic-progress.directive.d.ts +28 -0
  244. package/dist/directives/x-organic-progress.directive.d.ts.map +1 -0
  245. package/dist/directives/x-organic-progress.directive.js +58 -0
  246. package/dist/directives/x-organic-progress.directive.js.map +1 -0
  247. package/dist/directives/x-organic-shape.directive.d.ts +16 -0
  248. package/dist/directives/x-organic-shape.directive.d.ts.map +1 -0
  249. package/dist/directives/x-organic-shape.directive.js +35 -0
  250. package/dist/directives/x-organic-shape.directive.js.map +1 -0
  251. package/dist/directives/x-pagination.directive.d.ts +29 -0
  252. package/dist/directives/x-pagination.directive.d.ts.map +1 -0
  253. package/dist/directives/x-pagination.directive.js +58 -0
  254. package/dist/directives/x-pagination.directive.js.map +1 -0
  255. package/dist/directives/x-particle-button.directive.d.ts +39 -0
  256. package/dist/directives/x-particle-button.directive.d.ts.map +1 -0
  257. package/dist/directives/x-particle-button.directive.js +70 -0
  258. package/dist/directives/x-particle-button.directive.js.map +1 -0
  259. package/dist/directives/x-popover.directive.d.ts +29 -0
  260. package/dist/directives/x-popover.directive.d.ts.map +1 -0
  261. package/dist/directives/x-popover.directive.js +58 -0
  262. package/dist/directives/x-popover.directive.js.map +1 -0
  263. package/dist/directives/x-progress-circle.directive.d.ts +23 -0
  264. package/dist/directives/x-progress-circle.directive.d.ts.map +1 -0
  265. package/dist/directives/x-progress-circle.directive.js +45 -0
  266. package/dist/directives/x-progress-circle.directive.js.map +1 -0
  267. package/dist/directives/x-progress.directive.d.ts +26 -0
  268. package/dist/directives/x-progress.directive.d.ts.map +1 -0
  269. package/dist/directives/x-progress.directive.js +54 -0
  270. package/dist/directives/x-progress.directive.js.map +1 -0
  271. package/dist/directives/x-radio.directive.d.ts +30 -0
  272. package/dist/directives/x-radio.directive.d.ts.map +1 -0
  273. package/dist/directives/x-radio.directive.js +55 -0
  274. package/dist/directives/x-radio.directive.js.map +1 -0
  275. package/dist/directives/x-ripple-effect.directive.d.ts +27 -0
  276. package/dist/directives/x-ripple-effect.directive.d.ts.map +1 -0
  277. package/dist/directives/x-ripple-effect.directive.js +49 -0
  278. package/dist/directives/x-ripple-effect.directive.js.map +1 -0
  279. package/dist/directives/x-scroll-parallax.directive.d.ts +29 -0
  280. package/dist/directives/x-scroll-parallax.directive.d.ts.map +1 -0
  281. package/dist/directives/x-scroll-parallax.directive.js +56 -0
  282. package/dist/directives/x-scroll-parallax.directive.js.map +1 -0
  283. package/dist/directives/x-scroll-stack.directive.d.ts +31 -0
  284. package/dist/directives/x-scroll-stack.directive.d.ts.map +1 -0
  285. package/dist/directives/x-scroll-stack.directive.js +53 -0
  286. package/dist/directives/x-scroll-stack.directive.js.map +1 -0
  287. package/dist/directives/x-scroll-story.directive.d.ts +61 -0
  288. package/dist/directives/x-scroll-story.directive.d.ts.map +1 -0
  289. package/dist/directives/x-scroll-story.directive.js +88 -0
  290. package/dist/directives/x-scroll-story.directive.js.map +1 -0
  291. package/dist/directives/x-scroll-timeline.directive.d.ts +63 -0
  292. package/dist/directives/x-scroll-timeline.directive.d.ts.map +1 -0
  293. package/dist/directives/x-scroll-timeline.directive.js +94 -0
  294. package/dist/directives/x-scroll-timeline.directive.js.map +1 -0
  295. package/dist/directives/x-scroll.directive.d.ts +40 -0
  296. package/dist/directives/x-scroll.directive.d.ts.map +1 -0
  297. package/dist/directives/x-scroll.directive.js +78 -0
  298. package/dist/directives/x-scroll.directive.js.map +1 -0
  299. package/dist/directives/x-search-field.directive.d.ts +37 -0
  300. package/dist/directives/x-search-field.directive.d.ts.map +1 -0
  301. package/dist/directives/x-search-field.directive.js +66 -0
  302. package/dist/directives/x-search-field.directive.js.map +1 -0
  303. package/dist/directives/x-select.directive.d.ts +27 -0
  304. package/dist/directives/x-select.directive.d.ts.map +1 -0
  305. package/dist/directives/x-select.directive.js +46 -0
  306. package/dist/directives/x-select.directive.js.map +1 -0
  307. package/dist/directives/x-sidebar.directive.d.ts +23 -0
  308. package/dist/directives/x-sidebar.directive.d.ts.map +1 -0
  309. package/dist/directives/x-sidebar.directive.js +43 -0
  310. package/dist/directives/x-sidebar.directive.js.map +1 -0
  311. package/dist/directives/x-skeleton-group.directive.d.ts +13 -0
  312. package/dist/directives/x-skeleton-group.directive.d.ts.map +1 -0
  313. package/dist/directives/x-skeleton-group.directive.js +26 -0
  314. package/dist/directives/x-skeleton-group.directive.js.map +1 -0
  315. package/dist/directives/x-skeleton.directive.d.ts +14 -0
  316. package/dist/directives/x-skeleton.directive.d.ts.map +1 -0
  317. package/dist/directives/x-skeleton.directive.js +29 -0
  318. package/dist/directives/x-skeleton.directive.js.map +1 -0
  319. package/dist/directives/x-slider.directive.d.ts +41 -0
  320. package/dist/directives/x-slider.directive.d.ts.map +1 -0
  321. package/dist/directives/x-slider.directive.js +71 -0
  322. package/dist/directives/x-slider.directive.js.map +1 -0
  323. package/dist/directives/x-soft-body.directive.d.ts +23 -0
  324. package/dist/directives/x-soft-body.directive.d.ts.map +1 -0
  325. package/dist/directives/x-soft-body.directive.js +55 -0
  326. package/dist/directives/x-soft-body.directive.js.map +1 -0
  327. package/dist/directives/x-spacer.directive.d.ts +13 -0
  328. package/dist/directives/x-spacer.directive.d.ts.map +1 -0
  329. package/dist/directives/x-spacer.directive.js +26 -0
  330. package/dist/directives/x-spacer.directive.js.map +1 -0
  331. package/dist/directives/x-spinner.directive.d.ts +13 -0
  332. package/dist/directives/x-spinner.directive.d.ts.map +1 -0
  333. package/dist/directives/x-spinner.directive.js +26 -0
  334. package/dist/directives/x-spinner.directive.js.map +1 -0
  335. package/dist/directives/x-splash.directive.d.ts +21 -0
  336. package/dist/directives/x-splash.directive.d.ts.map +1 -0
  337. package/dist/directives/x-splash.directive.js +48 -0
  338. package/dist/directives/x-splash.directive.js.map +1 -0
  339. package/dist/directives/x-stat.directive.d.ts +19 -0
  340. package/dist/directives/x-stat.directive.d.ts.map +1 -0
  341. package/dist/directives/x-stat.directive.js +44 -0
  342. package/dist/directives/x-stat.directive.js.map +1 -0
  343. package/dist/directives/x-stepper.directive.d.ts +24 -0
  344. package/dist/directives/x-stepper.directive.d.ts.map +1 -0
  345. package/dist/directives/x-stepper.directive.js +48 -0
  346. package/dist/directives/x-stepper.directive.js.map +1 -0
  347. package/dist/directives/x-switch.directive.d.ts +30 -0
  348. package/dist/directives/x-switch.directive.d.ts.map +1 -0
  349. package/dist/directives/x-switch.directive.js +55 -0
  350. package/dist/directives/x-switch.directive.js.map +1 -0
  351. package/dist/directives/x-tab.directive.d.ts +21 -0
  352. package/dist/directives/x-tab.directive.d.ts.map +1 -0
  353. package/dist/directives/x-tab.directive.js +42 -0
  354. package/dist/directives/x-tab.directive.js.map +1 -0
  355. package/dist/directives/x-table-cell.directive.d.ts +38 -0
  356. package/dist/directives/x-table-cell.directive.d.ts.map +1 -0
  357. package/dist/directives/x-table-cell.directive.js +74 -0
  358. package/dist/directives/x-table-cell.directive.js.map +1 -0
  359. package/dist/directives/x-table-row.directive.d.ts +31 -0
  360. package/dist/directives/x-table-row.directive.d.ts.map +1 -0
  361. package/dist/directives/x-table-row.directive.js +53 -0
  362. package/dist/directives/x-table-row.directive.js.map +1 -0
  363. package/dist/directives/x-table.directive.d.ts +33 -0
  364. package/dist/directives/x-table.directive.d.ts.map +1 -0
  365. package/dist/directives/x-table.directive.js +61 -0
  366. package/dist/directives/x-table.directive.js.map +1 -0
  367. package/dist/directives/x-tabs.directive.d.ts +23 -0
  368. package/dist/directives/x-tabs.directive.d.ts.map +1 -0
  369. package/dist/directives/x-tabs.directive.js +40 -0
  370. package/dist/directives/x-tabs.directive.js.map +1 -0
  371. package/dist/directives/x-text-area.directive.d.ts +37 -0
  372. package/dist/directives/x-text-area.directive.d.ts.map +1 -0
  373. package/dist/directives/x-text-area.directive.js +68 -0
  374. package/dist/directives/x-text-area.directive.js.map +1 -0
  375. package/dist/directives/x-theme.directive.d.ts +11 -0
  376. package/dist/directives/x-theme.directive.d.ts.map +1 -0
  377. package/dist/directives/x-theme.directive.js +20 -0
  378. package/dist/directives/x-theme.directive.js.map +1 -0
  379. package/dist/directives/x-timeline-item.directive.d.ts +36 -0
  380. package/dist/directives/x-timeline-item.directive.d.ts.map +1 -0
  381. package/dist/directives/x-timeline-item.directive.js +62 -0
  382. package/dist/directives/x-timeline-item.directive.js.map +1 -0
  383. package/dist/directives/x-timeline.directive.d.ts +23 -0
  384. package/dist/directives/x-timeline.directive.d.ts.map +1 -0
  385. package/dist/directives/x-timeline.directive.js +42 -0
  386. package/dist/directives/x-timeline.directive.js.map +1 -0
  387. package/dist/directives/x-toast.directive.d.ts +29 -0
  388. package/dist/directives/x-toast.directive.d.ts.map +1 -0
  389. package/dist/directives/x-toast.directive.js +57 -0
  390. package/dist/directives/x-toast.directive.js.map +1 -0
  391. package/dist/directives/x-toaster.directive.d.ts +25 -0
  392. package/dist/directives/x-toaster.directive.d.ts.map +1 -0
  393. package/dist/directives/x-toaster.directive.js +43 -0
  394. package/dist/directives/x-toaster.directive.js.map +1 -0
  395. package/dist/directives/x-tooltip.directive.d.ts +22 -0
  396. package/dist/directives/x-tooltip.directive.d.ts.map +1 -0
  397. package/dist/directives/x-tooltip.directive.js +52 -0
  398. package/dist/directives/x-tooltip.directive.js.map +1 -0
  399. package/dist/directives/x-typography.directive.d.ts +14 -0
  400. package/dist/directives/x-typography.directive.d.ts.map +1 -0
  401. package/dist/directives/x-typography.directive.js +29 -0
  402. package/dist/directives/x-typography.directive.js.map +1 -0
  403. package/dist/directives/x-welcome-tour.directive.d.ts +41 -0
  404. package/dist/directives/x-welcome-tour.directive.d.ts.map +1 -0
  405. package/dist/directives/x-welcome-tour.directive.js +78 -0
  406. package/dist/directives/x-welcome-tour.directive.js.map +1 -0
  407. package/dist/index.d.ts +103 -0
  408. package/dist/index.d.ts.map +1 -0
  409. package/dist/index.js +105 -0
  410. package/dist/index.js.map +1 -0
  411. package/dist/types.d.ts +3 -0
  412. package/dist/types.d.ts.map +1 -0
  413. package/dist/types.js +2 -0
  414. package/dist/types.js.map +1 -0
  415. package/package.json +448 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alexander van Elsas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,163 @@
1
+ # @vanelsas/baredom-angular
2
+
3
+ Angular 17+ standalone directives for [BareDOM](https://github.com/avanelsas/baredom) — auto-generated from component metadata.
4
+
5
+ Provides typed inputs, event outputs, and `ControlValueAccessor` integration for all 90+ BareDOM web components.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @vanelsas/baredom-angular @vanelsas/baredom
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Add `CUSTOM_ELEMENTS_SCHEMA` and import the directives you need:
16
+
17
+ ```typescript
18
+ import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
19
+ import { BaredomButton, BaredomAlert, BaredomTheme } from '@vanelsas/baredom-angular';
20
+
21
+ @Component({
22
+ selector: 'app-root',
23
+ standalone: true,
24
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
25
+ imports: [BaredomButton, BaredomAlert, BaredomTheme],
26
+ template: `
27
+ <x-theme>
28
+ <x-button
29
+ [disabled]="false"
30
+ (press)="onPress($event)"
31
+ >
32
+ Click me
33
+ </x-button>
34
+
35
+ <x-alert
36
+ type="success"
37
+ text="Operation completed"
38
+ [dismissible]="true"
39
+ (dismiss)="onDismiss($event)"
40
+ ></x-alert>
41
+ </x-theme>
42
+ `,
43
+ })
44
+ export class AppComponent {
45
+ onPress(e: CustomEvent<{ source: string }>) {
46
+ console.log('Pressed!', e.detail.source);
47
+ }
48
+ onDismiss(e: CustomEvent) {
49
+ console.log('Dismissed');
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## Features
55
+
56
+ - **Standalone directives** — import only what you need, no NgModule required
57
+ - **Typed inputs** — all component properties available as `@Input()` bindings
58
+ - **Event outputs** — custom events mapped to `@Output()` emitters (e.g. `(press)`, `(dismiss)`)
59
+ - **Angular forms** — `ControlValueAccessor` directives for reactive forms and `ngModel`
60
+ - **Tree-shakable** — import individual directives to keep bundle size small
61
+ - **Zone-aware** — all events trigger Angular change detection via `NgZone.run()`
62
+
63
+ ## Event naming
64
+
65
+ BareDOM event names are automatically converted to Angular output names:
66
+
67
+ | DOM event | Angular output |
68
+ |-----------|---------------|
69
+ | `press` | `(press)` |
70
+ | `x-alert-dismiss` | `(dismiss)` |
71
+ | `x-switch-change` | `(change)` |
72
+ | `value-change` | `(valueChange)` |
73
+ | `hover-start` | `(hoverStart)` |
74
+
75
+ The component's tag-name prefix (e.g. `x-alert-`) is stripped, and the remainder is camelCased.
76
+
77
+ When an output name collides with an input name, the output is suffixed with `Event` (e.g. `(openEvent)`).
78
+
79
+ ## Angular forms integration
80
+
81
+ 10 form components include `ControlValueAccessor` directives that work with both reactive forms and template-driven forms.
82
+
83
+ ```typescript
84
+ import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
85
+ import { ReactiveFormsModule, FormControl } from '@angular/forms';
86
+ import {
87
+ BaredomCheckbox, BaredomCheckboxCva,
88
+ BaredomSlider, BaredomSliderCva,
89
+ } from '@vanelsas/baredom-angular';
90
+
91
+ @Component({
92
+ standalone: true,
93
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
94
+ imports: [
95
+ ReactiveFormsModule,
96
+ BaredomCheckbox, BaredomCheckboxCva,
97
+ BaredomSlider, BaredomSliderCva,
98
+ ],
99
+ template: `
100
+ <x-checkbox [formControl]="accepted">I agree</x-checkbox>
101
+ <x-slider [formControl]="volume" min="0" max="100"></x-slider>
102
+ `,
103
+ })
104
+ export class FormComponent {
105
+ accepted = new FormControl(false);
106
+ volume = new FormControl('50');
107
+ }
108
+ ```
109
+
110
+ **CVA components:** BaredomCheckboxCva, BaredomSwitchCva, BaredomRadioCva (`boolean`), BaredomSliderCva, BaredomTextAreaCva, BaredomSelectCva, BaredomComboboxCva, BaredomCurrencyFieldCva, BaredomTabsCva (`string`), BaredomPaginationCva (`number`).
111
+
112
+ The CVA directive activates automatically when `formControlName`, `formControl`, or `ngModel` is present on the element.
113
+
114
+ ## Methods
115
+
116
+ Components with public methods expose them on the directive. Access via `ViewChild`:
117
+
118
+ ```typescript
119
+ import { Component, ViewChild, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
120
+ import { BaredomModal } from '@vanelsas/baredom-angular';
121
+
122
+ @Component({
123
+ standalone: true,
124
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
125
+ imports: [BaredomModal],
126
+ template: `
127
+ <button (click)="modal.show()">Open</button>
128
+ <x-modal #modal (dismiss)="onDismiss()">
129
+ Modal content
130
+ </x-modal>
131
+ `,
132
+ })
133
+ export class DialogComponent {
134
+ @ViewChild(BaredomModal) modal!: BaredomModal;
135
+
136
+ onDismiss() {
137
+ console.log('Modal dismissed');
138
+ }
139
+ }
140
+ ```
141
+
142
+ ## Theming
143
+
144
+ Wrap your app with `<x-theme>` to enable BareDOM's design tokens:
145
+
146
+ ```html
147
+ <x-theme preset="aurora">
148
+ <!-- All BareDOM components inherit theme tokens -->
149
+ </x-theme>
150
+ ```
151
+
152
+ ## Requirements
153
+
154
+ - Angular 17+
155
+ - @vanelsas/baredom 2.6.0+
156
+
157
+ ## Auto-generated
158
+
159
+ The directives are auto-generated from BareDOM's component model metadata using `bb scripts/generate_angular.bb`. Adding a new component to BareDOM automatically produces its Angular directive.
160
+
161
+ ## License
162
+
163
+ MIT
@@ -0,0 +1,21 @@
1
+ import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import type { XCheckbox as XCheckboxElement } from '@vanelsas/baredom/x-checkbox';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaredomCheckboxCva implements ControlValueAccessor, OnInit, OnDestroy {
6
+ private el;
7
+ private zone;
8
+ private listeners;
9
+ constructor(elRef: ElementRef<XCheckboxElement>, zone: NgZone);
10
+ private onChange;
11
+ private onTouched;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ writeValue(v: boolean): void;
15
+ registerOnChange(fn: (v: boolean) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState(d: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaredomCheckboxCva, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomCheckboxCva, "x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=x-checkbox-cva.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-checkbox-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-checkbox-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAKlF,qBASa,kBAAmB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAChF,OAAO,CAAC,EAAE,CAAmB;IAC7B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK7D,OAAO,CAAC,QAAQ,CAAsC;IACtD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIhD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,kBAAkB;2CAAlB,kBAAkB;CA+C9B"}
@@ -0,0 +1,66 @@
1
+ // x-checkbox-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
2
+ import { Directive, forwardRef } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { init } from '@vanelsas/baredom/x-checkbox';
5
+ import * as i0 from "@angular/core";
6
+ init();
7
+ export class BaredomCheckboxCva {
8
+ constructor(elRef, zone) {
9
+ this.listeners = [];
10
+ this.onChange = () => { };
11
+ this.onTouched = () => { };
12
+ this.el = elRef.nativeElement;
13
+ this.zone = zone;
14
+ }
15
+ ngOnInit() {
16
+ const handler = (e) => {
17
+ const detail = e.detail;
18
+ this.zone.run(() => this.onChange(detail.checked));
19
+ };
20
+ this.el.addEventListener('x-checkbox-change', handler);
21
+ this.listeners.push(() => this.el.removeEventListener('x-checkbox-change', handler));
22
+ const blur = () => this.zone.run(() => this.onTouched());
23
+ this.el.addEventListener('focusout', blur);
24
+ this.listeners.push(() => this.el.removeEventListener('focusout', blur));
25
+ }
26
+ ngOnDestroy() {
27
+ this.listeners.forEach(fn => fn());
28
+ }
29
+ writeValue(v) {
30
+ if (v)
31
+ this.el.setAttribute('checked', '');
32
+ else
33
+ this.el.removeAttribute('checked');
34
+ }
35
+ registerOnChange(fn) {
36
+ this.onChange = fn;
37
+ }
38
+ registerOnTouched(fn) {
39
+ this.onTouched = fn;
40
+ }
41
+ setDisabledState(d) {
42
+ if (d)
43
+ this.el.setAttribute('disabled', '');
44
+ else
45
+ this.el.removeAttribute('disabled');
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCheckboxCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomCheckboxCva, isStandalone: true, selector: "x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]", providers: [{
49
+ provide: NG_VALUE_ACCESSOR,
50
+ useExisting: forwardRef(() => BaredomCheckboxCva),
51
+ multi: true,
52
+ }], ngImport: i0 }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCheckboxCva, decorators: [{
55
+ type: Directive,
56
+ args: [{
57
+ selector: 'x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]',
58
+ standalone: true,
59
+ providers: [{
60
+ provide: NG_VALUE_ACCESSOR,
61
+ useExisting: forwardRef(() => BaredomCheckboxCva),
62
+ multi: true,
63
+ }],
64
+ }]
65
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
66
+ //# sourceMappingURL=x-checkbox-cva.directive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-checkbox-cva.directive.js","sourceRoot":"","sources":["../../src/cva/x-checkbox-cva.directive.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAEnF,OAAO,EAAE,SAAS,EAAc,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;;AAEpD,IAAI,EAAE,CAAC;AAWP,MAAM,OAAO,kBAAkB;IAK7B,YAAY,KAAmC,EAAE,IAAY;QAFrD,cAAS,GAAsB,EAAE,CAAC;QAOlC,aAAQ,GAA6B,GAAG,EAAE,GAAE,CAAC,CAAC;QAC9C,cAAS,GAAe,GAAG,EAAE,GAAE,CAAC,CAAC;QALvC,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,aAAa,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAKD,QAAQ;QACN,MAAM,OAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;YAC3B,MAAM,MAAM,GAAI,CAAiB,CAAC,MAAM,CAAC;YACzC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;QACrD,CAAC,CAAC;QACF,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,OAAO,CA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C1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;gBACjD,KAAK,EAAE,IAAI;aACZ,CAAC;;4FAES,kBAAkB;kBAT9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yEAAyE;oBACnF,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC;4BACV,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,mBAAmB,CAAC;4BACjD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
@@ -0,0 +1,21 @@
1
+ import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import type { XCombobox as XComboboxElement } from '@vanelsas/baredom/x-combobox';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaredomComboboxCva implements ControlValueAccessor, OnInit, OnDestroy {
6
+ private el;
7
+ private zone;
8
+ private listeners;
9
+ constructor(elRef: ElementRef<XComboboxElement>, zone: NgZone);
10
+ private onChange;
11
+ private onTouched;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ writeValue(v: string): void;
15
+ registerOnChange(fn: (v: string) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState(d: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaredomComboboxCva, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomComboboxCva, "x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=x-combobox-cva.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-combobox-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-combobox-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAKlF,qBASa,kBAAmB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAChF,OAAO,CAAC,EAAE,CAAmB;IAC7B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK7D,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,kBAAkB;2CAAlB,kBAAkB;CA+C9B"}
@@ -0,0 +1,66 @@
1
+ // x-combobox-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
2
+ import { Directive, forwardRef } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { init } from '@vanelsas/baredom/x-combobox';
5
+ import * as i0 from "@angular/core";
6
+ init();
7
+ export class BaredomComboboxCva {
8
+ constructor(elRef, zone) {
9
+ this.listeners = [];
10
+ this.onChange = () => { };
11
+ this.onTouched = () => { };
12
+ this.el = elRef.nativeElement;
13
+ this.zone = zone;
14
+ }
15
+ ngOnInit() {
16
+ const handler = (e) => {
17
+ const detail = e.detail;
18
+ this.zone.run(() => this.onChange(detail.value));
19
+ };
20
+ this.el.addEventListener('x-combobox-change', handler);
21
+ this.listeners.push(() => this.el.removeEventListener('x-combobox-change', handler));
22
+ const blur = () => this.zone.run(() => this.onTouched());
23
+ this.el.addEventListener('focusout', blur);
24
+ this.listeners.push(() => this.el.removeEventListener('focusout', blur));
25
+ }
26
+ ngOnDestroy() {
27
+ this.listeners.forEach(fn => fn());
28
+ }
29
+ writeValue(v) {
30
+ if (v != null)
31
+ this.el.setAttribute('value', String(v));
32
+ else
33
+ this.el.removeAttribute('value');
34
+ }
35
+ registerOnChange(fn) {
36
+ this.onChange = fn;
37
+ }
38
+ registerOnTouched(fn) {
39
+ this.onTouched = fn;
40
+ }
41
+ setDisabledState(d) {
42
+ if (d)
43
+ this.el.setAttribute('disabled', '');
44
+ else
45
+ this.el.removeAttribute('disabled');
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomComboboxCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomComboboxCva, isStandalone: true, selector: "x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]", providers: [{
49
+ provide: NG_VALUE_ACCESSOR,
50
+ useExisting: forwardRef(() => BaredomComboboxCva),
51
+ multi: true,
52
+ }], ngImport: i0 }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomComboboxCva, decorators: [{
55
+ type: Directive,
56
+ args: [{
57
+ selector: 'x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]',
58
+ standalone: true,
59
+ providers: [{
60
+ provide: NG_VALUE_ACCESSOR,
61
+ useExisting: forwardRef(() => BaredomComboboxCva),
62
+ multi: true,
63
+ }],
64
+ }]
65
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
66
+ //# sourceMappingURL=x-combobox-cva.directive.js.map
@@ -0,0 +1 @@
1
+ {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AmB,CAAC;4BACjD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
@@ -0,0 +1,21 @@
1
+ import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import type { XCurrencyField as XCurrencyFieldElement } from '@vanelsas/baredom/x-currency-field';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaredomCurrencyFieldCva implements ControlValueAccessor, OnInit, OnDestroy {
6
+ private el;
7
+ private zone;
8
+ private listeners;
9
+ constructor(elRef: ElementRef<XCurrencyFieldElement>, zone: NgZone);
10
+ private onChange;
11
+ private onTouched;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ writeValue(v: string): void;
15
+ registerOnChange(fn: (v: string) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState(d: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaredomCurrencyFieldCva, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomCurrencyFieldCva, "x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=x-currency-field-cva.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-currency-field-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-currency-field-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;;AAKlG,qBASa,uBAAwB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IACrF,OAAO,CAAC,EAAE,CAAwB;IAClC,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,qBAAqB,CAAC,EAAE,IAAI,EAAE,MAAM;IAKlE,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,uBAAuB;2CAAvB,uBAAuB;CA+CnC"}
@@ -0,0 +1,66 @@
1
+ // x-currency-field-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
2
+ import { Directive, forwardRef } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { init } from '@vanelsas/baredom/x-currency-field';
5
+ import * as i0 from "@angular/core";
6
+ init();
7
+ export class BaredomCurrencyFieldCva {
8
+ constructor(elRef, zone) {
9
+ this.listeners = [];
10
+ this.onChange = () => { };
11
+ this.onTouched = () => { };
12
+ this.el = elRef.nativeElement;
13
+ this.zone = zone;
14
+ }
15
+ ngOnInit() {
16
+ const handler = (e) => {
17
+ const detail = e.detail;
18
+ this.zone.run(() => this.onChange(detail.value));
19
+ };
20
+ this.el.addEventListener('x-currency-field-change', handler);
21
+ this.listeners.push(() => this.el.removeEventListener('x-currency-field-change', handler));
22
+ const blur = () => this.zone.run(() => this.onTouched());
23
+ this.el.addEventListener('focusout', blur);
24
+ this.listeners.push(() => this.el.removeEventListener('focusout', blur));
25
+ }
26
+ ngOnDestroy() {
27
+ this.listeners.forEach(fn => fn());
28
+ }
29
+ writeValue(v) {
30
+ if (v != null)
31
+ this.el.setAttribute('value', String(v));
32
+ else
33
+ this.el.removeAttribute('value');
34
+ }
35
+ registerOnChange(fn) {
36
+ this.onChange = fn;
37
+ }
38
+ registerOnTouched(fn) {
39
+ this.onTouched = fn;
40
+ }
41
+ setDisabledState(d) {
42
+ if (d)
43
+ this.el.setAttribute('disabled', '');
44
+ else
45
+ this.el.removeAttribute('disabled');
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCurrencyFieldCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomCurrencyFieldCva, isStandalone: true, selector: "x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]", providers: [{
49
+ provide: NG_VALUE_ACCESSOR,
50
+ useExisting: forwardRef(() => BaredomCurrencyFieldCva),
51
+ multi: true,
52
+ }], ngImport: i0 }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCurrencyFieldCva, decorators: [{
55
+ type: Directive,
56
+ args: [{
57
+ selector: 'x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]',
58
+ standalone: true,
59
+ providers: [{
60
+ provide: NG_VALUE_ACCESSOR,
61
+ useExisting: forwardRef(() => BaredomCurrencyFieldCva),
62
+ multi: true,
63
+ }],
64
+ }]
65
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
66
+ //# sourceMappingURL=x-currency-field-cva.directive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-currency-field-cva.directive.js","sourceRoot":"","sources":["../../src/cva/x-currency-field-cva.directive.ts"],"names":[],"mappings":"AAAA,yFAAyF;AAEzF,OAAO,EAAE,SAAS,EAAc,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,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AAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACrC,CAAC;IAED,UAAU,CAAC,CAAS;QAClB,IAAI,CAAC,IAAI,IAAI;YAAE,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;;YACnD,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED,gBAAgB,CAAC,EAAuB;QACtC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,iBAAiB,CAAC,EAAc;QAC9B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,gBAAgB,CAAC,CAAU;QACzB,IAAI,CAAC;YAAE,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;;YACvC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;+GA9CU,uBAAuB;mGAAvB,uBAAuB,wIANvB,CAAC;gBACV,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;gBACtD,KAAK,EAAE,IAAI;aACZ,CAAC;;4FAES,uBAAuB;kBATnC,SAAS;mBAAC;oBACT,QAAQ,EAAE,2FAA2F;oBACrG,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC;4BACV,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,wBAAwB,CAAC;4BACtD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
@@ -0,0 +1,21 @@
1
+ import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import type { XPagination as XPaginationElement } from '@vanelsas/baredom/x-pagination';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaredomPaginationCva implements ControlValueAccessor, OnInit, OnDestroy {
6
+ private el;
7
+ private zone;
8
+ private listeners;
9
+ constructor(elRef: ElementRef<XPaginationElement>, zone: NgZone);
10
+ private onChange;
11
+ private onTouched;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ writeValue(v: number): void;
15
+ registerOnChange(fn: (v: number) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState(d: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaredomPaginationCva, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomPaginationCva, "x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=x-pagination-cva.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-pagination-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-pagination-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAKxF,qBASa,oBAAqB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAClF,OAAO,CAAC,EAAE,CAAqB;IAC/B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK/D,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,oBAAoB;2CAApB,oBAAoB;CA+ChC"}
@@ -0,0 +1,66 @@
1
+ // x-pagination-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
2
+ import { Directive, forwardRef } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { init } from '@vanelsas/baredom/x-pagination';
5
+ import * as i0 from "@angular/core";
6
+ init();
7
+ export class BaredomPaginationCva {
8
+ constructor(elRef, zone) {
9
+ this.listeners = [];
10
+ this.onChange = () => { };
11
+ this.onTouched = () => { };
12
+ this.el = elRef.nativeElement;
13
+ this.zone = zone;
14
+ }
15
+ ngOnInit() {
16
+ const handler = (e) => {
17
+ const detail = e.detail;
18
+ this.zone.run(() => this.onChange(detail.page));
19
+ };
20
+ this.el.addEventListener('page-change', handler);
21
+ this.listeners.push(() => this.el.removeEventListener('page-change', handler));
22
+ const blur = () => this.zone.run(() => this.onTouched());
23
+ this.el.addEventListener('focusout', blur);
24
+ this.listeners.push(() => this.el.removeEventListener('focusout', blur));
25
+ }
26
+ ngOnDestroy() {
27
+ this.listeners.forEach(fn => fn());
28
+ }
29
+ writeValue(v) {
30
+ if (v != null)
31
+ this.el.setAttribute('page', String(v));
32
+ else
33
+ this.el.removeAttribute('page');
34
+ }
35
+ registerOnChange(fn) {
36
+ this.onChange = fn;
37
+ }
38
+ registerOnTouched(fn) {
39
+ this.onTouched = fn;
40
+ }
41
+ setDisabledState(d) {
42
+ if (d)
43
+ this.el.setAttribute('disabled', '');
44
+ else
45
+ this.el.removeAttribute('disabled');
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomPaginationCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomPaginationCva, isStandalone: true, selector: "x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]", providers: [{
49
+ provide: NG_VALUE_ACCESSOR,
50
+ useExisting: forwardRef(() => BaredomPaginationCva),
51
+ multi: true,
52
+ }], ngImport: i0 }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomPaginationCva, decorators: [{
55
+ type: Directive,
56
+ args: [{
57
+ selector: 'x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]',
58
+ standalone: true,
59
+ providers: [{
60
+ provide: NG_VALUE_ACCESSOR,
61
+ useExisting: forwardRef(() => BaredomPaginationCva),
62
+ multi: true,
63
+ }],
64
+ }]
65
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
66
+ //# sourceMappingURL=x-pagination-cva.directive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-pagination-cva.directive.js","sourceRoot":"","sources":["../../src/cva/x-pagination-cva.directive.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAE,SAAS,EAAc,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;;AAEtD,IAAI,EAAE,CAAC;AAWP,MAAM,OAAO,oBAAoB;IAK/B,YAAY,KAAqC,EAAE,IAAY;QAFvD,cAAS,GAAsB,EAAE,CAAC;QAOlC,aAAQ,GAA4B,GAAG,EAAE,GAAE,CAAC,CAAC;QAC7C,cAAS,GAAe,GAAG,EAAE,GAAE,CAAC,CAAC;QALvC,IAAI,CAAC,EAAE,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AED,gBAAgB,CAAC,EAAuB;QACtC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,iBAAiB,CAAC,EAAc;QAC9B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,gBAAgB,CAAC,CAAU;QACzB,IAAI,CAAC;YAAE,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;;YACvC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;+GA9CU,oBAAoB;mGAApB,oBAAoB,4HANpB,CAAC;gBACV,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;gBACnD,KAAK,EAAE,IAAI;aACZ,CAAC;;4FAES,oBAAoB;kBAThC,SAAS;mBAAC;oBACT,QAAQ,EAAE,+EAA+E;oBACzF,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC;4BACV,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,qBAAqB,CAAC;4BACnD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
@@ -0,0 +1,21 @@
1
+ import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import type { XRadio as XRadioElement } from '@vanelsas/baredom/x-radio';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaredomRadioCva implements ControlValueAccessor, OnInit, OnDestroy {
6
+ private el;
7
+ private zone;
8
+ private listeners;
9
+ constructor(elRef: ElementRef<XRadioElement>, zone: NgZone);
10
+ private onChange;
11
+ private onTouched;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ writeValue(v: boolean): void;
15
+ registerOnChange(fn: (v: boolean) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState(d: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaredomRadioCva, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomRadioCva, "x-radio[formControlName],x-radio[formControl],x-radio[ngModel]", never, {}, {}, never, never, true, never>;
20
+ }
21
+ //# sourceMappingURL=x-radio-cva.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-radio-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-radio-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAKzE,qBASa,eAAgB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAC7E,OAAO,CAAC,EAAE,CAAgB;IAC1B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM;IAK1D,OAAO,CAAC,QAAQ,CAAsC;IACtD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIhD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,eAAe;2CAAf,eAAe;CA+C3B"}