@six-group/ui-library-angular 0.0.0-insider.e5360cd → 0.0.0-insider.e85b731
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.
- package/fesm2022/six-group-ui-library-angular.mjs +2977 -0
- package/fesm2022/six-group-ui-library-angular.mjs.map +1 -0
- package/lib/control-value-accessors/checkbox-multi-select-value-accessor.d.ts +16 -0
- package/lib/control-value-accessors/checkbox-value-accessor.d.ts +1 -1
- package/lib/control-value-accessors/date-value-accessor.d.ts +10 -0
- package/lib/control-value-accessors/radio-value-accessor.d.ts +1 -1
- package/lib/control-value-accessors/value-accessor.d.ts +5 -3
- package/lib/link/six-router-link.directive.d.ts +26 -0
- package/lib/services/alert.service.d.ts +11 -0
- package/lib/sidebar/active-sidebar.directive.d.ts +59 -0
- package/lib/stencil-generated/components.d.ts +203 -144
- package/lib/stencil-generated/index.d.ts +1 -1
- package/lib/ui-library-angular-config.d.ts +7 -0
- package/lib/ui-library-angular.module.d.ts +14 -9
- package/lib/validators/six-ui-library-validators.d.ts +34 -7
- package/package.json +16 -14
- package/public-api.d.ts +5 -0
- package/esm2020/lib/control-value-accessors/checkbox-value-accessor.mjs +0 -41
- package/esm2020/lib/control-value-accessors/datepicker-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/numeric-value-accessor.mjs +0 -42
- package/esm2020/lib/control-value-accessors/radio-value-accessor.mjs +0 -62
- package/esm2020/lib/control-value-accessors/range-value-accessor.mjs +0 -42
- package/esm2020/lib/control-value-accessors/select-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/switch-value-accessor.mjs +0 -41
- package/esm2020/lib/control-value-accessors/text-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/timepicker-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/value-accessor.mjs +0 -145
- package/esm2020/lib/form/six-form.directive.mjs +0 -134
- package/esm2020/lib/services/validation-messages.service.mjs +0 -15
- package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +0 -51
- package/esm2020/lib/stencil-generated/components.mjs +0 -1372
- package/esm2020/lib/stencil-generated/index.mjs +0 -57
- package/esm2020/lib/ui-library-angular.module.mjs +0 -126
- package/esm2020/lib/validators/six-ui-library-validators.mjs +0 -116
- package/esm2020/public-api.mjs +0 -25
- package/esm2020/six-group-ui-library-angular.mjs +0 -5
- package/fesm2015/six-group-ui-library-angular.mjs +0 -2286
- package/fesm2015/six-group-ui-library-angular.mjs.map +0 -1
- package/fesm2020/six-group-ui-library-angular.mjs +0 -2283
- package/fesm2020/six-group-ui-library-angular.mjs.map +0 -1
|
@@ -0,0 +1,2977 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Injectable, InjectionToken, inject, HostListener, Directive, Input, EventEmitter, Output, Optional, HostBinding, ContentChildren, APP_INITIALIZER, NgModule, NgZone } from '@angular/core';
|
|
3
|
+
import { __decorate } from 'tslib';
|
|
4
|
+
import { fromEvent } from 'rxjs';
|
|
5
|
+
import { defineCustomElements } from '@six-group/ui-library/loader';
|
|
6
|
+
import * as i1 from '@angular/forms';
|
|
7
|
+
import { Validators, NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS } from '@angular/forms';
|
|
8
|
+
import { getErrorMessage, getLanguage, showAlert } from '@six-group/ui-library';
|
|
9
|
+
import * as i1$1 from '@angular/common';
|
|
10
|
+
import * as i2 from '@angular/router';
|
|
11
|
+
import { RouterLinkActive } from '@angular/router';
|
|
12
|
+
|
|
13
|
+
/* eslint-disable */
|
|
14
|
+
/* tslint:disable */
|
|
15
|
+
const proxyInputs = (Cmp, inputs) => {
|
|
16
|
+
const Prototype = Cmp.prototype;
|
|
17
|
+
inputs.forEach((item) => {
|
|
18
|
+
Object.defineProperty(Prototype, item, {
|
|
19
|
+
get() {
|
|
20
|
+
return this.el[item];
|
|
21
|
+
},
|
|
22
|
+
set(val) {
|
|
23
|
+
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* In the event that proxyInputs is called
|
|
27
|
+
* multiple times re-defining these inputs
|
|
28
|
+
* will cause an error to be thrown. As a result
|
|
29
|
+
* we set configurable: true to indicate these
|
|
30
|
+
* properties can be changed.
|
|
31
|
+
*/
|
|
32
|
+
configurable: true,
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
const proxyMethods = (Cmp, methods) => {
|
|
37
|
+
const Prototype = Cmp.prototype;
|
|
38
|
+
methods.forEach((methodName) => {
|
|
39
|
+
Prototype[methodName] = function () {
|
|
40
|
+
const args = arguments;
|
|
41
|
+
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
const proxyOutputs = (instance, el, events) => {
|
|
46
|
+
events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
|
|
47
|
+
};
|
|
48
|
+
const defineCustomElement = (tagName, customElement) => {
|
|
49
|
+
if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
|
|
50
|
+
customElements.define(tagName, customElement);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
// tslint:disable-next-line: only-arrow-functions
|
|
54
|
+
function ProxyCmp(opts) {
|
|
55
|
+
const decorator = function (cls) {
|
|
56
|
+
const { defineCustomElementFn, inputs, methods } = opts;
|
|
57
|
+
if (defineCustomElementFn !== undefined) {
|
|
58
|
+
defineCustomElementFn();
|
|
59
|
+
}
|
|
60
|
+
if (inputs) {
|
|
61
|
+
proxyInputs(cls, inputs);
|
|
62
|
+
}
|
|
63
|
+
if (methods) {
|
|
64
|
+
proxyMethods(cls, methods);
|
|
65
|
+
}
|
|
66
|
+
return cls;
|
|
67
|
+
};
|
|
68
|
+
return decorator;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
let SixAlert = class SixAlert {
|
|
72
|
+
constructor(c, r, z) {
|
|
73
|
+
this.z = z;
|
|
74
|
+
c.detach();
|
|
75
|
+
this.el = r.nativeElement;
|
|
76
|
+
proxyOutputs(this, this.el, ['six-alert-show', 'six-alert-after-show', 'six-alert-hide', 'six-alert-after-hide']);
|
|
77
|
+
}
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixAlert, isStandalone: false, 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 }); }
|
|
80
|
+
};
|
|
81
|
+
SixAlert = __decorate([
|
|
82
|
+
ProxyCmp({
|
|
83
|
+
inputs: ['closable', 'duration', 'open', 'type'],
|
|
84
|
+
methods: ['show', 'hide', 'toast']
|
|
85
|
+
})
|
|
86
|
+
], SixAlert);
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixAlert, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
selector: 'six-alert',
|
|
91
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
+
template: '<ng-content></ng-content>',
|
|
93
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
94
|
+
inputs: ['closable', 'duration', 'open', 'type'],
|
|
95
|
+
standalone: false
|
|
96
|
+
}]
|
|
97
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
98
|
+
let SixAvatar = class SixAvatar {
|
|
99
|
+
constructor(c, r, z) {
|
|
100
|
+
this.z = z;
|
|
101
|
+
c.detach();
|
|
102
|
+
this.el = r.nativeElement;
|
|
103
|
+
}
|
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
105
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixAvatar, isStandalone: false, 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 }); }
|
|
106
|
+
};
|
|
107
|
+
SixAvatar = __decorate([
|
|
108
|
+
ProxyCmp({
|
|
109
|
+
inputs: ['alt', 'image', 'initials', 'shape']
|
|
110
|
+
})
|
|
111
|
+
], SixAvatar);
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixAvatar, decorators: [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{
|
|
115
|
+
selector: 'six-avatar',
|
|
116
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
117
|
+
template: '<ng-content></ng-content>',
|
|
118
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
119
|
+
inputs: ['alt', 'image', 'initials', 'shape'],
|
|
120
|
+
standalone: false
|
|
121
|
+
}]
|
|
122
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
123
|
+
let SixBadge = class SixBadge {
|
|
124
|
+
constructor(c, r, z) {
|
|
125
|
+
this.z = z;
|
|
126
|
+
c.detach();
|
|
127
|
+
this.el = r.nativeElement;
|
|
128
|
+
}
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixBadge, isStandalone: false, selector: "six-badge", inputs: { pill: "pill", pulse: "pulse", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
131
|
+
};
|
|
132
|
+
SixBadge = __decorate([
|
|
133
|
+
ProxyCmp({
|
|
134
|
+
inputs: ['pill', 'pulse', 'type']
|
|
135
|
+
})
|
|
136
|
+
], SixBadge);
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBadge, decorators: [{
|
|
138
|
+
type: Component,
|
|
139
|
+
args: [{
|
|
140
|
+
selector: 'six-badge',
|
|
141
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
142
|
+
template: '<ng-content></ng-content>',
|
|
143
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
144
|
+
inputs: ['pill', 'pulse', 'type'],
|
|
145
|
+
standalone: false
|
|
146
|
+
}]
|
|
147
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
148
|
+
let SixBreadcrumbs = class SixBreadcrumbs {
|
|
149
|
+
constructor(c, r, z) {
|
|
150
|
+
this.z = z;
|
|
151
|
+
c.detach();
|
|
152
|
+
this.el = r.nativeElement;
|
|
153
|
+
}
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBreadcrumbs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixBreadcrumbs, isStandalone: false, selector: "six-breadcrumbs", inputs: { separatorIcon: "separatorIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156
|
+
};
|
|
157
|
+
SixBreadcrumbs = __decorate([
|
|
158
|
+
ProxyCmp({
|
|
159
|
+
inputs: ['separatorIcon']
|
|
160
|
+
})
|
|
161
|
+
], SixBreadcrumbs);
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBreadcrumbs, decorators: [{
|
|
163
|
+
type: Component,
|
|
164
|
+
args: [{
|
|
165
|
+
selector: 'six-breadcrumbs',
|
|
166
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
167
|
+
template: '<ng-content></ng-content>',
|
|
168
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
169
|
+
inputs: ['separatorIcon'],
|
|
170
|
+
standalone: false
|
|
171
|
+
}]
|
|
172
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
173
|
+
let SixBreadcrumbsItem = class SixBreadcrumbsItem {
|
|
174
|
+
constructor(c, r, z) {
|
|
175
|
+
this.z = z;
|
|
176
|
+
c.detach();
|
|
177
|
+
this.el = r.nativeElement;
|
|
178
|
+
}
|
|
179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBreadcrumbsItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixBreadcrumbsItem, isStandalone: false, selector: "six-breadcrumbs-item", inputs: { href: "href", readonly: "readonly", size: "size", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
181
|
+
};
|
|
182
|
+
SixBreadcrumbsItem = __decorate([
|
|
183
|
+
ProxyCmp({
|
|
184
|
+
inputs: ['href', 'readonly', 'size', 'target']
|
|
185
|
+
})
|
|
186
|
+
], SixBreadcrumbsItem);
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixBreadcrumbsItem, decorators: [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{
|
|
190
|
+
selector: 'six-breadcrumbs-item',
|
|
191
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
192
|
+
template: '<ng-content></ng-content>',
|
|
193
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
194
|
+
inputs: ['href', 'readonly', 'size', 'target'],
|
|
195
|
+
standalone: false
|
|
196
|
+
}]
|
|
197
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
198
|
+
let SixButton = class SixButton {
|
|
199
|
+
constructor(c, r, z) {
|
|
200
|
+
this.z = z;
|
|
201
|
+
c.detach();
|
|
202
|
+
this.el = r.nativeElement;
|
|
203
|
+
proxyOutputs(this, this.el, ['six-button-blur', 'six-button-focus']);
|
|
204
|
+
}
|
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixButton, isStandalone: false, 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 }); }
|
|
207
|
+
};
|
|
208
|
+
SixButton = __decorate([
|
|
209
|
+
ProxyCmp({
|
|
210
|
+
inputs: ['caret', 'circle', 'disabled', 'download', 'href', 'loading', 'name', 'pill', 'reset', 'size', 'submit', 'target', 'type', 'value'],
|
|
211
|
+
methods: ['setFocus', 'removeFocus']
|
|
212
|
+
})
|
|
213
|
+
], SixButton);
|
|
214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixButton, decorators: [{
|
|
215
|
+
type: Component,
|
|
216
|
+
args: [{
|
|
217
|
+
selector: 'six-button',
|
|
218
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
219
|
+
template: '<ng-content></ng-content>',
|
|
220
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
221
|
+
inputs: ['caret', 'circle', 'disabled', 'download', 'href', 'loading', 'name', 'pill', 'reset', 'size', 'submit', 'target', 'type', 'value'],
|
|
222
|
+
standalone: false
|
|
223
|
+
}]
|
|
224
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
225
|
+
let SixCard = class SixCard {
|
|
226
|
+
constructor(c, r, z) {
|
|
227
|
+
this.z = z;
|
|
228
|
+
c.detach();
|
|
229
|
+
this.el = r.nativeElement;
|
|
230
|
+
}
|
|
231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
232
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixCard, isStandalone: false, selector: "six-card", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
233
|
+
};
|
|
234
|
+
SixCard = __decorate([
|
|
235
|
+
ProxyCmp({})
|
|
236
|
+
], SixCard);
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCard, decorators: [{
|
|
238
|
+
type: Component,
|
|
239
|
+
args: [{
|
|
240
|
+
selector: 'six-card',
|
|
241
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
242
|
+
template: '<ng-content></ng-content>',
|
|
243
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
244
|
+
inputs: [],
|
|
245
|
+
standalone: false
|
|
246
|
+
}]
|
|
247
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
248
|
+
let SixCheckbox = class SixCheckbox {
|
|
249
|
+
constructor(c, r, z) {
|
|
250
|
+
this.z = z;
|
|
251
|
+
c.detach();
|
|
252
|
+
this.el = r.nativeElement;
|
|
253
|
+
proxyOutputs(this, this.el, ['six-checkbox-blur', 'six-checkbox-change', 'six-checkbox-focus']);
|
|
254
|
+
}
|
|
255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixCheckbox, isStandalone: false, 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 }); }
|
|
257
|
+
};
|
|
258
|
+
SixCheckbox = __decorate([
|
|
259
|
+
ProxyCmp({
|
|
260
|
+
inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
|
|
261
|
+
methods: ['setFocus', 'removeFocus']
|
|
262
|
+
})
|
|
263
|
+
], SixCheckbox);
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCheckbox, decorators: [{
|
|
265
|
+
type: Component,
|
|
266
|
+
args: [{
|
|
267
|
+
selector: 'six-checkbox',
|
|
268
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
269
|
+
template: '<ng-content></ng-content>',
|
|
270
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
271
|
+
inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
|
|
272
|
+
standalone: false
|
|
273
|
+
}]
|
|
274
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
275
|
+
let SixDate = class SixDate {
|
|
276
|
+
constructor(c, r, z) {
|
|
277
|
+
this.z = z;
|
|
278
|
+
c.detach();
|
|
279
|
+
this.el = r.nativeElement;
|
|
280
|
+
proxyOutputs(this, this.el, ['six-change', 'six-blur']);
|
|
281
|
+
}
|
|
282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDate, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
283
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDate, isStandalone: false, selector: "six-date", inputs: { allowedDates: "allowedDates", clearable: "clearable", dateFormat: "dateFormat", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", invalid: "invalid", label: "label", language: "language", max: "max", min: "min", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
284
|
+
};
|
|
285
|
+
SixDate = __decorate([
|
|
286
|
+
ProxyCmp({
|
|
287
|
+
inputs: ['allowedDates', 'clearable', 'dateFormat', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'language', 'max', 'min', 'name', 'placeholder', 'readonly', 'required', 'size', 'value'],
|
|
288
|
+
methods: ['setFocus']
|
|
289
|
+
})
|
|
290
|
+
], SixDate);
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDate, decorators: [{
|
|
292
|
+
type: Component,
|
|
293
|
+
args: [{
|
|
294
|
+
selector: 'six-date',
|
|
295
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
296
|
+
template: '<ng-content></ng-content>',
|
|
297
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
298
|
+
inputs: ['allowedDates', 'clearable', 'dateFormat', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'language', 'max', 'min', 'name', 'placeholder', 'readonly', 'required', 'size', 'value'],
|
|
299
|
+
standalone: false
|
|
300
|
+
}]
|
|
301
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
302
|
+
let SixDatepicker = class SixDatepicker {
|
|
303
|
+
constructor(c, r, z) {
|
|
304
|
+
this.z = z;
|
|
305
|
+
c.detach();
|
|
306
|
+
this.el = r.nativeElement;
|
|
307
|
+
proxyOutputs(this, this.el, ['six-datepicker-select', 'six-datepicker-clear', 'six-datepicker-blur']);
|
|
308
|
+
}
|
|
309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
310
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDatepicker, isStandalone: false, 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 }); }
|
|
311
|
+
};
|
|
312
|
+
SixDatepicker = __decorate([
|
|
313
|
+
ProxyCmp({
|
|
314
|
+
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'],
|
|
315
|
+
methods: ['setFocus', 'select']
|
|
316
|
+
})
|
|
317
|
+
], SixDatepicker);
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDatepicker, decorators: [{
|
|
319
|
+
type: Component,
|
|
320
|
+
args: [{
|
|
321
|
+
selector: 'six-datepicker',
|
|
322
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
323
|
+
template: '<ng-content></ng-content>',
|
|
324
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
325
|
+
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'],
|
|
326
|
+
standalone: false
|
|
327
|
+
}]
|
|
328
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
329
|
+
let SixDetails = class SixDetails {
|
|
330
|
+
constructor(c, r, z) {
|
|
331
|
+
this.z = z;
|
|
332
|
+
c.detach();
|
|
333
|
+
this.el = r.nativeElement;
|
|
334
|
+
proxyOutputs(this, this.el, ['six-details-show', 'six-details-after-show', 'six-details-hide', 'six-details-after-hide']);
|
|
335
|
+
}
|
|
336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDetails, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
337
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDetails, isStandalone: false, 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 }); }
|
|
338
|
+
};
|
|
339
|
+
SixDetails = __decorate([
|
|
340
|
+
ProxyCmp({
|
|
341
|
+
inputs: ['disabled', 'hasContent', 'inline', 'open', 'selectableEmpty', 'summary', 'summaryIcon', 'summaryIconSize'],
|
|
342
|
+
methods: ['show', 'hide']
|
|
343
|
+
})
|
|
344
|
+
], SixDetails);
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDetails, decorators: [{
|
|
346
|
+
type: Component,
|
|
347
|
+
args: [{
|
|
348
|
+
selector: 'six-details',
|
|
349
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
350
|
+
template: '<ng-content></ng-content>',
|
|
351
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
352
|
+
inputs: ['disabled', 'hasContent', 'inline', 'open', 'selectableEmpty', 'summary', 'summaryIcon', 'summaryIconSize'],
|
|
353
|
+
standalone: false
|
|
354
|
+
}]
|
|
355
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
356
|
+
let SixDialog = class SixDialog {
|
|
357
|
+
constructor(c, r, z) {
|
|
358
|
+
this.z = z;
|
|
359
|
+
c.detach();
|
|
360
|
+
this.el = r.nativeElement;
|
|
361
|
+
proxyOutputs(this, this.el, ['six-dialog-show', 'six-dialog-after-show', 'six-dialog-hide', 'six-dialog-after-hide', 'six-dialog-initial-focus', 'six-dialog-request-close']);
|
|
362
|
+
}
|
|
363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDialog, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
364
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDialog, isStandalone: false, selector: "six-dialog", inputs: { label: "label", noHeader: "noHeader", open: "open" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
365
|
+
};
|
|
366
|
+
SixDialog = __decorate([
|
|
367
|
+
ProxyCmp({
|
|
368
|
+
inputs: ['label', 'noHeader', 'open'],
|
|
369
|
+
methods: ['show', 'hide']
|
|
370
|
+
})
|
|
371
|
+
], SixDialog);
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDialog, decorators: [{
|
|
373
|
+
type: Component,
|
|
374
|
+
args: [{
|
|
375
|
+
selector: 'six-dialog',
|
|
376
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
377
|
+
template: '<ng-content></ng-content>',
|
|
378
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
379
|
+
inputs: ['label', 'noHeader', 'open'],
|
|
380
|
+
standalone: false
|
|
381
|
+
}]
|
|
382
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
383
|
+
let SixDrawer = class SixDrawer {
|
|
384
|
+
constructor(c, r, z) {
|
|
385
|
+
this.z = z;
|
|
386
|
+
c.detach();
|
|
387
|
+
this.el = r.nativeElement;
|
|
388
|
+
proxyOutputs(this, this.el, ['six-drawer-show', 'six-drawer-after-show', 'six-drawer-hide', 'six-drawer-after-hide', 'six-drawer-initial-focus', 'six-drawer-request-close']);
|
|
389
|
+
}
|
|
390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
391
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDrawer, isStandalone: false, 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 }); }
|
|
392
|
+
};
|
|
393
|
+
SixDrawer = __decorate([
|
|
394
|
+
ProxyCmp({
|
|
395
|
+
inputs: ['contained', 'label', 'noHeader', 'open', 'placement'],
|
|
396
|
+
methods: ['show', 'hide']
|
|
397
|
+
})
|
|
398
|
+
], SixDrawer);
|
|
399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDrawer, decorators: [{
|
|
400
|
+
type: Component,
|
|
401
|
+
args: [{
|
|
402
|
+
selector: 'six-drawer',
|
|
403
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
404
|
+
template: '<ng-content></ng-content>',
|
|
405
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
406
|
+
inputs: ['contained', 'label', 'noHeader', 'open', 'placement'],
|
|
407
|
+
standalone: false
|
|
408
|
+
}]
|
|
409
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
410
|
+
let SixDropdown = class SixDropdown {
|
|
411
|
+
constructor(c, r, z) {
|
|
412
|
+
this.z = z;
|
|
413
|
+
c.detach();
|
|
414
|
+
this.el = r.nativeElement;
|
|
415
|
+
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']);
|
|
416
|
+
}
|
|
417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
418
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixDropdown, isStandalone: false, selector: "six-dropdown", inputs: { asyncFilter: "asyncFilter", autofocusFilter: "autofocusFilter", closeOnSelect: "closeOnSelect", containingElement: "containingElement", disableHideOnEnterAndSpace: "disableHideOnEnterAndSpace", distance: "distance", filter: "filter", filterDebounce: "filterDebounce", filterPlaceholder: "filterPlaceholder", hoist: "hoist", matchTriggerWidth: "matchTriggerWidth", noScroll: "noScroll", open: "open", options: "options", placement: "placement", skidding: "skidding", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
419
|
+
};
|
|
420
|
+
SixDropdown = __decorate([
|
|
421
|
+
ProxyCmp({
|
|
422
|
+
inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'matchTriggerWidth', 'noScroll', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
|
|
423
|
+
methods: ['show', 'hide']
|
|
424
|
+
})
|
|
425
|
+
], SixDropdown);
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixDropdown, decorators: [{
|
|
427
|
+
type: Component,
|
|
428
|
+
args: [{
|
|
429
|
+
selector: 'six-dropdown',
|
|
430
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
431
|
+
template: '<ng-content></ng-content>',
|
|
432
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
433
|
+
inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'matchTriggerWidth', 'noScroll', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
|
|
434
|
+
standalone: false
|
|
435
|
+
}]
|
|
436
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
437
|
+
let SixError = class SixError {
|
|
438
|
+
constructor(c, r, z) {
|
|
439
|
+
this.z = z;
|
|
440
|
+
c.detach();
|
|
441
|
+
this.el = r.nativeElement;
|
|
442
|
+
}
|
|
443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
444
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixError, isStandalone: false, selector: "six-error", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
445
|
+
};
|
|
446
|
+
SixError = __decorate([
|
|
447
|
+
ProxyCmp({})
|
|
448
|
+
], SixError);
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixError, decorators: [{
|
|
450
|
+
type: Component,
|
|
451
|
+
args: [{
|
|
452
|
+
selector: 'six-error',
|
|
453
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
454
|
+
template: '<ng-content></ng-content>',
|
|
455
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
456
|
+
inputs: [],
|
|
457
|
+
standalone: false
|
|
458
|
+
}]
|
|
459
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
460
|
+
let SixErrorPage = class SixErrorPage {
|
|
461
|
+
constructor(c, r, z) {
|
|
462
|
+
this.z = z;
|
|
463
|
+
c.detach();
|
|
464
|
+
this.el = r.nativeElement;
|
|
465
|
+
}
|
|
466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixErrorPage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
467
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixErrorPage, isStandalone: false, 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 }); }
|
|
468
|
+
};
|
|
469
|
+
SixErrorPage = __decorate([
|
|
470
|
+
ProxyCmp({
|
|
471
|
+
inputs: ['customDescription', 'customIcon', 'customTitle', 'errorCode', 'language']
|
|
472
|
+
})
|
|
473
|
+
], SixErrorPage);
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixErrorPage, decorators: [{
|
|
475
|
+
type: Component,
|
|
476
|
+
args: [{
|
|
477
|
+
selector: 'six-error-page',
|
|
478
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
479
|
+
template: '<ng-content></ng-content>',
|
|
480
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
481
|
+
inputs: ['customDescription', 'customIcon', 'customTitle', 'errorCode', 'language'],
|
|
482
|
+
standalone: false
|
|
483
|
+
}]
|
|
484
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
485
|
+
let SixFileList = class SixFileList {
|
|
486
|
+
constructor(c, r, z) {
|
|
487
|
+
this.z = z;
|
|
488
|
+
c.detach();
|
|
489
|
+
this.el = r.nativeElement;
|
|
490
|
+
}
|
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileList, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
492
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixFileList, isStandalone: false, selector: "six-file-list", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
493
|
+
};
|
|
494
|
+
SixFileList = __decorate([
|
|
495
|
+
ProxyCmp({})
|
|
496
|
+
], SixFileList);
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileList, decorators: [{
|
|
498
|
+
type: Component,
|
|
499
|
+
args: [{
|
|
500
|
+
selector: 'six-file-list',
|
|
501
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
502
|
+
template: '<ng-content></ng-content>',
|
|
503
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
504
|
+
inputs: [],
|
|
505
|
+
standalone: false
|
|
506
|
+
}]
|
|
507
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
508
|
+
let SixFileListItem = class SixFileListItem {
|
|
509
|
+
constructor(c, r, z) {
|
|
510
|
+
this.z = z;
|
|
511
|
+
c.detach();
|
|
512
|
+
this.el = r.nativeElement;
|
|
513
|
+
proxyOutputs(this, this.el, ['six-file-list-item-download', 'six-file-list-item-remove']);
|
|
514
|
+
}
|
|
515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileListItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
516
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixFileListItem, isStandalone: false, 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 }); }
|
|
517
|
+
};
|
|
518
|
+
SixFileListItem = __decorate([
|
|
519
|
+
ProxyCmp({
|
|
520
|
+
inputs: ['date', 'identifier', 'name', 'nodelete', 'nodownload', 'size']
|
|
521
|
+
})
|
|
522
|
+
], SixFileListItem);
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileListItem, decorators: [{
|
|
524
|
+
type: Component,
|
|
525
|
+
args: [{
|
|
526
|
+
selector: 'six-file-list-item',
|
|
527
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
528
|
+
template: '<ng-content></ng-content>',
|
|
529
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
530
|
+
inputs: ['date', 'identifier', 'name', 'nodelete', 'nodownload', 'size'],
|
|
531
|
+
standalone: false
|
|
532
|
+
}]
|
|
533
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
534
|
+
let SixFileUpload = class SixFileUpload {
|
|
535
|
+
constructor(c, r, z) {
|
|
536
|
+
this.z = z;
|
|
537
|
+
c.detach();
|
|
538
|
+
this.el = r.nativeElement;
|
|
539
|
+
proxyOutputs(this, this.el, ['six-file-upload-success', 'six-file-upload-failure']);
|
|
540
|
+
}
|
|
541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileUpload, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
542
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixFileUpload, isStandalone: false, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", errorText: "errorText", invalid: "invalid", label: "label", maxFileSize: "maxFileSize", multiple: "multiple", uploading: "uploading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
543
|
+
};
|
|
544
|
+
SixFileUpload = __decorate([
|
|
545
|
+
ProxyCmp({
|
|
546
|
+
inputs: ['accept', 'compact', 'disabled', 'errorText', 'invalid', 'label', 'maxFileSize', 'multiple', 'uploading']
|
|
547
|
+
})
|
|
548
|
+
], SixFileUpload);
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFileUpload, decorators: [{
|
|
550
|
+
type: Component,
|
|
551
|
+
args: [{
|
|
552
|
+
selector: 'six-file-upload',
|
|
553
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
554
|
+
template: '<ng-content></ng-content>',
|
|
555
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
556
|
+
inputs: ['accept', 'compact', 'disabled', 'errorText', 'invalid', 'label', 'maxFileSize', 'multiple', 'uploading'],
|
|
557
|
+
standalone: false
|
|
558
|
+
}]
|
|
559
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
560
|
+
let SixFooter = class SixFooter {
|
|
561
|
+
constructor(c, r, z) {
|
|
562
|
+
this.z = z;
|
|
563
|
+
c.detach();
|
|
564
|
+
this.el = r.nativeElement;
|
|
565
|
+
}
|
|
566
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
567
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixFooter, isStandalone: false, selector: "six-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
568
|
+
};
|
|
569
|
+
SixFooter = __decorate([
|
|
570
|
+
ProxyCmp({})
|
|
571
|
+
], SixFooter);
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFooter, decorators: [{
|
|
573
|
+
type: Component,
|
|
574
|
+
args: [{
|
|
575
|
+
selector: 'six-footer',
|
|
576
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
577
|
+
template: '<ng-content></ng-content>',
|
|
578
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
579
|
+
inputs: [],
|
|
580
|
+
standalone: false
|
|
581
|
+
}]
|
|
582
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
583
|
+
let SixGroupLabel = class SixGroupLabel {
|
|
584
|
+
constructor(c, r, z) {
|
|
585
|
+
this.z = z;
|
|
586
|
+
c.detach();
|
|
587
|
+
this.el = r.nativeElement;
|
|
588
|
+
}
|
|
589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixGroupLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
590
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixGroupLabel, isStandalone: false, 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 }); }
|
|
591
|
+
};
|
|
592
|
+
SixGroupLabel = __decorate([
|
|
593
|
+
ProxyCmp({
|
|
594
|
+
inputs: ['disabled', 'helpText', 'label', 'required', 'size']
|
|
595
|
+
})
|
|
596
|
+
], SixGroupLabel);
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixGroupLabel, decorators: [{
|
|
598
|
+
type: Component,
|
|
599
|
+
args: [{
|
|
600
|
+
selector: 'six-group-label',
|
|
601
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
602
|
+
template: '<ng-content></ng-content>',
|
|
603
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
604
|
+
inputs: ['disabled', 'helpText', 'label', 'required', 'size'],
|
|
605
|
+
standalone: false
|
|
606
|
+
}]
|
|
607
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
608
|
+
let SixHeader = class SixHeader {
|
|
609
|
+
constructor(c, r, z) {
|
|
610
|
+
this.z = z;
|
|
611
|
+
c.detach();
|
|
612
|
+
this.el = r.nativeElement;
|
|
613
|
+
}
|
|
614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
615
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixHeader, isStandalone: false, selector: "six-header", inputs: { openSearch: "openSearch", shiftContent: "shiftContent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
616
|
+
};
|
|
617
|
+
SixHeader = __decorate([
|
|
618
|
+
ProxyCmp({
|
|
619
|
+
inputs: ['openSearch', 'shiftContent']
|
|
620
|
+
})
|
|
621
|
+
], SixHeader);
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeader, decorators: [{
|
|
623
|
+
type: Component,
|
|
624
|
+
args: [{
|
|
625
|
+
selector: 'six-header',
|
|
626
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
627
|
+
template: '<ng-content></ng-content>',
|
|
628
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
629
|
+
inputs: ['openSearch', 'shiftContent'],
|
|
630
|
+
standalone: false
|
|
631
|
+
}]
|
|
632
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
633
|
+
let SixHeaderDropdownItem = class SixHeaderDropdownItem {
|
|
634
|
+
constructor(c, r, z) {
|
|
635
|
+
this.z = z;
|
|
636
|
+
c.detach();
|
|
637
|
+
this.el = r.nativeElement;
|
|
638
|
+
}
|
|
639
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderDropdownItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
640
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixHeaderDropdownItem, isStandalone: false, selector: "six-header-dropdown-item", inputs: { filter: "filter", filterPlaceholder: "filterPlaceholder" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
641
|
+
};
|
|
642
|
+
SixHeaderDropdownItem = __decorate([
|
|
643
|
+
ProxyCmp({
|
|
644
|
+
inputs: ['filter', 'filterPlaceholder']
|
|
645
|
+
})
|
|
646
|
+
], SixHeaderDropdownItem);
|
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderDropdownItem, decorators: [{
|
|
648
|
+
type: Component,
|
|
649
|
+
args: [{
|
|
650
|
+
selector: 'six-header-dropdown-item',
|
|
651
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
652
|
+
template: '<ng-content></ng-content>',
|
|
653
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
654
|
+
inputs: ['filter', 'filterPlaceholder'],
|
|
655
|
+
standalone: false
|
|
656
|
+
}]
|
|
657
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
658
|
+
let SixHeaderItem = class SixHeaderItem {
|
|
659
|
+
constructor(c, r, z) {
|
|
660
|
+
this.z = z;
|
|
661
|
+
c.detach();
|
|
662
|
+
this.el = r.nativeElement;
|
|
663
|
+
}
|
|
664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
665
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixHeaderItem, isStandalone: false, selector: "six-header-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
666
|
+
};
|
|
667
|
+
SixHeaderItem = __decorate([
|
|
668
|
+
ProxyCmp({
|
|
669
|
+
inputs: ['active']
|
|
670
|
+
})
|
|
671
|
+
], SixHeaderItem);
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderItem, decorators: [{
|
|
673
|
+
type: Component,
|
|
674
|
+
args: [{
|
|
675
|
+
selector: 'six-header-item',
|
|
676
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
677
|
+
template: '<ng-content></ng-content>',
|
|
678
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
679
|
+
inputs: ['active'],
|
|
680
|
+
standalone: false
|
|
681
|
+
}]
|
|
682
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
683
|
+
let SixHeaderMenuButton = class SixHeaderMenuButton {
|
|
684
|
+
constructor(c, r, z) {
|
|
685
|
+
this.z = z;
|
|
686
|
+
c.detach();
|
|
687
|
+
this.el = r.nativeElement;
|
|
688
|
+
}
|
|
689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderMenuButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
690
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixHeaderMenuButton, isStandalone: false, selector: "six-header-menu-button", inputs: { caret: "caret", disabled: "disabled", loading: "loading", reset: "reset", submit: "submit" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
691
|
+
};
|
|
692
|
+
SixHeaderMenuButton = __decorate([
|
|
693
|
+
ProxyCmp({
|
|
694
|
+
inputs: ['caret', 'disabled', 'loading', 'reset', 'submit']
|
|
695
|
+
})
|
|
696
|
+
], SixHeaderMenuButton);
|
|
697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixHeaderMenuButton, decorators: [{
|
|
698
|
+
type: Component,
|
|
699
|
+
args: [{
|
|
700
|
+
selector: 'six-header-menu-button',
|
|
701
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
702
|
+
template: '<ng-content></ng-content>',
|
|
703
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
704
|
+
inputs: ['caret', 'disabled', 'loading', 'reset', 'submit'],
|
|
705
|
+
standalone: false
|
|
706
|
+
}]
|
|
707
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
708
|
+
let SixIcon = class SixIcon {
|
|
709
|
+
constructor(c, r, z) {
|
|
710
|
+
this.z = z;
|
|
711
|
+
c.detach();
|
|
712
|
+
this.el = r.nativeElement;
|
|
713
|
+
}
|
|
714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
715
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixIcon, isStandalone: false, selector: "six-icon", inputs: { filled: "filled", library: "library", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
716
|
+
};
|
|
717
|
+
SixIcon = __decorate([
|
|
718
|
+
ProxyCmp({
|
|
719
|
+
inputs: ['filled', 'library', 'size']
|
|
720
|
+
})
|
|
721
|
+
], SixIcon);
|
|
722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixIcon, decorators: [{
|
|
723
|
+
type: Component,
|
|
724
|
+
args: [{
|
|
725
|
+
selector: 'six-icon',
|
|
726
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
727
|
+
template: '<ng-content></ng-content>',
|
|
728
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
729
|
+
inputs: ['filled', 'library', 'size'],
|
|
730
|
+
standalone: false
|
|
731
|
+
}]
|
|
732
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
733
|
+
let SixIconButton = class SixIconButton {
|
|
734
|
+
constructor(c, r, z) {
|
|
735
|
+
this.z = z;
|
|
736
|
+
c.detach();
|
|
737
|
+
this.el = r.nativeElement;
|
|
738
|
+
}
|
|
739
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
740
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixIconButton, isStandalone: false, selector: "six-icon-button", inputs: { disabled: "disabled", download: "download", href: "href", html: "html", label: "label", name: "name", size: "size", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
741
|
+
};
|
|
742
|
+
SixIconButton = __decorate([
|
|
743
|
+
ProxyCmp({
|
|
744
|
+
inputs: ['disabled', 'download', 'href', 'html', 'label', 'name', 'size', 'target']
|
|
745
|
+
})
|
|
746
|
+
], SixIconButton);
|
|
747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixIconButton, decorators: [{
|
|
748
|
+
type: Component,
|
|
749
|
+
args: [{
|
|
750
|
+
selector: 'six-icon-button',
|
|
751
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
752
|
+
template: '<ng-content></ng-content>',
|
|
753
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
754
|
+
inputs: ['disabled', 'download', 'href', 'html', 'label', 'name', 'size', 'target'],
|
|
755
|
+
standalone: false
|
|
756
|
+
}]
|
|
757
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
758
|
+
let SixInput = class SixInput {
|
|
759
|
+
constructor(c, r, z) {
|
|
760
|
+
this.z = z;
|
|
761
|
+
c.detach();
|
|
762
|
+
this.el = r.nativeElement;
|
|
763
|
+
proxyOutputs(this, this.el, ['six-input-change', 'six-input-clear', 'six-input-input', 'six-input-focus', 'six-input-blur']);
|
|
764
|
+
}
|
|
765
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
766
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixInput, isStandalone: false, selector: "six-input", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearable: "clearable", disabled: "disabled", dropdownSearch: "dropdownSearch", 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 }); }
|
|
767
|
+
};
|
|
768
|
+
SixInput = __decorate([
|
|
769
|
+
ProxyCmp({
|
|
770
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'dropdownSearch', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
|
|
771
|
+
methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'getSelectionRange', 'setRangeText']
|
|
772
|
+
})
|
|
773
|
+
], SixInput);
|
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixInput, decorators: [{
|
|
775
|
+
type: Component,
|
|
776
|
+
args: [{
|
|
777
|
+
selector: 'six-input',
|
|
778
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
779
|
+
template: '<ng-content></ng-content>',
|
|
780
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
781
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'dropdownSearch', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
|
|
782
|
+
standalone: false
|
|
783
|
+
}]
|
|
784
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
785
|
+
let SixItemPicker = class SixItemPicker {
|
|
786
|
+
constructor(c, r, z) {
|
|
787
|
+
this.z = z;
|
|
788
|
+
c.detach();
|
|
789
|
+
this.el = r.nativeElement;
|
|
790
|
+
proxyOutputs(this, this.el, ['six-item-picker-change', 'six-item-picker-change-debounced']);
|
|
791
|
+
}
|
|
792
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixItemPicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
793
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixItemPicker, isStandalone: false, 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 }); }
|
|
794
|
+
};
|
|
795
|
+
SixItemPicker = __decorate([
|
|
796
|
+
ProxyCmp({
|
|
797
|
+
inputs: ['debounce', 'interval', 'items', 'max', 'min', 'padded', 'paddingChar', 'paddingDirection', 'paddingLength', 'roundtrip', 'step', 'timeout', 'type', 'value']
|
|
798
|
+
})
|
|
799
|
+
], SixItemPicker);
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixItemPicker, decorators: [{
|
|
801
|
+
type: Component,
|
|
802
|
+
args: [{
|
|
803
|
+
selector: 'six-item-picker',
|
|
804
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
805
|
+
template: '<ng-content></ng-content>',
|
|
806
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
807
|
+
inputs: ['debounce', 'interval', 'items', 'max', 'min', 'padded', 'paddingChar', 'paddingDirection', 'paddingLength', 'roundtrip', 'step', 'timeout', 'type', 'value'],
|
|
808
|
+
standalone: false
|
|
809
|
+
}]
|
|
810
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
811
|
+
let SixLanguageSwitcher = class SixLanguageSwitcher {
|
|
812
|
+
constructor(c, r, z) {
|
|
813
|
+
this.z = z;
|
|
814
|
+
c.detach();
|
|
815
|
+
this.el = r.nativeElement;
|
|
816
|
+
proxyOutputs(this, this.el, ['six-language-switcher-change']);
|
|
817
|
+
}
|
|
818
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLanguageSwitcher, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
819
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixLanguageSwitcher, isStandalone: false, selector: "six-language-switcher", inputs: { languages: "languages", selected: "selected" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
820
|
+
};
|
|
821
|
+
SixLanguageSwitcher = __decorate([
|
|
822
|
+
ProxyCmp({
|
|
823
|
+
inputs: ['languages', 'selected']
|
|
824
|
+
})
|
|
825
|
+
], SixLanguageSwitcher);
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLanguageSwitcher, decorators: [{
|
|
827
|
+
type: Component,
|
|
828
|
+
args: [{
|
|
829
|
+
selector: 'six-language-switcher',
|
|
830
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
831
|
+
template: '<ng-content></ng-content>',
|
|
832
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
833
|
+
inputs: ['languages', 'selected'],
|
|
834
|
+
standalone: false
|
|
835
|
+
}]
|
|
836
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
837
|
+
let SixLayoutGrid = class SixLayoutGrid {
|
|
838
|
+
constructor(c, r, z) {
|
|
839
|
+
this.z = z;
|
|
840
|
+
c.detach();
|
|
841
|
+
this.el = r.nativeElement;
|
|
842
|
+
}
|
|
843
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLayoutGrid, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
844
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixLayoutGrid, isStandalone: false, selector: "six-layout-grid", inputs: { columns: "columns" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
845
|
+
};
|
|
846
|
+
SixLayoutGrid = __decorate([
|
|
847
|
+
ProxyCmp({
|
|
848
|
+
inputs: ['columns']
|
|
849
|
+
})
|
|
850
|
+
], SixLayoutGrid);
|
|
851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLayoutGrid, decorators: [{
|
|
852
|
+
type: Component,
|
|
853
|
+
args: [{
|
|
854
|
+
selector: 'six-layout-grid',
|
|
855
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
856
|
+
template: '<ng-content></ng-content>',
|
|
857
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
858
|
+
inputs: ['columns'],
|
|
859
|
+
standalone: false
|
|
860
|
+
}]
|
|
861
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
862
|
+
let SixLogo = class SixLogo {
|
|
863
|
+
constructor(c, r, z) {
|
|
864
|
+
this.z = z;
|
|
865
|
+
c.detach();
|
|
866
|
+
this.el = r.nativeElement;
|
|
867
|
+
}
|
|
868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLogo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
869
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixLogo, isStandalone: false, selector: "six-logo", inputs: { brand: "brand" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
870
|
+
};
|
|
871
|
+
SixLogo = __decorate([
|
|
872
|
+
ProxyCmp({
|
|
873
|
+
inputs: ['brand']
|
|
874
|
+
})
|
|
875
|
+
], SixLogo);
|
|
876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixLogo, decorators: [{
|
|
877
|
+
type: Component,
|
|
878
|
+
args: [{
|
|
879
|
+
selector: 'six-logo',
|
|
880
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
881
|
+
template: '<ng-content></ng-content>',
|
|
882
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
883
|
+
inputs: ['brand'],
|
|
884
|
+
standalone: false
|
|
885
|
+
}]
|
|
886
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
887
|
+
let SixMainContainer = class SixMainContainer {
|
|
888
|
+
constructor(c, r, z) {
|
|
889
|
+
this.z = z;
|
|
890
|
+
c.detach();
|
|
891
|
+
this.el = r.nativeElement;
|
|
892
|
+
}
|
|
893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMainContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
894
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixMainContainer, isStandalone: false, selector: "six-main-container", inputs: { padded: "padded" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
895
|
+
};
|
|
896
|
+
SixMainContainer = __decorate([
|
|
897
|
+
ProxyCmp({
|
|
898
|
+
inputs: ['padded']
|
|
899
|
+
})
|
|
900
|
+
], SixMainContainer);
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMainContainer, decorators: [{
|
|
902
|
+
type: Component,
|
|
903
|
+
args: [{
|
|
904
|
+
selector: 'six-main-container',
|
|
905
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
906
|
+
template: '<ng-content></ng-content>',
|
|
907
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
908
|
+
inputs: ['padded'],
|
|
909
|
+
standalone: false
|
|
910
|
+
}]
|
|
911
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
912
|
+
let SixMenu = class SixMenu {
|
|
913
|
+
constructor(c, r, z) {
|
|
914
|
+
this.z = z;
|
|
915
|
+
c.detach();
|
|
916
|
+
this.el = r.nativeElement;
|
|
917
|
+
proxyOutputs(this, this.el, ['six-menu-item-selected']);
|
|
918
|
+
}
|
|
919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
920
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixMenu, isStandalone: false, selector: "six-menu", inputs: { disableKeyboardHandling: "disableKeyboardHandling", 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 }); }
|
|
921
|
+
};
|
|
922
|
+
SixMenu = __decorate([
|
|
923
|
+
ProxyCmp({
|
|
924
|
+
inputs: ['disableKeyboardHandling', 'itemSize', 'items', 'itemsShown', 'removeBoxShadow', 'scrollingDebounce', 'virtualScroll'],
|
|
925
|
+
methods: ['typeToSelect']
|
|
926
|
+
})
|
|
927
|
+
], SixMenu);
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenu, decorators: [{
|
|
929
|
+
type: Component,
|
|
930
|
+
args: [{
|
|
931
|
+
selector: 'six-menu',
|
|
932
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
933
|
+
template: '<ng-content></ng-content>',
|
|
934
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
935
|
+
inputs: ['disableKeyboardHandling', 'itemSize', 'items', 'itemsShown', 'removeBoxShadow', 'scrollingDebounce', 'virtualScroll'],
|
|
936
|
+
standalone: false
|
|
937
|
+
}]
|
|
938
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
939
|
+
let SixMenuDivider = class SixMenuDivider {
|
|
940
|
+
constructor(c, r, z) {
|
|
941
|
+
this.z = z;
|
|
942
|
+
c.detach();
|
|
943
|
+
this.el = r.nativeElement;
|
|
944
|
+
}
|
|
945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
946
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixMenuDivider, isStandalone: false, selector: "six-menu-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
947
|
+
};
|
|
948
|
+
SixMenuDivider = __decorate([
|
|
949
|
+
ProxyCmp({})
|
|
950
|
+
], SixMenuDivider);
|
|
951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuDivider, decorators: [{
|
|
952
|
+
type: Component,
|
|
953
|
+
args: [{
|
|
954
|
+
selector: 'six-menu-divider',
|
|
955
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
956
|
+
template: '<ng-content></ng-content>',
|
|
957
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
958
|
+
inputs: [],
|
|
959
|
+
standalone: false
|
|
960
|
+
}]
|
|
961
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
962
|
+
let SixMenuItem = class SixMenuItem {
|
|
963
|
+
constructor(c, r, z) {
|
|
964
|
+
this.z = z;
|
|
965
|
+
c.detach();
|
|
966
|
+
this.el = r.nativeElement;
|
|
967
|
+
}
|
|
968
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
969
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixMenuItem, isStandalone: false, selector: "six-menu-item", inputs: { checkType: "checkType", checked: "checked", disabled: "disabled", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
970
|
+
};
|
|
971
|
+
SixMenuItem = __decorate([
|
|
972
|
+
ProxyCmp({
|
|
973
|
+
inputs: ['checkType', 'checked', 'disabled', 'value'],
|
|
974
|
+
methods: ['setFocus', 'removeFocus', 'getTextLabel']
|
|
975
|
+
})
|
|
976
|
+
], SixMenuItem);
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuItem, decorators: [{
|
|
978
|
+
type: Component,
|
|
979
|
+
args: [{
|
|
980
|
+
selector: 'six-menu-item',
|
|
981
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
982
|
+
template: '<ng-content></ng-content>',
|
|
983
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
984
|
+
inputs: ['checkType', 'checked', 'disabled', 'value'],
|
|
985
|
+
standalone: false
|
|
986
|
+
}]
|
|
987
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
988
|
+
let SixMenuLabel = class SixMenuLabel {
|
|
989
|
+
constructor(c, r, z) {
|
|
990
|
+
this.z = z;
|
|
991
|
+
c.detach();
|
|
992
|
+
this.el = r.nativeElement;
|
|
993
|
+
}
|
|
994
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
995
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixMenuLabel, isStandalone: false, selector: "six-menu-label", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
996
|
+
};
|
|
997
|
+
SixMenuLabel = __decorate([
|
|
998
|
+
ProxyCmp({})
|
|
999
|
+
], SixMenuLabel);
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixMenuLabel, decorators: [{
|
|
1001
|
+
type: Component,
|
|
1002
|
+
args: [{
|
|
1003
|
+
selector: 'six-menu-label',
|
|
1004
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1005
|
+
template: '<ng-content></ng-content>',
|
|
1006
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1007
|
+
inputs: [],
|
|
1008
|
+
standalone: false
|
|
1009
|
+
}]
|
|
1010
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1011
|
+
let SixPicto = class SixPicto {
|
|
1012
|
+
constructor(c, r, z) {
|
|
1013
|
+
this.z = z;
|
|
1014
|
+
c.detach();
|
|
1015
|
+
this.el = r.nativeElement;
|
|
1016
|
+
}
|
|
1017
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixPicto, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1018
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixPicto, isStandalone: false, selector: "six-picto", inputs: { size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1019
|
+
};
|
|
1020
|
+
SixPicto = __decorate([
|
|
1021
|
+
ProxyCmp({
|
|
1022
|
+
inputs: ['size']
|
|
1023
|
+
})
|
|
1024
|
+
], SixPicto);
|
|
1025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixPicto, decorators: [{
|
|
1026
|
+
type: Component,
|
|
1027
|
+
args: [{
|
|
1028
|
+
selector: 'six-picto',
|
|
1029
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1030
|
+
template: '<ng-content></ng-content>',
|
|
1031
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1032
|
+
inputs: ['size'],
|
|
1033
|
+
standalone: false
|
|
1034
|
+
}]
|
|
1035
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1036
|
+
let SixProgressBar = class SixProgressBar {
|
|
1037
|
+
constructor(c, r, z) {
|
|
1038
|
+
this.z = z;
|
|
1039
|
+
c.detach();
|
|
1040
|
+
this.el = r.nativeElement;
|
|
1041
|
+
}
|
|
1042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixProgressBar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1043
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixProgressBar, isStandalone: false, selector: "six-progress-bar", inputs: { indeterminate: "indeterminate", percentage: "percentage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1044
|
+
};
|
|
1045
|
+
SixProgressBar = __decorate([
|
|
1046
|
+
ProxyCmp({
|
|
1047
|
+
inputs: ['indeterminate', 'percentage']
|
|
1048
|
+
})
|
|
1049
|
+
], SixProgressBar);
|
|
1050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixProgressBar, decorators: [{
|
|
1051
|
+
type: Component,
|
|
1052
|
+
args: [{
|
|
1053
|
+
selector: 'six-progress-bar',
|
|
1054
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1055
|
+
template: '<ng-content></ng-content>',
|
|
1056
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1057
|
+
inputs: ['indeterminate', 'percentage'],
|
|
1058
|
+
standalone: false
|
|
1059
|
+
}]
|
|
1060
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1061
|
+
let SixProgressRing = class SixProgressRing {
|
|
1062
|
+
constructor(c, r, z) {
|
|
1063
|
+
this.z = z;
|
|
1064
|
+
c.detach();
|
|
1065
|
+
this.el = r.nativeElement;
|
|
1066
|
+
}
|
|
1067
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixProgressRing, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1068
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixProgressRing, isStandalone: false, selector: "six-progress-ring", inputs: { percentage: "percentage", size: "size", strokeWidth: "strokeWidth" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1069
|
+
};
|
|
1070
|
+
SixProgressRing = __decorate([
|
|
1071
|
+
ProxyCmp({
|
|
1072
|
+
inputs: ['percentage', 'size', 'strokeWidth']
|
|
1073
|
+
})
|
|
1074
|
+
], SixProgressRing);
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixProgressRing, decorators: [{
|
|
1076
|
+
type: Component,
|
|
1077
|
+
args: [{
|
|
1078
|
+
selector: 'six-progress-ring',
|
|
1079
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1080
|
+
template: '<ng-content></ng-content>',
|
|
1081
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1082
|
+
inputs: ['percentage', 'size', 'strokeWidth'],
|
|
1083
|
+
standalone: false
|
|
1084
|
+
}]
|
|
1085
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1086
|
+
let SixRadio = class SixRadio {
|
|
1087
|
+
constructor(c, r, z) {
|
|
1088
|
+
this.z = z;
|
|
1089
|
+
c.detach();
|
|
1090
|
+
this.el = r.nativeElement;
|
|
1091
|
+
proxyOutputs(this, this.el, ['six-radio-blur', 'six-radio-change', 'six-radio-focus']);
|
|
1092
|
+
}
|
|
1093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1094
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixRadio, isStandalone: false, 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 }); }
|
|
1095
|
+
};
|
|
1096
|
+
SixRadio = __decorate([
|
|
1097
|
+
ProxyCmp({
|
|
1098
|
+
inputs: ['checked', 'disabled', 'invalid', 'name', 'value'],
|
|
1099
|
+
methods: ['setFocus', 'removeFocus']
|
|
1100
|
+
})
|
|
1101
|
+
], SixRadio);
|
|
1102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRadio, decorators: [{
|
|
1103
|
+
type: Component,
|
|
1104
|
+
args: [{
|
|
1105
|
+
selector: 'six-radio',
|
|
1106
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1107
|
+
template: '<ng-content></ng-content>',
|
|
1108
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1109
|
+
inputs: ['checked', 'disabled', 'invalid', 'name', 'value'],
|
|
1110
|
+
standalone: false
|
|
1111
|
+
}]
|
|
1112
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1113
|
+
let SixRange = class SixRange {
|
|
1114
|
+
constructor(c, r, z) {
|
|
1115
|
+
this.z = z;
|
|
1116
|
+
c.detach();
|
|
1117
|
+
this.el = r.nativeElement;
|
|
1118
|
+
proxyOutputs(this, this.el, ['six-range-change', 'six-range-blur', 'six-range-focus']);
|
|
1119
|
+
}
|
|
1120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1121
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixRange, isStandalone: false, 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 }); }
|
|
1122
|
+
};
|
|
1123
|
+
SixRange = __decorate([
|
|
1124
|
+
ProxyCmp({
|
|
1125
|
+
inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
|
|
1126
|
+
methods: ['setFocus', 'removeFocus']
|
|
1127
|
+
})
|
|
1128
|
+
], SixRange);
|
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRange, decorators: [{
|
|
1130
|
+
type: Component,
|
|
1131
|
+
args: [{
|
|
1132
|
+
selector: 'six-range',
|
|
1133
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1134
|
+
template: '<ng-content></ng-content>',
|
|
1135
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1136
|
+
inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
|
|
1137
|
+
standalone: false
|
|
1138
|
+
}]
|
|
1139
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1140
|
+
let SixRating = class SixRating {
|
|
1141
|
+
constructor(c, r, z) {
|
|
1142
|
+
this.z = z;
|
|
1143
|
+
c.detach();
|
|
1144
|
+
this.el = r.nativeElement;
|
|
1145
|
+
proxyOutputs(this, this.el, ['six-rating-blur', 'six-rating-change', 'six-rating-focus']);
|
|
1146
|
+
}
|
|
1147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRating, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1148
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixRating, isStandalone: false, selector: "six-rating", inputs: { disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", invalid: "invalid", label: "label", max: "max", name: "name", readonly: "readonly", required: "required", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1149
|
+
};
|
|
1150
|
+
SixRating = __decorate([
|
|
1151
|
+
ProxyCmp({
|
|
1152
|
+
inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'name', 'readonly', 'required', 'size', 'value']
|
|
1153
|
+
})
|
|
1154
|
+
], SixRating);
|
|
1155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRating, decorators: [{
|
|
1156
|
+
type: Component,
|
|
1157
|
+
args: [{
|
|
1158
|
+
selector: 'six-rating',
|
|
1159
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1160
|
+
template: '<ng-content></ng-content>',
|
|
1161
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1162
|
+
inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'name', 'readonly', 'required', 'size', 'value'],
|
|
1163
|
+
standalone: false
|
|
1164
|
+
}]
|
|
1165
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1166
|
+
let SixRoot = class SixRoot {
|
|
1167
|
+
constructor(c, r, z) {
|
|
1168
|
+
this.z = z;
|
|
1169
|
+
c.detach();
|
|
1170
|
+
this.el = r.nativeElement;
|
|
1171
|
+
}
|
|
1172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRoot, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1173
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixRoot, isStandalone: false, selector: "six-root", inputs: { padded: "padded", stage: "stage", version: "version" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1174
|
+
};
|
|
1175
|
+
SixRoot = __decorate([
|
|
1176
|
+
ProxyCmp({
|
|
1177
|
+
inputs: ['padded', 'stage', 'version']
|
|
1178
|
+
})
|
|
1179
|
+
], SixRoot);
|
|
1180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRoot, decorators: [{
|
|
1181
|
+
type: Component,
|
|
1182
|
+
args: [{
|
|
1183
|
+
selector: 'six-root',
|
|
1184
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1185
|
+
template: '<ng-content></ng-content>',
|
|
1186
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1187
|
+
inputs: ['padded', 'stage', 'version'],
|
|
1188
|
+
standalone: false
|
|
1189
|
+
}]
|
|
1190
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1191
|
+
let SixSearchField = class SixSearchField {
|
|
1192
|
+
constructor(c, r, z) {
|
|
1193
|
+
this.z = z;
|
|
1194
|
+
c.detach();
|
|
1195
|
+
this.el = r.nativeElement;
|
|
1196
|
+
proxyOutputs(this, this.el, ['six-search-field-change']);
|
|
1197
|
+
}
|
|
1198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSearchField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1199
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSearchField, isStandalone: false, 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 }); }
|
|
1200
|
+
};
|
|
1201
|
+
SixSearchField = __decorate([
|
|
1202
|
+
ProxyCmp({
|
|
1203
|
+
inputs: ['clearable', 'debounce', 'disabled', 'placeholder', 'value']
|
|
1204
|
+
})
|
|
1205
|
+
], SixSearchField);
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSearchField, decorators: [{
|
|
1207
|
+
type: Component,
|
|
1208
|
+
args: [{
|
|
1209
|
+
selector: 'six-search-field',
|
|
1210
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1211
|
+
template: '<ng-content></ng-content>',
|
|
1212
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1213
|
+
inputs: ['clearable', 'debounce', 'disabled', 'placeholder', 'value'],
|
|
1214
|
+
standalone: false
|
|
1215
|
+
}]
|
|
1216
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1217
|
+
let SixSelect = class SixSelect {
|
|
1218
|
+
constructor(c, r, z) {
|
|
1219
|
+
this.z = z;
|
|
1220
|
+
c.detach();
|
|
1221
|
+
this.el = r.nativeElement;
|
|
1222
|
+
proxyOutputs(this, this.el, ['six-select-change', 'six-select-focus', 'six-select-blur']);
|
|
1223
|
+
}
|
|
1224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSelect, isStandalone: false, 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", multiple: "multiple", name: "name", options: "options", pill: "pill", placeholder: "placeholder", required: "required", selectAllButton: "selectAllButton", selectAllText: "selectAllText", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1226
|
+
};
|
|
1227
|
+
SixSelect = __decorate([
|
|
1228
|
+
ProxyCmp({
|
|
1229
|
+
inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
|
|
1230
|
+
methods: ['setFocus']
|
|
1231
|
+
})
|
|
1232
|
+
], SixSelect);
|
|
1233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSelect, decorators: [{
|
|
1234
|
+
type: Component,
|
|
1235
|
+
args: [{
|
|
1236
|
+
selector: 'six-select',
|
|
1237
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1238
|
+
template: '<ng-content></ng-content>',
|
|
1239
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1240
|
+
inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
|
|
1241
|
+
standalone: false
|
|
1242
|
+
}]
|
|
1243
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1244
|
+
let SixSidebar = class SixSidebar {
|
|
1245
|
+
constructor(c, r, z) {
|
|
1246
|
+
this.z = z;
|
|
1247
|
+
c.detach();
|
|
1248
|
+
this.el = r.nativeElement;
|
|
1249
|
+
proxyOutputs(this, this.el, ['six-sidebar-show', 'six-sidebar-after-show', 'six-sidebar-hide', 'six-sidebar-after-hide', 'six-sidebar-initial-focus']);
|
|
1250
|
+
}
|
|
1251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1252
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSidebar, isStandalone: false, 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 }); }
|
|
1253
|
+
};
|
|
1254
|
+
SixSidebar = __decorate([
|
|
1255
|
+
ProxyCmp({
|
|
1256
|
+
inputs: ['open', 'position', 'toggled', 'width'],
|
|
1257
|
+
methods: ['toggle', 'show', 'hide', 'selectItemByIndex', 'selectItemByName']
|
|
1258
|
+
})
|
|
1259
|
+
], SixSidebar);
|
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebar, decorators: [{
|
|
1261
|
+
type: Component,
|
|
1262
|
+
args: [{
|
|
1263
|
+
selector: 'six-sidebar',
|
|
1264
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1265
|
+
template: '<ng-content></ng-content>',
|
|
1266
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1267
|
+
inputs: ['open', 'position', 'toggled', 'width'],
|
|
1268
|
+
standalone: false
|
|
1269
|
+
}]
|
|
1270
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1271
|
+
let SixSidebarItem = class SixSidebarItem {
|
|
1272
|
+
constructor(c, r, z) {
|
|
1273
|
+
this.z = z;
|
|
1274
|
+
c.detach();
|
|
1275
|
+
this.el = r.nativeElement;
|
|
1276
|
+
}
|
|
1277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebarItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1278
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSidebarItem, isStandalone: false, selector: "six-sidebar-item", inputs: { disabled: "disabled", href: "href", icon: "icon", selected: "selected", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1279
|
+
};
|
|
1280
|
+
SixSidebarItem = __decorate([
|
|
1281
|
+
ProxyCmp({
|
|
1282
|
+
inputs: ['disabled', 'href', 'icon', 'selected', 'value']
|
|
1283
|
+
})
|
|
1284
|
+
], SixSidebarItem);
|
|
1285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebarItem, decorators: [{
|
|
1286
|
+
type: Component,
|
|
1287
|
+
args: [{
|
|
1288
|
+
selector: 'six-sidebar-item',
|
|
1289
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1290
|
+
template: '<ng-content></ng-content>',
|
|
1291
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1292
|
+
inputs: ['disabled', 'href', 'icon', 'selected', 'value'],
|
|
1293
|
+
standalone: false
|
|
1294
|
+
}]
|
|
1295
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1296
|
+
let SixSidebarItemGroup = class SixSidebarItemGroup {
|
|
1297
|
+
constructor(c, r, z) {
|
|
1298
|
+
this.z = z;
|
|
1299
|
+
c.detach();
|
|
1300
|
+
this.el = r.nativeElement;
|
|
1301
|
+
}
|
|
1302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebarItemGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1303
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSidebarItemGroup, isStandalone: false, selector: "six-sidebar-item-group", inputs: { href: "href", icon: "icon", name: "name", open: "open", summaryIcon: "summaryIcon", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1304
|
+
};
|
|
1305
|
+
SixSidebarItemGroup = __decorate([
|
|
1306
|
+
ProxyCmp({
|
|
1307
|
+
inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value']
|
|
1308
|
+
})
|
|
1309
|
+
], SixSidebarItemGroup);
|
|
1310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSidebarItemGroup, decorators: [{
|
|
1311
|
+
type: Component,
|
|
1312
|
+
args: [{
|
|
1313
|
+
selector: 'six-sidebar-item-group',
|
|
1314
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1315
|
+
template: '<ng-content></ng-content>',
|
|
1316
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1317
|
+
inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value'],
|
|
1318
|
+
standalone: false
|
|
1319
|
+
}]
|
|
1320
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1321
|
+
let SixSpinner = class SixSpinner {
|
|
1322
|
+
constructor(c, r, z) {
|
|
1323
|
+
this.z = z;
|
|
1324
|
+
c.detach();
|
|
1325
|
+
this.el = r.nativeElement;
|
|
1326
|
+
}
|
|
1327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1328
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSpinner, isStandalone: false, selector: "six-spinner", inputs: { logo: "logo", six: "six" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1329
|
+
};
|
|
1330
|
+
SixSpinner = __decorate([
|
|
1331
|
+
ProxyCmp({
|
|
1332
|
+
inputs: ['logo', 'six']
|
|
1333
|
+
})
|
|
1334
|
+
], SixSpinner);
|
|
1335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSpinner, decorators: [{
|
|
1336
|
+
type: Component,
|
|
1337
|
+
args: [{
|
|
1338
|
+
selector: 'six-spinner',
|
|
1339
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1340
|
+
template: '<ng-content></ng-content>',
|
|
1341
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1342
|
+
inputs: ['logo', 'six'],
|
|
1343
|
+
standalone: false
|
|
1344
|
+
}]
|
|
1345
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1346
|
+
let SixStageIndicator = class SixStageIndicator {
|
|
1347
|
+
constructor(c, r, z) {
|
|
1348
|
+
this.z = z;
|
|
1349
|
+
c.detach();
|
|
1350
|
+
this.el = r.nativeElement;
|
|
1351
|
+
}
|
|
1352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixStageIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1353
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixStageIndicator, isStandalone: false, selector: "six-stage-indicator", inputs: { stage: "stage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1354
|
+
};
|
|
1355
|
+
SixStageIndicator = __decorate([
|
|
1356
|
+
ProxyCmp({
|
|
1357
|
+
inputs: ['stage']
|
|
1358
|
+
})
|
|
1359
|
+
], SixStageIndicator);
|
|
1360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixStageIndicator, decorators: [{
|
|
1361
|
+
type: Component,
|
|
1362
|
+
args: [{
|
|
1363
|
+
selector: 'six-stage-indicator',
|
|
1364
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1365
|
+
template: '<ng-content></ng-content>',
|
|
1366
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1367
|
+
inputs: ['stage'],
|
|
1368
|
+
standalone: false
|
|
1369
|
+
}]
|
|
1370
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1371
|
+
let SixSwitch = class SixSwitch {
|
|
1372
|
+
constructor(c, r, z) {
|
|
1373
|
+
this.z = z;
|
|
1374
|
+
c.detach();
|
|
1375
|
+
this.el = r.nativeElement;
|
|
1376
|
+
proxyOutputs(this, this.el, ['six-switch-blur', 'six-switch-change', 'six-switch-focus']);
|
|
1377
|
+
}
|
|
1378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSwitch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1379
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixSwitch, isStandalone: false, 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 }); }
|
|
1380
|
+
};
|
|
1381
|
+
SixSwitch = __decorate([
|
|
1382
|
+
ProxyCmp({
|
|
1383
|
+
inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
|
|
1384
|
+
methods: ['setFocus', 'removeFocus']
|
|
1385
|
+
})
|
|
1386
|
+
], SixSwitch);
|
|
1387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixSwitch, decorators: [{
|
|
1388
|
+
type: Component,
|
|
1389
|
+
args: [{
|
|
1390
|
+
selector: 'six-switch',
|
|
1391
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1392
|
+
template: '<ng-content></ng-content>',
|
|
1393
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1394
|
+
inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
|
|
1395
|
+
standalone: false
|
|
1396
|
+
}]
|
|
1397
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1398
|
+
let SixTab = class SixTab {
|
|
1399
|
+
constructor(c, r, z) {
|
|
1400
|
+
this.z = z;
|
|
1401
|
+
c.detach();
|
|
1402
|
+
this.el = r.nativeElement;
|
|
1403
|
+
proxyOutputs(this, this.el, ['six-tab-close']);
|
|
1404
|
+
}
|
|
1405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1406
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTab, isStandalone: false, selector: "six-tab", inputs: { active: "active", closable: "closable", disabled: "disabled", hoverContent: "hoverContent", panel: "panel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1407
|
+
};
|
|
1408
|
+
SixTab = __decorate([
|
|
1409
|
+
ProxyCmp({
|
|
1410
|
+
inputs: ['active', 'closable', 'disabled', 'hoverContent', 'panel'],
|
|
1411
|
+
methods: ['setFocus', 'removeFocus']
|
|
1412
|
+
})
|
|
1413
|
+
], SixTab);
|
|
1414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTab, decorators: [{
|
|
1415
|
+
type: Component,
|
|
1416
|
+
args: [{
|
|
1417
|
+
selector: 'six-tab',
|
|
1418
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1419
|
+
template: '<ng-content></ng-content>',
|
|
1420
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1421
|
+
inputs: ['active', 'closable', 'disabled', 'hoverContent', 'panel'],
|
|
1422
|
+
standalone: false
|
|
1423
|
+
}]
|
|
1424
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1425
|
+
let SixTabGroup = class SixTabGroup {
|
|
1426
|
+
constructor(c, r, z) {
|
|
1427
|
+
this.z = z;
|
|
1428
|
+
c.detach();
|
|
1429
|
+
this.el = r.nativeElement;
|
|
1430
|
+
proxyOutputs(this, this.el, ['six-tab-show', 'six-tab-hide']);
|
|
1431
|
+
}
|
|
1432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1433
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTabGroup, isStandalone: false, selector: "six-tab-group", inputs: { noScrollControls: "noScrollControls", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1434
|
+
};
|
|
1435
|
+
SixTabGroup = __decorate([
|
|
1436
|
+
ProxyCmp({
|
|
1437
|
+
inputs: ['noScrollControls', 'placement'],
|
|
1438
|
+
methods: ['show']
|
|
1439
|
+
})
|
|
1440
|
+
], SixTabGroup);
|
|
1441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTabGroup, decorators: [{
|
|
1442
|
+
type: Component,
|
|
1443
|
+
args: [{
|
|
1444
|
+
selector: 'six-tab-group',
|
|
1445
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1446
|
+
template: '<ng-content></ng-content>',
|
|
1447
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1448
|
+
inputs: ['noScrollControls', 'placement'],
|
|
1449
|
+
standalone: false
|
|
1450
|
+
}]
|
|
1451
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1452
|
+
let SixTabPanel = class SixTabPanel {
|
|
1453
|
+
constructor(c, r, z) {
|
|
1454
|
+
this.z = z;
|
|
1455
|
+
c.detach();
|
|
1456
|
+
this.el = r.nativeElement;
|
|
1457
|
+
}
|
|
1458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTabPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTabPanel, isStandalone: false, selector: "six-tab-panel", inputs: { active: "active", name: "name" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1460
|
+
};
|
|
1461
|
+
SixTabPanel = __decorate([
|
|
1462
|
+
ProxyCmp({
|
|
1463
|
+
inputs: ['active', 'name']
|
|
1464
|
+
})
|
|
1465
|
+
], SixTabPanel);
|
|
1466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTabPanel, decorators: [{
|
|
1467
|
+
type: Component,
|
|
1468
|
+
args: [{
|
|
1469
|
+
selector: 'six-tab-panel',
|
|
1470
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1471
|
+
template: '<ng-content></ng-content>',
|
|
1472
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1473
|
+
inputs: ['active', 'name'],
|
|
1474
|
+
standalone: false
|
|
1475
|
+
}]
|
|
1476
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1477
|
+
let SixTag = class SixTag {
|
|
1478
|
+
constructor(c, r, z) {
|
|
1479
|
+
this.z = z;
|
|
1480
|
+
c.detach();
|
|
1481
|
+
this.el = r.nativeElement;
|
|
1482
|
+
proxyOutputs(this, this.el, ['six-tag-clear']);
|
|
1483
|
+
}
|
|
1484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1485
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTag, isStandalone: false, 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 }); }
|
|
1486
|
+
};
|
|
1487
|
+
SixTag = __decorate([
|
|
1488
|
+
ProxyCmp({
|
|
1489
|
+
inputs: ['clearable', 'pill', 'size', 'type']
|
|
1490
|
+
})
|
|
1491
|
+
], SixTag);
|
|
1492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTag, decorators: [{
|
|
1493
|
+
type: Component,
|
|
1494
|
+
args: [{
|
|
1495
|
+
selector: 'six-tag',
|
|
1496
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1497
|
+
template: '<ng-content></ng-content>',
|
|
1498
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1499
|
+
inputs: ['clearable', 'pill', 'size', 'type'],
|
|
1500
|
+
standalone: false
|
|
1501
|
+
}]
|
|
1502
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1503
|
+
let SixTextarea = class SixTextarea {
|
|
1504
|
+
constructor(c, r, z) {
|
|
1505
|
+
this.z = z;
|
|
1506
|
+
c.detach();
|
|
1507
|
+
this.el = r.nativeElement;
|
|
1508
|
+
proxyOutputs(this, this.el, ['six-textarea-change', 'six-textarea-input', 'six-textarea-focus', 'six-textarea-blur']);
|
|
1509
|
+
}
|
|
1510
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1511
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTextarea, isStandalone: false, 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 }); }
|
|
1512
|
+
};
|
|
1513
|
+
SixTextarea = __decorate([
|
|
1514
|
+
ProxyCmp({
|
|
1515
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
|
|
1516
|
+
methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
|
|
1517
|
+
})
|
|
1518
|
+
], SixTextarea);
|
|
1519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTextarea, decorators: [{
|
|
1520
|
+
type: Component,
|
|
1521
|
+
args: [{
|
|
1522
|
+
selector: 'six-textarea',
|
|
1523
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1524
|
+
template: '<ng-content></ng-content>',
|
|
1525
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1526
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
|
|
1527
|
+
standalone: false
|
|
1528
|
+
}]
|
|
1529
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1530
|
+
let SixTile = class SixTile {
|
|
1531
|
+
constructor(c, r, z) {
|
|
1532
|
+
this.z = z;
|
|
1533
|
+
c.detach();
|
|
1534
|
+
this.el = r.nativeElement;
|
|
1535
|
+
proxyOutputs(this, this.el, ['six-tile-closed', 'six-tile-selected']);
|
|
1536
|
+
}
|
|
1537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1538
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTile, isStandalone: false, 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 }); }
|
|
1539
|
+
};
|
|
1540
|
+
SixTile = __decorate([
|
|
1541
|
+
ProxyCmp({
|
|
1542
|
+
inputs: ['closeable', 'disableTooltip', 'disabled', 'elevated', 'iconName', 'label', 'size'],
|
|
1543
|
+
methods: ['hide', 'show']
|
|
1544
|
+
})
|
|
1545
|
+
], SixTile);
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTile, decorators: [{
|
|
1547
|
+
type: Component,
|
|
1548
|
+
args: [{
|
|
1549
|
+
selector: 'six-tile',
|
|
1550
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1551
|
+
template: '<ng-content></ng-content>',
|
|
1552
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1553
|
+
inputs: ['closeable', 'disableTooltip', 'disabled', 'elevated', 'iconName', 'label', 'size'],
|
|
1554
|
+
standalone: false
|
|
1555
|
+
}]
|
|
1556
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1557
|
+
let SixTimepicker = class SixTimepicker {
|
|
1558
|
+
constructor(c, r, z) {
|
|
1559
|
+
this.z = z;
|
|
1560
|
+
c.detach();
|
|
1561
|
+
this.el = r.nativeElement;
|
|
1562
|
+
proxyOutputs(this, this.el, ['six-timepicker-change', 'six-timepicker-change-debounced', 'six-timepicker-clear']);
|
|
1563
|
+
}
|
|
1564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTimepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1565
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTimepicker, isStandalone: false, 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 }); }
|
|
1566
|
+
};
|
|
1567
|
+
SixTimepicker = __decorate([
|
|
1568
|
+
ProxyCmp({
|
|
1569
|
+
inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
|
|
1570
|
+
methods: ['setFocus']
|
|
1571
|
+
})
|
|
1572
|
+
], SixTimepicker);
|
|
1573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTimepicker, decorators: [{
|
|
1574
|
+
type: Component,
|
|
1575
|
+
args: [{
|
|
1576
|
+
selector: 'six-timepicker',
|
|
1577
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1578
|
+
template: '<ng-content></ng-content>',
|
|
1579
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1580
|
+
inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
|
|
1581
|
+
standalone: false
|
|
1582
|
+
}]
|
|
1583
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1584
|
+
let SixTooltip = class SixTooltip {
|
|
1585
|
+
constructor(c, r, z) {
|
|
1586
|
+
this.z = z;
|
|
1587
|
+
c.detach();
|
|
1588
|
+
this.el = r.nativeElement;
|
|
1589
|
+
proxyOutputs(this, this.el, ['six-tooltip-show', 'six-tooltip-after-show', 'six-tooltip-hide', 'six-tooltip-after-hide']);
|
|
1590
|
+
}
|
|
1591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1592
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: SixTooltip, isStandalone: false, 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 }); }
|
|
1593
|
+
};
|
|
1594
|
+
SixTooltip = __decorate([
|
|
1595
|
+
ProxyCmp({
|
|
1596
|
+
inputs: ['content', 'disabled', 'distance', 'open', 'placement', 'skidding', 'trigger'],
|
|
1597
|
+
methods: ['show', 'hide']
|
|
1598
|
+
})
|
|
1599
|
+
], SixTooltip);
|
|
1600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixTooltip, decorators: [{
|
|
1601
|
+
type: Component,
|
|
1602
|
+
args: [{
|
|
1603
|
+
selector: 'six-tooltip',
|
|
1604
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1605
|
+
template: '<ng-content></ng-content>',
|
|
1606
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1607
|
+
inputs: ['content', 'disabled', 'distance', 'open', 'placement', 'skidding', 'trigger'],
|
|
1608
|
+
standalone: false
|
|
1609
|
+
}]
|
|
1610
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1611
|
+
|
|
1612
|
+
const DIRECTIVES = [
|
|
1613
|
+
SixAlert,
|
|
1614
|
+
SixAvatar,
|
|
1615
|
+
SixBadge,
|
|
1616
|
+
SixBreadcrumbs,
|
|
1617
|
+
SixBreadcrumbsItem,
|
|
1618
|
+
SixButton,
|
|
1619
|
+
SixCard,
|
|
1620
|
+
SixCheckbox,
|
|
1621
|
+
SixDate,
|
|
1622
|
+
SixDatepicker,
|
|
1623
|
+
SixDetails,
|
|
1624
|
+
SixDialog,
|
|
1625
|
+
SixDrawer,
|
|
1626
|
+
SixDropdown,
|
|
1627
|
+
SixError,
|
|
1628
|
+
SixErrorPage,
|
|
1629
|
+
SixFileList,
|
|
1630
|
+
SixFileListItem,
|
|
1631
|
+
SixFileUpload,
|
|
1632
|
+
SixFooter,
|
|
1633
|
+
SixGroupLabel,
|
|
1634
|
+
SixHeader,
|
|
1635
|
+
SixHeaderDropdownItem,
|
|
1636
|
+
SixHeaderItem,
|
|
1637
|
+
SixHeaderMenuButton,
|
|
1638
|
+
SixIcon,
|
|
1639
|
+
SixIconButton,
|
|
1640
|
+
SixInput,
|
|
1641
|
+
SixItemPicker,
|
|
1642
|
+
SixLanguageSwitcher,
|
|
1643
|
+
SixLayoutGrid,
|
|
1644
|
+
SixLogo,
|
|
1645
|
+
SixMainContainer,
|
|
1646
|
+
SixMenu,
|
|
1647
|
+
SixMenuDivider,
|
|
1648
|
+
SixMenuItem,
|
|
1649
|
+
SixMenuLabel,
|
|
1650
|
+
SixPicto,
|
|
1651
|
+
SixProgressBar,
|
|
1652
|
+
SixProgressRing,
|
|
1653
|
+
SixRadio,
|
|
1654
|
+
SixRange,
|
|
1655
|
+
SixRating,
|
|
1656
|
+
SixRoot,
|
|
1657
|
+
SixSearchField,
|
|
1658
|
+
SixSelect,
|
|
1659
|
+
SixSidebar,
|
|
1660
|
+
SixSidebarItem,
|
|
1661
|
+
SixSidebarItemGroup,
|
|
1662
|
+
SixSpinner,
|
|
1663
|
+
SixStageIndicator,
|
|
1664
|
+
SixSwitch,
|
|
1665
|
+
SixTab,
|
|
1666
|
+
SixTabGroup,
|
|
1667
|
+
SixTabPanel,
|
|
1668
|
+
SixTag,
|
|
1669
|
+
SixTextarea,
|
|
1670
|
+
SixTile,
|
|
1671
|
+
SixTimepicker,
|
|
1672
|
+
SixTooltip
|
|
1673
|
+
];
|
|
1674
|
+
|
|
1675
|
+
class ValidationMessagesService {
|
|
1676
|
+
getErrorMessage(language, error) {
|
|
1677
|
+
return getErrorMessage(language, error);
|
|
1678
|
+
}
|
|
1679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ValidationMessagesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1680
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ValidationMessagesService, providedIn: 'root' }); }
|
|
1681
|
+
}
|
|
1682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ValidationMessagesService, decorators: [{
|
|
1683
|
+
type: Injectable,
|
|
1684
|
+
args: [{ providedIn: 'root' }]
|
|
1685
|
+
}] });
|
|
1686
|
+
|
|
1687
|
+
const DEFAULT_UI_LIBRARY_CONFIG = {
|
|
1688
|
+
showAsteriskOnRequiredValidator: false,
|
|
1689
|
+
disableValidationService: false,
|
|
1690
|
+
};
|
|
1691
|
+
const UI_LIBRARY_CONFIG = new InjectionToken('UiLibraryConfig');
|
|
1692
|
+
|
|
1693
|
+
class ValueAccessor {
|
|
1694
|
+
constructor(injector, el) {
|
|
1695
|
+
this.injector = injector;
|
|
1696
|
+
this.el = el;
|
|
1697
|
+
this.validationMessagesService = inject(ValidationMessagesService);
|
|
1698
|
+
this.config = inject(UI_LIBRARY_CONFIG);
|
|
1699
|
+
this.onChange = () => { };
|
|
1700
|
+
this.onTouched = () => { };
|
|
1701
|
+
}
|
|
1702
|
+
registerOnChange(fn) {
|
|
1703
|
+
this.onChange = fn;
|
|
1704
|
+
}
|
|
1705
|
+
registerOnTouched(fn) {
|
|
1706
|
+
this.onTouched = fn;
|
|
1707
|
+
}
|
|
1708
|
+
writeValue(value) {
|
|
1709
|
+
this.el.nativeElement.value = value;
|
|
1710
|
+
this.updateValidation();
|
|
1711
|
+
}
|
|
1712
|
+
/**
|
|
1713
|
+
* Notifies the ControlValueAccessor of a change in the value of the control.
|
|
1714
|
+
*
|
|
1715
|
+
* This is called by each of the ValueAccessor directives when we want to update
|
|
1716
|
+
* the status and validity of the form control. For example with text components this
|
|
1717
|
+
* is called when the input event is fired. For select components this is called
|
|
1718
|
+
* when the change event is fired.
|
|
1719
|
+
*
|
|
1720
|
+
* This also updates the form status on the element by setting the 'invalid' property to true/false.
|
|
1721
|
+
*
|
|
1722
|
+
* @param el The component element.
|
|
1723
|
+
* @param value The new value of the control.
|
|
1724
|
+
*/
|
|
1725
|
+
handleValueChange(el, value) {
|
|
1726
|
+
if (el === this.el.nativeElement) {
|
|
1727
|
+
this.onChange(value);
|
|
1728
|
+
this.updateValidation();
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
_handleBlurEvent(el) {
|
|
1732
|
+
if (el === this.el.nativeElement) {
|
|
1733
|
+
this.onTouched();
|
|
1734
|
+
this.updateValidation();
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
updateValidation() {
|
|
1738
|
+
nextTick(() => {
|
|
1739
|
+
if (this.ngControl?.control == null)
|
|
1740
|
+
return;
|
|
1741
|
+
const element = this.el.nativeElement;
|
|
1742
|
+
const control = this.ngControl?.control;
|
|
1743
|
+
const invalid = control.status === 'INVALID' && control.dirty && control.touched;
|
|
1744
|
+
element.invalid = invalid;
|
|
1745
|
+
// If the module is configured to do so, display error messages for invalid controls
|
|
1746
|
+
if (!this.config.disableValidationService) {
|
|
1747
|
+
const errorTexts = invalid ? this.initialErrorText || this.getErrorTexts(control) : undefined;
|
|
1748
|
+
element.errorText = errorTexts ?? '';
|
|
1749
|
+
}
|
|
1750
|
+
// When the module is configured to do so, display an asterisk next to any form control that has a required validator
|
|
1751
|
+
if (this.config.showAsteriskOnRequiredValidator && this.ngControl.control.hasValidator(Validators.required)) {
|
|
1752
|
+
element.required = true;
|
|
1753
|
+
}
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1756
|
+
setDisabledState(isDisabled) {
|
|
1757
|
+
this.el.nativeElement.disabled = isDisabled;
|
|
1758
|
+
}
|
|
1759
|
+
ngOnDestroy() {
|
|
1760
|
+
if (this.statusChanges) {
|
|
1761
|
+
this.statusChanges.unsubscribe();
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
ngAfterViewInit() {
|
|
1765
|
+
this.initialErrorText = this.el.nativeElement?.errorText?.trim() || undefined;
|
|
1766
|
+
try {
|
|
1767
|
+
this.ngControl = this.injector.get(NgControl);
|
|
1768
|
+
}
|
|
1769
|
+
catch {
|
|
1770
|
+
/* No FormControl or ngModel binding */
|
|
1771
|
+
}
|
|
1772
|
+
if (!this.ngControl) {
|
|
1773
|
+
return;
|
|
1774
|
+
}
|
|
1775
|
+
// Listen for changes in validity, disabled, or pending states
|
|
1776
|
+
if (this.ngControl.statusChanges) {
|
|
1777
|
+
this.statusChanges = this.ngControl.statusChanges.subscribe(() => this.updateValidation());
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* TODO FW-2787: Remove this in favor of https://github.com/angular/angular/issues/10887
|
|
1781
|
+
* whenever it is implemented.
|
|
1782
|
+
*/
|
|
1783
|
+
const formControl = this.ngControl.control;
|
|
1784
|
+
if (formControl) {
|
|
1785
|
+
const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
|
|
1786
|
+
methodsToPatch.forEach((method) => {
|
|
1787
|
+
if (typeof formControl[method] !== 'undefined') {
|
|
1788
|
+
const oldFn = formControl[method].bind(formControl);
|
|
1789
|
+
formControl[method] = (...params) => {
|
|
1790
|
+
oldFn(...params);
|
|
1791
|
+
this.updateValidation();
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
});
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
getErrorTexts(control) {
|
|
1798
|
+
if (control.errors == null) {
|
|
1799
|
+
console.warn('no errors for invalid control', control);
|
|
1800
|
+
return [];
|
|
1801
|
+
}
|
|
1802
|
+
const errorList = Object.entries(control.errors);
|
|
1803
|
+
if (errorList.length <= 0) {
|
|
1804
|
+
console.warn('no errors for invalid control', control);
|
|
1805
|
+
return [];
|
|
1806
|
+
}
|
|
1807
|
+
return errorList.map((error) => {
|
|
1808
|
+
const [key, value] = error;
|
|
1809
|
+
return (this.validationMessagesService.getErrorMessage(getLanguage(), { key: key, ...value }) ?? key);
|
|
1810
|
+
});
|
|
1811
|
+
}
|
|
1812
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1813
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: ValueAccessor, isStandalone: true, host: { listeners: { "blur": "_handleBlurEvent($event.target)" } }, ngImport: i0 }); }
|
|
1814
|
+
}
|
|
1815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
1816
|
+
type: Directive
|
|
1817
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { _handleBlurEvent: [{
|
|
1818
|
+
type: HostListener,
|
|
1819
|
+
args: ['blur', ['$event.target']]
|
|
1820
|
+
}] } });
|
|
1821
|
+
const nextTick = (h) => {
|
|
1822
|
+
if (typeof __zone_symbol__requestAnimationFrame === 'function') {
|
|
1823
|
+
return __zone_symbol__requestAnimationFrame(h);
|
|
1824
|
+
}
|
|
1825
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
1826
|
+
return requestAnimationFrame(h);
|
|
1827
|
+
}
|
|
1828
|
+
return setTimeout(h);
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
class TextValueAccessor extends ValueAccessor {
|
|
1832
|
+
constructor(injector, el) {
|
|
1833
|
+
super(injector, el);
|
|
1834
|
+
}
|
|
1835
|
+
handleInputEvent(el) {
|
|
1836
|
+
this.handleValueChange(el, el.value);
|
|
1837
|
+
}
|
|
1838
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1839
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: TextValueAccessor, isStandalone: false, selector: "six-input:not([type=number]),six-textarea", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
|
|
1840
|
+
{
|
|
1841
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1842
|
+
useExisting: TextValueAccessor,
|
|
1843
|
+
multi: true,
|
|
1844
|
+
},
|
|
1845
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
1846
|
+
}
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
1848
|
+
type: Directive,
|
|
1849
|
+
args: [{
|
|
1850
|
+
selector: 'six-input:not([type=number]),six-textarea',
|
|
1851
|
+
providers: [
|
|
1852
|
+
{
|
|
1853
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1854
|
+
useExisting: TextValueAccessor,
|
|
1855
|
+
multi: true,
|
|
1856
|
+
},
|
|
1857
|
+
],
|
|
1858
|
+
standalone: false,
|
|
1859
|
+
}]
|
|
1860
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleInputEvent: [{
|
|
1861
|
+
type: HostListener,
|
|
1862
|
+
args: ['input', ['$event.target']]
|
|
1863
|
+
}] } });
|
|
1864
|
+
|
|
1865
|
+
class NumericValueAccessor extends ValueAccessor {
|
|
1866
|
+
constructor(injector, el) {
|
|
1867
|
+
super(injector, el);
|
|
1868
|
+
}
|
|
1869
|
+
handleInputEvent(el) {
|
|
1870
|
+
this.handleValueChange(el, el.value);
|
|
1871
|
+
}
|
|
1872
|
+
registerOnChange(fn) {
|
|
1873
|
+
super.registerOnChange((value) => {
|
|
1874
|
+
fn(value === '' ? null : parseFloat(value));
|
|
1875
|
+
});
|
|
1876
|
+
}
|
|
1877
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NumericValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1878
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: NumericValueAccessor, isStandalone: false, selector: "six-input[type=number]", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
|
|
1879
|
+
{
|
|
1880
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1881
|
+
useExisting: NumericValueAccessor,
|
|
1882
|
+
multi: true,
|
|
1883
|
+
},
|
|
1884
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
1885
|
+
}
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NumericValueAccessor, decorators: [{
|
|
1887
|
+
type: Directive,
|
|
1888
|
+
args: [{
|
|
1889
|
+
selector: 'six-input[type=number]',
|
|
1890
|
+
providers: [
|
|
1891
|
+
{
|
|
1892
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1893
|
+
useExisting: NumericValueAccessor,
|
|
1894
|
+
multi: true,
|
|
1895
|
+
},
|
|
1896
|
+
],
|
|
1897
|
+
standalone: false,
|
|
1898
|
+
}]
|
|
1899
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleInputEvent: [{
|
|
1900
|
+
type: HostListener,
|
|
1901
|
+
args: ['input', ['$event.target']]
|
|
1902
|
+
}] } });
|
|
1903
|
+
|
|
1904
|
+
class RadioValueAccessor extends ValueAccessor {
|
|
1905
|
+
constructor(injector, el) {
|
|
1906
|
+
super(injector, el);
|
|
1907
|
+
}
|
|
1908
|
+
handleChangeEvent(el) {
|
|
1909
|
+
this.handleValueChange(el, this.value);
|
|
1910
|
+
}
|
|
1911
|
+
ngOnInit() {
|
|
1912
|
+
this.checkName();
|
|
1913
|
+
}
|
|
1914
|
+
writeValue(value) {
|
|
1915
|
+
this.el.nativeElement.checked = value === this.value;
|
|
1916
|
+
this.updateValidation();
|
|
1917
|
+
}
|
|
1918
|
+
checkName() {
|
|
1919
|
+
if (this.name && this.formControlName && this.name !== this.formControlName) {
|
|
1920
|
+
throw new Error(`
|
|
1921
|
+
If you define both a name and a formControlName attribute on your radio button, their values
|
|
1922
|
+
must match. Ex: <six-input type="radio" formControlName="food" name="food">
|
|
1923
|
+
`);
|
|
1924
|
+
}
|
|
1925
|
+
if (!this.name && this.formControlName) {
|
|
1926
|
+
this.name = this.formControlName;
|
|
1927
|
+
this.el.nativeElement.name = this.formControlName;
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1931
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: RadioValueAccessor, isStandalone: false, selector: "six-radio", inputs: { value: "value", formControlName: "formControlName", name: "name" }, host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
1932
|
+
{
|
|
1933
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1934
|
+
useExisting: RadioValueAccessor,
|
|
1935
|
+
multi: true,
|
|
1936
|
+
},
|
|
1937
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
1938
|
+
}
|
|
1939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
1940
|
+
type: Directive,
|
|
1941
|
+
args: [{
|
|
1942
|
+
selector: 'six-radio',
|
|
1943
|
+
providers: [
|
|
1944
|
+
{
|
|
1945
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1946
|
+
useExisting: RadioValueAccessor,
|
|
1947
|
+
multi: true,
|
|
1948
|
+
},
|
|
1949
|
+
],
|
|
1950
|
+
standalone: false,
|
|
1951
|
+
}]
|
|
1952
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { value: [{
|
|
1953
|
+
type: Input
|
|
1954
|
+
}], formControlName: [{
|
|
1955
|
+
type: Input
|
|
1956
|
+
}], name: [{
|
|
1957
|
+
type: Input
|
|
1958
|
+
}], handleChangeEvent: [{
|
|
1959
|
+
type: HostListener,
|
|
1960
|
+
args: ['change', ['$event.target']]
|
|
1961
|
+
}] } });
|
|
1962
|
+
|
|
1963
|
+
class DatepickerValueAccessor extends ValueAccessor {
|
|
1964
|
+
constructor(injector, el) {
|
|
1965
|
+
super(injector, el);
|
|
1966
|
+
}
|
|
1967
|
+
handleChangeEvent(el) {
|
|
1968
|
+
this.handleValueChange(el, el.value);
|
|
1969
|
+
}
|
|
1970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DatepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1971
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: DatepickerValueAccessor, isStandalone: false, selector: "six-datepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
1972
|
+
{
|
|
1973
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1974
|
+
useExisting: DatepickerValueAccessor,
|
|
1975
|
+
multi: true,
|
|
1976
|
+
},
|
|
1977
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
1978
|
+
}
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DatepickerValueAccessor, decorators: [{
|
|
1980
|
+
type: Directive,
|
|
1981
|
+
args: [{
|
|
1982
|
+
selector: 'six-datepicker',
|
|
1983
|
+
providers: [
|
|
1984
|
+
{
|
|
1985
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1986
|
+
useExisting: DatepickerValueAccessor,
|
|
1987
|
+
multi: true,
|
|
1988
|
+
},
|
|
1989
|
+
],
|
|
1990
|
+
standalone: false,
|
|
1991
|
+
}]
|
|
1992
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
|
|
1993
|
+
type: HostListener,
|
|
1994
|
+
args: ['change', ['$event.target']]
|
|
1995
|
+
}] } });
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* This directive intercepts the ngSubmit event of an Angular form and introduces
|
|
1999
|
+
* a supplementary event named sixSubmit. The sixSubmit event is triggered exclusively
|
|
2000
|
+
* when the form is valid. In cases where the form is considered invalid, this directive
|
|
2001
|
+
* takes proactive actions by marking all form controls as touched and dirty. Additionally,
|
|
2002
|
+
* it shifts the focus to the initial invalid form element, facilitating quick error
|
|
2003
|
+
* resolution.
|
|
2004
|
+
*
|
|
2005
|
+
* To utilize this directive, apply it to an Angular form.
|
|
2006
|
+
* ```html
|
|
2007
|
+
* <form [formGroup]="form" sixForm (sixSubmit)="onSubmit($event)">
|
|
2008
|
+
* <!-- form content -->
|
|
2009
|
+
* </form>
|
|
2010
|
+
* ```
|
|
2011
|
+
*
|
|
2012
|
+
* For users needing greater flexibility in determining when error messages are displayed,
|
|
2013
|
+
* or for those who prefer not to rely solely on the form submission event,
|
|
2014
|
+
* an alternative is to use the SixFormUtilDirective.
|
|
2015
|
+
*/
|
|
2016
|
+
class SixFormDirective {
|
|
2017
|
+
onNgSubmit(event) {
|
|
2018
|
+
if (this.formGroupDirective.invalid) {
|
|
2019
|
+
focusInvalidField(this.formGroupDirective, this.elementRef);
|
|
2020
|
+
}
|
|
2021
|
+
else {
|
|
2022
|
+
this.sixSubmit.emit(event);
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
constructor(elementRef, formGroupDirective) {
|
|
2026
|
+
this.elementRef = elementRef;
|
|
2027
|
+
this.formGroupDirective = formGroupDirective;
|
|
2028
|
+
/**
|
|
2029
|
+
* Emits an event when the form is valid and the form submission has been triggered.
|
|
2030
|
+
*/
|
|
2031
|
+
this.sixSubmit = new EventEmitter();
|
|
2032
|
+
}
|
|
2033
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFormDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2034
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SixFormDirective, isStandalone: false, selector: "form[sixForm]", outputs: { sixSubmit: "sixSubmit" }, host: { listeners: { "ngSubmit": "onNgSubmit($event)" } }, ngImport: i0 }); }
|
|
2035
|
+
}
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFormDirective, decorators: [{
|
|
2037
|
+
type: Directive,
|
|
2038
|
+
args: [{
|
|
2039
|
+
selector: 'form[sixForm]',
|
|
2040
|
+
standalone: false,
|
|
2041
|
+
}]
|
|
2042
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }], propDecorators: { sixSubmit: [{
|
|
2043
|
+
type: Output
|
|
2044
|
+
}], onNgSubmit: [{
|
|
2045
|
+
type: HostListener,
|
|
2046
|
+
args: ['ngSubmit', ['$event']]
|
|
2047
|
+
}] } });
|
|
2048
|
+
/**
|
|
2049
|
+
* This directive provides a utility method, that marks all form controls
|
|
2050
|
+
* as touched and dirty, and focuses the first invalid form element.
|
|
2051
|
+
*
|
|
2052
|
+
* To utilize this directive, apply it to an Angular form.
|
|
2053
|
+
* ```html
|
|
2054
|
+
* <form [formGroup]="form" sixFormUtil (ngSubmit)="onSubmit($event)">
|
|
2055
|
+
* <!-- form content -->
|
|
2056
|
+
* </form>
|
|
2057
|
+
* ```
|
|
2058
|
+
*
|
|
2059
|
+
* Then, get a reference to the directive and invoke `focusInvalidField()` if the
|
|
2060
|
+
* form is invalid:
|
|
2061
|
+
* ```ts
|
|
2062
|
+
* @ViewChild(SixFormUtilDirective) sixFormUtil!: SixFormUtilDirective;
|
|
2063
|
+
* // ...
|
|
2064
|
+
* onSubmit() {
|
|
2065
|
+
* if (this.form.invalid) {
|
|
2066
|
+
* this.sixFormUtil.focusInvalidField();
|
|
2067
|
+
* } else {
|
|
2068
|
+
* // ...
|
|
2069
|
+
* }
|
|
2070
|
+
* }
|
|
2071
|
+
* ```
|
|
2072
|
+
*/
|
|
2073
|
+
class SixFormUtilDirective {
|
|
2074
|
+
constructor(elementRef, formGroupDirective) {
|
|
2075
|
+
this.elementRef = elementRef;
|
|
2076
|
+
this.formGroupDirective = formGroupDirective;
|
|
2077
|
+
}
|
|
2078
|
+
/** markAllControlsAsDirty(Object.values(formGroup.controls));
|
|
2079
|
+
* Marks all form controls as touched and dirty, and focuses the first
|
|
2080
|
+
* invalid form element.
|
|
2081
|
+
*/
|
|
2082
|
+
focusInvalidField() {
|
|
2083
|
+
focusInvalidField(this.formGroupDirective, this.elementRef);
|
|
2084
|
+
}
|
|
2085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFormUtilDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2086
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SixFormUtilDirective, isStandalone: false, selector: "[sixFormUtil]", ngImport: i0 }); }
|
|
2087
|
+
}
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixFormUtilDirective, decorators: [{
|
|
2089
|
+
type: Directive,
|
|
2090
|
+
args: [{
|
|
2091
|
+
selector: '[sixFormUtil]',
|
|
2092
|
+
standalone: false,
|
|
2093
|
+
}]
|
|
2094
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }] });
|
|
2095
|
+
function focusInvalidField(formGroupDirective, formElement) {
|
|
2096
|
+
formGroupDirective.form.markAllAsTouched();
|
|
2097
|
+
markAllAsDirty([formGroupDirective.form]);
|
|
2098
|
+
const invalidElement = getInvalidElement(formElement.nativeElement);
|
|
2099
|
+
if ('setFocus' in invalidElement && typeof invalidElement?.setFocus === 'function') {
|
|
2100
|
+
invalidElement.setFocus();
|
|
2101
|
+
}
|
|
2102
|
+
if ('focus' in invalidElement && typeof invalidElement?.focus === 'function') {
|
|
2103
|
+
invalidElement.focus();
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
function getInvalidElement(parent) {
|
|
2107
|
+
const invalidElement = parent.querySelector('.ng-invalid');
|
|
2108
|
+
if (invalidElement == null) {
|
|
2109
|
+
return parent;
|
|
2110
|
+
}
|
|
2111
|
+
return getInvalidElement(invalidElement);
|
|
2112
|
+
}
|
|
2113
|
+
function markAllAsDirty(controls) {
|
|
2114
|
+
controls.forEach((control) => {
|
|
2115
|
+
if (control instanceof FormControl) {
|
|
2116
|
+
control.markAsDirty({ onlySelf: true });
|
|
2117
|
+
}
|
|
2118
|
+
else if (control instanceof FormGroup) {
|
|
2119
|
+
control.markAsDirty({ onlySelf: true });
|
|
2120
|
+
markAllAsDirty(Object.values(control.controls));
|
|
2121
|
+
}
|
|
2122
|
+
else if (control instanceof FormArray) {
|
|
2123
|
+
control.markAsDirty({ onlySelf: true });
|
|
2124
|
+
markAllAsDirty(control.controls);
|
|
2125
|
+
}
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
class SixUiLibraryValidators {
|
|
2130
|
+
static minDate(mindate) {
|
|
2131
|
+
return (control) => {
|
|
2132
|
+
if (control.value == null)
|
|
2133
|
+
return null;
|
|
2134
|
+
const actualDate = control.value;
|
|
2135
|
+
return actualDate.getTime() >= mindate.getTime() ? null : { mindate: { mindate, actual: actualDate } };
|
|
2136
|
+
};
|
|
2137
|
+
}
|
|
2138
|
+
static maxDate(maxdate) {
|
|
2139
|
+
return (control) => {
|
|
2140
|
+
if (control.value == null)
|
|
2141
|
+
return null;
|
|
2142
|
+
const actualDate = control.value;
|
|
2143
|
+
return actualDate.getTime() <= maxdate.getTime() ? null : { maxdate: { maxdate, actual: actualDate } };
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
static allowedDates(allowedDates = () => true) {
|
|
2147
|
+
return (control) => {
|
|
2148
|
+
if (control.value == null)
|
|
2149
|
+
return null;
|
|
2150
|
+
const allowed = allowedDates(control.value);
|
|
2151
|
+
return allowed ? null : { invaliddate: { actual: control.value } };
|
|
2152
|
+
};
|
|
2153
|
+
}
|
|
2154
|
+
static minDateIso(mindate) {
|
|
2155
|
+
return (control) => {
|
|
2156
|
+
if (control.value == null || control.value === '')
|
|
2157
|
+
return null;
|
|
2158
|
+
const actualDate = control.value;
|
|
2159
|
+
return actualDate >= mindate ? null : { mindate: { mindate, actual: actualDate } };
|
|
2160
|
+
};
|
|
2161
|
+
}
|
|
2162
|
+
static maxDateIso(maxdate) {
|
|
2163
|
+
return (control) => {
|
|
2164
|
+
if (control.value == null || control.value === '')
|
|
2165
|
+
return null;
|
|
2166
|
+
const actualDate = control.value;
|
|
2167
|
+
return actualDate <= maxdate ? null : { maxdate: { maxdate, actual: actualDate } };
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
static allowedDatesIso(allowedDates = () => true) {
|
|
2171
|
+
return (control) => {
|
|
2172
|
+
if (control.value == null || control.value === '')
|
|
2173
|
+
return null;
|
|
2174
|
+
const allowed = allowedDates(control.value);
|
|
2175
|
+
return allowed ? null : { invaliddate: { actual: control.value } };
|
|
2176
|
+
};
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
class MinDateValidator {
|
|
2180
|
+
validate(control) {
|
|
2181
|
+
if (this.min != null) {
|
|
2182
|
+
return SixUiLibraryValidators.minDate(this.min)(control);
|
|
2183
|
+
}
|
|
2184
|
+
return null;
|
|
2185
|
+
}
|
|
2186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2187
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MinDateValidator, isStandalone: false, selector: "six-datepicker[min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }], ngImport: i0 }); }
|
|
2188
|
+
}
|
|
2189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinDateValidator, decorators: [{
|
|
2190
|
+
type: Directive,
|
|
2191
|
+
args: [{
|
|
2192
|
+
selector: 'six-datepicker[min]',
|
|
2193
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }],
|
|
2194
|
+
standalone: false,
|
|
2195
|
+
}]
|
|
2196
|
+
}], propDecorators: { min: [{
|
|
2197
|
+
type: Input
|
|
2198
|
+
}] } });
|
|
2199
|
+
class MaxDateValidator {
|
|
2200
|
+
validate(control) {
|
|
2201
|
+
if (this.max != null) {
|
|
2202
|
+
return SixUiLibraryValidators.maxDate(this.max)(control);
|
|
2203
|
+
}
|
|
2204
|
+
return null;
|
|
2205
|
+
}
|
|
2206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2207
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MaxDateValidator, isStandalone: false, selector: "six-datepicker[max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }], ngImport: i0 }); }
|
|
2208
|
+
}
|
|
2209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxDateValidator, decorators: [{
|
|
2210
|
+
type: Directive,
|
|
2211
|
+
args: [{
|
|
2212
|
+
selector: 'six-datepicker[max]',
|
|
2213
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }],
|
|
2214
|
+
standalone: false,
|
|
2215
|
+
}]
|
|
2216
|
+
}], propDecorators: { max: [{
|
|
2217
|
+
type: Input
|
|
2218
|
+
}] } });
|
|
2219
|
+
class AllowedDatesValidator {
|
|
2220
|
+
constructor() {
|
|
2221
|
+
this.allowedDates = () => true;
|
|
2222
|
+
}
|
|
2223
|
+
validate(control) {
|
|
2224
|
+
return SixUiLibraryValidators.allowedDates(this.allowedDates)(control);
|
|
2225
|
+
}
|
|
2226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AllowedDatesValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2227
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AllowedDatesValidator, isStandalone: false, selector: "six-datepicker[allowedDates]", inputs: { allowedDates: "allowedDates" }, providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }], ngImport: i0 }); }
|
|
2228
|
+
}
|
|
2229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AllowedDatesValidator, decorators: [{
|
|
2230
|
+
type: Directive,
|
|
2231
|
+
args: [{
|
|
2232
|
+
selector: 'six-datepicker[allowedDates]',
|
|
2233
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }],
|
|
2234
|
+
standalone: false,
|
|
2235
|
+
}]
|
|
2236
|
+
}], propDecorators: { allowedDates: [{
|
|
2237
|
+
type: Input
|
|
2238
|
+
}] } });
|
|
2239
|
+
class MinDateValidatorIso {
|
|
2240
|
+
validate(control) {
|
|
2241
|
+
if (this.min != null) {
|
|
2242
|
+
return SixUiLibraryValidators.minDateIso(this.min)(control);
|
|
2243
|
+
}
|
|
2244
|
+
return null;
|
|
2245
|
+
}
|
|
2246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2247
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MinDateValidatorIso, isStandalone: false, selector: "six-date[min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidatorIso, multi: true }], ngImport: i0 }); }
|
|
2248
|
+
}
|
|
2249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinDateValidatorIso, decorators: [{
|
|
2250
|
+
type: Directive,
|
|
2251
|
+
args: [{
|
|
2252
|
+
selector: 'six-date[min]',
|
|
2253
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidatorIso, multi: true }],
|
|
2254
|
+
standalone: false,
|
|
2255
|
+
}]
|
|
2256
|
+
}], propDecorators: { min: [{
|
|
2257
|
+
type: Input
|
|
2258
|
+
}] } });
|
|
2259
|
+
class MaxDateValidatorIso {
|
|
2260
|
+
validate(control) {
|
|
2261
|
+
if (this.max != null) {
|
|
2262
|
+
return SixUiLibraryValidators.maxDateIso(this.max)(control);
|
|
2263
|
+
}
|
|
2264
|
+
return null;
|
|
2265
|
+
}
|
|
2266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2267
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MaxDateValidatorIso, isStandalone: false, selector: "six-date[max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidatorIso, multi: true }], ngImport: i0 }); }
|
|
2268
|
+
}
|
|
2269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxDateValidatorIso, decorators: [{
|
|
2270
|
+
type: Directive,
|
|
2271
|
+
args: [{
|
|
2272
|
+
selector: 'six-date[max]',
|
|
2273
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidatorIso, multi: true }],
|
|
2274
|
+
standalone: false,
|
|
2275
|
+
}]
|
|
2276
|
+
}], propDecorators: { max: [{
|
|
2277
|
+
type: Input
|
|
2278
|
+
}] } });
|
|
2279
|
+
class AllowedDatesValidatorIso {
|
|
2280
|
+
constructor() {
|
|
2281
|
+
this.allowedDates = () => true;
|
|
2282
|
+
}
|
|
2283
|
+
validate(control) {
|
|
2284
|
+
return SixUiLibraryValidators.allowedDatesIso(this.allowedDates)(control);
|
|
2285
|
+
}
|
|
2286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AllowedDatesValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2287
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AllowedDatesValidatorIso, isStandalone: false, selector: "six-date[allowedDates]", inputs: { allowedDates: "allowedDates" }, providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidatorIso, multi: true }], ngImport: i0 }); }
|
|
2288
|
+
}
|
|
2289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AllowedDatesValidatorIso, decorators: [{
|
|
2290
|
+
type: Directive,
|
|
2291
|
+
args: [{
|
|
2292
|
+
selector: 'six-date[allowedDates]',
|
|
2293
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidatorIso, multi: true }],
|
|
2294
|
+
standalone: false,
|
|
2295
|
+
}]
|
|
2296
|
+
}], propDecorators: { allowedDates: [{
|
|
2297
|
+
type: Input
|
|
2298
|
+
}] } });
|
|
2299
|
+
class MinValidator {
|
|
2300
|
+
validate(control) {
|
|
2301
|
+
return Validators.min(toFloat(this.min))(control);
|
|
2302
|
+
}
|
|
2303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2304
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MinValidator, isStandalone: false, selector: "six-input[type=number][min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }], ngImport: i0 }); }
|
|
2305
|
+
}
|
|
2306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MinValidator, decorators: [{
|
|
2307
|
+
type: Directive,
|
|
2308
|
+
args: [{
|
|
2309
|
+
selector: 'six-input[type=number][min]',
|
|
2310
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }],
|
|
2311
|
+
standalone: false,
|
|
2312
|
+
}]
|
|
2313
|
+
}], propDecorators: { min: [{
|
|
2314
|
+
type: Input
|
|
2315
|
+
}] } });
|
|
2316
|
+
class MaxValidator {
|
|
2317
|
+
validate(control) {
|
|
2318
|
+
return Validators.max(toFloat(this.max))(control);
|
|
2319
|
+
}
|
|
2320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2321
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: MaxValidator, isStandalone: false, selector: "six-input[type=number][max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }], ngImport: i0 }); }
|
|
2322
|
+
}
|
|
2323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MaxValidator, decorators: [{
|
|
2324
|
+
type: Directive,
|
|
2325
|
+
args: [{
|
|
2326
|
+
selector: 'six-input[type=number][max]',
|
|
2327
|
+
providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }],
|
|
2328
|
+
standalone: false,
|
|
2329
|
+
}]
|
|
2330
|
+
}], propDecorators: { max: [{
|
|
2331
|
+
type: Input
|
|
2332
|
+
}] } });
|
|
2333
|
+
function toFloat(value) {
|
|
2334
|
+
return typeof value === 'number' ? value : parseFloat(value);
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
class SelectValueAccessor extends ValueAccessor {
|
|
2338
|
+
constructor(injector, el) {
|
|
2339
|
+
super(injector, el);
|
|
2340
|
+
}
|
|
2341
|
+
handleChangeEvent(el) {
|
|
2342
|
+
this.handleValueChange(el, el.value);
|
|
2343
|
+
}
|
|
2344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2345
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SelectValueAccessor, isStandalone: false, selector: "six-select", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
2346
|
+
{
|
|
2347
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2348
|
+
useExisting: SelectValueAccessor,
|
|
2349
|
+
multi: true,
|
|
2350
|
+
},
|
|
2351
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2352
|
+
}
|
|
2353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
2354
|
+
type: Directive,
|
|
2355
|
+
args: [{
|
|
2356
|
+
selector: 'six-select',
|
|
2357
|
+
providers: [
|
|
2358
|
+
{
|
|
2359
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2360
|
+
useExisting: SelectValueAccessor,
|
|
2361
|
+
multi: true,
|
|
2362
|
+
},
|
|
2363
|
+
],
|
|
2364
|
+
standalone: false,
|
|
2365
|
+
}]
|
|
2366
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
|
|
2367
|
+
type: HostListener,
|
|
2368
|
+
args: ['change', ['$event.target']]
|
|
2369
|
+
}] } });
|
|
2370
|
+
|
|
2371
|
+
class CheckboxValueAccessor extends ValueAccessor {
|
|
2372
|
+
constructor(injector, el) {
|
|
2373
|
+
super(injector, el);
|
|
2374
|
+
}
|
|
2375
|
+
handleChangeEvent(el) {
|
|
2376
|
+
this.handleValueChange(el, el.checked);
|
|
2377
|
+
}
|
|
2378
|
+
writeValue(value) {
|
|
2379
|
+
this.el.nativeElement.checked = value === true;
|
|
2380
|
+
this.updateValidation();
|
|
2381
|
+
}
|
|
2382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CheckboxValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2383
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: CheckboxValueAccessor, isStandalone: false, selector: "six-checkbox:not([six-checkbox-group])", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
2384
|
+
{
|
|
2385
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2386
|
+
useExisting: CheckboxValueAccessor,
|
|
2387
|
+
multi: true,
|
|
2388
|
+
},
|
|
2389
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2390
|
+
}
|
|
2391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CheckboxValueAccessor, decorators: [{
|
|
2392
|
+
type: Directive,
|
|
2393
|
+
args: [{
|
|
2394
|
+
selector: 'six-checkbox:not([six-checkbox-group])',
|
|
2395
|
+
providers: [
|
|
2396
|
+
{
|
|
2397
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2398
|
+
useExisting: CheckboxValueAccessor,
|
|
2399
|
+
multi: true,
|
|
2400
|
+
},
|
|
2401
|
+
],
|
|
2402
|
+
standalone: false,
|
|
2403
|
+
}]
|
|
2404
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
|
|
2405
|
+
type: HostListener,
|
|
2406
|
+
args: ['change', ['$event.target']]
|
|
2407
|
+
}] } });
|
|
2408
|
+
|
|
2409
|
+
class SixCheckboxGroupDirective {
|
|
2410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCheckboxGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2411
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SixCheckboxGroupDirective, isStandalone: false, selector: "[six-checkbox-group]", ngImport: i0 }); }
|
|
2412
|
+
}
|
|
2413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixCheckboxGroupDirective, decorators: [{
|
|
2414
|
+
type: Directive,
|
|
2415
|
+
args: [{
|
|
2416
|
+
selector: '[six-checkbox-group]',
|
|
2417
|
+
standalone: false,
|
|
2418
|
+
}]
|
|
2419
|
+
}] });
|
|
2420
|
+
// Accessor applies only when the SixCheckboxGroupDirective attribute is present
|
|
2421
|
+
class CheckboxMultiSelectValueAccessor extends ValueAccessor {
|
|
2422
|
+
constructor(injector, el) {
|
|
2423
|
+
super(injector, el);
|
|
2424
|
+
}
|
|
2425
|
+
onHostChange(el) {
|
|
2426
|
+
const checked = el.checked;
|
|
2427
|
+
const current = this.ngControl?.value;
|
|
2428
|
+
if (!current)
|
|
2429
|
+
return;
|
|
2430
|
+
const set = new Set(current);
|
|
2431
|
+
checked ? set.add(this.value) : set.delete(this.value);
|
|
2432
|
+
this.handleValueChange(el, Array.from(set));
|
|
2433
|
+
}
|
|
2434
|
+
writeValue(values) {
|
|
2435
|
+
const arr = Array.isArray(values) ? values : [];
|
|
2436
|
+
const checkbox = this.el.nativeElement;
|
|
2437
|
+
checkbox.checked = arr.includes(this.value);
|
|
2438
|
+
this.updateValidation();
|
|
2439
|
+
}
|
|
2440
|
+
setDisabledState(isDisabled) {
|
|
2441
|
+
this.el.nativeElement.disabled = isDisabled;
|
|
2442
|
+
}
|
|
2443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CheckboxMultiSelectValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2444
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: CheckboxMultiSelectValueAccessor, isStandalone: false, selector: "six-checkbox[six-checkbox-group]", inputs: { value: "value" }, host: { listeners: { "change": "onHostChange($event.target)" } }, providers: [
|
|
2445
|
+
{
|
|
2446
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2447
|
+
useExisting: CheckboxMultiSelectValueAccessor,
|
|
2448
|
+
multi: true,
|
|
2449
|
+
},
|
|
2450
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2451
|
+
}
|
|
2452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CheckboxMultiSelectValueAccessor, decorators: [{
|
|
2453
|
+
type: Directive,
|
|
2454
|
+
args: [{
|
|
2455
|
+
selector: 'six-checkbox[six-checkbox-group]',
|
|
2456
|
+
providers: [
|
|
2457
|
+
{
|
|
2458
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2459
|
+
useExisting: CheckboxMultiSelectValueAccessor,
|
|
2460
|
+
multi: true,
|
|
2461
|
+
},
|
|
2462
|
+
],
|
|
2463
|
+
standalone: false,
|
|
2464
|
+
}]
|
|
2465
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { value: [{
|
|
2466
|
+
type: Input,
|
|
2467
|
+
args: [{ required: true }]
|
|
2468
|
+
}], onHostChange: [{
|
|
2469
|
+
type: HostListener,
|
|
2470
|
+
args: ['change', ['$event.target']]
|
|
2471
|
+
}] } });
|
|
2472
|
+
|
|
2473
|
+
class RangeValueAccessor extends ValueAccessor {
|
|
2474
|
+
constructor(injector, el) {
|
|
2475
|
+
super(injector, el);
|
|
2476
|
+
}
|
|
2477
|
+
handleInputEvent(el) {
|
|
2478
|
+
this.handleValueChange(el, el.value);
|
|
2479
|
+
}
|
|
2480
|
+
registerOnChange(fn) {
|
|
2481
|
+
super.registerOnChange((value) => {
|
|
2482
|
+
fn(value === '' ? null : parseFloat(value));
|
|
2483
|
+
});
|
|
2484
|
+
}
|
|
2485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: RangeValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2486
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: RangeValueAccessor, isStandalone: false, selector: "six-range", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
|
|
2487
|
+
{
|
|
2488
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2489
|
+
useExisting: RangeValueAccessor,
|
|
2490
|
+
multi: true,
|
|
2491
|
+
},
|
|
2492
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2493
|
+
}
|
|
2494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: RangeValueAccessor, decorators: [{
|
|
2495
|
+
type: Directive,
|
|
2496
|
+
args: [{
|
|
2497
|
+
selector: 'six-range',
|
|
2498
|
+
providers: [
|
|
2499
|
+
{
|
|
2500
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2501
|
+
useExisting: RangeValueAccessor,
|
|
2502
|
+
multi: true,
|
|
2503
|
+
},
|
|
2504
|
+
],
|
|
2505
|
+
standalone: false,
|
|
2506
|
+
}]
|
|
2507
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleInputEvent: [{
|
|
2508
|
+
type: HostListener,
|
|
2509
|
+
args: ['input', ['$event.target']]
|
|
2510
|
+
}] } });
|
|
2511
|
+
|
|
2512
|
+
class SwitchValueAccessor extends ValueAccessor {
|
|
2513
|
+
constructor(injector, el) {
|
|
2514
|
+
super(injector, el);
|
|
2515
|
+
}
|
|
2516
|
+
handleChangeEvent(el) {
|
|
2517
|
+
this.handleValueChange(el, el.checked);
|
|
2518
|
+
}
|
|
2519
|
+
writeValue(value) {
|
|
2520
|
+
this.el.nativeElement.checked = value === true;
|
|
2521
|
+
this.updateValidation();
|
|
2522
|
+
}
|
|
2523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SwitchValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2524
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SwitchValueAccessor, isStandalone: false, selector: "six-switch", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
2525
|
+
{
|
|
2526
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2527
|
+
useExisting: SwitchValueAccessor,
|
|
2528
|
+
multi: true,
|
|
2529
|
+
},
|
|
2530
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2531
|
+
}
|
|
2532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SwitchValueAccessor, decorators: [{
|
|
2533
|
+
type: Directive,
|
|
2534
|
+
args: [{
|
|
2535
|
+
selector: 'six-switch',
|
|
2536
|
+
providers: [
|
|
2537
|
+
{
|
|
2538
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2539
|
+
useExisting: SwitchValueAccessor,
|
|
2540
|
+
multi: true,
|
|
2541
|
+
},
|
|
2542
|
+
],
|
|
2543
|
+
standalone: false,
|
|
2544
|
+
}]
|
|
2545
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
|
|
2546
|
+
type: HostListener,
|
|
2547
|
+
args: ['change', ['$event.target']]
|
|
2548
|
+
}] } });
|
|
2549
|
+
|
|
2550
|
+
class TimepickerValueAccessor extends ValueAccessor {
|
|
2551
|
+
constructor(injector, el) {
|
|
2552
|
+
super(injector, el);
|
|
2553
|
+
}
|
|
2554
|
+
handleChangeEvent(el) {
|
|
2555
|
+
this.handleValueChange(el, el.value);
|
|
2556
|
+
}
|
|
2557
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TimepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2558
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: TimepickerValueAccessor, isStandalone: false, selector: "six-timepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
|
|
2559
|
+
{
|
|
2560
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2561
|
+
useExisting: TimepickerValueAccessor,
|
|
2562
|
+
multi: true,
|
|
2563
|
+
},
|
|
2564
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2565
|
+
}
|
|
2566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TimepickerValueAccessor, decorators: [{
|
|
2567
|
+
type: Directive,
|
|
2568
|
+
args: [{
|
|
2569
|
+
selector: 'six-timepicker',
|
|
2570
|
+
providers: [
|
|
2571
|
+
{
|
|
2572
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2573
|
+
useExisting: TimepickerValueAccessor,
|
|
2574
|
+
multi: true,
|
|
2575
|
+
},
|
|
2576
|
+
],
|
|
2577
|
+
standalone: false,
|
|
2578
|
+
}]
|
|
2579
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
|
|
2580
|
+
type: HostListener,
|
|
2581
|
+
args: ['change', ['$event.target']]
|
|
2582
|
+
}] } });
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Forked from https://github.com/ionic-team/ionic-framework/blob/main/packages/angular/common/src/directives/navigation/router-link-delegate.ts.
|
|
2586
|
+
*/
|
|
2587
|
+
class SixRouterLinkDirective {
|
|
2588
|
+
constructor(locationStrategy, elementRef, router, renderer, routerLinkDirective) {
|
|
2589
|
+
this.locationStrategy = locationStrategy;
|
|
2590
|
+
this.elementRef = elementRef;
|
|
2591
|
+
this.router = router;
|
|
2592
|
+
this.renderer = renderer;
|
|
2593
|
+
this.routerLinkDirective = routerLinkDirective;
|
|
2594
|
+
}
|
|
2595
|
+
onClick(event) {
|
|
2596
|
+
// Prevents the browser from performing a page reload when pressing a SIX-component with routerLink.
|
|
2597
|
+
event.preventDefault();
|
|
2598
|
+
}
|
|
2599
|
+
ngOnInit() {
|
|
2600
|
+
this.updateTargetUrlAndHref();
|
|
2601
|
+
}
|
|
2602
|
+
ngOnChanges() {
|
|
2603
|
+
this.updateTargetUrlAndHref();
|
|
2604
|
+
}
|
|
2605
|
+
updateTargetUrlAndHref() {
|
|
2606
|
+
if (this.routerLinkDirective?.urlTree) {
|
|
2607
|
+
const url = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLinkDirective.urlTree));
|
|
2608
|
+
this.renderer.setAttribute(this.elementRef.nativeElement, 'href', url);
|
|
2609
|
+
// Remove the `tabindex` attribute to prevent redundant focus behavior.
|
|
2610
|
+
// Angular's RouterLink adds `tabindex="0"` to non-focusable elements (e.g., `<div>`),
|
|
2611
|
+
// but custom components like `six-button` already handle focusability.
|
|
2612
|
+
// Keeping the tabindex would cause the element to receive focus twice.
|
|
2613
|
+
this.renderer.removeAttribute(this.elementRef.nativeElement, 'tabindex');
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRouterLinkDirective, deps: [{ token: i1$1.LocationStrategy }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.Renderer2 }, { token: i2.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2617
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: SixRouterLinkDirective, isStandalone: false, selector: "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink],six-icon-button[routerLink]", inputs: { routerLink: "routerLink", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", relativeTo: "relativeTo" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
2618
|
+
}
|
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SixRouterLinkDirective, decorators: [{
|
|
2620
|
+
type: Directive,
|
|
2621
|
+
args: [{
|
|
2622
|
+
selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink],six-icon-button[routerLink]',
|
|
2623
|
+
standalone: false,
|
|
2624
|
+
}]
|
|
2625
|
+
}], ctorParameters: () => [{ type: i1$1.LocationStrategy }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.Renderer2 }, { type: i2.RouterLink, decorators: [{
|
|
2626
|
+
type: Optional
|
|
2627
|
+
}] }], propDecorators: { onClick: [{
|
|
2628
|
+
type: HostListener,
|
|
2629
|
+
args: ['click', ['$event']]
|
|
2630
|
+
}], routerLink: [{
|
|
2631
|
+
type: Input
|
|
2632
|
+
}], queryParams: [{
|
|
2633
|
+
type: Input
|
|
2634
|
+
}], fragment: [{
|
|
2635
|
+
type: Input
|
|
2636
|
+
}], queryParamsHandling: [{
|
|
2637
|
+
type: Input
|
|
2638
|
+
}], relativeTo: [{
|
|
2639
|
+
type: Input
|
|
2640
|
+
}] } });
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* Enables Angular router integration for the six-sidebar component.
|
|
2644
|
+
*
|
|
2645
|
+
* When this directive is added to a six-sidebar component using the 'sixRouterLinkActive' attribute,
|
|
2646
|
+
* it activates automatic route-based selection for sidebar items and groups.
|
|
2647
|
+
*
|
|
2648
|
+
* @recommended Add this directive to enable automatic route-based navigation in sidebars.
|
|
2649
|
+
*
|
|
2650
|
+
* @example
|
|
2651
|
+
* ```html
|
|
2652
|
+
* <six-sidebar sixRouterLinkActive>
|
|
2653
|
+
* <six-sidebar-item routerLink="/home">Home</six-sidebar-item>
|
|
2654
|
+
* <six-sidebar-item-group>
|
|
2655
|
+
* <six-sidebar-item routerLink="/settings/profile">Profile</six-sidebar-item>
|
|
2656
|
+
* </six-sidebar-item-group>
|
|
2657
|
+
* </six-sidebar>
|
|
2658
|
+
* ```
|
|
2659
|
+
*/
|
|
2660
|
+
class ActiveSidebarDirective {
|
|
2661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2662
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: ActiveSidebarDirective, isStandalone: false, selector: "six-sidebar[sixRouterLinkActive]", ngImport: i0 }); }
|
|
2663
|
+
}
|
|
2664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarDirective, decorators: [{
|
|
2665
|
+
type: Directive,
|
|
2666
|
+
args: [{
|
|
2667
|
+
selector: 'six-sidebar[sixRouterLinkActive]',
|
|
2668
|
+
standalone: false,
|
|
2669
|
+
}]
|
|
2670
|
+
}] });
|
|
2671
|
+
/**
|
|
2672
|
+
* Enhances six-sidebar-item with Angular router integration.
|
|
2673
|
+
*
|
|
2674
|
+
* This directive automatically manages the 'selected' state of sidebar items based on the current route.
|
|
2675
|
+
* When used with ActiveSidebarDirective, it switches from manual selection to route-based selection.
|
|
2676
|
+
*
|
|
2677
|
+
* @requires RouterLinkActive
|
|
2678
|
+
* @optional ActiveSidebarDirective - If present, enables route-based selection
|
|
2679
|
+
*/
|
|
2680
|
+
class ActiveSidebarItemDirective {
|
|
2681
|
+
constructor() {
|
|
2682
|
+
this.routerLinkActive = inject(RouterLinkActive);
|
|
2683
|
+
this.sidebarItem = inject(SixSidebarItem);
|
|
2684
|
+
this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
|
|
2685
|
+
}
|
|
2686
|
+
get selected() {
|
|
2687
|
+
if (this.activeSidebarDirective == null) {
|
|
2688
|
+
return this.sidebarItem.selected;
|
|
2689
|
+
}
|
|
2690
|
+
else {
|
|
2691
|
+
return this.routerLinkActive.isActive;
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2695
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: ActiveSidebarItemDirective, isStandalone: false, selector: "six-sidebar-item", host: { properties: { "selected": "this.selected" } }, hostDirectives: [{ directive: i2.RouterLinkActive }], ngImport: i0 }); }
|
|
2696
|
+
}
|
|
2697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarItemDirective, decorators: [{
|
|
2698
|
+
type: Directive,
|
|
2699
|
+
args: [{
|
|
2700
|
+
selector: 'six-sidebar-item',
|
|
2701
|
+
hostDirectives: [RouterLinkActive],
|
|
2702
|
+
standalone: false,
|
|
2703
|
+
}]
|
|
2704
|
+
}], propDecorators: { selected: [{
|
|
2705
|
+
type: HostBinding,
|
|
2706
|
+
args: ['selected']
|
|
2707
|
+
}] } });
|
|
2708
|
+
/**
|
|
2709
|
+
* Enhances six-sidebar-item-group with Angular router integration.
|
|
2710
|
+
*
|
|
2711
|
+
* This directive automatically manages the 'open' state of sidebar groups based on the active route.
|
|
2712
|
+
* When a child route is active, the group automatically expands to show the active item.
|
|
2713
|
+
*
|
|
2714
|
+
* @requires RouterLinkActive
|
|
2715
|
+
* @optional ActiveSidebarDirective - If present, enables route-based expansion
|
|
2716
|
+
*/
|
|
2717
|
+
class ActiveSidebarItemGroupDirective {
|
|
2718
|
+
constructor() {
|
|
2719
|
+
this.routerLinkActive = inject(RouterLinkActive);
|
|
2720
|
+
this.sidebarItemGroup = inject(SixSidebarItemGroup);
|
|
2721
|
+
this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
|
|
2722
|
+
}
|
|
2723
|
+
get open() {
|
|
2724
|
+
if (this.activeSidebarDirective == null) {
|
|
2725
|
+
return this.sidebarItemGroup.open;
|
|
2726
|
+
}
|
|
2727
|
+
if (this.sidebarItems?.length > 0) {
|
|
2728
|
+
return this.routerLinkActive.isActive ? true : this.sidebarItemGroup.open;
|
|
2729
|
+
}
|
|
2730
|
+
return this.routerLinkActive.isActive;
|
|
2731
|
+
}
|
|
2732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarItemGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2733
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: ActiveSidebarItemGroupDirective, isStandalone: false, selector: "six-sidebar-item-group", host: { properties: { "open": "this.open" } }, queries: [{ propertyName: "sidebarItems", predicate: SixSidebarItem }], hostDirectives: [{ directive: i2.RouterLinkActive }], ngImport: i0 }); }
|
|
2734
|
+
}
|
|
2735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ActiveSidebarItemGroupDirective, decorators: [{
|
|
2736
|
+
type: Directive,
|
|
2737
|
+
args: [{
|
|
2738
|
+
selector: 'six-sidebar-item-group',
|
|
2739
|
+
hostDirectives: [RouterLinkActive],
|
|
2740
|
+
standalone: false,
|
|
2741
|
+
}]
|
|
2742
|
+
}], propDecorators: { sidebarItems: [{
|
|
2743
|
+
type: ContentChildren,
|
|
2744
|
+
args: [SixSidebarItem]
|
|
2745
|
+
}], open: [{
|
|
2746
|
+
type: HostBinding,
|
|
2747
|
+
args: ['open']
|
|
2748
|
+
}] } });
|
|
2749
|
+
|
|
2750
|
+
class DateValueAccessor extends ValueAccessor {
|
|
2751
|
+
constructor(injector, el) {
|
|
2752
|
+
super(injector, el);
|
|
2753
|
+
}
|
|
2754
|
+
handleInputEvent(el) {
|
|
2755
|
+
this.handleValueChange(el, el.value);
|
|
2756
|
+
}
|
|
2757
|
+
writeValue(value) {
|
|
2758
|
+
this.el.nativeElement.value = value == null ? '' : value;
|
|
2759
|
+
this.updateValidation();
|
|
2760
|
+
}
|
|
2761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DateValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2762
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: DateValueAccessor, isStandalone: false, selector: "six-date", host: { listeners: { "change": "handleInputEvent($event.target)" } }, providers: [
|
|
2763
|
+
{
|
|
2764
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2765
|
+
useExisting: DateValueAccessor,
|
|
2766
|
+
multi: true,
|
|
2767
|
+
},
|
|
2768
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2769
|
+
}
|
|
2770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DateValueAccessor, decorators: [{
|
|
2771
|
+
type: Directive,
|
|
2772
|
+
args: [{
|
|
2773
|
+
selector: 'six-date',
|
|
2774
|
+
providers: [
|
|
2775
|
+
{
|
|
2776
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2777
|
+
useExisting: DateValueAccessor,
|
|
2778
|
+
multi: true,
|
|
2779
|
+
},
|
|
2780
|
+
],
|
|
2781
|
+
standalone: false,
|
|
2782
|
+
}]
|
|
2783
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { handleInputEvent: [{
|
|
2784
|
+
type: HostListener,
|
|
2785
|
+
args: ['change', ['$event.target']]
|
|
2786
|
+
}] } });
|
|
2787
|
+
|
|
2788
|
+
class UiLibraryAngularModule {
|
|
2789
|
+
static forRoot(customValidationMessagesService, config) {
|
|
2790
|
+
const mergedConfig = {
|
|
2791
|
+
...DEFAULT_UI_LIBRARY_CONFIG,
|
|
2792
|
+
...config,
|
|
2793
|
+
};
|
|
2794
|
+
return {
|
|
2795
|
+
ngModule: UiLibraryAngularModule,
|
|
2796
|
+
providers: [
|
|
2797
|
+
{
|
|
2798
|
+
provide: APP_INITIALIZER,
|
|
2799
|
+
useFactory: () => async () => defineCustomElements(),
|
|
2800
|
+
multi: true,
|
|
2801
|
+
},
|
|
2802
|
+
{ provide: ValidationMessagesService, useClass: customValidationMessagesService ?? ValidationMessagesService },
|
|
2803
|
+
{ provide: UI_LIBRARY_CONFIG, useValue: mergedConfig },
|
|
2804
|
+
],
|
|
2805
|
+
};
|
|
2806
|
+
}
|
|
2807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2808
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.3", ngImport: i0, type: UiLibraryAngularModule, declarations: [SixAlert, SixAvatar, SixBadge, SixBreadcrumbs, SixBreadcrumbsItem, SixButton, SixCard, SixCheckbox, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRating, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
|
|
2809
|
+
// value accessors
|
|
2810
|
+
TextValueAccessor,
|
|
2811
|
+
NumericValueAccessor,
|
|
2812
|
+
RadioValueAccessor,
|
|
2813
|
+
DatepickerValueAccessor,
|
|
2814
|
+
DateValueAccessor,
|
|
2815
|
+
TimepickerValueAccessor,
|
|
2816
|
+
SelectValueAccessor,
|
|
2817
|
+
CheckboxValueAccessor,
|
|
2818
|
+
CheckboxMultiSelectValueAccessor,
|
|
2819
|
+
SixCheckboxGroupDirective,
|
|
2820
|
+
SwitchValueAccessor,
|
|
2821
|
+
RangeValueAccessor,
|
|
2822
|
+
// validators
|
|
2823
|
+
MinValidator,
|
|
2824
|
+
MaxValidator,
|
|
2825
|
+
MinDateValidator,
|
|
2826
|
+
MaxDateValidator,
|
|
2827
|
+
AllowedDatesValidator,
|
|
2828
|
+
MinDateValidatorIso,
|
|
2829
|
+
MaxDateValidatorIso,
|
|
2830
|
+
AllowedDatesValidatorIso,
|
|
2831
|
+
// form helpers
|
|
2832
|
+
SixFormDirective,
|
|
2833
|
+
SixFormUtilDirective,
|
|
2834
|
+
// router link directive
|
|
2835
|
+
SixRouterLinkDirective,
|
|
2836
|
+
// sidebar helpers
|
|
2837
|
+
ActiveSidebarItemDirective,
|
|
2838
|
+
ActiveSidebarItemGroupDirective,
|
|
2839
|
+
ActiveSidebarDirective], exports: [SixAlert, SixAvatar, SixBadge, SixBreadcrumbs, SixBreadcrumbsItem, SixButton, SixCard, SixCheckbox, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRating, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
|
|
2840
|
+
// value accessors
|
|
2841
|
+
TextValueAccessor,
|
|
2842
|
+
NumericValueAccessor,
|
|
2843
|
+
RadioValueAccessor,
|
|
2844
|
+
DatepickerValueAccessor,
|
|
2845
|
+
DateValueAccessor,
|
|
2846
|
+
TimepickerValueAccessor,
|
|
2847
|
+
SelectValueAccessor,
|
|
2848
|
+
CheckboxValueAccessor,
|
|
2849
|
+
CheckboxMultiSelectValueAccessor,
|
|
2850
|
+
SixCheckboxGroupDirective,
|
|
2851
|
+
SwitchValueAccessor,
|
|
2852
|
+
RangeValueAccessor,
|
|
2853
|
+
// validators
|
|
2854
|
+
MinValidator,
|
|
2855
|
+
MaxValidator,
|
|
2856
|
+
MinDateValidator,
|
|
2857
|
+
MaxDateValidator,
|
|
2858
|
+
AllowedDatesValidator,
|
|
2859
|
+
MinDateValidatorIso,
|
|
2860
|
+
MaxDateValidatorIso,
|
|
2861
|
+
AllowedDatesValidatorIso,
|
|
2862
|
+
// form helpers
|
|
2863
|
+
SixFormDirective,
|
|
2864
|
+
SixFormUtilDirective,
|
|
2865
|
+
// router link directive
|
|
2866
|
+
SixRouterLinkDirective,
|
|
2867
|
+
// sidebar helpers
|
|
2868
|
+
ActiveSidebarItemDirective,
|
|
2869
|
+
ActiveSidebarItemGroupDirective,
|
|
2870
|
+
ActiveSidebarDirective] }); }
|
|
2871
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: UiLibraryAngularModule }); }
|
|
2872
|
+
}
|
|
2873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
|
|
2874
|
+
type: NgModule,
|
|
2875
|
+
args: [{
|
|
2876
|
+
declarations: [
|
|
2877
|
+
// proxies
|
|
2878
|
+
...DIRECTIVES,
|
|
2879
|
+
// value accessors
|
|
2880
|
+
TextValueAccessor,
|
|
2881
|
+
NumericValueAccessor,
|
|
2882
|
+
RadioValueAccessor,
|
|
2883
|
+
DatepickerValueAccessor,
|
|
2884
|
+
DateValueAccessor,
|
|
2885
|
+
TimepickerValueAccessor,
|
|
2886
|
+
SelectValueAccessor,
|
|
2887
|
+
CheckboxValueAccessor,
|
|
2888
|
+
CheckboxMultiSelectValueAccessor,
|
|
2889
|
+
SixCheckboxGroupDirective,
|
|
2890
|
+
SwitchValueAccessor,
|
|
2891
|
+
RangeValueAccessor,
|
|
2892
|
+
// validators
|
|
2893
|
+
MinValidator,
|
|
2894
|
+
MaxValidator,
|
|
2895
|
+
MinDateValidator,
|
|
2896
|
+
MaxDateValidator,
|
|
2897
|
+
AllowedDatesValidator,
|
|
2898
|
+
MinDateValidatorIso,
|
|
2899
|
+
MaxDateValidatorIso,
|
|
2900
|
+
AllowedDatesValidatorIso,
|
|
2901
|
+
// form helpers
|
|
2902
|
+
SixFormDirective,
|
|
2903
|
+
SixFormUtilDirective,
|
|
2904
|
+
// router link directive
|
|
2905
|
+
SixRouterLinkDirective,
|
|
2906
|
+
// sidebar helpers
|
|
2907
|
+
ActiveSidebarItemDirective,
|
|
2908
|
+
ActiveSidebarItemGroupDirective,
|
|
2909
|
+
ActiveSidebarDirective,
|
|
2910
|
+
],
|
|
2911
|
+
imports: [],
|
|
2912
|
+
exports: [
|
|
2913
|
+
// proxies
|
|
2914
|
+
...DIRECTIVES,
|
|
2915
|
+
// value accessors
|
|
2916
|
+
TextValueAccessor,
|
|
2917
|
+
NumericValueAccessor,
|
|
2918
|
+
RadioValueAccessor,
|
|
2919
|
+
DatepickerValueAccessor,
|
|
2920
|
+
DateValueAccessor,
|
|
2921
|
+
TimepickerValueAccessor,
|
|
2922
|
+
SelectValueAccessor,
|
|
2923
|
+
CheckboxValueAccessor,
|
|
2924
|
+
CheckboxMultiSelectValueAccessor,
|
|
2925
|
+
SixCheckboxGroupDirective,
|
|
2926
|
+
SwitchValueAccessor,
|
|
2927
|
+
RangeValueAccessor,
|
|
2928
|
+
// validators
|
|
2929
|
+
MinValidator,
|
|
2930
|
+
MaxValidator,
|
|
2931
|
+
MinDateValidator,
|
|
2932
|
+
MaxDateValidator,
|
|
2933
|
+
AllowedDatesValidator,
|
|
2934
|
+
MinDateValidatorIso,
|
|
2935
|
+
MaxDateValidatorIso,
|
|
2936
|
+
AllowedDatesValidatorIso,
|
|
2937
|
+
// form helpers
|
|
2938
|
+
SixFormDirective,
|
|
2939
|
+
SixFormUtilDirective,
|
|
2940
|
+
// router link directive
|
|
2941
|
+
SixRouterLinkDirective,
|
|
2942
|
+
// sidebar helpers
|
|
2943
|
+
ActiveSidebarItemDirective,
|
|
2944
|
+
ActiveSidebarItemGroupDirective,
|
|
2945
|
+
ActiveSidebarDirective,
|
|
2946
|
+
],
|
|
2947
|
+
}]
|
|
2948
|
+
}] });
|
|
2949
|
+
|
|
2950
|
+
class AlertService {
|
|
2951
|
+
constructor() {
|
|
2952
|
+
this.ngZone = inject(NgZone);
|
|
2953
|
+
}
|
|
2954
|
+
/**
|
|
2955
|
+
* Displays an alert as a toast notification.
|
|
2956
|
+
*/
|
|
2957
|
+
showAlert(message, alertType, duration, iconName) {
|
|
2958
|
+
this.ngZone.runOutsideAngular(() => showAlert(message, alertType, duration, iconName));
|
|
2959
|
+
}
|
|
2960
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AlertService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2961
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AlertService, providedIn: 'root' }); }
|
|
2962
|
+
}
|
|
2963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AlertService, decorators: [{
|
|
2964
|
+
type: Injectable,
|
|
2965
|
+
args: [{ providedIn: 'root' }]
|
|
2966
|
+
}] });
|
|
2967
|
+
|
|
2968
|
+
/*
|
|
2969
|
+
* Public API Surface of ui-library-angular
|
|
2970
|
+
*/
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* Generated bundle index. Do not edit.
|
|
2974
|
+
*/
|
|
2975
|
+
|
|
2976
|
+
export { ActiveSidebarDirective, ActiveSidebarItemDirective, ActiveSidebarItemGroupDirective, AlertService, AllowedDatesValidator, AllowedDatesValidatorIso, CheckboxMultiSelectValueAccessor, CheckboxValueAccessor, DIRECTIVES, DateValueAccessor, DatepickerValueAccessor, MaxDateValidator, MaxDateValidatorIso, MaxValidator, MinDateValidator, MinDateValidatorIso, MinValidator, NumericValueAccessor, RadioValueAccessor, RangeValueAccessor, SelectValueAccessor, SixAlert, SixAvatar, SixBadge, SixBreadcrumbs, SixBreadcrumbsItem, SixButton, SixCard, SixCheckbox, SixCheckboxGroupDirective, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixFormDirective, SixFormUtilDirective, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRating, SixRoot, SixRouterLinkDirective, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip, SixUiLibraryValidators, SwitchValueAccessor, TextValueAccessor, TimepickerValueAccessor, UiLibraryAngularModule, ValidationMessagesService, ValueAccessor };
|
|
2977
|
+
//# sourceMappingURL=six-group-ui-library-angular.mjs.map
|