@eui/ecl 16.2.10 → 16.2.11-snapshot-1706843513754
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/docs/components/EclPaginationItemComponent.html +1 -6
- package/docs/dependencies.html +2 -2
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/lib/components/ecl-pagination/ecl-pagination-item.component.mjs +3 -4
- package/fesm2022/eui-ecl.mjs +2 -3
- package/fesm2022/eui-ecl.mjs.map +1 -1
- package/lib/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -20,7 +20,6 @@ export class EclPaginationItemComponent extends ECLBaseDirective {
|
|
|
20
20
|
this.routerLink = null;
|
|
21
21
|
this.queryParams = null;
|
|
22
22
|
this.queryParamsHandling = null;
|
|
23
|
-
this.href = '';
|
|
24
23
|
this.pageClick = new EventEmitter();
|
|
25
24
|
}
|
|
26
25
|
get cssClasses() {
|
|
@@ -63,7 +62,7 @@ export class EclPaginationItemComponent extends ECLBaseDirective {
|
|
|
63
62
|
return key;
|
|
64
63
|
}
|
|
65
64
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EclPaginationItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EclPaginationItemComponent, selector: "ecl-pagination-item", inputs: { label: "label", ariaLabel: "ariaLabel", isCurrent: "isCurrent", isNext: "isNext", isPrevious: "isPrevious", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<
|
|
65
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EclPaginationItemComponent, selector: "ecl-pagination-item", inputs: { label: "label", ariaLabel: "ariaLabel", isCurrent: "isCurrent", isNext: "isNext", isPrevious: "isPrevious", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!isCurrent\">\n <a *ngIf=\"routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n <a *ngIf=\"!routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [attr.href]=\"href\" class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n \n</ng-container>\n<ng-container *ngIf=\"isCurrent\">\n <span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n </span>\n <span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n </span>\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "isInverted", "ariaHidden", "focusable"] }, { kind: "directive", type: i4.EclLinkDirective, selector: "[eclLink]", inputs: ["variant", "isNegative", "isNoVisited"] }, { kind: "directive", type: i5.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
67
66
|
}
|
|
68
67
|
__decorate([
|
|
69
68
|
coerceBoolean
|
|
@@ -76,7 +75,7 @@ __decorate([
|
|
|
76
75
|
], EclPaginationItemComponent.prototype, "isPrevious", void 0);
|
|
77
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EclPaginationItemComponent, decorators: [{
|
|
78
77
|
type: Component,
|
|
79
|
-
args: [{ selector: 'ecl-pagination-item', encapsulation: ViewEncapsulation.None, template: "<
|
|
78
|
+
args: [{ selector: 'ecl-pagination-item', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"!isCurrent\">\n <a *ngIf=\"routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n <a *ngIf=\"!routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [attr.href]=\"href\" class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n \n</ng-container>\n<ng-container *ngIf=\"isCurrent\">\n <span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n </span>\n <span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n </span>\n</ng-container>" }]
|
|
80
79
|
}], propDecorators: { cssClasses: [{
|
|
81
80
|
type: HostBinding,
|
|
82
81
|
args: ['class']
|
|
@@ -104,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
104
103
|
}], pageClick: [{
|
|
105
104
|
type: Output
|
|
106
105
|
}] } });
|
|
107
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
106
|
+
//# sourceMappingURL=data:application/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ZW50PigpO1xuXG4gICAgb25QYWdlQ2xpY2soZXZ0OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgICAgIHRoaXMucGFnZUNsaWNrLm5leHQobmV3IEVjbFBhZ2luYXRpb25JdGVtQ2xpY2tFdmVudCgpKTtcbiAgICAgICAgaWYgKCF0aGlzLmhyZWYpIHtcbiAgICAgICAgICAgIGV2dC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGdldGkxOG5QYWdlQXJpYUxhYmVsS2V5KCk6IHN0cmluZyB7XG4gICAgICAgIGxldCBrZXkgPSAnJztcblxuICAgICAgICBpZiAodGhpcy5pc05leHQpIHtcbiAgICAgICAgICAgIGtleSA9ICdlY2wucGFnaW5hdGlvbi5HTy1UTy1ORVhULVBBR0UnO1xuICAgICAgICB9IGVsc2UgaWYgKHRoaXMuaXNQcmV2aW91cykge1xuICAgICAgICAgICAga2V5ID0gJ2VjbC5wYWdpbmF0aW9uLkdPLVRPLVBSRVYtUEFHRSc7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBrZXkgPSAnZWNsLnBhZ2luYXRpb24uR08tVE8tUEFHRSc7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGtleTtcbiAgICB9XG5cbiAgICBnZXRpMThuUGFnZUxhYmVsS2V5KCk6IHN0cmluZyB7XG4gICAgICAgIGxldCBrZXkgPSAnJztcblxuICAgICAgICBpZiAodGhpcy5pc05leHQpIHtcbiAgICAgICAgICAgIGtleSA9ICdlY2wucGFnaW5hdGlvbi5ORVhUJztcbiAgICAgICAgfSBlbHNlIGlmICh0aGlzLmlzUHJldmlvdXMpIHtcbiAgICAgICAgICAgIGtleSA9ICdlY2wucGFnaW5hdGlvbi5QUkVWSU9VUyc7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGtleTtcbiAgICB9XG59XG4iLCI8bmctY29udGFpbmVyICpuZ0lmPVwiIWlzQ3VycmVudFwiPlxu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ZW50PVwidHJ1ZVwiPlxuICAgICAgICB7eyBsYWJlbCB9fVxuICAgIDwvc3Bhbj5cbiAgICA8c3BhbiBjbGFzcz1cImVjbC1wYWdpbmF0aW9uX190ZXh0IGVjbC1wYWdpbmF0aW9uX190ZXh0LS1mdWxsXCIgYXJpYS1jdXJyZW50PVwidHJ1ZVwiPlxuICAgICAgICB7eyAnZWNsLnBhZ2luYXRpb24uUEFHRScgfCB0cmFuc2xhdGU6IHsgcGFnZU51bWJlcjogbGFiZWwgfSB9fVxuICAgIDwvc3Bhbj5cbjwvbmctY29udGFpbmVyPiJdfQ==
|
package/fesm2022/eui-ecl.mjs
CHANGED
|
@@ -12772,7 +12772,6 @@ class EclPaginationItemComponent extends ECLBaseDirective {
|
|
|
12772
12772
|
this.routerLink = null;
|
|
12773
12773
|
this.queryParams = null;
|
|
12774
12774
|
this.queryParamsHandling = null;
|
|
12775
|
-
this.href = '';
|
|
12776
12775
|
this.pageClick = new EventEmitter();
|
|
12777
12776
|
}
|
|
12778
12777
|
get cssClasses() {
|
|
@@ -12815,7 +12814,7 @@ class EclPaginationItemComponent extends ECLBaseDirective {
|
|
|
12815
12814
|
return key;
|
|
12816
12815
|
}
|
|
12817
12816
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EclPaginationItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12818
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EclPaginationItemComponent, selector: "ecl-pagination-item", inputs: { label: "label", ariaLabel: "ariaLabel", isCurrent: "isCurrent", isNext: "isNext", isPrevious: "isPrevious", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<
|
|
12817
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EclPaginationItemComponent, selector: "ecl-pagination-item", inputs: { label: "label", ariaLabel: "ariaLabel", isCurrent: "isCurrent", isNext: "isNext", isPrevious: "isPrevious", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!isCurrent\">\n <a *ngIf=\"routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n <a *ngIf=\"!routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [attr.href]=\"href\" class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n \n</ng-container>\n<ng-container *ngIf=\"isCurrent\">\n <span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n </span>\n <span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n </span>\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "isInverted", "ariaHidden", "focusable"] }, { kind: "directive", type: EclLinkDirective, selector: "[eclLink]", inputs: ["variant", "isNegative", "isNoVisited"] }, { kind: "directive", type: EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
12819
12818
|
}
|
|
12820
12819
|
__decorate([
|
|
12821
12820
|
coerceBoolean
|
|
@@ -12828,7 +12827,7 @@ __decorate([
|
|
|
12828
12827
|
], EclPaginationItemComponent.prototype, "isPrevious", void 0);
|
|
12829
12828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EclPaginationItemComponent, decorators: [{
|
|
12830
12829
|
type: Component,
|
|
12831
|
-
args: [{ selector: 'ecl-pagination-item', encapsulation: ViewEncapsulation.None, template: "<
|
|
12830
|
+
args: [{ selector: 'ecl-pagination-item', encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"!isCurrent\">\n <a *ngIf=\"routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n <a *ngIf=\"!routerLink\" eclLink (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [attr.href]=\"href\" class=\"ecl-pagination__link\" tabindex=\"{{tabindex}}\">\n <ng-container *ngIf=\"isPrevious\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n </ng-container>\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n <ng-container *ngIf=\"isNext\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n </ng-container>\n </a>\n \n</ng-container>\n<ng-container *ngIf=\"isCurrent\">\n <span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n </span>\n <span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n </span>\n</ng-container>" }]
|
|
12832
12831
|
}], propDecorators: { cssClasses: [{
|
|
12833
12832
|
type: HostBinding,
|
|
12834
12833
|
args: ['class']
|