@six-group/ui-library-angular 0.0.0-insider.f8b41df → 0.0.0-insider.f8f39e7

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