@daffodil/design 0.70.0 → 0.72.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 (467) hide show
  1. package/README.md +36 -40
  2. package/accordion/README.md +13 -16
  3. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +6 -2
  4. package/accordion/accordion.module.d.ts +4 -5
  5. package/accordion/public_api.d.ts +0 -1
  6. package/accordion/src/accordion-theme.scss +11 -1
  7. package/atoms/form/quantity-field/quantity-field.component.d.ts +2 -1
  8. package/callout/callout/callout.component.d.ts +1 -31
  9. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +5 -5
  10. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +20 -9
  11. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +4 -4
  12. package/esm2022/accordion/accordion.module.mjs +7 -12
  13. package/esm2022/accordion/examples/accordion-examples.module.mjs +5 -5
  14. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +5 -5
  15. package/esm2022/accordion/public_api.mjs +1 -2
  16. package/esm2022/article/article/article.component.mjs +4 -4
  17. package/esm2022/article/article-lead/article-lead.directive.mjs +4 -4
  18. package/esm2022/article/article-meta/article-meta.directive.mjs +4 -4
  19. package/esm2022/article/article-title/article-title.directive.mjs +4 -4
  20. package/esm2022/article/article.module.mjs +5 -5
  21. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +4 -4
  22. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +4 -4
  23. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +4 -4
  24. package/esm2022/article/examples/article-examples.module.mjs +5 -5
  25. package/esm2022/article/examples/article-headings/article-headings.component.mjs +4 -4
  26. package/esm2022/article/examples/article-hr/article-hr.component.mjs +4 -4
  27. package/esm2022/article/examples/article-lead/article-lead.component.mjs +4 -4
  28. package/esm2022/article/examples/article-link/article-link.component.mjs +4 -4
  29. package/esm2022/article/examples/article-meta/article-meta.component.mjs +4 -4
  30. package/esm2022/article/examples/article-ol/article-ol.component.mjs +4 -4
  31. package/esm2022/article/examples/article-table/article-table.component.mjs +4 -4
  32. package/esm2022/article/examples/article-ul/article-ul.component.mjs +4 -4
  33. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +4 -4
  34. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +5 -5
  35. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +4 -4
  36. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +4 -4
  37. package/esm2022/atoms/form/error-message/error-message.component.mjs +4 -4
  38. package/esm2022/atoms/form/error-message/error-message.module.mjs +5 -5
  39. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +4 -4
  40. package/esm2022/atoms/form/form-field/form-field.module.mjs +5 -5
  41. package/esm2022/atoms/form/form-label/form-label.directive.mjs +4 -4
  42. package/esm2022/atoms/form/form-label/form-label.module.mjs +5 -5
  43. package/esm2022/atoms/form/input/input.component.mjs +4 -4
  44. package/esm2022/atoms/form/input/input.module.mjs +5 -5
  45. package/esm2022/atoms/form/native-select/native-select.component.mjs +4 -4
  46. package/esm2022/atoms/form/native-select/native-select.module.mjs +5 -5
  47. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +9 -6
  48. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +5 -5
  49. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +4 -4
  50. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +4 -4
  51. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +4 -4
  52. package/esm2022/atoms/form/radio/radio.component.mjs +4 -4
  53. package/esm2022/atoms/form/radio/radio.module.mjs +5 -5
  54. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +4 -4
  55. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +4 -4
  56. package/esm2022/button/button/button.component.mjs +4 -4
  57. package/esm2022/button/button.module.mjs +5 -5
  58. package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -4
  59. package/esm2022/button/examples/basic-button/basic-button.module.mjs +5 -5
  60. package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -4
  61. package/esm2022/button/examples/flat-button/flat-button.module.mjs +5 -5
  62. package/esm2022/button/examples/icon-button/icon-button.component.mjs +4 -4
  63. package/esm2022/button/examples/icon-button/icon-button.module.mjs +5 -5
  64. package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -4
  65. package/esm2022/button/examples/raised-button/raised-button.module.mjs +5 -5
  66. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +4 -4
  67. package/esm2022/button/examples/sizeable-button/sizeable-button.module.mjs +5 -5
  68. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +4 -4
  69. package/esm2022/button/examples/statusable-button/statusable-button.module.mjs +5 -5
  70. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -4
  71. package/esm2022/button/examples/stroked-button/stroked-button.module.mjs +5 -5
  72. package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -4
  73. package/esm2022/button/examples/underline-button/underline-button.module.mjs +5 -5
  74. package/esm2022/callout/callout/callout.component.mjs +7 -37
  75. package/esm2022/callout/callout-body/callout-body.directive.mjs +4 -4
  76. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +4 -4
  77. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +4 -4
  78. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +4 -4
  79. package/esm2022/callout/callout-title/callout-title.directive.mjs +4 -4
  80. package/esm2022/callout/callout.module.mjs +5 -5
  81. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +4 -4
  82. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +5 -5
  83. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +4 -4
  84. package/esm2022/callout/examples/callout-theming/callout-theming.module.mjs +5 -5
  85. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +4 -4
  86. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.module.mjs +5 -5
  87. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +4 -4
  88. package/esm2022/callout/examples/compact-callout/compact-callout.module.mjs +5 -5
  89. package/esm2022/card/card/card.component.mjs +4 -4
  90. package/esm2022/card/card-actions/card-actions.directive.mjs +4 -4
  91. package/esm2022/card/card-content/card-content.directive.mjs +4 -4
  92. package/esm2022/card/card-icon/card-icon.directive.mjs +4 -4
  93. package/esm2022/card/card-image/card-image.directive.mjs +4 -4
  94. package/esm2022/card/card-tagline/card-tagline.directive.mjs +4 -4
  95. package/esm2022/card/card-title/card-title.directive.mjs +4 -4
  96. package/esm2022/card/card.module.mjs +5 -5
  97. package/esm2022/card/examples/basic-card/basic-card.component.mjs +4 -4
  98. package/esm2022/card/examples/basic-card/basic-card.module.mjs +5 -5
  99. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +4 -4
  100. package/esm2022/card/examples/card-orientation/card-orientation.module.mjs +5 -5
  101. package/esm2022/card/examples/card-theming/card-theming.component.mjs +4 -4
  102. package/esm2022/card/examples/card-theming/card-theming.module.mjs +5 -5
  103. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +4 -4
  104. package/esm2022/card/examples/linkable-card/linkable-card.module.mjs +5 -5
  105. package/esm2022/card/examples/raised-card/raised-card.component.mjs +4 -4
  106. package/esm2022/card/examples/raised-card/raised-card.module.mjs +5 -5
  107. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +4 -4
  108. package/esm2022/card/examples/stroked-card/stroked-card.module.mjs +5 -5
  109. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -4
  110. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +5 -5
  111. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -4
  112. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.module.mjs +5 -5
  113. package/esm2022/container/container/container.component.mjs +4 -4
  114. package/esm2022/container/container.module.mjs +5 -5
  115. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +4 -4
  116. package/esm2022/container/examples/container-sizes/container-sizes.module.mjs +5 -5
  117. package/esm2022/core/focus/stack.service.mjs +4 -4
  118. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +5 -5
  119. package/esm2022/core/prefix-suffix/prefix.directive.mjs +4 -4
  120. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +4 -4
  121. package/esm2022/core/prefix-suffix/suffix.directive.mjs +4 -4
  122. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +4 -4
  123. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +4 -4
  124. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +4 -4
  125. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +4 -4
  126. package/esm2022/core/theming/services/theming.service.mjs +4 -4
  127. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +4 -4
  128. package/esm2022/hero/examples/compact-hero/compact-hero.module.mjs +5 -5
  129. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +4 -4
  130. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +5 -5
  131. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +4 -4
  132. package/esm2022/hero/examples/hero-theming/hero-theming.module.mjs +5 -5
  133. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +4 -4
  134. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.module.mjs +5 -5
  135. package/esm2022/hero/hero/hero.component.mjs +7 -38
  136. package/esm2022/hero/hero-body/hero-body.directive.mjs +4 -4
  137. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +4 -4
  138. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +4 -4
  139. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +4 -4
  140. package/esm2022/hero/hero-title/hero-title.directive.mjs +4 -4
  141. package/esm2022/hero/hero.module.mjs +5 -5
  142. package/esm2022/image/examples/basic-image/basic-image.component.mjs +4 -4
  143. package/esm2022/image/examples/basic-image/basic-image.module.mjs +5 -5
  144. package/esm2022/image/examples/load-image/load-image.component.mjs +4 -4
  145. package/esm2022/image/examples/load-image/load-image.module.mjs +5 -5
  146. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +4 -4
  147. package/esm2022/image/examples/skeleton-image/skeleton-image.module.mjs +5 -5
  148. package/esm2022/image/image/image.component.mjs +4 -4
  149. package/esm2022/image/image.module.mjs +5 -5
  150. package/esm2022/input/examples/basic-input/basic-input.component.mjs +4 -4
  151. package/esm2022/input/examples/basic-input/basic-input.module.mjs +5 -5
  152. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +4 -4
  153. package/esm2022/input/examples/input-disabled/input-disabled.module.mjs +5 -5
  154. package/esm2022/input/examples/input-error/input-error.component.mjs +4 -4
  155. package/esm2022/input/examples/input-error/input-error.module.mjs +5 -5
  156. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +4 -4
  157. package/esm2022/input/examples/input-with-form-field/input-with-form-field.module.mjs +5 -5
  158. package/esm2022/link-set/link-set/link-set.component.mjs +4 -4
  159. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +4 -4
  160. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +4 -4
  161. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +4 -4
  162. package/esm2022/link-set/link-set.module.mjs +5 -5
  163. package/esm2022/list/examples/basic-list/basic-list.component.mjs +4 -4
  164. package/esm2022/list/examples/basic-list/basic-list.module.mjs +5 -5
  165. package/esm2022/list/examples/icon-list/icon-list.component.mjs +4 -4
  166. package/esm2022/list/examples/icon-list/icon-list.module.mjs +5 -5
  167. package/esm2022/list/examples/list-examples.module.mjs +5 -5
  168. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +4 -4
  169. package/esm2022/list/examples/multiline-list/multiline-list.module.mjs +5 -5
  170. package/esm2022/list/examples/nav-list/nav-list.component.mjs +4 -4
  171. package/esm2022/list/examples/nav-list/nav-list.module.mjs +5 -5
  172. package/esm2022/list/list/list.component.mjs +7 -45
  173. package/esm2022/list/list-item/list-item.component.mjs +4 -4
  174. package/esm2022/list/list.module.mjs +5 -10
  175. package/esm2022/list/public_api.mjs +1 -2
  176. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +19 -11
  177. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +9 -9
  178. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +4 -4
  179. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +5 -5
  180. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +4 -4
  181. package/esm2022/loading-icon/loading-icon.module.mjs +5 -5
  182. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +4 -4
  183. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +5 -5
  184. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +4 -4
  185. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +5 -5
  186. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +4 -4
  187. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +5 -5
  188. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +4 -4
  189. package/esm2022/media-gallery/media-gallery.module.mjs +5 -5
  190. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +4 -4
  191. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +4 -4
  192. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +4 -4
  193. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +4 -4
  194. package/esm2022/menu/examples/basic-menu/basic-menu.module.mjs +5 -5
  195. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +4 -4
  196. package/esm2022/menu/menu/menu.component.mjs +4 -4
  197. package/esm2022/menu/menu-activator/menu-activator.component.mjs +4 -4
  198. package/esm2022/menu/menu-item/menu-item.component.mjs +4 -4
  199. package/esm2022/menu/menu.module.mjs +5 -5
  200. package/esm2022/menu/services/menu.service.mjs +4 -4
  201. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +5 -5
  202. package/esm2022/modal/examples/basic-modal/basic-modal.module.mjs +5 -5
  203. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +4 -4
  204. package/esm2022/modal/modal/modal.component.mjs +20 -12
  205. package/esm2022/modal/modal-actions/modal-actions.component.mjs +4 -4
  206. package/esm2022/modal/modal-content/modal-content.component.mjs +4 -4
  207. package/esm2022/modal/modal-header/modal-header.component.mjs +4 -4
  208. package/esm2022/modal/modal-title/modal-title.directive.mjs +4 -4
  209. package/esm2022/modal/modal.module.mjs +11 -5
  210. package/esm2022/modal/service/modal.service.mjs +20 -21
  211. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +4 -4
  212. package/esm2022/navbar/examples/basic-navbar/basic-navbar.module.mjs +5 -5
  213. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +4 -4
  214. package/esm2022/navbar/examples/contained-navbar/contained-navbar.module.mjs +5 -5
  215. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +4 -4
  216. package/esm2022/navbar/examples/navbar-theming/navbar-theming.module.mjs +5 -5
  217. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +4 -4
  218. package/esm2022/navbar/examples/raised-navbar/raised-navbar.module.mjs +5 -5
  219. package/esm2022/navbar/navbar/navbar.component.mjs +4 -4
  220. package/esm2022/navbar/navbar.module.mjs +5 -5
  221. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +4 -4
  222. package/esm2022/notification/examples/default-notification/default-notification.module.mjs +5 -5
  223. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +18 -0
  224. package/esm2022/notification/examples/{dismissable-notification/dismissable-notification.module.mjs → dismissible-notification/dismissible-notification.module.mjs} +10 -10
  225. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +4 -4
  226. package/esm2022/notification/examples/notification-orientations/notification-orientations.module.mjs +5 -5
  227. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +4 -4
  228. package/esm2022/notification/examples/notification-status/notification-status.module.mjs +5 -5
  229. package/esm2022/notification/examples/public_api.mjs +4 -4
  230. package/esm2022/notification/notification/notification.component.mjs +8 -8
  231. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +4 -4
  232. package/esm2022/notification/notification-message/notification-message.directive.mjs +4 -4
  233. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +4 -4
  234. package/esm2022/notification/notification-title/notification-title.directive.mjs +4 -4
  235. package/esm2022/notification/notification.module.mjs +5 -5
  236. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +4 -4
  237. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +4 -4
  238. package/esm2022/paginator/examples/paginator-examples.module.mjs +5 -5
  239. package/esm2022/paginator/paginator/paginator.component.mjs +9 -25
  240. package/esm2022/paginator/paginator.module.mjs +5 -5
  241. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +4 -4
  242. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.module.mjs +5 -5
  243. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +4 -4
  244. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.module.mjs +5 -5
  245. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +4 -4
  246. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.module.mjs +5 -5
  247. package/esm2022/progress-bar/progress-bar.component.mjs +4 -4
  248. package/esm2022/progress-bar/progress-bar.module.mjs +5 -5
  249. package/esm2022/public_api.mjs +1 -8
  250. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +4 -4
  251. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.module.mjs +5 -5
  252. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +4 -4
  253. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.module.mjs +5 -5
  254. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +4 -4
  255. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.module.mjs +5 -5
  256. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +4 -4
  257. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.module.mjs +5 -5
  258. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +4 -4
  259. package/esm2022/radio/examples/basic-radio/basic-radio.module.mjs +5 -5
  260. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +4 -4
  261. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +5 -5
  262. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +4 -4
  263. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.module.mjs +5 -5
  264. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +4 -4
  265. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.module.mjs +5 -5
  266. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +4 -4
  267. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.module.mjs +5 -5
  268. package/esm2022/sidebar/sidebar/sidebar.component.mjs +4 -4
  269. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +4 -4
  270. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +4 -4
  271. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +4 -4
  272. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +4 -4
  273. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +4 -4
  274. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +4 -8
  275. package/esm2022/sidebar/sidebar.module.mjs +5 -5
  276. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -4
  277. package/esm2022/toast/examples/default-toast/default-toast.module.mjs +5 -5
  278. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +4 -4
  279. package/esm2022/toast/examples/toast-positions/toast-positions.module.mjs +5 -5
  280. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +4 -4
  281. package/esm2022/toast/examples/toast-status/toast-status.module.mjs +5 -5
  282. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -4
  283. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.module.mjs +5 -5
  284. package/esm2022/toast/service/position.service.mjs +4 -4
  285. package/esm2022/toast/service/toast.service.mjs +4 -4
  286. package/esm2022/toast/toast/toast-template.component.mjs +4 -4
  287. package/esm2022/toast/toast/toast.component.mjs +4 -4
  288. package/esm2022/toast/toast-actions/toast-actions.directive.mjs +4 -4
  289. package/esm2022/toast/toast-message/toast-message.directive.mjs +4 -4
  290. package/esm2022/toast/toast-title/toast-title.directive.mjs +4 -4
  291. package/esm2022/toast/toast.module.mjs +5 -5
  292. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +4 -4
  293. package/esm2022/tree/examples/basic-tree/basic-tree.module.mjs +5 -5
  294. package/esm2022/tree/tree/tree.component.mjs +4 -4
  295. package/esm2022/tree/tree-item/tree-item.directive.mjs +4 -4
  296. package/esm2022/tree/tree.module.mjs +5 -5
  297. package/fesm2022/daffodil-design-accordion-examples.mjs +8 -8
  298. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  299. package/fesm2022/daffodil-design-accordion.mjs +33 -46
  300. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  301. package/fesm2022/daffodil-design-article-examples.mjs +37 -37
  302. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  303. package/fesm2022/daffodil-design-article.mjs +16 -16
  304. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  305. package/fesm2022/daffodil-design-button-examples.mjs +56 -56
  306. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  307. package/fesm2022/daffodil-design-button.mjs +7 -7
  308. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  309. package/fesm2022/daffodil-design-callout-examples.mjs +28 -28
  310. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  311. package/fesm2022/daffodil-design-callout.mjs +26 -56
  312. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  313. package/fesm2022/daffodil-design-card-examples.mjs +42 -42
  314. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  315. package/fesm2022/daffodil-design-card.mjs +25 -25
  316. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  317. package/fesm2022/daffodil-design-checkbox-examples.mjs +14 -14
  318. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  319. package/fesm2022/daffodil-design-container-examples.mjs +7 -7
  320. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  321. package/fesm2022/daffodil-design-container.mjs +7 -7
  322. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  323. package/fesm2022/daffodil-design-hero-examples.mjs +28 -28
  324. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  325. package/fesm2022/daffodil-design-hero.mjs +26 -57
  326. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  327. package/fesm2022/daffodil-design-image-examples.mjs +21 -21
  328. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  329. package/fesm2022/daffodil-design-image.mjs +7 -7
  330. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  331. package/fesm2022/daffodil-design-input-examples.mjs +28 -28
  332. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  333. package/fesm2022/daffodil-design-link-set.mjs +16 -16
  334. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  335. package/fesm2022/daffodil-design-list-examples.mjs +32 -32
  336. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  337. package/fesm2022/daffodil-design-list.mjs +14 -79
  338. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  339. package/fesm2022/daffodil-design-loading-icon-examples.mjs +33 -25
  340. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  341. package/fesm2022/daffodil-design-loading-icon.mjs +7 -7
  342. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  343. package/fesm2022/daffodil-design-media-gallery-examples.mjs +21 -21
  344. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  345. package/fesm2022/daffodil-design-media-gallery.mjs +16 -16
  346. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  347. package/fesm2022/daffodil-design-menu-examples.mjs +10 -10
  348. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  349. package/fesm2022/daffodil-design-menu.mjs +16 -16
  350. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  351. package/fesm2022/daffodil-design-modal-examples.mjs +10 -10
  352. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  353. package/fesm2022/daffodil-design-modal.mjs +104 -93
  354. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  355. package/fesm2022/daffodil-design-navbar-examples.mjs +28 -28
  356. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  357. package/fesm2022/daffodil-design-navbar.mjs +7 -7
  358. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  359. package/fesm2022/daffodil-design-notification-examples.mjs +35 -35
  360. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  361. package/fesm2022/daffodil-design-notification.mjs +23 -23
  362. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  363. package/fesm2022/daffodil-design-paginator-examples.mjs +10 -10
  364. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  365. package/fesm2022/daffodil-design-paginator.mjs +11 -27
  366. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  367. package/fesm2022/daffodil-design-progress-bar-examples.mjs +21 -21
  368. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  369. package/fesm2022/daffodil-design-progress-bar.mjs +7 -7
  370. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  371. package/fesm2022/daffodil-design-quantity-field-examples.mjs +28 -28
  372. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  373. package/fesm2022/daffodil-design-radio-examples.mjs +7 -7
  374. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  375. package/fesm2022/daffodil-design-sidebar-examples.mjs +28 -28
  376. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  377. package/fesm2022/daffodil-design-sidebar.mjs +25 -29
  378. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  379. package/fesm2022/daffodil-design-toast-examples.mjs +28 -28
  380. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  381. package/fesm2022/daffodil-design-toast.mjs +25 -25
  382. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  383. package/fesm2022/daffodil-design-tree-examples.mjs +7 -7
  384. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  385. package/fesm2022/daffodil-design-tree.mjs +10 -10
  386. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  387. package/fesm2022/daffodil-design.mjs +171 -709
  388. package/fesm2022/daffodil-design.mjs.map +1 -1
  389. package/hero/README.md +0 -6
  390. package/hero/hero/hero.component.d.ts +1 -32
  391. package/list/README.md +13 -60
  392. package/list/list/list.component.d.ts +1 -30
  393. package/list/list.module.d.ts +4 -5
  394. package/list/public_api.d.ts +0 -1
  395. package/list/src/list-theme.scss +0 -34
  396. package/loading-icon/README.md +18 -5
  397. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +6 -2
  398. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +3 -3
  399. package/menu/README.md +15 -3
  400. package/modal/examples/basic-modal/basic-modal.component.d.ts +2 -2
  401. package/modal/modal/modal.component.d.ts +5 -3
  402. package/modal/service/modal.service.d.ts +3 -3
  403. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +6 -0
  404. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +11 -0
  405. package/notification/notification/notification.component.d.ts +2 -2
  406. package/package.json +1 -1
  407. package/paginator/paginator/paginator.component.d.ts +4 -24
  408. package/paginator/src/paginator-theme.scss +0 -55
  409. package/public_api.d.ts +0 -6
  410. package/scss/theme.scss +0 -2
  411. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +0 -4
  412. package/accordion/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -9
  413. package/atoms/progress-indicator/animation/progress-indicator-animation.d.ts +0 -4
  414. package/atoms/progress-indicator/progress-indicator.component.d.ts +0 -57
  415. package/atoms/progress-indicator/progress-indicator.module.d.ts +0 -8
  416. package/atoms/progress-indicator/public_api.d.ts +0 -2
  417. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -22
  418. package/esm2022/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -8
  419. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +0 -82
  420. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
  421. package/esm2022/atoms/progress-indicator/public_api.mjs +0 -3
  422. package/esm2022/list/list-subheader/list-subheader.directive.mjs +0 -25
  423. package/esm2022/molecules/button-set/button-set.component.mjs +0 -23
  424. package/esm2022/molecules/button-set/button-set.module.mjs +0 -20
  425. package/esm2022/molecules/button-set/public_api.mjs +0 -3
  426. package/esm2022/molecules/feature/feature/feature.component.mjs +0 -49
  427. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
  428. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
  429. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
  430. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
  431. package/esm2022/molecules/feature/feature.module.mjs +0 -44
  432. package/esm2022/molecules/feature/public_api.mjs +0 -7
  433. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
  434. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
  435. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +0 -33
  436. package/esm2022/molecules/image-gallery/public_api.mjs +0 -4
  437. package/esm2022/molecules/image-list/image-list.component.mjs +0 -20
  438. package/esm2022/molecules/image-list/image-list.module.mjs +0 -24
  439. package/esm2022/molecules/image-list/public_api.mjs +0 -3
  440. package/esm2022/molecules/qty-dropdown/public_api.mjs +0 -3
  441. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -113
  442. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
  443. package/esm2022/notification/examples/dismissable-notification/dismissable-notification.component.mjs +0 -18
  444. package/list/list-subheader/list-subheader.directive.d.ts +0 -12
  445. package/molecules/button-set/button-set.component.d.ts +0 -12
  446. package/molecules/button-set/button-set.module.d.ts +0 -7
  447. package/molecules/button-set/public_api.d.ts +0 -2
  448. package/molecules/feature/feature/feature.component.d.ts +0 -26
  449. package/molecules/feature/feature-icon/feature-icon.directive.d.ts +0 -9
  450. package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +0 -9
  451. package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +0 -9
  452. package/molecules/feature/feature-title/feature-title.directive.d.ts +0 -9
  453. package/molecules/feature/feature.module.d.ts +0 -12
  454. package/molecules/feature/public_api.d.ts +0 -6
  455. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +0 -10
  456. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +0 -8
  457. package/molecules/image-gallery/image-gallery.module.d.ts +0 -10
  458. package/molecules/image-gallery/public_api.d.ts +0 -3
  459. package/molecules/image-list/image-list.component.d.ts +0 -9
  460. package/molecules/image-list/image-list.module.d.ts +0 -8
  461. package/molecules/image-list/public_api.d.ts +0 -2
  462. package/molecules/qty-dropdown/public_api.d.ts +0 -2
  463. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +0 -61
  464. package/molecules/qty-dropdown/qty-dropdown.module.d.ts +0 -12
  465. package/notification/examples/dismissable-notification/dismissable-notification.component.d.ts +0 -6
  466. package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +0 -11
  467. package/src/atoms/progress-indicator/progress-indicator-theme.scss +0 -60
@@ -6,11 +6,10 @@ import * as i2$1 from '@fortawesome/angular-fontawesome';
6
6
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
7
7
  import { faChevronDown } from '@fortawesome/free-solid-svg-icons';
8
8
  import * as i1 from '@angular/forms';
9
- import { UntypedFormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
9
+ import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
10
10
  import { coerceNumberProperty } from '@angular/cdk/coercion';
11
11
  import { Subject, fromEventPattern, of, merge, fromEvent, EMPTY, combineLatest } from 'rxjs';
12
12
  import { takeUntil, startWith, map, catchError, filter, shareReplay } from 'rxjs/operators';
13
- import { trigger, state, style, transition, animate } from '@angular/animations';
14
13
  import { DaffServerSafePersistenceServiceToken } from '@daffodil/core';
15
14
 
16
15
  class DaffErrorStateMatcher {
@@ -115,10 +114,10 @@ class DaffFormFieldComponent {
115
114
  ngAfterContentChecked() {
116
115
  this._validateFormControl();
117
116
  }
118
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
119
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffFormFieldComponent, selector: "daff-form-field", inputs: { formSubmitted: "formSubmitted" }, host: { properties: { "class.daff-form-field": "this.class" } }, queries: [{ propertyName: "_control", first: true, predicate: DaffFormFieldControl, descendants: true }], ngImport: i0, template: "<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", styles: [".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], encapsulation: i0.ViewEncapsulation.None }); }
117
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
118
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffFormFieldComponent, selector: "daff-form-field", inputs: { formSubmitted: "formSubmitted" }, host: { properties: { "class.daff-form-field": "this.class" } }, queries: [{ propertyName: "_control", first: true, predicate: DaffFormFieldControl, descendants: true }], ngImport: i0, template: "<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", styles: [".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], encapsulation: i0.ViewEncapsulation.None }); }
120
119
  }
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldComponent, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldComponent, decorators: [{
122
121
  type: Component,
123
122
  args: [{ selector: 'daff-form-field', encapsulation: ViewEncapsulation.None, template: "<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", styles: [".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}\n"] }]
124
123
  }], propDecorators: { class: [{
@@ -135,10 +134,10 @@ class DaffErrorMessageComponent {
135
134
  constructor() {
136
135
  this.class = true;
137
136
  }
138
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
139
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffErrorMessageComponent, selector: "daff-error-message", host: { properties: { "class.daff-error-message": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
137
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
138
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffErrorMessageComponent, selector: "daff-error-message", host: { properties: { "class.daff-error-message": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
140
139
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageComponent, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageComponent, decorators: [{
142
141
  type: Component,
143
142
  args: [{ selector: 'daff-error-message', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"] }]
144
143
  }], propDecorators: { class: [{
@@ -147,11 +146,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
147
146
  }] } });
148
147
 
149
148
  class DaffErrorMessageModule {
150
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
151
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageModule, declarations: [DaffErrorMessageComponent], exports: [DaffErrorMessageComponent] }); }
152
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageModule }); }
149
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
150
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageModule, declarations: [DaffErrorMessageComponent], exports: [DaffErrorMessageComponent] }); }
151
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageModule }); }
153
152
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffErrorMessageModule, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffErrorMessageModule, decorators: [{
155
154
  type: NgModule,
156
155
  args: [{
157
156
  exports: [
@@ -164,16 +163,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
164
163
  }] });
165
164
 
166
165
  class DaffFormFieldModule {
167
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
168
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldModule, declarations: [DaffFormFieldComponent], imports: [CommonModule,
166
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
167
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldModule, declarations: [DaffFormFieldComponent], imports: [CommonModule,
169
168
  FontAwesomeModule,
170
169
  DaffErrorMessageModule], exports: [DaffFormFieldComponent,
171
170
  DaffErrorMessageModule] }); }
172
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldModule, imports: [CommonModule,
171
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldModule, imports: [CommonModule,
173
172
  FontAwesomeModule,
174
173
  DaffErrorMessageModule, DaffErrorMessageModule] }); }
175
174
  }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormFieldModule, decorators: [{
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormFieldModule, decorators: [{
177
176
  type: NgModule,
178
177
  args: [{
179
178
  imports: [
@@ -219,13 +218,13 @@ class DaffInputComponent {
219
218
  onFocus() {
220
219
  this._elementRef.nativeElement.focus();
221
220
  }
222
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
223
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffInputComponent, selector: "input[daff-input]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" } }, providers: [
221
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
222
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffInputComponent, selector: "input[daff-input]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" } }, providers: [
224
223
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
225
224
  { provide: DaffFormFieldControl, useExisting: DaffInputComponent },
226
225
  ], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{border:none;border-radius:4px;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;padding:0;width:100%;box-sizing:border-box}:host:focus{border:none;box-shadow:none;outline:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
227
226
  }
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffInputComponent, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffInputComponent, decorators: [{
229
228
  type: Component,
230
229
  args: [{ selector: 'input[daff-input]', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
231
230
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
@@ -246,11 +245,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
246
245
  }] } });
247
246
 
248
247
  class DaffInputModule {
249
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
250
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffInputModule, declarations: [DaffInputComponent], imports: [CommonModule], exports: [DaffInputComponent] }); }
251
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffInputModule, imports: [CommonModule] }); }
248
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
249
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffInputModule, declarations: [DaffInputComponent], imports: [CommonModule], exports: [DaffInputComponent] }); }
250
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffInputModule, imports: [CommonModule] }); }
252
251
  }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffInputModule, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffInputModule, decorators: [{
254
253
  type: NgModule,
255
254
  args: [{
256
255
  imports: [
@@ -295,13 +294,13 @@ class DaffNativeSelectComponent {
295
294
  onFocus() {
296
295
  this._elementRef.nativeElement.focus();
297
296
  }
298
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
299
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" }, properties: { "class.daff-native-select": "this.class" } }, providers: [
297
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
298
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" }, properties: { "class.daff-native-select": "this.class" } }, providers: [
300
299
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
301
300
  { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },
302
301
  ], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-native-select{appearance:none;background:transparent;background-clip:padding-box;border:0;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;min-width:45px;width:100%}.daff-native-select:focus{border:0;box-shadow:none;outline:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
303
302
  }
304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectComponent, decorators: [{
303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectComponent, decorators: [{
305
304
  type: Component,
306
305
  args: [{ selector: 'select[daff-native-select]', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
307
306
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
@@ -325,11 +324,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
325
324
  }] } });
326
325
 
327
326
  class DaffNativeSelectModule {
328
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
329
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectModule, declarations: [DaffNativeSelectComponent], imports: [CommonModule], exports: [DaffNativeSelectComponent] }); }
330
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectModule, imports: [CommonModule] }); }
327
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
328
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectModule, declarations: [DaffNativeSelectComponent], imports: [CommonModule], exports: [DaffNativeSelectComponent] }); }
329
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectModule, imports: [CommonModule] }); }
331
330
  }
332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffNativeSelectModule, decorators: [{
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNativeSelectModule, decorators: [{
333
332
  type: NgModule,
334
333
  args: [{
335
334
  imports: [
@@ -446,10 +445,10 @@ class DaffCheckboxComponent {
446
445
  this.checked = false;
447
446
  this._cdRef.markForCheck();
448
447
  }
449
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
450
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffCheckboxComponent, selector: "daff-checkbox", inputs: { name: "name", value: "value", checked: "checked", id: "id", label: ["aria-label", "label"], labeledBy: ["aria-labelledby", "labeledBy"] }, outputs: { becameChecked: "becameChecked", becameUnchecked: "becameUnchecked" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, viewQueries: [{ propertyName: "nativeCheckbox", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<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>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
448
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
449
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffCheckboxComponent, selector: "daff-checkbox", inputs: { name: "name", value: "value", checked: "checked", id: "id", label: ["aria-label", "label"], labeledBy: ["aria-labelledby", "labeledBy"] }, outputs: { becameChecked: "becameChecked", becameUnchecked: "becameUnchecked" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, viewQueries: [{ propertyName: "nativeCheckbox", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<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>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
451
450
  }
452
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxComponent, decorators: [{
451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxComponent, decorators: [{
453
452
  type: Component,
454
453
  args: [{ selector: 'daff-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<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>" }]
455
454
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { nativeCheckbox: [{
@@ -553,10 +552,10 @@ class DaffCheckboxControlValueAccessorDirective {
553
552
  fireDeselect() {
554
553
  this._checkbox.deselect();
555
554
  }
556
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffCheckboxComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
557
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffCheckboxControlValueAccessorDirective, selector: "daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
555
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffCheckboxComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
556
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffCheckboxControlValueAccessorDirective, selector: "daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
558
557
  }
559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, decorators: [{
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, decorators: [{
560
559
  type: Directive,
561
560
  args: [{
562
561
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -586,10 +585,10 @@ class DaffCheckboxSetComponent {
586
585
  const checkboxes = this.checkboxes.toArray();
587
586
  return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);
588
587
  }
589
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
590
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffCheckboxSetComponent, selector: "daff-checkbox-set", inputs: { formArray: "formArray", name: "name" }, outputs: { valueList: "valueList" }, host: { properties: { "attr.role": "this.role" } }, queries: [{ propertyName: "checkboxes", predicate: DaffCheckboxComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
588
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
589
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffCheckboxSetComponent, selector: "daff-checkbox-set", inputs: { formArray: "formArray", name: "name" }, outputs: { valueList: "valueList" }, host: { properties: { "attr.role": "this.role" } }, queries: [{ propertyName: "checkboxes", predicate: DaffCheckboxComponent }], ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
591
590
  }
592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxSetComponent, decorators: [{
591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxSetComponent, decorators: [{
593
592
  type: Component,
594
593
  args: [{ selector: 'daff-checkbox-set', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
595
594
  }], propDecorators: { formArray: [{
@@ -607,17 +606,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
607
606
  }] } });
608
607
 
609
608
  class DaffCheckboxModule {
610
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
611
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxModule, declarations: [DaffCheckboxComponent,
609
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
610
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxModule, declarations: [DaffCheckboxComponent,
612
611
  DaffCheckboxSetComponent,
613
612
  DaffCheckboxControlValueAccessorDirective], imports: [CommonModule], exports: [DaffCheckboxComponent,
614
613
  DaffCheckboxSetComponent,
615
614
  DaffCheckboxControlValueAccessorDirective] }); }
616
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxModule, providers: [
615
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxModule, providers: [
617
616
  DaffCheckboxSetComponent,
618
617
  ], imports: [CommonModule] }); }
619
618
  }
620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffCheckboxModule, decorators: [{
619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffCheckboxModule, decorators: [{
621
620
  type: NgModule,
622
621
  args: [{
623
622
  exports: [
@@ -712,10 +711,10 @@ class DaffQuantityInputComponent {
712
711
  ? this._inputControl.disable()
713
712
  : this._inputControl.enable();
714
713
  }
715
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityInputComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
716
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: { min: "min", max: "max" }, viewQueries: [{ propertyName: "input", first: true, predicate: DaffInputComponent, descendants: true }], ngImport: i0, template: "<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", dependencies: [{ kind: "component", type: DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
714
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityInputComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
715
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: { min: "min", max: "max" }, viewQueries: [{ propertyName: "input", first: true, predicate: DaffInputComponent, descendants: true }], ngImport: i0, template: "<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", dependencies: [{ kind: "component", type: DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
717
716
  }
718
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityInputComponent, decorators: [{
717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityInputComponent, decorators: [{
719
718
  type: Component,
720
719
  args: [{ selector: 'daff-quantity-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<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" }]
721
720
  }], ctorParameters: () => [{ type: i1.NgControl }, { type: i0.ChangeDetectorRef }], propDecorators: { input: [{
@@ -787,10 +786,10 @@ class DaffQuantitySelectComponent {
787
786
  get valueArray() {
788
787
  return makeValueArray(this.min, this.max, this.increment);
789
788
  }
790
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantitySelectComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
791
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: { min: "min", max: "max", extendable: "extendable" }, viewQueries: [{ propertyName: "select", first: true, predicate: DaffNativeSelectComponent, descendants: true }], ngImport: i0, template: "<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", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
789
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantitySelectComponent, deps: [{ token: i1.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
790
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: { min: "min", max: "max", extendable: "extendable" }, viewQueries: [{ propertyName: "select", first: true, predicate: DaffNativeSelectComponent, descendants: true }], ngImport: i0, template: "<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", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
792
791
  }
793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantitySelectComponent, decorators: [{
792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantitySelectComponent, decorators: [{
794
793
  type: Component,
795
794
  args: [{ selector: 'daff-quantity-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<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" }]
796
795
  }], ctorParameters: () => [{ type: i1.NgControl }, { type: i0.ChangeDetectorRef }], propDecorators: { select: [{
@@ -859,6 +858,7 @@ class DaffQuantityFieldComponent {
859
858
  * before it becomes an input element.
860
859
  */
861
860
  this.selectMax = 10;
861
+ this.id = '';
862
862
  this.disabled = false;
863
863
  this._quantity = 1;
864
864
  this._inputHasBeenShown = false;
@@ -891,16 +891,16 @@ class DaffQuantityFieldComponent {
891
891
  this.input.focus();
892
892
  }
893
893
  }
894
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
895
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: { min: "min", max: "max", selectMax: "selectMax" }, providers: [
894
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
895
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: { min: "min", max: "max", selectMax: "selectMax", id: "id" }, providers: [
896
896
  {
897
897
  provide: DaffFormFieldControl,
898
898
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
899
899
  useExisting: DaffQuantityFieldComponent,
900
900
  },
901
- ], viewQueries: [{ propertyName: "input", first: true, predicate: DaffQuantityInputComponent, descendants: true }, { propertyName: "select", first: true, predicate: DaffQuantitySelectComponent, descendants: true }], ngImport: i0, template: "<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\" [max]=\"_maxFloor\" [extendable]=\"max > selectMax\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\" [max]=\"max\">\n</daff-quantity-input>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: ["min", "max"] }, { kind: "component", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: ["min", "max", "extendable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
901
+ ], viewQueries: [{ propertyName: "input", first: true, predicate: DaffQuantityInputComponent, descendants: true }, { propertyName: "select", first: true, predicate: DaffQuantitySelectComponent, descendants: true }], ngImport: i0, template: "<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", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: ["min", "max"] }, { kind: "component", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: ["min", "max", "extendable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
902
902
  }
903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldComponent, decorators: [{
903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldComponent, decorators: [{
904
904
  type: Component,
905
905
  args: [{ selector: 'daff-quantity-field', providers: [
906
906
  {
@@ -908,7 +908,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
908
908
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
909
909
  useExisting: DaffQuantityFieldComponent,
910
910
  },
911
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-quantity-select\n *ngIf=\"showSelectField\"\n [min]=\"min\" [max]=\"_maxFloor\" [extendable]=\"max > selectMax\">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf=\"showInputField\"\n [min]=\"min\" [max]=\"max\">\n</daff-quantity-input>\n" }]
911
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<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" }]
912
912
  }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
913
913
  type: Optional
914
914
  }, {
@@ -925,11 +925,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
925
925
  type: Input
926
926
  }], selectMax: [{
927
927
  type: Input
928
+ }], id: [{
929
+ type: Input
928
930
  }] } });
929
931
 
930
932
  class DaffQuantityFieldModule {
931
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
932
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldModule, declarations: [DaffQuantityFieldComponent,
933
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
934
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldModule, declarations: [DaffQuantityFieldComponent,
933
935
  DaffQuantityInputComponent,
934
936
  DaffQuantitySelectComponent], imports: [CommonModule,
935
937
  DaffNativeSelectModule,
@@ -937,12 +939,12 @@ class DaffQuantityFieldModule {
937
939
  ReactiveFormsModule], exports: [DaffQuantityFieldComponent,
938
940
  DaffQuantityInputComponent,
939
941
  DaffQuantitySelectComponent] }); }
940
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldModule, imports: [CommonModule,
942
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldModule, imports: [CommonModule,
941
943
  DaffNativeSelectModule,
942
944
  DaffInputModule,
943
945
  ReactiveFormsModule] }); }
944
946
  }
945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQuantityFieldModule, decorators: [{
947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQuantityFieldModule, decorators: [{
946
948
  type: NgModule,
947
949
  args: [{
948
950
  declarations: [
@@ -964,163 +966,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
964
966
  }]
965
967
  }] });
966
968
 
967
- const daffProgressIndicatorAnimation = {
968
- fill: trigger('fill', [
969
- state('*', style({ width: '{{ percentage }}%' }), { params: { percentage: 0 } }),
970
- transition('* <=> *', animate(1000)),
971
- ]),
972
- };
973
-
974
- var DaffPaletteEnum;
975
- (function (DaffPaletteEnum) {
976
- DaffPaletteEnum["PRIMARY"] = "primary";
977
- DaffPaletteEnum["SECONDARY"] = "secondary";
978
- DaffPaletteEnum["ACCENT"] = "accent";
979
- DaffPaletteEnum["TERTIARY"] = "tertiary";
980
- DaffPaletteEnum["BLACK"] = "black";
981
- DaffPaletteEnum["WHITE"] = "white";
982
- DaffPaletteEnum["THEME"] = "theme";
983
- DaffPaletteEnum["THEMECONTRAST"] = "theme-contrast";
984
- })(DaffPaletteEnum || (DaffPaletteEnum = {}));
985
-
986
- function colorInPalette(color) {
987
- return Object.values(DaffPaletteEnum).includes(color);
988
- }
989
-
990
- /**
991
- * This should be a trait, but typescript only supports mixins.
992
- * See: https://github.com/Microsoft/TypeScript/issues/311
993
- *
994
- * Turns out the material team followed the same path with the color mixin.
995
- * https://github.com/angular/material2/blob/master/src/lib/core/common-behaviors/color.ts
996
- */
997
- function daffColorMixin(Base, defaultColor) {
998
- class DaffColorableMixinClass extends Base {
999
- get color() {
1000
- return this._color;
1001
- }
1002
- set color(value) {
1003
- //Handle the default color
1004
- const incomingColor = value || defaultColor;
1005
- if (incomingColor !== undefined && !colorInPalette(incomingColor)) {
1006
- throw new TypeError(incomingColor + ' is not a valid color for the DaffPalette');
1007
- }
1008
- if (incomingColor !== this._color) { //Only run the dom-render if a change occurs
1009
- //Remove the old color
1010
- if (this._color) {
1011
- this._renderer.removeClass(this._elementRef.nativeElement, `daff-${this._color}`);
1012
- }
1013
- if (incomingColor) {
1014
- this._renderer.addClass(this._elementRef.nativeElement, `daff-${incomingColor}`);
1015
- }
1016
- this._color = incomingColor;
1017
- }
1018
- }
1019
- constructor(...args) {
1020
- super(...args);
1021
- this.color = defaultColor;
1022
- }
1023
- }
1024
- ;
1025
- // TODO: ugly workaround for https://github.com/microsoft/TypeScript/issues/7342#issuecomment-624298133
1026
- Input()(DaffColorableMixinClass.prototype, 'color');
1027
- return DaffColorableMixinClass;
1028
- }
1029
-
1030
- /**
1031
- * An _elementRef and an instance of renderer2 are needed for the Colorable mixin
1032
- */
1033
- class DaffProgressIndicatorBase {
1034
- constructor(_elementRef, _renderer) {
1035
- this._elementRef = _elementRef;
1036
- this._renderer = _renderer;
1037
- }
1038
- }
1039
- const _daffProgressIndicatorBase = daffColorMixin(DaffProgressIndicatorBase, 'primary');
1040
- /**
1041
- * @deprecated in v1.0.0
1042
- * Use `DaffProgressBarComponent` instead.
1043
- */
1044
- class DaffProgressIndicatorComponent extends _daffProgressIndicatorBase {
1045
- /**
1046
- * Calculates when the progress animation is fully completed
1047
- *
1048
- * @param event: AnimationEvent
1049
- */
1050
- onAnimationComplete(event) {
1051
- // @ts-expect-error: @angular/animations typing error on event.toState as string
1052
- // See: https://github.com/angular/angular/issues/26507
1053
- if (event.toState === '100' || event.toState === 100) {
1054
- this.finished.emit();
1055
- }
1056
- }
1057
- /**
1058
- * @docs-private
1059
- */
1060
- get fillState() {
1061
- return {
1062
- value: this.percentage,
1063
- params: {
1064
- percentage: this.percentage,
1065
- },
1066
- };
1067
- }
1068
- constructor(elementRef, renderer) {
1069
- super(elementRef, renderer);
1070
- this.elementRef = elementRef;
1071
- this.renderer = renderer;
1072
- /**
1073
- * @docs-private
1074
- */
1075
- this.class = true;
1076
- /**
1077
- * The percentage completion of the progression,
1078
- * expressed as a whole number between 0 and 100.
1079
- *
1080
- */
1081
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
1082
- this.percentage = 0;
1083
- /**
1084
- * An event that emits each time the progression reaches 100%
1085
- * and the animation is finished
1086
- */
1087
- this.finished = new EventEmitter();
1088
- }
1089
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1090
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffProgressIndicatorComponent, selector: "daff-progress-indicator", inputs: { color: "color", percentage: "percentage" }, outputs: { finished: "finished" }, host: { properties: { "class.daff-progress-indicator": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"daff-progress-indicator__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>", styles: [":host{display:flex;height:3px;width:100%}\n"], animations: [
1091
- daffProgressIndicatorAnimation.fill,
1092
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1093
- }
1094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorComponent, decorators: [{
1095
- type: Component,
1096
- args: [{ selector: 'daff-progress-indicator', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], animations: [
1097
- daffProgressIndicatorAnimation.fill,
1098
- ], template: "<div class=\"daff-progress-indicator__fill\" [@fill]=\"fillState\" (@fill.done)=\"onAnimationComplete($event)\"></div>", styles: [":host{display:flex;height:3px;width:100%}\n"] }]
1099
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { class: [{
1100
- type: HostBinding,
1101
- args: ['class.daff-progress-indicator']
1102
- }], percentage: [{
1103
- type: Input
1104
- }], finished: [{
1105
- type: Output
1106
- }] } });
1107
-
1108
- class DaffProgressIndicatorModule {
1109
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1110
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorModule, declarations: [DaffProgressIndicatorComponent], imports: [CommonModule], exports: [DaffProgressIndicatorComponent] }); }
1111
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorModule, imports: [CommonModule] }); }
1112
- }
1113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffProgressIndicatorModule, decorators: [{
1114
- type: NgModule,
1115
- args: [{
1116
- declarations: [DaffProgressIndicatorComponent],
1117
- imports: [
1118
- CommonModule,
1119
- ],
1120
- exports: [DaffProgressIndicatorComponent],
1121
- }]
1122
- }] });
1123
-
1124
969
  class DaffRadioSetComponent {
1125
970
  constructor() {
1126
971
  /**
@@ -1128,10 +973,10 @@ class DaffRadioSetComponent {
1128
973
  */
1129
974
  this.role = 'radiogroup';
1130
975
  }
1131
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1132
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffRadioSetComponent, selector: "daff-radio-set", inputs: { name: "name" }, host: { properties: { "attr.role": "this.role" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
976
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
977
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffRadioSetComponent, selector: "daff-radio-set", inputs: { name: "name" }, host: { properties: { "attr.role": "this.role" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1133
978
  }
1134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioSetComponent, decorators: [{
979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioSetComponent, decorators: [{
1135
980
  type: Component,
1136
981
  args: [{ selector: 'daff-radio-set', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
1137
982
  }], ctorParameters: () => [], propDecorators: { name: [{
@@ -1234,10 +1079,10 @@ class DaffRadioComponent {
1234
1079
  this.select();
1235
1080
  }
1236
1081
  ;
1237
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioComponent, deps: [{ token: DaffRadioSetComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1238
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffRadioComponent, selector: "daff-radio", inputs: { checked: "checked", value: "value", id: "id", name: "name", label: ["aria-label", "label"], labelledby: ["aria-labelledby", "labelledby"] }, outputs: { selectionChange: "selectionChange" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, ngImport: i0, template: "<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>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1082
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioComponent, deps: [{ token: DaffRadioSetComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
1083
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffRadioComponent, selector: "daff-radio", inputs: { checked: "checked", value: "value", id: "id", name: "name", label: ["aria-label", "label"], labelledby: ["aria-labelledby", "labelledby"] }, outputs: { selectionChange: "selectionChange" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, ngImport: i0, template: "<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>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1239
1084
  }
1240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioComponent, decorators: [{
1085
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioComponent, decorators: [{
1241
1086
  type: Component,
1242
1087
  args: [{ selector: 'daff-radio', changeDetection: ChangeDetectionStrategy.OnPush, template: "<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>" }]
1243
1088
  }], ctorParameters: () => [{ type: DaffRadioSetComponent, decorators: [{
@@ -1313,10 +1158,10 @@ class DaffRadioRegistry {
1313
1158
  return controlPair['control'].control.parent === accessor._control.control.parent
1314
1159
  && controlPair['accessor'].name === accessor.name;
1315
1160
  }
1316
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1317
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioRegistry, providedIn: 'root' }); }
1161
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1162
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioRegistry, providedIn: 'root' }); }
1318
1163
  }
1319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioRegistry, decorators: [{
1164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioRegistry, decorators: [{
1320
1165
  type: Injectable,
1321
1166
  args: [{ providedIn: 'root' }]
1322
1167
  }] });
@@ -1383,10 +1228,10 @@ class DaffRadioControlValueAccessorDirective {
1383
1228
  fireDeselect() {
1384
1229
  this._radio.deselect();
1385
1230
  }
1386
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffRadioRegistry }, { token: DaffRadioComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
1387
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffRadioControlValueAccessorDirective, selector: "daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
1231
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffRadioRegistry }, { token: DaffRadioComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
1232
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffRadioControlValueAccessorDirective, selector: "daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
1388
1233
  }
1389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioControlValueAccessorDirective, decorators: [{
1234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioControlValueAccessorDirective, decorators: [{
1390
1235
  type: Directive,
1391
1236
  args: [{
1392
1237
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1403,15 +1248,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
1403
1248
  }] } });
1404
1249
 
1405
1250
  class DaffRadioModule {
1406
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1407
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioModule, declarations: [DaffRadioControlValueAccessorDirective,
1251
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1252
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioModule, declarations: [DaffRadioControlValueAccessorDirective,
1408
1253
  DaffRadioComponent,
1409
1254
  DaffRadioSetComponent], imports: [CommonModule], exports: [DaffRadioComponent,
1410
1255
  DaffRadioSetComponent,
1411
1256
  DaffRadioControlValueAccessorDirective] }); }
1412
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioModule, imports: [CommonModule] }); }
1257
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioModule, imports: [CommonModule] }); }
1413
1258
  }
1414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffRadioModule, decorators: [{
1259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffRadioModule, decorators: [{
1415
1260
  type: NgModule,
1416
1261
  args: [{
1417
1262
  exports: [
@@ -1434,10 +1279,10 @@ class DaffFormLabelDirective {
1434
1279
  constructor() {
1435
1280
  this.class = true;
1436
1281
  }
1437
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1438
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffFormLabelDirective, selector: "[daffFormLabel]", host: { properties: { "class.daff-form-label": "this.class" } }, ngImport: i0 }); }
1282
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1283
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffFormLabelDirective, selector: "[daffFormLabel]", host: { properties: { "class.daff-form-label": "this.class" } }, ngImport: i0 }); }
1439
1284
  }
1440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelDirective, decorators: [{
1285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelDirective, decorators: [{
1441
1286
  type: Directive,
1442
1287
  args: [{
1443
1288
  selector: '[daffFormLabel]',
@@ -1448,11 +1293,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
1448
1293
  }] } });
1449
1294
 
1450
1295
  class DaffFormLabelModule {
1451
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1452
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelModule, declarations: [DaffFormLabelDirective], exports: [DaffFormLabelDirective] }); }
1453
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelModule }); }
1296
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1297
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelModule, declarations: [DaffFormLabelDirective], exports: [DaffFormLabelDirective] }); }
1298
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelModule }); }
1454
1299
  }
1455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFormLabelModule, decorators: [{
1300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFormLabelModule, decorators: [{
1456
1301
  type: NgModule,
1457
1302
  args: [{
1458
1303
  exports: [
@@ -1464,445 +1309,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
1464
1309
  }]
1465
1310
  }] });
1466
1311
 
1467
- /**
1468
- * @deprecated in v1.0.0
1469
- */
1470
- class DaffButtonSetComponent {
1471
- constructor() {
1472
- /**
1473
- * @docs-private
1474
- */
1475
- this.class = true;
1476
- }
1477
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1478
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffButtonSetComponent, selector: "daff-button-set", host: { properties: { "class.daff-button-set": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-button-set{display:flex;flex-direction:column;flex-wrap:wrap}@media (min-width: 480px){.daff-button-set{flex-direction:row}}.daff-button-set>*{margin:0 0 5px}.daff-button-set>*:last-child{margin:0}@media (min-width: 480px){.daff-button-set>*{margin:0 5px 0 0}.daff-button-set>*:last-child{margin:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1479
- }
1480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetComponent, decorators: [{
1481
- type: Component,
1482
- args: [{ selector: 'daff-button-set', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".daff-button-set{display:flex;flex-direction:column;flex-wrap:wrap}@media (min-width: 480px){.daff-button-set{flex-direction:row}}.daff-button-set>*{margin:0 0 5px}.daff-button-set>*:last-child{margin:0}@media (min-width: 480px){.daff-button-set>*{margin:0 5px 0 0}.daff-button-set>*:last-child{margin:0}}\n"] }]
1483
- }], propDecorators: { class: [{
1484
- type: HostBinding,
1485
- args: ['class.daff-button-set']
1486
- }] } });
1487
-
1488
- class DaffButtonSetModule {
1489
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1490
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetModule, declarations: [DaffButtonSetComponent], exports: [DaffButtonSetComponent] }); }
1491
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetModule }); }
1492
- }
1493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffButtonSetModule, decorators: [{
1494
- type: NgModule,
1495
- args: [{
1496
- declarations: [
1497
- DaffButtonSetComponent,
1498
- ],
1499
- exports: [
1500
- DaffButtonSetComponent,
1501
- ],
1502
- }]
1503
- }] });
1504
-
1505
- class DaffImageListComponent {
1506
- constructor() {
1507
- /**
1508
- * @docs-private
1509
- */
1510
- this.class = true;
1511
- }
1512
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1513
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffImageListComponent, selector: "daff-image-list", host: { properties: { "class.daff-image-list": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1514
- }
1515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListComponent, decorators: [{
1516
- type: Component,
1517
- args: [{ selector: 'daff-image-list', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush }]
1518
- }], propDecorators: { class: [{
1519
- type: HostBinding,
1520
- args: ['class.daff-image-list']
1521
- }] } });
1522
-
1523
- /**
1524
- * @deprecated See {@link DaffMediaGalleryComponent}
1525
- */
1526
- class DaffImageGalleryComponent {
1527
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1528
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffImageGalleryComponent, selector: "daff-image-gallery", ngImport: i0, template: "<div class=\"daff-image-gallery\">\n <div class=\"daff-image-gallery__active-image\">\n <ng-content select=\"[daff-active-image]\"></ng-content>\n </div>\n\n <daff-image-list class=\"daff-image-gallery__image-list\">\n <ng-content select=\"daff-gallery-image\"></ng-content>\n </daff-image-list>\n</div>\n", styles: [".daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:\"active-image\" \"image-list\";max-height:100%}@media (min-width: 1024px){.daff-image-gallery{grid-template-areas:\"image-list active-image\";max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width: 1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}\n"], dependencies: [{ kind: "component", type: DaffImageListComponent, selector: "daff-image-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1529
- }
1530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryComponent, decorators: [{
1531
- type: Component,
1532
- args: [{ selector: 'daff-image-gallery', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"daff-image-gallery\">\n <div class=\"daff-image-gallery__active-image\">\n <ng-content select=\"[daff-active-image]\"></ng-content>\n </div>\n\n <daff-image-list class=\"daff-image-gallery__image-list\">\n <ng-content select=\"daff-gallery-image\"></ng-content>\n </daff-image-list>\n</div>\n", styles: [".daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:\"active-image\" \"image-list\";max-height:100%}@media (min-width: 1024px){.daff-image-gallery{grid-template-areas:\"image-list active-image\";max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width: 1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}\n"] }]
1533
- }] });
1534
-
1535
- /**
1536
- * @deprecated See {@link DaffThumbnailDirective}
1537
- */
1538
- class DaffGalleryImageComponent {
1539
- constructor() {
1540
- this.class = true;
1541
- }
1542
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffGalleryImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1543
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffGalleryImageComponent, selector: "daff-gallery-image", inputs: { selected: "selected" }, host: { properties: { "class.daff-image-gallery__daff-gallery-image--selected": "this.selected", "class.daff-image-gallery__daff-gallery-image": "this.class" } }, ngImport: i0, template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1544
- }
1545
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffGalleryImageComponent, decorators: [{
1546
- type: Component,
1547
- args: [{ selector: 'daff-gallery-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>" }]
1548
- }], propDecorators: { selected: [{
1549
- type: HostBinding,
1550
- args: ['class.daff-image-gallery__daff-gallery-image--selected']
1551
- }, {
1552
- type: Input
1553
- }], class: [{
1554
- type: HostBinding,
1555
- args: ['class.daff-image-gallery__daff-gallery-image']
1556
- }] } });
1557
-
1558
- class DaffImageListModule {
1559
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1560
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListModule, declarations: [DaffImageListComponent], imports: [CommonModule], exports: [DaffImageListComponent] }); }
1561
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListModule, imports: [CommonModule] }); }
1562
- }
1563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageListModule, decorators: [{
1564
- type: NgModule,
1565
- args: [{
1566
- imports: [
1567
- CommonModule,
1568
- ],
1569
- declarations: [
1570
- DaffImageListComponent,
1571
- ],
1572
- exports: [
1573
- DaffImageListComponent,
1574
- ],
1575
- }]
1576
- }] });
1577
-
1578
- class DaffImageGalleryModule {
1579
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1580
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryModule, declarations: [DaffImageGalleryComponent,
1581
- DaffGalleryImageComponent], imports: [CommonModule,
1582
- DaffImageListModule], exports: [DaffImageGalleryComponent,
1583
- DaffGalleryImageComponent] }); }
1584
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryModule, imports: [CommonModule,
1585
- DaffImageListModule] }); }
1586
- }
1587
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffImageGalleryModule, decorators: [{
1588
- type: NgModule,
1589
- args: [{
1590
- imports: [
1591
- CommonModule,
1592
- DaffImageListModule,
1593
- ],
1594
- declarations: [
1595
- DaffImageGalleryComponent,
1596
- DaffGalleryImageComponent,
1597
- ],
1598
- exports: [
1599
- DaffImageGalleryComponent,
1600
- DaffGalleryImageComponent,
1601
- ],
1602
- }]
1603
- }] });
1604
-
1605
- /**
1606
- * @deprecated See {@link DaffQuantityFieldComponent}
1607
- */
1608
- // ChangeDetection is ignored because this component is deprecated and will be removed
1609
- // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
1610
- class DaffQtyDropdownComponent {
1611
- constructor(renderer) {
1612
- this.renderer = renderer;
1613
- this.dropdownRange = 9;
1614
- this.qtyChanged = new EventEmitter();
1615
- /**
1616
- * @docs-private
1617
- */
1618
- this.onChange = (qty) => { };
1619
- /**
1620
- * @docs-private
1621
- */
1622
- this.onTouched = () => { };
1623
- }
1624
- /**
1625
- * @docs-private
1626
- */
1627
- ngOnInit() {
1628
- this.dropdownItemCounter = Array.from(Array(this.dropdownRange), (x, i) => i);
1629
- if (!this.qty) {
1630
- this.qty = 1;
1631
- }
1632
- }
1633
- /**
1634
- * @docs-private
1635
- */
1636
- writeValue(qty) {
1637
- this.qty = qty;
1638
- this.onChange(this.qty);
1639
- }
1640
- /**
1641
- * @docs-private
1642
- */
1643
- registerOnChange(fn) {
1644
- this.onChange = fn;
1645
- }
1646
- /**
1647
- * @docs-private
1648
- */
1649
- registerOnTouched(fn) {
1650
- this.onTouched = fn;
1651
- }
1652
- /**
1653
- * @docs-private
1654
- */
1655
- setDisabledState(isDisabled) {
1656
- if (this.inputHasBeenShown) {
1657
- this.renderer.setProperty(document.getElementById('input_' + this.id), 'disabled', isDisabled);
1658
- }
1659
- else {
1660
- this.renderer.setProperty(document.getElementById('select_' + this.id), 'disabled', isDisabled);
1661
- }
1662
- }
1663
- /**
1664
- * @docs-private
1665
- */
1666
- get showQtyInputField() {
1667
- if (!this.isQtyOutsideDropdownRange() && !this.inputHasBeenShown) {
1668
- return false;
1669
- }
1670
- else {
1671
- this.inputHasBeenShown = true;
1672
- return true;
1673
- }
1674
- }
1675
- /**
1676
- * @docs-private
1677
- */
1678
- onChangedWrapper(value) {
1679
- value = parseInt(value, 10);
1680
- if (value === 10) {
1681
- this.selectInput();
1682
- }
1683
- this.qtyChanged.emit(value);
1684
- this.onChange(value);
1685
- }
1686
- isQtyOutsideDropdownRange() {
1687
- return this.qty > this.dropdownRange;
1688
- }
1689
- selectInput() {
1690
- // TODO: readdress this method
1691
- // why use `setTimeout` instead of angular patterns?
1692
- setTimeout(() => {
1693
- const input = document.getElementById('input_' + this.id);
1694
- input?.select();
1695
- });
1696
- }
1697
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1698
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffQtyDropdownComponent, selector: "daff-qty-dropdown", inputs: { qty: "qty", id: "id" }, outputs: { qtyChanged: "qtyChanged" }, ngImport: i0, template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { kind: "component", type: DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }] }); }
1699
- }
1700
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownComponent, decorators: [{
1701
- type: Component,
1702
- args: [{ selector: 'daff-qty-dropdown', template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"] }]
1703
- }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { qty: [{
1704
- type: Input
1705
- }], id: [{
1706
- type: Input
1707
- }], qtyChanged: [{
1708
- type: Output
1709
- }] } });
1710
-
1711
- class DaffQtyDropdownModule {
1712
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1713
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownModule, declarations: [DaffQtyDropdownComponent], imports: [CommonModule,
1714
- FormsModule,
1715
- DaffFormFieldModule,
1716
- DaffNativeSelectModule,
1717
- DaffInputModule], exports: [DaffQtyDropdownComponent] }); }
1718
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownModule, imports: [CommonModule,
1719
- FormsModule,
1720
- DaffFormFieldModule,
1721
- DaffNativeSelectModule,
1722
- DaffInputModule] }); }
1723
- }
1724
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffQtyDropdownModule, decorators: [{
1725
- type: NgModule,
1726
- args: [{
1727
- imports: [
1728
- CommonModule,
1729
- FormsModule,
1730
- DaffFormFieldModule,
1731
- DaffNativeSelectModule,
1732
- DaffInputModule,
1733
- ],
1734
- declarations: [
1735
- DaffQtyDropdownComponent,
1736
- ],
1737
- exports: [
1738
- DaffQtyDropdownComponent,
1739
- ],
1740
- }]
1741
- }] });
1742
-
1743
- var DaffFeatureModeEnum;
1744
- (function (DaffFeatureModeEnum) {
1745
- DaffFeatureModeEnum["Compact"] = "compact";
1746
- DaffFeatureModeEnum["Normal"] = "normal";
1747
- })(DaffFeatureModeEnum || (DaffFeatureModeEnum = {}));
1748
- /**
1749
- * @deprecated See {@link DaffCardComponent}
1750
- */
1751
- class DaffFeatureComponent {
1752
- constructor() {
1753
- /**
1754
- * @docs-private
1755
- */
1756
- this.class = true;
1757
- this.mode = DaffFeatureModeEnum.Normal;
1758
- }
1759
- /**
1760
- * @docs-private
1761
- */
1762
- get compact() {
1763
- return this.mode === DaffFeatureModeEnum.Compact;
1764
- }
1765
- /**
1766
- * @docs-private
1767
- */
1768
- get normal() {
1769
- return this.mode === DaffFeatureModeEnum.Normal;
1770
- }
1771
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1772
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: DaffFeatureComponent, selector: "daff-feature", inputs: { mode: "mode" }, host: { properties: { "class.daff-feature": "this.class", "class.daff-feature--compact": "this.compact", "class.daff-feature--normal": "this.normal" } }, ngImport: i0, template: "<ng-content select=\"[daffFeatureIcon]\"></ng-content>\n<div class=\"daff-feature__content\">\n <ng-content select=\"[daffFeatureSubheader]\"></ng-content>\n <ng-content select=\"[daffFeatureTitle]\"></ng-content>\n <ng-content select=\"[daffFeatureSubtitle]\"></ng-content>\n <ng-content></ng-content>\n</div>", styles: [".daff-feature{border-radius:10px;display:flex}.daff-feature__icon{display:inline-block;max-width:30px}@media (min-width: 480px){.daff-feature__icon{max-width:50px}}.daff-feature__subheader{text-transform:uppercase;font-size:.75rem;letter-spacing:.075rem;line-height:1rem}@media (min-width: 480px){.daff-feature__subheader{font-size:.875rem}}.daff-feature__title{font-weight:700;margin:0 0 15px;padding:0}.daff-feature__subtitle{font-size:1rem;margin:0;padding:0}.daff-feature--normal{align-items:flex-start;flex-direction:column;padding:25px}@media (min-width: 480px){.daff-feature--normal{align-items:center;flex-direction:row;padding:50px}}.daff-feature--normal .daff-feature__icon{margin:0 0 15px}@media (min-width: 480px){.daff-feature--normal .daff-feature__icon{margin:0 25px 0 0}}.daff-feature--normal .daff-feature__subheader{margin:0 0 15px}@media (min-width: 480px){.daff-feature--normal .daff-feature__subheader{margin:0 0 30px}}.daff-feature--normal .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width: 480px){.daff-feature--normal .daff-feature__title{font-size:2rem;line-height:2rem}}.daff-feature--compact{align-items:flex-start;flex-direction:column;padding:25px}.daff-feature--compact .daff-feature__icon{margin:0 0 15px}.daff-feature--compact .daff-feature__subheader{margin:0 0 5px}.daff-feature--compact .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width: 480px){.daff-feature--compact .daff-feature__title{font-size:1.5rem;line-height:1.5rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1773
- }
1774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureComponent, decorators: [{
1775
- type: Component,
1776
- args: [{ selector: 'daff-feature', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffFeatureIcon]\"></ng-content>\n<div class=\"daff-feature__content\">\n <ng-content select=\"[daffFeatureSubheader]\"></ng-content>\n <ng-content select=\"[daffFeatureTitle]\"></ng-content>\n <ng-content select=\"[daffFeatureSubtitle]\"></ng-content>\n <ng-content></ng-content>\n</div>", styles: [".daff-feature{border-radius:10px;display:flex}.daff-feature__icon{display:inline-block;max-width:30px}@media (min-width: 480px){.daff-feature__icon{max-width:50px}}.daff-feature__subheader{text-transform:uppercase;font-size:.75rem;letter-spacing:.075rem;line-height:1rem}@media (min-width: 480px){.daff-feature__subheader{font-size:.875rem}}.daff-feature__title{font-weight:700;margin:0 0 15px;padding:0}.daff-feature__subtitle{font-size:1rem;margin:0;padding:0}.daff-feature--normal{align-items:flex-start;flex-direction:column;padding:25px}@media (min-width: 480px){.daff-feature--normal{align-items:center;flex-direction:row;padding:50px}}.daff-feature--normal .daff-feature__icon{margin:0 0 15px}@media (min-width: 480px){.daff-feature--normal .daff-feature__icon{margin:0 25px 0 0}}.daff-feature--normal .daff-feature__subheader{margin:0 0 15px}@media (min-width: 480px){.daff-feature--normal .daff-feature__subheader{margin:0 0 30px}}.daff-feature--normal .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width: 480px){.daff-feature--normal .daff-feature__title{font-size:2rem;line-height:2rem}}.daff-feature--compact{align-items:flex-start;flex-direction:column;padding:25px}.daff-feature--compact .daff-feature__icon{margin:0 0 15px}.daff-feature--compact .daff-feature__subheader{margin:0 0 5px}.daff-feature--compact .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width: 480px){.daff-feature--compact .daff-feature__title{font-size:1.5rem;line-height:1.5rem}}\n"] }]
1777
- }], propDecorators: { class: [{
1778
- type: HostBinding,
1779
- args: ['class.daff-feature']
1780
- }], mode: [{
1781
- type: Input
1782
- }], compact: [{
1783
- type: HostBinding,
1784
- args: ['class.daff-feature--compact']
1785
- }], normal: [{
1786
- type: HostBinding,
1787
- args: ['class.daff-feature--normal']
1788
- }] } });
1789
-
1790
- class DaffFeatureIconDirective {
1791
- constructor() {
1792
- /**
1793
- * @docs-private
1794
- */
1795
- this.class = true;
1796
- }
1797
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1798
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffFeatureIconDirective, selector: "[daffFeatureIcon]", host: { properties: { "class.daff-feature__icon": "this.class" } }, ngImport: i0 }); }
1799
- }
1800
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureIconDirective, decorators: [{
1801
- type: Directive,
1802
- args: [{
1803
- selector: '[daffFeatureIcon]',
1804
- }]
1805
- }], propDecorators: { class: [{
1806
- type: HostBinding,
1807
- args: ['class.daff-feature__icon']
1808
- }] } });
1809
-
1810
- class DaffFeatureSubheaderDirective {
1811
- constructor() {
1812
- /**
1813
- * @docs-private
1814
- */
1815
- this.class = true;
1816
- }
1817
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureSubheaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1818
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffFeatureSubheaderDirective, selector: "[daffFeatureSubheader]", host: { properties: { "class.daff-feature__subheader": "this.class" } }, ngImport: i0 }); }
1819
- }
1820
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureSubheaderDirective, decorators: [{
1821
- type: Directive,
1822
- args: [{
1823
- selector: '[daffFeatureSubheader]',
1824
- }]
1825
- }], propDecorators: { class: [{
1826
- type: HostBinding,
1827
- args: ['class.daff-feature__subheader']
1828
- }] } });
1829
-
1830
- class DaffFeatureSubtitleDirective {
1831
- constructor() {
1832
- /**
1833
- * @docs-private
1834
- */
1835
- this.class = true;
1836
- }
1837
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1838
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffFeatureSubtitleDirective, selector: "[daffFeatureSubtitle]", host: { properties: { "class.daff-feature__subtitle": "this.class" } }, ngImport: i0 }); }
1839
- }
1840
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureSubtitleDirective, decorators: [{
1841
- type: Directive,
1842
- args: [{
1843
- selector: '[daffFeatureSubtitle]',
1844
- }]
1845
- }], propDecorators: { class: [{
1846
- type: HostBinding,
1847
- args: ['class.daff-feature__subtitle']
1848
- }] } });
1849
-
1850
- class DaffFeatureTitleDirective {
1851
- constructor() {
1852
- /**
1853
- * @docs-private
1854
- */
1855
- this.class = true;
1856
- }
1857
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1858
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffFeatureTitleDirective, selector: "[daffFeatureTitle]", host: { properties: { "class.daff-feature__title": "this.class" } }, ngImport: i0 }); }
1859
- }
1860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureTitleDirective, decorators: [{
1861
- type: Directive,
1862
- args: [{
1863
- selector: '[daffFeatureTitle]',
1864
- }]
1865
- }], propDecorators: { class: [{
1866
- type: HostBinding,
1867
- args: ['class.daff-feature__title']
1868
- }] } });
1869
-
1870
- class DaffFeatureModule {
1871
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1872
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureModule, declarations: [DaffFeatureComponent,
1873
- DaffFeatureTitleDirective,
1874
- DaffFeatureSubtitleDirective,
1875
- DaffFeatureIconDirective,
1876
- DaffFeatureSubheaderDirective], imports: [CommonModule], exports: [DaffFeatureComponent,
1877
- DaffFeatureTitleDirective,
1878
- DaffFeatureSubtitleDirective,
1879
- DaffFeatureIconDirective,
1880
- DaffFeatureSubheaderDirective] }); }
1881
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureModule, imports: [CommonModule] }); }
1882
- }
1883
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFeatureModule, decorators: [{
1884
- type: NgModule,
1885
- args: [{
1886
- imports: [
1887
- CommonModule,
1888
- ],
1889
- declarations: [
1890
- DaffFeatureComponent,
1891
- DaffFeatureTitleDirective,
1892
- DaffFeatureSubtitleDirective,
1893
- DaffFeatureIconDirective,
1894
- DaffFeatureSubheaderDirective,
1895
- ],
1896
- exports: [
1897
- DaffFeatureComponent,
1898
- DaffFeatureTitleDirective,
1899
- DaffFeatureSubtitleDirective,
1900
- DaffFeatureIconDirective,
1901
- DaffFeatureSubheaderDirective,
1902
- ],
1903
- }]
1904
- }] });
1905
-
1906
1312
  /**
1907
1313
  *
1908
1314
  * Prefix can be used to place content before another piece of content in components like
@@ -1912,10 +1318,10 @@ class DaffPrefixDirective {
1912
1318
  constructor() {
1913
1319
  this.class = true;
1914
1320
  }
1915
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1916
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffPrefixDirective, selector: "[daffPrefix]", host: { properties: { "class.daff-prefix": "this.class" } }, ngImport: i0 }); }
1321
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1322
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffPrefixDirective, selector: "[daffPrefix]", host: { properties: { "class.daff-prefix": "this.class" } }, ngImport: i0 }); }
1917
1323
  }
1918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixDirective, decorators: [{
1324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixDirective, decorators: [{
1919
1325
  type: Directive,
1920
1326
  args: [{
1921
1327
  selector: '[daffPrefix]',
@@ -1934,10 +1340,10 @@ class DaffSuffixDirective {
1934
1340
  constructor() {
1935
1341
  this.class = true;
1936
1342
  }
1937
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1938
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: DaffSuffixDirective, selector: "[daffSuffix]", host: { properties: { "class.daff-suffix": "this.class" } }, ngImport: i0 }); }
1343
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1344
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: DaffSuffixDirective, selector: "[daffSuffix]", host: { properties: { "class.daff-suffix": "this.class" } }, ngImport: i0 }); }
1939
1345
  }
1940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffSuffixDirective, decorators: [{
1346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffSuffixDirective, decorators: [{
1941
1347
  type: Directive,
1942
1348
  args: [{
1943
1349
  selector: '[daffSuffix]',
@@ -1948,13 +1354,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
1948
1354
  }] } });
1949
1355
 
1950
1356
  class DaffPrefixSuffixModule {
1951
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixSuffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1952
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixSuffixModule, declarations: [DaffPrefixDirective,
1357
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixSuffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1358
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixSuffixModule, declarations: [DaffPrefixDirective,
1953
1359
  DaffSuffixDirective], exports: [DaffPrefixDirective,
1954
1360
  DaffSuffixDirective] }); }
1955
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixSuffixModule }); }
1361
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixSuffixModule }); }
1956
1362
  }
1957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPrefixSuffixModule, decorators: [{
1363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPrefixSuffixModule, decorators: [{
1958
1364
  type: NgModule,
1959
1365
  args: [{
1960
1366
  imports: [],
@@ -1977,10 +1383,10 @@ function daffSuffixableMixin(Base) {
1977
1383
  constructor(...args) {
1978
1384
  super(...args);
1979
1385
  }
1980
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SuffixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1981
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: SuffixableDirective, queries: [{ propertyName: "_suffix", first: true, predicate: DaffSuffixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
1386
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SuffixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1387
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: SuffixableDirective, queries: [{ propertyName: "_suffix", first: true, predicate: DaffSuffixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
1982
1388
  }
1983
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: SuffixableDirective, decorators: [{
1389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: SuffixableDirective, decorators: [{
1984
1390
  type: Directive
1985
1391
  }], ctorParameters: () => [{ type: undefined }], propDecorators: { _suffix: [{
1986
1392
  type: ContentChild,
@@ -1997,10 +1403,10 @@ function daffPrefixableMixin(Base) {
1997
1403
  constructor(...args) {
1998
1404
  super(...args);
1999
1405
  }
2000
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PrefixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
2001
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: PrefixableDirective, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
1406
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: PrefixableDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1407
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.10", type: PrefixableDirective, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
2002
1408
  }
2003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PrefixableDirective, decorators: [{
1409
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: PrefixableDirective, decorators: [{
2004
1410
  type: Directive
2005
1411
  }], ctorParameters: () => [{ type: undefined }], propDecorators: { _prefix: [{
2006
1412
  type: ContentChild,
@@ -2009,6 +1415,62 @@ function daffPrefixableMixin(Base) {
2009
1415
  return PrefixableDirective;
2010
1416
  }
2011
1417
 
1418
+ var DaffPaletteEnum;
1419
+ (function (DaffPaletteEnum) {
1420
+ DaffPaletteEnum["PRIMARY"] = "primary";
1421
+ DaffPaletteEnum["SECONDARY"] = "secondary";
1422
+ DaffPaletteEnum["ACCENT"] = "accent";
1423
+ DaffPaletteEnum["TERTIARY"] = "tertiary";
1424
+ DaffPaletteEnum["BLACK"] = "black";
1425
+ DaffPaletteEnum["WHITE"] = "white";
1426
+ DaffPaletteEnum["THEME"] = "theme";
1427
+ DaffPaletteEnum["THEMECONTRAST"] = "theme-contrast";
1428
+ })(DaffPaletteEnum || (DaffPaletteEnum = {}));
1429
+
1430
+ function colorInPalette(color) {
1431
+ return Object.values(DaffPaletteEnum).includes(color);
1432
+ }
1433
+
1434
+ /**
1435
+ * This should be a trait, but typescript only supports mixins.
1436
+ * See: https://github.com/Microsoft/TypeScript/issues/311
1437
+ *
1438
+ * Turns out the material team followed the same path with the color mixin.
1439
+ * https://github.com/angular/material2/blob/master/src/lib/core/common-behaviors/color.ts
1440
+ */
1441
+ function daffColorMixin(Base, defaultColor) {
1442
+ class DaffColorableMixinClass extends Base {
1443
+ get color() {
1444
+ return this._color;
1445
+ }
1446
+ set color(value) {
1447
+ //Handle the default color
1448
+ const incomingColor = value || defaultColor;
1449
+ if (incomingColor !== undefined && !colorInPalette(incomingColor)) {
1450
+ throw new TypeError(incomingColor + ' is not a valid color for the DaffPalette');
1451
+ }
1452
+ if (incomingColor !== this._color) { //Only run the dom-render if a change occurs
1453
+ //Remove the old color
1454
+ if (this._color) {
1455
+ this._renderer.removeClass(this._elementRef.nativeElement, `daff-${this._color}`);
1456
+ }
1457
+ if (incomingColor) {
1458
+ this._renderer.addClass(this._elementRef.nativeElement, `daff-${incomingColor}`);
1459
+ }
1460
+ this._color = incomingColor;
1461
+ }
1462
+ }
1463
+ constructor(...args) {
1464
+ super(...args);
1465
+ this.color = defaultColor;
1466
+ }
1467
+ }
1468
+ ;
1469
+ // TODO: ugly workaround for https://github.com/microsoft/TypeScript/issues/7342#issuecomment-624298133
1470
+ Input()(DaffColorableMixinClass.prototype, 'color');
1471
+ return DaffColorableMixinClass;
1472
+ }
1473
+
2012
1474
  var DaffBreakpoints;
2013
1475
  (function (DaffBreakpoints) {
2014
1476
  DaffBreakpoints["DESKTOP"] = "(min-width: 1920px)";
@@ -2222,10 +1684,10 @@ class DaffOsThemeService {
2222
1684
  getThemePreference() {
2223
1685
  return this.preference$;
2224
1686
  }
2225
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOsThemeService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2226
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOsThemeService, providedIn: 'root' }); }
1687
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOsThemeService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1688
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOsThemeService, providedIn: 'root' }); }
2227
1689
  }
2228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOsThemeService, decorators: [{
1690
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOsThemeService, decorators: [{
2229
1691
  type: Injectable,
2230
1692
  args: [{
2231
1693
  providedIn: 'root',
@@ -2279,10 +1741,10 @@ class DaffThemeStorageService {
2279
1741
  this.progressStorageEvent(DaffTheme.None);
2280
1742
  this.storage.removeItem(THEME_STORAGE_KEY);
2281
1743
  }
2282
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeStorageService, deps: [{ token: DaffServerSafePersistenceServiceToken }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2283
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeStorageService, providedIn: 'root' }); }
1744
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeStorageService, deps: [{ token: DaffServerSafePersistenceServiceToken }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1745
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeStorageService, providedIn: 'root' }); }
2284
1746
  }
2285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeStorageService, decorators: [{
1747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeStorageService, decorators: [{
2286
1748
  type: Injectable,
2287
1749
  args: [{
2288
1750
  providedIn: 'root',
@@ -2353,10 +1815,10 @@ class DaffThemingService {
2353
1815
  ? this.lightMode()
2354
1816
  : this.darkMode();
2355
1817
  }
2356
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemingService, deps: [{ token: DaffOsThemeService }, { token: DaffThemeStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2357
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemingService, providedIn: 'root' }); }
1818
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemingService, deps: [{ token: DaffOsThemeService }, { token: DaffThemeStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1819
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemingService, providedIn: 'root' }); }
2358
1820
  }
2359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemingService, decorators: [{
1821
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemingService, decorators: [{
2360
1822
  type: Injectable,
2361
1823
  args: [{
2362
1824
  providedIn: 'root',
@@ -2399,10 +1861,10 @@ class DaffThemeClassSetterService {
2399
1861
  this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);
2400
1862
  this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);
2401
1863
  }
2402
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeClassSetterService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }, { token: DaffThemingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2403
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeClassSetterService }); }
1864
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeClassSetterService, deps: [{ token: DOCUMENT }, { token: i0.RendererFactory2 }, { token: DaffThemingService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1865
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeClassSetterService }); }
2404
1866
  }
2405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffThemeClassSetterService, decorators: [{
1867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffThemeClassSetterService, decorators: [{
2406
1868
  type: Injectable
2407
1869
  }], ctorParameters: () => [{ type: undefined, decorators: [{
2408
1870
  type: Inject,
@@ -2483,10 +1945,10 @@ class DaffFocusStackService {
2483
1945
  this.document.activeElement.blur();
2484
1946
  return this.document.activeElement;
2485
1947
  }
2486
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFocusStackService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2487
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFocusStackService, providedIn: 'root' }); }
1948
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFocusStackService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1949
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFocusStackService, providedIn: 'root' }); }
2488
1950
  }
2489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffFocusStackService, decorators: [{
1951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffFocusStackService, decorators: [{
2490
1952
  type: Injectable,
2491
1953
  args: [{ providedIn: 'root' }]
2492
1954
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -2548,5 +2010,5 @@ function daffSizeMixin(Base, defaultSize) {
2548
2010
  * Generated bundle index. Do not edit.
2549
2011
  */
2550
2012
 
2551
- export { DAFF_THEME_INITIALIZER, DaffBreakpoints, DaffButtonSetComponent, DaffButtonSetModule, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFeatureComponent, DaffFeatureIconDirective, DaffFeatureModeEnum, DaffFeatureModule, DaffFeatureSubheaderDirective, DaffFeatureSubtitleDirective, DaffFeatureTitleDirective, DaffFocusStackService, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffFormLabelDirective, DaffFormLabelModule, DaffGalleryImageComponent, DaffImageGalleryComponent, DaffImageGalleryModule, DaffImageListComponent, DaffImageListModule, DaffInputComponent, DaffInputModule, DaffNativeSelectComponent, DaffNativeSelectModule, DaffPrefixDirective, DaffPrefixSuffixModule, DaffProgressIndicatorComponent, DaffProgressIndicatorModule, DaffQtyDropdownComponent, DaffQtyDropdownModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSizableEnum, DaffStatusEnum, DaffSuffixDirective, DaffTextAlignmentEnum, DaffTheme, DaffThemingService, daffArticleEncapsulatedMixin, daffColorMixin, daffCompactableMixin, daffFocusableElementsSelector, daffManageContainerLayoutMixin, daffPrefixableMixin, daffSizeMixin, daffSkeletonableMixin, daffStatusMixin, daffSuffixableMixin, daffTextAlignmentMixin };
2013
+ export { DAFF_THEME_INITIALIZER, DaffBreakpoints, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent, DaffErrorMessageComponent, DaffErrorMessageModule, DaffErrorStateMatcher, DaffFocusStackService, DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldModule, DaffFormLabelDirective, DaffFormLabelModule, DaffInputComponent, DaffInputModule, DaffNativeSelectComponent, DaffNativeSelectModule, DaffPrefixDirective, DaffPrefixSuffixModule, DaffQuantityFieldComponent, DaffQuantityFieldModule, DaffQuantityInputComponent, DaffQuantitySelectComponent, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent, DaffSizableEnum, DaffStatusEnum, DaffSuffixDirective, DaffTextAlignmentEnum, DaffTheme, DaffThemingService, daffArticleEncapsulatedMixin, daffColorMixin, daffCompactableMixin, daffFocusableElementsSelector, daffManageContainerLayoutMixin, daffPrefixableMixin, daffSizeMixin, daffSkeletonableMixin, daffStatusMixin, daffSuffixableMixin, daffTextAlignmentMixin };
2552
2014
  //# sourceMappingURL=daffodil-design.mjs.map