@daffodil/design 0.79.0 → 0.81.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 (774) hide show
  1. package/accordion/accordion.module.d.ts +3 -1
  2. package/accordion/src/accordion-theme.scss +4 -4
  3. package/article/README.md +5 -6
  4. package/article/article.module.d.ts +3 -1
  5. package/article/src/article-theme.scss +8 -8
  6. package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
  7. package/breadcrumb/breadcrumb.module.d.ts +3 -1
  8. package/breadcrumb/src/breadcrumb-theme.scss +3 -3
  9. package/button/button/basic/button.component.d.ts +1 -1
  10. package/button/button/flat/flat.component.d.ts +1 -1
  11. package/button/button/icon/icon.component.d.ts +1 -1
  12. package/button/button/raised/raised.component.d.ts +1 -1
  13. package/button/button/stroked/stroked.component.d.ts +1 -1
  14. package/button/button/underline/underline.component.d.ts +1 -1
  15. package/button/button.module.d.ts +3 -1
  16. package/button/src/button/basic/button-theme.scss +14 -14
  17. package/button/src/button/button-base.scss +3 -3
  18. package/button/src/button/flat/flat-theme.scss +21 -22
  19. package/button/src/button/icon/icon-theme.scss +13 -14
  20. package/button/src/button/raised/raised-theme.scss +32 -45
  21. package/button/src/button/stroked/stroked-theme.scss +18 -21
  22. package/button/src/button/underline/underline-theme.scss +14 -18
  23. package/callout/callout.module.d.ts +3 -1
  24. package/callout/src/callout-theme.scss +11 -17
  25. package/card/card.module.d.ts +1 -1
  26. package/card/src/card-theme-variants/linkable-card.scss +1 -1
  27. package/card/src/card-theme.scss +9 -9
  28. package/container/container.module.d.ts +1 -1
  29. package/core/article-encapsulated/article-encapsulated.directive.d.ts +4 -5
  30. package/core/colorable/colorable.directive.d.ts +28 -18
  31. package/core/compactable/compactable.directive.d.ts +6 -10
  32. package/core/focus/stack.service.d.ts +3 -1
  33. package/core/manage-container-layout/manage-container-layout.directive.d.ts +2 -4
  34. package/core/openable/openable.directive.d.ts +2 -1
  35. package/core/public_api.d.ts +1 -0
  36. package/core/selectable/public_api.d.ts +2 -0
  37. package/core/selectable/selectable.d.ts +7 -0
  38. package/core/selectable/selectable.directive.d.ts +17 -0
  39. package/core/sizable/sizable.directive.d.ts +4 -8
  40. package/core/skeletonable/skeletonable.directive.d.ts +7 -9
  41. package/core/statusable/statusable.directive.d.ts +4 -8
  42. package/core/text-alignable/text-alignable.directive.d.ts +9 -12
  43. package/core/theming/initializer.d.ts +1 -2
  44. package/fesm2022/daffodil-design-accordion-examples.mjs +4 -4
  45. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  46. package/fesm2022/daffodil-design-accordion.mjs +16 -14
  47. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  48. package/fesm2022/daffodil-design-article-examples.mjs +40 -40
  49. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  50. package/fesm2022/daffodil-design-article.mjs +14 -12
  51. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  52. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +4 -4
  53. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
  54. package/fesm2022/daffodil-design-breadcrumb.mjs +13 -11
  55. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  56. package/fesm2022/daffodil-design-button-examples.mjs +32 -32
  57. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  58. package/fesm2022/daffodil-design-button.mjs +43 -41
  59. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  60. package/fesm2022/daffodil-design-callout-examples.mjs +16 -16
  61. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  62. package/fesm2022/daffodil-design-callout.mjs +26 -24
  63. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  64. package/fesm2022/daffodil-design-card-examples.mjs +24 -24
  65. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  66. package/fesm2022/daffodil-design-card.mjs +26 -26
  67. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  68. package/fesm2022/daffodil-design-checkbox-examples.mjs +8 -8
  69. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  70. package/fesm2022/daffodil-design-container-examples.mjs +4 -4
  71. package/fesm2022/daffodil-design-container-examples.mjs.map +1 -1
  72. package/fesm2022/daffodil-design-container.mjs +9 -9
  73. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  74. package/fesm2022/daffodil-design-hero-examples.mjs +16 -16
  75. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  76. package/fesm2022/daffodil-design-hero.mjs +24 -24
  77. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  78. package/fesm2022/daffodil-design-image-examples.mjs +12 -12
  79. package/fesm2022/daffodil-design-image-examples.mjs.map +1 -1
  80. package/fesm2022/daffodil-design-image.mjs +8 -8
  81. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  82. package/fesm2022/daffodil-design-input-examples.mjs +16 -16
  83. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  84. package/fesm2022/daffodil-design-link-set.mjs +18 -18
  85. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  86. package/fesm2022/daffodil-design-list-examples.mjs +16 -16
  87. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  88. package/fesm2022/daffodil-design-list.mjs +21 -14
  89. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  90. package/fesm2022/daffodil-design-loading-icon-examples.mjs +4 -4
  91. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  92. package/fesm2022/daffodil-design-loading-icon.mjs +8 -8
  93. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  94. package/fesm2022/daffodil-design-media-gallery-examples.mjs +12 -12
  95. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  96. package/fesm2022/daffodil-design-media-gallery.mjs +40 -55
  97. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  98. package/fesm2022/daffodil-design-menu-examples.mjs +8 -8
  99. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  100. package/fesm2022/daffodil-design-menu.mjs +18 -18
  101. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  102. package/fesm2022/daffodil-design-modal-examples.mjs +8 -8
  103. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  104. package/fesm2022/daffodil-design-modal.mjs +28 -28
  105. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  106. package/fesm2022/daffodil-design-navbar-examples.mjs +20 -20
  107. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  108. package/fesm2022/daffodil-design-navbar.mjs +8 -8
  109. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  110. package/fesm2022/daffodil-design-notification-examples.mjs +20 -20
  111. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  112. package/fesm2022/daffodil-design-notification.mjs +21 -21
  113. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  114. package/fesm2022/daffodil-design-paginator-examples.mjs +8 -8
  115. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  116. package/fesm2022/daffodil-design-paginator.mjs +9 -9
  117. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  118. package/fesm2022/daffodil-design-progress-bar-examples.mjs +12 -12
  119. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  120. package/fesm2022/daffodil-design-progress-bar.mjs +12 -12
  121. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  122. package/fesm2022/daffodil-design-quantity-field-examples.mjs +16 -16
  123. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  124. package/fesm2022/daffodil-design-radio-examples.mjs +4 -4
  125. package/fesm2022/daffodil-design-radio-examples.mjs.map +1 -1
  126. package/fesm2022/daffodil-design-sidebar-examples.mjs +18 -18
  127. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  128. package/fesm2022/daffodil-design-sidebar.mjs +71 -43
  129. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  130. package/fesm2022/daffodil-design-switch-examples.mjs +109 -0
  131. package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -0
  132. package/fesm2022/daffodil-design-switch.mjs +151 -0
  133. package/fesm2022/daffodil-design-switch.mjs.map +1 -0
  134. package/fesm2022/daffodil-design-tabs-examples.mjs +32 -16
  135. package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -1
  136. package/fesm2022/daffodil-design-tabs.mjs +86 -45
  137. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  138. package/fesm2022/daffodil-design-text-snippet-examples.mjs +4 -4
  139. package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -1
  140. package/fesm2022/daffodil-design-text-snippet.mjs +5 -4
  141. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  142. package/fesm2022/daffodil-design-toast-examples.mjs +16 -16
  143. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  144. package/fesm2022/daffodil-design-toast.mjs +28 -29
  145. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  146. package/fesm2022/daffodil-design-tree-examples.mjs +8 -8
  147. package/fesm2022/daffodil-design-tree-examples.mjs.map +1 -1
  148. package/fesm2022/daffodil-design-tree.mjs +18 -20
  149. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  150. package/fesm2022/daffodil-design.mjs +271 -236
  151. package/fesm2022/daffodil-design.mjs.map +1 -1
  152. package/hero/hero.module.d.ts +1 -1
  153. package/hero/src/hero-theme.scss +11 -17
  154. package/image/image.module.d.ts +1 -1
  155. package/link-set/link-set.module.d.ts +1 -1
  156. package/list/list-item/list-item.component.d.ts +3 -1
  157. package/list/list.module.d.ts +1 -1
  158. package/list/src/list-theme.scss +13 -9
  159. package/loading-icon/loading-icon.module.d.ts +1 -1
  160. package/loading-icon/src/loading-icon-theme.scss +7 -7
  161. package/media-gallery/README.md +2 -2
  162. package/media-gallery/media-gallery.module.d.ts +1 -1
  163. package/media-gallery/src/media-gallery-theme.scss +3 -3
  164. package/media-gallery/thumbnail/thumbnail.directive.d.ts +9 -18
  165. package/menu/src/menu-theme.scss +5 -5
  166. package/modal/modal.module.d.ts +1 -1
  167. package/modal/src/modal-theme.scss +1 -1
  168. package/navbar/README.md +1 -1
  169. package/navbar/navbar.module.d.ts +1 -1
  170. package/navbar/src/navbar-theme.scss +8 -8
  171. package/notification/notification.module.d.ts +1 -1
  172. package/notification/src/notification-theme.scss +12 -12
  173. package/package.json +1 -1
  174. package/paginator/paginator.module.d.ts +1 -1
  175. package/paginator/src/paginator-theme.scss +11 -10
  176. package/progress-bar/progress-bar.module.d.ts +1 -1
  177. package/progress-bar/src/progress-bar-theme.scss +10 -10
  178. package/scss/accessibility/_index.scss +1 -1
  179. package/scss/core/_index.scss +1 -2
  180. package/scss/core/error/error-to-string.scss +13 -0
  181. package/scss/core/map/map-deep-check/map-deep-check.scss +2 -1
  182. package/scss/core/map/map-deep-get/map-deep-get.scss +1 -0
  183. package/scss/core/map/map-get/map-get.scss +23 -0
  184. package/scss/core/map/map-get/map-get.spec.scss +65 -0
  185. package/scss/core/string/split/string-split.scss +10 -7
  186. package/scss/global.scss +2 -1
  187. package/scss/interactions/_index.scss +1 -1
  188. package/scss/interactions/mouse/_clickable.scss +1 -0
  189. package/scss/layout/_index.scss +1 -1
  190. package/scss/state/skeleton/_mixins.scss +2 -2
  191. package/scss/theme.scss +2 -0
  192. package/scss/theming/_configure-theme.scss +2 -2
  193. package/scss/theming/_daff-theme.scss +14 -4
  194. package/scss/theming/_index.scss +1 -1
  195. package/scss/theming/_theme-css-variables.scss +20 -15
  196. package/scss/theming/contrast/luminance/luminance.scss +8 -6
  197. package/scss/theming/illuminate/illuminate.scss +20 -17
  198. package/scss/typography/_classes.scss +2 -1
  199. package/scss/typography/mixins/_font-weight.scss +2 -0
  200. package/scss/typography/mixins/_sizes.scss +4 -4
  201. package/scss/typography/utilities/_index.scss +1 -1
  202. package/scss/typography/utilities/_variables.scss +1 -1
  203. package/sidebar/sidebar-header/sidebar-header.component.d.ts +10 -1
  204. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +13 -11
  205. package/sidebar/sidebar.module.d.ts +1 -1
  206. package/sidebar/src/sidebar-theme.scss +3 -3
  207. package/src/atoms/form/form-field/form-field/form-field-theme.scss +6 -6
  208. package/src/atoms/form/input/input-theme.scss +2 -2
  209. package/src/atoms/form/native-select/native-select-theme.scss +3 -3
  210. package/switch/README.md +61 -0
  211. package/switch/examples/basic-switch/basic-switch.component.d.ts +8 -0
  212. package/switch/examples/disabled-switch/disabled-switch.component.d.ts +7 -0
  213. package/switch/examples/examples.d.ts +5 -0
  214. package/switch/examples/index.d.ts +1 -0
  215. package/switch/examples/loading-switch/loading-switch.component.d.ts +7 -0
  216. package/switch/examples/public_api.d.ts +6 -0
  217. package/switch/examples/switch-error/switch-error.component.d.ts +7 -0
  218. package/switch/examples/switch-label-positions/switch-label-positions.component.d.ts +12 -0
  219. package/switch/index.d.ts +1 -0
  220. package/switch/public_api.d.ts +2 -0
  221. package/switch/src/switch-theme.scss +31 -0
  222. package/switch/switch/label-position.d.ts +10 -0
  223. package/switch/switch/switch.component.d.ts +56 -0
  224. package/switch/switch.d.ts +3 -0
  225. package/tabs/README.md +3 -0
  226. package/tabs/examples/link-tabs/link-tabs.component.d.ts +6 -0
  227. package/tabs/src/tabs-theme.scss +17 -9
  228. package/tabs/tabs/tab/tab.component.d.ts +3 -2
  229. package/tabs/tabs/tab-activator/tab-activator.component.d.ts +5 -4
  230. package/tabs/tabs/tab-label/tab-label.component.d.ts +1 -0
  231. package/tabs/tabs/tab-panel/tab-panel.component.d.ts +1 -0
  232. package/tabs/tabs/tabs.component.d.ts +31 -7
  233. package/toast/src/toast-theme.scss +18 -18
  234. package/toast/toast.module.d.ts +1 -1
  235. package/tree/src/tree-theme.scss +11 -11
  236. package/tree/tree/tree.component.d.ts +1 -2
  237. package/tree/tree-item/tree-item.directive.d.ts +5 -6
  238. package/tree/tree.module.d.ts +1 -1
  239. package/esm2022/accordion/accordion/accordion/accordion.component.mjs +0 -15
  240. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +0 -81
  241. package/esm2022/accordion/accordion/accordion-item-title/accordion-item-title.directive.mjs +0 -23
  242. package/esm2022/accordion/accordion/animation/accordion-animation-state.mjs +0 -9
  243. package/esm2022/accordion/accordion/animation/accordion-animation.mjs +0 -15
  244. package/esm2022/accordion/accordion.mjs +0 -9
  245. package/esm2022/accordion/accordion.module.mjs +0 -34
  246. package/esm2022/accordion/daffodil-design-accordion.mjs +0 -5
  247. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +0 -15
  248. package/esm2022/accordion/examples/daffodil-design-accordion-examples.mjs +0 -5
  249. package/esm2022/accordion/examples/examples.mjs +0 -5
  250. package/esm2022/accordion/examples/index.mjs +0 -2
  251. package/esm2022/accordion/examples/public_api.mjs +0 -3
  252. package/esm2022/accordion/index.mjs +0 -2
  253. package/esm2022/accordion/public_api.mjs +0 -6
  254. package/esm2022/article/article/article.component.mjs +0 -30
  255. package/esm2022/article/article-meta/article-meta.directive.mjs +0 -23
  256. package/esm2022/article/article.mjs +0 -7
  257. package/esm2022/article/article.module.mjs +0 -29
  258. package/esm2022/article/daffodil-design-article.mjs +0 -5
  259. package/esm2022/article/examples/article-blockquote/article-blockquote.component.mjs +0 -15
  260. package/esm2022/article/examples/article-code-block/article-code-block.component.mjs +0 -15
  261. package/esm2022/article/examples/article-code-inline/article-code-inline.component.mjs +0 -15
  262. package/esm2022/article/examples/article-headings/article-headings.component.mjs +0 -15
  263. package/esm2022/article/examples/article-hr/article-hr.component.mjs +0 -15
  264. package/esm2022/article/examples/article-link/article-link.component.mjs +0 -15
  265. package/esm2022/article/examples/article-meta/article-meta.component.mjs +0 -15
  266. package/esm2022/article/examples/article-ol/article-ol.component.mjs +0 -15
  267. package/esm2022/article/examples/article-table/article-table.component.mjs +0 -15
  268. package/esm2022/article/examples/article-ul/article-ul.component.mjs +0 -15
  269. package/esm2022/article/examples/daffodil-design-article-examples.mjs +0 -5
  270. package/esm2022/article/examples/examples.mjs +0 -23
  271. package/esm2022/article/examples/index.mjs +0 -2
  272. package/esm2022/article/examples/public_api.mjs +0 -11
  273. package/esm2022/article/index.mjs +0 -2
  274. package/esm2022/article/public_api.mjs +0 -5
  275. package/esm2022/atoms/form/checkbox/checkbox.component.mjs +0 -142
  276. package/esm2022/atoms/form/checkbox/checkbox.module.mjs +0 -39
  277. package/esm2022/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +0 -94
  278. package/esm2022/atoms/form/checkbox/public_api.mjs +0 -5
  279. package/esm2022/atoms/form/checkbox-set/checkbox-set.component.mjs +0 -38
  280. package/esm2022/atoms/form/core/error-state-matcher/error-state-matcher.mjs +0 -6
  281. package/esm2022/atoms/form/core/public_api.mjs +0 -2
  282. package/esm2022/atoms/form/error-message/error-message.component.mjs +0 -17
  283. package/esm2022/atoms/form/error-message/error-message.module.mjs +0 -20
  284. package/esm2022/atoms/form/error-message/public_api.mjs +0 -3
  285. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +0 -102
  286. package/esm2022/atoms/form/form-field/form-field-control.mjs +0 -15
  287. package/esm2022/atoms/form/form-field/form-field-errors.mjs +0 -2
  288. package/esm2022/atoms/form/form-field/form-field.module.mjs +0 -34
  289. package/esm2022/atoms/form/form-field/public_api.mjs +0 -4
  290. package/esm2022/atoms/form/form-label/form-label.directive.mjs +0 -19
  291. package/esm2022/atoms/form/form-label/form-label.module.mjs +0 -20
  292. package/esm2022/atoms/form/form-label/public_api.mjs +0 -3
  293. package/esm2022/atoms/form/input/input.component.mjs +0 -59
  294. package/esm2022/atoms/form/input/input.module.mjs +0 -24
  295. package/esm2022/atoms/form/input/public_api.mjs +0 -3
  296. package/esm2022/atoms/form/native-select/native-select.component.mjs +0 -64
  297. package/esm2022/atoms/form/native-select/native-select.module.mjs +0 -24
  298. package/esm2022/atoms/form/native-select/public_api.mjs +0 -3
  299. package/esm2022/atoms/form/quantity-field/public_api.mjs +0 -5
  300. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +0 -137
  301. package/esm2022/atoms/form/quantity-field/quantity-field.module.mjs +0 -46
  302. package/esm2022/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +0 -97
  303. package/esm2022/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +0 -84
  304. package/esm2022/atoms/form/radio/cva/radio-cva.directive.mjs +0 -89
  305. package/esm2022/atoms/form/radio/public_api.mjs +0 -5
  306. package/esm2022/atoms/form/radio/radio.component.mjs +0 -132
  307. package/esm2022/atoms/form/radio/radio.module.mjs +0 -34
  308. package/esm2022/atoms/form/radio/registry/radio-registry.mjs +0 -54
  309. package/esm2022/atoms/form/radio-set/radio-set.component.mjs +0 -22
  310. package/esm2022/breadcrumb/breadcrumb/breadcrumb.component.mjs +0 -25
  311. package/esm2022/breadcrumb/breadcrumb-item/breadcrumb-item.directive.mjs +0 -33
  312. package/esm2022/breadcrumb/breadcrumb.mjs +0 -7
  313. package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -26
  314. package/esm2022/breadcrumb/daffodil-design-breadcrumb.mjs +0 -5
  315. package/esm2022/breadcrumb/examples/basic-breadcrumb/basic-breadcrumb.component.mjs +0 -15
  316. package/esm2022/breadcrumb/examples/daffodil-design-breadcrumb-examples.mjs +0 -5
  317. package/esm2022/breadcrumb/examples/index.mjs +0 -2
  318. package/esm2022/breadcrumb/examples/public_api.mjs +0 -5
  319. package/esm2022/breadcrumb/index.mjs +0 -2
  320. package/esm2022/breadcrumb/public_api.mjs +0 -5
  321. package/esm2022/button/button/basic/button.component.mjs +0 -48
  322. package/esm2022/button/button/button-base.directive.mjs +0 -105
  323. package/esm2022/button/button/button-sizable.directive.mjs +0 -14
  324. package/esm2022/button/button/flat/flat.component.mjs +0 -48
  325. package/esm2022/button/button/icon/icon.component.mjs +0 -44
  326. package/esm2022/button/button/raised/raised.component.mjs +0 -48
  327. package/esm2022/button/button/stroked/stroked.component.mjs +0 -48
  328. package/esm2022/button/button/underline/underline.component.mjs +0 -48
  329. package/esm2022/button/button.mjs +0 -17
  330. package/esm2022/button/button.module.mjs +0 -58
  331. package/esm2022/button/daffodil-design-button.mjs +0 -5
  332. package/esm2022/button/examples/basic-button/basic-button.component.mjs +0 -21
  333. package/esm2022/button/examples/daffodil-design-button-examples.mjs +0 -5
  334. package/esm2022/button/examples/examples.mjs +0 -19
  335. package/esm2022/button/examples/flat-button/flat-button.component.mjs +0 -21
  336. package/esm2022/button/examples/icon-button/icon-button.component.mjs +0 -20
  337. package/esm2022/button/examples/index.mjs +0 -2
  338. package/esm2022/button/examples/public_api.mjs +0 -10
  339. package/esm2022/button/examples/raised-button/raised-button.component.mjs +0 -21
  340. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +0 -22
  341. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +0 -24
  342. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +0 -21
  343. package/esm2022/button/examples/underline-button/underline-button.component.mjs +0 -21
  344. package/esm2022/button/index.mjs +0 -2
  345. package/esm2022/button/public_api.mjs +0 -10
  346. package/esm2022/callout/callout/callout.component.mjs +0 -43
  347. package/esm2022/callout/callout-body/callout-body.directive.mjs +0 -23
  348. package/esm2022/callout/callout-icon/callout-icon.directive.mjs +0 -23
  349. package/esm2022/callout/callout-subtitle/callout-subtitle.directive.mjs +0 -23
  350. package/esm2022/callout/callout-tagline/callout-tagline.directive.mjs +0 -23
  351. package/esm2022/callout/callout-title/callout-title.directive.mjs +0 -23
  352. package/esm2022/callout/callout.mjs +0 -15
  353. package/esm2022/callout/callout.module.mjs +0 -49
  354. package/esm2022/callout/daffodil-design-callout.mjs +0 -5
  355. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +0 -38
  356. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +0 -39
  357. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +0 -27
  358. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +0 -26
  359. package/esm2022/callout/examples/daffodil-design-callout-examples.mjs +0 -5
  360. package/esm2022/callout/examples/examples.mjs +0 -11
  361. package/esm2022/callout/examples/index.mjs +0 -2
  362. package/esm2022/callout/examples/public_api.mjs +0 -6
  363. package/esm2022/callout/index.mjs +0 -2
  364. package/esm2022/callout/public_api.mjs +0 -9
  365. package/esm2022/card/card/card.component.mjs +0 -108
  366. package/esm2022/card/card-actions/card-actions.directive.mjs +0 -23
  367. package/esm2022/card/card-content/card-content.directive.mjs +0 -23
  368. package/esm2022/card/card-icon/card-icon.directive.mjs +0 -23
  369. package/esm2022/card/card-image/card-image.directive.mjs +0 -23
  370. package/esm2022/card/card-tagline/card-tagline.directive.mjs +0 -23
  371. package/esm2022/card/card-title/card-title.directive.mjs +0 -23
  372. package/esm2022/card/card.mjs +0 -17
  373. package/esm2022/card/card.module.mjs +0 -56
  374. package/esm2022/card/daffodil-design-card.mjs +0 -5
  375. package/esm2022/card/examples/basic-card/basic-card.component.mjs +0 -26
  376. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +0 -37
  377. package/esm2022/card/examples/card-theming/card-theming.component.mjs +0 -33
  378. package/esm2022/card/examples/daffodil-design-card-examples.mjs +0 -5
  379. package/esm2022/card/examples/index.mjs +0 -2
  380. package/esm2022/card/examples/linkable-card/linkable-card.component.mjs +0 -38
  381. package/esm2022/card/examples/public_api.mjs +0 -16
  382. package/esm2022/card/examples/raised-card/raised-card.component.mjs +0 -36
  383. package/esm2022/card/examples/stroked-card/stroked-card.component.mjs +0 -36
  384. package/esm2022/card/index.mjs +0 -2
  385. package/esm2022/card/public_api.mjs +0 -10
  386. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +0 -32
  387. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +0 -33
  388. package/esm2022/checkbox/examples/daffodil-design-checkbox-examples.mjs +0 -5
  389. package/esm2022/checkbox/examples/examples.mjs +0 -7
  390. package/esm2022/checkbox/examples/index.mjs +0 -2
  391. package/esm2022/checkbox/examples/public_api.mjs +0 -2
  392. package/esm2022/container/container/container.component.mjs +0 -30
  393. package/esm2022/container/container.mjs +0 -5
  394. package/esm2022/container/container.module.mjs +0 -26
  395. package/esm2022/container/daffodil-design-container.mjs +0 -5
  396. package/esm2022/container/examples/container-sizes/container-sizes.component.mjs +0 -30
  397. package/esm2022/container/examples/daffodil-design-container-examples.mjs +0 -5
  398. package/esm2022/container/examples/examples.mjs +0 -5
  399. package/esm2022/container/examples/index.mjs +0 -2
  400. package/esm2022/container/examples/public_api.mjs +0 -3
  401. package/esm2022/container/index.mjs +0 -2
  402. package/esm2022/container/public_api.mjs +0 -4
  403. package/esm2022/core/animation/animation-state-with-params.mjs +0 -2
  404. package/esm2022/core/article-encapsulated/article-encapsulated.directive.mjs +0 -45
  405. package/esm2022/core/article-encapsulated/public_api.mjs +0 -2
  406. package/esm2022/core/breakpoints/breakpoints.mjs +0 -10
  407. package/esm2022/core/breakpoints/noop.service.mjs +0 -25
  408. package/esm2022/core/breakpoints/provider.mjs +0 -13
  409. package/esm2022/core/breakpoints/public_api.mjs +0 -4
  410. package/esm2022/core/colorable/colorable.directive.mjs +0 -104
  411. package/esm2022/core/colorable/colorable.mjs +0 -37
  412. package/esm2022/core/colorable/public_api.mjs +0 -2
  413. package/esm2022/core/compactable/compactable.directive.mjs +0 -70
  414. package/esm2022/core/compactable/compactable.mjs +0 -2
  415. package/esm2022/core/compactable/public_api.mjs +0 -2
  416. package/esm2022/core/constructor/constructor.mjs +0 -7
  417. package/esm2022/core/focus/focusable-elements.mjs +0 -2
  418. package/esm2022/core/focus/public_api.mjs +0 -3
  419. package/esm2022/core/focus/stack.service.mjs +0 -71
  420. package/esm2022/core/lazy/lazy-component.mjs +0 -3
  421. package/esm2022/core/lazy/public_api.mjs +0 -2
  422. package/esm2022/core/manage-container-layout/manage-container-layout.directive.mjs +0 -80
  423. package/esm2022/core/manage-container-layout/public_api.mjs +0 -2
  424. package/esm2022/core/mutable/mutable.mjs +0 -2
  425. package/esm2022/core/openable/openable.directive.mjs +0 -122
  426. package/esm2022/core/openable/openable.mjs +0 -2
  427. package/esm2022/core/openable/public_api.mjs +0 -2
  428. package/esm2022/core/openable/utils/state-error.mjs +0 -2
  429. package/esm2022/core/prefix-suffix/prefix-suffix.module.mjs +0 -26
  430. package/esm2022/core/prefix-suffix/prefix.directive.mjs +0 -24
  431. package/esm2022/core/prefix-suffix/prefixable/prefixable-interface.mjs +0 -2
  432. package/esm2022/core/prefix-suffix/prefixable/prefixable.mjs +0 -23
  433. package/esm2022/core/prefix-suffix/public_api.mjs +0 -6
  434. package/esm2022/core/prefix-suffix/suffix.directive.mjs +0 -24
  435. package/esm2022/core/prefix-suffix/suffixable/suffixable-interface.mjs +0 -2
  436. package/esm2022/core/prefix-suffix/suffixable/suffixable.mjs +0 -23
  437. package/esm2022/core/public_api.mjs +0 -19
  438. package/esm2022/core/sizable/public_api.mjs +0 -3
  439. package/esm2022/core/sizable/sizable.directive.mjs +0 -96
  440. package/esm2022/core/sizable/sizable.mjs +0 -12
  441. package/esm2022/core/skeletonable/public_api.mjs +0 -2
  442. package/esm2022/core/skeletonable/skeletonable.directive.mjs +0 -66
  443. package/esm2022/core/skeletonable/skeletonable.mjs +0 -2
  444. package/esm2022/core/statusable/public_api.mjs +0 -3
  445. package/esm2022/core/statusable/statusable.directive.mjs +0 -79
  446. package/esm2022/core/statusable/statusable.mjs +0 -11
  447. package/esm2022/core/text-alignable/public_api.mjs +0 -3
  448. package/esm2022/core/text-alignable/text-alignable.directive.mjs +0 -84
  449. package/esm2022/core/text-alignable/text-alignable.mjs +0 -7
  450. package/esm2022/core/theming/functions/computer.mjs +0 -18
  451. package/esm2022/core/theming/initializer.mjs +0 -17
  452. package/esm2022/core/theming/public_api.mjs +0 -4
  453. package/esm2022/core/theming/services/class-setter/theme-class-setter.service.mjs +0 -52
  454. package/esm2022/core/theming/services/os-theme/ostheme.service.mjs +0 -49
  455. package/esm2022/core/theming/services/storage/theme-storage.service.mjs +0 -67
  456. package/esm2022/core/theming/services/theming.service.mjs +0 -61
  457. package/esm2022/core/theming/types/theme.mjs +0 -10
  458. package/esm2022/daffodil-design.mjs +0 -5
  459. package/esm2022/hero/daffodil-design-hero.mjs +0 -5
  460. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +0 -23
  461. package/esm2022/hero/examples/daffodil-design-hero-examples.mjs +0 -5
  462. package/esm2022/hero/examples/examples.mjs +0 -11
  463. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +0 -38
  464. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +0 -28
  465. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +0 -26
  466. package/esm2022/hero/examples/index.mjs +0 -2
  467. package/esm2022/hero/examples/public_api.mjs +0 -6
  468. package/esm2022/hero/hero/hero.component.mjs +0 -40
  469. package/esm2022/hero/hero-body/hero-body.directive.mjs +0 -23
  470. package/esm2022/hero/hero-icon/hero-icon.directive.mjs +0 -23
  471. package/esm2022/hero/hero-subtitle/hero-subtitle.directive.mjs +0 -23
  472. package/esm2022/hero/hero-tagline/hero-tagline.directive.mjs +0 -23
  473. package/esm2022/hero/hero-title/hero-title.directive.mjs +0 -23
  474. package/esm2022/hero/hero.mjs +0 -15
  475. package/esm2022/hero/hero.module.mjs +0 -51
  476. package/esm2022/hero/index.mjs +0 -2
  477. package/esm2022/hero/public_api.mjs +0 -9
  478. package/esm2022/image/daffodil-design-image.mjs +0 -5
  479. package/esm2022/image/examples/basic-image/basic-image.component.mjs +0 -15
  480. package/esm2022/image/examples/daffodil-design-image-examples.mjs +0 -5
  481. package/esm2022/image/examples/index.mjs +0 -2
  482. package/esm2022/image/examples/load-image/load-image.component.mjs +0 -23
  483. package/esm2022/image/examples/public_api.mjs +0 -9
  484. package/esm2022/image/examples/skeleton-image/skeleton-image.component.mjs +0 -15
  485. package/esm2022/image/image/image.component.mjs +0 -116
  486. package/esm2022/image/image.mjs +0 -5
  487. package/esm2022/image/image.module.mjs +0 -26
  488. package/esm2022/image/index.mjs +0 -2
  489. package/esm2022/image/public_api.mjs +0 -4
  490. package/esm2022/index.mjs +0 -6
  491. package/esm2022/input/examples/basic-input/basic-input.component.mjs +0 -13
  492. package/esm2022/input/examples/daffodil-design-input-examples.mjs +0 -5
  493. package/esm2022/input/examples/examples.mjs +0 -11
  494. package/esm2022/input/examples/index.mjs +0 -2
  495. package/esm2022/input/examples/input-disabled/input-disabled.component.mjs +0 -13
  496. package/esm2022/input/examples/input-error/input-error.component.mjs +0 -25
  497. package/esm2022/input/examples/input-with-form-field/input-with-form-field.component.mjs +0 -13
  498. package/esm2022/input/examples/public_api.mjs +0 -2
  499. package/esm2022/link-set/daffodil-design-link-set.mjs +0 -5
  500. package/esm2022/link-set/index.mjs +0 -2
  501. package/esm2022/link-set/link-set/link-set.component.mjs +0 -27
  502. package/esm2022/link-set/link-set-heading/link-set-heading.directive.mjs +0 -26
  503. package/esm2022/link-set/link-set-item/link-set-item.component.mjs +0 -27
  504. package/esm2022/link-set/link-set-subheading/link-set-subheading.directive.mjs +0 -26
  505. package/esm2022/link-set/link-set.mjs +0 -11
  506. package/esm2022/link-set/link-set.module.mjs +0 -41
  507. package/esm2022/link-set/public_api.mjs +0 -7
  508. package/esm2022/list/daffodil-design-list.mjs +0 -5
  509. package/esm2022/list/examples/basic-list/basic-list.component.mjs +0 -16
  510. package/esm2022/list/examples/daffodil-design-list-examples.mjs +0 -5
  511. package/esm2022/list/examples/examples.mjs +0 -11
  512. package/esm2022/list/examples/icon-list/icon-list.component.mjs +0 -22
  513. package/esm2022/list/examples/index.mjs +0 -2
  514. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +0 -16
  515. package/esm2022/list/examples/nav-list/nav-list.component.mjs +0 -22
  516. package/esm2022/list/examples/public_api.mjs +0 -6
  517. package/esm2022/list/index.mjs +0 -2
  518. package/esm2022/list/list/list.component.mjs +0 -63
  519. package/esm2022/list/list-item/list-item.component.mjs +0 -52
  520. package/esm2022/list/list.mjs +0 -9
  521. package/esm2022/list/list.module.mjs +0 -35
  522. package/esm2022/list/public_api.mjs +0 -5
  523. package/esm2022/loading-icon/daffodil-design-loading-icon.mjs +0 -5
  524. package/esm2022/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +0 -5
  525. package/esm2022/loading-icon/examples/examples.mjs +0 -5
  526. package/esm2022/loading-icon/examples/index.mjs +0 -2
  527. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +0 -33
  528. package/esm2022/loading-icon/examples/public_api.mjs +0 -3
  529. package/esm2022/loading-icon/index.mjs +0 -2
  530. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +0 -30
  531. package/esm2022/loading-icon/loading-icon.mjs +0 -5
  532. package/esm2022/loading-icon/loading-icon.module.mjs +0 -26
  533. package/esm2022/loading-icon/public_api.mjs +0 -4
  534. package/esm2022/media-gallery/daffodil-design-media-gallery.mjs +0 -5
  535. package/esm2022/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +0 -18
  536. package/esm2022/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +0 -5
  537. package/esm2022/media-gallery/examples/examples.mjs +0 -9
  538. package/esm2022/media-gallery/examples/index.mjs +0 -2
  539. package/esm2022/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +0 -18
  540. package/esm2022/media-gallery/examples/public_api.mjs +0 -5
  541. package/esm2022/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +0 -18
  542. package/esm2022/media-gallery/helpers/media-gallery-registration.interface.mjs +0 -2
  543. package/esm2022/media-gallery/helpers/media-gallery-token.mjs +0 -7
  544. package/esm2022/media-gallery/index.mjs +0 -2
  545. package/esm2022/media-gallery/media-gallery/media-gallery.component.mjs +0 -57
  546. package/esm2022/media-gallery/media-gallery.mjs +0 -9
  547. package/esm2022/media-gallery/media-gallery.module.mjs +0 -34
  548. package/esm2022/media-gallery/media-renderer/media-renderer.component.mjs +0 -81
  549. package/esm2022/media-gallery/public_api.mjs +0 -6
  550. package/esm2022/media-gallery/registry/media-gallery.registry.mjs +0 -97
  551. package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +0 -11
  552. package/esm2022/media-gallery/thumbnail/thumbnail-registration.interface.mjs +0 -2
  553. package/esm2022/media-gallery/thumbnail/thumbnail.directive.mjs +0 -89
  554. package/esm2022/menu/daffodil-design-menu.mjs +0 -5
  555. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +0 -21
  556. package/esm2022/menu/examples/basic-menu/menu-content/menu-content.component.mjs +0 -23
  557. package/esm2022/menu/examples/daffodil-design-menu-examples.mjs +0 -5
  558. package/esm2022/menu/examples/index.mjs +0 -2
  559. package/esm2022/menu/examples/public_api.mjs +0 -5
  560. package/esm2022/menu/helpers/create-overlay.mjs +0 -29
  561. package/esm2022/menu/helpers/public_api.mjs +0 -2
  562. package/esm2022/menu/index.mjs +0 -2
  563. package/esm2022/menu/menu/menu.component.mjs +0 -66
  564. package/esm2022/menu/menu-activator/menu-activator.component.mjs +0 -49
  565. package/esm2022/menu/menu-item/menu-item.component.mjs +0 -38
  566. package/esm2022/menu/menu.module.mjs +0 -45
  567. package/esm2022/menu/public_api.mjs +0 -7
  568. package/esm2022/menu/services/menu.service.mjs +0 -53
  569. package/esm2022/modal/animations/modal-animation-state.mjs +0 -2
  570. package/esm2022/modal/animations/modal-animation.mjs +0 -9
  571. package/esm2022/modal/daffodil-design-modal.mjs +0 -5
  572. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +0 -28
  573. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +0 -17
  574. package/esm2022/modal/examples/daffodil-design-modal-examples.mjs +0 -5
  575. package/esm2022/modal/examples/index.mjs +0 -2
  576. package/esm2022/modal/examples/public_api.mjs +0 -5
  577. package/esm2022/modal/index.mjs +0 -2
  578. package/esm2022/modal/modal/modal-config.mjs +0 -2
  579. package/esm2022/modal/modal/modal.component.mjs +0 -163
  580. package/esm2022/modal/modal/modal.mjs +0 -2
  581. package/esm2022/modal/modal-actions/modal-actions.component.mjs +0 -22
  582. package/esm2022/modal/modal-close/modal-close.directive.mjs +0 -48
  583. package/esm2022/modal/modal-content/modal-content.component.mjs +0 -22
  584. package/esm2022/modal/modal-header/modal-header.component.mjs +0 -37
  585. package/esm2022/modal/modal-title/modal-title.directive.mjs +0 -50
  586. package/esm2022/modal/modal.mjs +0 -13
  587. package/esm2022/modal/modal.module.mjs +0 -75
  588. package/esm2022/modal/public_api.mjs +0 -10
  589. package/esm2022/modal/service/modal.service.mjs +0 -74
  590. package/esm2022/navbar/daffodil-design-navbar.mjs +0 -5
  591. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +0 -17
  592. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +0 -20
  593. package/esm2022/navbar/examples/daffodil-design-navbar-examples.mjs +0 -5
  594. package/esm2022/navbar/examples/examples.mjs +0 -11
  595. package/esm2022/navbar/examples/index.mjs +0 -2
  596. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +0 -35
  597. package/esm2022/navbar/examples/public_api.mjs +0 -6
  598. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +0 -17
  599. package/esm2022/navbar/index.mjs +0 -2
  600. package/esm2022/navbar/navbar/navbar.component.mjs +0 -41
  601. package/esm2022/navbar/navbar.mjs +0 -5
  602. package/esm2022/navbar/navbar.module.mjs +0 -26
  603. package/esm2022/navbar/public_api.mjs +0 -4
  604. package/esm2022/notification/daffodil-design-notification.mjs +0 -5
  605. package/esm2022/notification/examples/daffodil-design-notification-examples.mjs +0 -5
  606. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +0 -30
  607. package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +0 -30
  608. package/esm2022/notification/examples/index.mjs +0 -2
  609. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +0 -30
  610. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +0 -32
  611. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +0 -29
  612. package/esm2022/notification/examples/public_api.mjs +0 -13
  613. package/esm2022/notification/index.mjs +0 -2
  614. package/esm2022/notification/notification/notification.component.mjs +0 -108
  615. package/esm2022/notification/notification-actions/notification-actions.directive.mjs +0 -20
  616. package/esm2022/notification/notification-message/notification-message.directive.mjs +0 -20
  617. package/esm2022/notification/notification-subtitle/notification-subtitle.directive.mjs +0 -20
  618. package/esm2022/notification/notification-title/notification-title.directive.mjs +0 -20
  619. package/esm2022/notification/notification.mjs +0 -15
  620. package/esm2022/notification/notification.module.mjs +0 -57
  621. package/esm2022/notification/public_api.mjs +0 -8
  622. package/esm2022/paginator/daffodil-design-paginator.mjs +0 -5
  623. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +0 -22
  624. package/esm2022/paginator/examples/daffodil-design-paginator-examples.mjs +0 -5
  625. package/esm2022/paginator/examples/examples.mjs +0 -7
  626. package/esm2022/paginator/examples/index.mjs +0 -2
  627. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +0 -30
  628. package/esm2022/paginator/examples/public_api.mjs +0 -4
  629. package/esm2022/paginator/index.mjs +0 -2
  630. package/esm2022/paginator/paginator/paginator.component.mjs +0 -169
  631. package/esm2022/paginator/paginator.mjs +0 -5
  632. package/esm2022/paginator/paginator.module.mjs +0 -35
  633. package/esm2022/paginator/public_api.mjs +0 -4
  634. package/esm2022/paginator/utils/paginator-errors.mjs +0 -3
  635. package/esm2022/progress-bar/animation/progress-bar-animation.mjs +0 -9
  636. package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +0 -5
  637. package/esm2022/progress-bar/examples/daffodil-design-progress-bar-examples.mjs +0 -5
  638. package/esm2022/progress-bar/examples/index.mjs +0 -2
  639. package/esm2022/progress-bar/examples/progress-bar-default/progress-bar-default.component.mjs +0 -15
  640. package/esm2022/progress-bar/examples/progress-bar-indeterminate/progress-bar-indeterminate.component.mjs +0 -15
  641. package/esm2022/progress-bar/examples/progress-bar-themes/progress-bar-themes.component.mjs +0 -22
  642. package/esm2022/progress-bar/examples/public_api.mjs +0 -9
  643. package/esm2022/progress-bar/index.mjs +0 -2
  644. package/esm2022/progress-bar/progress-bar-label/progress-bar-label.directive.mjs +0 -20
  645. package/esm2022/progress-bar/progress-bar.component.mjs +0 -139
  646. package/esm2022/progress-bar/progress-bar.mjs +0 -7
  647. package/esm2022/progress-bar/progress-bar.module.mjs +0 -31
  648. package/esm2022/progress-bar/public_api.mjs +0 -5
  649. package/esm2022/public_api.mjs +0 -16
  650. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +0 -22
  651. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +0 -22
  652. package/esm2022/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +0 -5
  653. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +0 -22
  654. package/esm2022/quantity-field/examples/index.mjs +0 -2
  655. package/esm2022/quantity-field/examples/public_api.mjs +0 -12
  656. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +0 -22
  657. package/esm2022/radio/examples/basic-radio/basic-radio.component.mjs +0 -20
  658. package/esm2022/radio/examples/daffodil-design-radio-examples.mjs +0 -5
  659. package/esm2022/radio/examples/examples.mjs +0 -5
  660. package/esm2022/radio/examples/index.mjs +0 -2
  661. package/esm2022/radio/examples/public_api.mjs +0 -2
  662. package/esm2022/sidebar/animation/sidebar-animation-state.mjs +0 -24
  663. package/esm2022/sidebar/animation/sidebar-animation-width.mjs +0 -2
  664. package/esm2022/sidebar/animation/sidebar-animation.mjs +0 -51
  665. package/esm2022/sidebar/animation/sidebar-viewport-animation-state.mjs +0 -4
  666. package/esm2022/sidebar/daffodil-design-sidebar.mjs +0 -5
  667. package/esm2022/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +0 -15
  668. package/esm2022/sidebar/examples/daffodil-design-sidebar-examples.mjs +0 -5
  669. package/esm2022/sidebar/examples/index.mjs +0 -2
  670. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +0 -36
  671. package/esm2022/sidebar/examples/public_api.mjs +0 -11
  672. package/esm2022/sidebar/examples/side-fixed-sidebar/side-fixed-sidebar.component.mjs +0 -15
  673. package/esm2022/sidebar/examples/sidebar-with-sticky-content/sidebar-with-sticky-content.component.mjs +0 -15
  674. package/esm2022/sidebar/helper/is-docked-mode.mjs +0 -9
  675. package/esm2022/sidebar/helper/is-floating-mode.mjs +0 -9
  676. package/esm2022/sidebar/helper/sidebar-mode.mjs +0 -2
  677. package/esm2022/sidebar/helper/sidebar-side.mjs +0 -2
  678. package/esm2022/sidebar/index.mjs +0 -2
  679. package/esm2022/sidebar/public_api.mjs +0 -14
  680. package/esm2022/sidebar/service/registration.type.mjs +0 -2
  681. package/esm2022/sidebar/service/sidebar.service.mjs +0 -36
  682. package/esm2022/sidebar/sidebar/is-opening.mjs +0 -13
  683. package/esm2022/sidebar/sidebar/sidebar.component.mjs +0 -178
  684. package/esm2022/sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -17
  685. package/esm2022/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.mjs +0 -23
  686. package/esm2022/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.mjs +0 -23
  687. package/esm2022/sidebar/sidebar-header/sidebar-header.component.mjs +0 -17
  688. package/esm2022/sidebar/sidebar-viewport/helper/has-parent-viewport.mjs +0 -16
  689. package/esm2022/sidebar/sidebar-viewport/nav-placement.mjs +0 -10
  690. package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +0 -45
  691. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +0 -198
  692. package/esm2022/sidebar/sidebar-viewport/utils/backdrop-interactable.mjs +0 -5
  693. package/esm2022/sidebar/sidebar-viewport/utils/content-pad.mjs +0 -17
  694. package/esm2022/sidebar/sidebar-viewport/utils/content-shift.mjs +0 -21
  695. package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation-state.mjs +0 -2
  696. package/esm2022/sidebar/sidebar-viewport-backdrop/animation/backdrop-animation.mjs +0 -20
  697. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +0 -87
  698. package/esm2022/sidebar/sidebar.mjs +0 -17
  699. package/esm2022/sidebar/sidebar.module.mjs +0 -60
  700. package/esm2022/tabs/daffodil-design-tabs.mjs +0 -5
  701. package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +0 -22
  702. package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +0 -34
  703. package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +0 -5
  704. package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +0 -22
  705. package/esm2022/tabs/examples/index.mjs +0 -2
  706. package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +0 -22
  707. package/esm2022/tabs/examples/public_api.mjs +0 -11
  708. package/esm2022/tabs/index.mjs +0 -2
  709. package/esm2022/tabs/public_api.mjs +0 -6
  710. package/esm2022/tabs/tabs/tab/tab.component.mjs +0 -86
  711. package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +0 -83
  712. package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +0 -33
  713. package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +0 -68
  714. package/esm2022/tabs/tabs/tabs.component.mjs +0 -161
  715. package/esm2022/tabs/tabs.mjs +0 -13
  716. package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +0 -5
  717. package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +0 -14
  718. package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +0 -5
  719. package/esm2022/text-snippet/examples/index.mjs +0 -2
  720. package/esm2022/text-snippet/examples/public_api.mjs +0 -5
  721. package/esm2022/text-snippet/index.mjs +0 -2
  722. package/esm2022/text-snippet/public_api.mjs +0 -2
  723. package/esm2022/text-snippet/text-snippet.component.mjs +0 -46
  724. package/esm2022/toast/daffodil-design-toast.mjs +0 -5
  725. package/esm2022/toast/examples/daffodil-design-toast-examples.mjs +0 -5
  726. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +0 -40
  727. package/esm2022/toast/examples/index.mjs +0 -2
  728. package/esm2022/toast/examples/public_api.mjs +0 -11
  729. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +0 -61
  730. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +0 -49
  731. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +0 -28
  732. package/esm2022/toast/index.mjs +0 -2
  733. package/esm2022/toast/interfaces/toast-action.mjs +0 -2
  734. package/esm2022/toast/interfaces/toast.mjs +0 -2
  735. package/esm2022/toast/options/daff-toast-options.mjs +0 -16
  736. package/esm2022/toast/public_api.mjs +0 -10
  737. package/esm2022/toast/service/changes-focus.mjs +0 -2
  738. package/esm2022/toast/service/position-strategy.mjs +0 -29
  739. package/esm2022/toast/service/position.service.mjs +0 -33
  740. package/esm2022/toast/service/toast.service.mjs +0 -115
  741. package/esm2022/toast/toast/toast-config.mjs +0 -2
  742. package/esm2022/toast/toast/toast-provider.mjs +0 -7
  743. package/esm2022/toast/toast/toast-template.component.mjs +0 -280
  744. package/esm2022/toast/toast/toast.component.mjs +0 -73
  745. package/esm2022/toast/toast-actions/toast-actions.directive.mjs +0 -20
  746. package/esm2022/toast/toast-message/toast-message.directive.mjs +0 -20
  747. package/esm2022/toast/toast-title/toast-title.directive.mjs +0 -20
  748. package/esm2022/toast/toast.module.mjs +0 -69
  749. package/esm2022/tree/daffodil-design-tree.mjs +0 -5
  750. package/esm2022/tree/examples/basic-tree/basic-tree.component.mjs +0 -43
  751. package/esm2022/tree/examples/daffodil-design-tree-examples.mjs +0 -5
  752. package/esm2022/tree/examples/deep-tree/deep-tree.component.mjs +0 -54
  753. package/esm2022/tree/examples/index.mjs +0 -2
  754. package/esm2022/tree/examples/public_api.mjs +0 -8
  755. package/esm2022/tree/index.mjs +0 -2
  756. package/esm2022/tree/interfaces/recursive-key.mjs +0 -2
  757. package/esm2022/tree/interfaces/tree-data.mjs +0 -2
  758. package/esm2022/tree/interfaces/tree-render-mode.mjs +0 -2
  759. package/esm2022/tree/interfaces/tree-ui.mjs +0 -2
  760. package/esm2022/tree/public_api.mjs +0 -6
  761. package/esm2022/tree/tree/tree-notifier.service.mjs +0 -45
  762. package/esm2022/tree/tree/tree.component.mjs +0 -106
  763. package/esm2022/tree/tree-item/tree-item.directive.mjs +0 -157
  764. package/esm2022/tree/tree.mjs +0 -7
  765. package/esm2022/tree/tree.module.mjs +0 -31
  766. package/esm2022/tree/utils/flatten-tree.mjs +0 -63
  767. package/esm2022/tree/utils/hydrate-tree.mjs +0 -31
  768. package/esm2022/tree/utils/transform.mjs +0 -25
  769. package/esm2022/tree/utils/traverse-tree.mjs +0 -21
  770. package/scss/core/map/map-deep-check/map-deep-check.spec.scss +0 -43
  771. package/scss/core/map/map-deep-get/map-deep-get.spec.scss +0 -25
  772. package/scss/theming/contrast/contrast-ratio/contrast-ratio.spec.scss +0 -0
  773. package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +0 -0
  774. package/src/atoms/form/radio/radio.scss +0 -0
@@ -1,102 +0,0 @@
1
- import { Component, ViewEncapsulation, ContentChild, Input, HostBinding, } from '@angular/core';
2
- import { faChevronDown } from '@fortawesome/free-solid-svg-icons';
3
- import { DaffFormFieldControl } from '../form-field-control';
4
- import { DaffFormFieldMissingControlMessage } from '../form-field-errors';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@fortawesome/angular-fontawesome";
8
- // ChangeDetection is ignored because this component needs to be refactored
9
- // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
10
- export class DaffFormFieldComponent {
11
- constructor() {
12
- /**
13
- * @docs-private
14
- */
15
- this.faChevronDown = faChevronDown;
16
- this.class = true;
17
- /**
18
- * The tracking property used to determine if the parent form has been submitted,
19
- * and thus show an error message (even if the field hasn't been touched).
20
- *
21
- * @deprecated Deprecated in version 0.78.0. Will be removed in version 0.81.0.
22
- */
23
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
24
- this.formSubmitted = false;
25
- /**
26
- * Tracking property to keep a record of whether or not the
27
- * form field should be marked as error.
28
- */
29
- this.isError = false;
30
- /**
31
- * Tracking property to keep a record of whether or not the
32
- * form field should be marked as valid.
33
- */
34
- this.isValid = false;
35
- }
36
- /**
37
- * @docs
38
- *
39
- * Determines whether or not the form field should display its focused state.
40
- */
41
- get isFocused() {
42
- return this._control?.focused;
43
- }
44
- /**
45
- * Keeps the state of the form field consistent with its child DaffFormControl
46
- *
47
- * TODO: consider whether or not this can be refactored to some kind of
48
- * observable to remove unnecessary change detection.
49
- *
50
- * @docs-private
51
- */
52
- ngDoCheck() {
53
- if (this._control?.ngControl) {
54
- this.isError = this._control.ngControl.errors && (this._control.ngControl.touched);
55
- this.isValid = !this._control.ngControl.errors && this._control.ngControl.touched;
56
- }
57
- }
58
- /**
59
- * Validate whether or not the FormField is in
60
- * a "usable" state.
61
- */
62
- _validateFormControl() {
63
- if (!this._control) {
64
- throw new Error(DaffFormFieldMissingControlMessage);
65
- }
66
- }
67
- /**
68
- * Life cycle hook to verify that the form field has an acceptable
69
- * child control instance. Mostly useful for development-time
70
- * validation of usage.
71
- *
72
- * @docs-private
73
- */
74
- ngAfterContentInit() {
75
- this._validateFormControl();
76
- }
77
- /**
78
- * Life cycle hook to verify that the form field has an acceptable
79
- * child control instance. Mostly useful for development-time
80
- * validation of usage.
81
- *
82
- * @docs-private
83
- */
84
- ngAfterContentChecked() {
85
- this._validateFormControl();
86
- }
87
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
88
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", 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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }], encapsulation: i0.ViewEncapsulation.None }); }
89
- }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldComponent, decorators: [{
91
- type: Component,
92
- 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"] }]
93
- }], propDecorators: { class: [{
94
- type: HostBinding,
95
- args: ['class.daff-form-field']
96
- }], formSubmitted: [{
97
- type: Input
98
- }], _control: [{
99
- type: ContentChild,
100
- args: [DaffFormFieldControl]
101
- }] } });
102
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUVqQixZQUFZLEVBQ1osS0FBSyxFQUdMLFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFFbEUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGtDQUFrQyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7QUFFMUUsMkVBQTJFO0FBQzNFLHFGQUFxRjtBQU9yRixNQUFNLE9BQU8sc0JBQXNCO0lBTm5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VyQ29udGVudEluaXQoKSB7XG4gICAgdGhpcy5fdmFsaWRhdGVGb3JtQ29udHJvbCgpO1xuICB9XG5cbiAgLyoqXG4gICAqIExpZmUgY3ljbGUgaG9vayB0byB2ZXJpZnkgdGhhdCB0aGUgZm9ybSBmaWVsZCBoYXMgYW4gYWNjZXB0YWJsZVxuICAgKiBjaGlsZCBjb250cm9sIGluc3RhbmNlLiBNb3N0bHkgdXNlZnVsIGZvciBkZXZlbG9wbWVudC10aW1lXG4gICAqIHZhbGlkYXRpb24gb2YgdXNhZ2UuXG4gICAqXG4gICAqIEBkb2NzLXByaXZhdGVcbiAgICovXG4gIG5nQWZ0ZXJDb250ZW50Q2hlY2tlZCgpIHtcbiAgICB0aGlzLl92YWxpZGF0ZUZvcm1Db250cm9sKCk7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJkYWZmLWZvcm0tZmllbGRfX2NvbnRyb2xcIiBbY2xhc3MuZGFmZi1lcnJvcl09XCJpc0Vycm9yXCIgW2NsYXNzLmRhZmYtdmFsaWRdPVwiaXNWYWxpZFwiIFtjbGFzcy5kYWZmLWZvY3VzXT1cImlzRm9jdXNlZFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDxkaXYgY2xhc3M9XCJkYWZmLWZvcm0tZmllbGRfX2ljb25cIiAqbmdJZj1cIl9jb250cm9sLmNvbnRyb2xUeXBlID09PSAnbmF0aXZlLXNlbGVjdCdcIj5cbiAgICA8ZmEtaWNvbiBbaWNvbl09XCJmYUNoZXZyb25Eb3duXCI+PC9mYS1pY29uPlxuICA8L2Rpdj5cbjwvZGl2PlxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiZGFmZi1lcnJvci1tZXNzYWdlXCI+PC9uZy1jb250ZW50PlxuIl19
@@ -1,15 +0,0 @@
1
- /**
2
- *
3
- * The class that a form control must **implement** in order to be
4
- * used with the DaffFormFieldComponent.
5
- *
6
- * You may ask: "Why are you implementing an abstract class, not extending it?"
7
- * We do this so that the Angular DI container can match the class token. A typical
8
- * interface would be "more accurate" here, but since interfaces don't exist
9
- * in javascript, they get thrown out by the typescript compiler and cannot
10
- * be used for the necessary dependency injection.
11
- */
12
- export class DaffFormFieldControl {
13
- }
14
- ;
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1jb250cm9sLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vZm9ybS1maWVsZC9mb3JtLWZpZWxkLWNvbnRyb2wudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7Ozs7Ozs7Ozs7R0FVRztBQUNILE1BQU0sT0FBZ0Isb0JBQW9CO0NBUXpDO0FBQUEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nQ29udHJvbCB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuLyoqXG4gKlxuICogVGhlIGNsYXNzIHRoYXQgYSBmb3JtIGNvbnRyb2wgbXVzdCAqKmltcGxlbWVudCoqIGluIG9yZGVyIHRvIGJlXG4gKiB1c2VkIHdpdGggdGhlIERhZmZGb3JtRmllbGRDb21wb25lbnQuXG4gKlxuICogWW91IG1heSBhc2s6IFwiV2h5IGFyZSB5b3UgaW1wbGVtZW50aW5nIGFuIGFic3RyYWN0IGNsYXNzLCBub3QgZXh0ZW5kaW5nIGl0P1wiXG4gKiBXZSBkbyB0aGlzIHNvIHRoYXQgdGhlIEFuZ3VsYXIgREkgY29udGFpbmVyIGNhbiBtYXRjaCB0aGUgY2xhc3MgdG9rZW4uIEEgdHlwaWNhbFxuICogaW50ZXJmYWNlIHdvdWxkIGJlIFwibW9yZSBhY2N1cmF0ZVwiIGhlcmUsIGJ1dCBzaW5jZSBpbnRlcmZhY2VzIGRvbid0IGV4aXN0XG4gKiBpbiBqYXZhc2NyaXB0LCB0aGV5IGdldCB0aHJvd24gb3V0IGJ5IHRoZSB0eXBlc2NyaXB0IGNvbXBpbGVyIGFuZCBjYW5ub3RcbiAqIGJlIHVzZWQgZm9yIHRoZSBuZWNlc3NhcnkgZGVwZW5kZW5jeSBpbmplY3Rpb24uXG4gKi9cbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBEYWZmRm9ybUZpZWxkQ29udHJvbCB7XG4gIHJlYWRvbmx5IG5nQ29udHJvbDogTmdDb250cm9sIHwgbnVsbDtcblxuICByZWFkb25seSBjb250cm9sVHlwZT86IGFueTtcblxuICByZWFkb25seSBmb2N1c2VkOiBib29sZWFuO1xuXG4gIGFic3RyYWN0IGZvY3VzKGV2ZW50PzogRXZlbnQpOiB2b2lkO1xufTtcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export const DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1lcnJvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtZXJyb3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGtDQUFrQyxHQUFHLDhEQUE4RCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IERhZmZGb3JtRmllbGRNaXNzaW5nQ29udHJvbE1lc3NhZ2UgPSAnQSBEYWZmRm9ybUZpZWxkQ29tcG9uZW50IG11c3QgY29udGFpbiBhIERhZmZGb3JtRmllbGRDb250cm9sJztcbiJdfQ==
@@ -1,34 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
4
- import { DaffFormFieldComponent } from './form-field/form-field.component';
5
- import { DaffErrorMessageModule } from '../error-message/error-message.module';
6
- import * as i0 from "@angular/core";
7
- export class DaffFormFieldModule {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, declarations: [DaffFormFieldComponent], imports: [CommonModule,
10
- FontAwesomeModule,
11
- DaffErrorMessageModule], exports: [DaffFormFieldComponent,
12
- DaffErrorMessageModule] }); }
13
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, imports: [CommonModule,
14
- FontAwesomeModule,
15
- DaffErrorMessageModule, DaffErrorMessageModule] }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormFieldModule, decorators: [{
18
- type: NgModule,
19
- args: [{
20
- imports: [
21
- CommonModule,
22
- FontAwesomeModule,
23
- DaffErrorMessageModule,
24
- ],
25
- exports: [
26
- DaffFormFieldComponent,
27
- DaffErrorMessageModule,
28
- ],
29
- declarations: [
30
- DaffFormFieldComponent,
31
- ],
32
- }]
33
- }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibW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ZSc7XG5cbmltcG9ydCB7IERhZmZGb3JtRmllbGRDb21wb25lbnQgfSBmcm9tICcuL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQnO1xuaW1wb3J0IHsgRGFmZkVycm9yTWVzc2FnZU1vZHVsZSB9IGZyb20gJy4uL2Vycm9yLW1lc3NhZ2UvZXJyb3ItbWVzc2FnZS5tb2R1bGUnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuXG4gICAgRm9udEF3ZXNvbWVNb2R1bGUsXG4gICAgRGFmZkVycm9yTWVzc2FnZU1vZHVsZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZGb3JtRmllbGRDb21wb25lbnQsXG4gICAgRGFmZkVycm9yTWVzc2FnZU1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZkZvcm1GaWVsZENvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkZvcm1GaWVsZE1vZHVsZSB7IH1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export { DaffFormFieldModule } from './form-field.module';
2
- export * from './form-field/form-field.component';
3
- export { DaffFormFieldControl } from './form-field-control';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL2Zvcm0tZmllbGQvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMxRCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRGFmZkZvcm1GaWVsZE1vZHVsZSB9IGZyb20gJy4vZm9ybS1maWVsZC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQuY29tcG9uZW50JztcbmV4cG9ydCB7IERhZmZGb3JtRmllbGRDb250cm9sIH0gZnJvbSAnLi9mb3JtLWZpZWxkLWNvbnRyb2wnO1xuIl19
@@ -1,19 +0,0 @@
1
- import { Directive, HostBinding, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DaffFormLabelDirective {
4
- constructor() {
5
- this.class = true;
6
- }
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.2", type: DaffFormLabelDirective, selector: "[daffFormLabel]", host: { properties: { "class.daff-form-label": "this.class" } }, ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[daffFormLabel]',
14
- }]
15
- }], propDecorators: { class: [{
16
- type: HostBinding,
17
- args: ['class.daff-form-label']
18
- }] } });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1sYWJlbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWxhYmVsL2Zvcm0tbGFiZWwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sc0JBQXNCO0lBSG5DO1FBSXdDLFVBQUssR0FBRyxJQUFJLENBQUM7S0FDcEQ7aUlBRlksc0JBQXNCO3FIQUF0QixzQkFBc0I7OzJGQUF0QixzQkFBc0I7a0JBSGxDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGlCQUFpQjtpQkFDNUI7OEJBRXVDLEtBQUs7c0JBQTFDLFdBQVc7dUJBQUMsdUJBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgRGlyZWN0aXZlLFxuICBIb3N0QmluZGluZyxcbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tkYWZmRm9ybUxhYmVsXScsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZGb3JtTGFiZWxEaXJlY3RpdmUge1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtZm9ybS1sYWJlbCcpIGNsYXNzID0gdHJ1ZTtcbn1cbiJdfQ==
@@ -1,20 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { DaffFormLabelDirective } from './form-label.directive';
3
- import * as i0 from "@angular/core";
4
- export class DaffFormLabelModule {
5
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, declarations: [DaffFormLabelDirective], exports: [DaffFormLabelDirective] }); }
7
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffFormLabelModule, decorators: [{
10
- type: NgModule,
11
- args: [{
12
- exports: [
13
- DaffFormLabelDirective,
14
- ],
15
- declarations: [
16
- DaffFormLabelDirective,
17
- ],
18
- }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1sYWJlbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWxhYmVsL2Zvcm0tbGFiZWwubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7O0FBV2hFLE1BQU0sT0FBTyxtQkFBbUI7aUlBQW5CLG1CQUFtQjtrSUFBbkIsbUJBQW1CLGlCQUo1QixzQkFBc0IsYUFIdEIsc0JBQXNCO2tJQU9iLG1CQUFtQjs7MkZBQW5CLG1CQUFtQjtrQkFUL0IsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUU7d0JBQ1Asc0JBQXNCO3FCQUN2QjtvQkFDRCxZQUFZLEVBQUU7d0JBQ1osc0JBQXNCO3FCQUN2QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IERhZmZGb3JtTGFiZWxEaXJlY3RpdmUgfSBmcm9tICcuL2Zvcm0tbGFiZWwuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgZXhwb3J0czogW1xuICAgIERhZmZGb3JtTGFiZWxEaXJlY3RpdmUsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZGb3JtTGFiZWxEaXJlY3RpdmUsXG4gIF0sXG59KVxuXG5leHBvcnQgY2xhc3MgRGFmZkZvcm1MYWJlbE1vZHVsZSB7fVxuIl19
@@ -1,3 +0,0 @@
1
- export { DaffFormLabelDirective } from './form-label.directive';
2
- export { DaffFormLabelModule } from './form-label.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL2Zvcm0tbGFiZWwvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUNoRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IERhZmZGb3JtTGFiZWxEaXJlY3RpdmUgfSBmcm9tICcuL2Zvcm0tbGFiZWwuZGlyZWN0aXZlJztcbmV4cG9ydCB7IERhZmZGb3JtTGFiZWxNb2R1bGUgfSBmcm9tICcuL2Zvcm0tbGFiZWwubW9kdWxlJztcbiJdfQ==
@@ -1,59 +0,0 @@
1
- import { Component, Input, Optional, Self, ElementRef, HostListener, ChangeDetectionStrategy, } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { DaffFormFieldControl } from '../form-field/form-field-control';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- /**
7
- * DaffInputComponent provides the same functionality as a native `<input>` and contains custom styling and functionality.
8
- */
9
- export class DaffInputComponent {
10
- /**
11
- * @docs-private
12
- */
13
- focus() {
14
- this.focused = true;
15
- }
16
- /**
17
- * @docs-private
18
- */
19
- blur() {
20
- this.focused = false;
21
- }
22
- constructor(
23
- /**
24
- * @docs-private
25
- */
26
- ngControl, _elementRef) {
27
- this.ngControl = ngControl;
28
- this._elementRef = _elementRef;
29
- this.focused = false;
30
- }
31
- onFocus() {
32
- this._elementRef.nativeElement.focus();
33
- }
34
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
35
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffInputComponent, selector: "input[daff-input]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" } }, providers: [
36
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
37
- { provide: DaffFormFieldControl, useExisting: DaffInputComponent },
38
- ], 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 }); }
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputComponent, decorators: [{
41
- type: Component,
42
- args: [{ selector: 'input[daff-input]', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
43
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
44
- { provide: DaffFormFieldControl, useExisting: DaffInputComponent },
45
- ], 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"] }]
46
- }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
47
- type: Optional
48
- }, {
49
- type: Self
50
- }] }, { type: i0.ElementRef }], propDecorators: { formSubmitted: [{
51
- type: Input
52
- }], focus: [{
53
- type: HostListener,
54
- args: ['focus']
55
- }], blur: [{
56
- type: HostListener,
57
- args: ['blur']
58
- }] } });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vaW5wdXQvaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLFFBQVEsRUFDUixJQUFJLEVBQ0osVUFBVSxFQUNWLFlBQVksRUFDWix1QkFBdUIsR0FDeEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTNDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGtDQUFrQyxDQUFDOzs7QUFFeEU7O0dBRUc7QUFZSCxNQUFNLE9BQU8sa0JBQWtCO0lBUzdCOztPQUVHO0lBQ29CLEtBQUs7UUFDMUIsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUM7SUFDdEIsQ0FBQztJQUVEOztPQUVHO0lBQ21CLElBQUk7UUFDeEIsSUFBSSxDQUFDLE9BQU8sR0FBRyxLQUFLLENBQUM7SUFDdkIsQ0FBQztJQUVEO0lBQ0U7O09BRUc7SUFDd0IsU0FBb0IsRUFDdkMsV0FBeUM7UUFEdEIsY0FBUyxHQUFULFNBQVMsQ0FBVztRQUN2QyxnQkFBVyxHQUFYLFdBQVcsQ0FBOEI7UUFyQ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AgIHRoaXMuZm9jdXNlZCA9IHRydWU7XG4gIH1cblxuICAvKipcbiAgICogQGRvY3MtcHJpdmF0ZVxuICAgKi9cbiAgQEhvc3RMaXN0ZW5lcignYmx1cicpIGJsdXIoKSB7XG4gICAgdGhpcy5mb2N1c2VkID0gZmFsc2U7XG4gIH1cblxuICBjb25zdHJ1Y3RvcihcbiAgICAvKipcbiAgICAgKiBAZG9jcy1wcml2YXRlXG4gICAgICovXG4gICAgQE9wdGlvbmFsKCkgQFNlbGYoKSBwdWJsaWMgbmdDb250cm9sOiBOZ0NvbnRyb2wsXG4gICAgcHJpdmF0ZSBfZWxlbWVudFJlZjogRWxlbWVudFJlZjxIVE1MSW5wdXRFbGVtZW50PixcbiAgKSB7fVxuXG4gIG9uRm9jdXMoKSB7XG4gICAgdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmZvY3VzKCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,24 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { DaffInputComponent } from './input.component';
4
- import * as i0 from "@angular/core";
5
- export class DaffInputModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, declarations: [DaffInputComponent], imports: [CommonModule], exports: [DaffInputComponent] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, imports: [CommonModule] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInputModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: [
14
- CommonModule,
15
- ],
16
- exports: [
17
- DaffInputComponent,
18
- ],
19
- declarations: [
20
- DaffInputComponent,
21
- ],
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vaW5wdXQvaW5wdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQWF2RCxNQUFNLE9BQU8sZUFBZTtpSUFBZixlQUFlO2tJQUFmLGVBQWUsaUJBSHhCLGtCQUFrQixhQU5sQixZQUFZLGFBR1osa0JBQWtCO2tJQU1ULGVBQWUsWUFUeEIsWUFBWTs7MkZBU0gsZUFBZTtrQkFYM0IsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asa0JBQWtCO3FCQUNuQjtvQkFDRCxZQUFZLEVBQUU7d0JBQ1osa0JBQWtCO3FCQUNuQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBEYWZmSW5wdXRDb21wb25lbnQgfSBmcm9tICcuL2lucHV0LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYWZmSW5wdXRDb21wb25lbnQsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhZmZJbnB1dENvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZklucHV0TW9kdWxlIHsgfVxuIl19
@@ -1,3 +0,0 @@
1
- export { DaffInputModule } from './input.module';
2
- export { DaffInputComponent } from './input.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL2lucHV0L3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRGFmZklucHV0TW9kdWxlIH0gZnJvbSAnLi9pbnB1dC5tb2R1bGUnO1xuZXhwb3J0IHsgRGFmZklucHV0Q29tcG9uZW50IH0gZnJvbSAnLi9pbnB1dC5jb21wb25lbnQnO1xuIl19
@@ -1,64 +0,0 @@
1
- import { Component, ViewEncapsulation, Optional, Self, Input, ElementRef, HostListener, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { DaffFormFieldControl } from '../form-field/form-field-control';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- export class DaffNativeSelectComponent {
7
- /**
8
- * @docs-private
9
- */
10
- focus() {
11
- this.focused = true;
12
- }
13
- /**
14
- * @docs-private
15
- */
16
- blur() {
17
- this.focused = false;
18
- }
19
- constructor(
20
- /**
21
- * @docs-private
22
- */
23
- ngControl, _elementRef) {
24
- this.ngControl = ngControl;
25
- this._elementRef = _elementRef;
26
- /**
27
- * @docs-private
28
- */
29
- this.controlType = 'native-select';
30
- this.class = true;
31
- this.focused = false;
32
- }
33
- onFocus() {
34
- this._elementRef.nativeElement.focus();
35
- }
36
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
37
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: { formSubmitted: "formSubmitted" }, host: { listeners: { "focus": "focus()", "blur": "blur()" }, properties: { "class.daff-native-select": "this.class" } }, providers: [
38
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
39
- { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },
40
- ], 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 }); }
41
- }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectComponent, decorators: [{
43
- type: Component,
44
- args: [{ selector: 'select[daff-native-select]', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
45
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
46
- { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },
47
- ], 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"] }]
48
- }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
49
- type: Optional
50
- }, {
51
- type: Self
52
- }] }, { type: i0.ElementRef }], propDecorators: { class: [{
53
- type: HostBinding,
54
- args: ['class.daff-native-select']
55
- }], formSubmitted: [{
56
- type: Input
57
- }], focus: [{
58
- type: HostListener,
59
- args: ['focus']
60
- }], blur: [{
61
- type: HostListener,
62
- args: ['blur']
63
- }] } });
64
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9uYXRpdmUtc2VsZWN0L25hdGl2ZS1zZWxlY3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLFFBQVEsRUFDUixJQUFJLEVBQ0osS0FBSyxFQUNMLFVBQVUsRUFDVixZQUFZLEVBQ1osV0FBVyxFQUNYLHVCQUF1QixHQUN4QixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFM0MsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7OztBQWV4RSxNQUFNLE9BQU8seUJBQXlCO0lBY3BDOztPQUVHO0lBQ29CLEtBQUs7UUFDMUIsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUM7SUFDdEIsQ0FBQztJQUVEO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import { NgModule } from '@angular/core';
3
- import { DaffNativeSelectComponent } from './native-select.component';
4
- import * as i0 from "@angular/core";
5
- export class DaffNativeSelectModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, declarations: [DaffNativeSelectComponent], imports: [CommonModule], exports: [DaffNativeSelectComponent] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, imports: [CommonModule] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffNativeSelectModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: [
14
- CommonModule,
15
- ],
16
- exports: [
17
- DaffNativeSelectComponent,
18
- ],
19
- declarations: [
20
- DaffNativeSelectComponent,
21
- ],
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLXNlbGVjdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9uYXRpdmUtc2VsZWN0L25hdGl2ZS1zZWxlY3QubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDOztBQWF0RSxNQUFNLE9BQU8sc0JBQXNCO2lJQUF0QixzQkFBc0I7a0lBQXRCLHNCQUFzQixpQkFIL0IseUJBQXlCLGFBTnpCLFlBQVksYUFHWix5QkFBeUI7a0lBTWhCLHNCQUFzQixZQVQvQixZQUFZOzsyRkFTSCxzQkFBc0I7a0JBWGxDLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLHlCQUF5QjtxQkFDMUI7b0JBQ0QsWUFBWSxFQUFFO3dCQUNaLHlCQUF5QjtxQkFDMUI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgRGFmZk5hdGl2ZVNlbGVjdENvbXBvbmVudCB9IGZyb20gJy4vbmF0aXZlLXNlbGVjdC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRGFmZk5hdGl2ZVNlbGVjdENvbXBvbmVudCxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZk5hdGl2ZVNlbGVjdENvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk5hdGl2ZVNlbGVjdE1vZHVsZSB7IH1cbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './native-select.component';
2
- export { DaffNativeSelectModule } from './native-select.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL25hdGl2ZS1zZWxlY3QvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9uYXRpdmUtc2VsZWN0LmNvbXBvbmVudCc7XG5leHBvcnQgeyBEYWZmTmF0aXZlU2VsZWN0TW9kdWxlIH0gZnJvbSAnLi9uYXRpdmUtc2VsZWN0Lm1vZHVsZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- export { DaffQuantityFieldModule } from './quantity-field.module';
2
- export { DaffQuantityFieldComponent } from './quantity-field.component';
3
- export { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';
4
- export { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9mb3JtL3F1YW50aXR5LWZpZWxkL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbEUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDeEUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEYWZmUXVhbnRpdHlGaWVsZE1vZHVsZSB9IGZyb20gJy4vcXVhbnRpdHktZmllbGQubW9kdWxlJztcbmV4cG9ydCB7IERhZmZRdWFudGl0eUZpZWxkQ29tcG9uZW50IH0gZnJvbSAnLi9xdWFudGl0eS1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0IHsgRGFmZlF1YW50aXR5SW5wdXRDb21wb25lbnQgfSBmcm9tICcuL3F1YW50aXR5LWlucHV0L3F1YW50aXR5LWlucHV0LmNvbXBvbmVudCc7XG5leHBvcnQgeyBEYWZmUXVhbnRpdHlTZWxlY3RDb21wb25lbnQgfSBmcm9tICcuL3F1YW50aXR5LXNlbGVjdC9xdWFudGl0eS1zZWxlY3QuY29tcG9uZW50JztcbiJdfQ==
@@ -1,137 +0,0 @@
1
- import { coerceNumberProperty } from '@angular/cdk/coercion';
2
- import { Component, Input, ChangeDetectionStrategy, Optional, Self, ViewChild, ChangeDetectorRef, } from '@angular/core';
3
- import { NgControl, } from '@angular/forms';
4
- import { DaffQuantityInputComponent } from './quantity-input/quantity-input.component';
5
- import { DaffQuantitySelectComponent } from './quantity-select/quantity-select.component';
6
- import { DaffFormFieldControl } from '../form-field/form-field-control';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/forms";
9
- import * as i2 from "@angular/common";
10
- import * as i3 from "./quantity-input/quantity-input.component";
11
- import * as i4 from "./quantity-select/quantity-select.component";
12
- export class DaffQuantityFieldComponent {
13
- get focused() {
14
- return !!(this.input?.focused || this.select?.focused);
15
- }
16
- get quantity() {
17
- return this._quantity;
18
- }
19
- set quantity(value) {
20
- this._quantity = coerceNumberProperty(value, 1);
21
- }
22
- /**
23
- * Returns the lesser of max and selectMax.
24
- */
25
- get _maxFloor() {
26
- return Math.min(this.max, this.selectMax);
27
- }
28
- get controlType() {
29
- // TODO: use enum
30
- return this.showInputField
31
- ? 'native-input'
32
- : 'native-select';
33
- }
34
- get showInputField() {
35
- const ret = this._inputHasBeenShown || (this.ngControl
36
- ? this.ngControl.value >= this.selectMax
37
- : this.quantity >= this.selectMax);
38
- if (ret) {
39
- this._inputHasBeenShown = true;
40
- }
41
- return ret;
42
- }
43
- get showSelectField() {
44
- return !this.showInputField;
45
- }
46
- constructor(ngControl, cd) {
47
- this.ngControl = ngControl;
48
- this.cd = cd;
49
- /**
50
- * @docs
51
- * The minimum valid value of the quantity field.
52
- * Must be greater than or equal to 1.
53
- */
54
- this.min = 1;
55
- /**
56
- * @docs
57
- * The maximum valid value of the quantity field.
58
- * Must be greater than min.
59
- */
60
- this.max = 500;
61
- /**
62
- * @docs
63
- * The range of numbers acceptable in a quantity dropdown
64
- * before it becomes an input element.
65
- */
66
- this.selectMax = 10;
67
- this.id = '';
68
- this.disabled = false;
69
- this._quantity = 1;
70
- this._inputHasBeenShown = false;
71
- if (this.ngControl != null) {
72
- this.ngControl.valueAccessor = this;
73
- }
74
- }
75
- onChange(quantity) { }
76
- ;
77
- onTouched(quantity) { }
78
- ;
79
- writeValue(quantity) {
80
- this.quantity = quantity;
81
- this.cd.markForCheck();
82
- }
83
- registerOnChange(fn) {
84
- this.onChange = fn;
85
- }
86
- registerOnTouched(fn) {
87
- this.onTouched = fn;
88
- }
89
- setDisabledState(isDisabled) {
90
- this.disabled = isDisabled;
91
- }
92
- focus() {
93
- if (this.select) {
94
- this.select.focus();
95
- }
96
- if (this.input) {
97
- this.input.focus();
98
- }
99
- }
100
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
101
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffQuantityFieldComponent, selector: "daff-quantity-field", inputs: { min: "min", max: "max", selectMax: "selectMax", id: "id" }, providers: [
102
- {
103
- provide: DaffFormFieldControl,
104
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
105
- useExisting: DaffQuantityFieldComponent,
106
- },
107
- ], 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: i3.DaffQuantityInputComponent, selector: "daff-quantity-input", inputs: ["min", "max"] }, { kind: "component", type: i4.DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: ["min", "max", "extendable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
108
- }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffQuantityFieldComponent, decorators: [{
110
- type: Component,
111
- args: [{ selector: 'daff-quantity-field', providers: [
112
- {
113
- provide: DaffFormFieldControl,
114
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
115
- useExisting: DaffQuantityFieldComponent,
116
- },
117
- ], 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" }]
118
- }], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
119
- type: Optional
120
- }, {
121
- type: Self
122
- }] }, { type: i0.ChangeDetectorRef }], propDecorators: { input: [{
123
- type: ViewChild,
124
- args: [DaffQuantityInputComponent]
125
- }], select: [{
126
- type: ViewChild,
127
- args: [DaffQuantitySelectComponent]
128
- }], min: [{
129
- type: Input
130
- }], max: [{
131
- type: Input
132
- }], selectMax: [{
133
- type: Input
134
- }], id: [{
135
- type: Input
136
- }] } });
137
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbnRpdHktZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcXVhbnRpdHktZmllbGQvcXVhbnRpdHktZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2Zvcm0vcXVhbnRpdHktZmllbGQvcXVhbnRpdHktZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDN0QsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsdUJBQXVCLEVBQ3ZCLFFBQVEsRUFDUixJQUFJLEVBQ0osU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBRUwsU0FBUyxHQUNWLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEIsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDdkYsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDMUYsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7Ozs7OztBQWN4RSxNQUFNLE9BQ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