@six-group/ui-library-angular 0.0.0-insider.c3b5116 → 0.0.0-insider.c59d118

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