@daffodil/design 0.71.0 → 0.73.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 (179) hide show
  1. package/README.md +36 -40
  2. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +1 -3
  3. package/accordion/accordion.module.d.ts +4 -5
  4. package/accordion/public_api.d.ts +0 -1
  5. package/article/README.md +0 -5
  6. package/article/article.module.d.ts +3 -5
  7. package/article/examples/article-examples.module.d.ts +8 -9
  8. package/article/examples/public_api.d.ts +0 -1
  9. package/article/public_api.d.ts +0 -2
  10. package/atoms/form/quantity-field/quantity-field.component.d.ts +2 -1
  11. package/callout/callout/callout.component.d.ts +1 -31
  12. package/esm2022/accordion/accordion/accordion-item/accordion-item.component.mjs +2 -5
  13. package/esm2022/accordion/accordion.module.mjs +3 -8
  14. package/esm2022/accordion/examples/basic-accordion/basic-accordion.component.mjs +1 -1
  15. package/esm2022/accordion/public_api.mjs +1 -2
  16. package/esm2022/article/article/article.component.mjs +2 -2
  17. package/esm2022/article/article.module.mjs +1 -11
  18. package/esm2022/article/examples/article-examples.module.mjs +7 -8
  19. package/esm2022/article/examples/examples.mjs +1 -3
  20. package/esm2022/article/examples/public_api.mjs +1 -2
  21. package/esm2022/article/public_api.mjs +1 -3
  22. package/esm2022/atoms/form/quantity-field/quantity-field.component.mjs +7 -4
  23. package/esm2022/callout/callout/callout.component.mjs +5 -35
  24. package/esm2022/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +1 -1
  25. package/esm2022/callout/examples/callout-theming/callout-theming.component.mjs +1 -1
  26. package/esm2022/callout/examples/callout-with-grid/callout-with-grid.component.mjs +1 -1
  27. package/esm2022/callout/examples/compact-callout/compact-callout.component.mjs +1 -1
  28. package/esm2022/hero/examples/compact-hero/compact-hero.component.mjs +1 -1
  29. package/esm2022/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +1 -1
  30. package/esm2022/hero/examples/hero-theming/hero-theming.component.mjs +1 -1
  31. package/esm2022/hero/examples/hero-with-grid/hero-with-grid.component.mjs +1 -1
  32. package/esm2022/hero/hero/hero.component.mjs +5 -36
  33. package/esm2022/list/examples/basic-list/basic-list.component.mjs +1 -1
  34. package/esm2022/list/examples/icon-list/icon-list.component.mjs +1 -1
  35. package/esm2022/list/examples/multiline-list/multiline-list.component.mjs +1 -1
  36. package/esm2022/list/examples/nav-list/nav-list.component.mjs +1 -1
  37. package/esm2022/list/list/list.component.mjs +5 -43
  38. package/esm2022/list/list.module.mjs +1 -6
  39. package/esm2022/list/public_api.mjs +1 -2
  40. package/esm2022/menu/menu-activator/menu-activator.component.mjs +1 -1
  41. package/esm2022/notification/examples/default-notification/default-notification.component.mjs +1 -1
  42. package/esm2022/notification/examples/{dismissable-notification/dismissable-notification.component.mjs → dismissible-notification/dismissible-notification.component.mjs} +6 -6
  43. package/esm2022/notification/examples/{dismissable-notification/dismissable-notification.module.mjs → dismissible-notification/dismissible-notification.module.mjs} +10 -10
  44. package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +1 -1
  45. package/esm2022/notification/examples/notification-status/notification-status.component.mjs +1 -1
  46. package/esm2022/notification/examples/public_api.mjs +4 -4
  47. package/esm2022/notification/notification/notification.component.mjs +6 -6
  48. package/esm2022/paginator/examples/basic-paginator/basic-paginator.component.mjs +1 -1
  49. package/esm2022/paginator/examples/link-paginator/link-paginator.component.mjs +1 -1
  50. package/esm2022/paginator/paginator/paginator.component.mjs +8 -24
  51. package/esm2022/public_api.mjs +1 -8
  52. package/esm2022/quantity-field/examples/basic-quantity-field/basic-quantity-field.component.mjs +1 -1
  53. package/esm2022/quantity-field/examples/custom-range-quantity-field/custom-range-quantity-field.component.mjs +1 -1
  54. package/esm2022/quantity-field/examples/disabled-quantity-field/disabled-quantity-field.component.mjs +1 -1
  55. package/esm2022/quantity-field/examples/select-max-quantity-field/select-max-quantity-field.component.mjs +1 -1
  56. package/esm2022/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.mjs +1 -5
  57. package/esm2022/tree/tree-item/tree-item.directive.mjs +4 -2
  58. package/fesm2022/daffodil-design-accordion-examples.mjs +1 -1
  59. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  60. package/fesm2022/daffodil-design-accordion.mjs +4 -34
  61. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  62. package/fesm2022/daffodil-design-article-examples.mjs +2 -12
  63. package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
  64. package/fesm2022/daffodil-design-article.mjs +3 -51
  65. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  66. package/fesm2022/daffodil-design-callout-examples.mjs +4 -4
  67. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  68. package/fesm2022/daffodil-design-callout.mjs +5 -35
  69. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  70. package/fesm2022/daffodil-design-hero-examples.mjs +4 -4
  71. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  72. package/fesm2022/daffodil-design-hero.mjs +5 -36
  73. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  74. package/fesm2022/daffodil-design-list-examples.mjs +4 -4
  75. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  76. package/fesm2022/daffodil-design-list.mjs +5 -70
  77. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  78. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  79. package/fesm2022/daffodil-design-notification-examples.mjs +17 -17
  80. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  81. package/fesm2022/daffodil-design-notification.mjs +5 -5
  82. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  83. package/fesm2022/daffodil-design-paginator-examples.mjs +2 -2
  84. package/fesm2022/daffodil-design-paginator-examples.mjs.map +1 -1
  85. package/fesm2022/daffodil-design-paginator.mjs +6 -22
  86. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  87. package/fesm2022/daffodil-design-quantity-field-examples.mjs +4 -4
  88. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  89. package/fesm2022/daffodil-design-sidebar.mjs +0 -4
  90. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  91. package/fesm2022/daffodil-design-tree.mjs +3 -1
  92. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  93. package/fesm2022/daffodil-design.mjs +64 -602
  94. package/fesm2022/daffodil-design.mjs.map +1 -1
  95. package/hero/README.md +0 -6
  96. package/hero/hero/hero.component.d.ts +1 -32
  97. package/list/README.md +0 -7
  98. package/list/list/list.component.d.ts +1 -30
  99. package/list/list.module.d.ts +4 -5
  100. package/list/public_api.d.ts +0 -1
  101. package/list/src/list-theme.scss +0 -34
  102. package/menu/README.md +15 -3
  103. package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +6 -0
  104. package/notification/examples/dismissible-notification/dismissible-notification.module.d.ts +11 -0
  105. package/notification/notification/notification.component.d.ts +2 -2
  106. package/package.json +1 -1
  107. package/paginator/paginator/paginator.component.d.ts +4 -24
  108. package/paginator/src/paginator-theme.scss +0 -55
  109. package/public_api.d.ts +0 -6
  110. package/scss/theme.scss +0 -2
  111. package/scss/typography/_classes.scss +0 -5
  112. package/scss/typography/_index.scss +0 -1
  113. package/scss/typography/mixins/_text-truncate.scss +1 -6
  114. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +0 -4
  115. package/accordion/accordion/accordion-item-content/accordion-item-content.directive.d.ts +0 -12
  116. package/article/article-lead/article-lead.directive.d.ts +0 -9
  117. package/article/article-title/article-title.directive.d.ts +0 -9
  118. package/article/examples/article-lead/article-lead.component.d.ts +0 -5
  119. package/atoms/progress-indicator/animation/progress-indicator-animation.d.ts +0 -4
  120. package/atoms/progress-indicator/progress-indicator.component.d.ts +0 -57
  121. package/atoms/progress-indicator/progress-indicator.module.d.ts +0 -8
  122. package/atoms/progress-indicator/public_api.d.ts +0 -2
  123. package/esm2022/accordion/accordion/accordion-item-content/accordion-item-content.directive.mjs +0 -25
  124. package/esm2022/article/article-lead/article-lead.directive.mjs +0 -22
  125. package/esm2022/article/article-title/article-title.directive.mjs +0 -22
  126. package/esm2022/article/examples/article-lead/article-lead.component.mjs +0 -12
  127. package/esm2022/atoms/progress-indicator/animation/progress-indicator-animation.mjs +0 -8
  128. package/esm2022/atoms/progress-indicator/progress-indicator.component.mjs +0 -82
  129. package/esm2022/atoms/progress-indicator/progress-indicator.module.mjs +0 -20
  130. package/esm2022/atoms/progress-indicator/public_api.mjs +0 -3
  131. package/esm2022/list/list-subheader/list-subheader.directive.mjs +0 -25
  132. package/esm2022/molecules/button-set/button-set.component.mjs +0 -23
  133. package/esm2022/molecules/button-set/button-set.module.mjs +0 -20
  134. package/esm2022/molecules/button-set/public_api.mjs +0 -3
  135. package/esm2022/molecules/feature/feature/feature.component.mjs +0 -49
  136. package/esm2022/molecules/feature/feature-icon/feature-icon.directive.mjs +0 -22
  137. package/esm2022/molecules/feature/feature-subheader/feature-subheader.directive.mjs +0 -22
  138. package/esm2022/molecules/feature/feature-subtitle/feature-subtitle.directive.mjs +0 -22
  139. package/esm2022/molecules/feature/feature-title/feature-title.directive.mjs +0 -22
  140. package/esm2022/molecules/feature/feature.module.mjs +0 -44
  141. package/esm2022/molecules/feature/public_api.mjs +0 -7
  142. package/esm2022/molecules/image-gallery/gallery-image/gallery-image.component.mjs +0 -25
  143. package/esm2022/molecules/image-gallery/image-gallery/image-gallery.component.mjs +0 -15
  144. package/esm2022/molecules/image-gallery/image-gallery.module.mjs +0 -33
  145. package/esm2022/molecules/image-gallery/public_api.mjs +0 -4
  146. package/esm2022/molecules/image-list/image-list.component.mjs +0 -20
  147. package/esm2022/molecules/image-list/image-list.module.mjs +0 -24
  148. package/esm2022/molecules/image-list/public_api.mjs +0 -3
  149. package/esm2022/molecules/qty-dropdown/public_api.mjs +0 -3
  150. package/esm2022/molecules/qty-dropdown/qty-dropdown.component.mjs +0 -113
  151. package/esm2022/molecules/qty-dropdown/qty-dropdown.module.mjs +0 -40
  152. package/list/list-subheader/list-subheader.directive.d.ts +0 -12
  153. package/molecules/button-set/button-set.component.d.ts +0 -12
  154. package/molecules/button-set/button-set.module.d.ts +0 -7
  155. package/molecules/button-set/public_api.d.ts +0 -2
  156. package/molecules/feature/feature/feature.component.d.ts +0 -26
  157. package/molecules/feature/feature-icon/feature-icon.directive.d.ts +0 -9
  158. package/molecules/feature/feature-subheader/feature-subheader.directive.d.ts +0 -9
  159. package/molecules/feature/feature-subtitle/feature-subtitle.directive.d.ts +0 -9
  160. package/molecules/feature/feature-title/feature-title.directive.d.ts +0 -9
  161. package/molecules/feature/feature.module.d.ts +0 -12
  162. package/molecules/feature/public_api.d.ts +0 -6
  163. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +0 -10
  164. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +0 -8
  165. package/molecules/image-gallery/image-gallery.module.d.ts +0 -10
  166. package/molecules/image-gallery/public_api.d.ts +0 -3
  167. package/molecules/image-list/image-list.component.d.ts +0 -9
  168. package/molecules/image-list/image-list.module.d.ts +0 -8
  169. package/molecules/image-list/public_api.d.ts +0 -2
  170. package/molecules/qty-dropdown/public_api.d.ts +0 -2
  171. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +0 -61
  172. package/molecules/qty-dropdown/qty-dropdown.module.d.ts +0 -12
  173. package/notification/examples/dismissable-notification/dismissable-notification.component.d.ts +0 -6
  174. package/notification/examples/dismissable-notification/dismissable-notification.module.d.ts +0 -11
  175. package/scss/daff-global.scss +0 -5
  176. package/scss/daff-typography.scss +0 -55
  177. package/scss/daff-util.scss +0 -5
  178. package/scss/typography/mixins/_text-transform.scss +0 -4
  179. package/src/atoms/progress-indicator/progress-indicator-theme.scss +0 -60
@@ -1,25 +0,0 @@
1
- import { Component, Input, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated See {@link DaffThumbnailDirective}
5
- */
6
- export class DaffGalleryImageComponent {
7
- constructor() {
8
- this.class = true;
9
- }
10
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffGalleryImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffGalleryImageComponent, selector: "daff-gallery-image", inputs: { selected: "selected" }, host: { properties: { "class.daff-image-gallery__daff-gallery-image--selected": "this.selected", "class.daff-image-gallery__daff-gallery-image": "this.class" } }, ngImport: i0, template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffGalleryImageComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'daff-gallery-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"gallery-image__wrapper\">\n <ng-content></ng-content>\n</div>" }]
16
- }], propDecorators: { selected: [{
17
- type: HostBinding,
18
- args: ['class.daff-image-gallery__daff-gallery-image--selected']
19
- }, {
20
- type: Input
21
- }], class: [{
22
- type: HostBinding,
23
- args: ['class.daff-image-gallery__daff-gallery-image']
24
- }] } });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FsbGVyeS1pbWFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL2ltYWdlLWdhbGxlcnkvZ2FsbGVyeS1pbWFnZS9nYWxsZXJ5LWltYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvaW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ZW50IHtcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5kYWZmLWltYWdlLWdhbGxlcnlfX2RhZmYtZ2FsbGVyeS1pbWFnZS0tc2VsZWN0ZWQnKSBASW5wdXQoKSBzZWxlY3RlZDogYm9vbGVhbjtcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcy5kYWZmLWltYWdlLWdhbGxlcnlfX2RhZmYtZ2FsbGVyeS1pbWFnZScpIGNsYXNzID0gdHJ1ZTtcbn1cbiIsIjxkaXYgY2xhc3M9XCJnYWxsZXJ5LWltYWdlX193cmFwcGVyXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PiJdfQ==
@@ -1,15 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../image-list/image-list.component";
4
- /**
5
- * @deprecated See {@link DaffMediaGalleryComponent}
6
- */
7
- export class DaffImageGalleryComponent {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffImageGalleryComponent, selector: "daff-image-gallery", ngImport: i0, template: "<div class=\"daff-image-gallery\">\n <div class=\"daff-image-gallery__active-image\">\n <ng-content select=\"[daff-active-image]\"></ng-content>\n </div>\n\n <daff-image-list class=\"daff-image-gallery__image-list\">\n <ng-content select=\"daff-gallery-image\"></ng-content>\n </daff-image-list>\n</div>\n", styles: [".daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:\"active-image\" \"image-list\";max-height:100%}@media (min-width: 1024px){.daff-image-gallery{grid-template-areas:\"image-list active-image\";max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width: 1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}\n"], dependencies: [{ kind: "component", type: i1.DaffImageListComponent, selector: "daff-image-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'daff-image-gallery', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"daff-image-gallery\">\n <div class=\"daff-image-gallery__active-image\">\n <ng-content select=\"[daff-active-image]\"></ng-content>\n </div>\n\n <daff-image-list class=\"daff-image-gallery__image-list\">\n <ng-content select=\"daff-gallery-image\"></ng-content>\n </daff-image-list>\n</div>\n", styles: [".daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:\"active-image\" \"image-list\";max-height:100%}@media (min-width: 1024px){.daff-image-gallery{grid-template-areas:\"image-list active-image\";max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width: 1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}\n"] }]
14
- }] });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZ2FsbGVyeS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8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dGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZJbWFnZUdhbGxlcnlDb21wb25lbnQge31cbiIsIjxkaXYgY2xhc3M9XCJkYWZmLWltYWdlLWdhbGxlcnlcIj5cbiAgPGRpdiBjbGFzcz1cImRhZmYtaW1hZ2UtZ2FsbGVyeV9fYWN0aXZlLWltYWdlXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2RhZmYtYWN0aXZlLWltYWdlXVwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG5cbiAgPGRhZmYtaW1hZ2UtbGlzdCBjbGFzcz1cImRhZmYtaW1hZ2UtZ2FsbGVyeV9faW1hZ2UtbGlzdFwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImRhZmYtZ2FsbGVyeS1pbWFnZVwiPjwvbmctY29udGVudD5cbiAgPC9kYWZmLWltYWdlLWxpc3Q+XG48L2Rpdj5cbiJdfQ==
@@ -1,33 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { DaffGalleryImageComponent } from './gallery-image/gallery-image.component';
4
- import { DaffImageGalleryComponent } from './image-gallery/image-gallery.component';
5
- import { DaffImageListModule } from '../image-list/public_api';
6
- import * as i0 from "@angular/core";
7
- export class DaffImageGalleryModule {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryModule, declarations: [DaffImageGalleryComponent,
10
- DaffGalleryImageComponent], imports: [CommonModule,
11
- DaffImageListModule], exports: [DaffImageGalleryComponent,
12
- DaffGalleryImageComponent] }); }
13
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryModule, imports: [CommonModule,
14
- DaffImageListModule] }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageGalleryModule, decorators: [{
17
- type: NgModule,
18
- args: [{
19
- imports: [
20
- CommonModule,
21
- DaffImageListModule,
22
- ],
23
- declarations: [
24
- DaffImageGalleryComponent,
25
- DaffGalleryImageComponent,
26
- ],
27
- exports: [
28
- DaffImageGalleryComponent,
29
- DaffGalleryImageComponent,
30
- ],
31
- }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZ2FsbGVyeS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL2ltYWdlLWdhbGxlcnkvaW1hZ2UtZ2FsbGVyeS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDcEYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDcEYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBZ0IvRCxNQUFNLE9BQU8sc0JBQXNCO2tJQUF0QixzQkFBc0I7bUlBQXRCLHNCQUFzQixpQkFSL0IseUJBQXlCO1l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iAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZJbWFnZUdhbGxlcnlDb21wb25lbnQsXG4gICAgRGFmZkdhbGxlcnlJbWFnZUNvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkltYWdlR2FsbGVyeU1vZHVsZSB7IH1cbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './image-gallery/image-gallery.component';
2
- export * from './gallery-image/gallery-image.component';
3
- export { DaffImageGalleryModule } from './image-gallery.module';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvaW1hZ2UtZ2FsbGVyeS9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW1hZ2UtZ2FsbGVyeS9pbWFnZS1nYWxsZXJ5LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2dhbGxlcnktaW1hZ2UvZ2FsbGVyeS1pbWFnZS5jb21wb25lbnQnO1xuZXhwb3J0IHsgRGFmZkltYWdlR2FsbGVyeU1vZHVsZSB9IGZyb20gJy4vaW1hZ2UtZ2FsbGVyeS5tb2R1bGUnO1xuIl19
@@ -1,20 +0,0 @@
1
- import { Component, ViewEncapsulation, HostBinding, ChangeDetectionStrategy, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DaffImageListComponent {
4
- constructor() {
5
- /**
6
- * @docs-private
7
- */
8
- this.class = true;
9
- }
10
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffImageListComponent, selector: "daff-image-list", host: { properties: { "class.daff-image-list": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'daff-image-list', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush }]
16
- }], propDecorators: { class: [{
17
- type: HostBinding,
18
- args: ['class.daff-image-list']
19
- }] } });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL2ltYWdlLWxpc3QvaW1hZ2UtbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsV0FBVyxFQUNYLHVCQUF1QixHQUN4QixNQUFNLGVBQWUsQ0FBQzs7QUFTdkIsTUFBTSxPQUFPLHNCQUFzQjtJQVBuQztRQVNFOztXQUVHO1FBQ21DLFVBQUssR0FBRyxJQUFJLENBQUM7S0FDcEQ7a0lBTlksc0JBQXNCO3NIQUF0QixzQkFBc0Isd0hBTHZCLDJCQUEyQjs7NEZBSzFCLHNCQUFzQjtrQkFQbEMsU0FBUzsrQkFDRSxpQkFBaUIsWUFDakIsMkJBQTJCLGlCQUV0QixpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNOzhCQU9ULEtBQUs7c0JBQTFDLFdBQVc7dUJBQUMsdUJBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ29tcG9uZW50LFxuICBWaWV3RW5jYXBzdWxhdGlvbixcbiAgSG9zdEJpbmRpbmcsXG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZGFmZi1pbWFnZS1saXN0JyxcbiAgdGVtcGxhdGU6ICc8bmctY29udGVudD48L25nLWNvbnRlbnQ+JyxcbiAgc3R5bGVVcmxzOiBbJy4vaW1hZ2UtbGlzdC5jb21wb25lbnQuc2NzcyddLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkltYWdlTGlzdENvbXBvbmVudCB7XG5cbiAgLyoqXG4gICAqIEBkb2NzLXByaXZhdGVcbiAgICovXG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1pbWFnZS1saXN0JykgY2xhc3MgPSB0cnVlO1xufVxuIl19
@@ -1,24 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { DaffImageListComponent } from './image-list.component';
4
- import * as i0 from "@angular/core";
5
- export class DaffImageListModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListModule, declarations: [DaffImageListComponent], imports: [CommonModule], exports: [DaffImageListComponent] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListModule, imports: [CommonModule] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffImageListModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: [
14
- CommonModule,
15
- ],
16
- declarations: [
17
- DaffImageListComponent,
18
- ],
19
- exports: [
20
- DaffImageListComponent,
21
- ],
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtbGlzdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL2ltYWdlLWxpc3QvaW1hZ2UtbGlzdC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7O0FBYWhFLE1BQU0sT0FBTyxtQkFBbUI7a0lBQW5CLG1CQUFtQjttSUFBbkIsbUJBQW1CLGlCQU41QixzQkFBc0IsYUFIdEIsWUFBWSxhQU1aLHNCQUFzQjttSUFHYixtQkFBbUIsWUFUNUIsWUFBWTs7NEZBU0gsbUJBQW1CO2tCQVgvQixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3FCQUNiO29CQUNELFlBQVksRUFBRTt3QkFDWixzQkFBc0I7cUJBQ3ZCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxzQkFBc0I7cUJBQ3ZCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IERhZmZJbWFnZUxpc3RDb21wb25lbnQgfSBmcm9tICcuL2ltYWdlLWxpc3QuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZkltYWdlTGlzdENvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZJbWFnZUxpc3RDb21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZJbWFnZUxpc3RNb2R1bGUgeyB9XG4iXX0=
@@ -1,3 +0,0 @@
1
- export { DaffImageListModule } from './image-list.module';
2
- export * from './image-list.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvaW1hZ2UtbGlzdC9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzFELGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBEYWZmSW1hZ2VMaXN0TW9kdWxlIH0gZnJvbSAnLi9pbWFnZS1saXN0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2ltYWdlLWxpc3QuY29tcG9uZW50JztcbiJdfQ==
@@ -1,3 +0,0 @@
1
- export { DaffQtyDropdownModule } from './qty-dropdown.module';
2
- export * from './qty-dropdown.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcXR5LWRyb3Bkb3duL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDOUQsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IERhZmZRdHlEcm9wZG93bk1vZHVsZSB9IGZyb20gJy4vcXR5LWRyb3Bkb3duLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3F0eS1kcm9wZG93bi5jb21wb25lbnQnO1xuIl19
@@ -1,113 +0,0 @@
1
- import { Component, Input, Renderer2, Output, EventEmitter, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/forms";
5
- import * as i3 from "../../atoms/form/form-field/form-field/form-field.component";
6
- import * as i4 from "../../atoms/form/native-select/native-select.component";
7
- import * as i5 from "../../atoms/form/input/input.component";
8
- /**
9
- * @deprecated See {@link DaffQuantityFieldComponent}
10
- */
11
- // ChangeDetection is ignored because this component is deprecated and will be removed
12
- // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
13
- export class DaffQtyDropdownComponent {
14
- constructor(renderer) {
15
- this.renderer = renderer;
16
- this.dropdownRange = 9;
17
- this.qtyChanged = new EventEmitter();
18
- /**
19
- * @docs-private
20
- */
21
- this.onChange = (qty) => { };
22
- /**
23
- * @docs-private
24
- */
25
- this.onTouched = () => { };
26
- }
27
- /**
28
- * @docs-private
29
- */
30
- ngOnInit() {
31
- this.dropdownItemCounter = Array.from(Array(this.dropdownRange), (x, i) => i);
32
- if (!this.qty) {
33
- this.qty = 1;
34
- }
35
- }
36
- /**
37
- * @docs-private
38
- */
39
- writeValue(qty) {
40
- this.qty = qty;
41
- this.onChange(this.qty);
42
- }
43
- /**
44
- * @docs-private
45
- */
46
- registerOnChange(fn) {
47
- this.onChange = fn;
48
- }
49
- /**
50
- * @docs-private
51
- */
52
- registerOnTouched(fn) {
53
- this.onTouched = fn;
54
- }
55
- /**
56
- * @docs-private
57
- */
58
- setDisabledState(isDisabled) {
59
- if (this.inputHasBeenShown) {
60
- this.renderer.setProperty(document.getElementById('input_' + this.id), 'disabled', isDisabled);
61
- }
62
- else {
63
- this.renderer.setProperty(document.getElementById('select_' + this.id), 'disabled', isDisabled);
64
- }
65
- }
66
- /**
67
- * @docs-private
68
- */
69
- get showQtyInputField() {
70
- if (!this.isQtyOutsideDropdownRange() && !this.inputHasBeenShown) {
71
- return false;
72
- }
73
- else {
74
- this.inputHasBeenShown = true;
75
- return true;
76
- }
77
- }
78
- /**
79
- * @docs-private
80
- */
81
- onChangedWrapper(value) {
82
- value = parseInt(value, 10);
83
- if (value === 10) {
84
- this.selectInput();
85
- }
86
- this.qtyChanged.emit(value);
87
- this.onChange(value);
88
- }
89
- isQtyOutsideDropdownRange() {
90
- return this.qty > this.dropdownRange;
91
- }
92
- selectInput() {
93
- // TODO: readdress this method
94
- // why use `setTimeout` instead of angular patterns?
95
- setTimeout(() => {
96
- const input = document.getElementById('input_' + this.id);
97
- input?.select();
98
- });
99
- }
100
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
101
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffQtyDropdownComponent, selector: "daff-qty-dropdown", inputs: { qty: "qty", id: "id" }, outputs: { qtyChanged: "qtyChanged" }, ngImport: i0, template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { kind: "component", type: i4.DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }, { kind: "component", type: i5.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }] }); }
102
- }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownComponent, decorators: [{
104
- type: Component,
105
- args: [{ selector: 'daff-qty-dropdown', template: "<daff-form-field class=\"daff-qty-dropdown\">\n <select daff-native-select *ngIf=\"!showQtyInputField\" id=\"select_{{id}}\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\">\n <option *ngFor=\"let item of dropdownItemCounter\" [value]=\"item+1\">{{ item+1 }}</option>\n <option value=\"10\">10+</option>\n </select>\n <input daff-input id=\"input_{{id}}\" class=\"daff-qty-dropdown__input\" [(ngModel)]=\"qty\" (ngModelChange)=\"onChangedWrapper(qty)\" (blur)=\"onTouched()\" *ngIf=\"showQtyInputField\">\n</daff-form-field>", styles: [".daff-qty-dropdown__input{width:50px}\n"] }]
106
- }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { qty: [{
107
- type: Input
108
- }], id: [{
109
- type: Input
110
- }], qtyChanged: [{
111
- type: Output
112
- }] } });
113
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXR5LWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvcXR5LWRyb3Bkb3duL3F0eS1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8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vcm0tZmllbGQ+Il19
@@ -1,40 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { FormsModule } from '@angular/forms';
4
- import { DaffQtyDropdownComponent } from './qty-dropdown.component';
5
- import { DaffFormFieldModule } from '../../atoms/form/form-field/form-field.module';
6
- import { DaffInputModule } from '../../atoms/form/input/input.module';
7
- import { DaffNativeSelectModule } from '../../atoms/form/native-select/public_api';
8
- import * as i0 from "@angular/core";
9
- export class DaffQtyDropdownModule {
10
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
11
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownModule, declarations: [DaffQtyDropdownComponent], imports: [CommonModule,
12
- FormsModule,
13
- DaffFormFieldModule,
14
- DaffNativeSelectModule,
15
- DaffInputModule], exports: [DaffQtyDropdownComponent] }); }
16
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownModule, imports: [CommonModule,
17
- FormsModule,
18
- DaffFormFieldModule,
19
- DaffNativeSelectModule,
20
- DaffInputModule] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffQtyDropdownModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- imports: [
26
- CommonModule,
27
- FormsModule,
28
- DaffFormFieldModule,
29
- DaffNativeSelectModule,
30
- DaffInputModule,
31
- ],
32
- declarations: [
33
- DaffQtyDropdownComponent,
34
- ],
35
- exports: [
36
- DaffQtyDropdownComponent,
37
- ],
38
- }]
39
- }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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BvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZlF0eURyb3Bkb3duTW9kdWxlIHsgfVxuIl19
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated
4
- */
5
- export declare class DaffListSubheaderDirective {
6
- /**
7
- * @docs-private
8
- */
9
- class: boolean;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffListSubheaderDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffListSubheaderDirective, "[daffListSubheader]", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated in v1.0.0
4
- */
5
- export declare class DaffButtonSetComponent {
6
- /**
7
- * @docs-private
8
- */
9
- class: boolean;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonSetComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonSetComponent, "daff-button-set", never, {}, {}, never, ["*"], false, never>;
12
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button-set.component";
3
- export declare class DaffButtonSetModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonSetModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonSetModule, [typeof i1.DaffButtonSetComponent], never, [typeof i1.DaffButtonSetComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffButtonSetModule>;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './button-set.component';
2
- export { DaffButtonSetModule } from './button-set.module';
@@ -1,26 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export type DaffFeatureMode = 'compact' | 'normal' | undefined;
3
- export declare enum DaffFeatureModeEnum {
4
- Compact = "compact",
5
- Normal = "normal"
6
- }
7
- /**
8
- * @deprecated See {@link DaffCardComponent}
9
- */
10
- export declare class DaffFeatureComponent {
11
- /**
12
- * @docs-private
13
- */
14
- class: boolean;
15
- mode: DaffFeatureMode;
16
- /**
17
- * @docs-private
18
- */
19
- get compact(): boolean;
20
- /**
21
- * @docs-private
22
- */
23
- get normal(): boolean;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffFeatureComponent, "daff-feature", never, { "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["[daffFeatureIcon]", "[daffFeatureSubheader]", "[daffFeatureTitle]", "[daffFeatureSubtitle]", "*"], false, never>;
26
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaffFeatureIconDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureIconDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFeatureIconDirective, "[daffFeatureIcon]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaffFeatureSubheaderDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureSubheaderDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFeatureSubheaderDirective, "[daffFeatureSubheader]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaffFeatureSubtitleDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureSubtitleDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFeatureSubtitleDirective, "[daffFeatureSubtitle]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaffFeatureTitleDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureTitleDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFeatureTitleDirective, "[daffFeatureTitle]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./feature/feature.component";
3
- import * as i2 from "./feature-title/feature-title.directive";
4
- import * as i3 from "./feature-subtitle/feature-subtitle.directive";
5
- import * as i4 from "./feature-icon/feature-icon.directive";
6
- import * as i5 from "./feature-subheader/feature-subheader.directive";
7
- import * as i6 from "@angular/common";
8
- export declare class DaffFeatureModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFeatureModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffFeatureModule, [typeof i1.DaffFeatureComponent, typeof i2.DaffFeatureTitleDirective, typeof i3.DaffFeatureSubtitleDirective, typeof i4.DaffFeatureIconDirective, typeof i5.DaffFeatureSubheaderDirective], [typeof i6.CommonModule], [typeof i1.DaffFeatureComponent, typeof i2.DaffFeatureTitleDirective, typeof i3.DaffFeatureSubtitleDirective, typeof i4.DaffFeatureIconDirective, typeof i5.DaffFeatureSubheaderDirective]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffFeatureModule>;
12
- }
@@ -1,6 +0,0 @@
1
- export { DaffFeatureModule } from './feature.module';
2
- export * from './feature/feature.component';
3
- export * from './feature-title/feature-title.directive';
4
- export * from './feature-subtitle/feature-subtitle.directive';
5
- export * from './feature-icon/feature-icon.directive';
6
- export * from './feature-subheader/feature-subheader.directive';
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated See {@link DaffThumbnailDirective}
4
- */
5
- export declare class DaffGalleryImageComponent {
6
- selected: boolean;
7
- class: boolean;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffGalleryImageComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffGalleryImageComponent, "daff-gallery-image", never, { "selected": { "alias": "selected"; "required": false; }; }, {}, never, ["*"], false, never>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated See {@link DaffMediaGalleryComponent}
4
- */
5
- export declare class DaffImageGalleryComponent {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageGalleryComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageGalleryComponent, "daff-image-gallery", never, {}, {}, never, ["[daff-active-image]", "daff-gallery-image"], false, never>;
8
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./image-gallery/image-gallery.component";
3
- import * as i2 from "./gallery-image/gallery-image.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../image-list/image-list.module";
6
- export declare class DaffImageGalleryModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageGalleryModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffImageGalleryModule, [typeof i1.DaffImageGalleryComponent, typeof i2.DaffGalleryImageComponent], [typeof i3.CommonModule, typeof i4.DaffImageListModule], [typeof i1.DaffImageGalleryComponent, typeof i2.DaffGalleryImageComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffImageGalleryModule>;
10
- }
@@ -1,3 +0,0 @@
1
- export * from './image-gallery/image-gallery.component';
2
- export * from './gallery-image/gallery-image.component';
3
- export { DaffImageGalleryModule } from './image-gallery.module';
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaffImageListComponent {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageListComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageListComponent, "daff-image-list", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./image-list.component";
3
- import * as i2 from "@angular/common";
4
- export declare class DaffImageListModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageListModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffImageListModule, [typeof i1.DaffImageListComponent], [typeof i2.CommonModule], [typeof i1.DaffImageListComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffImageListModule>;
8
- }
@@ -1,2 +0,0 @@
1
- export { DaffImageListModule } from './image-list.module';
2
- export * from './image-list.component';
@@ -1,2 +0,0 @@
1
- export { DaffQtyDropdownModule } from './qty-dropdown.module';
2
- export * from './qty-dropdown.component';
@@ -1,61 +0,0 @@
1
- import { OnInit, Renderer2, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated See {@link DaffQuantityFieldComponent}
5
- */
6
- export declare class DaffQtyDropdownComponent implements OnInit {
7
- private renderer;
8
- private readonly dropdownRange;
9
- qty: number;
10
- id: number | string;
11
- qtyChanged: EventEmitter<number>;
12
- /**
13
- * @docs-private
14
- */
15
- dropdownItemCounter: number[];
16
- /**
17
- * @docs-private
18
- */
19
- inputHasBeenShown: boolean;
20
- /**
21
- * @docs-private
22
- */
23
- onChange: (qty: number) => void;
24
- /**
25
- * @docs-private
26
- */
27
- onTouched: () => void;
28
- constructor(renderer: Renderer2);
29
- /**
30
- * @docs-private
31
- */
32
- ngOnInit(): void;
33
- /**
34
- * @docs-private
35
- */
36
- writeValue(qty: number): void;
37
- /**
38
- * @docs-private
39
- */
40
- registerOnChange(fn: (qty: number) => void): void;
41
- /**
42
- * @docs-private
43
- */
44
- registerOnTouched(fn: any): void;
45
- /**
46
- * @docs-private
47
- */
48
- setDisabledState(isDisabled: boolean): void;
49
- /**
50
- * @docs-private
51
- */
52
- get showQtyInputField(): boolean;
53
- /**
54
- * @docs-private
55
- */
56
- onChangedWrapper(value: any): void;
57
- private isQtyOutsideDropdownRange;
58
- private selectInput;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffQtyDropdownComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffQtyDropdownComponent, "daff-qty-dropdown", never, { "qty": { "alias": "qty"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "qtyChanged": "qtyChanged"; }, never, never, false, never>;
61
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./qty-dropdown.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../../atoms/form/form-field/form-field.module";
6
- import * as i5 from "../../atoms/form/native-select/native-select.module";
7
- import * as i6 from "../../atoms/form/input/input.module";
8
- export declare class DaffQtyDropdownModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffQtyDropdownModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffQtyDropdownModule, [typeof i1.DaffQtyDropdownComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.DaffFormFieldModule, typeof i5.DaffNativeSelectModule, typeof i6.DaffInputModule], [typeof i1.DaffQtyDropdownComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffQtyDropdownModule>;
12
- }