@gettrx/core-components-angular 0.0.15 → 0.0.17

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