@daffodil/design 0.59.0 → 0.59.1
Sign up to get free protection for your applications and to get access to all the features.
- package/accordion/examples/package.json +1 -10
- package/article/examples/package.json +1 -10
- package/atoms/image/image.component.d.ts +24 -4
- package/button/examples/package.json +1 -10
- package/callout/examples/package.json +1 -10
- package/card/examples/package.json +1 -10
- package/checkbox/examples/package.json +1 -10
- package/container/examples/package.json +1 -10
- package/core/skeletonable/public_api.d.ts +2 -0
- package/core/skeletonable/skeletonable-mixin.d.ts +15 -0
- package/esm2020/atoms/image/image.component.mjs +23 -9
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +1 -1
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +1 -1
- package/esm2020/card/examples/linkable-card/linkable-card.component.mjs +1 -1
- package/esm2020/card/examples/raised-card/raised-card.component.mjs +1 -1
- package/esm2020/card/examples/stroked-card/stroked-card.component.mjs +1 -1
- package/esm2020/core/skeletonable/public_api.mjs +2 -0
- package/esm2020/core/skeletonable/skeletonable-mixin.mjs +26 -0
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +1 -1
- package/esm2020/image/examples/load-image/load-image.component.mjs +1 -1
- package/esm2020/image/examples/public_api.mjs +4 -1
- package/esm2020/image/examples/skeleton-image/skeleton-image.component.mjs +12 -0
- package/esm2020/image/examples/skeleton-image/skeleton-image.module.mjs +26 -0
- package/esm2020/input/examples/basic-input/basic-input.component.mjs +12 -0
- package/esm2020/input/examples/basic-input/basic-input.module.mjs +26 -0
- package/esm2020/input/examples/daffodil-design-input-examples.mjs +5 -0
- package/esm2020/input/examples/examples.mjs +15 -0
- package/esm2020/input/examples/index.mjs +2 -0
- package/esm2020/input/examples/input-disabled/input-disabled.component.mjs +12 -0
- package/esm2020/input/examples/input-disabled/input-disabled.module.mjs +26 -0
- package/esm2020/input/examples/input-error/input-error.component.mjs +20 -0
- package/esm2020/input/examples/input-error/input-error.module.mjs +30 -0
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.component.mjs +12 -0
- package/esm2020/input/examples/input-with-form-field/input-with-form-field.module.mjs +26 -0
- package/esm2020/input/examples/public_api.mjs +2 -0
- package/esm2020/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.mjs +1 -1
- package/esm2020/media-gallery/examples/examples.mjs +3 -1
- package/esm2020/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.mjs +1 -1
- package/esm2020/media-gallery/examples/public_api.mjs +3 -1
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.mjs +12 -0
- package/esm2020/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.mjs +30 -0
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +6 -5
- package/fesm2015/daffodil-design-card-examples.mjs +5 -5
- package/fesm2015/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-image-examples.mjs +34 -2
- package/fesm2015/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-input-examples.mjs +153 -0
- package/fesm2015/daffodil-design-input-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-media-gallery-examples.mjs +39 -3
- package/fesm2015/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design.mjs +50 -11
- package/fesm2015/daffodil-design.mjs.map +1 -1
- package/fesm2020/daffodil-design-card-examples.mjs +5 -5
- package/fesm2020/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-image-examples.mjs +34 -2
- package/fesm2020/daffodil-design-image-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-input-examples.mjs +153 -0
- package/fesm2020/daffodil-design-input-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-media-gallery-examples.mjs +39 -3
- package/fesm2020/daffodil-design-media-gallery-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design.mjs +50 -11
- package/fesm2020/daffodil-design.mjs.map +1 -1
- package/hero/examples/package.json +1 -10
- package/image/examples/package.json +1 -10
- package/image/examples/skeleton-image/skeleton-image.component.d.ts +5 -0
- package/image/examples/skeleton-image/skeleton-image.module.d.ts +8 -0
- package/input/examples/basic-input/basic-input.component.d.ts +5 -0
- package/input/examples/basic-input/basic-input.module.d.ts +8 -0
- package/input/examples/daffodil-design-input-examples.d.ts +5 -0
- package/input/examples/examples.d.ts +2 -0
- package/input/examples/index.d.ts +1 -0
- package/input/examples/input-disabled/input-disabled.component.d.ts +5 -0
- package/input/examples/input-disabled/input-disabled.module.d.ts +8 -0
- package/input/examples/input-error/input-error.component.d.ts +7 -0
- package/input/examples/input-error/input-error.module.d.ts +9 -0
- package/input/examples/input-with-form-field/input-with-form-field.component.d.ts +5 -0
- package/input/examples/input-with-form-field/input-with-form-field.module.d.ts +8 -0
- package/input/examples/package.json +1 -0
- package/input/examples/public_api.d.ts +1 -0
- package/list/examples/package.json +1 -10
- package/loading-icon/examples/package.json +1 -10
- package/media-gallery/examples/package.json +1 -10
- package/media-gallery/examples/public_api.d.ts +2 -0
- package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.component.d.ts +5 -0
- package/media-gallery/examples/skeleton-media-gallery/skeleton-media-gallery.module.d.ts +8 -0
- package/menu/examples/package.json +1 -10
- package/modal/examples/package.json +1 -10
- package/molecules/media-gallery/media-gallery.component.d.ts +10 -2
- package/navbar/examples/package.json +1 -10
- package/package.json +1 -230
- package/paginator/examples/package.json +1 -10
- package/quantity-field/examples/package.json +1 -10
- package/radio/examples/package.json +1 -10
- package/scss/state/_index.scss +1 -0
- package/scss/state/skeleton/_mixins.scss +41 -0
- package/scss/theme.scss +4 -0
- package/scss/utilities.scss +1 -0
- package/src/atoms/form/input/README.md +20 -7
- package/src/molecules/media-gallery/media-gallery-theme.scss +8 -0
@@ -0,0 +1,153 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i1 from '@daffodil/design';
|
4
|
+
import { DaffFormFieldModule, DaffInputModule } from '@daffodil/design';
|
5
|
+
import * as i2 from '@angular/forms';
|
6
|
+
import { FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
|
7
|
+
|
8
|
+
class BasicInputComponent {
|
9
|
+
}
|
10
|
+
/** @nocollapse */ BasicInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
11
|
+
/** @nocollapse */ BasicInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicInputComponent, selector: "basic-input", ngImport: i0, template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />", components: [{ type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputComponent, decorators: [{
|
13
|
+
type: Component,
|
14
|
+
args: [{ selector: 'basic-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />" }]
|
15
|
+
}] });
|
16
|
+
|
17
|
+
class BasicInputModule {
|
18
|
+
}
|
19
|
+
/** @nocollapse */ BasicInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
20
|
+
/** @nocollapse */ BasicInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputModule, declarations: [BasicInputComponent], imports: [DaffFormFieldModule,
|
21
|
+
DaffInputModule] });
|
22
|
+
/** @nocollapse */ BasicInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputModule, imports: [[
|
23
|
+
DaffFormFieldModule,
|
24
|
+
DaffInputModule,
|
25
|
+
]] });
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputModule, decorators: [{
|
27
|
+
type: NgModule,
|
28
|
+
args: [{
|
29
|
+
imports: [
|
30
|
+
DaffFormFieldModule,
|
31
|
+
DaffInputModule,
|
32
|
+
],
|
33
|
+
declarations: [
|
34
|
+
BasicInputComponent,
|
35
|
+
],
|
36
|
+
}]
|
37
|
+
}] });
|
38
|
+
|
39
|
+
class InputDisabledComponent {
|
40
|
+
}
|
41
|
+
/** @nocollapse */ InputDisabledComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
42
|
+
/** @nocollapse */ InputDisabledComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: InputDisabledComponent, selector: "input-disabled", ngImport: i0, template: "<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>", components: [{ type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledComponent, decorators: [{
|
44
|
+
type: Component,
|
45
|
+
args: [{ selector: 'input-disabled', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>" }]
|
46
|
+
}] });
|
47
|
+
|
48
|
+
class InputDisabledModule {
|
49
|
+
}
|
50
|
+
/** @nocollapse */ InputDisabledModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
51
|
+
/** @nocollapse */ InputDisabledModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledModule, declarations: [InputDisabledComponent], imports: [DaffFormFieldModule,
|
52
|
+
DaffInputModule] });
|
53
|
+
/** @nocollapse */ InputDisabledModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledModule, imports: [[
|
54
|
+
DaffFormFieldModule,
|
55
|
+
DaffInputModule,
|
56
|
+
]] });
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputDisabledModule, decorators: [{
|
58
|
+
type: NgModule,
|
59
|
+
args: [{
|
60
|
+
imports: [
|
61
|
+
DaffFormFieldModule,
|
62
|
+
DaffInputModule,
|
63
|
+
],
|
64
|
+
declarations: [
|
65
|
+
InputDisabledComponent,
|
66
|
+
],
|
67
|
+
}]
|
68
|
+
}] });
|
69
|
+
|
70
|
+
class InputErrorComponent {
|
71
|
+
constructor() {
|
72
|
+
this.control = new FormControl('test@example.com', [
|
73
|
+
Validators.email,
|
74
|
+
Validators.required,
|
75
|
+
]);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
/** @nocollapse */ InputErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
79
|
+
/** @nocollapse */ InputErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: InputErrorComponent, selector: "input-error", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" [formControl]=\"control\" />\n</daff-form-field>\n<p>Value: {{ control.value }} </p>", components: [{ type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], directives: [{ 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]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorComponent, decorators: [{
|
81
|
+
type: Component,
|
82
|
+
args: [{ selector: 'input-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" [formControl]=\"control\" />\n</daff-form-field>\n<p>Value: {{ control.value }} </p>" }]
|
83
|
+
}] });
|
84
|
+
|
85
|
+
class InputErrorModule {
|
86
|
+
}
|
87
|
+
/** @nocollapse */ InputErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
88
|
+
/** @nocollapse */ InputErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorModule, declarations: [InputErrorComponent], imports: [DaffFormFieldModule,
|
89
|
+
DaffInputModule,
|
90
|
+
ReactiveFormsModule] });
|
91
|
+
/** @nocollapse */ InputErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorModule, imports: [[
|
92
|
+
DaffFormFieldModule,
|
93
|
+
DaffInputModule,
|
94
|
+
ReactiveFormsModule,
|
95
|
+
]] });
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputErrorModule, decorators: [{
|
97
|
+
type: NgModule,
|
98
|
+
args: [{
|
99
|
+
imports: [
|
100
|
+
DaffFormFieldModule,
|
101
|
+
DaffInputModule,
|
102
|
+
ReactiveFormsModule,
|
103
|
+
],
|
104
|
+
declarations: [
|
105
|
+
InputErrorComponent,
|
106
|
+
],
|
107
|
+
}]
|
108
|
+
}] });
|
109
|
+
|
110
|
+
class InputWithFormFieldComponent {
|
111
|
+
}
|
112
|
+
/** @nocollapse */ InputWithFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
113
|
+
/** @nocollapse */ InputWithFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: InputWithFormFieldComponent, selector: "input-with-form-field", ngImport: i0, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n", components: [{ type: i1.DaffFormFieldComponent, selector: "daff-form-field", inputs: ["formSubmitted"] }, { type: i1.DaffInputComponent, selector: "input[daff-input]", inputs: ["formSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldComponent, decorators: [{
|
115
|
+
type: Component,
|
116
|
+
args: [{ selector: 'input-with-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n" }]
|
117
|
+
}] });
|
118
|
+
|
119
|
+
class InputWithFormFieldModule {
|
120
|
+
}
|
121
|
+
/** @nocollapse */ InputWithFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
122
|
+
/** @nocollapse */ InputWithFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldModule, declarations: [InputWithFormFieldComponent], imports: [DaffFormFieldModule,
|
123
|
+
DaffInputModule] });
|
124
|
+
/** @nocollapse */ InputWithFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldModule, imports: [[
|
125
|
+
DaffFormFieldModule,
|
126
|
+
DaffInputModule,
|
127
|
+
]] });
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: InputWithFormFieldModule, decorators: [{
|
129
|
+
type: NgModule,
|
130
|
+
args: [{
|
131
|
+
imports: [
|
132
|
+
DaffFormFieldModule,
|
133
|
+
DaffInputModule,
|
134
|
+
],
|
135
|
+
declarations: [
|
136
|
+
InputWithFormFieldComponent,
|
137
|
+
],
|
138
|
+
}]
|
139
|
+
}] });
|
140
|
+
|
141
|
+
const INPUT_EXAMPLES = [
|
142
|
+
{ component: BasicInputComponent, module: BasicInputModule },
|
143
|
+
{ component: InputWithFormFieldComponent, module: InputWithFormFieldModule },
|
144
|
+
{ component: InputDisabledComponent, module: InputDisabledModule },
|
145
|
+
{ component: InputErrorComponent, module: InputErrorModule },
|
146
|
+
];
|
147
|
+
|
148
|
+
/**
|
149
|
+
* Generated bundle index. Do not edit.
|
150
|
+
*/
|
151
|
+
|
152
|
+
export { INPUT_EXAMPLES };
|
153
|
+
//# sourceMappingURL=daffodil-design-input-examples.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"daffodil-design-input-examples.mjs","sources":["../../../libs/design/input/examples/src/basic-input/basic-input.component.ts","../../../libs/design/input/examples/src/basic-input/basic-input.component.html","../../../libs/design/input/examples/src/basic-input/basic-input.module.ts","../../../libs/design/input/examples/src/input-disabled/input-disabled.component.ts","../../../libs/design/input/examples/src/input-disabled/input-disabled.component.html","../../../libs/design/input/examples/src/input-disabled/input-disabled.module.ts","../../../libs/design/input/examples/src/input-error/input-error.component.ts","../../../libs/design/input/examples/src/input-error/input-error.component.html","../../../libs/design/input/examples/src/input-error/input-error.module.ts","../../../libs/design/input/examples/src/input-with-form-field/input-with-form-field.component.ts","../../../libs/design/input/examples/src/input-with-form-field/input-with-form-field.component.html","../../../libs/design/input/examples/src/input-with-form-field/input-with-form-field.module.ts","../../../libs/design/input/examples/src/examples.ts","../../../libs/design/input/examples/src/daffodil-design-input-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-input',\n templateUrl: './basic-input.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicInputComponent {\n\n}\n","<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />","import { NgModule } from '@angular/core';\n\nimport {\n DaffFormFieldModule,\n DaffInputModule,\n} from '@daffodil/design';\n\nimport { BasicInputComponent } from './basic-input.component';\n\n@NgModule({\n imports: [\n DaffFormFieldModule,\n DaffInputModule,\n ],\n declarations: [\n BasicInputComponent,\n ],\n})\nexport class BasicInputModule {\n\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'input-disabled',\n templateUrl: './input-disabled.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputDisabledComponent {\n\n}\n","<daff-form-field>\n <input disabled daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>","import { NgModule } from '@angular/core';\n\nimport {\n DaffFormFieldModule,\n DaffInputModule,\n} from '@daffodil/design';\n\nimport { InputDisabledComponent } from './input-disabled.component';\n\n@NgModule({\n imports: [\n DaffFormFieldModule,\n DaffInputModule,\n ],\n declarations: [\n InputDisabledComponent,\n ],\n})\nexport class InputDisabledModule {\n\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport {\n FormControl,\n Validators,\n} from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'input-error',\n templateUrl: './input-error.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputErrorComponent {\n control: FormControl = new FormControl('test@example.com', [\n Validators.email,\n Validators.required,\n ]);\n}\n","<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" [formControl]=\"control\" />\n</daff-form-field>\n<p>Value: {{ control.value }} </p>","import { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffFormFieldModule,\n DaffInputModule,\n} from '@daffodil/design';\n\nimport { InputErrorComponent } from './input-error.component';\n\n@NgModule({\n imports: [\n DaffFormFieldModule,\n DaffInputModule,\n ReactiveFormsModule,\n ],\n declarations: [\n InputErrorComponent,\n ],\n})\nexport class InputErrorModule {\n\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'input-with-form-field',\n templateUrl: './input-with-form-field.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputWithFormFieldComponent {\n\n}\n","<daff-form-field>\n <input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />\n</daff-form-field>\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffFormFieldModule,\n DaffInputModule,\n} from '@daffodil/design';\n\nimport { InputWithFormFieldComponent } from './input-with-form-field.component';\n\n@NgModule({\n imports: [\n DaffFormFieldModule,\n DaffInputModule,\n ],\n declarations: [\n InputWithFormFieldComponent,\n ],\n})\nexport class InputWithFormFieldModule {\n\n}\n","import { ComponentExampleWithModule } from '@daffodil/design';\n\nimport { BasicInputComponent } from './basic-input/basic-input.component';\nimport { BasicInputModule } from './basic-input/basic-input.module';\nimport { InputDisabledComponent } from './input-disabled/input-disabled.component';\nimport { InputDisabledModule } from './input-disabled/input-disabled.module';\nimport { InputErrorComponent } from './input-error/input-error.component';\nimport { InputErrorModule } from './input-error/input-error.module';\nimport { InputWithFormFieldComponent } from './input-with-form-field/input-with-form-field.component';\nimport { InputWithFormFieldModule } from './input-with-form-field/input-with-form-field.module';\n\nexport const INPUT_EXAMPLES: ComponentExampleWithModule[] = [\n { component: BasicInputComponent, module: BasicInputModule },\n { component: InputWithFormFieldComponent, module: InputWithFormFieldModule },\n { component: InputDisabledComponent, module: InputDisabledModule },\n { component: InputErrorComponent, module: InputErrorModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAWa,mBAAmB,CAAA;;mIAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,mDCXhC,yEAAiE,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDWpD,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yEAAA,EAAA,CAAA;;;MESpC,gBAAgB,CAAA;;gIAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EA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CAAA;;wIAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yIAAxB,wBAAwB,EAAA,YAAA,EAAA,CAHjC,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAJ3B,mBAAmB;QACnB,eAAe,CAAA,EAAA,CAAA,CAAA;AAMN,mBAAA,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAR1B,OAAA,EAAA,CAAA;YACP,mBAAmB;YACnB,eAAe;SAChB,CAAA,EAAA,CAAA,CAAA;2FAKU,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,eAAe;AAChB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,2BAA2B;AAC5B,qBAAA;iBACF,CAAA;;;ACNY,MAAA,cAAc,GAAiC;AAC1D,IAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;AAC5D,IAAA,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,EAAE,wBAAwB,EAAE;AAC5E,IAAA,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,EAAE,mBAAmB,EAAE;AAClE,IAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;;;ACf9D;;AAEG;;;;"}
|
@@ -6,7 +6,7 @@ import { DaffImageModule, DaffMediaGalleryModule } from '@daffodil/design';
|
|
6
6
|
class BasicMediaGalleryComponent {
|
7
7
|
}
|
8
8
|
/** @nocollapse */ BasicMediaGalleryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicMediaGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9
|
-
/** @nocollapse */ BasicMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicMediaGalleryComponent, selector: "basic-media-gallery", ngImport: i0, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n", components: [{ type: i1.DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: ["name"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: ["becameSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
9
|
+
/** @nocollapse */ BasicMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicMediaGalleryComponent, selector: "basic-media-gallery", ngImport: i0, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n", components: [{ type: i1.DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: ["skeleton", "name"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: ["becameSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicMediaGalleryComponent, decorators: [{
|
11
11
|
type: Component,
|
12
12
|
args: [{ selector: 'basic-media-gallery', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n" }]
|
@@ -15,15 +15,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
15
15
|
class MismatchedSizesMediaGalleryComponent {
|
16
16
|
}
|
17
17
|
/** @nocollapse */ MismatchedSizesMediaGalleryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: MismatchedSizesMediaGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
18
|
-
/** @nocollapse */ MismatchedSizesMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: MismatchedSizesMediaGalleryComponent, selector: "mismatched-sizes-media-gallery", ngImport: i0, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1551410224-699683e15636?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Drink\" width=\"640\" height=\"799\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1586788224331-947f68671cf1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=934&q=80\" alt=\"Fruits\" width=\"640\" height=\"960\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Cherries\" width=\"640\" height=\"800\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1606926167690-07a1edafd407?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=2250&q=80\" alt=\"Lemons\" width=\"640\" height=\"426\"></daff-image>\n</daff-media-gallery>\n", components: [{ type: i1.DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: ["name"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: ["becameSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
18
|
+
/** @nocollapse */ MismatchedSizesMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: MismatchedSizesMediaGalleryComponent, selector: "mismatched-sizes-media-gallery", ngImport: i0, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1551410224-699683e15636?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Drink\" width=\"640\" height=\"799\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1586788224331-947f68671cf1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=934&q=80\" alt=\"Fruits\" width=\"640\" height=\"960\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Cherries\" width=\"640\" height=\"800\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1606926167690-07a1edafd407?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=2250&q=80\" alt=\"Lemons\" width=\"640\" height=\"426\"></daff-image>\n</daff-media-gallery>\n", components: [{ type: i1.DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: ["skeleton", "name"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: ["becameSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
19
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: MismatchedSizesMediaGalleryComponent, decorators: [{
|
20
20
|
type: Component,
|
21
21
|
args: [{ selector: 'mismatched-sizes-media-gallery', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1551410224-699683e15636?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Drink\" width=\"640\" height=\"799\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1586788224331-947f68671cf1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=934&q=80\" alt=\"Fruits\" width=\"640\" height=\"960\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Cherries\" width=\"640\" height=\"800\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1606926167690-07a1edafd407?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=2250&q=80\" alt=\"Lemons\" width=\"640\" height=\"426\"></daff-image>\n</daff-media-gallery>\n" }]
|
22
22
|
}] });
|
23
23
|
|
24
|
+
class SkeletonMediaGalleryComponent {
|
25
|
+
}
|
26
|
+
/** @nocollapse */ SkeletonMediaGalleryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
27
|
+
/** @nocollapse */ SkeletonMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SkeletonMediaGalleryComponent, selector: "skeleton-media-gallery", ngImport: i0, template: "<daff-media-gallery [skeleton]=\"true\">\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n", components: [{ type: i1.DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: ["skeleton", "name"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffThumbnailDirective, selector: "[daffThumbnail]", outputs: ["becameSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryComponent, decorators: [{
|
29
|
+
type: Component,
|
30
|
+
args: [{ selector: 'skeleton-media-gallery', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-media-gallery [skeleton]=\"true\">\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n" }]
|
31
|
+
}] });
|
32
|
+
|
24
33
|
const MEDIA_GALLERY_EXAMPLES = [
|
25
34
|
BasicMediaGalleryComponent,
|
26
35
|
MismatchedSizesMediaGalleryComponent,
|
36
|
+
SkeletonMediaGalleryComponent,
|
27
37
|
];
|
28
38
|
|
29
39
|
class BasicMediaGalleryModule {
|
@@ -78,9 +88,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
78
88
|
}]
|
79
89
|
}] });
|
80
90
|
|
91
|
+
class SkeletonMediaGalleryModule {
|
92
|
+
}
|
93
|
+
/** @nocollapse */ SkeletonMediaGalleryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
94
|
+
/** @nocollapse */ SkeletonMediaGalleryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryModule, declarations: [SkeletonMediaGalleryComponent], imports: [DaffImageModule,
|
95
|
+
DaffMediaGalleryModule], exports: [SkeletonMediaGalleryComponent] });
|
96
|
+
/** @nocollapse */ SkeletonMediaGalleryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryModule, providers: [], imports: [[
|
97
|
+
DaffImageModule,
|
98
|
+
DaffMediaGalleryModule,
|
99
|
+
]] });
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonMediaGalleryModule, decorators: [{
|
101
|
+
type: NgModule,
|
102
|
+
args: [{
|
103
|
+
declarations: [
|
104
|
+
SkeletonMediaGalleryComponent,
|
105
|
+
],
|
106
|
+
exports: [
|
107
|
+
SkeletonMediaGalleryComponent,
|
108
|
+
],
|
109
|
+
imports: [
|
110
|
+
DaffImageModule,
|
111
|
+
DaffMediaGalleryModule,
|
112
|
+
],
|
113
|
+
providers: [],
|
114
|
+
}]
|
115
|
+
}] });
|
116
|
+
|
81
117
|
/**
|
82
118
|
* Generated bundle index. Do not edit.
|
83
119
|
*/
|
84
120
|
|
85
|
-
export { BasicMediaGalleryComponent, BasicMediaGalleryModule, MEDIA_GALLERY_EXAMPLES, MismatchedSizesMediaGalleryComponent, MismatchedSizesMediaGalleryModule };
|
121
|
+
export { BasicMediaGalleryComponent, BasicMediaGalleryModule, MEDIA_GALLERY_EXAMPLES, MismatchedSizesMediaGalleryComponent, MismatchedSizesMediaGalleryModule, SkeletonMediaGalleryComponent, SkeletonMediaGalleryModule };
|
86
122
|
//# sourceMappingURL=daffodil-design-media-gallery-examples.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-media-gallery-examples.mjs","sources":["../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.component.ts","../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.component.html","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.ts","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.html","../../../libs/design/media-gallery/examples/src/examples.ts","../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.module.ts","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.ts","../../../libs/design/media-gallery/examples/src/daffodil-design-media-gallery-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-media-gallery',\n templateUrl: './basic-media-gallery.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicMediaGalleryComponent {\n\n\n}\n","<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'mismatched-sizes-media-gallery',\n templateUrl: './mismatched-sizes-media-gallery.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MismatchedSizesMediaGalleryComponent {}\n","<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1551410224-699683e15636?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Drink\" width=\"640\" height=\"799\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1586788224331-947f68671cf1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=934&q=80\" alt=\"Fruits\" width=\"640\" height=\"960\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Cherries\" width=\"640\" height=\"800\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1606926167690-07a1edafd407?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=2250&q=80\" alt=\"Lemons\" width=\"640\" height=\"426\"></daff-image>\n</daff-media-gallery>\n","import { BasicMediaGalleryComponent } from './basic-media-gallery/basic-media-gallery.component';\nimport { MismatchedSizesMediaGalleryComponent } from './mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component';\n\nexport const MEDIA_GALLERY_EXAMPLES = [\n BasicMediaGalleryComponent,\n MismatchedSizesMediaGalleryComponent,\n];\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffMediaGalleryModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { BasicMediaGalleryComponent } from './basic-media-gallery.component';\n\n@NgModule({\n declarations: [\n BasicMediaGalleryComponent,\n ],\n exports: [\n BasicMediaGalleryComponent,\n ],\n imports: [\n DaffImageModule,\n DaffMediaGalleryModule,\n ],\n providers: [],\n})\nexport class BasicMediaGalleryModule { }\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffMediaGalleryModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { MismatchedSizesMediaGalleryComponent } from './mismatched-sizes-media-gallery.component';\n\n@NgModule({\n declarations: [\n MismatchedSizesMediaGalleryComponent,\n ],\n exports: [\n MismatchedSizesMediaGalleryComponent,\n ],\n imports: [\n DaffImageModule,\n DaffMediaGalleryModule,\n ],\n providers: [],\n})\nexport class MismatchedSizesMediaGalleryModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,0BAA0B,CAAA;;0IAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,mBAAA,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,2DCXvC,wyCAOA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,sBAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,CAAA,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ACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oCAAoC;AACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,sBAAsB;AACvB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACrBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-design-media-gallery-examples.mjs","sources":["../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.component.ts","../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.component.html","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.ts","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.html","../../../libs/design/media-gallery/examples/src/skeleton-media-gallery/skeleton-media-gallery.component.ts","../../../libs/design/media-gallery/examples/src/skeleton-media-gallery/skeleton-media-gallery.component.html","../../../libs/design/media-gallery/examples/src/examples.ts","../../../libs/design/media-gallery/examples/src/basic-media-gallery/basic-media-gallery.module.ts","../../../libs/design/media-gallery/examples/src/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.module.ts","../../../libs/design/media-gallery/examples/src/skeleton-media-gallery/skeleton-media-gallery.module.ts","../../../libs/design/media-gallery/examples/src/daffodil-design-media-gallery-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-media-gallery',\n templateUrl: './basic-media-gallery.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicMediaGalleryComponent {\n\n\n}\n","<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'mismatched-sizes-media-gallery',\n templateUrl: './mismatched-sizes-media-gallery.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MismatchedSizesMediaGalleryComponent {}\n","<daff-media-gallery>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1551410224-699683e15636?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Drink\" width=\"640\" height=\"799\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1586788224331-947f68671cf1?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=934&q=80\" alt=\"Fruits\" width=\"640\" height=\"960\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1300&q=80\" alt=\"Cherries\" width=\"640\" height=\"800\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1606926167690-07a1edafd407?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=2250&q=80\" alt=\"Lemons\" width=\"640\" height=\"426\"></daff-image>\n</daff-media-gallery>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'skeleton-media-gallery',\n templateUrl: './skeleton-media-gallery.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkeletonMediaGalleryComponent {\n\n\n}\n","<daff-media-gallery [skeleton]=\"true\">\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1556804335-2fa563e93aae?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=3763&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1607344635159-59930e3330b1?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Drink\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1584559582213-787a2953dcbe?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Fruits\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1587324438673-56c78a866b15?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Lemons\" width=\"946\" height=\"946\"></daff-image>\n\t<daff-image daffThumbnail src=\"https://images.unsplash.com/photo-1543363136-7fbfcd3b240d?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80\" alt=\"Avocado\" width=\"946\" height=\"946\"></daff-image>\n</daff-media-gallery>\n","import { BasicMediaGalleryComponent } from './basic-media-gallery/basic-media-gallery.component';\nimport { MismatchedSizesMediaGalleryComponent } from './mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component';\nimport { SkeletonMediaGalleryComponent } from './skeleton-media-gallery/skeleton-media-gallery.component';\n\nexport const MEDIA_GALLERY_EXAMPLES = [\n BasicMediaGalleryComponent,\n MismatchedSizesMediaGalleryComponent,\n SkeletonMediaGalleryComponent,\n];\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffMediaGalleryModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { BasicMediaGalleryComponent } from './basic-media-gallery.component';\n\n@NgModule({\n declarations: [\n BasicMediaGalleryComponent,\n ],\n exports: [\n BasicMediaGalleryComponent,\n ],\n imports: [\n DaffImageModule,\n DaffMediaGalleryModule,\n ],\n providers: [],\n})\nexport class BasicMediaGalleryModule { }\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffMediaGalleryModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { MismatchedSizesMediaGalleryComponent } from './mismatched-sizes-media-gallery.component';\n\n@NgModule({\n declarations: [\n MismatchedSizesMediaGalleryComponent,\n ],\n exports: [\n MismatchedSizesMediaGalleryComponent,\n ],\n imports: [\n DaffImageModule,\n DaffMediaGalleryModule,\n ],\n providers: [],\n})\nexport class MismatchedSizesMediaGalleryModule { }\n","import { NgModule } from '@angular/core';\n\nimport {\n DaffMediaGalleryModule,\n DaffImageModule,\n} from '@daffodil/design';\n\nimport { SkeletonMediaGalleryComponent } from './skeleton-media-gallery.component';\n\n@NgModule({\n declarations: [\n SkeletonMediaGalleryComponent,\n ],\n exports: [\n SkeletonMediaGalleryComponent,\n ],\n imports: [\n DaffImageModule,\n DaffMediaGalleryModule,\n ],\n providers: [],\n})\nexport class SkeletonMediaGalleryModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,0BAA0B,CAAA;;0IAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1B,mBAAA,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,2DCXvC,wyCAOA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA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AAE;wBACZ,oCAAoC;AACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oCAAoC;AACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,sBAAsB;AACvB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;MCCY,0BAA0B,CAAA;;0IAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;2IAA1B,0BAA0B,EAAA,YAAA,EAAA,CAXnC,6BAA6B,CAAA,EAAA,OAAA,EAAA,CAM7B,eAAe;QACf,sBAAsB,aAJtB,6BAA6B,CAAA,EAAA,CAAA,CAAA;2IAQpB,0BAA0B,EAAA,SAAA,EAF1B,EAAE,EAJJ,OAAA,EAAA,CAAA;YACP,eAAe;YACf,sBAAsB;SACvB,CAAA,EAAA,CAAA,CAAA;2FAGU,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAbtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,6BAA6B;AAC9B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,6BAA6B;AAC9B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,sBAAsB;AACvB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACrBD;;AAEG;;;;"}
|
@@ -583,6 +583,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
583
583
|
}]
|
584
584
|
}] });
|
585
585
|
|
586
|
+
function daffSkeletonableMixin(Base, defaultSkeleton = false) {
|
587
|
+
return class extends Base {
|
588
|
+
constructor(...args) {
|
589
|
+
super(...args);
|
590
|
+
this.skeleton = defaultSkeleton;
|
591
|
+
}
|
592
|
+
get skeleton() {
|
593
|
+
return this._skeleton;
|
594
|
+
}
|
595
|
+
set skeleton(value) {
|
596
|
+
// Handles the default skeleton
|
597
|
+
const incomingSkeleton = value || defaultSkeleton;
|
598
|
+
if (incomingSkeleton === this._skeleton) { // Only run the dom-render if a change occurs
|
599
|
+
return;
|
600
|
+
}
|
601
|
+
if (incomingSkeleton) {
|
602
|
+
this._renderer.addClass(this._elementRef.nativeElement, `daff-skeleton`);
|
603
|
+
}
|
604
|
+
else {
|
605
|
+
this._renderer.removeClass(this._elementRef.nativeElement, `daff-skeleton`);
|
606
|
+
}
|
607
|
+
this._skeleton = incomingSkeleton;
|
608
|
+
}
|
609
|
+
};
|
610
|
+
}
|
611
|
+
|
586
612
|
const DAFF_MEDIA_GALLERY_TOKEN = new InjectionToken('DAFF_MEDIA_GALLERY_TOKEN');
|
587
613
|
|
588
614
|
const isGallery = (element) => !('gallery' in element);
|
@@ -751,7 +777,7 @@ class DaffMediaGalleryBase {
|
|
751
777
|
this._renderer = _renderer;
|
752
778
|
}
|
753
779
|
}
|
754
|
-
const _daffMediaGalleryBase = daffArticleEncapsulatedMixin((DaffMediaGalleryBase));
|
780
|
+
const _daffMediaGalleryBase = daffSkeletonableMixin(daffArticleEncapsulatedMixin((DaffMediaGalleryBase)));
|
755
781
|
class DaffMediaGalleryComponent extends _daffMediaGalleryBase {
|
756
782
|
constructor(elementRef, renderer, registry) {
|
757
783
|
super(elementRef, renderer);
|
@@ -776,16 +802,16 @@ class DaffMediaGalleryComponent extends _daffMediaGalleryBase {
|
|
776
802
|
}
|
777
803
|
}
|
778
804
|
/** @nocollapse */ DaffMediaGalleryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffMediaGalleryComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DaffMediaGalleryRegistry }], target: i0.ɵɵFactoryTarget.Component });
|
779
|
-
/** @nocollapse */ DaffMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: { name: "name" }, host: { properties: { "class.daff-media-gallery": "this.class" } }, providers: [
|
805
|
+
/** @nocollapse */ DaffMediaGalleryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffMediaGalleryComponent, selector: "daff-media-gallery", inputs: { skeleton: "skeleton", name: "name" }, host: { properties: { "class.daff-media-gallery": "this.class" } }, providers: [
|
780
806
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
781
807
|
{ provide: DAFF_MEDIA_GALLERY_TOKEN, useExisting: DaffMediaGalleryComponent },
|
782
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>", styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width: 1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width: 480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width: 1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width: 1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width: 1024px){.daff-media-gallery__selected-thumbnail{order:2}}\n"], components: [{ type: DaffMediaRendererComponent, selector: "daff-media-renderer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
808
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>", styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width: 1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width: 480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width: 1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:72px;width:72px;position:absolute;top:0;left:0}@media (min-width: 1024px){:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:80px;width:80px;position:absolute;top:0;left:0}}:host(.daff-media-gallery).daff-skeleton ::ng-deep img{opacity:0}:host(.daff-media-gallery).daff-skeleton .daff-media-gallery__selected-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton .daff-media-gallery__selected-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width: 1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1;position:relative}@media (min-width: 1024px){.daff-media-gallery__selected-thumbnail{order:2}}\n"], components: [{ type: DaffMediaRendererComponent, selector: "daff-media-renderer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
783
809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffMediaGalleryComponent, decorators: [{
|
784
810
|
type: Component,
|
785
811
|
args: [{ selector: 'daff-media-gallery', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
786
812
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
787
813
|
{ provide: DAFF_MEDIA_GALLERY_TOKEN, useExisting: DaffMediaGalleryComponent },
|
788
|
-
], template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>", styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width: 1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width: 480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width: 1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width: 1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width: 1024px){.daff-media-gallery__selected-thumbnail{order:2}}\n"] }]
|
814
|
+
], inputs: ['skeleton'], template: "<div class=\"daff-media-gallery__thumbnails\">\n\t<ng-content select=\"[daffThumbnail]\"></ng-content>\n</div>\n<div class=\"daff-media-gallery__selected-thumbnail\">\n\t<daff-media-renderer></daff-media-renderer>\n</div>", styles: [":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width: 1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width: 480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width: 1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:72px;width:72px;position:absolute;top:0;left:0}@media (min-width: 1024px){:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton ::ng-deep .daff-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:80px;width:80px;position:absolute;top:0;left:0}}:host(.daff-media-gallery).daff-skeleton ::ng-deep img{opacity:0}:host(.daff-media-gallery).daff-skeleton .daff-media-gallery__selected-thumbnail{display:flex}:host(.daff-media-gallery).daff-skeleton .daff-media-gallery__selected-thumbnail:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width: 1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1;position:relative}@media (min-width: 1024px){.daff-media-gallery__selected-thumbnail{order:2}}\n"] }]
|
789
815
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DaffMediaGalleryRegistry }]; }, propDecorators: { class: [{
|
790
816
|
type: HostBinding,
|
791
817
|
args: ['class.daff-media-gallery']
|
@@ -929,9 +955,22 @@ const validateProperties = (object, props) => {
|
|
929
955
|
throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);
|
930
956
|
}
|
931
957
|
};
|
932
|
-
|
933
|
-
|
958
|
+
/**
|
959
|
+
* An _elementRef is needed for the GolfGhostable mixin
|
960
|
+
*/
|
961
|
+
class DaffImageBase {
|
962
|
+
constructor(_elementRef, _renderer) {
|
963
|
+
this._elementRef = _elementRef;
|
964
|
+
this._renderer = _renderer;
|
965
|
+
}
|
966
|
+
}
|
967
|
+
const _daffImageBase = daffSkeletonableMixin(DaffImageBase);
|
968
|
+
class DaffImageComponent extends _daffImageBase {
|
969
|
+
constructor(sanitizer, elementRef, renderer) {
|
970
|
+
super(elementRef, renderer);
|
934
971
|
this.sanitizer = sanitizer;
|
972
|
+
this.elementRef = elementRef;
|
973
|
+
this.renderer = renderer;
|
935
974
|
// TODO: rename event to not collide with native event (unless that's intentional)
|
936
975
|
// eslint-disable-next-line @angular-eslint/no-output-native
|
937
976
|
this.load = new EventEmitter();
|
@@ -986,13 +1025,13 @@ class DaffImageComponent {
|
|
986
1025
|
return this.width + 'px';
|
987
1026
|
}
|
988
1027
|
}
|
989
|
-
/** @nocollapse */ DaffImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
990
|
-
/** @nocollapse */ DaffImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffImageComponent, selector: "daff-image", inputs: { src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
|
1028
|
+
/** @nocollapse */ DaffImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1$1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
1029
|
+
/** @nocollapse */ DaffImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffImageComponent, selector: "daff-image", inputs: { skeleton: "skeleton", src: "src", alt: "alt", width: "width", height: "height" }, outputs: { load: "load" }, host: { properties: { "style.max-width": "this.maxWidth" } }, providers: [
|
991
1030
|
{
|
992
1031
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
993
1032
|
provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
|
994
1033
|
},
|
995
|
-
], ngImport: i0, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1034
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex}:host.daff-skeleton:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
996
1035
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, decorators: [{
|
997
1036
|
type: Component,
|
998
1037
|
args: [{ selector: 'daff-image', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
@@ -1000,8 +1039,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
1000
1039
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
1001
1040
|
provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
|
1002
1041
|
},
|
1003
|
-
], template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"] }]
|
1004
|
-
}], ctorParameters: function () { return [{ type: i1$1.DomSanitizer }]; }, propDecorators: { src: [{
|
1042
|
+
], inputs: ['skeleton'], template: "<div class=\"daff-image__wrapper\" [style.paddingTop]=\"_paddingTop\">\n\t<img [src]=\"src\" [alt]=\"alt\" (load)=\"load.emit\" loading=\"lazy\"/>\n</div>", styles: [":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host.daff-skeleton{display:flex}:host.daff-skeleton:before{animation-name:loading;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;content:\"\";height:100%;width:100%;position:absolute;top:0;left:0}:host.daff-skeleton img{opacity:0}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}\n"] }]
|
1043
|
+
}], ctorParameters: function () { return [{ type: i1$1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { src: [{
|
1005
1044
|
type: Input
|
1006
1045
|
}], alt: [{
|
1007
1046
|
type: Input
|