@daffodil/design 0.40.1 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atoms/form/quantity-field/quantity-field.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-input/quantity-input.component.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -0
- package/daff-theme.scss +27 -21
- package/esm2020/atoms/form/quantity-field/quantity-field.component.mjs +4 -3
- package/esm2020/atoms/form/quantity-field/quantity-input/quantity-input.component.mjs +4 -6
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +6 -3
- package/esm2020/core/theming/services/storage/theme-storage.service.mjs +5 -3
- package/esm2020/image/examples/basic-image/basic-image.component.mjs +12 -0
- package/esm2020/image/examples/basic-image/basic-image.module.mjs +26 -0
- package/esm2020/image/examples/daffodil-design-image-examples.mjs +5 -0
- package/esm2020/image/examples/index.mjs +2 -0
- package/esm2020/image/examples/load-image/load-image.component.mjs +19 -0
- package/esm2020/image/examples/load-image/load-image.module.mjs +30 -0
- package/esm2020/image/examples/public_api.mjs +9 -0
- package/esm2020/molecules/article/article/article.component.mjs +2 -2
- package/esm2020/quantity-field/examples/{basic → basic-quantity-field}/basic-quantity-field.component.mjs +1 -1
- package/esm2020/quantity-field/examples/{basic → basic-quantity-field}/basic-quantity-field.module.mjs +1 -1
- package/esm2020/quantity-field/examples/{customRange → custom-range-quantity-field}/custom-range-quantity-field.component.mjs +1 -1
- package/esm2020/quantity-field/examples/{customRange → custom-range-quantity-field}/custom-range-quantity-field.module.mjs +1 -1
- package/esm2020/quantity-field/examples/{disabled → disabled-quantity-field}/disabled-quantity-field.component.mjs +2 -2
- package/esm2020/quantity-field/examples/{disabled → disabled-quantity-field}/disabled-quantity-field.module.mjs +1 -1
- package/esm2020/quantity-field/examples/public_api.mjs +16 -10
- package/esm2020/quantity-field/examples/{selectMax → select-max-quantity-field}/select-max-quantity-field.component.mjs +1 -1
- package/esm2020/quantity-field/examples/{selectMax → select-max-quantity-field}/select-max-quantity-field.module.mjs +1 -1
- package/fesm2015/daffodil-design-image-examples.mjs +89 -0
- package/fesm2015/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-quantity-field-examples.mjs +8 -8
- package/fesm2015/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design.mjs +18 -12
- package/fesm2015/daffodil-design.mjs.map +1 -1
- package/fesm2020/daffodil-design-image-examples.mjs +89 -0
- package/fesm2020/daffodil-design-image-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-quantity-field-examples.mjs +8 -8
- package/fesm2020/daffodil-design-quantity-field-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design.mjs +16 -12
- package/fesm2020/daffodil-design.mjs.map +1 -1
- package/image/examples/basic-image/basic-image.component.d.ts +5 -0
- package/image/examples/basic-image/basic-image.module.d.ts +8 -0
- package/image/examples/daffodil-design-image-examples.d.ts +5 -0
- package/image/examples/index.d.ts +1 -0
- package/image/examples/load-image/load-image.component.d.ts +7 -0
- package/image/examples/load-image/load-image.module.d.ts +9 -0
- package/image/examples/package.json +10 -0
- package/image/examples/public_api.d.ts +2 -0
- package/package.json +10 -2
- package/quantity-field/examples/{basic → basic-quantity-field}/basic-quantity-field.component.d.ts +0 -0
- package/quantity-field/examples/{basic → basic-quantity-field}/basic-quantity-field.module.d.ts +0 -0
- package/quantity-field/examples/{customRange → custom-range-quantity-field}/custom-range-quantity-field.component.d.ts +0 -0
- package/quantity-field/examples/{customRange → custom-range-quantity-field}/custom-range-quantity-field.module.d.ts +0 -0
- package/quantity-field/examples/{disabled → disabled-quantity-field}/disabled-quantity-field.component.d.ts +0 -0
- package/quantity-field/examples/{disabled → disabled-quantity-field}/disabled-quantity-field.module.d.ts +0 -0
- package/quantity-field/examples/public_api.d.ts +10 -9
- package/quantity-field/examples/{selectMax → select-max-quantity-field}/select-max-quantity-field.component.d.ts +0 -0
- package/quantity-field/examples/{selectMax → select-max-quantity-field}/select-max-quantity-field.module.d.ts +0 -0
- package/src/atoms/form/quantity-field/README.md +14 -15
- package/src/atoms/image/README.md +17 -7
- package/esm2020/quantity-field/examples/examples.mjs +0 -11
- package/quantity-field/examples/examples.d.ts +0 -2
@@ -14,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
14
14
|
type: Component,
|
15
15
|
args: [{ selector: 'custom-range-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""] }]
|
16
16
|
}] });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3F1YW50aXR5LWZpZWxkL2V4YW1wbGVzL3NyYy9jdXN0b20tcmFuZ2UtcXVhbnRpdHktZmllbGQvY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3F1YW50aXR5LWZpZWxkL2V4YW1wbGVzL3NyYy9jdXN0b20tcmFuZ2UtcXVhbnRpdHktZmllbGQvY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ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WFudGl0eS1maWVsZFxuICAgIFtmb3JtQ29udHJvbF09XCJjb250cm9sXCJcbiAgICBbbWluXT1cIjVcIlxuICAgIFttYXhdPVwiNTBcIlxuICA+PC9kYWZmLXF1YW50aXR5LWZpZWxkPlxuPC9kYWZmLWZvcm0tZmllbGQ+XG5cbjxwPlxuICBDb250cm9sIFZhbHVlOiB7e2NvbnRyb2wudmFsdWV9fVxuPC9wPlxuIl19
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
34
34
|
],
|
35
35
|
}]
|
36
36
|
}] });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3F1YW50aXR5LWZpZWxkL2V4YW1wbGVzL3NyYy9jdXN0b20tcmFuZ2UtcXVhbnRpdHktZmllbGQvY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUVyRCxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLG1CQUFtQixHQUNwQixNQUFNLGtCQUFrQixDQUFDO0FBRTFCLE9BQU8sRUFBRSxpQ0FBaUMsRUFBRSxNQUFNLHlDQUF5QyxDQUFDOztBQWdCNUYsTUFBTSxPQUFPLDhCQ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QsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBDdXN0b21SYW5nZVF1YW50aXR5RmllbGRDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcbiAgICBEYWZmRm9ybUZpZWxkTW9kdWxlLFxuICAgIERhZmZRdWFudGl0eUZpZWxkTW9kdWxlLFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBDdXN0b21SYW5nZVF1YW50aXR5RmllbGRNb2R1bGUge31cbiJdfQ==
|
@@ -5,7 +5,7 @@ import * as i1 from "@daffodil/design";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
6
6
|
export class DisabledQuantityFieldComponent {
|
7
7
|
constructor() {
|
8
|
-
this.control = new FormControl({ value: '', disabled: true });
|
8
|
+
this.control = new FormControl({ value: '1', disabled: true });
|
9
9
|
}
|
10
10
|
}
|
11
11
|
/** @nocollapse */ /** @nocollapse */ DisabledQuantityFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DisabledQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
@@ -14,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
14
14
|
type: Component,
|
15
15
|
args: [{ selector: 'disabled-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""] }]
|
16
16
|
}] });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZWQtcXVhbnRpdHktZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvd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YW5ndWxhci1lc2xpbnQvY29tcG9uZW50LXNlbGVjdG9yXG4gIHNlbGVjdG9yOiAnZGlzYWJsZWQtcXVhbnRpdHktZmllbGQnLFxuICB0ZW1wbGF0ZVVybDogJy4vZGlzYWJsZWQtcXVhbnRpdHktZmllbGQuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9kaXNhYmxlZC1xdWFudGl0eS1maWVsZC5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRGlzYWJsZWRRdWFudGl0eUZpZWxkQ29tcG9uZW50IHtcbiAgY29udHJvbCA9IG5ldyBGb3JtQ29udHJvbCh7IHZhbHVlIDogJzEnICwgZGlzYWJsZWQ6IHRydWUgfSk7XG59XG4iLCI8ZGFmZi1mb3JtLWZpZWxkPlxuICA8ZGFmZi1xdWFudGl0eS1maWVsZCBbZm9ybUNvbnRyb2xdPVwiY29udHJvbFwiPjwvZGFmZi1xdWFudGl0eS1maWVsZD5cbjwvZGFmZi1mb3JtLWZpZWxkPlxuXG48cD5cbiAgQ29udHJvbCBWYWx1ZToge3tjb250cm9sLnZhbHVlfX1cbjwvcD5cbiJdfQ==
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
34
34
|
],
|
35
35
|
}]
|
36
36
|
}] });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZWQtcXVhbnRpdHktZmllbGQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vcXVhbnRpdHktZmllbGQvZXhhbXBsZXMvc3JjL2Rpc2FibGVk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B9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUmVhY3RpdmVGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuaW1wb3J0IHtcbiAgRGFmZlF1YW50aXR5RmllbGRNb2R1bGUsXG4gIERhZmZGb3JtRmllbGRNb2R1bGUsXG59IGZyb20gJ0BkYWZmb2RpbC9kZXNpZ24nO1xuXG5pbXBvcnQgeyBEaXNhYmxlZFF1YW50aXR5RmllbGRDb21wb25lbnQgfSBmcm9tICcuL2Rpc2FibGVkLXF1YW50aXR5LWZpZWxkLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERpc2FibGVkUXVhbnRpdHlGaWVsZENvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERpc2FibGVkUXVhbnRpdHlGaWVsZENvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIERhZmZGb3JtRmllbGRNb2R1bGUsXG4gICAgRGFmZlF1YW50aXR5RmllbGRNb2R1bGUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERpc2FibGVkUXVhbnRpdHlGaWVsZE1vZHVsZSB7fVxuIl19
|
@@ -1,10 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
export {
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export { SelectMaxQuantityFieldModule } from './
|
9
|
-
export
|
10
|
-
|
1
|
+
import { BasicQuantityFieldComponent } from './basic-quantity-field/basic-quantity-field.component';
|
2
|
+
import { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field/custom-range-quantity-field.component';
|
3
|
+
import { DisabledQuantityFieldComponent } from './disabled-quantity-field/disabled-quantity-field.component';
|
4
|
+
import { SelectMaxQuantityFieldComponent } from './select-max-quantity-field/select-max-quantity-field.component';
|
5
|
+
export { BasicQuantityFieldModule } from './basic-quantity-field/basic-quantity-field.module';
|
6
|
+
export { CustomRangeQuantityFieldModule } from './custom-range-quantity-field/custom-range-quantity-field.module';
|
7
|
+
export { DisabledQuantityFieldModule } from './disabled-quantity-field/disabled-quantity-field.module';
|
8
|
+
export { SelectMaxQuantityFieldModule } from './select-max-quantity-field/select-max-quantity-field.module';
|
9
|
+
export const QUANTITY_FIELD_EXAMPLES = [
|
10
|
+
BasicQuantityFieldComponent,
|
11
|
+
CustomRangeQuantityFieldComponent,
|
12
|
+
DisabledQuantityFieldComponent,
|
13
|
+
SelectMaxQuantityFieldComponent,
|
14
|
+
];
|
15
|
+
export { BasicQuantityFieldComponent, CustomRangeQuantityFieldComponent, DisabledQuantityFieldComponent, SelectMaxQuantityFieldComponent, };
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3F1YW50aXR5LWZpZWxkL2V4YW1wbGVzL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLHVEQUF1RCxDQUFDO0FBQ3BHLE9BQU8sRUFBRSxpQ0FBaUMsRUFBRSxNQUFNLHFFQUFxRSxDQUFDO0FBQ3hILE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLDZEQUE2RCxDQUFDO0FBQzdHLE9BQU8sRUFBRSwrQkFBK0IsRUFBRSxNQUFNLGlFQUFpRSxDQUFDO0FBRWxILE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9EQUFvRCxDQUFDO0FBQzlGLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLGt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l0eS1maWVsZC9iYXNpYy1xdWFudGl0eS1maWVsZC5tb2R1bGUnO1xuZXhwb3J0IHsgQ3VzdG9tUmFuZ2VRdWFudGl0eUZpZWxkTW9kdWxlIH0gZnJvbSAnLi9jdXN0b20tcmFuZ2UtcXVhbnRpdHktZmllbGQvY3VzdG9tLXJhbmdlLXF1YW50aXR5LWZpZWxkLm1vZHVsZSc7XG5leHBvcnQgeyBEaXNhYmxlZFF1YW50aXR5RmllbGRNb2R1bGUgfSBmcm9tICcuL2Rpc2FibGVkLXF1YW50aXR5LWZpZWxkL2Rpc2FibGVkLXF1YW50aXR5LWZpZWxkLm1vZHVsZSc7XG5leHBvcnQgeyBTZWxlY3RNYXhRdWFudGl0eUZpZWxkTW9kdWxlIH0gZnJvbSAnLi9zZWxlY3QtbWF4LXF1YW50aXR5LWZpZWxkL3NlbGVjdC1tYXgtcXVhbnRpdHktZmllbGQubW9kdWxlJztcblxuZXhwb3J0IGNvbnN0IFFVQU5USVRZX0ZJRUxEX0VYQU1QTEVTID0gW1xuICBCYXNpY1F1YW50aXR5RmllbGRDb21wb25lbnQsXG4gIEN1c3RvbVJhbmdlUXVhbnRpdHlGaWVsZENvbXBvbmVudCxcbiAgRGlzYWJsZWRRdWFudGl0eUZpZWxkQ29tcG9uZW50LFxuICBTZWxlY3RNYXhRdWFudGl0eUZpZWxkQ29tcG9uZW50LFxuXTtcblxuZXhwb3J0IHtcbiAgQmFzaWNRdWFudGl0eUZpZWxkQ29tcG9uZW50LFxuICBDdXN0b21SYW5nZVF1YW50aXR5RmllbGRDb21wb25lbnQsXG4gIERpc2FibGVkUXVhbnRpdHlGaWVsZENvbXBvbmVudCxcbiAgU2VsZWN0TWF4UXVhbnRpdHlGaWVsZENvbXBvbmVudCxcbn07XG4iXX0=
|
@@ -14,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
14
14
|
type: Component,
|
15
15
|
args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""] }]
|
16
16
|
}] });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW1heC1xdWFudGl0eS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9xdWFudGl0eS1maWVsZC9leGFtcGxlcy9zcmMvc2VsZWN0LW1heC1xdWFudGl0eS1maWVsZC9zZWxlY3QtbWF4LXF1YW50aXR5LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3F1YW50aXR5LWZpZWxkL2V4YW1wbGVzL3NyYy9zZWxlY3QtbWF4LXF1YW50aXR5LWZpZWxkL3NlbGVjdC1tYXgtcXVhbnRpdHktZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7O0FBUzdDLE1BQU0sT0FBTywrQkFBK0I7SUFQNUM7UUFRRSxZQUFPLEdBQUcsSUFBSSxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUM7S0FDOUI7O2tLQUZZLCtCQUErQjtzSkFBL0IsK0JBQStCLGlFQ2I1QyxvTUFVQTsyRkRHYSwrQkFBK0I7a0JBUDNDLFNBQVM7K0JBRUUsMkJBQTJCLG1CQUdwQix1QkFBdUIsQ0FBQy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@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i1 from '@daffodil/design';
|
4
|
+
import { DaffImageModule } from '@daffodil/design';
|
5
|
+
import * as i2 from '@angular/common';
|
6
|
+
import { CommonModule } from '@angular/common';
|
7
|
+
|
8
|
+
class BasicImageComponent {
|
9
|
+
}
|
10
|
+
/** @nocollapse */ /** @nocollapse */ BasicImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
11
|
+
/** @nocollapse */ /** @nocollapse */ BasicImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicImageComponent, selector: "basic-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>", components: [{ type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageComponent, decorators: [{
|
13
|
+
type: Component,
|
14
|
+
args: [{ selector: 'basic-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>" }]
|
15
|
+
}] });
|
16
|
+
|
17
|
+
class BasicImageModule {
|
18
|
+
}
|
19
|
+
/** @nocollapse */ /** @nocollapse */ BasicImageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
20
|
+
/** @nocollapse */ /** @nocollapse */ BasicImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageModule, declarations: [BasicImageComponent], imports: [DaffImageModule], exports: [BasicImageComponent] });
|
21
|
+
/** @nocollapse */ /** @nocollapse */ BasicImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageModule, imports: [[
|
22
|
+
DaffImageModule,
|
23
|
+
]] });
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageModule, decorators: [{
|
25
|
+
type: NgModule,
|
26
|
+
args: [{
|
27
|
+
declarations: [
|
28
|
+
BasicImageComponent,
|
29
|
+
],
|
30
|
+
exports: [
|
31
|
+
BasicImageComponent,
|
32
|
+
],
|
33
|
+
imports: [
|
34
|
+
DaffImageModule,
|
35
|
+
],
|
36
|
+
}]
|
37
|
+
}] });
|
38
|
+
|
39
|
+
class LoadImageComponent {
|
40
|
+
constructor() {
|
41
|
+
this.loaded = false;
|
42
|
+
}
|
43
|
+
load() {
|
44
|
+
this.loaded = true;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
/** @nocollapse */ /** @nocollapse */ LoadImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
48
|
+
/** @nocollapse */ /** @nocollapse */ LoadImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: LoadImageComponent, selector: "load-image", ngImport: i0, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>", components: [{ type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageComponent, decorators: [{
|
50
|
+
type: Component,
|
51
|
+
args: [{ selector: 'load-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>" }]
|
52
|
+
}] });
|
53
|
+
|
54
|
+
class LoadImageModule {
|
55
|
+
}
|
56
|
+
/** @nocollapse */ /** @nocollapse */ LoadImageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
57
|
+
/** @nocollapse */ /** @nocollapse */ LoadImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageModule, declarations: [LoadImageComponent], imports: [CommonModule,
|
58
|
+
DaffImageModule], exports: [LoadImageComponent] });
|
59
|
+
/** @nocollapse */ /** @nocollapse */ LoadImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageModule, imports: [[
|
60
|
+
CommonModule,
|
61
|
+
DaffImageModule,
|
62
|
+
]] });
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageModule, decorators: [{
|
64
|
+
type: NgModule,
|
65
|
+
args: [{
|
66
|
+
declarations: [
|
67
|
+
LoadImageComponent,
|
68
|
+
],
|
69
|
+
exports: [
|
70
|
+
LoadImageComponent,
|
71
|
+
],
|
72
|
+
imports: [
|
73
|
+
CommonModule,
|
74
|
+
DaffImageModule,
|
75
|
+
],
|
76
|
+
}]
|
77
|
+
}] });
|
78
|
+
|
79
|
+
const IMAGE_EXAMPLES = [
|
80
|
+
{ component: BasicImageComponent, module: BasicImageModule },
|
81
|
+
{ component: LoadImageComponent, module: LoadImageModule },
|
82
|
+
];
|
83
|
+
|
84
|
+
/**
|
85
|
+
* Generated bundle index. Do not edit.
|
86
|
+
*/
|
87
|
+
|
88
|
+
export { IMAGE_EXAMPLES };
|
89
|
+
//# sourceMappingURL=daffodil-design-image-examples.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"daffodil-design-image-examples.mjs","sources":["../../../libs/design/image/examples/src/basic-image/basic-image.component.ts","../../../libs/design/image/examples/src/basic-image/basic-image.component.html","../../../libs/design/image/examples/src/basic-image/basic-image.module.ts","../../../libs/design/image/examples/src/load-image/load-image.component.ts","../../../libs/design/image/examples/src/load-image/load-image.component.html","../../../libs/design/image/examples/src/load-image/load-image.module.ts","../../../libs/design/image/examples/src/public_api.ts","../../../libs/design/image/examples/src/daffodil-design-image-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-image',\n templateUrl: './basic-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicImageComponent {\n\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\">\n</daff-image>","import { NgModule } from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design';\n\nimport { BasicImageComponent } from './basic-image.component';\n\n@NgModule({\n declarations: [\n BasicImageComponent,\n ],\n exports: [\n BasicImageComponent,\n ],\n imports: [\n DaffImageModule,\n ],\n})\nexport class BasicImageModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'load-image',\n templateUrl: './load-image.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoadImageComponent {\n loaded = false;\n\n load(){\n this.loaded = true;\n }\n}\n","<daff-image\n\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\talt=\"Bottom up view of Basel exhibition centre\"\n\twidth=\"1261\"\n\theight=\"946\"\n\t(load)=\"load()\">\n</daff-image>\n\n<p *ngIf=\"!loaded\">I am not loaded!</p>\n<p *ngIf=\"loaded\">I am loaded!</p>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffImageModule } from '@daffodil/design';\n\nimport { LoadImageComponent } from './load-image.component';\n\n@NgModule({\n declarations: [\n LoadImageComponent,\n ],\n exports: [\n LoadImageComponent,\n ],\n imports: [\n CommonModule,\n DaffImageModule,\n ],\n})\nexport class LoadImageModule { }\n","import { ComponentExample } from '@daffodil/design';\n\nimport { BasicImageComponent } from './basic-image/basic-image.component';\nimport { BasicImageModule } from './basic-image/basic-image.module';\nimport { LoadImageComponent } from './load-image/load-image.component';\nimport { LoadImageModule } from './load-image/load-image.module';\n\nexport const IMAGE_EXAMPLES: ComponentExample[] = [\n { component: BasicImageComponent, module: BasicImageModule },\n { component: LoadImageComponent, module: LoadImageModule },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAWa,mBAAmB,CAAA;;sJAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,sCAAA,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,mDCXhC,gSAKa,EAAA,UAAA,EAAA,CAAA,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,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;2FDMA,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;+BAEE,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gSAAA,EAAA,CAAA;;;MEQpC,gBAAgB,CAAA;;mJAAhB,gBAAgB,EAAA,IAAA,E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qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;AAChB,qBAAA;iBACF,CAAA;;;ACXY,MAAA,cAAc,GAAuB;AAChD,IAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;AAC5D,IAAA,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE;;;ACT5D;;AAEG;;;;"}
|
@@ -32,7 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
32
32
|
|
33
33
|
class DisabledQuantityFieldComponent {
|
34
34
|
constructor() {
|
35
|
-
this.control = new FormControl({ value: '', disabled: true });
|
35
|
+
this.control = new FormControl({ value: '1', disabled: true });
|
36
36
|
}
|
37
37
|
}
|
38
38
|
/** @nocollapse */ /** @nocollapse */ DisabledQuantityFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DisabledQuantityFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
@@ -54,13 +54,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
54
54
|
args: [{ selector: 'select-max-quantity-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n", styles: [""] }]
|
55
55
|
}] });
|
56
56
|
|
57
|
-
const QUANTITY_FIELD_EXAMPLES = [
|
58
|
-
BasicQuantityFieldComponent,
|
59
|
-
CustomRangeQuantityFieldComponent,
|
60
|
-
DisabledQuantityFieldComponent,
|
61
|
-
SelectMaxQuantityFieldComponent,
|
62
|
-
];
|
63
|
-
|
64
57
|
class BasicQuantityFieldModule {
|
65
58
|
}
|
66
59
|
/** @nocollapse */ /** @nocollapse */ BasicQuantityFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicQuantityFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
@@ -185,6 +178,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
185
178
|
}]
|
186
179
|
}] });
|
187
180
|
|
181
|
+
const QUANTITY_FIELD_EXAMPLES = [
|
182
|
+
BasicQuantityFieldComponent,
|
183
|
+
CustomRangeQuantityFieldComponent,
|
184
|
+
DisabledQuantityFieldComponent,
|
185
|
+
SelectMaxQuantityFieldComponent,
|
186
|
+
];
|
187
|
+
|
188
188
|
/**
|
189
189
|
* Generated bundle index. Do not edit.
|
190
190
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-quantity-field-examples.mjs","sources":["../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/examples.ts","../../../libs/design/quantity-field/examples/src/basic/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/customRange/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/selectMax/select-max-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicQuantityFieldComponent {\n control = new FormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new FormControl(5);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DisabledQuantityFieldComponent {\n control = new FormControl({ value : '' , disabled: true });\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new FormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import { BasicQuantityFieldComponent } from './basic/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './customRange/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './selectMax/select-max-quantity-field.component';\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { BasicQuantityFieldComponent } from './basic-quantity-field.component';\n\n@NgModule({\n declarations: [\n BasicQuantityFieldComponent,\n ],\n exports: [\n BasicQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class BasicQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field.component';\n\n@NgModule({\n declarations: [\n CustomRangeQuantityFieldComponent,\n ],\n exports: [\n CustomRangeQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class CustomRangeQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field.component';\n\n@NgModule({\n declarations: [\n DisabledQuantityFieldComponent,\n ],\n exports: [\n DisabledQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class DisabledQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field.component';\n\n@NgModule({\n declarations: [\n SelectMaxQuantityFieldComponent,\n ],\n exports: [\n SelectMaxQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class SelectMaxQuantityFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,2BAA2B,CAAA;AAPxC,IAAA,WAAA,GAAA;QAQE,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;KAC9B;;8JAFY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,sCAAA,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,4DCbxC,mKAOA,EAAA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A,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gKAA5B,4BAA4B,EAAA,YAAA,EAAA,CAZrC,+BAA+B,CAAA,EAAA,OAAA,EAAA,CAM/B,YAAY;QACZ,mBAAmB;QACnB,mBAAmB;QACnB,uBAAuB,aANvB,+BAA+B,CAAA,EAAA,CAAA,CAAA;AAStB,sCAAA,4BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,4BAA4B,EAP9B,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YACnB,mBAAmB;YACnB,uBAAuB;SACxB,CAAA,EAAA,CAAA,CAAA;2FAEU,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAdxC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,mBAAmB;wBACnB,uBAAuB;AACxB,qBAAA;iBACF,CAAA;;;ACxBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-design-quantity-field-examples.mjs","sources":["../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.ts","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.html","../../../libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.module.ts","../../../libs/design/quantity-field/examples/src/public_api.ts","../../../libs/design/quantity-field/examples/src/daffodil-design-quantity-field-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'basic-quantity-field',\n templateUrl: './basic-quantity-field.component.html',\n styleUrls: ['./basic-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BasicQuantityFieldComponent {\n control = new FormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'custom-range-quantity-field',\n templateUrl: './custom-range-quantity-field.component.html',\n styleUrls: ['./custom-range-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CustomRangeQuantityFieldComponent {\n control = new FormControl(5);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [min]=\"5\"\n [max]=\"50\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'disabled-quantity-field',\n templateUrl: './disabled-quantity-field.component.html',\n styleUrls: ['./disabled-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DisabledQuantityFieldComponent {\n control = new FormControl({ value : '1' , disabled: true });\n}\n","<daff-form-field>\n <daff-quantity-field [formControl]=\"control\"></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select-max-quantity-field',\n templateUrl: './select-max-quantity-field.component.html',\n styleUrls: ['./select-max-quantity-field.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SelectMaxQuantityFieldComponent {\n control = new FormControl(1);\n}\n","<daff-form-field>\n <daff-quantity-field\n [formControl]=\"control\"\n [selectMax]=\"15\"\n ></daff-quantity-field>\n</daff-form-field>\n\n<p>\n Control Value: {{control.value}}\n</p>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { BasicQuantityFieldComponent } from './basic-quantity-field.component';\n\n@NgModule({\n declarations: [\n BasicQuantityFieldComponent,\n ],\n exports: [\n BasicQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class BasicQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field.component';\n\n@NgModule({\n declarations: [\n CustomRangeQuantityFieldComponent,\n ],\n exports: [\n CustomRangeQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class CustomRangeQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field.component';\n\n@NgModule({\n declarations: [\n DisabledQuantityFieldComponent,\n ],\n exports: [\n DisabledQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class DisabledQuantityFieldModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n DaffQuantityFieldModule,\n DaffFormFieldModule,\n} from '@daffodil/design';\n\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field.component';\n\n@NgModule({\n declarations: [\n SelectMaxQuantityFieldComponent,\n ],\n exports: [\n SelectMaxQuantityFieldComponent,\n ],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DaffFormFieldModule,\n DaffQuantityFieldModule,\n ],\n})\nexport class SelectMaxQuantityFieldModule {}\n","import { BasicQuantityFieldComponent } from './basic-quantity-field/basic-quantity-field.component';\nimport { CustomRangeQuantityFieldComponent } from './custom-range-quantity-field/custom-range-quantity-field.component';\nimport { DisabledQuantityFieldComponent } from './disabled-quantity-field/disabled-quantity-field.component';\nimport { SelectMaxQuantityFieldComponent } from './select-max-quantity-field/select-max-quantity-field.component';\n\nexport { BasicQuantityFieldModule } from './basic-quantity-field/basic-quantity-field.module';\nexport { CustomRangeQuantityFieldModule } from './custom-range-quantity-field/custom-range-quantity-field.module';\nexport { DisabledQuantityFieldModule } from './disabled-quantity-field/disabled-quantity-field.module';\nexport { SelectMaxQuantityFieldModule } from './select-max-quantity-field/select-max-quantity-field.module';\n\nexport const QUANTITY_FIELD_EXAMPLES = [\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n];\n\nexport {\n BasicQuantityFieldComponent,\n CustomRangeQuantityFieldComponent,\n DisabledQuantityFieldComponent,\n SelectMaxQuantityFieldComponent,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,2BAA2B,CAAA;AAPxC,IAAA,WAAA,GAAA;QAQE,IAAA,CAAA,OAAO,GAAG,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;KAC9B;;8JAFY,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,sCAAA,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,4DCbxC,mKAOA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,sBAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,KAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,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AA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,mBAAmB;wBACnB,uBAAuB;AACxB,qBAAA;iBACF,CAAA;;;ACdY,MAAA,uBAAuB,GAAG;IACrC,2BAA2B;IAC3B,iCAAiC;IACjC,8BAA8B;IAC9B,+BAA+B;;;ACdjC;;AAEG;;;;"}
|
@@ -1521,10 +1521,12 @@ class DaffQuantityInputComponent {
|
|
1521
1521
|
* Instead, we listen for the change event and manually patch form control values.
|
1522
1522
|
*/
|
1523
1523
|
this._inputControl = new FormControl();
|
1524
|
-
// TODO: should this not use this.input as the source of truth for focused?
|
1525
|
-
this.focused = false;
|
1526
1524
|
this._destroyed = new Subject();
|
1527
1525
|
}
|
1526
|
+
get focused() {
|
1527
|
+
var _a;
|
1528
|
+
return (_a = this.input) === null || _a === void 0 ? void 0 : _a.focused;
|
1529
|
+
}
|
1528
1530
|
get value() {
|
1529
1531
|
return this.ngControl.control.value;
|
1530
1532
|
}
|
@@ -1548,15 +1550,12 @@ class DaffQuantityInputComponent {
|
|
1548
1550
|
this._destroyed.next(true);
|
1549
1551
|
}
|
1550
1552
|
focus() {
|
1551
|
-
this.focused = true;
|
1552
1553
|
this.input.focus();
|
1553
1554
|
}
|
1554
1555
|
onFocus() {
|
1555
|
-
this.focused = true;
|
1556
1556
|
this.ngControl.control.markAsTouched();
|
1557
1557
|
}
|
1558
1558
|
onBlur() {
|
1559
|
-
// TODO: this.focused = false ?
|
1560
1559
|
if (this.value === null || this.value === undefined) {
|
1561
1560
|
this.value = 1;
|
1562
1561
|
this.changeDetectorRef.markForCheck();
|
@@ -1641,6 +1640,9 @@ class DaffQuantitySelectComponent {
|
|
1641
1640
|
focus() {
|
1642
1641
|
this.select.focus();
|
1643
1642
|
}
|
1643
|
+
onFocus() {
|
1644
|
+
this.ngControl.control.markAsTouched();
|
1645
|
+
}
|
1644
1646
|
/**
|
1645
1647
|
* A helper function for easily making options for the `select`.
|
1646
1648
|
*/
|
@@ -1649,10 +1651,10 @@ class DaffQuantitySelectComponent {
|
|
1649
1651
|
}
|
1650
1652
|
}
|
1651
1653
|
/** @nocollapse */ /** @nocollapse */ DaffQuantitySelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQuantitySelectComponent, deps: [{ token: i1$2.NgControl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
1652
|
-
/** @nocollapse */ /** @nocollapse */ DaffQuantitySelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: { min: "min", max: "max", extendable: "extendable" }, viewQueries: [{ propertyName: "select", first: true, predicate: DaffNativeSelectComponent, descendants: true }], ngImport: i0, template: "<select daff-native-select
|
1654
|
+
/** @nocollapse */ /** @nocollapse */ DaffQuantitySelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffQuantitySelectComponent, selector: "daff-quantity-select", inputs: { min: "min", max: "max", extendable: "extendable" }, viewQueries: [{ propertyName: "select", first: true, predicate: DaffNativeSelectComponent, descendants: true }], ngImport: i0, template: "<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n", components: [{ type: DaffNativeSelectComponent, selector: "select[daff-native-select]", inputs: ["formSubmitted"] }], directives: [{ type: i1$2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
1653
1655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQuantitySelectComponent, decorators: [{
|
1654
1656
|
type: Component,
|
1655
|
-
args: [{ selector: 'daff-quantity-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<select daff-native-select
|
1657
|
+
args: [{ selector: 'daff-quantity-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<select daff-native-select\n [formControl]=\"ngControl.control\"\n (focus)=\"onFocus()\"\n>\n <option *ngFor=\"let item of valueArray\" [value]=\"item\">{{ item }}</option>\n <option [value]=\"max\" *ngIf=\"extendable\">{{ max }}+</option>\n <option [value]=\"max\" *ngIf=\"!extendable\">{{ max }}</option>\n</select>\n" }]
|
1656
1658
|
}], ctorParameters: function () { return [{ type: i1$2.NgControl }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { select: [{
|
1657
1659
|
type: ViewChild,
|
1658
1660
|
args: [DaffNativeSelectComponent]
|
@@ -1686,7 +1688,6 @@ class DaffQuantityFieldComponent {
|
|
1686
1688
|
* before it becomes an input element.
|
1687
1689
|
*/
|
1688
1690
|
this.selectMax = 10;
|
1689
|
-
this.focused = false;
|
1690
1691
|
this.disabled = false;
|
1691
1692
|
this._quantity = 1;
|
1692
1693
|
this._inputHasBeenShown = false;
|
@@ -1694,6 +1695,10 @@ class DaffQuantityFieldComponent {
|
|
1694
1695
|
this.ngControl.valueAccessor = this;
|
1695
1696
|
}
|
1696
1697
|
}
|
1698
|
+
get focused() {
|
1699
|
+
var _a, _b;
|
1700
|
+
return !!(((_a = this.input) === null || _a === void 0 ? void 0 : _a.focused) || ((_b = this.select) === null || _b === void 0 ? void 0 : _b.focused));
|
1701
|
+
}
|
1697
1702
|
get quantity() {
|
1698
1703
|
return this._quantity;
|
1699
1704
|
}
|
@@ -1748,7 +1753,6 @@ class DaffQuantityFieldComponent {
|
|
1748
1753
|
if (this.input) {
|
1749
1754
|
this.input.focus();
|
1750
1755
|
}
|
1751
|
-
this.focused = true;
|
1752
1756
|
}
|
1753
1757
|
}
|
1754
1758
|
/** @nocollapse */ /** @nocollapse */ DaffQuantityFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffQuantityFieldComponent, deps: [{ token: i1$2.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
@@ -2639,10 +2643,10 @@ class DaffArticleComponent {
|
|
2639
2643
|
}
|
2640
2644
|
}
|
2641
2645
|
/** @nocollapse */ /** @nocollapse */ DaffArticleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffArticleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
2642
|
-
/** @nocollapse */ /** @nocollapse */ DaffArticleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffArticleComponent, selector: "daff-article", host: { properties: { "class.daff-article": "this.class", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom
|
2646
|
+
/** @nocollapse */ /** @nocollapse */ DaffArticleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffArticleComponent, selector: "daff-article", host: { properties: { "class.daff-article": "this.class", "attr.role": "this.role" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom:1.5rem}.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-top:2.5rem}.daff-article h1:not(.daff-ae *,.daff-ae){font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width: 768px){.daff-article h1:not(.daff-ae *,.daff-ae){font-size:3rem;line-height:3.5rem}}.daff-article h2:not(.daff-ae *,.daff-ae){font-size:2rem;line-height:2.5rem}.daff-article h3:not(.daff-ae *,.daff-ae){font-size:1.5rem;line-height:2rem}.daff-article h4:not(.daff-ae *,.daff-ae){font-size:1.25rem;line-height:1.5rem}.daff-article h5:not(.daff-ae *,.daff-ae){font-size:1.125rem;line-height:1.5rem}.daff-article h6:not(.daff-ae *,.daff-ae){font-size:1rem;line-height:1.5rem}.daff-article p:not(.daff-ae *,.daff-ae){margin:0 0 1rem}.daff-article strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:1.5rem 0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article pre:last-child{margin-bottom:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width: 768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:1.5rem 0;padding:1rem 1.5rem}.daff-article blockquote:last-child{margin-bottom:0}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article blockquote p:last-of-type{margin:0}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table:last-child{margin-bottom:0}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:.5rem 1rem;vertical-align:top;box-sizing:border-box}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2643
2647
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffArticleComponent, decorators: [{
|
2644
2648
|
type: Component,
|
2645
|
-
args: [{ selector: 'daff-article', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom
|
2649
|
+
args: [{ selector: 'daff-article', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".daff-article{display:block}.daff-article a:not(.daff-ae *,.daff-ae){font-weight:600;text-decoration:none}.daff-article a:not(.daff-ae *,.daff-ae):hover{text-decoration:underline}.daff-article h1:not(.daff-ae *,.daff-ae),.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-bottom:1.5rem}.daff-article h2:not(.daff-ae *,.daff-ae),.daff-article h3:not(.daff-ae *,.daff-ae),.daff-article h4:not(.daff-ae *,.daff-ae),.daff-article h5:not(.daff-ae *,.daff-ae),.daff-article h6:not(.daff-ae *,.daff-ae){margin-top:2.5rem}.daff-article h1:not(.daff-ae *,.daff-ae){font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width: 768px){.daff-article h1:not(.daff-ae *,.daff-ae){font-size:3rem;line-height:3.5rem}}.daff-article h2:not(.daff-ae *,.daff-ae){font-size:2rem;line-height:2.5rem}.daff-article h3:not(.daff-ae *,.daff-ae){font-size:1.5rem;line-height:2rem}.daff-article h4:not(.daff-ae *,.daff-ae){font-size:1.25rem;line-height:1.5rem}.daff-article h5:not(.daff-ae *,.daff-ae){font-size:1.125rem;line-height:1.5rem}.daff-article h6:not(.daff-ae *,.daff-ae){font-size:1rem;line-height:1.5rem}.daff-article p:not(.daff-ae *,.daff-ae){margin:0 0 1rem}.daff-article strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:1.5rem 0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article pre:last-child{margin-bottom:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width: 768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:1.5rem 0;padding:1rem 1.5rem}.daff-article blockquote:last-child{margin-bottom:0}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article blockquote p:last-of-type{margin:0}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table:last-child{margin-bottom:0}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:.5rem 1rem;vertical-align:top;box-sizing:border-box}\n"] }]
|
2646
2650
|
}], propDecorators: { class: [{
|
2647
2651
|
type: HostBinding,
|
2648
2652
|
args: ['class.daff-article']
|
@@ -5223,7 +5227,9 @@ class DaffThemeStorageService {
|
|
5223
5227
|
this.storage = storage;
|
5224
5228
|
this.storage$ = new Subject();
|
5225
5229
|
this.doc = _doc;
|
5226
|
-
this.theme$ = merge(this.storage$,
|
5230
|
+
this.theme$ = merge(this.storage$, this.doc.defaultView
|
5231
|
+
? fromEvent(this.doc.defaultView, 'storage').pipe(startWith(storageEventBuilder(this.storage.getItem(THEME_STORAGE_KEY))), catchError((e) => EMPTY))
|
5232
|
+
: of(storageEventBuilder(this.storage.getItem(THEME_STORAGE_KEY)))).pipe(filter((e) => e.key === THEME_STORAGE_KEY), map((e) => coerceValue(e.newValue)), shareReplay(1));
|
5227
5233
|
}
|
5228
5234
|
/**
|
5229
5235
|
* Given that Safari doesn't respect in-tab storage events, we have to manually
|