@gettrx/core-components-angular 0.0.15 → 0.0.16

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.
@@ -0,0 +1,851 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, Directive, HostListener, NgModule } from '@angular/core';
4
+ import { fromEvent } from 'rxjs';
5
+ import { defineCustomElement as defineCustomElement$1 } from '@gettrx/core-components/components/gtr-accordion.js';
6
+ import { defineCustomElement as defineCustomElement$2 } from '@gettrx/core-components/components/gtr-accordion-wrapper.js';
7
+ import { defineCustomElement as defineCustomElement$3 } from '@gettrx/core-components/components/gtr-badge.js';
8
+ import { defineCustomElement as defineCustomElement$4 } from '@gettrx/core-components/components/gtr-button.js';
9
+ import { defineCustomElement as defineCustomElement$5 } from '@gettrx/core-components/components/gtr-checkbox.js';
10
+ import { defineCustomElement as defineCustomElement$6 } from '@gettrx/core-components/components/gtr-date-picker.js';
11
+ import { defineCustomElement as defineCustomElement$7 } from '@gettrx/core-components/components/gtr-file-input.js';
12
+ import { defineCustomElement as defineCustomElement$8 } from '@gettrx/core-components/components/gtr-icon.js';
13
+ import { defineCustomElement as defineCustomElement$9 } from '@gettrx/core-components/components/gtr-input.js';
14
+ import { defineCustomElement as defineCustomElement$a } from '@gettrx/core-components/components/gtr-modal.js';
15
+ import { defineCustomElement as defineCustomElement$b } from '@gettrx/core-components/components/gtr-numeric-counter.js';
16
+ import { defineCustomElement as defineCustomElement$c } from '@gettrx/core-components/components/gtr-pagination.js';
17
+ import { defineCustomElement as defineCustomElement$d } from '@gettrx/core-components/components/gtr-popover.js';
18
+ import { defineCustomElement as defineCustomElement$e } from '@gettrx/core-components/components/gtr-popover-wrapper.js';
19
+ import { defineCustomElement as defineCustomElement$f } from '@gettrx/core-components/components/gtr-radio-button.js';
20
+ import { defineCustomElement as defineCustomElement$g } from '@gettrx/core-components/components/gtr-radio-button-group.js';
21
+ import { defineCustomElement as defineCustomElement$h } from '@gettrx/core-components/components/gtr-select.js';
22
+ import { defineCustomElement as defineCustomElement$i } from '@gettrx/core-components/components/gtr-stats-card.js';
23
+ import { defineCustomElement as defineCustomElement$j } from '@gettrx/core-components/components/gtr-switch.js';
24
+ import { defineCustomElement as defineCustomElement$k } from '@gettrx/core-components/components/gtr-tab.js';
25
+ import { defineCustomElement as defineCustomElement$l } from '@gettrx/core-components/components/gtr-tab-group.js';
26
+ import { defineCustomElement as defineCustomElement$m } from '@gettrx/core-components/components/gtr-table-container.js';
27
+ import { defineCustomElement as defineCustomElement$n } from '@gettrx/core-components/components/gtr-textarea.js';
28
+ import { defineCustomElement as defineCustomElement$o } from '@gettrx/core-components/components/gtr-toaster.js';
29
+ import { defineCustomElement as defineCustomElement$p } from '@gettrx/core-components/components/gtr-tooltip.js';
30
+ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
31
+ import { CommonModule } from '@angular/common';
32
+ import { applyPolyfills, defineCustomElements } from '@gettrx/core-components/loader';
33
+
34
+ /* eslint-disable */
35
+ /* tslint:disable */
36
+ const proxyInputs = (Cmp, inputs) => {
37
+ const Prototype = Cmp.prototype;
38
+ inputs.forEach((item) => {
39
+ Object.defineProperty(Prototype, item, {
40
+ get() {
41
+ return this.el[item];
42
+ },
43
+ set(val) {
44
+ this.z.runOutsideAngular(() => (this.el[item] = val));
45
+ },
46
+ });
47
+ });
48
+ };
49
+ const proxyMethods = (Cmp, methods) => {
50
+ const Prototype = Cmp.prototype;
51
+ methods.forEach((methodName) => {
52
+ Prototype[methodName] = function () {
53
+ const args = arguments;
54
+ return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
55
+ };
56
+ });
57
+ };
58
+ const proxyOutputs = (instance, el, events) => {
59
+ events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
60
+ };
61
+ const defineCustomElement = (tagName, customElement) => {
62
+ if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
63
+ customElements.define(tagName, customElement);
64
+ }
65
+ };
66
+ // tslint:disable-next-line: only-arrow-functions
67
+ function ProxyCmp(opts) {
68
+ const decorator = function (cls) {
69
+ const { defineCustomElementFn, inputs, methods } = opts;
70
+ if (defineCustomElementFn !== undefined) {
71
+ defineCustomElementFn();
72
+ }
73
+ if (inputs) {
74
+ proxyInputs(cls, inputs);
75
+ }
76
+ if (methods) {
77
+ proxyMethods(cls, methods);
78
+ }
79
+ return cls;
80
+ };
81
+ return decorator;
82
+ }
83
+
84
+ let GtrAccordion = class GtrAccordion {
85
+ constructor(c, r, z) {
86
+ this.z = z;
87
+ c.detach();
88
+ this.el = r.nativeElement;
89
+ }
90
+ };
91
+ GtrAccordion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
92
+ GtrAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrAccordion, selector: "gtr-accordion", inputs: { allowMultiple: "allowMultiple", arrowIcon: "arrowIcon", header: "header", opened: "opened", prefixIcon: "prefixIcon", slotName: "slotName" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
93
+ GtrAccordion = __decorate([
94
+ ProxyCmp({
95
+ defineCustomElementFn: defineCustomElement$1,
96
+ inputs: ['allowMultiple', 'arrowIcon', 'header', 'opened', 'prefixIcon', 'slotName']
97
+ })
98
+ ], GtrAccordion);
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrAccordion, decorators: [{
100
+ type: Component,
101
+ args: [{
102
+ selector: 'gtr-accordion',
103
+ changeDetection: ChangeDetectionStrategy.OnPush,
104
+ template: '<ng-content></ng-content>',
105
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
106
+ inputs: ['allowMultiple', 'arrowIcon', 'header', 'opened', 'prefixIcon', 'slotName'],
107
+ }]
108
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
109
+ let GtrAccordionWrapper = class GtrAccordionWrapper {
110
+ constructor(c, r, z) {
111
+ this.z = z;
112
+ c.detach();
113
+ this.el = r.nativeElement;
114
+ proxyOutputs(this, this.el, ['accordionState', 'handleError']);
115
+ }
116
+ };
117
+ GtrAccordionWrapper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrAccordionWrapper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
118
+ GtrAccordionWrapper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrAccordionWrapper, selector: "gtr-accordion-wrapper", inputs: { allowMultiple: "allowMultiple", iconColor: "iconColor", iconSize: "iconSize", iconWeight: "iconWeight" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
119
+ GtrAccordionWrapper = __decorate([
120
+ ProxyCmp({
121
+ defineCustomElementFn: defineCustomElement$2,
122
+ inputs: ['allowMultiple', 'iconColor', 'iconSize', 'iconWeight']
123
+ })
124
+ ], GtrAccordionWrapper);
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrAccordionWrapper, decorators: [{
126
+ type: Component,
127
+ args: [{
128
+ selector: 'gtr-accordion-wrapper',
129
+ changeDetection: ChangeDetectionStrategy.OnPush,
130
+ template: '<ng-content></ng-content>',
131
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
132
+ inputs: ['allowMultiple', 'iconColor', 'iconSize', 'iconWeight'],
133
+ }]
134
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
135
+ let GtrBadge = class GtrBadge {
136
+ constructor(c, r, z) {
137
+ this.z = z;
138
+ c.detach();
139
+ this.el = r.nativeElement;
140
+ }
141
+ };
142
+ GtrBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
143
+ GtrBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrBadge, selector: "gtr-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 });
144
+ GtrBadge = __decorate([
145
+ ProxyCmp({
146
+ defineCustomElementFn: defineCustomElement$3,
147
+ inputs: ['ariaLabel', 'backgroundColor', 'color', 'hidden', 'position', 'positionProperty', 'shape', 'type']
148
+ })
149
+ ], GtrBadge);
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrBadge, decorators: [{
151
+ type: Component,
152
+ args: [{
153
+ selector: 'gtr-badge',
154
+ changeDetection: ChangeDetectionStrategy.OnPush,
155
+ template: '<ng-content></ng-content>',
156
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
157
+ inputs: ['ariaLabel', 'backgroundColor', 'color', 'hidden', 'position', 'positionProperty', 'shape', 'type'],
158
+ }]
159
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
160
+ let GtrButton = class GtrButton {
161
+ constructor(c, r, z) {
162
+ this.z = z;
163
+ c.detach();
164
+ this.el = r.nativeElement;
165
+ }
166
+ };
167
+ GtrButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
168
+ GtrButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrButton, selector: "gtr-button", inputs: { color: "color", disabled: "disabled", type: "type", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
169
+ GtrButton = __decorate([
170
+ ProxyCmp({
171
+ defineCustomElementFn: defineCustomElement$4,
172
+ inputs: ['color', 'disabled', 'type', 'variant']
173
+ })
174
+ ], GtrButton);
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrButton, decorators: [{
176
+ type: Component,
177
+ args: [{
178
+ selector: 'gtr-button',
179
+ changeDetection: ChangeDetectionStrategy.OnPush,
180
+ template: '<ng-content></ng-content>',
181
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
182
+ inputs: ['color', 'disabled', 'type', 'variant'],
183
+ }]
184
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
185
+ let GtrCheckbox = class GtrCheckbox {
186
+ constructor(c, r, z) {
187
+ this.z = z;
188
+ c.detach();
189
+ this.el = r.nativeElement;
190
+ proxyOutputs(this, this.el, ['selectionChanged']);
191
+ }
192
+ };
193
+ GtrCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
194
+ GtrCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrCheckbox, selector: "gtr-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 });
195
+ GtrCheckbox = __decorate([
196
+ ProxyCmp({
197
+ defineCustomElementFn: defineCustomElement$5,
198
+ inputs: ['checked', 'disabled', 'label', 'readonly', 'value']
199
+ })
200
+ ], GtrCheckbox);
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrCheckbox, decorators: [{
202
+ type: Component,
203
+ args: [{
204
+ selector: 'gtr-checkbox',
205
+ changeDetection: ChangeDetectionStrategy.OnPush,
206
+ template: '<ng-content></ng-content>',
207
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
208
+ inputs: ['checked', 'disabled', 'label', 'readonly', 'value'],
209
+ }]
210
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
211
+ let GtrDatePicker = class GtrDatePicker {
212
+ constructor(c, r, z) {
213
+ this.z = z;
214
+ c.detach();
215
+ this.el = r.nativeElement;
216
+ proxyOutputs(this, this.el, ['gtrChange', 'gtrBlur', 'gtrFocus', 'gtrOpen', 'gtrClose']);
217
+ }
218
+ };
219
+ GtrDatePicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrDatePicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
220
+ GtrDatePicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrDatePicker, selector: "gtr-date-picker", inputs: { dateAdapter: "dateAdapter", direction: "direction", disabled: "disabled", firstDayOfWeek: "firstDayOfWeek", identifier: "identifier", isDateDisabled: "isDateDisabled", localization: "localization", max: "max", min: "min", name: "name", required: "required", role: "role", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
221
+ GtrDatePicker = __decorate([
222
+ ProxyCmp({
223
+ defineCustomElementFn: defineCustomElement$6,
224
+ inputs: ['dateAdapter', 'direction', 'disabled', 'firstDayOfWeek', 'identifier', 'isDateDisabled', 'localization', 'max', 'min', 'name', 'required', 'role', 'value'],
225
+ methods: ['setFocus', 'show', 'hide']
226
+ })
227
+ ], GtrDatePicker);
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrDatePicker, decorators: [{
229
+ type: Component,
230
+ args: [{
231
+ selector: 'gtr-date-picker',
232
+ changeDetection: ChangeDetectionStrategy.OnPush,
233
+ template: '<ng-content></ng-content>',
234
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
235
+ inputs: ['dateAdapter', 'direction', 'disabled', 'firstDayOfWeek', 'identifier', 'isDateDisabled', 'localization', 'max', 'min', 'name', 'required', 'role', 'value'],
236
+ }]
237
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
238
+ let GtrFileInput = class GtrFileInput {
239
+ constructor(c, r, z) {
240
+ this.z = z;
241
+ c.detach();
242
+ this.el = r.nativeElement;
243
+ proxyOutputs(this, this.el, ['gtrFileSelected', 'gtrFileError']);
244
+ }
245
+ };
246
+ GtrFileInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrFileInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
247
+ GtrFileInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrFileInput, selector: "gtr-file-input", inputs: { accept: "accept", ariaLabel: "ariaLabel", description: "description", heading: "heading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
248
+ GtrFileInput = __decorate([
249
+ ProxyCmp({
250
+ defineCustomElementFn: defineCustomElement$7,
251
+ inputs: ['accept', 'ariaLabel', 'description', 'heading']
252
+ })
253
+ ], GtrFileInput);
254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrFileInput, decorators: [{
255
+ type: Component,
256
+ args: [{
257
+ selector: 'gtr-file-input',
258
+ changeDetection: ChangeDetectionStrategy.OnPush,
259
+ template: '<ng-content></ng-content>',
260
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
261
+ inputs: ['accept', 'ariaLabel', 'description', 'heading'],
262
+ }]
263
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
264
+ let GtrIcon = class GtrIcon {
265
+ constructor(c, r, z) {
266
+ this.z = z;
267
+ c.detach();
268
+ this.el = r.nativeElement;
269
+ }
270
+ };
271
+ GtrIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
272
+ GtrIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrIcon, selector: "gtr-icon", inputs: { color: "color", name: "name", size: "size", weight: "weight" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
273
+ GtrIcon = __decorate([
274
+ ProxyCmp({
275
+ defineCustomElementFn: defineCustomElement$8,
276
+ inputs: ['color', 'name', 'size', 'weight']
277
+ })
278
+ ], GtrIcon);
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrIcon, decorators: [{
280
+ type: Component,
281
+ args: [{
282
+ selector: 'gtr-icon',
283
+ changeDetection: ChangeDetectionStrategy.OnPush,
284
+ template: '<ng-content></ng-content>',
285
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
286
+ inputs: ['color', 'name', 'size', 'weight'],
287
+ }]
288
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
289
+ let GtrInput = class GtrInput {
290
+ constructor(c, r, z) {
291
+ this.z = z;
292
+ c.detach();
293
+ this.el = r.nativeElement;
294
+ proxyOutputs(this, this.el, ['inputChanged', 'handleError']);
295
+ }
296
+ };
297
+ GtrInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
298
+ GtrInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrInput, selector: "gtr-input", inputs: { defaultValidation: "defaultValidation", disabled: "disabled", iconColor: "iconColor", iconFontWeight: "iconFontWeight", iconSize: "iconSize", inputIcon: "inputIcon", inputLabel: "inputLabel", isOnlyView: "isOnlyView", placeholder: "placeholder", readonly: "readonly", required: "required", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
299
+ GtrInput = __decorate([
300
+ ProxyCmp({
301
+ defineCustomElementFn: defineCustomElement$9,
302
+ inputs: ['defaultValidation', 'disabled', 'iconColor', 'iconFontWeight', 'iconSize', 'inputIcon', 'inputLabel', 'isOnlyView', 'placeholder', 'readonly', 'required', 'type', 'value']
303
+ })
304
+ ], GtrInput);
305
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrInput, decorators: [{
306
+ type: Component,
307
+ args: [{
308
+ selector: 'gtr-input',
309
+ changeDetection: ChangeDetectionStrategy.OnPush,
310
+ template: '<ng-content></ng-content>',
311
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
312
+ inputs: ['defaultValidation', 'disabled', 'iconColor', 'iconFontWeight', 'iconSize', 'inputIcon', 'inputLabel', 'isOnlyView', 'placeholder', 'readonly', 'required', 'type', 'value'],
313
+ }]
314
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
315
+ let GtrModal = class GtrModal {
316
+ constructor(c, r, z) {
317
+ this.z = z;
318
+ c.detach();
319
+ this.el = r.nativeElement;
320
+ proxyOutputs(this, this.el, ['closeModal']);
321
+ }
322
+ };
323
+ GtrModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
324
+ GtrModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrModal, selector: "gtr-modal", inputs: { header: "header", isOpen: "isOpen", modalPosition: "modalPosition", modalSize: "modalSize" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
325
+ GtrModal = __decorate([
326
+ ProxyCmp({
327
+ defineCustomElementFn: defineCustomElement$a,
328
+ inputs: ['header', 'isOpen', 'modalPosition', 'modalSize']
329
+ })
330
+ ], GtrModal);
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrModal, decorators: [{
332
+ type: Component,
333
+ args: [{
334
+ selector: 'gtr-modal',
335
+ changeDetection: ChangeDetectionStrategy.OnPush,
336
+ template: '<ng-content></ng-content>',
337
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
338
+ inputs: ['header', 'isOpen', 'modalPosition', 'modalSize'],
339
+ }]
340
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
341
+ let GtrNumericCounter = class GtrNumericCounter {
342
+ constructor(c, r, z) {
343
+ this.z = z;
344
+ c.detach();
345
+ this.el = r.nativeElement;
346
+ proxyOutputs(this, this.el, ['gtrChange']);
347
+ }
348
+ };
349
+ GtrNumericCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrNumericCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
350
+ GtrNumericCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrNumericCounter, selector: "gtr-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 });
351
+ GtrNumericCounter = __decorate([
352
+ ProxyCmp({
353
+ defineCustomElementFn: defineCustomElement$b,
354
+ inputs: ['disabled', 'identifier', 'max', 'min', 'name', 'readonly', 'step', 'value']
355
+ })
356
+ ], GtrNumericCounter);
357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrNumericCounter, decorators: [{
358
+ type: Component,
359
+ args: [{
360
+ selector: 'gtr-numeric-counter',
361
+ changeDetection: ChangeDetectionStrategy.OnPush,
362
+ template: '<ng-content></ng-content>',
363
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
364
+ inputs: ['disabled', 'identifier', 'max', 'min', 'name', 'readonly', 'step', 'value'],
365
+ }]
366
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
367
+ let GtrPagination = class GtrPagination {
368
+ constructor(c, r, z) {
369
+ this.z = z;
370
+ c.detach();
371
+ this.el = r.nativeElement;
372
+ proxyOutputs(this, this.el, ['pageEvent', 'getNumberOfPages']);
373
+ }
374
+ };
375
+ GtrPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
376
+ GtrPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrPagination, selector: "gtr-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 });
377
+ GtrPagination = __decorate([
378
+ ProxyCmp({
379
+ defineCustomElementFn: defineCustomElement$c,
380
+ inputs: ['ariaLabel', 'disabled', 'hidePageSize', 'limit', 'pageIndex', 'pageSize', 'pageSizeOptions', 'showFirstLastButtons']
381
+ })
382
+ ], GtrPagination);
383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPagination, decorators: [{
384
+ type: Component,
385
+ args: [{
386
+ selector: 'gtr-pagination',
387
+ changeDetection: ChangeDetectionStrategy.OnPush,
388
+ template: '<ng-content></ng-content>',
389
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
390
+ inputs: ['ariaLabel', 'disabled', 'hidePageSize', 'limit', 'pageIndex', 'pageSize', 'pageSizeOptions', 'showFirstLastButtons'],
391
+ }]
392
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
393
+ let GtrPopover = class GtrPopover {
394
+ constructor(c, r, z) {
395
+ this.z = z;
396
+ c.detach();
397
+ this.el = r.nativeElement;
398
+ proxyOutputs(this, this.el, ['stateChanged']);
399
+ }
400
+ };
401
+ GtrPopover.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
402
+ GtrPopover.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrPopover, selector: "gtr-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 });
403
+ GtrPopover = __decorate([
404
+ ProxyCmp({
405
+ defineCustomElementFn: defineCustomElement$d,
406
+ inputs: ['accessible', 'autoAdjustable', 'content', 'isOpened', 'moveX', 'moveY', 'padding', 'position', 'showPositionIndicator']
407
+ })
408
+ ], GtrPopover);
409
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPopover, decorators: [{
410
+ type: Component,
411
+ args: [{
412
+ selector: 'gtr-popover',
413
+ changeDetection: ChangeDetectionStrategy.OnPush,
414
+ template: '<ng-content></ng-content>',
415
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
416
+ inputs: ['accessible', 'autoAdjustable', 'content', 'isOpened', 'moveX', 'moveY', 'padding', 'position', 'showPositionIndicator'],
417
+ }]
418
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
419
+ let GtrPopoverWrapper = class GtrPopoverWrapper {
420
+ constructor(c, r, z) {
421
+ this.z = z;
422
+ c.detach();
423
+ this.el = r.nativeElement;
424
+ }
425
+ };
426
+ GtrPopoverWrapper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPopoverWrapper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
427
+ GtrPopoverWrapper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrPopoverWrapper, selector: "gtr-popover-wrapper", inputs: { alignment: "alignment", layout: "layout", layoutGap: "layoutGap" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
428
+ GtrPopoverWrapper = __decorate([
429
+ ProxyCmp({
430
+ defineCustomElementFn: defineCustomElement$e,
431
+ inputs: ['alignment', 'layout', 'layoutGap']
432
+ })
433
+ ], GtrPopoverWrapper);
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrPopoverWrapper, decorators: [{
435
+ type: Component,
436
+ args: [{
437
+ selector: 'gtr-popover-wrapper',
438
+ changeDetection: ChangeDetectionStrategy.OnPush,
439
+ template: '<ng-content></ng-content>',
440
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
441
+ inputs: ['alignment', 'layout', 'layoutGap'],
442
+ }]
443
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
444
+ let GtrRadioButton = class GtrRadioButton {
445
+ constructor(c, r, z) {
446
+ this.z = z;
447
+ c.detach();
448
+ this.el = r.nativeElement;
449
+ proxyOutputs(this, this.el, ['valueChanged']);
450
+ }
451
+ };
452
+ GtrRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrRadioButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
453
+ GtrRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrRadioButton, selector: "gtr-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 });
454
+ GtrRadioButton = __decorate([
455
+ ProxyCmp({
456
+ defineCustomElementFn: defineCustomElement$f,
457
+ inputs: ['checked', 'disabled', 'label', 'tabIndexNav', 'templateId', 'value']
458
+ })
459
+ ], GtrRadioButton);
460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrRadioButton, decorators: [{
461
+ type: Component,
462
+ args: [{
463
+ selector: 'gtr-radio-button',
464
+ changeDetection: ChangeDetectionStrategy.OnPush,
465
+ template: '<ng-content></ng-content>',
466
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
467
+ inputs: ['checked', 'disabled', 'label', 'tabIndexNav', 'templateId', 'value'],
468
+ }]
469
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
470
+ let GtrRadioButtonGroup = class GtrRadioButtonGroup {
471
+ constructor(c, r, z) {
472
+ this.z = z;
473
+ c.detach();
474
+ this.el = r.nativeElement;
475
+ proxyOutputs(this, this.el, ['gtrValueChanged']);
476
+ }
477
+ };
478
+ GtrRadioButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrRadioButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
479
+ GtrRadioButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrRadioButtonGroup, selector: "gtr-radio-button-group", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
480
+ GtrRadioButtonGroup = __decorate([
481
+ ProxyCmp({
482
+ defineCustomElementFn: defineCustomElement$g
483
+ })
484
+ ], GtrRadioButtonGroup);
485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrRadioButtonGroup, decorators: [{
486
+ type: Component,
487
+ args: [{
488
+ selector: 'gtr-radio-button-group',
489
+ changeDetection: ChangeDetectionStrategy.OnPush,
490
+ template: '<ng-content></ng-content>',
491
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
492
+ inputs: [],
493
+ }]
494
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
495
+ let GtrSelect = class GtrSelect {
496
+ constructor(c, r, z) {
497
+ this.z = z;
498
+ c.detach();
499
+ this.el = r.nativeElement;
500
+ proxyOutputs(this, this.el, ['valueChanged']);
501
+ }
502
+ };
503
+ GtrSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
504
+ GtrSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrSelect, selector: "gtr-select", inputs: { disabled: "disabled", is_invalid: "is_invalid", labelKey: "labelKey", multiple: "multiple", options: "options", placeholder: "placeholder", readonly: "readonly", searchable: "searchable", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
505
+ GtrSelect = __decorate([
506
+ ProxyCmp({
507
+ defineCustomElementFn: defineCustomElement$h,
508
+ inputs: ['disabled', 'is_invalid', 'labelKey', 'multiple', 'options', 'placeholder', 'readonly', 'searchable', 'value', 'valueKey']
509
+ })
510
+ ], GtrSelect);
511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrSelect, decorators: [{
512
+ type: Component,
513
+ args: [{
514
+ selector: 'gtr-select',
515
+ changeDetection: ChangeDetectionStrategy.OnPush,
516
+ template: '<ng-content></ng-content>',
517
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
518
+ inputs: ['disabled', 'is_invalid', 'labelKey', 'multiple', 'options', 'placeholder', 'readonly', 'searchable', 'value', 'valueKey'],
519
+ }]
520
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
521
+ let GtrStatsCard = class GtrStatsCard {
522
+ constructor(c, r, z) {
523
+ this.z = z;
524
+ c.detach();
525
+ this.el = r.nativeElement;
526
+ proxyOutputs(this, this.el, ['filterChanged']);
527
+ }
528
+ };
529
+ GtrStatsCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrStatsCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
530
+ GtrStatsCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrStatsCard, selector: "gtr-stats-card", inputs: { cardIcon: "cardIcon", cardTitle: "cardTitle", dataPercentage: "dataPercentage", dataTotalCount: "dataTotalCount", enableFilter: "enableFilter", iconColor: "iconColor", isDanger: "isDanger", isTrendUp: "isTrendUp" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
531
+ GtrStatsCard = __decorate([
532
+ ProxyCmp({
533
+ defineCustomElementFn: defineCustomElement$i,
534
+ inputs: ['cardIcon', 'cardTitle', 'dataPercentage', 'dataTotalCount', 'enableFilter', 'iconColor', 'isDanger', 'isTrendUp']
535
+ })
536
+ ], GtrStatsCard);
537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrStatsCard, decorators: [{
538
+ type: Component,
539
+ args: [{
540
+ selector: 'gtr-stats-card',
541
+ changeDetection: ChangeDetectionStrategy.OnPush,
542
+ template: '<ng-content></ng-content>',
543
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
544
+ inputs: ['cardIcon', 'cardTitle', 'dataPercentage', 'dataTotalCount', 'enableFilter', 'iconColor', 'isDanger', 'isTrendUp'],
545
+ }]
546
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
547
+ let GtrSwitch = class GtrSwitch {
548
+ constructor(c, r, z) {
549
+ this.z = z;
550
+ c.detach();
551
+ this.el = r.nativeElement;
552
+ proxyOutputs(this, this.el, ['gtrChange']);
553
+ }
554
+ };
555
+ GtrSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrSwitch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
556
+ GtrSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrSwitch, selector: "gtr-switch", inputs: { checked: "checked", disabled: "disabled", label: "label", readonly: "readonly" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
557
+ GtrSwitch = __decorate([
558
+ ProxyCmp({
559
+ defineCustomElementFn: defineCustomElement$j,
560
+ inputs: ['checked', 'disabled', 'label', 'readonly']
561
+ })
562
+ ], GtrSwitch);
563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrSwitch, decorators: [{
564
+ type: Component,
565
+ args: [{
566
+ selector: 'gtr-switch',
567
+ changeDetection: ChangeDetectionStrategy.OnPush,
568
+ template: '<ng-content></ng-content>',
569
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
570
+ inputs: ['checked', 'disabled', 'label', 'readonly'],
571
+ }]
572
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
573
+ let GtrTab = class GtrTab {
574
+ constructor(c, r, z) {
575
+ this.z = z;
576
+ c.detach();
577
+ this.el = r.nativeElement;
578
+ }
579
+ };
580
+ GtrTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
581
+ GtrTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrTab, selector: "gtr-tab", inputs: { active: "active", disabled: "disabled", label: "label" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
582
+ GtrTab = __decorate([
583
+ ProxyCmp({
584
+ defineCustomElementFn: defineCustomElement$k,
585
+ inputs: ['active', 'disabled', 'label']
586
+ })
587
+ ], GtrTab);
588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTab, decorators: [{
589
+ type: Component,
590
+ args: [{
591
+ selector: 'gtr-tab',
592
+ changeDetection: ChangeDetectionStrategy.OnPush,
593
+ template: '<ng-content></ng-content>',
594
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
595
+ inputs: ['active', 'disabled', 'label'],
596
+ }]
597
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
598
+ let GtrTabGroup = class GtrTabGroup {
599
+ constructor(c, r, z) {
600
+ this.z = z;
601
+ c.detach();
602
+ this.el = r.nativeElement;
603
+ proxyOutputs(this, this.el, ['tabChanged']);
604
+ }
605
+ };
606
+ GtrTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
607
+ GtrTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrTabGroup, selector: "gtr-tab-group", inputs: { activeTab: "activeTab", icon: "icon", tabsPosition: "tabsPosition", tabsWrapperId: "tabsWrapperId" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
608
+ GtrTabGroup = __decorate([
609
+ ProxyCmp({
610
+ defineCustomElementFn: defineCustomElement$l,
611
+ inputs: ['activeTab', 'icon', 'tabsPosition', 'tabsWrapperId'],
612
+ methods: ['openTab']
613
+ })
614
+ ], GtrTabGroup);
615
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTabGroup, decorators: [{
616
+ type: Component,
617
+ args: [{
618
+ selector: 'gtr-tab-group',
619
+ changeDetection: ChangeDetectionStrategy.OnPush,
620
+ template: '<ng-content></ng-content>',
621
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
622
+ inputs: ['activeTab', 'icon', 'tabsPosition', 'tabsWrapperId'],
623
+ }]
624
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
625
+ let GtrTableContainer = class GtrTableContainer {
626
+ constructor(c, r, z) {
627
+ this.z = z;
628
+ c.detach();
629
+ this.el = r.nativeElement;
630
+ }
631
+ };
632
+ GtrTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
633
+ GtrTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrTableContainer, selector: "gtr-table-container", inputs: { ariaLabel: "ariaLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
634
+ GtrTableContainer = __decorate([
635
+ ProxyCmp({
636
+ defineCustomElementFn: defineCustomElement$m,
637
+ inputs: ['ariaLabel']
638
+ })
639
+ ], GtrTableContainer);
640
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTableContainer, decorators: [{
641
+ type: Component,
642
+ args: [{
643
+ selector: 'gtr-table-container',
644
+ changeDetection: ChangeDetectionStrategy.OnPush,
645
+ template: '<ng-content></ng-content>',
646
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
647
+ inputs: ['ariaLabel'],
648
+ }]
649
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
650
+ let GtrTextarea = class GtrTextarea {
651
+ constructor(c, r, z) {
652
+ this.z = z;
653
+ c.detach();
654
+ this.el = r.nativeElement;
655
+ proxyOutputs(this, this.el, ['textareaChanged', 'handleError']);
656
+ }
657
+ };
658
+ GtrTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
659
+ GtrTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrTextarea, selector: "gtr-textarea", inputs: { defaultValidation: "defaultValidation", disabled: "disabled", isOnlyView: "isOnlyView", placeholder: "placeholder", readonly: "readonly", textareaLabel: "textareaLabel", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
660
+ GtrTextarea = __decorate([
661
+ ProxyCmp({
662
+ defineCustomElementFn: defineCustomElement$n,
663
+ inputs: ['defaultValidation', 'disabled', 'isOnlyView', 'placeholder', 'readonly', 'textareaLabel', 'value']
664
+ })
665
+ ], GtrTextarea);
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTextarea, decorators: [{
667
+ type: Component,
668
+ args: [{
669
+ selector: 'gtr-textarea',
670
+ changeDetection: ChangeDetectionStrategy.OnPush,
671
+ template: '<ng-content></ng-content>',
672
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
673
+ inputs: ['defaultValidation', 'disabled', 'isOnlyView', 'placeholder', 'readonly', 'textareaLabel', 'value'],
674
+ }]
675
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
676
+ let GtrToaster = class GtrToaster {
677
+ constructor(c, r, z) {
678
+ this.z = z;
679
+ c.detach();
680
+ this.el = r.nativeElement;
681
+ }
682
+ };
683
+ GtrToaster.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrToaster, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
684
+ GtrToaster.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrToaster, selector: "gtr-toaster", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
685
+ GtrToaster = __decorate([
686
+ ProxyCmp({
687
+ defineCustomElementFn: defineCustomElement$o,
688
+ methods: ['showToast']
689
+ })
690
+ ], GtrToaster);
691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrToaster, decorators: [{
692
+ type: Component,
693
+ args: [{
694
+ selector: 'gtr-toaster',
695
+ changeDetection: ChangeDetectionStrategy.OnPush,
696
+ template: '<ng-content></ng-content>',
697
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
698
+ inputs: [],
699
+ }]
700
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
701
+ let GtrTooltip = class GtrTooltip {
702
+ constructor(c, r, z) {
703
+ this.z = z;
704
+ c.detach();
705
+ this.el = r.nativeElement;
706
+ }
707
+ };
708
+ GtrTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
709
+ GtrTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: GtrTooltip, selector: "gtr-tooltip", inputs: { autoAdjustable: "autoAdjustable", content: "content", position: "position" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
710
+ GtrTooltip = __decorate([
711
+ ProxyCmp({
712
+ defineCustomElementFn: defineCustomElement$p,
713
+ inputs: ['autoAdjustable', 'content', 'position']
714
+ })
715
+ ], GtrTooltip);
716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GtrTooltip, decorators: [{
717
+ type: Component,
718
+ args: [{
719
+ selector: 'gtr-tooltip',
720
+ changeDetection: ChangeDetectionStrategy.OnPush,
721
+ template: '<ng-content></ng-content>',
722
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
723
+ inputs: ['autoAdjustable', 'content', 'position'],
724
+ }]
725
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
726
+
727
+ class ValueAccessor {
728
+ constructor(el) {
729
+ this.el = el;
730
+ this.onChange = () => { };
731
+ this.onTouched = () => { };
732
+ }
733
+ writeValue(value) {
734
+ this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
735
+ }
736
+ handleChangeEvent(value) {
737
+ if (value !== this.lastValue) {
738
+ this.lastValue = value;
739
+ this.onChange(value);
740
+ }
741
+ }
742
+ _handleBlurEvent() {
743
+ this.onTouched();
744
+ }
745
+ registerOnChange(fn) {
746
+ this.onChange = fn;
747
+ }
748
+ registerOnTouched(fn) {
749
+ this.onTouched = fn;
750
+ }
751
+ setDisabledState(isDisabled) {
752
+ this.el.nativeElement.disabled = isDisabled;
753
+ }
754
+ }
755
+ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
756
+ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueAccessor, decorators: [{
758
+ type: Directive,
759
+ args: [{}]
760
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
761
+ type: HostListener,
762
+ args: ['focusout']
763
+ }] } });
764
+
765
+ class TextValueAccessor extends ValueAccessor {
766
+ constructor(el) {
767
+ super(el);
768
+ }
769
+ }
770
+ TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
771
+ TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TextValueAccessor, selector: "gtr-input[type=text]", host: { listeners: { "inputChanged": "handleChangeEvent($event.target.value)" } }, providers: [
772
+ {
773
+ provide: NG_VALUE_ACCESSOR,
774
+ useExisting: TextValueAccessor,
775
+ multi: true
776
+ }
777
+ ], usesInheritance: true, ngImport: i0 });
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextValueAccessor, decorators: [{
779
+ type: Directive,
780
+ args: [{
781
+ /* tslint:disable-next-line:directive-selector */
782
+ selector: 'gtr-input[type=text]',
783
+ host: {
784
+ '(inputChanged)': 'handleChangeEvent($event.target.value)'
785
+ },
786
+ providers: [
787
+ {
788
+ provide: NG_VALUE_ACCESSOR,
789
+ useExisting: TextValueAccessor,
790
+ multi: true
791
+ }
792
+ ]
793
+ }]
794
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
795
+
796
+ const DIRECTIVES = [
797
+ GtrAccordion,
798
+ GtrAccordionWrapper,
799
+ GtrBadge,
800
+ GtrButton,
801
+ GtrCheckbox,
802
+ GtrDatePicker,
803
+ GtrFileInput,
804
+ GtrIcon,
805
+ GtrInput,
806
+ GtrModal,
807
+ GtrNumericCounter,
808
+ GtrPagination,
809
+ GtrPopover,
810
+ GtrPopoverWrapper,
811
+ GtrRadioButton,
812
+ GtrRadioButtonGroup,
813
+ GtrSelect,
814
+ GtrStatsCard,
815
+ GtrSwitch,
816
+ GtrTab,
817
+ GtrTabGroup,
818
+ GtrTableContainer,
819
+ GtrTextarea,
820
+ GtrToaster,
821
+ GtrTooltip
822
+ ];
823
+
824
+ applyPolyfills().then(() => {
825
+ defineCustomElements();
826
+ });
827
+ const DECLARATIONS = [...DIRECTIVES, TextValueAccessor];
828
+ class GettrxModule {
829
+ }
830
+ GettrxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GettrxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
831
+ GettrxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: GettrxModule, declarations: [GtrAccordion, GtrAccordionWrapper, GtrBadge, GtrButton, GtrCheckbox, GtrDatePicker, GtrFileInput, GtrIcon, GtrInput, GtrModal, GtrNumericCounter, GtrPagination, GtrPopover, GtrPopoverWrapper, GtrRadioButton, GtrRadioButtonGroup, GtrSelect, GtrStatsCard, GtrSwitch, GtrTab, GtrTabGroup, GtrTableContainer, GtrTextarea, GtrToaster, GtrTooltip, TextValueAccessor], imports: [CommonModule, FormsModule], exports: [GtrAccordion, GtrAccordionWrapper, GtrBadge, GtrButton, GtrCheckbox, GtrDatePicker, GtrFileInput, GtrIcon, GtrInput, GtrModal, GtrNumericCounter, GtrPagination, GtrPopover, GtrPopoverWrapper, GtrRadioButton, GtrRadioButtonGroup, GtrSelect, GtrStatsCard, GtrSwitch, GtrTab, GtrTabGroup, GtrTableContainer, GtrTextarea, GtrToaster, GtrTooltip, TextValueAccessor] });
832
+ GettrxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GettrxModule, imports: [CommonModule, FormsModule] });
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GettrxModule, decorators: [{
834
+ type: NgModule,
835
+ args: [{
836
+ declarations: DECLARATIONS,
837
+ exports: DECLARATIONS,
838
+ imports: [CommonModule, FormsModule],
839
+ }]
840
+ }] });
841
+
842
+ /*
843
+ * Public API Surface of core-components-angular
844
+ */
845
+
846
+ /**
847
+ * Generated bundle index. Do not edit.
848
+ */
849
+
850
+ export { GettrxModule, GtrAccordion, GtrAccordionWrapper, GtrBadge, GtrButton, GtrCheckbox, GtrDatePicker, GtrFileInput, GtrIcon, GtrInput, GtrModal, GtrNumericCounter, GtrPagination, GtrPopover, GtrPopoverWrapper, GtrRadioButton, GtrRadioButtonGroup, GtrSelect, GtrStatsCard, GtrSwitch, GtrTab, GtrTabGroup, GtrTableContainer, GtrTextarea, GtrToaster, GtrTooltip, TextValueAccessor };
851
+ //# sourceMappingURL=gettrx-core-components-angular.mjs.map