@daffodil/design 0.91.0 → 0.92.3-rc.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.
- package/accordion/README.md +26 -38
- package/accordion/index.d.ts +2 -2
- package/article/README.md +66 -46
- package/article/index.d.ts +22 -1
- package/article/src/article-theme.scss +12 -0
- package/breadcrumb/README.md +6 -1
- package/breadcrumb/index.d.ts +65 -11
- package/breadcrumb/src/breadcrumb-theme.scss +1 -1
- package/button/README.md +36 -33
- package/button/index.d.ts +26 -5
- package/button/src/button/basic/button-theme.scss +4 -2
- package/button/src/button/button-base.scss +26 -3
- package/button/src/button/icon/icon-theme.scss +10 -6
- package/button/src/button/raised/raised-theme.scss +4 -2
- package/callout/README.md +15 -27
- package/card/README.md +36 -61
- package/container/README.md +18 -23
- package/fesm2022/daffodil-design-accordion.mjs +13 -13
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +168 -26
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-breadcrumb.mjs +180 -28
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +83 -42
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +23 -23
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +33 -33
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox.mjs +13 -13
- package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +8 -8
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-form-field.mjs +26 -26
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +9 -9
- package/fesm2022/daffodil-design-form.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +23 -23
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +8 -8
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input.mjs +18 -14
- package/fesm2022/daffodil-design-input.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +25 -17
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +16 -16
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +8 -8
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +13 -13
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +223 -60
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +33 -29
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-native-select.mjs +47 -41
- package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +25 -21
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +16 -16
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +7 -7
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +10 -10
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field.mjs +17 -14
- package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio.mjs +16 -16
- package/fesm2022/daffodil-design-radio.mjs.map +1 -1
- package/fesm2022/daffodil-design-select.mjs +6 -6
- package/fesm2022/daffodil-design-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +25 -25
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-spinner.mjs +99 -0
- package/fesm2022/daffodil-design-spinner.mjs.map +1 -0
- package/fesm2022/daffodil-design-switch.mjs +3 -3
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +15 -15
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-tag.mjs +7 -7
- package/fesm2022/daffodil-design-tag.mjs.map +1 -1
- package/fesm2022/daffodil-design-text-snippet.mjs +6 -8
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-textarea.mjs +6 -3
- package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +23 -25
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +152 -103
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design-youtube-player.mjs +6 -6
- package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +385 -326
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form-field/README.md +50 -85
- package/form-field/index.d.ts +11 -9
- package/hero/README.md +5 -5
- package/image/README.md +2 -2
- package/index.d.ts +184 -270
- package/input/README.md +4 -4
- package/input/index.d.ts +4 -3
- package/link-set/index.d.ts +9 -1
- package/list/README.md +2 -2
- package/loading-icon/README.md +1 -1
- package/loading-icon/index.d.ts +1 -1
- package/media-gallery/README.md +3 -3
- package/menu/README.md +107 -10
- package/menu/index.d.ts +143 -11
- package/modal/README.md +1 -1
- package/modal/index.d.ts +23 -15
- package/native-select/README.md +4 -4
- package/native-select/index.d.ts +8 -7
- package/navbar/README.md +23 -17
- package/navbar/index.d.ts +12 -2
- package/navbar/src/navbar-theme.scss +4 -46
- package/notification/README.md +4 -4
- package/package.json +1 -1
- package/paginator/README.md +42 -6
- package/paginator/index.d.ts +4 -2
- package/progress-bar/README.md +3 -3
- package/quantity-field/README.md +4 -4
- package/quantity-field/index.d.ts +4 -1
- package/radio/README.md +1 -1
- package/scss/theme.scss +7 -1
- package/scss/theming/_color-palettes.scss +0 -6
- package/select/README.md +4 -4
- package/sidebar/README.md +6 -6
- package/spinner/README.md +57 -0
- package/spinner/index.d.ts +53 -0
- package/spinner/src/spinner-theme.scss +62 -0
- package/switch/README.md +4 -4
- package/switch/index.d.ts +2 -2
- package/tabs/README.md +1 -1
- package/tabs/index.d.ts +2 -2
- package/tag/README.md +24 -30
- package/tag/index.d.ts +1 -1
- package/text-snippet/README.md +1 -1
- package/text-snippet/src/text-snippet-theme.scss +12 -0
- package/textarea/README.md +4 -4
- package/textarea/index.d.ts +4 -4
- package/toast/README.md +4 -4
- package/tree/README.md +39 -22
- package/tree/index.d.ts +57 -90
|
@@ -25,10 +25,10 @@ class DaffCalloutComponent {
|
|
|
25
25
|
this.textAlignable = textAlignable;
|
|
26
26
|
this.textAlignable.defaultAlignment = 'left';
|
|
27
27
|
}
|
|
28
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
29
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
28
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutComponent, deps: [{ token: i1.DaffTextAlignableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutComponent, isStandalone: true, selector: "daff-callout", host: { classAttribute: "daff-callout" }, hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffManageContainerLayoutDirective }, { directive: i1.DaffTextAlignableDirective, inputs: ["textAlignment", "textAlignment"] }, { directive: i1.DaffCompactableDirective, inputs: ["compact", "compact"] }, { directive: i1.DaffColorableDirective, inputs: ["color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-callout{display:block;padding:64px 24px}@media(min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-callout__title{font-size:1.75rem;font-weight:700;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media(min-width:480px){.daff-callout__title{font-size:2rem;font-weight:600;line-height:2.25rem}}@media(min-width:480px)and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout__body p:first-of-type{margin-top:0}.daff-callout__body p:last-of-type{margin-bottom:0}.daff-callout.daff-compact{padding:48px 24px}@media(min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title,.daff-callout.daff-left .daff-callout__subtitle{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title,.daff-callout.daff-center .daff-callout__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title,.daff-callout.daff-right .daff-callout__subtitle{margin-left:auto;text-align:right}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: 'daff-callout', template: '<ng-content></ng-content>', hostDirectives: [
|
|
34
34
|
{ directive: DaffArticleEncapsulatedDirective },
|
|
@@ -47,7 +47,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
47
47
|
},
|
|
48
48
|
], host: {
|
|
49
49
|
'class': 'daff-callout',
|
|
50
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".daff-callout{display:block;padding:64px 24px}@media
|
|
50
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".daff-callout{display:block;padding:64px 24px}@media(min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;margin:0 0 8px;padding:0}.daff-callout__title{font-size:1.75rem;font-weight:700;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media(min-width:480px){.daff-callout__title{font-size:2rem;font-weight:600;line-height:2.25rem}}@media(min-width:480px)and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout__body p:first-of-type{margin-top:0}.daff-callout__body p:last-of-type{margin-bottom:0}.daff-callout.daff-compact{padding:48px 24px}@media(min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title,.daff-callout.daff-left .daff-callout__subtitle{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title,.daff-callout.daff-center .daff-callout__subtitle{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title,.daff-callout.daff-right .daff-callout__subtitle{margin-left:auto;text-align:right}\n"] }]
|
|
51
51
|
}], ctorParameters: () => [{ type: i1.DaffTextAlignableDirective }] });
|
|
52
52
|
|
|
53
53
|
/* eslint-disable quote-props */
|
|
@@ -61,10 +61,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
63
|
class DaffCalloutBodyDirective {
|
|
64
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
65
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
64
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
65
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutBodyDirective, isStandalone: true, selector: "[daffCalloutBody]", host: { classAttribute: "daff-callout__body" }, ngImport: i0 }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutBodyDirective, decorators: [{
|
|
68
68
|
type: Directive,
|
|
69
69
|
args: [{
|
|
70
70
|
selector: '[daffCalloutBody]',
|
|
@@ -85,10 +85,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
85
85
|
* ```
|
|
86
86
|
*/
|
|
87
87
|
class DaffCalloutIconDirective {
|
|
88
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
89
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
88
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
89
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutIconDirective, isStandalone: true, selector: "[daffCalloutIcon]", host: { classAttribute: "daff-callout__icon" }, ngImport: i0 }); }
|
|
90
90
|
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutIconDirective, decorators: [{
|
|
92
92
|
type: Directive,
|
|
93
93
|
args: [{
|
|
94
94
|
selector: '[daffCalloutIcon]',
|
|
@@ -107,10 +107,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
107
107
|
* ```
|
|
108
108
|
*/
|
|
109
109
|
class DaffCalloutSubtitleDirective {
|
|
110
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
111
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
110
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
111
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutSubtitleDirective, isStandalone: true, selector: "[daffCalloutSubtitle]", host: { classAttribute: "daff-callout__subtitle" }, ngImport: i0 }); }
|
|
112
112
|
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutSubtitleDirective, decorators: [{
|
|
114
114
|
type: Directive,
|
|
115
115
|
args: [{
|
|
116
116
|
selector: '[daffCalloutSubtitle]',
|
|
@@ -130,10 +130,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
132
132
|
class DaffCalloutTaglineDirective {
|
|
133
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
134
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
133
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutTaglineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
134
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutTaglineDirective, isStandalone: true, selector: "[daffCalloutTagline]", host: { classAttribute: "daff-callout__tagline" }, ngImport: i0 }); }
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutTaglineDirective, decorators: [{
|
|
137
137
|
type: Directive,
|
|
138
138
|
args: [{
|
|
139
139
|
selector: '[daffCalloutTagline]',
|
|
@@ -152,10 +152,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
152
152
|
* ```
|
|
153
153
|
*/
|
|
154
154
|
class DaffCalloutTitleDirective {
|
|
155
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
156
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
155
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
156
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCalloutTitleDirective, isStandalone: true, selector: "[daffCalloutTitle]", host: { classAttribute: "daff-callout__title" }, ngImport: i0 }); }
|
|
157
157
|
}
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutTitleDirective, decorators: [{
|
|
159
159
|
type: Directive,
|
|
160
160
|
args: [{
|
|
161
161
|
selector: '[daffCalloutTitle]',
|
|
@@ -169,8 +169,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
169
169
|
* @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
170
170
|
*/
|
|
171
171
|
class DaffCalloutModule {
|
|
172
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
173
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
172
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
173
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutModule, imports: [CommonModule,
|
|
174
174
|
DaffCalloutComponent,
|
|
175
175
|
DaffCalloutIconDirective,
|
|
176
176
|
DaffCalloutTitleDirective,
|
|
@@ -182,9 +182,9 @@ class DaffCalloutModule {
|
|
|
182
182
|
DaffCalloutTitleDirective,
|
|
183
183
|
DaffCalloutTaglineDirective,
|
|
184
184
|
DaffCalloutBodyDirective] }); }
|
|
185
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
185
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutModule, imports: [CommonModule] }); }
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCalloutModule, decorators: [{
|
|
188
188
|
type: NgModule,
|
|
189
189
|
args: [{
|
|
190
190
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-design-callout.mjs","sources":["../../../libs/design/callout/src/callout/callout.component.ts","../../../libs/design/callout/src/callout-body/callout-body.directive.ts","../../../libs/design/callout/src/callout-icon/callout-icon.directive.ts","../../../libs/design/callout/src/callout-subtitle/callout-subtitle.directive.ts","../../../libs/design/callout/src/callout-tagline/callout-tagline.directive.ts","../../../libs/design/callout/src/callout-title/callout-title.directive.ts","../../../libs/design/callout/src/callout.module.ts","../../../libs/design/callout/src/callout.ts","../../../libs/design/callout/src/daffodil-design-callout.ts"],"sourcesContent":["/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * Callout is a versatile, pre-styled container used to highlight\n * key pieces of content in a visually distinct way.\n *\n * @example\n * ```html\n * <daff-callout>\n * <div daffCalloutIcon></div>\n * <div daffCalloutTagline></div>\n * <h2 daffCalloutTitle></h2>\n * <p daffCalloutSubtitle></p>\n * <div daffCalloutBody></div>\n * </daff-callout>\n * ```\n */\n@Component({\n selector: 'daff-callout',\n template: '<ng-content></ng-content>',\n styleUrls: ['./callout.component.scss'],\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n host: {\n 'class': 'daff-callout',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffCalloutComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for custom or additional components within the callout.\n * It should only be used once per callout.\n *\n * @example\n * ```html\n * <div daffCalloutBody></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutBody]',\n host: {\n 'class': 'daff-callout__body',\n },\n})\n\nexport class DaffCalloutBodyDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Used to display a visual or branding element.\n * Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCalloutIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutIcon]',\n host: {\n 'class': 'daff-callout__icon',\n },\n})\n\nexport class DaffCalloutIconDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Secondary text that provides additional descriptive information beneath the title.\n *\n * @example\n * ```html\n * <p daffCalloutSubtitle></p>\n * ```\n */\n@Directive({\n selector: '[daffCalloutSubtitle]',\n host: {\n class: 'daff-callout__subtitle',\n },\n})\n\nexport class DaffCalloutSubtitleDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCalloutTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTagline]',\n host: {\n 'class': 'daff-callout__tagline',\n },\n})\n\nexport class DaffCalloutTaglineDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Applied to a heading tag (`<h*>`) to define the primary title of the callout.\n *\n * @example\n * ```html\n * <h2 daffCalloutTitle></h2>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTitle]',\n host: {\n class: 'daff-callout__title',\n },\n})\n\nexport class DaffCalloutTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n exports: [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n})\n\nexport class DaffCalloutModule { }\n","import { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CALLOUT_COMPONENTS = <const> [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAeA;;;;;;;;;;;;;;AAcG;MA2BU,oBAAoB,CAAA;AAC/B,IAAA,WAAA,CAAoB,aAAyC,EAAA;QAAzC,IAAA,CAAA,aAAa,GAAb,aAAa;AAC/B,QAAA,IAAI,CAAC,aAAa,CAAC,gBAAgB,GAAG,MAAM;IAC9C;iIAHW,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA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+
{"version":3,"file":"daffodil-design-callout.mjs","sources":["../../../libs/design/callout/src/callout/callout.component.ts","../../../libs/design/callout/src/callout-body/callout-body.directive.ts","../../../libs/design/callout/src/callout-icon/callout-icon.directive.ts","../../../libs/design/callout/src/callout-subtitle/callout-subtitle.directive.ts","../../../libs/design/callout/src/callout-tagline/callout-tagline.directive.ts","../../../libs/design/callout/src/callout-title/callout-title.directive.ts","../../../libs/design/callout/src/callout.module.ts","../../../libs/design/callout/src/callout.ts","../../../libs/design/callout/src/daffodil-design-callout.ts"],"sourcesContent":["/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport {\n DaffColorableDirective,\n DaffCompactableDirective,\n DaffArticleEncapsulatedDirective,\n DaffManageContainerLayoutDirective,\n DaffTextAlignableDirective,\n} from '@daffodil/design';\n\n/**\n * Callout is a versatile, pre-styled container used to highlight\n * key pieces of content in a visually distinct way.\n *\n * @example\n * ```html\n * <daff-callout>\n * <div daffCalloutIcon></div>\n * <div daffCalloutTagline></div>\n * <h2 daffCalloutTitle></h2>\n * <p daffCalloutSubtitle></p>\n * <div daffCalloutBody></div>\n * </daff-callout>\n * ```\n */\n@Component({\n selector: 'daff-callout',\n template: '<ng-content></ng-content>',\n styleUrls: ['./callout.component.scss'],\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n { directive: DaffManageContainerLayoutDirective },\n {\n directive: DaffTextAlignableDirective,\n inputs: ['textAlignment'],\n },\n {\n directive: DaffCompactableDirective,\n inputs: ['compact'],\n },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n ],\n host: {\n 'class': 'daff-callout',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class DaffCalloutComponent {\n constructor(private textAlignable: DaffTextAlignableDirective) {\n this.textAlignable.defaultAlignment = 'left';\n }\n}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for custom or additional components within the callout.\n * It should only be used once per callout.\n *\n * @example\n * ```html\n * <div daffCalloutBody></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutBody]',\n host: {\n 'class': 'daff-callout__body',\n },\n})\n\nexport class DaffCalloutBodyDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Used to display a visual or branding element.\n * Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCalloutIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutIcon]',\n host: {\n 'class': 'daff-callout__icon',\n },\n})\n\nexport class DaffCalloutIconDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Secondary text that provides additional descriptive information beneath the title.\n *\n * @example\n * ```html\n * <p daffCalloutSubtitle></p>\n * ```\n */\n@Directive({\n selector: '[daffCalloutSubtitle]',\n host: {\n class: 'daff-callout__subtitle',\n },\n})\n\nexport class DaffCalloutSubtitleDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCalloutTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTagline]',\n host: {\n 'class': 'daff-callout__tagline',\n },\n})\n\nexport class DaffCalloutTaglineDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * Applied to a heading tag (`<h*>`) to define the primary title of the callout.\n *\n * @example\n * ```html\n * <h2 daffCalloutTitle></h2>\n * ```\n */\n@Directive({\n selector: '[daffCalloutTitle]',\n host: {\n class: 'daff-callout__title',\n },\n})\n\nexport class DaffCalloutTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CALLOUT_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n exports: [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n ],\n})\n\nexport class DaffCalloutModule { }\n","import { DaffCalloutComponent } from './callout/callout.component';\nimport { DaffCalloutBodyDirective } from './callout-body/callout-body.directive';\nimport { DaffCalloutIconDirective } from './callout-icon/callout-icon.directive';\nimport { DaffCalloutSubtitleDirective } from './callout-subtitle/callout-subtitle.directive';\nimport { DaffCalloutTaglineDirective } from './callout-tagline/callout-tagline.directive';\nimport { DaffCalloutTitleDirective } from './callout-title/callout-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CALLOUT_COMPONENTS = <const> [\n DaffCalloutComponent,\n DaffCalloutIconDirective,\n DaffCalloutTitleDirective,\n DaffCalloutSubtitleDirective,\n DaffCalloutTaglineDirective,\n DaffCalloutBodyDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAeA;;;;;;;;;;;;;;AAcG;MA2BU,oBAAoB,CAAA;AAC/B,IAAA,WAAA,CAAoB,aAAyC,EAAA;QAAzC,IAAA,CAAA,aAAa,GAAb,aAAa;AAC/B,QAAA,IAAI,CAAC,aAAa,CAAC,gBAAgB,GAAG,MAAM;IAC9C;kIAHW,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA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BAAwB;;;AChB1B;;AAEG;;;;"}
|
|
@@ -13,10 +13,10 @@ class DaffCardBaseDirective {
|
|
|
13
13
|
this.elevated = false;
|
|
14
14
|
this.orientation.defaultOrientation = 'vertical';
|
|
15
15
|
}
|
|
16
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
16
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardBaseDirective, deps: [{ token: i1.DaffOrientableDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardBaseDirective, isStandalone: true, selector: "[daffCardBase]", inputs: { elevated: "elevated" }, host: { properties: { "class.elevated": "elevated" } }, hostDirectives: [{ directive: i1.DaffArticleEncapsulatedDirective }, { directive: i1.DaffColorableDirective, inputs: ["color", "color"] }, { directive: i1.DaffOrientableDirective, inputs: ["orientation", "orientation"] }], ngImport: i0 }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardBaseDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[daffCardBase]',
|
|
@@ -59,15 +59,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
61
|
class DaffCardComponent extends DaffCardBaseDirective {
|
|
62
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
63
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
62
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardComponent, isStandalone: true, selector: "daff-card,a[daff-card]", host: { classAttribute: "daff-card" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-card{display:flex;border-radius:8px;position:relative}.daff-card .daff-card__image{display:inline-block;width:100%}.daff-card .daff-card__wrapper{position:relative;height:100%}.daff-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-card.daff-vertical{flex-direction:column}.daff-card.daff-vertical .daff-card__image,.daff-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-card.daff-horizontal{flex-wrap:wrap}@media(min-width:480px){.daff-card.daff-horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-card.daff-horizontal .daff-card__image{border-radius:7px 0 0 7px}.daff-card.daff-horizontal .daff-card__image img{border-radius:7px 0 0 7px;object-fit:cover;object-position:center center;height:100%!important;width:100%}.daff-card .daff-card__body{padding:1.5rem;position:relative;z-index:2}.daff-card .daff-card__icon{display:block;margin:0 0 .5rem}.daff-card .daff-card__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;padding:0;margin:0 0 .25rem}.daff-card .daff-card__title{font-size:1.25rem;font-weight:600;line-height:1.5rem}.daff-card .daff-card__title+.daff-card__content{margin:1rem 0 0}.daff-card .daff-card__content p:first-of-type{margin-top:0}.daff-card .daff-card__content p:last-of-type{margin-bottom:0}.daff-card .daff-card__actions{padding:0 1.5rem 1.5rem;position:relative;z-index:2}a.daff-card{text-decoration:none}a.daff-card .daff-card__image+.daff-card__wrapper:after{border-radius:0 0 8px 8px}a.daff-card.horizontal .daff-card__image+.daff-card__wrapper:after{border-radius:0 8px 8px 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardComponent, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
67
|
args: [{ selector: 'daff-card' + ',' +
|
|
68
68
|
'a[daff-card]', host: {
|
|
69
69
|
'class': 'daff-card',
|
|
70
|
-
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-card{display:flex;border-radius:8px;position:relative}.daff-card .daff-card__image{display:inline-block;width:100%}.daff-card .daff-card__wrapper{position:relative;height:100%}.daff-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-card.daff-vertical{flex-direction:column}.daff-card.daff-vertical .daff-card__image,.daff-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-card.daff-horizontal{flex-wrap:wrap}@media
|
|
70
|
+
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-card{display:flex;border-radius:8px;position:relative}.daff-card .daff-card__image{display:inline-block;width:100%}.daff-card .daff-card__wrapper{position:relative;height:100%}.daff-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-card.daff-vertical{flex-direction:column}.daff-card.daff-vertical .daff-card__image,.daff-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-card.daff-horizontal{flex-wrap:wrap}@media(min-width:480px){.daff-card.daff-horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-card.daff-horizontal .daff-card__image{border-radius:7px 0 0 7px}.daff-card.daff-horizontal .daff-card__image img{border-radius:7px 0 0 7px;object-fit:cover;object-position:center center;height:100%!important;width:100%}.daff-card .daff-card__body{padding:1.5rem;position:relative;z-index:2}.daff-card .daff-card__icon{display:block;margin:0 0 .5rem}.daff-card .daff-card__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;padding:0;margin:0 0 .25rem}.daff-card .daff-card__title{font-size:1.25rem;font-weight:600;line-height:1.5rem}.daff-card .daff-card__title+.daff-card__content{margin:1rem 0 0}.daff-card .daff-card__content p:first-of-type{margin-top:0}.daff-card .daff-card__content p:last-of-type{margin-bottom:0}.daff-card .daff-card__actions{padding:0 1.5rem 1.5rem;position:relative;z-index:2}a.daff-card{text-decoration:none}a.daff-card .daff-card__image+.daff-card__wrapper:after{border-radius:0 0 8px 8px}a.daff-card.horizontal .daff-card__image+.daff-card__wrapper:after{border-radius:0 8px 8px 0}\n"] }]
|
|
71
71
|
}] });
|
|
72
72
|
|
|
73
73
|
/* eslint-disable quote-props */
|
|
@@ -90,15 +90,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
92
|
class DaffStrokedCardComponent extends DaffCardBaseDirective {
|
|
93
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
94
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
93
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffStrokedCardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
94
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: DaffStrokedCardComponent, isStandalone: true, selector: "daff-stroked-card,a[daff-stroked-card]", host: { classAttribute: "daff-stroked-card" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-stroked-card{display:flex;border-radius:8px;position:relative}.daff-stroked-card .daff-card__image{display:inline-block;width:100%}.daff-stroked-card .daff-card__wrapper{position:relative;height:100%}.daff-stroked-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-stroked-card.daff-vertical{flex-direction:column}.daff-stroked-card.daff-vertical .daff-card__image,.daff-stroked-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-stroked-card.daff-horizontal{flex-wrap:wrap}@media(min-width:480px){.daff-stroked-card.daff-horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-stroked-card.daff-horizontal .daff-card__image{border-radius:7px 0 0 7px}.daff-stroked-card.daff-horizontal .daff-card__image img{border-radius:7px 0 0 7px;object-fit:cover;object-position:center center;height:100%!important;width:100%}.daff-stroked-card .daff-card__body{padding:1.5rem;position:relative;z-index:2}.daff-stroked-card .daff-card__icon{display:block;margin:0 0 .5rem}.daff-stroked-card .daff-card__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;padding:0;margin:0 0 .25rem}.daff-stroked-card .daff-card__title{font-size:1.25rem;font-weight:600;line-height:1.5rem}.daff-stroked-card .daff-card__title+.daff-card__content{margin:1rem 0 0}.daff-stroked-card .daff-card__content p:first-of-type{margin-top:0}.daff-stroked-card .daff-card__content p:last-of-type{margin-bottom:0}.daff-stroked-card .daff-card__actions{padding:0 1.5rem 1.5rem;position:relative;z-index:2}a.daff-stroked-card{text-decoration:none}a.daff-stroked-card .daff-card__image+.daff-card__wrapper:after{border-radius:0 0 8px 8px}a.daff-stroked-card.horizontal .daff-card__image+.daff-card__wrapper:after{border-radius:0 8px 8px 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffStrokedCardComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: 'daff-stroked-card' + ',' +
|
|
99
99
|
'a[daff-stroked-card]', host: {
|
|
100
100
|
'class': 'daff-stroked-card',
|
|
101
|
-
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-stroked-card{display:flex;border-radius:8px;position:relative}.daff-stroked-card .daff-card__image{display:inline-block;width:100%}.daff-stroked-card .daff-card__wrapper{position:relative;height:100%}.daff-stroked-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-stroked-card.daff-vertical{flex-direction:column}.daff-stroked-card.daff-vertical .daff-card__image,.daff-stroked-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-stroked-card.daff-horizontal{flex-wrap:wrap}@media
|
|
101
|
+
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>", styles: [".daff-stroked-card{display:flex;border-radius:8px;position:relative}.daff-stroked-card .daff-card__image{display:inline-block;width:100%}.daff-stroked-card .daff-card__wrapper{position:relative;height:100%}.daff-stroked-card .daff-card__wrapper:after{content:\"\";position:absolute;left:0;top:0;height:100%;border-radius:8px;opacity:0;width:100%;transition:opacity .3s;z-index:1}.daff-stroked-card.daff-vertical{flex-direction:column}.daff-stroked-card.daff-vertical .daff-card__image,.daff-stroked-card.daff-vertical .daff-card__image img{border-radius:7px 7px 0 0}.daff-stroked-card.daff-horizontal{flex-wrap:wrap}@media(min-width:480px){.daff-stroked-card.daff-horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-stroked-card.daff-horizontal .daff-card__image{border-radius:7px 0 0 7px}.daff-stroked-card.daff-horizontal .daff-card__image img{border-radius:7px 0 0 7px;object-fit:cover;object-position:center center;height:100%!important;width:100%}.daff-stroked-card .daff-card__body{padding:1.5rem;position:relative;z-index:2}.daff-stroked-card .daff-card__icon{display:block;margin:0 0 .5rem}.daff-stroked-card .daff-card__tagline{font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;text-transform:uppercase;padding:0;margin:0 0 .25rem}.daff-stroked-card .daff-card__title{font-size:1.25rem;font-weight:600;line-height:1.5rem}.daff-stroked-card .daff-card__title+.daff-card__content{margin:1rem 0 0}.daff-stroked-card .daff-card__content p:first-of-type{margin-top:0}.daff-stroked-card .daff-card__content p:last-of-type{margin-bottom:0}.daff-stroked-card .daff-card__actions{padding:0 1.5rem 1.5rem;position:relative;z-index:2}a.daff-stroked-card{text-decoration:none}a.daff-stroked-card .daff-card__image+.daff-card__wrapper:after{border-radius:0 0 8px 8px}a.daff-stroked-card.horizontal .daff-card__image+.daff-card__wrapper:after{border-radius:0 8px 8px 0}\n"] }]
|
|
102
102
|
}] });
|
|
103
103
|
|
|
104
104
|
/* eslint-disable quote-props */
|
|
@@ -111,10 +111,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
111
111
|
* ```
|
|
112
112
|
*/
|
|
113
113
|
class DaffCardActionsDirective {
|
|
114
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
115
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
114
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
115
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardActionsDirective, isStandalone: true, selector: "[daffCardActions]", host: { classAttribute: "daff-card__actions" }, ngImport: i0 }); }
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardActionsDirective, decorators: [{
|
|
118
118
|
type: Directive,
|
|
119
119
|
args: [{
|
|
120
120
|
selector: '[daffCardActions]',
|
|
@@ -135,10 +135,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
135
135
|
* ```
|
|
136
136
|
*/
|
|
137
137
|
class DaffCardContentDirective {
|
|
138
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
139
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
138
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
139
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardContentDirective, isStandalone: true, selector: "[daffCardContent]", host: { classAttribute: "daff-card__content" }, ngImport: i0 }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardContentDirective, decorators: [{
|
|
142
142
|
type: Directive,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: '[daffCardContent]',
|
|
@@ -158,10 +158,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
160
160
|
class DaffCardIconDirective {
|
|
161
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
162
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
161
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
162
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardIconDirective, isStandalone: true, selector: "[daffCardIcon]", host: { classAttribute: "daff-card__icon" }, ngImport: i0 }); }
|
|
163
163
|
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardIconDirective, decorators: [{
|
|
165
165
|
type: Directive,
|
|
166
166
|
args: [{
|
|
167
167
|
selector: '[daffCardIcon]',
|
|
@@ -181,10 +181,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
181
181
|
* ```
|
|
182
182
|
*/
|
|
183
183
|
class DaffCardImageDirective {
|
|
184
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
185
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
184
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
185
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardImageDirective, isStandalone: true, selector: "[daffCardImage]", host: { classAttribute: "daff-card__image" }, ngImport: i0 }); }
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardImageDirective, decorators: [{
|
|
188
188
|
type: Directive,
|
|
189
189
|
args: [{
|
|
190
190
|
selector: '[daffCardImage]',
|
|
@@ -204,10 +204,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
204
204
|
* ```
|
|
205
205
|
*/
|
|
206
206
|
class DaffCardTaglineDirective {
|
|
207
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
208
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
207
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardTaglineDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
208
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardTaglineDirective, isStandalone: true, selector: "[daffCardTagline]", host: { classAttribute: "daff-card__tagline" }, ngImport: i0 }); }
|
|
209
209
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardTaglineDirective, decorators: [{
|
|
211
211
|
type: Directive,
|
|
212
212
|
args: [{
|
|
213
213
|
selector: '[daffCardTagline]',
|
|
@@ -227,10 +227,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
227
227
|
* ```
|
|
228
228
|
*/
|
|
229
229
|
class DaffCardTitleDirective {
|
|
230
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
231
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
230
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
231
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCardTitleDirective, isStandalone: true, selector: "[daffCardTitle]", host: { classAttribute: "daff-card__title" }, ngImport: i0 }); }
|
|
232
232
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardTitleDirective, decorators: [{
|
|
234
234
|
type: Directive,
|
|
235
235
|
args: [{
|
|
236
236
|
selector: '[daffCardTitle]',
|
|
@@ -244,8 +244,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
244
244
|
* @deprecated in favor of {@link DAFF_CARD_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
245
245
|
*/
|
|
246
246
|
class DaffCardModule {
|
|
247
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
248
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
247
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
248
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: DaffCardModule, imports: [CommonModule,
|
|
249
249
|
DaffCardComponent,
|
|
250
250
|
DaffStrokedCardComponent,
|
|
251
251
|
DaffCardIconDirective,
|
|
@@ -261,9 +261,9 @@ class DaffCardModule {
|
|
|
261
261
|
DaffCardTitleDirective,
|
|
262
262
|
DaffCardContentDirective,
|
|
263
263
|
DaffCardActionsDirective] }); }
|
|
264
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
264
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardModule, imports: [CommonModule] }); }
|
|
265
265
|
}
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCardModule, decorators: [{
|
|
267
267
|
type: NgModule,
|
|
268
268
|
args: [{
|
|
269
269
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-design-card.mjs","sources":["../../../libs/design/card/src/card-base.directive.ts","../../../libs/design/card/src/card/basic/basic.component.ts","../../../libs/design/card/src/card-base.component.html","../../../libs/design/card/src/card/stroked/stroked.component.ts","../../../libs/design/card/src/card-actions/card-actions.directive.ts","../../../libs/design/card/src/card-content/card-content.directive.ts","../../../libs/design/card/src/card-icon/card-icon.directive.ts","../../../libs/design/card/src/card-image/card-image.directive.ts","../../../libs/design/card/src/card-tagline/card-tagline.directive.ts","../../../libs/design/card/src/card-title/card-title.directive.ts","../../../libs/design/card/src/card.module.ts","../../../libs/design/card/src/card.ts","../../../libs/design/card/src/daffodil-design-card.ts"],"sourcesContent":["import {\n Input,\n Directive,\n} from '@angular/core';\n\nimport {\n DaffArticleEncapsulatedDirective,\n DaffColorableDirective,\n DaffOrientableDirective,\n} from '@daffodil/design';\n\n@Directive({\n selector: '[daffCardBase]',\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n {\n directive: DaffOrientableDirective,\n inputs: ['orientation'],\n },\n ],\n host: {\n '[class.elevated]': 'elevated',\n },\n})\nexport class DaffCardBaseDirective {\n /**\n * Whether or not a card displays a shadow.\n */\n @Input() elevated = false;\n\n constructor(private orientation: DaffOrientableDirective) {\n this.orientation.defaultOrientation = 'vertical';\n }\n}\n","/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { DaffCardBaseDirective } from '../../card-base.directive';\n\n/**\n * A basic card variant with a filled background.\n *\n * @example\n * ```html\n * <daff-card>\n * \t<img daffCardImage src=\"/\" alt=\"image caption\" >\n * <div daffCardIcon></div>\n * <div daffCardTagline>Card tagline</div>\n * <h4 daffCardTitle>Card title</h4>\n * \t<div daffCardContent>Detailed information about the subject of the card.</div>\n * <div daffCardActions>\n * <button>Card link</button>\n * <button>Another card link</button>\n * </div>\n * </daff-card>\n * ```\n */\n@Component({\n selector:\n 'daff-card' + ',' +\n 'a[daff-card]',\n templateUrl: '../../card-base.component.html',\n styleUrls: ['./basic.component.scss'],\n host: {\n 'class': 'daff-card',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffCardComponent extends DaffCardBaseDirective {}\n","<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>","/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { DaffCardBaseDirective } from '../../card-base.directive';\n\n/**\n * A card variant with a stroked (outlined) border instead of a filled background.\n *\n * @example\n * ```html\n * <daff-card>\n * \t<img daffCardImage src=\"/\" alt=\"image caption\" >\n * <div daffCardIcon></div>\n * <div daffCardTagline>Card tagline</div>\n * <h4 daffCardTitle>Card title</h4>\n * \t<div daffCardContent>Detailed information about the subject of the card.</div>\n * <div daffCardActions>\n * <button>Card link</button>\n * <button>Another card link</button>\n * </div>\n * </daff-card>\n * ```\n */\n@Component({\n selector:\n 'daff-stroked-card' + ',' +\n 'a[daff-stroked-card]',\n templateUrl: '../../card-base.component.html',\n styleUrls: ['./stroked.component.scss'],\n host: {\n 'class': 'daff-stroked-card',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffStrokedCardComponent extends DaffCardBaseDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A container for buttons or calls-to-action, always positioned to the bottom of the card.\n *\n * @example\n * ```html\n * <div daffCardActions></div>\n * ```\n */\n@Directive({\n selector: '[daffCardActions]',\n host: {\n 'class': 'daff-card__actions',\n },\n})\nexport class DaffCardActionsDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for text, components, or custom layouts.\n * It's unstyled except for spacing and should only be used once per card.\n *\n * @example\n * ```html\n * <div daffCardContent></div>\n * ```\n */\n@Directive({\n selector: '[daffCardContent]',\n host: {\n 'class': 'daff-card__content',\n },\n})\nexport class DaffCardContentDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Displays a visual or branding element. Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCardIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCardIcon]',\n host: {\n 'class': 'daff-card__icon',\n },\n})\nexport class DaffCardIconDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Displays an image.\n *\n * @example\n * ```html\n * <div daffCardImage></div>\n * ```\n */\n@Directive({\n selector: '[daffCardImage]',\n host: {\n 'class': 'daff-card__image',\n },\n})\nexport class DaffCardImageDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCardTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCardTagline]',\n host: {\n 'class': 'daff-card__tagline',\n },\n})\nexport class DaffCardTaglineDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * The primary heading of the card.\n *\n * @example\n * ```html\n * <div daffCardTitle></div>\n * ```\n */\n@Directive({\n selector: '[daffCardTitle]',\n host: {\n 'class': 'daff-card__title',\n },\n})\nexport class DaffCardTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCardComponent } from './card/basic/basic.component';\nimport { DaffStrokedCardComponent } from './card/stroked/stroked.component';\nimport { DaffCardActionsDirective } from './card-actions/card-actions.directive';\nimport { DaffCardContentDirective } from './card-content/card-content.directive';\nimport { DaffCardIconDirective } from './card-icon/card-icon.directive';\nimport { DaffCardImageDirective } from './card-image/card-image.directive';\nimport { DaffCardTaglineDirective } from './card-tagline/card-tagline.directive';\nimport { DaffCardTitleDirective } from './card-title/card-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CARD_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n ],\n exports: [\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n ],\n})\nexport class DaffCardModule { }\n","import { DaffCardComponent } from './card/basic/basic.component';\nimport { DaffStrokedCardComponent } from './card/stroked/stroked.component';\nimport { DaffCardActionsDirective } from './card-actions/card-actions.directive';\nimport { DaffCardContentDirective } from './card-content/card-content.directive';\nimport { DaffCardIconDirective } from './card-icon/card-icon.directive';\nimport { DaffCardImageDirective } from './card-image/card-image.directive';\nimport { DaffCardTaglineDirective } from './card-tagline/card-tagline.directive';\nimport { DaffCardTitleDirective } from './card-title/card-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CARD_COMPONENTS = <const> [\n DaffCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n\n/**\n * @docs-private\n */\nexport const DAFF_STROKED_CARD_COMPONENTS = <const> [\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n\n/**\n * @docs-private\n */\nexport const DAFF_ALL_CARD_COMPONENTS = <const> [\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MA4Ba,qBAAqB,CAAA;AAMhC,IAAA,WAAA,CAAoB,WAAoC,EAAA;QAApC,IAAA,CAAA,WAAW,GAAX,WAAW;AAL/B;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK;AAGvB,QAAA,IAAI,CAAC,WAAW,CAAC,kBAAkB,GAAG,UAAU;IAClD;iIARW,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qHAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAA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AwB,CAAA,EAAA,CAAA,CAAA;AAGf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YArBvB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAqBH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAvB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,wBAAwB;wBACxB,qBAAqB;wBACrB,sBAAsB;wBACtB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,wBAAwB;wBACxB,qBAAqB;wBACrB,sBAAsB;wBACtB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,wBAAwB;AACzB,qBAAA;AACF,iBAAA;;;AC5BD;;AAEG;AACI,MAAM,oBAAoB,GAAW;IAC1C,iBAAiB;IACjB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;AAG1B;;AAEG;AACI,MAAM,4BAA4B,GAAW;IAClD,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;AAG1B;;AAEG;AACI,MAAM,wBAAwB,GAAW;IAC9C,iBAAiB;IACjB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;;AC9C1B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"daffodil-design-card.mjs","sources":["../../../libs/design/card/src/card-base.directive.ts","../../../libs/design/card/src/card/basic/basic.component.ts","../../../libs/design/card/src/card-base.component.html","../../../libs/design/card/src/card/stroked/stroked.component.ts","../../../libs/design/card/src/card-actions/card-actions.directive.ts","../../../libs/design/card/src/card-content/card-content.directive.ts","../../../libs/design/card/src/card-icon/card-icon.directive.ts","../../../libs/design/card/src/card-image/card-image.directive.ts","../../../libs/design/card/src/card-tagline/card-tagline.directive.ts","../../../libs/design/card/src/card-title/card-title.directive.ts","../../../libs/design/card/src/card.module.ts","../../../libs/design/card/src/card.ts","../../../libs/design/card/src/daffodil-design-card.ts"],"sourcesContent":["import {\n Input,\n Directive,\n} from '@angular/core';\n\nimport {\n DaffArticleEncapsulatedDirective,\n DaffColorableDirective,\n DaffOrientableDirective,\n} from '@daffodil/design';\n\n@Directive({\n selector: '[daffCardBase]',\n hostDirectives: [\n { directive: DaffArticleEncapsulatedDirective },\n {\n directive: DaffColorableDirective,\n inputs: ['color'],\n },\n {\n directive: DaffOrientableDirective,\n inputs: ['orientation'],\n },\n ],\n host: {\n '[class.elevated]': 'elevated',\n },\n})\nexport class DaffCardBaseDirective {\n /**\n * Whether or not a card displays a shadow.\n */\n @Input() elevated = false;\n\n constructor(private orientation: DaffOrientableDirective) {\n this.orientation.defaultOrientation = 'vertical';\n }\n}\n","/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { DaffCardBaseDirective } from '../../card-base.directive';\n\n/**\n * A basic card variant with a filled background.\n *\n * @example\n * ```html\n * <daff-card>\n * \t<img daffCardImage src=\"/\" alt=\"image caption\" >\n * <div daffCardIcon></div>\n * <div daffCardTagline>Card tagline</div>\n * <h4 daffCardTitle>Card title</h4>\n * \t<div daffCardContent>Detailed information about the subject of the card.</div>\n * <div daffCardActions>\n * <button>Card link</button>\n * <button>Another card link</button>\n * </div>\n * </daff-card>\n * ```\n */\n@Component({\n selector:\n 'daff-card' + ',' +\n 'a[daff-card]',\n templateUrl: '../../card-base.component.html',\n styleUrls: ['./basic.component.scss'],\n host: {\n 'class': 'daff-card',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffCardComponent extends DaffCardBaseDirective {}\n","<ng-content select=\"[daffCardImage]\"></ng-content>\n<div class=\"daff-card__wrapper\">\n\t<div class=\"daff-card__body\">\n\t\t<ng-content select=\"[daffCardIcon]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTagline]\"></ng-content>\n\t\t<ng-content select=\"[daffCardTitle]\"></ng-content>\n\t\t<ng-content select=\"[daffCardContent]\"></ng-content>\n\t</div>\n\t<ng-content select=\"[daffCardActions]\"></ng-content>\n</div>","/* eslint-disable quote-props */\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { DaffCardBaseDirective } from '../../card-base.directive';\n\n/**\n * A card variant with a stroked (outlined) border instead of a filled background.\n *\n * @example\n * ```html\n * <daff-card>\n * \t<img daffCardImage src=\"/\" alt=\"image caption\" >\n * <div daffCardIcon></div>\n * <div daffCardTagline>Card tagline</div>\n * <h4 daffCardTitle>Card title</h4>\n * \t<div daffCardContent>Detailed information about the subject of the card.</div>\n * <div daffCardActions>\n * <button>Card link</button>\n * <button>Another card link</button>\n * </div>\n * </daff-card>\n * ```\n */\n@Component({\n selector:\n 'daff-stroked-card' + ',' +\n 'a[daff-stroked-card]',\n templateUrl: '../../card-base.component.html',\n styleUrls: ['./stroked.component.scss'],\n host: {\n 'class': 'daff-stroked-card',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\n\nexport class DaffStrokedCardComponent extends DaffCardBaseDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A container for buttons or calls-to-action, always positioned to the bottom of the card.\n *\n * @example\n * ```html\n * <div daffCardActions></div>\n * ```\n */\n@Directive({\n selector: '[daffCardActions]',\n host: {\n 'class': 'daff-card__actions',\n },\n})\nexport class DaffCardActionsDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * A flexible wrapper for text, components, or custom layouts.\n * It's unstyled except for spacing and should only be used once per card.\n *\n * @example\n * ```html\n * <div daffCardContent></div>\n * ```\n */\n@Directive({\n selector: '[daffCardContent]',\n host: {\n 'class': 'daff-card__content',\n },\n})\nexport class DaffCardContentDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Displays a visual or branding element. Avoid using this for interactive or actionable icons.\n *\n * @example\n * ```html\n * <div daffCardIcon></div>\n * ```\n */\n@Directive({\n selector: '[daffCardIcon]',\n host: {\n 'class': 'daff-card__icon',\n },\n})\nexport class DaffCardIconDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Displays an image.\n *\n * @example\n * ```html\n * <div daffCardImage></div>\n * ```\n */\n@Directive({\n selector: '[daffCardImage]',\n host: {\n 'class': 'daff-card__image',\n },\n})\nexport class DaffCardImageDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * Short, memorable phrase that complements the title and provides quick context.\n *\n * @example\n * ```html\n * <div daffCardTagline></div>\n * ```\n */\n@Directive({\n selector: '[daffCardTagline]',\n host: {\n 'class': 'daff-card__tagline',\n },\n})\nexport class DaffCardTaglineDirective {}\n","/* eslint-disable quote-props */\nimport { Directive } from '@angular/core';\n\n/**\n * The primary heading of the card.\n *\n * @example\n * ```html\n * <div daffCardTitle></div>\n * ```\n */\n@Directive({\n selector: '[daffCardTitle]',\n host: {\n 'class': 'daff-card__title',\n },\n})\nexport class DaffCardTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCardComponent } from './card/basic/basic.component';\nimport { DaffStrokedCardComponent } from './card/stroked/stroked.component';\nimport { DaffCardActionsDirective } from './card-actions/card-actions.directive';\nimport { DaffCardContentDirective } from './card-content/card-content.directive';\nimport { DaffCardIconDirective } from './card-icon/card-icon.directive';\nimport { DaffCardImageDirective } from './card-image/card-image.directive';\nimport { DaffCardTaglineDirective } from './card-tagline/card-tagline.directive';\nimport { DaffCardTitleDirective } from './card-title/card-title.directive';\n\n/**\n * @deprecated in favor of {@link DAFF_CARD_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n ],\n exports: [\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n ],\n})\nexport class DaffCardModule { }\n","import { DaffCardComponent } from './card/basic/basic.component';\nimport { DaffStrokedCardComponent } from './card/stroked/stroked.component';\nimport { DaffCardActionsDirective } from './card-actions/card-actions.directive';\nimport { DaffCardContentDirective } from './card-content/card-content.directive';\nimport { DaffCardIconDirective } from './card-icon/card-icon.directive';\nimport { DaffCardImageDirective } from './card-image/card-image.directive';\nimport { DaffCardTaglineDirective } from './card-tagline/card-tagline.directive';\nimport { DaffCardTitleDirective } from './card-title/card-title.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_CARD_COMPONENTS = <const> [\n DaffCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n\n/**\n * @docs-private\n */\nexport const DAFF_STROKED_CARD_COMPONENTS = <const> [\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n\n/**\n * @docs-private\n */\nexport const DAFF_ALL_CARD_COMPONENTS = <const> [\n DaffCardComponent,\n DaffStrokedCardComponent,\n DaffCardIconDirective,\n DaffCardImageDirective,\n DaffCardTaglineDirective,\n DaffCardTitleDirective,\n DaffCardContentDirective,\n DaffCardActionsDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MA4Ba,qBAAqB,CAAA;AAMhC,IAAA,WAAA,CAAoB,WAAoC,EAAA;QAApC,IAAA,CAAA,WAAW,GAAX,WAAW;AAL/B;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK;AAGvB,QAAA,IAAI,CAAC,WAAW,CAAC,kBAAkB,GAAG,UAAU;IAClD;kIARW,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sHAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gCAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,OAAA,CAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAjBjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,cAAc,EAAE;wBACd,EAAE,SAAS,EAAE,gCAAgC,E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zB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,wBAAwB;wBACxB,qBAAqB;wBACrB,sBAAsB;wBACtB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,wBAAwB;AACzB,qBAAA;AACF,iBAAA;;;AC5BD;;AAEG;AACI,MAAM,oBAAoB,GAAW;IAC1C,iBAAiB;IACjB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;AAG1B;;AAEG;AACI,MAAM,4BAA4B,GAAW;IAClD,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;AAG1B;;AAEG;AACI,MAAM,wBAAwB,GAAW;IAC9C,iBAAiB;IACjB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;;;AC9C1B;;AAEG;;;;"}
|
|
@@ -105,10 +105,10 @@ class DaffCheckboxComponent {
|
|
|
105
105
|
this.checked = false;
|
|
106
106
|
this._cdRef.markForCheck();
|
|
107
107
|
}
|
|
108
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
109
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
108
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: DaffCheckboxComponent, isStandalone: true, selector: "daff-checkbox", inputs: { name: "name", value: "value", checked: "checked", id: "id", label: ["aria-label", "label"], labeledBy: ["aria-labelledby", "labeledBy"] }, outputs: { becameChecked: "becameChecked", becameUnchecked: "becameUnchecked" }, host: { properties: { "attr.role": "this.role", "class.focused": "this.focusClass", "class.disabled": "this.disabledClass" } }, viewQueries: [{ propertyName: "nativeCheckbox", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
110
110
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxComponent, decorators: [{
|
|
112
112
|
type: Component,
|
|
113
113
|
args: [{ selector: 'daff-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>" }]
|
|
114
114
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { nativeCheckbox: [{
|
|
@@ -157,10 +157,10 @@ class DaffCheckboxSetComponent {
|
|
|
157
157
|
const checkboxes = this.checkboxes.toArray();
|
|
158
158
|
return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);
|
|
159
159
|
}
|
|
160
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
161
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
160
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
161
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: DaffCheckboxSetComponent, isStandalone: true, selector: "daff-checkbox-set", inputs: { formArray: "formArray", name: "name" }, outputs: { valueList: "valueList" }, host: { properties: { "attr.role": "this.role" } }, queries: [{ propertyName: "checkboxes", predicate: DaffCheckboxComponent }], ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
162
162
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxSetComponent, decorators: [{
|
|
164
164
|
type: Component,
|
|
165
165
|
args: [{ selector: 'daff-checkbox-set', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>" }]
|
|
166
166
|
}], propDecorators: { formArray: [{
|
|
@@ -249,10 +249,10 @@ class DaffCheckboxControlValueAccessorDirective {
|
|
|
249
249
|
fireDeselect() {
|
|
250
250
|
this._checkbox.deselect();
|
|
251
251
|
}
|
|
252
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
253
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
252
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: DaffCheckboxComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
253
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffCheckboxControlValueAccessorDirective, isStandalone: true, selector: "daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]", inputs: { value: "value", name: "name" }, ngImport: i0 }); }
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxControlValueAccessorDirective, decorators: [{
|
|
256
256
|
type: Directive,
|
|
257
257
|
args: [{
|
|
258
258
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -269,18 +269,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
269
269
|
}] } });
|
|
270
270
|
|
|
271
271
|
class DaffCheckboxModule {
|
|
272
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
273
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
272
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
273
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxModule, imports: [CommonModule,
|
|
274
274
|
DaffCheckboxComponent,
|
|
275
275
|
DaffCheckboxSetComponent,
|
|
276
276
|
DaffCheckboxControlValueAccessorDirective], exports: [DaffCheckboxComponent,
|
|
277
277
|
DaffCheckboxSetComponent,
|
|
278
278
|
DaffCheckboxControlValueAccessorDirective] }); }
|
|
279
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
279
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxModule, providers: [
|
|
280
280
|
DaffCheckboxSetComponent,
|
|
281
281
|
], imports: [CommonModule] }); }
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffCheckboxModule, decorators: [{
|
|
284
284
|
type: NgModule,
|
|
285
285
|
args: [{
|
|
286
286
|
exports: [
|