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