@gettrx/core-components-angular 1.0.68 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/atoms/badge/gtr-badge.component.mjs +3 -3
- package/esm2022/lib/atoms/button/gtr-button.component.mjs +3 -3
- package/esm2022/lib/atoms/button-directive/gtr-button-close.directive.mjs +3 -3
- package/esm2022/lib/atoms/button-directive/gtr-button.directive.mjs +3 -3
- package/esm2022/lib/atoms/display-value/gtr-display-value.component.mjs +3 -3
- package/esm2022/lib/atoms/icon/gtr-icon.component.mjs +3 -3
- package/esm2022/lib/atoms/input/gtr-input.component.mjs +3 -3
- package/esm2022/lib/atoms/popover/gtr-popover.component.mjs +3 -3
- package/esm2022/lib/atoms/radio-button/gtr-radio-button.component.mjs +3 -3
- package/esm2022/lib/atoms/skeleton/gtr-skeleton.component.mjs +3 -3
- package/esm2022/lib/atoms/skeleton/utils/gtr-skeleton.directive.mjs +3 -3
- package/esm2022/lib/atoms/switch/gtr-switch.component.mjs +3 -3
- package/esm2022/lib/atoms/textarea/gtr-textarea.component.mjs +3 -3
- package/esm2022/lib/atoms/toaster/gtr-toaster.component.mjs +3 -3
- package/esm2022/lib/atoms/toaster/services/gtr-toaster.service.mjs +3 -3
- package/esm2022/lib/atoms/tooltip/gtr-tooltip.component.mjs +3 -3
- package/esm2022/lib/directives/autosize/autosize.directive.mjs +3 -3
- package/esm2022/lib/molecules/accordion/accordion/gtr-accordion.component.mjs +3 -3
- package/esm2022/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar/gtr-calendar.component.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.mjs +3 -3
- package/esm2022/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.mjs +3 -3
- package/esm2022/lib/molecules/calendar/gtr-calendar.service.mjs +3 -3
- package/esm2022/lib/molecules/checkbox/checkbox/gtr-checkbox.component.mjs +3 -3
- package/esm2022/lib/molecules/date-picker/gtr-date-picker.component.mjs +3 -3
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-custom-range-key.pipe.mjs +3 -3
- package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown/gtr-dropdown.component.mjs +6 -6
- package/esm2022/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.mjs +3 -3
- package/esm2022/lib/molecules/dropdown/gtr-dropdown.service.mjs +3 -3
- package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.component.mjs +3 -3
- package/esm2022/lib/molecules/form/form/gtr-form.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-check/gtr-form-check-input.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-check/gtr-form-check-label.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-check/gtr-form-check.component.mjs +3 -3
- package/esm2022/lib/molecules/form/form-control/gtr-form-control.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-feedback/gtr-form-feedback.component.mjs +3 -3
- package/esm2022/lib/molecules/form/form-floating/gtr-form-floating.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-label/gtr-form-label.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-select/gtr-form-select.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/form-text/gtr-form-text.directive.mjs +3 -3
- package/esm2022/lib/molecules/form/input-group/gtr-input-group.component.mjs +3 -3
- package/esm2022/lib/molecules/form/input-group-text/gtr-input-group-text.directive.mjs +3 -3
- package/esm2022/lib/molecules/input-color/gtr-input-color.component.mjs +3 -3
- package/esm2022/lib/molecules/modal/gtr-modal.component.mjs +3 -3
- package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.mjs +3 -3
- package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.mjs +3 -3
- package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.component.mjs +3 -3
- package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.mjs +3 -3
- package/esm2022/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.mjs +3 -3
- package/esm2022/lib/molecules/select/select/gtr-select.component.mjs +3 -3
- package/esm2022/lib/molecules/shared/gtr-html-attr.directive.mjs +3 -3
- package/esm2022/lib/molecules/shared/gtr-template-id.directive.mjs +3 -3
- package/esm2022/lib/molecules/stat-card/gtr-stat-card.component.mjs +3 -3
- package/esm2022/lib/molecules/table/dynamic-component.directive.mjs +3 -3
- package/esm2022/lib/molecules/table/dynamic-host.directive.mjs +3 -3
- package/esm2022/lib/molecules/table/gtr-create-component.pipe.mjs +3 -3
- package/esm2022/lib/molecules/table/gtr-fetch-attribute.pipe.mjs +3 -3
- package/esm2022/lib/molecules/table/gtr-table.component.mjs +3 -3
- package/esm2022/lib/molecules/table/table-main/gtr-table-main.component.mjs +3 -3
- package/esm2022/lib/molecules/table/table-responsive/gtr-table-responsive.component.mjs +3 -3
- package/esm2022/lib/molecules/tabs/tab/gtr-tab.component.mjs +3 -3
- package/esm2022/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.mjs +3 -3
- package/esm2022/lib/molecules/time-picker/gtr-time-picker.component.mjs +3 -3
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.mjs +6 -6
- package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.mjs +6 -6
- package/fesm2022/gettrx-core-components-angular.mjs +252 -252
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -54,10 +54,10 @@ class GtrIconComponent {
|
|
|
54
54
|
this.height = value + 'px';
|
|
55
55
|
}
|
|
56
56
|
ngOnDestroy() { }
|
|
57
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
57
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrIconComponent, isStandalone: true, selector: "gtr-icon", inputs: { dataTransactionName: "dataTransactionName", name: "name", weight: "weight", color: "color", size: "size", iconId: "iconId" }, host: { properties: { "style.height": "this.height" } }, ngImport: i0, template: "<i [id]=\"iconId+'-icon'\" [attr.data-testid]=\"iconId+'-icon'\" [class]=\"'gtr-icon gtr-icon-'+name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-icon-'+ name\"\n [style.font-size]=\"this.height\" [style.color]=\"this.color\" [style.font-weight]=\"this.weight\"></i>\n", styles: [":host{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;padding:0;margin:0}\n"] }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrIconComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ standalone: true, selector: 'gtr-icon', template: "<i [id]=\"iconId+'-icon'\" [attr.data-testid]=\"iconId+'-icon'\" [class]=\"'gtr-icon gtr-icon-'+name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-icon-'+ name\"\n [style.font-size]=\"this.height\" [style.color]=\"this.color\" [style.font-weight]=\"this.weight\"></i>\n", styles: [":host{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;padding:0;margin:0}\n"] }]
|
|
63
63
|
}], propDecorators: { dataTransactionName: [{
|
|
@@ -122,10 +122,10 @@ class GtrBadgeComponent {
|
|
|
122
122
|
this.positionProperty = {};
|
|
123
123
|
this.id = this.testid;
|
|
124
124
|
}
|
|
125
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
126
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
125
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
126
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrBadgeComponent, isStandalone: true, selector: "gtr-badge", inputs: { name: "name", dataTransactionName: "dataTransactionName", shape: "shape", type: "type", color: "color", ariaLabel: ["aria-label", "ariaLabel"], hidden: ["hidden", "hidden", booleanAttribute], position: "position", id: "id", testid: "testid", positionProperty: "positionProperty", backgroundColor: ["background-color", "backgroundColor"], iconName: ["icon-name", "iconName"] }, ngImport: i0, template: "@if (!hidden) {\n <div\n [id]=\"id\"\n [attr.data-testid]=\"testid\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-badge'\"\n role=\"status\"\n [attr.aria-hidden]=\"hidden ? 'true' : 'false'\"\n [attr.aria-label]=\"ariaLabel || 'gtr-badges'\"\n [class]=\"'gtr-badge ' + type +' ' + color +' ' + shape +' ' + (hidden ? 'hide' : '') +' ' + position\"\n tabindex=\"0\"\n [style]=\"{\n top: positionProperty.top,\n left: positionProperty.left,\n bottom: positionProperty.bottom,\n right: positionProperty.right,\n }\"\n >\n @if (type === 'icon' && iconName) {\n <gtr-icon [dataTransactionName]=\"dataTransactionName || name + '-badge-icon'\"\n [name]=\"iconName\" [size]=\"16\"></gtr-icon>\n }\n <ng-content></ng-content>\n </div>\n}\n", styles: [":host{position:relative;--gtr-color-base-warning-100: rgb(242, 153, 74);--gtr-color-base-info-100: var(--gtr-color-base-primary-60);--gtr-color-base-dark-100: var(--gtr-color-base-black-60);--gtr-color-base-warning-10: rgb(242, 153, 74, .1);--gtr-color-base-info-10: var(--gtr-color-base-primary-10);--gtr-color-base-dark-10: var(--gtr-color-base-black-10)}.gtr-badge{width:fit-content;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;cursor:default;font-family:Roboto,sans-serif;font-size:13px;font-style:normal;font-weight:500;line-height:14px}.gtr-badge.overlap{position:absolute;top:0;left:0}.gtr-badge.default{position:relative}.gtr-badge.hide{display:none}.gtr-badge.pill{padding:5px 10px;border-radius:6px}.gtr-badge.pill.round{padding:5px 10px;border-radius:20px}.gtr-badge.icon{padding:5px;border-radius:6px;min-width:24px;min-height:24px;width:auto;height:auto}.gtr-badge.icon.round{padding:5px;border-radius:20px;min-width:24px;min-height:24px;width:auto;height:auto}.gtr-badge.dot{font-family:var(--gtr-component-font-family-base);font-weight:600;font-size:15px;line-height:22px;color:var(--gtr-component-button-text-color-gray)}.gtr-badge.dot:before{content:\"\";width:10px;height:10px;margin-right:6px;border-radius:20px}.gtr-badge.dot.secondary:before{background:var(--gtr-color-base-secondary-100)}.gtr-badge.dot.danger:before{background:var(--gtr-color-base-danger-10)}.gtr-badge.dot.info:before{background:#00599c99}.gtr-badge.dot.brown:before{background:#bf9137}.gtr-badge.dot.pink:before{background:#d24883}.gtr-badge.dot.purple:before{background:#9b31da}.gtr-badge.dot.blue:before{background:#00599ccc}.gtr-badge.dot.warning:before{background:#f2994a}.gtr-badge.dot.success:before{background:#009e4799}.gtr-badge.dot.dark:before{background:#0009}.gtr-badge.dot.gray:before{background:#a8aaae}.gtr-badge.dot.dark-green:before{background:#408c51}.gtr-badge.secondary:not(.dot){color:var(--gtr-color-base-secondary-100);background:var(--gtr-color-base-secondary-10)}.gtr-badge.danger:not(.dot){color:var(--gtr-color-base-danger-100);background:var(--gtr-color-base-danger-10)}.gtr-badge.info:not(.dot){color:#00599c99;background:#00599c1a}.gtr-badge.brown:not(.dot){color:#bf9137;background:#ffebc599}.gtr-badge.pink:not(.dot){color:#d24883;background:#ffd4e799}.gtr-badge.purple:not(.dot){color:#9b31da;background:#ecceff99}.gtr-badge.blue:not(.dot){color:#00599ccc;background:#00599c1a}.gtr-badge.warning:not(.dot){color:#f2994a;background:#f2994a1a}.gtr-badge.success:not(.dot){color:#009e4799;background:#009e471a}.gtr-badge.dark:not(.dot){color:#0009;background:#0000001a}.gtr-badge.gray:not(.dot){color:#a8aaae;background:#0000000d}.gtr-badge.dark-green:not(.dot){color:#408c51;background:#b4e4bf}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
127
127
|
}
|
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrBadgeComponent, decorators: [{
|
|
129
129
|
type: Component,
|
|
130
130
|
args: [{ standalone: true, selector: 'gtr-badge', imports: [GtrIconComponent], template: "@if (!hidden) {\n <div\n [id]=\"id\"\n [attr.data-testid]=\"testid\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-badge'\"\n role=\"status\"\n [attr.aria-hidden]=\"hidden ? 'true' : 'false'\"\n [attr.aria-label]=\"ariaLabel || 'gtr-badges'\"\n [class]=\"'gtr-badge ' + type +' ' + color +' ' + shape +' ' + (hidden ? 'hide' : '') +' ' + position\"\n tabindex=\"0\"\n [style]=\"{\n top: positionProperty.top,\n left: positionProperty.left,\n bottom: positionProperty.bottom,\n right: positionProperty.right,\n }\"\n >\n @if (type === 'icon' && iconName) {\n <gtr-icon [dataTransactionName]=\"dataTransactionName || name + '-badge-icon'\"\n [name]=\"iconName\" [size]=\"16\"></gtr-icon>\n }\n <ng-content></ng-content>\n </div>\n}\n", styles: [":host{position:relative;--gtr-color-base-warning-100: rgb(242, 153, 74);--gtr-color-base-info-100: var(--gtr-color-base-primary-60);--gtr-color-base-dark-100: var(--gtr-color-base-black-60);--gtr-color-base-warning-10: rgb(242, 153, 74, .1);--gtr-color-base-info-10: var(--gtr-color-base-primary-10);--gtr-color-base-dark-10: var(--gtr-color-base-black-10)}.gtr-badge{width:fit-content;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;cursor:default;font-family:Roboto,sans-serif;font-size:13px;font-style:normal;font-weight:500;line-height:14px}.gtr-badge.overlap{position:absolute;top:0;left:0}.gtr-badge.default{position:relative}.gtr-badge.hide{display:none}.gtr-badge.pill{padding:5px 10px;border-radius:6px}.gtr-badge.pill.round{padding:5px 10px;border-radius:20px}.gtr-badge.icon{padding:5px;border-radius:6px;min-width:24px;min-height:24px;width:auto;height:auto}.gtr-badge.icon.round{padding:5px;border-radius:20px;min-width:24px;min-height:24px;width:auto;height:auto}.gtr-badge.dot{font-family:var(--gtr-component-font-family-base);font-weight:600;font-size:15px;line-height:22px;color:var(--gtr-component-button-text-color-gray)}.gtr-badge.dot:before{content:\"\";width:10px;height:10px;margin-right:6px;border-radius:20px}.gtr-badge.dot.secondary:before{background:var(--gtr-color-base-secondary-100)}.gtr-badge.dot.danger:before{background:var(--gtr-color-base-danger-10)}.gtr-badge.dot.info:before{background:#00599c99}.gtr-badge.dot.brown:before{background:#bf9137}.gtr-badge.dot.pink:before{background:#d24883}.gtr-badge.dot.purple:before{background:#9b31da}.gtr-badge.dot.blue:before{background:#00599ccc}.gtr-badge.dot.warning:before{background:#f2994a}.gtr-badge.dot.success:before{background:#009e4799}.gtr-badge.dot.dark:before{background:#0009}.gtr-badge.dot.gray:before{background:#a8aaae}.gtr-badge.dot.dark-green:before{background:#408c51}.gtr-badge.secondary:not(.dot){color:var(--gtr-color-base-secondary-100);background:var(--gtr-color-base-secondary-10)}.gtr-badge.danger:not(.dot){color:var(--gtr-color-base-danger-100);background:var(--gtr-color-base-danger-10)}.gtr-badge.info:not(.dot){color:#00599c99;background:#00599c1a}.gtr-badge.brown:not(.dot){color:#bf9137;background:#ffebc599}.gtr-badge.pink:not(.dot){color:#d24883;background:#ffd4e799}.gtr-badge.purple:not(.dot){color:#9b31da;background:#ecceff99}.gtr-badge.blue:not(.dot){color:#00599ccc;background:#00599c1a}.gtr-badge.warning:not(.dot){color:#f2994a;background:#f2994a1a}.gtr-badge.success:not(.dot){color:#009e4799;background:#009e471a}.gtr-badge.dark:not(.dot){color:#0009;background:#0000001a}.gtr-badge.gray:not(.dot){color:#a8aaae;background:#0000000d}.gtr-badge.dark-green:not(.dot){color:#408c51;background:#b4e4bf}\n"] }]
|
|
131
131
|
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
@@ -214,10 +214,10 @@ class GtrButtonDirective {
|
|
|
214
214
|
get tabIndex() {
|
|
215
215
|
return this.disabled ? '-1' : null;
|
|
216
216
|
}
|
|
217
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
218
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
217
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
218
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrButtonDirective, isStandalone: true, selector: "[gtrButton]", inputs: { active: ["active", "active", booleanAttribute], color: "color", disabled: ["disabled", "disabled", booleanAttribute], shape: "shape", size: "size", type: "type", variant: "variant" }, host: { properties: { "attr.type": "this.type", "class": "this.hostClasses", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-pressed": "this.isActive", "attr.disabled": "this.attrDisabled", "attr.tabindex": "this.tabIndex" } }, exportAs: ["gtrButton"], ngImport: i0 }); }
|
|
219
219
|
}
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonDirective, decorators: [{
|
|
221
221
|
type: Directive,
|
|
222
222
|
args: [{
|
|
223
223
|
selector: '[gtrButton]',
|
|
@@ -279,10 +279,10 @@ class GtrButtonCloseDirective extends GtrButtonDirective {
|
|
|
279
279
|
active: this.active,
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
283
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
282
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonCloseDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
283
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrButtonCloseDirective, isStandalone: true, selector: "[gtrButtonClose]", inputs: { white: ["white", "white", booleanAttribute] }, host: { properties: { "class": "this.hostClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
284
284
|
}
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonCloseDirective, decorators: [{
|
|
286
286
|
type: Directive,
|
|
287
287
|
args: [{
|
|
288
288
|
selector: '[gtrButtonClose]',
|
|
@@ -337,10 +337,10 @@ class GtrButtonComponent {
|
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
ngOnInit() { }
|
|
340
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
341
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: GtrButtonComponent, isStandalone: true, selector: "gtr-button", inputs: { type: "type", btnId: "btnId", name: "name", dataTransactionName: "dataTransactionName", color: "color", isLoading: "isLoading", variant: "variant", disabled: "disabled" }, ngImport: i0, template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-button'\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }); }
|
|
340
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
341
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrButtonComponent, isStandalone: true, selector: "gtr-button", inputs: { type: "type", btnId: "btnId", name: "name", dataTransactionName: "dataTransactionName", color: "color", isLoading: "isLoading", variant: "variant", disabled: "disabled" }, ngImport: i0, template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-button'\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }); }
|
|
342
342
|
}
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrButtonComponent, decorators: [{
|
|
344
344
|
type: Component,
|
|
345
345
|
args: [{ standalone: true, selector: 'gtr-button', template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-button'\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
346
346
|
}], propDecorators: { type: [{
|
|
@@ -444,10 +444,10 @@ class GtrSwitchComponent {
|
|
|
444
444
|
this.gtrChange.emit(this.checked);
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
448
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
447
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSwitchComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
448
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrSwitchComponent, isStandalone: true, selector: "gtr-switch", inputs: { checked: "checked", switchId: "switchId", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", label: "label", dataTransactionName: "dataTransactionName" }, outputs: { gtrChange: "gtrChange" }, ngImport: i0, template: "<label [class]=\"'gtr-switch-wrapper'\"\n [id]=\"switchId\" [attr.data-testid]=\"switchId\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch-wrapper'\"\n [class.readonly]=\"readonly\"\n role=\"switch\">\n <input [class]=\"'gtr-switch-input'\"\n [id]=\"switchId+'-input'\"\n [attr.data-testid]=\"switchId+'-input'\"\n [class.readonly]=\"readonly\"\n type=\"checkbox\"\n [checked]=\"this.checked\"\n data-toggle=\"toggle\"\n [disabled]=\"this.disabled\"\n [readonly]=\"this.readonly\"\n [attr.aria-label]=\"this.label\"\n [attr.aria-describedBy]=\"this.label\"\n [attr.aria-readonly]=\"this.readonly\"\n [attr.aria-disabled]=\"this.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch'\"\n [tabIndex]=\"this.tabIndex\"\n (keydown)=\"this.handleKeyDown($event)\"\n (change)=\"this.handleClick()\"/>\n <span class=\"gtr-switch-button\" [attr.data-transaction-name]=\"dataTransactionName + 'switch-button'\"></span>\n @if (label) {\n <span class=\"gtr-switch-label\"\n [id]=\"switchId+'-label'\"\n [attr.data-testid]=\"switchId+'-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch-label'\"\n >{{ label }}</span>\n }\n</label>\n", styles: [".gtr-switch-wrapper *,.gtr-switch-wrapper *:after,.gtr-switch-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-switch-wrapper{position:relative;top:0;display:flex;align-items:center;align-self:center;flex-direction:row;min-height:40px}.gtr-switch-wrapper.readonly{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-input{width:0px;height:0px;opacity:0}.gtr-switch-wrapper .gtr-switch-input:focus+.gtr-switch-button{border-color:var(--gtr-color-base-black-40)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button{opacity:.5;pointer-events:none;cursor:default;background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked~.gtr-switch-label{pointer-events:none;cursor:default;opacity:.5}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button{pointer-events:none;cursor:default;background:var(--gtr-color-base-black-20);border:solid 1px var(--gtr-color-base-black-10)}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button:before{background:var(--gtr-color-base-black-20)}.gtr-switch-wrapper .gtr-switch-input:disabled~.gtr-switch-label{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-button{position:relative;width:30px;height:18px;background:var(--gtr-color-font-inverse-primary);border:solid 1px var(--gtr-color-base-black-20);border-radius:34px;transition:.4s all ease-in-out;cursor:pointer}.gtr-switch-wrapper .gtr-switch-button:before{position:absolute;content:\"\";width:10px;height:10px;border-radius:50%;top:3.32px;left:3px;background:var(--gtr-color-base-black-20);transition:.4s all ease-in-out}.gtr-switch-wrapper .gtr-switch-label{display:flex;align-self:center;position:relative;cursor:pointer;font-size:15px;line-height:22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-left:8px}\n"] }); }
|
|
449
449
|
}
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSwitchComponent, decorators: [{
|
|
451
451
|
type: Component,
|
|
452
452
|
args: [{ standalone: true, selector: 'gtr-switch', template: "<label [class]=\"'gtr-switch-wrapper'\"\n [id]=\"switchId\" [attr.data-testid]=\"switchId\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch-wrapper'\"\n [class.readonly]=\"readonly\"\n role=\"switch\">\n <input [class]=\"'gtr-switch-input'\"\n [id]=\"switchId+'-input'\"\n [attr.data-testid]=\"switchId+'-input'\"\n [class.readonly]=\"readonly\"\n type=\"checkbox\"\n [checked]=\"this.checked\"\n data-toggle=\"toggle\"\n [disabled]=\"this.disabled\"\n [readonly]=\"this.readonly\"\n [attr.aria-label]=\"this.label\"\n [attr.aria-describedBy]=\"this.label\"\n [attr.aria-readonly]=\"this.readonly\"\n [attr.aria-disabled]=\"this.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch'\"\n [tabIndex]=\"this.tabIndex\"\n (keydown)=\"this.handleKeyDown($event)\"\n (change)=\"this.handleClick()\"/>\n <span class=\"gtr-switch-button\" [attr.data-transaction-name]=\"dataTransactionName + 'switch-button'\"></span>\n @if (label) {\n <span class=\"gtr-switch-label\"\n [id]=\"switchId+'-label'\"\n [attr.data-testid]=\"switchId+'-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + 'switch-label'\"\n >{{ label }}</span>\n }\n</label>\n", styles: [".gtr-switch-wrapper *,.gtr-switch-wrapper *:after,.gtr-switch-wrapper *:before{margin:0;width:auto;box-sizing:border-box}.gtr-switch-wrapper{position:relative;top:0;display:flex;align-items:center;align-self:center;flex-direction:row;min-height:40px}.gtr-switch-wrapper.readonly{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-input{width:0px;height:0px;opacity:0}.gtr-switch-wrapper .gtr-switch-input:focus+.gtr-switch-button{border-color:var(--gtr-color-base-black-40)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button{opacity:.5;pointer-events:none;cursor:default;background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked+.gtr-switch-button:before{background:var(--gtr-color-font-inverse-primary);transform:translate(11px);-webkit-transform:translateX(11px);-ms-transform:translateX(11px)}.gtr-switch-wrapper .gtr-switch-input:disabled:checked~.gtr-switch-label{pointer-events:none;cursor:default;opacity:.5}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button{pointer-events:none;cursor:default;background:var(--gtr-color-base-black-20);border:solid 1px var(--gtr-color-base-black-10)}.gtr-switch-wrapper .gtr-switch-input:disabled+.gtr-switch-button:before{background:var(--gtr-color-base-black-20)}.gtr-switch-wrapper .gtr-switch-input:disabled~.gtr-switch-label{pointer-events:none;cursor:default}.gtr-switch-wrapper .gtr-switch-button{position:relative;width:30px;height:18px;background:var(--gtr-color-font-inverse-primary);border:solid 1px var(--gtr-color-base-black-20);border-radius:34px;transition:.4s all ease-in-out;cursor:pointer}.gtr-switch-wrapper .gtr-switch-button:before{position:absolute;content:\"\";width:10px;height:10px;border-radius:50%;top:3.32px;left:3px;background:var(--gtr-color-base-black-20);transition:.4s all ease-in-out}.gtr-switch-wrapper .gtr-switch-label{display:flex;align-self:center;position:relative;cursor:pointer;font-size:15px;line-height:22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-left:8px}\n"] }]
|
|
453
453
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -557,10 +557,10 @@ class GtrTooltipComponent {
|
|
|
557
557
|
this.autoAdjustable && this.adjustPosition();
|
|
558
558
|
}, 100);
|
|
559
559
|
}
|
|
560
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
561
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
560
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTooltipComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
561
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrTooltipComponent, isStandalone: true, selector: "gtr-tooltip", inputs: { tooltipId: "tooltipId", content: "content", position: "position", autoAdjustable: "autoAdjustable", dataTransactionName: "dataTransactionName" }, host: { listeners: { "scroll": "handleResizeScroll()", "resize": "handleResizeScroll()" } }, viewQueries: [{ propertyName: "contentEl", first: true, predicate: ["contentEl"], descendants: true }], ngImport: i0, template: "<div class=\"gtr-tooltip-wrapper\" [id]=\"tooltipId\" [attr.data-testid]=\"tooltipId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tooltip-wrapper'\">\n <ng-content></ng-content>\n <div #contentEl [class]=\"'gtr-tooltip-text ' + newPosition\" [id]=\"tooltipId+'-text'\"\n [attr.data-testid]=\"tooltipId+'-text'\" role=\"tooltip\" tabIndex=\"0\" [attr.aria-describedby]=\"'tooltip-'+tooltipId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tooltip'\"\n [innerHTML]=\"this.content\"></div>\n</div>\n", styles: [":host{position:relative;display:inline-block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent}.gtr-tooltip-text{visibility:hidden;position:absolute;color:var(--gtr-color-base-white-100);padding:4px 12px;white-space:normal;background:var(--gtr-color-base-black-80);box-shadow:var(--gtr-content-box-shadow-base);border-radius:var(--gtr-border-radius-6);z-index:1;max-width:100vh;width:max-content;text-align:start;font-size:15px;font-style:normal;font-weight:400;line-height:22px}.gtr-tooltip-text.top{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.top:after{content:\"\";position:absolute;top:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-top-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.bottom{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.bottom:after{content:\"\";position:absolute;bottom:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-bottom-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.left{top:50%;right:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.left:after{content:\"\";position:absolute;top:50%;left:100%;border:5px solid var(--gtr-background-transparent);border-left-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}.gtr-tooltip-text.right{top:50%;left:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.right:after{content:\"\";position:absolute;top:50%;right:100%;border:5px solid var(--gtr-background-transparent);border-right-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}:host(:hover) .gtr-tooltip-text{visibility:visible}\n"] }); }
|
|
562
562
|
}
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTooltipComponent, decorators: [{
|
|
564
564
|
type: Component,
|
|
565
565
|
args: [{ standalone: true, selector: 'gtr-tooltip', template: "<div class=\"gtr-tooltip-wrapper\" [id]=\"tooltipId\" [attr.data-testid]=\"tooltipId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tooltip-wrapper'\">\n <ng-content></ng-content>\n <div #contentEl [class]=\"'gtr-tooltip-text ' + newPosition\" [id]=\"tooltipId+'-text'\"\n [attr.data-testid]=\"tooltipId+'-text'\" role=\"tooltip\" tabIndex=\"0\" [attr.aria-describedby]=\"'tooltip-'+tooltipId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tooltip'\"\n [innerHTML]=\"this.content\"></div>\n</div>\n", styles: [":host{position:relative;display:inline-block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent}.gtr-tooltip-text{visibility:hidden;position:absolute;color:var(--gtr-color-base-white-100);padding:4px 12px;white-space:normal;background:var(--gtr-color-base-black-80);box-shadow:var(--gtr-content-box-shadow-base);border-radius:var(--gtr-border-radius-6);z-index:1;max-width:100vh;width:max-content;text-align:start;font-size:15px;font-style:normal;font-weight:400;line-height:22px}.gtr-tooltip-text.top{bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.top:after{content:\"\";position:absolute;top:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-top-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.bottom{top:calc(100% + 5px);left:50%;transform:translate(-50%)}.gtr-tooltip-text.bottom:after{content:\"\";position:absolute;bottom:100%;left:50%;border:5px solid var(--gtr-background-transparent);border-bottom-color:var(--gtr-color-base-black-80);transform:translate(-50%)}.gtr-tooltip-text.left{top:50%;right:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.left:after{content:\"\";position:absolute;top:50%;left:100%;border:5px solid var(--gtr-background-transparent);border-left-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}.gtr-tooltip-text.right{top:50%;left:calc(100% + 5px);transform:translateY(-50%)}.gtr-tooltip-text.right:after{content:\"\";position:absolute;top:50%;right:100%;border:5px solid var(--gtr-background-transparent);border-right-color:var(--gtr-color-base-black-80);transform:translateY(-50%)}:host(:hover) .gtr-tooltip-text{visibility:visible}\n"] }]
|
|
566
566
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { contentEl: [{
|
|
@@ -622,10 +622,10 @@ class GtrSkeletonComponent {
|
|
|
622
622
|
host.style.setProperty('--skeleton-rect-width', this.width ?? '100%');
|
|
623
623
|
host.style.setProperty('--skeleton-rect-height', this.height ?? '20px');
|
|
624
624
|
}
|
|
625
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
626
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
625
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSkeletonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
626
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrSkeletonComponent, isStandalone: true, selector: "gtr-skeleton", host: { classAttribute: "pulse" }, ngImport: i0, template: ``, isInline: true, styles: [":host{display:block;width:var(--skeleton-rect-width);height:var(--skeleton-rect-height);background:#eff1f6 no-repeat}.skeleton-margin-bottom{margin-bottom:12px}.sk-prospect-created-date{margin-bottom:12px!important;margin:0 auto}.sk-prospect-created-date:last-child{margin-bottom:0!important}.skeleton-margin-bottom:last-child{margin-bottom:0}.sk-float-right{float:right}.sk-float-right-mr-10{float:right;margin-right:10px}.sk-mr-10{margin-right:10px}.sk-float-left{float:left}.sk-float-none{margin:0 auto}.pulse{animation:pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}\n"] }); }
|
|
627
627
|
}
|
|
628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSkeletonComponent, decorators: [{
|
|
629
629
|
type: Component,
|
|
630
630
|
args: [{ standalone: true, selector: 'gtr-skeleton', host: {
|
|
631
631
|
class: 'pulse',
|
|
@@ -657,10 +657,10 @@ class GtrSkeletonDirective {
|
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
661
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
660
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSkeletonDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
661
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrSkeletonDirective, isStandalone: true, selector: "[skeleton]", inputs: { isLoading: ["skeleton", "isLoading"], size: ["skeletonRepeat", "size"], width: ["skeletonWidth", "width"], height: ["skeletonHeight", "height"], className: ["skeletonClassName", "className"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
662
662
|
}
|
|
663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSkeletonDirective, decorators: [{
|
|
664
664
|
type: Directive,
|
|
665
665
|
args: [{
|
|
666
666
|
selector: '[skeleton]',
|
|
@@ -1003,10 +1003,10 @@ class GtrInputComponent {
|
|
|
1003
1003
|
? this.hasError || (!this.defaultValidation ? !this.isValid : false)
|
|
1004
1004
|
: false;
|
|
1005
1005
|
}
|
|
1006
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1007
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1006
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1007
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrInputComponent, isStandalone: true, selector: "gtr-input", inputs: { inputWrapperId: "inputWrapperId", loading: "loading", type: "type", name: "name", dataTransactionName: "dataTransactionName", value: "value", placeholder: "placeholder", inputIcon: "inputIcon", iconSize: "iconSize", iconColor: "iconColor", iconPosition: "iconPosition", iconFontWeight: "iconFontWeight", inputLabel: "inputLabel", disabled: "disabled", validateLabel: "validateLabel", isNumber: "isNumber", readonly: "readonly", isOnlyView: "isOnlyView", defaultValidation: "defaultValidation", required: "required", isValid: "isValid", crop: "crop", inputId: "inputId", setFocus: "setFocus" }, outputs: { inputChanged: "inputChanged", handleError: "handleError" }, ngImport: i0, template: "@if (this.isDesiredInput()) {\n <div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\"\n [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\">\n @if (inputLabel) {\n <label for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{ inputLabel }}\n </label>\n }\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n @if (!isOnlyView) {\n <input [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\"\n [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\"\n (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [name]=\"name + '-input'\" [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input'\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\"/>\n }\n <div class=\"input-icon\">\n @if (inputIcon && iconPosition == 'start') {\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n }\n @if (isOnlyView) {\n <span [class]=\"'gtr-form-element-input ' + (inputIcon && iconPosition) + (crop ? ' crop':'')\"\n [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\"\n [title]=\"(crop ? value:'')\">\n {{ value ? value : placeholder }}\n </span>\n }\n\n @if (inputIcon && iconPosition == 'end') {\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n }\n </div>\n @if (isShowDefaultError) {\n <div class=\"gtr-error-wrap\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{ this.errorMsg }}\n </div>\n }\n @if (isShowCustomError) {\n <div class=\"gtr-error-wrap\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\n }\n </ng-container>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol,\"Noto Color Emoji\";margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-padding-32: 32px;--gtr-font-size-13: 13px;--gtr-background-transparent: transparent;--gtr-input-height: 38px;--gtr-input-readonly-height: 21px;--gray-shades-40: rgba(0, 0, 0, .4);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-100: #ea5455;--gtr-color-base-label-100: var(--default) }label{position:relative;left:auto;top:auto}.gtr-form-element-wrapper *,.gtr-form-element-wrapper *:before,.gtr-form-element-wrapper *:after{box-sizing:border-box;margin:0;width:auto;transform:all .4s ease}.gtr-relative-element{position:relative}.gtr-disabled,:disabled{opacity:.7;cursor:default!important}.gtr-form-element-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100)}.gtr-error-wrap{font-weight:500;font-size:11px;display:flex;color:var(--gtr-color-base-danger-100);align-items:center;padding-top:5px}.gtr-form-element-input{height:var(--gtr-input-height);border:1px solid var(--gtr-color-base-black-10);width:100%!important;padding:8px 10px;display:flex;align-items:center;color:var(--gtr-color-base-black-80);outline:0;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;border-radius:var(--gtr-border-radius-6)}.gtr-form-element-input::placeholder{color:var(--gtr-color-base-black-40);font-size:13px;line-height:21px}.gtr-form-element-input:focus{border-color:var(--gtr-color-base-primary-80)}.gtr-form-element-input:disabled{background:var(--gtr-color-base-black-5);opacity:.5}.gtr-form-element-input.gtr-error{color:var(--gtr-color-base-danger-100)}.gtr-form-element-input.isonlyview{border:none;height:auto;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:normal;min-height:21px;pointer-events:none;width:auto!important;word-break:break-all}.input-icon{display:flex;align-items:center}.gtr-form-element-input.crop.isonlyview{display:block;pointer-events:all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}span.gtr-input-icon.isonlyview{position:absolute;margin:-20px 0 0 -1px;pointer-events:none}.gtr-form-element-input.gtr-input-width-icon.isonlyview{padding-left:1px}.gtr-form-element-label.isonlyview{margin:0;pointer-events:none}.gtr-error-wrap gtr-icon{margin:-3px 6px 0 0}.gtr-input-icon.start{position:absolute;margin:-30px 0 0 7px}.gtr-input-icon.start.isOnlyView{position:relative;line-height:0;margin:0 0 0 -5px}.gtr-input-icon.end.isOnlyView{position:relative;margin:0;right:auto;line-height:0}.gtr-input-icon.end{position:absolute;margin:-30px 7px 0 0;right:0}.gtr-form-element-input.gtr-input-width-icon.start{padding-left:var(--gtr-padding-32)}.gtr-form-element-input.gtr-input-width-icon.end{padding-right:var(--gtr-padding-32)}.gtr-form-element-input.gtr-invalid{border-color:var(--gtr-color-base-danger-100)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input:-moz-read-only,input:read-only{height:var(--gtr-input-readonly-height)}\n"], dependencies: [{ kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
1008
1008
|
}
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputComponent, decorators: [{
|
|
1010
1010
|
type: Component,
|
|
1011
1011
|
args: [{ standalone: true, selector: 'gtr-input', imports: [GtrSkeletonDirective, GtrIconComponent], template: "@if (this.isDesiredInput()) {\n <div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\"\n [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\">\n @if (inputLabel) {\n <label for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{ inputLabel }}\n </label>\n }\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n @if (!isOnlyView) {\n <input [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\"\n [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\"\n (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [name]=\"name + '-input'\" [attr.data-transaction-name]=\"(dataTransactionName || name) + '-input'\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\"/>\n }\n <div class=\"input-icon\">\n @if (inputIcon && iconPosition == 'start') {\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n }\n @if (isOnlyView) {\n <span [class]=\"'gtr-form-element-input ' + (inputIcon && iconPosition) + (crop ? ' crop':'')\"\n [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\"\n [title]=\"(crop ? value:'')\">\n {{ value ? value : placeholder }}\n </span>\n }\n\n @if (inputIcon && iconPosition == 'end') {\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n }\n </div>\n @if (isShowDefaultError) {\n <div class=\"gtr-error-wrap\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{ this.errorMsg }}\n </div>\n }\n @if (isShowCustomError) {\n <div class=\"gtr-error-wrap\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\n }\n </ng-container>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol,\"Noto Color Emoji\";margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-padding-32: 32px;--gtr-font-size-13: 13px;--gtr-background-transparent: transparent;--gtr-input-height: 38px;--gtr-input-readonly-height: 21px;--gray-shades-40: rgba(0, 0, 0, .4);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-100: #ea5455;--gtr-color-base-label-100: var(--default) }label{position:relative;left:auto;top:auto}.gtr-form-element-wrapper *,.gtr-form-element-wrapper *:before,.gtr-form-element-wrapper *:after{box-sizing:border-box;margin:0;width:auto;transform:all .4s ease}.gtr-relative-element{position:relative}.gtr-disabled,:disabled{opacity:.7;cursor:default!important}.gtr-form-element-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100)}.gtr-error-wrap{font-weight:500;font-size:11px;display:flex;color:var(--gtr-color-base-danger-100);align-items:center;padding-top:5px}.gtr-form-element-input{height:var(--gtr-input-height);border:1px solid var(--gtr-color-base-black-10);width:100%!important;padding:8px 10px;display:flex;align-items:center;color:var(--gtr-color-base-black-80);outline:0;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;border-radius:var(--gtr-border-radius-6)}.gtr-form-element-input::placeholder{color:var(--gtr-color-base-black-40);font-size:13px;line-height:21px}.gtr-form-element-input:focus{border-color:var(--gtr-color-base-primary-80)}.gtr-form-element-input:disabled{background:var(--gtr-color-base-black-5);opacity:.5}.gtr-form-element-input.gtr-error{color:var(--gtr-color-base-danger-100)}.gtr-form-element-input.isonlyview{border:none;height:auto;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:normal;min-height:21px;pointer-events:none;width:auto!important;word-break:break-all}.input-icon{display:flex;align-items:center}.gtr-form-element-input.crop.isonlyview{display:block;pointer-events:all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}span.gtr-input-icon.isonlyview{position:absolute;margin:-20px 0 0 -1px;pointer-events:none}.gtr-form-element-input.gtr-input-width-icon.isonlyview{padding-left:1px}.gtr-form-element-label.isonlyview{margin:0;pointer-events:none}.gtr-error-wrap gtr-icon{margin:-3px 6px 0 0}.gtr-input-icon.start{position:absolute;margin:-30px 0 0 7px}.gtr-input-icon.start.isOnlyView{position:relative;line-height:0;margin:0 0 0 -5px}.gtr-input-icon.end.isOnlyView{position:relative;margin:0;right:auto;line-height:0}.gtr-input-icon.end{position:absolute;margin:-30px 7px 0 0;right:0}.gtr-form-element-input.gtr-input-width-icon.start{padding-left:var(--gtr-padding-32)}.gtr-form-element-input.gtr-input-width-icon.end{padding-right:var(--gtr-padding-32)}.gtr-form-element-input.gtr-invalid{border-color:var(--gtr-color-base-danger-100)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input:-moz-read-only,input:read-only{height:var(--gtr-input-readonly-height)}\n"] }]
|
|
1012
1012
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -1263,10 +1263,10 @@ class GtrTextareaComponent {
|
|
|
1263
1263
|
? this.hasError || (!this.defaultValidation ? !this.isValid : false)
|
|
1264
1264
|
: false;
|
|
1265
1265
|
}
|
|
1266
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1267
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1266
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTextareaComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1267
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTextareaComponent, isStandalone: true, selector: "gtr-textarea", inputs: { name: "name", dataTransactionName: "dataTransactionName", value: "value", placeholder: "placeholder", loading: "loading", textareaLabel: "textareaLabel", disabled: "disabled", textAreaWrapperId: "textAreaWrapperId", readonly: "readonly", isValid: "isValid", isOnlyView: "isOnlyView", defaultValidation: "defaultValidation" }, outputs: { textareaChanged: "textareaChanged", handleError: "handleError" }, ngImport: i0, template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-wrapper'\"\n [id]=\"textAreaWrapperId+'-wrapper'\" [attr.data-testid]=\"textAreaWrapperId+'-wrapper'\">\n <label for={{this.textareaId}} [class]=\"'gtr-form-element-label'\" [id]=\"textAreaWrapperId+'-label'\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-label'\"\n [attr.data-testid]=\"textAreaWrapperId+'-label'\"\n [class.isonlyview]=\"isOnlyView\">{{ this.textareaLabel }}</label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n @if (!isOnlyView) {\n <textarea [id]=\"this.textareaId\" [attr.data-testid]=\"this.textareaId\"\n class=\"gtr-form-element-textarea\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [value]=\"this.value\" [placeholder]=\"this.placeholder\" [disabled]=\"this.disabled\"\n [readOnly]=\"this.readonly\"\n [attr.name]=\"name\" [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea'\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\"\n (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleTextarea($event)\"></textarea>\n }\n\n @if (isOnlyView) {\n <span [class]=\"'gtr-form-element-textarea'\" [id]=\"textAreaWrapperId+'-readonly'\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-readonly'\"\n [attr.data-testid]=\"textAreaWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\">\n {{ value }}\n </span>\n }\n\n @if (isShowDefaultError) {\n <div class=\"gtr-error-wrap\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{ this.errorMsg }}\n </div>\n }\n @if (isShowCustomError) {\n <div class=\"gtr-error-wrap\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\n }\n </ng-container>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol,\"Noto Color Emoji\";margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-padding-32: 32px;--gtr-font-size-13: 13px;--gtr-background-transparent: transparent;--gtr-input-height: 38px;--gtr-input-readonly-height: 21px;--gray-shades-40: rgba(0, 0, 0, .4);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-100: #ea5455;--gtr-color-base-label-100: var(--default) }textarea[readonly=readonly],textarea[readonly]{height:var(--gtr-textarea-readonly-height)!important}textarea{resize:none}.gtr-form-element-wrapper *,.gtr-form-element-wrapper *:before,.gtr-form-element-wrapper *:after{box-sizing:border-box;margin:0;width:100%}.gtr-relative-element{position:relative}.gtr-disabled,:disabled{opacity:.7;cursor:default!important}label{position:relative;left:auto;top:auto}.gtr-form-element-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100)}.gtr-error-wrap{font-weight:500;font-size:11px;display:flex;color:var(--gtr-color-base-danger-100);align-items:center;padding-top:5px}.gtr-form-element-textarea{height:var(--gtr-textarea-height);border:1px solid var(--gtr-color-base-black-10);width:100%;align-items:center;color:var(--gtr-color-base-black-80);outline:0;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;border-radius:var(--gtr-border-radius-6);display:flex;height:85px;padding:8px 10px;align-items:flex-start;gap:10px;flex-shrink:0}.gtr-form-element-textarea::placeholder{color:var(--gtr-color-base-black-40);font-size:13px;line-height:21px;font-style:normal;font-weight:400}.gtr-form-element-textarea:focus{border-color:var(--gtr-color-base-primary-80)}.gtr-form-element-textarea:disabled{background:var(--gtr-color-base-black-5);opacity:.5}.gtr-form-element-textarea.gtr-error{color:var(--gtr-color-base-danger-100)}.gtr-form-element-textarea.isonlyview{border:none;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:23px;pointer-events:none;height:auto;word-break:break-all}.gtr-form-element-label.isonlyview{line-height:27px;margin:0;pointer-events:none}.gtr-error-wrap gtr-icon{margin:-3px 6px 0 0}.gtr-textarea-icon{position:absolute;margin:-30px 0 0 7px}.gtr-form-element-textarea.gtr-textarea-width-icon{padding-left:var(--gtr-padding-32)}.gtr-form-element-textarea.gtr-invalid{border-color:var(--gtr-color-base-danger-100)}.gtr-form-element-textarea::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}\n"], dependencies: [{ kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
1268
1268
|
}
|
|
1269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTextareaComponent, decorators: [{
|
|
1270
1270
|
type: Component,
|
|
1271
1271
|
args: [{ standalone: true, selector: 'gtr-textarea', imports: [GtrSkeletonDirective, GtrIconComponent], template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-wrapper'\"\n [id]=\"textAreaWrapperId+'-wrapper'\" [attr.data-testid]=\"textAreaWrapperId+'-wrapper'\">\n <label for={{this.textareaId}} [class]=\"'gtr-form-element-label'\" [id]=\"textAreaWrapperId+'-label'\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-label'\"\n [attr.data-testid]=\"textAreaWrapperId+'-label'\"\n [class.isonlyview]=\"isOnlyView\">{{ this.textareaLabel }}</label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n @if (!isOnlyView) {\n <textarea [id]=\"this.textareaId\" [attr.data-testid]=\"this.textareaId\"\n class=\"gtr-form-element-textarea\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [value]=\"this.value\" [placeholder]=\"this.placeholder\" [disabled]=\"this.disabled\"\n [readOnly]=\"this.readonly\"\n [attr.name]=\"name\" [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea'\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\"\n (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleTextarea($event)\"></textarea>\n }\n\n @if (isOnlyView) {\n <span [class]=\"'gtr-form-element-textarea'\" [id]=\"textAreaWrapperId+'-readonly'\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-textarea-readonly'\"\n [attr.data-testid]=\"textAreaWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\">\n {{ value }}\n </span>\n }\n\n @if (isShowDefaultError) {\n <div class=\"gtr-error-wrap\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{ this.errorMsg }}\n </div>\n }\n @if (isShowCustomError) {\n <div class=\"gtr-error-wrap\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\n }\n </ng-container>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Noto Sans,Liberation Sans,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol,\"Noto Color Emoji\";margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-padding-32: 32px;--gtr-font-size-13: 13px;--gtr-background-transparent: transparent;--gtr-input-height: 38px;--gtr-input-readonly-height: 21px;--gray-shades-40: rgba(0, 0, 0, .4);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-100: #ea5455;--gtr-color-base-label-100: var(--default) }textarea[readonly=readonly],textarea[readonly]{height:var(--gtr-textarea-readonly-height)!important}textarea{resize:none}.gtr-form-element-wrapper *,.gtr-form-element-wrapper *:before,.gtr-form-element-wrapper *:after{box-sizing:border-box;margin:0;width:100%}.gtr-relative-element{position:relative}.gtr-disabled,:disabled{opacity:.7;cursor:default!important}label{position:relative;left:auto;top:auto}.gtr-form-element-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100)}.gtr-error-wrap{font-weight:500;font-size:11px;display:flex;color:var(--gtr-color-base-danger-100);align-items:center;padding-top:5px}.gtr-form-element-textarea{height:var(--gtr-textarea-height);border:1px solid var(--gtr-color-base-black-10);width:100%;align-items:center;color:var(--gtr-color-base-black-80);outline:0;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;border-radius:var(--gtr-border-radius-6);display:flex;height:85px;padding:8px 10px;align-items:flex-start;gap:10px;flex-shrink:0}.gtr-form-element-textarea::placeholder{color:var(--gtr-color-base-black-40);font-size:13px;line-height:21px;font-style:normal;font-weight:400}.gtr-form-element-textarea:focus{border-color:var(--gtr-color-base-primary-80)}.gtr-form-element-textarea:disabled{background:var(--gtr-color-base-black-5);opacity:.5}.gtr-form-element-textarea.gtr-error{color:var(--gtr-color-base-danger-100)}.gtr-form-element-textarea.isonlyview{border:none;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:23px;pointer-events:none;height:auto;word-break:break-all}.gtr-form-element-label.isonlyview{line-height:27px;margin:0;pointer-events:none}.gtr-error-wrap gtr-icon{margin:-3px 6px 0 0}.gtr-textarea-icon{position:absolute;margin:-30px 0 0 7px}.gtr-form-element-textarea.gtr-textarea-width-icon{padding-left:var(--gtr-padding-32)}.gtr-form-element-textarea.gtr-invalid{border-color:var(--gtr-color-base-danger-100)}.gtr-form-element-textarea::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}\n"] }]
|
|
1272
1272
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -1403,10 +1403,10 @@ class GtrPopoverComponent {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1407
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
1406
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrPopoverComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1407
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.13", type: GtrPopoverComponent, isStandalone: true, selector: "gtr-popover", inputs: { position: "position", isOpened: ["isOpened", "isOpened", booleanAttribute], showPositionIndicator: ["showPositionIndicator", "showPositionIndicator", booleanAttribute], moveX: "moveX", moveY: "moveY", padding: "padding", marginTop: "marginTop", marginBottom: "marginBottom", marginLeft: "marginLeft", marginRight: "marginRight", closeOnClickOutside: ["closeOnClickOutside", "closeOnClickOutside", booleanAttribute], dataTransactionName: "dataTransactionName", id: "id", testId: "testId" }, outputs: { stateChanged: "stateChanged" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "popoverEl", first: true, predicate: ["popoverEl"], descendants: true }, { propertyName: "contentEl", first: true, predicate: ["contentEl"], descendants: true }], ngImport: i0, template: "<div\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-popover-wrapper'\"\n #popoverEl\n class=\"gtr-popover\"\n (click)=\"togglePopover()\"\n role=\"popover\"\n [attr.aria-describedby]=\"'gtr-popover'\"\n [ngStyle]=\"{\n 'margin-top.px': marginTop,\n 'margin-bottom.px': marginBottom,\n 'margin-left.px': marginLeft,\n 'margin-right.px': marginRight,\n }\"\n>\n <ng-content select=\"[slot='gtr-popover-trigger']\"></ng-content>\n <div\n #contentEl\n [hidden]=\"!isVisible\"\n [class.gtr-content-visible]=\"isVisible\"\n [class]=\"\n 'gtr-content' +\n ' ' +\n adjustedPosition +\n ' ' +\n ' ' +\n (showPositionIndicator ? 'gtr-indicator' : '')\n \"\n [tabIndex]=\"0\"\n (click)=\"popoverContentClicked($event)\"\n [style.padding.px]=\"padding\"\n [ngStyle]=\"{ transform: 'translate(' + moveX + '%, ' + moveY + '%)' }\"\n [attr.data-transaction-name]=\"dataTransactionName + '-popover'\"\n >\n <ng-container>\n <ng-content select=\"[slot='gtr-popover-content']\"></ng-content>\n </ng-container>\n </div>\n</div>\n", styles: [":host{position:relative;display:inline-block!important;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;padding:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent;--background-color: var(--gtr-color-base-white-100);--text-color: var(--gtr-color-base-black-60)}.gtr-popover{position:relative;width:auto;display:inline-block}.gtr-content{position:absolute;z-index:1;background-color:var(--background-color)!important;color:var(--text-color);padding:16px 18px;box-shadow:var(--gtr-content-box-shadow-base);white-space:normal;max-width:300px;width:max-content;min-width:200px;overflow-x:hidden;color:#000}.gtr-content.gtr-indicator{overflow-x:visible!important}.gtr-content::-webkit-scrollbar,::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:0px;background:var(var(--gtr-color-base-black-40))}.gtr-content.top{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.top:before{content:\"\";position:absolute;top:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-top-color:var(--background-color);transform:translate(-50%)}.gtr-content.right{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.right:before{content:\"\";position:absolute;top:50%;right:100%;border:7px solid var(--gtr-background-transparent);border-right-color:var(--background-color);transform:translateY(-50%)}.gtr-content.bottom{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.bottom:before{content:\"\";position:absolute;bottom:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-bottom-color:var(--background-color);transform:translate(-50%)}.gtr-content.left{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.left:before{content:\"\";position:absolute;top:50%;left:100%;border:7px solid var(--gtr-background-transparent);border-left-color:var(--background-color);transform:translateY(-50%)}.gtr-content-visible{display:inline-block!important;background:#fff!important}@media screen and (max-width: 860px){.gtr-content{width:max-content;max-width:300px}}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
1408
1408
|
}
|
|
1409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrPopoverComponent, decorators: [{
|
|
1410
1410
|
type: Component,
|
|
1411
1411
|
args: [{ standalone: true, selector: 'gtr-popover', imports: [NgStyle], template: "<div\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-popover-wrapper'\"\n #popoverEl\n class=\"gtr-popover\"\n (click)=\"togglePopover()\"\n role=\"popover\"\n [attr.aria-describedby]=\"'gtr-popover'\"\n [ngStyle]=\"{\n 'margin-top.px': marginTop,\n 'margin-bottom.px': marginBottom,\n 'margin-left.px': marginLeft,\n 'margin-right.px': marginRight,\n }\"\n>\n <ng-content select=\"[slot='gtr-popover-trigger']\"></ng-content>\n <div\n #contentEl\n [hidden]=\"!isVisible\"\n [class.gtr-content-visible]=\"isVisible\"\n [class]=\"\n 'gtr-content' +\n ' ' +\n adjustedPosition +\n ' ' +\n ' ' +\n (showPositionIndicator ? 'gtr-indicator' : '')\n \"\n [tabIndex]=\"0\"\n (click)=\"popoverContentClicked($event)\"\n [style.padding.px]=\"padding\"\n [ngStyle]=\"{ transform: 'translate(' + moveX + '%, ' + moveY + '%)' }\"\n [attr.data-transaction-name]=\"dataTransactionName + '-popover'\"\n >\n <ng-container>\n <ng-content select=\"[slot='gtr-popover-content']\"></ng-content>\n </ng-container>\n </div>\n</div>\n", styles: [":host{position:relative;display:inline-block!important;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;padding:0;--gtr-border-radius-6: 6px;--gtr-background-transparent: transparent;--background-color: var(--gtr-color-base-white-100);--text-color: var(--gtr-color-base-black-60)}.gtr-popover{position:relative;width:auto;display:inline-block}.gtr-content{position:absolute;z-index:1;background-color:var(--background-color)!important;color:var(--text-color);padding:16px 18px;box-shadow:var(--gtr-content-box-shadow-base);white-space:normal;max-width:300px;width:max-content;min-width:200px;overflow-x:hidden;color:#000}.gtr-content.gtr-indicator{overflow-x:visible!important}.gtr-content::-webkit-scrollbar,::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:0px;background:var(var(--gtr-color-base-black-40))}.gtr-content.top{bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.top:before{content:\"\";position:absolute;top:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-top-color:var(--background-color);transform:translate(-50%)}.gtr-content.right{top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.right:before{content:\"\";position:absolute;top:50%;right:100%;border:7px solid var(--gtr-background-transparent);border-right-color:var(--background-color);transform:translateY(-50%)}.gtr-content.bottom{top:calc(100% + 10px);left:50%;transform:translate(-50%)}.gtr-content.bottom:before{content:\"\";position:absolute;bottom:100%;left:50%;border:7px solid var(--gtr-background-transparent);border-bottom-color:var(--background-color);transform:translate(-50%)}.gtr-content.left{top:50%;right:calc(100% + 10px);transform:translateY(-50%)}.gtr-content.left:before{content:\"\";position:absolute;top:50%;left:100%;border:7px solid var(--gtr-background-transparent);border-left-color:var(--background-color);transform:translateY(-50%)}.gtr-content-visible{display:inline-block!important;background:#fff!important}@media screen and (max-width: 860px){.gtr-content{width:max-content;max-width:300px}}\n"] }]
|
|
1412
1412
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { position: [{
|
|
@@ -1610,10 +1610,10 @@ class GtrRadioButtonComponent {
|
|
|
1610
1610
|
throw new Error('[gtr-radio-button] should contain only one checked value.');
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
1613
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1614
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
1613
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrRadioButtonComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1614
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.13", type: GtrRadioButtonComponent, isStandalone: true, selector: "gtr-radio-button", inputs: { name: "name", dataTransactionName: "dataTransactionName", value: "value", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], label: "label", tabIndexNav: "tabIndexNav", radioId: "radioId", groupName: "groupName" }, outputs: { valueChanged: "valueChanged" }, host: { listeners: { "document:keyup": "handleKeyDown($event)" } }, ngImport: i0, template: "<div class=\"gtr-form-element-wrapper\"\n [id]=\"radioId+'-wrapper'\"\n [attr.data-testid]=\"radioId+'-wrapper'\"\n [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button-wrapper'\">\n <div class=\"gtr-form-element-radio-wrapper gtr-relative-element\">\n <input type=\"radio\"\n [name]=\"groupName\"\n class=\"gtr-form-element-radio\"\n role=\"radio\"\n [id]=\"this.radioId\"\n [attr.data-testid]=\"this.radioId\"\n [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\"\n value=\"{{value}}\"\n [checked]=\"this.checked\"\n [disabled]=\"this.disabled\"\n (change)=\"this.handleChange($event)\"\n (keydown)=\"detectEnter($event)\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button'\"\n [attr.aria-checked]=\"this.checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\"/>\n <span class=\"gtr-radio-stats\"> </span>\n <label [id]=\"this.radioId+'-label'\"\n [attr.data-testid]=\"this.radioId+'-label'\"\n [class]=\"'gtr-radio-label' + (this.disabled ? ' disabled' : '')\"\n [for]=\"this.radioId\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button-label'\"\n (click)=\"this.handleClick()\"\n role=\"radio\"\n [attr.aria-checked]=\"this.checked ? 'true' : 'false'\">{{ this.label }}</label>\n </div>\n <ng-content select=\"[slot='grt-info']\"></ng-content>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-opacity-05: .5;--gtr-opacity-07: .7;--gtr-color-base-black-80: rgba(0, 0, 0, .8)}.gtr-relative-element{position:relative}.gtr-form-element-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:10px;margin-bottom:5px}.gtr-form-element-wrapper:focus-visible,.gtr-form-element-wrapper :focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:1;cursor:pointer;margin:0;padding:0}.gtr-form-element-radio:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;max-width:fit-content;gap:5px}.gtr-form-element-radio-wrapper:focus{outline:none!important;background:var(--primary-light)}label.gtr-radio-label{margin-left:1px!important;font-style:normal;font-weight:500;font-size:14px!important;line-height:22px;position:relative!important;top:1px;color:var(--gtr-color-base-black-80)}label.gtr-radio-label:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio+.gtr-radio-stats{width:16px;height:16px;display:inline-block;margin-top:1px;border-width:1px;border-radius:100px;border-style:solid}.gtr-form-element-radio:not(:checked)+.gtr-radio-stats{border-color:var(--gtr-color-base-black-20);background:var(--gtr-color-base-white-100)}.gtr-form-element-radio:not(:checked):disabled+.gtr-radio-stats{background:linear-gradient(0deg,var(--gtr-color-base-white-80),var(--gtr-color-base-white-80)),var(--gtr-color-base-black-80);border-color:var(--gtr-color-base-white-80)}.gtr-form-element-radio:checked+.gtr-radio-stats{border-color:var(--gtr-color-base-primary-100);background:var(--gtr-color-base-primary-100);position:relative}.gtr-form-element-radio:checked+.gtr-radio-stats:after{content:\"\";display:block;height:8px;width:8px;position:absolute;background:var(--gtr-color-base-white-100);border-radius:calc(var(--gtr-border-radius-6) * 12);top:3px;left:3px}.gtr-form-element-radio:checked:disabled+.gtr-radio-stats,.gtr-form-element-radio:checked:disabled+.gtr-radio-stats+.gtr-radio-label{opacity:var(--gtr-opacity-05)}.gtr-form-element-radio:disabled{cursor:default}.gtr-radio-label.disabled{opacity:var(--gtr-opacity-07)}\n"] }); }
|
|
1615
1615
|
}
|
|
1616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrRadioButtonComponent, decorators: [{
|
|
1617
1617
|
type: Component,
|
|
1618
1618
|
args: [{ standalone: true, selector: 'gtr-radio-button', template: "<div class=\"gtr-form-element-wrapper\"\n [id]=\"radioId+'-wrapper'\"\n [attr.data-testid]=\"radioId+'-wrapper'\"\n [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button-wrapper'\">\n <div class=\"gtr-form-element-radio-wrapper gtr-relative-element\">\n <input type=\"radio\"\n [name]=\"groupName\"\n class=\"gtr-form-element-radio\"\n role=\"radio\"\n [id]=\"this.radioId\"\n [attr.data-testid]=\"this.radioId\"\n [tabIndex]=\"this.disabled ? -1 : this.tabIndexNav || 0\"\n value=\"{{value}}\"\n [checked]=\"this.checked\"\n [disabled]=\"this.disabled\"\n (change)=\"this.handleChange($event)\"\n (keydown)=\"detectEnter($event)\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button'\"\n [attr.aria-checked]=\"this.checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\"/>\n <span class=\"gtr-radio-stats\"> </span>\n <label [id]=\"this.radioId+'-label'\"\n [attr.data-testid]=\"this.radioId+'-label'\"\n [class]=\"'gtr-radio-label' + (this.disabled ? ' disabled' : '')\"\n [for]=\"this.radioId\"\n [attr.data-transaction-name]=\"dataTransactionName || name + '-radio-button-label'\"\n (click)=\"this.handleClick()\"\n role=\"radio\"\n [attr.aria-checked]=\"this.checked ? 'true' : 'false'\">{{ this.label }}</label>\n </div>\n <ng-content select=\"[slot='grt-info']\"></ng-content>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-opacity-05: .5;--gtr-opacity-07: .7;--gtr-color-base-black-80: rgba(0, 0, 0, .8)}.gtr-relative-element{position:relative}.gtr-form-element-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;gap:10px;margin-bottom:5px}.gtr-form-element-wrapper:focus-visible,.gtr-form-element-wrapper :focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:1;cursor:pointer;margin:0;padding:0}.gtr-form-element-radio:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;max-width:fit-content;gap:5px}.gtr-form-element-radio-wrapper:focus{outline:none!important;background:var(--primary-light)}label.gtr-radio-label{margin-left:1px!important;font-style:normal;font-weight:500;font-size:14px!important;line-height:22px;position:relative!important;top:1px;color:var(--gtr-color-base-black-80)}label.gtr-radio-label:focus{outline:none!important;background:var(--primary-light)}.gtr-form-element-radio+.gtr-radio-stats{width:16px;height:16px;display:inline-block;margin-top:1px;border-width:1px;border-radius:100px;border-style:solid}.gtr-form-element-radio:not(:checked)+.gtr-radio-stats{border-color:var(--gtr-color-base-black-20);background:var(--gtr-color-base-white-100)}.gtr-form-element-radio:not(:checked):disabled+.gtr-radio-stats{background:linear-gradient(0deg,var(--gtr-color-base-white-80),var(--gtr-color-base-white-80)),var(--gtr-color-base-black-80);border-color:var(--gtr-color-base-white-80)}.gtr-form-element-radio:checked+.gtr-radio-stats{border-color:var(--gtr-color-base-primary-100);background:var(--gtr-color-base-primary-100);position:relative}.gtr-form-element-radio:checked+.gtr-radio-stats:after{content:\"\";display:block;height:8px;width:8px;position:absolute;background:var(--gtr-color-base-white-100);border-radius:calc(var(--gtr-border-radius-6) * 12);top:3px;left:3px}.gtr-form-element-radio:checked:disabled+.gtr-radio-stats,.gtr-form-element-radio:checked:disabled+.gtr-radio-stats+.gtr-radio-label{opacity:var(--gtr-opacity-05)}.gtr-form-element-radio:disabled{cursor:default}.gtr-radio-label.disabled{opacity:var(--gtr-opacity-07)}\n"] }]
|
|
1619
1619
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -1690,10 +1690,10 @@ class GtrToasterService {
|
|
|
1690
1690
|
getToastSubject() {
|
|
1691
1691
|
return this.toastSubject;
|
|
1692
1692
|
}
|
|
1693
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1693
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrToasterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1694
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrToasterService, providedIn: 'root' }); }
|
|
1695
1695
|
}
|
|
1696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrToasterService, decorators: [{
|
|
1697
1697
|
type: Injectable,
|
|
1698
1698
|
args: [{
|
|
1699
1699
|
providedIn: 'root',
|
|
@@ -1764,10 +1764,10 @@ class GtrToasterComponent {
|
|
|
1764
1764
|
});
|
|
1765
1765
|
}
|
|
1766
1766
|
}
|
|
1767
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1768
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1767
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrToasterComponent, deps: [{ token: GtrToasterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1768
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrToasterComponent, isStandalone: true, selector: "gtr-toaster", inputs: { id: "id", testId: "testId", dataTransactionName: "dataTransactionName" }, viewQueries: [{ propertyName: "toasterElement", first: true, predicate: ["toasterElement"], descendants: true, static: true }], ngImport: i0, template: "<!-- gtr-toaster.component.html -->\n\n<div\n tabindex=\"0\"\n #toasterElement\n class=\"gtr-toaster-wrapper\"\n [ngClass]=\"{\n 'show': open,\n 'hide': !open,\n 'top-right': toasterData && toasterData.position ? toasterData.position : 'top-right'\n }\"\n (keydown)=\"handleKeyDown($event)\"\n [id]=\"id\" [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-toaster-wrapper'\"\n>\n @if (open) {\n <div\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n class=\"gtr-toaster-content-wrapper\"\n [ngStyle]=\"{ 'background-color': toasterData.backgroundColor }\"\n [attr.data-transaction-name]=\"dataTransactionName + '-toaster'\"\n >\n <div class=\"gtr-toaster-icon\">\n <gtr-badge\n [shape]=\"'default'\"\n [type]=\"'icon'\"\n [color]=\"\n toasterData.type === 'success'\n ? 'success'\n : toasterData.type === 'error'\n ? 'danger'\n : toasterData.type === 'info'\n ? 'info'\n : toasterData.type === 'warning'\n ? 'warning'\n : 'default'\n \"\n [dataTransactionName]=\"dataTransactionName + '-toaster-badge'\"\n >\n <gtr-icon\n [name]=\"\n toasterData.type === 'success'\n ? 'check'\n : toasterData.type === 'error'\n ? 'x'\n : toasterData.type === 'info'\n ? 'info-circle'\n : toasterData.type === 'warning'\n ? 'alert-triangle'\n : 'message'\n \"\n [size]=\"18\"\n ></gtr-icon>\n </gtr-badge>\n </div>\n <div class=\"gtr-toaster-content\">\n <h5 [style.color]=\"toasterData.color\"><b>{{ (toasterData.heading || toasterData.type) | titlecase }}</b></h5>\n @if (toasterData.message) {\n <p [style.color]=\"toasterData.messageColor\">{{ toasterData.message }}</p>\n }\n </div>\n <div class=\"close\" (click)=\"hideToast()\" [attr.data-transaction-name]=\"dataTransactionName + '-toaster-hide'\">\n <gtr-icon name=\"x\" [size]=\"20\" [dataTransactionName]=\"dataTransactionName + '-toaster-hide'\"></gtr-icon>\n </div>\n </div>\n }\n</div>\n", styles: [":host{display:block}.gtr-toaster-wrapper *,.gtr-toaster-wrapper *:after,.gtr-toaster-wrapper *:before{box-sizing:border-box}.gtr-toaster-wrapper{position:fixed;z-index:9999;transition:.6s ease-in-out;display:none}.gtr-toaster-wrapper.top-right{right:12px;top:12px}.gtr-toaster-wrapper.top-left{top:12px;left:12px}.gtr-toaster-wrapper.bottom-left{bottom:12px;left:12px}.gtr-toaster-wrapper.bottom-right{bottom:12px;right:12px}.gtr-toaster-wrapper.center-left{left:12px;top:50%}.gtr-toaster-wrapper.center-right{right:12px;top:50%}.gtr-toaster-wrapper.show{animation:fade-in .4s linear;display:block}.gtr-toaster-wrapper.hide{animation:fade-out .4s linear;display:none}.gtr-toaster-wrapper .gtr-toaster-content-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;width:380px;max-width:380px;border-radius:6px;box-shadow:0 4px 16px #a5a3ae73;background:#fff;padding:20px;align-items:flex-start;box-sizing:border-box}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-icon{margin-right:12px}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content{flex-grow:1;padding:0;margin:0}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content h5{font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-bold);font-size:15px;line-height:22px;padding:0;margin:0;color:var(--gtr-color-base-black-100)}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content p{margin:2px 0 0;padding:0;font-size:13px!important;line-height:20px;color:var(--gtr-color-base-black-60);color:var(--Light-Typography-Color-Body-Text, #4b465c);font-weight:400}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .close{cursor:pointer;color:var(--gtr-color-base-black-60)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media only screen and (max-width: 480px){.gtr-toaster-content-wrapper{width:100%!important}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }] }); }
|
|
1769
1769
|
}
|
|
1770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrToasterComponent, decorators: [{
|
|
1771
1771
|
type: Component,
|
|
1772
1772
|
args: [{ standalone: true, selector: 'gtr-toaster', imports: [NgClass, GtrIconComponent, NgStyle, GtrBadgeComponent, TitleCasePipe], template: "<!-- gtr-toaster.component.html -->\n\n<div\n tabindex=\"0\"\n #toasterElement\n class=\"gtr-toaster-wrapper\"\n [ngClass]=\"{\n 'show': open,\n 'hide': !open,\n 'top-right': toasterData && toasterData.position ? toasterData.position : 'top-right'\n }\"\n (keydown)=\"handleKeyDown($event)\"\n [id]=\"id\" [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-toaster-wrapper'\"\n>\n @if (open) {\n <div\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n class=\"gtr-toaster-content-wrapper\"\n [ngStyle]=\"{ 'background-color': toasterData.backgroundColor }\"\n [attr.data-transaction-name]=\"dataTransactionName + '-toaster'\"\n >\n <div class=\"gtr-toaster-icon\">\n <gtr-badge\n [shape]=\"'default'\"\n [type]=\"'icon'\"\n [color]=\"\n toasterData.type === 'success'\n ? 'success'\n : toasterData.type === 'error'\n ? 'danger'\n : toasterData.type === 'info'\n ? 'info'\n : toasterData.type === 'warning'\n ? 'warning'\n : 'default'\n \"\n [dataTransactionName]=\"dataTransactionName + '-toaster-badge'\"\n >\n <gtr-icon\n [name]=\"\n toasterData.type === 'success'\n ? 'check'\n : toasterData.type === 'error'\n ? 'x'\n : toasterData.type === 'info'\n ? 'info-circle'\n : toasterData.type === 'warning'\n ? 'alert-triangle'\n : 'message'\n \"\n [size]=\"18\"\n ></gtr-icon>\n </gtr-badge>\n </div>\n <div class=\"gtr-toaster-content\">\n <h5 [style.color]=\"toasterData.color\"><b>{{ (toasterData.heading || toasterData.type) | titlecase }}</b></h5>\n @if (toasterData.message) {\n <p [style.color]=\"toasterData.messageColor\">{{ toasterData.message }}</p>\n }\n </div>\n <div class=\"close\" (click)=\"hideToast()\" [attr.data-transaction-name]=\"dataTransactionName + '-toaster-hide'\">\n <gtr-icon name=\"x\" [size]=\"20\" [dataTransactionName]=\"dataTransactionName + '-toaster-hide'\"></gtr-icon>\n </div>\n </div>\n }\n</div>\n", styles: [":host{display:block}.gtr-toaster-wrapper *,.gtr-toaster-wrapper *:after,.gtr-toaster-wrapper *:before{box-sizing:border-box}.gtr-toaster-wrapper{position:fixed;z-index:9999;transition:.6s ease-in-out;display:none}.gtr-toaster-wrapper.top-right{right:12px;top:12px}.gtr-toaster-wrapper.top-left{top:12px;left:12px}.gtr-toaster-wrapper.bottom-left{bottom:12px;left:12px}.gtr-toaster-wrapper.bottom-right{bottom:12px;right:12px}.gtr-toaster-wrapper.center-left{left:12px;top:50%}.gtr-toaster-wrapper.center-right{right:12px;top:50%}.gtr-toaster-wrapper.show{animation:fade-in .4s linear;display:block}.gtr-toaster-wrapper.hide{animation:fade-out .4s linear;display:none}.gtr-toaster-wrapper .gtr-toaster-content-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;width:380px;max-width:380px;border-radius:6px;box-shadow:0 4px 16px #a5a3ae73;background:#fff;padding:20px;align-items:flex-start;box-sizing:border-box}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-icon{margin-right:12px}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content{flex-grow:1;padding:0;margin:0}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content h5{font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-bold);font-size:15px;line-height:22px;padding:0;margin:0;color:var(--gtr-color-base-black-100)}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .gtr-toaster-content p{margin:2px 0 0;padding:0;font-size:13px!important;line-height:20px;color:var(--gtr-color-base-black-60);color:var(--Light-Typography-Color-Body-Text, #4b465c);font-weight:400}.gtr-toaster-wrapper .gtr-toaster-content-wrapper .close{cursor:pointer;color:var(--gtr-color-base-black-60)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@media only screen and (max-width: 480px){.gtr-toaster-content-wrapper{width:100%!important}}\n"] }]
|
|
1773
1773
|
}], ctorParameters: () => [{ type: GtrToasterService }], propDecorators: { id: [{
|
|
@@ -1785,10 +1785,10 @@ class GtrDisplayValueComponent {
|
|
|
1785
1785
|
constructor() {
|
|
1786
1786
|
this.dataTransactionName = 'no-tagged';
|
|
1787
1787
|
}
|
|
1788
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1789
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1788
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDisplayValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1789
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrDisplayValueComponent, isStandalone: true, selector: "gtr-display-value", inputs: { loading: "loading", label: "label", value: "value", contentType: "contentType", id: "id", dataTestId: "dataTestId", skeletonConfigs: "skeletonConfigs", dataTransactionName: "dataTransactionName" }, ngImport: i0, template: "<div class=\"gtr-display-value-wrapper\" [attr.id]=\"id\" [attr.data-testid]=\"dataTestId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-wrapper'\">\n @if (label) {\n <div class=\"gtr-display-value-label\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-label'\">{{ label }}\n </div>\n }\n <ng-container\n *skeleton=\"\n loading;\n repeat: skeletonConfigs?.repeat ?? 1;\n className: skeletonConfigs?.className ?? 'skeleton-margin-bottom';\n height: skeletonConfigs?.height ?? '16px';\n width: skeletonConfigs?.width ?? '150px'\n \"\n >\n @if (contentType !== 'projected') {\n <span class=\"gtr-display-value-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-innerHTML'\"\n [innerHTML]=\"value\"></span>\n } @else {\n <span class=\"gtr-display-value-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-content'\">\n <ng-content select=\"[slot='custom-content']\"></ng-content>\n </span>\n }\n </ng-container>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;margin:0;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-font-size-13: 13px;--gtr-color-base-label-100: var(--default)}.gtr-display-value-wrapper{position:relative;width:auto}.gtr-display-value-wrapper .gtr-display-value-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100);margin:0;pointer-events:none}.gtr-display-value-wrapper .gtr-display-value-content{border:none;height:auto;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:normal;min-height:21px;pointer-events:none;width:auto!important;word-break:break-all}\n"], dependencies: [{ kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }] }); }
|
|
1790
1790
|
}
|
|
1791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDisplayValueComponent, decorators: [{
|
|
1792
1792
|
type: Component,
|
|
1793
1793
|
args: [{ standalone: true, selector: 'gtr-display-value', imports: [GtrSkeletonDirective], template: "<div class=\"gtr-display-value-wrapper\" [attr.id]=\"id\" [attr.data-testid]=\"dataTestId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-wrapper'\">\n @if (label) {\n <div class=\"gtr-display-value-label\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-label'\">{{ label }}\n </div>\n }\n <ng-container\n *skeleton=\"\n loading;\n repeat: skeletonConfigs?.repeat ?? 1;\n className: skeletonConfigs?.className ?? 'skeleton-margin-bottom';\n height: skeletonConfigs?.height ?? '16px';\n width: skeletonConfigs?.width ?? '150px'\n \"\n >\n @if (contentType !== 'projected') {\n <span class=\"gtr-display-value-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-innerHTML'\"\n [innerHTML]=\"value\"></span>\n } @else {\n <span class=\"gtr-display-value-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-display-value-content'\">\n <ng-content select=\"[slot='custom-content']\"></ng-content>\n </span>\n }\n </ng-container>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;margin:0;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-font-size-13: 13px;--gtr-color-base-label-100: var(--default)}.gtr-display-value-wrapper{position:relative;width:auto}.gtr-display-value-wrapper .gtr-display-value-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100);margin:0;pointer-events:none}.gtr-display-value-wrapper .gtr-display-value-content{border:none;height:auto;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:normal;min-height:21px;pointer-events:none;width:auto!important;word-break:break-all}\n"] }]
|
|
1794
1794
|
}], propDecorators: { loading: [{
|
|
@@ -1877,10 +1877,10 @@ class GtrAccordionComponent {
|
|
|
1877
1877
|
event.preventDefault();
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1881
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1880
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1881
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrAccordionComponent, isStandalone: true, selector: "gtr-accordion", inputs: { header: "header", status: "status", id: "id", testId: "testId", justifyContent: "justifyContent", prefixIcon: "prefixIcon", opened: "opened", iconSize: "iconSize", iconColor: "iconColor", iconWeight: "iconWeight", allowMultiple: "allowMultiple", expandAll: "expandAll", showArrowIcon: "showArrowIcon", dataTransactionName: "dataTransactionName" }, outputs: { accordionState: "accordionState" }, ngImport: i0, template: "<div #accordionRef [id]=\"id\" [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-accordion'\">\n <div class=\"d-flex gtr-accordion-container\">\n <div class=\"gtr-accordion-wrapper\" [class.gtr-accordion-show]=\"opened\">\n <div class=\"gtr-accordion-header\" (keydown)=\"onKeyDown($event)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-accordion-header'\"\n (click)=\"toggleSection()\" tabindex=\"0\">\n <div [class]=\"justifyContent + ' gtr-row'\">\n <span class=\"gtr-ww\">\n @if (prefixIcon) {\n <gtr-icon [name]=\"prefixIcon\" [size]=\"iconSize\" [color]=\"iconColor\" [weight]=\"iconWeight\"\n [dataTransactionName]=\"dataTransactionName + '-accordion-icon'\"\n class=\"gtr-accordion-icon\"></gtr-icon>\n }\n {{ header }}\n </span>\n\n @if (status?.icon) {\n <gtr-icon type=\"pill\" [name]=\"status?.name\">\n </gtr-icon>\n }\n\n @if (status?.text) {\n <gtr-badge type=\"pill\" [color]=\"status?.color\">\n {{ status?.text }}\n </gtr-badge>\n }\n\n </div>\n @if (showArrowIcon) {\n <gtr-icon [name]=\"'chevron-right'\" [size]=\"24\" color=\"var(--gtr-color-base-black-60)\"\n [dataTransactionName]=\"dataTransactionName + '-accordion-icon'\"\n class=\"gtr-accordion-arrow-icon\" [class.rotate-icon]=\"opened\"></gtr-icon>\n }\n </div>\n\n @if (opened) {\n <div class=\"gtr-accordion-content\" [attr.data-transaction-name]=\"dataTransactionName + '-accordion-content'\">\n <ng-content></ng-content>\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-accordion-wrapper-box-shadow: 0px 2px 4px 0px rgba(165, 163, 174, .3)}.d-flex{display:flex}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.gtr-accordion-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0px;padding:5px 0}.gtr-accordion-wrapper{background:var(--gtr-color-base-white-100);box-shadow:var(--gtr-accordion-wrapper-box-shadow);border-radius:6px;padding:13px 18px;transition:all .4s ease;width:100%}@media screen and (max-width: 480px){.gtr-accordion-wrapper{padding:10px}}.gtr-accordion-header{font-weight:600;font-size:15px;line-height:22px;color:var(--gtr-color-base-black-80);display:flex;justify-content:space-between;align-items:flex-start;cursor:pointer;align-items:center;padding:0 5px}.gtr-row{display:flex;align-items:center;gap:24px;width:calc(100% - 50px);cursor:pointer}.gtr-accordion-header>gtr-icon.gtr-accordion-arrow-icon{position:relative;right:7px}.gtr-accordion-content{font-size:14px;line-height:22px;color:var(--gtr-color-base-black-60);font-weight:400;margin-top:15px;padding:0 5px}.gtr-accordion-wrapper:not(.gtr-accordion-show) .gtr-accordion-content{display:none}.gtr-accordion-icon{position:relative;top:1px;margin-right:8px}.rotate-icon{transform:rotate(90deg)}@media screen and (max-width: 992px){.gtr-row{align-items:flex-start;gap:10px;flex-flow:column}}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }] }); }
|
|
1882
1882
|
}
|
|
1883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrAccordionComponent, decorators: [{
|
|
1884
1884
|
type: Component,
|
|
1885
1885
|
args: [{ standalone: true, selector: 'gtr-accordion', imports: [GtrIconComponent, GtrBadgeComponent], template: "<div #accordionRef [id]=\"id\" [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-accordion'\">\n <div class=\"d-flex gtr-accordion-container\">\n <div class=\"gtr-accordion-wrapper\" [class.gtr-accordion-show]=\"opened\">\n <div class=\"gtr-accordion-header\" (keydown)=\"onKeyDown($event)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-accordion-header'\"\n (click)=\"toggleSection()\" tabindex=\"0\">\n <div [class]=\"justifyContent + ' gtr-row'\">\n <span class=\"gtr-ww\">\n @if (prefixIcon) {\n <gtr-icon [name]=\"prefixIcon\" [size]=\"iconSize\" [color]=\"iconColor\" [weight]=\"iconWeight\"\n [dataTransactionName]=\"dataTransactionName + '-accordion-icon'\"\n class=\"gtr-accordion-icon\"></gtr-icon>\n }\n {{ header }}\n </span>\n\n @if (status?.icon) {\n <gtr-icon type=\"pill\" [name]=\"status?.name\">\n </gtr-icon>\n }\n\n @if (status?.text) {\n <gtr-badge type=\"pill\" [color]=\"status?.color\">\n {{ status?.text }}\n </gtr-badge>\n }\n\n </div>\n @if (showArrowIcon) {\n <gtr-icon [name]=\"'chevron-right'\" [size]=\"24\" color=\"var(--gtr-color-base-black-60)\"\n [dataTransactionName]=\"dataTransactionName + '-accordion-icon'\"\n class=\"gtr-accordion-arrow-icon\" [class.rotate-icon]=\"opened\"></gtr-icon>\n }\n </div>\n\n @if (opened) {\n <div class=\"gtr-accordion-content\" [attr.data-transaction-name]=\"dataTransactionName + '-accordion-content'\">\n <ng-content></ng-content>\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [":host{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-accordion-wrapper-box-shadow: 0px 2px 4px 0px rgba(165, 163, 174, .3)}.d-flex{display:flex}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.gtr-accordion-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0px;padding:5px 0}.gtr-accordion-wrapper{background:var(--gtr-color-base-white-100);box-shadow:var(--gtr-accordion-wrapper-box-shadow);border-radius:6px;padding:13px 18px;transition:all .4s ease;width:100%}@media screen and (max-width: 480px){.gtr-accordion-wrapper{padding:10px}}.gtr-accordion-header{font-weight:600;font-size:15px;line-height:22px;color:var(--gtr-color-base-black-80);display:flex;justify-content:space-between;align-items:flex-start;cursor:pointer;align-items:center;padding:0 5px}.gtr-row{display:flex;align-items:center;gap:24px;width:calc(100% - 50px);cursor:pointer}.gtr-accordion-header>gtr-icon.gtr-accordion-arrow-icon{position:relative;right:7px}.gtr-accordion-content{font-size:14px;line-height:22px;color:var(--gtr-color-base-black-60);font-weight:400;margin-top:15px;padding:0 5px}.gtr-accordion-wrapper:not(.gtr-accordion-show) .gtr-accordion-content{display:none}.gtr-accordion-icon{position:relative;top:1px;margin-right:8px}.rotate-icon{transform:rotate(90deg)}@media screen and (max-width: 992px){.gtr-row{align-items:flex-start;gap:10px;flex-flow:column}}\n"] }]
|
|
1886
1886
|
}], ctorParameters: () => [], propDecorators: { header: [{
|
|
@@ -1990,10 +1990,10 @@ class GtrAccordionWrapperComponent {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
}
|
|
1992
1992
|
}
|
|
1993
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1994
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1993
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrAccordionWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1994
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrAccordionWrapperComponent, isStandalone: true, selector: "gtr-accordion-wrapper", inputs: { allowMultiple: "allowMultiple", id: "id", testId: "testId", dataTransactionName: "dataTransactionName", expandAll: "expandAll", showArrowIcon: "showArrowIcon" }, outputs: { accordionStateChanged: "accordionStateChanged" }, queries: [{ propertyName: "accordions", predicate: GtrAccordionComponent }], ngImport: i0, template: "<div [id]=\"id\" [attr.data-test-id]=\"testId\" [attr.data-transaction-name]=\"dataTransactionName + '-accordion-wrapper'\">\n <ng-content></ng-content>\n</div>\n", styles: [""] }); }
|
|
1995
1995
|
}
|
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrAccordionWrapperComponent, decorators: [{
|
|
1997
1997
|
type: Component,
|
|
1998
1998
|
args: [{ standalone: true, selector: 'gtr-accordion-wrapper', template: "<div [id]=\"id\" [attr.data-test-id]=\"testId\" [attr.data-transaction-name]=\"dataTransactionName + '-accordion-wrapper'\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
1999
1999
|
}], propDecorators: { accordionStateChanged: [{
|
|
@@ -2379,10 +2379,10 @@ class GtrCalendarService {
|
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2383
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2382
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarService, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2383
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarService }); }
|
|
2384
2384
|
}
|
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarService, decorators: [{
|
|
2386
2386
|
type: Injectable
|
|
2387
2387
|
}], ctorParameters: () => [{ type: i0.KeyValueDiffers }] });
|
|
2388
2388
|
|
|
@@ -2441,10 +2441,10 @@ class GtrCalendarNavigationComponent {
|
|
|
2441
2441
|
handleNavigationClick(direction, years = false) {
|
|
2442
2442
|
this.navigationClick.emit({ direction, years: years });
|
|
2443
2443
|
}
|
|
2444
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2445
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2444
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarNavigationComponent, deps: [{ token: GtrCalendarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2445
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrCalendarNavigationComponent, isStandalone: true, selector: "gtr-calendar-navigation", inputs: { dataTransactionName: "dataTransactionName", addMonths: "addMonths", calendarDate: "calendarDate", navigation: "navigation", navYearFirst: "navYearFirst" }, outputs: { navigationClick: "navigationClick" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0, template: "@if (navigation) {\n <div class=\"calendar-nav-prev\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous-wrapper'\">\n\n @if (view !== 'days') {\n <button\n (click)=\"handleNavigationClick('prev', true)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous-first'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevrons-left\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-previous-first'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n @if (view === 'days') {\n <button\n (click)=\"handleNavigationClick('prev')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous'\"\n >\n <gtr-icon name=\"chevron-left\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-previous'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n}\n<div class=\"calendar-nav-date\" [ngStyle]=\"navYearFirst ? { display: 'flex', justifyContent: 'center' } : {}\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-wrapper'\">\n\n @if (view === 'days') {\n <button\n (click)=\"setView('months')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-date-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-month'\"\n >\n {{ date.toLocaleDateString(locale, {month: 'long'}) }}\n </button>\n }\n @if (view !== 'years') {\n <button\n (click)=\"setView('years')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\"\n [ngStyle]=\"navYearFirst ? { order: '-1' } : {}\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-year'\">\n {{ date.toLocaleDateString(locale, {year: 'numeric'}) }}\n </button>\n }\n @if (view === 'years') {\n <button\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\">\n Year\n </button>\n }\n</div>\n\n@if (navigation) {\n <div class=\"calendar-nav-next\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next-wrapper'\">\n @if (view === 'days') {\n <button\n (click)=\"handleNavigationClick('next')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next'\"\n >\n <gtr-icon name=\"chevron-right\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-next'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n @if (view !== 'days') {\n <button\n (click)=\"handleNavigationClick('next', true)\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next-last'\"\n >\n <gtr-icon name=\"chevrons-right\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-next-last'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n}\n", styles: [":root{--gtr-calendar-nav-date-color: var(--gtr-color-base-black-60) !important;--gtr-color-base-button-icon-bg: rgba(75, 70, 92, .08);--gtr-color-base-button-icon-color: #6F6B7D}.calendar-nav-prev .calendar-nav-icon-button,.calendar-nav-next .calendar-nav-icon-button{border-radius:50%;background-color:var(--gtr-color-base-button-icon-bg);color:var(--gtr-color-base-button-icon-color);height:28px;width:28px;padding:4px;margin:0;border:none}.calendar-nav-date .calendar-nav-date-button{border:none}.calendar-nav-date .calendar-nav-date-button:hover{color:var(--gtr-color-base-primary-base)!important}\n"], dependencies: [{ kind: "directive", type: GtrButtonDirective, selector: "[gtrButton]", inputs: ["active", "color", "disabled", "shape", "size", "type", "variant"], exportAs: ["gtrButton"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
2446
2446
|
}
|
|
2447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarNavigationComponent, decorators: [{
|
|
2448
2448
|
type: Component,
|
|
2449
2449
|
args: [{ selector: 'gtr-calendar-navigation', standalone: true, imports: [GtrButtonDirective, NgStyle, GtrIconComponent], template: "@if (navigation) {\n <div class=\"calendar-nav-prev\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous-wrapper'\">\n\n @if (view !== 'days') {\n <button\n (click)=\"handleNavigationClick('prev', true)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous-first'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevrons-left\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-previous-first'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n @if (view === 'days') {\n <button\n (click)=\"handleNavigationClick('prev')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-previous'\"\n >\n <gtr-icon name=\"chevron-left\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-previous'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n}\n<div class=\"calendar-nav-date\" [ngStyle]=\"navYearFirst ? { display: 'flex', justifyContent: 'center' } : {}\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-wrapper'\">\n\n @if (view === 'days') {\n <button\n (click)=\"setView('months')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-date-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-month'\"\n >\n {{ date.toLocaleDateString(locale, {month: 'long'}) }}\n </button>\n }\n @if (view !== 'years') {\n <button\n (click)=\"setView('years')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\"\n [ngStyle]=\"navYearFirst ? { order: '-1' } : {}\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-date-year'\">\n {{ date.toLocaleDateString(locale, {year: 'numeric'}) }}\n </button>\n }\n @if (view === 'years') {\n <button\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\">\n Year\n </button>\n }\n</div>\n\n@if (navigation) {\n <div class=\"calendar-nav-next\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next-wrapper'\">\n @if (view === 'days') {\n <button\n (click)=\"handleNavigationClick('next')\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next'\"\n >\n <gtr-icon name=\"chevron-right\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-next'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n @if (view !== 'days') {\n <button\n (click)=\"handleNavigationClick('next', true)\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n [attr.data-transaction-name]=\"dataTransactionName + '-navigation-next-last'\"\n >\n <gtr-icon name=\"chevrons-right\"\n [dataTransactionName]=\"dataTransactionName + '-navigation-next-last'\"\n [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n}\n", styles: [":root{--gtr-calendar-nav-date-color: var(--gtr-color-base-black-60) !important;--gtr-color-base-button-icon-bg: rgba(75, 70, 92, .08);--gtr-color-base-button-icon-color: #6F6B7D}.calendar-nav-prev .calendar-nav-icon-button,.calendar-nav-next .calendar-nav-icon-button{border-radius:50%;background-color:var(--gtr-color-base-button-icon-bg);color:var(--gtr-color-base-button-icon-color);height:28px;width:28px;padding:4px;margin:0;border:none}.calendar-nav-date .calendar-nav-date-button{border:none}.calendar-nav-date .calendar-nav-date-button:hover{color:var(--gtr-color-base-primary-base)!important}\n"] }]
|
|
2450
2450
|
}], ctorParameters: () => [{ type: GtrCalendarService }], propDecorators: { dataTransactionName: [{
|
|
@@ -2472,10 +2472,10 @@ class GtrCalendarWeekdayPipe {
|
|
|
2472
2472
|
? date.toLocaleDateString(locale, { weekday: weekdayFormat })
|
|
2473
2473
|
: date.toLocaleDateString(locale, { weekday: 'long' }).slice(0, weekdayFormat);
|
|
2474
2474
|
}
|
|
2475
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2476
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2475
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarWeekdayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2476
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarWeekdayPipe, isStandalone: true, name: "gtrCalendarWeekday" }); }
|
|
2477
2477
|
}
|
|
2478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarWeekdayPipe, decorators: [{
|
|
2479
2479
|
type: Pipe,
|
|
2480
2480
|
args: [{
|
|
2481
2481
|
name: 'gtrCalendarWeekday',
|
|
@@ -2491,10 +2491,10 @@ class GtrCalendarClassYearPipe {
|
|
|
2491
2491
|
today: isThisYear(year),
|
|
2492
2492
|
};
|
|
2493
2493
|
}
|
|
2494
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2495
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2494
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassYearPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2495
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassYearPipe, isStandalone: true, name: "gtrCalendarClassYear" }); }
|
|
2496
2496
|
}
|
|
2497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassYearPipe, decorators: [{
|
|
2498
2498
|
type: Pipe,
|
|
2499
2499
|
args: [{
|
|
2500
2500
|
name: 'gtrCalendarClassYear',
|
|
@@ -2511,10 +2511,10 @@ class GtrCalendarClassMonthPipe {
|
|
|
2511
2511
|
today: isThisMonth(date, monthIndex),
|
|
2512
2512
|
};
|
|
2513
2513
|
}
|
|
2514
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2515
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2514
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassMonthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2515
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassMonthPipe, isStandalone: true, name: "gtrCalendarClassMonth" }); }
|
|
2516
2516
|
}
|
|
2517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassMonthPipe, decorators: [{
|
|
2518
2518
|
type: Pipe,
|
|
2519
2519
|
args: [{
|
|
2520
2520
|
name: 'gtrCalendarClassMonth',
|
|
@@ -2528,10 +2528,10 @@ class GtrCalendarDayPipe {
|
|
|
2528
2528
|
? dayFormat(date)
|
|
2529
2529
|
: date.toLocaleDateString(locale, { day: dayFormat });
|
|
2530
2530
|
}
|
|
2531
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2532
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2531
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2532
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayPipe, isStandalone: true, name: "gtrCalendarDay" }); }
|
|
2533
2533
|
}
|
|
2534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayPipe, decorators: [{
|
|
2535
2535
|
type: Pipe,
|
|
2536
2536
|
args: [{
|
|
2537
2537
|
name: 'gtrCalendarDay',
|
|
@@ -2631,10 +2631,10 @@ class GtrCalendarDayDirective {
|
|
|
2631
2631
|
}
|
|
2632
2632
|
this.calendarStateSubscription?.unsubscribe();
|
|
2633
2633
|
}
|
|
2634
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2635
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2634
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayDirective, deps: [{ token: GtrCalendarService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2635
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrCalendarDayDirective, isStandalone: true, selector: "[gtrCalendarDay]", inputs: { dateObj: ["gtrCalendarDay", "dateObj"], dateMonth: ["gtrCalendarMonth", "dateMonth"], dateYear: ["gtrCalendarYear", "dateYear"] }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
2636
2636
|
}
|
|
2637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayDirective, decorators: [{
|
|
2638
2638
|
type: Directive,
|
|
2639
2639
|
args: [{
|
|
2640
2640
|
selector: '[gtrCalendarDay]',
|
|
@@ -2658,10 +2658,10 @@ class GtrCalendarDayTitlePipe {
|
|
|
2658
2658
|
transform(date, locale = 'default') {
|
|
2659
2659
|
return date.toLocaleDateString(locale);
|
|
2660
2660
|
}
|
|
2661
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2662
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2661
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayTitlePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2662
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayTitlePipe, isStandalone: true, name: "gtrCalendarDayTitle" }); }
|
|
2663
2663
|
}
|
|
2664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarDayTitlePipe, decorators: [{
|
|
2665
2665
|
type: Pipe,
|
|
2666
2666
|
args: [{
|
|
2667
2667
|
name: 'gtrCalendarDayTitle',
|
|
@@ -2685,10 +2685,10 @@ class GtrCalendarClassDayPipe {
|
|
|
2685
2685
|
last: isLastDayOfMonth(date),
|
|
2686
2686
|
};
|
|
2687
2687
|
}
|
|
2688
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2689
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2688
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassDayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2689
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassDayPipe, isStandalone: true, name: "gtrCalendarClassDay" }); }
|
|
2690
2690
|
}
|
|
2691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassDayPipe, decorators: [{
|
|
2692
2692
|
type: Pipe,
|
|
2693
2693
|
args: [{
|
|
2694
2694
|
name: 'gtrCalendarClassDay',
|
|
@@ -2703,10 +2703,10 @@ class GtrCalendarMonthTitlePipe {
|
|
|
2703
2703
|
year: 'numeric',
|
|
2704
2704
|
});
|
|
2705
2705
|
}
|
|
2706
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2707
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2706
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthTitlePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2707
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthTitlePipe, isStandalone: true, name: "gtrCalendarMonthTitle" }); }
|
|
2708
2708
|
}
|
|
2709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthTitlePipe, decorators: [{
|
|
2710
2710
|
type: Pipe,
|
|
2711
2711
|
args: [{
|
|
2712
2712
|
name: 'gtrCalendarMonthTitle',
|
|
@@ -2718,10 +2718,10 @@ class GtrCalendarMonthPipe {
|
|
|
2718
2718
|
transform(date, monthIndex) {
|
|
2719
2719
|
return new Date(date.getFullYear(), monthIndex);
|
|
2720
2720
|
}
|
|
2721
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2722
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2721
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2722
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthPipe, isStandalone: true, name: "gtrCalendarMonth" }); }
|
|
2723
2723
|
}
|
|
2724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthPipe, decorators: [{
|
|
2725
2725
|
type: Pipe,
|
|
2726
2726
|
args: [{
|
|
2727
2727
|
name: 'gtrCalendarMonth',
|
|
@@ -3076,10 +3076,10 @@ class GtrCalendarMonthComponent {
|
|
|
3076
3076
|
ngOnDestroy() {
|
|
3077
3077
|
this.calendarStateSubscribe(false);
|
|
3078
3078
|
}
|
|
3079
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3080
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3079
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthComponent, deps: [{ token: GtrCalendarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3080
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrCalendarMonthComponent, isStandalone: true, selector: "gtr-calendar-month", inputs: { dataTransactionName: "dataTransactionName", addMonths: "addMonths", startDate: "startDate", endDate: "endDate", disabledDates: "disabledDates", firstDayOfWeek: "firstDayOfWeek", locale: "locale", range: "range", weekdayFormat: "weekdayFormat", view: "view", type: "type", maxDate: "maxDate", minDate: "minDate", calendarDate: "calendarDate" }, exportAs: ["gtrCalendarMonth"], ngImport: i0, template: "<table [attr.data-transaction-name]=\"dataTransactionName + '-content'\">\n @if (view === 'days') {\n <thead [attr.data-transaction-name]=\"dataTransactionName + '-content-weekdays'\">\n <tr [attr.data-transaction-name]=\"dataTransactionName + '-content-weekdays'\">\n @for (weekDay of weekDays; track weekDay; let i = $index; let cnt = $count) {\n <th class=\"calendar-cell\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-weekdays'\">\n <div class=\"calendar-header-cell-inner\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-weekdays'\">\n {{ weekDay.date | gtrCalendarWeekday:weekdayFormat:locale }}\n </div>\n </th>\n }\n </tr>\n </thead>\n }\n <tbody (mouseleave)=\"handleCellMouseLeave()\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-body'\">\n @switch (view) {\n @case ('years') {\n @for (yearsRow of listOfYears; track yearsRow; let rowIdx = $index) {\n <tr [attr.data-transaction-name]=\"dataTransactionName + '-content-year'\">\n @for (year of yearsRow; track year; let idx = $index) {\n <td\n (click)=\"handleYearCellClick(year)\"\n (keyup)=\"handleYearCellKeyUp($event, year)\"\n (mouseenter)=\"!touchDevice && handleYearCellMouseEnter(year)\"\n gtrCalendarDay\n [gtrCalendarYear]=\"year\"\n [ngClass]=\"year | gtrCalendarClassYear\"\n [tabindex]=\"0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-year'\"\n >\n <div class=\"calendar-cell-inner\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-year'\">\n {{ yearNumber(year) }}\n </div>\n </td>\n }\n </tr>\n }\n }\n @case ('months') {\n @for (monthsRow of listOfMonths; track monthsRow; let rowIdx = $index) {\n <tr [attr.data-transaction-name]=\"dataTransactionName + '-content-month'\">\n @for (month of monthsRow; track month; let idx = $index) {\n <td\n (click)=\"handleMonthCellClick(rowIdx, idx)\"\n (keyup)=\"handleMonthCellKeyUp($event, rowIdx, idx)\"\n (mouseenter)=\"!touchDevice && handleMonthCellMouseEnter(date, rowIdx, idx)\"\n gtrCalendarDay\n [gtrCalendarMonth]=\"date| gtrCalendarMonth:(rowIdx*3+idx)\"\n [ngClass]=\"date | gtrCalendarClassMonth:(rowIdx*3+idx)\"\n [title]=\"date | gtrCalendarMonthTitle:(rowIdx*3+idx):locale\"\n [tabindex]=\"0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-month'\"\n >\n <div class=\"calendar-cell-inner\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-month'\">\n {{ month }}\n </div>\n </td>\n }\n </tr>\n }\n }\n @default {\n @for (week of monthDetails; track week; let i = $index) {\n <tr [attr.data-transaction-name]=\"dataTransactionName + '-content-day'\">\n @for (dateObj of week; track dateObj; let idx = $index) {\n @if ((dateObj.month === 'current' || showAdjacentDays)) {\n <td (click)=\"(dateObj.month === 'current' || selectAdjacentDays) && handleDayCellClick(dateObj.date)\"\n (keyup)=\"(dateObj.month === 'current' || selectAdjacentDays) && handleDayCellKeyUp($event, dateObj.date)\"\n (mouseenter)=\"!touchDevice && (dateObj.month === 'current' || selectAdjacentDays) && handleCellMouseEnter(dateObj.date)\"\n [gtrCalendarDay]=\"dateObj\"\n [ngClass]=\"dateObj | gtrCalendarClassDay:{minDate, maxDate, disabledDates, dateFilter}\"\n [tabindex]=\"(dateObj.month === 'current' || selectAdjacentDays) && !isDateDisabled(dateObj.date) ? 0 : -1\"\n [title]=\"dateObj.date | gtrCalendarDayTitle:locale\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-day'\"\n >\n <div class=\"calendar-cell-inner\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-day'\">\n {{ dateObj.date | gtrCalendarDay:dayFormat:locale }}\n </div>\n </td>\n } @else {\n <td class=\"calendar-cell\"\n [attr.data-transaction-name]=\"dataTransactionName + '-content-day-empty'\"></td>\n }\n }\n </tr>\n }\n }\n }\n </tbody>\n</table>\n\n\n", styles: [":root{--gtr-calendar-cell-selected-bg: var(--gtr-color-base-primary-base) !important}.calendar-header-cell-inner{color:var(--light-typography-color-heading-text, #4B465C);text-align:center;font-size:13px;font-style:normal;font-weight:600;line-height:14px}.calendar-cell.end.range.selected .calendar-cell-inner{border-radius:0 .375rem .375rem 0!important}.calendar-cell.start.range.selected .calendar-cell-inner{border-radius:.375rem 0 0 .375rem!important}.calendar-cell.selected:not(.previous):not(.next).end .calendar-cell-inner:before{border-radius:0 .375rem .375rem 0!important}.calendar-cell.selected:not(.previous):not(.next).start .calendar-cell-inner:before{border-radius:.375rem 0 0 .375rem!important}.calendar-cell.today .calendar-cell-inner{background-color:var(--gtr-color-base-success-20)!important;color:var(--gtr-color-base-success-100)!important;border-radius:.375rem!important}\n"], dependencies: [{ kind: "directive", type: GtrCalendarDayDirective, selector: "[gtrCalendarDay]", inputs: ["gtrCalendarDay", "gtrCalendarMonth", "gtrCalendarYear"] }, { kind: "pipe", type: GtrCalendarDayPipe, name: "gtrCalendarDay" }, { kind: "pipe", type: GtrCalendarDayTitlePipe, name: "gtrCalendarDayTitle" }, { kind: "pipe", type: GtrCalendarMonthTitlePipe, name: "gtrCalendarMonthTitle" }, { kind: "pipe", type: GtrCalendarMonthPipe, name: "gtrCalendarMonth" }, { kind: "pipe", type: GtrCalendarClassDayPipe, name: "gtrCalendarClassDay" }, { kind: "pipe", type: GtrCalendarClassMonthPipe, name: "gtrCalendarClassMonth" }, { kind: "pipe", type: GtrCalendarClassYearPipe, name: "gtrCalendarClassYear" }, { kind: "pipe", type: GtrCalendarWeekdayPipe, name: "gtrCalendarWeekday" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
3081
3081
|
}
|
|
3082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarMonthComponent, decorators: [{
|
|
3083
3083
|
type: Component,
|
|
3084
3084
|
args: [{ selector: 'gtr-calendar-month', exportAs: 'gtrCalendarMonth', standalone: true, imports: [
|
|
3085
3085
|
GtrCalendarDayDirective,
|
|
@@ -3130,10 +3130,10 @@ class GtrCalendarClassViewPipe {
|
|
|
3130
3130
|
[`${view}`]: !!view,
|
|
3131
3131
|
};
|
|
3132
3132
|
}
|
|
3133
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3134
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
3133
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassViewPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3134
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassViewPipe, isStandalone: true, name: "gtrCalendarClassView" }); }
|
|
3135
3135
|
}
|
|
3136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarClassViewPipe, decorators: [{
|
|
3137
3137
|
type: Pipe,
|
|
3138
3138
|
args: [{
|
|
3139
3139
|
name: 'gtrCalendarClassView',
|
|
@@ -3492,10 +3492,10 @@ class GtrCalendarComponent {
|
|
|
3492
3492
|
this.calendarService.update({ endDate: null });
|
|
3493
3493
|
this.calendarService.update({ startDate: null });
|
|
3494
3494
|
}
|
|
3495
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3496
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3495
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarComponent, deps: [{ token: GtrCalendarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3496
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrCalendarComponent, isStandalone: true, selector: "gtr-calendar", inputs: { calendarDate: "calendarDate", calendars: "calendars", dayFormat: "dayFormat", disabledDates: "disabledDates", startDate: "startDate", endDate: "endDate", firstDayOfWeek: "firstDayOfWeek", locale: "locale", maxDate: "maxDate", minDate: "minDate", navigation: "navigation", navYearFirst: "navYearFirst", range: "range", view: "view", type: "type", weekdayFormat: "weekdayFormat", dateFilter: "dateFilter", selectAdjacentDays: "selectAdjacentDays", showAdjacentDays: "showAdjacentDays", dataTransactionName: "dataTransactionName" }, outputs: { calendarCellHover: "calendarCellHover", calendarDateChange: "calendarDateChange", endDateChange: "endDateChange", startDateChange: "startDateChange", viewChange: "viewChange" }, host: { properties: { "class": "this.hostClasses" } }, providers: [GtrCalendarService], viewQueries: [{ propertyName: "calendarMonths", predicate: GtrCalendarMonthComponent, descendants: true }], exportAs: ["gtrCalendar"], ngImport: i0, template: "@for (calendar of calendarsArray; track calendar; let i = $index) {\n <div [ngClass]=\"view | gtrCalendarClassView\">\n <gtr-calendar-navigation\n [addMonths]=\"i\"\n [navigation]=\"navigation\"\n (navigationClick)=\"handleNavigationClick($event.direction, $event.years)\"\n [dataTransactionName]=\"dataTransactionName + '-calendar'\"\n ></gtr-calendar-navigation>\n\n <gtr-calendar-month\n [addMonths]=\"i\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [weekdayFormat]=\"weekdayFormat\"\n [dataTransactionName]=\"dataTransactionName + '-calendar'\"\n ></gtr-calendar-month>\n </div>\n}\n\n", dependencies: [{ kind: "component", type: GtrCalendarNavigationComponent, selector: "gtr-calendar-navigation", inputs: ["dataTransactionName", "addMonths", "calendarDate", "navigation", "navYearFirst"], outputs: ["navigationClick"] }, { kind: "pipe", type: GtrCalendarClassViewPipe, name: "gtrCalendarClassView" }, { kind: "component", type: GtrCalendarMonthComponent, selector: "gtr-calendar-month", inputs: ["dataTransactionName", "addMonths", "startDate", "endDate", "disabledDates", "firstDayOfWeek", "locale", "range", "weekdayFormat", "view", "type", "maxDate", "minDate", "calendarDate"], exportAs: ["gtrCalendarMonth"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
3497
3497
|
}
|
|
3498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCalendarComponent, decorators: [{
|
|
3499
3499
|
type: Component,
|
|
3500
3500
|
args: [{ selector: 'gtr-calendar', exportAs: 'gtrCalendar', providers: [GtrCalendarService], standalone: true, imports: [
|
|
3501
3501
|
GtrCalendarNavigationComponent,
|
|
@@ -3620,8 +3620,8 @@ class GtrCheckboxComponent {
|
|
|
3620
3620
|
event.preventDefault();
|
|
3621
3621
|
}
|
|
3622
3622
|
}
|
|
3623
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3624
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3623
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3624
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrCheckboxComponent, isStandalone: true, selector: "gtr-checkbox", inputs: { name: "name", dataTransactionName: "dataTransactionName", identifier: "identifier", value: "value", label: "label", checked: "checked", disabled: "disabled", readonly: "readonly" }, outputs: { selectionChanged: "selectionChanged" }, providers: [
|
|
3625
3625
|
{
|
|
3626
3626
|
provide: NG_VALUE_ACCESSOR,
|
|
3627
3627
|
useExisting: forwardRef((() => GtrCheckboxComponent)),
|
|
@@ -3629,7 +3629,7 @@ class GtrCheckboxComponent {
|
|
|
3629
3629
|
},
|
|
3630
3630
|
], ngImport: i0, template: "<label\n class=\"gtr-checkbox-wrapper\"\n [attr.id]=\"identifier || 'gtr-checkbox'\"\n [attr.data-testid]=\"identifier || 'gtr-checkbox'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-checkbox-wrapper'\"\n>\n <input\n type=\"checkbox\"\n name=\"gtr-checkbox-input\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (change)=\"handleClick()\"\n (keydown)=\"handleKeydown($event)\"\n [attr.aria-checked]=\"checked ? 'true' : 'false'\"\n [attr.aria-disabled]=\"disabled ? 'true' : 'false'\"\n [attr.role]=\"readonly ? 'switch' : 'checkbox'\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-checkbox'\"\n tabindex=\"0\"\n />\n <span class=\"gtr-checkmark\"\n [attr.data-transaction-name]=\"dataTransactionName + '-checkbox-checkmark'\">\n @if (!disabled || (checked && disabled)) {\n <gtr-icon\n name=\"check\"\n [size]=\"14\"\n weight=\"bold\"\n [dataTransactionName]=\"dataTransactionName + '-checkbox-checkbox'\"\n ></gtr-icon>\n }\n </span>\n @if (label) {\n <span class=\"gtr-checkbox-label\"\n [attr.data-transaction-name]=\"dataTransactionName + '-checkbox-label'\">{{ label }}</span>\n }\n</label>\n", styles: [":root{--gtr-color-base-black-100: rgba(0, 0, 0, 0);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-primary-100: rgba(0, 96, 194, 1);--gtr-content-box-shadow-20: 0px 2px 4px rgba(0, 0, 0, .2);--gtr-color-base-white-100: rgba(0, 0, 0, 1)}:host{box-sizing:border-box}.gtr-checkbox-wrapper{display:flex;align-self:center;position:relative;top:0;cursor:pointer;font-size:13px;line-height:22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100)}.gtr-checkbox-wrapper .gtr-checkbox-label{padding-left:6px}.gtr-checkbox-wrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.gtr-checkmark{height:18px;width:18px;border-radius:4px;background-color:var(--gtr-color-base-white-100);border:solid 1px var(--gtr-color-base-black-20)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100);box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled~.gtr-checkmark{background-color:var(--gtr-color-base-black-20);border-color:var(--gtr-color-base-black-10);cursor:default}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkmark{background-color:var(--gtr-color-base-primary-100);opacity:.5;border-color:var(--gtr-color-base-primary-100);cursor:default;box-shadow:var(--gtr-content-box-shadow-20)}.gtr-checkbox-wrapper input:disabled:checked~.gtr-checkbox-label{opacity:.5}.gtr-checkmark{color:var(--gtr-color-base-white-100)}.gtr-checkbox-wrapper input:checked~.gtr-checkmark{display:block}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
3631
3631
|
}
|
|
3632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCheckboxComponent, decorators: [{
|
|
3633
3633
|
type: Component,
|
|
3634
3634
|
args: [{ standalone: true, selector: 'gtr-checkbox', providers: [
|
|
3635
3635
|
{
|
|
@@ -3769,10 +3769,10 @@ class GtrModalComponent {
|
|
|
3769
3769
|
bodyElement.style.overflow = 'auto';
|
|
3770
3770
|
this.closeModal.emit();
|
|
3771
3771
|
}
|
|
3772
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3773
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3772
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrModalComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3773
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrModalComponent, isStandalone: true, selector: "gtr-modal", inputs: { isOpen: ["isOpen", "isOpen", booleanAttribute], modalPosition: "modalPosition", modalId: "modalId", modalSize: "modalSize", scrollType: "scrollType", header: "header", hasHeading: ["hasHeading", "hasHeading", booleanAttribute], dataTransactionName: "dataTransactionName" }, outputs: { closeModal: "closeModal" }, host: { listeners: { "keydown": "handleKeyDown($event)" } }, viewQueries: [{ propertyName: "modalElement", first: true, predicate: ["modalElement"], descendants: true }], ngImport: i0, template: "<div [class]=\"'gtr-modal '+ modalPosition + ' ' + modalSize\"\n [attr.data-transaction-name]=\"dataTransactionName + '-modal'\"\n [class.open]=\"isOpen\" #modalElement tabIndex=\"-1\"\n [id]=\"modalId\" [attr.data-testid]=\"modalId\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\">\n <div class=\"gtr-modal-content\">\n @if (hasHeading) {\n <div class=\"gtr-modal-header\">\n <span [id]=\"modalId+'-modal-title'\" [attr.data-testid]=\"modalId+'-modal-title'\" class=\"gtr-modal-title\">\n {{ this.header }}\n </span>\n <button class=\"gtr-modal-close\" [id]=\"modalId+'-modal-cross-button'\"\n [attr.data-testid]=\"modalId+'-modal-cross-button'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-modal-close'\"\n (click)=\"this.handleCloseModal()\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15 5L5 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M15 5L5 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\"/>\n <path d=\"M5 5L15 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5 5L15 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\"/>\n </svg>\n </button>\n </div>\n }\n <div id=\"modal-content\" [class]=\"'gtr-modal-body ' + this.scrollType\">\n <ng-content select=\"[slot='modal-body']\">\n </ng-content>\n <div class=\"gtr-modal-actions\">\n <ng-content select=\"[slot='modal-actions']\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":root{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px}.gtr-modal{display:none;position:fixed;z-index:9999;padding:20px;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);left:0;top:0;outline:0;width:100%;height:100%;overflow:auto;background-color:var(--gtr-color-base-black-20)}.gtr-modal.open{display:flex}.gtr-modal.open.top{display:block}.gtr-modal-content{background-color:#fefefe;margin:auto;padding:20px;width:90%;background-color:var(--gtr-color-base-white-100);border-radius:var(--gtr-size-border-radius-modal);box-shadow:var(--gtr-content-box-shadow-base)}.gtr-modal.small .gtr-modal-content{max-width:90%;width:400px}.gtr-modal-body.scroll-body{max-height:400px;overflow-y:auto;overflow-x:hidden;padding:8px}.gtr-modal.medium .gtr-modal-content{max-width:90%;width:700px}.gtr-modal.large .gtr-modal-content{max-width:90%;width:1000px}.gtr-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gtr-modal-title{font-style:normal;font-weight:600;font-size:18px;line-height:24px;padding:0;margin:0;color:#000}.gtr-modal-close{border:none;background:none;font-size:.9rem;cursor:pointer;padding:0}.gtr-modal-body p{font-style:normal;font-weight:400;font-size:15px;line-height:22px}.gtr-modal-body .gtr-modal-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:10px}.gtr-modal-body::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}@media screen and (max-width: 768px){.gtr-modal{padding:10px}.gtr-modal.small .gtr-modal-content,.gtr-modal.large .gtr-modal-content,.gtr-modal.medium .gtr-modal-content{max-width:100%}}\n"] }); }
|
|
3774
3774
|
}
|
|
3775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrModalComponent, decorators: [{
|
|
3776
3776
|
type: Component,
|
|
3777
3777
|
args: [{ standalone: true, selector: 'gtr-modal', template: "<div [class]=\"'gtr-modal '+ modalPosition + ' ' + modalSize\"\n [attr.data-transaction-name]=\"dataTransactionName + '-modal'\"\n [class.open]=\"isOpen\" #modalElement tabIndex=\"-1\"\n [id]=\"modalId\" [attr.data-testid]=\"modalId\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\">\n <div class=\"gtr-modal-content\">\n @if (hasHeading) {\n <div class=\"gtr-modal-header\">\n <span [id]=\"modalId+'-modal-title'\" [attr.data-testid]=\"modalId+'-modal-title'\" class=\"gtr-modal-title\">\n {{ this.header }}\n </span>\n <button class=\"gtr-modal-close\" [id]=\"modalId+'-modal-cross-button'\"\n [attr.data-testid]=\"modalId+'-modal-cross-button'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-modal-close'\"\n (click)=\"this.handleCloseModal()\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M15 5L5 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M15 5L5 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\"/>\n <path d=\"M5 5L15 15\" stroke=\"#4B465C\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5 5L15 15\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"1.75\" stroke-linecap=\"round\"\n stroke-linejoin=\"round\"/>\n </svg>\n </button>\n </div>\n }\n <div id=\"modal-content\" [class]=\"'gtr-modal-body ' + this.scrollType\">\n <ng-content select=\"[slot='modal-body']\">\n </ng-content>\n <div class=\"gtr-modal-actions\">\n <ng-content select=\"[slot='modal-actions']\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":root{display:block;box-sizing:border-box;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px}.gtr-modal{display:none;position:fixed;z-index:9999;padding:20px;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);left:0;top:0;outline:0;width:100%;height:100%;overflow:auto;background-color:var(--gtr-color-base-black-20)}.gtr-modal.open{display:flex}.gtr-modal.open.top{display:block}.gtr-modal-content{background-color:#fefefe;margin:auto;padding:20px;width:90%;background-color:var(--gtr-color-base-white-100);border-radius:var(--gtr-size-border-radius-modal);box-shadow:var(--gtr-content-box-shadow-base)}.gtr-modal.small .gtr-modal-content{max-width:90%;width:400px}.gtr-modal-body.scroll-body{max-height:400px;overflow-y:auto;overflow-x:hidden;padding:8px}.gtr-modal.medium .gtr-modal-content{max-width:90%;width:700px}.gtr-modal.large .gtr-modal-content{max-width:90%;width:1000px}.gtr-modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.gtr-modal-title{font-style:normal;font-weight:600;font-size:18px;line-height:24px;padding:0;margin:0;color:#000}.gtr-modal-close{border:none;background:none;font-size:.9rem;cursor:pointer;padding:0}.gtr-modal-body p{font-style:normal;font-weight:400;font-size:15px;line-height:22px}.gtr-modal-body .gtr-modal-actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:10px}.gtr-modal-body::-webkit-scrollbar{background:var(--gtr-color-base-black-10)}::-webkit-scrollbar{width:5px;background:var(--gtr-color-base-black-10)}::-webkit-scrollbar-thumb{background:var(--gtr-color-base-black-10)}@media screen and (max-width: 768px){.gtr-modal{padding:10px}.gtr-modal.small .gtr-modal-content,.gtr-modal.large .gtr-modal-content,.gtr-modal.medium .gtr-modal-content{max-width:100%}}\n"] }]
|
|
3778
3778
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -3846,10 +3846,10 @@ class GtrHtmlAttributesDirective {
|
|
|
3846
3846
|
? this.renderer.setAttribute(this.el.nativeElement, key, value)
|
|
3847
3847
|
: this.renderer.removeAttribute(this.el.nativeElement, key);
|
|
3848
3848
|
}
|
|
3849
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3850
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3849
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrHtmlAttributesDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3850
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrHtmlAttributesDirective, isStandalone: true, selector: "[gtrHtmlAttr]", inputs: { gtrHtmlAttr: "gtrHtmlAttr" }, exportAs: ["gtrHtmlAttr"], ngImport: i0 }); }
|
|
3851
3851
|
}
|
|
3852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrHtmlAttributesDirective, decorators: [{
|
|
3853
3853
|
type: Directive,
|
|
3854
3854
|
args: [{
|
|
3855
3855
|
selector: '[gtrHtmlAttr]',
|
|
@@ -3864,10 +3864,10 @@ class GtrTemplateIdDirective {
|
|
|
3864
3864
|
constructor(templateRef) {
|
|
3865
3865
|
this.templateRef = templateRef;
|
|
3866
3866
|
}
|
|
3867
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3868
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3867
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTemplateIdDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3868
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrTemplateIdDirective, isStandalone: true, selector: "[gtrTemplateId]", inputs: { id: ["gtrTemplateId", "id"] }, ngImport: i0 }); }
|
|
3869
3869
|
}
|
|
3870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTemplateIdDirective, decorators: [{
|
|
3871
3871
|
type: Directive,
|
|
3872
3872
|
args: [{
|
|
3873
3873
|
selector: '[gtrTemplateId]',
|
|
@@ -3884,10 +3884,10 @@ class GtrDropdownDividerDirective {
|
|
|
3884
3884
|
'dropdown-divider': true,
|
|
3885
3885
|
};
|
|
3886
3886
|
}
|
|
3887
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3888
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3887
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3888
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownDividerDirective, isStandalone: true, selector: "[gtrDropdownDivider]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
3889
3889
|
}
|
|
3890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownDividerDirective, decorators: [{
|
|
3891
3891
|
type: Directive,
|
|
3892
3892
|
args: [{
|
|
3893
3893
|
selector: '[gtrDropdownDivider]',
|
|
@@ -3904,10 +3904,10 @@ class GtrDropdownHeaderDirective {
|
|
|
3904
3904
|
'dropdown-header': true,
|
|
3905
3905
|
};
|
|
3906
3906
|
}
|
|
3907
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3908
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3907
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3908
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownHeaderDirective, isStandalone: true, selector: "[gtrDropdownHeader]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
3909
3909
|
}
|
|
3910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownHeaderDirective, decorators: [{
|
|
3911
3911
|
type: Directive,
|
|
3912
3912
|
args: [{
|
|
3913
3913
|
selector: '[gtrDropdownHeader]',
|
|
@@ -3926,10 +3926,10 @@ class GtrDropdownService {
|
|
|
3926
3926
|
toggle(state) {
|
|
3927
3927
|
this.dropdownState.next(state);
|
|
3928
3928
|
}
|
|
3929
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3930
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3929
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3930
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownService }); }
|
|
3931
3931
|
}
|
|
3932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownService, decorators: [{
|
|
3933
3933
|
type: Injectable
|
|
3934
3934
|
}], ctorParameters: () => [] });
|
|
3935
3935
|
|
|
@@ -3980,10 +3980,10 @@ class GtrDropdownMenuDirective {
|
|
|
3980
3980
|
this.dropdownStateSubscription?.unsubscribe();
|
|
3981
3981
|
}
|
|
3982
3982
|
}
|
|
3983
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3984
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
3983
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownMenuDirective, deps: [{ token: i0.ElementRef }, { token: GtrDropdownService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3984
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrDropdownMenuDirective, isStandalone: true, selector: "[gtrDropdownMenu]", inputs: { alignment: "alignment", visible: "visible", dark: ["dark", "dark", booleanAttribute] }, host: { properties: { "class": "this.hostClasses", "style": "this.hostStyles" } }, exportAs: ["gtrDropdownMenu"], ngImport: i0 }); }
|
|
3985
3985
|
}
|
|
3986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownMenuDirective, decorators: [{
|
|
3987
3987
|
type: Directive,
|
|
3988
3988
|
args: [{
|
|
3989
3989
|
selector: '[gtrDropdownMenu]',
|
|
@@ -4057,15 +4057,15 @@ class GtrDropdownToggleDirective {
|
|
|
4057
4057
|
this.dropdownService = this.dropdownComponent?.dropdownService;
|
|
4058
4058
|
}
|
|
4059
4059
|
}
|
|
4060
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4061
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4060
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownToggleDirective, deps: [{ token: i0.ElementRef }, { token: GtrDropdownService }, { token: GtrDropdownToken, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4061
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownToggleDirective, isStandalone: true, selector: "[gtrDropdownToggle]", inputs: { dropdownComponent: "dropdownComponent", disabled: "disabled", caret: "caret", split: "split" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class": "this.hostClasses" } }, providers: [
|
|
4062
4062
|
{
|
|
4063
4063
|
provide: GtrDropdownToken,
|
|
4064
4064
|
useExisting: forwardRef((() => GtrDropdownComponent)),
|
|
4065
4065
|
},
|
|
4066
4066
|
], exportAs: ["gtrDropdownToggle"], ngImport: i0 }); }
|
|
4067
4067
|
}
|
|
4068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownToggleDirective, decorators: [{
|
|
4069
4069
|
type: Directive,
|
|
4070
4070
|
args: [{
|
|
4071
4071
|
selector: '[gtrDropdownToggle]',
|
|
@@ -4334,10 +4334,10 @@ class GtrDropdownComponent {
|
|
|
4334
4334
|
this.listeners.fill(undefined);
|
|
4335
4335
|
this.listeners = [];
|
|
4336
4336
|
}
|
|
4337
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4338
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4337
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: GtrDropdownService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4338
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownComponent, isStandalone: true, selector: "gtr-dropdown", inputs: { alignment: "alignment", autoClose: "autoClose", dark: "dark", direction: "direction", placement: "placement", popper: "popper", popperOptions: "popperOptions", variant: "variant", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "this.hostClasses", "style": "this.hostStyle" } }, providers: [GtrDropdownService], queries: [{ propertyName: "_toggler", first: true, predicate: GtrDropdownToggleDirective, descendants: true }, { propertyName: "_menu", first: true, predicate: GtrDropdownMenuDirective, descendants: true }, { propertyName: "_menuElementRef", first: true, predicate: GtrDropdownMenuDirective, descendants: true, read: ElementRef }], exportAs: ["gtrDropdown"], usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host-context(.dropdown,.dropup):not(.btn-group){display:block;min-width:fit-content}:host-context(.dropstart,.dropend):not(.btn-group){display:inline-flex}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :first-child{border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :first-child{border-top-left-radius:0;border-bottom-left-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :first-child:not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host{direction:rtl}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :first-child{border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :first-child{border-top-right-radius:0;border-bottom-right-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :first-child:not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}\n"] }); }
|
|
4339
4339
|
}
|
|
4340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownComponent, decorators: [{
|
|
4341
4341
|
type: Component,
|
|
4342
4342
|
args: [{ selector: 'gtr-dropdown', template: '<ng-content></ng-content>', exportAs: 'gtrDropdown', providers: [GtrDropdownService], standalone: true, styles: [":host-context(.dropdown,.dropup):not(.btn-group){display:block;min-width:fit-content}:host-context(.dropstart,.dropend):not(.btn-group){display:inline-flex}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :first-child{border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :first-child{border-top-left-radius:0;border-bottom-left-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :first-child:not(:only-of-type){border-top-right-radius:0;border-bottom-right-radius:0}:host-context(html:not([dir=rtl])) :host-context(.input-group) :host:last-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host{direction:rtl}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :first-child{border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}:host-context([dir=rtl] .input-group) :host:first-child::ng-deep :not(:first-child):not(.dropdown-menu):not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :first-child{border-top-right-radius:0;border-bottom-right-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :first-child:not(:only-of-type){border-top-left-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl] .input-group) :host:last-child::ng-deep :not(:first-child):not(.dropdown-menu){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}\n"] }]
|
|
4343
4343
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
@@ -4432,10 +4432,10 @@ class GtrDropdownItemDirective {
|
|
|
4432
4432
|
}
|
|
4433
4433
|
}
|
|
4434
4434
|
}
|
|
4435
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4436
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4435
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownItemDirective, deps: [{ token: GtrDropdownService }, { token: GtrDropdownComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4436
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownItemDirective, isStandalone: true, selector: "[gtrDropdownItem]", inputs: { active: "active", autoClose: "autoClose", disabled: "disabled", tabIndex: "tabIndex" }, host: { listeners: { "click": "onClick($event)", "keyup": "onKeyUp($event)" }, properties: { "attr.aria-current": "this.ariaCurrent", "class": "this.hostClasses", "attr.tabindex": "this.tabIndex", "attr.aria-disabled": "this.isDisabled" } }, exportAs: ["gtrDropdownItem"], ngImport: i0 }); }
|
|
4437
4437
|
}
|
|
4438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownItemDirective, decorators: [{
|
|
4439
4439
|
type: Directive,
|
|
4440
4440
|
args: [{
|
|
4441
4441
|
selector: '[gtrDropdownItem]',
|
|
@@ -4478,10 +4478,10 @@ class GtrDropdownItemPlainDirective {
|
|
|
4478
4478
|
'dropdown-item-text': true,
|
|
4479
4479
|
};
|
|
4480
4480
|
}
|
|
4481
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4482
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4481
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownItemPlainDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4482
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownItemPlainDirective, isStandalone: true, selector: "[gtrDropdownItemPlain]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4483
4483
|
}
|
|
4484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownItemPlainDirective, decorators: [{
|
|
4485
4485
|
type: Directive,
|
|
4486
4486
|
args: [{
|
|
4487
4487
|
selector: '[gtrDropdownItemPlain]',
|
|
@@ -4530,10 +4530,10 @@ class GtrDropdownCloseDirective {
|
|
|
4530
4530
|
});
|
|
4531
4531
|
}
|
|
4532
4532
|
}
|
|
4533
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4534
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4533
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownCloseDirective, deps: [{ token: GtrDropdownService }, { token: GtrDropdownComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4534
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDropdownCloseDirective, isStandalone: true, selector: "[gtrDropdownClose]", inputs: { disabled: "disabled", dropdownComponent: "dropdownComponent", tabIndex: "tabIndex" }, host: { listeners: { "click": "onClick($event)", "keyup": "onKeyUp($event)" }, properties: { "class": "this.hostClasses", "attr.tabindex": "this.tabIndex", "attr.aria-disabled": "this.isDisabled" } }, providers: [GtrDropdownService], exportAs: ["gtrDropdownClose"], ngImport: i0 }); }
|
|
4535
4535
|
}
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDropdownCloseDirective, decorators: [{
|
|
4537
4537
|
type: Directive,
|
|
4538
4538
|
args: [{
|
|
4539
4539
|
selector: '[gtrDropdownClose]',
|
|
@@ -4580,10 +4580,10 @@ class GtrFormDirective {
|
|
|
4580
4580
|
'was-validated': this.validated,
|
|
4581
4581
|
};
|
|
4582
4582
|
}
|
|
4583
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4584
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
4583
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4584
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrFormDirective, isStandalone: true, selector: "form[gtrForm]", inputs: { validated: ["validated", "validated", booleanAttribute] }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4585
4585
|
}
|
|
4586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormDirective, decorators: [{
|
|
4587
4587
|
type: Directive,
|
|
4588
4588
|
args: [{
|
|
4589
4589
|
selector: 'form[gtrForm]',
|
|
@@ -4613,10 +4613,10 @@ class GtrFormFeedbackComponent {
|
|
|
4613
4613
|
'invalid-tooltip': this.valid !== true && this.tooltip,
|
|
4614
4614
|
};
|
|
4615
4615
|
}
|
|
4616
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4617
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
4616
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormFeedbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4617
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.13", type: GtrFormFeedbackComponent, isStandalone: true, selector: "gtr-form-feedback", inputs: { tooltip: ["tooltip", "tooltip", booleanAttribute], valid: "valid" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
|
4618
4618
|
}
|
|
4619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormFeedbackComponent, decorators: [{
|
|
4620
4620
|
type: Component,
|
|
4621
4621
|
args: [{
|
|
4622
4622
|
selector: 'gtr-form-feedback',
|
|
@@ -4648,10 +4648,10 @@ class GtrInputGroupComponent {
|
|
|
4648
4648
|
this.sizing = '';
|
|
4649
4649
|
this.invalid = false;
|
|
4650
4650
|
}
|
|
4651
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4652
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4651
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4652
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrInputGroupComponent, isStandalone: true, selector: "gtr-input-group", inputs: { sizing: "sizing", invalid: "invalid" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
|
|
4653
4653
|
}
|
|
4654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputGroupComponent, decorators: [{
|
|
4655
4655
|
type: Component,
|
|
4656
4656
|
args: [{
|
|
4657
4657
|
selector: 'gtr-input-group',
|
|
@@ -4682,10 +4682,10 @@ class GtrFormSelectDirective {
|
|
|
4682
4682
|
*/
|
|
4683
4683
|
this.sizing = '';
|
|
4684
4684
|
}
|
|
4685
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4686
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4685
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormSelectDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4686
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrFormSelectDirective, isStandalone: true, selector: "select[gtrSelect]", inputs: { sizing: "sizing", valid: "valid" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4687
4687
|
}
|
|
4688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormSelectDirective, decorators: [{
|
|
4689
4689
|
type: Directive,
|
|
4690
4690
|
args: [{
|
|
4691
4691
|
selector: 'select[gtrSelect]',
|
|
@@ -4719,10 +4719,10 @@ class GtrFormLabelDirective {
|
|
|
4719
4719
|
*/
|
|
4720
4720
|
this.sizing = '';
|
|
4721
4721
|
}
|
|
4722
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4723
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4722
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4723
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrFormLabelDirective, isStandalone: true, selector: "[gtrLabel]", inputs: { col: ["gtrLabel", "col"], sizing: "sizing" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4724
4724
|
}
|
|
4725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormLabelDirective, decorators: [{
|
|
4726
4726
|
type: Directive,
|
|
4727
4727
|
args: [{
|
|
4728
4728
|
selector: '[gtrLabel]',
|
|
@@ -4744,10 +4744,10 @@ class GtrFormCheckLabelDirective {
|
|
|
4744
4744
|
'form-check-label': true,
|
|
4745
4745
|
};
|
|
4746
4746
|
}
|
|
4747
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4748
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4747
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4748
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrFormCheckLabelDirective, isStandalone: true, selector: "label[gtrFormCheckLabel]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4749
4749
|
}
|
|
4750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckLabelDirective, decorators: [{
|
|
4751
4751
|
type: Directive,
|
|
4752
4752
|
args: [{
|
|
4753
4753
|
selector: 'label[gtrFormCheckLabel]',
|
|
@@ -4802,10 +4802,10 @@ class GtrFormCheckComponent {
|
|
|
4802
4802
|
ngAfterContentInit() {
|
|
4803
4803
|
this.#formCheckClass = !!this.formCheckLabel;
|
|
4804
4804
|
}
|
|
4805
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4806
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
4805
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4806
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.13", type: GtrFormCheckComponent, isStandalone: true, selector: "gtr-form-check", inputs: { inline: ["inline", "inline", booleanAttribute], reverse: ["reverse", "reverse", booleanAttribute], sizing: "sizing", switch: ["switch", "switch", booleanAttribute] }, host: { properties: { "class": "this.hostClasses" } }, queries: [{ propertyName: "formCheckLabel", first: true, predicate: GtrFormCheckLabelDirective, descendants: true }], exportAs: ["gtrFormCheck"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
|
4807
4807
|
}
|
|
4808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckComponent, decorators: [{
|
|
4809
4809
|
type: Component,
|
|
4810
4810
|
args: [{
|
|
4811
4811
|
selector: 'gtr-form-check',
|
|
@@ -4868,10 +4868,10 @@ class GtrFormCheckInputDirective {
|
|
|
4868
4868
|
this.type = 'checkbox';
|
|
4869
4869
|
this._indeterminate = false;
|
|
4870
4870
|
}
|
|
4871
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4872
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4871
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckInputDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4872
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrFormCheckInputDirective, isStandalone: true, selector: "input[gtrFormCheckInput]", inputs: { type: "type", indeterminate: "indeterminate", valid: "valid" }, host: { properties: { "attr.type": "this.type", "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4873
4873
|
}
|
|
4874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormCheckInputDirective, decorators: [{
|
|
4875
4875
|
type: Directive,
|
|
4876
4876
|
args: [{
|
|
4877
4877
|
selector: 'input[gtrFormCheckInput]',
|
|
@@ -4929,10 +4929,10 @@ class GtrFormControlDirective {
|
|
|
4929
4929
|
console.warn(`Gettrx [gtrFormControl] works with '<input>' and '<texarea>' - not with '<${hostTag}>'`);
|
|
4930
4930
|
}
|
|
4931
4931
|
}
|
|
4932
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4933
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
4932
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormControlDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4933
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrFormControlDirective, isStandalone: true, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: { sizing: "sizing", valid: "valid", type: "type", plaintext: ["plaintext", "plaintext", booleanAttribute] }, host: { properties: { "attr.type": "this.type", "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4934
4934
|
}
|
|
4935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormControlDirective, decorators: [{
|
|
4936
4936
|
type: Directive,
|
|
4937
4937
|
args: [{
|
|
4938
4938
|
selector: 'input[gtrFormControl], textarea[gtrFormControl]',
|
|
@@ -4961,10 +4961,10 @@ class GtrFormTextDirective {
|
|
|
4961
4961
|
'form-text': true,
|
|
4962
4962
|
};
|
|
4963
4963
|
}
|
|
4964
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4965
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4964
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4965
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrFormTextDirective, isStandalone: true, selector: "[gtrFormText]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4966
4966
|
}
|
|
4967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormTextDirective, decorators: [{
|
|
4968
4968
|
type: Directive,
|
|
4969
4969
|
args: [{
|
|
4970
4970
|
selector: '[gtrFormText]',
|
|
@@ -4988,10 +4988,10 @@ class GtrFormFloatingDirective {
|
|
|
4988
4988
|
'form-floating': this.floating,
|
|
4989
4989
|
};
|
|
4990
4990
|
}
|
|
4991
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4992
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
4991
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormFloatingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4992
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: GtrFormFloatingDirective, isStandalone: true, selector: "[gtrFormFloating]", inputs: { floating: ["gtrFormFloating", "floating", booleanAttribute] }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
4993
4993
|
}
|
|
4994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormFloatingDirective, decorators: [{
|
|
4995
4995
|
type: Directive,
|
|
4996
4996
|
args: [{
|
|
4997
4997
|
selector: '[gtrFormFloating]',
|
|
@@ -5012,10 +5012,10 @@ class GtrInputGroupTextDirective {
|
|
|
5012
5012
|
};
|
|
5013
5013
|
}
|
|
5014
5014
|
constructor() { }
|
|
5015
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5016
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5015
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputGroupTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5016
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrInputGroupTextDirective, isStandalone: true, selector: "[gtrInputGroupText]", host: { properties: { "class": "this.hostClasses" } }, ngImport: i0 }); }
|
|
5017
5017
|
}
|
|
5018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputGroupTextDirective, decorators: [{
|
|
5019
5019
|
type: Directive,
|
|
5020
5020
|
args: [{
|
|
5021
5021
|
selector: '[gtrInputGroupText]',
|
|
@@ -5705,10 +5705,10 @@ class GtrTimeElementDirective {
|
|
|
5705
5705
|
constructor(elementRef) {
|
|
5706
5706
|
this.elementRef = elementRef;
|
|
5707
5707
|
}
|
|
5708
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5709
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5708
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimeElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5709
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrTimeElementDirective, isStandalone: true, selector: "[gtrTimeElement]", inputs: { gtrTimeElement: "gtrTimeElement" }, exportAs: ["gtrTimeElement"], ngImport: i0 }); }
|
|
5710
5710
|
}
|
|
5711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimeElementDirective, decorators: [{
|
|
5712
5712
|
type: Directive,
|
|
5713
5713
|
args: [{
|
|
5714
5714
|
selector: '[gtrTimeElement]',
|
|
@@ -5778,10 +5778,10 @@ class GtrTimePickerRollColComponent {
|
|
|
5778
5778
|
trackByElement(index, element) {
|
|
5779
5779
|
return element.value;
|
|
5780
5780
|
}
|
|
5781
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5782
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5781
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollColComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5782
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerRollColComponent, isStandalone: true, selector: "gtr-time-picker-roll-col", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "timeElements", predicate: GtrTimeElementDirective, descendants: true }], exportAs: ["gtrTimePickerRollCol"], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n}\n", dependencies: [{ kind: "directive", type: GtrTimeElementDirective, selector: "[gtrTimeElement]", inputs: ["gtrTimeElement"], exportAs: ["gtrTimeElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
5783
5783
|
}
|
|
5784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollColComponent, decorators: [{
|
|
5785
5785
|
type: Component,
|
|
5786
5786
|
args: [{ selector: 'gtr-time-picker-roll-col', exportAs: 'gtrTimePickerRollCol', standalone: true, imports: [GtrTimeElementDirective, NgClass, NgStyle], template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n}\n" }]
|
|
5787
5787
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { disabled: [{
|
|
@@ -5808,10 +5808,10 @@ class GtrDayPeriodElementDirective {
|
|
|
5808
5808
|
constructor(elementRef) {
|
|
5809
5809
|
this.elementRef = elementRef;
|
|
5810
5810
|
}
|
|
5811
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5812
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5811
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDayPeriodElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5812
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDayPeriodElementDirective, isStandalone: true, selector: "[gtrDayPeriodElement]", inputs: { gtrDayPeriodElement: "gtrDayPeriodElement" }, exportAs: ["gtrDayPeriodElement"], ngImport: i0 }); }
|
|
5813
5813
|
}
|
|
5814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDayPeriodElementDirective, decorators: [{
|
|
5815
5815
|
type: Directive,
|
|
5816
5816
|
args: [{
|
|
5817
5817
|
selector: '[gtrDayPeriodElement]',
|
|
@@ -5880,10 +5880,10 @@ class GtrTimePickerRollAmPmComponent {
|
|
|
5880
5880
|
trackByElement(index, element) {
|
|
5881
5881
|
return element.value;
|
|
5882
5882
|
}
|
|
5883
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5884
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5883
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollAmPmComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5884
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerRollAmPmComponent, isStandalone: true, selector: "gtr-time-picker-roll-am-pm", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "dayPeriodElements", predicate: GtrDayPeriodElementDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrDayPeriodElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\">\n {{ element.label }}\n </div>\n}\n\n", dependencies: [{ kind: "directive", type: GtrDayPeriodElementDirective, selector: "[gtrDayPeriodElement]", inputs: ["gtrDayPeriodElement"], exportAs: ["gtrDayPeriodElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
5885
5885
|
}
|
|
5886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollAmPmComponent, decorators: [{
|
|
5887
5887
|
type: Component,
|
|
5888
5888
|
args: [{ selector: 'gtr-time-picker-roll-am-pm', standalone: true, imports: [GtrDayPeriodElementDirective, NgClass, NgStyle], template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrDayPeriodElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\">\n {{ element.label }}\n </div>\n}\n\n" }]
|
|
5889
5889
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { disabled: [{
|
|
@@ -6328,8 +6328,8 @@ class GtrTimePickerComponent {
|
|
|
6328
6328
|
}
|
|
6329
6329
|
this.dropdownRef?.nativeElement?.classList.add('show');
|
|
6330
6330
|
}
|
|
6331
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6332
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6331
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6332
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerComponent, isStandalone: true, selector: "gtr-time-picker", inputs: { cleaner: "cleaner", dateTimeFormatOptions: "dateTimeFormatOptions", disabled: "disabled", filterHours: "filterHours", filterMinutes: "filterMinutes", filterSeconds: "filterSeconds", indicator: "indicator", inputReadOnly: "inputReadOnly", locale: "locale", placeholder: "placeholder", seconds: "seconds", size: "size", time: "time", variant: "variant", valid: "valid", visible: "visible" }, outputs: { timeChange: "timeChange" }, host: { listeners: { "blur": "onBlur()" } }, providers: [
|
|
6333
6333
|
{
|
|
6334
6334
|
provide: NG_VALUE_ACCESSOR,
|
|
6335
6335
|
useExisting: forwardRef((() => GtrTimePickerComponent)),
|
|
@@ -6337,7 +6337,7 @@ class GtrTimePickerComponent {
|
|
|
6337
6337
|
},
|
|
6338
6338
|
], queries: [{ propertyName: "contentTemplates", predicate: GtrTemplateIdDirective, descendants: true }], viewQueries: [{ propertyName: "dropdownRef", first: true, predicate: GtrDropdownComponent, descendants: true, read: ElementRef }], exportAs: ["gtrTimePicker"], usesOnChanges: true, ngImport: i0, template: "@if (variant === 'select') {\n <div class=\"date-picker-timepickers\">\n <div class=\"picker time-picker\">\n <div [formGroup]=\"selectTime\" class=\"time-picker-body\" [ngClass]=\"timePickerClasses\">\n <span class=\"time-picker-inline-icon\"></span>\n <select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectHours\"\n (ngModelChange)=\"handleSelectHoursChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (hour of listOfHours12; track trackByHour; let i = $index) {\n <option [ngValue]=\"hour.value\"\n [attr.disabled]=\"hour.disabled || null\">{{ hour.label }}\n </option>\n }\n </select>\n {{ ' :' }}<select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectMinutes\"\n (ngModelChange)=\"handleSelectMinutesChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (minute of listOfMinutes; track minute) {\n <option [ngValue]=\"minute.value\"\n [attr.disabled]=\"minute.disabled || null\">{{ minute.label }}\n </option>\n }\n </select>\n @if (seconds) {\n {{ ' :' }}<select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectSeconds\"\n (ngModelChange)=\"handleSelectSecondsChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (second of listOfSeconds; track second) {\n <option [ngValue]=\"second.value\"\n [attr.disabled]=\"second.disabled || null\">{{ second.label }}\n </option>\n }\n </select>\n }\n @if (hour12) {\n <select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectDayPeriod\"\n (ngModelChange)=\"handleSelectDayPeriodChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (dayPeriod of dayPeriods; track dayPeriod) {\n <option [ngValue]=\"dayPeriod.value\"\n class=\"time-picker-roll-cell\">{{ dayPeriod.label }}\n </option>\n }\n </select>\n }\n </div>\n </div>\n </div>\n}\n\n@if (variant === 'roll') {\n <gtr-dropdown #dropdown=\"gtrDropdown\" [autoClose]=\"'outside'\" class=\"time-picker picker\" [ngClass]=\"timePickerClasses\"\n [visible]=\"visible\">\n <gtr-input-group [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\"\n [sizing]=\"size ?? ''\"\n gtrDropdownToggle\n class=\"picker-input-group\">\n <input (blur)=\"handleBlur($event);\"\n (change)=\"handleTimeInputChange($event)\"\n (focus)=\"handleFocus($event)\"\n [formControl]=\"timeInput\"\n [placeholder]=\"placeholder\"\n gtrFormControl\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.disabled]=\"disabled ? '' : null\"\n [attr.pattern]=\"hour12 ? '(((0[1-9])|(1[0-2])):([0-5])([0-9])\\\\\\\\s(A|P)M)' : '([01]?[0-9]|2[0-3]):[0-5][0-9]'\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"valid\"\n >\n @if (indicator || cleaner) {\n <span gtrInputGroupText>\n @if (indicator) {\n <span class=\"picker-input-group-indicator\">\n <span class=\"picker-input-group-icon time-picker-input-icon\"></span>\n </span>\n }\n @if (cleaner && time && !disabled) {\n <span (click)=\"!disabled && handleClear($event)\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <span class=\"picker-input-group-icon time-picker-cleaner-icon\"></span>\n </span>\n }\n </span>\n }\n\n </gtr-input-group>\n <div gtrDropdownMenu #dropdownMenu=\"gtrDropdownMenu\">\n <div class=\"time-picker-body time-picker-roll\" style=\"position: relative;\">\n <gtr-time-picker-roll-col\n [elements]=\"listOfHours12\"\n [selected]=\"hour\"\n (selectedChange)=\"handleSelectHoursChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n <gtr-time-picker-roll-col\n [elements]=\"listOfMinutes\"\n [selected]=\"minute\"\n (selectedChange)=\"handleSelectMinutesChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n\n @if (seconds) {\n <gtr-time-picker-roll-col\n [elements]=\"listOfSeconds\"\n [selected]=\"second\"\n (selectedChange)=\"handleSelectSecondsChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n }\n\n @if (hour12) {\n <gtr-time-picker-roll-am-pm\n [elements]=\"dayPeriods\"\n [selected]=\"dayPeriod\"\n (selectedChange)=\"handleSelectDayPeriodChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-am-pm>\n }\n </div>\n @if (templates?.timePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.timePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n }\n </div>\n </gtr-dropdown>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: GtrDropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: GtrDropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: GtrDropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "directive", type: GtrFormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "directive", type: GtrFormSelectDirective, selector: "select[gtrSelect]", inputs: ["sizing", "valid"] }, { kind: "component", type: GtrInputGroupComponent, selector: "gtr-input-group", inputs: ["sizing", "invalid"] }, { kind: "directive", type: GtrInputGroupTextDirective, selector: "[gtrInputGroupText]" }, { kind: "component", type: GtrTimePickerRollColComponent, selector: "gtr-time-picker-roll-col", inputs: ["disabled", "elements", "onClick", "selected", "refresh"], outputs: ["selectedChange"], exportAs: ["gtrTimePickerRollCol"] }, { kind: "component", type: GtrTimePickerRollAmPmComponent, selector: "gtr-time-picker-roll-am-pm", inputs: ["disabled", "elements", "onClick", "selected", "refresh"], outputs: ["selectedChange"] }] }); }
|
|
6339
6339
|
}
|
|
6340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerComponent, decorators: [{
|
|
6341
6341
|
type: Component,
|
|
6342
6342
|
args: [{ selector: 'gtr-time-picker', exportAs: 'gtrTimePicker', standalone: true, imports: [
|
|
6343
6343
|
NgClass,
|
|
@@ -6408,10 +6408,10 @@ class GtrCustomRangeKeyPipe {
|
|
|
6408
6408
|
transform(customRange, ...args) {
|
|
6409
6409
|
return customRange[0];
|
|
6410
6410
|
}
|
|
6411
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6412
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
6411
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCustomRangeKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
6412
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCustomRangeKeyPipe, isStandalone: true, name: "gtrCustomRangeKey" }); }
|
|
6413
6413
|
}
|
|
6414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCustomRangeKeyPipe, decorators: [{
|
|
6415
6415
|
type: Pipe,
|
|
6416
6416
|
args: [{
|
|
6417
6417
|
name: 'gtrCustomRangeKey',
|
|
@@ -7040,8 +7040,8 @@ class GtrDateRangePickerComponent {
|
|
|
7040
7040
|
this.dateValidationChange.emit(errors);
|
|
7041
7041
|
this.invalid = !valid;
|
|
7042
7042
|
}
|
|
7043
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7044
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7043
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDateRangePickerComponent, deps: [{ token: i1$1.BreakpointObserver }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7044
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrDateRangePickerComponent, isStandalone: true, selector: "gtr-date-range-picker", inputs: { id: "id", testid: "testid", required: "required", dayFormat: "dayFormat", calendars: "calendars", cleaner: "cleaner", closeOnSelect: "closeOnSelect", format: "format", indicator: "indicator", inputReadOnly: "inputReadOnly", navYearFirst: "navYearFirst", alwaysOpen: "alwaysOpen", placeholder: "placeholder", ranges: "ranges", type: "type", rangesButtonsColor: "rangesButtonsColor", rangesButtonsSize: "rangesButtonsSize", rangesButtonsVariant: "rangesButtonsVariant", separator: "separator", size: "size", timepicker: "timepicker", valid: "valid", invalid: ["invalid", "invalid", booleanAttribute], visible: "visible", startDate: "startDate", endDate: "endDate", calendarDate: "calendarDate", disabledDates: "disabledDates", firstDayOfWeek: "firstDayOfWeek", locale: "locale", maxDate: "maxDate", minDate: "minDate", name: "name", dataTransactionName: "dataTransactionName", navigation: "navigation", range: "range", dateFilter: "dateFilter", disabled: "disabled", value: "value", weekdayFormat: "weekdayFormat", popperjsOptions: ["popperOptions", "popperjsOptions"], selectAdjacentDays: "selectAdjacentDays", showAdjacentDays: "showAdjacentDays" }, outputs: { valueChange: "valueChange", calendarCellHover: "calendarCellHover", calendarDateChange: "calendarDateChange", endDateChange: "endDateChange", startDateChange: "startDateChange", dateValidationChange: "dateValidationChange" }, host: { listeners: { "blur": "onBlur()" } }, providers: [
|
|
7045
7045
|
{
|
|
7046
7046
|
provide: NG_VALUE_ACCESSOR,
|
|
7047
7047
|
useExisting: forwardRef((() => GtrDateRangePickerComponent)),
|
|
@@ -7053,7 +7053,7 @@ class GtrDateRangePickerComponent {
|
|
|
7053
7053
|
},
|
|
7054
7054
|
], queries: [{ propertyName: "contentTemplates", predicate: GtrTemplateIdDirective, descendants: true }], viewQueries: [{ propertyName: "startDateElementRef", first: true, predicate: ["startDateElementRef"], descendants: true }, { propertyName: "endDateElementRef", first: true, predicate: ["endDateElementRef"], descendants: true }], exportAs: ["gtrDateRangePicker"], usesOnChanges: true, ngImport: i0, template: "@if (alwaysOpen) {\n <div class=\"date-range-picker-input\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div class=\"date-range-picker-calendar\">\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n @if (templates?.datePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter\"></ng-container>\n </div>\n }\n </div>\n <ng-content></ng-content>\n}\n\n@if (!alwaysOpen) {\n <gtr-dropdown #dropdown=\"gtrDropdown\"\n [autoClose]=\"'outside'\"\n class=\"date-picker picker\"\n [ngClass]=\"datePickerClasses\"\n [(visible)]=\"visible\" [popperOptions]=\"popperjsOptions\">\n\n <div gtrDropdownToggle\n [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div gtrDropdownMenu>\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n\n @if (templates?.datePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n }\n </div>\n <ng-content></ng-content>\n </gtr-dropdown>\n}\n\n<ng-template #dateRangePickerInput>\n\n <gtr-input-group [sizing]=\"size ?? ''\"\n [invalid]=\"invalid\"\n class=\"picker-input-group\"\n >\n <input (change)=\"handleStartDateInputChange($event)\"\n [formControl]=\"startDateInput\"\n [ngClass]=\"{hover: !!inputStartHoverValue}\"\n [placeholder]=\"startDatePlaceholder\"\n gtrFormControl\n #startDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [required]=\"required ?? null\"\n [valid]=\"range ? undefined : valid\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-input-start-date'\"\n class=\"date-picker-input\"\n >\n @if (range && separator !== false) {\n <span gtrInputGroupText>\n <span class=\"picker-input-group-icon date-picker-arrow-icon\"></span>\n </span>\n }\n\n @if (range) {\n <input (change)=\"handleEndDateInputChange($event)\"\n [formControl]=\"endDateInput\"\n [ngClass]=\"{hover: !!inputEndHoverValue}\"\n [placeholder]=\"endDatePlaceholder\"\n gtrFormControl\n #endDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [required]=\"required ?? null\"\n [valid]=\"valid ?? undefined\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-input-end-date'\"\n class=\"date-picker-input\"\n >\n }\n\n @if (!alwaysOpen) {\n @if (indicator || cleaner) {\n <span class=\"picker-input-group-icons\">\n @if (indicator) {\n <span class=\"picker-input-group-indicator\">\n <gtr-icon name=\"chevron-down\" [size]=\"20\"></gtr-icon>\n </span>\n }\n @if (cleaner && startDateElementRef.value && !disabled) {\n <span (click)=\"!disabled && handleClear($event)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-cleaner'\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </span>\n }\n </span>\n }\n }\n </gtr-input-group>\n</ng-template>\n\n<ng-template #dateRangePicker>\n\n <div class=\"date-picker-body\">\n @if (!showRanges) {\n @if (ranges && customRanges.length > 0) {\n <div class=\"date-picker-ranges\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-range-picker'\">\n @for (customRange of customRanges; track customRange) {\n <button (click)=\"setCustomRange(customRange)\"\n [color]=\"rangesButtonsColor\"\n [size]=\"rangesButtonsSize\"\n [variant]=\"rangesButtonsVariant\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-range-picker'\"\n gtrButton>\n {{ customRange | gtrCustomRangeKey }}\n </button>\n }\n </div>\n }\n }\n <gtr-calendar\n (calendarCellHover)=\"handleCalendarCellHover($event)\"\n (calendarDateChange)=\"handleCalendarDateChange($event)\"\n (endDateChange)=\"handleEndDateChange($event)\"\n (startDateChange)=\"handleStartDateChange($event)\"\n [calendarDate]=\"calendarDate\"\n [calendars]=\"isMobile ? 1 : calendars\"\n [dateFilter]=\"dateFilter\"\n [disabledDates]=\"disabledDates\"\n [endDate]=\"endDate\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [locale]=\"locale\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [navigation]=\"navigation\"\n [range]=\"range\"\n [startDate]=\"startDate\"\n [navYearFirst]=\"navYearFirst\"\n [dayFormat]=\"dayFormat\"\n [weekdayFormat]=\"weekdayFormat\"\n [selectAdjacentDays]=\"selectAdjacentDays\"\n [showAdjacentDays]=\"showAdjacentDays\"\n [dataTransactionName]=\"dataTransactionName + '-date-picker'\"\n [type]=\"type\"\n class=\"date-picker-calendars\"\n ></gtr-calendar>\n @if (false && timepicker) {\n <div class=\"date-picker-timepickers\">\n <!-- todo-->\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!startDate\"\n [time]=\"startDate ?? undefined\"\n (timeChange)=\"handleStartTimeChange($event)\"\n ></gtr-time-picker>\n @if (range) {\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!endDate\"\n [time]=\"endDate ?? undefined\"\n (timeChange)=\"handleEndTimeChange($event)\"\n ></gtr-time-picker>\n }\n </div>\n }\n </div>\n\n\n</ng-template>\n", styles: [".picker-input-group-indicator{color:var(--gtr-color-base-black-80)!important}.picker-input-group-icons{border:none;display:flex;align-items:center;padding:0 14px}.date-picker-input{border:none!important;outline:none!important;padding:7px 14px}.picker-input-group{outline:none!important;box-shadow:none!important;background-color:#fff!important;border-radius:6px!important;border:1px solid var(--light-solid-color-extra-divider, #DBDADE)!important;background:var(--light-solid-color-extra-card-background, #FFF)!important}.date-picker-calendars{background-color:#fff}.input-group-invalid{border-color:var(--gtr-color-base-danger-100)!important}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: GtrDropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: GtrDropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: GtrDropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "component", type: GtrInputGroupComponent, selector: "gtr-input-group", inputs: ["sizing", "invalid"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: GtrFormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "directive", type: GtrInputGroupTextDirective, selector: "[gtrInputGroupText]" }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrCalendarComponent, selector: "gtr-calendar", inputs: ["calendarDate", "calendars", "dayFormat", "disabledDates", "startDate", "endDate", "firstDayOfWeek", "locale", "maxDate", "minDate", "navigation", "navYearFirst", "range", "view", "type", "weekdayFormat", "dateFilter", "selectAdjacentDays", "showAdjacentDays", "dataTransactionName"], outputs: ["calendarCellHover", "calendarDateChange", "endDateChange", "startDateChange", "viewChange"], exportAs: ["gtrCalendar"] }, { kind: "component", type: GtrTimePickerComponent, selector: "gtr-time-picker", inputs: ["cleaner", "dateTimeFormatOptions", "disabled", "filterHours", "filterMinutes", "filterSeconds", "indicator", "inputReadOnly", "locale", "placeholder", "seconds", "size", "time", "variant", "valid", "visible"], outputs: ["timeChange"], exportAs: ["gtrTimePicker"] }, { kind: "directive", type: GtrButtonDirective, selector: "[gtrButton]", inputs: ["active", "color", "disabled", "shape", "size", "type", "variant"], exportAs: ["gtrButton"] }, { kind: "pipe", type: GtrCustomRangeKeyPipe, name: "gtrCustomRangeKey" }] }); }
|
|
7055
7055
|
}
|
|
7056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDateRangePickerComponent, decorators: [{
|
|
7057
7057
|
type: Component,
|
|
7058
7058
|
args: [{ standalone: true, selector: 'gtr-date-range-picker', exportAs: 'gtrDateRangePicker', providers: [
|
|
7059
7059
|
{
|
|
@@ -7239,8 +7239,8 @@ class GtrDatePickerComponent extends GtrDateRangePickerComponent {
|
|
|
7239
7239
|
subscription?.unsubscribe();
|
|
7240
7240
|
});
|
|
7241
7241
|
}
|
|
7242
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7243
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7242
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDatePickerComponent, deps: [{ token: i1$1.BreakpointObserver }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7243
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrDatePickerComponent, isStandalone: true, selector: "gtr-date-picker", inputs: { name: "name", dataTransactionName: "dataTransactionName", date: "date" }, outputs: { startDateChange: "dateChange" }, providers: [
|
|
7244
7244
|
{
|
|
7245
7245
|
provide: NG_VALUE_ACCESSOR,
|
|
7246
7246
|
useExisting: forwardRef((() => GtrDatePickerComponent)),
|
|
@@ -7252,7 +7252,7 @@ class GtrDatePickerComponent extends GtrDateRangePickerComponent {
|
|
|
7252
7252
|
},
|
|
7253
7253
|
], exportAs: ["gtrDatePicker"], usesInheritance: true, ngImport: i0, template: "@if (alwaysOpen) {\n <div class=\"date-range-picker-input\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div class=\"date-range-picker-calendar\">\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n @if (templates?.datePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter\"></ng-container>\n </div>\n }\n </div>\n <ng-content></ng-content>\n}\n\n@if (!alwaysOpen) {\n <gtr-dropdown #dropdown=\"gtrDropdown\"\n [autoClose]=\"'outside'\"\n class=\"date-picker picker\"\n [ngClass]=\"datePickerClasses\"\n [(visible)]=\"visible\" [popperOptions]=\"popperjsOptions\">\n\n <div gtrDropdownToggle\n [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\">\n <ng-container *ngTemplateOutlet=\"dateRangePickerInput\"></ng-container>\n </div>\n <div gtrDropdownMenu>\n <ng-container *ngTemplateOutlet=\"dateRangePicker\"></ng-container>\n\n @if (templates?.datePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.datePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n }\n </div>\n <ng-content></ng-content>\n </gtr-dropdown>\n}\n\n<ng-template #dateRangePickerInput>\n\n <gtr-input-group [sizing]=\"size ?? ''\"\n [invalid]=\"invalid\"\n class=\"picker-input-group\"\n >\n <input (change)=\"handleStartDateInputChange($event)\"\n [formControl]=\"startDateInput\"\n [ngClass]=\"{hover: !!inputStartHoverValue}\"\n [placeholder]=\"startDatePlaceholder\"\n gtrFormControl\n #startDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [required]=\"required ?? null\"\n [valid]=\"range ? undefined : valid\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-input-start-date'\"\n class=\"date-picker-input\"\n >\n @if (range && separator !== false) {\n <span gtrInputGroupText>\n <span class=\"picker-input-group-icon date-picker-arrow-icon\"></span>\n </span>\n }\n\n @if (range) {\n <input (change)=\"handleEndDateInputChange($event)\"\n [formControl]=\"endDateInput\"\n [ngClass]=\"{hover: !!inputEndHoverValue}\"\n [placeholder]=\"endDatePlaceholder\"\n gtrFormControl\n #endDateElementRef\n [attr.tabindex]=\"disabled ? -1 : 0\"\n pattern=\"[1-9]*\"\n [readonly]=\"inputReadOnly ?? null\"\n [required]=\"required ?? null\"\n [valid]=\"valid ?? undefined\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-input-end-date'\"\n class=\"date-picker-input\"\n >\n }\n\n @if (!alwaysOpen) {\n @if (indicator || cleaner) {\n <span class=\"picker-input-group-icons\">\n @if (indicator) {\n <span class=\"picker-input-group-indicator\">\n <gtr-icon name=\"chevron-down\" [size]=\"20\"></gtr-icon>\n </span>\n }\n @if (cleaner && startDateElementRef.value && !disabled) {\n <span (click)=\"!disabled && handleClear($event)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-picker-cleaner'\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <gtr-icon name=\"x\" [size]=\"20\"></gtr-icon>\n </span>\n }\n </span>\n }\n }\n </gtr-input-group>\n</ng-template>\n\n<ng-template #dateRangePicker>\n\n <div class=\"date-picker-body\">\n @if (!showRanges) {\n @if (ranges && customRanges.length > 0) {\n <div class=\"date-picker-ranges\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-range-picker'\">\n @for (customRange of customRanges; track customRange) {\n <button (click)=\"setCustomRange(customRange)\"\n [color]=\"rangesButtonsColor\"\n [size]=\"rangesButtonsSize\"\n [variant]=\"rangesButtonsVariant\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-date-range-picker'\"\n gtrButton>\n {{ customRange | gtrCustomRangeKey }}\n </button>\n }\n </div>\n }\n }\n <gtr-calendar\n (calendarCellHover)=\"handleCalendarCellHover($event)\"\n (calendarDateChange)=\"handleCalendarDateChange($event)\"\n (endDateChange)=\"handleEndDateChange($event)\"\n (startDateChange)=\"handleStartDateChange($event)\"\n [calendarDate]=\"calendarDate\"\n [calendars]=\"isMobile ? 1 : calendars\"\n [dateFilter]=\"dateFilter\"\n [disabledDates]=\"disabledDates\"\n [endDate]=\"endDate\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [locale]=\"locale\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [navigation]=\"navigation\"\n [range]=\"range\"\n [startDate]=\"startDate\"\n [navYearFirst]=\"navYearFirst\"\n [dayFormat]=\"dayFormat\"\n [weekdayFormat]=\"weekdayFormat\"\n [selectAdjacentDays]=\"selectAdjacentDays\"\n [showAdjacentDays]=\"showAdjacentDays\"\n [dataTransactionName]=\"dataTransactionName + '-date-picker'\"\n [type]=\"type\"\n class=\"date-picker-calendars\"\n ></gtr-calendar>\n @if (false && timepicker) {\n <div class=\"date-picker-timepickers\">\n <!-- todo-->\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!startDate\"\n [time]=\"startDate ?? undefined\"\n (timeChange)=\"handleStartTimeChange($event)\"\n ></gtr-time-picker>\n @if (range) {\n <gtr-time-picker\n variant=\"select\"\n [locale]=\"locale\"\n [disabled]=\"!endDate\"\n [time]=\"endDate ?? undefined\"\n (timeChange)=\"handleEndTimeChange($event)\"\n ></gtr-time-picker>\n }\n </div>\n }\n </div>\n\n\n</ng-template>\n", styles: [".picker-input-group-indicator{color:var(--gtr-color-base-black-80)!important}.picker-input-group-icons{border:none;display:flex;align-items:center;padding:0 14px}.date-picker-input{border:none!important;outline:none!important;padding:7px 14px}.picker-input-group{outline:none!important;box-shadow:none!important;background-color:#fff!important;border-radius:6px!important;border:1px solid var(--light-solid-color-extra-divider, #DBDADE)!important;background:var(--light-solid-color-extra-card-background, #FFF)!important}.date-picker-calendars{background-color:#fff}.input-group-invalid{border-color:var(--gtr-color-base-danger-100)!important}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: GtrDropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: GtrDropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: GtrDropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "component", type: GtrInputGroupComponent, selector: "gtr-input-group", inputs: ["sizing", "invalid"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: GtrFormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "directive", type: GtrInputGroupTextDirective, selector: "[gtrInputGroupText]" }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrCalendarComponent, selector: "gtr-calendar", inputs: ["calendarDate", "calendars", "dayFormat", "disabledDates", "startDate", "endDate", "firstDayOfWeek", "locale", "maxDate", "minDate", "navigation", "navYearFirst", "range", "view", "type", "weekdayFormat", "dateFilter", "selectAdjacentDays", "showAdjacentDays", "dataTransactionName"], outputs: ["calendarCellHover", "calendarDateChange", "endDateChange", "startDateChange", "viewChange"], exportAs: ["gtrCalendar"] }, { kind: "component", type: GtrTimePickerComponent, selector: "gtr-time-picker", inputs: ["cleaner", "dateTimeFormatOptions", "disabled", "filterHours", "filterMinutes", "filterSeconds", "indicator", "inputReadOnly", "locale", "placeholder", "seconds", "size", "time", "variant", "valid", "visible"], outputs: ["timeChange"], exportAs: ["gtrTimePicker"] }, { kind: "directive", type: GtrButtonDirective, selector: "[gtrButton]", inputs: ["active", "color", "disabled", "shape", "size", "type", "variant"], exportAs: ["gtrButton"] }, { kind: "pipe", type: GtrCustomRangeKeyPipe, name: "gtrCustomRangeKey" }] }); }
|
|
7254
7254
|
}
|
|
7255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDatePickerComponent, decorators: [{
|
|
7256
7256
|
type: Component,
|
|
7257
7257
|
args: [{ standalone: true, selector: 'gtr-date-picker', exportAs: 'gtrDatePicker', providers: [
|
|
7258
7258
|
{
|
|
@@ -7412,10 +7412,10 @@ class GtrFileInputComponent {
|
|
|
7412
7412
|
fileTextLimit(fileName) {
|
|
7413
7413
|
return fileName ? (fileName.length > 30 ? `${fileName.slice(0, 30)}...` : fileName) : '';
|
|
7414
7414
|
}
|
|
7415
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7416
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7415
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7416
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrFileInputComponent, isStandalone: true, selector: "gtr-file-input", inputs: { name: "name", dataTransactionName: "dataTransactionName", accept: "accept", heading: "heading", description: "description", ariaLabel: "ariaLabel", identifier: "identifier" }, outputs: { gtrFileSelected: "gtrFileSelected", gtrFileError: "gtrFileError" }, viewQueries: [{ propertyName: "fileInputElement", first: true, predicate: ["fileInputElement"], descendants: true }], ngImport: i0, template: "<div\n class=\"gtr-file-input-wrapper\"\n [attr.id]=\"identifier || 'gtr-file-input'\"\n [attr.data-testid]=\"identifier || 'gtr-file-input'\"\n>\n <div\n class=\"gtr-file-input-container\"\n [attr.data-transaction-name]=\"dataTransactionName + '-file-input-drop'\"\n (drop)=\"handleDrop($event)\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"ariaLabel ?? 'gtr-file-input'\"\n >\n <input\n hidden\n #fileInputElement\n type=\"file\"\n [accept]=\"accept\"\n (change)=\"handleFileChange($event)\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-file-input'\"\n aria-hidden=\"true\"\n />\n <div class=\"gtr-file-input-icon\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M32 32L24 24L16 32\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 24V42\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M40.7799 36.78C42.7306 35.7165 44.2716 34.0337 45.1597 31.9972C46.0477 29.9607 46.2323 27.6864 45.6843 25.5334C45.1363 23.3803 43.8869 21.471 42.1333 20.1069C40.3796 18.7427 38.2216 18.0014 35.9999 18H33.4799C32.8745 15.6585 31.7462 13.4846 30.1798 11.642C28.6134 9.79927 26.6496 8.33567 24.4361 7.36118C22.2226 6.3867 19.817 5.92669 17.4002 6.01573C14.9833 6.10478 12.6181 6.74057 10.4823 7.8753C8.34649 9.01003 6.49574 10.6142 5.06916 12.5671C3.64259 14.5201 2.6773 16.771 2.24588 19.1508C1.81446 21.5305 1.92813 23.977 2.57835 26.3065C3.22856 28.636 4.3984 30.7877 5.99992 32.6\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M32 32L24 24L16 32\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n <div class=\"gtr-file-info-wrapper\">\n <span class=\"gtr-file-input-heading\">\n {{ currentSelectedFileName ?? heading ?? \"Drag and drop files here, or click to browse\" }}\n </span>\n <span class=\"gtr-file-input-description\">\n {{ description || \"CSV, excel, PNG, JPG, JPEG files accepted\" }}\n </span>\n </div>\n <div>\n <gtr-button variant=\"outline\" color=\"success\" (click)=\"fileInputElement.click()\"\n [dataTransactionName]=\"dataTransactionName + '-file-input-select'\">\n Select File\n </gtr-button>\n </div>\n </div>\n</div>\n", styles: [".gtr-file-input-wrapper *,.gtr-file-input-wrapper *:after,.gtr-file-input-wrapper *:before{box-sizing:border-box;margin:0;width:auto}.gtr-file-input-wrapper .gtr-file-input-container{width:100%;position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;align-self:center;padding:16px 24px 16px 32px;border-radius:10px;border:1px dashed var(--gtr-color-base-black-20);gap:24px;transition:.4s all ease-in-out}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-input-icon{width:48px;height:48px;object-fit:contain}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper{flex-grow:1;display:flex;flex-direction:column}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper .gtr-file-input-heading{cursor:pointer;font-size:18px;line-height:normal;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-bottom:12px}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper .gtr-file-input-description{font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-40);font-size:16px;font-style:normal;font-weight:400;line-height:normal}\n"], dependencies: [{ kind: "component", type: GtrButtonComponent, selector: "gtr-button", inputs: ["type", "btnId", "name", "dataTransactionName", "color", "isLoading", "variant", "disabled"] }] }); }
|
|
7417
7417
|
}
|
|
7418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFileInputComponent, decorators: [{
|
|
7419
7419
|
type: Component,
|
|
7420
7420
|
args: [{ standalone: true, selector: 'gtr-file-input', imports: [GtrButtonComponent], template: "<div\n class=\"gtr-file-input-wrapper\"\n [attr.id]=\"identifier || 'gtr-file-input'\"\n [attr.data-testid]=\"identifier || 'gtr-file-input'\"\n>\n <div\n class=\"gtr-file-input-container\"\n [attr.data-transaction-name]=\"dataTransactionName + '-file-input-drop'\"\n (drop)=\"handleDrop($event)\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"ariaLabel ?? 'gtr-file-input'\"\n >\n <input\n hidden\n #fileInputElement\n type=\"file\"\n [accept]=\"accept\"\n (change)=\"handleFileChange($event)\"\n [name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-file-input'\"\n aria-hidden=\"true\"\n />\n <div class=\"gtr-file-input-icon\">\n <svg\n width=\"48\"\n height=\"48\"\n viewBox=\"0 0 48 48\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M32 32L24 24L16 32\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M24 24V42\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M40.7799 36.78C42.7306 35.7165 44.2716 34.0337 45.1597 31.9972C46.0477 29.9607 46.2323 27.6864 45.6843 25.5334C45.1363 23.3803 43.8869 21.471 42.1333 20.1069C40.3796 18.7427 38.2216 18.0014 35.9999 18H33.4799C32.8745 15.6585 31.7462 13.4846 30.1798 11.642C28.6134 9.79927 26.6496 8.33567 24.4361 7.36118C22.2226 6.3867 19.817 5.92669 17.4002 6.01573C14.9833 6.10478 12.6181 6.74057 10.4823 7.8753C8.34649 9.01003 6.49574 10.6142 5.06916 12.5671C3.64259 14.5201 2.6773 16.771 2.24588 19.1508C1.81446 21.5305 1.92813 23.977 2.57835 26.3065C3.22856 28.636 4.3984 30.7877 5.99992 32.6\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M32 32L24 24L16 32\"\n stroke=\"#F2994A\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </div>\n <div class=\"gtr-file-info-wrapper\">\n <span class=\"gtr-file-input-heading\">\n {{ currentSelectedFileName ?? heading ?? \"Drag and drop files here, or click to browse\" }}\n </span>\n <span class=\"gtr-file-input-description\">\n {{ description || \"CSV, excel, PNG, JPG, JPEG files accepted\" }}\n </span>\n </div>\n <div>\n <gtr-button variant=\"outline\" color=\"success\" (click)=\"fileInputElement.click()\"\n [dataTransactionName]=\"dataTransactionName + '-file-input-select'\">\n Select File\n </gtr-button>\n </div>\n </div>\n</div>\n", styles: [".gtr-file-input-wrapper *,.gtr-file-input-wrapper *:after,.gtr-file-input-wrapper *:before{box-sizing:border-box;margin:0;width:auto}.gtr-file-input-wrapper .gtr-file-input-container{width:100%;position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;align-self:center;padding:16px 24px 16px 32px;border-radius:10px;border:1px dashed var(--gtr-color-base-black-20);gap:24px;transition:.4s all ease-in-out}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-input-icon{width:48px;height:48px;object-fit:contain}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper{flex-grow:1;display:flex;flex-direction:column}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper .gtr-file-input-heading{cursor:pointer;font-size:18px;line-height:normal;font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-100);margin-bottom:12px}.gtr-file-input-wrapper .gtr-file-input-container .gtr-file-info-wrapper .gtr-file-input-description{font-family:var(--gtr-component-font-family-base);color:var(--gtr-color-base-black-40);font-size:16px;font-style:normal;font-weight:400;line-height:normal}\n"] }]
|
|
7421
7421
|
}], propDecorators: { fileInputElement: [{
|
|
@@ -7559,8 +7559,8 @@ class GtrInputColorComponent {
|
|
|
7559
7559
|
this.touched = true;
|
|
7560
7560
|
this.onTouched(true);
|
|
7561
7561
|
}
|
|
7562
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7563
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
7562
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7563
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrInputColorComponent, isStandalone: true, selector: "gtr-input-color", inputs: { inputLabel: "inputLabel", invalid: "invalid", placeholder: "placeholder", colorPickerControls: "colorPickerControls", hideColorPicker: "hideColorPicker", hidePickerTextInput: "hidePickerTextInput", hideErrorMessage: "hideErrorMessage", name: "name", dataTransactionName: "dataTransactionName", disabled: "disabled", value: "value", inputValue: "inputValue", colorValue: "colorValue" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
7564
7564
|
{
|
|
7565
7565
|
provide: NG_VALUE_ACCESSOR,
|
|
7566
7566
|
useExisting: forwardRef((() => GtrInputColorComponent)),
|
|
@@ -7568,7 +7568,7 @@ class GtrInputColorComponent {
|
|
|
7568
7568
|
},
|
|
7569
7569
|
], ngImport: i0, template: "<div class=\"input-color-container\">\n <div class=\"gtr-custom-label\">{{ inputLabel }}</div>\n\n <div\n class=\"d-flex flex-row align-items-center input-color\"\n [class.has-border]=\"hasBorder\"\n [class.invalid]=\"!disabled && invalid\"\n >\n <gtr-input\n type=\"text\"\n [isValid]=\"inputControl.valid\"\n [placeholder]=\"placeholder || ''\"\n [dataTransactionName]=\"dataTransactionName + '-color'\"\n [name]=\"name\"\n [formControl]=\"inputControl\">\n </gtr-input>\n\n <ngx-colors\n ngx-colors-trigger\n [hideColorPicker]=\"hideColorPicker\"\n [colorPickerControls]=\"colorPickerControls\"\n [hideTextInput]=\"hidePickerTextInput\"\n [formControl]=\"colorControl\"\n acceptLabel=\"Accept\"\n cancelLabel=\"Cancel\"\n ></ngx-colors>\n\n </div>\n @if (!disabled && invalid && inputControl?.errors && !hideErrorMessage) {\n @if (inputControl?.invalid && (inputControl?.dirty || inputControl?.touched)) {\n <div class=\"custom-error\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n @if (inputControl?.errors?.['invalidColor']) {\n <span>The color is invalid.</span>\n }\n </div>\n }\n }\n</div>\n", styles: [".input-color-container .gtr-custom-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input-color-container ::ng-deep ngx-colors{display:inline-block;margin-left:5px}.input-color-container ::ng-deep ngx-colors .preview{border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important}.input-color-container ::ng-deep ngx-colors .preview-background{border-radius:6px!important}.input-color-container ::ng-deep ngx-colors .circle{border:1px solid transparent!important;border-radius:6px!important;width:42px!important;height:100%!important;min-height:38px!important}.input-color-container .input-color.has-border ::ng-deep ngx-colors .circle{border-color:var(--gtr-color-base-black-10)!important}::ng-deep ngx-colors-panel .opened button{letter-spacing:.43px!important;padding:8px 12px 8px 10px!important;line-height:18px!important;font-size:15px!important;font-weight:400!important;border:1px solid transparent!important;border-radius:6px!important}\n"], dependencies: [{ kind: "component", type: GtrInputComponent, selector: "gtr-input", inputs: ["inputWrapperId", "loading", "type", "name", "dataTransactionName", "value", "placeholder", "inputIcon", "iconSize", "iconColor", "iconPosition", "iconFontWeight", "inputLabel", "disabled", "validateLabel", "isNumber", "readonly", "isOnlyView", "defaultValidation", "required", "isValid", "crop", "inputId", "setFocus"], outputs: ["inputChanged", "handleError"] }, { kind: "ngmodule", type: NgxColorsModule }, { kind: "component", type: i1$2.NgxColorsComponent, selector: "ngx-colors" }, { kind: "directive", type: i1$2.NgxColorsTriggerDirective, selector: "[ngx-colors-trigger]", inputs: ["colorsAnimation", "palette", "format", "formats", "position", "hideTextInput", "hideColorPicker", "attachTo", "overlayClassName", "colorPickerControls", "acceptLabel", "cancelLabel"], outputs: ["change", "input", "slider", "close", "open"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
7570
7570
|
}
|
|
7571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrInputColorComponent, decorators: [{
|
|
7572
7572
|
type: Component,
|
|
7573
7573
|
args: [{ standalone: true, selector: 'gtr-input-color', providers: [
|
|
7574
7574
|
{
|
|
@@ -7725,8 +7725,8 @@ class GtrNumericCounterComponent {
|
|
|
7725
7725
|
}
|
|
7726
7726
|
}
|
|
7727
7727
|
}
|
|
7728
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7729
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7728
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrNumericCounterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7729
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: GtrNumericCounterComponent, isStandalone: true, selector: "gtr-numeric-counter", inputs: { value: "value", step: "step", min: "min", max: "max", name: "name", identifier: "identifier", disabled: "disabled", readonly: "readonly", dataTransactionName: "dataTransactionName" }, outputs: { gtrChange: "gtrChange" }, providers: [
|
|
7730
7730
|
{
|
|
7731
7731
|
provide: NG_VALUE_ACCESSOR,
|
|
7732
7732
|
useExisting: forwardRef((() => GtrNumericCounterComponent)),
|
|
@@ -7734,7 +7734,7 @@ class GtrNumericCounterComponent {
|
|
|
7734
7734
|
},
|
|
7735
7735
|
], 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 [attr.data-transaction-name]=\"dataTransactionName + '-numeric-counter'\"\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 [attr.data-transaction-name]=\"dataTransactionName + '-numeric-counter-minus'\"\n >\n <gtr-icon name=\"minus\" [size]=\"18\"\n [dataTransactionName]=\"dataTransactionName + '-numeric-counter-minus'\"></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 [attr.data-transaction-name]=\"dataTransactionName + '-numeric-counter-input'\"\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 [attr.data-transaction-name]=\"dataTransactionName + '-numeric-counter-plus'\"\n >\n <gtr-icon name=\"plus\" [size]=\"18\"\n [dataTransactionName]=\"dataTransactionName + '-numeric-counter-plus'\"></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: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{-moz-appearance:textfield;appearance:none;-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }] }); }
|
|
7736
7736
|
}
|
|
7737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrNumericCounterComponent, decorators: [{
|
|
7738
7738
|
type: Component,
|
|
7739
7739
|
args: [{ standalone: true, selector: 'gtr-numeric-counter', providers: [
|
|
7740
7740
|
{
|
|
@@ -7775,10 +7775,10 @@ class GtrValidatePagePipe {
|
|
|
7775
7775
|
}
|
|
7776
7776
|
return returnValue ?? '';
|
|
7777
7777
|
}
|
|
7778
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7779
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
7778
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrValidatePagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7779
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrValidatePagePipe, isStandalone: true, name: "gtrValidatePage" }); }
|
|
7780
7780
|
}
|
|
7781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrValidatePagePipe, decorators: [{
|
|
7782
7782
|
type: Pipe,
|
|
7783
7783
|
args: [{
|
|
7784
7784
|
name: 'gtrValidatePage',
|
|
@@ -7880,10 +7880,10 @@ class GtrTrimTextPipe {
|
|
|
7880
7880
|
}
|
|
7881
7881
|
return value?.substring(0, limit) + '...';
|
|
7882
7882
|
}
|
|
7883
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7884
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
7883
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTrimTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7884
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrTrimTextPipe, isStandalone: true, name: "gtrTrimText" }); }
|
|
7885
7885
|
}
|
|
7886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTrimTextPipe, decorators: [{
|
|
7887
7887
|
type: Pipe,
|
|
7888
7888
|
args: [{
|
|
7889
7889
|
name: 'gtrTrimText',
|
|
@@ -7934,10 +7934,10 @@ class GtrFormatSelectedValuePipe {
|
|
|
7934
7934
|
return formattedOption ? formattedOption : selectedValues?.[0] ? selectedValues?.[0] : '';
|
|
7935
7935
|
}
|
|
7936
7936
|
}
|
|
7937
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7938
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
7937
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormatSelectedValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
7938
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrFormatSelectedValuePipe, isStandalone: true, name: "gtrFormatSelectedValue" }); }
|
|
7939
7939
|
}
|
|
7940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFormatSelectedValuePipe, decorators: [{
|
|
7941
7941
|
type: Pipe,
|
|
7942
7942
|
args: [{
|
|
7943
7943
|
name: 'gtrFormatSelectedValue',
|
|
@@ -8438,8 +8438,8 @@ class GtrSelectComponent {
|
|
|
8438
8438
|
ngOnDestroy() {
|
|
8439
8439
|
this.cleanSearch();
|
|
8440
8440
|
}
|
|
8441
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8442
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8441
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSelectComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8442
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrSelectComponent, isStandalone: true, selector: "gtr-select", inputs: { inputLabel: "inputLabel", placeholder: "placeholder", floatPlaceholder: "floatPlaceholder", labelKey: "labelKey", valueKey: "valueKey", selectedLabel: "selectedLabel", highlightLabel: "highlightLabel", subLabel: "subLabel", isOnlyView: "isOnlyView", value: "value", multiple: "multiple", lazyLoaded: "lazyLoaded", searchable: "searchable", disabled: "disabled", hideOptions: "hideOptions", cleanSearchWhenClose: "cleanSearchWhenClose", readonly: "readonly", is_invalid: "is_invalid", listLoading: "listLoading", loading: "loading", changeLoading: "changeLoading", listLoaderVariation: "listLoaderVariation", options: "options", textLimit: "textLimit", autoSelect: "autoSelect", autocomplete: "autocomplete", resetAutocomplete: "resetAutocomplete", enableAddButton: "enableAddButton", addButtonPosition: "addButtonPosition", addButtonLabel: "addButtonLabel", searchPlaceholder: "searchPlaceholder", name: "name", dataTransactionName: "dataTransactionName" }, outputs: { addButtonClicked: "addButtonClicked", valueChanged: "valueChanged", searchChanged: "searchChanged", autocompleteInputChanged: "autocompleteInputChanged", gtrScroll: "gtrScroll", gtrTouched: "gtrTouched", gtrBlur: "gtrBlur" }, host: { listeners: { "keydown": "handleKeyboardNavigations($event)", "window:click": "onClickOutside($event)", "window:resize": "onWindowResize($event)", "window:scroll": "onWindowScroll($event)" } }, providers: [
|
|
8443
8443
|
{
|
|
8444
8444
|
provide: NG_VALUE_ACCESSOR,
|
|
8445
8445
|
useExisting: forwardRef((() => GtrSelectComponent)),
|
|
@@ -8447,7 +8447,7 @@ class GtrSelectComponent {
|
|
|
8447
8447
|
},
|
|
8448
8448
|
], usesOnChanges: true, ngImport: i0, template: "<!-- ************ Select Box Element ************ -->\n<div class=\"gtr-select-wrapper\" [class.gtr-only-view]=\"isOnlyView\" [class.multiple]=\"multiple\">\n <!-- Input Label -->\n @if (inputLabel) {\n <ng-container *ngTemplateOutlet=\"inputLabelTemplate\"></ng-container>\n }\n <!-- Input Label ends here... -->\n\n <!-- skeleton loading -->\n <ng-container *skeleton=\"\n loading;\n repeat: 1;\n className: 'skeleton-margin-bottom';\n height: '16px';\n width: '150px'\n \">\n <!-- Select Box Container -->\n <div class=\"gtr-select\" [ngClass]=\"{\n invalid: is_invalid,\n disabled: disabled,\n readonly: readonly\n }\" [attr.aria-readonly]=\"readonly ? 'true' : 'false'\">\n\n @if (autocomplete) {\n <!-- Select box autocomplete container -->\n\n @if (!multiple) {\n <input type=\"text\" class=\"gtr-autocomplete-input gtr-select-box\" tabindex=\"0\"\n [placeholder]=\"placeholder || ''\" [value]=\"\n selectedValues && selectedValues.length && !multiple\n ? (selectedValues\n | gtrFormatSelectedValue\n : options\n : valueKey\n : selectedLabel\n : labelKey\n : textLimit\n : multiple\n : selectedValueLazy\n : selectedValues\n : selectedValuesRaw\n : lazyLoaded)\n : autocompleteInputValue || ''\n \" (input)=\"handleAutocompleteInput($event)\" (click)=\"toggleSelectBox(true)\"\n (keyup.enter)=\"handleAddButton(true)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-autocomplete'\"/>\n } @else {\n <!-- Multi-select selected values -->\n @if (multipleSelectedValues && multiple) {\n\n <div tabindex=\"0\" class=\"gtr-select-box\" [ngClass]=\"{\n multi: multipleSelectedValues && multipleSelectedValues.length,\n open: isOpen,\n }\" [attr.aria-expanded]=\"isOpen ? 'true' : 'false'\">\n <div class=\"gtr-selected-items\">\n <!-- Multi selected values -->\n @for (item of multipleSelectedValues; track item; let i = $index) {\n <!-- NOTE: case1 to show chips if index is smaller or equal than 1 -->\n @if (i <= 1) {\n <span class=\"gtr-multi-select-value\">\n {{\n (item\n | gtrFormatSelectedValue\n : options\n : valueKey\n : selectedLabel\n : labelKey\n : textLimit\n : multiple\n : selectedValueLazy\n : multipleSelectedValues\n : multipleSelectedValuesRaw\n : lazyLoaded) + \" \"\n }}\n <gtr-icon name=\"x\" [size]=\"14\" weight=\"bold\" color=\"var(--gtr-color-base-primary-60)\"\n (click)=\"removeOptions($event, item)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-close'\"></gtr-icon>\n </span>\n }\n }\n\n <!-- Enter autocomplete input -->\n <input type=\"text\" class=\"gtr-autocomplete-input\" tabindex=\"0\" [placeholder]=\"placeholder || ''\"\n [value]=\"autocompleteInputValue || ''\" (input)=\"handleAutocompleteInput($event)\"\n (click)=\"toggleSelectBox(true)\" (keyup.enter)=\"handleAddButton(true)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-autocomplete'\"/>\n <!-- Enter autocomplete input ends here -->\n\n <!-- NOTE: case2 show total count by subtracting 2 if selected values length are greater than 2 -->\n @if (multipleSelectedValues && multipleSelectedValues.length > 2) {\n <span class=\"gtr-multi-select-count\">+ {{ multipleSelectedValues.length - 2 }}</span>\n }\n </div>\n </div>\n }\n\n <!-- Multi-select selected values ends here... -->\n }\n <!-- Select box autocomplete container ends here -->\n\n } @else {\n <!-- Select Box Input Wrapper -->\n <div tabindex=\"0\" class=\"gtr-select-box\" [ngClass]=\"{\n multi: multipleSelectedValues && multipleSelectedValues.length,\n open: isOpen,\n float: floatPlaceholder,\n }\" [attr.aria-expanded]=\"isOpen ? 'true' : 'false'\" (click)=\"toggleSelectBox()\"\n (keyup.enter)=\"toggleSelectBox()\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-wrapper'\">\n <gtr-icon name=\"chevron-down\" [size]=\"20\" color=\"var(--gtr-color-base-black-60)\"></gtr-icon>\n\n <!-- NOTE: if don't have selected values then show placeholder -->\n <!-- Placeholder -->\n @if (!(multipleSelectedValues?.length || selectedValues?.length)) {\n <ng-container *ngTemplateOutlet=\"placeholderTemplate\"></ng-container>\n }\n <!-- Placeholder ends here... -->\n\n <!-- Single select selected values -->\n @if (selectedValues?.length && !multiple) {\n <div class=\"gtr-selected-items\">\n <!-- float placeholder -->\n @if (floatPlaceholder) {\n <ng-container *ngTemplateOutlet=\"floatPlaceholderTemplate\"></ng-container>\n }\n <!-- float placeholder ends here... -->\n\n <!-- Single select value -->\n <span class=\"gtr-single-select\">{{\n selectedValues\n | gtrFormatSelectedValue\n : options\n : valueKey\n : selectedLabel\n : labelKey\n : textLimit\n : multiple\n : selectedValueLazy\n : selectedValues\n : selectedValuesRaw\n : lazyLoaded\n }}</span>\n <!-- Single select value ends here... -->\n </div>\n }\n <!-- Single select selected values ends here... -->\n\n <!-- Multi-select selected values -->\n @if (multipleSelectedValues && multiple) {\n <div class=\"gtr-selected-items\">\n <!-- float placeholder -->\n @if (floatPlaceholder) {\n <ng-container *ngTemplateOutlet=\"floatPlaceholderTemplate\"></ng-container>\n }\n <!-- float placeholder ends here... -->\n\n <!-- Multi selected values -->\n @for (item of multipleSelectedValues; track item; let i = $index) {\n <!-- NOTE: case1 to show chips if index is smaller or equal than 1 -->\n @if (i <= 1) {\n <span class=\"gtr-multi-select-value\">\n {{\n (item\n | gtrFormatSelectedValue\n : options\n : valueKey\n : selectedLabel\n : labelKey\n : textLimit\n : multiple\n : selectedValueLazy\n : multipleSelectedValues\n : multipleSelectedValuesRaw\n : lazyLoaded) + \" \"\n }}\n <gtr-icon name=\"x\" [size]=\"14\" weight=\"bold\" color=\"var(--gtr-color-base-primary-60)\"\n (click)=\"removeOptions($event, item)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-remove-option'\"></gtr-icon>\n </span>\n }\n }\n\n <!-- NOTE: case2 show total count by subtracting 2 if selected values length are greater than 2 -->\n @if (multipleSelectedValues && multipleSelectedValues.length > 2) {\n <span class=\"gtr-multi-select-count\">+ {{ multipleSelectedValues.length - 2 }}</span>\n }\n </div>\n }\n <!-- Multi-select selected values ends here... -->\n </div>\n <!-- Select Box Input Wrapper ends here... -->\n }\n\n <!-- Select Box options list wrapper -->\n @if (!disabled && !readonly) {\n <span class=\"gtr-options-wrapper\" [class.open]=\"isOpen\">\n <!-- Search Wrapper -->\n @if (!autocomplete && searchable) {\n <span class=\"gtr-input-wrapper\">\n <input type=\"text\" class=\"gtr-search-input\" [class.showLoader]=\"\n listLoading && listLoaderVariation === loaderVariation.SPINNER\n \" [placeholder]=\"searchPlaceholder\" [value]=\"searchValue || ''\" (input)=\"handleSearchInput($event)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-input-search'\"/>\n <div [class.gtr-select-spinner]=\"\n listLoading && listLoaderVariation === loaderVariation.SPINNER\n \"></div>\n </span>\n }\n <!-- Search Wrapper ends here... -->\n\n <!-- add-button template -->\n @if (enableAddButton && addButtonPosition === 'top') {\n <ng-container *ngTemplateOutlet=\"addButtonTemplate\"></ng-container>\n }\n <!-- add button template ends here -->\n\n <!-- Options List Wrapper -->\n <ul class=\"gtr-options-list\" [class.disabled]=\"hideOptions\" role=\"listbox\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-option-list'\"\n (scroll)=\"lazyLoadPaginationScroll()\">\n <!-- Loader -->\n @if (listLoading && listLoaderVariation === loaderVariation.TEXT) {\n <li class=\"gtr-loading-text\">\n <span>Searching...</span>\n </li>\n }\n <!-- Loader ends here... -->\n\n <!-- No Data -->\n @if (!listLoading && !filteredOptions?.length) {\n <li class=\"gtr-loading-text\">\n <span>No results found</span>\n </li>\n }\n <!-- No Data ends here... -->\n\n <!-- Options list -->\n @if ((!listLoading ||\n (listLoading &&\n listLoaderVariation === loaderVariation.SPINNER)) &&\n filteredOptions?.length) {\n @for (option of filteredOptions; track option; let i = $index) {\n <!-- NOTE: for single select -->\n @if (!multiple) {\n <li class=\"gtr-option\" [class.change-loading]=\"changeLoading\" [ngClass]=\"{\n selected:\n selectedValues &&\n selectedValues.includes(\n valueKey ? option[valueKey] : option\n ),\n hovered: autoSelect && autocomplete && i == 0\n }\" [attr.data-value]=\"option\" [attr.aria-selected]=\"\n selectedValues &&\n selectedValues.includes(\n valueKey ? option[valueKey] : option\n )\n ? 'true'\n : 'false'\n \" role=\"option\" (keyup.enter)=\"handleOptionClick(option)\" (click)=\"handleOptionClick(option)\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-option'\"\n tabindex=\"0\">\n <ng-container [ngTemplateOutlet]=\"optionLabelTemplate\"\n [ngTemplateOutletContext]=\"{ option: option }\"></ng-container>\n </li>\n } @else {\n <!-- NOTE: for multi select -->\n <li class=\"gtr-option\" [class.change-loading]=\"changeLoading\" [ngClass]=\"{\n selected:\n multipleSelectedValues &&\n multipleSelectedValues.includes(\n valueKey ? option[valueKey] : option\n ),\n hovered: autoSelect && autocomplete && i == 0\n }\" [attr.data-value]=\"option\" (keyup.enter)=\"handleOptionClick(option)\" [attr.aria-selected]=\"\n multipleSelectedValues &&\n multipleSelectedValues.includes(\n valueKey ? option[valueKey] : option\n )\n ? 'true'\n : 'false'\n \" (click)=\"handleOptionClick(option)\"\n [attr.name]=\"name\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-option'\" tabindex=\"0\" role=\"option\">\n <ng-container [ngTemplateOutlet]=\"optionLabelTemplate\"\n [ngTemplateOutletContext]=\"{ option: option }\"></ng-container>\n </li>\n }\n }\n }\n </ul>\n <!-- Options List Wrapper -->\n\n <!-- add button -->\n @if (enableAddButton && addButtonPosition === 'bottom') {\n <ng-container *ngTemplateOutlet=\"addButtonTemplate\"></ng-container>\n }\n <!-- add button -->\n </span>\n }\n <!-- Select Box options list wrapper -->\n </div>\n <!-- Select Box Container ends here -->\n\n <!-- Error Message -->\n @if (is_invalid && !isOnlyView) {\n <ng-container *ngTemplateOutlet=\"errorMessageTemplate\"></ng-container>\n }\n <!-- Error Message ends here... -->\n </ng-container>\n <!-- skeleton loading ends here... -->\n</div>\n<!-- ************ Select Box Element ************ -->\n\n<!-- ************ Common Templates ************ -->\n\n<!-- Input Label Template -->\n<ng-template #inputLabelTemplate>\n <label for=\"gtr-select\" class=\"gtr-form-element-label\" [class.gtr-only-view]=\"isOnlyView\">{{ inputLabel }}</label>\n</ng-template>\n<!-- Input Label Template ends here... -->\n\n<!-- Error Message Template -->\n<ng-template #errorMessageTemplate>\n <div class=\"gtr-error-wrap\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\n</ng-template>\n<!-- Error Message Template ends here... -->\n\n<!-- Placeholder Template -->\n<ng-template #placeholderTemplate>\n <div class=\"gtr-selected-items\">\n <span class=\"gtr-placeholder\" [attr.aria-placeholder]=\"placeholder\">{{\n placeholder | gtrTrimText : textLimit\n }}</span>\n </div>\n</ng-template>\n<!-- Placeholder Template ends here... -->\n\n<!-- Floating Placeholder Template -->\n<ng-template #floatPlaceholderTemplate>\n <span class=\"gtr-placeholder float\" [attr.aria-placeholder]=\"placeholder\">{{\n placeholder | gtrTrimText : textLimit\n }}</span>\n</ng-template>\n<!-- Floating Placeholder Template ends here... -->\n\n<!-- Option Label Template -->\n<ng-template #optionLabelTemplate let-option=\"option\">\n <div class=\"gtr-option-custom-label\">\n <span [ngClass]=\"{\n bold: highlightLabel && labelKey && highlightLabel == labelKey\n }\">{{\n (labelKey ? option[labelKey] : option) | gtrTrimText : textLimit\n }}</span>\n @if (subLabel) {\n <br/>\n <span class=\"sub-label\" [ngClass]=\"{\n bold: highlightLabel && subLabel && highlightLabel === subLabel\n }\">{{\n (subLabel ? option[subLabel] : option) | gtrTrimText : textLimit\n }}</span>\n }\n </div>\n</ng-template>\n<!-- Option Label Template ends here... -->\n\n<!-- Add button template -->\n<ng-template #addButtonTemplate>\n <div class=\"add-button-wrapper\" [class.disabled]=\"hideOptions\" tabindex=\"0\" (click)=\"handleAddButton()\"\n (keyup.enter)=\"handleAddButton()\"\n [attr.data-transaction-name]=\"dataTransactionName + '-select-add-button'\">\n <span class=\"add-button\">\n <span [innerHTML]=\"addButtonLabel\"></span>\n </span>\n </div>\n</ng-template>\n<!-- Add button template ends here -->\n", styles: [":host{--gtr-webkit-scrollbar-color: var(--gtr-color-base-white-100);--gtr-webkit-scrollbar-thumb: #e4e4e4;--gtr-webkit-scrollbar-border-radius: 6px;--gtr-font-size-13: 13px;--gtr-select-box-dropdown-shadow: 0px 10px 20px rgba(165, 163, 174, .4);--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-padding-32: 32px;--gtr-background-transparent: transparent;--gtr-input-height: 38px;--gtr-input-readonly-height: 21px;--gray-shades-40: rgba(0, 0, 0, .4);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-100: #ea5455;--gtr-color-base-label-100:var(--default);box-sizing:border-box}.gtr-select-wrapper *,.gtr-select-wrapper :after,.gtr-select-wrapper :before{box-sizing:border-box}.gtr-select-wrapper{display:block;width:100%}.gtr-select-wrapper .gtr-form-element-label{display:block;font-size:var(--gtr-font-size-13);font-weight:400;line-height:21px;color:var(--gtr-color-base-label-100);position:unset}.gtr-select-wrapper.gtr-only-view{pointer-events:none;cursor:default}.gtr-select-wrapper.gtr-only-view .gtr-form-element-label{margin:0}.gtr-select-wrapper.gtr-only-view .gtr-select .gtr-select-box{height:auto;border:none;padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:21px}.gtr-select-wrapper.gtr-only-view .gtr-select .gtr-select-box .gtr-placeholder{display:none}.gtr-select-wrapper.gtr-only-view .gtr-select .gtr-select-box gtr-icon{display:none}.gtr-select{position:relative;width:100%;transition:.2s ease;display:flex}.gtr-select ::-webkit-scrollbar{width:6px}.gtr-select ::-webkit-scrollbar-track{background:var(--gtr-webkit-scrollbar-color)}.gtr-select ::-webkit-scrollbar-thumb{background:var(--gtr-webkit-scrollbar-color)}.gtr-select ::-webkit-scrollbar-thumb{background:var(--gtr-webkit-scrollbar-thumb);border-radius:var(--gtr-webkit-scrollbar-border-radius)}.gtr-select:active .gtr-select-box,.gtr-select:focus .gtr-select-box{border-color:var(--gtr-color-base-primary-60)}.gtr-select .gtr-select-box{position:relative;width:100%;height:38px;background:var(--gtr-color-base-white-100);border-radius:6px;display:flex;align-items:center;padding-left:15px;padding-right:35px;color:var(--gtr-color-base-black-80);font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-normal);font-size:13px;line-height:24px;border-width:1px;border-style:solid;border-color:var(--gtr-color-base-black-10);cursor:pointer;transition:.2s ease;order:0}.gtr-select .gtr-select-box:focus,.gtr-select .gtr-select-box:active{border-color:var(--gtr-color-base-primary-60)}.gtr-select .gtr-select-box.open{border-color:var(--gtr-color-base-primary-60)}.gtr-select .gtr-select-box.multi{padding-left:6px}.gtr-select .gtr-select-box.multi.float{padding-left:15px}.gtr-select .gtr-select-box>gtr-icon{position:absolute;top:8px;right:8px}.gtr-select.open-up .gtr-options-wrapper{top:100%}.gtr-select.open-bottom .gtr-options-wrapper{top:40px}.gtr-select .gtr-options-wrapper{margin:0;position:absolute;background:var(--gtr-color-base-white-100);top:40px;min-width:250px;left:0;width:100%;box-shadow:var(--gtr-select-box-dropdown-shadow);border-radius:6px;z-index:99999;overflow-y:auto;box-sizing:border-box;perspective:1000px;transform-origin:top center;animation:growOut .1s 0s ease-in-out none;display:none;opacity:0}.gtr-select .gtr-options-wrapper.open{display:block;opacity:1}.gtr-select .gtr-options-wrapper .gtr-options-list{list-style-type:none;margin:0;padding:8px;width:100%;z-index:2;overflow-y:auto;max-height:250px;transition:.2s ease}.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-loading-text{text-align:center;padding:10px 15px;color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-normal);font-size:13px;line-height:18px;pointer-events:none;margin:0 0 5px}.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-option{border-radius:6px;padding:10px 15px;color:var(--gtr-color-base-black-100);font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:var(--gtr-size-font-weight-normal);font-size:13px;line-height:18px;cursor:pointer;margin:0 0 5px;transition:.3s ease;white-space:break-spaces;word-wrap:break-word}.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-option:hover,.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-option.hovered{background:var(--gtr-color-base-primary-10);color:var(--gtr-color-base-primary-100)}.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-option:focus{background:var(--gtr-color-base-primary-10);color:var(--gtr-color-base-primary-100);outline:none}.gtr-select .gtr-options-wrapper .gtr-options-list .gtr-option.selected{background:var(--gtr-color-base-primary-100);color:var(--gtr-color-font-inverse-primary);transition:.2s ease}.gtr-select .gtr-options-wrapper .gtr-input-wrapper{display:block;position:relative}.gtr-select .gtr-options-wrapper .gtr-input-wrapper .gtr-search-input{width:calc(100% - 1rem);border:1px solid var(--gtr-color-base-black-10);border-radius:6px;height:36px;padding:0 15px;outline:0;font-family:var(--gtr-component-font-family-base);font-style:normal;font-weight:400;font-size:13px;line-height:15px;color:var(--gtr-color-base-black-100);margin:8px 8px 5px;transition:.2s ease}.gtr-select .gtr-options-wrapper .gtr-input-wrapper .gtr-search-input.showLoader{padding-right:36px}.gtr-select .gtr-options-wrapper .gtr-input-wrapper .gtr-search-input:hover,.gtr-select .gtr-options-wrapper .gtr-input-wrapper .gtr-search-input:focus,.gtr-select .gtr-options-wrapper .gtr-input-wrapper .gtr-search-input:active{border-color:var(--gtr-color-base-primary-60)}.gtr-select.disabled{pointer-events:none;cursor:default}.add-button-wrapper.disabled,.gtr-options-list.disabled{pointer-events:none;cursor:default;opacity:.6}.gtr-select.readonly{pointer-events:none;cursor:default}.gtr-select.disabled .gtr-select-box{background:var(--gtr-color-base-black-5);opacity:.5}.gtr-select.invalid .gtr-select-box{border:solid 1px var(--gtr-color-base-danger-100)}.gtr-select.invalid .gtr-select-box>gtr-icon[name=info-circle-filled]{right:35px}.gtr-select .gtr-select-box .gtr-selected-items{width:100%;display:flex;align-items:center}.gtr-select .gtr-select-box .gtr-selected-items .gtr-multi-select-value{background:var(--gtr-color-base-primary-10);border-radius:4px;color:var(--gtr-color-base-primary-100);display:flex;align-items:center;padding:1px 8px;margin:0 10px 0 0;cursor:default}.gtr-select .gtr-select-box .gtr-selected-items .gtr-multi-select-value gtr-icon{margin-left:5px;cursor:pointer}.gtr-select .gtr-select-box .gtr-selected-items .gtr-single-select{background-color:none;padding:0;border-radius:0;font-family:var(--gtr-component-font-family-base)}.gtr-select .gtr-select-box .gtr-selected-items .gtr-placeholder{color:var(--gtr-color-base-black-40);font-family:var(--gtr-component-font-family-base)}.gtr-placeholder.float{margin-right:6px}.gtr-multi-select-count{margin-left:auto}.gtr-error-wrap{font-weight:500;font-size:11px;display:flex;color:var(--gtr-color-base-danger-100);align-items:center;padding-top:5px}.gtr-option-custom-label .bold{font-weight:600}.add-button-wrapper{background:var(--gtr-color-base-secondary-100);color:var(--gtr-color-font-inverse-secondary);min-height:38px;width:100%;padding:.5rem;display:flex;align-items:center;align-self:center;justify-content:flex-start;font-size:13px;font-weight:500;padding:8px 16px;cursor:pointer}.gtr-autocomplete-input{border:none;padding:0;margin:0;outline:0;width:100%;height:100%}.gtr-autocomplete-input::placeholder{color:var(--gtr-color-base-black-40)}.gtr-select-box:has(.gtr-autocomplete-input::focus){border-color:var(--gtr-color-base-primary-60)}.gtr-select-spinner{display:flex;justify-content:center;width:fit-content;height:fit-content;position:absolute;top:16px;right:16px}.gtr-select-spinner:after{content:\" \";width:1.2rem;height:1.2rem;margin:0;border-radius:50%;border:3px solid var(--gtr-color-base-primary-100);border-color:var(--gtr-color-base-primary-100) var(--gtr-color-base-primary-100) transparent var(--gtr-color-base-primary-100);animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes growOut{0%{opacity:0;-webkit-transform:scale(0);-moz-transform:scale(0);-o-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}80%{-webkit-transform:scale(1.07);-moz-transform:scale(1.07);-o-transform:scale(1.07);-ms-transform:scale(1.07);transform:scale(1.07)}to{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}\n"], dependencies: [{ kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "pipe", type: GtrFormatSelectedValuePipe, name: "gtrFormatSelectedValue" }, { kind: "pipe", type: GtrTrimTextPipe, name: "gtrTrimText" }] }); }
|
|
8449
8449
|
}
|
|
8450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrSelectComponent, decorators: [{
|
|
8451
8451
|
type: Component,
|
|
8452
8452
|
args: [{ standalone: true, selector: 'gtr-select', providers: [
|
|
8453
8453
|
{
|
|
@@ -8677,10 +8677,10 @@ class GtrPaginationComponent {
|
|
|
8677
8677
|
this._isMobile = hasMobileView();
|
|
8678
8678
|
this.options?.type !== 'token' && this._setTotalPages();
|
|
8679
8679
|
}
|
|
8680
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8681
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrPaginationComponent, isStandalone: true, selector: "gtr-pagination", inputs: { options: "options", identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", dataTransactionName: "dataTransactionName", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel", nextPageToken: "nextPageToken", prevPageToken: "prevPageToken", currentPageToken: "currentPageToken" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div>\n @switch (options.type) {\n @case ('flat') {\n <div class=\"flat\">\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ul class=\"gtr-pagination\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changePage(1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n href=\"javascript:void(0);\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changePage(pageIndex - 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changePage(pageIndex + 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n @if (!options.hideLast) {\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n id=\"gtr-pagination-link-last\"\n (click)=\"changePage(totalPages)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n href=\"javascript:void(0);\">Last </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n <!-- token pagination -->\n @case ('token') {\n <div class=\"flat\">\n <ng-container [ngTemplateOutlet]=\"tokenPagination\"></ng-container>\n </div>\n }\n <!-- token pagination ends -->\n\n @default {\n <div>\n @if (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.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n }\n\n @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\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 }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\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 @if (pagesArray?.length) {\n @for (page of pagesArray; track page; let i = $index) {\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-' + 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 }\n }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\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 @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n }\n </div>\n }\n }\n</div>\n<ng-template #tokenPagination>\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n >\n <ul class=\"gtr-pagination\" [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changeTokenPagination(null)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changeTokenPagination(prevPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!nextPageToken || currentPageToken === nextPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changeTokenPagination(nextPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n </ul>\n </nav>\n</ng-template>\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)}.flat{justify-content:space-between;display:flex;align-items:center}.flat .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.flat .gtr-pagination-ps-options-wrapper span{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{margin:0;display:flex;padding:0;list-style:none;border-radius:6px;gap:4px}.gtr-pagination-item{border-radius:6px;list-style:none;background:#f1f0f2}.gtr-pagination-item.disabled{pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-item:last-child{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link{color:#b9b9c3}.gtr-pagination-item .gtr-pagination-link{line-height:1.3;border:none;margin:0;font-size:1rem;min-width:2.286rem;display:flex;align-items:center;justify-content:center;padding:.5rem .85rem;text-decoration:none;color:var(--gtr-color-base-black-60);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.gtr-pagination-link:hover{color:var(--gtr-color-base-primary-100)}.gtr-pagination-item .gtr-pagination-link:focus{color:var(--gtr-color-base-primary-100);background:#ededed}.gtr-pagination-item:last-child .gtr-pagination-link:focus{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item:first-child .gtr-pagination-link:focus{border-top-left-radius:6px!important;border-bottom-left-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link:focus{color:var(--gtr-color-base-black-60);pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-link:focus{box-shadow:none}.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: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){.flat{justify-content:space-between;display:flex;flex-direction:column;align-items:end}.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: "component", type: GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "hideOptions", "cleanSearchWhenClose", "readonly", "is_invalid", "listLoading", "loading", "changeLoading", "listLoaderVariation", "options", "textLimit", "autoSelect", "autocomplete", "resetAutocomplete", "enableAddButton", "addButtonPosition", "addButtonLabel", "searchPlaceholder", "name", "dataTransactionName"], outputs: ["addButtonClicked", "valueChanged", "searchChanged", "autocompleteInputChanged", "gtrScroll", "gtrTouched", "gtrBlur"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
8680
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8681
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrPaginationComponent, isStandalone: true, selector: "gtr-pagination", inputs: { options: "options", identifier: "identifier", disabled: ["disabled", "disabled", booleanAttribute], limit: "limit", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hidePageSize: "hidePageSize", dataTransactionName: "dataTransactionName", showFirstLastButtons: ["showFirstLastButtons", "showFirstLastButtons", booleanAttribute], pageIndex: "pageIndex", ariaLabel: "ariaLabel", nextPageToken: "nextPageToken", prevPageToken: "prevPageToken", currentPageToken: "currentPageToken" }, outputs: { pageEvent: "pageEvent", getNumberOfPages: "getNumberOfPages" }, host: { listeners: { "window:resize": "onScreenResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div>\n @switch (options.type) {\n @case ('flat') {\n <div class=\"flat\">\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ul class=\"gtr-pagination\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changePage(1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n href=\"javascript:void(0);\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changePage(pageIndex - 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changePage(pageIndex + 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n @if (!options.hideLast) {\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n id=\"gtr-pagination-link-last\"\n (click)=\"changePage(totalPages)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n href=\"javascript:void(0);\">Last </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n <!-- token pagination -->\n @case ('token') {\n <div class=\"flat\">\n <ng-container [ngTemplateOutlet]=\"tokenPagination\"></ng-container>\n </div>\n }\n <!-- token pagination ends -->\n\n @default {\n <div>\n @if (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.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n }\n\n @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\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 }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\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 @if (pagesArray?.length) {\n @for (page of pagesArray; track page; let i = $index) {\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-' + 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 }\n }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\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 @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n }\n </div>\n }\n }\n</div>\n<ng-template #tokenPagination>\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n >\n <ul class=\"gtr-pagination\" [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changeTokenPagination(null)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changeTokenPagination(prevPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!nextPageToken || currentPageToken === nextPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changeTokenPagination(nextPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n </ul>\n </nav>\n</ng-template>\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)}.flat{justify-content:space-between;display:flex;align-items:center}.flat .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.flat .gtr-pagination-ps-options-wrapper span{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{margin:0;display:flex;padding:0;list-style:none;border-radius:6px;gap:4px}.gtr-pagination-item{border-radius:6px;list-style:none;background:#f1f0f2}.gtr-pagination-item.disabled{pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-item:last-child{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link{color:#b9b9c3}.gtr-pagination-item .gtr-pagination-link{line-height:1.3;border:none;margin:0;font-size:1rem;min-width:2.286rem;display:flex;align-items:center;justify-content:center;padding:.5rem .85rem;text-decoration:none;color:var(--gtr-color-base-black-60);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.gtr-pagination-link:hover{color:var(--gtr-color-base-primary-100)}.gtr-pagination-item .gtr-pagination-link:focus{color:var(--gtr-color-base-primary-100);background:#ededed}.gtr-pagination-item:last-child .gtr-pagination-link:focus{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item:first-child .gtr-pagination-link:focus{border-top-left-radius:6px!important;border-bottom-left-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link:focus{color:var(--gtr-color-base-black-60);pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-link:focus{box-shadow:none}.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: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){.flat{justify-content:space-between;display:flex;flex-direction:column;align-items:end}.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: "component", type: GtrSelectComponent, selector: "gtr-select", inputs: ["inputLabel", "placeholder", "floatPlaceholder", "labelKey", "valueKey", "selectedLabel", "highlightLabel", "subLabel", "isOnlyView", "value", "multiple", "lazyLoaded", "searchable", "disabled", "hideOptions", "cleanSearchWhenClose", "readonly", "is_invalid", "listLoading", "loading", "changeLoading", "listLoaderVariation", "options", "textLimit", "autoSelect", "autocomplete", "resetAutocomplete", "enableAddButton", "addButtonPosition", "addButtonLabel", "searchPlaceholder", "name", "dataTransactionName"], outputs: ["addButtonClicked", "valueChanged", "searchChanged", "autocompleteInputChanged", "gtrScroll", "gtrTouched", "gtrBlur"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrValidatePagePipe, name: "gtrValidatePage" }] }); }
|
|
8682
8682
|
}
|
|
8683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrPaginationComponent, decorators: [{
|
|
8684
8684
|
type: Component,
|
|
8685
8685
|
args: [{ standalone: true, selector: 'gtr-pagination', imports: [GtrSelectComponent, GtrIconComponent, NgTemplateOutlet, GtrValidatePagePipe], template: "<div>\n @switch (options.type) {\n @case ('flat') {\n <div class=\"flat\">\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n <ul class=\"gtr-pagination\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changePage(1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n href=\"javascript:void(0);\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === 1\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changePage(pageIndex - 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changePage(pageIndex + 1)\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n href=\"javascript:void(0);\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n @if (!options.hideLast) {\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"pageIndex === totalPages\"\n id=\"gtr-pagination-link-last\"\n (click)=\"changePage(totalPages)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n >\n <a class=\"gtr-pagination-link\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n href=\"javascript:void(0);\">Last </a>\n </li>\n }\n </ul>\n </nav>\n </div>\n }\n <!-- token pagination -->\n @case ('token') {\n <div class=\"flat\">\n <ng-container [ngTemplateOutlet]=\"tokenPagination\"></ng-container>\n </div>\n }\n <!-- token pagination ends -->\n\n @default {\n <div>\n @if (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.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n >\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n (valueChanged)=\"onPageSizeChange($event)\"\n ></gtr-select>\n </div>\n }\n\n @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\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 }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === 1 || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\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 @if (pagesArray?.length) {\n @for (page of pagesArray; track page; let i = $index) {\n <button\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"changePage(page)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-' + 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 }\n }\n\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\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 @if (showFirstLastButtons) {\n <button\n tabindex=\"0\"\n class=\"gtr-pagination-button\"\n type=\"button\"\n [disabled]=\"pageIndex === pagesArray[pagesArray.length - 1] || disabled\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-last-page'\"\n (click)=\"changePage(totalPages)\"\n aria-label=\"Last Page\"\n >\n <gtr-icon name=\"chevrons-right\" [size]=\"20\"></gtr-icon>\n </button>\n }\n </div>\n }\n </div>\n }\n }\n</div>\n<ng-template #tokenPagination>\n @if (!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 [dataTransactionName]=\"dataTransactionName + '-pagination-page-size'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-page-size'\"\n ></gtr-select>\n </div>\n }\n\n <nav\n aria-label=\"page\"\n [attr.id]=\"identifier || 'gtr__pagination'\"\n [attr.data-testid]=\"identifier || 'gtr__pagination'\"\n role=\"navigation\"\n [attr.aria-label]=\"ariaLabel || 'gtr__pagination'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\"\n >\n <ul class=\"gtr-pagination\" [attr.data-transaction-name]=\"dataTransactionName + '-pagination-nav'\">\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\"\n (click)=\"changeTokenPagination(null)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-first-page'\">First </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!currentPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\"\n (click)=\"changeTokenPagination(prevPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-previous-page'\">\n <gtr-icon name=\"chevron-left\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n <li\n class=\"gtr-pagination-item\"\n [class.disabled]=\"!nextPageToken || currentPageToken === nextPageToken\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\"\n (click)=\"changeTokenPagination(nextPageToken)\"\n >\n <a class=\"gtr-pagination-link\" href=\"javascript:void(0);\"\n [attr.data-transaction-name]=\"dataTransactionName + '-pagination-next-page'\">\n <gtr-icon name=\"chevron-right\" [size]=\"20\"></gtr-icon>\n </a>\n </li>\n </ul>\n </nav>\n</ng-template>\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)}.flat{justify-content:space-between;display:flex;align-items:center}.flat .gtr-pagination-ps-options-wrapper{display:flex;flex-direction:row;align-items:center;flex-grow:1}.flat .gtr-pagination-ps-options-wrapper span{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{margin:0;display:flex;padding:0;list-style:none;border-radius:6px;gap:4px}.gtr-pagination-item{border-radius:6px;list-style:none;background:#f1f0f2}.gtr-pagination-item.disabled{pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-item:last-child{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link{color:#b9b9c3}.gtr-pagination-item .gtr-pagination-link{line-height:1.3;border:none;margin:0;font-size:1rem;min-width:2.286rem;display:flex;align-items:center;justify-content:center;padding:.5rem .85rem;text-decoration:none;color:var(--gtr-color-base-black-60);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.gtr-pagination-link:hover{color:var(--gtr-color-base-primary-100)}.gtr-pagination-item .gtr-pagination-link:focus{color:var(--gtr-color-base-primary-100);background:#ededed}.gtr-pagination-item:last-child .gtr-pagination-link:focus{border-top-right-radius:6px!important;border-bottom-right-radius:6px!important}.gtr-pagination-item:first-child .gtr-pagination-link:focus{border-top-left-radius:6px!important;border-bottom-left-radius:6px!important}.gtr-pagination-item.disabled .gtr-pagination-link:focus{color:var(--gtr-color-base-black-60);pointer-events:none;opacity:.8;background-color:#f3f2f7}.gtr-pagination-link:focus{box-shadow:none}.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: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){.flat{justify-content:space-between;display:flex;flex-direction:column;align-items:end}.gtr-pagination-wrapper{justify-content:end!important}.gtr-pagination-ps-options-wrapper{width:100%;align-items:center;justify-content:end;margin-bottom:1em}}\n"] }]
|
|
8686
8686
|
}], propDecorators: { options: [{
|
|
@@ -8800,10 +8800,10 @@ class GtrStatCardComponent {
|
|
|
8800
8800
|
this.dateSelectedChange.emit(date);
|
|
8801
8801
|
this.closeDateSelect();
|
|
8802
8802
|
}
|
|
8803
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8804
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8803
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrStatCardComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8804
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrStatCardComponent, isStandalone: true, selector: "gtr-stat-card", inputs: { showSkeletonLoading: "showSkeletonLoading", title: "title", displayValue: "displayValue", value: "value", iconName: "iconName", isDangerCard: ["isDangerCard", "isDangerCard", booleanAttribute], enabledPercentage: ["enabledPercentage", "enabledPercentage", booleanAttribute], percentage: "percentage", isPercentageTrendUp: ["isPercentageTrendUp", "isPercentageTrendUp", booleanAttribute], statsCardId: "statsCardId", dataTransactionName: "dataTransactionName", enabledDateSelect: ["enabledDateSelect", "enabledDateSelect", booleanAttribute], dateOptions: "dateOptions", dateSelected: "dateSelected" }, outputs: { dateSelectedChange: "dateSelectedChange" }, viewQueries: [{ propertyName: "iconContainer", first: true, predicate: ["iconContainer"], descendants: true }, { propertyName: "labelContainer", first: true, predicate: ["labelContainer"], descendants: true }, { propertyName: "dateSelectWrapper", first: true, predicate: ["dateSelectWrapper"], descendants: true }, { propertyName: "dateSelectOptions", first: true, predicate: ["DateSelectOptions"], descendants: true }], ngImport: i0, template: "<div class=\"gtr-stats-card\" [id]=\"statsCardId\" [attr.data-testid]=\"statsCardId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card'\">\n <div class=\"gtr-stats-card-header\">\n <div class=\"gtr-stats-card-title-wrapper\">\n <h3 class=\"gtr-stats-card-title\" [id]=\"statsCardId+'-title'\"\n [attr.data-testid]=\"statsCardId+'-title'\">{{ title }}</h3>\n </div>\n </div>\n\n <div class=\"gtr-stats-card-content\">\n <div [id]=\"statsCardId+'-content-icon'\" [attr.data-testid]=\"statsCardId+'-content-icon'\"\n class=\"gtr-stats-card-icon-wrapper gtr-stats-card-icon-{{isDangerCard ? 'danger' : 'success'}}\">\n <gtr-icon [name]=\"iconName\" [size]=\"18\">\n </gtr-icon>\n </div>\n <div class=\"gtr-stats-card-value\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '20px'; width: '100px'\">\n <h2 class=\"gtr-stats-card-value-label\">\n <span [title]=\"displayValue\" [id]=\"statsCardId+'-content-label'\"\n [attr.data-testid]=\"statsCardId+'-content-label'\">{{ value }}</span>\n </h2>\n </ng-container>\n </div>\n </div>\n @if (enabledPercentage || enabledDateSelect) {\n <div class=\"gtr-stats-card-footer\" [class.content-right]=\"!enabledDateSelect && enabledPercentage\">\n @if (enabledDateSelect) {\n <div class=\"gtr-stats-card-date\" [id]=\"statsCardId+'-date'\" [attr.data-testid]=\"statsCardId+'-date'\">\n\n <div class=\"gtr-stats-card-date-select\" #dateSelectWrapper [id]=\"statsCardId+'-date-select'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-select'\"\n [attr.data-testid]=\"statsCardId+'-date-select'\" (click)=\"openDateSelect()\">\n <span class=\"gtr-stats-card-date-select-label\" [id]=\"statsCardId+'-date-select-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option-label'\"\n [attr.data-testid]=\"statsCardId+'-date-select-label'\" #labelContainer>{{ dateSelected }}</span>\n <gtr-icon #iconContainer class=\"gtr-stats-card-date-select-icon\" name=\"chevron-down\" [size]=\"12\"></gtr-icon>\n </div>\n\n <div class=\"gtr-stats-card-date-options-wrapper\" [id]=\"statsCardId+'-date-options-wrapper'\"\n [attr.data-testid]=\"statsCardId+'-date-options-wrapper'\" tabindex=\"0\" #DateSelectOptions>\n @for (date of dateOptions; track date) {\n <span class=\"gtr-stats-card-date-options-value\" [id]=\"statsCardId+'-date-options-value'\"\n [attr.data-testid]=\"statsCardId+'-date-options-value'\" (click)=\"dateSelectedChangeEvent(date)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option'\"\n [class.active]=\"dateSelected === date\">{{ date }}\n </span>\n }\n </div>\n\n </div>\n }\n\n @if (enabledPercentage) {\n <span class=\"gtr-stats-card-percentage\" [id]=\"statsCardId+'-percentage'\"\n [attr.data-testid]=\"statsCardId+'-percentage'\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '14px'; width: '48px'\">\n <span class=\"gtr-stats-card-percentage-label\" [id]=\"statsCardId+'-percentage-label'\"\n [attr.data-testid]=\"statsCardId+'-percentage-label'\">\n {{ percentage }}%\n </span>\n <gtr-icon [id]=\"statsCardId+'-percentage-icon'\" [attr.data-testid]=\"statsCardId+'-percentage-icon'\"\n [name]=\"isPercentageTrendUp ?\n 'trending-up' :\n 'trending-down'\" [color]=\"isPercentageTrendUp ?\n 'var(--gtr-color-base-success-base)' :\n 'var(--gtr-color-base-danger-base)'\" [size]=\"14\"></gtr-icon>\n </ng-container>\n </span>\n }\n </div>\n }\n</div>\n", styles: [":root{--gray-shades-10: rgba(0, 0, 0, .1);--gtr-color-base-black-20: rgba(0, 0, 0, .2)}.gtr-stats-card{border-radius:6px;border:1px solid var(--gray-shades-10, rgba(0, 0, 0, .1));border-bottom:2px solid var(--secondary-color);background:#fff;padding:16px;height:100%;position:relative;display:flex;flex-direction:column;gap:14px}.gtr-stats-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.gtr-stats-card-title{color:#6e6b7b;font-size:13px;font-style:normal;font-weight:400;line-height:18px;margin:0}.gtr-stats-card-date{position:relative}.gtr-stats-card-date-select{cursor:pointer;display:flex;gap:4px}.gtr-stats-card-date-select-label{color:var(--gtr-color-base-primary-100);font-size:11px;font-style:normal;font-weight:600;line-height:11px}.gtr-stats-card-date-select-icon{color:var(--light-typography-color-muted-text, #4B465C)}.gtr-stats-card-date-options-wrapper{position:absolute;right:0;z-index:99;border-radius:6px;background:var(--light-solid-color-extra-card-background, #FFF);box-shadow:0 10px 20px #a5a3ae66;padding:8px;width:220px;display:none;flex-direction:column;gap:4px}.gtr-stats-card-date-options-wrapper.open{display:flex}.gtr-stats-card-date-options-value{color:var(--light-typography-color-heading-text, #4B465C);font-size:15px;font-style:normal;font-weight:400;line-height:22px;border-radius:6px;cursor:pointer;display:block;padding:8px 16px;transition:all ease-in-out .2s}.gtr-stats-card-date-options-value:hover{background:var(--gtr-color-base-primary-5);color:var(--gtr-color-base-primary-base)}.gtr-stats-card-date-options-value.active{background-color:var(--gtr-color-base-primary-base);color:#fff}.gtr-stats-card-content{display:flex;gap:16px;align-items:center}.gtr-stats-card-icon-wrapper{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center}.gtr-stats-card-icon-success{background-color:var(--gtr-color-base-success-10);color:var(--gtr-color-base-success-base)}.gtr-stats-card-icon-danger{background-color:#0000000d;color:#4c465d80}.gtr-stats-card-value-label{color:var(--gray-shades-80, rgba(0, 0, 0, .8));font-size:24px;font-style:normal;font-weight:600;line-height:normal;margin:0}.gtr-stats-card-footer{width:100%;display:flex;gap:16px;justify-content:space-between;align-items:center}.gtr-stats-card-footer.content-right{justify-content:flex-end}.gtr-stats-card-percentage{display:inline-flex;align-items:center;gap:4px}.gtr-stats-card-percentage-label{color:var(-gtr-color-base-primary-100);font-size:14px;font-style:normal;font-weight:600;line-height:12px}@media screen and (max-width: 980px){.gtr-stats-card-value-label{font-size:14px}}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }] }); }
|
|
8805
8805
|
}
|
|
8806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrStatCardComponent, decorators: [{
|
|
8807
8807
|
type: Component,
|
|
8808
8808
|
args: [{ standalone: true, selector: 'gtr-stat-card', imports: [GtrIconComponent, GtrSkeletonDirective], template: "<div class=\"gtr-stats-card\" [id]=\"statsCardId\" [attr.data-testid]=\"statsCardId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card'\">\n <div class=\"gtr-stats-card-header\">\n <div class=\"gtr-stats-card-title-wrapper\">\n <h3 class=\"gtr-stats-card-title\" [id]=\"statsCardId+'-title'\"\n [attr.data-testid]=\"statsCardId+'-title'\">{{ title }}</h3>\n </div>\n </div>\n\n <div class=\"gtr-stats-card-content\">\n <div [id]=\"statsCardId+'-content-icon'\" [attr.data-testid]=\"statsCardId+'-content-icon'\"\n class=\"gtr-stats-card-icon-wrapper gtr-stats-card-icon-{{isDangerCard ? 'danger' : 'success'}}\">\n <gtr-icon [name]=\"iconName\" [size]=\"18\">\n </gtr-icon>\n </div>\n <div class=\"gtr-stats-card-value\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '20px'; width: '100px'\">\n <h2 class=\"gtr-stats-card-value-label\">\n <span [title]=\"displayValue\" [id]=\"statsCardId+'-content-label'\"\n [attr.data-testid]=\"statsCardId+'-content-label'\">{{ value }}</span>\n </h2>\n </ng-container>\n </div>\n </div>\n @if (enabledPercentage || enabledDateSelect) {\n <div class=\"gtr-stats-card-footer\" [class.content-right]=\"!enabledDateSelect && enabledPercentage\">\n @if (enabledDateSelect) {\n <div class=\"gtr-stats-card-date\" [id]=\"statsCardId+'-date'\" [attr.data-testid]=\"statsCardId+'-date'\">\n\n <div class=\"gtr-stats-card-date-select\" #dateSelectWrapper [id]=\"statsCardId+'-date-select'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-select'\"\n [attr.data-testid]=\"statsCardId+'-date-select'\" (click)=\"openDateSelect()\">\n <span class=\"gtr-stats-card-date-select-label\" [id]=\"statsCardId+'-date-select-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option-label'\"\n [attr.data-testid]=\"statsCardId+'-date-select-label'\" #labelContainer>{{ dateSelected }}</span>\n <gtr-icon #iconContainer class=\"gtr-stats-card-date-select-icon\" name=\"chevron-down\" [size]=\"12\"></gtr-icon>\n </div>\n\n <div class=\"gtr-stats-card-date-options-wrapper\" [id]=\"statsCardId+'-date-options-wrapper'\"\n [attr.data-testid]=\"statsCardId+'-date-options-wrapper'\" tabindex=\"0\" #DateSelectOptions>\n @for (date of dateOptions; track date) {\n <span class=\"gtr-stats-card-date-options-value\" [id]=\"statsCardId+'-date-options-value'\"\n [attr.data-testid]=\"statsCardId+'-date-options-value'\" (click)=\"dateSelectedChangeEvent(date)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option'\"\n [class.active]=\"dateSelected === date\">{{ date }}\n </span>\n }\n </div>\n\n </div>\n }\n\n @if (enabledPercentage) {\n <span class=\"gtr-stats-card-percentage\" [id]=\"statsCardId+'-percentage'\"\n [attr.data-testid]=\"statsCardId+'-percentage'\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '14px'; width: '48px'\">\n <span class=\"gtr-stats-card-percentage-label\" [id]=\"statsCardId+'-percentage-label'\"\n [attr.data-testid]=\"statsCardId+'-percentage-label'\">\n {{ percentage }}%\n </span>\n <gtr-icon [id]=\"statsCardId+'-percentage-icon'\" [attr.data-testid]=\"statsCardId+'-percentage-icon'\"\n [name]=\"isPercentageTrendUp ?\n 'trending-up' :\n 'trending-down'\" [color]=\"isPercentageTrendUp ?\n 'var(--gtr-color-base-success-base)' :\n 'var(--gtr-color-base-danger-base)'\" [size]=\"14\"></gtr-icon>\n </ng-container>\n </span>\n }\n </div>\n }\n</div>\n", styles: [":root{--gray-shades-10: rgba(0, 0, 0, .1);--gtr-color-base-black-20: rgba(0, 0, 0, .2)}.gtr-stats-card{border-radius:6px;border:1px solid var(--gray-shades-10, rgba(0, 0, 0, .1));border-bottom:2px solid var(--secondary-color);background:#fff;padding:16px;height:100%;position:relative;display:flex;flex-direction:column;gap:14px}.gtr-stats-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.gtr-stats-card-title{color:#6e6b7b;font-size:13px;font-style:normal;font-weight:400;line-height:18px;margin:0}.gtr-stats-card-date{position:relative}.gtr-stats-card-date-select{cursor:pointer;display:flex;gap:4px}.gtr-stats-card-date-select-label{color:var(--gtr-color-base-primary-100);font-size:11px;font-style:normal;font-weight:600;line-height:11px}.gtr-stats-card-date-select-icon{color:var(--light-typography-color-muted-text, #4B465C)}.gtr-stats-card-date-options-wrapper{position:absolute;right:0;z-index:99;border-radius:6px;background:var(--light-solid-color-extra-card-background, #FFF);box-shadow:0 10px 20px #a5a3ae66;padding:8px;width:220px;display:none;flex-direction:column;gap:4px}.gtr-stats-card-date-options-wrapper.open{display:flex}.gtr-stats-card-date-options-value{color:var(--light-typography-color-heading-text, #4B465C);font-size:15px;font-style:normal;font-weight:400;line-height:22px;border-radius:6px;cursor:pointer;display:block;padding:8px 16px;transition:all ease-in-out .2s}.gtr-stats-card-date-options-value:hover{background:var(--gtr-color-base-primary-5);color:var(--gtr-color-base-primary-base)}.gtr-stats-card-date-options-value.active{background-color:var(--gtr-color-base-primary-base);color:#fff}.gtr-stats-card-content{display:flex;gap:16px;align-items:center}.gtr-stats-card-icon-wrapper{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center}.gtr-stats-card-icon-success{background-color:var(--gtr-color-base-success-10);color:var(--gtr-color-base-success-base)}.gtr-stats-card-icon-danger{background-color:#0000000d;color:#4c465d80}.gtr-stats-card-value-label{color:var(--gray-shades-80, rgba(0, 0, 0, .8));font-size:24px;font-style:normal;font-weight:600;line-height:normal;margin:0}.gtr-stats-card-footer{width:100%;display:flex;gap:16px;justify-content:space-between;align-items:center}.gtr-stats-card-footer.content-right{justify-content:flex-end}.gtr-stats-card-percentage{display:inline-flex;align-items:center;gap:4px}.gtr-stats-card-percentage-label{color:var(-gtr-color-base-primary-100);font-size:14px;font-style:normal;font-weight:600;line-height:12px}@media screen and (max-width: 980px){.gtr-stats-card-value-label{font-size:14px}}\n"] }]
|
|
8809
8809
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { iconContainer: [{
|
|
@@ -8935,10 +8935,10 @@ class GtrCreateComponentPipe {
|
|
|
8935
8935
|
this.closed$.next(''); // <-- close open subscriptions
|
|
8936
8936
|
this.componentRef?.destroy();
|
|
8937
8937
|
}
|
|
8938
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8939
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8938
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
8939
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, isStandalone: true, name: "gtrCreateComponent" }); }
|
|
8940
8940
|
}
|
|
8941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, decorators: [{
|
|
8942
8942
|
type: Pipe,
|
|
8943
8943
|
args: [{ name: 'gtrCreateComponent', standalone: true }]
|
|
8944
8944
|
}], ctorParameters: () => [] });
|
|
@@ -8954,10 +8954,10 @@ class GtrFetchAttributePipe {
|
|
|
8954
8954
|
}
|
|
8955
8955
|
return '';
|
|
8956
8956
|
}
|
|
8957
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8958
|
-
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8957
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
8958
|
+
/** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, isStandalone: true, name: "gtrFetchAttribute" }); }
|
|
8959
8959
|
}
|
|
8960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, decorators: [{
|
|
8961
8961
|
type: Pipe,
|
|
8962
8962
|
args: [{ name: 'gtrFetchAttribute', standalone: true }]
|
|
8963
8963
|
}], ctorParameters: () => [] });
|
|
@@ -9045,10 +9045,10 @@ class DynamicComponentDirective {
|
|
|
9045
9045
|
this.closed$.next(''); // <-- close open subscriptions
|
|
9046
9046
|
this.componentRef.destroy();
|
|
9047
9047
|
}
|
|
9048
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9049
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9048
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicComponentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9049
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DynamicComponentDirective, isStandalone: true, selector: "[appDynamicComponent]", inputs: { component: ["appDynamicComponent", "component"], isDestroy: "isDestroy" }, outputs: { eventEmitter: "eventEmitter" }, usesOnChanges: true, ngImport: i0 }); }
|
|
9050
9050
|
}
|
|
9051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicComponentDirective, decorators: [{
|
|
9052
9052
|
type: Directive,
|
|
9053
9053
|
args: [{
|
|
9054
9054
|
selector: '[appDynamicComponent]',
|
|
@@ -9067,10 +9067,10 @@ class DynamicHostDirective {
|
|
|
9067
9067
|
constructor(viewContainerRef) {
|
|
9068
9068
|
this.viewContainerRef = viewContainerRef;
|
|
9069
9069
|
}
|
|
9070
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9071
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9070
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9071
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DynamicHostDirective, isStandalone: true, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"], ngImport: i0 }); }
|
|
9072
9072
|
}
|
|
9073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicHostDirective, decorators: [{
|
|
9074
9074
|
type: Directive,
|
|
9075
9075
|
args: [{
|
|
9076
9076
|
selector: '[appDynamicHost]',
|
|
@@ -9199,8 +9199,8 @@ class GtrTableResponsiveComponent {
|
|
|
9199
9199
|
}
|
|
9200
9200
|
}
|
|
9201
9201
|
ngOnDestroy() { }
|
|
9202
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9203
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9202
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableResponsiveComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: GtrFetchAttributePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9203
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableResponsiveComponent, isStandalone: true, selector: "gtr-table-responsive", inputs: { isLoading: "isLoading", enableSelection: "enableSelection", columns: "columns", data: "data", tableResponsiveId: "tableResponsiveId", dataTransactionName: "dataTransactionName" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
|
|
9204
9204
|
GtrFetchAttributePipe,
|
|
9205
9205
|
GtrSkeletonDirective,
|
|
9206
9206
|
{
|
|
@@ -9210,7 +9210,7 @@ class GtrTableResponsiveComponent {
|
|
|
9210
9210
|
},
|
|
9211
9211
|
], viewQueries: [{ propertyName: "dynamicHosts", predicate: DynamicHostDirective, descendants: true }], exportAs: ["gtrTableResponsive"], ngImport: i0, template: "@if (data.length) {\n<div class='table-responsive-wrapper' [id]=\"tableResponsiveId\" [attr.data-testid]=\"tableResponsiveId\"\n [attr.data-transaction-name]=\"dataTransactionName\">\n\n @if (enableSelection) {\n <div class='table-selection'>\n <gtr-checkbox label=\"Select All\" [id]=\"tableResponsiveId+'-row-select-all'\"\n [attr.data-transaction-name]=\"dataTransactionName+'-row-select-all'\"\n [attr.data-testid]=\"tableResponsiveId+'-row-select-all'\" [checked]=\"fetchSelection()\"\n (selectionChanged)=\"this.selectAll($event)\" />\n </div>\n }\n @for (row of data; track row; let rowIndex = $index) {\n <div class='table-responsive-wrapper-container'>\n <div class='table-responsive-menu'>\n\n @if (enableSelection) {\n <div class='table-responsive-menu-item'>\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: '';\n height: '20px';\n width: '20px'\">\n <ng-container [ngTemplateOutletContext]=\"{row: row, index: rowIndex}\"\n [ngTemplateOutlet]=\"gtrCheckbox\"></ng-container>\n </ng-container>\n </div>\n }\n\n @if (getActions(row?.columnsData)?.actions) {\n <div class=\"table-responsive-menu-item\" [class.full-width]=\"!enableSelection\">\n <ng-container [ngTemplateOutletContext]=\"{row: row, index: rowIndex}\"\n [ngTemplateOutlet]=\"popover\"></ng-container>\n </div>\n }\n </div>\n\n <ng-container [ngTemplateOutlet]=\"renderRow\" [ngTemplateOutletContext]=\"{row:row, index: rowIndex}\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"expandIcon\" [ngTemplateOutletContext]=\"{expandAttributes: row}\"></ng-container>\n </div>\n }\n</div>\n} @else {\n<ng-container *ngTemplateOutlet=\"other\"></ng-container>\n}\n<ng-template #renderRow let-row=\"row\" let-i=\"index\">\n @for (column of row.columnsData; track column; let colIndex = $index) {\n @if ((column | gtrFetchAttribute : 'type' : colIndex : columns) !== 'actions' && checkRowHiddenState(row, column,\n row.expand, colIndex)) {\n <div class='table-responsive-container'>\n\n <div class='table-responsive-item table-label' [class.hide]=\"column.hide\">\n @switch (column | gtrFetchAttribute : 'headingType' : colIndex : columns) {\n @case ('innerHTML') {\n <span [innerHTML]=\"columns[colIndex].label\"></span>\n }\n @default {\n {{ columns[colIndex].label }}\n }\n }\n </div>\n\n <div class='table-responsive-item' [class.hide]=\"column.hide\">\n @switch (column | gtrFetchAttribute : 'type' : colIndex : columns) {\n @case ('status') {\n <div [id]=\"tableResponsiveId+'-col-status-'+i+'-'+colIndex\" class=\"col-status col-sm-status\"\n [attr.data-testid]=\"tableResponsiveId+'-col-status-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"statusColumn\" [ngTemplateOutletContext]=\"{column:column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('innerHTML') {\n <div [id]=\"tableResponsiveId+'-col-innerHTML-'+i+'-'+colIndex\" class=\"col-innerHtml col-sm-innerHtml\"\n [attr.data-testid]=\"tableResponsiveId+'-col-innerHTML-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"innerHTMLColumn\" [ngTemplateOutletContext]=\"{data: column.value}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('link') {\n <div class=\"col-link col-sm-link\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"linkColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex, row: row}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('component') {\n <div [id]=\"tableResponsiveId+'-col-component-'+i+'-'+colIndex\" class=\"col-component col-sm-component\"\n [attr.data-testid]=\"tableResponsiveId+'-col-component-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-template [appDynamicHost] #vc=\"appDynamicHost\"></ng-template>\n <ng-container [appDynamicComponent]=\"{componentData: column.value, hosts: dynamicHosts}\"\n (eventEmitter)=\"fetchEvent($event, row['id'])\"></ng-container>\n </ng-container>\n </div>\n }\n @default {\n <div [id]=\"tableResponsiveId+'-col-string-'+i+'-'+colIndex\" class=\"col-default col-sm-default\"\n [attr.data-testid]=\"tableResponsiveId+'-col-string-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"stringColumn\" [ngTemplateOutletContext]=\"{column:column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n }\n </div>\n </div>\n }\n }\n</ng-template>\n\n<ng-template #stringColumn let-column=\"column\" let-i=\"index\">\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value}}>\n {{ column.value?.length > 30 ? (column.value?.slice(0, 30) + '....') : column?.value }}\n </div>\n }\n @case ('WRAP') {\n <div>\n <span class='word-wrap' title={{column?.value}}> {{ column?.value }} </span>\n </div>\n }\n @default {\n <div>{{ column?.value }}</div>\n }\n }\n</ng-template>\n\n<ng-template #linkColumn let-column=\"data\" let-i=\"index\" let-row=\"row\">\n @switch (column.value?.type) {\n @case ('external') {\n <div title={{column?.value?.text}}>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column?.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{\n column?.value?.text?.length > 30\n ? (column?.value?.text?.slice(0, 30) + '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\" [href]=\"column.value?.link\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" class=\"link wrap\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n @case ('custom') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" (click)=\"this.onColumnClick(row['id'], column)\">{{\n column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column?.value?.link\">{{\n column?.value?.text?.length > 30 ? (column?.value?.text?.slice(0, 30) +\n '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column.value?.link\"\n class=\"link wrap\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" routerLink=\"{{column.value?.link}}\">{{\n column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n }\n</ng-template>\n\n<ng-template #statusColumn let-column=\"column\" let-i=\"index\">\n <gtr-badge type=\"pill\" [color]=\"column | gtrFetchAttribute : 'color' : i : columns\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-status-badge-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-status-badge-'+i\">{{ column?.value }}\n </gtr-badge>\n</ng-template>\n\n<ng-template #innerHTMLColumn let-data=\"data\">\n <div class=\"wrap\" [innerHTML]=\"data\"></div>\n</ng-template>\n\n<ng-template #expandIcon let-expandAttributes=\"expandAttributes\">\n @if (expandAttributes && expandAttributes.expand) {\n <div class=\"expanded-arrow-icon\" [attr.data-transaction-name]=\"dataTransactionName+'-expand'\"\n [class.expanded]=\"expandAttributes.expand.isExpanded\" (click)=\"this.expandRow(expandAttributes)\">\n <img src=\"assets/images/arrow-down-navigate.svg\">\n </div>\n }\n</ng-template>\n\n<ng-template #popover let-row=\"row\" let-rowIndex=\"index\">\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: 'sk-float-right-mr-10';\n height: '20px';\n width: '5px'\">\n <gtr-popover [position]=\"'left'\" [showPositionIndicator]=\"false\" [padding]=\"10\" [moveX]=\"5\" [moveY]=\"-25\">\n <span slot=\"gtr-popover-trigger\">\n <svg width=\"25\" height=\"22\" viewBox=\"0 0 25 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <ellipse cx=\"12.6466\" cy=\"11.0002\" rx=\"1.02451\" ry=\"0.916667\" fill=\"black\" fill-opacity=\"0.4\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <ellipse cx=\"12.6466\" cy=\"17.4167\" rx=\"1.02451\" ry=\"0.916667\" fill=\"#00599C\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <ellipse cx=\"12.6466\" cy=\"4.58317\" rx=\"1.02451\" ry=\"0.916667\" fill=\"#00599C\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n <div slot=\"gtr-popover-content\">\n <div class=\"gtr-popover-content\">\n <ul>\n @for (action of getActions(row?.columnsData)?.actions; track action; let actionIndex = $index) {\n <li [class.hide]=\"action.hide\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-action-icon-'+rowIndex+'-'+actionIndex\">\n <a [id]=\"tableResponsiveId+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n [attr.data-testid]=\"tableResponsiveId+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n (click)=\"actionDone('', row, action)\" class=\"d-flex\">{{ action.name }}</a>\n </li>\n }\n </ul>\n </div>\n </div>\n </gtr-popover>\n </ng-container>\n</ng-template>\n\n<ng-template #other>\n <div class=\"gtr-table-responsive-no-data-found mt-26\">\n <img src=\"./assets/images/no-data.svg\">\n </div>\n <div class=\"gtr-table-responsive-no-data-found\">\n No Records Found\n </div>\n</ng-template>\n\n<ng-template #gtrCheckbox let-row=\"row\" let-colIndex=\"index\">\n <gtr-checkbox [checked]=\"!!row?.isSelected\" [id]=\"tableResponsiveId+'-col-selection-'+colIndex\"\n [attr.data-testid]=\"tableResponsiveId+'-col-selection-'+colIndex\"\n [dataTransactionName]=\"dataTransactionName + '--col-selection'\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-selection'\"\n (selectionChanged)=\"selectionDone($event, row)\"></gtr-checkbox>\n</ng-template>\n", styles: [":root{display:block;--gtr-table-component-table-border: rgba(0, 0, 0, .2);--gray-shades-80: rgba(0, 0, 0, .8);width:100%;--gtr-disabled-60: rgba(0, 0, 0, .6)}.mt-26{margin-top:26px}.gtr-table-responsive-no-data-found{display:flex;gap:10px;align-items:center;justify-content:center}.gtr-table-responsive-no-data-found img{width:60px}.table-responsive-wrapper-container .hide{display:none!important}.table-responsive-wrapper{width:100%}.table-responsive-wrapper-container .overflow-auto{overflow:auto}.table-responsive-wrapper .table-selection{padding:20px 0}.table-responsive-wrapper-container{width:100%;border-bottom:1px solid rgba(0,0,0,.2)}.table-responsive-wrapper-container .expanded-arrow-icon{transition:all .5s ease-out}.table-responsive-wrapper-container .table-responsive-menu{width:100%;margin:10px 0;display:block}.table-responsive-wrapper-container .table-responsive-menu-item{display:inline-block;width:50%;text-align:right;vertical-align:top}.table-responsive-wrapper-container .table-responsive-menu-item.full-width{width:100%}.table-responsive-wrapper-container .table-responsive-container{padding:10px;width:100%;display:table}.table-responsive-wrapper-container .table-responsive-container .table-responsive-item:first-child{width:40%;max-width:40%}.table-responsive-wrapper-container .text-right{text-align:right}.table-responsive-wrapper-container .table-responsive-container .table-responsive-item{display:table-cell;padding:0 .5em 0 0;vertical-align:top;text-align:left;width:60%;max-width:60%;word-wrap:break-word;overflow:hidden;word-break:break-word;font-size:14px}.table-responsive-wrapper-container .table-label{color:var(--primary-color)!important;font-size:14px;text-transform:capitalize}.table-responsive-wrapper-container .link{color:#00599ccc!important;text-decoration:underline!important}.table-responsive-wrapper-container .link.disabled,.table-responsive-wrapper-container .disabled{pointer-events:none;color:var(--gtr-disabled-60)!important;cursor:not-allowed;text-decoration:none!important}.table-responsive-wrapper-container .link:hover{color:#00599ccc!important;text-decoration:underline!important}.table-responsive-wrapper-container ul{list-style:none;margin:5px;padding:0}.table-responsive-wrapper-container li{color:var(--gray-shades-80, rgba(0, 0, 0, .8));text-align:left;font-size:14px;font-family:Roboto;list-style:none;font-style:normal;font-weight:400;line-height:20px;margin-bottom:6px;padding:5px 10px}.table-responsive-wrapper-container li:last-child{margin-bottom:0}.table-responsive-wrapper-container li:hover{background-color:#00599c0d}.table-responsive-wrapper-container .wrap{word-break:break-word;white-space:initial}.table-responsive-wrapper-container span.approved{color:#009e47;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container span.declined{color:#4b465c;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container span.withdrawn{color:#00000080;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container .expanded-arrow-icon{width:100%;text-align:center;margin-top:10px;margin-bottom:10px}.table-responsive-wrapper-container .expanded-arrow-icon.expanded{transform:rotate(180deg)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrFetchAttributePipe, name: "gtrFetchAttribute" }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrCheckboxComponent, selector: "gtr-checkbox", inputs: ["name", "dataTransactionName", "identifier", "value", "label", "checked", "disabled", "readonly"], outputs: ["selectionChanged"] }, { kind: "component", type: GtrPopoverComponent, selector: "gtr-popover", inputs: ["position", "isOpened", "showPositionIndicator", "moveX", "moveY", "padding", "marginTop", "marginBottom", "marginLeft", "marginRight", "closeOnClickOutside", "dataTransactionName", "id", "testId"], outputs: ["stateChanged"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: DynamicComponentDirective, selector: "[appDynamicComponent]", inputs: ["appDynamicComponent", "isDestroy"], outputs: ["eventEmitter"] }, { kind: "directive", type: DynamicHostDirective, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9212
9212
|
}
|
|
9213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableResponsiveComponent, decorators: [{
|
|
9214
9214
|
type: Component,
|
|
9215
9215
|
args: [{ selector: 'gtr-table-responsive', exportAs: 'gtrTableResponsive', standalone: true, encapsulation: ViewEncapsulation.None, imports: [
|
|
9216
9216
|
NgClass,
|
|
@@ -9347,8 +9347,8 @@ class GtrTableMainComponent {
|
|
|
9347
9347
|
this.onSelection.emit(dataToEmit);
|
|
9348
9348
|
}
|
|
9349
9349
|
ngOnDestroy() { }
|
|
9350
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9351
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9350
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableMainComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9351
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableMainComponent, isStandalone: true, selector: "gtr-table-main", inputs: { dataTransactionName: "dataTransactionName", enableSelection: "enableSelection", isLoading: "isLoading", columns: "columns", tableMainId: "tableMainId", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, providers: [
|
|
9352
9352
|
GtrSkeletonDirective,
|
|
9353
9353
|
{
|
|
9354
9354
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -9357,7 +9357,7 @@ class GtrTableMainComponent {
|
|
|
9357
9357
|
},
|
|
9358
9358
|
], viewQueries: [{ propertyName: "dynamicHosts", predicate: DynamicHostDirective, descendants: true }, { propertyName: "templateRef", predicate: ["template"], descendants: true, read: ViewContainerRef }, { propertyName: "childRowRef", predicate: ["childRows"], descendants: true, read: ViewContainerRef }], exportAs: ["gtrTableMain"], ngImport: i0, template: "@if (data.length) {\n<table class='gtr-table' [id]=\"tableMainId\" [attr.data-testid]=\"tableMainId\"\n [attr.data-transaction-name]=\"dataTransactionName\">\n <thead [attr.data-transaction-name]=\"dataTransactionName+'--thead'\">\n @if (enableSelection) {\n <th>\n <gtr-checkbox [id]=\"tableMainId+'-row-select-all'\" [attr.data-testid]=\"tableMainId+'-row-select-all'\"\n [checked]=\"fectchSelection()\" [attr.data-transaction-name]=\"dataTransactionName+'--row-select-all'\"\n (selectionChanged)=\"this.selectAll($event)\" />\n </th>\n }\n\n @for (column of this.columns; track column; let colIndex = $index) {\n <th class={{column.align}} [class.hide]=\"column.hide\" [style.min-width]=\"column.styles?.min\"\n [attr.data-transaction-name]=\"dataTransactionName+'--column'\" [style.max-width]=\"column.styles?.max\">\n <div [class.gtr-header-label]='column.sorting.hasSorting' [class.split-heading]=\"column.wrap === 'SPLITHEADING'\">\n @switch (column | gtrFetchAttribute : 'headingType' : colIndex : columns) {\n @case ('innerHTML') {\n <span [innerHTML]=\"column.label\"></span>\n }\n @default {\n {{ column.label }}\n }\n }\n </div>\n @if (column.sorting.hasSorting) {\n <span class=\"gtr-header-sorting-wrapper\" [attr.data-transaction-name]=\"dataTransactionName+'--col-sort'\">\n <a class=\"gtr-sorting-arrow-up\" [id]=\"tableMainId+'-col-sort-up-'+ colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-sort-up-'+ colIndex\" [class.active]=\"column.sorting.sort===1\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-sort-up'+ colIndex\"\n (click)=\"onSorting(1, column)\"></a>\n <a class=\"gtr-sorting-arrow-down\" [id]=\"tableMainId+'-col-sort-down-'+ colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-sort-down-'+ colIndex\" [class.active]=\"column.sorting.sort=== -1\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-sort-down'+ colIndex\"\n (click)=\"this.onSorting(-1, column)\"></a>\n </span>\n }\n </th>\n }\n </thead>\n <tbody [attr.data-transaction-name]=\"dataTransactionName+'--tbody'\">\n @for (row of data; track row; let rowIndex = $index) {\n <tr [attr.data-transaction-name]=\"dataTransactionName+'--row-' + rowIndex\">\n @if (enableSelection) {\n <td [attr.data-transaction-name]=\"dataTransactionName+'--column-selection'\" class=\"col-selectionSS\">\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: '';\n height: '20px';\n width: '20px'\">\n <ng-container [ngTemplateOutletContext]=\"{row: row}\" [ngTemplateOutlet]=\"gtrCheckbox\"></ng-container>\n </ng-container>\n </td>\n }\n @for (column of row.columnsData; track column; let colIndex = $index) {\n <td [attr.data-transaction-name]=\"dataTransactionName+'--column-' + colIndex\" [class.hide]=\"column.hide\"\n [class]=\"column | gtrFetchAttribute : 'align' : colIndex : columns\"\n [style.color]=\"column | gtrFetchAttribute : 'color' : colIndex : columns\">\n <div [class.gtr-data-label]=\"this.columns[colIndex].sorting.hasSorting\">\n @switch (column | gtrFetchAttribute : 'type' : colIndex : columns) {\n @case ('status') {\n <div [id]=\"tableMainId+'-col-status-'+rowIndex+'-'+colIndex\" class=\"col-status\"\n [attr.data-testid]=\"tableMainId+'-col-status-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"statusColumn\"\n [ngTemplateOutletContext]=\"{columnAttributes: column, index: colIndex, data: column.value}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('innerHTML') {\n <div [id]=\"tableMainId+'-col-innerHTML-'+rowIndex+'-'+colIndex\" class=\"col-innerHtml\"\n [attr.data-testid]=\"tableMainId+'-col-innerHTML-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"innerHTMLColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('link') {\n <div class=\"col-link\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"linkColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex, row: row}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('component') {\n <div class=\"col-component\" [id]=\"tableMainId+'-col-component-'+rowIndex+'-'+colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-component-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-template [appDynamicHost] #vc=\"appDynamicHost\"></ng-template>\n <ng-container [appDynamicComponent]=\"{componentData: column.value, hosts: dynamicHosts}\"\n (eventEmitter)=\"fetchEvent($event, row['id'])\"></ng-container>\n </ng-container>\n </div>\n }\n @case ('actions') {\n <div class=\"overflow-auto\" class=\"col-actions\" [id]=\"tableMainId+'-col-actions-'+rowIndex+'-'+colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-actions-'+rowIndex+'-'+colIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-actions-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"actionMenu\"\n [ngTemplateOutletContext]=\"{row: row, column: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @default {\n <div [id]=\"tableMainId+'-col-string-'+rowIndex+'-'+colIndex\" class=\"col-default\"\n [attr.data-testid]=\"tableMainId+'-col-string-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"stringColumn\"\n [ngTemplateOutletContext]=\"{column: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n }\n </div>\n </td>\n }\n </tr>\n }\n </tbody>\n</table>\n} @else {\n<ng-container *ngTemplateOutlet=\"other\"></ng-container>\n}\n<ng-template #childRows></ng-template>\n\n<ng-template #other>\n <div class=\"gtr-no-data-found mt-26\">\n <img src=\"./assets/images/no-data.svg\">\n </div>\n <div class=\"gtr-no-data-found\">\n No Records Found\n </div>\n</ng-template>\n\n<ng-template #stringColumn let-column=\"column\" let-i=\"index\">\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value}}>\n {{ column?.value?.length > 30 ? (column?.value?.slice(0, 30) + '....') : column?.value }}\n </div>\n }\n @case ('WRAP') {\n <div>\n <span title={{column?.value}} class=\"wrap\"> {{ column?.value }} </span>\n </div>\n }\n @default {\n <div>{{ column?.value }}</div>\n }\n }\n</ng-template>\n\n<ng-template #linkColumn let-column=\"data\" let-i=\"index\" let-row=\"row\">\n @switch (column.value?.type) {\n @case ('external') {\n <div title={{column?.value?.text}}>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column?.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{\n column?.value?.text?.length > 30\n ? (column?.value?.text?.slice(0, 30) + '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\" [href]=\"column.value?.link\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" class=\"link wrap\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n @case ('custom') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link-custom'\"\n (click)=\"this.onColumnClick(row['id'], column)\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column?.value?.link\">{{\n column?.value?.text?.length > 30 ? (column?.value?.text?.slice(0, 30) +\n '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column.value?.link\"\n class=\"link wrap\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" routerLink=\"{{column.value?.link}}\">{{\n column?.value?.text }}</a>\n </div>\n }\n }\n\n }\n }\n</ng-template>\n\n<ng-template #actionMenu let-row=\"row\" let-column=\"column\" let-i=\"index\">\n <div [class]=\"(column | gtrFetchAttribute : 'align' : i : columns) + ' action-menu'\">\n @for (action of column.actions; track action; let actionIndex = $index) {\n <span class=\"gtr-data-label\">\n @if (!action.hide) {\n @switch (action.type) {\n @case ('button') {\n <ng-container [ngTemplateOutlet]=\"gtrButton\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('icon') {\n <ng-container [ngTemplateOutlet]=\"gtrIcon\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('dropdown') {\n <ng-container [ngTemplateOutlet]=\"gtrDropdown\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('input') {\n <ng-container [ngTemplateOutlet]=\"gtrInput\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('textarea') {\n <ng-container [ngTemplateOutlet]=\"gtrTextarea\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('toggle') {\n <ng-container [ngTemplateOutlet]=\"gtrTextarea\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @default {\n <div [id]=\"tableMainId+'-col-action-default-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-default-'+actionIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-default-'+actionIndex\"\n (click)=\"this.actionDone($event, row['id'], action)\">{{ action.name }}</div>\n }\n }\n }\n </span>\n }\n </div>\n</ng-template>\n\n<ng-template #statusColumn let-columnAttributes=\"columnAttributes\" let-i=\"index\" let-data=\"data\">\n <gtr-badge type=\"pill\" [positionProperty]=\"{ 'align': (columnAttributes | gtrFetchAttribute : 'align' : i : columns)}\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-status-badge-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-status-badge-'+i\"\n [color]=\"columnAttributes | gtrFetchAttribute : 'color' : i : columns\">{{ data }}\n </gtr-badge>\n</ng-template>\n\n<ng-template #innerHTMLColumn let-data=\"data\" let-i=\"index\">\n @switch (data | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div [title]=\"data?.value\">\n <div [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @case ('WRAP') {\n <div [title]=\"data?.value\">\n <div [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @case ('INNERHTMLWRAP') {\n <div [title]=\"data?.value\">\n <div class=\"wrap-content\" [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @default {\n <div [innerHTML]=\"data?.value\"></div>\n }\n }\n</ng-template>\n\n<ng-template #gtrButton let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <div class='gtr-table-buttons'>\n <gtr-button [id]=\"tableMainId+'-col-action-btn-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-btn-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-btn-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-btn-'+i\"\n (click)=\"this.actionDone($event, row['id'], action)\">{{ action.name }}\n </gtr-button>\n </div>\n</ng-template>\n\n<ng-template #gtrIcon let-row=\"row\" let-action=\"action\" let-i=\"index\">\n @if (action.link) {\n <a [href]=\"action.link\" (click)=\"this.actionDone($event, row['id'], action); $event.preventDefault();\">\n <gtr-icon [id]=\"tableMainId+'-col-action-icon-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\" [name]=\"action.icon\"\n [color]=\"action.color\"></gtr-icon>\n </a>\n } @else {\n <gtr-icon [id]=\"tableMainId+'-col-action-icon-'+i\" (click)=\"this.actionDone($event, row['id'], action);\"\n [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\" [name]=\"action.icon\"\n [color]=\"action.color\"></gtr-icon>\n }\n</ng-template>\n\n<ng-template #gtrInput let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <a class=\"table-action-link\" [id]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\" [href]=\"action.link\"\n (click)=\"this.actionDone($event, row['id'], action); $event.preventDefault();\">\n <gtr-icon [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\"\n [name]=\"action.icon\" [color]=\"action.color\"></gtr-icon>\n </a>\n</ng-template>\n\n<ng-template #gtrTextarea let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <textarea [placeholder]=\"action.name\" [id]=\"tableMainId+'-col-action-textarea-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-textarea-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-textarea-'+i\"\n (input)=\"this.actionDone($event, row['id'], action)\"></textarea>\n</ng-template>\n\n<ng-template #gtrDropdown let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <select [id]=\"tableMainId+'-col-action-select-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-select-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-select-'+i\"\n (change)=\"this.actionDone($event, row['id'], action)\">\n <option value=''>Select</option>\n <option value='1'>Yes</option>\n <option value='2'>No</option>\n </select>\n</ng-template>\n\n<ng-template #gtrCheckbox let-row=\"row\">\n <gtr-checkbox [checked]=\"!!row?.isSelected\" [id]=\"tableMainId+'-col-selection'\"\n [dataTransactionName]=\"dataTransactionName + '--col-selection'\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-selection'\"\n [attr.data-testid]=\"tableMainId+'-col-selection'\" (selectionChanged)=\"selectionDone($event, row)\"></gtr-checkbox>\n</ng-template>\n", styles: [":root{--gtr-color-base-white-100: #ffffff;--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gray-shades-80: rgba(0, 0, 0, .8);--gtr-table-component-table-hover-bg: rgba(0, 96, 194, .05);--gtr-table-component-table-hover-color: #000000;--gray-shades-20: rgba(0, 0, 0, .2);--gray-shades-10: rgba(0, 0, 0, .1);display:block;width:100%;--gtr-disabled-60: rgba(0, 0, 0, .6)}.gtr-no-data-found{display:flex;gap:10px;align-items:center;justify-content:center}.gtr-no-data-found img{width:60px}.gtr-table .mt-26{margin-top:26px}.gtr-table td .link,.gtr-table td .link:hover{color:#00599ccc!important;text-decoration:underline!important}.gtr-table td .link.disabled,.gtr-table td .disabled{pointer-events:none;color:var(--gtr-disabled-60)!important;cursor:not-allowed;text-decoration:none!important}.gtr-table{width:100%}.gtr-table .hide{display:none!important}.gtr-table .gtr-header-label{padding:0 10px;white-space:pre}.gtr-table .gtr-data-label{padding:0 10px 0 14px}.gtr-table .gtr-header-sorting-wrapper{position:absolute;right:0;top:50%;transform:translateY(-50%)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-up:after{display:block;content:\"\";background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A');background-repeat:no-repeat;width:15px;height:12px;padding:6px;cursor:pointer;background-position:center;transform:rotate(0)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-up.active:after{background-position:center;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%235D596D\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A')}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-down:after{display:block;content:\"\";background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A');background-position:center;background-repeat:no-repeat;width:15px;height:12px;padding:6px;cursor:pointer;transform:rotate(180deg)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-down.active:after{background-position:center;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%235D596D\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A')}.gtr-table table{font-family:arial,sans-serif;border-collapse:collapse;width:100%}.gtr-table td,.gtr-table th{text-align:left;padding:10px;position:relative;white-space:pre;min-width:100px;max-width:700px}.gtr-table td :has(.WRAP){max-width:300px}.gtr-table th :has(.WRAP){max-width:300px}.gtr-table .split-heading{word-break:break-word;white-space:normal;width:100%;display:inline-block}.gtr-table .wrap-content{display:inline-block;min-width:200px;white-space:normal}.gtr-table .wrap{word-break:break-word;white-space:normal}.gtr-table th:has(gtr-checkbox){min-width:auto!important}.gtr-table td:has(gtr-checkbox){min-width:auto!important}.gtr-table .overflow-auto{overflow:auto}.gtr-table th{border-top:solid 1px var(--gtr-color-base-black-20)!important;border-bottom:solid 1px var(--gtr-color-base-black-20)!important;color:var(--primary-color);font-weight:600;font-size:13px;text-transform:uppercase}.gtr-table tr{border-bottom:solid 1px var(--gtr-color-base-black-20)!important}.gtr-table tr:hover{background-color:var(--gtr-table-component-table-hover-bg);color:var(--gtr-table-component-table-hover-color);cursor:pointer}.gtr-table tr:last-child{border-bottom:none!important}.gtr-table td{font-size:15px}.gtr-table .word-wrap{word-break:break-word;overflow:auto;white-space:initial}.gtr-table th.left,.gtr-table td.left{text-align:left}.gtr-table th.right,.gtr-table td.right{text-align:right}.gtr-table th.center,.gtr-table td.center{text-align:center}.gtr-table .action-menu>*{margin:10px 10px 10px 0;vertical-align:middle;cursor:pointer}.gtr-table .action-menu .table-action-link{color:var(--icon-color);text-decoration:none}.gtr-table .action-menu .gtr-data-label{display:inline-flex;align-items:center;gap:10px}.gtr-table .action-menu>*:last-child{margin:10px 0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrFetchAttributePipe, name: "gtrFetchAttribute" }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrCheckboxComponent, selector: "gtr-checkbox", inputs: ["name", "dataTransactionName", "identifier", "value", "label", "checked", "disabled", "readonly"], outputs: ["selectionChanged"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrButtonComponent, selector: "gtr-button", inputs: ["type", "btnId", "name", "dataTransactionName", "color", "isLoading", "variant", "disabled"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: DynamicComponentDirective, selector: "[appDynamicComponent]", inputs: ["appDynamicComponent", "isDestroy"], outputs: ["eventEmitter"] }, { kind: "directive", type: DynamicHostDirective, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9359
9359
|
}
|
|
9360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableMainComponent, decorators: [{
|
|
9361
9361
|
type: Component,
|
|
9362
9362
|
args: [{ selector: 'gtr-table-main', exportAs: 'gtrTableMain', standalone: true, encapsulation: ViewEncapsulation.None, imports: [
|
|
9363
9363
|
NgClass,
|
|
@@ -9500,8 +9500,8 @@ class GtrTableComponent {
|
|
|
9500
9500
|
this.onSort.emit(ev);
|
|
9501
9501
|
}
|
|
9502
9502
|
ngOnDestroy() { }
|
|
9503
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9504
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9503
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9504
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableComponent, isStandalone: true, selector: "gtr-table", inputs: { dataTransactionName: "dataTransactionName", isResponsive: "isResponsive", loading: "loading", enableSelection: "enableSelection", tableMainId: "tableMainId", tableResponsiveId: "tableResponsiveId", columns: "columns", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
|
|
9505
9505
|
{
|
|
9506
9506
|
provide: NG_VALUE_ACCESSOR,
|
|
9507
9507
|
useExisting: forwardRef((() => GtrTableComponent)),
|
|
@@ -9509,7 +9509,7 @@ class GtrTableComponent {
|
|
|
9509
9509
|
},
|
|
9510
9510
|
], exportAs: ["gtrTable"], ngImport: i0, template: "@if (switchState) {\n<gtr-table-responsive [id]=\"tableResponsiveId\" [attr.data-testid]=\"tableResponsiveId\" [isLoading]=\"loading\"\n (handleEvent)=\"fetchEvent($event)\" (onSelection)=\"this.selectionChange($event)\" (onAction)=\"this.actionDone($event)\"\n [data]=\"this.data\" [columns]=\"this.columns\" [enableSelection]=\"this.enableSelection\"\n [dataTransactionName]=\"dataTransactionName + '-table'\" />\n}\n@if (!switchState) {\n<gtr-table-main [id]=\"tableMainId\" [attr.data-testid]=\"tableMainId\" [isLoading]=\"loading\"\n (handleEvent)=\"fetchEvent($event)\" (onSelection)=\"this.selectionChange($event)\" (onAction)=\"this.actionDone($event)\"\n (onSort)=\"this.sorting($event)\" [data]=\"this.data\" [columns]=\"this.columns\"\n [dataTransactionName]=\"dataTransactionName + '-table'\" [enableSelection]=\"this.enableSelection\" />\n}\n", styles: [":host{background:#fff;padding:10px;display:block;overflow:auto;overflow-y:auto}:host::-webkit-scrollbar{height:7px;background-color:transparent!important;border-radius:15px!important}:host::-webkit-scrollbar-track{-webkit-box-shadow:none;border-radius:15px}:host::-webkit-scrollbar-thumb{border-radius:15px;-webkit-box-shadow:none;background:#eee}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: GtrTableResponsiveComponent, selector: "gtr-table-responsive", inputs: ["isLoading", "enableSelection", "columns", "data", "tableResponsiveId", "dataTransactionName"], outputs: ["onSelection", "onAction", "handleEvent", "onSort"], exportAs: ["gtrTableResponsive"] }, { kind: "component", type: GtrTableMainComponent, selector: "gtr-table-main", inputs: ["dataTransactionName", "enableSelection", "isLoading", "columns", "tableMainId", "data"], outputs: ["onSelection", "onAction", "handleEvent", "onSort"], exportAs: ["gtrTableMain"] }] }); }
|
|
9511
9511
|
}
|
|
9512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableComponent, decorators: [{
|
|
9513
9513
|
type: Component,
|
|
9514
9514
|
args: [{ selector: 'gtr-table', exportAs: 'gtrTable', standalone: true, imports: [ReactiveFormsModule, GtrTableResponsiveComponent, GtrTableMainComponent], providers: [
|
|
9515
9515
|
{
|
|
@@ -9563,10 +9563,10 @@ class GtrTabComponent {
|
|
|
9563
9563
|
this._activeTab.index = activeTab?.index;
|
|
9564
9564
|
this.tabChange.emit(this._activeTab);
|
|
9565
9565
|
}
|
|
9566
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9567
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9566
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9567
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTabComponent, isStandalone: true, selector: "gtr-tab", inputs: { label: "label", active: "active", dataTransactionName: "dataTransactionName", disabled: "disabled" }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: "@if (active) {\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tab'\">\n <ng-content></ng-content>\n </div>\n}\n", styles: [""] }); }
|
|
9568
9568
|
}
|
|
9569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabComponent, decorators: [{
|
|
9570
9570
|
type: Component,
|
|
9571
9571
|
args: [{ standalone: true, selector: 'gtr-tab', template: "@if (active) {\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tab'\">\n <ng-content></ng-content>\n </div>\n}\n" }]
|
|
9572
9572
|
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
@@ -9645,10 +9645,10 @@ class GtrTabsWrapperComponent {
|
|
|
9645
9645
|
const hasHorizontalScroll = element?.scrollWidth > element?.clientWidth;
|
|
9646
9646
|
return hasHorizontalScroll;
|
|
9647
9647
|
}
|
|
9648
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9649
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9648
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9649
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTabsWrapperComponent, isStandalone: true, selector: "gtr-tabs-wrapper", inputs: { position: "position", dataTransactionName: "dataTransactionName", id: "id", testId: "testId" }, outputs: { tabChanges: "tabChanges" }, queries: [{ propertyName: "tabs", predicate: GtrTabComponent }], viewQueries: [{ propertyName: "tabScrollContainerRef", first: true, predicate: ["tabScrollContainerRef"], descendants: true, static: true }, { propertyName: "tabScrollListRef", first: true, predicate: ["tabScrollListRef"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n >\n <div [class]=\"tabsWrapperClass\">\n @for (tab of tabs; track tab) {\n <div #tabButton\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-button'\"\n >\n {{ tab.label }}\n </div>\n }\n </div>\n </div>\n</div>\n@if (tabListLength > 0) {\n <div class=\"gtr-tab-content-wrapper\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content-wrapper'\">\n <div class=\"gtr-tab-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content'\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative;height:40px;margin-bottom:16px}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{position:relative;line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }); }
|
|
9650
9650
|
}
|
|
9651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabsWrapperComponent, decorators: [{
|
|
9652
9652
|
type: Component,
|
|
9653
9653
|
args: [{ standalone: true, selector: 'gtr-tabs-wrapper', template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n >\n <div [class]=\"tabsWrapperClass\">\n @for (tab of tabs; track tab) {\n <div #tabButton\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-button'\"\n >\n {{ tab.label }}\n </div>\n }\n </div>\n </div>\n</div>\n@if (tabListLength > 0) {\n <div class=\"gtr-tab-content-wrapper\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content-wrapper'\">\n <div class=\"gtr-tab-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content'\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative;height:40px;margin-bottom:16px}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{position:relative;line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }]
|
|
9654
9654
|
}], propDecorators: { tabs: [{
|
|
@@ -9817,10 +9817,10 @@ class AutosizeDirective {
|
|
|
9817
9817
|
}
|
|
9818
9818
|
return lineHeight;
|
|
9819
9819
|
}
|
|
9820
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9821
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9820
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AutosizeDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9821
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AutosizeDirective, isStandalone: true, selector: "[autosize]", inputs: { minRows: "minRows", _autosize: ["autosize", "_autosize"], maxRows: "maxRows", onlyGrow: "onlyGrow", useImportant: "useImportant" }, outputs: { resized: "resized" }, host: { listeners: { "input": "onInput($event.target)" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
9822
9822
|
}
|
|
9823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AutosizeDirective, decorators: [{
|
|
9824
9824
|
type: Directive,
|
|
9825
9825
|
args: [{
|
|
9826
9826
|
selector: '[autosize]',
|