@six-group/ui-library-angular 0.0.0-insider.d16ec8e → 0.0.0-insider.d833923

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.
Files changed (54) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +6 -22
  3. package/esm2022/lib/control-value-accessors/checkbox-value-accessor.mjs +41 -0
  4. package/esm2022/lib/control-value-accessors/datepicker-value-accessor.mjs +37 -0
  5. package/esm2022/lib/control-value-accessors/numeric-value-accessor.mjs +42 -0
  6. package/esm2022/lib/control-value-accessors/radio-value-accessor.mjs +62 -0
  7. package/esm2022/lib/control-value-accessors/range-value-accessor.mjs +42 -0
  8. package/esm2022/lib/control-value-accessors/select-value-accessor.mjs +37 -0
  9. package/esm2022/lib/control-value-accessors/switch-value-accessor.mjs +41 -0
  10. package/esm2022/lib/control-value-accessors/text-value-accessor.mjs +37 -0
  11. package/esm2022/lib/control-value-accessors/timepicker-value-accessor.mjs +37 -0
  12. package/esm2022/lib/control-value-accessors/value-accessor.mjs +138 -0
  13. package/esm2022/lib/form/six-form.directive.mjs +134 -0
  14. package/esm2022/lib/link/six-router-link.directive.mjs +56 -0
  15. package/esm2022/lib/services/alert.service.mjs +21 -0
  16. package/esm2022/lib/services/validation-messages.service.mjs +15 -0
  17. package/esm2022/lib/stencil-generated/angular-component-lib/utils.mjs +59 -0
  18. package/esm2022/lib/stencil-generated/components.mjs +1294 -0
  19. package/esm2022/lib/stencil-generated/index.mjs +56 -0
  20. package/esm2022/lib/ui-library-angular.module.mjs +135 -0
  21. package/esm2022/lib/validators/six-ui-library-validators.mjs +122 -0
  22. package/esm2022/public-api.mjs +28 -0
  23. package/fesm2022/six-group-ui-library-angular.mjs +2343 -0
  24. package/fesm2022/six-group-ui-library-angular.mjs.map +1 -0
  25. package/lib/control-value-accessors/checkbox-value-accessor.d.ts +10 -0
  26. package/lib/control-value-accessors/datepicker-value-accessor.d.ts +9 -0
  27. package/lib/control-value-accessors/numeric-value-accessor.d.ts +10 -0
  28. package/lib/control-value-accessors/radio-value-accessor.d.ts +15 -0
  29. package/lib/control-value-accessors/range-value-accessor.d.ts +10 -0
  30. package/lib/control-value-accessors/select-value-accessor.d.ts +9 -0
  31. package/lib/control-value-accessors/switch-value-accessor.d.ts +10 -0
  32. package/lib/control-value-accessors/text-value-accessor.d.ts +9 -0
  33. package/lib/control-value-accessors/timepicker-value-accessor.d.ts +9 -0
  34. package/lib/control-value-accessors/value-accessor.d.ts +39 -0
  35. package/lib/form/six-form.directive.d.ts +71 -0
  36. package/lib/link/six-router-link.directive.d.ts +26 -0
  37. package/lib/services/alert.service.d.ts +11 -0
  38. package/lib/services/validation-messages.service.d.ts +7 -0
  39. package/lib/stencil-generated/components.d.ts +55 -87
  40. package/lib/stencil-generated/index.d.ts +1 -1
  41. package/lib/ui-library-angular.module.d.ts +16 -1
  42. package/lib/validators/six-ui-library-validators.d.ts +47 -0
  43. package/package.json +13 -13
  44. package/public-api.d.ts +15 -0
  45. package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +0 -51
  46. package/esm2020/lib/stencil-generated/components.mjs +0 -1376
  47. package/esm2020/lib/stencil-generated/index.mjs +0 -57
  48. package/esm2020/lib/ui-library-angular.module.mjs +0 -34
  49. package/esm2020/public-api.mjs +0 -7
  50. package/fesm2015/six-group-ui-library-angular.mjs +0 -1468
  51. package/fesm2015/six-group-ui-library-angular.mjs.map +0 -1
  52. package/fesm2020/six-group-ui-library-angular.mjs +0 -1468
  53. package/fesm2020/six-group-ui-library-angular.mjs.map +0 -1
  54. /package/{esm2020 → esm2022}/six-group-ui-library-angular.mjs +0 -0
@@ -0,0 +1,2343 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Injectable, inject, Directive, HostListener, Input, EventEmitter, Output, Optional, APP_INITIALIZER, NgModule, NgZone } from '@angular/core';
3
+ import { __decorate } from 'tslib';
4
+ import { fromEvent } from 'rxjs';
5
+ import { defineCustomElements } from '@six-group/ui-library/loader';
6
+ import * as i1 from '@angular/forms';
7
+ import { NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS, Validators } from '@angular/forms';
8
+ import { getErrorMessage, getLanguage, showAlert } from '@six-group/ui-library';
9
+ import * as i1$1 from '@angular/common';
10
+ import * as i2 from '@angular/router';
11
+
12
+ /* eslint-disable */
13
+ /* tslint:disable */
14
+ const proxyInputs = (Cmp, inputs) => {
15
+ const Prototype = Cmp.prototype;
16
+ inputs.forEach((item) => {
17
+ Object.defineProperty(Prototype, item, {
18
+ get() {
19
+ return this.el[item];
20
+ },
21
+ set(val) {
22
+ this.z.runOutsideAngular(() => (this.el[item] = val));
23
+ },
24
+ /**
25
+ * In the event that proxyInputs is called
26
+ * multiple times re-defining these inputs
27
+ * will cause an error to be thrown. As a result
28
+ * we set configurable: true to indicate these
29
+ * properties can be changed.
30
+ */
31
+ configurable: true,
32
+ });
33
+ });
34
+ };
35
+ const proxyMethods = (Cmp, methods) => {
36
+ const Prototype = Cmp.prototype;
37
+ methods.forEach((methodName) => {
38
+ Prototype[methodName] = function () {
39
+ const args = arguments;
40
+ return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
41
+ };
42
+ });
43
+ };
44
+ const proxyOutputs = (instance, el, events) => {
45
+ events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
46
+ };
47
+ const defineCustomElement = (tagName, customElement) => {
48
+ if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
49
+ customElements.define(tagName, customElement);
50
+ }
51
+ };
52
+ // tslint:disable-next-line: only-arrow-functions
53
+ function ProxyCmp(opts) {
54
+ const decorator = function (cls) {
55
+ const { defineCustomElementFn, inputs, methods } = opts;
56
+ if (defineCustomElementFn !== undefined) {
57
+ defineCustomElementFn();
58
+ }
59
+ if (inputs) {
60
+ proxyInputs(cls, inputs);
61
+ }
62
+ if (methods) {
63
+ proxyMethods(cls, methods);
64
+ }
65
+ return cls;
66
+ };
67
+ return decorator;
68
+ }
69
+
70
+ let SixAlert = class SixAlert {
71
+ constructor(c, r, z) {
72
+ this.z = z;
73
+ c.detach();
74
+ this.el = r.nativeElement;
75
+ proxyOutputs(this, this.el, ['six-alert-show', 'six-alert-after-show', 'six-alert-hide', 'six-alert-after-hide']);
76
+ }
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
78
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixAlert, selector: "six-alert", inputs: { closable: "closable", duration: "duration", open: "open", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
79
+ };
80
+ SixAlert = __decorate([
81
+ ProxyCmp({
82
+ inputs: ['closable', 'duration', 'open', 'type'],
83
+ methods: ['show', 'hide', 'toast']
84
+ })
85
+ ], SixAlert);
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixAlert, decorators: [{
87
+ type: Component,
88
+ args: [{
89
+ selector: 'six-alert',
90
+ changeDetection: ChangeDetectionStrategy.OnPush,
91
+ template: '<ng-content></ng-content>',
92
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
93
+ inputs: ['closable', 'duration', 'open', 'type'],
94
+ }]
95
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
96
+ let SixAvatar = class SixAvatar {
97
+ constructor(c, r, z) {
98
+ this.z = z;
99
+ c.detach();
100
+ this.el = r.nativeElement;
101
+ }
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
103
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixAvatar, selector: "six-avatar", inputs: { alt: "alt", image: "image", initials: "initials", shape: "shape" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
104
+ };
105
+ SixAvatar = __decorate([
106
+ ProxyCmp({
107
+ inputs: ['alt', 'image', 'initials', 'shape']
108
+ })
109
+ ], SixAvatar);
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixAvatar, decorators: [{
111
+ type: Component,
112
+ args: [{
113
+ selector: 'six-avatar',
114
+ changeDetection: ChangeDetectionStrategy.OnPush,
115
+ template: '<ng-content></ng-content>',
116
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
117
+ inputs: ['alt', 'image', 'initials', 'shape'],
118
+ }]
119
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
120
+ let SixBadge = class SixBadge {
121
+ constructor(c, r, z) {
122
+ this.z = z;
123
+ c.detach();
124
+ this.el = r.nativeElement;
125
+ }
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixBadge, selector: "six-badge", inputs: { pill: "pill", pulse: "pulse", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
128
+ };
129
+ SixBadge = __decorate([
130
+ ProxyCmp({
131
+ inputs: ['pill', 'pulse', 'type']
132
+ })
133
+ ], SixBadge);
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixBadge, decorators: [{
135
+ type: Component,
136
+ args: [{
137
+ selector: 'six-badge',
138
+ changeDetection: ChangeDetectionStrategy.OnPush,
139
+ template: '<ng-content></ng-content>',
140
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
141
+ inputs: ['pill', 'pulse', 'type'],
142
+ }]
143
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
144
+ let SixButton = class SixButton {
145
+ constructor(c, r, z) {
146
+ this.z = z;
147
+ c.detach();
148
+ this.el = r.nativeElement;
149
+ proxyOutputs(this, this.el, ['six-button-blur', 'six-button-focus']);
150
+ }
151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
152
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixButton, selector: "six-button", inputs: { caret: "caret", circle: "circle", disabled: "disabled", download: "download", href: "href", loading: "loading", name: "name", pill: "pill", reset: "reset", size: "size", submit: "submit", target: "target", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
153
+ };
154
+ SixButton = __decorate([
155
+ ProxyCmp({
156
+ inputs: ['caret', 'circle', 'disabled', 'download', 'href', 'loading', 'name', 'pill', 'reset', 'size', 'submit', 'target', 'type', 'value'],
157
+ methods: ['setFocus', 'removeFocus']
158
+ })
159
+ ], SixButton);
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixButton, decorators: [{
161
+ type: Component,
162
+ args: [{
163
+ selector: 'six-button',
164
+ changeDetection: ChangeDetectionStrategy.OnPush,
165
+ template: '<ng-content></ng-content>',
166
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
167
+ inputs: ['caret', 'circle', 'disabled', 'download', 'href', 'loading', 'name', 'pill', 'reset', 'size', 'submit', 'target', 'type', 'value'],
168
+ }]
169
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
170
+ let SixCard = class SixCard {
171
+ constructor(c, r, z) {
172
+ this.z = z;
173
+ c.detach();
174
+ this.el = r.nativeElement;
175
+ }
176
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
177
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixCard, selector: "six-card", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
178
+ };
179
+ SixCard = __decorate([
180
+ ProxyCmp({})
181
+ ], SixCard);
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixCard, decorators: [{
183
+ type: Component,
184
+ args: [{
185
+ selector: 'six-card',
186
+ changeDetection: ChangeDetectionStrategy.OnPush,
187
+ template: '<ng-content></ng-content>',
188
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
189
+ inputs: [],
190
+ }]
191
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
192
+ let SixCheckbox = class SixCheckbox {
193
+ constructor(c, r, z) {
194
+ this.z = z;
195
+ c.detach();
196
+ this.el = r.nativeElement;
197
+ proxyOutputs(this, this.el, ['six-checkbox-blur', 'six-checkbox-change', 'six-checkbox-focus']);
198
+ }
199
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
200
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixCheckbox, selector: "six-checkbox", inputs: { checked: "checked", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", indeterminate: "indeterminate", invalid: "invalid", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
201
+ };
202
+ SixCheckbox = __decorate([
203
+ ProxyCmp({
204
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
205
+ methods: ['setFocus', 'removeFocus']
206
+ })
207
+ ], SixCheckbox);
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixCheckbox, decorators: [{
209
+ type: Component,
210
+ args: [{
211
+ selector: 'six-checkbox',
212
+ changeDetection: ChangeDetectionStrategy.OnPush,
213
+ template: '<ng-content></ng-content>',
214
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
215
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
216
+ }]
217
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
218
+ let SixDatepicker = class SixDatepicker {
219
+ constructor(c, r, z) {
220
+ this.z = z;
221
+ c.detach();
222
+ this.el = r.nativeElement;
223
+ proxyOutputs(this, this.el, ['six-datepicker-select', 'six-datepicker-clear', 'six-datepicker-blur']);
224
+ }
225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
226
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDatepicker, selector: "six-datepicker", inputs: { allowedDates: "allowedDates", clearable: "clearable", closeOnSelect: "closeOnSelect", containingElement: "containingElement", dateFormat: "dateFormat", debounce: "debounce", defaultDate: "defaultDate", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", invalid: "invalid", label: "label", locale: "locale", max: "max", min: "min", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", size: "size", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
227
+ };
228
+ SixDatepicker = __decorate([
229
+ ProxyCmp({
230
+ inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorText', 'errorTextCount', 'hoist', 'iconPosition', 'inline', 'invalid', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
231
+ methods: ['setFocus', 'select']
232
+ })
233
+ ], SixDatepicker);
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDatepicker, decorators: [{
235
+ type: Component,
236
+ args: [{
237
+ selector: 'six-datepicker',
238
+ changeDetection: ChangeDetectionStrategy.OnPush,
239
+ template: '<ng-content></ng-content>',
240
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
241
+ inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorText', 'errorTextCount', 'hoist', 'iconPosition', 'inline', 'invalid', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
242
+ }]
243
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
244
+ let SixDetails = class SixDetails {
245
+ constructor(c, r, z) {
246
+ this.z = z;
247
+ c.detach();
248
+ this.el = r.nativeElement;
249
+ proxyOutputs(this, this.el, ['six-details-show', 'six-details-after-show', 'six-details-hide', 'six-details-after-hide']);
250
+ }
251
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDetails, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
252
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDetails, selector: "six-details", inputs: { disabled: "disabled", hasContent: "hasContent", inline: "inline", open: "open", selectableEmpty: "selectableEmpty", summary: "summary", summaryIcon: "summaryIcon", summaryIconSize: "summaryIconSize" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
253
+ };
254
+ SixDetails = __decorate([
255
+ ProxyCmp({
256
+ inputs: ['disabled', 'hasContent', 'inline', 'open', 'selectableEmpty', 'summary', 'summaryIcon', 'summaryIconSize'],
257
+ methods: ['show', 'hide']
258
+ })
259
+ ], SixDetails);
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDetails, decorators: [{
261
+ type: Component,
262
+ args: [{
263
+ selector: 'six-details',
264
+ changeDetection: ChangeDetectionStrategy.OnPush,
265
+ template: '<ng-content></ng-content>',
266
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
267
+ inputs: ['disabled', 'hasContent', 'inline', 'open', 'selectableEmpty', 'summary', 'summaryIcon', 'summaryIconSize'],
268
+ }]
269
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
270
+ let SixDialog = class SixDialog {
271
+ constructor(c, r, z) {
272
+ this.z = z;
273
+ c.detach();
274
+ this.el = r.nativeElement;
275
+ proxyOutputs(this, this.el, ['six-dialog-show', 'six-dialog-after-show', 'six-dialog-hide', 'six-dialog-after-hide', 'six-dialog-initial-focus', 'six-dialog-overlay-dismiss']);
276
+ }
277
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDialog, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
278
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDialog, selector: "six-dialog", inputs: { label: "label", noHeader: "noHeader", open: "open" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
279
+ };
280
+ SixDialog = __decorate([
281
+ ProxyCmp({
282
+ inputs: ['label', 'noHeader', 'open'],
283
+ methods: ['show', 'hide']
284
+ })
285
+ ], SixDialog);
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDialog, decorators: [{
287
+ type: Component,
288
+ args: [{
289
+ selector: 'six-dialog',
290
+ changeDetection: ChangeDetectionStrategy.OnPush,
291
+ template: '<ng-content></ng-content>',
292
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
293
+ inputs: ['label', 'noHeader', 'open'],
294
+ }]
295
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
296
+ let SixDrawer = class SixDrawer {
297
+ constructor(c, r, z) {
298
+ this.z = z;
299
+ c.detach();
300
+ this.el = r.nativeElement;
301
+ proxyOutputs(this, this.el, ['six-drawer-show', 'six-drawer-after-show', 'six-drawer-hide', 'six-drawer-after-hide', 'six-drawer-initial-focus', 'six-drawer-overlay-dismiss']);
302
+ }
303
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
304
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDrawer, selector: "six-drawer", inputs: { contained: "contained", label: "label", noHeader: "noHeader", open: "open", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
305
+ };
306
+ SixDrawer = __decorate([
307
+ ProxyCmp({
308
+ inputs: ['contained', 'label', 'noHeader', 'open', 'placement'],
309
+ methods: ['show', 'hide']
310
+ })
311
+ ], SixDrawer);
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDrawer, decorators: [{
313
+ type: Component,
314
+ args: [{
315
+ selector: 'six-drawer',
316
+ changeDetection: ChangeDetectionStrategy.OnPush,
317
+ template: '<ng-content></ng-content>',
318
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
319
+ inputs: ['contained', 'label', 'noHeader', 'open', 'placement'],
320
+ }]
321
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
322
+ let SixDropdown = class SixDropdown {
323
+ constructor(c, r, z) {
324
+ this.z = z;
325
+ c.detach();
326
+ this.el = r.nativeElement;
327
+ proxyOutputs(this, this.el, ['six-dropdown-show', 'six-dropdown-after-show', 'six-dropdown-hide', 'six-dropdown-after-hide', 'six-dropdown-auto-filter-fired', 'six-async-filter-fired', 'six-dropdown-scroll']);
328
+ }
329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
330
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDropdown, selector: "six-dropdown", inputs: { asyncFilter: "asyncFilter", autofocusFilter: "autofocusFilter", closeOnSelect: "closeOnSelect", containingElement: "containingElement", disableHideOnEnterAndSpace: "disableHideOnEnterAndSpace", distance: "distance", filter: "filter", filterDebounce: "filterDebounce", filterPlaceholder: "filterPlaceholder", hoist: "hoist", matchTriggerWidth: "matchTriggerWidth", open: "open", options: "options", placement: "placement", skidding: "skidding", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
331
+ };
332
+ SixDropdown = __decorate([
333
+ ProxyCmp({
334
+ inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'matchTriggerWidth', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
335
+ methods: ['show', 'hide', 'reposition']
336
+ })
337
+ ], SixDropdown);
338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDropdown, decorators: [{
339
+ type: Component,
340
+ args: [{
341
+ selector: 'six-dropdown',
342
+ changeDetection: ChangeDetectionStrategy.OnPush,
343
+ template: '<ng-content></ng-content>',
344
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
345
+ inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'matchTriggerWidth', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
346
+ }]
347
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
348
+ let SixError = class SixError {
349
+ constructor(c, r, z) {
350
+ this.z = z;
351
+ c.detach();
352
+ this.el = r.nativeElement;
353
+ }
354
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
355
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixError, selector: "six-error", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
356
+ };
357
+ SixError = __decorate([
358
+ ProxyCmp({})
359
+ ], SixError);
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixError, decorators: [{
361
+ type: Component,
362
+ args: [{
363
+ selector: 'six-error',
364
+ changeDetection: ChangeDetectionStrategy.OnPush,
365
+ template: '<ng-content></ng-content>',
366
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
367
+ inputs: [],
368
+ }]
369
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
370
+ let SixErrorPage = class SixErrorPage {
371
+ constructor(c, r, z) {
372
+ this.z = z;
373
+ c.detach();
374
+ this.el = r.nativeElement;
375
+ }
376
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixErrorPage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
377
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixErrorPage, selector: "six-error-page", inputs: { customDescription: "customDescription", customIcon: "customIcon", customTitle: "customTitle", errorCode: "errorCode", language: "language" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
378
+ };
379
+ SixErrorPage = __decorate([
380
+ ProxyCmp({
381
+ inputs: ['customDescription', 'customIcon', 'customTitle', 'errorCode', 'language']
382
+ })
383
+ ], SixErrorPage);
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixErrorPage, decorators: [{
385
+ type: Component,
386
+ args: [{
387
+ selector: 'six-error-page',
388
+ changeDetection: ChangeDetectionStrategy.OnPush,
389
+ template: '<ng-content></ng-content>',
390
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
391
+ inputs: ['customDescription', 'customIcon', 'customTitle', 'errorCode', 'language'],
392
+ }]
393
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
394
+ let SixFileList = class SixFileList {
395
+ constructor(c, r, z) {
396
+ this.z = z;
397
+ c.detach();
398
+ this.el = r.nativeElement;
399
+ }
400
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileList, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
401
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileList, selector: "six-file-list", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
402
+ };
403
+ SixFileList = __decorate([
404
+ ProxyCmp({})
405
+ ], SixFileList);
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileList, decorators: [{
407
+ type: Component,
408
+ args: [{
409
+ selector: 'six-file-list',
410
+ changeDetection: ChangeDetectionStrategy.OnPush,
411
+ template: '<ng-content></ng-content>',
412
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
413
+ inputs: [],
414
+ }]
415
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
416
+ let SixFileListItem = class SixFileListItem {
417
+ constructor(c, r, z) {
418
+ this.z = z;
419
+ c.detach();
420
+ this.el = r.nativeElement;
421
+ proxyOutputs(this, this.el, ['six-file-list-item-download', 'six-file-list-item-remove']);
422
+ }
423
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileListItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
424
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileListItem, selector: "six-file-list-item", inputs: { date: "date", identifier: "identifier", name: "name", nodelete: "nodelete", nodownload: "nodownload", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
425
+ };
426
+ SixFileListItem = __decorate([
427
+ ProxyCmp({
428
+ inputs: ['date', 'identifier', 'name', 'nodelete', 'nodownload', 'size']
429
+ })
430
+ ], SixFileListItem);
431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileListItem, decorators: [{
432
+ type: Component,
433
+ args: [{
434
+ selector: 'six-file-list-item',
435
+ changeDetection: ChangeDetectionStrategy.OnPush,
436
+ template: '<ng-content></ng-content>',
437
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
438
+ inputs: ['date', 'identifier', 'name', 'nodelete', 'nodownload', 'size'],
439
+ }]
440
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
441
+ let SixFileUpload = class SixFileUpload {
442
+ constructor(c, r, z) {
443
+ this.z = z;
444
+ c.detach();
445
+ this.el = r.nativeElement;
446
+ proxyOutputs(this, this.el, ['six-file-upload-success', 'six-file-upload-failure']);
447
+ }
448
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
449
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileUpload, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", label: "label", maxFileSize: "maxFileSize", multiple: "multiple" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
450
+ };
451
+ SixFileUpload = __decorate([
452
+ ProxyCmp({
453
+ inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple']
454
+ })
455
+ ], SixFileUpload);
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, decorators: [{
457
+ type: Component,
458
+ args: [{
459
+ selector: 'six-file-upload',
460
+ changeDetection: ChangeDetectionStrategy.OnPush,
461
+ template: '<ng-content></ng-content>',
462
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
463
+ inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple'],
464
+ }]
465
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
466
+ let SixFooter = class SixFooter {
467
+ constructor(c, r, z) {
468
+ this.z = z;
469
+ c.detach();
470
+ this.el = r.nativeElement;
471
+ }
472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
473
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFooter, selector: "six-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
474
+ };
475
+ SixFooter = __decorate([
476
+ ProxyCmp({})
477
+ ], SixFooter);
478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFooter, decorators: [{
479
+ type: Component,
480
+ args: [{
481
+ selector: 'six-footer',
482
+ changeDetection: ChangeDetectionStrategy.OnPush,
483
+ template: '<ng-content></ng-content>',
484
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
485
+ inputs: [],
486
+ }]
487
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
488
+ let SixGroupLabel = class SixGroupLabel {
489
+ constructor(c, r, z) {
490
+ this.z = z;
491
+ c.detach();
492
+ this.el = r.nativeElement;
493
+ }
494
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixGroupLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
495
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixGroupLabel, selector: "six-group-label", inputs: { disabled: "disabled", helpText: "helpText", label: "label", required: "required", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
496
+ };
497
+ SixGroupLabel = __decorate([
498
+ ProxyCmp({
499
+ inputs: ['disabled', 'helpText', 'label', 'required', 'size']
500
+ })
501
+ ], SixGroupLabel);
502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixGroupLabel, decorators: [{
503
+ type: Component,
504
+ args: [{
505
+ selector: 'six-group-label',
506
+ changeDetection: ChangeDetectionStrategy.OnPush,
507
+ template: '<ng-content></ng-content>',
508
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
509
+ inputs: ['disabled', 'helpText', 'label', 'required', 'size'],
510
+ }]
511
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
512
+ let SixHeader = class SixHeader {
513
+ constructor(c, r, z) {
514
+ this.z = z;
515
+ c.detach();
516
+ this.el = r.nativeElement;
517
+ proxyOutputs(this, this.el, ['six-header-app-name-clicked', 'six-header-app-switcher-select', 'six-header-profile-select', 'six-header-hamburger-menu-clicked', 'six-header-logo-clicked', 'six-header-search-field-toggle']);
518
+ }
519
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
520
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeader, selector: "six-header", inputs: { clickableLogo: "clickableLogo", hideHamburgerMenu: "hideHamburgerMenu", openHamburgerMenu: "openHamburgerMenu", openSearch: "openSearch", shiftContent: "shiftContent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
521
+ };
522
+ SixHeader = __decorate([
523
+ ProxyCmp({
524
+ inputs: ['clickableLogo', 'hideHamburgerMenu', 'openHamburgerMenu', 'openSearch', 'shiftContent'],
525
+ methods: ['setSearchOpenState', 'getIsSearchOpen']
526
+ })
527
+ ], SixHeader);
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeader, decorators: [{
529
+ type: Component,
530
+ args: [{
531
+ selector: 'six-header',
532
+ changeDetection: ChangeDetectionStrategy.OnPush,
533
+ template: '<ng-content></ng-content>',
534
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
535
+ inputs: ['clickableLogo', 'hideHamburgerMenu', 'openHamburgerMenu', 'openSearch', 'shiftContent'],
536
+ }]
537
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
538
+ let SixIcon = class SixIcon {
539
+ constructor(c, r, z) {
540
+ this.z = z;
541
+ c.detach();
542
+ this.el = r.nativeElement;
543
+ }
544
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
545
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixIcon, selector: "six-icon", inputs: { filled: "filled", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
546
+ };
547
+ SixIcon = __decorate([
548
+ ProxyCmp({
549
+ inputs: ['filled', 'size']
550
+ })
551
+ ], SixIcon);
552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIcon, decorators: [{
553
+ type: Component,
554
+ args: [{
555
+ selector: 'six-icon',
556
+ changeDetection: ChangeDetectionStrategy.OnPush,
557
+ template: '<ng-content></ng-content>',
558
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
559
+ inputs: ['filled', 'size'],
560
+ }]
561
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
562
+ let SixIconButton = class SixIconButton {
563
+ constructor(c, r, z) {
564
+ this.z = z;
565
+ c.detach();
566
+ this.el = r.nativeElement;
567
+ }
568
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
569
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixIconButton, selector: "six-icon-button", inputs: { disabled: "disabled", html: "html", label: "label", name: "name", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
570
+ };
571
+ SixIconButton = __decorate([
572
+ ProxyCmp({
573
+ inputs: ['disabled', 'html', 'label', 'name', 'size']
574
+ })
575
+ ], SixIconButton);
576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIconButton, decorators: [{
577
+ type: Component,
578
+ args: [{
579
+ selector: 'six-icon-button',
580
+ changeDetection: ChangeDetectionStrategy.OnPush,
581
+ template: '<ng-content></ng-content>',
582
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
583
+ inputs: ['disabled', 'html', 'label', 'name', 'size'],
584
+ }]
585
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
586
+ let SixInput = class SixInput {
587
+ constructor(c, r, z) {
588
+ this.z = z;
589
+ c.detach();
590
+ this.el = r.nativeElement;
591
+ proxyOutputs(this, this.el, ['six-input-change', 'six-input-clear', 'six-input-input', 'six-input-focus', 'six-input-blur']);
592
+ }
593
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
594
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixInput, selector: "six-input", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearable: "clearable", disabled: "disabled", dropdownSearch: "dropdownSearch", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", line: "line", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", name: "name", pattern: "pattern", pill: "pill", placeholder: "placeholder", readonly: "readonly", required: "required", size: "size", spellcheck: "spellcheck", step: "step", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
595
+ };
596
+ SixInput = __decorate([
597
+ ProxyCmp({
598
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'dropdownSearch', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
599
+ methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
600
+ })
601
+ ], SixInput);
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixInput, decorators: [{
603
+ type: Component,
604
+ args: [{
605
+ selector: 'six-input',
606
+ changeDetection: ChangeDetectionStrategy.OnPush,
607
+ template: '<ng-content></ng-content>',
608
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
609
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'dropdownSearch', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
610
+ }]
611
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
612
+ let SixItemPicker = class SixItemPicker {
613
+ constructor(c, r, z) {
614
+ this.z = z;
615
+ c.detach();
616
+ this.el = r.nativeElement;
617
+ proxyOutputs(this, this.el, ['six-item-picker-change', 'six-item-picker-change-debounced']);
618
+ }
619
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixItemPicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
620
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixItemPicker, selector: "six-item-picker", inputs: { debounce: "debounce", interval: "interval", items: "items", max: "max", min: "min", padded: "padded", paddingChar: "paddingChar", paddingDirection: "paddingDirection", paddingLength: "paddingLength", roundtrip: "roundtrip", step: "step", timeout: "timeout", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
621
+ };
622
+ SixItemPicker = __decorate([
623
+ ProxyCmp({
624
+ inputs: ['debounce', 'interval', 'items', 'max', 'min', 'padded', 'paddingChar', 'paddingDirection', 'paddingLength', 'roundtrip', 'step', 'timeout', 'type', 'value']
625
+ })
626
+ ], SixItemPicker);
627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixItemPicker, decorators: [{
628
+ type: Component,
629
+ args: [{
630
+ selector: 'six-item-picker',
631
+ changeDetection: ChangeDetectionStrategy.OnPush,
632
+ template: '<ng-content></ng-content>',
633
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
634
+ inputs: ['debounce', 'interval', 'items', 'max', 'min', 'padded', 'paddingChar', 'paddingDirection', 'paddingLength', 'roundtrip', 'step', 'timeout', 'type', 'value'],
635
+ }]
636
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
637
+ let SixLanguageSwitcher = class SixLanguageSwitcher {
638
+ constructor(c, r, z) {
639
+ this.z = z;
640
+ c.detach();
641
+ this.el = r.nativeElement;
642
+ proxyOutputs(this, this.el, ['six-language-switcher-change']);
643
+ }
644
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLanguageSwitcher, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
645
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixLanguageSwitcher, selector: "six-language-switcher", inputs: { languages: "languages", selected: "selected" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
646
+ };
647
+ SixLanguageSwitcher = __decorate([
648
+ ProxyCmp({
649
+ inputs: ['languages', 'selected']
650
+ })
651
+ ], SixLanguageSwitcher);
652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLanguageSwitcher, decorators: [{
653
+ type: Component,
654
+ args: [{
655
+ selector: 'six-language-switcher',
656
+ changeDetection: ChangeDetectionStrategy.OnPush,
657
+ template: '<ng-content></ng-content>',
658
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
659
+ inputs: ['languages', 'selected'],
660
+ }]
661
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
662
+ let SixLayoutGrid = class SixLayoutGrid {
663
+ constructor(c, r, z) {
664
+ this.z = z;
665
+ c.detach();
666
+ this.el = r.nativeElement;
667
+ }
668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLayoutGrid, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
669
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixLayoutGrid, selector: "six-layout-grid", inputs: { columns: "columns" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
670
+ };
671
+ SixLayoutGrid = __decorate([
672
+ ProxyCmp({
673
+ inputs: ['columns']
674
+ })
675
+ ], SixLayoutGrid);
676
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLayoutGrid, decorators: [{
677
+ type: Component,
678
+ args: [{
679
+ selector: 'six-layout-grid',
680
+ changeDetection: ChangeDetectionStrategy.OnPush,
681
+ template: '<ng-content></ng-content>',
682
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
683
+ inputs: ['columns'],
684
+ }]
685
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
686
+ let SixMainContainer = class SixMainContainer {
687
+ constructor(c, r, z) {
688
+ this.z = z;
689
+ c.detach();
690
+ this.el = r.nativeElement;
691
+ }
692
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMainContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
693
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixMainContainer, selector: "six-main-container", inputs: { padded: "padded" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
694
+ };
695
+ SixMainContainer = __decorate([
696
+ ProxyCmp({
697
+ inputs: ['padded']
698
+ })
699
+ ], SixMainContainer);
700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMainContainer, decorators: [{
701
+ type: Component,
702
+ args: [{
703
+ selector: 'six-main-container',
704
+ changeDetection: ChangeDetectionStrategy.OnPush,
705
+ template: '<ng-content></ng-content>',
706
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
707
+ inputs: ['padded'],
708
+ }]
709
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
710
+ let SixMenu = class SixMenu {
711
+ constructor(c, r, z) {
712
+ this.z = z;
713
+ c.detach();
714
+ this.el = r.nativeElement;
715
+ proxyOutputs(this, this.el, ['six-menu-item-selected']);
716
+ }
717
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
718
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixMenu, selector: "six-menu", inputs: { disableKeyboardHandling: "disableKeyboardHandling", itemSize: "itemSize", items: "items", itemsShown: "itemsShown", removeBoxShadow: "removeBoxShadow", scrollingDebounce: "scrollingDebounce", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
719
+ };
720
+ SixMenu = __decorate([
721
+ ProxyCmp({
722
+ inputs: ['disableKeyboardHandling', 'itemSize', 'items', 'itemsShown', 'removeBoxShadow', 'scrollingDebounce', 'virtualScroll'],
723
+ methods: ['typeToSelect']
724
+ })
725
+ ], SixMenu);
726
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenu, decorators: [{
727
+ type: Component,
728
+ args: [{
729
+ selector: 'six-menu',
730
+ changeDetection: ChangeDetectionStrategy.OnPush,
731
+ template: '<ng-content></ng-content>',
732
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
733
+ inputs: ['disableKeyboardHandling', 'itemSize', 'items', 'itemsShown', 'removeBoxShadow', 'scrollingDebounce', 'virtualScroll'],
734
+ }]
735
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
736
+ let SixMenuDivider = class SixMenuDivider {
737
+ constructor(c, r, z) {
738
+ this.z = z;
739
+ c.detach();
740
+ this.el = r.nativeElement;
741
+ }
742
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
743
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixMenuDivider, selector: "six-menu-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
744
+ };
745
+ SixMenuDivider = __decorate([
746
+ ProxyCmp({})
747
+ ], SixMenuDivider);
748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuDivider, decorators: [{
749
+ type: Component,
750
+ args: [{
751
+ selector: 'six-menu-divider',
752
+ changeDetection: ChangeDetectionStrategy.OnPush,
753
+ template: '<ng-content></ng-content>',
754
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
755
+ inputs: [],
756
+ }]
757
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
758
+ let SixMenuItem = class SixMenuItem {
759
+ constructor(c, r, z) {
760
+ this.z = z;
761
+ c.detach();
762
+ this.el = r.nativeElement;
763
+ }
764
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
765
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixMenuItem, selector: "six-menu-item", inputs: { checkType: "checkType", checked: "checked", disabled: "disabled", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
766
+ };
767
+ SixMenuItem = __decorate([
768
+ ProxyCmp({
769
+ inputs: ['checkType', 'checked', 'disabled', 'value'],
770
+ methods: ['setFocus', 'removeFocus', 'getTextLabel']
771
+ })
772
+ ], SixMenuItem);
773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuItem, decorators: [{
774
+ type: Component,
775
+ args: [{
776
+ selector: 'six-menu-item',
777
+ changeDetection: ChangeDetectionStrategy.OnPush,
778
+ template: '<ng-content></ng-content>',
779
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
780
+ inputs: ['checkType', 'checked', 'disabled', 'value'],
781
+ }]
782
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
783
+ let SixMenuLabel = class SixMenuLabel {
784
+ constructor(c, r, z) {
785
+ this.z = z;
786
+ c.detach();
787
+ this.el = r.nativeElement;
788
+ }
789
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
790
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixMenuLabel, selector: "six-menu-label", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
791
+ };
792
+ SixMenuLabel = __decorate([
793
+ ProxyCmp({})
794
+ ], SixMenuLabel);
795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixMenuLabel, decorators: [{
796
+ type: Component,
797
+ args: [{
798
+ selector: 'six-menu-label',
799
+ changeDetection: ChangeDetectionStrategy.OnPush,
800
+ template: '<ng-content></ng-content>',
801
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
802
+ inputs: [],
803
+ }]
804
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
805
+ let SixPicto = class SixPicto {
806
+ constructor(c, r, z) {
807
+ this.z = z;
808
+ c.detach();
809
+ this.el = r.nativeElement;
810
+ }
811
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixPicto, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
812
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixPicto, selector: "six-picto", inputs: { size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
813
+ };
814
+ SixPicto = __decorate([
815
+ ProxyCmp({
816
+ inputs: ['size']
817
+ })
818
+ ], SixPicto);
819
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixPicto, decorators: [{
820
+ type: Component,
821
+ args: [{
822
+ selector: 'six-picto',
823
+ changeDetection: ChangeDetectionStrategy.OnPush,
824
+ template: '<ng-content></ng-content>',
825
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
826
+ inputs: ['size'],
827
+ }]
828
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
829
+ let SixProgressBar = class SixProgressBar {
830
+ constructor(c, r, z) {
831
+ this.z = z;
832
+ c.detach();
833
+ this.el = r.nativeElement;
834
+ }
835
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixProgressBar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
836
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixProgressBar, selector: "six-progress-bar", inputs: { indeterminate: "indeterminate", percentage: "percentage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
837
+ };
838
+ SixProgressBar = __decorate([
839
+ ProxyCmp({
840
+ inputs: ['indeterminate', 'percentage']
841
+ })
842
+ ], SixProgressBar);
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixProgressBar, decorators: [{
844
+ type: Component,
845
+ args: [{
846
+ selector: 'six-progress-bar',
847
+ changeDetection: ChangeDetectionStrategy.OnPush,
848
+ template: '<ng-content></ng-content>',
849
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
850
+ inputs: ['indeterminate', 'percentage'],
851
+ }]
852
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
853
+ let SixProgressRing = class SixProgressRing {
854
+ constructor(c, r, z) {
855
+ this.z = z;
856
+ c.detach();
857
+ this.el = r.nativeElement;
858
+ }
859
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixProgressRing, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
860
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixProgressRing, selector: "six-progress-ring", inputs: { percentage: "percentage", size: "size", strokeWidth: "strokeWidth" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
861
+ };
862
+ SixProgressRing = __decorate([
863
+ ProxyCmp({
864
+ inputs: ['percentage', 'size', 'strokeWidth']
865
+ })
866
+ ], SixProgressRing);
867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixProgressRing, decorators: [{
868
+ type: Component,
869
+ args: [{
870
+ selector: 'six-progress-ring',
871
+ changeDetection: ChangeDetectionStrategy.OnPush,
872
+ template: '<ng-content></ng-content>',
873
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
874
+ inputs: ['percentage', 'size', 'strokeWidth'],
875
+ }]
876
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
877
+ let SixRadio = class SixRadio {
878
+ constructor(c, r, z) {
879
+ this.z = z;
880
+ c.detach();
881
+ this.el = r.nativeElement;
882
+ proxyOutputs(this, this.el, ['six-radio-blur', 'six-radio-change', 'six-radio-focus']);
883
+ }
884
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
885
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixRadio, selector: "six-radio", inputs: { checked: "checked", disabled: "disabled", invalid: "invalid", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
886
+ };
887
+ SixRadio = __decorate([
888
+ ProxyCmp({
889
+ inputs: ['checked', 'disabled', 'invalid', 'name', 'value'],
890
+ methods: ['setFocus', 'removeFocus']
891
+ })
892
+ ], SixRadio);
893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRadio, decorators: [{
894
+ type: Component,
895
+ args: [{
896
+ selector: 'six-radio',
897
+ changeDetection: ChangeDetectionStrategy.OnPush,
898
+ template: '<ng-content></ng-content>',
899
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
900
+ inputs: ['checked', 'disabled', 'invalid', 'name', 'value'],
901
+ }]
902
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
903
+ let SixRange = class SixRange {
904
+ constructor(c, r, z) {
905
+ this.z = z;
906
+ c.detach();
907
+ this.el = r.nativeElement;
908
+ proxyOutputs(this, this.el, ['six-range-change', 'six-range-blur', 'six-range-focus']);
909
+ }
910
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
911
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixRange, selector: "six-range", inputs: { disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", invalid: "invalid", label: "label", max: "max", min: "min", name: "name", required: "required", step: "step", tooltip: "tooltip", tooltipFormatter: "tooltipFormatter", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
912
+ };
913
+ SixRange = __decorate([
914
+ ProxyCmp({
915
+ inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
916
+ methods: ['setFocus', 'removeFocus']
917
+ })
918
+ ], SixRange);
919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRange, decorators: [{
920
+ type: Component,
921
+ args: [{
922
+ selector: 'six-range',
923
+ changeDetection: ChangeDetectionStrategy.OnPush,
924
+ template: '<ng-content></ng-content>',
925
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
926
+ inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
927
+ }]
928
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
929
+ let SixRoot = class SixRoot {
930
+ constructor(c, r, z) {
931
+ this.z = z;
932
+ c.detach();
933
+ this.el = r.nativeElement;
934
+ }
935
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRoot, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
936
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixRoot, selector: "six-root", inputs: { padded: "padded", stage: "stage", version: "version" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
937
+ };
938
+ SixRoot = __decorate([
939
+ ProxyCmp({
940
+ inputs: ['padded', 'stage', 'version']
941
+ })
942
+ ], SixRoot);
943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRoot, decorators: [{
944
+ type: Component,
945
+ args: [{
946
+ selector: 'six-root',
947
+ changeDetection: ChangeDetectionStrategy.OnPush,
948
+ template: '<ng-content></ng-content>',
949
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
950
+ inputs: ['padded', 'stage', 'version'],
951
+ }]
952
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
953
+ let SixSearchField = class SixSearchField {
954
+ constructor(c, r, z) {
955
+ this.z = z;
956
+ c.detach();
957
+ this.el = r.nativeElement;
958
+ proxyOutputs(this, this.el, ['six-search-field-change']);
959
+ }
960
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSearchField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
961
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSearchField, selector: "six-search-field", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", placeholder: "placeholder", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
962
+ };
963
+ SixSearchField = __decorate([
964
+ ProxyCmp({
965
+ inputs: ['clearable', 'debounce', 'disabled', 'placeholder', 'value']
966
+ })
967
+ ], SixSearchField);
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSearchField, decorators: [{
969
+ type: Component,
970
+ args: [{
971
+ selector: 'six-search-field',
972
+ changeDetection: ChangeDetectionStrategy.OnPush,
973
+ template: '<ng-content></ng-content>',
974
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
975
+ inputs: ['clearable', 'debounce', 'disabled', 'placeholder', 'value'],
976
+ }]
977
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
978
+ let SixSelect = class SixSelect {
979
+ constructor(c, r, z) {
980
+ this.z = z;
981
+ c.detach();
982
+ this.el = r.nativeElement;
983
+ proxyOutputs(this, this.el, ['six-select-change', 'six-select-focus', 'six-select-blur']);
984
+ }
985
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
986
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSelect, selector: "six-select", inputs: { asyncFilter: "asyncFilter", autocomplete: "autocomplete", clearable: "clearable", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", filter: "filter", filterDebounce: "filterDebounce", filterPlaceholder: "filterPlaceholder", helpText: "helpText", hoist: "hoist", inputDebounce: "inputDebounce", invalid: "invalid", label: "label", line: "line", maxTagsVisible: "maxTagsVisible", multiple: "multiple", name: "name", options: "options", pill: "pill", placeholder: "placeholder", required: "required", selectAllButton: "selectAllButton", selectAllText: "selectAllText", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
987
+ };
988
+ SixSelect = __decorate([
989
+ ProxyCmp({
990
+ inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
991
+ methods: ['setFocus']
992
+ })
993
+ ], SixSelect);
994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSelect, decorators: [{
995
+ type: Component,
996
+ args: [{
997
+ selector: 'six-select',
998
+ changeDetection: ChangeDetectionStrategy.OnPush,
999
+ template: '<ng-content></ng-content>',
1000
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1001
+ inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
1002
+ }]
1003
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1004
+ let SixSidebar = class SixSidebar {
1005
+ constructor(c, r, z) {
1006
+ this.z = z;
1007
+ c.detach();
1008
+ this.el = r.nativeElement;
1009
+ proxyOutputs(this, this.el, ['six-sidebar-show', 'six-sidebar-after-show', 'six-sidebar-hide', 'six-sidebar-after-hide', 'six-sidebar-initial-focus']);
1010
+ }
1011
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1012
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSidebar, selector: "six-sidebar", inputs: { open: "open", position: "position", toggled: "toggled", width: "width" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1013
+ };
1014
+ SixSidebar = __decorate([
1015
+ ProxyCmp({
1016
+ inputs: ['open', 'position', 'toggled', 'width'],
1017
+ methods: ['toggle', 'show', 'hide', 'selectItemByIndex', 'selectItemByName']
1018
+ })
1019
+ ], SixSidebar);
1020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebar, decorators: [{
1021
+ type: Component,
1022
+ args: [{
1023
+ selector: 'six-sidebar',
1024
+ changeDetection: ChangeDetectionStrategy.OnPush,
1025
+ template: '<ng-content></ng-content>',
1026
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1027
+ inputs: ['open', 'position', 'toggled', 'width'],
1028
+ }]
1029
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1030
+ let SixSidebarItem = class SixSidebarItem {
1031
+ constructor(c, r, z) {
1032
+ this.z = z;
1033
+ c.detach();
1034
+ this.el = r.nativeElement;
1035
+ }
1036
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1037
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSidebarItem, selector: "six-sidebar-item", inputs: { disabled: "disabled", href: "href", selected: "selected", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1038
+ };
1039
+ SixSidebarItem = __decorate([
1040
+ ProxyCmp({
1041
+ inputs: ['disabled', 'href', 'selected', 'value']
1042
+ })
1043
+ ], SixSidebarItem);
1044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItem, decorators: [{
1045
+ type: Component,
1046
+ args: [{
1047
+ selector: 'six-sidebar-item',
1048
+ changeDetection: ChangeDetectionStrategy.OnPush,
1049
+ template: '<ng-content></ng-content>',
1050
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1051
+ inputs: ['disabled', 'href', 'selected', 'value'],
1052
+ }]
1053
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1054
+ let SixSidebarItemGroup = class SixSidebarItemGroup {
1055
+ constructor(c, r, z) {
1056
+ this.z = z;
1057
+ c.detach();
1058
+ this.el = r.nativeElement;
1059
+ }
1060
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItemGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1061
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSidebarItemGroup, selector: "six-sidebar-item-group", inputs: { href: "href", icon: "icon", name: "name", open: "open", summaryIcon: "summaryIcon", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1062
+ };
1063
+ SixSidebarItemGroup = __decorate([
1064
+ ProxyCmp({
1065
+ inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value']
1066
+ })
1067
+ ], SixSidebarItemGroup);
1068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItemGroup, decorators: [{
1069
+ type: Component,
1070
+ args: [{
1071
+ selector: 'six-sidebar-item-group',
1072
+ changeDetection: ChangeDetectionStrategy.OnPush,
1073
+ template: '<ng-content></ng-content>',
1074
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1075
+ inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value'],
1076
+ }]
1077
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1078
+ let SixSpinner = class SixSpinner {
1079
+ constructor(c, r, z) {
1080
+ this.z = z;
1081
+ c.detach();
1082
+ this.el = r.nativeElement;
1083
+ }
1084
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1085
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSpinner, selector: "six-spinner", inputs: { six: "six" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1086
+ };
1087
+ SixSpinner = __decorate([
1088
+ ProxyCmp({
1089
+ inputs: ['six']
1090
+ })
1091
+ ], SixSpinner);
1092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSpinner, decorators: [{
1093
+ type: Component,
1094
+ args: [{
1095
+ selector: 'six-spinner',
1096
+ changeDetection: ChangeDetectionStrategy.OnPush,
1097
+ template: '<ng-content></ng-content>',
1098
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1099
+ inputs: ['six'],
1100
+ }]
1101
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1102
+ let SixStageIndicator = class SixStageIndicator {
1103
+ constructor(c, r, z) {
1104
+ this.z = z;
1105
+ c.detach();
1106
+ this.el = r.nativeElement;
1107
+ }
1108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixStageIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1109
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixStageIndicator, selector: "six-stage-indicator", inputs: { stage: "stage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1110
+ };
1111
+ SixStageIndicator = __decorate([
1112
+ ProxyCmp({
1113
+ inputs: ['stage']
1114
+ })
1115
+ ], SixStageIndicator);
1116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixStageIndicator, decorators: [{
1117
+ type: Component,
1118
+ args: [{
1119
+ selector: 'six-stage-indicator',
1120
+ changeDetection: ChangeDetectionStrategy.OnPush,
1121
+ template: '<ng-content></ng-content>',
1122
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1123
+ inputs: ['stage'],
1124
+ }]
1125
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1126
+ let SixSwitch = class SixSwitch {
1127
+ constructor(c, r, z) {
1128
+ this.z = z;
1129
+ c.detach();
1130
+ this.el = r.nativeElement;
1131
+ proxyOutputs(this, this.el, ['six-switch-blur', 'six-switch-change', 'six-switch-focus']);
1132
+ }
1133
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSwitch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1134
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSwitch, selector: "six-switch", inputs: { checked: "checked", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", invalid: "invalid", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1135
+ };
1136
+ SixSwitch = __decorate([
1137
+ ProxyCmp({
1138
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
1139
+ methods: ['setFocus', 'removeFocus']
1140
+ })
1141
+ ], SixSwitch);
1142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSwitch, decorators: [{
1143
+ type: Component,
1144
+ args: [{
1145
+ selector: 'six-switch',
1146
+ changeDetection: ChangeDetectionStrategy.OnPush,
1147
+ template: '<ng-content></ng-content>',
1148
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1149
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
1150
+ }]
1151
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1152
+ let SixTab = class SixTab {
1153
+ constructor(c, r, z) {
1154
+ this.z = z;
1155
+ c.detach();
1156
+ this.el = r.nativeElement;
1157
+ proxyOutputs(this, this.el, ['six-tab-close']);
1158
+ }
1159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1160
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTab, selector: "six-tab", inputs: { active: "active", closable: "closable", disabled: "disabled", panel: "panel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1161
+ };
1162
+ SixTab = __decorate([
1163
+ ProxyCmp({
1164
+ inputs: ['active', 'closable', 'disabled', 'panel'],
1165
+ methods: ['setFocus', 'removeFocus']
1166
+ })
1167
+ ], SixTab);
1168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTab, decorators: [{
1169
+ type: Component,
1170
+ args: [{
1171
+ selector: 'six-tab',
1172
+ changeDetection: ChangeDetectionStrategy.OnPush,
1173
+ template: '<ng-content></ng-content>',
1174
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1175
+ inputs: ['active', 'closable', 'disabled', 'panel'],
1176
+ }]
1177
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1178
+ let SixTabGroup = class SixTabGroup {
1179
+ constructor(c, r, z) {
1180
+ this.z = z;
1181
+ c.detach();
1182
+ this.el = r.nativeElement;
1183
+ proxyOutputs(this, this.el, ['six-tab-show', 'six-tab-hide']);
1184
+ }
1185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1186
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTabGroup, selector: "six-tab-group", inputs: { noScrollControls: "noScrollControls", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1187
+ };
1188
+ SixTabGroup = __decorate([
1189
+ ProxyCmp({
1190
+ inputs: ['noScrollControls', 'placement'],
1191
+ methods: ['show']
1192
+ })
1193
+ ], SixTabGroup);
1194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTabGroup, decorators: [{
1195
+ type: Component,
1196
+ args: [{
1197
+ selector: 'six-tab-group',
1198
+ changeDetection: ChangeDetectionStrategy.OnPush,
1199
+ template: '<ng-content></ng-content>',
1200
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1201
+ inputs: ['noScrollControls', 'placement'],
1202
+ }]
1203
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1204
+ let SixTabPanel = class SixTabPanel {
1205
+ constructor(c, r, z) {
1206
+ this.z = z;
1207
+ c.detach();
1208
+ this.el = r.nativeElement;
1209
+ }
1210
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTabPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1211
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTabPanel, selector: "six-tab-panel", inputs: { active: "active", name: "name" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1212
+ };
1213
+ SixTabPanel = __decorate([
1214
+ ProxyCmp({
1215
+ inputs: ['active', 'name']
1216
+ })
1217
+ ], SixTabPanel);
1218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTabPanel, decorators: [{
1219
+ type: Component,
1220
+ args: [{
1221
+ selector: 'six-tab-panel',
1222
+ changeDetection: ChangeDetectionStrategy.OnPush,
1223
+ template: '<ng-content></ng-content>',
1224
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1225
+ inputs: ['active', 'name'],
1226
+ }]
1227
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1228
+ let SixTag = class SixTag {
1229
+ constructor(c, r, z) {
1230
+ this.z = z;
1231
+ c.detach();
1232
+ this.el = r.nativeElement;
1233
+ proxyOutputs(this, this.el, ['six-tag-clear']);
1234
+ }
1235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1236
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTag, selector: "six-tag", inputs: { clearable: "clearable", pill: "pill", size: "size", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1237
+ };
1238
+ SixTag = __decorate([
1239
+ ProxyCmp({
1240
+ inputs: ['clearable', 'pill', 'size', 'type']
1241
+ })
1242
+ ], SixTag);
1243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTag, decorators: [{
1244
+ type: Component,
1245
+ args: [{
1246
+ selector: 'six-tag',
1247
+ changeDetection: ChangeDetectionStrategy.OnPush,
1248
+ template: '<ng-content></ng-content>',
1249
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1250
+ inputs: ['clearable', 'pill', 'size', 'type'],
1251
+ }]
1252
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1253
+ let SixTextarea = class SixTextarea {
1254
+ constructor(c, r, z) {
1255
+ this.z = z;
1256
+ c.detach();
1257
+ this.el = r.nativeElement;
1258
+ proxyOutputs(this, this.el, ['six-textarea-change', 'six-textarea-input', 'six-textarea-focus', 'six-textarea-blur']);
1259
+ }
1260
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1261
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTextarea, selector: "six-textarea", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", maxlength: "maxlength", minlength: "minlength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resize: "resize", rows: "rows", size: "size", spellcheck: "spellcheck", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1262
+ };
1263
+ SixTextarea = __decorate([
1264
+ ProxyCmp({
1265
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1266
+ methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
1267
+ })
1268
+ ], SixTextarea);
1269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTextarea, decorators: [{
1270
+ type: Component,
1271
+ args: [{
1272
+ selector: 'six-textarea',
1273
+ changeDetection: ChangeDetectionStrategy.OnPush,
1274
+ template: '<ng-content></ng-content>',
1275
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1276
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1277
+ }]
1278
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1279
+ let SixTile = class SixTile {
1280
+ constructor(c, r, z) {
1281
+ this.z = z;
1282
+ c.detach();
1283
+ this.el = r.nativeElement;
1284
+ proxyOutputs(this, this.el, ['six-tile-closed', 'six-tile-selected']);
1285
+ }
1286
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1287
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTile, selector: "six-tile", inputs: { closeable: "closeable", disableTooltip: "disableTooltip", disabled: "disabled", elevated: "elevated", iconName: "iconName", label: "label", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1288
+ };
1289
+ SixTile = __decorate([
1290
+ ProxyCmp({
1291
+ inputs: ['closeable', 'disableTooltip', 'disabled', 'elevated', 'iconName', 'label', 'size'],
1292
+ methods: ['hide', 'show']
1293
+ })
1294
+ ], SixTile);
1295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTile, decorators: [{
1296
+ type: Component,
1297
+ args: [{
1298
+ selector: 'six-tile',
1299
+ changeDetection: ChangeDetectionStrategy.OnPush,
1300
+ template: '<ng-content></ng-content>',
1301
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1302
+ inputs: ['closeable', 'disableTooltip', 'disabled', 'elevated', 'iconName', 'label', 'size'],
1303
+ }]
1304
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1305
+ let SixTimepicker = class SixTimepicker {
1306
+ constructor(c, r, z) {
1307
+ this.z = z;
1308
+ c.detach();
1309
+ this.el = r.nativeElement;
1310
+ proxyOutputs(this, this.el, ['six-timepicker-change', 'six-timepicker-change-debounced', 'six-timepicker-clear']);
1311
+ }
1312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTimepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1313
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTimepicker, selector: "six-timepicker", inputs: { clearable: "clearable", debounce: "debounce", defaultTime: "defaultTime", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", format: "format", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", interval: "interval", invalid: "invalid", label: "label", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", separator: "separator", size: "size", timeout: "timeout", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1314
+ };
1315
+ SixTimepicker = __decorate([
1316
+ ProxyCmp({
1317
+ inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1318
+ methods: ['setFocus']
1319
+ })
1320
+ ], SixTimepicker);
1321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTimepicker, decorators: [{
1322
+ type: Component,
1323
+ args: [{
1324
+ selector: 'six-timepicker',
1325
+ changeDetection: ChangeDetectionStrategy.OnPush,
1326
+ template: '<ng-content></ng-content>',
1327
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1328
+ inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1329
+ }]
1330
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1331
+ let SixTooltip = class SixTooltip {
1332
+ constructor(c, r, z) {
1333
+ this.z = z;
1334
+ c.detach();
1335
+ this.el = r.nativeElement;
1336
+ proxyOutputs(this, this.el, ['six-tooltip-show', 'six-tooltip-after-show', 'six-tooltip-hide', 'six-tooltip-after-hide']);
1337
+ }
1338
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1339
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixTooltip, selector: "six-tooltip", inputs: { content: "content", disabled: "disabled", distance: "distance", open: "open", placement: "placement", skidding: "skidding", trigger: "trigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1340
+ };
1341
+ SixTooltip = __decorate([
1342
+ ProxyCmp({
1343
+ inputs: ['content', 'disabled', 'distance', 'open', 'placement', 'skidding', 'trigger'],
1344
+ methods: ['show', 'hide']
1345
+ })
1346
+ ], SixTooltip);
1347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixTooltip, decorators: [{
1348
+ type: Component,
1349
+ args: [{
1350
+ selector: 'six-tooltip',
1351
+ changeDetection: ChangeDetectionStrategy.OnPush,
1352
+ template: '<ng-content></ng-content>',
1353
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1354
+ inputs: ['content', 'disabled', 'distance', 'open', 'placement', 'skidding', 'trigger'],
1355
+ }]
1356
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1357
+
1358
+ const DIRECTIVES = [
1359
+ SixAlert,
1360
+ SixAvatar,
1361
+ SixBadge,
1362
+ SixButton,
1363
+ SixCard,
1364
+ SixCheckbox,
1365
+ SixDatepicker,
1366
+ SixDetails,
1367
+ SixDialog,
1368
+ SixDrawer,
1369
+ SixDropdown,
1370
+ SixError,
1371
+ SixErrorPage,
1372
+ SixFileList,
1373
+ SixFileListItem,
1374
+ SixFileUpload,
1375
+ SixFooter,
1376
+ SixGroupLabel,
1377
+ SixHeader,
1378
+ SixIcon,
1379
+ SixIconButton,
1380
+ SixInput,
1381
+ SixItemPicker,
1382
+ SixLanguageSwitcher,
1383
+ SixLayoutGrid,
1384
+ SixMainContainer,
1385
+ SixMenu,
1386
+ SixMenuDivider,
1387
+ SixMenuItem,
1388
+ SixMenuLabel,
1389
+ SixPicto,
1390
+ SixProgressBar,
1391
+ SixProgressRing,
1392
+ SixRadio,
1393
+ SixRange,
1394
+ SixRoot,
1395
+ SixSearchField,
1396
+ SixSelect,
1397
+ SixSidebar,
1398
+ SixSidebarItem,
1399
+ SixSidebarItemGroup,
1400
+ SixSpinner,
1401
+ SixStageIndicator,
1402
+ SixSwitch,
1403
+ SixTab,
1404
+ SixTabGroup,
1405
+ SixTabPanel,
1406
+ SixTag,
1407
+ SixTextarea,
1408
+ SixTile,
1409
+ SixTimepicker,
1410
+ SixTooltip
1411
+ ];
1412
+
1413
+ class ValidationMessagesService {
1414
+ getErrorMessage(language, error) {
1415
+ return getErrorMessage(language, error);
1416
+ }
1417
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValidationMessagesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1418
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValidationMessagesService, providedIn: 'root' }); }
1419
+ }
1420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValidationMessagesService, decorators: [{
1421
+ type: Injectable,
1422
+ args: [{ providedIn: 'root' }]
1423
+ }] });
1424
+
1425
+ class ValueAccessor {
1426
+ constructor(injector, el) {
1427
+ this.injector = injector;
1428
+ this.el = el;
1429
+ this.validationMessagesService = inject(ValidationMessagesService);
1430
+ this.onChange = () => { };
1431
+ this.onTouched = () => { };
1432
+ }
1433
+ registerOnChange(fn) {
1434
+ this.onChange = fn;
1435
+ }
1436
+ registerOnTouched(fn) {
1437
+ this.onTouched = fn;
1438
+ }
1439
+ writeValue(value) {
1440
+ this.el.nativeElement.value = value;
1441
+ this.updateValidation();
1442
+ }
1443
+ /**
1444
+ * Notifies the ControlValueAccessor of a change in the value of the control.
1445
+ *
1446
+ * This is called by each of the ValueAccessor directives when we want to update
1447
+ * the status and validity of the form control. For example with text components this
1448
+ * is called when the input event is fired. For select components this is called
1449
+ * when the change event is fired.
1450
+ *
1451
+ * This also updates the form status on the element by setting the 'invalid' property to true/false.
1452
+ *
1453
+ * @param el The component element.
1454
+ * @param value The new value of the control.
1455
+ */
1456
+ handleValueChange(el, value) {
1457
+ if (el === this.el.nativeElement) {
1458
+ this.onChange(value);
1459
+ this.updateValidation();
1460
+ }
1461
+ }
1462
+ _handleBlurEvent(el) {
1463
+ if (el === this.el.nativeElement) {
1464
+ this.onTouched();
1465
+ this.updateValidation();
1466
+ }
1467
+ }
1468
+ updateValidation() {
1469
+ nextTick(() => {
1470
+ if (this.ngControl?.control == null)
1471
+ return;
1472
+ const element = this.el.nativeElement;
1473
+ const control = this.ngControl?.control;
1474
+ const invalid = control.status === 'INVALID' && control.dirty && control.touched;
1475
+ let errorTexts;
1476
+ if (invalid) {
1477
+ errorTexts = this.initialErrorText || this.getErrorTexts(control);
1478
+ }
1479
+ element.invalid = invalid;
1480
+ element.errorText = errorTexts ?? '';
1481
+ });
1482
+ }
1483
+ setDisabledState(isDisabled) {
1484
+ this.el.nativeElement.disabled = isDisabled;
1485
+ }
1486
+ ngOnDestroy() {
1487
+ if (this.statusChanges) {
1488
+ this.statusChanges.unsubscribe();
1489
+ }
1490
+ }
1491
+ ngAfterViewInit() {
1492
+ this.initialErrorText = this.el.nativeElement?.errorText?.trim() || undefined;
1493
+ try {
1494
+ this.ngControl = this.injector.get(NgControl);
1495
+ }
1496
+ catch {
1497
+ /* No FormControl or ngModel binding */
1498
+ }
1499
+ if (!this.ngControl) {
1500
+ return;
1501
+ }
1502
+ // Listen for changes in validity, disabled, or pending states
1503
+ if (this.ngControl.statusChanges) {
1504
+ this.statusChanges = this.ngControl.statusChanges.subscribe(() => this.updateValidation());
1505
+ }
1506
+ /**
1507
+ * TODO FW-2787: Remove this in favor of https://github.com/angular/angular/issues/10887
1508
+ * whenever it is implemented.
1509
+ */
1510
+ const formControl = this.ngControl.control;
1511
+ if (formControl) {
1512
+ const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
1513
+ methodsToPatch.forEach((method) => {
1514
+ if (typeof formControl[method] !== 'undefined') {
1515
+ const oldFn = formControl[method].bind(formControl);
1516
+ formControl[method] = (...params) => {
1517
+ oldFn(...params);
1518
+ this.updateValidation();
1519
+ };
1520
+ }
1521
+ });
1522
+ }
1523
+ }
1524
+ getErrorTexts(control) {
1525
+ if (control.errors == null) {
1526
+ console.warn('no errors for invalid control', control);
1527
+ return [];
1528
+ }
1529
+ const errorList = Object.entries(control.errors);
1530
+ if (errorList.length <= 0) {
1531
+ console.warn('no errors for invalid control', control);
1532
+ return [];
1533
+ }
1534
+ return errorList.map((error) => {
1535
+ const [key, value] = error;
1536
+ return (this.validationMessagesService.getErrorMessage(getLanguage(), { key: key, ...value }) ?? key);
1537
+ });
1538
+ }
1539
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1540
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ValueAccessor, host: { listeners: { "blur": "_handleBlurEvent($event.target)" } }, ngImport: i0 }); }
1541
+ }
1542
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
1543
+ type: Directive
1544
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
1545
+ type: HostListener,
1546
+ args: ['blur', ['$event.target']]
1547
+ }] } });
1548
+ const nextTick = (h) => {
1549
+ if (typeof __zone_symbol__requestAnimationFrame === 'function') {
1550
+ return __zone_symbol__requestAnimationFrame(h);
1551
+ }
1552
+ if (typeof requestAnimationFrame === 'function') {
1553
+ return requestAnimationFrame(h);
1554
+ }
1555
+ return setTimeout(h);
1556
+ };
1557
+
1558
+ class TextValueAccessor extends ValueAccessor {
1559
+ constructor(injector, el) {
1560
+ super(injector, el);
1561
+ }
1562
+ handleInputEvent(el) {
1563
+ this.handleValueChange(el, el.value);
1564
+ }
1565
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1566
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextValueAccessor, selector: "six-input:not([type=number]),six-textarea", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
1567
+ {
1568
+ provide: NG_VALUE_ACCESSOR,
1569
+ useExisting: TextValueAccessor,
1570
+ multi: true,
1571
+ },
1572
+ ], usesInheritance: true, ngImport: i0 }); }
1573
+ }
1574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextValueAccessor, decorators: [{
1575
+ type: Directive,
1576
+ args: [{
1577
+ selector: 'six-input:not([type=number]),six-textarea',
1578
+ providers: [
1579
+ {
1580
+ provide: NG_VALUE_ACCESSOR,
1581
+ useExisting: TextValueAccessor,
1582
+ multi: true,
1583
+ },
1584
+ ],
1585
+ }]
1586
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1587
+ type: HostListener,
1588
+ args: ['input', ['$event.target']]
1589
+ }] } });
1590
+
1591
+ class NumericValueAccessor extends ValueAccessor {
1592
+ constructor(injector, el) {
1593
+ super(injector, el);
1594
+ }
1595
+ handleInputEvent(el) {
1596
+ this.handleValueChange(el, el.value);
1597
+ }
1598
+ registerOnChange(fn) {
1599
+ super.registerOnChange((value) => {
1600
+ fn(value === '' ? null : parseFloat(value));
1601
+ });
1602
+ }
1603
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumericValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1604
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NumericValueAccessor, selector: "six-input[type=number]", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
1605
+ {
1606
+ provide: NG_VALUE_ACCESSOR,
1607
+ useExisting: NumericValueAccessor,
1608
+ multi: true,
1609
+ },
1610
+ ], usesInheritance: true, ngImport: i0 }); }
1611
+ }
1612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumericValueAccessor, decorators: [{
1613
+ type: Directive,
1614
+ args: [{
1615
+ selector: 'six-input[type=number]',
1616
+ providers: [
1617
+ {
1618
+ provide: NG_VALUE_ACCESSOR,
1619
+ useExisting: NumericValueAccessor,
1620
+ multi: true,
1621
+ },
1622
+ ],
1623
+ }]
1624
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1625
+ type: HostListener,
1626
+ args: ['input', ['$event.target']]
1627
+ }] } });
1628
+
1629
+ class RadioValueAccessor extends ValueAccessor {
1630
+ constructor(injector, el) {
1631
+ super(injector, el);
1632
+ }
1633
+ handleChangeEvent(el) {
1634
+ this.handleValueChange(el, this.value);
1635
+ }
1636
+ ngOnInit() {
1637
+ this.checkName();
1638
+ }
1639
+ writeValue(value) {
1640
+ this.el.nativeElement.checked = value === this.value;
1641
+ this.updateValidation();
1642
+ }
1643
+ checkName() {
1644
+ if (this.name && this.formControlName && this.name !== this.formControlName) {
1645
+ throw new Error(`
1646
+ If you define both a name and a formControlName attribute on your radio button, their values
1647
+ must match. Ex: <six-input type="radio" formControlName="food" name="food">
1648
+ `);
1649
+ }
1650
+ if (!this.name && this.formControlName) {
1651
+ this.name = this.formControlName;
1652
+ this.el.nativeElement.name = this.formControlName;
1653
+ }
1654
+ }
1655
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1656
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RadioValueAccessor, selector: "six-radio", inputs: { value: "value", formControlName: "formControlName", name: "name" }, host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1657
+ {
1658
+ provide: NG_VALUE_ACCESSOR,
1659
+ useExisting: RadioValueAccessor,
1660
+ multi: true,
1661
+ },
1662
+ ], usesInheritance: true, ngImport: i0 }); }
1663
+ }
1664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioValueAccessor, decorators: [{
1665
+ type: Directive,
1666
+ args: [{
1667
+ selector: 'six-radio',
1668
+ providers: [
1669
+ {
1670
+ provide: NG_VALUE_ACCESSOR,
1671
+ useExisting: RadioValueAccessor,
1672
+ multi: true,
1673
+ },
1674
+ ],
1675
+ }]
1676
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
1677
+ type: Input
1678
+ }], formControlName: [{
1679
+ type: Input
1680
+ }], name: [{
1681
+ type: Input
1682
+ }], handleChangeEvent: [{
1683
+ type: HostListener,
1684
+ args: ['change', ['$event.target']]
1685
+ }] } });
1686
+
1687
+ class DatepickerValueAccessor extends ValueAccessor {
1688
+ constructor(injector, el) {
1689
+ super(injector, el);
1690
+ }
1691
+ handleChangeEvent(el) {
1692
+ this.handleValueChange(el, el.value);
1693
+ }
1694
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1695
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DatepickerValueAccessor, selector: "six-datepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1696
+ {
1697
+ provide: NG_VALUE_ACCESSOR,
1698
+ useExisting: DatepickerValueAccessor,
1699
+ multi: true,
1700
+ },
1701
+ ], usesInheritance: true, ngImport: i0 }); }
1702
+ }
1703
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerValueAccessor, decorators: [{
1704
+ type: Directive,
1705
+ args: [{
1706
+ selector: 'six-datepicker',
1707
+ providers: [
1708
+ {
1709
+ provide: NG_VALUE_ACCESSOR,
1710
+ useExisting: DatepickerValueAccessor,
1711
+ multi: true,
1712
+ },
1713
+ ],
1714
+ }]
1715
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
1716
+ type: HostListener,
1717
+ args: ['change', ['$event.target']]
1718
+ }] } });
1719
+
1720
+ /**
1721
+ * This directive intercepts the ngSubmit event of an Angular form and introduces
1722
+ * a supplementary event named sixSubmit. The sixSubmit event is triggered exclusively
1723
+ * when the form is valid. In cases where the form is considered invalid, this directive
1724
+ * takes proactive actions by marking all form controls as touched and dirty. Additionally,
1725
+ * it shifts the focus to the initial invalid form element, facilitating quick error
1726
+ * resolution.
1727
+ *
1728
+ * To utilize this directive, apply it to an Angular form.
1729
+ * ```html
1730
+ * <form [formGroup]="form" sixForm (sixSubmit)="onSubmit($event)">
1731
+ * <!-- form content -->
1732
+ * </form>
1733
+ * ```
1734
+ *
1735
+ * For users needing greater flexibility in determining when error messages are displayed,
1736
+ * or for those who prefer not to rely solely on the form submission event,
1737
+ * an alternative is to use the SixFormUtilDirective.
1738
+ */
1739
+ class SixFormDirective {
1740
+ onNgSubmit(event) {
1741
+ if (this.formGroupDirective.invalid) {
1742
+ focusInvalidField(this.formGroupDirective, this.elementRef);
1743
+ }
1744
+ else {
1745
+ this.sixSubmit.emit(event);
1746
+ }
1747
+ }
1748
+ constructor(elementRef, formGroupDirective) {
1749
+ this.elementRef = elementRef;
1750
+ this.formGroupDirective = formGroupDirective;
1751
+ /**
1752
+ * Emits an event when the form is valid and the form submission has been triggered.
1753
+ */
1754
+ this.sixSubmit = new EventEmitter();
1755
+ }
1756
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFormDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
1757
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SixFormDirective, selector: "form[sixForm]", outputs: { sixSubmit: "sixSubmit" }, host: { listeners: { "ngSubmit": "onNgSubmit($event)" } }, ngImport: i0 }); }
1758
+ }
1759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFormDirective, decorators: [{
1760
+ type: Directive,
1761
+ args: [{
1762
+ selector: 'form[sixForm]',
1763
+ }]
1764
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; }, propDecorators: { sixSubmit: [{
1765
+ type: Output
1766
+ }], onNgSubmit: [{
1767
+ type: HostListener,
1768
+ args: ['ngSubmit', ['$event']]
1769
+ }] } });
1770
+ /**
1771
+ * This directive provides a utility method, that marks all form controls
1772
+ * as touched and dirty, and focuses the first invalid form element.
1773
+ *
1774
+ * To utilize this directive, apply it to an Angular form.
1775
+ * ```html
1776
+ * <form [formGroup]="form" sixFormUtil (ngSubmit)="onSubmit($event)">
1777
+ * <!-- form content -->
1778
+ * </form>
1779
+ * ```
1780
+ *
1781
+ * Then, get a reference to the directive and invoke `focusInvalidField()` if the
1782
+ * form is invalid:
1783
+ * ```ts
1784
+ * @ViewChild(SixFormUtilDirective) sixFormUtil!: SixFormUtilDirective;
1785
+ * // ...
1786
+ * onSubmit() {
1787
+ * if (this.form.invalid) {
1788
+ * this.sixFormUtil.focusInvalidField();
1789
+ * } else {
1790
+ * // ...
1791
+ * }
1792
+ * }
1793
+ * ```
1794
+ */
1795
+ class SixFormUtilDirective {
1796
+ constructor(elementRef, formGroupDirective) {
1797
+ this.elementRef = elementRef;
1798
+ this.formGroupDirective = formGroupDirective;
1799
+ }
1800
+ /** markAllControlsAsDirty(Object.values(formGroup.controls));
1801
+ * Marks all form controls as touched and dirty, and focuses the first
1802
+ * invalid form element.
1803
+ */
1804
+ focusInvalidField() {
1805
+ focusInvalidField(this.formGroupDirective, this.elementRef);
1806
+ }
1807
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFormUtilDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
1808
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SixFormUtilDirective, selector: "[sixFormUtil]", ngImport: i0 }); }
1809
+ }
1810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFormUtilDirective, decorators: [{
1811
+ type: Directive,
1812
+ args: [{
1813
+ selector: '[sixFormUtil]',
1814
+ }]
1815
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; } });
1816
+ function focusInvalidField(formGroupDirective, formElement) {
1817
+ formGroupDirective.form.markAllAsTouched();
1818
+ markAllAsDirty([formGroupDirective.form]);
1819
+ const invalidElement = getInvalidElement(formElement.nativeElement);
1820
+ if ('setFocus' in invalidElement && typeof invalidElement?.setFocus === 'function') {
1821
+ invalidElement.setFocus();
1822
+ }
1823
+ if ('focus' in invalidElement && typeof invalidElement?.focus === 'function') {
1824
+ invalidElement.focus();
1825
+ }
1826
+ }
1827
+ function getInvalidElement(parent) {
1828
+ const invalidElement = parent.querySelector('.ng-invalid');
1829
+ if (invalidElement == null) {
1830
+ return parent;
1831
+ }
1832
+ return getInvalidElement(invalidElement);
1833
+ }
1834
+ function markAllAsDirty(controls) {
1835
+ controls.forEach((control) => {
1836
+ if (control instanceof FormControl) {
1837
+ control.markAsDirty({ onlySelf: true });
1838
+ }
1839
+ else if (control instanceof FormGroup) {
1840
+ control.markAsDirty({ onlySelf: true });
1841
+ markAllAsDirty(Object.values(control.controls));
1842
+ }
1843
+ else if (control instanceof FormArray) {
1844
+ control.markAsDirty({ onlySelf: true });
1845
+ markAllAsDirty(control.controls);
1846
+ }
1847
+ });
1848
+ }
1849
+
1850
+ class SixUiLibraryValidators {
1851
+ static minDate(mindate) {
1852
+ return (control) => {
1853
+ if (control.value == null)
1854
+ return null;
1855
+ const actualDate = control.value;
1856
+ return actualDate.getTime() >= mindate.getTime() ? null : { mindate: { mindate, actual: actualDate } };
1857
+ };
1858
+ }
1859
+ static maxDate(maxdate) {
1860
+ return (control) => {
1861
+ if (control.value == null)
1862
+ return null;
1863
+ const actualDate = control.value;
1864
+ return actualDate.getTime() <= maxdate.getTime() ? null : { maxdate: { maxdate, actual: actualDate } };
1865
+ };
1866
+ }
1867
+ static allowedDates(allowedDates = () => true) {
1868
+ return (control) => {
1869
+ if (control.value == null)
1870
+ return null;
1871
+ const allowed = allowedDates(control.value);
1872
+ return allowed ? null : { invaliddate: { actual: control.value } };
1873
+ };
1874
+ }
1875
+ }
1876
+ class MinDateValidator {
1877
+ validate(control) {
1878
+ if (this.min != null) {
1879
+ return SixUiLibraryValidators.minDate(this.min)(control);
1880
+ }
1881
+ return null;
1882
+ }
1883
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1884
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MinDateValidator, selector: "six-datepicker[min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }], ngImport: i0 }); }
1885
+ }
1886
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidator, decorators: [{
1887
+ type: Directive,
1888
+ args: [{
1889
+ selector: 'six-datepicker[min]',
1890
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }],
1891
+ }]
1892
+ }], propDecorators: { min: [{
1893
+ type: Input
1894
+ }] } });
1895
+ class MaxDateValidator {
1896
+ validate(control) {
1897
+ if (this.max != null) {
1898
+ return SixUiLibraryValidators.maxDate(this.max)(control);
1899
+ }
1900
+ return null;
1901
+ }
1902
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1903
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MaxDateValidator, selector: "six-datepicker[max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }], ngImport: i0 }); }
1904
+ }
1905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidator, decorators: [{
1906
+ type: Directive,
1907
+ args: [{
1908
+ selector: 'six-datepicker[max]',
1909
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }],
1910
+ }]
1911
+ }], propDecorators: { max: [{
1912
+ type: Input
1913
+ }] } });
1914
+ class AllowedDatesValidator {
1915
+ constructor() {
1916
+ this.allowedDates = () => true;
1917
+ }
1918
+ validate(control) {
1919
+ return SixUiLibraryValidators.allowedDates(this.allowedDates)(control);
1920
+ }
1921
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1922
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AllowedDatesValidator, selector: "six-datepicker[allowedDates]", inputs: { allowedDates: "allowedDates" }, providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }], ngImport: i0 }); }
1923
+ }
1924
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidator, decorators: [{
1925
+ type: Directive,
1926
+ args: [{
1927
+ selector: 'six-datepicker[allowedDates]',
1928
+ providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }],
1929
+ }]
1930
+ }], propDecorators: { allowedDates: [{
1931
+ type: Input
1932
+ }] } });
1933
+ class MinValidator {
1934
+ validate(control) {
1935
+ return Validators.min(toFloat(this.min))(control);
1936
+ }
1937
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1938
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MinValidator, selector: "six-input[type=number][min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }], ngImport: i0 }); }
1939
+ }
1940
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinValidator, decorators: [{
1941
+ type: Directive,
1942
+ args: [{
1943
+ selector: 'six-input[type=number][min]',
1944
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }],
1945
+ }]
1946
+ }], propDecorators: { min: [{
1947
+ type: Input
1948
+ }] } });
1949
+ class MaxValidator {
1950
+ validate(control) {
1951
+ return Validators.max(toFloat(this.max))(control);
1952
+ }
1953
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1954
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MaxValidator, selector: "six-input[type=number][max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }], ngImport: i0 }); }
1955
+ }
1956
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxValidator, decorators: [{
1957
+ type: Directive,
1958
+ args: [{
1959
+ selector: 'six-input[type=number][max]',
1960
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }],
1961
+ }]
1962
+ }], propDecorators: { max: [{
1963
+ type: Input
1964
+ }] } });
1965
+ function toFloat(value) {
1966
+ return typeof value === 'number' ? value : parseFloat(value);
1967
+ }
1968
+
1969
+ class SelectValueAccessor extends ValueAccessor {
1970
+ constructor(injector, el) {
1971
+ super(injector, el);
1972
+ }
1973
+ handleChangeEvent(el) {
1974
+ this.handleValueChange(el, el.value);
1975
+ }
1976
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1977
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectValueAccessor, selector: "six-select", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1978
+ {
1979
+ provide: NG_VALUE_ACCESSOR,
1980
+ useExisting: SelectValueAccessor,
1981
+ multi: true,
1982
+ },
1983
+ ], usesInheritance: true, ngImport: i0 }); }
1984
+ }
1985
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectValueAccessor, decorators: [{
1986
+ type: Directive,
1987
+ args: [{
1988
+ selector: 'six-select',
1989
+ providers: [
1990
+ {
1991
+ provide: NG_VALUE_ACCESSOR,
1992
+ useExisting: SelectValueAccessor,
1993
+ multi: true,
1994
+ },
1995
+ ],
1996
+ }]
1997
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
1998
+ type: HostListener,
1999
+ args: ['change', ['$event.target']]
2000
+ }] } });
2001
+
2002
+ class CheckboxValueAccessor extends ValueAccessor {
2003
+ constructor(injector, el) {
2004
+ super(injector, el);
2005
+ }
2006
+ handleChangeEvent(el) {
2007
+ this.handleValueChange(el, el.checked);
2008
+ }
2009
+ writeValue(value) {
2010
+ this.el.nativeElement.checked = value === true;
2011
+ this.updateValidation();
2012
+ }
2013
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2014
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxValueAccessor, selector: "six-checkbox", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2015
+ {
2016
+ provide: NG_VALUE_ACCESSOR,
2017
+ useExisting: CheckboxValueAccessor,
2018
+ multi: true,
2019
+ },
2020
+ ], usesInheritance: true, ngImport: i0 }); }
2021
+ }
2022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxValueAccessor, decorators: [{
2023
+ type: Directive,
2024
+ args: [{
2025
+ selector: 'six-checkbox',
2026
+ providers: [
2027
+ {
2028
+ provide: NG_VALUE_ACCESSOR,
2029
+ useExisting: CheckboxValueAccessor,
2030
+ multi: true,
2031
+ },
2032
+ ],
2033
+ }]
2034
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2035
+ type: HostListener,
2036
+ args: ['change', ['$event.target']]
2037
+ }] } });
2038
+
2039
+ class RangeValueAccessor extends ValueAccessor {
2040
+ constructor(injector, el) {
2041
+ super(injector, el);
2042
+ }
2043
+ handleInputEvent(el) {
2044
+ this.handleValueChange(el, el.value);
2045
+ }
2046
+ registerOnChange(fn) {
2047
+ super.registerOnChange((value) => {
2048
+ fn(value === '' ? null : parseFloat(value));
2049
+ });
2050
+ }
2051
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RangeValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2052
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RangeValueAccessor, selector: "six-range", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
2053
+ {
2054
+ provide: NG_VALUE_ACCESSOR,
2055
+ useExisting: RangeValueAccessor,
2056
+ multi: true,
2057
+ },
2058
+ ], usesInheritance: true, ngImport: i0 }); }
2059
+ }
2060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RangeValueAccessor, decorators: [{
2061
+ type: Directive,
2062
+ args: [{
2063
+ selector: 'six-range',
2064
+ providers: [
2065
+ {
2066
+ provide: NG_VALUE_ACCESSOR,
2067
+ useExisting: RangeValueAccessor,
2068
+ multi: true,
2069
+ },
2070
+ ],
2071
+ }]
2072
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2073
+ type: HostListener,
2074
+ args: ['input', ['$event.target']]
2075
+ }] } });
2076
+
2077
+ class SwitchValueAccessor extends ValueAccessor {
2078
+ constructor(injector, el) {
2079
+ super(injector, el);
2080
+ }
2081
+ handleChangeEvent(el) {
2082
+ this.handleValueChange(el, el.checked);
2083
+ }
2084
+ writeValue(value) {
2085
+ this.el.nativeElement.checked = value === true;
2086
+ this.updateValidation();
2087
+ }
2088
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2089
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SwitchValueAccessor, selector: "six-switch", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2090
+ {
2091
+ provide: NG_VALUE_ACCESSOR,
2092
+ useExisting: SwitchValueAccessor,
2093
+ multi: true,
2094
+ },
2095
+ ], usesInheritance: true, ngImport: i0 }); }
2096
+ }
2097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchValueAccessor, decorators: [{
2098
+ type: Directive,
2099
+ args: [{
2100
+ selector: 'six-switch',
2101
+ providers: [
2102
+ {
2103
+ provide: NG_VALUE_ACCESSOR,
2104
+ useExisting: SwitchValueAccessor,
2105
+ multi: true,
2106
+ },
2107
+ ],
2108
+ }]
2109
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2110
+ type: HostListener,
2111
+ args: ['change', ['$event.target']]
2112
+ }] } });
2113
+
2114
+ class TimepickerValueAccessor extends ValueAccessor {
2115
+ constructor(injector, el) {
2116
+ super(injector, el);
2117
+ }
2118
+ handleChangeEvent(el) {
2119
+ this.handleValueChange(el, el.value);
2120
+ }
2121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2122
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimepickerValueAccessor, selector: "six-timepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2123
+ {
2124
+ provide: NG_VALUE_ACCESSOR,
2125
+ useExisting: TimepickerValueAccessor,
2126
+ multi: true,
2127
+ },
2128
+ ], usesInheritance: true, ngImport: i0 }); }
2129
+ }
2130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimepickerValueAccessor, decorators: [{
2131
+ type: Directive,
2132
+ args: [{
2133
+ selector: 'six-timepicker',
2134
+ providers: [
2135
+ {
2136
+ provide: NG_VALUE_ACCESSOR,
2137
+ useExisting: TimepickerValueAccessor,
2138
+ multi: true,
2139
+ },
2140
+ ],
2141
+ }]
2142
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2143
+ type: HostListener,
2144
+ args: ['change', ['$event.target']]
2145
+ }] } });
2146
+
2147
+ /**
2148
+ * Forked from https://github.com/ionic-team/ionic-framework/blob/main/packages/angular/common/src/directives/navigation/router-link-delegate.ts.
2149
+ */
2150
+ class SixRouterLinkDirective {
2151
+ constructor(locationStrategy, elementRef, router, renderer, routerLinkDirective) {
2152
+ this.locationStrategy = locationStrategy;
2153
+ this.elementRef = elementRef;
2154
+ this.router = router;
2155
+ this.renderer = renderer;
2156
+ this.routerLinkDirective = routerLinkDirective;
2157
+ }
2158
+ onClick(event) {
2159
+ // Prevents the browser from performing a page reload when pressing a SIX-component with routerLink.
2160
+ event.preventDefault();
2161
+ }
2162
+ ngOnInit() {
2163
+ this.updateTargetUrlAndHref();
2164
+ }
2165
+ ngOnChanges() {
2166
+ this.updateTargetUrlAndHref();
2167
+ }
2168
+ updateTargetUrlAndHref() {
2169
+ if (this.routerLinkDirective?.urlTree) {
2170
+ const url = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLinkDirective.urlTree));
2171
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'href', url);
2172
+ }
2173
+ }
2174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRouterLinkDirective, deps: [{ token: i1$1.LocationStrategy }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.Renderer2 }, { token: i2.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
2175
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SixRouterLinkDirective, selector: "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]", inputs: { routerLink: "routerLink", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", relativeTo: "relativeTo" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
2176
+ }
2177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRouterLinkDirective, decorators: [{
2178
+ type: Directive,
2179
+ args: [{
2180
+ selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]',
2181
+ }]
2182
+ }], ctorParameters: function () { return [{ type: i1$1.LocationStrategy }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.Renderer2 }, { type: i2.RouterLink, decorators: [{
2183
+ type: Optional
2184
+ }] }]; }, propDecorators: { onClick: [{
2185
+ type: HostListener,
2186
+ args: ['click', ['$event']]
2187
+ }], routerLink: [{
2188
+ type: Input
2189
+ }], queryParams: [{
2190
+ type: Input
2191
+ }], fragment: [{
2192
+ type: Input
2193
+ }], queryParamsHandling: [{
2194
+ type: Input
2195
+ }], relativeTo: [{
2196
+ type: Input
2197
+ }] } });
2198
+
2199
+ class UiLibraryAngularModule {
2200
+ static forRoot(customValidationMessagesService) {
2201
+ return {
2202
+ ngModule: UiLibraryAngularModule,
2203
+ providers: [
2204
+ {
2205
+ provide: APP_INITIALIZER,
2206
+ useFactory: () => async () => defineCustomElements(),
2207
+ multi: true,
2208
+ },
2209
+ { provide: ValidationMessagesService, useClass: customValidationMessagesService ?? ValidationMessagesService },
2210
+ ],
2211
+ };
2212
+ }
2213
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2214
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, declarations: [SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2215
+ // value accessors
2216
+ TextValueAccessor,
2217
+ NumericValueAccessor,
2218
+ RadioValueAccessor,
2219
+ DatepickerValueAccessor,
2220
+ TimepickerValueAccessor,
2221
+ SelectValueAccessor,
2222
+ CheckboxValueAccessor,
2223
+ SwitchValueAccessor,
2224
+ RangeValueAccessor,
2225
+ // validators
2226
+ MinValidator,
2227
+ MaxValidator,
2228
+ MinDateValidator,
2229
+ MaxDateValidator,
2230
+ AllowedDatesValidator,
2231
+ // form helpers
2232
+ SixFormDirective,
2233
+ SixFormUtilDirective,
2234
+ // router link directive
2235
+ SixRouterLinkDirective], exports: [SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2236
+ // value accessors
2237
+ TextValueAccessor,
2238
+ NumericValueAccessor,
2239
+ RadioValueAccessor,
2240
+ DatepickerValueAccessor,
2241
+ TimepickerValueAccessor,
2242
+ SelectValueAccessor,
2243
+ CheckboxValueAccessor,
2244
+ SwitchValueAccessor,
2245
+ RangeValueAccessor,
2246
+ // validators
2247
+ MinValidator,
2248
+ MaxValidator,
2249
+ MinDateValidator,
2250
+ MaxDateValidator,
2251
+ AllowedDatesValidator,
2252
+ // form helpers
2253
+ SixFormDirective,
2254
+ SixFormUtilDirective,
2255
+ // router link directive
2256
+ SixRouterLinkDirective] }); }
2257
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule }); }
2258
+ }
2259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
2260
+ type: NgModule,
2261
+ args: [{
2262
+ declarations: [
2263
+ // proxies
2264
+ ...DIRECTIVES,
2265
+ // value accessors
2266
+ TextValueAccessor,
2267
+ NumericValueAccessor,
2268
+ RadioValueAccessor,
2269
+ DatepickerValueAccessor,
2270
+ TimepickerValueAccessor,
2271
+ SelectValueAccessor,
2272
+ CheckboxValueAccessor,
2273
+ SwitchValueAccessor,
2274
+ RangeValueAccessor,
2275
+ // validators
2276
+ MinValidator,
2277
+ MaxValidator,
2278
+ MinDateValidator,
2279
+ MaxDateValidator,
2280
+ AllowedDatesValidator,
2281
+ // form helpers
2282
+ SixFormDirective,
2283
+ SixFormUtilDirective,
2284
+ // router link directive
2285
+ SixRouterLinkDirective,
2286
+ ],
2287
+ imports: [],
2288
+ exports: [
2289
+ // proxies
2290
+ ...DIRECTIVES,
2291
+ // value accessors
2292
+ TextValueAccessor,
2293
+ NumericValueAccessor,
2294
+ RadioValueAccessor,
2295
+ DatepickerValueAccessor,
2296
+ TimepickerValueAccessor,
2297
+ SelectValueAccessor,
2298
+ CheckboxValueAccessor,
2299
+ SwitchValueAccessor,
2300
+ RangeValueAccessor,
2301
+ // validators
2302
+ MinValidator,
2303
+ MaxValidator,
2304
+ MinDateValidator,
2305
+ MaxDateValidator,
2306
+ AllowedDatesValidator,
2307
+ // form helpers
2308
+ SixFormDirective,
2309
+ SixFormUtilDirective,
2310
+ // router link directive
2311
+ SixRouterLinkDirective,
2312
+ ],
2313
+ }]
2314
+ }] });
2315
+
2316
+ class AlertService {
2317
+ constructor() {
2318
+ this.ngZone = inject(NgZone);
2319
+ }
2320
+ /**
2321
+ * Displays an alert as a toast notification.
2322
+ */
2323
+ showAlert(message, alertType, duration, iconName) {
2324
+ this.ngZone.runOutsideAngular(() => showAlert(message, alertType, duration, iconName));
2325
+ }
2326
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2327
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AlertService, providedIn: 'root' }); }
2328
+ }
2329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AlertService, decorators: [{
2330
+ type: Injectable,
2331
+ args: [{ providedIn: 'root' }]
2332
+ }] });
2333
+
2334
+ /*
2335
+ * Public API Surface of ui-library-angular
2336
+ */
2337
+
2338
+ /**
2339
+ * Generated bundle index. Do not edit.
2340
+ */
2341
+
2342
+ export { AlertService, AllowedDatesValidator, CheckboxValueAccessor, DIRECTIVES, DatepickerValueAccessor, MaxDateValidator, MaxValidator, MinDateValidator, MinValidator, NumericValueAccessor, RadioValueAccessor, RangeValueAccessor, SelectValueAccessor, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixFormDirective, SixFormUtilDirective, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixRouterLinkDirective, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip, SixUiLibraryValidators, SwitchValueAccessor, TextValueAccessor, TimepickerValueAccessor, UiLibraryAngularModule, ValidationMessagesService, ValueAccessor };
2343
+ //# sourceMappingURL=six-group-ui-library-angular.mjs.map