@six-group/ui-library-angular 0.0.0-insider.0f961ce → 0.0.0-insider.1a07fa6

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