@gettrx/core-components-angular 1.0.7 → 1.0.9

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.
@@ -1,38 +1,10 @@
1
- import { __decorate } from 'tslib';
2
1
  import * as i0 from '@angular/core';
3
- import { Component, ChangeDetectionStrategy, Directive, HostListener, NgModule, Input, HostBinding, booleanAttribute, EventEmitter, Optional, Self, Output, ViewChild, Injectable, ContentChildren, Pipe, ViewChildren, forwardRef, ElementRef, Inject, ContentChild, ViewContainerRef, ViewEncapsulation, QueryList } from '@angular/core';
4
- import { fromEvent, Subject, Subscription, BehaviorSubject, throwError, takeUntil } from 'rxjs';
5
- import { defineCustomElement as defineCustomElement$1 } from '@gettrx/core-components/components/gtr2-accordion.js';
6
- import { defineCustomElement as defineCustomElement$2 } from '@gettrx/core-components/components/gtr2-accordion-wrapper.js';
7
- import { defineCustomElement as defineCustomElement$3 } from '@gettrx/core-components/components/gtr2-badge.js';
8
- import { defineCustomElement as defineCustomElement$4 } from '@gettrx/core-components/components/gtr2-button.js';
9
- import { defineCustomElement as defineCustomElement$5 } from '@gettrx/core-components/components/gtr2-checkbox.js';
10
- import { defineCustomElement as defineCustomElement$6 } from '@gettrx/core-components/components/gtr2-date-picker.js';
11
- import { defineCustomElement as defineCustomElement$7 } from '@gettrx/core-components/components/gtr2-file-input.js';
12
- import { defineCustomElement as defineCustomElement$8 } from '@gettrx/core-components/components/gtr2-group-dropdown.js';
13
- import { defineCustomElement as defineCustomElement$9 } from '@gettrx/core-components/components/gtr2-icon.js';
14
- import { defineCustomElement as defineCustomElement$a } from '@gettrx/core-components/components/gtr2-input.js';
15
- import { defineCustomElement as defineCustomElement$b } from '@gettrx/core-components/components/gtr2-modal.js';
16
- import { defineCustomElement as defineCustomElement$c } from '@gettrx/core-components/components/gtr2-numeric-counter.js';
17
- import { defineCustomElement as defineCustomElement$d } from '@gettrx/core-components/components/gtr2-pagination.js';
18
- import { defineCustomElement as defineCustomElement$e } from '@gettrx/core-components/components/gtr2-popover.js';
19
- import { defineCustomElement as defineCustomElement$f } from '@gettrx/core-components/components/gtr2-popover-wrapper.js';
20
- import { defineCustomElement as defineCustomElement$g } from '@gettrx/core-components/components/gtr2-radio-button.js';
21
- import { defineCustomElement as defineCustomElement$h } from '@gettrx/core-components/components/gtr2-radio-button-group.js';
22
- import { defineCustomElement as defineCustomElement$i } from '@gettrx/core-components/components/gtr2-select.js';
23
- import { defineCustomElement as defineCustomElement$j } from '@gettrx/core-components/components/gtr2-stats-card.js';
24
- import { defineCustomElement as defineCustomElement$k } from '@gettrx/core-components/components/gtr2-switch.js';
25
- import { defineCustomElement as defineCustomElement$l } from '@gettrx/core-components/components/gtr2-tab.js';
26
- import { defineCustomElement as defineCustomElement$m } from '@gettrx/core-components/components/gtr2-tab-group.js';
27
- import { defineCustomElement as defineCustomElement$n } from '@gettrx/core-components/components/gtr2-table-container.js';
28
- import { defineCustomElement as defineCustomElement$o } from '@gettrx/core-components/components/gtr2-textarea.js';
29
- import { defineCustomElement as defineCustomElement$p } from '@gettrx/core-components/components/gtr2-toaster.js';
30
- import { defineCustomElement as defineCustomElement$q } from '@gettrx/core-components/components/gtr2-tooltip.js';
31
- import * as i1$1 from '@angular/forms';
32
- import { NG_VALUE_ACCESSOR, FormsModule, FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
2
+ import { Component, Input, HostBinding, booleanAttribute, NgModule, Directive, EventEmitter, Optional, Self, Output, ViewChild, HostListener, Injectable, ContentChildren, Pipe, ViewChildren, forwardRef, ElementRef, Inject, ContentChild, ViewContainerRef, ViewEncapsulation, QueryList } from '@angular/core';
33
3
  import * as i1 from '@angular/common';
34
4
  import { CommonModule, NgIf, NgStyle, NgClass, NgForOf, NgSwitch, NgSwitchCase, NgSwitchDefault, NgFor, DOCUMENT, NgTemplateOutlet } from '@angular/common';
35
- import { applyPolyfills, defineCustomElements } from '@gettrx/core-components/loader';
5
+ import * as i1$1 from '@angular/forms';
6
+ import { FormsModule, NG_VALUE_ACCESSOR, FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
7
+ import { Subject, Subscription, BehaviorSubject, throwError, takeUntil } from 'rxjs';
36
8
  import { isValid, format } from 'date-fns';
37
9
  import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
38
10
  import * as i1$2 from '@angular/cdk/layout';
@@ -40,844 +12,6 @@ import { Breakpoints } from '@angular/cdk/layout';
40
12
  import { filter } from 'rxjs/operators';
41
13
  import { createPopper } from '@popperjs/core';
42
14
 
43
- /* eslint-disable */
44
- /* tslint:disable */
45
- const proxyInputs = (Cmp, inputs) => {
46
- const Prototype = Cmp.prototype;
47
- inputs.forEach((item) => {
48
- Object.defineProperty(Prototype, item, {
49
- get() {
50
- return this.el[item];
51
- },
52
- set(val) {
53
- this.z.runOutsideAngular(() => (this.el[item] = val));
54
- },
55
- });
56
- });
57
- };
58
- const proxyMethods = (Cmp, methods) => {
59
- const Prototype = Cmp.prototype;
60
- methods.forEach((methodName) => {
61
- Prototype[methodName] = function () {
62
- const args = arguments;
63
- return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
64
- };
65
- });
66
- };
67
- const proxyOutputs = (instance, el, events) => {
68
- events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
69
- };
70
- const defineCustomElement = (tagName, customElement) => {
71
- if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
72
- customElements.define(tagName, customElement);
73
- }
74
- };
75
- // tslint:disable-next-line: only-arrow-functions
76
- function ProxyCmp(opts) {
77
- const decorator = function (cls) {
78
- const { defineCustomElementFn, inputs, methods } = opts;
79
- if (defineCustomElementFn !== undefined) {
80
- defineCustomElementFn();
81
- }
82
- if (inputs) {
83
- proxyInputs(cls, inputs);
84
- }
85
- if (methods) {
86
- proxyMethods(cls, methods);
87
- }
88
- return cls;
89
- };
90
- return decorator;
91
- }
92
-
93
- let Gtr2Accordion = class Gtr2Accordion {
94
- constructor(c, r, z) {
95
- this.z = z;
96
- c.detach();
97
- this.el = r.nativeElement;
98
- proxyOutputs(this, this.el, ['accordionState', 'handleError']);
99
- }
100
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Accordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
101
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Accordion, selector: "gtr2-accordion", inputs: { arrowIcon: "arrowIcon", header: "header", iconColor: "iconColor", iconSize: "iconSize", iconWeight: "iconWeight", justifyContent: "justifyContent", opened: "opened", prefixIcon: "prefixIcon", slotName: "slotName", status: "status" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
102
- };
103
- Gtr2Accordion = __decorate([
104
- ProxyCmp({
105
- defineCustomElementFn: defineCustomElement$1,
106
- inputs: ['arrowIcon', 'header', 'iconColor', 'iconSize', 'iconWeight', 'justifyContent', 'opened', 'prefixIcon', 'slotName', 'status']
107
- })
108
- ], Gtr2Accordion);
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Accordion, decorators: [{
110
- type: Component,
111
- args: [{
112
- selector: 'gtr2-accordion',
113
- changeDetection: ChangeDetectionStrategy.OnPush,
114
- template: '<ng-content></ng-content>',
115
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
116
- inputs: ['arrowIcon', 'header', 'iconColor', 'iconSize', 'iconWeight', 'justifyContent', 'opened', 'prefixIcon', 'slotName', 'status'],
117
- }]
118
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
119
- let Gtr2AccordionWrapper = class Gtr2AccordionWrapper {
120
- constructor(c, r, z) {
121
- this.z = z;
122
- c.detach();
123
- this.el = r.nativeElement;
124
- proxyOutputs(this, this.el, ['accordionStateChanged']);
125
- }
126
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2AccordionWrapper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
127
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2AccordionWrapper, selector: "gtr2-accordion-wrapper", inputs: { allowMultiple: "allowMultiple", expandAll: "expandAll", showArrowIcon: "showArrowIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
128
- };
129
- Gtr2AccordionWrapper = __decorate([
130
- ProxyCmp({
131
- defineCustomElementFn: defineCustomElement$2,
132
- inputs: ['allowMultiple', 'expandAll', 'showArrowIcon']
133
- })
134
- ], Gtr2AccordionWrapper);
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2AccordionWrapper, decorators: [{
136
- type: Component,
137
- args: [{
138
- selector: 'gtr2-accordion-wrapper',
139
- changeDetection: ChangeDetectionStrategy.OnPush,
140
- template: '<ng-content></ng-content>',
141
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
142
- inputs: ['allowMultiple', 'expandAll', 'showArrowIcon'],
143
- }]
144
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
145
- let Gtr2Badge = class Gtr2Badge {
146
- constructor(c, r, z) {
147
- this.z = z;
148
- c.detach();
149
- this.el = r.nativeElement;
150
- }
151
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Badge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
152
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Badge, selector: "gtr2-badge", inputs: { ariaLabel: "ariaLabel", backgroundColor: "backgroundColor", color: "color", hidden: "hidden", position: "position", positionProperty: "positionProperty", shape: "shape", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
153
- };
154
- Gtr2Badge = __decorate([
155
- ProxyCmp({
156
- defineCustomElementFn: defineCustomElement$3,
157
- inputs: ['ariaLabel', 'backgroundColor', 'color', 'hidden', 'position', 'positionProperty', 'shape', 'type']
158
- })
159
- ], Gtr2Badge);
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Badge, decorators: [{
161
- type: Component,
162
- args: [{
163
- selector: 'gtr2-badge',
164
- changeDetection: ChangeDetectionStrategy.OnPush,
165
- template: '<ng-content></ng-content>',
166
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
167
- inputs: ['ariaLabel', 'backgroundColor', 'color', 'hidden', 'position', 'positionProperty', 'shape', 'type'],
168
- }]
169
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
170
- let Gtr2Button = class Gtr2Button {
171
- constructor(c, r, z) {
172
- this.z = z;
173
- c.detach();
174
- this.el = r.nativeElement;
175
- }
176
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Button, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
177
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Button, selector: "gtr2-button", inputs: { color: "color", disabled: "disabled", isLoading: "isLoading", type: "type", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178
- };
179
- Gtr2Button = __decorate([
180
- ProxyCmp({
181
- defineCustomElementFn: defineCustomElement$4,
182
- inputs: ['color', 'disabled', 'isLoading', 'type', 'variant']
183
- })
184
- ], Gtr2Button);
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Button, decorators: [{
186
- type: Component,
187
- args: [{
188
- selector: 'gtr2-button',
189
- changeDetection: ChangeDetectionStrategy.OnPush,
190
- template: '<ng-content></ng-content>',
191
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
192
- inputs: ['color', 'disabled', 'isLoading', 'type', 'variant'],
193
- }]
194
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
195
- let Gtr2Checkbox = class Gtr2Checkbox {
196
- constructor(c, r, z) {
197
- this.z = z;
198
- c.detach();
199
- this.el = r.nativeElement;
200
- proxyOutputs(this, this.el, ['selectionChanged']);
201
- }
202
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Checkbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
203
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Checkbox, selector: "gtr2-checkbox", inputs: { checked: "checked", disabled: "disabled", label: "label", readonly: "readonly", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
204
- };
205
- Gtr2Checkbox = __decorate([
206
- ProxyCmp({
207
- defineCustomElementFn: defineCustomElement$5,
208
- inputs: ['checked', 'disabled', 'label', 'readonly', 'value']
209
- })
210
- ], Gtr2Checkbox);
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Checkbox, decorators: [{
212
- type: Component,
213
- args: [{
214
- selector: 'gtr2-checkbox',
215
- changeDetection: ChangeDetectionStrategy.OnPush,
216
- template: '<ng-content></ng-content>',
217
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
218
- inputs: ['checked', 'disabled', 'label', 'readonly', 'value'],
219
- }]
220
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
221
- let Gtr2DatePicker = class Gtr2DatePicker {
222
- constructor(c, r, z) {
223
- this.z = z;
224
- c.detach();
225
- this.el = r.nativeElement;
226
- proxyOutputs(this, this.el, ['gtrChange', 'gtrInput', 'gtrBlur', 'gtrFocus', 'gtrOpen', 'gtrClose']);
227
- }
228
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2DatePicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
229
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2DatePicker, selector: "gtr2-date-picker", inputs: { dateAdapter: "dateAdapter", datePickerLabel: "datePickerLabel", direction: "direction", disabled: "disabled", firstDayOfWeek: "firstDayOfWeek", identifier: "identifier", invalid: "invalid", isDateDisabled: "isDateDisabled", localization: "localization", max: "max", min: "min", name: "name", readonly: "readonly", required: "required", role: "role", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
230
- };
231
- Gtr2DatePicker = __decorate([
232
- ProxyCmp({
233
- defineCustomElementFn: defineCustomElement$6,
234
- inputs: ['dateAdapter', 'datePickerLabel', 'direction', 'disabled', 'firstDayOfWeek', 'identifier', 'invalid', 'isDateDisabled', 'localization', 'max', 'min', 'name', 'readonly', 'required', 'role', 'value'],
235
- methods: ['setFocus', 'show', 'hide']
236
- })
237
- ], Gtr2DatePicker);
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2DatePicker, decorators: [{
239
- type: Component,
240
- args: [{
241
- selector: 'gtr2-date-picker',
242
- changeDetection: ChangeDetectionStrategy.OnPush,
243
- template: '<ng-content></ng-content>',
244
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
245
- inputs: ['dateAdapter', 'datePickerLabel', 'direction', 'disabled', 'firstDayOfWeek', 'identifier', 'invalid', 'isDateDisabled', 'localization', 'max', 'min', 'name', 'readonly', 'required', 'role', 'value'],
246
- }]
247
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
248
- let Gtr2FileInput = class Gtr2FileInput {
249
- constructor(c, r, z) {
250
- this.z = z;
251
- c.detach();
252
- this.el = r.nativeElement;
253
- proxyOutputs(this, this.el, ['gtrFileSelected', 'gtrFileError']);
254
- }
255
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2FileInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
256
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2FileInput, selector: "gtr2-file-input", inputs: { accept: "accept", ariaLabel: "ariaLabel", description: "description", heading: "heading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
257
- };
258
- Gtr2FileInput = __decorate([
259
- ProxyCmp({
260
- defineCustomElementFn: defineCustomElement$7,
261
- inputs: ['accept', 'ariaLabel', 'description', 'heading']
262
- })
263
- ], Gtr2FileInput);
264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2FileInput, decorators: [{
265
- type: Component,
266
- args: [{
267
- selector: 'gtr2-file-input',
268
- changeDetection: ChangeDetectionStrategy.OnPush,
269
- template: '<ng-content></ng-content>',
270
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
271
- inputs: ['accept', 'ariaLabel', 'description', 'heading'],
272
- }]
273
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
274
- let Gtr2GroupDropdown = class Gtr2GroupDropdown {
275
- constructor(c, r, z) {
276
- this.z = z;
277
- c.detach();
278
- this.el = r.nativeElement;
279
- proxyOutputs(this, this.el, ['gtrChange']);
280
- }
281
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2GroupDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
282
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2GroupDropdown, selector: "gtr2-group-dropdown", inputs: { label: "label", labelKey: "labelKey", multiple: "multiple", options: "options", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
283
- };
284
- Gtr2GroupDropdown = __decorate([
285
- ProxyCmp({
286
- defineCustomElementFn: defineCustomElement$8,
287
- inputs: ['label', 'labelKey', 'multiple', 'options', 'value', 'valueKey']
288
- })
289
- ], Gtr2GroupDropdown);
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2GroupDropdown, decorators: [{
291
- type: Component,
292
- args: [{
293
- selector: 'gtr2-group-dropdown',
294
- changeDetection: ChangeDetectionStrategy.OnPush,
295
- template: '<ng-content></ng-content>',
296
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
297
- inputs: ['label', 'labelKey', 'multiple', 'options', 'value', 'valueKey'],
298
- }]
299
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
300
- let Gtr2Icon = class Gtr2Icon {
301
- constructor(c, r, z) {
302
- this.z = z;
303
- c.detach();
304
- this.el = r.nativeElement;
305
- }
306
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Icon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
307
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Icon, selector: "gtr2-icon", inputs: { color: "color", name: "name", size: "size", weight: "weight" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
308
- };
309
- Gtr2Icon = __decorate([
310
- ProxyCmp({
311
- defineCustomElementFn: defineCustomElement$9,
312
- inputs: ['color', 'name', 'size', 'weight']
313
- })
314
- ], Gtr2Icon);
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Icon, decorators: [{
316
- type: Component,
317
- args: [{
318
- selector: 'gtr2-icon',
319
- changeDetection: ChangeDetectionStrategy.OnPush,
320
- template: '<ng-content></ng-content>',
321
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
322
- inputs: ['color', 'name', 'size', 'weight'],
323
- }]
324
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
325
- let Gtr2Input = class Gtr2Input {
326
- constructor(c, r, z) {
327
- this.z = z;
328
- c.detach();
329
- this.el = r.nativeElement;
330
- proxyOutputs(this, this.el, ['inputChanged', 'handleError']);
331
- }
332
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Input, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
333
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Input, selector: "gtr2-input", inputs: { defaultValidation: "defaultValidation", disabled: "disabled", iconColor: "iconColor", iconFontWeight: "iconFontWeight", iconPosition: "iconPosition", iconSize: "iconSize", inputIcon: "inputIcon", inputLabel: "inputLabel", isNumber: "isNumber", isOnlyView: "isOnlyView", isValid: "isValid", placeholder: "placeholder", readonly: "readonly", required: "required", type: "type", validateLabel: "validateLabel", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
334
- };
335
- Gtr2Input = __decorate([
336
- ProxyCmp({
337
- defineCustomElementFn: defineCustomElement$a,
338
- inputs: ['defaultValidation', 'disabled', 'iconColor', 'iconFontWeight', 'iconPosition', 'iconSize', 'inputIcon', 'inputLabel', 'isNumber', 'isOnlyView', 'isValid', 'placeholder', 'readonly', 'required', 'type', 'validateLabel', 'value']
339
- })
340
- ], Gtr2Input);
341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Input, decorators: [{
342
- type: Component,
343
- args: [{
344
- selector: 'gtr2-input',
345
- changeDetection: ChangeDetectionStrategy.OnPush,
346
- template: '<ng-content></ng-content>',
347
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
348
- inputs: ['defaultValidation', 'disabled', 'iconColor', 'iconFontWeight', 'iconPosition', 'iconSize', 'inputIcon', 'inputLabel', 'isNumber', 'isOnlyView', 'isValid', 'placeholder', 'readonly', 'required', 'type', 'validateLabel', 'value'],
349
- }]
350
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
351
- let Gtr2Modal = class Gtr2Modal {
352
- constructor(c, r, z) {
353
- this.z = z;
354
- c.detach();
355
- this.el = r.nativeElement;
356
- proxyOutputs(this, this.el, ['closeModal']);
357
- }
358
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Modal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
359
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Modal, selector: "gtr2-modal", inputs: { hasHeading: "hasHeading", header: "header", isOpen: "isOpen", modalPosition: "modalPosition", modalSize: "modalSize", scrollType: "scrollType" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
360
- };
361
- Gtr2Modal = __decorate([
362
- ProxyCmp({
363
- defineCustomElementFn: defineCustomElement$b,
364
- inputs: ['hasHeading', 'header', 'isOpen', 'modalPosition', 'modalSize', 'scrollType']
365
- })
366
- ], Gtr2Modal);
367
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Modal, decorators: [{
368
- type: Component,
369
- args: [{
370
- selector: 'gtr2-modal',
371
- changeDetection: ChangeDetectionStrategy.OnPush,
372
- template: '<ng-content></ng-content>',
373
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
374
- inputs: ['hasHeading', 'header', 'isOpen', 'modalPosition', 'modalSize', 'scrollType'],
375
- }]
376
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
377
- let Gtr2NumericCounter = class Gtr2NumericCounter {
378
- constructor(c, r, z) {
379
- this.z = z;
380
- c.detach();
381
- this.el = r.nativeElement;
382
- proxyOutputs(this, this.el, ['gtrChange']);
383
- }
384
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2NumericCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
385
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2NumericCounter, selector: "gtr2-numeric-counter", inputs: { disabled: "disabled", identifier: "identifier", max: "max", min: "min", name: "name", readonly: "readonly", step: "step", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
386
- };
387
- Gtr2NumericCounter = __decorate([
388
- ProxyCmp({
389
- defineCustomElementFn: defineCustomElement$c,
390
- inputs: ['disabled', 'identifier', 'max', 'min', 'name', 'readonly', 'step', 'value']
391
- })
392
- ], Gtr2NumericCounter);
393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2NumericCounter, decorators: [{
394
- type: Component,
395
- args: [{
396
- selector: 'gtr2-numeric-counter',
397
- changeDetection: ChangeDetectionStrategy.OnPush,
398
- template: '<ng-content></ng-content>',
399
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
400
- inputs: ['disabled', 'identifier', 'max', 'min', 'name', 'readonly', 'step', 'value'],
401
- }]
402
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
403
- let Gtr2Pagination = class Gtr2Pagination {
404
- constructor(c, r, z) {
405
- this.z = z;
406
- c.detach();
407
- this.el = r.nativeElement;
408
- proxyOutputs(this, this.el, ['pageEvent', 'getNumberOfPages']);
409
- }
410
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Pagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
411
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Pagination, selector: "gtr2-pagination", inputs: { ariaLabel: "ariaLabel", disabled: "disabled", hidePageSize: "hidePageSize", limit: "limit", pageIndex: "pageIndex", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", showFirstLastButtons: "showFirstLastButtons" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
412
- };
413
- Gtr2Pagination = __decorate([
414
- ProxyCmp({
415
- defineCustomElementFn: defineCustomElement$d,
416
- inputs: ['ariaLabel', 'disabled', 'hidePageSize', 'limit', 'pageIndex', 'pageSize', 'pageSizeOptions', 'showFirstLastButtons']
417
- })
418
- ], Gtr2Pagination);
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Pagination, decorators: [{
420
- type: Component,
421
- args: [{
422
- selector: 'gtr2-pagination',
423
- changeDetection: ChangeDetectionStrategy.OnPush,
424
- template: '<ng-content></ng-content>',
425
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
426
- inputs: ['ariaLabel', 'disabled', 'hidePageSize', 'limit', 'pageIndex', 'pageSize', 'pageSizeOptions', 'showFirstLastButtons'],
427
- }]
428
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
429
- let Gtr2Popover = class Gtr2Popover {
430
- constructor(c, r, z) {
431
- this.z = z;
432
- c.detach();
433
- this.el = r.nativeElement;
434
- proxyOutputs(this, this.el, ['stateChanged']);
435
- }
436
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Popover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
437
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Popover, selector: "gtr2-popover", inputs: { accessible: "accessible", autoAdjustable: "autoAdjustable", content: "content", isOpened: "isOpened", moveX: "moveX", moveY: "moveY", padding: "padding", position: "position", showPositionIndicator: "showPositionIndicator" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
438
- };
439
- Gtr2Popover = __decorate([
440
- ProxyCmp({
441
- defineCustomElementFn: defineCustomElement$e,
442
- inputs: ['accessible', 'autoAdjustable', 'content', 'isOpened', 'moveX', 'moveY', 'padding', 'position', 'showPositionIndicator']
443
- })
444
- ], Gtr2Popover);
445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Popover, decorators: [{
446
- type: Component,
447
- args: [{
448
- selector: 'gtr2-popover',
449
- changeDetection: ChangeDetectionStrategy.OnPush,
450
- template: '<ng-content></ng-content>',
451
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
452
- inputs: ['accessible', 'autoAdjustable', 'content', 'isOpened', 'moveX', 'moveY', 'padding', 'position', 'showPositionIndicator'],
453
- }]
454
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
455
- let Gtr2PopoverWrapper = class Gtr2PopoverWrapper {
456
- constructor(c, r, z) {
457
- this.z = z;
458
- c.detach();
459
- this.el = r.nativeElement;
460
- }
461
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2PopoverWrapper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
462
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2PopoverWrapper, selector: "gtr2-popover-wrapper", inputs: { alignment: "alignment", layout: "layout", layoutGap: "layoutGap" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
463
- };
464
- Gtr2PopoverWrapper = __decorate([
465
- ProxyCmp({
466
- defineCustomElementFn: defineCustomElement$f,
467
- inputs: ['alignment', 'layout', 'layoutGap']
468
- })
469
- ], Gtr2PopoverWrapper);
470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2PopoverWrapper, decorators: [{
471
- type: Component,
472
- args: [{
473
- selector: 'gtr2-popover-wrapper',
474
- changeDetection: ChangeDetectionStrategy.OnPush,
475
- template: '<ng-content></ng-content>',
476
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
477
- inputs: ['alignment', 'layout', 'layoutGap'],
478
- }]
479
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
480
- let Gtr2RadioButton = class Gtr2RadioButton {
481
- constructor(c, r, z) {
482
- this.z = z;
483
- c.detach();
484
- this.el = r.nativeElement;
485
- proxyOutputs(this, this.el, ['valueChanged']);
486
- }
487
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2RadioButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
488
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2RadioButton, selector: "gtr2-radio-button", inputs: { checked: "checked", disabled: "disabled", label: "label", tabIndexNav: "tabIndexNav", templateId: "templateId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
489
- };
490
- Gtr2RadioButton = __decorate([
491
- ProxyCmp({
492
- defineCustomElementFn: defineCustomElement$g,
493
- inputs: ['checked', 'disabled', 'label', 'tabIndexNav', 'templateId', 'value']
494
- })
495
- ], Gtr2RadioButton);
496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2RadioButton, decorators: [{
497
- type: Component,
498
- args: [{
499
- selector: 'gtr2-radio-button',
500
- changeDetection: ChangeDetectionStrategy.OnPush,
501
- template: '<ng-content></ng-content>',
502
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
503
- inputs: ['checked', 'disabled', 'label', 'tabIndexNav', 'templateId', 'value'],
504
- }]
505
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
506
- let Gtr2RadioButtonGroup = class Gtr2RadioButtonGroup {
507
- constructor(c, r, z) {
508
- this.z = z;
509
- c.detach();
510
- this.el = r.nativeElement;
511
- proxyOutputs(this, this.el, ['gtrValueChanged']);
512
- }
513
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2RadioButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
514
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2RadioButtonGroup, selector: "gtr2-radio-button-group", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
515
- };
516
- Gtr2RadioButtonGroup = __decorate([
517
- ProxyCmp({
518
- defineCustomElementFn: defineCustomElement$h
519
- })
520
- ], Gtr2RadioButtonGroup);
521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2RadioButtonGroup, decorators: [{
522
- type: Component,
523
- args: [{
524
- selector: 'gtr2-radio-button-group',
525
- changeDetection: ChangeDetectionStrategy.OnPush,
526
- template: '<ng-content></ng-content>',
527
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
528
- inputs: [],
529
- }]
530
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
531
- let Gtr2Select = class Gtr2Select {
532
- constructor(c, r, z) {
533
- this.z = z;
534
- c.detach();
535
- this.el = r.nativeElement;
536
- proxyOutputs(this, this.el, ['valueChanged', 'searchChanged', 'gtrScroll', 'gtrTouched']);
537
- }
538
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Select, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
539
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Select, selector: "gtr2-select", inputs: { disabled: "disabled", floatPlaceholder: "floatPlaceholder", highlightLabel: "highlightLabel", inputLabel: "inputLabel", isOnlyView: "isOnlyView", is_invalid: "is_invalid", labelKey: "labelKey", lazyLoaded: "lazyLoaded", loading: "loading", multiple: "multiple", options: "options", pageClass: "pageClass", placeholder: "placeholder", readonly: "readonly", searchable: "searchable", selectedLabel: "selectedLabel", subLabel: "subLabel", textLimit: "textLimit", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
540
- };
541
- Gtr2Select = __decorate([
542
- ProxyCmp({
543
- defineCustomElementFn: defineCustomElement$i,
544
- inputs: ['disabled', 'floatPlaceholder', 'highlightLabel', 'inputLabel', 'isOnlyView', 'is_invalid', 'labelKey', 'lazyLoaded', 'loading', 'multiple', 'options', 'pageClass', 'placeholder', 'readonly', 'searchable', 'selectedLabel', 'subLabel', 'textLimit', 'value', 'valueKey']
545
- })
546
- ], Gtr2Select);
547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Select, decorators: [{
548
- type: Component,
549
- args: [{
550
- selector: 'gtr2-select',
551
- changeDetection: ChangeDetectionStrategy.OnPush,
552
- template: '<ng-content></ng-content>',
553
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
554
- inputs: ['disabled', 'floatPlaceholder', 'highlightLabel', 'inputLabel', 'isOnlyView', 'is_invalid', 'labelKey', 'lazyLoaded', 'loading', 'multiple', 'options', 'pageClass', 'placeholder', 'readonly', 'searchable', 'selectedLabel', 'subLabel', 'textLimit', 'value', 'valueKey'],
555
- }]
556
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
557
- let Gtr2StatsCard = class Gtr2StatsCard {
558
- constructor(c, r, z) {
559
- this.z = z;
560
- c.detach();
561
- this.el = r.nativeElement;
562
- proxyOutputs(this, this.el, ['filterChanged']);
563
- }
564
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2StatsCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
565
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2StatsCard, selector: "gtr2-stats-card", inputs: { cardIcon: "cardIcon", cardTitle: "cardTitle", dataPercentage: "dataPercentage", dataTotalCount: "dataTotalCount", dataTotalLabel: "dataTotalLabel", enableFilter: "enableFilter", iconColor: "iconColor", isDanger: "isDanger", isTrendUp: "isTrendUp", showPercentage: "showPercentage", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
566
- };
567
- Gtr2StatsCard = __decorate([
568
- ProxyCmp({
569
- defineCustomElementFn: defineCustomElement$j,
570
- inputs: ['cardIcon', 'cardTitle', 'dataPercentage', 'dataTotalCount', 'dataTotalLabel', 'enableFilter', 'iconColor', 'isDanger', 'isTrendUp', 'showPercentage', 'size']
571
- })
572
- ], Gtr2StatsCard);
573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2StatsCard, decorators: [{
574
- type: Component,
575
- args: [{
576
- selector: 'gtr2-stats-card',
577
- changeDetection: ChangeDetectionStrategy.OnPush,
578
- template: '<ng-content></ng-content>',
579
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
580
- inputs: ['cardIcon', 'cardTitle', 'dataPercentage', 'dataTotalCount', 'dataTotalLabel', 'enableFilter', 'iconColor', 'isDanger', 'isTrendUp', 'showPercentage', 'size'],
581
- }]
582
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
583
- let Gtr2Switch = class Gtr2Switch {
584
- constructor(c, r, z) {
585
- this.z = z;
586
- c.detach();
587
- this.el = r.nativeElement;
588
- proxyOutputs(this, this.el, ['gtrChange']);
589
- }
590
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Switch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
591
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Switch, selector: "gtr2-switch", inputs: { checked: "checked", disabled: "disabled", label: "label", readonly: "readonly", tabIndex: "tabIndex" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
592
- };
593
- Gtr2Switch = __decorate([
594
- ProxyCmp({
595
- defineCustomElementFn: defineCustomElement$k,
596
- inputs: ['checked', 'disabled', 'label', 'readonly', 'tabIndex']
597
- })
598
- ], Gtr2Switch);
599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Switch, decorators: [{
600
- type: Component,
601
- args: [{
602
- selector: 'gtr2-switch',
603
- changeDetection: ChangeDetectionStrategy.OnPush,
604
- template: '<ng-content></ng-content>',
605
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
606
- inputs: ['checked', 'disabled', 'label', 'readonly', 'tabIndex'],
607
- }]
608
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
609
- let Gtr2Tab = class Gtr2Tab {
610
- constructor(c, r, z) {
611
- this.z = z;
612
- c.detach();
613
- this.el = r.nativeElement;
614
- proxyOutputs(this, this.el, ['tabSlotChange', 'tabChange', 'contentChanged']);
615
- }
616
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Tab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
617
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Tab, selector: "gtr2-tab", inputs: { active: "active", disabled: "disabled", isContentLoaded: "isContentLoaded", label: "label" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
618
- };
619
- Gtr2Tab = __decorate([
620
- ProxyCmp({
621
- defineCustomElementFn: defineCustomElement$l,
622
- inputs: ['active', 'disabled', 'isContentLoaded', 'label'],
623
- methods: ['changeTab']
624
- })
625
- ], Gtr2Tab);
626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Tab, decorators: [{
627
- type: Component,
628
- args: [{
629
- selector: 'gtr2-tab',
630
- changeDetection: ChangeDetectionStrategy.OnPush,
631
- template: '<ng-content></ng-content>',
632
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
633
- inputs: ['active', 'disabled', 'isContentLoaded', 'label'],
634
- }]
635
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
636
- let Gtr2TabGroup = class Gtr2TabGroup {
637
- constructor(c, r, z) {
638
- this.z = z;
639
- c.detach();
640
- this.el = r.nativeElement;
641
- proxyOutputs(this, this.el, ['tabSlotChanges', 'tabChanges']);
642
- }
643
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2TabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
644
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2TabGroup, selector: "gtr2-tab-group", inputs: { contentAspectRatio: "contentAspectRatio", position: "position" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
645
- };
646
- Gtr2TabGroup = __decorate([
647
- ProxyCmp({
648
- defineCustomElementFn: defineCustomElement$m,
649
- inputs: ['contentAspectRatio', 'position']
650
- })
651
- ], Gtr2TabGroup);
652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2TabGroup, decorators: [{
653
- type: Component,
654
- args: [{
655
- selector: 'gtr2-tab-group',
656
- changeDetection: ChangeDetectionStrategy.OnPush,
657
- template: '<ng-content></ng-content>',
658
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
659
- inputs: ['contentAspectRatio', 'position'],
660
- }]
661
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
662
- let Gtr2TableContainer = class Gtr2TableContainer {
663
- constructor(c, r, z) {
664
- this.z = z;
665
- c.detach();
666
- this.el = r.nativeElement;
667
- }
668
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2TableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
669
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2TableContainer, selector: "gtr2-table-container", inputs: { ariaLabel: "ariaLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
670
- };
671
- Gtr2TableContainer = __decorate([
672
- ProxyCmp({
673
- defineCustomElementFn: defineCustomElement$n,
674
- inputs: ['ariaLabel']
675
- })
676
- ], Gtr2TableContainer);
677
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2TableContainer, decorators: [{
678
- type: Component,
679
- args: [{
680
- selector: 'gtr2-table-container',
681
- changeDetection: ChangeDetectionStrategy.OnPush,
682
- template: '<ng-content></ng-content>',
683
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
684
- inputs: ['ariaLabel'],
685
- }]
686
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
687
- let Gtr2Textarea = class Gtr2Textarea {
688
- constructor(c, r, z) {
689
- this.z = z;
690
- c.detach();
691
- this.el = r.nativeElement;
692
- proxyOutputs(this, this.el, ['textareaChanged', 'handleError']);
693
- }
694
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Textarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
695
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Textarea, selector: "gtr2-textarea", inputs: { defaultValidation: "defaultValidation", disabled: "disabled", isOnlyView: "isOnlyView", isValid: "isValid", placeholder: "placeholder", readonly: "readonly", textareaLabel: "textareaLabel", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
696
- };
697
- Gtr2Textarea = __decorate([
698
- ProxyCmp({
699
- defineCustomElementFn: defineCustomElement$o,
700
- inputs: ['defaultValidation', 'disabled', 'isOnlyView', 'isValid', 'placeholder', 'readonly', 'textareaLabel', 'value']
701
- })
702
- ], Gtr2Textarea);
703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Textarea, decorators: [{
704
- type: Component,
705
- args: [{
706
- selector: 'gtr2-textarea',
707
- changeDetection: ChangeDetectionStrategy.OnPush,
708
- template: '<ng-content></ng-content>',
709
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
710
- inputs: ['defaultValidation', 'disabled', 'isOnlyView', 'isValid', 'placeholder', 'readonly', 'textareaLabel', 'value'],
711
- }]
712
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
713
- let Gtr2Toaster = class Gtr2Toaster {
714
- constructor(c, r, z) {
715
- this.z = z;
716
- c.detach();
717
- this.el = r.nativeElement;
718
- }
719
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Toaster, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
720
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Toaster, selector: "gtr2-toaster", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
721
- };
722
- Gtr2Toaster = __decorate([
723
- ProxyCmp({
724
- defineCustomElementFn: defineCustomElement$p,
725
- methods: ['showToast']
726
- })
727
- ], Gtr2Toaster);
728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Toaster, decorators: [{
729
- type: Component,
730
- args: [{
731
- selector: 'gtr2-toaster',
732
- changeDetection: ChangeDetectionStrategy.OnPush,
733
- template: '<ng-content></ng-content>',
734
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
735
- inputs: [],
736
- }]
737
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
738
- let Gtr2Tooltip = class Gtr2Tooltip {
739
- constructor(c, r, z) {
740
- this.z = z;
741
- c.detach();
742
- this.el = r.nativeElement;
743
- }
744
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Tooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
745
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: Gtr2Tooltip, selector: "gtr2-tooltip", inputs: { autoAdjustable: "autoAdjustable", content: "content", position: "position" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
746
- };
747
- Gtr2Tooltip = __decorate([
748
- ProxyCmp({
749
- defineCustomElementFn: defineCustomElement$q,
750
- inputs: ['autoAdjustable', 'content', 'position']
751
- })
752
- ], Gtr2Tooltip);
753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Gtr2Tooltip, decorators: [{
754
- type: Component,
755
- args: [{
756
- selector: 'gtr2-tooltip',
757
- changeDetection: ChangeDetectionStrategy.OnPush,
758
- template: '<ng-content></ng-content>',
759
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
760
- inputs: ['autoAdjustable', 'content', 'position'],
761
- }]
762
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
763
-
764
- class ValueAccessor {
765
- constructor(el) {
766
- this.el = el;
767
- this.onChange = () => { };
768
- this.onTouched = () => { };
769
- }
770
- writeValue(value) {
771
- this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
772
- }
773
- handleChangeEvent(value) {
774
- if (value !== this.lastValue) {
775
- this.lastValue = value;
776
- this.onChange(value);
777
- }
778
- }
779
- _handleBlurEvent() {
780
- this.onTouched();
781
- }
782
- registerOnChange(fn) {
783
- this.onChange = fn;
784
- }
785
- registerOnTouched(fn) {
786
- this.onTouched = fn;
787
- }
788
- setDisabledState(isDisabled) {
789
- this.el.nativeElement.disabled = isDisabled;
790
- }
791
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
792
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 }); }
793
- }
794
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
795
- type: Directive,
796
- args: [{}]
797
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
798
- type: HostListener,
799
- args: ['focusout']
800
- }] } });
801
-
802
- class TextValueAccessor extends ValueAccessor {
803
- constructor(el) {
804
- super(el);
805
- }
806
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
807
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextValueAccessor, selector: "gtr2-input, gtr2-textarea, gtr2-select", host: { listeners: { "inputChanged": "handleChangeEvent($event.target.value)", "valueChanged": "handleChangeEvent($event.target.value)" } }, providers: [
808
- {
809
- provide: NG_VALUE_ACCESSOR,
810
- useExisting: TextValueAccessor,
811
- multi: true
812
- }
813
- ], usesInheritance: true, ngImport: i0 }); }
814
- }
815
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextValueAccessor, decorators: [{
816
- type: Directive,
817
- args: [{
818
- /* tslint:disable-next-line:directive-selector */
819
- selector: 'gtr2-input, gtr2-textarea, gtr2-select',
820
- host: {
821
- '(inputChanged)': 'handleChangeEvent($event.target.value)',
822
- '(valueChanged)': 'handleChangeEvent($event.target.value)'
823
- },
824
- providers: [
825
- {
826
- provide: NG_VALUE_ACCESSOR,
827
- useExisting: TextValueAccessor,
828
- multi: true
829
- }
830
- ]
831
- }]
832
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
833
-
834
- const DIRECTIVES = [
835
- Gtr2Accordion,
836
- Gtr2AccordionWrapper,
837
- Gtr2Badge,
838
- Gtr2Button,
839
- Gtr2Checkbox,
840
- Gtr2DatePicker,
841
- Gtr2FileInput,
842
- Gtr2GroupDropdown,
843
- Gtr2Icon,
844
- Gtr2Input,
845
- Gtr2Modal,
846
- Gtr2NumericCounter,
847
- Gtr2Pagination,
848
- Gtr2Popover,
849
- Gtr2PopoverWrapper,
850
- Gtr2RadioButton,
851
- Gtr2RadioButtonGroup,
852
- Gtr2Select,
853
- Gtr2StatsCard,
854
- Gtr2Switch,
855
- Gtr2Tab,
856
- Gtr2TabGroup,
857
- Gtr2TableContainer,
858
- Gtr2Textarea,
859
- Gtr2Toaster,
860
- Gtr2Tooltip
861
- ];
862
-
863
- applyPolyfills().then(() => {
864
- defineCustomElements();
865
- });
866
- const DECLARATIONS = [...DIRECTIVES, TextValueAccessor];
867
- class GettrxModule {
868
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GettrxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
869
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GettrxModule, declarations: [Gtr2Accordion, Gtr2AccordionWrapper, Gtr2Badge, Gtr2Button, Gtr2Checkbox, Gtr2DatePicker, Gtr2FileInput, Gtr2GroupDropdown, Gtr2Icon, Gtr2Input, Gtr2Modal, Gtr2NumericCounter, Gtr2Pagination, Gtr2Popover, Gtr2PopoverWrapper, Gtr2RadioButton, Gtr2RadioButtonGroup, Gtr2Select, Gtr2StatsCard, Gtr2Switch, Gtr2Tab, Gtr2TabGroup, Gtr2TableContainer, Gtr2Textarea, Gtr2Toaster, Gtr2Tooltip, TextValueAccessor], imports: [CommonModule, FormsModule], exports: [Gtr2Accordion, Gtr2AccordionWrapper, Gtr2Badge, Gtr2Button, Gtr2Checkbox, Gtr2DatePicker, Gtr2FileInput, Gtr2GroupDropdown, Gtr2Icon, Gtr2Input, Gtr2Modal, Gtr2NumericCounter, Gtr2Pagination, Gtr2Popover, Gtr2PopoverWrapper, Gtr2RadioButton, Gtr2RadioButtonGroup, Gtr2Select, Gtr2StatsCard, Gtr2Switch, Gtr2Tab, Gtr2TabGroup, Gtr2TableContainer, Gtr2Textarea, Gtr2Toaster, Gtr2Tooltip, TextValueAccessor] }); }
870
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GettrxModule, imports: [CommonModule, FormsModule] }); }
871
- }
872
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GettrxModule, decorators: [{
873
- type: NgModule,
874
- args: [{
875
- declarations: DECLARATIONS,
876
- exports: DECLARATIONS,
877
- imports: [CommonModule, FormsModule],
878
- }]
879
- }] });
880
-
881
15
  var BreakpointInfix;
882
16
  (function (BreakpointInfix) {
883
17
  BreakpointInfix["xs"] = "xs";
@@ -1899,11 +1033,11 @@ class GtrInputComponent {
1899
1033
  : false;
1900
1034
  }
1901
1035
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrInputComponent, deps: [{ token: i1$1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
1902
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrInputComponent, selector: "gtr-input", inputs: { inputWrapperId: "inputWrapperId", loading: "loading", type: "type", 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", inputId: "inputId" }, outputs: { inputChanged: "inputChanged", handleError: "handleError" }, ngImport: i0, template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\" [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\" *ngIf=\"this.isDesiredInput()\">\n <label *ngIf=\"inputLabel\" for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{inputLabel}}\n </label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n <input *ngIf=\"!isOnlyView\" [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\" [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\" (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\" />\n\n <span [class]=\"'gtr-form-element-input'\" [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\" *ngIf=\"isOnlyView\">\n {{value}}\n </span>\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\" *ngIf=\"inputIcon\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowDefaultError\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{this.errorMsg}}\n </div>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowCustomError\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\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) }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:var(--gtr-input-readonly-height);padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:21px;pointer-events:none}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.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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
1036
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GtrInputComponent, selector: "gtr-input", inputs: { inputWrapperId: "inputWrapperId", loading: "loading", type: "type", 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", inputId: "inputId" }, outputs: { inputChanged: "inputChanged", handleError: "handleError" }, ngImport: i0, template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\" [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\" *ngIf=\"this.isDesiredInput()\">\n <label *ngIf=\"inputLabel\" for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{inputLabel}}\n </label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n <input *ngIf=\"!isOnlyView\" [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\" [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\" (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\" />\n\n <span [class]=\"'gtr-form-element-input'\" [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\" *ngIf=\"isOnlyView\">\n {{value}}\n </span>\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\" *ngIf=\"inputIcon\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowDefaultError\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{this.errorMsg}}\n </div>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowCustomError\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\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) }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:21px;pointer-events:none}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.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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["name", "weight", "color", "size", "iconId"] }] }); }
1903
1037
  }
1904
1038
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrInputComponent, decorators: [{
1905
1039
  type: Component,
1906
- args: [{ selector: 'gtr-input', template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\" [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\" *ngIf=\"this.isDesiredInput()\">\n <label *ngIf=\"inputLabel\" for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{inputLabel}}\n </label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n <input *ngIf=\"!isOnlyView\" [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\" [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\" (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\" />\n\n <span [class]=\"'gtr-form-element-input'\" [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\" *ngIf=\"isOnlyView\">\n {{value}}\n </span>\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\" *ngIf=\"inputIcon\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowDefaultError\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{this.errorMsg}}\n </div>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowCustomError\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\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) }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:var(--gtr-input-readonly-height);padding:0;margin:0;color:var(--gtr-color-base-black-80);font-size:15px;font-style:normal;font-weight:600;line-height:21px;pointer-events:none}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.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"] }]
1040
+ args: [{ selector: 'gtr-input', template: "<div class=\"gtr-form-element-wrapper gtr-have-icon gtr-relative-element gtr-have-error\" [id]=\"inputWrapperId+'-wrapper'\"\n [attr.data-testid]=\"inputWrapperId+'-wrapper'\" *ngIf=\"this.isDesiredInput()\">\n <label *ngIf=\"inputLabel\" for={{this.inputId}} class=\"gtr-form-element-label\" [id]=\"inputWrapperId+'-label'\"\n [attr.data-testid]=\"inputWrapperId+'-label'\" [class.isonlyview]=\"isOnlyView\">\n {{inputLabel}}\n </label>\n <ng-container *skeleton=\"loading; repeat: 1; className:'skeleton-margin-bottom'; height: '16px'; width: '150px';\">\n <input *ngIf=\"!isOnlyView\" [id]=\"this.inputId\" [class]=\"'gtr-form-element-input ' + iconPosition\"\n [class.gtr-input-width-icon]=\"inputIcon\" [class.gtr-invalid]=\"isInputInvalid\" [class.isonlyview]=\"isOnlyView\"\n [type]=\"this.isDesiredInput() ? this.inputType : ''\" [value]=\"this.value\" [placeholder]=\"this.placeholder\"\n [disabled]=\"this.disabled\" [readOnly]=\"this.readonly\" [required]=\"this.required\"\n [tabIndex]=\"this.disabled || this.readonly ? -1 : 0\" (focus)=\"this.handleOnfocus()\" (blur)=\"this.handleOnBlur()\"\n (input)=\"this.handleInput($event)\" (keypress)=\"this.handledKeyPressed($event)\"\n [style.padding-left]=\"this.isOnlyView && this.inputIcon && this.iconPosition === 'start' ? (this.iconSize + 'px') : ''\" />\n\n <span [class]=\"'gtr-form-element-input'\" [id]=\"inputWrapperId+'-readonly'\"\n [attr.data-testid]=\"inputWrapperId+'-readonly'\" [class.isonlyview]=\"isOnlyView\" *ngIf=\"isOnlyView\">\n {{value}}\n </span>\n\n <span [class]=\"'gtr-input-icon ' + iconPosition\" [id]=\"inputWrapperId+'-icon'\"\n [attr.data-testid]=\"inputWrapperId+'-icon'\" [class.isOnlyView]=\"isOnlyView\" *ngIf=\"inputIcon\">\n <gtr-icon [name]=\"this.inputIcon\" [size]=\"this.iconSize\" [color]=\"this.iconColor\"\n [weight]=\"this.iconFontWeight\"></gtr-icon>\n </span>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowDefaultError\">\n <gtr-icon name=\"info-circle-filled\" [size]=\"12\"></gtr-icon>\n {{this.errorMsg}}\n </div>\n\n <div class=\"gtr-error-wrap\" *ngIf=\"isShowCustomError\">\n <ng-content select=\"[slot='custom-error']\"></ng-content>\n </div>\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) }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:21px;pointer-events:none}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.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"] }]
1907
1041
  }], ctorParameters: function () { return [{ type: i1$1.NgControl, decorators: [{
1908
1042
  type: Optional
1909
1043
  }, {
@@ -3072,7 +2206,7 @@ class GtrCalendarNavigationComponent {
3072
2206
  }
3073
2207
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GtrCalendarNavigationComponent, decorators: [{
3074
2208
  type: Component,
3075
- args: [{ selector: 'gtr-calendar-navigation', standalone: true, imports: [GtrButtonDirective, NgIf, NgStyle, GtrIconModule, GtrButtonDirective], template: "<div *ngIf=\"navigation\" class=\"calendar-nav-prev\">\n <button\n *ngIf=\"navShowYear || view !== 'days'\"\n (click)=\"handleNavigationClick('prev', true)\"\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 [size]=\"20\"></gtr-icon>\n </button>\n <button\n (click)=\"handleNavigationClick('prev')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevron-left\"\n [size]=\"20\"></gtr-icon>\n </button>\n</div>\n\n<div class=\"calendar-nav-date\" [ngStyle]=\"navYearFirst ? { display: 'flex', justifyContent: 'center' } : {}\">\n <button\n (click)=\"setView('months')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-date-button\"\n >\n {{ date.toLocaleDateString(locale, {month: 'long'}) }}\n </button>\n <button\n (click)=\"setView('years')\"\n *ngIf=\"view !== 'years'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\"\n [ngStyle]=\"navYearFirst ? { order: '-1' } : {}\">\n {{ date.toLocaleDateString(locale, {year: 'numeric'}) }}\n </button>\n\n <button\n *ngIf=\"view === 'years'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\">\n Year\n </button>\n</div>\n\n<div *ngIf=\"navigation\" class=\"calendar-nav-next\">\n <button\n (click)=\"handleNavigationClick('next')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevron-right\"\n [size]=\"20\"></gtr-icon>\n </button>\n <button\n *ngIf=\"navShowYear || view !== 'days'\"\n (click)=\"handleNavigationClick('next', true)\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevrons-right\"\n [size]=\"20\"></gtr-icon>\n </button>\n</div>\n\n", styles: [":root{--cui-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"] }]
2209
+ args: [{ selector: 'gtr-calendar-navigation', standalone: true, imports: [GtrButtonDirective, NgIf, NgStyle, GtrIconModule], template: "<div *ngIf=\"navigation\" class=\"calendar-nav-prev\">\n <button\n *ngIf=\"navShowYear || view !== 'days'\"\n (click)=\"handleNavigationClick('prev', true)\"\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 [size]=\"20\"></gtr-icon>\n </button>\n <button\n (click)=\"handleNavigationClick('prev')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevron-left\"\n [size]=\"20\"></gtr-icon>\n </button>\n</div>\n\n<div class=\"calendar-nav-date\" [ngStyle]=\"navYearFirst ? { display: 'flex', justifyContent: 'center' } : {}\">\n <button\n (click)=\"setView('months')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-date-button\"\n >\n {{ date.toLocaleDateString(locale, {month: 'long'}) }}\n </button>\n <button\n (click)=\"setView('years')\"\n *ngIf=\"view !== 'years'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\"\n [ngStyle]=\"navYearFirst ? { order: '-1' } : {}\">\n {{ date.toLocaleDateString(locale, {year: 'numeric'}) }}\n </button>\n\n <button\n *ngIf=\"view === 'years'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n class=\"calendar-nav-date-button\"\n tabindex=\"0\">\n Year\n </button>\n</div>\n\n<div *ngIf=\"navigation\" class=\"calendar-nav-next\">\n <button\n (click)=\"handleNavigationClick('next')\"\n *ngIf=\"view === 'days'\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevron-right\"\n [size]=\"20\"></gtr-icon>\n </button>\n <button\n *ngIf=\"navShowYear || view !== 'days'\"\n (click)=\"handleNavigationClick('next', true)\"\n gtrButton\n color=\"transparent\"\n size=\"sm\"\n tabindex=\"0\"\n class=\"calendar-nav-icon-button\"\n >\n <gtr-icon name=\"chevrons-right\"\n [size]=\"20\"></gtr-icon>\n </button>\n</div>\n\n", styles: [":root{--cui-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"] }]
3076
2210
  }], ctorParameters: function () { return [{ type: GtrCalendarService }]; }, propDecorators: { addMonths: [{
3077
2211
  type: Input
3078
2212
  }], calendarDate: [{
@@ -7577,7 +6711,7 @@ class GtrDateRangePickerComponent {
7577
6711
  * @type 'outline' | 'ghost' | undefined
7578
6712
  */
7579
6713
  this.rangesButtonsVariant = 'ghost';
7580
- this._separator = true;
6714
+ this._separator = false;
7581
6715
  this._timepicker = false;
7582
6716
  this._visible = false;
7583
6717
  this.calendarDate = new Date();
@@ -9441,8 +8575,8 @@ class GtrPaginationComponent {
9441
8575
  this.pageEvent.emit(pageEvent);
9442
8576
  }
9443
8577
  /** Change page size option */
9444
- onPageSizeChange(event) {
9445
- this.pageSize = event.detail || 10;
8578
+ onPageSizeChange(value) {
8579
+ this.pageSize = value || 10;
9446
8580
  const pageEvent = {
9447
8581
  previousPageIndex: this.pageIndex > 1 ? this.pageIndex - 1 : 1,
9448
8582
  pageIndex: this.pageIndex,
@@ -10392,5 +9526,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
10392
9526
  * Generated bundle index. Do not edit.
10393
9527
  */
10394
9528
 
10395
- export { BreakpointInfix, GettrxModule, Gtr2Accordion, Gtr2AccordionWrapper, Gtr2Badge, Gtr2Button, Gtr2Checkbox, Gtr2DatePicker, Gtr2FileInput, Gtr2GroupDropdown, Gtr2Icon, Gtr2Input, Gtr2Modal, Gtr2NumericCounter, Gtr2Pagination, Gtr2Popover, Gtr2PopoverWrapper, Gtr2RadioButton, Gtr2RadioButtonGroup, Gtr2Select, Gtr2StatsCard, Gtr2Switch, Gtr2Tab, Gtr2TabGroup, Gtr2TableContainer, Gtr2Textarea, Gtr2Toaster, Gtr2Tooltip, GtrAccordionComponent, GtrAccordionModule, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrBadgeModule, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDirectiveModule, GtrButtonModule, GtrCalendarComponent, GtrCalendarModule, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrCheckboxModule, GtrComponentName, GtrDatePickerComponent, GtrDatePickerModule, GtrDateRangePickerComponent, GtrDateRangePickerModule, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownModule, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFileInputModule, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormModule, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrIconModule, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrInputModule, GtrModalComponent, GtrModalModule, GtrNumericCounterComponent, GtrNumericCounterModule, GtrPaginationComponent, GtrPaginationModule, GtrPopoverComponent, GtrPopoverModule, GtrRadioButtonComponent, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSelectModule, GtrSharedModule, GtrSkeletonComponent, GtrSkeletonDirective, GtrSkeletonModule, GtrStatCardComponent, GtrStatCardModule, GtrSwitchComponent, GtrSwitchModule, GtrTabComponent, GtrTableComponent, GtrTableMainComponent, GtrTableModule, GtrTableResponsiveComponent, GtrTabsModule, GtrTabsWrapperComponent, GtrTemplateIdDirective, GtrTextareaComponent, GtrTextareaModule, GtrTimePickerComponent, GtrTimePickerModule, GtrToasterComponent, GtrToasterModule, GtrToasterService, GtrTooltipComponent, GtrTooltipModule, GtrTrimTextPipe, GtrValidatePagePipe, RadioButtonhModule, TextValueAccessor, ValueAccessor, convert12hTo24h, convert24hTo12h, convertTimeToDate, getAmPm, getDayPeriods, getListOfHours, getListOfMinutes, getListOfSeconds, getSelectedHour, getSelectedMinutes, getSelectedSeconds, getSupportedLocale, isAm, isAmPm, isHour12, isPm, isValidTime, isValidTimeZone };
9529
+ export { BreakpointInfix, GtrAccordionComponent, GtrAccordionModule, GtrAccordionWrapperComponent, GtrBadgeComponent, GtrBadgeModule, GtrButtonCloseDirective, GtrButtonComponent, GtrButtonDirective, GtrButtonDirectiveModule, GtrButtonModule, GtrCalendarComponent, GtrCalendarModule, GtrCalendarMonthComponent, GtrCalendarNavigationComponent, GtrCheckboxComponent, GtrCheckboxModule, GtrComponentName, GtrDatePickerComponent, GtrDatePickerModule, GtrDateRangePickerComponent, GtrDateRangePickerModule, GtrDropdownCloseDirective, GtrDropdownComponent, GtrDropdownDividerDirective, GtrDropdownHeaderDirective, GtrDropdownItemDirective, GtrDropdownItemPlainDirective, GtrDropdownMenuDirective, GtrDropdownModule, GtrDropdownService, GtrDropdownToggleDirective, GtrFileInputComponent, GtrFileInputModule, GtrFormCheckComponent, GtrFormCheckInputDirective, GtrFormCheckLabelDirective, GtrFormControlDirective, GtrFormDirective, GtrFormFeedbackComponent, GtrFormFloatingDirective, GtrFormLabelDirective, GtrFormModule, GtrFormSelectDirective, GtrFormTextDirective, GtrFormatSelectedValuePipe, GtrHtmlAttributesDirective, GtrIconComponent, GtrIconModule, GtrInputComponent, GtrInputGroupComponent, GtrInputGroupTextDirective, GtrInputModule, GtrModalComponent, GtrModalModule, GtrNumericCounterComponent, GtrNumericCounterModule, GtrPaginationComponent, GtrPaginationModule, GtrPopoverComponent, GtrPopoverModule, GtrRadioButtonComponent, GtrSelectComponent, GtrSelectListLoaderVariation, GtrSelectModule, GtrSharedModule, GtrSkeletonComponent, GtrSkeletonDirective, GtrSkeletonModule, GtrStatCardComponent, GtrStatCardModule, GtrSwitchComponent, GtrSwitchModule, GtrTabComponent, GtrTableComponent, GtrTableMainComponent, GtrTableModule, GtrTableResponsiveComponent, GtrTabsModule, GtrTabsWrapperComponent, GtrTemplateIdDirective, GtrTextareaComponent, GtrTextareaModule, GtrTimePickerComponent, GtrTimePickerModule, GtrToasterComponent, GtrToasterModule, GtrToasterService, GtrTooltipComponent, GtrTooltipModule, GtrTrimTextPipe, GtrValidatePagePipe, RadioButtonhModule, convert12hTo24h, convert24hTo12h, convertTimeToDate, getAmPm, getDayPeriods, getListOfHours, getListOfMinutes, getListOfSeconds, getSelectedHour, getSelectedMinutes, getSelectedSeconds, getSupportedLocale, isAm, isAmPm, isHour12, isPm, isValidTime, isValidTimeZone };
10396
9530
  //# sourceMappingURL=gettrx-core-components-angular.mjs.map