@daffodil/design 0.39.13 → 0.40.1

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 (1092) hide show
  1. package/accordion/examples/basic-accordion/basic-accordion.component.d.ts +3 -0
  2. package/accordion/examples/basic-accordion/basic-accordion.module.d.ts +6 -0
  3. package/accordion/examples/daffodil-design-accordion-examples.d.ts +1 -2
  4. package/accordion/examples/nav-accordion/nav-accordion.component.d.ts +3 -0
  5. package/accordion/examples/nav-accordion/nav-accordion.module.d.ts +6 -0
  6. package/accordion/examples/package.json +5 -6
  7. package/accordion/examples/public_api.d.ts +2 -0
  8. package/article/examples/article-blockquote/article-blockquote.component.d.ts +3 -0
  9. package/article/examples/article-code-block/article-code-block.component.d.ts +3 -0
  10. package/article/examples/article-code-inline/article-code-inline.component.d.ts +3 -0
  11. package/article/examples/article-examples.module.d.ts +17 -0
  12. package/article/examples/article-headings/article-headings.component.d.ts +3 -0
  13. package/article/examples/article-hr/article-hr.component.d.ts +3 -0
  14. package/article/examples/article-lead/article-lead.component.d.ts +3 -0
  15. package/article/examples/article-link/article-link.component.d.ts +3 -0
  16. package/article/examples/article-meta/article-meta.component.d.ts +3 -0
  17. package/article/examples/article-ol/article-ol.component.d.ts +3 -0
  18. package/article/examples/article-table/article-table.component.d.ts +3 -0
  19. package/article/examples/article-ul/article-ul.component.d.ts +3 -0
  20. package/article/examples/daffodil-design-article-examples.d.ts +1 -1
  21. package/article/examples/package.json +5 -6
  22. package/atoms/button/button.component.d.ts +4 -1
  23. package/atoms/button/button.module.d.ts +7 -0
  24. package/atoms/container/container.component.d.ts +3 -0
  25. package/atoms/container/container.module.d.ts +6 -0
  26. package/atoms/form/checkbox/checkbox.component.d.ts +3 -0
  27. package/atoms/form/checkbox/checkbox.module.d.ts +8 -0
  28. package/atoms/form/checkbox/cva/checkbox-cva.directive.d.ts +3 -0
  29. package/atoms/form/checkbox-set/checkbox-set.component.d.ts +3 -0
  30. package/atoms/form/error-message/error-message.component.d.ts +3 -0
  31. package/atoms/form/error-message/error-message.module.d.ts +5 -0
  32. package/atoms/form/form-field/form-field/form-field.component.d.ts +3 -0
  33. package/atoms/form/form-field/form-field.module.d.ts +8 -0
  34. package/atoms/form/input/input.component.d.ts +3 -0
  35. package/atoms/form/input/input.module.d.ts +6 -0
  36. package/atoms/form/quantity-field/quantity-field.component.d.ts +3 -0
  37. package/atoms/form/quantity-field/quantity-field.module.d.ts +11 -0
  38. package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +3 -0
  39. package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +3 -0
  40. package/atoms/form/radio/cva/radio-cva.directive.d.ts +3 -0
  41. package/atoms/form/radio/radio.component.d.ts +3 -0
  42. package/atoms/form/radio/radio.module.d.ts +8 -0
  43. package/atoms/form/radio/registry/radio-registry.d.ts +3 -0
  44. package/atoms/form/radio-set/radio-set.component.d.ts +3 -0
  45. package/atoms/form/select/select/select.component.d.ts +3 -0
  46. package/atoms/form/select/select.module.d.ts +6 -0
  47. package/atoms/image/image.component.d.ts +3 -0
  48. package/atoms/image/image.module.d.ts +6 -0
  49. package/atoms/loading-icon/loading-icon.component.d.ts +3 -0
  50. package/atoms/loading-icon/loading-icon.module.d.ts +6 -0
  51. package/atoms/progress-indicator/progress-indicator.component.d.ts +3 -0
  52. package/atoms/progress-indicator/progress-indicator.module.d.ts +6 -0
  53. package/button/examples/basic-button/basic-button.component.d.ts +3 -0
  54. package/button/examples/basic-button/basic-button.module.d.ts +7 -0
  55. package/button/examples/daffodil-design-button-examples.d.ts +1 -7
  56. package/button/examples/icon-button/icon-button.component.d.ts +3 -0
  57. package/button/examples/icon-button/icon-button.module.d.ts +7 -0
  58. package/button/examples/package.json +5 -6
  59. package/button/examples/public_api.d.ts +5 -0
  60. package/button/examples/raised-button/raised-button.component.d.ts +3 -0
  61. package/button/examples/raised-button/raised-button.module.d.ts +7 -0
  62. package/button/examples/sizeable-button/sizeable-button.component.d.ts +3 -0
  63. package/button/examples/sizeable-button/sizeable-button.module.d.ts +7 -0
  64. package/button/examples/statusable-button/statusable-button.component.d.ts +3 -0
  65. package/button/examples/statusable-button/statusable-button.module.d.ts +7 -0
  66. package/button/examples/stroked-button/stroked-button.component.d.ts +3 -0
  67. package/button/examples/stroked-button/stroked-button.module.d.ts +7 -0
  68. package/button/examples/underline-button/underline-button.component.d.ts +3 -0
  69. package/button/examples/underline-button/underline-button.module.d.ts +7 -0
  70. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +3 -0
  71. package/callout/examples/callout-text-alignment/callout-text-alignment.module.d.ts +9 -0
  72. package/callout/examples/callout-theming/callout-theming.component.d.ts +3 -0
  73. package/callout/examples/callout-theming/callout-theming.module.d.ts +9 -0
  74. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +3 -0
  75. package/callout/examples/callout-with-grid/callout-with-grid.module.d.ts +9 -0
  76. package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
  77. package/callout/examples/compact-callout/compact-callout.module.d.ts +8 -0
  78. package/callout/examples/daffodil-design-callout-examples.d.ts +1 -0
  79. package/callout/examples/package.json +5 -6
  80. package/card/examples/basic-card/basic-card.component.d.ts +3 -0
  81. package/card/examples/basic-card/basic-card.module.d.ts +8 -0
  82. package/card/examples/card-orientation/card-orientation.component.d.ts +3 -0
  83. package/card/examples/card-orientation/card-orientation.module.d.ts +9 -0
  84. package/card/examples/card-theming/card-theming.component.d.ts +3 -0
  85. package/card/examples/card-theming/card-theming.module.d.ts +8 -0
  86. package/card/examples/daffodil-design-card-examples.d.ts +1 -6
  87. package/card/examples/linkable-card/linkable-card.component.d.ts +3 -0
  88. package/card/examples/linkable-card/linkable-card.module.d.ts +9 -0
  89. package/card/examples/package.json +5 -6
  90. package/card/examples/public_api.d.ts +4 -0
  91. package/card/examples/raised-card/raised-card.component.d.ts +3 -0
  92. package/card/examples/raised-card/raised-card.module.d.ts +8 -0
  93. package/card/examples/stroked-card/stroked-card.component.d.ts +3 -0
  94. package/card/examples/stroked-card/stroked-card.module.d.ts +9 -0
  95. package/checkbox/examples/basic-checkbox/basic-checkbox.component.d.ts +3 -0
  96. package/checkbox/examples/basic-checkbox/basic-checkbox.module.d.ts +7 -0
  97. package/checkbox/examples/checkbox-set/checkbox-set.component.d.ts +3 -0
  98. package/checkbox/examples/checkbox-set/checkbox-set.module.d.ts +7 -0
  99. package/checkbox/examples/daffodil-design-checkbox-examples.d.ts +1 -4
  100. package/checkbox/examples/package.json +5 -6
  101. package/container/examples/container-sizes/container-sizes.component.d.ts +3 -0
  102. package/container/examples/container-sizes/container-sizes.module.d.ts +8 -0
  103. package/container/examples/daffodil-design-container-examples.d.ts +1 -0
  104. package/container/examples/package.json +5 -6
  105. package/core/prefix-suffix/prefix-suffix.module.d.ts +6 -0
  106. package/core/prefix-suffix/prefix.directive.d.ts +3 -0
  107. package/core/prefix-suffix/suffix.directive.d.ts +3 -0
  108. package/core/public_api.d.ts +1 -0
  109. package/core/theming/functions/computer.d.ts +6 -0
  110. package/core/theming/initializer.d.ts +8 -0
  111. package/core/theming/public_api.d.ts +3 -0
  112. package/core/theming/services/class-setter/theme-class-setter.service.d.ts +31 -0
  113. package/core/theming/services/os-theme/ostheme.service.d.ts +20 -0
  114. package/core/theming/services/storage/theme-storage.service.d.ts +28 -0
  115. package/core/theming/services/theming.service.d.ts +33 -0
  116. package/core/theming/types/theme.d.ts +8 -0
  117. package/daff-global.scss +1 -1
  118. package/daff-theme.scss +9 -9
  119. package/daff-typography.scss +2 -0
  120. package/daff-util.scss +2 -0
  121. package/daffodil-design.d.ts +1 -11
  122. package/esm2020/accordion/examples/basic-accordion/basic-accordion.component.mjs +12 -0
  123. package/esm2020/accordion/examples/basic-accordion/basic-accordion.module.mjs +26 -0
  124. package/esm2020/accordion/examples/daffodil-design-accordion-examples.mjs +5 -0
  125. package/{esm2015/accordion/examples/index.js → esm2020/accordion/examples/index.mjs} +0 -0
  126. package/esm2020/accordion/examples/nav-accordion/nav-accordion.component.mjs +12 -0
  127. package/esm2020/accordion/examples/nav-accordion/nav-accordion.module.mjs +26 -0
  128. package/esm2020/accordion/examples/public_api.mjs +10 -0
  129. package/esm2020/article/examples/article-blockquote/article-blockquote.component.mjs +12 -0
  130. package/esm2020/article/examples/article-code-block/article-code-block.component.mjs +12 -0
  131. package/esm2020/article/examples/article-code-inline/article-code-inline.component.mjs +12 -0
  132. package/esm2020/article/examples/article-examples.module.mjs +41 -0
  133. package/esm2020/article/examples/article-headings/article-headings.component.mjs +12 -0
  134. package/esm2020/article/examples/article-hr/article-hr.component.mjs +12 -0
  135. package/esm2020/article/examples/article-lead/article-lead.component.mjs +12 -0
  136. package/esm2020/article/examples/article-link/article-link.component.mjs +12 -0
  137. package/esm2020/article/examples/article-meta/article-meta.component.mjs +12 -0
  138. package/esm2020/article/examples/article-ol/article-ol.component.mjs +12 -0
  139. package/esm2020/article/examples/article-table/article-table.component.mjs +12 -0
  140. package/esm2020/article/examples/article-ul/article-ul.component.mjs +12 -0
  141. package/esm2020/article/examples/daffodil-design-article-examples.mjs +5 -0
  142. package/{esm2015/article/examples/examples.js → esm2020/article/examples/examples.mjs} +0 -0
  143. package/{esm2015/article/examples/index.js → esm2020/article/examples/index.mjs} +0 -0
  144. package/{esm2015/article/examples/public_api.js → esm2020/article/examples/public_api.mjs} +0 -0
  145. package/esm2020/atoms/button/button.component.mjs +132 -0
  146. package/esm2020/atoms/button/button.module.mjs +32 -0
  147. package/{esm2015/atoms/button/public_api.js → esm2020/atoms/button/public_api.mjs} +0 -0
  148. package/esm2020/atoms/container/container.component.mjs +37 -0
  149. package/esm2020/atoms/container/container.module.mjs +26 -0
  150. package/{esm2015/atoms/container/public_api.js → esm2020/atoms/container/public_api.mjs} +0 -0
  151. package/esm2020/atoms/form/checkbox/checkbox.component.mjs +142 -0
  152. package/esm2020/atoms/form/checkbox/checkbox.module.mjs +41 -0
  153. package/esm2020/atoms/form/checkbox/cva/checkbox-cva.directive.mjs +94 -0
  154. package/{esm2015/atoms/form/checkbox/public_api.js → esm2020/atoms/form/checkbox/public_api.mjs} +0 -0
  155. package/esm2020/atoms/form/checkbox-set/checkbox-set.component.mjs +38 -0
  156. package/{esm2015/atoms/form/core/error-state-matcher/error-state-matcher.js → esm2020/atoms/form/core/error-state-matcher/error-state-matcher.mjs} +0 -0
  157. package/{esm2015/atoms/form/core/public_api.js → esm2020/atoms/form/core/public_api.mjs} +0 -0
  158. package/esm2020/atoms/form/error-message/error-message.component.mjs +11 -0
  159. package/esm2020/atoms/form/error-message/error-message.module.mjs +20 -0
  160. package/{esm2015/atoms/form/error-message/public_api.js → esm2020/atoms/form/error-message/public_api.mjs} +0 -0
  161. package/esm2020/atoms/form/form-field/form-field/form-field.component.mjs +102 -0
  162. package/{esm2015/atoms/form/form-field/form-field-control.js → esm2020/atoms/form/form-field/form-field-control.mjs} +0 -0
  163. package/{esm2015/atoms/form/form-field/form-field-errors.js → esm2020/atoms/form/form-field/form-field-errors.mjs} +0 -0
  164. package/esm2020/atoms/form/form-field/form-field.module.mjs +36 -0
  165. package/{esm2015/atoms/form/form-field/public_api.js → esm2020/atoms/form/form-field/public_api.mjs} +0 -0
  166. package/esm2020/atoms/form/input/input.component.mjs +59 -0
  167. package/esm2020/atoms/form/input/input.module.mjs +26 -0
  168. package/{esm2015/atoms/form/input/public_api.js → esm2020/atoms/form/input/public_api.mjs} +0 -0
  169. package/{esm2015/atoms/form/quantity-field/public_api.js → esm2020/atoms/form/quantity-field/public_api.mjs} +0 -0
  170. package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +133 -0
  171. package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +48 -0
  172. package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +99 -0
  173. package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +81 -0
  174. package/esm2020/atoms/form/radio/cva/radio-cva.directive.mjs +89 -0
  175. package/{esm2015/atoms/form/radio/public_api.js → esm2020/atoms/form/radio/public_api.mjs} +0 -0
  176. package/esm2020/atoms/form/radio/radio.component.mjs +132 -0
  177. package/esm2020/atoms/form/radio/radio.module.mjs +36 -0
  178. package/esm2020/atoms/form/radio/registry/radio-registry.mjs +54 -0
  179. package/esm2020/atoms/form/radio-set/radio-set.component.mjs +22 -0
  180. package/{esm2015/atoms/form/select/public_api.js → esm2020/atoms/form/select/public_api.mjs} +0 -0
  181. package/esm2020/atoms/form/select/select/select.component.mjs +64 -0
  182. package/esm2020/atoms/form/select/select.module.mjs +26 -0
  183. package/esm2020/atoms/image/image.component.mjs +111 -0
  184. package/esm2020/atoms/image/image.module.mjs +29 -0
  185. package/{esm2015/atoms/image/public_api.js → esm2020/atoms/image/public_api.mjs} +0 -0
  186. package/esm2020/atoms/loading-icon/loading-icon.component.mjs +53 -0
  187. package/esm2020/atoms/loading-icon/loading-icon.module.mjs +26 -0
  188. package/{esm2015/atoms/loading-icon/public_api.js → esm2020/atoms/loading-icon/public_api.mjs} +0 -0
  189. package/{esm2015/atoms/progress-indicator/animation/progress-indicator-animation.js → esm2020/atoms/progress-indicator/animation/progress-indicator-animation.mjs} +0 -0
  190. package/esm2020/atoms/progress-indicator/progress-indicator.component.mjs +81 -0
  191. package/esm2020/atoms/progress-indicator/progress-indicator.module.mjs +22 -0
  192. package/{esm2015/atoms/progress-indicator/public_api.js → esm2020/atoms/progress-indicator/public_api.mjs} +0 -0
  193. package/esm2020/button/examples/basic-button/basic-button.component.mjs +23 -0
  194. package/esm2020/button/examples/basic-button/basic-button.module.mjs +30 -0
  195. package/esm2020/button/examples/daffodil-design-button-examples.mjs +5 -0
  196. package/esm2020/button/examples/icon-button/icon-button.component.mjs +22 -0
  197. package/esm2020/button/examples/icon-button/icon-button.module.mjs +30 -0
  198. package/{esm2015/button/examples/index.js → esm2020/button/examples/index.mjs} +0 -0
  199. package/esm2020/button/examples/public_api.mjs +25 -0
  200. package/esm2020/button/examples/raised-button/raised-button.component.mjs +23 -0
  201. package/esm2020/button/examples/raised-button/raised-button.module.mjs +30 -0
  202. package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +21 -0
  203. package/esm2020/button/examples/sizeable-button/sizeable-button.module.mjs +30 -0
  204. package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +27 -0
  205. package/esm2020/button/examples/statusable-button/statusable-button.module.mjs +30 -0
  206. package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +23 -0
  207. package/esm2020/button/examples/stroked-button/stroked-button.module.mjs +30 -0
  208. package/esm2020/button/examples/underline-button/underline-button.component.mjs +23 -0
  209. package/esm2020/button/examples/underline-button/underline-button.module.mjs +30 -0
  210. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +27 -0
  211. package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.module.mjs +41 -0
  212. package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +31 -0
  213. package/esm2020/callout/examples/callout-theming/callout-theming.module.mjs +38 -0
  214. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +17 -0
  215. package/esm2020/callout/examples/callout-with-grid/callout-with-grid.module.mjs +41 -0
  216. package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +17 -0
  217. package/esm2020/callout/examples/compact-callout/compact-callout.module.mjs +37 -0
  218. package/{esm2015/callout/examples/daffodil-design-callout-examples.js → esm2020/callout/examples/daffodil-design-callout-examples.mjs} +0 -0
  219. package/{esm2015/callout/examples/examples.js → esm2020/callout/examples/examples.mjs} +0 -0
  220. package/{esm2015/callout/examples/index.js → esm2020/callout/examples/index.mjs} +0 -0
  221. package/{esm2015/callout/examples/public_api.js → esm2020/callout/examples/public_api.mjs} +0 -0
  222. package/esm2020/card/examples/basic-card/basic-card.component.mjs +17 -0
  223. package/esm2020/card/examples/basic-card/basic-card.module.mjs +40 -0
  224. package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +26 -0
  225. package/esm2020/card/examples/card-orientation/card-orientation.module.mjs +44 -0
  226. package/esm2020/card/examples/card-theming/card-theming.component.mjs +32 -0
  227. package/esm2020/card/examples/card-theming/card-theming.module.mjs +37 -0
  228. package/esm2020/card/examples/daffodil-design-card-examples.mjs +5 -0
  229. package/{esm2015/card/examples/index.js → esm2020/card/examples/index.mjs} +0 -0
  230. package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +30 -0
  231. package/esm2020/card/examples/linkable-card/linkable-card.module.mjs +44 -0
  232. package/esm2020/card/examples/public_api.mjs +22 -0
  233. package/esm2020/card/examples/raised-card/raised-card.component.mjs +28 -0
  234. package/esm2020/card/examples/raised-card/raised-card.module.mjs +40 -0
  235. package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +28 -0
  236. package/esm2020/card/examples/stroked-card/stroked-card.module.mjs +44 -0
  237. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +26 -0
  238. package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.module.mjs +34 -0
  239. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +28 -0
  240. package/esm2020/checkbox/examples/checkbox-set/checkbox-set.module.mjs +34 -0
  241. package/esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs +5 -0
  242. package/{esm2015/checkbox/examples/examples.js → esm2020/checkbox/examples/examples.mjs} +0 -0
  243. package/{esm2015/checkbox/examples/index.js → esm2020/checkbox/examples/index.mjs} +0 -0
  244. package/{esm2015/checkbox/examples/public_api.js → esm2020/checkbox/examples/public_api.mjs} +0 -0
  245. package/esm2020/container/examples/container-sizes/container-sizes.component.mjs +25 -0
  246. package/esm2020/container/examples/container-sizes/container-sizes.module.mjs +34 -0
  247. package/{esm2015/container/examples/daffodil-design-container-examples.js → esm2020/container/examples/daffodil-design-container-examples.mjs} +0 -0
  248. package/{esm2015/container/examples/examples.js → esm2020/container/examples/examples.mjs} +0 -0
  249. package/{esm2015/container/examples/index.js → esm2020/container/examples/index.mjs} +0 -0
  250. package/{esm2015/container/examples/public_api.js → esm2020/container/examples/public_api.mjs} +0 -0
  251. package/{esm2015/core/article-encapsulated/article-encapsulated-mixin.js → esm2020/core/article-encapsulated/article-encapsulated-mixin.mjs} +0 -0
  252. package/{esm2015/core/article-encapsulated/public_api.js → esm2020/core/article-encapsulated/public_api.mjs} +0 -0
  253. package/{esm2015/core/breakpoints/breakpoints.js → esm2020/core/breakpoints/breakpoints.mjs} +0 -0
  254. package/{esm2015/core/colorable/color-in-palette.js → esm2020/core/colorable/color-in-palette.mjs} +0 -0
  255. package/{esm2015/core/colorable/colorable-enum.js → esm2020/core/colorable/colorable-enum.mjs} +0 -0
  256. package/esm2020/core/colorable/colorable-mixin.mjs +42 -0
  257. package/{esm2015/core/colorable/colorable.js → esm2020/core/colorable/colorable.mjs} +0 -0
  258. package/{esm2015/core/colorable/public_api.js → esm2020/core/colorable/public_api.mjs} +0 -0
  259. package/{esm2015/core/compactable/compactable-mixin.js → esm2020/core/compactable/compactable-mixin.mjs} +0 -0
  260. package/{esm2015/core/compactable/compactable.js → esm2020/core/compactable/compactable.mjs} +0 -0
  261. package/{esm2015/core/compactable/public_api.js → esm2020/core/compactable/public_api.mjs} +0 -0
  262. package/{esm2015/core/constructor/constructor.js → esm2020/core/constructor/constructor.mjs} +0 -0
  263. package/{esm2015/core/manage-container-layout/manage-container-layout-mixin.js → esm2020/core/manage-container-layout/manage-container-layout-mixin.mjs} +0 -0
  264. package/{esm2015/core/manage-container-layout/public_api.js → esm2020/core/manage-container-layout/public_api.mjs} +0 -0
  265. package/{esm2015/core/mutable/mutable.js → esm2020/core/mutable/mutable.mjs} +0 -0
  266. package/esm2020/core/prefix-suffix/prefix-suffix.module.mjs +26 -0
  267. package/esm2020/core/prefix-suffix/prefix.directive.mjs +24 -0
  268. package/{esm2015/core/prefix-suffix/prefixable/prefixable-interface.js → esm2020/core/prefix-suffix/prefixable/prefixable-interface.mjs} +0 -0
  269. package/esm2020/core/prefix-suffix/prefixable/prefixable.mjs +23 -0
  270. package/{esm2015/core/prefix-suffix/public_api.js → esm2020/core/prefix-suffix/public_api.mjs} +0 -0
  271. package/esm2020/core/prefix-suffix/suffix.directive.mjs +24 -0
  272. package/{esm2015/core/prefix-suffix/suffixable/suffixable-interface.js → esm2020/core/prefix-suffix/suffixable/suffixable-interface.mjs} +0 -0
  273. package/esm2020/core/prefix-suffix/suffixable/suffixable.mjs +23 -0
  274. package/esm2020/core/public_api.mjs +14 -0
  275. package/esm2020/core/sizeable/sizeable-mixin.mjs +31 -0
  276. package/{esm2015/core/sizeable/sizeable.js → esm2020/core/sizeable/sizeable.mjs} +0 -0
  277. package/{esm2015/core/skeletonable/skeletonable.js → esm2020/core/skeletonable/skeletonable.mjs} +0 -0
  278. package/esm2020/core/statusable/statusable-mixin.mjs +32 -0
  279. package/{esm2015/core/statusable/statusable.js → esm2020/core/statusable/statusable.mjs} +0 -0
  280. package/esm2020/core/text-alignable/text-alignable-mixin.mjs +35 -0
  281. package/{esm2015/core/text-alignable/text-alignable.js → esm2020/core/text-alignable/text-alignable.mjs} +0 -0
  282. package/esm2020/core/theming/functions/computer.mjs +18 -0
  283. package/esm2020/core/theming/initializer.mjs +17 -0
  284. package/esm2020/core/theming/public_api.mjs +4 -0
  285. package/esm2020/core/theming/services/class-setter/theme-class-setter.service.mjs +52 -0
  286. package/esm2020/core/theming/services/os-theme/ostheme.service.mjs +49 -0
  287. package/esm2020/core/theming/services/storage/theme-storage.service.mjs +65 -0
  288. package/esm2020/core/theming/services/theming.service.mjs +61 -0
  289. package/esm2020/core/theming/types/theme.mjs +10 -0
  290. package/esm2020/daffodil-design.mjs +5 -0
  291. package/{esm2015/examples/examples.js → esm2020/examples/examples.mjs} +0 -0
  292. package/{esm2015/examples/public_api.js → esm2020/examples/public_api.mjs} +0 -0
  293. package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +17 -0
  294. package/esm2020/hero/examples/compact-hero/compact-hero.module.mjs +41 -0
  295. package/{esm2015/hero/examples/daffodil-design-hero-examples.js → esm2020/hero/examples/daffodil-design-hero-examples.mjs} +0 -0
  296. package/{esm2015/hero/examples/examples.js → esm2020/hero/examples/examples.mjs} +0 -0
  297. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +27 -0
  298. package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.module.mjs +41 -0
  299. package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +21 -0
  300. package/esm2020/hero/examples/hero-theming/hero-theming.module.mjs +41 -0
  301. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +17 -0
  302. package/esm2020/hero/examples/hero-with-grid/hero-with-grid.module.mjs +41 -0
  303. package/{esm2015/hero/examples/index.js → esm2020/hero/examples/index.mjs} +0 -0
  304. package/{esm2015/hero/examples/public_api.js → esm2020/hero/examples/public_api.mjs} +0 -0
  305. package/esm2020/list/examples/basic-list/basic-list.component.mjs +12 -0
  306. package/esm2020/list/examples/basic-list/basic-list.module.mjs +30 -0
  307. package/esm2020/list/examples/daffodil-design-list-examples.mjs +5 -0
  308. package/{esm2015/list/examples/examples.js → esm2020/list/examples/examples.mjs} +0 -0
  309. package/esm2020/list/examples/icon-list/icon-list.component.mjs +17 -0
  310. package/esm2020/list/examples/icon-list/icon-list.module.mjs +34 -0
  311. package/{esm2015/list/examples/index.js → esm2020/list/examples/index.mjs} +0 -0
  312. package/esm2020/list/examples/list-examples.module.mjs +39 -0
  313. package/esm2020/list/examples/multiline-list/multiline-list.component.mjs +12 -0
  314. package/esm2020/list/examples/multiline-list/multiline-list.module.mjs +34 -0
  315. package/esm2020/list/examples/nav-list/nav-list.component.mjs +17 -0
  316. package/esm2020/list/examples/nav-list/nav-list.module.mjs +34 -0
  317. package/{esm2015/list/examples/public_api.js → esm2020/list/examples/public_api.mjs} +0 -0
  318. package/esm2020/loading-icon/examples/daffodil-design-loading-icon-examples.mjs +5 -0
  319. package/{esm2015/loading-icon/examples/examples.js → esm2020/loading-icon/examples/examples.mjs} +0 -0
  320. package/{esm2015/loading-icon/examples/index.js → esm2020/loading-icon/examples/index.mjs} +0 -0
  321. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +19 -0
  322. package/esm2020/loading-icon/examples/loading-icon-color/loading-icon-color.module.mjs +33 -0
  323. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +12 -0
  324. package/esm2020/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.mjs +26 -0
  325. package/{esm2015/loading-icon/examples/public_api.js → esm2020/loading-icon/examples/public_api.mjs} +0 -0
  326. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +12 -0
  327. package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.mjs +30 -0
  328. package/esm2020/media-gallery/examples/daffodil-design-media-gallery-examples.mjs +5 -0
  329. package/{esm2015/media-gallery/examples/examples.js → esm2020/media-gallery/examples/examples.mjs} +0 -0
  330. package/{esm2015/media-gallery/examples/index.js → esm2020/media-gallery/examples/index.mjs} +0 -0
  331. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +12 -0
  332. package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.mjs +30 -0
  333. package/esm2020/media-gallery/examples/public_api.mjs +6 -0
  334. package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +20 -0
  335. package/esm2020/modal/examples/basic-modal/basic-modal.module.mjs +32 -0
  336. package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +12 -0
  337. package/esm2020/modal/examples/daffodil-design-modal-examples.mjs +5 -0
  338. package/{esm2015/modal/examples/index.js → esm2020/modal/examples/index.mjs} +0 -0
  339. package/{esm2015/modal/examples/public_api.js → esm2020/modal/examples/public_api.mjs} +0 -0
  340. package/esm2020/molecules/accordion/accordion/accordion.component.mjs +27 -0
  341. package/esm2020/molecules/accordion/accordion-item/accordion-item.component.mjs +54 -0
  342. package/esm2020/molecules/accordion/accordion-item-content/accordion-item-content.directive.mjs +22 -0
  343. package/esm2020/molecules/accordion/accordion-item-title/accordion-item-title.directive.mjs +22 -0
  344. package/esm2020/molecules/accordion/accordion.module.mjs +54 -0
  345. package/{esm2015/molecules/accordion/animation/accordion-animation-state.js → esm2020/molecules/accordion/animation/accordion-animation-state.mjs} +0 -0
  346. package/{esm2015/molecules/accordion/animation/accordion-animation.js → esm2020/molecules/accordion/animation/accordion-animation.mjs} +0 -0
  347. package/esm2020/molecules/accordion/nav-accordion-item/nav-accordion-item.component.mjs +78 -0
  348. package/esm2020/molecules/accordion/public_api.mjs +7 -0
  349. package/esm2020/molecules/article/article/article.component.mjs +30 -0
  350. package/esm2020/molecules/article/article-lead/article-lead.directive.mjs +22 -0
  351. package/esm2020/molecules/article/article-meta/article-meta.directive.mjs +22 -0
  352. package/esm2020/molecules/article/article-title/article-title.directive.mjs +22 -0
  353. package/esm2020/molecules/article/article.module.mjs +41 -0
  354. package/{esm2015/molecules/article/public_api.js → esm2020/molecules/article/public_api.mjs} +0 -0
  355. package/{esm2015/molecules/backdrop/animation/backdrop-animation.js → esm2020/molecules/backdrop/animation/backdrop-animation.mjs} +0 -0
  356. package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +52 -0
  357. package/esm2020/molecules/backdrop/backdrop.module.mjs +29 -0
  358. package/{esm2015/molecules/backdrop/public_api.js → esm2020/molecules/backdrop/public_api.mjs} +0 -0
  359. package/esm2020/molecules/button-set/button-set.component.mjs +20 -0
  360. package/esm2020/molecules/button-set/button-set.module.mjs +20 -0
  361. package/{esm2015/molecules/button-set/public_api.js → esm2020/molecules/button-set/public_api.mjs} +0 -0
  362. package/esm2020/molecules/callout/callout/callout.component.mjs +71 -0
  363. package/esm2020/molecules/callout/callout-body/callout-body.directive.mjs +22 -0
  364. package/esm2020/molecules/callout/callout-icon/callout-icon.directive.mjs +22 -0
  365. package/esm2020/molecules/callout/callout-subtitle/callout-subtitle.directive.mjs +22 -0
  366. package/esm2020/molecules/callout/callout-tagline/callout-tagline.directive.mjs +22 -0
  367. package/esm2020/molecules/callout/callout-title/callout-title.directive.mjs +22 -0
  368. package/esm2020/molecules/callout/callout.module.mjs +51 -0
  369. package/{esm2015/molecules/callout/public_api.js → esm2020/molecules/callout/public_api.mjs} +0 -0
  370. package/esm2020/molecules/card/card/card.component.mjs +113 -0
  371. package/esm2020/molecules/card/card-actions/card-actions.directive.mjs +22 -0
  372. package/esm2020/molecules/card/card-content/card-content.directive.mjs +22 -0
  373. package/esm2020/molecules/card/card-icon/card-icon.directive.mjs +22 -0
  374. package/esm2020/molecules/card/card-image/card-image.directive.mjs +22 -0
  375. package/esm2020/molecules/card/card-tagline/card-tagline.directive.mjs +22 -0
  376. package/esm2020/molecules/card/card-title/card-title.directive.mjs +22 -0
  377. package/esm2020/molecules/card/card.module.mjs +56 -0
  378. package/{esm2015/molecules/card/public_api.js → esm2020/molecules/card/public_api.mjs} +0 -0
  379. package/esm2020/molecules/feature/feature/feature.component.mjs +49 -0
  380. package/esm2020/molecules/feature/feature-icon/feature-icon.directive.mjs +22 -0
  381. package/esm2020/molecules/feature/feature-subheader/feature-subheader.directive.mjs +22 -0
  382. package/esm2020/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +22 -0
  383. package/esm2020/molecules/feature/feature-title/feature-title.directive.mjs +22 -0
  384. package/esm2020/molecules/feature/feature.module.mjs +46 -0
  385. package/{esm2015/molecules/feature/public_api.js → esm2020/molecules/feature/public_api.mjs} +0 -0
  386. package/esm2020/molecules/hero/hero/hero.component.mjs +72 -0
  387. package/esm2020/molecules/hero/hero-body/hero-body.directive.mjs +22 -0
  388. package/esm2020/molecules/hero/hero-icon/hero-icon.directive.mjs +22 -0
  389. package/esm2020/molecules/hero/hero-subtitle/hero-subtitle.directive.mjs +22 -0
  390. package/esm2020/molecules/hero/hero-tagline/hero-tagline.directive.mjs +22 -0
  391. package/esm2020/molecules/hero/hero-title/hero-title.directive.mjs +22 -0
  392. package/esm2020/molecules/hero/hero.module.mjs +51 -0
  393. package/{esm2015/molecules/hero/public_api.js → esm2020/molecules/hero/public_api.mjs} +0 -0
  394. package/esm2020/molecules/image-gallery/gallery-image/gallery-image.component.mjs +25 -0
  395. package/esm2020/molecules/image-gallery/image-gallery/image-gallery.component.mjs +15 -0
  396. package/esm2020/molecules/image-gallery/image-gallery.module.mjs +35 -0
  397. package/{esm2015/molecules/image-gallery/public_api.js → esm2020/molecules/image-gallery/public_api.mjs} +0 -0
  398. package/esm2020/molecules/image-list/image-list.component.mjs +20 -0
  399. package/esm2020/molecules/image-list/image-list.module.mjs +26 -0
  400. package/{esm2015/molecules/image-list/public_api.js → esm2020/molecules/image-list/public_api.mjs} +0 -0
  401. package/esm2020/molecules/link-set/link-set/link-set.component.mjs +37 -0
  402. package/esm2020/molecules/link-set/link-set-heading/link-set-heading.directive.mjs +25 -0
  403. package/esm2020/molecules/link-set/link-set-item/link-set-item.component.mjs +26 -0
  404. package/esm2020/molecules/link-set/link-set-subheading/link-set-subheading.directive.mjs +25 -0
  405. package/esm2020/molecules/link-set/link-set.module.mjs +41 -0
  406. package/{esm2015/molecules/link-set/public_api.js → esm2020/molecules/link-set/public_api.mjs} +0 -0
  407. package/esm2020/molecules/list/list/list.component.mjs +110 -0
  408. package/esm2020/molecules/list/list-item/list-item.component.mjs +49 -0
  409. package/esm2020/molecules/list/list-subheader/list-subheader.directive.mjs +25 -0
  410. package/esm2020/molecules/list/list.module.mjs +42 -0
  411. package/{esm2015/molecules/list/public_api.js → esm2020/molecules/list/public_api.mjs} +0 -0
  412. package/{esm2015/molecules/media-gallery/media-gallery-registration.interface.js → esm2020/molecules/media-gallery/media-gallery-registration.interface.mjs} +0 -0
  413. package/{esm2015/molecules/media-gallery/media-gallery-token.js → esm2020/molecules/media-gallery/media-gallery-token.mjs} +0 -0
  414. package/esm2020/molecules/media-gallery/media-gallery.component.mjs +59 -0
  415. package/esm2020/molecules/media-gallery/media-gallery.module.mjs +34 -0
  416. package/esm2020/molecules/media-gallery/media-renderer/media-renderer.component.mjs +76 -0
  417. package/{esm2015/molecules/media-gallery/public_api.js → esm2020/molecules/media-gallery/public_api.mjs} +0 -0
  418. package/esm2020/molecules/media-gallery/registry/media-gallery.registry.mjs +97 -0
  419. package/{esm2015/molecules/media-gallery/thumbnail/thumbnail-compat.token.js → esm2020/molecules/media-gallery/thumbnail/thumbnail-compat.token.mjs} +0 -0
  420. package/{esm2015/molecules/media-gallery/thumbnail/thumbnail-registration.interface.js → esm2020/molecules/media-gallery/thumbnail/thumbnail-registration.interface.mjs} +0 -0
  421. package/esm2020/molecules/media-gallery/thumbnail/thumbnail.directive.mjs +88 -0
  422. package/{esm2015/molecules/modal/animations/modal-animation-state.js → esm2020/molecules/modal/animations/modal-animation-state.mjs} +0 -0
  423. package/{esm2015/molecules/modal/animations/modal-animation.js → esm2020/molecules/modal/animations/modal-animation.mjs} +0 -0
  424. package/{esm2015/molecules/modal/modal/modal-config.js → esm2020/molecules/modal/modal/modal-config.mjs} +0 -0
  425. package/esm2020/molecules/modal/modal/modal.component.mjs +79 -0
  426. package/esm2020/molecules/modal/modal-actions/modal-actions.component.mjs +11 -0
  427. package/esm2020/molecules/modal/modal-content/modal-content.component.mjs +11 -0
  428. package/esm2020/molecules/modal/modal-header/modal-header.component.mjs +20 -0
  429. package/esm2020/molecules/modal/modal-title/modal-title.directive.mjs +22 -0
  430. package/{esm2015/molecules/modal/modal.js → esm2020/molecules/modal/modal.mjs} +0 -0
  431. package/esm2020/molecules/modal/modal.module.mjs +52 -0
  432. package/{esm2015/molecules/modal/public_api.js → esm2020/molecules/modal/public_api.mjs} +0 -0
  433. package/esm2020/molecules/modal/service/modal.service.mjs +70 -0
  434. package/esm2020/molecules/navbar/navbar.component.mjs +51 -0
  435. package/esm2020/molecules/navbar/navbar.module.mjs +20 -0
  436. package/{esm2015/molecules/navbar/public_api.js → esm2020/molecules/navbar/public_api.mjs} +0 -0
  437. package/{esm2015/molecules/paginator/paginator-errors.js → esm2020/molecules/paginator/paginator-errors.mjs} +0 -0
  438. package/esm2020/molecules/paginator/paginator.component.mjs +159 -0
  439. package/esm2020/molecules/paginator/paginator.module.mjs +34 -0
  440. package/{esm2015/molecules/paginator/public_api.js → esm2020/molecules/paginator/public_api.mjs} +0 -0
  441. package/{esm2015/molecules/qty-dropdown/public_api.js → esm2020/molecules/qty-dropdown/public_api.mjs} +0 -0
  442. package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +115 -0
  443. package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +42 -0
  444. package/{esm2015/molecules/sidebar/animation/sidebar-animation-state.js → esm2020/molecules/sidebar/animation/sidebar-animation-state.mjs} +0 -0
  445. package/{esm2015/molecules/sidebar/animation/sidebar-animation.js → esm2020/molecules/sidebar/animation/sidebar-animation.mjs} +0 -0
  446. package/{esm2015/molecules/sidebar/helper/sidebar-mode.js → esm2020/molecules/sidebar/helper/sidebar-mode.mjs} +0 -0
  447. package/{esm2015/molecules/sidebar/public_api.js → esm2020/molecules/sidebar/public_api.mjs} +0 -0
  448. package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +44 -0
  449. package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +121 -0
  450. package/esm2020/molecules/sidebar/sidebar.module.mjs +39 -0
  451. package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +12 -0
  452. package/esm2020/navbar/examples/basic-navbar/basic-navbar.module.mjs +33 -0
  453. package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +12 -0
  454. package/esm2020/navbar/examples/contained-navbar/contained-navbar.module.mjs +33 -0
  455. package/{esm2015/navbar/examples/daffodil-design-navbar-examples.js → esm2020/navbar/examples/daffodil-design-navbar-examples.mjs} +0 -0
  456. package/{esm2015/navbar/examples/examples.js → esm2020/navbar/examples/examples.mjs} +0 -0
  457. package/{esm2015/navbar/examples/index.js → esm2020/navbar/examples/index.mjs} +0 -0
  458. package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +28 -0
  459. package/esm2020/navbar/examples/navbar-theming/navbar-theming.module.mjs +34 -0
  460. package/{esm2015/navbar/examples/public_api.js → esm2020/navbar/examples/public_api.mjs} +0 -0
  461. package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +12 -0
  462. package/esm2020/navbar/examples/raised-navbar/raised-navbar.module.mjs +30 -0
  463. package/esm2020/paginator/examples/basic-paginator/basic-paginator.component.mjs +19 -0
  464. package/esm2020/paginator/examples/daffodil-design-paginator-examples.mjs +5 -0
  465. package/esm2020/paginator/examples/examples.mjs +5 -0
  466. package/esm2020/paginator/examples/index.mjs +2 -0
  467. package/esm2020/paginator/examples/paginator-examples.module.mjs +31 -0
  468. package/esm2020/paginator/examples/public_api.mjs +4 -0
  469. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  470. package/esm2020/quantity-field/examples/basic/basic-quantity-field.component.mjs +17 -0
  471. package/esm2020/quantity-field/examples/basic/basic-quantity-field.module.mjs +37 -0
  472. package/esm2020/quantity-field/examples/customRange/custom-range-quantity-field.component.mjs +17 -0
  473. package/esm2020/quantity-field/examples/customRange/custom-range-quantity-field.module.mjs +37 -0
  474. package/esm2020/quantity-field/examples/daffodil-design-quantity-field-examples.mjs +5 -0
  475. package/esm2020/quantity-field/examples/disabled/disabled-quantity-field.component.mjs +17 -0
  476. package/esm2020/quantity-field/examples/disabled/disabled-quantity-field.module.mjs +37 -0
  477. package/{esm2015/quantity-field/examples/examples.js → esm2020/quantity-field/examples/examples.mjs} +0 -0
  478. package/{esm2015/quantity-field/examples/index.js → esm2020/quantity-field/examples/index.mjs} +0 -0
  479. package/esm2020/quantity-field/examples/public_api.mjs +10 -0
  480. package/esm2020/quantity-field/examples/selectMax/select-max-quantity-field.component.mjs +17 -0
  481. package/esm2020/quantity-field/examples/selectMax/select-max-quantity-field.module.mjs +37 -0
  482. package/esm2020/radio/examples/basic-radio/basic-radio.component.mjs +21 -0
  483. package/esm2020/radio/examples/basic-radio/basic-radio.module.mjs +31 -0
  484. package/esm2020/radio/examples/daffodil-design-radio-examples.mjs +5 -0
  485. package/{esm2015/radio/examples/examples.js → esm2020/radio/examples/examples.mjs} +0 -0
  486. package/{esm2015/radio/examples/index.js → esm2020/radio/examples/index.mjs} +0 -0
  487. package/{esm2015/radio/examples/public_api.js → esm2020/radio/examples/public_api.mjs} +0 -0
  488. package/fesm2015/daffodil-design-accordion-examples.mjs +78 -0
  489. package/fesm2015/daffodil-design-accordion-examples.mjs.map +1 -0
  490. package/fesm2015/daffodil-design-article-examples.mjs +150 -0
  491. package/fesm2015/daffodil-design-article-examples.mjs.map +1 -0
  492. package/fesm2015/daffodil-design-button-examples.mjs +326 -0
  493. package/fesm2015/daffodil-design-button-examples.mjs.map +1 -0
  494. package/fesm2015/daffodil-design-callout-examples.mjs +221 -0
  495. package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -0
  496. package/fesm2015/daffodil-design-card-examples.mjs +362 -0
  497. package/fesm2015/daffodil-design-card-examples.mjs.map +1 -0
  498. package/fesm2015/daffodil-design-checkbox-examples.mjs +123 -0
  499. package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -0
  500. package/fesm2015/daffodil-design-container-examples.mjs +66 -0
  501. package/fesm2015/daffodil-design-container-examples.mjs.map +1 -0
  502. package/fesm2015/daffodil-design-hero-examples.mjs +218 -0
  503. package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -0
  504. package/fesm2015/daffodil-design-list-examples.mjs +204 -0
  505. package/fesm2015/daffodil-design-list-examples.mjs.map +1 -0
  506. package/fesm2015/daffodil-design-loading-icon-examples.mjs +91 -0
  507. package/fesm2015/daffodil-design-loading-icon-examples.mjs.map +1 -0
  508. package/fesm2015/daffodil-design-media-gallery-examples.mjs +86 -0
  509. package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -0
  510. package/fesm2015/daffodil-design-modal-examples.mjs +66 -0
  511. package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -0
  512. package/fesm2015/daffodil-design-navbar-examples.mjs +180 -0
  513. package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -0
  514. package/fesm2015/daffodil-design-paginator-examples.mjs +57 -0
  515. package/fesm2015/daffodil-design-paginator-examples.mjs.map +1 -0
  516. package/fesm2015/daffodil-design-quantity-field-examples.mjs +193 -0
  517. package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -0
  518. package/fesm2015/daffodil-design-radio-examples.mjs +62 -0
  519. package/fesm2015/daffodil-design-radio-examples.mjs.map +1 -0
  520. package/fesm2015/daffodil-design.mjs +5393 -0
  521. package/fesm2015/daffodil-design.mjs.map +1 -0
  522. package/fesm2020/daffodil-design-accordion-examples.mjs +78 -0
  523. package/fesm2020/daffodil-design-accordion-examples.mjs.map +1 -0
  524. package/fesm2020/daffodil-design-article-examples.mjs +150 -0
  525. package/fesm2020/daffodil-design-article-examples.mjs.map +1 -0
  526. package/fesm2020/daffodil-design-button-examples.mjs +326 -0
  527. package/fesm2020/daffodil-design-button-examples.mjs.map +1 -0
  528. package/fesm2020/daffodil-design-callout-examples.mjs +221 -0
  529. package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -0
  530. package/fesm2020/daffodil-design-card-examples.mjs +362 -0
  531. package/fesm2020/daffodil-design-card-examples.mjs.map +1 -0
  532. package/fesm2020/daffodil-design-checkbox-examples.mjs +123 -0
  533. package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -0
  534. package/fesm2020/daffodil-design-container-examples.mjs +66 -0
  535. package/fesm2020/daffodil-design-container-examples.mjs.map +1 -0
  536. package/fesm2020/daffodil-design-hero-examples.mjs +218 -0
  537. package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -0
  538. package/fesm2020/daffodil-design-list-examples.mjs +204 -0
  539. package/fesm2020/daffodil-design-list-examples.mjs.map +1 -0
  540. package/fesm2020/daffodil-design-loading-icon-examples.mjs +91 -0
  541. package/fesm2020/daffodil-design-loading-icon-examples.mjs.map +1 -0
  542. package/fesm2020/daffodil-design-media-gallery-examples.mjs +86 -0
  543. package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -0
  544. package/fesm2020/daffodil-design-modal-examples.mjs +66 -0
  545. package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -0
  546. package/fesm2020/daffodil-design-navbar-examples.mjs +180 -0
  547. package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -0
  548. package/fesm2020/daffodil-design-paginator-examples.mjs +57 -0
  549. package/fesm2020/daffodil-design-paginator-examples.mjs.map +1 -0
  550. package/fesm2020/daffodil-design-quantity-field-examples.mjs +193 -0
  551. package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -0
  552. package/fesm2020/daffodil-design-radio-examples.mjs +62 -0
  553. package/fesm2020/daffodil-design-radio-examples.mjs.map +1 -0
  554. package/fesm2020/daffodil-design.mjs +5380 -0
  555. package/fesm2020/daffodil-design.mjs.map +1 -0
  556. package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
  557. package/hero/examples/compact-hero/compact-hero.module.d.ts +9 -0
  558. package/hero/examples/daffodil-design-hero-examples.d.ts +1 -0
  559. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +3 -0
  560. package/hero/examples/hero-text-alignment/hero-text-alignment.module.d.ts +9 -0
  561. package/hero/examples/hero-theming/hero-theming.component.d.ts +3 -0
  562. package/hero/examples/hero-theming/hero-theming.module.d.ts +9 -0
  563. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +3 -0
  564. package/hero/examples/hero-with-grid/hero-with-grid.module.d.ts +9 -0
  565. package/hero/examples/package.json +5 -6
  566. package/list/examples/basic-list/basic-list.component.d.ts +3 -0
  567. package/list/examples/basic-list/basic-list.module.d.ts +7 -0
  568. package/list/examples/daffodil-design-list-examples.d.ts +1 -4
  569. package/list/examples/icon-list/icon-list.component.d.ts +3 -0
  570. package/list/examples/icon-list/icon-list.module.d.ts +8 -0
  571. package/list/examples/list-examples.module.d.ts +9 -0
  572. package/list/examples/multiline-list/multiline-list.component.d.ts +3 -0
  573. package/list/examples/multiline-list/multiline-list.module.d.ts +8 -0
  574. package/list/examples/nav-list/nav-list.component.d.ts +3 -0
  575. package/list/examples/nav-list/nav-list.module.d.ts +8 -0
  576. package/list/examples/package.json +5 -6
  577. package/loading-icon/examples/daffodil-design-loading-icon-examples.d.ts +1 -1
  578. package/loading-icon/examples/loading-icon-color/loading-icon-color.component.d.ts +3 -0
  579. package/loading-icon/examples/loading-icon-color/loading-icon-color.module.d.ts +7 -0
  580. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +3 -0
  581. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.d.ts +6 -0
  582. package/loading-icon/examples/package.json +5 -6
  583. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.d.ts +3 -0
  584. package/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.d.ts +6 -0
  585. package/media-gallery/examples/daffodil-design-media-gallery-examples.d.ts +1 -2
  586. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.d.ts +3 -0
  587. package/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.d.ts +6 -0
  588. package/media-gallery/examples/package.json +5 -6
  589. package/media-gallery/examples/public_api.d.ts +2 -0
  590. package/modal/examples/basic-modal/basic-modal.component.d.ts +3 -0
  591. package/modal/examples/basic-modal/basic-modal.module.d.ts +7 -0
  592. package/modal/examples/basic-modal/modal-content.component.d.ts +3 -0
  593. package/modal/examples/daffodil-design-modal-examples.d.ts +1 -3
  594. package/modal/examples/package.json +5 -6
  595. package/molecules/accordion/accordion/accordion.component.d.ts +3 -0
  596. package/molecules/accordion/accordion-item/accordion-item.component.d.ts +3 -0
  597. package/molecules/accordion/accordion-item-content/accordion-item-content.directive.d.ts +3 -0
  598. package/molecules/accordion/accordion-item-title/accordion-item-title.directive.d.ts +3 -0
  599. package/molecules/accordion/accordion.module.d.ts +12 -0
  600. package/molecules/accordion/nav-accordion-item/nav-accordion-item.component.d.ts +3 -0
  601. package/molecules/accordion/public_api.d.ts +1 -0
  602. package/molecules/article/article/article.component.d.ts +3 -0
  603. package/molecules/article/article-lead/article-lead.directive.d.ts +3 -0
  604. package/molecules/article/article-meta/article-meta.directive.d.ts +3 -0
  605. package/molecules/article/article-title/article-title.directive.d.ts +3 -0
  606. package/molecules/article/article.module.d.ts +9 -0
  607. package/molecules/backdrop/backdrop/backdrop.component.d.ts +3 -0
  608. package/molecules/backdrop/backdrop.module.d.ts +6 -0
  609. package/molecules/button-set/button-set.component.d.ts +3 -0
  610. package/molecules/button-set/button-set.module.d.ts +5 -0
  611. package/molecules/callout/callout/callout.component.d.ts +3 -0
  612. package/molecules/callout/callout-body/callout-body.directive.d.ts +3 -0
  613. package/molecules/callout/callout-icon/callout-icon.directive.d.ts +3 -0
  614. package/molecules/callout/callout-subtitle/callout-subtitle.directive.d.ts +3 -0
  615. package/molecules/callout/callout-tagline/callout-tagline.directive.d.ts +3 -0
  616. package/molecules/callout/callout-title/callout-title.directive.d.ts +3 -0
  617. package/molecules/callout/callout.module.d.ts +11 -0
  618. package/molecules/card/card/card.component.d.ts +3 -0
  619. package/molecules/card/card-actions/card-actions.directive.d.ts +3 -0
  620. package/molecules/card/card-content/card-content.directive.d.ts +3 -0
  621. package/molecules/card/card-icon/card-icon.directive.d.ts +3 -0
  622. package/molecules/card/card-image/card-image.directive.d.ts +3 -0
  623. package/molecules/card/card-tagline/card-tagline.directive.d.ts +3 -0
  624. package/molecules/card/card-title/card-title.directive.d.ts +3 -0
  625. package/molecules/card/card.module.d.ts +12 -0
  626. package/molecules/feature/feature/feature.component.d.ts +3 -0
  627. package/molecules/feature/feature-icon/feature-icon.directive.d.ts +3 -0
  628. package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +3 -0
  629. package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +3 -0
  630. package/molecules/feature/feature-title/feature-title.directive.d.ts +3 -0
  631. package/molecules/feature/feature.module.d.ts +10 -0
  632. package/molecules/hero/hero/hero.component.d.ts +3 -0
  633. package/molecules/hero/hero-body/hero-body.directive.d.ts +3 -0
  634. package/molecules/hero/hero-icon/hero-icon.directive.d.ts +3 -0
  635. package/molecules/hero/hero-subtitle/hero-subtitle.directive.d.ts +3 -0
  636. package/molecules/hero/hero-tagline/hero-tagline.directive.d.ts +3 -0
  637. package/molecules/hero/hero-title/hero-title.directive.d.ts +3 -0
  638. package/molecules/hero/hero.module.d.ts +11 -0
  639. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
  640. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
  641. package/molecules/image-gallery/image-gallery.module.d.ts +8 -0
  642. package/molecules/image-list/image-list.component.d.ts +3 -0
  643. package/molecules/image-list/image-list.module.d.ts +6 -0
  644. package/molecules/link-set/link-set/link-set.component.d.ts +3 -0
  645. package/molecules/link-set/link-set-heading/link-set-heading.directive.d.ts +3 -0
  646. package/molecules/link-set/link-set-item/link-set-item.component.d.ts +3 -0
  647. package/molecules/link-set/link-set-subheading/link-set-subheading.directive.d.ts +3 -0
  648. package/molecules/link-set/link-set.module.d.ts +9 -0
  649. package/molecules/list/list/list.component.d.ts +4 -1
  650. package/molecules/list/list-item/list-item.component.d.ts +3 -0
  651. package/molecules/list/list-subheader/list-subheader.directive.d.ts +3 -0
  652. package/molecules/list/list.module.d.ts +9 -0
  653. package/molecules/media-gallery/media-gallery.component.d.ts +3 -0
  654. package/molecules/media-gallery/media-gallery.module.d.ts +8 -0
  655. package/molecules/media-gallery/media-renderer/media-renderer.component.d.ts +3 -0
  656. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +3 -0
  657. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +3 -0
  658. package/molecules/modal/modal/modal.component.d.ts +3 -0
  659. package/molecules/modal/modal-actions/modal-actions.component.d.ts +3 -0
  660. package/molecules/modal/modal-content/modal-content.component.d.ts +3 -0
  661. package/molecules/modal/modal-header/modal-header.component.d.ts +3 -0
  662. package/molecules/modal/modal-title/modal-title.directive.d.ts +3 -0
  663. package/molecules/modal/modal.module.d.ts +12 -0
  664. package/molecules/modal/service/modal.service.d.ts +3 -0
  665. package/molecules/navbar/navbar.component.d.ts +3 -0
  666. package/molecules/navbar/navbar.module.d.ts +5 -0
  667. package/molecules/paginator/paginator.component.d.ts +3 -0
  668. package/molecules/paginator/paginator.module.d.ts +8 -0
  669. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
  670. package/molecules/qty-dropdown/qty-dropdown.module.d.ts +10 -0
  671. package/molecules/sidebar/sidebar/sidebar.component.d.ts +3 -0
  672. package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +3 -0
  673. package/molecules/sidebar/sidebar.module.d.ts +9 -0
  674. package/navbar/examples/basic-navbar/basic-navbar.component.d.ts +3 -0
  675. package/navbar/examples/basic-navbar/basic-navbar.module.d.ts +7 -0
  676. package/navbar/examples/contained-navbar/contained-navbar.component.d.ts +3 -0
  677. package/navbar/examples/contained-navbar/contained-navbar.module.d.ts +7 -0
  678. package/navbar/examples/daffodil-design-navbar-examples.d.ts +1 -0
  679. package/navbar/examples/navbar-theming/navbar-theming.component.d.ts +3 -0
  680. package/navbar/examples/navbar-theming/navbar-theming.module.d.ts +8 -0
  681. package/navbar/examples/package.json +5 -6
  682. package/navbar/examples/raised-navbar/raised-navbar.component.d.ts +3 -0
  683. package/navbar/examples/raised-navbar/raised-navbar.module.d.ts +7 -0
  684. package/package.json +154 -14
  685. package/paginator/examples/basic-paginator/basic-paginator.component.d.ts +8 -0
  686. package/paginator/examples/daffodil-design-paginator-examples.d.ts +5 -0
  687. package/paginator/examples/examples.d.ts +2 -0
  688. package/paginator/examples/index.d.ts +1 -0
  689. package/paginator/examples/package.json +10 -0
  690. package/paginator/examples/paginator-examples.module.d.ts +9 -0
  691. package/paginator/examples/public_api.d.ts +3 -0
  692. package/quantity-field/examples/basic/basic-quantity-field.component.d.ts +3 -0
  693. package/quantity-field/examples/basic/basic-quantity-field.module.d.ts +8 -0
  694. package/quantity-field/examples/customRange/custom-range-quantity-field.component.d.ts +3 -0
  695. package/quantity-field/examples/customRange/custom-range-quantity-field.module.d.ts +8 -0
  696. package/quantity-field/examples/daffodil-design-quantity-field-examples.d.ts +1 -4
  697. package/quantity-field/examples/disabled/disabled-quantity-field.component.d.ts +3 -0
  698. package/quantity-field/examples/disabled/disabled-quantity-field.module.d.ts +8 -0
  699. package/quantity-field/examples/package.json +5 -6
  700. package/quantity-field/examples/public_api.d.ts +4 -0
  701. package/quantity-field/examples/selectMax/select-max-quantity-field.component.d.ts +3 -0
  702. package/quantity-field/examples/selectMax/select-max-quantity-field.module.d.ts +8 -0
  703. package/radio/examples/basic-radio/basic-radio.component.d.ts +3 -0
  704. package/radio/examples/basic-radio/basic-radio.module.d.ts +7 -0
  705. package/radio/examples/daffodil-design-radio-examples.d.ts +1 -2
  706. package/radio/examples/package.json +5 -6
  707. package/src/atoms/button/README.md +53 -0
  708. package/src/atoms/container/README.md +18 -0
  709. package/src/atoms/form/README.md +0 -0
  710. package/src/atoms/form/checkbox/README.md +0 -0
  711. package/src/atoms/form/checkbox-set/README.md +0 -0
  712. package/src/atoms/form/error-message/README.md +11 -0
  713. package/src/atoms/form/form-field/README.md +36 -0
  714. package/src/atoms/form/form-label/README.md +0 -0
  715. package/src/atoms/form/input/README.md +11 -0
  716. package/src/atoms/form/quantity-field/README.md +25 -0
  717. package/src/atoms/form/radio/README.md +55 -0
  718. package/src/atoms/form/radio-set/README.md +0 -0
  719. package/src/atoms/form/select/README.md +13 -0
  720. package/src/atoms/image/README.md +21 -0
  721. package/src/atoms/loading-icon/README.md +7 -0
  722. package/src/atoms/progress-indicator/README.md +2 -0
  723. package/src/molecules/accordion/README.md +21 -0
  724. package/src/molecules/article/README.md +49 -0
  725. package/src/molecules/backdrop/README.md +13 -0
  726. package/src/molecules/button-set/README.md +13 -0
  727. package/src/molecules/callout/README.md +54 -0
  728. package/src/molecules/card/README.md +60 -0
  729. package/src/molecules/feature/README.md +48 -0
  730. package/src/molecules/hero/README.md +54 -0
  731. package/src/molecules/image-gallery/README.md +31 -0
  732. package/src/molecules/image-list/README.md +14 -0
  733. package/src/molecules/link-set/README.md +44 -0
  734. package/src/molecules/list/README.md +69 -0
  735. package/src/molecules/media-gallery/README.md +19 -0
  736. package/src/molecules/modal/README.md +47 -0
  737. package/src/molecules/navbar/README.md +41 -0
  738. package/src/molecules/paginator/README.md +11 -0
  739. package/src/molecules/qty-dropdown/README.md +0 -0
  740. package/src/molecules/sidebar/README.md +10 -0
  741. package/src/scss/README.md +7 -0
  742. package/accordion/examples/daffodil-design-accordion-examples.metadata.json +0 -1
  743. package/article/examples/daffodil-design-article-examples.metadata.json +0 -1
  744. package/bundles/daffodil-design-accordion-examples.umd.js +0 -91
  745. package/bundles/daffodil-design-accordion-examples.umd.js.map +0 -1
  746. package/bundles/daffodil-design-accordion-examples.umd.min.js +0 -2
  747. package/bundles/daffodil-design-accordion-examples.umd.min.js.map +0 -1
  748. package/bundles/daffodil-design-article-examples.umd.js +0 -530
  749. package/bundles/daffodil-design-article-examples.umd.js.map +0 -1
  750. package/bundles/daffodil-design-article-examples.umd.min.js +0 -2
  751. package/bundles/daffodil-design-article-examples.umd.min.js.map +0 -1
  752. package/bundles/daffodil-design-button-examples.umd.js +0 -298
  753. package/bundles/daffodil-design-button-examples.umd.js.map +0 -1
  754. package/bundles/daffodil-design-button-examples.umd.min.js +0 -2
  755. package/bundles/daffodil-design-button-examples.umd.min.js.map +0 -1
  756. package/bundles/daffodil-design-callout-examples.umd.js +0 -195
  757. package/bundles/daffodil-design-callout-examples.umd.js.map +0 -1
  758. package/bundles/daffodil-design-callout-examples.umd.min.js +0 -2
  759. package/bundles/daffodil-design-callout-examples.umd.min.js.map +0 -1
  760. package/bundles/daffodil-design-card-examples.umd.js +0 -321
  761. package/bundles/daffodil-design-card-examples.umd.js.map +0 -1
  762. package/bundles/daffodil-design-card-examples.umd.min.js +0 -2
  763. package/bundles/daffodil-design-card-examples.umd.min.js.map +0 -1
  764. package/bundles/daffodil-design-checkbox-examples.umd.js +0 -123
  765. package/bundles/daffodil-design-checkbox-examples.umd.js.map +0 -1
  766. package/bundles/daffodil-design-checkbox-examples.umd.min.js +0 -2
  767. package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +0 -1
  768. package/bundles/daffodil-design-container-examples.umd.js +0 -65
  769. package/bundles/daffodil-design-container-examples.umd.js.map +0 -1
  770. package/bundles/daffodil-design-container-examples.umd.min.js +0 -2
  771. package/bundles/daffodil-design-container-examples.umd.min.js.map +0 -1
  772. package/bundles/daffodil-design-hero-examples.umd.js +0 -192
  773. package/bundles/daffodil-design-hero-examples.umd.js.map +0 -1
  774. package/bundles/daffodil-design-hero-examples.umd.min.js +0 -2
  775. package/bundles/daffodil-design-hero-examples.umd.min.js.map +0 -1
  776. package/bundles/daffodil-design-list-examples.umd.js +0 -509
  777. package/bundles/daffodil-design-list-examples.umd.js.map +0 -1
  778. package/bundles/daffodil-design-list-examples.umd.min.js +0 -2
  779. package/bundles/daffodil-design-list-examples.umd.min.js.map +0 -1
  780. package/bundles/daffodil-design-loading-icon-examples.umd.js +0 -94
  781. package/bundles/daffodil-design-loading-icon-examples.umd.js.map +0 -1
  782. package/bundles/daffodil-design-loading-icon-examples.umd.min.js +0 -2
  783. package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +0 -1
  784. package/bundles/daffodil-design-media-gallery-examples.umd.js +0 -95
  785. package/bundles/daffodil-design-media-gallery-examples.umd.js.map +0 -1
  786. package/bundles/daffodil-design-media-gallery-examples.umd.min.js +0 -2
  787. package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +0 -1
  788. package/bundles/daffodil-design-modal-examples.umd.js +0 -80
  789. package/bundles/daffodil-design-modal-examples.umd.js.map +0 -1
  790. package/bundles/daffodil-design-modal-examples.umd.min.js +0 -2
  791. package/bundles/daffodil-design-modal-examples.umd.min.js.map +0 -1
  792. package/bundles/daffodil-design-navbar-examples.umd.js +0 -177
  793. package/bundles/daffodil-design-navbar-examples.umd.js.map +0 -1
  794. package/bundles/daffodil-design-navbar-examples.umd.min.js +0 -2
  795. package/bundles/daffodil-design-navbar-examples.umd.min.js.map +0 -1
  796. package/bundles/daffodil-design-quantity-field-examples.umd.js +0 -183
  797. package/bundles/daffodil-design-quantity-field-examples.umd.js.map +0 -1
  798. package/bundles/daffodil-design-quantity-field-examples.umd.min.js +0 -2
  799. package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +0 -1
  800. package/bundles/daffodil-design-radio-examples.umd.js +0 -68
  801. package/bundles/daffodil-design-radio-examples.umd.js.map +0 -1
  802. package/bundles/daffodil-design-radio-examples.umd.min.js +0 -2
  803. package/bundles/daffodil-design-radio-examples.umd.min.js.map +0 -1
  804. package/bundles/daffodil-design.umd.js +0 -5781
  805. package/bundles/daffodil-design.umd.js.map +0 -1
  806. package/bundles/daffodil-design.umd.min.js +0 -16
  807. package/bundles/daffodil-design.umd.min.js.map +0 -1
  808. package/button/examples/daffodil-design-button-examples.metadata.json +0 -1
  809. package/callout/examples/daffodil-design-callout-examples.metadata.json +0 -1
  810. package/card/examples/daffodil-design-card-examples.metadata.json +0 -1
  811. package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +0 -1
  812. package/container/examples/daffodil-design-container-examples.metadata.json +0 -1
  813. package/daffodil-design.metadata.json +0 -1
  814. package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +0 -12
  815. package/esm2015/accordion/examples/basic-accordion/basic-accordion.module.js +0 -19
  816. package/esm2015/accordion/examples/daffodil-design-accordion-examples.js +0 -7
  817. package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +0 -12
  818. package/esm2015/accordion/examples/nav-accordion/nav-accordion.module.js +0 -19
  819. package/esm2015/accordion/examples/public_api.js +0 -9
  820. package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +0 -12
  821. package/esm2015/article/examples/article-code-block/article-code-block.component.js +0 -12
  822. package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +0 -12
  823. package/esm2015/article/examples/article-examples.module.js +0 -21
  824. package/esm2015/article/examples/article-headings/article-headings.component.js +0 -12
  825. package/esm2015/article/examples/article-hr/article-hr.component.js +0 -12
  826. package/esm2015/article/examples/article-lead/article-lead.component.js +0 -12
  827. package/esm2015/article/examples/article-link/article-link.component.js +0 -12
  828. package/esm2015/article/examples/article-meta/article-meta.component.js +0 -12
  829. package/esm2015/article/examples/article-ol/article-ol.component.js +0 -12
  830. package/esm2015/article/examples/article-table/article-table.component.js +0 -12
  831. package/esm2015/article/examples/article-ul/article-ul.component.js +0 -12
  832. package/esm2015/article/examples/daffodil-design-article-examples.js +0 -6
  833. package/esm2015/atoms/button/button.component.js +0 -134
  834. package/esm2015/atoms/button/button.module.js +0 -22
  835. package/esm2015/atoms/container/container.component.js +0 -46
  836. package/esm2015/atoms/container/container.module.js +0 -19
  837. package/esm2015/atoms/form/checkbox/checkbox.component.js +0 -131
  838. package/esm2015/atoms/form/checkbox/checkbox.module.js +0 -28
  839. package/esm2015/atoms/form/checkbox/cva/checkbox-cva.directive.js +0 -89
  840. package/esm2015/atoms/form/checkbox-set/checkbox-set.component.js +0 -34
  841. package/esm2015/atoms/form/error-message/error-message.component.js +0 -12
  842. package/esm2015/atoms/form/error-message/error-message.module.js +0 -15
  843. package/esm2015/atoms/form/form-field/form-field/form-field.component.js +0 -100
  844. package/esm2015/atoms/form/form-field/form-field.module.js +0 -24
  845. package/esm2015/atoms/form/input/input.component.js +0 -56
  846. package/esm2015/atoms/form/input/input.module.js +0 -19
  847. package/esm2015/atoms/form/quantity-field/quantity-field.component.js +0 -120
  848. package/esm2015/atoms/form/quantity-field/quantity-field.module.js +0 -31
  849. package/esm2015/atoms/form/quantity-field/quantity-input/quantity-input.component.js +0 -100
  850. package/esm2015/atoms/form/quantity-field/quantity-select/quantity-select.component.js +0 -80
  851. package/esm2015/atoms/form/radio/cva/radio-cva.directive.js +0 -84
  852. package/esm2015/atoms/form/radio/radio.component.js +0 -122
  853. package/esm2015/atoms/form/radio/radio.module.js +0 -25
  854. package/esm2015/atoms/form/radio/registry/radio-registry.js +0 -52
  855. package/esm2015/atoms/form/radio-set/radio-set.component.js +0 -24
  856. package/esm2015/atoms/form/select/select/select.component.js +0 -60
  857. package/esm2015/atoms/form/select/select.module.js +0 -19
  858. package/esm2015/atoms/image/image.component.js +0 -109
  859. package/esm2015/atoms/image/image.module.js +0 -22
  860. package/esm2015/atoms/loading-icon/loading-icon.component.js +0 -59
  861. package/esm2015/atoms/loading-icon/loading-icon.module.js +0 -19
  862. package/esm2015/atoms/progress-indicator/progress-indicator.component.js +0 -87
  863. package/esm2015/atoms/progress-indicator/progress-indicator.module.js +0 -15
  864. package/esm2015/button/examples/basic-button/basic-button.component.js +0 -23
  865. package/esm2015/button/examples/basic-button/basic-button.module.js +0 -21
  866. package/esm2015/button/examples/daffodil-design-button-examples.js +0 -12
  867. package/esm2015/button/examples/icon-button/icon-button.component.js +0 -22
  868. package/esm2015/button/examples/icon-button/icon-button.module.js +0 -21
  869. package/esm2015/button/examples/public_api.js +0 -24
  870. package/esm2015/button/examples/raised-button/raised-button.component.js +0 -23
  871. package/esm2015/button/examples/raised-button/raised-button.module.js +0 -21
  872. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +0 -21
  873. package/esm2015/button/examples/sizeable-button/sizeable-button.module.js +0 -21
  874. package/esm2015/button/examples/statusable-button/statusable-button.component.js +0 -27
  875. package/esm2015/button/examples/statusable-button/statusable-button.module.js +0 -21
  876. package/esm2015/button/examples/stroked-button/stroked-button.component.js +0 -23
  877. package/esm2015/button/examples/stroked-button/stroked-button.module.js +0 -21
  878. package/esm2015/button/examples/underline-button/underline-button.component.js +0 -23
  879. package/esm2015/button/examples/underline-button/underline-button.module.js +0 -21
  880. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +0 -25
  881. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +0 -24
  882. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +0 -29
  883. package/esm2015/callout/examples/callout-theming/callout-theming.module.js +0 -23
  884. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +0 -17
  885. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +0 -24
  886. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +0 -17
  887. package/esm2015/callout/examples/compact-callout/compact-callout.module.js +0 -22
  888. package/esm2015/card/examples/basic-card/basic-card.component.js +0 -17
  889. package/esm2015/card/examples/basic-card/basic-card.module.js +0 -25
  890. package/esm2015/card/examples/card-orientation/card-orientation.component.js +0 -24
  891. package/esm2015/card/examples/card-orientation/card-orientation.module.js +0 -27
  892. package/esm2015/card/examples/card-theming/card-theming.component.js +0 -31
  893. package/esm2015/card/examples/card-theming/card-theming.module.js +0 -24
  894. package/esm2015/card/examples/daffodil-design-card-examples.js +0 -11
  895. package/esm2015/card/examples/linkable-card/linkable-card.component.js +0 -29
  896. package/esm2015/card/examples/linkable-card/linkable-card.module.js +0 -27
  897. package/esm2015/card/examples/public_api.js +0 -21
  898. package/esm2015/card/examples/raised-card/raised-card.component.js +0 -27
  899. package/esm2015/card/examples/raised-card/raised-card.module.js +0 -25
  900. package/esm2015/card/examples/stroked-card/stroked-card.component.js +0 -27
  901. package/esm2015/card/examples/stroked-card/stroked-card.module.js +0 -27
  902. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +0 -25
  903. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.module.js +0 -23
  904. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +0 -27
  905. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.module.js +0 -23
  906. package/esm2015/checkbox/examples/daffodil-design-checkbox-examples.js +0 -9
  907. package/esm2015/container/examples/container-sizes/container-sizes.component.js +0 -23
  908. package/esm2015/container/examples/container-sizes/container-sizes.module.js +0 -23
  909. package/esm2015/core/colorable/colorable-mixin.js +0 -43
  910. package/esm2015/core/prefix-suffix/prefix-suffix.module.js +0 -19
  911. package/esm2015/core/prefix-suffix/prefix.directive.js +0 -20
  912. package/esm2015/core/prefix-suffix/prefixable/prefixable.js +0 -24
  913. package/esm2015/core/prefix-suffix/suffix.directive.js +0 -20
  914. package/esm2015/core/prefix-suffix/suffixable/suffixable.js +0 -24
  915. package/esm2015/core/public_api.js +0 -13
  916. package/esm2015/core/sizeable/sizeable-mixin.js +0 -32
  917. package/esm2015/core/statusable/statusable-mixin.js +0 -33
  918. package/esm2015/core/text-alignable/text-alignable-mixin.js +0 -36
  919. package/esm2015/daffodil-design.js +0 -15
  920. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +0 -17
  921. package/esm2015/hero/examples/compact-hero/compact-hero.module.js +0 -26
  922. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +0 -25
  923. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +0 -24
  924. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +0 -20
  925. package/esm2015/hero/examples/hero-theming/hero-theming.module.js +0 -26
  926. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +0 -17
  927. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +0 -24
  928. package/esm2015/list/examples/basic-list/basic-list.component.js +0 -12
  929. package/esm2015/list/examples/basic-list/basic-list.module.js +0 -21
  930. package/esm2015/list/examples/daffodil-design-list-examples.js +0 -9
  931. package/esm2015/list/examples/icon-list/icon-list.component.js +0 -16
  932. package/esm2015/list/examples/icon-list/icon-list.module.js +0 -23
  933. package/esm2015/list/examples/list-examples.module.js +0 -24
  934. package/esm2015/list/examples/multiline-list/multiline-list.component.js +0 -12
  935. package/esm2015/list/examples/multiline-list/multiline-list.module.js +0 -23
  936. package/esm2015/list/examples/nav-list/nav-list.component.js +0 -16
  937. package/esm2015/list/examples/nav-list/nav-list.module.js +0 -23
  938. package/esm2015/loading-icon/examples/daffodil-design-loading-icon-examples.js +0 -6
  939. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +0 -18
  940. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.module.js +0 -22
  941. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +0 -12
  942. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.module.js +0 -19
  943. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +0 -12
  944. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.module.js +0 -21
  945. package/esm2015/media-gallery/examples/daffodil-design-media-gallery-examples.js +0 -7
  946. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +0 -12
  947. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.js +0 -21
  948. package/esm2015/media-gallery/examples/public_api.js +0 -4
  949. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +0 -24
  950. package/esm2015/modal/examples/basic-modal/basic-modal.module.js +0 -22
  951. package/esm2015/modal/examples/basic-modal/modal-content.component.js +0 -12
  952. package/esm2015/modal/examples/daffodil-design-modal-examples.js +0 -8
  953. package/esm2015/molecules/accordion/accordion/accordion.component.js +0 -33
  954. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +0 -52
  955. package/esm2015/molecules/accordion/accordion-item-content/accordion-item-content.directive.js +0 -18
  956. package/esm2015/molecules/accordion/accordion-item-title/accordion-item-title.directive.js +0 -18
  957. package/esm2015/molecules/accordion/accordion.module.js +0 -35
  958. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +0 -72
  959. package/esm2015/molecules/accordion/public_api.js +0 -6
  960. package/esm2015/molecules/article/article/article.component.js +0 -30
  961. package/esm2015/molecules/article/article-lead/article-lead.directive.js +0 -18
  962. package/esm2015/molecules/article/article-meta/article-meta.directive.js +0 -18
  963. package/esm2015/molecules/article/article-title/article-title.directive.js +0 -18
  964. package/esm2015/molecules/article/article.module.js +0 -28
  965. package/esm2015/molecules/backdrop/backdrop/backdrop.component.js +0 -46
  966. package/esm2015/molecules/backdrop/backdrop.module.js +0 -22
  967. package/esm2015/molecules/button-set/button-set.component.js +0 -22
  968. package/esm2015/molecules/button-set/button-set.module.js +0 -15
  969. package/esm2015/molecules/callout/callout/callout.component.js +0 -75
  970. package/esm2015/molecules/callout/callout-body/callout-body.directive.js +0 -18
  971. package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +0 -18
  972. package/esm2015/molecules/callout/callout-subtitle/callout-subtitle.directive.js +0 -18
  973. package/esm2015/molecules/callout/callout-tagline/callout-tagline.directive.js +0 -18
  974. package/esm2015/molecules/callout/callout-title/callout-title.directive.js +0 -18
  975. package/esm2015/molecules/callout/callout.module.js +0 -34
  976. package/esm2015/molecules/card/card/card.component.js +0 -118
  977. package/esm2015/molecules/card/card-actions/card-actions.directive.js +0 -18
  978. package/esm2015/molecules/card/card-content/card-content.directive.js +0 -18
  979. package/esm2015/molecules/card/card-icon/card-icon.directive.js +0 -18
  980. package/esm2015/molecules/card/card-image/card-image.directive.js +0 -18
  981. package/esm2015/molecules/card/card-tagline/card-tagline.directive.js +0 -18
  982. package/esm2015/molecules/card/card-title/card-title.directive.js +0 -18
  983. package/esm2015/molecules/card/card.module.js +0 -37
  984. package/esm2015/molecules/feature/feature/feature.component.js +0 -46
  985. package/esm2015/molecules/feature/feature-icon/feature-icon.directive.js +0 -18
  986. package/esm2015/molecules/feature/feature-subheader/feature-subheader.directive.js +0 -18
  987. package/esm2015/molecules/feature/feature-subtitle/feature-subtitle.directive.js +0 -18
  988. package/esm2015/molecules/feature/feature-title/feature-title.directive.js +0 -18
  989. package/esm2015/molecules/feature/feature.module.js +0 -31
  990. package/esm2015/molecules/hero/hero/hero.component.js +0 -76
  991. package/esm2015/molecules/hero/hero-body/hero-body.directive.js +0 -18
  992. package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +0 -18
  993. package/esm2015/molecules/hero/hero-subtitle/hero-subtitle.directive.js +0 -18
  994. package/esm2015/molecules/hero/hero-tagline/hero-tagline.directive.js +0 -18
  995. package/esm2015/molecules/hero/hero-title/hero-title.directive.js +0 -18
  996. package/esm2015/molecules/hero/hero.module.js +0 -34
  997. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +0 -21
  998. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +0 -16
  999. package/esm2015/molecules/image-gallery/image-gallery.module.js +0 -24
  1000. package/esm2015/molecules/image-list/image-list.component.js +0 -22
  1001. package/esm2015/molecules/image-list/image-list.module.js +0 -19
  1002. package/esm2015/molecules/link-set/link-set/link-set.component.js +0 -44
  1003. package/esm2015/molecules/link-set/link-set-heading/link-set-heading.directive.js +0 -21
  1004. package/esm2015/molecules/link-set/link-set-item/link-set-item.component.js +0 -22
  1005. package/esm2015/molecules/link-set/link-set-subheading/link-set-subheading.directive.js +0 -21
  1006. package/esm2015/molecules/link-set/link-set.module.js +0 -28
  1007. package/esm2015/molecules/list/list/list.component.js +0 -106
  1008. package/esm2015/molecules/list/list-item/list-item.component.js +0 -46
  1009. package/esm2015/molecules/list/list-subheader/list-subheader.directive.js +0 -21
  1010. package/esm2015/molecules/list/list.module.js +0 -28
  1011. package/esm2015/molecules/media-gallery/media-gallery.component.js +0 -61
  1012. package/esm2015/molecules/media-gallery/media-gallery.module.js +0 -24
  1013. package/esm2015/molecules/media-gallery/media-renderer/media-renderer.component.js +0 -78
  1014. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +0 -86
  1015. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +0 -79
  1016. package/esm2015/molecules/modal/modal/modal.component.js +0 -73
  1017. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +0 -12
  1018. package/esm2015/molecules/modal/modal-content/modal-content.component.js +0 -12
  1019. package/esm2015/molecules/modal/modal-header/modal-header.component.js +0 -22
  1020. package/esm2015/molecules/modal/modal-title/modal-title.directive.js +0 -18
  1021. package/esm2015/molecules/modal/modal.module.js +0 -34
  1022. package/esm2015/molecules/modal/service/modal.service.js +0 -73
  1023. package/esm2015/molecules/navbar/navbar.component.js +0 -58
  1024. package/esm2015/molecules/navbar/navbar.module.js +0 -15
  1025. package/esm2015/molecules/paginator/paginator.component.js +0 -161
  1026. package/esm2015/molecules/paginator/paginator.module.js +0 -23
  1027. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +0 -110
  1028. package/esm2015/molecules/qty-dropdown/qty-dropdown.module.js +0 -27
  1029. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +0 -50
  1030. package/esm2015/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.js +0 -117
  1031. package/esm2015/molecules/sidebar/sidebar.module.js +0 -26
  1032. package/esm2015/navbar/examples/basic-navbar/basic-navbar.component.js +0 -13
  1033. package/esm2015/navbar/examples/basic-navbar/basic-navbar.module.js +0 -20
  1034. package/esm2015/navbar/examples/contained-navbar/contained-navbar.component.js +0 -13
  1035. package/esm2015/navbar/examples/contained-navbar/contained-navbar.module.js +0 -20
  1036. package/esm2015/navbar/examples/navbar-theming/navbar-theming.component.js +0 -27
  1037. package/esm2015/navbar/examples/navbar-theming/navbar-theming.module.js +0 -21
  1038. package/esm2015/navbar/examples/raised-navbar/raised-navbar.component.js +0 -13
  1039. package/esm2015/navbar/examples/raised-navbar/raised-navbar.module.js +0 -19
  1040. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +0 -17
  1041. package/esm2015/quantity-field/examples/basic/basic-quantity-field.module.js +0 -24
  1042. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +0 -17
  1043. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.module.js +0 -24
  1044. package/esm2015/quantity-field/examples/daffodil-design-quantity-field-examples.js +0 -9
  1045. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +0 -17
  1046. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.module.js +0 -24
  1047. package/esm2015/quantity-field/examples/public_api.js +0 -6
  1048. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +0 -17
  1049. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.module.js +0 -24
  1050. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +0 -22
  1051. package/esm2015/radio/examples/basic-radio/basic-radio.module.js +0 -22
  1052. package/esm2015/radio/examples/daffodil-design-radio-examples.js +0 -7
  1053. package/fesm2015/daffodil-design-accordion-examples.js +0 -68
  1054. package/fesm2015/daffodil-design-accordion-examples.js.map +0 -1
  1055. package/fesm2015/daffodil-design-article-examples.js +0 -162
  1056. package/fesm2015/daffodil-design-article-examples.js.map +0 -1
  1057. package/fesm2015/daffodil-design-button-examples.js +0 -288
  1058. package/fesm2015/daffodil-design-button-examples.js.map +0 -1
  1059. package/fesm2015/daffodil-design-callout-examples.js +0 -168
  1060. package/fesm2015/daffodil-design-callout-examples.js.map +0 -1
  1061. package/fesm2015/daffodil-design-card-examples.js +0 -287
  1062. package/fesm2015/daffodil-design-card-examples.js.map +0 -1
  1063. package/fesm2015/daffodil-design-checkbox-examples.js +0 -104
  1064. package/fesm2015/daffodil-design-checkbox-examples.js.map +0 -1
  1065. package/fesm2015/daffodil-design-container-examples.js +0 -54
  1066. package/fesm2015/daffodil-design-container-examples.js.map +0 -1
  1067. package/fesm2015/daffodil-design-hero-examples.js +0 -165
  1068. package/fesm2015/daffodil-design-hero-examples.js.map +0 -1
  1069. package/fesm2015/daffodil-design-list-examples.js +0 -157
  1070. package/fesm2015/daffodil-design-list-examples.js.map +0 -1
  1071. package/fesm2015/daffodil-design-loading-icon-examples.js +0 -76
  1072. package/fesm2015/daffodil-design-loading-icon-examples.js.map +0 -1
  1073. package/fesm2015/daffodil-design-media-gallery-examples.js +0 -72
  1074. package/fesm2015/daffodil-design-media-gallery-examples.js.map +0 -1
  1075. package/fesm2015/daffodil-design-modal-examples.js +0 -63
  1076. package/fesm2015/daffodil-design-modal-examples.js.map +0 -1
  1077. package/fesm2015/daffodil-design-navbar-examples.js +0 -142
  1078. package/fesm2015/daffodil-design-navbar-examples.js.map +0 -1
  1079. package/fesm2015/daffodil-design-quantity-field-examples.js +0 -154
  1080. package/fesm2015/daffodil-design-quantity-field-examples.js.map +0 -1
  1081. package/fesm2015/daffodil-design-radio-examples.js +0 -55
  1082. package/fesm2015/daffodil-design-radio-examples.js.map +0 -1
  1083. package/fesm2015/daffodil-design.js +0 -4776
  1084. package/fesm2015/daffodil-design.js.map +0 -1
  1085. package/hero/examples/daffodil-design-hero-examples.metadata.json +0 -1
  1086. package/list/examples/daffodil-design-list-examples.metadata.json +0 -1
  1087. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +0 -1
  1088. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +0 -1
  1089. package/modal/examples/daffodil-design-modal-examples.metadata.json +0 -1
  1090. package/navbar/examples/daffodil-design-navbar-examples.metadata.json +0 -1
  1091. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +0 -1
  1092. package/radio/examples/daffodil-design-radio-examples.metadata.json +0 -1
@@ -0,0 +1,97 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export const isGallery = (element) => !('gallery' in element);
5
+ export class DaffMediaGalleryRegistry {
6
+ constructor() {
7
+ this.galleries = {};
8
+ }
9
+ /**
10
+ * @description
11
+ * Adds a media element to the internal registry.
12
+ */
13
+ add(gallery, thumbnail) {
14
+ if (this.galleries[gallery.name]) {
15
+ let newGallery = this.galleries[gallery.name].getValue();
16
+ if (thumbnail) {
17
+ newGallery = {
18
+ ...newGallery,
19
+ thumbnails: [
20
+ ...newGallery.thumbnails.filter(t => t !== thumbnail),
21
+ thumbnail,
22
+ ],
23
+ };
24
+ }
25
+ this.galleries[gallery.name].next(newGallery);
26
+ }
27
+ else {
28
+ this.galleries[gallery.name] = new BehaviorSubject({
29
+ gallery,
30
+ thumbnails: thumbnail ? [thumbnail] : [],
31
+ });
32
+ }
33
+ if (this.galleries[gallery.name].getValue().thumbnails.length === 1) {
34
+ thumbnail.select();
35
+ }
36
+ }
37
+ /**
38
+ * @description
39
+ * Removes a thumbnail or gallery from the internal registry.
40
+ */
41
+ remove(element) {
42
+ if (isGallery(element)) {
43
+ this.removeGallery(element);
44
+ }
45
+ else {
46
+ this.removeThumbnail(element);
47
+ }
48
+ }
49
+ removeThumbnail(thumbnail) {
50
+ if (!this.galleries[thumbnail.gallery.name]) {
51
+ return;
52
+ }
53
+ const gallery = this.galleries[thumbnail.gallery.name].getValue();
54
+ const index = gallery.thumbnails.indexOf(thumbnail);
55
+ if (index === -1) {
56
+ return;
57
+ }
58
+ this.galleries[thumbnail.gallery.name].next({
59
+ ...gallery,
60
+ thumbnails: [
61
+ ...gallery.thumbnails.slice(0, index),
62
+ ...gallery.thumbnails.slice(index + 1),
63
+ ],
64
+ });
65
+ }
66
+ removeGallery(gallery) {
67
+ delete this.galleries[gallery.name];
68
+ }
69
+ /**
70
+ * @description
71
+ * Selects a media element for a given gallery.
72
+ */
73
+ select(thumbnail) {
74
+ if (!this.galleries[thumbnail.gallery.name]) {
75
+ return;
76
+ }
77
+ const gallery = this.galleries[thumbnail.gallery.name].getValue();
78
+ const index = gallery.thumbnails.indexOf(thumbnail);
79
+ if (thumbnail.selected || index === -1) {
80
+ return;
81
+ }
82
+ this.galleries[thumbnail.gallery.name].next({
83
+ ...gallery,
84
+ thumbnails: [
85
+ ...gallery.thumbnails.filter(m => m !== thumbnail).map(m => m.deselect()),
86
+ thumbnail.select(),
87
+ ],
88
+ });
89
+ }
90
+ }
91
+ /** @nocollapse */ /** @nocollapse */ DaffMediaGalleryRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffMediaGalleryRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
92
+ /** @nocollapse */ /** @nocollapse */ DaffMediaGalleryRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffMediaGalleryRegistry, providedIn: 'root' });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffMediaGalleryRegistry, decorators: [{
94
+ type: Injectable,
95
+ args: [{ providedIn: 'root' }]
96
+ }] });
97
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtZ2FsbGVyeS5yZWdpc3RyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS9yZWdpc3RyeS9tZWRpYS1nYWxsZXJ5LnJlZ2lzdHJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFjdkMsTUFBTSxDQUFDLE1BQU0sU0FBUyxHQUFHLENBQUMsT0FBaUUsRUFBMkMsRUFBRSxDQUFDLENBQUMsQ0FBQyxTQUFTLElBQUksT0FBTyxDQUFDLENBQUM7QUFHakssTUFBTSxPQUFPLHdCQUF3QjtJQURyQztRQUVDLGNBQVMsR0FBeUIsRUFBRSxDQUFDO0tBNkZyQztJQTNGQTs7O09BR0c7SUFDSCxHQUFHLENBQUMsT0FBcUMsRUFBRSxTQUFxQztRQUM5RSxJQUFHLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFO1lBQy9CLElBQUksVUFBVSxHQUFHLElBQUksQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLFFBQVEsRUFBRSxDQUFDO1lBRXpELElBQUcsU0FBUyxFQUFFO2dCQUNaLFVBQVUsR0FBRztvQkFDW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c2NyaXB0aW9uXG5cdCAqIFNlbGVjdHMgYSBtZWRpYSBlbGVtZW50IGZvciBhIGdpdmVuIGdhbGxlcnkuXG5cdCAqL1xuXHRzZWxlY3QodGh1bWJuYWlsOiBEYWZmVGh1bWJuYWlsUmVnaXN0cmF0aW9uKSB7XG5cdCAgaWYoIXRoaXMuZ2FsbGVyaWVzW3RodW1ibmFpbC5nYWxsZXJ5Lm5hbWVdKSB7XG5cdCAgICByZXR1cm47XG5cdCAgfVxuXG5cdCAgY29uc3QgZ2FsbGVyeSA9IHRoaXMuZ2FsbGVyaWVzW3RodW1ibmFpbC5nYWxsZXJ5Lm5hbWVdLmdldFZhbHVlKCk7XG5cdCAgY29uc3QgaW5kZXggPSBnYWxsZXJ5LnRodW1ibmFpbHMuaW5kZXhPZih0aHVtYm5haWwpO1xuXG5cdCAgaWYodGh1bWJuYWlsLnNlbGVjdGVkIHx8IGluZGV4ID09PSAtMSl7XG5cdCAgICByZXR1cm47XG5cdCAgfVxuXG5cdCAgdGhpcy5nYWxsZXJpZXNbdGh1bWJuYWlsLmdhbGxlcnkubmFtZV0ubmV4dCh7XG5cdCAgICAuLi5nYWxsZXJ5LFxuXHQgICAgdGh1bWJuYWlsczogW1xuXHQgICAgICAuLi5nYWxsZXJ5LnRodW1ibmFpbHMuZmlsdGVyKG0gPT4gbSAhPT0gdGh1bWJuYWlsKS5tYXAobSA9PiBtLmRlc2VsZWN0KCkpLFxuXHQgICAgICB0aHVtYm5haWwuc2VsZWN0KCksXG5cdCAgICBdLFxuXHQgIH0pO1xuXHR9XG59XG4iXX0=
@@ -0,0 +1,88 @@
1
+ import { Directive, Inject, Type, HostBinding, HostListener, Output, EventEmitter, ChangeDetectorRef, } from '@angular/core';
2
+ import { DAFF_MEDIA_GALLERY_TOKEN } from '../media-gallery-token';
3
+ import { DaffMediaGalleryRegistry } from '../registry/media-gallery.registry';
4
+ import { daffThumbnailCompatToken } from './thumbnail-compat.token';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../registry/media-gallery.registry";
7
+ /**
8
+ * A directive marking thumbnails for the `DaffMediaRendererComponent`. Needs to be wrapped in a `daff-media-gallery` component
9
+ * and needs to be placed on a component that is provided as a `daffThumbnailCompatToken`.
10
+ */
11
+ export class DaffThumbnailDirective {
12
+ constructor(component, cd, registry, gallery) {
13
+ this.component = component;
14
+ this.cd = cd;
15
+ this.registry = registry;
16
+ this.gallery = gallery;
17
+ /**
18
+ * Adds a class for styling a thumbnail
19
+ */
20
+ this.class = true;
21
+ /**
22
+ * A prop for determining whether or not the media element is selected.
23
+ */
24
+ this.selected = false;
25
+ /**
26
+ * An event that fires after the media element becomes selected.
27
+ */
28
+ this.becameSelected = new EventEmitter();
29
+ }
30
+ /**
31
+ * Adds a class for styling a selected thumbnail
32
+ */
33
+ get selectedClass() {
34
+ return this.selected;
35
+ }
36
+ ;
37
+ /**
38
+ * Adds a click event to trigger selection of the media element.
39
+ *
40
+ * @param event: MouseEvent
41
+ */
42
+ onClick($event) {
43
+ this.registry.select(this);
44
+ }
45
+ ngOnInit() {
46
+ this.registry.add(this.gallery, this);
47
+ }
48
+ ngOnDestroy() {
49
+ this.registry.remove(this);
50
+ }
51
+ select() {
52
+ this.selected = true;
53
+ this.becameSelected.emit();
54
+ this.cd.markForCheck();
55
+ return this;
56
+ }
57
+ deselect() {
58
+ this.selected = false;
59
+ this.cd.markForCheck();
60
+ return this;
61
+ }
62
+ }
63
+ /** @nocollapse */ /** @nocollapse */ DaffThumbnailDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffThumbnailDirective, deps: [{ token: daffThumbnailCompatToken }, { token: i0.ChangeDetectorRef }, { token: i1.DaffMediaGalleryRegistry }, { token: DAFF_MEDIA_GALLERY_TOKEN }], target: i0.ɵɵFactoryTarget.Directive });
64
+ /** @nocollapse */ /** @nocollapse */ DaffThumbnailDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: { becameSelected: "becameSelected" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.daff-thumbnail--selected": "this.selectedClass", "class.daff-thumbnail": "this.class" } }, ngImport: i0 });
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffThumbnailDirective, decorators: [{
66
+ type: Directive,
67
+ args: [{
68
+ selector: '[daffThumbnail]',
69
+ }]
70
+ }], ctorParameters: function () { return [{ type: i0.Type, decorators: [{
71
+ type: Inject,
72
+ args: [daffThumbnailCompatToken]
73
+ }] }, { type: i0.ChangeDetectorRef }, { type: i1.DaffMediaGalleryRegistry }, { type: undefined, decorators: [{
74
+ type: Inject,
75
+ args: [DAFF_MEDIA_GALLERY_TOKEN]
76
+ }] }]; }, propDecorators: { selectedClass: [{
77
+ type: HostBinding,
78
+ args: ['class.daff-thumbnail--selected']
79
+ }], class: [{
80
+ type: HostBinding,
81
+ args: ['class.daff-thumbnail']
82
+ }], becameSelected: [{
83
+ type: Output
84
+ }], onClick: [{
85
+ type: HostListener,
86
+ args: ['click', ['$event']]
87
+ }] } });
88
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbWVkaWEtZ2FsbGVyeS90aHVtYm5haWwvdGh1bWJuYWlsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFDTixJQUFJLEVBQ0osV0FBVyxFQUNYLFlBQVksRUFDWixNQUFNLEVBQ04sWUFBWSxFQUNaLGlCQUFpQixHQUdsQixNQUFNLGVBQWUsQ0FB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RW1pdHRlcjx2b2lkPigpO1xuXG5cdC8qKlxuXHQgKiBBZGRzIGEgY2xpY2sgZXZlbnQgdG8gdHJpZ2dlciBzZWxlY3Rpb24gb2YgdGhlIG1lZGlhIGVsZW1lbnQuXG5cdCAqXG5cdCAqIEBwYXJhbSBldmVudDogTW91c2VFdmVudFxuXHQgKi9cblx0QEhvc3RMaXN0ZW5lcignY2xpY2snLCBbJyRldmVudCddKSBvbkNsaWNrKCRldmVudDogTW91c2VFdmVudCkge1xuXHQgIHRoaXMucmVnaXN0cnkuc2VsZWN0KHRoaXMpO1xuXHR9XG5cblx0bmdPbkluaXQoKTogdm9pZCB7XG5cdCAgdGhpcy5yZWdpc3RyeS5hZGQodGhpcy5nYWxsZXJ5LCB0aGlzKTtcblx0fVxuXG5cdG5nT25EZXN0cm95KCk6IHZvaWQge1xuXHQgIHRoaXMucmVnaXN0cnkucmVtb3ZlKHRoaXMpO1xuXHR9XG5cblx0c2VsZWN0KCkge1xuXHQgIHRoaXMuc2VsZWN0ZWQgPSB0cnVlO1xuXHQgIHRoaXMuYmVjYW1lU2VsZWN0ZWQuZW1pdCgpO1xuXHQgIHRoaXMuY2QubWFya0ZvckNoZWNrKCk7XG5cdCAgcmV0dXJuIHRoaXM7XG5cdH1cblxuXHRkZXNlbGVjdCgpIHtcblx0ICB0aGlzLnNlbGVjdGVkID0gZmFsc2U7XG5cdCAgdGhpcy5jZC5tYXJrRm9yQ2hlY2soKTtcblx0ICByZXR1cm4gdGhpcztcblx0fVxufVxuIl19
@@ -0,0 +1,79 @@
1
+ import { CdkPortalOutlet, } from '@angular/cdk/portal';
2
+ import { Component, EventEmitter, Input, HostBinding, ChangeDetectionStrategy, ViewChild, HostListener, } from '@angular/core';
3
+ import { daffFadeAnimations } from '../animations/modal-animation';
4
+ import { getAnimationState } from '../animations/modal-animation-state';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/cdk/portal";
7
+ export class DaffModalComponent {
8
+ constructor() {
9
+ /**
10
+ * Dictates whether or not a modal is open or closed.
11
+ */
12
+ this.open = false;
13
+ /**
14
+ * Event fired when the close animation is completed.
15
+ */
16
+ this.animationCompleted = new EventEmitter();
17
+ /**
18
+ * Event fired when the close animation is completed.
19
+ */
20
+ this.closedAnimationCompleted = new EventEmitter();
21
+ /**
22
+ * Event fired when the backdrop is clicked
23
+ * This is often used to close the modal
24
+ */
25
+ this.hide = new EventEmitter();
26
+ /**
27
+ * Hostbinding to set the default modal class on the host element
28
+ *
29
+ * @docs-private
30
+ */
31
+ this.modalClass = true;
32
+ }
33
+ /**
34
+ * Helper method to attach portable content to modal
35
+ */
36
+ attachContent(portal) {
37
+ this._portalOutlet.attachComponentPortal(portal);
38
+ }
39
+ /**
40
+ * Animation hook that controls the entrance and exit animations
41
+ * of the modal
42
+ */
43
+ get fadeState() {
44
+ return getAnimationState(this.open);
45
+ }
46
+ /**
47
+ * Animation event that can used to hook into when
48
+ * animations are fully completed. We use this in the DaffModalService
49
+ * to determine when to actually remove the dynamically rendered element from the DOM
50
+ * so that the animation does not clip as the element is removed.
51
+ */
52
+ animationDone(e) {
53
+ this.animationCompleted.emit(e);
54
+ if (e.toState === 'closed') {
55
+ this.closedAnimationCompleted.emit(e);
56
+ }
57
+ }
58
+ }
59
+ /** @nocollapse */ /** @nocollapse */ DaffModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
60
+ /** @nocollapse */ /** @nocollapse */ DaffModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffModalComponent, selector: "daff-modal", inputs: { open: "open" }, host: { listeners: { "@fade.done": "animationDone($event)" }, properties: { "class.daff-modal": "this.modalClass", "@fade": "this.fadeState" } }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width: 480px){:host{height:auto}}\n"], directives: [{ type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [daffFadeAnimations.fade], changeDetection: i0.ChangeDetectionStrategy.OnPush });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalComponent, decorators: [{
62
+ type: Component,
63
+ args: [{ selector: 'daff-modal', animations: [daffFadeAnimations.fade], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template cdkPortalOutlet></ng-template>\n", styles: [":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width: 480px){:host{height:auto}}\n"] }]
64
+ }], propDecorators: { open: [{
65
+ type: Input
66
+ }], _portalOutlet: [{
67
+ type: ViewChild,
68
+ args: [CdkPortalOutlet, { static: true }]
69
+ }], modalClass: [{
70
+ type: HostBinding,
71
+ args: ['class.daff-modal']
72
+ }], fadeState: [{
73
+ type: HostBinding,
74
+ args: ['@fade']
75
+ }], animationDone: [{
76
+ type: HostListener,
77
+ args: ['@fade.done', ['$event']]
78
+ }] } });
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL21vbGVjdWxlcy9tb2RhbC9tb2RhbC9tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL21vZGFsL21vZGFsL21vZGFsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3M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qL1xuXHRASG9zdEJpbmRpbmcoJ0BmYWRlJykgZ2V0IGZhZGVTdGF0ZSgpOiBzdHJpbmcge1xuXHQgIHJldHVybiBnZXRBbmltYXRpb25TdGF0ZSh0aGlzLm9wZW4pO1xuXHR9XG5cblx0LyoqXG5cdCAqIEFuaW1hdGlvbiBldmVudCB0aGF0IGNhbiB1c2VkIHRvIGhvb2sgaW50byB3aGVuXG5cdCAqIGFuaW1hdGlvbnMgYXJlIGZ1bGx5IGNvbXBsZXRlZC4gV2UgdXNlIHRoaXMgaW4gdGhlIERhZmZNb2RhbFNlcnZpY2Vcblx0ICogdG8gZGV0ZXJtaW5lIHdoZW4gdG8gYWN0dWFsbHkgcmVtb3ZlIHRoZSBkeW5hbWljYWxseSByZW5kZXJlZCBlbGVtZW50IGZyb20gdGhlIERPTVxuXHQgKiBzbyB0aGF0IHRoZSBhbmltYXRpb24gZG9lcyBub3QgY2xpcCBhcyB0aGUgZWxlbWVudCBpcyByZW1vdmVkLlxuXHQgKi9cblx0QEhvc3RMaXN0ZW5lcignQGZhZGUuZG9uZScsIFsnJGV2ZW50J10pXG5cdGFuaW1hdGlvbkRvbmUoZTogQW5pbWF0aW9uRXZlbnQpIHtcblx0ICB0aGlzLmFuaW1hdGlvbkNvbXBsZXRlZC5lbWl0KGUpO1xuXHQgIGlmIChlLnRvU3RhdGUgPT09ICdjbG9zZWQnKSB7XG5cdCAgICB0aGlzLmNsb3NlZEFuaW1hdGlvbkNvbXBsZXRlZC5lbWl0KGUpO1xuXHQgIH1cblx0fVxufVxuIiwiPG5nLXRlbXBsYXRlIGNka1BvcnRhbE91dGxldD48L25nLXRlbXBsYXRlPlxuIl19
@@ -0,0 +1,11 @@
1
+ import { ChangeDetectionStrategy, Component, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffModalActionsComponent {
4
+ }
5
+ /** @nocollapse */ /** @nocollapse */ DaffModalActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ /** @nocollapse */ /** @nocollapse */ DaffModalActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffModalActionsComponent, selector: "daff-modal-actions", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;padding-top:24px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalActionsComponent, decorators: [{
8
+ type: Component,
9
+ args: [{ selector: 'daff-modal-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;padding-top:24px}\n"] }]
10
+ }] });
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtYWN0aW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL21vZGFsL21vZGFsLWFjdGlvbnMvbW9kYWwtYWN0aW9ucy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7O0FBUXZCLE1BQU0sT0FBTyx5QkFBeUI7OzRKQUF6Qix5QkFBeUI7Z0pBQXpCLHlCQUF5QiwwREFKMUIsMkJBQTJCOzJGQUkxQix5QkFBeUI7a0JBTnJDLFNBQVM7K0JBQ0Usb0JBQW9CLFlBQ3BCLDJCQUEyQixtQkFFcEIsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxuICBDb21wb25lbnQsXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdkYWZmLW1vZGFsLWFjdGlvbnMnLFxuICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50PjwvbmctY29udGVudD4nLFxuICBzdHlsZVVybHM6IFsnLi9tb2RhbC1hY3Rpb25zLmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmTW9kYWxBY3Rpb25zQ29tcG9uZW50IHsgfVxuIl19
@@ -0,0 +1,11 @@
1
+ import { Component, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffModalContentComponent {
4
+ }
5
+ /** @nocollapse */ /** @nocollapse */ DaffModalContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ /** @nocollapse */ /** @nocollapse */ DaffModalContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffModalContentComponent, selector: "daff-modal-content", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalContentComponent, decorators: [{
8
+ type: Component,
9
+ args: [{ selector: 'daff-modal-content', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}\n"] }]
10
+ }] });
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL21vZGFsL21vZGFsLWNvbnRlbnQvbW9kYWwtY29udGVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsR0FDeEIsTUFBTSxlQUFlLENBQUM7O0FBUXZCLE1BQU0sT0FBTyx5QkFBeUI7OzRKQUF6Qix5QkFBeUI7Z0pBQXpCLHlCQUF5QiwwREFKMUIsMkJBQTJCOzJGQUkxQix5QkFBeUI7a0JBTnJDLFNBQVM7K0JBQ0Usb0JBQW9CLFlBQ3BCLDJCQUEyQixtQkFFcEIsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENvbXBvbmVudCxcbiAgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdkYWZmLW1vZGFsLWNvbnRlbnQnLFxuICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50PjwvbmctY29udGVudD4nLFxuICBzdHlsZVVybHM6IFsnLi9tb2RhbC1jb250ZW50LmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmTW9kYWxDb250ZW50Q29tcG9uZW50IHt9XG4iXX0=
@@ -0,0 +1,20 @@
1
+ import { Component, ViewEncapsulation, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffModalHeaderComponent {
4
+ constructor() {
5
+ /**
6
+ * @docs-private
7
+ */
8
+ this.class = true;
9
+ }
10
+ }
11
+ /** @nocollapse */ /** @nocollapse */ DaffModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ /** @nocollapse */ /** @nocollapse */ DaffModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffModalHeaderComponent, selector: "daff-modal-header", host: { properties: { "class.daff-modal-header": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width: 480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalHeaderComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'daff-modal-header', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width: 480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}\n"] }]
16
+ }], propDecorators: { class: [{
17
+ type: HostBinding,
18
+ args: ['class.daff-modal-header']
19
+ }] } });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY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25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZNb2RhbEhlYWRlckNvbXBvbmVudCB7XG4gIC8qKlxuICAgKiBAZG9jcy1wcml2YXRlXG4gICAqL1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtbW9kYWwtaGVhZGVyJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
@@ -0,0 +1,22 @@
1
+ import { Directive, HostBinding, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DaffModalTitleDirective {
4
+ constructor() {
5
+ /**
6
+ * @docs-private
7
+ */
8
+ this.class = true;
9
+ }
10
+ }
11
+ /** @nocollapse */ /** @nocollapse */ DaffModalTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ /** @nocollapse */ /** @nocollapse */ DaffModalTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: DaffModalTitleDirective, selector: "[daffModalTitle]", host: { properties: { "class.daff-modal-title": "this.class" } }, ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalTitleDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: '[daffModalTitle]',
17
+ }]
18
+ }], propDecorators: { class: [{
19
+ type: HostBinding,
20
+ args: ['class.daff-modal-title']
21
+ }] } });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtdGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL21vbGVjdWxlcy9tb2RhbC9tb2RhbC10aXRsZS9tb2RhbC10aXRsZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxXQUFXLEdBQ1osTUFBTSxlQUFlLENBQUM7O0FBS3ZCLE1BQU0sT0FBTyx1QkFBdUI7SUFIcEM7UUFJRTs7V0FFRztRQUNvQyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3JEOzswSkFMWSx1QkFBdUI7OElBQXZCLHVCQUF1QjsyRkFBdkIsdUJBQXVCO2tCQUhuQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxrQkFBa0I7aUJBQzdCOzhCQUt3QyxLQUFLO3NCQUEzQyxXQUFXO3VCQUFDLHdCQUF3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIERpcmVjdGl2ZSxcbiAgSG9zdEJpbmRpbmcsXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbZGFmZk1vZGFsVGl0bGVdJyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk1vZGFsVGl0bGVEaXJlY3RpdmUge1xuICAvKipcbiAgICogQGRvY3MtcHJpdmF0ZVxuICAgKi9cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5kYWZmLW1vZGFsLXRpdGxlJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
@@ -0,0 +1,52 @@
1
+ import { OverlayModule } from '@angular/cdk/overlay';
2
+ import { PortalModule } from '@angular/cdk/portal';
3
+ import { CommonModule } from '@angular/common';
4
+ import { NgModule } from '@angular/core';
5
+ import { DaffModalActionsComponent } from './modal-actions/modal-actions.component';
6
+ import { DaffModalContentComponent } from './modal-content/modal-content.component';
7
+ import { DaffModalHeaderComponent } from './modal-header/modal-header.component';
8
+ import { DaffModalTitleDirective } from './modal-title/modal-title.directive';
9
+ import { DaffModalComponent } from './modal/modal.component';
10
+ import * as i0 from "@angular/core";
11
+ export class DaffModalModule {
12
+ }
13
+ /** @nocollapse */ /** @nocollapse */ DaffModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ /** @nocollapse */ /** @nocollapse */ DaffModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalModule, declarations: [DaffModalComponent,
15
+ DaffModalHeaderComponent,
16
+ DaffModalTitleDirective,
17
+ DaffModalContentComponent,
18
+ DaffModalActionsComponent], imports: [CommonModule,
19
+ PortalModule,
20
+ OverlayModule], exports: [DaffModalHeaderComponent,
21
+ DaffModalTitleDirective,
22
+ DaffModalContentComponent,
23
+ DaffModalActionsComponent] });
24
+ /** @nocollapse */ /** @nocollapse */ DaffModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalModule, imports: [[
25
+ CommonModule,
26
+ PortalModule,
27
+ OverlayModule,
28
+ ]] });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalModule, decorators: [{
30
+ type: NgModule,
31
+ args: [{
32
+ imports: [
33
+ CommonModule,
34
+ PortalModule,
35
+ OverlayModule,
36
+ ],
37
+ exports: [
38
+ DaffModalHeaderComponent,
39
+ DaffModalTitleDirective,
40
+ DaffModalContentComponent,
41
+ DaffModalActionsComponent,
42
+ ],
43
+ declarations: [
44
+ DaffModalComponent,
45
+ DaffModalHeaderComponent,
46
+ DaffModalTitleDirective,
47
+ DaffModalContentComponent,
48
+ DaffModalActionsComponent,
49
+ ],
50
+ }]
51
+ }] });
52
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9k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jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFBvcnRhbE1vZHVsZSxcbiAgICBPdmVybGF5TW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRGFmZk1vZGFsSGVhZGVyQ29tcG9uZW50LFxuICAgIERhZmZNb2RhbFRpdGxlRGlyZWN0aXZlLFxuICAgIERhZmZNb2RhbENvbnRlbnRDb21wb25lbnQsXG4gICAgRGFmZk1vZGFsQWN0aW9uc0NvbXBvbmVudCxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZk1vZGFsQ29tcG9uZW50LFxuICAgIERhZmZNb2RhbEhlYWRlckNvbXBvbmVudCxcbiAgICBEYWZmTW9kYWxUaXRsZURpcmVjdGl2ZSxcbiAgICBEYWZmTW9kYWxDb250ZW50Q29tcG9uZW50LFxuICAgIERhZmZNb2RhbEFjdGlvbnNDb21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZNb2RhbE1vZHVsZSB7IH1cbiJdfQ==
@@ -0,0 +1,70 @@
1
+ import { Overlay, GlobalPositionStrategy, } from '@angular/cdk/overlay';
2
+ import { ComponentPortal } from '@angular/cdk/portal';
3
+ import { Injectable, } from '@angular/core';
4
+ import { DaffModalModule } from '../modal.module';
5
+ import { DaffModalComponent } from '../modal/modal.component';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/cdk/overlay";
8
+ export class DaffModalService {
9
+ constructor(overlay) {
10
+ this.overlay = overlay;
11
+ this._modals = [];
12
+ this.defaultConfiguration = {};
13
+ }
14
+ _attachModal(overlayRef) {
15
+ const modal = overlayRef.attach(new ComponentPortal(DaffModalComponent));
16
+ modal.instance.open = true;
17
+ return modal;
18
+ }
19
+ _attachModalContent(component, modal) {
20
+ modal.instance.attachContent(new ComponentPortal(component));
21
+ }
22
+ _createOverlayRef() {
23
+ return this.overlay.create({
24
+ hasBackdrop: true,
25
+ positionStrategy: new GlobalPositionStrategy()
26
+ .centerHorizontally()
27
+ .centerVertically(),
28
+ scrollStrategy: this.overlay.scrollStrategies.block(),
29
+ });
30
+ }
31
+ _removeModal(modal) {
32
+ const index = this._modals.indexOf(modal);
33
+ if (index === -1) {
34
+ throw new Error('The Modal that you are trying to remove does not exist.');
35
+ }
36
+ modal.overlay.dispose();
37
+ this._modals = this._modals.filter(m => m !== modal);
38
+ }
39
+ open(component, configuration) {
40
+ const config = { ...this.defaultConfiguration, ...configuration };
41
+ const _ref = this._createOverlayRef();
42
+ const _modal = this._attachModal(_ref);
43
+ const _attachedModal = this._attachModalContent(component, _modal);
44
+ const modal = {
45
+ modal: _modal,
46
+ overlay: _ref,
47
+ };
48
+ this._modals.push(modal);
49
+ _ref
50
+ .backdropClick()
51
+ .subscribe(() => config.onBackdropClicked
52
+ ? config.onBackdropClicked()
53
+ : this.close(modal));
54
+ return modal;
55
+ }
56
+ close(modal) {
57
+ modal.modal.instance.open = false;
58
+ modal.overlay.detachBackdrop();
59
+ modal.modal.instance.closedAnimationCompleted.subscribe((e) => this._removeModal(modal));
60
+ }
61
+ }
62
+ /** @nocollapse */ /** @nocollapse */ DaffModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalService, deps: [{ token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
63
+ /** @nocollapse */ /** @nocollapse */ DaffModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalService, providedIn: DaffModalModule });
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffModalService, decorators: [{
65
+ type: Injectable,
66
+ args: [{
67
+ providedIn: DaffModalModule,
68
+ }]
69
+ }], ctorParameters: function () { return [{ type: i1.Overlay }]; } });
70
+ //# sourceMappingURL=data:application/json;base64,e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cdGNsb3NlKG1vZGFsOiBEYWZmTW9kYWwpOiB2b2lkIHtcblx0ICBtb2RhbC5tb2RhbC5pbnN0YW5jZS5vcGVuID0gZmFsc2U7XG5cdCAgbW9kYWwub3ZlcmxheS5kZXRhY2hCYWNrZHJvcCgpO1xuXHQgIG1vZGFsLm1vZGFsLmluc3RhbmNlLmNsb3NlZEFuaW1hdGlvbkNvbXBsZXRlZC5zdWJzY3JpYmUoXG5cdCAgICAoZTogQW5pbWF0aW9uRXZlbnQpID0+IHRoaXMuX3JlbW92ZU1vZGFsKG1vZGFsKSxcblx0ICApO1xuXHR9XG59XG4iXX0=
@@ -0,0 +1,51 @@
1
+ import { Component, Input, ElementRef, HostBinding, Renderer2, ChangeDetectionStrategy, } from '@angular/core';
2
+ import { daffColorMixin, } from '../../core/colorable/public_api';
3
+ import { daffManageContainerLayoutMixin } from '../../core/manage-container-layout/public_api';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * An _elementRef is needed for the Colorable mixin
7
+ */
8
+ class DaffNavbarBase {
9
+ constructor(_elementRef, _renderer) {
10
+ this._elementRef = _elementRef;
11
+ this._renderer = _renderer;
12
+ }
13
+ }
14
+ const _daffNavbarBase = daffManageContainerLayoutMixin(daffColorMixin(DaffNavbarBase));
15
+ /**
16
+ * @inheritdoc
17
+ */
18
+ export class DaffNavbarComponent extends _daffNavbarBase {
19
+ constructor(elementRef, renderer) {
20
+ super(elementRef, renderer);
21
+ this.elementRef = elementRef;
22
+ this.renderer = renderer;
23
+ this.raised = false;
24
+ /**
25
+ * @docs-private
26
+ */
27
+ this.hostClass = true;
28
+ }
29
+ /**
30
+ * @docs-private
31
+ */
32
+ get raisedClass() {
33
+ return this.raised;
34
+ }
35
+ ;
36
+ }
37
+ /** @nocollapse */ /** @nocollapse */ DaffNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
38
+ /** @nocollapse */ /** @nocollapse */ DaffNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: { color: "color", raised: "raised" }, host: { properties: { "class.daff-navbar--raised": "this.raisedClass", "class.daff-navbar": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex;align-items:center;height:64px;width:100%;padding:0 16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarComponent, decorators: [{
40
+ type: Component,
41
+ args: [{ selector: 'nav[daff-navbar]', template: '<ng-content></ng-content>', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;align-items:center;height:64px;width:100%;padding:0 16px}\n"] }]
42
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { raised: [{
43
+ type: Input
44
+ }], raisedClass: [{
45
+ type: HostBinding,
46
+ args: ['class.daff-navbar--raised']
47
+ }], hostClass: [{
48
+ type: HostBinding,
49
+ args: ['class.daff-navbar']
50
+ }] } });
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbmF2YmFyL25hdmJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsVUFBVSxFQUNWLFdBQVcsRUFDWCxTQUFTLEVBQ1QsdUJBQXVCLEdBQ3hCLE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yKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,20 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { DaffNavbarComponent } from './navbar.component';
3
+ import * as i0 from "@angular/core";
4
+ export class DaffNavbarModule {
5
+ }
6
+ /** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ /** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, declarations: [DaffNavbarComponent], exports: [DaffNavbarComponent] });
8
+ /** @nocollapse */ /** @nocollapse */ DaffNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffNavbarModule, decorators: [{
10
+ type: NgModule,
11
+ args: [{
12
+ declarations: [
13
+ DaffNavbarComponent,
14
+ ],
15
+ exports: [
16
+ DaffNavbarComponent,
17
+ ],
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvbmF2YmFyL25hdmJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFVekQsTUFBTSxPQUFPLGdC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