@daffodil/design 0.78.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/atoms/form/form-field/form-field/form-field.component.d.ts +1 -1
  2. package/button/README.md +3 -3
  3. package/button/button/basic/button.component.d.ts +28 -0
  4. package/button/button/button-base.directive.d.ts +51 -0
  5. package/button/button/flat/flat.component.d.ts +28 -0
  6. package/button/button/icon/icon.component.d.ts +24 -0
  7. package/button/button/raised/raised.component.d.ts +28 -0
  8. package/button/button/stroked/stroked.component.d.ts +28 -0
  9. package/button/button/underline/underline.component.d.ts +28 -0
  10. package/button/button.d.ts +7 -2
  11. package/button/button.module.d.ts +8 -3
  12. package/button/public_api.d.ts +6 -1
  13. package/button/src/button/basic/button-theme.scss +145 -0
  14. package/button/src/button/button-base.scss +79 -0
  15. package/button/src/button/flat/flat-theme.scss +143 -0
  16. package/button/src/button/icon/icon-theme.scss +141 -0
  17. package/button/src/button/raised/raised-theme.scss +120 -0
  18. package/button/src/button/stroked/stroked-theme.scss +158 -0
  19. package/button/src/button/underline/underline-theme.scss +93 -0
  20. package/card/card.module.d.ts +1 -1
  21. package/container/container.module.d.ts +1 -1
  22. package/core/statusable/statusable.d.ts +5 -3
  23. package/core/statusable/statusable.directive.d.ts +6 -4
  24. package/esm2022/accordion/accordion/animation/accordion-animation.mjs +1 -4
  25. package/esm2022/atoms/form/form-field/form-field/form-field.component.mjs +2 -2
  26. package/esm2022/button/button/basic/button.component.mjs +48 -0
  27. package/esm2022/button/button/button-base.directive.mjs +105 -0
  28. package/esm2022/button/button/flat/flat.component.mjs +48 -0
  29. package/esm2022/button/button/icon/icon.component.mjs +44 -0
  30. package/esm2022/button/button/raised/raised.component.mjs +48 -0
  31. package/esm2022/button/button/stroked/stroked.component.mjs +48 -0
  32. package/esm2022/button/button/underline/underline.component.mjs +48 -0
  33. package/esm2022/button/button.mjs +12 -2
  34. package/esm2022/button/button.module.mjs +34 -4
  35. package/esm2022/button/examples/basic-button/basic-button.component.mjs +4 -6
  36. package/esm2022/button/examples/flat-button/flat-button.component.mjs +4 -6
  37. package/esm2022/button/examples/icon-button/icon-button.component.mjs +4 -6
  38. package/esm2022/button/examples/raised-button/raised-button.component.mjs +4 -6
  39. package/esm2022/button/examples/sizeable-button/sizeable-button.component.mjs +2 -2
  40. package/esm2022/button/examples/statusable-button/statusable-button.component.mjs +3 -3
  41. package/esm2022/button/examples/stroked-button/stroked-button.component.mjs +4 -6
  42. package/esm2022/button/examples/underline-button/underline-button.component.mjs +4 -6
  43. package/esm2022/button/public_api.mjs +7 -2
  44. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +5 -7
  45. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +5 -7
  46. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +5 -6
  47. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +4 -6
  48. package/esm2022/card/card.module.mjs +2 -2
  49. package/esm2022/card/examples/basic-card/basic-card.component.mjs +4 -6
  50. package/esm2022/card/examples/card-orientation/card-orientation.component.mjs +5 -7
  51. package/esm2022/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +4 -5
  52. package/esm2022/checkbox/examples/checkbox-set/checkbox-set.component.mjs +4 -5
  53. package/esm2022/container/container.module.mjs +2 -2
  54. package/esm2022/core/statusable/statusable.directive.mjs +7 -5
  55. package/esm2022/core/statusable/statusable.mjs +3 -2
  56. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +4 -6
  57. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +5 -7
  58. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +5 -7
  59. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +4 -6
  60. package/esm2022/hero/hero.module.mjs +2 -2
  61. package/esm2022/image/image.module.mjs +2 -2
  62. package/esm2022/link-set/link-set.module.mjs +2 -2
  63. package/esm2022/list/list.module.mjs +2 -2
  64. package/esm2022/loading-icon/examples/examples.mjs +1 -3
  65. package/esm2022/loading-icon/examples/loading-icon-color/loading-icon-color.component.mjs +2 -2
  66. package/esm2022/loading-icon/loading-icon/loading-icon.component.mjs +5 -20
  67. package/esm2022/loading-icon/loading-icon.module.mjs +2 -2
  68. package/esm2022/media-gallery/helpers/media-gallery-token.mjs +7 -3
  69. package/esm2022/media-gallery/media-gallery.module.mjs +2 -2
  70. package/esm2022/media-gallery/thumbnail/thumbnail-compat.token.mjs +8 -3
  71. package/esm2022/menu/examples/basic-menu/basic-menu.component.mjs +5 -7
  72. package/esm2022/modal/examples/basic-modal/basic-modal.component.mjs +4 -6
  73. package/esm2022/modal/examples/basic-modal/modal-content.component.mjs +4 -6
  74. package/esm2022/modal/modal-header/modal-header.component.mjs +4 -6
  75. package/esm2022/modal/modal.module.mjs +2 -2
  76. package/esm2022/navbar/examples/basic-navbar/basic-navbar.component.mjs +4 -6
  77. package/esm2022/navbar/examples/contained-navbar/contained-navbar.component.mjs +4 -6
  78. package/esm2022/navbar/examples/navbar-theming/navbar-theming.component.mjs +5 -7
  79. package/esm2022/navbar/examples/raised-navbar/raised-navbar.component.mjs +4 -6
  80. package/esm2022/navbar/navbar.module.mjs +2 -2
  81. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +1 -3
  82. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +1 -3
  83. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +3 -5
  84. package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +4 -5
  85. package/esm2022/notification/notification/notification.component.mjs +3 -3
  86. package/esm2022/notification/notification.module.mjs +2 -2
  87. package/esm2022/paginator/paginator.module.mjs +2 -2
  88. package/esm2022/progress-bar/progress-bar.module.mjs +2 -2
  89. package/esm2022/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.mjs +5 -6
  90. package/esm2022/sidebar/sidebar-viewport/scroll-token/scroll.token.mjs +9 -3
  91. package/esm2022/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +3 -3
  92. package/esm2022/sidebar/sidebar.module.mjs +2 -2
  93. package/esm2022/tabs/daffodil-design-tabs.mjs +5 -0
  94. package/esm2022/tabs/examples/basic-tabs/basic-tabs.component.mjs +22 -0
  95. package/esm2022/tabs/examples/custom-select-tabs/custom-select-tabs.component.mjs +34 -0
  96. package/esm2022/tabs/examples/daffodil-design-tabs-examples.mjs +5 -0
  97. package/esm2022/tabs/examples/disabled-tabs/disabled-tabs.component.mjs +22 -0
  98. package/esm2022/tabs/examples/index.mjs +2 -0
  99. package/esm2022/tabs/examples/initially-select-tab/initially-select-tab.component.mjs +22 -0
  100. package/esm2022/tabs/examples/public_api.mjs +11 -0
  101. package/esm2022/tabs/index.mjs +2 -0
  102. package/esm2022/tabs/public_api.mjs +6 -0
  103. package/esm2022/tabs/tabs/tab/tab.component.mjs +86 -0
  104. package/esm2022/tabs/tabs/tab-activator/tab-activator.component.mjs +83 -0
  105. package/esm2022/tabs/tabs/tab-label/tab-label.component.mjs +33 -0
  106. package/esm2022/tabs/tabs/tab-panel/tab-panel.component.mjs +68 -0
  107. package/esm2022/tabs/tabs/tabs.component.mjs +161 -0
  108. package/esm2022/tabs/tabs.mjs +13 -0
  109. package/esm2022/text-snippet/daffodil-design-text-snippet.mjs +5 -0
  110. package/esm2022/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.mjs +14 -0
  111. package/esm2022/text-snippet/examples/daffodil-design-text-snippet-examples.mjs +5 -0
  112. package/esm2022/text-snippet/examples/index.mjs +2 -0
  113. package/esm2022/text-snippet/examples/public_api.mjs +5 -0
  114. package/esm2022/text-snippet/index.mjs +2 -0
  115. package/esm2022/text-snippet/public_api.mjs +2 -0
  116. package/esm2022/text-snippet/text-snippet.component.mjs +46 -0
  117. package/esm2022/toast/examples/default-toast/default-toast.component.mjs +4 -6
  118. package/esm2022/toast/examples/toast-positions/toast-positions.component.mjs +4 -6
  119. package/esm2022/toast/examples/toast-status/toast-status.component.mjs +8 -10
  120. package/esm2022/toast/examples/toast-with-custom-duration/toast-with-custom-duration.component.mjs +4 -6
  121. package/esm2022/toast/options/daff-toast-options.mjs +7 -7
  122. package/esm2022/toast/toast/toast-provider.mjs +2 -2
  123. package/esm2022/toast/toast/toast-template.component.mjs +2 -2
  124. package/esm2022/toast/toast.module.mjs +2 -2
  125. package/esm2022/tree/tree.module.mjs +2 -2
  126. package/fesm2022/daffodil-design-accordion.mjs +0 -3
  127. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  128. package/fesm2022/daffodil-design-button-examples.mjs +16 -16
  129. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  130. package/fesm2022/daffodil-design-button.mjs +305 -131
  131. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  132. package/fesm2022/daffodil-design-callout-examples.mjs +12 -13
  133. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  134. package/fesm2022/daffodil-design-card-examples.mjs +10 -12
  135. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  136. package/fesm2022/daffodil-design-card.mjs +1 -1
  137. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  138. package/fesm2022/daffodil-design-checkbox-examples.mjs +5 -6
  139. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  140. package/fesm2022/daffodil-design-container.mjs +1 -1
  141. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  142. package/fesm2022/daffodil-design-hero-examples.mjs +11 -13
  143. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  144. package/fesm2022/daffodil-design-hero.mjs +1 -1
  145. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  146. package/fesm2022/daffodil-design-image.mjs +1 -1
  147. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  148. package/fesm2022/daffodil-design-link-set.mjs +1 -1
  149. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  150. package/fesm2022/daffodil-design-list.mjs +1 -1
  151. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  152. package/fesm2022/daffodil-design-loading-icon-examples.mjs +1 -13
  153. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  154. package/fesm2022/daffodil-design-loading-icon.mjs +5 -20
  155. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  156. package/fesm2022/daffodil-design-media-gallery.mjs +14 -4
  157. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  158. package/fesm2022/daffodil-design-menu-examples.mjs +3 -5
  159. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  160. package/fesm2022/daffodil-design-modal-examples.mjs +5 -7
  161. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  162. package/fesm2022/daffodil-design-modal.mjs +4 -5
  163. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  164. package/fesm2022/daffodil-design-navbar-examples.mjs +11 -13
  165. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  166. package/fesm2022/daffodil-design-navbar.mjs +1 -1
  167. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  168. package/fesm2022/daffodil-design-notification-examples.mjs +5 -9
  169. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  170. package/fesm2022/daffodil-design-notification.mjs +3 -3
  171. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  172. package/fesm2022/daffodil-design-paginator.mjs +1 -1
  173. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  174. package/fesm2022/daffodil-design-progress-bar.mjs +1 -1
  175. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  176. package/fesm2022/daffodil-design-sidebar-examples.mjs +4 -5
  177. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  178. package/fesm2022/daffodil-design-sidebar.mjs +11 -5
  179. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  180. package/fesm2022/daffodil-design-tabs-examples.mjs +93 -0
  181. package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -0
  182. package/fesm2022/daffodil-design-tabs.mjs +431 -0
  183. package/fesm2022/daffodil-design-tabs.mjs.map +1 -0
  184. package/fesm2022/daffodil-design-text-snippet-examples.mjs +25 -0
  185. package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +1 -0
  186. package/fesm2022/daffodil-design-text-snippet.mjs +53 -0
  187. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -0
  188. package/fesm2022/daffodil-design-toast-examples.mjs +13 -15
  189. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  190. package/fesm2022/daffodil-design-toast.mjs +11 -10
  191. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  192. package/fesm2022/daffodil-design-tree.mjs +1 -1
  193. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  194. package/fesm2022/daffodil-design.mjs +9 -6
  195. package/fesm2022/daffodil-design.mjs.map +1 -1
  196. package/hero/hero.module.d.ts +1 -1
  197. package/image/README.md +4 -1
  198. package/image/image.module.d.ts +1 -1
  199. package/link-set/README.md +1 -1
  200. package/link-set/link-set.module.d.ts +1 -1
  201. package/list/list.module.d.ts +1 -1
  202. package/loading-icon/README.md +0 -5
  203. package/loading-icon/examples/examples.d.ts +2 -2
  204. package/loading-icon/loading-icon/loading-icon.component.d.ts +1 -9
  205. package/loading-icon/loading-icon.module.d.ts +1 -1
  206. package/media-gallery/README.md +4 -1
  207. package/media-gallery/helpers/media-gallery-token.d.ts +1 -2
  208. package/media-gallery/media-gallery.module.d.ts +1 -1
  209. package/media-gallery/thumbnail/thumbnail-compat.token.d.ts +1 -5
  210. package/modal/modal.module.d.ts +1 -1
  211. package/navbar/navbar.module.d.ts +1 -1
  212. package/notification/README.md +2 -2
  213. package/notification/notification/notification.component.d.ts +1 -1
  214. package/notification/notification.module.d.ts +1 -1
  215. package/notification/src/notification-theme.scss +17 -13
  216. package/package.json +1 -1
  217. package/paginator/paginator.module.d.ts +1 -1
  218. package/progress-bar/progress-bar.module.d.ts +1 -1
  219. package/scss/theme.scss +13 -1
  220. package/scss/theming/_configure-theme.scss +60 -2
  221. package/scss/theming/_theme-css-variables.scss +1 -1
  222. package/sidebar/sidebar-viewport/scroll-token/scroll.token.d.ts +1 -7
  223. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +1 -1
  224. package/sidebar/sidebar.module.d.ts +1 -1
  225. package/tabs/README.md +19 -0
  226. package/tabs/examples/basic-tabs/basic-tabs.component.d.ts +6 -0
  227. package/tabs/examples/custom-select-tabs/custom-select-tabs.component.d.ts +11 -0
  228. package/tabs/examples/disabled-tabs/disabled-tabs.component.d.ts +6 -0
  229. package/tabs/examples/index.d.ts +1 -0
  230. package/tabs/examples/initially-select-tab/initially-select-tab.component.d.ts +6 -0
  231. package/tabs/examples/public_api.d.ts +2 -0
  232. package/tabs/index.d.ts +1 -0
  233. package/tabs/public_api.d.ts +5 -0
  234. package/tabs/src/tabs-theme.scss +22 -0
  235. package/tabs/tabs/tab/tab.component.d.ts +57 -0
  236. package/tabs/tabs/tab-activator/tab-activator.component.d.ts +37 -0
  237. package/tabs/tabs/tab-label/tab-label.component.d.ts +19 -0
  238. package/tabs/tabs/tab-panel/tab-panel.component.d.ts +38 -0
  239. package/tabs/tabs/tabs.component.d.ts +104 -0
  240. package/tabs/tabs.d.ts +6 -0
  241. package/text-snippet/README.md +2 -0
  242. package/text-snippet/examples/basic-text-snippet/basic-text-snippet.component.d.ts +5 -0
  243. package/text-snippet/examples/index.d.ts +1 -0
  244. package/text-snippet/examples/public_api.d.ts +2 -0
  245. package/text-snippet/index.d.ts +1 -0
  246. package/text-snippet/public_api.d.ts +1 -0
  247. package/text-snippet/text-snippet.component.d.ts +19 -0
  248. package/toast/README.md +5 -5
  249. package/toast/options/daff-toast-options.d.ts +1 -3
  250. package/toast/src/toast-theme.scss +14 -10
  251. package/toast/toast/toast-provider.d.ts +1 -1
  252. package/toast/toast.module.d.ts +1 -1
  253. package/tree/tree.module.d.ts +1 -1
  254. package/button/button/button.component.d.ts +0 -80
  255. package/button/src/button-theme-variants/button.scss +0 -26
  256. package/button/src/button-theme-variants/flat.scss +0 -25
  257. package/button/src/button-theme-variants/icon.scss +0 -21
  258. package/button/src/button-theme-variants/raised.scss +0 -36
  259. package/button/src/button-theme-variants/stroked.scss +0 -28
  260. package/button/src/button-theme-variants/underline.scss +0 -9
  261. package/button/src/button-theme.scss +0 -574
  262. package/esm2022/button/button/button.component.mjs +0 -212
  263. package/esm2022/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.mjs +0 -15
  264. package/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.d.ts +0 -5
@@ -1,212 +0,0 @@
1
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
- import { NgIf } from '@angular/common';
3
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, ElementRef, HostBinding, Renderer2, Input, } from '@angular/core';
4
- import { daffPrefixableMixin, daffSuffixableMixin, DaffArticleEncapsulatedDirective, DaffStatusableDirective, DaffColorableDirective, DaffPrefixSuffixModule, } from '@daffodil/design';
5
- import { DAFF_LOADING_ICON_COMPONENTS } from '@daffodil/design/loading-icon';
6
- import { DaffButtonSizableDirective } from './button-sizable.directive';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./button-sizable.directive";
9
- import * as i2 from "@daffodil/design";
10
- import * as i3 from "@daffodil/design/loading-icon";
11
- /**
12
- * List of classes to add to DaffButtonComponent instances based on host attributes to style as different variants.
13
- */
14
- const BUTTON_HOST_ATTRIBUTES = [
15
- 'daff-button',
16
- 'daff-stroked-button',
17
- 'daff-raised-button',
18
- 'daff-flat-button',
19
- 'daff-icon-button',
20
- 'daff-underline-button',
21
- ];
22
- /**
23
- * An _elementRef and an instance of renderer2 are needed for the button mixins
24
- */
25
- class DaffButtonBase {
26
- constructor(_elementRef, _renderer) {
27
- this._elementRef = _elementRef;
28
- this._renderer = _renderer;
29
- }
30
- }
31
- const _daffButtonBase = daffPrefixableMixin(daffSuffixableMixin((DaffButtonBase)));
32
- var DaffButtonTypeEnum;
33
- (function (DaffButtonTypeEnum) {
34
- DaffButtonTypeEnum["Default"] = "daff-button";
35
- DaffButtonTypeEnum["Stroked"] = "daff-stroked-button";
36
- DaffButtonTypeEnum["Raised"] = "daff-raised-button";
37
- DaffButtonTypeEnum["Flat"] = "daff-flat-button";
38
- DaffButtonTypeEnum["Icon"] = "daff-icon-button";
39
- DaffButtonTypeEnum["Underline"] = "daff-underline-button";
40
- })(DaffButtonTypeEnum || (DaffButtonTypeEnum = {}));
41
- /**
42
- * @inheritdoc
43
- */
44
- export class DaffButtonComponent extends _daffButtonBase {
45
- constructor(elementRef, renderer, size) {
46
- super(elementRef, renderer);
47
- this.elementRef = elementRef;
48
- this.renderer = renderer;
49
- this.size = size;
50
- this.loading = false;
51
- this.tabindex = 0;
52
- this._disabled = false;
53
- for (const attr of BUTTON_HOST_ATTRIBUTES) {
54
- if (this._hasHostAttributes(attr)) {
55
- elementRef.nativeElement.classList.add(attr);
56
- }
57
- }
58
- /**
59
- * Sets the default size of a button to medium.
60
- */
61
- this.size.defaultSize = 'md';
62
- }
63
- /**
64
- * @docs-private
65
- */
66
- ngOnInit() {
67
- for (const attr of BUTTON_HOST_ATTRIBUTES) {
68
- if (this._hasHostAttributes(attr)) {
69
- this.buttonType = attr;
70
- }
71
- }
72
- }
73
- /**
74
- * @docs-private
75
- */
76
- get button() {
77
- return this.buttonType === DaffButtonTypeEnum.Default || this.buttonType === undefined;
78
- }
79
- /**
80
- * @docs-private
81
- */
82
- get stroked() {
83
- return this.buttonType === DaffButtonTypeEnum.Stroked;
84
- }
85
- /**
86
- * @docs-private
87
- */
88
- get raised() {
89
- return this.buttonType === DaffButtonTypeEnum.Raised;
90
- }
91
- /**
92
- * @docs-private
93
- */
94
- get flat() {
95
- return this.buttonType === DaffButtonTypeEnum.Flat;
96
- }
97
- /**
98
- * @docs-private
99
- */
100
- get icon() {
101
- return this.buttonType === DaffButtonTypeEnum.Icon;
102
- }
103
- /**
104
- * @docs-private
105
- */
106
- get underline() {
107
- return this.buttonType === DaffButtonTypeEnum.Underline;
108
- }
109
- get disabledClass() {
110
- return this.disabled;
111
- }
112
- /**
113
- * The disabled state of the button.
114
- */
115
- get disabled() {
116
- return this._disabled || this.loading;
117
- }
118
- set disabled(value) {
119
- this._disabled = coerceBooleanProperty(value);
120
- }
121
- get disabledAttribute() {
122
- return this.disabled ? true : null;
123
- }
124
- get ariaDisabled() {
125
- return this.disabled ? true : null;
126
- }
127
- get disabledTabIndex() {
128
- return this.disabled ? -1 : this.tabindex;
129
- }
130
- _getHostElement() {
131
- return this.elementRef.nativeElement;
132
- }
133
- /**
134
- * Gets whether the button has one of the given attributes.
135
- * */
136
- _hasHostAttributes(...attributes) {
137
- return attributes.some(attribute => this._getHostElement().hasAttribute(attribute));
138
- }
139
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.DaffButtonSizableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
140
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: DaffButtonComponent, isStandalone: true, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: { loading: "loading", tabindex: "tabindex", disabled: "disabled" }, host: { properties: { "class.daff-button": "this.button", "class.daff-stroked-button": "this.stroked", "class.daff-raised-button": "this.raised", "class.daff-flat-button": "this.flat", "class.daff-icon-button": "this.icon", "class.daff-underline-button": "this.underline", "class.daff-button--disabled": "this.disabledClass", "attr.disabled": "this.disabledAttribute", "attr.aria-disabled": "this.ariaDisabled", "attr.tabindex": "this.disabledTabIndex" } }, usesInheritance: true, hostDirectives: [{ directive: i2.DaffArticleEncapsulatedDirective }, { directive: i1.DaffButtonSizableDirective, inputs: ["size", "size"] }, { directive: i2.DaffStatusableDirective, inputs: ["status", "status"] }, { directive: i2.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span class=\"daff-button__content\" *ngIf=\"!loading\"><ng-content></ng-content></span>\n<daff-loading-icon *ngIf=\"loading\" [diameter]=\"24\"></daff-loading-icon>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button,.daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;min-width:96px}.daff-button[disabled],.daff-button.daff-button--disabled,.daff-raised-button[disabled],.daff-raised-button.daff-button--disabled,.daff-stroked-button[disabled],.daff-stroked-button.daff-button--disabled,.daff-flat-button[disabled],.daff-flat-button.daff-button--disabled{cursor:not-allowed}.daff-button[disabled]:hover:after,.daff-button.daff-button--disabled:hover:after,.daff-raised-button[disabled]:hover:after,.daff-raised-button.daff-button--disabled:hover:after,.daff-stroked-button[disabled]:hover:after,.daff-stroked-button.daff-button--disabled:hover:after,.daff-flat-button[disabled]:hover:after,.daff-flat-button.daff-button--disabled:hover:after{opacity:0}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix,.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:2}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm,.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md,.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg,.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-button:after,.daff-flat-button:after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-button:hover:after,.daff-button:active:after,.daff-flat-button:hover:after,.daff-flat-button:active:after{opacity:1}.daff-raised-button:after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-raised-button:hover:after,.daff-raised-button:active:after{opacity:1}.daff-stroked-button:after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-stroked-button:hover:after,.daff-stroked-button:active:after{opacity:1}.daff-flat-button{background:none;border:none}.daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-button--disabled{cursor:not-allowed}.daff-icon-button[disabled]:hover:after,.daff-icon-button.daff-button--disabled:hover:after{opacity:0}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:2}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled]:hover:after,.daff-underline-button.daff-button--disabled:hover:after{opacity:0}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:2}.daff-underline-button[disabled],.daff-underline-button.daff-button--disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-button--disabled:hover:after,.daff-underline-button.daff-button--disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media (min-width: 1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: DaffPrefixSuffixModule }, { kind: "component", type: i3.DaffLoadingIconComponent, selector: "daff-loading-icon", inputs: ["diameter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
141
- }
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffButtonComponent, decorators: [{
143
- type: Component,
144
- args: [{ selector: '' +
145
- 'button[daff-button]' + ',' +
146
- 'button[daff-stroked-button]' + ',' +
147
- 'button[daff-raised-button]' + ',' +
148
- 'button[daff-flat-button]' + ',' +
149
- 'button[daff-icon-button]' + ',' +
150
- 'button[daff-underline-button]' + ',' +
151
- 'a[daff-button]' + ',' +
152
- 'a[daff-stroked-button]' + ',' +
153
- 'a[daff-raised-button]' + ',' +
154
- 'a[daff-flat-button]' + ',' +
155
- 'a[daff-icon-button]' + ',' +
156
- 'a[daff-underline-button]', hostDirectives: [
157
- { directive: DaffArticleEncapsulatedDirective },
158
- {
159
- directive: DaffButtonSizableDirective,
160
- inputs: ['size'],
161
- },
162
- {
163
- directive: DaffStatusableDirective,
164
- inputs: ['status'],
165
- },
166
- {
167
- directive: DaffColorableDirective,
168
- inputs: ['color'],
169
- },
170
- ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
171
- NgIf,
172
- DaffPrefixSuffixModule,
173
- DAFF_LOADING_ICON_COMPONENTS,
174
- ], template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span class=\"daff-button__content\" *ngIf=\"!loading\"><ng-content></ng-content></span>\n<daff-loading-icon *ngIf=\"loading\" [diameter]=\"24\"></daff-loading-icon>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button,.daff-flat-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;min-width:96px}.daff-button[disabled],.daff-button.daff-button--disabled,.daff-raised-button[disabled],.daff-raised-button.daff-button--disabled,.daff-stroked-button[disabled],.daff-stroked-button.daff-button--disabled,.daff-flat-button[disabled],.daff-flat-button.daff-button--disabled{cursor:not-allowed}.daff-button[disabled]:hover:after,.daff-button.daff-button--disabled:hover:after,.daff-raised-button[disabled]:hover:after,.daff-raised-button.daff-button--disabled:hover:after,.daff-stroked-button[disabled]:hover:after,.daff-stroked-button.daff-button--disabled:hover:after,.daff-flat-button[disabled]:hover:after,.daff-flat-button.daff-button--disabled:hover:after{opacity:0}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix,.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:2}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm,.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md,.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg,.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-button:after,.daff-flat-button:after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-button:hover:after,.daff-button:active:after,.daff-flat-button:hover:after,.daff-flat-button:active:after{opacity:1}.daff-raised-button:after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-raised-button:hover:after,.daff-raised-button:active:after{opacity:1}.daff-stroked-button:after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-stroked-button:hover:after,.daff-stroked-button:active:after{opacity:1}.daff-flat-button{background:none;border:none}.daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-button--disabled{cursor:not-allowed}.daff-icon-button[disabled]:hover:after,.daff-icon-button.daff-button--disabled:hover:after{opacity:0}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:2}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;appearance:none;border:none;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled]:hover:after,.daff-underline-button.daff-button--disabled:hover:after{opacity:0}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:2}.daff-underline-button[disabled],.daff-underline-button.daff-button--disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-button--disabled:hover:after,.daff-underline-button.daff-button--disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media (min-width: 1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"] }]
175
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.DaffButtonSizableDirective }], propDecorators: { button: [{
176
- type: HostBinding,
177
- args: ['class.daff-button']
178
- }], stroked: [{
179
- type: HostBinding,
180
- args: ['class.daff-stroked-button']
181
- }], raised: [{
182
- type: HostBinding,
183
- args: ['class.daff-raised-button']
184
- }], flat: [{
185
- type: HostBinding,
186
- args: ['class.daff-flat-button']
187
- }], icon: [{
188
- type: HostBinding,
189
- args: ['class.daff-icon-button']
190
- }], underline: [{
191
- type: HostBinding,
192
- args: ['class.daff-underline-button']
193
- }], disabledClass: [{
194
- type: HostBinding,
195
- args: ['class.daff-button--disabled']
196
- }], loading: [{
197
- type: Input
198
- }], tabindex: [{
199
- type: Input
200
- }], disabled: [{
201
- type: Input
202
- }], disabledAttribute: [{
203
- type: HostBinding,
204
- args: ['attr.disabled']
205
- }], ariaDisabled: [{
206
- type: HostBinding,
207
- args: ['attr.aria-disabled']
208
- }], disabledTabIndex: [{
209
- type: HostBinding,
210
- args: ['attr.tabindex']
211
- }] } });
212
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL2J1dHRvbi9zcmMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9idXR0b24vc3JjL2J1dHRvbi9idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDOUQsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZDLE9BQU8sRUFDTCxTQUFTLEVBRVQsaUJBQWlCLEVBQ2pCLHVCQUF1QixFQUN2QixVQUFVLEVBQ1YsV0FBVyxFQUNYLFNBQVMsRUFDVCxLQUFLLEdBQ04sTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUdMLG1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hvc3RFbGVtZW50KCkge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIC8qKlxuICAgKiBHZXRzIHdoZXRoZXIgdGhlIGJ1dHRvbiBoYXMgb25lIG9mIHRoZSBnaXZlbiBhdHRyaWJ1dGVzLlxuICAgKiAqL1xuICBwcml2YXRlIF9oYXNIb3N0QXR0cmlidXRlcyguLi5hdHRyaWJ1dGVzOiBzdHJpbmdbXSkge1xuICAgIHJldHVybiBhdHRyaWJ1dGVzLnNvbWUoYXR0cmlidXRlID0+IHRoaXMuX2dldEhvc3RFbGVtZW50KCkuaGFzQXR0cmlidXRlKGF0dHJpYnV0ZSkpO1xuICB9XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiX3ByZWZpeFwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJbZGFmZlByZWZpeF1cIj48L25nLWNvbnRlbnQ+XG48L25nLWNvbnRhaW5lcj5cbjxzcGFuIGNsYXNzPVwiZGFmZi1idXR0b25fX2NvbnRlbnRcIiAqbmdJZj1cIiFsb2FkaW5nXCI+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50Pjwvc3Bhbj5cbjxkYWZmLWxvYWRpbmctaWNvbiAqbmdJZj1cImxvYWRpbmdcIiBbZGlhbWV0ZXJdPVwiMjRcIj48L2RhZmYtbG9hZGluZy1pY29uPlxuPG5nLWNvbnRhaW5lciAqbmdJZj1cIl9zdWZmaXhcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2RhZmZTdWZmaXhdXCI+PC9uZy1jb250ZW50PlxuPC9uZy1jb250YWluZXI+Il19
@@ -1,15 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, } from '@angular/core';
2
- import { DAFF_LOADING_ICON_COMPONENTS } from '@daffodil/design/loading-icon';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@daffodil/design/loading-icon";
5
- export class LoadingIconDiameterComponent {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: LoadingIconDiameterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: LoadingIconDiameterComponent, isStandalone: true, selector: "loading-icon-diameter", ngImport: i0, template: "<daff-loading-icon [diameter]=\"100\"></daff-loading-icon>\n", dependencies: [{ kind: "component", type: i1.DaffLoadingIconComponent, selector: "daff-loading-icon", inputs: ["diameter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: LoadingIconDiameterComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'loading-icon-diameter', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
12
- DAFF_LOADING_ICON_COMPONENTS,
13
- ], template: "<daff-loading-icon [diameter]=\"100\"></daff-loading-icon>\n" }]
14
- }] });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1pY29uLWRpYW1ldGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL2xvYWRpbmctaWNvbi9leGFtcGxlcy9zcmMvbG9hZGluZy1pY29uLWRpYW1ldGVyL2xvYWRpbmctaWNvbi1kaWFtZXRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9sb2FkaW5nLWljb24vZXhhbXBsZXMvc3JjL2xvYWRpbmctaWNvbi1kaWFtZXRlci9sb2FkaW5nLWljb24tZGlhbWV0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkF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PGRhZmYtbG9hZGluZy1pY29uIFtkaWFtZXRlcl09XCIxMDBcIj48L2RhZmYtbG9hZGluZy1pY29uPlxuIl19
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LoadingIconDiameterComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIconDiameterComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIconDiameterComponent, "loading-icon-diameter", never, {}, {}, never, never, true, never>;
5
- }