@six-group/ui-library-angular 0.0.0-insider.0f961ce → 0.0.0-insider.14a7695

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 (38) hide show
  1. package/fesm2022/six-group-ui-library-angular.mjs +2904 -0
  2. package/fesm2022/six-group-ui-library-angular.mjs.map +1 -0
  3. package/lib/control-value-accessors/date-value-accessor.d.ts +10 -0
  4. package/lib/control-value-accessors/radio-value-accessor.d.ts +1 -1
  5. package/lib/control-value-accessors/value-accessor.d.ts +3 -1
  6. package/lib/link/six-router-link.directive.d.ts +26 -0
  7. package/lib/services/alert.service.d.ts +11 -0
  8. package/lib/sidebar/active-sidebar.directive.d.ts +59 -0
  9. package/lib/stencil-generated/components.d.ts +203 -144
  10. package/lib/stencil-generated/index.d.ts +1 -1
  11. package/lib/ui-library-angular-config.d.ts +6 -0
  12. package/lib/ui-library-angular.module.d.ts +13 -9
  13. package/lib/validators/six-ui-library-validators.d.ts +34 -7
  14. package/package.json +8 -14
  15. package/public-api.d.ts +4 -0
  16. package/esm2020/lib/control-value-accessors/checkbox-value-accessor.mjs +0 -41
  17. package/esm2020/lib/control-value-accessors/datepicker-value-accessor.mjs +0 -37
  18. package/esm2020/lib/control-value-accessors/numeric-value-accessor.mjs +0 -42
  19. package/esm2020/lib/control-value-accessors/radio-value-accessor.mjs +0 -62
  20. package/esm2020/lib/control-value-accessors/range-value-accessor.mjs +0 -42
  21. package/esm2020/lib/control-value-accessors/select-value-accessor.mjs +0 -37
  22. package/esm2020/lib/control-value-accessors/switch-value-accessor.mjs +0 -41
  23. package/esm2020/lib/control-value-accessors/text-value-accessor.mjs +0 -37
  24. package/esm2020/lib/control-value-accessors/timepicker-value-accessor.mjs +0 -37
  25. package/esm2020/lib/control-value-accessors/value-accessor.mjs +0 -145
  26. package/esm2020/lib/form/six-form.directive.mjs +0 -134
  27. package/esm2020/lib/services/validation-messages.service.mjs +0 -15
  28. package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +0 -59
  29. package/esm2020/lib/stencil-generated/components.mjs +0 -1372
  30. package/esm2020/lib/stencil-generated/index.mjs +0 -57
  31. package/esm2020/lib/ui-library-angular.module.mjs +0 -126
  32. package/esm2020/lib/validators/six-ui-library-validators.mjs +0 -116
  33. package/esm2020/public-api.mjs +0 -25
  34. package/esm2020/six-group-ui-library-angular.mjs +0 -5
  35. package/fesm2015/six-group-ui-library-angular.mjs +0 -2294
  36. package/fesm2015/six-group-ui-library-angular.mjs.map +0 -1
  37. package/fesm2020/six-group-ui-library-angular.mjs +0 -2291
  38. package/fesm2020/six-group-ui-library-angular.mjs.map +0 -1
@@ -1,2291 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Injectable, inject, Directive, HostListener, Input, EventEmitter, Output, APP_INITIALIZER, NgModule } from '@angular/core';
3
- import { __decorate } from 'tslib';
4
- import { fromEvent } from 'rxjs';
5
- import { defineCustomElements } from '@six-group/ui-library/loader';
6
- import * as i1 from '@angular/forms';
7
- import { NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS, Validators } from '@angular/forms';
8
- import { getErrorMessage } from '@six-group/ui-library';
9
-
10
- /* eslint-disable */
11
- /* tslint:disable */
12
- const proxyInputs = (Cmp, inputs) => {
13
- const Prototype = Cmp.prototype;
14
- inputs.forEach((item) => {
15
- Object.defineProperty(Prototype, item, {
16
- get() {
17
- return this.el[item];
18
- },
19
- set(val) {
20
- this.z.runOutsideAngular(() => (this.el[item] = val));
21
- },
22
- /**
23
- * 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
- if (this.ngControl?.control == null)
1495
- return;
1496
- const element = this.el.nativeElement;
1497
- const control = this.ngControl?.control;
1498
- const invalid = !control.valid && control.dirty && control.touched;
1499
- let errorTexts;
1500
- if (invalid) {
1501
- errorTexts = this.initialErrorText || this.getErrorTexts(control);
1502
- }
1503
- element.invalid = invalid;
1504
- element.errorText = errorTexts ?? '';
1505
- });
1506
- }
1507
- setDisabledState(isDisabled) {
1508
- this.el.nativeElement.disabled = isDisabled;
1509
- }
1510
- ngOnDestroy() {
1511
- if (this.statusChanges) {
1512
- this.statusChanges.unsubscribe();
1513
- }
1514
- }
1515
- ngAfterViewInit() {
1516
- this.initialErrorText = this.el.nativeElement?.errorText?.trim() || undefined;
1517
- try {
1518
- this.ngControl = this.injector.get(NgControl);
1519
- }
1520
- catch {
1521
- /* No FormControl or ngModel binding */
1522
- }
1523
- if (!this.ngControl) {
1524
- return;
1525
- }
1526
- // Listen for changes in validity, disabled, or pending states
1527
- if (this.ngControl.statusChanges) {
1528
- this.statusChanges = this.ngControl.statusChanges.subscribe(() => this.updateValidation());
1529
- }
1530
- /**
1531
- * TODO FW-2787: Remove this in favor of https://github.com/angular/angular/issues/10887
1532
- * whenever it is implemented.
1533
- */
1534
- const formControl = this.ngControl.control;
1535
- if (formControl) {
1536
- const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
1537
- methodsToPatch.forEach((method) => {
1538
- if (typeof formControl[method] !== 'undefined') {
1539
- const oldFn = formControl[method].bind(formControl);
1540
- formControl[method] = (...params) => {
1541
- oldFn(...params);
1542
- this.updateValidation();
1543
- };
1544
- }
1545
- });
1546
- }
1547
- }
1548
- getErrorTexts(control) {
1549
- if (control.errors == null) {
1550
- console.warn('no errors for invalid control', control);
1551
- return [];
1552
- }
1553
- const errorList = Object.entries(control.errors);
1554
- if (errorList.length <= 0) {
1555
- console.warn('no errors for invalid control', control);
1556
- return [];
1557
- }
1558
- return errorList.map((error) => {
1559
- const [key, value] = error;
1560
- return (this.validationMessagesService.getErrorMessage(getLanguage(), { key: key, ...value }) ?? key);
1561
- });
1562
- }
1563
- }
1564
- 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 });
1565
- ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ValueAccessor, host: { listeners: { "blur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
1566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueAccessor, decorators: [{
1567
- type: Directive
1568
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
1569
- type: HostListener,
1570
- args: ['blur', ['$event.target']]
1571
- }] } });
1572
- function getLanguage() {
1573
- const languages = ['de', 'fr', 'it', 'en'];
1574
- const documentLang = document.documentElement.lang;
1575
- if (languages.includes(documentLang)) {
1576
- return documentLang;
1577
- }
1578
- return 'de';
1579
- }
1580
- const nextTick = (h) => {
1581
- if (typeof __zone_symbol__requestAnimationFrame === 'function') {
1582
- return __zone_symbol__requestAnimationFrame(h);
1583
- }
1584
- if (typeof requestAnimationFrame === 'function') {
1585
- return requestAnimationFrame(h);
1586
- }
1587
- return setTimeout(h);
1588
- };
1589
-
1590
- class TextValueAccessor extends ValueAccessor {
1591
- constructor(injector, el) {
1592
- super(injector, el);
1593
- }
1594
- handleInputEvent(el) {
1595
- this.handleValueChange(el, el.value);
1596
- }
1597
- }
1598
- 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 });
1599
- 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: [
1600
- {
1601
- provide: NG_VALUE_ACCESSOR,
1602
- useExisting: TextValueAccessor,
1603
- multi: true,
1604
- },
1605
- ], usesInheritance: true, ngImport: i0 });
1606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextValueAccessor, decorators: [{
1607
- type: Directive,
1608
- args: [{
1609
- selector: 'six-input:not([type=number]),six-textarea',
1610
- providers: [
1611
- {
1612
- provide: NG_VALUE_ACCESSOR,
1613
- useExisting: TextValueAccessor,
1614
- multi: true,
1615
- },
1616
- ],
1617
- }]
1618
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1619
- type: HostListener,
1620
- args: ['input', ['$event.target']]
1621
- }] } });
1622
-
1623
- class NumericValueAccessor extends ValueAccessor {
1624
- constructor(injector, el) {
1625
- super(injector, el);
1626
- }
1627
- handleInputEvent(el) {
1628
- this.handleValueChange(el, el.value);
1629
- }
1630
- registerOnChange(fn) {
1631
- super.registerOnChange((value) => {
1632
- fn(value === '' ? null : parseFloat(value));
1633
- });
1634
- }
1635
- }
1636
- 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 });
1637
- 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: [
1638
- {
1639
- provide: NG_VALUE_ACCESSOR,
1640
- useExisting: NumericValueAccessor,
1641
- multi: true,
1642
- },
1643
- ], usesInheritance: true, ngImport: i0 });
1644
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NumericValueAccessor, decorators: [{
1645
- type: Directive,
1646
- args: [{
1647
- selector: 'six-input[type=number]',
1648
- providers: [
1649
- {
1650
- provide: NG_VALUE_ACCESSOR,
1651
- useExisting: NumericValueAccessor,
1652
- multi: true,
1653
- },
1654
- ],
1655
- }]
1656
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1657
- type: HostListener,
1658
- args: ['input', ['$event.target']]
1659
- }] } });
1660
-
1661
- class RadioValueAccessor extends ValueAccessor {
1662
- constructor(injector, el) {
1663
- super(injector, el);
1664
- }
1665
- handleChangeEvent(el) {
1666
- this.handleValueChange(el, this.value);
1667
- }
1668
- ngOnInit() {
1669
- this.checkName();
1670
- }
1671
- writeValue(value) {
1672
- this.el.nativeElement.checked = value === this.value;
1673
- this.updateValidation();
1674
- }
1675
- checkName() {
1676
- if (this.name && this.formControlName && this.name !== this.formControlName) {
1677
- throw new Error(`
1678
- If you define both a name and a formControlName attribute on your radio button, their values
1679
- must match. Ex: <six-input type="radio" formControlName="food" name="food">
1680
- `);
1681
- }
1682
- if (!this.name && this.formControlName) {
1683
- this.name = this.formControlName;
1684
- this.el.nativeElement.name = this.formControlName;
1685
- }
1686
- }
1687
- }
1688
- 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 });
1689
- 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: [
1690
- {
1691
- provide: NG_VALUE_ACCESSOR,
1692
- useExisting: RadioValueAccessor,
1693
- multi: true,
1694
- },
1695
- ], usesInheritance: true, ngImport: i0 });
1696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioValueAccessor, decorators: [{
1697
- type: Directive,
1698
- args: [{
1699
- selector: 'six-radio',
1700
- providers: [
1701
- {
1702
- provide: NG_VALUE_ACCESSOR,
1703
- useExisting: RadioValueAccessor,
1704
- multi: true,
1705
- },
1706
- ],
1707
- }]
1708
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
1709
- type: Input
1710
- }], formControlName: [{
1711
- type: Input
1712
- }], name: [{
1713
- type: Input
1714
- }], handleChangeEvent: [{
1715
- type: HostListener,
1716
- args: ['change', ['$event.target']]
1717
- }] } });
1718
-
1719
- class DatepickerValueAccessor extends ValueAccessor {
1720
- constructor(injector, el) {
1721
- super(injector, el);
1722
- }
1723
- handleChangeEvent(el) {
1724
- this.handleValueChange(el, el.value);
1725
- }
1726
- }
1727
- 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 });
1728
- DatepickerValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: DatepickerValueAccessor, selector: "six-datepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1729
- {
1730
- provide: NG_VALUE_ACCESSOR,
1731
- useExisting: DatepickerValueAccessor,
1732
- multi: true,
1733
- },
1734
- ], usesInheritance: true, ngImport: i0 });
1735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DatepickerValueAccessor, decorators: [{
1736
- type: Directive,
1737
- args: [{
1738
- selector: 'six-datepicker',
1739
- providers: [
1740
- {
1741
- provide: NG_VALUE_ACCESSOR,
1742
- useExisting: DatepickerValueAccessor,
1743
- multi: true,
1744
- },
1745
- ],
1746
- }]
1747
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
1748
- type: HostListener,
1749
- args: ['change', ['$event.target']]
1750
- }] } });
1751
-
1752
- /**
1753
- * This directive intercepts the ngSubmit event of an Angular form and introduces
1754
- * a supplementary event named sixSubmit. The sixSubmit event is triggered exclusively
1755
- * when the form is valid. In cases where the form is considered invalid, this directive
1756
- * takes proactive actions by marking all form controls as touched and dirty. Additionally,
1757
- * it shifts the focus to the initial invalid form element, facilitating quick error
1758
- * resolution.
1759
- *
1760
- * To utilize this directive, apply it to an Angular form.
1761
- * ```html
1762
- * <form [formGroup]="form" sixForm (sixSubmit)="onSubmit($event)">
1763
- * <!-- form content -->
1764
- * </form>
1765
- * ```
1766
- *
1767
- * For users needing greater flexibility in determining when error messages are displayed,
1768
- * or for those who prefer not to rely solely on the form submission event,
1769
- * an alternative is to use the SixFormUtilDirective.
1770
- */
1771
- class SixFormDirective {
1772
- onNgSubmit(event) {
1773
- if (this.formGroupDirective.invalid) {
1774
- focusInvalidField(this.formGroupDirective, this.elementRef);
1775
- }
1776
- else {
1777
- this.sixSubmit.emit(event);
1778
- }
1779
- }
1780
- constructor(elementRef, formGroupDirective) {
1781
- this.elementRef = elementRef;
1782
- this.formGroupDirective = formGroupDirective;
1783
- /**
1784
- * Emits an event when the form is valid and the form submission has been triggered.
1785
- */
1786
- this.sixSubmit = new EventEmitter();
1787
- }
1788
- }
1789
- 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 });
1790
- 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 });
1791
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormDirective, decorators: [{
1792
- type: Directive,
1793
- args: [{
1794
- selector: 'form[sixForm]',
1795
- }]
1796
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; }, propDecorators: { sixSubmit: [{
1797
- type: Output
1798
- }], onNgSubmit: [{
1799
- type: HostListener,
1800
- args: ['ngSubmit', ['$event']]
1801
- }] } });
1802
- /**
1803
- * This directive provides a utility method, that marks all form controls
1804
- * as touched and dirty, and focuses the first invalid form element.
1805
- *
1806
- * To utilize this directive, apply it to an Angular form.
1807
- * ```html
1808
- * <form [formGroup]="form" sixFormUtil (ngSubmit)="onSubmit($event)">
1809
- * <!-- form content -->
1810
- * </form>
1811
- * ```
1812
- *
1813
- * Then, get a reference to the directive and invoke `focusInvalidField()` if the
1814
- * form is invalid:
1815
- * ```ts
1816
- * @ViewChild(SixFormUtilDirective) sixFormUtil!: SixFormUtilDirective;
1817
- * // ...
1818
- * onSubmit() {
1819
- * if (this.form.invalid) {
1820
- * this.sixFormUtil.focusInvalidField();
1821
- * } else {
1822
- * // ...
1823
- * }
1824
- * }
1825
- * ```
1826
- */
1827
- class SixFormUtilDirective {
1828
- constructor(elementRef, formGroupDirective) {
1829
- this.elementRef = elementRef;
1830
- this.formGroupDirective = formGroupDirective;
1831
- }
1832
- /** markAllControlsAsDirty(Object.values(formGroup.controls));
1833
- * Marks all form controls as touched and dirty, and focuses the first
1834
- * invalid form element.
1835
- */
1836
- focusInvalidField() {
1837
- focusInvalidField(this.formGroupDirective, this.elementRef);
1838
- }
1839
- }
1840
- 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 });
1841
- SixFormUtilDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SixFormUtilDirective, selector: "[sixFormUtil]", ngImport: i0 });
1842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormUtilDirective, decorators: [{
1843
- type: Directive,
1844
- args: [{
1845
- selector: '[sixFormUtil]',
1846
- }]
1847
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; } });
1848
- function focusInvalidField(formGroupDirective, formElement) {
1849
- formGroupDirective.form.markAllAsTouched();
1850
- markAllAsDirty([formGroupDirective.form]);
1851
- const invalidElement = getInvalidElement(formElement.nativeElement);
1852
- if ('setFocus' in invalidElement && typeof invalidElement?.setFocus === 'function') {
1853
- invalidElement.setFocus();
1854
- }
1855
- if ('focus' in invalidElement && typeof invalidElement?.focus === 'function') {
1856
- invalidElement.focus();
1857
- }
1858
- }
1859
- function getInvalidElement(parent) {
1860
- const invalidElement = parent.querySelector('.ng-invalid');
1861
- if (invalidElement == null) {
1862
- return parent;
1863
- }
1864
- return getInvalidElement(invalidElement);
1865
- }
1866
- function markAllAsDirty(controls) {
1867
- controls.forEach((control) => {
1868
- if (control instanceof FormControl) {
1869
- control.markAsDirty({ onlySelf: true });
1870
- }
1871
- else if (control instanceof FormGroup) {
1872
- control.markAsDirty({ onlySelf: true });
1873
- markAllAsDirty(Object.values(control.controls));
1874
- }
1875
- else if (control instanceof FormArray) {
1876
- control.markAsDirty({ onlySelf: true });
1877
- markAllAsDirty(control.controls);
1878
- }
1879
- });
1880
- }
1881
-
1882
- class SixUiLibraryValidators {
1883
- static minDate(mindate) {
1884
- return (control) => {
1885
- if (control.value == null)
1886
- return null;
1887
- const actualDate = control.value;
1888
- return actualDate.getTime() >= mindate.getTime() ? null : { mindate: { mindate, actual: actualDate } };
1889
- };
1890
- }
1891
- static maxDate(maxdate) {
1892
- return (control) => {
1893
- if (control.value == null)
1894
- return null;
1895
- const actualDate = control.value;
1896
- return actualDate.getTime() <= maxdate.getTime() ? null : { maxdate: { maxdate, actual: actualDate } };
1897
- };
1898
- }
1899
- static allowedDates(allowedDates = () => true) {
1900
- return (control) => {
1901
- if (control.value == null)
1902
- return null;
1903
- const allowed = allowedDates(control.value);
1904
- return allowed ? null : { invaliddate: { actual: control.value } };
1905
- };
1906
- }
1907
- }
1908
- class MinDateValidator {
1909
- validate(control) {
1910
- return SixUiLibraryValidators.minDate(this.mindate);
1911
- }
1912
- }
1913
- MinDateValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1914
- 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 });
1915
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinDateValidator, decorators: [{
1916
- type: Directive,
1917
- args: [{
1918
- selector: 'six-datepicker[min]',
1919
- providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }],
1920
- }]
1921
- }], propDecorators: { mindate: [{
1922
- type: Input
1923
- }] } });
1924
- class MaxDateValidator {
1925
- validate(control) {
1926
- return SixUiLibraryValidators.maxDate(this.maxdate);
1927
- }
1928
- }
1929
- MaxDateValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1930
- 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 });
1931
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxDateValidator, decorators: [{
1932
- type: Directive,
1933
- args: [{
1934
- selector: 'six-datepicker[max]',
1935
- providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }],
1936
- }]
1937
- }], propDecorators: { maxdate: [{
1938
- type: Input
1939
- }] } });
1940
- class AllowedDatesValidator {
1941
- constructor() {
1942
- this.allowedDates = () => true;
1943
- }
1944
- validate(control) {
1945
- return SixUiLibraryValidators.allowedDates(this.allowedDates)(control);
1946
- }
1947
- }
1948
- AllowedDatesValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllowedDatesValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1949
- 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 });
1950
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllowedDatesValidator, decorators: [{
1951
- type: Directive,
1952
- args: [{
1953
- selector: 'six-datepicker[allowedDates]',
1954
- providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }],
1955
- }]
1956
- }], propDecorators: { allowedDates: [{
1957
- type: Input
1958
- }] } });
1959
- class MinValidator {
1960
- validate(control) {
1961
- return Validators.min(toFloat(this.min))(control);
1962
- }
1963
- }
1964
- MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1965
- 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 });
1966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinValidator, decorators: [{
1967
- type: Directive,
1968
- args: [{
1969
- selector: 'six-input[type=number][min]',
1970
- providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }],
1971
- }]
1972
- }], propDecorators: { min: [{
1973
- type: Input
1974
- }] } });
1975
- class MaxValidator {
1976
- validate(control) {
1977
- return Validators.max(toFloat(this.max))(control);
1978
- }
1979
- }
1980
- MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1981
- 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 });
1982
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxValidator, decorators: [{
1983
- type: Directive,
1984
- args: [{
1985
- selector: 'six-input[type=number][max]',
1986
- providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }],
1987
- }]
1988
- }], propDecorators: { max: [{
1989
- type: Input
1990
- }] } });
1991
- function toFloat(value) {
1992
- return typeof value === 'number' ? value : parseFloat(value);
1993
- }
1994
-
1995
- class SelectValueAccessor extends ValueAccessor {
1996
- constructor(injector, el) {
1997
- super(injector, el);
1998
- }
1999
- handleChangeEvent(el) {
2000
- this.handleValueChange(el, el.value);
2001
- }
2002
- }
2003
- 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 });
2004
- SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SelectValueAccessor, selector: "six-select", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2005
- {
2006
- provide: NG_VALUE_ACCESSOR,
2007
- useExisting: SelectValueAccessor,
2008
- multi: true,
2009
- },
2010
- ], usesInheritance: true, ngImport: i0 });
2011
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectValueAccessor, decorators: [{
2012
- type: Directive,
2013
- args: [{
2014
- selector: 'six-select',
2015
- providers: [
2016
- {
2017
- provide: NG_VALUE_ACCESSOR,
2018
- useExisting: SelectValueAccessor,
2019
- multi: true,
2020
- },
2021
- ],
2022
- }]
2023
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2024
- type: HostListener,
2025
- args: ['change', ['$event.target']]
2026
- }] } });
2027
-
2028
- class CheckboxValueAccessor extends ValueAccessor {
2029
- constructor(injector, el) {
2030
- super(injector, el);
2031
- }
2032
- handleChangeEvent(el) {
2033
- this.handleValueChange(el, el.checked);
2034
- }
2035
- writeValue(value) {
2036
- this.el.nativeElement.checked = value === true;
2037
- this.updateValidation();
2038
- }
2039
- }
2040
- 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 });
2041
- CheckboxValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxValueAccessor, selector: "six-checkbox", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2042
- {
2043
- provide: NG_VALUE_ACCESSOR,
2044
- useExisting: CheckboxValueAccessor,
2045
- multi: true,
2046
- },
2047
- ], usesInheritance: true, ngImport: i0 });
2048
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxValueAccessor, decorators: [{
2049
- type: Directive,
2050
- args: [{
2051
- selector: 'six-checkbox',
2052
- providers: [
2053
- {
2054
- provide: NG_VALUE_ACCESSOR,
2055
- useExisting: CheckboxValueAccessor,
2056
- multi: true,
2057
- },
2058
- ],
2059
- }]
2060
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2061
- type: HostListener,
2062
- args: ['change', ['$event.target']]
2063
- }] } });
2064
-
2065
- class RangeValueAccessor extends ValueAccessor {
2066
- constructor(injector, el) {
2067
- super(injector, el);
2068
- }
2069
- handleInputEvent(el) {
2070
- this.handleValueChange(el, el.value);
2071
- }
2072
- registerOnChange(fn) {
2073
- super.registerOnChange((value) => {
2074
- fn(value === '' ? null : parseFloat(value));
2075
- });
2076
- }
2077
- }
2078
- 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 });
2079
- RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RangeValueAccessor, selector: "six-range", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
2080
- {
2081
- provide: NG_VALUE_ACCESSOR,
2082
- useExisting: RangeValueAccessor,
2083
- multi: true,
2084
- },
2085
- ], usesInheritance: true, ngImport: i0 });
2086
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeValueAccessor, decorators: [{
2087
- type: Directive,
2088
- args: [{
2089
- selector: 'six-range',
2090
- providers: [
2091
- {
2092
- provide: NG_VALUE_ACCESSOR,
2093
- useExisting: RangeValueAccessor,
2094
- multi: true,
2095
- },
2096
- ],
2097
- }]
2098
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2099
- type: HostListener,
2100
- args: ['input', ['$event.target']]
2101
- }] } });
2102
-
2103
- class SwitchValueAccessor extends ValueAccessor {
2104
- constructor(injector, el) {
2105
- super(injector, el);
2106
- }
2107
- handleChangeEvent(el) {
2108
- this.handleValueChange(el, el.checked);
2109
- }
2110
- writeValue(value) {
2111
- this.el.nativeElement.checked = value === true;
2112
- this.updateValidation();
2113
- }
2114
- }
2115
- 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 });
2116
- SwitchValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SwitchValueAccessor, selector: "six-switch", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2117
- {
2118
- provide: NG_VALUE_ACCESSOR,
2119
- useExisting: SwitchValueAccessor,
2120
- multi: true,
2121
- },
2122
- ], usesInheritance: true, ngImport: i0 });
2123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SwitchValueAccessor, decorators: [{
2124
- type: Directive,
2125
- args: [{
2126
- selector: 'six-switch',
2127
- providers: [
2128
- {
2129
- provide: NG_VALUE_ACCESSOR,
2130
- useExisting: SwitchValueAccessor,
2131
- multi: true,
2132
- },
2133
- ],
2134
- }]
2135
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2136
- type: HostListener,
2137
- args: ['change', ['$event.target']]
2138
- }] } });
2139
-
2140
- class TimepickerValueAccessor extends ValueAccessor {
2141
- constructor(injector, el) {
2142
- super(injector, el);
2143
- }
2144
- handleChangeEvent(el) {
2145
- this.handleValueChange(el, el.value);
2146
- }
2147
- }
2148
- 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 });
2149
- TimepickerValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TimepickerValueAccessor, selector: "six-timepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2150
- {
2151
- provide: NG_VALUE_ACCESSOR,
2152
- useExisting: TimepickerValueAccessor,
2153
- multi: true,
2154
- },
2155
- ], usesInheritance: true, ngImport: i0 });
2156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TimepickerValueAccessor, decorators: [{
2157
- type: Directive,
2158
- args: [{
2159
- selector: 'six-timepicker',
2160
- providers: [
2161
- {
2162
- provide: NG_VALUE_ACCESSOR,
2163
- useExisting: TimepickerValueAccessor,
2164
- multi: true,
2165
- },
2166
- ],
2167
- }]
2168
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2169
- type: HostListener,
2170
- args: ['change', ['$event.target']]
2171
- }] } });
2172
-
2173
- class UiLibraryAngularModule {
2174
- static forRoot(customValidationMessagesService) {
2175
- return {
2176
- ngModule: UiLibraryAngularModule,
2177
- providers: [
2178
- {
2179
- provide: APP_INITIALIZER,
2180
- useFactory: () => async () => defineCustomElements(),
2181
- multi: true,
2182
- },
2183
- { provide: ValidationMessagesService, useClass: customValidationMessagesService ?? ValidationMessagesService },
2184
- ],
2185
- };
2186
- }
2187
- }
2188
- UiLibraryAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2189
- 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,
2190
- // value accessors
2191
- TextValueAccessor,
2192
- NumericValueAccessor,
2193
- RadioValueAccessor,
2194
- DatepickerValueAccessor,
2195
- TimepickerValueAccessor,
2196
- SelectValueAccessor,
2197
- CheckboxValueAccessor,
2198
- SwitchValueAccessor,
2199
- RangeValueAccessor,
2200
- // validators
2201
- MinValidator,
2202
- MaxValidator,
2203
- MinDateValidator,
2204
- MaxDateValidator,
2205
- AllowedDatesValidator,
2206
- // form helpers
2207
- SixFormDirective,
2208
- 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,
2209
- // value accessors
2210
- TextValueAccessor,
2211
- NumericValueAccessor,
2212
- RadioValueAccessor,
2213
- DatepickerValueAccessor,
2214
- TimepickerValueAccessor,
2215
- SelectValueAccessor,
2216
- CheckboxValueAccessor,
2217
- SwitchValueAccessor,
2218
- RangeValueAccessor,
2219
- // validators
2220
- MinValidator,
2221
- MaxValidator,
2222
- MinDateValidator,
2223
- MaxDateValidator,
2224
- AllowedDatesValidator,
2225
- // form helpers
2226
- SixFormDirective,
2227
- SixFormUtilDirective] });
2228
- UiLibraryAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule });
2229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
2230
- type: NgModule,
2231
- args: [{
2232
- declarations: [
2233
- // proxies
2234
- ...DIRECTIVES,
2235
- // value accessors
2236
- TextValueAccessor,
2237
- NumericValueAccessor,
2238
- RadioValueAccessor,
2239
- DatepickerValueAccessor,
2240
- TimepickerValueAccessor,
2241
- SelectValueAccessor,
2242
- CheckboxValueAccessor,
2243
- SwitchValueAccessor,
2244
- RangeValueAccessor,
2245
- // validators
2246
- MinValidator,
2247
- MaxValidator,
2248
- MinDateValidator,
2249
- MaxDateValidator,
2250
- AllowedDatesValidator,
2251
- // form helpers
2252
- SixFormDirective,
2253
- SixFormUtilDirective,
2254
- ],
2255
- imports: [],
2256
- exports: [
2257
- // proxies
2258
- ...DIRECTIVES,
2259
- // value accessors
2260
- TextValueAccessor,
2261
- NumericValueAccessor,
2262
- RadioValueAccessor,
2263
- DatepickerValueAccessor,
2264
- TimepickerValueAccessor,
2265
- SelectValueAccessor,
2266
- CheckboxValueAccessor,
2267
- SwitchValueAccessor,
2268
- RangeValueAccessor,
2269
- // validators
2270
- MinValidator,
2271
- MaxValidator,
2272
- MinDateValidator,
2273
- MaxDateValidator,
2274
- AllowedDatesValidator,
2275
- // form helpers
2276
- SixFormDirective,
2277
- SixFormUtilDirective,
2278
- ],
2279
- }]
2280
- }] });
2281
-
2282
- /*
2283
- * Public API Surface of ui-library-angular
2284
- */
2285
-
2286
- /**
2287
- * Generated bundle index. Do not edit.
2288
- */
2289
-
2290
- 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 };
2291
- //# sourceMappingURL=six-group-ui-library-angular.mjs.map