@fragiola/primitives-angular 0.0.0-stage → 0.0.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 (289) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -2
  3. package/fesm2022/fragiola-primitives-angular-accordion.mjs +567 -0
  4. package/fesm2022/fragiola-primitives-angular-accordion.mjs.map +1 -0
  5. package/fesm2022/fragiola-primitives-angular-alert-dialog.mjs +562 -0
  6. package/fesm2022/fragiola-primitives-angular-alert-dialog.mjs.map +1 -0
  7. package/fesm2022/fragiola-primitives-angular-aspect-ratio.mjs +79 -0
  8. package/fesm2022/fragiola-primitives-angular-aspect-ratio.mjs.map +1 -0
  9. package/fesm2022/fragiola-primitives-angular-async-list.mjs +44 -0
  10. package/fesm2022/fragiola-primitives-angular-async-list.mjs.map +1 -0
  11. package/fesm2022/fragiola-primitives-angular-autocomplete-virtual.mjs +243 -0
  12. package/fesm2022/fragiola-primitives-angular-autocomplete-virtual.mjs.map +1 -0
  13. package/fesm2022/fragiola-primitives-angular-autocomplete.mjs +1751 -0
  14. package/fesm2022/fragiola-primitives-angular-autocomplete.mjs.map +1 -0
  15. package/fesm2022/fragiola-primitives-angular-avatar.mjs +308 -0
  16. package/fesm2022/fragiola-primitives-angular-avatar.mjs.map +1 -0
  17. package/fesm2022/fragiola-primitives-angular-breadcrumbs.mjs +355 -0
  18. package/fesm2022/fragiola-primitives-angular-breadcrumbs.mjs.map +1 -0
  19. package/fesm2022/fragiola-primitives-angular-button.mjs +156 -0
  20. package/fesm2022/fragiola-primitives-angular-button.mjs.map +1 -0
  21. package/fesm2022/fragiola-primitives-angular-calendar-preset.mjs +126 -0
  22. package/fesm2022/fragiola-primitives-angular-calendar-preset.mjs.map +1 -0
  23. package/fesm2022/fragiola-primitives-angular-calendar-view.mjs +289 -0
  24. package/fesm2022/fragiola-primitives-angular-calendar-view.mjs.map +1 -0
  25. package/fesm2022/fragiola-primitives-angular-calendar.mjs +1222 -0
  26. package/fesm2022/fragiola-primitives-angular-calendar.mjs.map +1 -0
  27. package/fesm2022/fragiola-primitives-angular-carousel.mjs +1031 -0
  28. package/fesm2022/fragiola-primitives-angular-carousel.mjs.map +1 -0
  29. package/fesm2022/fragiola-primitives-angular-cascade-select.mjs +1391 -0
  30. package/fesm2022/fragiola-primitives-angular-cascade-select.mjs.map +1 -0
  31. package/fesm2022/fragiola-primitives-angular-checkbox-group.mjs +221 -0
  32. package/fesm2022/fragiola-primitives-angular-checkbox-group.mjs.map +1 -0
  33. package/fesm2022/fragiola-primitives-angular-checkbox.mjs +474 -0
  34. package/fesm2022/fragiola-primitives-angular-checkbox.mjs.map +1 -0
  35. package/fesm2022/fragiola-primitives-angular-clipboard.mjs +389 -0
  36. package/fesm2022/fragiola-primitives-angular-clipboard.mjs.map +1 -0
  37. package/fesm2022/fragiola-primitives-angular-collapsible.mjs +314 -0
  38. package/fesm2022/fragiola-primitives-angular-collapsible.mjs.map +1 -0
  39. package/fesm2022/fragiola-primitives-angular-color-area.mjs +609 -0
  40. package/fesm2022/fragiola-primitives-angular-color-area.mjs.map +1 -0
  41. package/fesm2022/fragiola-primitives-angular-color-field.mjs +675 -0
  42. package/fesm2022/fragiola-primitives-angular-color-field.mjs.map +1 -0
  43. package/fesm2022/fragiola-primitives-angular-color-picker-popover.mjs +572 -0
  44. package/fesm2022/fragiola-primitives-angular-color-picker-popover.mjs.map +1 -0
  45. package/fesm2022/fragiola-primitives-angular-color-picker.mjs +528 -0
  46. package/fesm2022/fragiola-primitives-angular-color-picker.mjs.map +1 -0
  47. package/fesm2022/fragiola-primitives-angular-color-slider.mjs +868 -0
  48. package/fesm2022/fragiola-primitives-angular-color-slider.mjs.map +1 -0
  49. package/fesm2022/fragiola-primitives-angular-color-swatch-picker.mjs +503 -0
  50. package/fesm2022/fragiola-primitives-angular-color-swatch-picker.mjs.map +1 -0
  51. package/fesm2022/fragiola-primitives-angular-color-swatch.mjs +141 -0
  52. package/fesm2022/fragiola-primitives-angular-color-swatch.mjs.map +1 -0
  53. package/fesm2022/fragiola-primitives-angular-color-wheel.mjs +554 -0
  54. package/fesm2022/fragiola-primitives-angular-color-wheel.mjs.map +1 -0
  55. package/fesm2022/fragiola-primitives-angular-combobox-virtual.mjs +247 -0
  56. package/fesm2022/fragiola-primitives-angular-combobox-virtual.mjs.map +1 -0
  57. package/fesm2022/fragiola-primitives-angular-combobox.mjs +2083 -0
  58. package/fesm2022/fragiola-primitives-angular-combobox.mjs.map +1 -0
  59. package/fesm2022/fragiola-primitives-angular-command-virtual.mjs +263 -0
  60. package/fesm2022/fragiola-primitives-angular-command-virtual.mjs.map +1 -0
  61. package/fesm2022/fragiola-primitives-angular-command.mjs +977 -0
  62. package/fesm2022/fragiola-primitives-angular-command.mjs.map +1 -0
  63. package/fesm2022/fragiola-primitives-angular-context-menu.mjs +1012 -0
  64. package/fesm2022/fragiola-primitives-angular-context-menu.mjs.map +1 -0
  65. package/fesm2022/fragiola-primitives-angular-date-field.mjs +1030 -0
  66. package/fesm2022/fragiola-primitives-angular-date-field.mjs.map +1 -0
  67. package/fesm2022/fragiola-primitives-angular-date-picker-input.mjs +511 -0
  68. package/fesm2022/fragiola-primitives-angular-date-picker-input.mjs.map +1 -0
  69. package/fesm2022/fragiola-primitives-angular-date-picker.mjs +991 -0
  70. package/fesm2022/fragiola-primitives-angular-date-picker.mjs.map +1 -0
  71. package/fesm2022/fragiola-primitives-angular-date-range-field.mjs +847 -0
  72. package/fesm2022/fragiola-primitives-angular-date-range-field.mjs.map +1 -0
  73. package/fesm2022/fragiola-primitives-angular-date-range-picker-input.mjs +260 -0
  74. package/fesm2022/fragiola-primitives-angular-date-range-picker-input.mjs.map +1 -0
  75. package/fesm2022/fragiola-primitives-angular-date-range-picker.mjs +128 -0
  76. package/fesm2022/fragiola-primitives-angular-date-range-picker.mjs.map +1 -0
  77. package/fesm2022/fragiola-primitives-angular-dialog.mjs +1076 -0
  78. package/fesm2022/fragiola-primitives-angular-dialog.mjs.map +1 -0
  79. package/fesm2022/fragiola-primitives-angular-direction.mjs +82 -0
  80. package/fesm2022/fragiola-primitives-angular-direction.mjs.map +1 -0
  81. package/fesm2022/fragiola-primitives-angular-drawer.mjs +890 -0
  82. package/fesm2022/fragiola-primitives-angular-drawer.mjs.map +1 -0
  83. package/fesm2022/fragiola-primitives-angular-drop-zone.mjs +189 -0
  84. package/fesm2022/fragiola-primitives-angular-drop-zone.mjs.map +1 -0
  85. package/fesm2022/fragiola-primitives-angular-editable.mjs +955 -0
  86. package/fesm2022/fragiola-primitives-angular-editable.mjs.map +1 -0
  87. package/fesm2022/fragiola-primitives-angular-field.mjs +929 -0
  88. package/fesm2022/fragiola-primitives-angular-field.mjs.map +1 -0
  89. package/fesm2022/fragiola-primitives-angular-fieldset.mjs +164 -0
  90. package/fesm2022/fragiola-primitives-angular-fieldset.mjs.map +1 -0
  91. package/fesm2022/fragiola-primitives-angular-file-upload.mjs +1370 -0
  92. package/fesm2022/fragiola-primitives-angular-file-upload.mjs.map +1 -0
  93. package/fesm2022/fragiola-primitives-angular-form.mjs +162 -0
  94. package/fesm2022/fragiola-primitives-angular-form.mjs.map +1 -0
  95. package/fesm2022/fragiola-primitives-angular-hover-card.mjs +906 -0
  96. package/fesm2022/fragiola-primitives-angular-hover-card.mjs.map +1 -0
  97. package/fesm2022/fragiola-primitives-angular-internal.mjs +980 -0
  98. package/fesm2022/fragiola-primitives-angular-internal.mjs.map +1 -0
  99. package/fesm2022/fragiola-primitives-angular-label.mjs +65 -0
  100. package/fesm2022/fragiola-primitives-angular-label.mjs.map +1 -0
  101. package/fesm2022/fragiola-primitives-angular-link.mjs +109 -0
  102. package/fesm2022/fragiola-primitives-angular-link.mjs.map +1 -0
  103. package/fesm2022/fragiola-primitives-angular-listbox-virtual.mjs +657 -0
  104. package/fesm2022/fragiola-primitives-angular-listbox-virtual.mjs.map +1 -0
  105. package/fesm2022/fragiola-primitives-angular-listbox.mjs +851 -0
  106. package/fesm2022/fragiola-primitives-angular-listbox.mjs.map +1 -0
  107. package/fesm2022/fragiola-primitives-angular-menu.mjs +2258 -0
  108. package/fesm2022/fragiola-primitives-angular-menu.mjs.map +1 -0
  109. package/fesm2022/fragiola-primitives-angular-menubar.mjs +303 -0
  110. package/fesm2022/fragiola-primitives-angular-menubar.mjs.map +1 -0
  111. package/fesm2022/fragiola-primitives-angular-meter.mjs +410 -0
  112. package/fesm2022/fragiola-primitives-angular-meter.mjs.map +1 -0
  113. package/fesm2022/fragiola-primitives-angular-month-calendar.mjs +1066 -0
  114. package/fesm2022/fragiola-primitives-angular-month-calendar.mjs.map +1 -0
  115. package/fesm2022/fragiola-primitives-angular-month-picker.mjs +514 -0
  116. package/fesm2022/fragiola-primitives-angular-month-picker.mjs.map +1 -0
  117. package/fesm2022/fragiola-primitives-angular-month-range-calendar.mjs +163 -0
  118. package/fesm2022/fragiola-primitives-angular-month-range-calendar.mjs.map +1 -0
  119. package/fesm2022/fragiola-primitives-angular-month-range-picker.mjs +177 -0
  120. package/fesm2022/fragiola-primitives-angular-month-range-picker.mjs.map +1 -0
  121. package/fesm2022/fragiola-primitives-angular-multiple-calendar.mjs +216 -0
  122. package/fesm2022/fragiola-primitives-angular-multiple-calendar.mjs.map +1 -0
  123. package/fesm2022/fragiola-primitives-angular-navigation-menu.mjs +1413 -0
  124. package/fesm2022/fragiola-primitives-angular-navigation-menu.mjs.map +1 -0
  125. package/fesm2022/fragiola-primitives-angular-number-field.mjs +1210 -0
  126. package/fesm2022/fragiola-primitives-angular-number-field.mjs.map +1 -0
  127. package/fesm2022/fragiola-primitives-angular-otp-field.mjs +751 -0
  128. package/fesm2022/fragiola-primitives-angular-otp-field.mjs.map +1 -0
  129. package/fesm2022/fragiola-primitives-angular-pagination.mjs +758 -0
  130. package/fesm2022/fragiola-primitives-angular-pagination.mjs.map +1 -0
  131. package/fesm2022/fragiola-primitives-angular-password-input.mjs +542 -0
  132. package/fesm2022/fragiola-primitives-angular-password-input.mjs.map +1 -0
  133. package/fesm2022/fragiola-primitives-angular-popover.mjs +1011 -0
  134. package/fesm2022/fragiola-primitives-angular-popover.mjs.map +1 -0
  135. package/fesm2022/fragiola-primitives-angular-progress.mjs +472 -0
  136. package/fesm2022/fragiola-primitives-angular-progress.mjs.map +1 -0
  137. package/fesm2022/fragiola-primitives-angular-radio-group.mjs +321 -0
  138. package/fesm2022/fragiola-primitives-angular-radio-group.mjs.map +1 -0
  139. package/fesm2022/fragiola-primitives-angular-radio.mjs +273 -0
  140. package/fesm2022/fragiola-primitives-angular-radio.mjs.map +1 -0
  141. package/fesm2022/fragiola-primitives-angular-range-calendar.mjs +108 -0
  142. package/fesm2022/fragiola-primitives-angular-range-calendar.mjs.map +1 -0
  143. package/fesm2022/fragiola-primitives-angular-rating.mjs +643 -0
  144. package/fesm2022/fragiola-primitives-angular-rating.mjs.map +1 -0
  145. package/fesm2022/fragiola-primitives-angular-render.mjs +1 -0
  146. package/fesm2022/fragiola-primitives-angular-scroll-area.mjs +553 -0
  147. package/fesm2022/fragiola-primitives-angular-scroll-area.mjs.map +1 -0
  148. package/fesm2022/fragiola-primitives-angular-search-field.mjs +487 -0
  149. package/fesm2022/fragiola-primitives-angular-search-field.mjs.map +1 -0
  150. package/fesm2022/fragiola-primitives-angular-segmented-control.mjs +762 -0
  151. package/fesm2022/fragiola-primitives-angular-segmented-control.mjs.map +1 -0
  152. package/fesm2022/fragiola-primitives-angular-select-virtual.mjs +246 -0
  153. package/fesm2022/fragiola-primitives-angular-select-virtual.mjs.map +1 -0
  154. package/fesm2022/fragiola-primitives-angular-select.mjs +1433 -0
  155. package/fesm2022/fragiola-primitives-angular-select.mjs.map +1 -0
  156. package/fesm2022/fragiola-primitives-angular-separator.mjs +102 -0
  157. package/fesm2022/fragiola-primitives-angular-separator.mjs.map +1 -0
  158. package/fesm2022/fragiola-primitives-angular-slider.mjs +1090 -0
  159. package/fesm2022/fragiola-primitives-angular-slider.mjs.map +1 -0
  160. package/fesm2022/fragiola-primitives-angular-steps.mjs +819 -0
  161. package/fesm2022/fragiola-primitives-angular-steps.mjs.map +1 -0
  162. package/fesm2022/fragiola-primitives-angular-switch.mjs +422 -0
  163. package/fesm2022/fragiola-primitives-angular-switch.mjs.map +1 -0
  164. package/fesm2022/fragiola-primitives-angular-tabs.mjs +726 -0
  165. package/fesm2022/fragiola-primitives-angular-tabs.mjs.map +1 -0
  166. package/fesm2022/fragiola-primitives-angular-tag-group.mjs +768 -0
  167. package/fesm2022/fragiola-primitives-angular-tag-group.mjs.map +1 -0
  168. package/fesm2022/fragiola-primitives-angular-tags-input.mjs +1126 -0
  169. package/fesm2022/fragiola-primitives-angular-tags-input.mjs.map +1 -0
  170. package/fesm2022/fragiola-primitives-angular-time-field.mjs +187 -0
  171. package/fesm2022/fragiola-primitives-angular-time-field.mjs.map +1 -0
  172. package/fesm2022/fragiola-primitives-angular-time-range-field.mjs +188 -0
  173. package/fesm2022/fragiola-primitives-angular-time-range-field.mjs.map +1 -0
  174. package/fesm2022/fragiola-primitives-angular-toast.mjs +744 -0
  175. package/fesm2022/fragiola-primitives-angular-toast.mjs.map +1 -0
  176. package/fesm2022/fragiola-primitives-angular-toggle-group.mjs +245 -0
  177. package/fesm2022/fragiola-primitives-angular-toggle-group.mjs.map +1 -0
  178. package/fesm2022/fragiola-primitives-angular-toggle.mjs +229 -0
  179. package/fesm2022/fragiola-primitives-angular-toggle.mjs.map +1 -0
  180. package/fesm2022/fragiola-primitives-angular-toolbar.mjs +623 -0
  181. package/fesm2022/fragiola-primitives-angular-toolbar.mjs.map +1 -0
  182. package/fesm2022/fragiola-primitives-angular-tooltip.mjs +975 -0
  183. package/fesm2022/fragiola-primitives-angular-tooltip.mjs.map +1 -0
  184. package/fesm2022/fragiola-primitives-angular-year-calendar.mjs +163 -0
  185. package/fesm2022/fragiola-primitives-angular-year-calendar.mjs.map +1 -0
  186. package/fesm2022/fragiola-primitives-angular-year-picker.mjs +177 -0
  187. package/fesm2022/fragiola-primitives-angular-year-picker.mjs.map +1 -0
  188. package/fesm2022/fragiola-primitives-angular-year-range-calendar.mjs +163 -0
  189. package/fesm2022/fragiola-primitives-angular-year-range-calendar.mjs.map +1 -0
  190. package/fesm2022/fragiola-primitives-angular-year-range-picker.mjs +177 -0
  191. package/fesm2022/fragiola-primitives-angular-year-range-picker.mjs.map +1 -0
  192. package/fesm2022/fragiola-primitives-angular.mjs +94 -0
  193. package/package.json +437 -3
  194. package/types/fragiola-primitives-angular-accordion.d.ts +154 -0
  195. package/types/fragiola-primitives-angular-alert-dialog.d.ts +176 -0
  196. package/types/fragiola-primitives-angular-aspect-ratio.d.ts +25 -0
  197. package/types/fragiola-primitives-angular-async-list.d.ts +32 -0
  198. package/types/fragiola-primitives-angular-autocomplete-virtual.d.ts +82 -0
  199. package/types/fragiola-primitives-angular-autocomplete.d.ts +496 -0
  200. package/types/fragiola-primitives-angular-avatar.d.ts +94 -0
  201. package/types/fragiola-primitives-angular-breadcrumbs.d.ts +62 -0
  202. package/types/fragiola-primitives-angular-button.d.ts +66 -0
  203. package/types/fragiola-primitives-angular-calendar-preset.d.ts +35 -0
  204. package/types/fragiola-primitives-angular-calendar-view.d.ts +80 -0
  205. package/types/fragiola-primitives-angular-calendar.d.ts +414 -0
  206. package/types/fragiola-primitives-angular-carousel.d.ts +300 -0
  207. package/types/fragiola-primitives-angular-cascade-select.d.ts +404 -0
  208. package/types/fragiola-primitives-angular-checkbox-group.d.ts +74 -0
  209. package/types/fragiola-primitives-angular-checkbox.d.ts +111 -0
  210. package/types/fragiola-primitives-angular-clipboard.d.ts +106 -0
  211. package/types/fragiola-primitives-angular-collapsible.d.ts +88 -0
  212. package/types/fragiola-primitives-angular-color-area.d.ts +174 -0
  213. package/types/fragiola-primitives-angular-color-field.d.ts +174 -0
  214. package/types/fragiola-primitives-angular-color-picker-popover.d.ts +180 -0
  215. package/types/fragiola-primitives-angular-color-picker.d.ts +137 -0
  216. package/types/fragiola-primitives-angular-color-slider.d.ts +228 -0
  217. package/types/fragiola-primitives-angular-color-swatch-picker.d.ts +146 -0
  218. package/types/fragiola-primitives-angular-color-swatch.d.ts +43 -0
  219. package/types/fragiola-primitives-angular-color-wheel.d.ts +144 -0
  220. package/types/fragiola-primitives-angular-combobox-virtual.d.ts +84 -0
  221. package/types/fragiola-primitives-angular-combobox.d.ts +582 -0
  222. package/types/fragiola-primitives-angular-command-virtual.d.ts +93 -0
  223. package/types/fragiola-primitives-angular-command.d.ts +283 -0
  224. package/types/fragiola-primitives-angular-context-menu.d.ts +278 -0
  225. package/types/fragiola-primitives-angular-date-field.d.ts +486 -0
  226. package/types/fragiola-primitives-angular-date-picker-input.d.ts +139 -0
  227. package/types/fragiola-primitives-angular-date-picker.d.ts +331 -0
  228. package/types/fragiola-primitives-angular-date-range-field.d.ts +333 -0
  229. package/types/fragiola-primitives-angular-date-range-picker-input.d.ts +89 -0
  230. package/types/fragiola-primitives-angular-date-range-picker.d.ts +35 -0
  231. package/types/fragiola-primitives-angular-dialog.d.ts +359 -0
  232. package/types/fragiola-primitives-angular-direction.d.ts +31 -0
  233. package/types/fragiola-primitives-angular-drawer.d.ts +242 -0
  234. package/types/fragiola-primitives-angular-drop-zone.d.ts +68 -0
  235. package/types/fragiola-primitives-angular-editable.d.ts +219 -0
  236. package/types/fragiola-primitives-angular-field.d.ts +397 -0
  237. package/types/fragiola-primitives-angular-fieldset.d.ts +47 -0
  238. package/types/fragiola-primitives-angular-file-upload.d.ts +351 -0
  239. package/types/fragiola-primitives-angular-form.d.ts +44 -0
  240. package/types/fragiola-primitives-angular-hover-card.d.ts +279 -0
  241. package/types/fragiola-primitives-angular-internal.d.ts +695 -0
  242. package/types/fragiola-primitives-angular-label.d.ts +14 -0
  243. package/types/fragiola-primitives-angular-link.d.ts +33 -0
  244. package/types/fragiola-primitives-angular-listbox-virtual.d.ts +193 -0
  245. package/types/fragiola-primitives-angular-listbox.d.ts +237 -0
  246. package/types/fragiola-primitives-angular-menu.d.ts +758 -0
  247. package/types/fragiola-primitives-angular-menubar.d.ts +76 -0
  248. package/types/fragiola-primitives-angular-meter.d.ts +117 -0
  249. package/types/fragiola-primitives-angular-month-calendar.d.ts +380 -0
  250. package/types/fragiola-primitives-angular-month-picker.d.ts +183 -0
  251. package/types/fragiola-primitives-angular-month-range-calendar.d.ts +54 -0
  252. package/types/fragiola-primitives-angular-month-range-picker.d.ts +56 -0
  253. package/types/fragiola-primitives-angular-multiple-calendar.d.ts +73 -0
  254. package/types/fragiola-primitives-angular-navigation-menu.d.ts +355 -0
  255. package/types/fragiola-primitives-angular-number-field.d.ts +305 -0
  256. package/types/fragiola-primitives-angular-otp-field.d.ts +210 -0
  257. package/types/fragiola-primitives-angular-pagination.d.ts +239 -0
  258. package/types/fragiola-primitives-angular-password-input.d.ts +149 -0
  259. package/types/fragiola-primitives-angular-popover.d.ts +303 -0
  260. package/types/fragiola-primitives-angular-progress.d.ts +126 -0
  261. package/types/fragiola-primitives-angular-radio-group.d.ts +123 -0
  262. package/types/fragiola-primitives-angular-radio.d.ts +67 -0
  263. package/types/fragiola-primitives-angular-range-calendar.d.ts +33 -0
  264. package/types/fragiola-primitives-angular-rating.d.ts +195 -0
  265. package/types/fragiola-primitives-angular-render.d.ts +2 -0
  266. package/types/fragiola-primitives-angular-scroll-area.d.ts +134 -0
  267. package/types/fragiola-primitives-angular-search-field.d.ts +129 -0
  268. package/types/fragiola-primitives-angular-segmented-control.d.ts +232 -0
  269. package/types/fragiola-primitives-angular-select-virtual.d.ts +81 -0
  270. package/types/fragiola-primitives-angular-select.d.ts +403 -0
  271. package/types/fragiola-primitives-angular-separator.d.ts +32 -0
  272. package/types/fragiola-primitives-angular-slider.d.ts +297 -0
  273. package/types/fragiola-primitives-angular-steps.d.ts +194 -0
  274. package/types/fragiola-primitives-angular-switch.d.ts +102 -0
  275. package/types/fragiola-primitives-angular-tabs.d.ts +215 -0
  276. package/types/fragiola-primitives-angular-tag-group.d.ts +232 -0
  277. package/types/fragiola-primitives-angular-tags-input.d.ts +318 -0
  278. package/types/fragiola-primitives-angular-time-field.d.ts +63 -0
  279. package/types/fragiola-primitives-angular-time-range-field.d.ts +65 -0
  280. package/types/fragiola-primitives-angular-toast.d.ts +196 -0
  281. package/types/fragiola-primitives-angular-toggle-group.d.ts +89 -0
  282. package/types/fragiola-primitives-angular-toggle.d.ts +86 -0
  283. package/types/fragiola-primitives-angular-toolbar.d.ts +187 -0
  284. package/types/fragiola-primitives-angular-tooltip.d.ts +330 -0
  285. package/types/fragiola-primitives-angular-year-calendar.d.ts +54 -0
  286. package/types/fragiola-primitives-angular-year-picker.d.ts +56 -0
  287. package/types/fragiola-primitives-angular-year-range-calendar.d.ts +54 -0
  288. package/types/fragiola-primitives-angular-year-range-picker.d.ts +56 -0
  289. package/types/fragiola-primitives-angular.d.ts +94 -0
@@ -0,0 +1,554 @@
1
+ import * as i0 from "@angular/core";
2
+ import { DestroyRef, Directive, PLATFORM_ID, afterNextRender, booleanAttribute, computed, effect, inject, input, numberAttribute, output, signal, untracked } from "@angular/core";
3
+ import { colorSpaceFor, colorWheelGradient, colorWheelKeyTarget, colorWheelThumbOffset, convertColor, formatColor, formatColorChannel, getColorChannel, hueAtPoint, isOnColorWheel, isSameColor, parseColor, setColorChannel, wrapHue } from "@fragiola/primitives/color";
4
+ import { bridgeForm } from "@fragiola/primitives/form";
5
+ import { startDrag } from "@fragiola/primitives/pointer";
6
+ import { controllable, dataValues, injectColorPickerBinding, injectFlush, injectHost } from "@fragiola/primitives-angular/internal";
7
+ const RED = {
8
+ space: "hsl",
9
+ hue: 0,
10
+ saturation: 100,
11
+ lightness: 50,
12
+ alpha: 1
13
+ };
14
+ function toColor(value) {
15
+ return parseColor(value) ?? RED;
16
+ }
17
+ var ColorWheelRoot = class ColorWheelRoot {
18
+ constructor() {
19
+ this.value = input(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
20
+ this.valueChange = output();
21
+ this.defaultValue = input(void 0, ...ngDevMode ? [{ debugName: "defaultValue" }] : /* istanbul ignore next */ []);
22
+ this.valueChangeDetails = output();
23
+ this.valueCommit = output();
24
+ this.colorSpace = input(void 0, ...ngDevMode ? [{ debugName: "colorSpace" }] : /* istanbul ignore next */ []);
25
+ this.outerRadius = input(100, {
26
+ ...ngDevMode ? { debugName: "outerRadius" } : /* istanbul ignore next */ {},
27
+ transform: numberAttribute
28
+ });
29
+ this.innerRadius = input(75, {
30
+ ...ngDevMode ? { debugName: "innerRadius" } : /* istanbul ignore next */ {},
31
+ transform: numberAttribute
32
+ });
33
+ this.disabled = input(false, {
34
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
35
+ transform: booleanAttribute
36
+ });
37
+ this.name = input(void 0, ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
38
+ this.locale = input(void 0, ...ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []);
39
+ this.host = injectHost();
40
+ this.flush = injectFlush();
41
+ this.own = controllable(computed(() => {
42
+ const value = this.value();
43
+ return value === void 0 ? void 0 : toColor(value);
44
+ }), this.valueChange, () => toColor(this.defaultValue() ?? RED), (value, details) => this.valueChangeDetails.emit({
45
+ value,
46
+ details
47
+ }));
48
+ this.picker = injectColorPickerBinding();
49
+ this.bound = computed(() => this.picker !== null && this.value() === void 0 && this.defaultValue() === void 0 ? this.picker : null, ...ngDevMode ? [{ debugName: "bound" }] : /* istanbul ignore next */ []);
50
+ this.current = {
51
+ value: computed(() => {
52
+ const bound = this.bound();
53
+ return bound === null ? this.own.value() : bound.value();
54
+ }),
55
+ set: (next, details) => {
56
+ const bound = untracked(this.bound);
57
+ if (bound === null) {
58
+ this.own.set(next, details);
59
+ return;
60
+ }
61
+ this.valueChange.emit(next);
62
+ this.valueChangeDetails.emit({
63
+ value: next,
64
+ details
65
+ });
66
+ bound.setValue(next, details);
67
+ }
68
+ };
69
+ this.color = computed(() => {
70
+ const current = this.current.value();
71
+ return convertColor(current, colorSpaceFor("hue", current, this.colorSpace()));
72
+ }, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
73
+ this.hue = computed(() => getColorChannel(this.color(), "hue"), ...ngDevMode ? [{ debugName: "hue" }] : /* istanbul ignore next */ []);
74
+ this.hex = computed(() => formatColor(this.color(), "hex"), ...ngDevMode ? [{ debugName: "hex" }] : /* istanbul ignore next */ []);
75
+ this.valueText = computed(() => formatColorChannel(this.color(), "hue", this.locale(), this.hue()), ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
76
+ this.dragging = signal(false, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
77
+ this.thumb = signal(null, ...ngDevMode ? [{ debugName: "thumb" }] : /* istanbul ignore next */ []);
78
+ this.isDisabled = computed(() => this.disabled() || (this.picker?.disabled() ?? false), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
79
+ this.size = computed(() => `${this.outerRadius() * 2}px`, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
80
+ this.state = computed(() => ({
81
+ color: this.color(),
82
+ hue: this.hue(),
83
+ disabled: this.isDisabled(),
84
+ dragging: this.dragging()
85
+ }), ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
86
+ this.data = computed(() => {
87
+ const state = this.state();
88
+ return dataValues({
89
+ disabled: state.disabled,
90
+ dragging: state.dragging
91
+ });
92
+ }, ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
93
+ this.hidden = null;
94
+ this.endDrag = null;
95
+ const host = this.host;
96
+ const browser = inject(PLATFORM_ID) === "browser";
97
+ effect(() => {
98
+ if (!browser) return;
99
+ const hex = this.hex();
100
+ const name = this.bound() === null ? this.name() : void 0;
101
+ untracked(() => {
102
+ if (this.hidden === null) {
103
+ const element = host.ownerDocument.createElement("input");
104
+ element.type = "hidden";
105
+ element.setAttribute("data-primitives-part", "color-wheel-input");
106
+ host.appendChild(element);
107
+ this.hidden = element;
108
+ }
109
+ const hidden = this.hidden;
110
+ if (name === void 0) hidden.removeAttribute("name");
111
+ else hidden.name = name;
112
+ hidden.value = hex;
113
+ });
114
+ });
115
+ let stop = null;
116
+ afterNextRender(() => {
117
+ const hidden = this.hidden;
118
+ if (hidden !== null) stop = bridgeForm(hidden, { reset: () => {
119
+ if (untracked(this.bound) !== null) return;
120
+ const next = toColor(untracked(this.defaultValue) ?? RED);
121
+ if (!isSameColor(next, untracked(this.current.value))) this.current.set(next, { reason: "none" });
122
+ } });
123
+ });
124
+ inject(DestroyRef).onDestroy(() => {
125
+ stop?.();
126
+ this.endDrag?.();
127
+ this.hidden?.remove();
128
+ });
129
+ }
130
+ setHue(hue, reason) {
131
+ const before = untracked(this.color);
132
+ const wrapped = wrapHue(hue);
133
+ if (wrapped === getColorChannel(before, "hue")) return before;
134
+ const changed = setColorChannel(before, "hue", wrapped);
135
+ this.current.set(changed, { reason });
136
+ return changed;
137
+ }
138
+ commit(color) {
139
+ const committed = color ?? untracked(this.color);
140
+ this.valueCommit.emit(committed);
141
+ untracked(this.bound)?.commit(committed, { reason: "none" });
142
+ }
143
+ onPointerDown(event) {
144
+ if (untracked(this.isDisabled) || event.pointerType === "mouse" && event.button !== 0) return;
145
+ const host = this.host;
146
+ const point = {
147
+ x: event.clientX,
148
+ y: event.clientY
149
+ };
150
+ const box = host.getBoundingClientRect();
151
+ if (!isOnColorWheel(box, point, untracked(this.innerRadius), untracked(this.outerRadius))) return;
152
+ event.preventDefault();
153
+ this.setHue(hueAtPoint(box, point), "track-press");
154
+ untracked(this.thumb)?.focus();
155
+ this.dragging.set(true);
156
+ this.flush();
157
+ this.endDrag?.();
158
+ this.endDrag = startDrag(host, event, {
159
+ onMove: (move) => {
160
+ this.setHue(hueAtPoint(host.getBoundingClientRect(), {
161
+ x: move.clientX,
162
+ y: move.clientY
163
+ }), "drag");
164
+ this.flush();
165
+ },
166
+ onEnd: () => {
167
+ this.endDrag = null;
168
+ this.dragging.set(false);
169
+ this.commit();
170
+ this.flush();
171
+ }
172
+ });
173
+ }
174
+ static {
175
+ this.ɵfac = i0.ɵɵngDeclareFactory({
176
+ minVersion: "12.0.0",
177
+ version: "22.2.6",
178
+ ngImport: i0,
179
+ type: ColorWheelRoot,
180
+ deps: [],
181
+ target: i0.ɵɵFactoryTarget.Directive
182
+ });
183
+ }
184
+ static {
185
+ this.ɵdir = i0.ɵɵngDeclareDirective({
186
+ minVersion: "17.1.0",
187
+ version: "22.2.6",
188
+ type: ColorWheelRoot,
189
+ isStandalone: true,
190
+ selector: "[colorWheelRoot]",
191
+ inputs: {
192
+ value: {
193
+ classPropertyName: "value",
194
+ publicName: "value",
195
+ isSignal: true,
196
+ isRequired: false,
197
+ transformFunction: null
198
+ },
199
+ defaultValue: {
200
+ classPropertyName: "defaultValue",
201
+ publicName: "defaultValue",
202
+ isSignal: true,
203
+ isRequired: false,
204
+ transformFunction: null
205
+ },
206
+ colorSpace: {
207
+ classPropertyName: "colorSpace",
208
+ publicName: "colorSpace",
209
+ isSignal: true,
210
+ isRequired: false,
211
+ transformFunction: null
212
+ },
213
+ outerRadius: {
214
+ classPropertyName: "outerRadius",
215
+ publicName: "outerRadius",
216
+ isSignal: true,
217
+ isRequired: false,
218
+ transformFunction: null
219
+ },
220
+ innerRadius: {
221
+ classPropertyName: "innerRadius",
222
+ publicName: "innerRadius",
223
+ isSignal: true,
224
+ isRequired: false,
225
+ transformFunction: null
226
+ },
227
+ disabled: {
228
+ classPropertyName: "disabled",
229
+ publicName: "disabled",
230
+ isSignal: true,
231
+ isRequired: false,
232
+ transformFunction: null
233
+ },
234
+ name: {
235
+ classPropertyName: "name",
236
+ publicName: "name",
237
+ isSignal: true,
238
+ isRequired: false,
239
+ transformFunction: null
240
+ },
241
+ locale: {
242
+ classPropertyName: "locale",
243
+ publicName: "locale",
244
+ isSignal: true,
245
+ isRequired: false,
246
+ transformFunction: null
247
+ }
248
+ },
249
+ outputs: {
250
+ valueChange: "valueChange",
251
+ valueChangeDetails: "valueChangeDetails",
252
+ valueCommit: "valueCommit"
253
+ },
254
+ host: {
255
+ attributes: { "data-primitives-part": "color-wheel-root" },
256
+ listeners: { "pointerdown": "onPointerDown($event)" },
257
+ properties: {
258
+ "attr.data-disabled": "data().disabled",
259
+ "attr.data-dragging": "data().dragging",
260
+ "style.position": "'relative'",
261
+ "style.inline-size": "size()",
262
+ "style.block-size": "size()",
263
+ "style.touch-action": "'none'",
264
+ "style.--color-wheel-outer-radius": "outerRadius() + 'px'",
265
+ "style.--color-wheel-inner-radius": "innerRadius() + 'px'"
266
+ }
267
+ },
268
+ exportAs: ["colorWheelRoot"],
269
+ ngImport: i0
270
+ });
271
+ }
272
+ };
273
+ i0.ɵɵngDeclareClassMetadata({
274
+ minVersion: "12.0.0",
275
+ version: "22.2.6",
276
+ ngImport: i0,
277
+ type: ColorWheelRoot,
278
+ decorators: [{
279
+ type: Directive,
280
+ args: [{
281
+ selector: "[colorWheelRoot]",
282
+ exportAs: "colorWheelRoot",
283
+ host: {
284
+ "data-primitives-part": "color-wheel-root",
285
+ "[attr.data-disabled]": "data().disabled",
286
+ "[attr.data-dragging]": "data().dragging",
287
+ "[style.position]": "'relative'",
288
+ "[style.inline-size]": "size()",
289
+ "[style.block-size]": "size()",
290
+ "[style.touch-action]": "'none'",
291
+ "[style.--color-wheel-outer-radius]": "outerRadius() + 'px'",
292
+ "[style.--color-wheel-inner-radius]": "innerRadius() + 'px'",
293
+ "(pointerdown)": "onPointerDown($event)"
294
+ }
295
+ }]
296
+ }],
297
+ ctorParameters: () => [],
298
+ propDecorators: {
299
+ value: [{
300
+ type: i0.Input,
301
+ args: [{
302
+ isSignal: true,
303
+ alias: "value",
304
+ required: false
305
+ }]
306
+ }],
307
+ valueChange: [{
308
+ type: i0.Output,
309
+ args: ["valueChange"]
310
+ }],
311
+ defaultValue: [{
312
+ type: i0.Input,
313
+ args: [{
314
+ isSignal: true,
315
+ alias: "defaultValue",
316
+ required: false
317
+ }]
318
+ }],
319
+ valueChangeDetails: [{
320
+ type: i0.Output,
321
+ args: ["valueChangeDetails"]
322
+ }],
323
+ valueCommit: [{
324
+ type: i0.Output,
325
+ args: ["valueCommit"]
326
+ }],
327
+ colorSpace: [{
328
+ type: i0.Input,
329
+ args: [{
330
+ isSignal: true,
331
+ alias: "colorSpace",
332
+ required: false
333
+ }]
334
+ }],
335
+ outerRadius: [{
336
+ type: i0.Input,
337
+ args: [{
338
+ isSignal: true,
339
+ alias: "outerRadius",
340
+ required: false
341
+ }]
342
+ }],
343
+ innerRadius: [{
344
+ type: i0.Input,
345
+ args: [{
346
+ isSignal: true,
347
+ alias: "innerRadius",
348
+ required: false
349
+ }]
350
+ }],
351
+ disabled: [{
352
+ type: i0.Input,
353
+ args: [{
354
+ isSignal: true,
355
+ alias: "disabled",
356
+ required: false
357
+ }]
358
+ }],
359
+ name: [{
360
+ type: i0.Input,
361
+ args: [{
362
+ isSignal: true,
363
+ alias: "name",
364
+ required: false
365
+ }]
366
+ }],
367
+ locale: [{
368
+ type: i0.Input,
369
+ args: [{
370
+ isSignal: true,
371
+ alias: "locale",
372
+ required: false
373
+ }]
374
+ }]
375
+ }
376
+ });
377
+ var ColorWheelThumb = class ColorWheelThumb {
378
+ constructor() {
379
+ this.root = inject(ColorWheelRoot);
380
+ this.state = this.root.state;
381
+ this.host = injectHost();
382
+ this.flush = injectFlush();
383
+ this.data = computed(() => {
384
+ const state = this.state();
385
+ return dataValues({
386
+ disabled: state.disabled,
387
+ dragging: state.dragging
388
+ });
389
+ }, ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
390
+ this.thumbColor = computed(() => formatColor(setColorChannel(this.root.color(), "alpha", 1)), ...ngDevMode ? [{ debugName: "thumbColor" }] : /* istanbul ignore next */ []);
391
+ this.style = computed(() => {
392
+ const root = this.root;
393
+ const offset = colorWheelThumbOffset(root.hue(), (root.innerRadius() + root.outerRadius()) / 2);
394
+ return {
395
+ position: "absolute",
396
+ left: `calc(50% + ${offset.x}px)`,
397
+ top: `calc(50% + ${offset.y}px)`,
398
+ translate: "-50% -50%"
399
+ };
400
+ }, ...ngDevMode ? [{ debugName: "style" }] : /* istanbul ignore next */ []);
401
+ const root = this.root;
402
+ root.thumb.set(this.host);
403
+ inject(DestroyRef).onDestroy(() => {
404
+ if (untracked(root.thumb) === this.host) root.thumb.set(null);
405
+ });
406
+ }
407
+ onKeyDown(event) {
408
+ const root = this.root;
409
+ if (root.isDisabled()) return;
410
+ const target = colorWheelKeyTarget(event.key, event.shiftKey, root.hue());
411
+ if (target === null) return;
412
+ event.preventDefault();
413
+ root.commit(root.setHue(target, "keyboard"));
414
+ this.flush();
415
+ }
416
+ static {
417
+ this.ɵfac = i0.ɵɵngDeclareFactory({
418
+ minVersion: "12.0.0",
419
+ version: "22.2.6",
420
+ ngImport: i0,
421
+ type: ColorWheelThumb,
422
+ deps: [],
423
+ target: i0.ɵɵFactoryTarget.Directive
424
+ });
425
+ }
426
+ static {
427
+ this.ɵdir = i0.ɵɵngDeclareDirective({
428
+ minVersion: "14.0.0",
429
+ version: "22.2.6",
430
+ type: ColorWheelThumb,
431
+ isStandalone: true,
432
+ selector: "[colorWheelThumb]",
433
+ host: {
434
+ attributes: {
435
+ "role": "slider",
436
+ "data-primitives-part": "color-wheel-thumb",
437
+ "aria-valuemin": "0",
438
+ "aria-valuemax": "360"
439
+ },
440
+ listeners: { "keydown": "onKeyDown($event)" },
441
+ properties: {
442
+ "attr.tabindex": "state().disabled ? null : 0",
443
+ "attr.aria-valuenow": "state().hue",
444
+ "attr.aria-valuetext": "root.valueText()",
445
+ "attr.aria-disabled": "state().disabled ? 'true' : null",
446
+ "attr.data-disabled": "data().disabled",
447
+ "attr.data-dragging": "data().dragging",
448
+ "style": "style()",
449
+ "style.--color-wheel-thumb-color": "thumbColor()"
450
+ }
451
+ },
452
+ exportAs: ["colorWheelThumb"],
453
+ ngImport: i0
454
+ });
455
+ }
456
+ };
457
+ i0.ɵɵngDeclareClassMetadata({
458
+ minVersion: "12.0.0",
459
+ version: "22.2.6",
460
+ ngImport: i0,
461
+ type: ColorWheelThumb,
462
+ decorators: [{
463
+ type: Directive,
464
+ args: [{
465
+ selector: "[colorWheelThumb]",
466
+ exportAs: "colorWheelThumb",
467
+ host: {
468
+ role: "slider",
469
+ "data-primitives-part": "color-wheel-thumb",
470
+ "[attr.tabindex]": "state().disabled ? null : 0",
471
+ "[attr.aria-valuenow]": "state().hue",
472
+ "aria-valuemin": "0",
473
+ "aria-valuemax": "360",
474
+ "[attr.aria-valuetext]": "root.valueText()",
475
+ "[attr.aria-disabled]": "state().disabled ? 'true' : null",
476
+ "[attr.data-disabled]": "data().disabled",
477
+ "[attr.data-dragging]": "data().dragging",
478
+ "[style]": "style()",
479
+ "[style.--color-wheel-thumb-color]": "thumbColor()",
480
+ "(keydown)": "onKeyDown($event)"
481
+ }
482
+ }]
483
+ }],
484
+ ctorParameters: () => []
485
+ });
486
+ const GRADIENT = colorWheelGradient();
487
+ var ColorWheelTrack = class ColorWheelTrack {
488
+ constructor() {
489
+ this.state = inject(ColorWheelRoot).state;
490
+ this.gradient = GRADIENT;
491
+ this.data = computed(() => {
492
+ const state = this.state();
493
+ return dataValues({
494
+ disabled: state.disabled,
495
+ dragging: state.dragging
496
+ });
497
+ }, ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
498
+ }
499
+ static {
500
+ this.ɵfac = i0.ɵɵngDeclareFactory({
501
+ minVersion: "12.0.0",
502
+ version: "22.2.6",
503
+ ngImport: i0,
504
+ type: ColorWheelTrack,
505
+ deps: [],
506
+ target: i0.ɵɵFactoryTarget.Directive
507
+ });
508
+ }
509
+ static {
510
+ this.ɵdir = i0.ɵɵngDeclareDirective({
511
+ minVersion: "14.0.0",
512
+ version: "22.2.6",
513
+ type: ColorWheelTrack,
514
+ isStandalone: true,
515
+ selector: "[colorWheelTrack]",
516
+ host: {
517
+ attributes: { "data-primitives-part": "color-wheel-track" },
518
+ properties: {
519
+ "attr.data-disabled": "data().disabled",
520
+ "attr.data-dragging": "data().dragging",
521
+ "style.position": "'absolute'",
522
+ "style.inset": "'0'",
523
+ "style.--color-wheel-track-background": "gradient"
524
+ }
525
+ },
526
+ exportAs: ["colorWheelTrack"],
527
+ ngImport: i0
528
+ });
529
+ }
530
+ };
531
+ i0.ɵɵngDeclareClassMetadata({
532
+ minVersion: "12.0.0",
533
+ version: "22.2.6",
534
+ ngImport: i0,
535
+ type: ColorWheelTrack,
536
+ decorators: [{
537
+ type: Directive,
538
+ args: [{
539
+ selector: "[colorWheelTrack]",
540
+ exportAs: "colorWheelTrack",
541
+ host: {
542
+ "data-primitives-part": "color-wheel-track",
543
+ "[attr.data-disabled]": "data().disabled",
544
+ "[attr.data-dragging]": "data().dragging",
545
+ "[style.position]": "'absolute'",
546
+ "[style.inset]": "'0'",
547
+ "[style.--color-wheel-track-background]": "gradient"
548
+ }
549
+ }]
550
+ }]
551
+ });
552
+ export { ColorWheelRoot, ColorWheelThumb, ColorWheelTrack };
553
+
554
+ //# sourceMappingURL=fragiola-primitives-angular-color-wheel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fragiola-primitives-angular-color-wheel.mjs","names":[],"sources":["../../color-wheel/directives/color-wheel-root.directive.ts","../../color-wheel/directives/color-wheel-thumb.directive.ts","../../color-wheel/directives/color-wheel-track.directive.ts"],"sourcesContent":["import {\n afterNextRender,\n booleanAttribute,\n computed,\n DestroyRef,\n Directive,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n PLATFORM_ID,\n signal,\n untracked,\n} from \"@angular/core\";\nimport {\n type Color,\n colorSpaceFor,\n convertColor,\n formatColor,\n formatColorChannel,\n getColorChannel,\n hueAtPoint,\n isOnColorWheel,\n isSameColor,\n parseColor,\n setColorChannel,\n wrapHue,\n} from \"@fragiola/primitives/color\";\nimport { bridgeForm } from \"@fragiola/primitives/form\";\nimport { startDrag } from \"@fragiola/primitives/pointer\";\nimport {\n type ChangeDetails,\n type ChangeReason,\n controllable,\n dataValues,\n injectColorPickerBinding,\n injectFlush,\n injectHost,\n type ValueChangeEvent,\n} from \"@fragiola/primitives-angular/internal\";\n\n/** The state every color wheel part shares. */\nexport interface ColorWheelState {\n /** The value, in the wheel's space. */\n color: Color;\n hue: number;\n disabled: boolean;\n dragging: boolean;\n}\n\nconst RED: Color = {\n space: \"hsl\",\n hue: 0,\n saturation: 100,\n lightness: 50,\n alpha: 1,\n};\n\n/** A `Color`, or a string `parseColor` reads (the default when it reads none). */\nfunction toColor(value: Color | string): Color {\n return parseColor(value) ?? RED;\n}\n\n/**\n * Holds a color wheel's value: the interactive square around the ring, and the hidden input with\n * the color as hex at its end (spec/color-wheel.md, the APG slider on a ring):\n * `<div colorWheelRoot [(value)]=\"color\" name=\"color\">` around its Track and Thumb.\n */\n@Directive({\n selector: \"[colorWheelRoot]\",\n exportAs: \"colorWheelRoot\",\n host: {\n \"data-primitives-part\": \"color-wheel-root\",\n \"[attr.data-disabled]\": \"data().disabled\",\n \"[attr.data-dragging]\": \"data().dragging\",\n // structural: the square around the ring, no page scroll under a touch drag, the radii a\n // recipe's ring mask reads\n \"[style.position]\": \"'relative'\",\n \"[style.inline-size]\": \"size()\",\n \"[style.block-size]\": \"size()\",\n \"[style.touch-action]\": \"'none'\",\n \"[style.--color-wheel-outer-radius]\": \"outerRadius() + 'px'\",\n \"[style.--color-wheel-inner-radius]\": \"innerRadius() + 'px'\",\n \"(pointerdown)\": \"onPointerDown($event)\",\n },\n})\nexport class ColorWheelRoot {\n /** A `Color`, or a string `parseColor` reads; bound, the wheel is controlled. */\n readonly value = input<Color | string | undefined>(undefined);\n readonly valueChange = output<Color>();\n readonly defaultValue = input<Color | string | undefined>(undefined);\n readonly valueChangeDetails = output<ValueChangeEvent<Color>>();\n /** When a drag ends, or after a key changed the value. */\n readonly valueCommit = output<Color>();\n /** The space of the hue (default: the value's, else hsb). */\n readonly colorSpace = input<\"hsl\" | \"hsb\" | undefined>(undefined);\n /** The ring's outer radius, in px (default 100). */\n readonly outerRadius = input(100, { transform: numberAttribute });\n /** The ring's inner radius, in px (default 75). */\n readonly innerRadius = input(75, { transform: numberAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly name = input<string | undefined>(undefined);\n /** The locale of the hue's text (BCP 47; default: the runtime's). */\n readonly locale = input<string | undefined>(undefined);\n\n private readonly host = injectHost();\n private readonly flush = injectFlush();\n private readonly own = controllable<Color, ChangeDetails>(\n computed(() => {\n const value = this.value();\n return value === undefined ? undefined : toColor(value);\n }),\n this.valueChange,\n () => toColor(this.defaultValue() ?? RED),\n (value, details) => this.valueChangeDetails.emit({ value, details }),\n );\n\n /** The enclosing ColorPicker's binding (spec/color-picker.md, \"Sharing the color\"). */\n private readonly picker = injectColorPickerBinding();\n /** Bound to the picker's color: inside one, with neither `value` nor `defaultValue`. */\n private readonly bound = computed(() =>\n this.picker !== null &&\n this.value() === undefined &&\n this.defaultValue() === undefined\n ? this.picker\n : null,\n );\n /** The value: the picker's when bound, else its own. */\n private readonly current = {\n value: computed(() => {\n const bound = this.bound();\n return bound === null ? this.own.value() : bound.value();\n }),\n set: (next: Color, details: ChangeDetails) => {\n const bound = untracked(this.bound);\n if (bound === null) {\n this.own.set(next, details);\n return;\n }\n this.valueChange.emit(next);\n this.valueChangeDetails.emit({ value: next, details });\n bound.setValue(next, details);\n },\n };\n /** The value, in the wheel's space (hsl or hsb). */\n readonly color = computed(() => {\n const current = this.current.value();\n return convertColor(\n current,\n colorSpaceFor(\"hue\", current, this.colorSpace()),\n );\n });\n readonly hue = computed(() => getColorChannel(this.color(), \"hue\"));\n private readonly hex = computed(() => formatColor(this.color(), \"hex\"));\n /** The hue's text (`Intl`, spec/color.md): the Thumb's `aria-valuetext`. */\n readonly valueText = computed(() =>\n formatColorChannel(this.color(), \"hue\", this.locale(), this.hue()),\n );\n readonly dragging = signal(false);\n /** The Thumb, while one is rendered. */\n readonly thumb = signal<HTMLElement | null>(null);\n readonly isDisabled = computed(\n () => this.disabled() || (this.picker?.disabled() ?? false),\n );\n protected readonly size = computed(() => `${this.outerRadius() * 2}px`);\n readonly state = computed<ColorWheelState>(() => ({\n color: this.color(),\n hue: this.hue(),\n disabled: this.isDisabled(),\n dragging: this.dragging(),\n }));\n protected readonly data = computed(() => {\n const state = this.state();\n return dataValues({\n disabled: state.disabled,\n dragging: state.dragging,\n });\n });\n /** The hidden input, once created (in the browser). */\n private hidden: HTMLInputElement | null = null;\n private endDrag: (() => void) | null = null;\n\n constructor() {\n const host = this.host;\n // the `type=\"hidden\"` input with the color as hex, after the consumer's children (as React\n // renders it); in the browser only (a server's would be a second one once hydrated)\n const browser = inject(PLATFORM_ID) === \"browser\";\n effect(() => {\n if (!browser) {\n return;\n }\n const hex = this.hex();\n const name = this.bound() === null ? this.name() : undefined;\n untracked(() => {\n if (this.hidden === null) {\n const element = host.ownerDocument.createElement(\"input\");\n element.type = \"hidden\";\n element.setAttribute(\n \"data-primitives-part\",\n \"color-wheel-input\",\n );\n host.appendChild(element);\n this.hidden = element;\n }\n const hidden = this.hidden;\n if (name === undefined) {\n hidden.removeAttribute(\"name\");\n } else {\n hidden.name = name;\n }\n hidden.value = hex;\n });\n });\n // a form reset returns the wheel to its default (spec/color-wheel.md, \"Forms\")\n let stop: (() => void) | null = null;\n afterNextRender(() => {\n const hidden = this.hidden;\n if (hidden !== null) {\n stop = bridgeForm(hidden, {\n reset: () => {\n // a bound control is reset by its picker\n if (untracked(this.bound) !== null) {\n return;\n }\n const next = toColor(\n untracked(this.defaultValue) ?? RED,\n );\n if (!isSameColor(next, untracked(this.current.value))) {\n this.current.set(next, { reason: \"none\" });\n }\n },\n });\n }\n });\n inject(DestroyRef).onDestroy(() => {\n stop?.();\n this.endDrag?.();\n this.hidden?.remove();\n });\n }\n\n /** Sets the hue (wrapped into [0, 360), snapped), reports it, returns the color. */\n setHue(hue: number, reason: ChangeReason): Color {\n const before = untracked(this.color);\n const wrapped = wrapHue(hue);\n if (wrapped === getColorChannel(before, \"hue\")) {\n return before;\n }\n const changed = setColorChannel(before, \"hue\", wrapped);\n this.current.set(changed, { reason });\n return changed;\n }\n\n /** Reports the color (default: the current one) as committed. */\n commit(color?: Color): void {\n const committed = color ?? untracked(this.color);\n this.valueCommit.emit(committed);\n untracked(this.bound)?.commit(committed, { reason: \"none\" });\n }\n\n protected onPointerDown(event: PointerEvent): void {\n if (\n untracked(this.isDisabled) ||\n (event.pointerType === \"mouse\" && event.button !== 0)\n ) {\n return;\n }\n const host = this.host;\n const point = { x: event.clientX, y: event.clientY };\n const box = host.getBoundingClientRect();\n // a press off the ring does nothing (spec/color-wheel.md, \"Pointer\")\n if (\n !isOnColorWheel(\n box,\n point,\n untracked(this.innerRadius),\n untracked(this.outerRadius),\n )\n ) {\n return;\n }\n event.preventDefault();\n this.setHue(hueAtPoint(box, point), \"track-press\");\n untracked(this.thumb)?.focus();\n this.dragging.set(true);\n this.flush();\n this.endDrag?.();\n this.endDrag = startDrag(host, event, {\n onMove: (move) => {\n this.setHue(\n hueAtPoint(host.getBoundingClientRect(), {\n x: move.clientX,\n y: move.clientY,\n }),\n \"drag\",\n );\n this.flush();\n },\n onEnd: () => {\n this.endDrag = null;\n this.dragging.set(false);\n this.commit();\n this.flush();\n },\n });\n }\n}\n","import {\n computed,\n DestroyRef,\n Directive,\n inject,\n untracked,\n} from \"@angular/core\";\nimport {\n colorWheelKeyTarget,\n colorWheelThumbOffset,\n formatColor,\n setColorChannel,\n} from \"@fragiola/primitives/color\";\nimport {\n dataValues,\n injectFlush,\n injectHost,\n} from \"@fragiola/primitives-angular/internal\";\nimport { ColorWheelRoot } from \"./color-wheel-root.directive.ts\";\n\n/**\n * The `slider`: the hue, on the ring's middle circle (spec/color-wheel.md):\n * `<div colorWheelThumb aria-label=\"Hue\">`.\n */\n@Directive({\n selector: \"[colorWheelThumb]\",\n exportAs: \"colorWheelThumb\",\n host: {\n role: \"slider\",\n \"data-primitives-part\": \"color-wheel-thumb\",\n \"[attr.tabindex]\": \"state().disabled ? null : 0\",\n \"[attr.aria-valuenow]\": \"state().hue\",\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"360\",\n \"[attr.aria-valuetext]\": \"root.valueText()\",\n \"[attr.aria-disabled]\": \"state().disabled ? 'true' : null\",\n \"[attr.data-disabled]\": \"data().disabled\",\n \"[attr.data-dragging]\": \"data().dragging\",\n // structural: its centre on the hue's point of the ring, and its color for the recipe\n \"[style]\": \"style()\",\n \"[style.--color-wheel-thumb-color]\": \"thumbColor()\",\n \"(keydown)\": \"onKeyDown($event)\",\n },\n})\nexport class ColorWheelThumb {\n protected readonly root = inject(ColorWheelRoot);\n readonly state = this.root.state;\n private readonly host = injectHost();\n private readonly flush = injectFlush();\n protected readonly data = computed(() => {\n const state = this.state();\n return dataValues({\n disabled: state.disabled,\n dragging: state.dragging,\n });\n });\n protected readonly thumbColor = computed(() =>\n formatColor(setColorChannel(this.root.color(), \"alpha\", 1)),\n );\n protected readonly style = computed(() => {\n const root = this.root;\n const offset = colorWheelThumbOffset(\n root.hue(),\n (root.innerRadius() + root.outerRadius()) / 2,\n );\n return {\n position: \"absolute\",\n left: `calc(50% + ${offset.x}px)`,\n top: `calc(50% + ${offset.y}px)`,\n translate: \"-50% -50%\",\n };\n });\n\n constructor() {\n const root = this.root;\n root.thumb.set(this.host);\n inject(DestroyRef).onDestroy(() => {\n if (untracked(root.thumb) === this.host) {\n root.thumb.set(null);\n }\n });\n }\n\n protected onKeyDown(event: KeyboardEvent): void {\n const root = this.root;\n if (root.isDisabled()) {\n return;\n }\n const target = colorWheelKeyTarget(\n event.key,\n event.shiftKey,\n root.hue(),\n );\n if (target === null) {\n return;\n }\n event.preventDefault();\n root.commit(root.setHue(target, \"keyboard\"));\n // the new value before the next key\n this.flush();\n }\n}\n","import { computed, Directive, inject } from \"@angular/core\";\nimport { colorWheelGradient } from \"@fragiola/primitives/color\";\nimport { dataValues } from \"@fragiola/primitives-angular/internal\";\nimport { ColorWheelRoot } from \"./color-wheel-root.directive.ts\";\n\nconst GRADIENT = colorWheelGradient();\n\n/** The ring: its conic gradient, for the recipe to draw (spec/color-wheel.md): `<div colorWheelTrack>`. */\n@Directive({\n selector: \"[colorWheelTrack]\",\n exportAs: \"colorWheelTrack\",\n host: {\n \"data-primitives-part\": \"color-wheel-track\",\n \"[attr.data-disabled]\": \"data().disabled\",\n \"[attr.data-dragging]\": \"data().dragging\",\n // structural: the Root's box, and the gradient a recipe draws\n \"[style.position]\": \"'absolute'\",\n \"[style.inset]\": \"'0'\",\n \"[style.--color-wheel-track-background]\": \"gradient\",\n },\n})\nexport class ColorWheelTrack {\n readonly state = inject(ColorWheelRoot).state;\n protected readonly gradient = GRADIENT;\n protected readonly data = computed(() => {\n const state = this.state();\n return dataValues({\n disabled: state.disabled,\n dragging: state.dragging,\n });\n });\n}\n"],"mappings":";;;;;;AAmDA,MAAM,MAAa;CACf,OAAO;CACP,KAAK;CACL,YAAY;CACZ,WAAW;CACX,OAAO;AACV;AAGD,SAAS,QAAQ,OAAqB;CAClC,OAAO,WAAW,KAAK,KAAK;AAChC;AAyBA,IAAa,iBAAb,MAAa,eAAc;CAgGvB,cAAA;EA9FS,KAAA,QAAQ,MAAkC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EACpD,KAAA,cAAc,OAAM;EACpB,KAAA,eAAe,MAAkC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;EAC3D,KAAA,qBAAqB,OAAM;EAE3B,KAAA,cAAc,OAAM;EAEpB,KAAA,aAAa,MAAiC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;EAExD,KAAA,cAAc,MAAM,KAAG;GAAA,GAAA,YAAA,EAAA,WAAA,cAAA,+BAAA,CAAA;GAAI,WAAW;EAAe,CAAA;EAErD,KAAA,cAAc,MAAM,IAAE;GAAA,GAAA,YAAA,EAAA,WAAA,cAAA,+BAAA,CAAA;GAAI,WAAW;EAAe,CAAA;EACpD,KAAA,WAAW,MAAM,OA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