@six-group/ui-library-angular 0.0.0-insider.e5360cd → 0.0.0-insider.ec3ffc2

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