@daffodil/design 0.78.0 → 0.80.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 (386) hide show
  1. package/accordion/accordion.module.d.ts +3 -1
  2. package/accordion/src/accordion-theme.scss +4 -4
  3. package/article/README.md +5 -6
  4. package/article/article.module.d.ts +3 -1
  5. package/article/src/article-theme.scss +8 -8
  6. package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
  7. package/breadcrumb/breadcrumb.module.d.ts +3 -1
  8. package/breadcrumb/src/breadcrumb-theme.scss +3 -3
  9. package/button/README.md +3 -3
  10. package/button/button/basic/button.component.d.ts +28 -0
  11. package/button/button/button-base.directive.d.ts +51 -0
  12. package/button/button/flat/flat.component.d.ts +28 -0
  13. package/button/button/icon/icon.component.d.ts +24 -0
  14. package/button/button/raised/raised.component.d.ts +28 -0
  15. package/button/button/stroked/stroked.component.d.ts +28 -0
  16. package/button/button/underline/underline.component.d.ts +28 -0
  17. package/button/button.d.ts +7 -2
  18. package/button/button.module.d.ts +11 -4
  19. package/button/public_api.d.ts +6 -1
  20. package/button/src/button/basic/button-theme.scss +145 -0
  21. package/button/src/button/button-base.scss +79 -0
  22. package/button/src/button/flat/flat-theme.scss +142 -0
  23. package/button/src/button/icon/icon-theme.scss +140 -0
  24. package/button/src/button/raised/raised-theme.scss +107 -0
  25. package/button/src/button/stroked/stroked-theme.scss +155 -0
  26. package/button/src/button/underline/underline-theme.scss +89 -0
  27. package/callout/callout.module.d.ts +3 -1
  28. package/callout/src/callout-theme.scss +11 -17
  29. package/card/card.module.d.ts +1 -1
  30. package/card/src/card-theme-variants/linkable-card.scss +1 -1
  31. package/card/src/card-theme.scss +9 -9
  32. package/container/container.module.d.ts +1 -1
  33. package/core/public_api.d.ts +1 -0
  34. package/core/selectable/public_api.d.ts +2 -0
  35. package/core/selectable/selectable.d.ts +7 -0
  36. package/core/selectable/selectable.directive.d.ts +17 -0
  37. package/core/statusable/statusable.d.ts +5 -3
  38. package/core/statusable/statusable.directive.d.ts +6 -4
  39. package/esm2022/accordion/accordion/animation/accordion-animation.mjs +1 -4
  40. package/esm2022/accordion/accordion.module.mjs +4 -2
  41. package/esm2022/article/article.module.mjs +4 -2
  42. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +2 -2
  43. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +2 -2
  44. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +2 -2
  45. package/esm2022/atoms/form/radio/radio.component.mjs +2 -2
  46. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +2 -2
  47. package/esm2022/breadcrumb/breadcrumb.module.mjs +4 -2
  48. package/esm2022/button/button/basic/button.component.mjs +48 -0
  49. package/esm2022/button/button/button-base.directive.mjs +105 -0
  50. package/esm2022/button/button/flat/flat.component.mjs +48 -0
  51. package/esm2022/button/button/icon/icon.component.mjs +44 -0
  52. package/esm2022/button/button/raised/raised.component.mjs +48 -0
  53. package/esm2022/button/button/stroked/stroked.component.mjs +48 -0
  54. package/esm2022/button/button/underline/underline.component.mjs +48 -0
  55. package/esm2022/button/button.mjs +12 -2
  56. package/esm2022/button/button.module.mjs +37 -5
  57. package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -6
  58. package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -6
  59. package/esm2022/button/examples/icon-button/icon-button.component.mjs +4 -6
  60. package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -6
  61. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +2 -2
  62. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +3 -3
  63. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -6
  64. package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -6
  65. package/esm2022/button/public_api.mjs +7 -2
  66. package/esm2022/callout/callout.module.mjs +4 -2
  67. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +5 -7
  68. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +5 -7
  69. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +5 -6
  70. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +4 -6
  71. package/esm2022/card/card.module.mjs +2 -2
  72. package/esm2022/card/examples/basic-card/basic-card.component.mjs +4 -6
  73. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +5 -7
  74. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -5
  75. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -5
  76. package/esm2022/container/container/container.component.mjs +2 -2
  77. package/esm2022/container/container.module.mjs +2 -2
  78. package/esm2022/core/public_api.mjs +2 -1
  79. package/esm2022/core/selectable/public_api.mjs +2 -0
  80. package/esm2022/core/selectable/selectable.directive.mjs +41 -0
  81. package/esm2022/core/selectable/selectable.mjs +2 -0
  82. package/esm2022/core/statusable/statusable.directive.mjs +7 -5
  83. package/esm2022/core/statusable/statusable.mjs +3 -2
  84. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +4 -6
  85. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +5 -7
  86. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +5 -7
  87. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +4 -6
  88. package/esm2022/hero/hero.module.mjs +2 -2
  89. package/esm2022/image/image.module.mjs +2 -2
  90. package/esm2022/link-set/link-set.module.mjs +2 -2
  91. package/esm2022/list/examples/basic-list/basic-list.component.mjs +1 -1
  92. package/esm2022/list/examples/icon-list/icon-list.component.mjs +2 -2
  93. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +1 -1
  94. package/esm2022/list/examples/nav-list/nav-list.component.mjs +2 -2
  95. package/esm2022/list/list/list.component.mjs +2 -2
  96. package/esm2022/list/list-item/list-item.component.mjs +10 -3
  97. package/esm2022/list/list.module.mjs +2 -2
  98. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  99. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +2 -2
  100. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +5 -20
  101. package/esm2022/loading-icon/loading-icon.module.mjs +2 -2
  102. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +1 -1
  103. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +1 -1
  104. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +1 -1
  105. package/esm2022/media-gallery/helpers/media-gallery-token.mjs +7 -3
  106. package/esm2022/media-gallery/media-gallery.module.mjs +2 -2
  107. package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +8 -3
  108. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +26 -39
  109. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -7
  110. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +4 -6
  111. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +4 -6
  112. package/esm2022/modal/modal-header/modal-header.component.mjs +4 -6
  113. package/esm2022/modal/modal.module.mjs +2 -2
  114. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +4 -6
  115. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +4 -6
  116. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +5 -7
  117. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +4 -6
  118. package/esm2022/navbar/navbar.module.mjs +2 -2
  119. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +1 -3
  120. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +1 -3
  121. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +3 -5
  122. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +4 -5
  123. package/esm2022/notification/notification/notification.component.mjs +3 -3
  124. package/esm2022/notification/notification.module.mjs +2 -2
  125. package/esm2022/paginator/paginator.module.mjs +2 -2
  126. package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
  127. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +5 -6
  128. package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +9 -3
  129. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
  130. package/esm2022/sidebar/sidebar.module.mjs +2 -2
  131. package/esm2022/switch/daffodil-design-switch.mjs +5 -0
  132. package/esm2022/switch/examples/basic-switch/basic-switch.component.mjs +23 -0
  133. package/esm2022/switch/examples/daffodil-design-switch-examples.mjs +5 -0
  134. package/esm2022/switch/examples/disabled-switch/disabled-switch.component.mjs +20 -0
  135. package/esm2022/switch/examples/examples.mjs +13 -0
  136. package/esm2022/switch/examples/index.mjs +2 -0
  137. package/esm2022/switch/examples/loading-switch/loading-switch.component.mjs +20 -0
  138. package/esm2022/switch/examples/public_api.mjs +7 -0
  139. package/esm2022/switch/examples/switch-error/switch-error.component.mjs +22 -0
  140. package/esm2022/switch/examples/switch-label-positions/switch-label-positions.component.mjs +31 -0
  141. package/esm2022/switch/index.mjs +2 -0
  142. package/esm2022/switch/public_api.mjs +3 -0
  143. package/esm2022/switch/switch/label-position.mjs +11 -0
  144. package/esm2022/switch/switch/switch.component.mjs +126 -0
  145. package/esm2022/switch/switch.mjs +7 -0
  146. package/esm2022/tabs/daffodil-design-tabs.mjs +5 -0
  147. package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +22 -0
  148. package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +34 -0
  149. package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +5 -0
  150. package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +22 -0
  151. package/esm2022/tabs/examples/index.mjs +2 -0
  152. package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +22 -0
  153. package/esm2022/tabs/examples/public_api.mjs +11 -0
  154. package/esm2022/tabs/index.mjs +2 -0
  155. package/esm2022/tabs/public_api.mjs +6 -0
  156. package/esm2022/tabs/tabs/tab/tab.component.mjs +86 -0
  157. package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +84 -0
  158. package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +33 -0
  159. package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +68 -0
  160. package/esm2022/tabs/tabs/tabs.component.mjs +157 -0
  161. package/esm2022/tabs/tabs.mjs +13 -0
  162. package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +5 -0
  163. package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +14 -0
  164. package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +5 -0
  165. package/esm2022/text-snippet/examples/index.mjs +2 -0
  166. package/esm2022/text-snippet/examples/public_api.mjs +5 -0
  167. package/esm2022/text-snippet/index.mjs +2 -0
  168. package/esm2022/text-snippet/public_api.mjs +2 -0
  169. package/esm2022/text-snippet/text-snippet.component.mjs +46 -0
  170. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -6
  171. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +4 -6
  172. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +8 -10
  173. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -6
  174. package/esm2022/toast/options/daff-toast-options.mjs +7 -7
  175. package/esm2022/toast/toast/toast-provider.mjs +2 -2
  176. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  177. package/esm2022/toast/toast/toast.component.mjs +3 -3
  178. package/esm2022/toast/toast.module.mjs +2 -2
  179. package/esm2022/tree/tree.module.mjs +2 -2
  180. package/fesm2022/daffodil-design-accordion.mjs +3 -4
  181. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  182. package/fesm2022/daffodil-design-article.mjs +3 -1
  183. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  184. package/fesm2022/daffodil-design-breadcrumb.mjs +3 -1
  185. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  186. package/fesm2022/daffodil-design-button-examples.mjs +16 -16
  187. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  188. package/fesm2022/daffodil-design-button.mjs +308 -132
  189. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  190. package/fesm2022/daffodil-design-callout-examples.mjs +12 -13
  191. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  192. package/fesm2022/daffodil-design-callout.mjs +3 -1
  193. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  194. package/fesm2022/daffodil-design-card-examples.mjs +10 -12
  195. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  196. package/fesm2022/daffodil-design-card.mjs +1 -1
  197. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  198. package/fesm2022/daffodil-design-checkbox-examples.mjs +5 -6
  199. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  200. package/fesm2022/daffodil-design-container.mjs +3 -3
  201. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  202. package/fesm2022/daffodil-design-hero-examples.mjs +11 -13
  203. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  204. package/fesm2022/daffodil-design-hero.mjs +1 -1
  205. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  206. package/fesm2022/daffodil-design-image.mjs +1 -1
  207. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  208. package/fesm2022/daffodil-design-link-set.mjs +1 -1
  209. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  210. package/fesm2022/daffodil-design-list-examples.mjs +4 -4
  211. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  212. package/fesm2022/daffodil-design-list.mjs +12 -5
  213. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  214. package/fesm2022/daffodil-design-loading-icon-examples.mjs +1 -13
  215. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  216. package/fesm2022/daffodil-design-loading-icon.mjs +5 -20
  217. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  218. package/fesm2022/daffodil-design-media-gallery-examples.mjs +3 -3
  219. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  220. package/fesm2022/daffodil-design-media-gallery.mjs +37 -42
  221. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  222. package/fesm2022/daffodil-design-menu-examples.mjs +3 -5
  223. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  224. package/fesm2022/daffodil-design-modal-examples.mjs +5 -7
  225. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  226. package/fesm2022/daffodil-design-modal.mjs +4 -5
  227. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  228. package/fesm2022/daffodil-design-navbar-examples.mjs +11 -13
  229. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  230. package/fesm2022/daffodil-design-navbar.mjs +1 -1
  231. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  232. package/fesm2022/daffodil-design-notification-examples.mjs +5 -9
  233. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  234. package/fesm2022/daffodil-design-notification.mjs +3 -3
  235. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  236. package/fesm2022/daffodil-design-paginator.mjs +1 -1
  237. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  238. package/fesm2022/daffodil-design-progress-bar.mjs +1 -1
  239. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  240. package/fesm2022/daffodil-design-sidebar-examples.mjs +4 -5
  241. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  242. package/fesm2022/daffodil-design-sidebar.mjs +11 -5
  243. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  244. package/fesm2022/daffodil-design-switch-examples.mjs +109 -0
  245. package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -0
  246. package/fesm2022/daffodil-design-switch.mjs +148 -0
  247. package/fesm2022/daffodil-design-switch.mjs.map +1 -0
  248. package/fesm2022/daffodil-design-tabs-examples.mjs +93 -0
  249. package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -0
  250. package/fesm2022/daffodil-design-tabs.mjs +428 -0
  251. package/fesm2022/daffodil-design-tabs.mjs.map +1 -0
  252. package/fesm2022/daffodil-design-text-snippet-examples.mjs +25 -0
  253. package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -0
  254. package/fesm2022/daffodil-design-text-snippet.mjs +53 -0
  255. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -0
  256. package/fesm2022/daffodil-design-toast-examples.mjs +13 -15
  257. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  258. package/fesm2022/daffodil-design-toast.mjs +13 -12
  259. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  260. package/fesm2022/daffodil-design-tree.mjs +1 -1
  261. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  262. package/fesm2022/daffodil-design.mjs +53 -11
  263. package/fesm2022/daffodil-design.mjs.map +1 -1
  264. package/hero/hero.module.d.ts +1 -1
  265. package/hero/src/hero-theme.scss +11 -17
  266. package/image/README.md +4 -1
  267. package/image/image.module.d.ts +1 -1
  268. package/link-set/README.md +1 -1
  269. package/link-set/link-set.module.d.ts +1 -1
  270. package/list/list-item/list-item.component.d.ts +3 -1
  271. package/list/list.module.d.ts +1 -1
  272. package/list/src/list-theme.scss +13 -9
  273. package/loading-icon/README.md +0 -5
  274. package/loading-icon/examples/examples.d.ts +2 -2
  275. package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -9
  276. package/loading-icon/loading-icon.module.d.ts +1 -1
  277. package/loading-icon/src/loading-icon-theme.scss +7 -7
  278. package/media-gallery/README.md +4 -1
  279. package/media-gallery/helpers/media-gallery-token.d.ts +1 -2
  280. package/media-gallery/media-gallery.module.d.ts +1 -1
  281. package/media-gallery/src/media-gallery-theme.scss +3 -3
  282. package/media-gallery/thumbnail/thumbnail-compat.token.d.ts +1 -5
  283. package/media-gallery/thumbnail/thumbnail.directive.d.ts +9 -18
  284. package/menu/src/menu-theme.scss +5 -5
  285. package/modal/modal.module.d.ts +1 -1
  286. package/modal/src/modal-theme.scss +1 -1
  287. package/navbar/navbar.module.d.ts +1 -1
  288. package/navbar/src/navbar-theme.scss +8 -8
  289. package/notification/README.md +2 -2
  290. package/notification/notification/notification.component.d.ts +1 -1
  291. package/notification/notification.module.d.ts +1 -1
  292. package/notification/src/notification-theme.scss +25 -21
  293. package/package.json +1 -1
  294. package/paginator/paginator.module.d.ts +1 -1
  295. package/paginator/src/paginator-theme.scss +11 -10
  296. package/progress-bar/progress-bar.module.d.ts +1 -1
  297. package/progress-bar/src/progress-bar-theme.scss +10 -10
  298. package/scss/accessibility/_index.scss +1 -1
  299. package/scss/core/_index.scss +1 -2
  300. package/scss/core/error/error-to-string.scss +13 -0
  301. package/scss/core/map/map-deep-check/map-deep-check.scss +2 -1
  302. package/scss/core/map/map-deep-get/map-deep-get.scss +1 -0
  303. package/scss/core/map/map-get/map-get.scss +23 -0
  304. package/scss/core/map/map-get/map-get.spec.scss +65 -0
  305. package/scss/core/string/split/string-split.scss +10 -7
  306. package/scss/global.scss +1 -0
  307. package/scss/interactions/_index.scss +1 -1
  308. package/scss/layout/_index.scss +1 -1
  309. package/scss/state/skeleton/_mixins.scss +2 -2
  310. package/scss/theme.scss +15 -1
  311. package/scss/theming/_configure-theme.scss +60 -2
  312. package/scss/theming/_daff-theme.scss +14 -4
  313. package/scss/theming/_index.scss +1 -1
  314. package/scss/theming/_theme-css-variables.scss +15 -13
  315. package/scss/theming/contrast/luminance/luminance.scss +8 -6
  316. package/scss/theming/illuminate/illuminate.scss +20 -17
  317. package/scss/typography/utilities/_index.scss +1 -1
  318. package/scss/typography/utilities/_variables.scss +1 -1
  319. package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +1 -7
  320. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +1 -1
  321. package/sidebar/sidebar.module.d.ts +1 -1
  322. package/sidebar/src/sidebar-theme.scss +3 -3
  323. package/src/atoms/form/form-field/form-field/form-field-theme.scss +6 -6
  324. package/src/atoms/form/input/input-theme.scss +2 -2
  325. package/src/atoms/form/native-select/native-select-theme.scss +3 -3
  326. package/switch/README.md +61 -0
  327. package/switch/examples/basic-switch/basic-switch.component.d.ts +8 -0
  328. package/switch/examples/disabled-switch/disabled-switch.component.d.ts +7 -0
  329. package/switch/examples/examples.d.ts +5 -0
  330. package/switch/examples/index.d.ts +1 -0
  331. package/switch/examples/loading-switch/loading-switch.component.d.ts +7 -0
  332. package/switch/examples/public_api.d.ts +6 -0
  333. package/switch/examples/switch-error/switch-error.component.d.ts +7 -0
  334. package/switch/examples/switch-label-positions/switch-label-positions.component.d.ts +12 -0
  335. package/switch/index.d.ts +1 -0
  336. package/switch/public_api.d.ts +2 -0
  337. package/switch/src/switch-theme.scss +31 -0
  338. package/switch/switch/label-position.d.ts +10 -0
  339. package/switch/switch/switch.component.d.ts +53 -0
  340. package/switch/switch.d.ts +3 -0
  341. package/tabs/README.md +19 -0
  342. package/tabs/examples/basic-tabs/basic-tabs.component.d.ts +6 -0
  343. package/tabs/examples/custom-select-tabs/custom-select-tabs.component.d.ts +11 -0
  344. package/tabs/examples/disabled-tabs/disabled-tabs.component.d.ts +6 -0
  345. package/tabs/examples/index.d.ts +1 -0
  346. package/tabs/examples/initially-select-tab/initially-select-tab.component.d.ts +6 -0
  347. package/tabs/examples/public_api.d.ts +2 -0
  348. package/tabs/index.d.ts +1 -0
  349. package/tabs/public_api.d.ts +5 -0
  350. package/tabs/src/tabs-theme.scss +22 -0
  351. package/tabs/tabs/tab/tab.component.d.ts +57 -0
  352. package/tabs/tabs/tab-activator/tab-activator.component.d.ts +38 -0
  353. package/tabs/tabs/tab-label/tab-label.component.d.ts +19 -0
  354. package/tabs/tabs/tab-panel/tab-panel.component.d.ts +38 -0
  355. package/tabs/tabs/tabs.component.d.ts +103 -0
  356. package/tabs/tabs.d.ts +6 -0
  357. package/text-snippet/README.md +2 -0
  358. package/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.d.ts +5 -0
  359. package/text-snippet/examples/index.d.ts +1 -0
  360. package/text-snippet/examples/public_api.d.ts +2 -0
  361. package/text-snippet/index.d.ts +1 -0
  362. package/text-snippet/public_api.d.ts +1 -0
  363. package/text-snippet/text-snippet.component.d.ts +19 -0
  364. package/toast/README.md +5 -5
  365. package/toast/options/daff-toast-options.d.ts +1 -3
  366. package/toast/src/toast-theme.scss +28 -24
  367. package/toast/toast/toast-provider.d.ts +1 -1
  368. package/toast/toast.module.d.ts +1 -1
  369. package/tree/src/tree-theme.scss +11 -11
  370. package/tree/tree.module.d.ts +1 -1
  371. package/button/button/button.component.d.ts +0 -80
  372. package/button/src/button-theme-variants/button.scss +0 -26
  373. package/button/src/button-theme-variants/flat.scss +0 -25
  374. package/button/src/button-theme-variants/icon.scss +0 -21
  375. package/button/src/button-theme-variants/raised.scss +0 -36
  376. package/button/src/button-theme-variants/stroked.scss +0 -28
  377. package/button/src/button-theme-variants/underline.scss +0 -9
  378. package/button/src/button-theme.scss +0 -574
  379. package/esm2022/button/button/button.component.mjs +0 -212
  380. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -15
  381. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +0 -5
  382. package/scss/core/map/map-deep-check/map-deep-check.spec.scss +0 -43
  383. package/scss/core/map/map-deep-get/map-deep-get.spec.scss +0 -25
  384. package/scss/theming/contrast/contrast-ratio/contrast-ratio.spec.scss +0 -0
  385. package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +0 -0
  386. package/src/atoms/form/radio/radio.scss +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/atoms/form/form-field/form-field-control.ts","../../../libs/design/src/atoms/form/form-field/form-field-errors.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.html","../../../libs/design/src/atoms/form/error-message/error-message.component.ts","../../../libs/design/src/atoms/form/error-message/error-message.module.ts","../../../libs/design/src/atoms/form/form-field/form-field.module.ts","../../../libs/design/src/atoms/form/input/input.component.ts","../../../libs/design/src/atoms/form/input/input.module.ts","../../../libs/design/src/atoms/form/native-select/native-select.component.ts","../../../libs/design/src/atoms/form/native-select/native-select.module.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.html","../../../libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.html","../../../libs/design/src/atoms/form/checkbox/checkbox.module.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-select/quantity-select.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-select/quantity-select.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-field.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-field.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-field.module.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.html","../../../libs/design/src/atoms/form/radio/radio.component.ts","../../../libs/design/src/atoms/form/radio/radio.html","../../../libs/design/src/atoms/form/radio/registry/radio-registry.ts","../../../libs/design/src/atoms/form/radio/cva/radio-cva.directive.ts","../../../libs/design/src/atoms/form/radio/radio.module.ts","../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/prefix-suffix/suffixable/suffixable.ts","../../../libs/design/src/core/prefix-suffix/prefixable/prefixable.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","import { NgControl } from '@angular/forms';\n\n/**\n *\n * The class that a form control must **implement** in order to be\n * used with the DaffFormFieldComponent.\n *\n * You may ask: \"Why are you implementing an abstract class, not extending it?\"\n * We do this so that the Angular DI container can match the class token. A typical\n * interface would be \"more accurate\" here, but since interfaces don't exist\n * in javascript, they get thrown out by the typescript compiler and cannot\n * be used for the necessary dependency injection.\n */\nexport abstract class DaffFormFieldControl {\n readonly ngControl: NgControl | null;\n\n readonly controlType?: any;\n\n readonly focused: boolean;\n\n abstract focus(event?: Event): void;\n};\n","export const DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';\n","import {\n Component,\n ViewEncapsulation,\n DoCheck,\n ContentChild,\n Input,\n AfterContentInit,\n AfterContentChecked,\n HostBinding,\n} from '@angular/core';\nimport { faChevronDown } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffFormFieldControl } from '../form-field-control';\nimport { DaffFormFieldMissingControlMessage } from '../form-field-errors';\n\n// ChangeDetection is ignored because this component needs to be refactored\n// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection\n@Component({\n selector: 'daff-form-field',\n templateUrl: './form-field.component.html',\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffFormFieldComponent implements DoCheck, AfterContentInit, AfterContentChecked {\n\n /**\n * @docs-private\n */\n faChevronDown = faChevronDown;\n\n @HostBinding('class.daff-form-field') class = true;\n\n /**\n * The tracking property used to determine if the parent form has been submitted,\n * and thus show an error message (even if the field hasn't been touched).\n *\n * @deprecated\n */\n // eslint-disable-next-line @typescript-eslint/no-inferrable-types\n @Input() formSubmitted: boolean = false;\n\n /**\n * The child form control that the form-field manages\n *\n * @docs-private\n */\n @ContentChild(DaffFormFieldControl) _control: DaffFormFieldControl;\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as error.\n */\n isError = false;\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as valid.\n */\n isValid = false;\n\n /**\n * @docs\n *\n * Determines whether or not the form field should display its focused state.\n */\n get isFocused() {\n return this._control?.focused;\n }\n\n /**\n * Keeps the state of the form field consistent with its child DaffFormControl\n *\n * TODO: consider whether or not this can be refactored to some kind of\n * observable to remove unnecessary change detection.\n *\n * @docs-private\n */\n ngDoCheck() {\n if(this._control?.ngControl) {\n this.isError = this._control.ngControl.errors && (this._control.ngControl.touched);\n this.isValid = !this._control.ngControl.errors && this._control.ngControl.touched;\n }\n }\n\n /**\n * Validate whether or not the FormField is in\n * a \"usable\" state.\n */\n private _validateFormControl() {\n if (!this._control) {\n throw new Error(DaffFormFieldMissingControlMessage);\n }\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentInit() {\n this._validateFormControl();\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentChecked() {\n this._validateFormControl();\n }\n}\n","<div class=\"daff-form-field__control\" [class.daff-error]=\"isError\" [class.daff-valid]=\"isValid\" [class.daff-focus]=\"isFocused\">\n <ng-content></ng-content>\n <div class=\"daff-form-field__icon\" *ngIf=\"_control.controlType === 'native-select'\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </div>\n</div>\n<ng-content select=\"daff-error-message\"></ng-content>\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-error-message',\n template: '<ng-content></ng-content>',\n styleUrls: ['./error-message.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffErrorMessageComponent {\n @HostBinding('class.daff-error-message') class = true;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffErrorMessageComponent } from './error-message.component';\n\n@NgModule({\n exports: [\n DaffErrorMessageComponent,\n ],\n declarations: [\n DaffErrorMessageComponent,\n ],\n})\nexport class DaffErrorMessageModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffErrorMessageModule } from '../error-message/error-message.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n FontAwesomeModule,\n DaffErrorMessageModule,\n ],\n exports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n ],\n declarations: [\n DaffFormFieldComponent,\n ],\n})\nexport class DaffFormFieldModule { }\n","import {\n Component,\n Input,\n Optional,\n Self,\n ElementRef,\n HostListener,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n/**\n * DaffInputComponent provides the same functionality as a native `<input>` and contains custom styling and functionality.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'input[daff-input]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./input.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffInputComponent },\n ],\n})\nexport class DaffInputComponent implements DaffFormFieldControl {\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {}\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffInputComponent } from './input.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffInputComponent,\n ],\n declarations: [\n DaffInputComponent,\n ],\n})\nexport class DaffInputModule { }\n","import {\n Component,\n ViewEncapsulation,\n Optional,\n Self,\n Input,\n ElementRef,\n HostListener,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select[daff-native-select]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./native-select.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },\n ],\n})\n\nexport class DaffNativeSelectComponent implements DaffFormFieldControl {\n /**\n * @docs-private\n */\n controlType = 'native-select';\n\n @HostBinding('class.daff-native-select') class = true;\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {}\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffNativeSelectComponent } from './native-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffNativeSelectComponent,\n ],\n declarations: [\n DaffNativeSelectComponent,\n ],\n})\nexport class DaffNativeSelectModule { }\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n EventEmitter,\n Output,\n ChangeDetectorRef,\n ViewChild,\n ElementRef,\n} from '@angular/core';\n\nlet checkboxIdNum = 0;\n\n@Component({\n selector: 'daff-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffCheckboxComponent {\n /**\n * @docs-private\n */\n @ViewChild('inputElement', { static: true, read: ElementRef }) nativeCheckbox: ElementRef<HTMLInputElement>;\n /**\n * The name of the checkbox.\n */\n @Input() name: string;\n /**\n * The value of the checkbox.\n */\n @Input() value: any;\n /**\n * Boolean value to determine whether or not the checkbox is checked.\n */\n private _checked = false;\n\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked === value) {\n return;\n }\n if (value === true) {\n this.nativeCheckbox.nativeElement.checked = true;\n this.becameChecked.emit(this._checked);\n } else {\n this.nativeCheckbox.nativeElement.checked = false;\n this.becameUnchecked.emit();\n }\n\n this._checked = value;\n }\n /**\n * The id of the checkbox. Must be unique. If not entered by a user then it is generated.\n */\n @Input() id: string = 'daff-checkbox-' + checkboxIdNum;\n\n /**\n * The aria-label of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label = '';\n\n /**\n * The aria-labeledby of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labeledBy: string;\n\n /**\n * Event on whether or not the selection has changed.\n */\n @Output() becameChecked: EventEmitter<boolean> = new EventEmitter();\n @Output() becameUnchecked: EventEmitter<void> = new EventEmitter();\n\n /**\n * Whether the checkbox is focused\n */\n focused: boolean;\n /**\n * Whether the checkbox is disabled.\n */\n disabled: boolean;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'checkbox';\n\n\n /**\n * @docs-private\n */\n _onChange(val: Event) {\n if ((<HTMLInputElement>val.target).checked) {\n this.select();\n } else {\n this.deselect();\n }\n };\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n /**\n * Sets focused to false.\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * Sets focused to true.\n */\n onFocus() {\n this.focused = true;\n }\n\n constructor(private _cdRef: ChangeDetectorRef) {\n /**\n * Increments id number on new checkbox. Gurantees unique ID on generation.\n */\n checkboxIdNum++;\n }\n /**\n * Sets checked to true.\n */\n select() {\n this.checked = true;\n this._cdRef.markForCheck();\n }\n /**\n * Sets checked to false\n */\n deselect() {\n this.checked = false;\n this._cdRef.markForCheck();\n }\n}\n","<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n forwardRef,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n NG_VALUE_ACCESSOR,\n} from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox.component';\n\n/**\n * A directive for binding the DaffCheckboxComponent and the Control Value Accessor.\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]',\n})\nexport class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: (val: any) => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _checkbox: DaffCheckboxComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n\n /**\n * A lifecycle method called when the directive is initialized.\n */\n ngOnInit(): void {\n // See the note about `writeValue` usage.\n this.writeValue(this._control.value);\n\n // Watch for user events on the component to update the state\n this._checkbox.becameChecked.subscribe(\n () => {\n this._onChange(true);\n },\n );\n this._checkbox.becameUnchecked.subscribe(\n () => {\n this._onChange(false);\n },\n );\n }\n\n /**\n * writes a new value down into the component.\n */\n writeValue(value: any): void {\n value = !!value;\n if (value === true) {\n this.fireSelect();\n } else {\n this.fireDeselect();\n }\n }\n\n /**\n * Registers the change handler\n */\n registerOnChange(fn: any): void {\n this._onChange = (val) => {\n fn(val);\n };\n }\n\n /**\n * Registers the touched handler\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._checkbox.disabled = isDisabled;\n }\n\n /**\n * calls the child checkbox's select function\n */\n fireSelect() {\n this._checkbox.select();\n }\n\n /**\n * calls the child checkbox's deselect function\n */\n fireDeselect() {\n this._checkbox.deselect();\n }\n\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox/checkbox.component';\n\n@Component({\n selector: 'daff-checkbox-set',\n templateUrl: './checkbox-set.component.html',\n styleUrls: ['./checkbox-set.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffCheckboxSetComponent {\n\n @Input() formArray: UntypedFormArray;\n /**\n * The name of the checkbox-set\n */\n @Input() name: string;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'group';\n\n /**\n * The list of checkboxes in the set.\n *\n * @docs-private\n */\n @ContentChildren(DaffCheckboxComponent) checkboxes: QueryList<DaffCheckboxComponent>;\n\n @Output() valueList = new EventEmitter<any[]>();\n\n getValues(): any[] {\n const checkboxes = this.checkboxes.toArray();\n return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);\n }\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCheckboxComponent } from './checkbox.component';\nimport { DaffCheckboxControlValueAccessorDirective } from './cva/checkbox-cva.directive';\nimport { DaffCheckboxSetComponent } from '../checkbox-set/checkbox-set.component';\n\n@NgModule({\n exports: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n declarations: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n imports: [\n CommonModule,\n ],\n providers: [\n DaffCheckboxSetComponent,\n ],\n})\nexport class DaffCheckboxModule { }\n","import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ViewChild,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n NgControl,\n} from '@angular/forms';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { DaffInputComponent } from '../../input/public_api';\n\n@Component({\n selector: 'daff-quantity-input',\n templateUrl: './quantity-input.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantityInputComponent implements OnInit, OnDestroy {\n @ViewChild(DaffInputComponent) input: DaffInputComponent;\n\n /**\n * @docs\n * The minimum number for the quantity input field\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum number for the quantity input field\n */\n @Input() max = 10;\n\n /**\n * A new control for the nested native input.\n * We don't bind the native input directly to the inherited form control\n * to avoid triggering updates on the input event.\n * Instead, we listen for the change event and manually patch form control values.\n */\n _inputControl = new UntypedFormControl();\n\n get focused(): boolean {\n return this.input?.focused;\n }\n\n _destroyed = new Subject();\n\n get value() {\n return this.ngControl.control.value;\n }\n set value(value) {\n const val = Math.min(Math.round(coerceNumberProperty(value)), this.max);\n this.ngControl.control.patchValue(val);\n this._inputControl.patchValue(val);\n this.changeDetectorRef.markForCheck();\n }\n\n get disabled() {\n return this.ngControl.control.disabled;\n }\n\n constructor(\n public ngControl: NgControl,\n private changeDetectorRef: ChangeDetectorRef,\n ) {}\n\n ngOnInit() {\n this._inputControl.patchValue(this.ngControl.control.value);\n this.setInputDisabled();\n this.ngControl.statusChanges.pipe(\n takeUntil(this._destroyed),\n ).subscribe(() => {\n this.setInputDisabled();\n });\n }\n\n ngOnDestroy() {\n this._destroyed.next(true);\n }\n\n focus() {\n this.input.focus();\n }\n\n onFocus() {\n this.ngControl.control.markAsTouched();\n }\n\n onBlur() {\n if (this.value === null || this.value === undefined) {\n this.value = 1;\n this.changeDetectorRef.markForCheck();\n }\n }\n\n /**\n * Callback function fired when the value changes.\n * Used to pass the value back up to the ngControl.\n */\n onValueChange(e: any) {\n this.value = e.target.value;\n }\n\n private setInputDisabled() {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n this.ngControl.disabled\n ? this._inputControl.disable()\n : this._inputControl.enable();\n }\n}\n","<input daff-input\n type=\"number\"\n [attr.max]=\"max\"\n [attr.min]=\"min\"\n [attr.step]=\"1\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (change)=\"onValueChange($event)\"\n [formControl]=\"_inputControl\"\n>\n","import {\n Component,\n Input,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ViewChild,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffNativeSelectComponent } from '../../native-select/public_api';\n\n/**\n * Create an array of numbers from min to max, not including max.\n */\nexport const makeValueArray = (min: number, max: number, increment: number) =>\n Array(max - min).fill(0).map((x, i) => (i * increment) + min);\n\n@Component({\n selector: 'daff-quantity-select',\n templateUrl: './quantity-select.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantitySelectComponent {\n\n @ViewChild(DaffNativeSelectComponent) select: DaffNativeSelectComponent;\n\n /**\n * @docs\n * The minimum number selectable.\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum number selectable;\n */\n @Input() max = 10;\n\n /**\n * @docs\n * Property used to determine whether or not the DaffQuantitySelectComponent is\n * used in a situation whether the `max` isn't a true max.\n */\n @Input() extendable = true;\n\n /**\n * The amount to increment between \"min\" and \"max\".\n */\n private increment = 1;\n\n _value = 1;\n\n get value() {\n return this._value;\n }\n set value(value) {\n this._value = value;\n this.ngControl.control.patchValue(this._value);\n this.changeDetectorRef.markForCheck();\n }\n\n constructor(public ngControl: NgControl, private changeDetectorRef: ChangeDetectorRef) {}\n\n /**\n * Callback function fired when the value changes.\n * Used to pass the value back up to the ngControl.\n */\n onValueChange(e) {\n this.value = e.target.value;\n }\n\n get focused(): boolean {\n return this.select.focused;\n }\n\n focus() {\n this.select.focus();\n }\n\n onFocus() {\n this.ngControl.control.markAsTouched();\n }\n\n /**\n * A helper function for easily making options for the `select`.\n */\n get valueArray() {\n return makeValueArray(this.min, this.max, this.increment);\n }\n}\n","<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n","import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n Optional,\n Self,\n ViewChild,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {\n ControlValueAccessor,\n NgControl,\n} from '@angular/forms';\n\nimport { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';\nimport { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n selector: 'daff-quantity-field',\n templateUrl: './quantity-field.component.html',\n providers: [\n {\n provide: DaffFormFieldControl,\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n useExisting: DaffQuantityFieldComponent,\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantityFieldComponent implements ControlValueAccessor, DaffFormFieldControl {\n\n @ViewChild(DaffQuantityInputComponent) input: DaffQuantityInputComponent;\n @ViewChild(DaffQuantitySelectComponent) select: DaffQuantitySelectComponent;\n\n /**\n * @docs\n * The minimum valid value of the quantity field.\n * Must be greater than or equal to 1.\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum valid value of the quantity field.\n * Must be greater than min.\n */\n @Input() max = 500;\n\n /**\n * @docs\n * The range of numbers acceptable in a quantity dropdown\n * before it becomes an input element.\n */\n @Input() selectMax = 10;\n\n @Input() id = '';\n\n get focused(): boolean {\n return !!(this.input?.focused || this.select?.focused);\n }\n\n disabled = false;\n private _quantity = 1;\n private _inputHasBeenShown = false;\n\n get quantity() {\n return this._quantity;\n }\n set quantity(value: number) {\n this._quantity = coerceNumberProperty(value, 1);\n }\n\n /**\n * Returns the lesser of max and selectMax.\n */\n get _maxFloor(): number {\n return Math.min(this.max, this.selectMax);\n }\n\n get controlType() {\n // TODO: use enum\n return this.showInputField\n ? 'native-input'\n : 'native-select';\n }\n\n get showInputField(): boolean {\n const ret = this._inputHasBeenShown || (this.ngControl\n ? this.ngControl.value >= this.selectMax\n : this.quantity >= this.selectMax);\n\n if (ret) {\n this._inputHasBeenShown = true;\n }\n\n return ret;\n }\n\n get showSelectField(): boolean {\n return !this.showInputField;\n }\n\n constructor(\n @Optional() @Self() public ngControl: NgControl,\n private cd: ChangeDetectorRef,\n ) {\n if (this.ngControl != null) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n private onChange(quantity: number): void {};\n private onTouched(quantity: number): void {};\n\n writeValue(quantity: number): void {\n this.quantity = quantity;\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: (quantity: number) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n focus() {\n if(this.select) {\n this.select.focus();\n }\n if(this.input) {\n this.input.focus();\n }\n }\n}\n","<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\"\n [max]=\"_maxFloor\"\n [extendable]=\"max > selectMax\"\n [id]=\"id\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\"\n [max]=\"max\"\n [id]=\"id\">\n</daff-quantity-input>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffQuantityFieldComponent } from './quantity-field.component';\nimport { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';\nimport { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';\nimport { DaffInputModule } from '../input/public_api';\nimport { DaffNativeSelectModule } from '../native-select/public_api';\n\n@NgModule({\n declarations: [\n DaffQuantityFieldComponent,\n DaffQuantityInputComponent,\n DaffQuantitySelectComponent,\n ],\n imports: [\n CommonModule,\n DaffNativeSelectModule,\n DaffInputModule,\n ReactiveFormsModule,\n ],\n exports: [\n DaffQuantityFieldComponent,\n DaffQuantityInputComponent,\n DaffQuantitySelectComponent,\n ],\n})\nexport class DaffQuantityFieldModule { }\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-radio-set',\n templateUrl: './radio-set.component.html',\n styleUrls: ['./radio-set.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffRadioSetComponent {\n\n @Input() name: string;\n\n constructor() { }\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radiogroup';\n\n}\n","<ng-content></ng-content>","import {\n Component,\n OnInit,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n forwardRef,\n Optional,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\nlet radioUniqueId = 0;\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'daff-radio',\n templateUrl: './radio.html',\n styleUrls: ['./radio.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffRadioComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radio';\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n\n /**\n * @docs-private\n */\n _checked = false;\n /**\n * Output event of selection being changed\n */\n @Output() selectionChange: EventEmitter<boolean> = new EventEmitter();\n\n\n /**\n * The checked property of the radio\n */\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked !== value) {\n this._checked = value;\n this.selectionChange.emit(this.value);\n }\n }\n /**\n * The value of the radio\n */\n @Input() value: any;\n /**\n * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique.\n */\n @Input() id: string = 'daff-radio-' + radioUniqueId;\n\n /**\n * Name of the Radio\n */\n @Input() name = '';\n\n /**\n * Used for aria-label. Default to name if user does not input a label.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label: string = this.name;\n\n /**\n * Used for aria-labelledby.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labelledby: string;\n\n\n disabled = false;\n focused = false;\n\n constructor(@Optional() private radioset: DaffRadioSetComponent) {\n radioUniqueId++;\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n this.name = this.radioset ? this.radioset.name : this.name;\n }\n\n /**\n * updates Focus styling\n */\n onFocus() {\n this.focused = true;\n }\n /**\n * updates Blur styling\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * toggles checked attribute on\n */\n select(): void {\n this.checked = true;\n }\n /**\n * toggles checked attribute off\n */\n deselect(): void {\n this.checked = false;\n }\n onChange() {\n this.select();\n };\n}\n","<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>","import { Injectable } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffRadioControlValueAccessorDirective } from '../cva/radio-cva.directive';\n\nexport interface ControlAccessorPair {\n control: NgControl;\n accessor: DaffRadioControlValueAccessorDirective;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DaffRadioRegistry {\n private _accessors: ControlAccessorPair[] = [];\n\n /**\n * @description\n * Adds a control to the internal registry.\n */\n add(control: NgControl, accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.push({\n control,\n accessor,\n });\n }\n\n /**\n * @description\n * Removes a control from the internal registry.\n */\n remove(accessor: DaffRadioControlValueAccessorDirective) {\n for (let i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i]['accessor'] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n }\n\n /**\n * @description\n * Selects a radio button.\n */\n select(accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.forEach((c) => {\n if (this._isSameGroup(c, accessor) && c['accessor'] !== accessor) {\n c['accessor'].fireDeselect();\n }\n });\n }\n\n private _isSameGroup(\n controlPair: ControlAccessorPair,\n accessor: DaffRadioControlValueAccessorDirective): boolean {\n if (!controlPair['control'].control) {\n return false;\n }\n return controlPair['control'].control.parent === accessor._control.control.parent\n && controlPair['accessor'].name === accessor.name;\n }\n}\n","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n forwardRef,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n NG_VALUE_ACCESSOR,\n} from '@angular/forms';\n\nimport { DaffRadioComponent } from '../radio.component';\nimport { DaffRadioRegistry } from '../registry/radio-registry';\n\n/**\n * ControlValueAccessor functionality for the DaffRadio\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]',\n})\nexport class DaffRadioControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: () => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _registry: DaffRadioRegistry,\n private _radio: DaffRadioComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n ngOnInit(): void {\n this.writeValue(this._control.value);\n this._registry.add(this._control, this);\n\n this._radio.selectionChange.subscribe(\n value => value ? this._onChange() : null,\n );\n }\n /**\n *\n * writeValue function from the CVA interface\n */\n writeValue(value: any): void {\n // the this._onChange null check here is necessary because of an ongoing bug in angular forms\n // where writeValue can be called before the component initializes: https://github.com/angular/angular/issues/29218\n if (this.value === value && this._onChange) {\n this._onChange();\n this.fireSelect();\n }\n }\n\n /**\n * registerOnChange implemented from the CVA interface\n */\n registerOnChange(fn: any): void {\n this._onChange = () => {\n fn(this.value);\n this._registry.select(this);\n };\n }\n\n /**\n * registerOnTouch implemented from the CVA interface\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._radio.disabled = isDisabled;\n }\n\n /**\n calls select function for the radio\n */\n fireSelect() {\n this._radio.select();\n }\n\n /**\n calls deselect function for the radio\n */\n fireDeselect() {\n this._radio.deselect();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffRadioControlValueAccessorDirective } from './cva/radio-cva.directive';\nimport { DaffRadioComponent } from './radio.component';\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\n\n\n@NgModule({\n exports:[\n DaffRadioComponent,\n DaffRadioSetComponent,\n DaffRadioControlValueAccessorDirective,\n\n ],\n declarations: [\n DaffRadioControlValueAccessorDirective,\n DaffRadioComponent,\n DaffRadioSetComponent,\n ],\n imports: [\n CommonModule,\n ],\n})\nexport class DaffRadioModule { }\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n @HostBinding('class.daff-form-label') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n declarations: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content before another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffPrefix]',\n})\n\nexport class DaffPrefixDirective {\n\n @HostBinding('class.daff-prefix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content after another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffSuffix]',\n})\n\nexport class DaffSuffixDirective {\n\n @HostBinding('class.daff-suffix') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n@NgModule({\n imports: [],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n declarations: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","import {\n ContentChild,\n Directive,\n} from '@angular/core';\n\nimport { Constructor } from '../../../core/public_api';\nimport { DaffSuffixDirective } from '../suffix.directive';\n\n/**\n * A mixin for giving a component the ability to place content after another piece of content.\n */\nexport function daffSuffixableMixin<T extends Constructor>(Base: T) {\n @Directive()\n class SuffixableDirective extends Base {\n\n @ContentChild(DaffSuffixDirective, { static: true }) _suffix: DaffSuffixDirective;\n\n constructor(...args: any[]) {\n super(...args);\n }\n }\n\n return SuffixableDirective;\n}\n","import {\n ContentChild,\n Directive,\n} from '@angular/core';\n\nimport { Constructor } from '../../../core/public_api';\nimport { DaffPrefixDirective } from '../prefix.directive';\n\n/**\n * A mixin for giving a component the ability to place content before another piece of content.\n */\nexport function daffPrefixableMixin<T extends Constructor>(Base: T) {\n @Directive()\n class PrefixableDirective extends Base {\n\n @ContentChild(DaffPrefixDirective, { static: true }) _prefix: DaffPrefixDirective;\n\n constructor(...args: any[]) {\n super(...args);\n }\n }\n\n return PrefixableDirective;\n}\n","/**\n * In order to be colorable, our class must implement this property\n */\nexport interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'black' | 'white' | 'theme' | 'theme-contrast' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the\n * application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * White. It's bright.\n */\n White = 'white',\n\n /**\n * The default color for your theme.\n */\n Theme = 'theme',\n\n /**\n * A color that constrats against your defined theme.\n */\n ThemeContrast = 'theme-contrast'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if (color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"componentColor\">Colored content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n *\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The directive applies the following CSS classes based on the color:\n *\n * - `daff-primary`: Applied when the color is `primary`.\n * - `daff-secondary`: Applied when the color is `secondary`.\n * - `daff-tertiary`: Applied when the color is `tertiary`.\n * - `daff-black`: Applied when the color is `black`.\n * - `daff-white`: Applied when the color is `white`.\n * - `daff-theme`: Applied when the color is `theme`.\n * - `daff-theme-contrast`: Applied when the color is `theme-contrast`.\n */\n@Directive({\n selector: '[daffColorable]',\n standalone: true,\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the color.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-primary': this.color === DaffPaletteEnum.Primary,\n 'daff-secondary': this.color === DaffPaletteEnum.Secondary,\n 'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,\n 'daff-black': this.color === DaffPaletteEnum.Black,\n 'daff-white': this.color === DaffPaletteEnum.White,\n 'daff-theme': this.color === DaffPaletteEnum.Theme,\n 'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,\n };\n }\n\n /**\n * Sets the color on a component.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n */\n defaultColor: DaffPalette;\n\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'warn': Indicates a warning status.\n * - 'danger': Indicates a danger or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'warn' | 'danger' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Warn = 'warn',\n Danger = 'danger',\n Success = 'success'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as warning, danger, or success states.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * .custom-component {\n *\n * &.daff-danger {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n * ## Styles\n *\n * The directive applies the following CSS classes based on the status:\n *\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-danger`: Applied when the status is `danger`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n standalone: true,\n})\nexport class DaffStatusableDirective implements DaffStatusable {\n\n /**\n * Dynamically sets the CSS classes based on the status.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-warn': this.status === DaffStatusEnum.Warn,\n 'daff-danger': this.status === DaffStatusEnum.Danger,\n 'daff-success': this.status === DaffStatusEnum.Success,\n };\n }\n\n /**\n * Sets the status on a component.\n */\n @Input() status: DaffStatus;\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * ```\n *\n * ## Styles\n *\n * The `daff-skeleton` class should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n standalone: true,\n})\nexport class DaffSkeletonableDirective {\n @Input() @HostBinding('class.daff-skeleton') skeleton = false;\n}\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use-cases where the\n * application of `text-align:center` would cause unexpected side effects.\n */\n@Directive({\n selector: '[daffTextAlignable]',\n standalone: true,\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges {\n\n /**\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-left': this.textAlignment === DaffTextAlignmentEnum.Left,\n 'daff-center': this.textAlignment === DaffTextAlignmentEnum.Center,\n 'daff-right': this.textAlignment === DaffTextAlignmentEnum.Right,\n };\n }\n\n /**\n * The text-alignment of a component.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default textAlignment.\n */\n public defaultAlignment: DaffTextAlignment;\n\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The `daff-compact` class should be defined in your styles to display the compact\n * state as desired.\n */\n@Directive({\n selector: '[daffCompactable]',\n standalone: true,\n})\nexport class DaffCompactableDirective {\n @Input() @HostBinding('class.daff-compact') compact = false;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n standalone: true,\n})\nexport class DaffManageContainerLayoutDirective {\n @HostBinding('class.daff-manage-container-layout') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n *\n * This directive will apply the `daff-ae` class to your component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n standalone: true,\n})\nexport class DaffArticleEncapsulatedDirective {\n @HostBinding('class.daff-ae') class = true;\n}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n Provider,\n APP_INITIALIZER,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER: Provider[] = [\n DaffThemeClassSetterService,\n {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [DaffThemeClassSetterService],\n useFactory: DAFF_THEME_INIT,\n },\n];\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","import { DOCUMENT } from '@angular/common';\nimport {\n Inject,\n Injectable,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizableEnum,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The directive applies the following CSS classes based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n standalone: true,\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the size.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-xs': this.size === DaffSizableEnum.XSmall,\n 'daff-sm': this.size === DaffSizableEnum.Small,\n 'daff-md': this.size === DaffSizableEnum.Medium,\n 'daff-lg': this.size === DaffSizableEnum.Large,\n 'daff-xl': this.size === DaffSizableEnum.XLarge,\n };\n }\n\n /**\n * The size of a component.\n */\n @Input() size: T;\n\n /**\n * Sets a default size when no size is provided.\n */\n public defaultSize: T;\n\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * ## Example\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n standalone: true,\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Whether or not a component implementing the directive is open */\n @Input() @HostBinding('class.daff-open') open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/core/public_api';\nexport * from './atoms/form/form-field/public_api';\nexport * from './atoms/form/error-message/public_api';\nexport * from './atoms/form/input/public_api';\nexport * from './atoms/form/native-select/public_api';\nexport * from './atoms/form/checkbox/public_api';\nexport * from './atoms/form/quantity-field/public_api';\nexport * from './atoms/form/radio/public_api';\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i2.DaffCheckboxComponent","i2.DaffInputComponent","i3.DaffNativeSelectComponent","i3.DaffQuantityInputComponent","i4.DaffQuantitySelectComponent","i1.DaffRadioSetComponent","i2.DaffRadioRegistry","i3.DaffRadioComponent","i1.DaffOsThemeService","i2.DaffThemeStorageService","i1.DaffThemingService"],"mappings":";;;;;;;;;;;;;;;MAEa,qBAAqB,CAAA;IAEhC,YAAY,CAAC,OAA2B,EAAE,aAAsB,EAAA;QAC9D,OAAO,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,OAAO,IAAI,aAAa,CAAC,CAAC;KAC7D;AACF;;ACLD;;;;;;;;;;AAUG;MACmB,oBAAoB,CAAA;AAQzC,CAAA;AAAA;;ACrBM,MAAM,kCAAkC,GAAG,8DAA8D;;ACehH;AACA;MAOa,sBAAsB,CAAA;AANnC,IAAA,WAAA,GAAA;AAQE;;AAEG;QACH,IAAa,CAAA,aAAA,GAAG,aAAa,CAAC;QAEQ,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC;AAEnD;;;;;AAKG;;QAEM,IAAa,CAAA,aAAA,GAAY,KAAK,CAAC;AASxC;;;AAGG;QACH,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAEhB;;;AAGG;QACH,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAyDjB,KAAA;AAvDC;;;;AAIG;AACH,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC;KAC/B;AAED;;;;;;;AAOG;IACH,SAAS,GAAA;AACP,QAAA,IAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE;YAC3B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,KAAK,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO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EAAA;AAChC;;AAEG;QACH,IAAG,OAAO,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YAC/C,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;YAEvC,IAAG,SAAS,EAAE,EAAE;AACd,gBAAA,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;aACzC;SACF;KACF;iIAjEU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;qHAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;8BAI0C,IAAI,EAAA,CAAA;sBAA5C,KAAK;;sBAAI,WAAW;uBAAC,iBAAiB,CAAA;gBAqB7B,OAAO,EAAA,CAAA;sBAAhB,MAAM;;;ACvFT;;ACAA;;AAEG;AAEH;;ACJA;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/atoms/form/form-field/form-field-control.ts","../../../libs/design/src/atoms/form/form-field/form-field-errors.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.html","../../../libs/design/src/atoms/form/error-message/error-message.component.ts","../../../libs/design/src/atoms/form/error-message/error-message.module.ts","../../../libs/design/src/atoms/form/form-field/form-field.module.ts","../../../libs/design/src/atoms/form/input/input.component.ts","../../../libs/design/src/atoms/form/input/input.module.ts","../../../libs/design/src/atoms/form/native-select/native-select.component.ts","../../../libs/design/src/atoms/form/native-select/native-select.module.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.html","../../../libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.html","../../../libs/design/src/atoms/form/checkbox/checkbox.module.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-select/quantity-select.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-select/quantity-select.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-field.component.ts","../../../libs/design/src/atoms/form/quantity-field/quantity-field.component.html","../../../libs/design/src/atoms/form/quantity-field/quantity-field.module.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.html","../../../libs/design/src/atoms/form/radio/radio.component.ts","../../../libs/design/src/atoms/form/radio/radio.html","../../../libs/design/src/atoms/form/radio/registry/radio-registry.ts","../../../libs/design/src/atoms/form/radio/cva/radio-cva.directive.ts","../../../libs/design/src/atoms/form/radio/radio.module.ts","../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/prefix-suffix/suffixable/suffixable.ts","../../../libs/design/src/core/prefix-suffix/prefixable/prefixable.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/selectable/selectable.directive.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","import { NgControl } from '@angular/forms';\n\n/**\n *\n * The class that a form control must **implement** in order to be\n * used with the DaffFormFieldComponent.\n *\n * You may ask: \"Why are you implementing an abstract class, not extending it?\"\n * We do this so that the Angular DI container can match the class token. A typical\n * interface would be \"more accurate\" here, but since interfaces don't exist\n * in javascript, they get thrown out by the typescript compiler and cannot\n * be used for the necessary dependency injection.\n */\nexport abstract class DaffFormFieldControl {\n readonly ngControl: NgControl | null;\n\n readonly controlType?: any;\n\n readonly focused: boolean;\n\n abstract focus(event?: Event): void;\n};\n","export const DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';\n","import {\n Component,\n ViewEncapsulation,\n DoCheck,\n ContentChild,\n Input,\n AfterContentInit,\n AfterContentChecked,\n HostBinding,\n} from '@angular/core';\nimport { faChevronDown } from '@fortawesome/free-solid-svg-icons';\n\nimport { DaffFormFieldControl } from '../form-field-control';\nimport { DaffFormFieldMissingControlMessage } from '../form-field-errors';\n\n// ChangeDetection is ignored because this component needs to be refactored\n// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection\n@Component({\n selector: 'daff-form-field',\n templateUrl: './form-field.component.html',\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffFormFieldComponent implements DoCheck, AfterContentInit, AfterContentChecked {\n\n /**\n * @docs-private\n */\n faChevronDown = faChevronDown;\n\n @HostBinding('class.daff-form-field') class = true;\n\n /**\n * The tracking property used to determine if the parent form has been submitted,\n * and thus show an error message (even if the field hasn't been touched).\n *\n * @deprecated Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n // eslint-disable-next-line @typescript-eslint/no-inferrable-types\n @Input() formSubmitted: boolean = false;\n\n /**\n * The child form control that the form-field manages\n *\n * @docs-private\n */\n @ContentChild(DaffFormFieldControl) _control: DaffFormFieldControl;\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as error.\n */\n isError = false;\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as valid.\n */\n isValid = false;\n\n /**\n * @docs\n *\n * Determines whether or not the form field should display its focused state.\n */\n get isFocused() {\n return this._control?.focused;\n }\n\n /**\n * Keeps the state of the form field consistent with its child DaffFormControl\n *\n * TODO: consider whether or not this can be refactored to some kind of\n * observable to remove unnecessary change detection.\n *\n * @docs-private\n */\n ngDoCheck() {\n if(this._control?.ngControl) {\n this.isError = this._control.ngControl.errors && (this._control.ngControl.touched);\n this.isValid = !this._control.ngControl.errors && this._control.ngControl.touched;\n }\n }\n\n /**\n * Validate whether or not the FormField is in\n * a \"usable\" state.\n */\n private _validateFormControl() {\n if (!this._control) {\n throw new Error(DaffFormFieldMissingControlMessage);\n }\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentInit() {\n this._validateFormControl();\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentChecked() {\n this._validateFormControl();\n }\n}\n","<div class=\"daff-form-field__control\" [class.daff-error]=\"isError\" [class.daff-valid]=\"isValid\" [class.daff-focus]=\"isFocused\">\n <ng-content></ng-content>\n <div class=\"daff-form-field__icon\" *ngIf=\"_control.controlType === 'native-select'\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </div>\n</div>\n<ng-content select=\"daff-error-message\"></ng-content>\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-error-message',\n template: '<ng-content></ng-content>',\n styleUrls: ['./error-message.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffErrorMessageComponent {\n @HostBinding('class.daff-error-message') class = true;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffErrorMessageComponent } from './error-message.component';\n\n@NgModule({\n exports: [\n DaffErrorMessageComponent,\n ],\n declarations: [\n DaffErrorMessageComponent,\n ],\n})\nexport class DaffErrorMessageModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\n\nimport { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffErrorMessageModule } from '../error-message/error-message.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n FontAwesomeModule,\n DaffErrorMessageModule,\n ],\n exports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n ],\n declarations: [\n DaffFormFieldComponent,\n ],\n})\nexport class DaffFormFieldModule { }\n","import {\n Component,\n Input,\n Optional,\n Self,\n ElementRef,\n HostListener,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n/**\n * DaffInputComponent provides the same functionality as a native `<input>` and contains custom styling and functionality.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'input[daff-input]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./input.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffInputComponent },\n ],\n})\nexport class DaffInputComponent implements DaffFormFieldControl {\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {}\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffInputComponent } from './input.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffInputComponent,\n ],\n declarations: [\n DaffInputComponent,\n ],\n})\nexport class DaffInputModule { }\n","import {\n Component,\n ViewEncapsulation,\n Optional,\n Self,\n Input,\n ElementRef,\n HostListener,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select[daff-native-select]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./native-select.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },\n ],\n})\n\nexport class DaffNativeSelectComponent implements DaffFormFieldControl {\n /**\n * @docs-private\n */\n controlType = 'native-select';\n\n @HostBinding('class.daff-native-select') class = true;\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {}\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffNativeSelectComponent } from './native-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffNativeSelectComponent,\n ],\n declarations: [\n DaffNativeSelectComponent,\n ],\n})\nexport class DaffNativeSelectModule { }\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n EventEmitter,\n Output,\n ChangeDetectorRef,\n ViewChild,\n ElementRef,\n} from '@angular/core';\n\nlet checkboxIdNum = 0;\n\n@Component({\n selector: 'daff-checkbox',\n templateUrl: './checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffCheckboxComponent {\n /**\n * @docs-private\n */\n @ViewChild('inputElement', { static: true, read: ElementRef }) nativeCheckbox: ElementRef<HTMLInputElement>;\n /**\n * The name of the checkbox.\n */\n @Input() name: string;\n /**\n * The value of the checkbox.\n */\n @Input() value: any;\n /**\n * Boolean value to determine whether or not the checkbox is checked.\n */\n private _checked = false;\n\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked === value) {\n return;\n }\n if (value === true) {\n this.nativeCheckbox.nativeElement.checked = true;\n this.becameChecked.emit(this._checked);\n } else {\n this.nativeCheckbox.nativeElement.checked = false;\n this.becameUnchecked.emit();\n }\n\n this._checked = value;\n }\n /**\n * The id of the checkbox. Must be unique. If not entered by a user then it is generated.\n */\n @Input() id: string = 'daff-checkbox-' + checkboxIdNum;\n\n /**\n * The aria-label of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label = '';\n\n /**\n * The aria-labeledby of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labeledBy: string;\n\n /**\n * Event on whether or not the selection has changed.\n */\n @Output() becameChecked: EventEmitter<boolean> = new EventEmitter();\n @Output() becameUnchecked: EventEmitter<void> = new EventEmitter();\n\n /**\n * Whether the checkbox is focused\n */\n focused: boolean;\n /**\n * Whether the checkbox is disabled.\n */\n disabled: boolean;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'checkbox';\n\n\n /**\n * @docs-private\n */\n _onChange(val: Event) {\n if ((<HTMLInputElement>val.target).checked) {\n this.select();\n } else {\n this.deselect();\n }\n };\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n /**\n * Sets focused to false.\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * Sets focused to true.\n */\n onFocus() {\n this.focused = true;\n }\n\n constructor(private _cdRef: ChangeDetectorRef) {\n /**\n * Increments id number on new checkbox. Gurantees unique ID on generation.\n */\n checkboxIdNum++;\n }\n /**\n * Sets checked to true.\n */\n select() {\n this.checked = true;\n this._cdRef.markForCheck();\n }\n /**\n * Sets checked to false\n */\n deselect() {\n this.checked = false;\n this._cdRef.markForCheck();\n }\n}\n","<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n forwardRef,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n NG_VALUE_ACCESSOR,\n} from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox.component';\n\n/**\n * A directive for binding the DaffCheckboxComponent and the Control Value Accessor.\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]',\n})\nexport class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: (val: any) => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _checkbox: DaffCheckboxComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n\n /**\n * A lifecycle method called when the directive is initialized.\n */\n ngOnInit(): void {\n // See the note about `writeValue` usage.\n this.writeValue(this._control.value);\n\n // Watch for user events on the component to update the state\n this._checkbox.becameChecked.subscribe(\n () => {\n this._onChange(true);\n },\n );\n this._checkbox.becameUnchecked.subscribe(\n () => {\n this._onChange(false);\n },\n );\n }\n\n /**\n * writes a new value down into the component.\n */\n writeValue(value: any): void {\n value = !!value;\n if (value === true) {\n this.fireSelect();\n } else {\n this.fireDeselect();\n }\n }\n\n /**\n * Registers the change handler\n */\n registerOnChange(fn: any): void {\n this._onChange = (val) => {\n fn(val);\n };\n }\n\n /**\n * Registers the touched handler\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._checkbox.disabled = isDisabled;\n }\n\n /**\n * calls the child checkbox's select function\n */\n fireSelect() {\n this._checkbox.select();\n }\n\n /**\n * calls the child checkbox's deselect function\n */\n fireDeselect() {\n this._checkbox.deselect();\n }\n\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox/checkbox.component';\n\n@Component({\n selector: 'daff-checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffCheckboxSetComponent {\n\n @Input() formArray: UntypedFormArray;\n /**\n * The name of the checkbox-set\n */\n @Input() name: string;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'group';\n\n /**\n * The list of checkboxes in the set.\n *\n * @docs-private\n */\n @ContentChildren(DaffCheckboxComponent) checkboxes: QueryList<DaffCheckboxComponent>;\n\n @Output() valueList = new EventEmitter<any[]>();\n\n getValues(): any[] {\n const checkboxes = this.checkboxes.toArray();\n return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);\n }\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCheckboxComponent } from './checkbox.component';\nimport { DaffCheckboxControlValueAccessorDirective } from './cva/checkbox-cva.directive';\nimport { DaffCheckboxSetComponent } from '../checkbox-set/checkbox-set.component';\n\n@NgModule({\n exports: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n declarations: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n imports: [\n CommonModule,\n ],\n providers: [\n DaffCheckboxSetComponent,\n ],\n})\nexport class DaffCheckboxModule { }\n","import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ViewChild,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n OnInit,\n OnDestroy,\n} from '@angular/core';\nimport {\n UntypedFormControl,\n NgControl,\n} from '@angular/forms';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { DaffInputComponent } from '../../input/public_api';\n\n@Component({\n selector: 'daff-quantity-input',\n templateUrl: './quantity-input.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantityInputComponent implements OnInit, OnDestroy {\n @ViewChild(DaffInputComponent) input: DaffInputComponent;\n\n /**\n * @docs\n * The minimum number for the quantity input field\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum number for the quantity input field\n */\n @Input() max = 10;\n\n /**\n * A new control for the nested native input.\n * We don't bind the native input directly to the inherited form control\n * to avoid triggering updates on the input event.\n * Instead, we listen for the change event and manually patch form control values.\n */\n _inputControl = new UntypedFormControl();\n\n get focused(): boolean {\n return this.input?.focused;\n }\n\n _destroyed = new Subject();\n\n get value() {\n return this.ngControl.control.value;\n }\n set value(value) {\n const val = Math.min(Math.round(coerceNumberProperty(value)), this.max);\n this.ngControl.control.patchValue(val);\n this._inputControl.patchValue(val);\n this.changeDetectorRef.markForCheck();\n }\n\n get disabled() {\n return this.ngControl.control.disabled;\n }\n\n constructor(\n public ngControl: NgControl,\n private changeDetectorRef: ChangeDetectorRef,\n ) {}\n\n ngOnInit() {\n this._inputControl.patchValue(this.ngControl.control.value);\n this.setInputDisabled();\n this.ngControl.statusChanges.pipe(\n takeUntil(this._destroyed),\n ).subscribe(() => {\n this.setInputDisabled();\n });\n }\n\n ngOnDestroy() {\n this._destroyed.next(true);\n }\n\n focus() {\n this.input.focus();\n }\n\n onFocus() {\n this.ngControl.control.markAsTouched();\n }\n\n onBlur() {\n if (this.value === null || this.value === undefined) {\n this.value = 1;\n this.changeDetectorRef.markForCheck();\n }\n }\n\n /**\n * Callback function fired when the value changes.\n * Used to pass the value back up to the ngControl.\n */\n onValueChange(e: any) {\n this.value = e.target.value;\n }\n\n private setInputDisabled() {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n this.ngControl.disabled\n ? this._inputControl.disable()\n : this._inputControl.enable();\n }\n}\n","<input daff-input\n type=\"number\"\n [attr.max]=\"max\"\n [attr.min]=\"min\"\n [attr.step]=\"1\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (change)=\"onValueChange($event)\"\n [formControl]=\"_inputControl\"\n>\n","import {\n Component,\n Input,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ViewChild,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffNativeSelectComponent } from '../../native-select/public_api';\n\n/**\n * Create an array of numbers from min to max, not including max.\n */\nexport const makeValueArray = (min: number, max: number, increment: number) =>\n Array(max - min).fill(0).map((x, i) => (i * increment) + min);\n\n@Component({\n selector: 'daff-quantity-select',\n templateUrl: './quantity-select.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantitySelectComponent {\n\n @ViewChild(DaffNativeSelectComponent) select: DaffNativeSelectComponent;\n\n /**\n * @docs\n * The minimum number selectable.\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum number selectable;\n */\n @Input() max = 10;\n\n /**\n * @docs\n * Property used to determine whether or not the DaffQuantitySelectComponent is\n * used in a situation whether the `max` isn't a true max.\n */\n @Input() extendable = true;\n\n /**\n * The amount to increment between \"min\" and \"max\".\n */\n private increment = 1;\n\n _value = 1;\n\n get value() {\n return this._value;\n }\n set value(value) {\n this._value = value;\n this.ngControl.control.patchValue(this._value);\n this.changeDetectorRef.markForCheck();\n }\n\n constructor(public ngControl: NgControl, private changeDetectorRef: ChangeDetectorRef) {}\n\n /**\n * Callback function fired when the value changes.\n * Used to pass the value back up to the ngControl.\n */\n onValueChange(e) {\n this.value = e.target.value;\n }\n\n get focused(): boolean {\n return this.select.focused;\n }\n\n focus() {\n this.select.focus();\n }\n\n onFocus() {\n this.ngControl.control.markAsTouched();\n }\n\n /**\n * A helper function for easily making options for the `select`.\n */\n get valueArray() {\n return makeValueArray(this.min, this.max, this.increment);\n }\n}\n","<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n","import { coerceNumberProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n Input,\n ChangeDetectionStrategy,\n Optional,\n Self,\n ViewChild,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {\n ControlValueAccessor,\n NgControl,\n} from '@angular/forms';\n\nimport { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';\nimport { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n selector: 'daff-quantity-field',\n templateUrl: './quantity-field.component.html',\n providers: [\n {\n provide: DaffFormFieldControl,\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n useExisting: DaffQuantityFieldComponent,\n },\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffQuantityFieldComponent implements ControlValueAccessor, DaffFormFieldControl {\n\n @ViewChild(DaffQuantityInputComponent) input: DaffQuantityInputComponent;\n @ViewChild(DaffQuantitySelectComponent) select: DaffQuantitySelectComponent;\n\n /**\n * @docs\n * The minimum valid value of the quantity field.\n * Must be greater than or equal to 1.\n */\n @Input() min = 1;\n\n /**\n * @docs\n * The maximum valid value of the quantity field.\n * Must be greater than min.\n */\n @Input() max = 500;\n\n /**\n * @docs\n * The range of numbers acceptable in a quantity dropdown\n * before it becomes an input element.\n */\n @Input() selectMax = 10;\n\n @Input() id = '';\n\n get focused(): boolean {\n return !!(this.input?.focused || this.select?.focused);\n }\n\n disabled = false;\n private _quantity = 1;\n private _inputHasBeenShown = false;\n\n get quantity() {\n return this._quantity;\n }\n set quantity(value: number) {\n this._quantity = coerceNumberProperty(value, 1);\n }\n\n /**\n * Returns the lesser of max and selectMax.\n */\n get _maxFloor(): number {\n return Math.min(this.max, this.selectMax);\n }\n\n get controlType() {\n // TODO: use enum\n return this.showInputField\n ? 'native-input'\n : 'native-select';\n }\n\n get showInputField(): boolean {\n const ret = this._inputHasBeenShown || (this.ngControl\n ? this.ngControl.value >= this.selectMax\n : this.quantity >= this.selectMax);\n\n if (ret) {\n this._inputHasBeenShown = true;\n }\n\n return ret;\n }\n\n get showSelectField(): boolean {\n return !this.showInputField;\n }\n\n constructor(\n @Optional() @Self() public ngControl: NgControl,\n private cd: ChangeDetectorRef,\n ) {\n if (this.ngControl != null) {\n this.ngControl.valueAccessor = this;\n }\n }\n\n private onChange(quantity: number): void {};\n private onTouched(quantity: number): void {};\n\n writeValue(quantity: number): void {\n this.quantity = quantity;\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: (quantity: number) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled;\n }\n\n focus() {\n if(this.select) {\n this.select.focus();\n }\n if(this.input) {\n this.input.focus();\n }\n }\n}\n","<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\"\n [max]=\"_maxFloor\"\n [extendable]=\"max > selectMax\"\n [id]=\"id\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\"\n [max]=\"max\"\n [id]=\"id\">\n</daff-quantity-input>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DaffQuantityFieldComponent } from './quantity-field.component';\nimport { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';\nimport { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';\nimport { DaffInputModule } from '../input/public_api';\nimport { DaffNativeSelectModule } from '../native-select/public_api';\n\n@NgModule({\n declarations: [\n DaffQuantityFieldComponent,\n DaffQuantityInputComponent,\n DaffQuantitySelectComponent,\n ],\n imports: [\n CommonModule,\n DaffNativeSelectModule,\n DaffInputModule,\n ReactiveFormsModule,\n ],\n exports: [\n DaffQuantityFieldComponent,\n DaffQuantityInputComponent,\n DaffQuantitySelectComponent,\n ],\n})\nexport class DaffQuantityFieldModule { }\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-radio-set',\n templateUrl: './radio-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffRadioSetComponent {\n\n @Input() name: string;\n\n constructor() { }\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radiogroup';\n\n}\n","<ng-content></ng-content>","import {\n Component,\n OnInit,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n Optional,\n Output,\n EventEmitter,\n} from '@angular/core';\n\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\nlet radioUniqueId = 0;\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'daff-radio',\n templateUrl: './radio.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffRadioComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radio';\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n\n /**\n * @docs-private\n */\n _checked = false;\n /**\n * Output event of selection being changed\n */\n @Output() selectionChange: EventEmitter<boolean> = new EventEmitter();\n\n\n /**\n * The checked property of the radio\n */\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked !== value) {\n this._checked = value;\n this.selectionChange.emit(this.value);\n }\n }\n /**\n * The value of the radio\n */\n @Input() value: any;\n /**\n * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique.\n */\n @Input() id: string = 'daff-radio-' + radioUniqueId;\n\n /**\n * Name of the Radio\n */\n @Input() name = '';\n\n /**\n * Used for aria-label. Default to name if user does not input a label.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label: string = this.name;\n\n /**\n * Used for aria-labelledby.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labelledby: string;\n\n\n disabled = false;\n focused = false;\n\n constructor(@Optional() private radioset: DaffRadioSetComponent) {\n radioUniqueId++;\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n this.name = this.radioset ? this.radioset.name : this.name;\n }\n\n /**\n * updates Focus styling\n */\n onFocus() {\n this.focused = true;\n }\n /**\n * updates Blur styling\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * toggles checked attribute on\n */\n select(): void {\n this.checked = true;\n }\n /**\n * toggles checked attribute off\n */\n deselect(): void {\n this.checked = false;\n }\n onChange() {\n this.select();\n };\n}\n","<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>","import { Injectable } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffRadioControlValueAccessorDirective } from '../cva/radio-cva.directive';\n\nexport interface ControlAccessorPair {\n control: NgControl;\n accessor: DaffRadioControlValueAccessorDirective;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DaffRadioRegistry {\n private _accessors: ControlAccessorPair[] = [];\n\n /**\n * @description\n * Adds a control to the internal registry.\n */\n add(control: NgControl, accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.push({\n control,\n accessor,\n });\n }\n\n /**\n * @description\n * Removes a control from the internal registry.\n */\n remove(accessor: DaffRadioControlValueAccessorDirective) {\n for (let i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i]['accessor'] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n }\n\n /**\n * @description\n * Selects a radio button.\n */\n select(accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.forEach((c) => {\n if (this._isSameGroup(c, accessor) && c['accessor'] !== accessor) {\n c['accessor'].fireDeselect();\n }\n });\n }\n\n private _isSameGroup(\n controlPair: ControlAccessorPair,\n accessor: DaffRadioControlValueAccessorDirective): boolean {\n if (!controlPair['control'].control) {\n return false;\n }\n return controlPair['control'].control.parent === accessor._control.control.parent\n && controlPair['accessor'].name === accessor.name;\n }\n}\n","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n forwardRef,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n NG_VALUE_ACCESSOR,\n} from '@angular/forms';\n\nimport { DaffRadioComponent } from '../radio.component';\nimport { DaffRadioRegistry } from '../registry/radio-registry';\n\n/**\n * ControlValueAccessor functionality for the DaffRadio\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]',\n})\nexport class DaffRadioControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: () => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _registry: DaffRadioRegistry,\n private _radio: DaffRadioComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n ngOnInit(): void {\n this.writeValue(this._control.value);\n this._registry.add(this._control, this);\n\n this._radio.selectionChange.subscribe(\n value => value ? this._onChange() : null,\n );\n }\n /**\n *\n * writeValue function from the CVA interface\n */\n writeValue(value: any): void {\n // the this._onChange null check here is necessary because of an ongoing bug in angular forms\n // where writeValue can be called before the component initializes: https://github.com/angular/angular/issues/29218\n if (this.value === value && this._onChange) {\n this._onChange();\n this.fireSelect();\n }\n }\n\n /**\n * registerOnChange implemented from the CVA interface\n */\n registerOnChange(fn: any): void {\n this._onChange = () => {\n fn(this.value);\n this._registry.select(this);\n };\n }\n\n /**\n * registerOnTouch implemented from the CVA interface\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._radio.disabled = isDisabled;\n }\n\n /**\n calls select function for the radio\n */\n fireSelect() {\n this._radio.select();\n }\n\n /**\n calls deselect function for the radio\n */\n fireDeselect() {\n this._radio.deselect();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffRadioControlValueAccessorDirective } from './cva/radio-cva.directive';\nimport { DaffRadioComponent } from './radio.component';\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\n\n\n@NgModule({\n exports:[\n DaffRadioComponent,\n DaffRadioSetComponent,\n DaffRadioControlValueAccessorDirective,\n\n ],\n declarations: [\n DaffRadioControlValueAccessorDirective,\n DaffRadioComponent,\n DaffRadioSetComponent,\n ],\n imports: [\n CommonModule,\n ],\n})\nexport class DaffRadioModule { }\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n @HostBinding('class.daff-form-label') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n declarations: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content before another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffPrefix]',\n})\n\nexport class DaffPrefixDirective {\n\n @HostBinding('class.daff-prefix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content after another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffSuffix]',\n})\n\nexport class DaffSuffixDirective {\n\n @HostBinding('class.daff-suffix') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n@NgModule({\n imports: [],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n declarations: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","import {\n ContentChild,\n Directive,\n} from '@angular/core';\n\nimport { Constructor } from '../../../core/public_api';\nimport { DaffSuffixDirective } from '../suffix.directive';\n\n/**\n * A mixin for giving a component the ability to place content after another piece of content.\n */\nexport function daffSuffixableMixin<T extends Constructor>(Base: T) {\n @Directive()\n class SuffixableDirective extends Base {\n\n @ContentChild(DaffSuffixDirective, { static: true }) _suffix: DaffSuffixDirective;\n\n constructor(...args: any[]) {\n super(...args);\n }\n }\n\n return SuffixableDirective;\n}\n","import {\n ContentChild,\n Directive,\n} from '@angular/core';\n\nimport { Constructor } from '../../../core/public_api';\nimport { DaffPrefixDirective } from '../prefix.directive';\n\n/**\n * A mixin for giving a component the ability to place content before another piece of content.\n */\nexport function daffPrefixableMixin<T extends Constructor>(Base: T) {\n @Directive()\n class PrefixableDirective extends Base {\n\n @ContentChild(DaffPrefixDirective, { static: true }) _prefix: DaffPrefixDirective;\n\n constructor(...args: any[]) {\n super(...args);\n }\n }\n\n return PrefixableDirective;\n}\n","/**\n * In order to be colorable, our class must implement this property\n */\nexport interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'black' | 'white' | 'theme' | 'theme-contrast' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the\n * application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * White. It's bright.\n */\n White = 'white',\n\n /**\n * The default color for your theme.\n */\n Theme = 'theme',\n\n /**\n * A color that constrats against your defined theme.\n */\n ThemeContrast = 'theme-contrast'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if (color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"componentColor\">Colored content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n *\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The directive applies the following CSS classes based on the color:\n *\n * - `daff-primary`: Applied when the color is `primary`.\n * - `daff-secondary`: Applied when the color is `secondary`.\n * - `daff-tertiary`: Applied when the color is `tertiary`.\n * - `daff-black`: Applied when the color is `black`.\n * - `daff-white`: Applied when the color is `white`.\n * - `daff-theme`: Applied when the color is `theme`.\n * - `daff-theme-contrast`: Applied when the color is `theme-contrast`.\n */\n@Directive({\n selector: '[daffColorable]',\n standalone: true,\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the color.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-primary': this.color === DaffPaletteEnum.Primary,\n 'daff-secondary': this.color === DaffPaletteEnum.Secondary,\n 'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,\n 'daff-black': this.color === DaffPaletteEnum.Black,\n 'daff-white': this.color === DaffPaletteEnum.White,\n 'daff-theme': this.color === DaffPaletteEnum.Theme,\n 'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,\n };\n }\n\n /**\n * Sets the color on a component.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n */\n defaultColor: DaffPalette;\n\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'info': Indicatea an informational status.\n * - 'warn': Indicates a warning status.\n * - 'critical': Indicates a critical or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'info' | 'warn' | 'critical' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Info = 'info',\n Warn = 'warn',\n Critical = 'critical',\n Success = 'success'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as info, warning, critical, or success states.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * .custom-component {\n *\n * &.daff-critical {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n * ## Styles\n *\n * The directive applies the following CSS classes based on the status:\n *\n * - `daff-info`: Applied when the status is `info`.\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-critical`: Applied when the status is `critical`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n standalone: true,\n})\nexport class DaffStatusableDirective implements DaffStatusable {\n\n /**\n * Dynamically sets the CSS classes based on the status.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-info': this.status === DaffStatusEnum.Info,\n 'daff-warn': this.status === DaffStatusEnum.Warn,\n 'daff-critical': this.status === DaffStatusEnum.Critical,\n 'daff-success': this.status === DaffStatusEnum.Success,\n };\n }\n\n /**\n * Sets the status on a component.\n */\n @Input() status: DaffStatus;\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * ```\n *\n * ## Styles\n *\n * The `daff-skeleton` class should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n standalone: true,\n})\nexport class DaffSkeletonableDirective {\n @Input() @HostBinding('class.daff-skeleton') skeleton = false;\n}\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use-cases where the\n * application of `text-align:center` would cause unexpected side effects.\n */\n@Directive({\n selector: '[daffTextAlignable]',\n standalone: true,\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges {\n\n /**\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-left': this.textAlignment === DaffTextAlignmentEnum.Left,\n 'daff-center': this.textAlignment === DaffTextAlignmentEnum.Center,\n 'daff-right': this.textAlignment === DaffTextAlignmentEnum.Right,\n };\n }\n\n /**\n * The text-alignment of a component.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default textAlignment.\n */\n public defaultAlignment: DaffTextAlignment;\n\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The `daff-compact` class should be defined in your styles to display the compact\n * state as desired.\n */\n@Directive({\n selector: '[daffCompactable]',\n standalone: true,\n})\nexport class DaffCompactableDirective {\n @Input() @HostBinding('class.daff-compact') compact = false;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n standalone: true,\n})\nexport class DaffManageContainerLayoutDirective {\n @HostBinding('class.daff-manage-container-layout') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n *\n * This directive will apply the `daff-ae` class to your component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n standalone: true,\n})\nexport class DaffArticleEncapsulatedDirective {\n @HostBinding('class.daff-ae') class = true;\n}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n Provider,\n APP_INITIALIZER,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER: Provider[] = [\n DaffThemeClassSetterService,\n {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [DaffThemeClassSetterService],\n useFactory: DAFF_THEME_INIT,\n },\n];\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","import { DOCUMENT } from '@angular/common';\nimport {\n Inject,\n Injectable,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizableEnum,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * ## Usage\n *\n * ### Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * ### Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * ## Styles\n *\n * The directive applies the following CSS classes based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n standalone: true,\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the size.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-xs': this.size === DaffSizableEnum.XSmall,\n 'daff-sm': this.size === DaffSizableEnum.Small,\n 'daff-md': this.size === DaffSizableEnum.Medium,\n 'daff-lg': this.size === DaffSizableEnum.Large,\n 'daff-xl': this.size === DaffSizableEnum.XLarge,\n };\n }\n\n /**\n * The size of a component.\n */\n @Input() size: T;\n\n /**\n * Sets a default size when no size is provided.\n */\n public defaultSize: T;\n\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * ## Example\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n standalone: true,\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Whether or not a component implementing the directive is open */\n @Input() @HostBinding('class.daff-open') open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n} from '@angular/core';\n\nimport { DaffSelectable } from '../selectable/selectable';\n\n@Directive({\n selector: '[daffSelected]',\n standalone: true,\n})\n\nexport class DaffSelectableDirective implements DaffSelectable {\n /** Whether or not a component implementing the directive is selected */\n @Input() @HostBinding('class.daff-selected') selected = false;\n\n /**\n * An event that fires after the media element becomes selected.\n */\n @Output() becameSelected: EventEmitter<void> = new EventEmitter<void>();\n\n constructor(private cd: ChangeDetectorRef) {}\n\n select() {\n this.selected = true;\n this.becameSelected.emit();\n this.cd.markForCheck();\n return this;\n }\n\n deselect() {\n this.selected = false;\n this.cd.markForCheck();\n return this;\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\nexport * from './selectable/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/core/public_api';\nexport * from './atoms/form/form-field/public_api';\nexport * from './atoms/form/error-message/public_api';\nexport * from './atoms/form/input/public_api';\nexport * from './atoms/form/native-select/public_api';\nexport * from './atoms/form/checkbox/public_api';\nexport * from './atoms/form/quantity-field/public_api';\nexport * from './atoms/form/radio/public_api';\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i2.DaffCheckboxComponent","i2.DaffInputComponent","i3.DaffNativeSelectComponent","i3.DaffQuantityInputComponent","i4.DaffQuantitySelectComponent","i1.DaffRadioSetComponent","i2.DaffRadioRegistry","i3.DaffRadioComponent","i1.DaffOsThemeService","i2.DaffThemeStorageService","i1.DaffThemingService"],"mappings":";;;;;;;;;;;;;;;MAEa,qBAAqB,CAAA;IAEhC,YAAY,CAAC,OAA2B,EAAE,aAAsB,EAAA;QAC9D,OAAO,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,OAAO,IAAI,aAAa,CAAC,CAAC;KAC7D;AACF;;ACLD;;;;;;;;;;AAUG;MACmB,oBAAoB,CAAA;AAQzC,CAAA;AAAA;;ACrBM,MAAM,kCAAkC,GAAG,8DAA8D;;ACehH;AACA;MAOa,sBAAsB,CAAA;AANnC,IAAA,WAAA,GAAA;AAQE;;AAEG;QACH,IAAa,CAAA,aAAA,GAAG,aAAa,CAAC;QAEQ,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC;AAEnD;;;;;AAKG;;QAEM,IAAa,CAAA,aAAA,GAAY,KAAK,CAAC;AASxC;;;AAGG;QACH,IAAO,CAAA,OAAA,GAAG,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