@agorapulse/ui-components 14.0.0 → 14.0.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/agorapulse-ui-components-14.0.1.tgz +0 -0
- package/esm2020/src/lib/directives/default-image.directive.mjs +10 -7
- package/esm2020/src/lib/directives/frozen-gif.directive.mjs +6 -2
- package/esm2020/src/lib/labels/label-list.component.mjs +2 -2
- package/fesm2015/agorapulse-ui-components.mjs +15 -7
- package/fesm2015/agorapulse-ui-components.mjs.map +1 -1
- package/fesm2020/agorapulse-ui-components.mjs +14 -7
- package/fesm2020/agorapulse-ui-components.mjs.map +1 -1
- package/package.json +2 -2
- package/src/lib/directives/default-image.directive.d.ts +1 -1
- package/agorapulse-ui-components-14.0.0.tgz +0 -0
|
@@ -1041,7 +1041,7 @@ class LabelListComponent {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
ngOnChanges(changes) {
|
|
1044
|
-
if (changes.labels
|
|
1044
|
+
if (changes.labels?.currentValue && this.responsive) {
|
|
1045
1045
|
this.generateResponsiveLabels(this.elementRef.nativeElement.getElementsByClassName('labels-list')[0].offsetWidth);
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
@@ -1196,11 +1196,15 @@ class FrozenGifDirective {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
FrozenGifDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FrozenGifDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1199
|
-
FrozenGifDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: FrozenGifDirective, selector: "img[apFrozenGif]", inputs: { src: "src", apFrozen: "apFrozen", apGifEvents: "apGifEvents" }, usesOnChanges: true, ngImport: i0 });
|
|
1199
|
+
FrozenGifDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: FrozenGifDirective, selector: "img[apFrozenGif]", inputs: { src: "src", apFrozen: "apFrozen", apGifEvents: "apGifEvents" }, host: { properties: { "src": "src" } }, usesOnChanges: true, ngImport: i0 });
|
|
1200
1200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FrozenGifDirective, decorators: [{
|
|
1201
1201
|
type: Directive,
|
|
1202
1202
|
args: [{
|
|
1203
1203
|
selector: 'img[apFrozenGif]',
|
|
1204
|
+
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
1205
|
+
host: {
|
|
1206
|
+
'[src]': 'src'
|
|
1207
|
+
}
|
|
1204
1208
|
}]
|
|
1205
1209
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { src: [{
|
|
1206
1210
|
type: Input
|
|
@@ -2338,19 +2342,22 @@ class DefaultImageDirective {
|
|
|
2338
2342
|
}
|
|
2339
2343
|
}
|
|
2340
2344
|
DefaultImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: DefaultImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2341
|
-
DefaultImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: DefaultImageDirective, selector: "img[
|
|
2345
|
+
DefaultImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: DefaultImageDirective, selector: "img[default]", inputs: { src: "src", default: "default" }, host: { listeners: { "error": "updateUrl()" }, properties: { "src": "src" } }, ngImport: i0 });
|
|
2342
2346
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: DefaultImageDirective, decorators: [{
|
|
2343
2347
|
type: Directive,
|
|
2344
2348
|
args: [{
|
|
2345
|
-
selector
|
|
2349
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
2350
|
+
selector: 'img[default]',
|
|
2351
|
+
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
2352
|
+
host: {
|
|
2353
|
+
'(error)': 'updateUrl()',
|
|
2354
|
+
'[src]': 'src'
|
|
2355
|
+
}
|
|
2346
2356
|
}]
|
|
2347
2357
|
}], propDecorators: { src: [{
|
|
2348
2358
|
type: Input
|
|
2349
2359
|
}], default: [{
|
|
2350
2360
|
type: Input
|
|
2351
|
-
}], updateUrl: [{
|
|
2352
|
-
type: HostListener,
|
|
2353
|
-
args: ['error']
|
|
2354
2361
|
}] } });
|
|
2355
2362
|
|
|
2356
2363
|
/**
|