@daffodil/design 0.58.10 → 0.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/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
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/accordion/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-accordion-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-accordion-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/accordion/examples/daffodil-design-accordion-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-accordion-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-accordion-examples.mjs",
|
8
|
-
"typings": "daffodil-design-accordion-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/accordion/examples","module":"../../fesm2015/daffodil-design-accordion-examples.mjs","es2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","esm2020":"../../esm2020/accordion/examples/daffodil-design-accordion-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-accordion-examples.mjs","typings":"daffodil-design-accordion-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/article/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-article-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-article-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/article/examples/daffodil-design-article-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-article-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-article-examples.mjs",
|
8
|
-
"typings": "daffodil-design-article-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/article/examples","module":"../../fesm2015/daffodil-design-article-examples.mjs","es2020":"../../fesm2020/daffodil-design-article-examples.mjs","esm2020":"../../esm2020/article/examples/daffodil-design-article-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-article-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-article-examples.mjs","typings":"daffodil-design-article-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,8 +1,27 @@
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit, ElementRef, Renderer2 } from '@angular/core';
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
3
|
+
import { DaffSkeletonable } from '../../core/skeletonable/public_api';
|
3
4
|
import * as i0 from "@angular/core";
|
4
|
-
|
5
|
+
/**
|
6
|
+
* An _elementRef is needed for the GolfGhostable mixin
|
7
|
+
*/
|
8
|
+
declare class DaffImageBase {
|
9
|
+
_elementRef: ElementRef;
|
10
|
+
_renderer: Renderer2;
|
11
|
+
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
12
|
+
}
|
13
|
+
declare const _daffImageBase: {
|
14
|
+
new (...args: any[]): {
|
15
|
+
_skeleton: boolean;
|
16
|
+
skeleton: boolean;
|
17
|
+
_elementRef: ElementRef<any>;
|
18
|
+
_renderer: Renderer2;
|
19
|
+
};
|
20
|
+
} & typeof DaffImageBase;
|
21
|
+
export declare class DaffImageComponent extends _daffImageBase implements OnInit, DaffSkeletonable {
|
5
22
|
private sanitizer;
|
23
|
+
private elementRef;
|
24
|
+
private renderer;
|
6
25
|
private _src;
|
7
26
|
get src(): string;
|
8
27
|
set src(value: string);
|
@@ -20,7 +39,7 @@ export declare class DaffImageComponent implements OnInit {
|
|
20
39
|
* @docs-private
|
21
40
|
*/
|
22
41
|
ngOnInit(): void;
|
23
|
-
constructor(sanitizer: DomSanitizer);
|
42
|
+
constructor(sanitizer: DomSanitizer, elementRef: ElementRef, renderer: Renderer2);
|
24
43
|
/**
|
25
44
|
* @docs-private
|
26
45
|
*/
|
@@ -30,5 +49,6 @@ export declare class DaffImageComponent implements OnInit {
|
|
30
49
|
*/
|
31
50
|
get maxWidth(): string;
|
32
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageComponent, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "src": "src"; "alt": "alt"; "width": "width"; "height": "height"; }, { "load": "load"; }, never, never>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "skeleton": "skeleton"; "src": "src"; "alt": "alt"; "width": "width"; "height": "height"; }, { "load": "load"; }, never, never>;
|
34
53
|
}
|
54
|
+
export {};
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/button/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-button-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-button-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/button/examples/daffodil-design-button-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-button-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-button-examples.mjs",
|
8
|
-
"typings": "daffodil-design-button-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/button/examples","module":"../../fesm2015/daffodil-design-button-examples.mjs","es2020":"../../fesm2020/daffodil-design-button-examples.mjs","esm2020":"../../esm2020/button/examples/daffodil-design-button-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-button-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-button-examples.mjs","typings":"daffodil-design-button-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/callout/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-callout-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-callout-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/callout/examples/daffodil-design-callout-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-callout-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-callout-examples.mjs",
|
8
|
-
"typings": "daffodil-design-callout-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/callout/examples","module":"../../fesm2015/daffodil-design-callout-examples.mjs","es2020":"../../fesm2020/daffodil-design-callout-examples.mjs","esm2020":"../../esm2020/callout/examples/daffodil-design-callout-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-callout-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-callout-examples.mjs","typings":"daffodil-design-callout-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/card/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-card-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-card-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/card/examples/daffodil-design-card-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-card-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-card-examples.mjs",
|
8
|
-
"typings": "daffodil-design-card-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/card/examples","module":"../../fesm2015/daffodil-design-card-examples.mjs","es2020":"../../fesm2020/daffodil-design-card-examples.mjs","esm2020":"../../esm2020/card/examples/daffodil-design-card-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-card-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-card-examples.mjs","typings":"daffodil-design-card-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/checkbox/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-checkbox-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-checkbox-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-checkbox-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-checkbox-examples.mjs",
|
8
|
-
"typings": "daffodil-design-checkbox-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/checkbox/examples","module":"../../fesm2015/daffodil-design-checkbox-examples.mjs","es2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","esm2020":"../../esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-checkbox-examples.mjs","typings":"daffodil-design-checkbox-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -1,10 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "@daffodil/design/container/examples",
|
3
|
-
"module": "../../fesm2015/daffodil-design-container-examples.mjs",
|
4
|
-
"es2020": "../../fesm2020/daffodil-design-container-examples.mjs",
|
5
|
-
"esm2020": "../../esm2020/container/examples/daffodil-design-container-examples.mjs",
|
6
|
-
"fesm2020": "../../fesm2020/daffodil-design-container-examples.mjs",
|
7
|
-
"fesm2015": "../../fesm2015/daffodil-design-container-examples.mjs",
|
8
|
-
"typings": "daffodil-design-container-examples.d.ts",
|
9
|
-
"sideEffects": false
|
10
|
-
}
|
1
|
+
{"name":"@daffodil/design/container/examples","module":"../../fesm2015/daffodil-design-container-examples.mjs","es2020":"../../fesm2020/daffodil-design-container-examples.mjs","esm2020":"../../esm2020/container/examples/daffodil-design-container-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-container-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-container-examples.mjs","typings":"daffodil-design-container-examples.d.ts","sideEffects":false,"version":"0.59.1"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
2
|
+
import { Constructor } from '../constructor/constructor';
|
3
|
+
interface HasElementRef {
|
4
|
+
_elementRef: ElementRef;
|
5
|
+
_renderer: Renderer2;
|
6
|
+
}
|
7
|
+
export declare function daffSkeletonableMixin<T extends Constructor<HasElementRef>>(Base: T, defaultSkeleton?: boolean): {
|
8
|
+
new (...args: any[]): {
|
9
|
+
_skeleton: boolean;
|
10
|
+
skeleton: boolean;
|
11
|
+
_elementRef: ElementRef<any>;
|
12
|
+
_renderer: Renderer2;
|
13
|
+
};
|
14
|
+
} & T;
|
15
|
+
export {};
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Input, EventEmitter, Output, HostBinding, } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, Input, EventEmitter, ElementRef, Renderer2, Output, HostBinding, } from '@angular/core';
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
3
|
+
import { daffSkeletonableMixin, } from '../../core/skeletonable/public_api';
|
3
4
|
import { daffThumbnailCompatToken } from '../../molecules/media-gallery/public_api';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
import * as i1 from "@angular/platform-browser";
|
@@ -22,9 +23,22 @@ const validateProperties = (object, props) => {
|
|
22
23
|
throw new Error(`DaffImageComponent must have the ${invalidProps.join(',')} attributes defined.`);
|
23
24
|
}
|
24
25
|
};
|
25
|
-
|
26
|
-
|
26
|
+
/**
|
27
|
+
* An _elementRef is needed for the GolfGhostable mixin
|
28
|
+
*/
|
29
|
+
class DaffImageBase {
|
30
|
+
constructor(_elementRef, _renderer) {
|
31
|
+
this._elementRef = _elementRef;
|
32
|
+
this._renderer = _renderer;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
const _daffImageBase = daffSkeletonableMixin(DaffImageBase);
|
36
|
+
export class DaffImageComponent extends _daffImageBase {
|
37
|
+
constructor(sanitizer, elementRef, renderer) {
|
38
|
+
super(elementRef, renderer);
|
27
39
|
this.sanitizer = sanitizer;
|
40
|
+
this.elementRef = elementRef;
|
41
|
+
this.renderer = renderer;
|
28
42
|
// TODO: rename event to not collide with native event (unless that's intentional)
|
29
43
|
// eslint-disable-next-line @angular-eslint/no-output-native
|
30
44
|
this.load = new EventEmitter();
|
@@ -79,13 +93,13 @@ export class DaffImageComponent {
|
|
79
93
|
return this.width + 'px';
|
80
94
|
}
|
81
95
|
}
|
82
|
-
/** @nocollapse */ DaffImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
83
|
-
/** @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: [
|
96
|
+
/** @nocollapse */ DaffImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
97
|
+
/** @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: [
|
84
98
|
{
|
85
99
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
86
100
|
provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
|
87
101
|
},
|
88
|
-
], 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 });
|
102
|
+
], 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 });
|
89
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffImageComponent, decorators: [{
|
90
104
|
type: Component,
|
91
105
|
args: [{ selector: 'daff-image', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
@@ -93,8 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
93
107
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
94
108
|
provide: daffThumbnailCompatToken, useExisting: DaffImageComponent,
|
95
109
|
},
|
96
|
-
], 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"] }]
|
97
|
-
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { src: [{
|
110
|
+
], 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"] }]
|
111
|
+
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { src: [{
|
98
112
|
type: Input
|
99
113
|
}], alt: [{
|
100
114
|
type: Input
|
@@ -108,4 +122,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
108
122
|
type: HostBinding,
|
109
123
|
args: ['style.max-width']
|
110
124
|
}] } });
|
111
|
-
//# sourceMappingURL=data:application/json;base64,
|
125
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2F0b21zL2ltYWdlL2ltYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9pbWFnZS9pbWFnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULHVCQUF1QixFQUN2QixLQUFLLEVBQ0wsWUFBWSxFQUVaLFVBQVUsRUFDVixTQUFTLEVBQ1QsTUFBTSxFQUNOLFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsWUFBWSxFQ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pcy53aWR0aCArICdweCc7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJkYWZmLWltYWdlX193cmFwcGVyXCIgW3N0eWxlLnBhZGRpbmdUb3BdPVwiX3BhZGRpbmdUb3BcIj5cblx0PGltZyBbc3JjXT1cInNyY1wiIFthbHRdPVwiYWx0XCIgKGxvYWQpPVwibG9hZC5lbWl0XCIgbG9hZGluZz1cImxhenlcIi8+XG48L2Rpdj4iXX0=
|
@@ -9,7 +9,7 @@ export class BasicCardComponent {
|
|
9
9
|
}
|
10
10
|
}
|
11
11
|
/** @nocollapse */ BasicCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
12
|
-
/** @nocollapse */ BasicCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicCardComponent, selector: "basic-card", ngImport: i0, template: "<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors.</p>\n <p>The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n", styles: ["daff-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }, { type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { type: i1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardIconDirective, selector: "[daffCardIcon]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i1.DaffCardActionsDirective, selector: "[daffCardActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
12
|
+
/** @nocollapse */ BasicCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicCardComponent, selector: "basic-card", ngImport: i0, template: "<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors.</p>\n <p>The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n", styles: ["daff-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }, { type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { type: i1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardIconDirective, selector: "[daffCardIcon]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i1.DaffCardActionsDirective, selector: "[daffCardActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicCardComponent, decorators: [{
|
14
14
|
type: Component,
|
15
15
|
args: [{ selector: 'basic-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-card>\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors.</p>\n <p>The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n <div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n", styles: ["daff-card{max-width:480px}\n"] }]
|
@@ -18,7 +18,7 @@ export class CardOrientationComponent {
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
/** @nocollapse */ CardOrientationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CardOrientationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
21
|
-
/** @nocollapse */ CardOrientationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: CardOrientationComponent, selector: "card-orientation", ngImport: i0, template: "<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-card--vertical{max-width:560px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }, { type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { type: i1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardIconDirective, selector: "[daffCardIcon]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i1.DaffCardActionsDirective, selector: "[daffCardActions]" }, { type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
21
|
+
/** @nocollapse */ CardOrientationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: CardOrientationComponent, selector: "card-orientation", ngImport: i0, template: "<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-card--vertical{max-width:560px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }, { type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { type: i1.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardIconDirective, selector: "[daffCardIcon]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i1.DaffCardActionsDirective, selector: "[daffCardActions]" }, { type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CardOrientationComponent, decorators: [{
|
23
23
|
type: Component,
|
24
24
|
args: [{ selector: 'card-orientation', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-card [orientation]=\"orientationControl.value\">\n <daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n <fa-icon daffCardIcon [icon]=\"faMapMarked\"></fa-icon>\n <div daffCardTagline>Basel, Switzerland</div>\n <h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n <p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n </div>\n\t<div daffCardActions>\n <button daff-button color=\"theme-contrast\">Learn More</button>\n </div>\n</daff-card>\n\n<select [formControl]=\"orientationControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-card--vertical{max-width:560px}\n"] }]
|
@@ -22,7 +22,7 @@ export class LinkableCardComponent {
|
|
22
22
|
}
|
23
23
|
}
|
24
24
|
/** @nocollapse */ LinkableCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LinkableCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
25
|
-
/** @nocollapse */ LinkableCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: LinkableCardComponent, selector: "linkable-card", ngImport: i0, template: "<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["a.daff-card,a.daff-raised-card,a.daff-stroked-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
25
|
+
/** @nocollapse */ LinkableCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: LinkableCardComponent, selector: "linkable-card", ngImport: i0, template: "<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["a.daff-card,a.daff-raised-card,a.daff-stroked-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LinkableCardComponent, decorators: [{
|
27
27
|
type: Component,
|
28
28
|
args: [{ selector: 'linkable-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<a daff-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"basicColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"basicColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-raised-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"raisedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>\n\n<a daff-stroked-card href=\"https://www.basel.com/en/attractions/basel-exhibition-centre-f45d5dd6f0\" target=\"_blank\" [color]=\"strokedColorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</a>\n\n<select [formControl]=\"strokedColorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["a.daff-card,a.daff-raised-card,a.daff-stroked-card{max-width:480px}\n"] }]
|
@@ -20,7 +20,7 @@ export class RaisedCardComponent {
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
/** @nocollapse */ RaisedCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: RaisedCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
23
|
-
/** @nocollapse */ RaisedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: RaisedCardComponent, selector: "raised-card", ngImport: i0, template: "<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["daff-raised-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
23
|
+
/** @nocollapse */ RaisedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: RaisedCardComponent, selector: "raised-card", ngImport: i0, template: "<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["daff-raised-card{max-width:480px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: RaisedCardComponent, decorators: [{
|
25
25
|
type: Component,
|
26
26
|
args: [{ selector: 'raised-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-raised-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-raised-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: ["daff-raised-card{max-width:480px}\n"] }]
|
@@ -20,7 +20,7 @@ export class StrokedCardComponent {
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
/** @nocollapse */ StrokedCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: StrokedCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
23
|
-
/** @nocollapse */ StrokedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: StrokedCardComponent, selector: "stroked-card", ngImport: i0, template: "<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [":host{display:block;max-width:340px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
23
|
+
/** @nocollapse */ StrokedCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: StrokedCardComponent, selector: "stroked-card", ngImport: i0, template: "<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [":host{display:block;max-width:340px}\n"], components: [{ type: i1.DaffCardComponent, selector: "daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]", inputs: ["color", "orientation"] }, { type: i1.DaffImageComponent, selector: "daff-image", inputs: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i1.DaffCardImageDirective, selector: "[daffCardImage]" }, { type: i1.DaffCardTaglineDirective, selector: "[daffCardTagline]" }, { type: i1.DaffCardTitleDirective, selector: "[daffCardTitle]" }, { type: i1.DaffCardContentDirective, selector: "[daffCardContent]" }, { type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: StrokedCardComponent, decorators: [{
|
25
25
|
type: Component,
|
26
26
|
args: [{ selector: 'stroked-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-stroked-card [color]=\"colorControl.value\">\n\t<daff-image daffCardImage\n\t\tsrc=\"https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80\"\n\t\talt=\"Bottom up view of Basel exhibition centre\"\n\t\twidth=\"1261\"\n\t\theight=\"946\">\n\t</daff-image>\n\t<div daffCardTagline>Basel, Switzerland</div>\n\t<h4 daffCardTitle>Basel Exhibition Centre</h4>\n\t<div daffCardContent>\n\t\t<p>This covered, public space not only marks the entrance to the exhibitions, but also functions as a meeting place for locals and visitors. The architects called the prominent hole in the middle the \"Fenster zum Himmel\" (\"window to heaven\").</p>\n\t</div>\n</daff-stroked-card>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [":host{display:block;max-width:340px}\n"] }]
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { daffSkeletonableMixin } from './skeletonable-mixin';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9jb3JlL3NrZWxldG9uYWJsZS9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRGFmZlNrZWxldG9uYWJsZSB9IGZyb20gJy4vc2tlbGV0b25hYmxlJztcbmV4cG9ydCB7IGRhZmZTa2VsZXRvbmFibGVNaXhpbiB9IGZyb20gJy4vc2tlbGV0b25hYmxlLW1peGluJztcbiJdfQ==
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export function daffSkeletonableMixin(Base, defaultSkeleton = false) {
|
2
|
+
return class extends Base {
|
3
|
+
constructor(...args) {
|
4
|
+
super(...args);
|
5
|
+
this.skeleton = defaultSkeleton;
|
6
|
+
}
|
7
|
+
get skeleton() {
|
8
|
+
return this._skeleton;
|
9
|
+
}
|
10
|
+
set skeleton(value) {
|
11
|
+
// Handles the default skeleton
|
12
|
+
const incomingSkeleton = value || defaultSkeleton;
|
13
|
+
if (incomingSkeleton === this._skeleton) { // Only run the dom-render if a change occurs
|
14
|
+
return;
|
15
|
+
}
|
16
|
+
if (incomingSkeleton) {
|
17
|
+
this._renderer.addClass(this._elementRef.nativeElement, `daff-skeleton`);
|
18
|
+
}
|
19
|
+
else {
|
20
|
+
this._renderer.removeClass(this._elementRef.nativeElement, `daff-skeleton`);
|
21
|
+
}
|
22
|
+
this._skeleton = incomingSkeleton;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b25hYmxlLW1peGluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL2NvcmUvc2tlbGV0b25hYmxlL3NrZWxldG9uYWJsZS1taXhpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZQSxNQUFNLFVBQ04scUJBQXFCLENBQXVDLElBQU8sRUFBRSxrQkFBMkIsS0FBSztJQUNuRyxPQUFPLEtBQU0sU0FBUSxJQUFJO1FBeUJ2QixZQUFZLEdBQUcsSUFBVztZQUN4QixLQUFLLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQztZQUNmLElBQUksQ0FBQyxRQUFRLEdBQUcsZUFBZSxDQUFDO1FBQ2xDLENBQUM7UUF4QkQsSUFBSSxRQUFRO1lBQ1YsT0FBTyxJQUFJLENBQUMsU0FBUyxDQUFDO1FBQ3hCLENBQUM7UUFFRCxJQUFJLFFBQVEsQ0FBQyxLQUFjO1lBQ3pCLCtCQUErQjtZQUMvQixNQUFNLGdCQUFnQixHQUFHLEtBQUssSUFBSSxlQUFlLENBQUM7W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ZXRvbjogYm9vbGVhbjtcblxuICAgIGdldCBza2VsZXRvbigpOiBib29sZWFuIHtcbiAgICAgIHJldHVybiB0aGlzLl9za2VsZXRvbjtcbiAgICB9XG5cbiAgICBzZXQgc2tlbGV0b24odmFsdWU6IGJvb2xlYW4pIHtcbiAgICAgIC8vIEhhbmRsZXMgdGhlIGRlZmF1bHQgc2tlbGV0b25cbiAgICAgIGNvbnN0IGluY29taW5nU2tlbGV0b24gPSB2YWx1ZSB8fCBkZWZhdWx0U2tlbGV0b247XG5cbiAgICAgIGlmIChpbmNvbWluZ1NrZWxldG9uID09PSB0aGlzLl9za2VsZXRvbikgeyAvLyBPbmx5IHJ1biB0aGUgZG9tLXJlbmRlciBpZiBhIGNoYW5nZSBvY2N1cnNcbiAgICAgICAgcmV0dXJuO1xuICAgICAgfVxuXG4gICAgICBpZiAoaW5jb21pbmdTa2VsZXRvbikge1xuICAgICAgICB0aGlzLl9yZW5kZXJlci5hZGRDbGFzcyh0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBkYWZmLXNrZWxldG9uYCk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLl9yZW5kZXJlci5yZW1vdmVDbGFzcyh0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsIGBkYWZmLXNrZWxldG9uYCk7XG4gICAgICB9XG5cbiAgICAgIHRoaXMuX3NrZWxldG9uID0gaW5jb21pbmdTa2VsZXRvbjtcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvciguLi5hcmdzOiBhbnlbXSkge1xuICAgICAgc3VwZXIoLi4uYXJncyk7XG4gICAgICB0aGlzLnNrZWxldG9uID0gZGVmYXVsdFNrZWxldG9uO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -4,7 +4,7 @@ import * as i1 from "@daffodil/design";
|
|
4
4
|
export class BasicImageComponent {
|
5
5
|
}
|
6
6
|
/** @nocollapse */ BasicImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
/** @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 });
|
7
|
+
/** @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: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicImageComponent, decorators: [{
|
9
9
|
type: Component,
|
10
10
|
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>" }]
|
@@ -11,7 +11,7 @@ export class LoadImageComponent {
|
|
11
11
|
}
|
12
12
|
}
|
13
13
|
/** @nocollapse */ LoadImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
14
|
-
/** @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 });
|
14
|
+
/** @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: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LoadImageComponent, decorators: [{
|
16
16
|
type: Component,
|
17
17
|
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>" }]
|
@@ -2,8 +2,11 @@ import { BasicImageComponent } from './basic-image/basic-image.component';
|
|
2
2
|
import { BasicImageModule } from './basic-image/basic-image.module';
|
3
3
|
import { LoadImageComponent } from './load-image/load-image.component';
|
4
4
|
import { LoadImageModule } from './load-image/load-image.module';
|
5
|
+
import { SkeletonImageComponent } from './skeleton-image/skeleton-image.component';
|
6
|
+
import { SkeletonImageModule } from './skeleton-image/skeleton-image.module';
|
5
7
|
export const IMAGE_EXAMPLES = [
|
6
8
|
{ component: BasicImageComponent, module: BasicImageModule },
|
7
9
|
{ component: LoadImageComponent, module: LoadImageModule },
|
10
|
+
{ component: SkeletonImageComponent, module: SkeletonImageModule },
|
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ZW50IH0gZnJvbSAnLi9iYXNpYy1pbWFnZS9iYXNpYy1pbWFnZS5jb21wb25lbnQnO1xuaW1wb3J0IHsgQmFzaWNJbWFnZU1vZHVsZSB9IGZyb20gJy4vYmFzaWMtaW1hZ2UvYmFzaWMtaW1hZ2UubW9kdWxlJztcbmltcG9ydCB7IExvYWRJbWFnZUNvbXBvbmVudCB9IGZyb20gJy4vbG9hZC1pbWFnZS9sb2FkLWltYWdlLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBMb2FkSW1hZ2VNb2R1bGUgfSBmcm9tICcuL2xvYWQtaW1hZ2UvbG9hZC1pbWFnZS5tb2R1bGUnO1xuaW1wb3J0IHsgU2tlbGV0b25JbWFnZUNvbXBvbmVudCB9IGZyb20gJy4vc2tlbGV0b24taW1hZ2Uvc2tlbGV0b24taW1hZ2UuY29tcG9uZW50JztcbmltcG9ydCB7IFNrZWxldG9uSW1hZ2VNb2R1bGUgfSBmcm9tICcuL3NrZWxldG9uLWltYWdlL3NrZWxldG9uLWltYWdlLm1vZHVsZSc7XG5cbmV4cG9ydCBjb25zdCBJTUFHRV9FWEFNUExFUzogQ29tcG9uZW50RXhhbXBsZVtdID0gW1xuICB7IGNvbXBvbmVudDogQmFzaWNJbWFnZUNvbXBvbmVudCwgbW9kdWxlOiBCYXNpY0ltYWdlTW9kdWxlIH0sXG4gIHsgY29tcG9uZW50OiBMb2FkSW1hZ2VDb21wb25lbnQsIG1vZHVsZTogTG9hZEltYWdlTW9kdWxlIH0sXG4gIHsgY29tcG9uZW50OiBTa2VsZXRvbkltYWdlQ29tcG9uZW50LCBtb2R1bGU6IFNrZWxldG9uSW1hZ2VNb2R1bGUgfSxcbl07XG4iXX0=
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@daffodil/design";
|
4
|
+
export class SkeletonImageComponent {
|
5
|
+
}
|
6
|
+
/** @nocollapse */ SkeletonImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
+
/** @nocollapse */ SkeletonImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SkeletonImageComponent, selector: "skeleton-image", ngImport: i0, template: "<daff-image [skeleton]=\"true\"\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: ["skeleton", "src", "alt", "width", "height"], outputs: ["load"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageComponent, decorators: [{
|
9
|
+
type: Component,
|
10
|
+
args: [{ selector: 'skeleton-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-image [skeleton]=\"true\"\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>" }]
|
11
|
+
}] });
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b24taW1hZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24va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mNvbS9waG90by0xNTkzNTE5NzQ5MzQ3LTgwZjEwMWU5MzExMz9peGlkPU1ud3hNakEzZkRCOE1IeHdhRzkwYnkxd1lXZGxmSHg4ZkdWdWZEQjhmSHg4Jml4bGliPXJiLTEuMi4xJmF1dG89Zm9ybWF0JmZpdD1jcm9wJnc9Mzc3NCZxPTgwXCJcblx0YWx0PVwiQm90dG9tIHVwIHZpZXcgb2YgQmFzZWwgZXhoaWJpdGlvbiBjZW50cmVcIlxuXHR3aWR0aD1cIjEyNjFcIlxuXHRoZWlnaHQ9XCI5NDZcIj5cbjwvZGFmZi1pbWFnZT4iXX0=
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { DaffImageModule } from '@daffodil/design';
|
3
|
+
import { SkeletonImageComponent } from './skeleton-image.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class SkeletonImageModule {
|
6
|
+
}
|
7
|
+
/** @nocollapse */ SkeletonImageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
8
|
+
/** @nocollapse */ SkeletonImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageModule, declarations: [SkeletonImageComponent], imports: [DaffImageModule], exports: [SkeletonImageComponent] });
|
9
|
+
/** @nocollapse */ SkeletonImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageModule, imports: [[
|
10
|
+
DaffImageModule,
|
11
|
+
]] });
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SkeletonImageModule, decorators: [{
|
13
|
+
type: NgModule,
|
14
|
+
args: [{
|
15
|
+
declarations: [
|
16
|
+
SkeletonImageComponent,
|
17
|
+
],
|
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cm9tICdAZGFmZm9kaWwvZGVzaWduJztcblxuaW1wb3J0IHsgU2tlbGV0b25JbWFnZUNvbXBvbmVudCB9IGZyb20gJy4vc2tlbGV0b24taW1hZ2UuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgU2tlbGV0b25JbWFnZUNvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIFNrZWxldG9uSW1hZ2VDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBEYWZmSW1hZ2VNb2R1bGUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFNrZWxldG9uSW1hZ2VNb2R1bGUgeyB9XG4iXX0=
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@daffodil/design";
|
4
|
+
export class BasicInputComponent {
|
5
|
+
}
|
6
|
+
/** @nocollapse */ BasicInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
+
/** @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 });
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicInputComponent, decorators: [{
|
9
|
+
type: Component,
|
10
|
+
args: [{ selector: 'basic-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input daff-input type=\"text\" placeholder=\"Email\" name=\"email\" />" }]
|
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