@six-group/ui-library-angular 0.0.0-insider.e2aca06 → 0.0.0-insider.e3937db

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