@six-group/ui-library-angular 4.0.4 → 4.1.0

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