@gettrx/core-components-angular 1.0.25 → 1.0.27
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/esm2022/lib/molecules/numeric-counter/gtr-numeric-counter.module.mjs +5 -4
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.mjs +4 -3
- package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.component.mjs +2 -2
- package/fesm2022/gettrx-core-components-angular.mjs +7 -7
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/lib/molecules/numeric-counter/gtr-numeric-counter.module.d.ts +2 -1
- package/package.json +2 -2
|
@@ -2,18 +2,19 @@ import { NgModule } from '@angular/core';
|
|
|
2
2
|
import { NgClass, NgIf } from '@angular/common';
|
|
3
3
|
import { GtrNumericCounterComponent } from './numeric-counter/gtr-numeric-counter.component';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { GtrIconModule } from '../../atoms/icon';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export class GtrNumericCounterModule {
|
|
7
8
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, declarations: [GtrNumericCounterComponent], imports: [NgIf, NgClass, FormsModule], exports: [GtrNumericCounterComponent] }); }
|
|
9
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, imports: [FormsModule] }); }
|
|
9
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, declarations: [GtrNumericCounterComponent], imports: [NgIf, NgClass, FormsModule, GtrIconModule], exports: [GtrNumericCounterComponent] }); }
|
|
10
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, imports: [FormsModule, GtrIconModule] }); }
|
|
10
11
|
}
|
|
11
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, decorators: [{
|
|
12
13
|
type: NgModule,
|
|
13
14
|
args: [{
|
|
14
15
|
declarations: [GtrNumericCounterComponent],
|
|
15
|
-
imports: [NgIf, NgClass, FormsModule],
|
|
16
|
+
imports: [NgIf, NgClass, FormsModule, GtrIconModule],
|
|
16
17
|
exports: [GtrNumericCounterComponent],
|
|
17
18
|
}]
|
|
18
19
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLW51bWVyaWMtY291bnRlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9udW1lcmljLWNvdW50ZXIvZ3RyLW51bWVyaWMtY291bnRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2hELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGlEQUFpRCxDQUFDO0FBQzdGLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQ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NDb3VudGVyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgR3RyTnVtZXJpY0NvdW50ZXJNb2R1bGUge31cbiJdfQ==
|
package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { GtrComponentName } from './gtr-numeric-counter.const';
|
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "../../../atoms/icon/gtr-icon.component";
|
|
6
7
|
export class GtrNumericCounterComponent {
|
|
7
8
|
constructor() {
|
|
8
9
|
/*
|
|
@@ -125,7 +126,7 @@ export class GtrNumericCounterComponent {
|
|
|
125
126
|
useExisting: forwardRef((() => GtrNumericCounterComponent)),
|
|
126
127
|
multi: true,
|
|
127
128
|
},
|
|
128
|
-
], ngImport: i0, template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <
|
|
129
|
+
], ngImport: i0, template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <gtr-icon name=\"minus\" [size]=\"18\"></gtr-icon>\n </button>\n <input\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n role=\"spinbutton\"\n class=\"gtr-numeric-counter-input\"\n type=\"number\"\n [step]=\"step\"\n [min]=\"min\"\n [max]=\"max\"\n [name]=\"name\"\n [value]=\"value\"\n pattern=\"[0-9]*\"\n inputmode=\"numeric\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"value\"\n (change)=\"handleOnChange($event)\"\n />\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isplus\"\n [attr.aria-disabled]=\"value >= max ? 'true' : 'false'\"\n (click)=\"incrementCounter()\"\n [disabled]=\"value >= max - 1\"\n >\n <gtr-icon name=\"plus\" [size]=\"18\"></gtr-icon>\n </button>\n</div>\n", styles: [":host{--gtr-component-numeric-counter-bg-color: rgba(213, 213, 213, 1)}.gtr-numeric-counter-wrapper *,.gtr-numeric-counter-wrapper *:after,.gtr-numeric-counter-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-numeric-counter-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:center;width:-moz-fit-content;width:fit-content}.gtr-numeric-counter-wrapper.disabled{pointer-events:none;cursor:default;opacity:.5}.gtr-numeric-counter-wrapper.readonly{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button{width:30px;height:25px;outline:none;border:none;border:solid 1px var(--gtr-component-numeric-counter-bg-color);background:var(--gtr-component-numeric-counter-bg-color);display:flex;align-items:center;align-self:center;justify-content:center;cursor:pointer}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button::ng-deep gtr-icon{color:#000}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:disabled{pointer-events:none;opacity:.5;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:first-child{border-radius:6px 0 0 6px}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:last-child{border-radius:0 6px 6px 0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input{color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-size:17px;height:25px;font-style:normal;font-weight:400;line-height:normal;width:33px;outline:none;border:none;text-align:center;border:solid 1px var(--gtr-component-numeric-counter-bg-color);border-radius:0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input:disabled{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-outer-spin-button,.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
|
|
129
130
|
}
|
|
130
131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterComponent, decorators: [{
|
|
131
132
|
type: Component,
|
|
@@ -135,7 +136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
135
136
|
useExisting: forwardRef((() => GtrNumericCounterComponent)),
|
|
136
137
|
multi: true,
|
|
137
138
|
},
|
|
138
|
-
], template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <
|
|
139
|
+
], template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <gtr-icon name=\"minus\" [size]=\"18\"></gtr-icon>\n </button>\n <input\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n role=\"spinbutton\"\n class=\"gtr-numeric-counter-input\"\n type=\"number\"\n [step]=\"step\"\n [min]=\"min\"\n [max]=\"max\"\n [name]=\"name\"\n [value]=\"value\"\n pattern=\"[0-9]*\"\n inputmode=\"numeric\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"value\"\n (change)=\"handleOnChange($event)\"\n />\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isplus\"\n [attr.aria-disabled]=\"value >= max ? 'true' : 'false'\"\n (click)=\"incrementCounter()\"\n [disabled]=\"value >= max - 1\"\n >\n <gtr-icon name=\"plus\" [size]=\"18\"></gtr-icon>\n </button>\n</div>\n", styles: [":host{--gtr-component-numeric-counter-bg-color: rgba(213, 213, 213, 1)}.gtr-numeric-counter-wrapper *,.gtr-numeric-counter-wrapper *:after,.gtr-numeric-counter-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-numeric-counter-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:center;width:-moz-fit-content;width:fit-content}.gtr-numeric-counter-wrapper.disabled{pointer-events:none;cursor:default;opacity:.5}.gtr-numeric-counter-wrapper.readonly{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button{width:30px;height:25px;outline:none;border:none;border:solid 1px var(--gtr-component-numeric-counter-bg-color);background:var(--gtr-component-numeric-counter-bg-color);display:flex;align-items:center;align-self:center;justify-content:center;cursor:pointer}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button::ng-deep gtr-icon{color:#000}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:disabled{pointer-events:none;opacity:.5;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:first-child{border-radius:6px 0 0 6px}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:last-child{border-radius:0 6px 6px 0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input{color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-size:17px;height:25px;font-style:normal;font-weight:400;line-height:normal;width:33px;outline:none;border:none;text-align:center;border:solid 1px var(--gtr-component-numeric-counter-bg-color);border-radius:0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input:disabled{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-outer-spin-button,.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none;margin:0}\n"] }]
|
|
139
140
|
}], propDecorators: { value: [{
|
|
140
141
|
type: Input
|
|
141
142
|
}], step: [{
|
|
@@ -155,4 +156,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
155
156
|
}], gtrChange: [{
|
|
156
157
|
type: Output
|
|
157
158
|
}] } });
|
|
158
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RyLW51bWVyaWMtY291bnRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9udW1lcmljLWNvdW50ZXIvbnVtZXJpYy1jb3VudGVyL2d0ci1udW1lcmljLWNvdW50ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2xlY3VsZXMvbnVtZXJpYy1jb3VudGVyL251bWVyaWMtY291bnRlci9ndHItbnVtZXJpYy1jb3VudGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRW5GLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBY3pFLE1BQU0sT0FBTywwQkFBMEI7SUFadkM7UUFh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GUga2V5ZG93biBldmVudCBmb3IgbnVtYmVyIGNvdW50ZXJcbiAgICovXG4gIHB1YmxpYyBoYW5kbGVLZXlEb3duKGV2ZW50OiBLZXlib2FyZEV2ZW50KSB7XG4gICAgaWYgKCF0aGlzLmRpc2FibGVkICYmICF0aGlzLnJlYWRvbmx5KSB7XG4gICAgICB0aGlzLm9uVG91Y2goKTtcblxuICAgICAgaWYgKGV2ZW50ICYmIGV2ZW50LmtleSkge1xuICAgICAgICBzd2l0Y2ggKGV2ZW50LmtleSkge1xuICAgICAgICAgIGNhc2UgJ0Fycm93VXAnOiB7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgdGhpcy5pbmNyZW1lbnRDb3VudGVyKCk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICB9XG4gICAgICAgICAgY2FzZSAnQXJyb3dEb3duJzoge1xuICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgIHRoaXMuZGVjcmVtZW50Q291bnRlcigpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLypcbiAgICogTG9jYWwgbWV0aG9kIHRvIGluY3JlbWVudCBjb3VudGVyIHZhbHVlXG4gICAqL1xuICBwdWJsaWMgaW5jcmVtZW50Q291bnRlciA9ICgpID0+IHtcbiAgICBpZiAoIXRoaXMuZGlzYWJsZWQgJiYgIXRoaXMucmVhZG9ubHkpIHtcbiAgICAgIGNvbnN0IHZhbHVlID0gdGhpcy52YWx1ZSArIDE7XG4gICAgICBpZiAodmFsdWUgPCB0aGlzLm1heCkge1xuICAgICAgICB0aGlzLnZhbHVlID0gdmFsdWU7XG4gICAgICAgIHRoaXMuaGFuZGxlT25DaGFuZ2UoKTtcbiAgICAgIH1cbiAgICB9XG4gIH07XG5cbiAgLypcbiAgICogTG9jYWwgbWV0aG9kIHR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mVudDogS2V5Ym9hcmRFdmVudCkge1xuICAgIGlmICghdGhpcy5kaXNhYmxlZCAmJiAhdGhpcy5yZWFkb25seSkge1xuICAgICAgdGhpcy5vblRvdWNoKCk7XG5cbiAgICAgIGlmIChldmVudCAmJiBldmVudC5rZXkpIHtcbiAgICAgICAgc3dpdGNoIChldmVudC5rZXkpIHtcbiAgICAgICAgICBjYXNlICdBcnJvd1VwJzoge1xuICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgIHRoaXMuaW5jcmVtZW50Q291bnRlcigpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgfVxuICAgICAgICAgIGNhc2UgJ0Fycm93RG93bic6IHtcbiAgICAgICAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICB0aGlzLmRlY3JlbWVudENvdW50ZXIoKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8qXG4gICAqIExvY2FsIG1ldGhvZCB0byBpbmNyZW1lbnQgY291bnRlciB2YWx1ZVxuICAgKi9cbiAgcHVibGljIGluY3JlbWVudENvdW50ZXIgPSAoKSA9PiB7XG4gICAgaWYgKCF0aGlzLmRpc2FibGVkICYmICF0aGlzLnJlYWRvbmx5KSB7XG4gICAgICBjb25zdCB2YWx1ZSA9IHRoaXMudmFsdWUgKyAxO1xuICAgICAgaWYgKHZhbHVlIDwgdGhpcy5tYXgpIHtcbiAgICAgICAgdGhpcy52YWx1ZSA9IHZhbHVlO1xuICAgICAgICB0aGlzLmhhbmRsZU9uQ2hhbmdlKCk7XG4gICAgICB9XG4gICAgfVxuICB9O1xuXG4gIC8qXG4gICAqIExvY2FsIG1ldGhvZCB0byBkZWNyZW1lbnQgY291bnRlciB2YWx1ZVxuICAgKi9cbiAgcHVibGljIGRlY3JlbWVudENvdW50ZXIgPSAoKSA9PiB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9XCJudW1iZXJcIlxuICAgIFtzdGVwXT1cInN0ZXBcIlxuICAgIFttaW5dPVwibWluXCJcbiAgICBbbWF4XT1cIm1heFwiXG4gICAgW25hbWVdPVwibmFtZVwiXG4gICAgW3ZhbHVlXT1cInZhbHVlXCJcbiAgICBwYXR0ZXJuPVwiWzAtOV0qXCJcbiAgICBpbnB1dG1vZGU9XCJudW1lcmljXCJcbiAgICBbYXR0ci5hcmlhLXZhbHVlbWluXT1cIm1pblwiXG4gICAgW2F0dHIuYXJpYS12YWx1ZW1heF09XCJtYXhcIlxuICAgIFthdHRyLmFyaWEtdmFsdWVub3ddPVwidmFsdWVcIlxuICAgIChjaGFuZ2UpPVwiaGFuZGxlT25DaGFuZ2UoJGV2ZW50KVwiXG4gIC8+XG4gIDxidXR0b25cbiAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICBjbGFzcz1cImd0ci1udW1lcmljLWNvdW50ZXItYnV0dG9uIGd0cl9faXNwbHVzXCJcbiAgICBbYXR0ci5hcmlhLWRpc2FibGVkXT1cInZhbHVlID49IG1heCA/ICd0cnVlJyA6ICdmYWxzZSdcIlxuICAgIChjbGljayk9XCJpbmNyZW1lbnRDb3VudGVyKClcIlxuICAgIFtkaXNhYmxlZF09XCJ2YWx1ZSA+PSBtYXggLSAxXCJcbiAgPlxuICAgIDxndHItaWNvbiBuYW1lPVwicGx1c1wiIFtzaXplXT1cIjE4XCI+PC9ndHItaWNvbj5cbiAgPC9idXR0b24+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -111,11 +111,11 @@ export class GtrPaginationComponent {
|
|
|
111
111
|
this._setTotalPages();
|
|
112
112
|
}
|
|
113
113
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrPaginationComponent, selector: "gtr-pagination", inputs: { identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60)}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "readonly", "is_invalid", "listLoading", "loading", "listLoaderVariation", "options", "textLimit"], outputs: ["valueChanged", "searchChanged", "gtrScroll", "gtrTouched"] }, { kind: "component", type: i3.GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }, { kind: "pipe", type: i4.GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
114
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrPaginationComponent, selector: "gtr-pagination", inputs: { identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60);margin-bottom:4px}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "readonly", "is_invalid", "listLoading", "loading", "listLoaderVariation", "options", "textLimit"], outputs: ["valueChanged", "searchChanged", "gtrScroll", "gtrTouched"] }, { kind: "component", type: i3.GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }, { kind: "pipe", type: i4.GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
115
115
|
}
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPaginationComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
|
-
args: [{ selector: 'gtr-pagination', template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60)}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"] }]
|
|
118
|
+
args: [{ selector: 'gtr-pagination', template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60);margin-bottom:4px}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"] }]
|
|
119
119
|
}], propDecorators: { identifier: [{
|
|
120
120
|
type: Input
|
|
121
121
|
}], disabled: [{
|
|
@@ -7931,7 +7931,7 @@ class GtrNumericCounterComponent {
|
|
|
7931
7931
|
useExisting: forwardRef((() => GtrNumericCounterComponent)),
|
|
7932
7932
|
multi: true,
|
|
7933
7933
|
},
|
|
7934
|
-
], ngImport: i0, template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <
|
|
7934
|
+
], ngImport: i0, template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <gtr-icon name=\"minus\" [size]=\"18\"></gtr-icon>\n </button>\n <input\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n role=\"spinbutton\"\n class=\"gtr-numeric-counter-input\"\n type=\"number\"\n [step]=\"step\"\n [min]=\"min\"\n [max]=\"max\"\n [name]=\"name\"\n [value]=\"value\"\n pattern=\"[0-9]*\"\n inputmode=\"numeric\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"value\"\n (change)=\"handleOnChange($event)\"\n />\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isplus\"\n [attr.aria-disabled]=\"value >= max ? 'true' : 'false'\"\n (click)=\"incrementCounter()\"\n [disabled]=\"value >= max - 1\"\n >\n <gtr-icon name=\"plus\" [size]=\"18\"></gtr-icon>\n </button>\n</div>\n", styles: [":host{--gtr-component-numeric-counter-bg-color: rgba(213, 213, 213, 1)}.gtr-numeric-counter-wrapper *,.gtr-numeric-counter-wrapper *:after,.gtr-numeric-counter-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-numeric-counter-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:center;width:-moz-fit-content;width:fit-content}.gtr-numeric-counter-wrapper.disabled{pointer-events:none;cursor:default;opacity:.5}.gtr-numeric-counter-wrapper.readonly{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button{width:30px;height:25px;outline:none;border:none;border:solid 1px var(--gtr-component-numeric-counter-bg-color);background:var(--gtr-component-numeric-counter-bg-color);display:flex;align-items:center;align-self:center;justify-content:center;cursor:pointer}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button::ng-deep gtr-icon{color:#000}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:disabled{pointer-events:none;opacity:.5;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:first-child{border-radius:6px 0 0 6px}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:last-child{border-radius:0 6px 6px 0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input{color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-size:17px;height:25px;font-style:normal;font-weight:400;line-height:normal;width:33px;outline:none;border:none;text-align:center;border:solid 1px var(--gtr-component-numeric-counter-bg-color);border-radius:0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input:disabled{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-outer-spin-button,.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
|
|
7935
7935
|
}
|
|
7936
7936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterComponent, decorators: [{
|
|
7937
7937
|
type: Component,
|
|
@@ -7941,7 +7941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7941
7941
|
useExisting: forwardRef((() => GtrNumericCounterComponent)),
|
|
7942
7942
|
multi: true,
|
|
7943
7943
|
},
|
|
7944
|
-
], template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <
|
|
7944
|
+
], template: "<div\n aria-label=\"gtr-numeric-counter\"\n aria-describedBy=\"gtr-numeric-counter\"\n class=\"gtr-numeric-counter-wrapper\"\n [ngClass]=\"{\n readonly: readonly,\n disabled: disabled\n }\"\n tabindex=\"0\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n [attr.id]=\"identifier || 'gtr-numeric-counter'\"\n [attr.data-testid]=\"identifier || 'gtr-numeric-counter'\"\n (keydown)=\"handleKeyDown($event)\"\n>\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isminus\"\n [attr.aria-disabled]=\"value <= min ? 'true' : 'false'\"\n [disabled]=\"value <= min\"\n (click)=\"decrementCounter()\"\n >\n <gtr-icon name=\"minus\" [size]=\"18\"></gtr-icon>\n </button>\n <input\n [disabled]=\"disabled\"\n [readOnly]=\"readonly\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.aria-readonly]=\"readonly ? 'true' : 'false'\"\n role=\"spinbutton\"\n class=\"gtr-numeric-counter-input\"\n type=\"number\"\n [step]=\"step\"\n [min]=\"min\"\n [max]=\"max\"\n [name]=\"name\"\n [value]=\"value\"\n pattern=\"[0-9]*\"\n inputmode=\"numeric\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"value\"\n (change)=\"handleOnChange($event)\"\n />\n <button\n type=\"button\"\n class=\"gtr-numeric-counter-button gtr__isplus\"\n [attr.aria-disabled]=\"value >= max ? 'true' : 'false'\"\n (click)=\"incrementCounter()\"\n [disabled]=\"value >= max - 1\"\n >\n <gtr-icon name=\"plus\" [size]=\"18\"></gtr-icon>\n </button>\n</div>\n", styles: [":host{--gtr-component-numeric-counter-bg-color: rgba(213, 213, 213, 1)}.gtr-numeric-counter-wrapper *,.gtr-numeric-counter-wrapper *:after,.gtr-numeric-counter-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-numeric-counter-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:center;width:-moz-fit-content;width:fit-content}.gtr-numeric-counter-wrapper.disabled{pointer-events:none;cursor:default;opacity:.5}.gtr-numeric-counter-wrapper.readonly{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button{width:30px;height:25px;outline:none;border:none;border:solid 1px var(--gtr-component-numeric-counter-bg-color);background:var(--gtr-component-numeric-counter-bg-color);display:flex;align-items:center;align-self:center;justify-content:center;cursor:pointer}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button::ng-deep gtr-icon{color:#000}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:disabled{pointer-events:none;opacity:.5;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:first-child{border-radius:6px 0 0 6px}.gtr-numeric-counter-wrapper .gtr-numeric-counter-button:last-child{border-radius:0 6px 6px 0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input{color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-size:17px;height:25px;font-style:normal;font-weight:400;line-height:normal;width:33px;outline:none;border:none;text-align:center;border:solid 1px var(--gtr-component-numeric-counter-bg-color);border-radius:0}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input:disabled{pointer-events:none;cursor:default}.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-outer-spin-button,.gtr-numeric-counter-wrapper .gtr-numeric-counter-input::-webkit-inner-spin-button{appearance:none;-webkit-appearance:none;margin:0}\n"] }]
|
|
7945
7945
|
}], propDecorators: { value: [{
|
|
7946
7946
|
type: Input
|
|
7947
7947
|
}], step: [{
|
|
@@ -7964,14 +7964,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7964
7964
|
|
|
7965
7965
|
class GtrNumericCounterModule {
|
|
7966
7966
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7967
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, declarations: [GtrNumericCounterComponent], imports: [NgIf, NgClass, FormsModule], exports: [GtrNumericCounterComponent] }); }
|
|
7968
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, imports: [FormsModule] }); }
|
|
7967
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, declarations: [GtrNumericCounterComponent], imports: [NgIf, NgClass, FormsModule, GtrIconModule], exports: [GtrNumericCounterComponent] }); }
|
|
7968
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, imports: [FormsModule, GtrIconModule] }); }
|
|
7969
7969
|
}
|
|
7970
7970
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrNumericCounterModule, decorators: [{
|
|
7971
7971
|
type: NgModule,
|
|
7972
7972
|
args: [{
|
|
7973
7973
|
declarations: [GtrNumericCounterComponent],
|
|
7974
|
-
imports: [NgIf, NgClass, FormsModule],
|
|
7974
|
+
imports: [NgIf, NgClass, FormsModule, GtrIconModule],
|
|
7975
7975
|
exports: [GtrNumericCounterComponent],
|
|
7976
7976
|
}]
|
|
7977
7977
|
}] });
|
|
@@ -8707,11 +8707,11 @@ class GtrPaginationComponent {
|
|
|
8707
8707
|
this._setTotalPages();
|
|
8708
8708
|
}
|
|
8709
8709
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8710
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrPaginationComponent, selector: "gtr-pagination", inputs: { identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60)}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "readonly", "is_invalid", "listLoading", "loading", "listLoaderVariation", "options", "textLimit"], outputs: ["valueChanged", "searchChanged", "gtrScroll", "gtrTouched"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }, { kind: "pipe", type: GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
8710
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: GtrPaginationComponent, selector: "gtr-pagination", inputs: { identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60);margin-bottom:4px}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "readonly", "is_invalid", "listLoading", "loading", "listLoaderVariation", "options", "textLimit"], outputs: ["valueChanged", "searchChanged", "gtrScroll", "gtrTouched"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }, { kind: "pipe", type: GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
8711
8711
|
}
|
|
8712
8712
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrPaginationComponent, decorators: [{
|
|
8713
8713
|
type: Component,
|
|
8714
|
-
args: [{ selector: 'gtr-pagination', template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60)}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"] }]
|
|
8714
|
+
args: [{ selector: 'gtr-pagination', template: "<ng-container *ngIf=\"pageIndex !== 0 && pagesArray?.length\">\n <div\n class=\"gtr-pagination-wrapper\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ng-container *ngIf=\"!this.hidePageSize\">\n <div class=\"gtr-pagination-ps-options-wrapper\">\n <span>Items per Page: </span>\n <gtr-select\n [value]=\"pageSize\"\n [options]=\"pageSizeOptions\"\n [disabled]=\"disabled\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(defaultPage)\"\n aria-label=\"gtr__pagination-first-page\"\n >\n <gtr-icon name=\"chevrons-left\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n (click)=\"changePage(pageIndex - 1)\"\n aria-label=\"gtr__pagination-prev-page\"\n >\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"pagesArray?.length\">\n <ng-container *ngFor=\"let page of pagesArray; let i = index\">\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.aria-label]=\"'gtr__pagination-page' + page\"\n [attr.aria-current]=\"page === pageIndex ? 'true' : 'false'\"\n class=\"gtr-pagination-button\"\n [class.active]=\"pageIndex === page\"\n tabindex=\"0\"\n >\n {{ page | gtrValidatePage : \"...\" }}\n </button>\n </ng-container>\n </ng-container>\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(pageIndex + 1)\"\n aria-label=\"gtr__pagination-next-page\"\n >\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </button>\n\n <ng-container *ngIf=\"showFirstLastButtons\">\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n </ng-container>\n </div>\n</ng-container>\n", styles: [":host{display:block;--gtr-pagination-btn-background-color: rgba(75, 70, 92);--gtr-pagination-btn-background-color-30: rgba(75, 70, 92, .3);--gtr-pagination-btn-background-color-10: rgba(75, 70, 92, .08)}.gtr-pagination-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select{min-width:76px}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper gtr-select::ng-deep .gtr-options-wrapper{min-width:auto}.gtr-pagination-wrapper .gtr-pagination-ps-options-wrapper span{font-family:var(--gtr-component-font-family-base);font-weight:var(--gtr-size-font-weight-normal);font-size:15px;line-height:24px;color:var(--gtr-color-base-black-40);margin-right:8px}.gtr-pagination-wrapper .gtr-pagination-button{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:-moz-fit-content;max-width:fit-content;height:34px;background:var(--gtr-pagination-btn-background-color-10);border-radius:6px;line-height:22px;font-size:15px;outline:none;border:none;cursor:pointer;margin-left:4px;font-family:var(--gtr-component-font-family-base);transition:ease-in-out;transition-duration:.1s;position:relative;color:var(--gtr-color-base-black-60);margin-bottom:4px}.gtr-pagination-wrapper .gtr-pagination-button:disabled{cursor:default;pointer-events:none;opacity:.8}.gtr-pagination-wrapper .gtr-pagination-button:disabled gtr-icon{opacity:.5}.gtr-pagination-wrapper .gtr-pagination-button:hover,.gtr-pagination-wrapper .gtr-pagination-button:focus{background:var(--gtr-pagination-btn-background-color-30)}.gtr-pagination-wrapper .gtr-pagination-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);box-shadow:var(--gtr-content-box-shadow-20)}@media only screen and (max-width: 540px){.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"] }]
|
|
8715
8715
|
}], propDecorators: { identifier: [{
|
|
8716
8716
|
type: Input
|
|
8717
8717
|
}], disabled: [{
|