@six-group/ui-library-angular 0.0.0-insider.3f37dd4 → 0.0.0-insider.424223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +6 -22
  3. package/esm2020/lib/control-value-accessors/checkbox-value-accessor.mjs +41 -0
  4. package/esm2020/lib/control-value-accessors/datepicker-value-accessor.mjs +37 -0
  5. package/esm2020/lib/control-value-accessors/numeric-value-accessor.mjs +42 -0
  6. package/esm2020/lib/control-value-accessors/radio-value-accessor.mjs +62 -0
  7. package/esm2020/lib/control-value-accessors/range-value-accessor.mjs +42 -0
  8. package/esm2020/lib/control-value-accessors/select-value-accessor.mjs +37 -0
  9. package/esm2020/lib/control-value-accessors/switch-value-accessor.mjs +41 -0
  10. package/esm2020/lib/control-value-accessors/text-value-accessor.mjs +37 -0
  11. package/esm2020/lib/control-value-accessors/timepicker-value-accessor.mjs +37 -0
  12. package/esm2020/lib/control-value-accessors/value-accessor.mjs +145 -0
  13. package/esm2020/lib/form/six-form.directive.mjs +134 -0
  14. package/esm2020/lib/link/six-router-link.directive.mjs +47 -0
  15. package/esm2020/lib/services/validation-messages.service.mjs +15 -0
  16. package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +9 -1
  17. package/esm2020/lib/stencil-generated/components.mjs +65 -69
  18. package/esm2020/lib/stencil-generated/index.mjs +2 -2
  19. package/esm2020/lib/ui-library-angular.module.mjs +120 -19
  20. package/esm2020/lib/validators/six-ui-library-validators.mjs +122 -0
  21. package/esm2020/public-api.mjs +21 -1
  22. package/fesm2015/six-group-ui-library-angular.mjs +976 -89
  23. package/fesm2015/six-group-ui-library-angular.mjs.map +1 -1
  24. package/fesm2020/six-group-ui-library-angular.mjs +969 -88
  25. package/fesm2020/six-group-ui-library-angular.mjs.map +1 -1
  26. package/lib/control-value-accessors/checkbox-value-accessor.d.ts +10 -0
  27. package/lib/control-value-accessors/datepicker-value-accessor.d.ts +9 -0
  28. package/lib/control-value-accessors/numeric-value-accessor.d.ts +10 -0
  29. package/lib/control-value-accessors/radio-value-accessor.d.ts +15 -0
  30. package/lib/control-value-accessors/range-value-accessor.d.ts +10 -0
  31. package/lib/control-value-accessors/select-value-accessor.d.ts +9 -0
  32. package/lib/control-value-accessors/switch-value-accessor.d.ts +10 -0
  33. package/lib/control-value-accessors/text-value-accessor.d.ts +9 -0
  34. package/lib/control-value-accessors/timepicker-value-accessor.d.ts +9 -0
  35. package/lib/control-value-accessors/value-accessor.d.ts +39 -0
  36. package/lib/form/six-form.directive.d.ts +71 -0
  37. package/lib/link/six-router-link.directive.d.ts +24 -0
  38. package/lib/services/validation-messages.service.d.ts +7 -0
  39. package/lib/stencil-generated/components.d.ts +19 -53
  40. package/lib/stencil-generated/index.d.ts +1 -1
  41. package/lib/ui-library-angular.module.d.ts +16 -1
  42. package/lib/validators/six-ui-library-validators.d.ts +47 -0
  43. package/package.json +8 -3
  44. package/public-api.d.ts +14 -0
@@ -1,8 +1,13 @@
1
+ import { __decorate, __awaiter } from 'tslib';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, APP_INITIALIZER, NgModule } from '@angular/core';
3
- import { __decorate } from 'tslib';
3
+ import { Component, ChangeDetectionStrategy, Injectable, inject, Directive, HostListener, Input, EventEmitter, Output, Optional, APP_INITIALIZER, NgModule } from '@angular/core';
4
4
  import { fromEvent } from 'rxjs';
5
5
  import { defineCustomElements } from '@six-group/ui-library/loader';
6
+ import * as i1 from '@angular/forms';
7
+ import { NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS, Validators } from '@angular/forms';
8
+ import { getErrorMessage, languages } from '@six-group/ui-library';
9
+ import * as i1$1 from '@angular/common';
10
+ import * as i2 from '@angular/router';
6
11
 
7
12
  /* eslint-disable */
8
13
  /* tslint:disable */
@@ -16,6 +21,14 @@ const proxyInputs = (Cmp, inputs) => {
16
21
  set(val) {
17
22
  this.z.runOutsideAngular(() => (this.el[item] = val));
18
23
  },
24
+ /**
25
+ * In the event that proxyInputs is called
26
+ * multiple times re-defining these inputs
27
+ * will cause an error to be thrown. As a result
28
+ * we set configurable: true to indicate these
29
+ * properties can be changed.
30
+ */
31
+ configurable: true,
19
32
  });
20
33
  });
21
34
  };
@@ -209,11 +222,11 @@ let SixCheckbox = class SixCheckbox {
209
222
  }
210
223
  };
211
224
  SixCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
212
- SixCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixCheckbox, selector: "six-checkbox", inputs: { checked: "checked", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", indeterminate: "indeterminate", invalid: "invalid", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
225
+ SixCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixCheckbox, selector: "six-checkbox", inputs: { checked: "checked", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", indeterminate: "indeterminate", invalid: "invalid", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
213
226
  SixCheckbox = __decorate([
214
227
  ProxyCmp({
215
- inputs: ['checked', 'disabled', 'errorOnBlur', 'errorText', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
216
- methods: ['setFocus', 'removeFocus', 'reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
228
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
229
+ methods: ['setFocus', 'removeFocus']
217
230
  })
218
231
  ], SixCheckbox);
219
232
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixCheckbox, decorators: [{
@@ -223,7 +236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
223
236
  changeDetection: ChangeDetectionStrategy.OnPush,
224
237
  template: '<ng-content></ng-content>',
225
238
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
226
- inputs: ['checked', 'disabled', 'errorOnBlur', 'errorText', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
239
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
227
240
  }]
228
241
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
229
242
  let SixDatepicker = class SixDatepicker {
@@ -235,11 +248,11 @@ let SixDatepicker = class SixDatepicker {
235
248
  }
236
249
  };
237
250
  SixDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
238
- SixDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixDatepicker, selector: "six-datepicker", inputs: { allowedDates: "allowedDates", clearable: "clearable", closeOnSelect: "closeOnSelect", containingElement: "containingElement", dateFormat: "dateFormat", debounce: "debounce", defaultDate: "defaultDate", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", label: "label", locale: "locale", max: "max", min: "min", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", size: "size", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
251
+ SixDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixDatepicker, selector: "six-datepicker", inputs: { allowedDates: "allowedDates", clearable: "clearable", closeOnSelect: "closeOnSelect", containingElement: "containingElement", dateFormat: "dateFormat", debounce: "debounce", defaultDate: "defaultDate", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", invalid: "invalid", label: "label", locale: "locale", max: "max", min: "min", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", size: "size", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
239
252
  SixDatepicker = __decorate([
240
253
  ProxyCmp({
241
- inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorOnBlur', 'errorText', 'hoist', 'iconPosition', 'inline', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
242
- methods: ['reportValidity', 'checkValidity', 'setCustomValidity', 'reset', 'select']
254
+ inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorText', 'errorTextCount', 'hoist', 'iconPosition', 'inline', 'invalid', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
255
+ methods: ['setFocus', 'select']
243
256
  })
244
257
  ], SixDatepicker);
245
258
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixDatepicker, decorators: [{
@@ -249,7 +262,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
249
262
  changeDetection: ChangeDetectionStrategy.OnPush,
250
263
  template: '<ng-content></ng-content>',
251
264
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
252
- inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorOnBlur', 'errorText', 'hoist', 'iconPosition', 'inline', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
265
+ inputs: ['allowedDates', 'clearable', 'closeOnSelect', 'containingElement', 'dateFormat', 'debounce', 'defaultDate', 'disabled', 'errorText', 'errorTextCount', 'hoist', 'iconPosition', 'inline', 'invalid', 'label', 'locale', 'max', 'min', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'size', 'type', 'value'],
253
266
  }]
254
267
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
255
268
  let SixDetails = class SixDetails {
@@ -356,6 +369,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
356
369
  inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
357
370
  }]
358
371
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
372
+ let SixError = class SixError {
373
+ constructor(c, r, z) {
374
+ this.z = z;
375
+ c.detach();
376
+ this.el = r.nativeElement;
377
+ }
378
+ };
379
+ SixError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
380
+ SixError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixError, selector: "six-error", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
381
+ SixError = __decorate([
382
+ ProxyCmp({})
383
+ ], SixError);
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixError, decorators: [{
385
+ type: Component,
386
+ args: [{
387
+ selector: 'six-error',
388
+ changeDetection: ChangeDetectionStrategy.OnPush,
389
+ template: '<ng-content></ng-content>',
390
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
391
+ inputs: [],
392
+ }]
393
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
359
394
  let SixErrorPage = class SixErrorPage {
360
395
  constructor(c, r, z) {
361
396
  this.z = z;
@@ -474,32 +509,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
474
509
  inputs: [],
475
510
  }]
476
511
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
477
- let SixForm = class SixForm {
478
- constructor(c, r, z) {
479
- this.z = z;
480
- c.detach();
481
- this.el = r.nativeElement;
482
- proxyOutputs(this, this.el, ['six-form-submit', 'six-form-change', 'six-form-reset']);
483
- }
484
- };
485
- SixForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixForm, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
486
- SixForm.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixForm, selector: "six-form", inputs: { novalidate: "novalidate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
487
- SixForm = __decorate([
488
- ProxyCmp({
489
- inputs: ['novalidate'],
490
- methods: ['getFormData', 'getFormControls', 'submit', 'checkValidity', 'reset']
491
- })
492
- ], SixForm);
493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixForm, decorators: [{
494
- type: Component,
495
- args: [{
496
- selector: 'six-form',
497
- changeDetection: ChangeDetectionStrategy.OnPush,
498
- template: '<ng-content></ng-content>',
499
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
500
- inputs: ['novalidate'],
501
- }]
502
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
503
512
  let SixGroupLabel = class SixGroupLabel {
504
513
  constructor(c, r, z) {
505
514
  this.z = z;
@@ -603,15 +612,15 @@ let SixInput = class SixInput {
603
612
  this.z = z;
604
613
  c.detach();
605
614
  this.el = r.nativeElement;
606
- proxyOutputs(this, this.el, ['six-input-change', 'six-input-clear', 'six-input-input', 'six-input-focus', 'six-input-blur', 'six-input-value-change']);
615
+ proxyOutputs(this, this.el, ['six-input-change', 'six-input-clear', 'six-input-input', 'six-input-focus', 'six-input-blur']);
607
616
  }
608
617
  };
609
618
  SixInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
610
- SixInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixInput, selector: "six-input", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearable: "clearable", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", line: "line", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", name: "name", pattern: "pattern", pill: "pill", placeholder: "placeholder", readonly: "readonly", required: "required", size: "size", spellcheck: "spellcheck", step: "step", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
619
+ SixInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixInput, selector: "six-input", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearable: "clearable", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", line: "line", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", name: "name", pattern: "pattern", pill: "pill", placeholder: "placeholder", readonly: "readonly", required: "required", size: "size", spellcheck: "spellcheck", step: "step", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
611
620
  SixInput = __decorate([
612
621
  ProxyCmp({
613
- inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'errorOnBlur', 'errorText', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
614
- methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText', 'reportValidity', 'checkValidity', 'setCustomValidity', 'getValidity', 'isValid', 'getValidationMessage', 'reset']
622
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
623
+ methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
615
624
  })
616
625
  ], SixInput);
617
626
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixInput, decorators: [{
@@ -621,7 +630,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
621
630
  changeDetection: ChangeDetectionStrategy.OnPush,
622
631
  template: '<ng-content></ng-content>',
623
632
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
624
- inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'errorOnBlur', 'errorText', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
633
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'line', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'pill', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'togglePassword', 'type', 'value'],
625
634
  }]
626
635
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
627
636
  let SixItemPicker = class SixItemPicker {
@@ -902,7 +911,7 @@ SixRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.
902
911
  SixRadio = __decorate([
903
912
  ProxyCmp({
904
913
  inputs: ['checked', 'disabled', 'invalid', 'name', 'value'],
905
- methods: ['setFocus', 'removeFocus', 'reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
914
+ methods: ['setFocus', 'removeFocus']
906
915
  })
907
916
  ], SixRadio);
908
917
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixRadio, decorators: [{
@@ -924,11 +933,11 @@ let SixRange = class SixRange {
924
933
  }
925
934
  };
926
935
  SixRange.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
927
- SixRange.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixRange, selector: "six-range", inputs: { disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", helpText: "helpText", invalid: "invalid", label: "label", max: "max", min: "min", name: "name", required: "required", step: "step", tooltip: "tooltip", tooltipFormatter: "tooltipFormatter", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
936
+ SixRange.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixRange, selector: "six-range", inputs: { disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", invalid: "invalid", label: "label", max: "max", min: "min", name: "name", required: "required", step: "step", tooltip: "tooltip", tooltipFormatter: "tooltipFormatter", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
928
937
  SixRange = __decorate([
929
938
  ProxyCmp({
930
- inputs: ['disabled', 'errorOnBlur', 'errorText', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
931
- methods: ['setFocus', 'removeFocus', 'setCustomValidity', 'reset']
939
+ inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
940
+ methods: ['setFocus', 'removeFocus']
932
941
  })
933
942
  ], SixRange);
934
943
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixRange, decorators: [{
@@ -938,7 +947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
938
947
  changeDetection: ChangeDetectionStrategy.OnPush,
939
948
  template: '<ng-content></ng-content>',
940
949
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
941
- inputs: ['disabled', 'errorOnBlur', 'errorText', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
950
+ inputs: ['disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'max', 'min', 'name', 'required', 'step', 'tooltip', 'tooltipFormatter', 'value'],
942
951
  }]
943
952
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
944
953
  let SixRoot = class SixRoot {
@@ -1000,11 +1009,11 @@ let SixSelect = class SixSelect {
1000
1009
  }
1001
1010
  };
1002
1011
  SixSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1003
- SixSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSelect, selector: "six-select", inputs: { asyncFilter: "asyncFilter", autocomplete: "autocomplete", clearable: "clearable", defaultValue: "defaultValue", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", filter: "filter", filterDebounce: "filterDebounce", filterPlaceholder: "filterPlaceholder", helpText: "helpText", hoist: "hoist", inputDebounce: "inputDebounce", invalid: "invalid", label: "label", line: "line", maxTagsVisible: "maxTagsVisible", multiple: "multiple", name: "name", options: "options", pill: "pill", placeholder: "placeholder", required: "required", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1012
+ SixSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSelect, selector: "six-select", inputs: { asyncFilter: "asyncFilter", autocomplete: "autocomplete", clearable: "clearable", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", filter: "filter", filterDebounce: "filterDebounce", filterPlaceholder: "filterPlaceholder", helpText: "helpText", hoist: "hoist", inputDebounce: "inputDebounce", invalid: "invalid", label: "label", line: "line", maxTagsVisible: "maxTagsVisible", multiple: "multiple", name: "name", options: "options", pill: "pill", placeholder: "placeholder", required: "required", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1004
1013
  SixSelect = __decorate([
1005
1014
  ProxyCmp({
1006
- inputs: ['asyncFilter', 'autocomplete', 'clearable', 'defaultValue', 'disabled', 'errorOnBlur', 'errorText', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'size', 'value', 'virtualScroll'],
1007
- methods: ['reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
1015
+ inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'size', 'value', 'virtualScroll'],
1016
+ methods: ['setFocus']
1008
1017
  })
1009
1018
  ], SixSelect);
1010
1019
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSelect, decorators: [{
@@ -1014,7 +1023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1014
1023
  changeDetection: ChangeDetectionStrategy.OnPush,
1015
1024
  template: '<ng-content></ng-content>',
1016
1025
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1017
- inputs: ['asyncFilter', 'autocomplete', 'clearable', 'defaultValue', 'disabled', 'errorOnBlur', 'errorText', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'size', 'value', 'virtualScroll'],
1026
+ inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'size', 'value', 'virtualScroll'],
1018
1027
  }]
1019
1028
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1020
1029
  let SixSidebar = class SixSidebar {
@@ -1051,10 +1060,10 @@ let SixSidebarItem = class SixSidebarItem {
1051
1060
  }
1052
1061
  };
1053
1062
  SixSidebarItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSidebarItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1054
- SixSidebarItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSidebarItem, selector: "six-sidebar-item", inputs: { disabled: "disabled", selected: "selected", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1063
+ SixSidebarItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSidebarItem, selector: "six-sidebar-item", inputs: { disabled: "disabled", href: "href", selected: "selected", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1055
1064
  SixSidebarItem = __decorate([
1056
1065
  ProxyCmp({
1057
- inputs: ['disabled', 'selected', 'value']
1066
+ inputs: ['disabled', 'href', 'selected', 'value']
1058
1067
  })
1059
1068
  ], SixSidebarItem);
1060
1069
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSidebarItem, decorators: [{
@@ -1064,7 +1073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1064
1073
  changeDetection: ChangeDetectionStrategy.OnPush,
1065
1074
  template: '<ng-content></ng-content>',
1066
1075
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1067
- inputs: ['disabled', 'selected', 'value'],
1076
+ inputs: ['disabled', 'href', 'selected', 'value'],
1068
1077
  }]
1069
1078
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1070
1079
  let SixSidebarItemGroup = class SixSidebarItemGroup {
@@ -1075,10 +1084,10 @@ let SixSidebarItemGroup = class SixSidebarItemGroup {
1075
1084
  }
1076
1085
  };
1077
1086
  SixSidebarItemGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSidebarItemGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1078
- SixSidebarItemGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSidebarItemGroup, selector: "six-sidebar-item-group", inputs: { icon: "icon", name: "name", open: "open", summaryIcon: "summaryIcon", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1087
+ SixSidebarItemGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSidebarItemGroup, selector: "six-sidebar-item-group", inputs: { href: "href", icon: "icon", name: "name", open: "open", summaryIcon: "summaryIcon", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1079
1088
  SixSidebarItemGroup = __decorate([
1080
1089
  ProxyCmp({
1081
- inputs: ['icon', 'name', 'open', 'summaryIcon', 'value']
1090
+ inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value']
1082
1091
  })
1083
1092
  ], SixSidebarItemGroup);
1084
1093
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSidebarItemGroup, decorators: [{
@@ -1088,7 +1097,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1088
1097
  changeDetection: ChangeDetectionStrategy.OnPush,
1089
1098
  template: '<ng-content></ng-content>',
1090
1099
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1091
- inputs: ['icon', 'name', 'open', 'summaryIcon', 'value'],
1100
+ inputs: ['href', 'icon', 'name', 'open', 'summaryIcon', 'value'],
1092
1101
  }]
1093
1102
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1094
1103
  let SixSpinner = class SixSpinner {
@@ -1148,11 +1157,11 @@ let SixSwitch = class SixSwitch {
1148
1157
  }
1149
1158
  };
1150
1159
  SixSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSwitch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1151
- SixSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSwitch, selector: "six-switch", inputs: { checked: "checked", disabled: "disabled", invalid: "invalid", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1160
+ SixSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixSwitch, selector: "six-switch", inputs: { checked: "checked", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", invalid: "invalid", label: "label", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1152
1161
  SixSwitch = __decorate([
1153
1162
  ProxyCmp({
1154
- inputs: ['checked', 'disabled', 'invalid', 'name', 'required', 'value'],
1155
- methods: ['setFocus', 'removeFocus', 'reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
1163
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
1164
+ methods: ['setFocus', 'removeFocus']
1156
1165
  })
1157
1166
  ], SixSwitch);
1158
1167
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixSwitch, decorators: [{
@@ -1162,7 +1171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1162
1171
  changeDetection: ChangeDetectionStrategy.OnPush,
1163
1172
  template: '<ng-content></ng-content>',
1164
1173
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1165
- inputs: ['checked', 'disabled', 'invalid', 'name', 'required', 'value'],
1174
+ inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'invalid', 'label', 'name', 'required', 'value'],
1166
1175
  }]
1167
1176
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1168
1177
  let SixTab = class SixTab {
@@ -1271,15 +1280,15 @@ let SixTextarea = class SixTextarea {
1271
1280
  this.z = z;
1272
1281
  c.detach();
1273
1282
  this.el = r.nativeElement;
1274
- proxyOutputs(this, this.el, ['six-textarea-change', 'six-textarea-input', 'six-textarea-focus', 'six-textarea-blur', 'six-textarea-value-change']);
1283
+ proxyOutputs(this, this.el, ['six-textarea-change', 'six-textarea-input', 'six-textarea-focus', 'six-textarea-blur']);
1275
1284
  }
1276
1285
  };
1277
1286
  SixTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1278
- SixTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixTextarea, selector: "six-textarea", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", maxlength: "maxlength", minlength: "minlength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resize: "resize", rows: "rows", size: "size", spellcheck: "spellcheck", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1287
+ SixTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixTextarea, selector: "six-textarea", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", inputmode: "inputmode", invalid: "invalid", label: "label", maxlength: "maxlength", minlength: "minlength", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", resize: "resize", rows: "rows", size: "size", spellcheck: "spellcheck", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1279
1288
  SixTextarea = __decorate([
1280
1289
  ProxyCmp({
1281
- inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorOnBlur', 'errorText', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1282
- methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText', 'reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
1290
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1291
+ methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
1283
1292
  })
1284
1293
  ], SixTextarea);
1285
1294
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixTextarea, decorators: [{
@@ -1289,7 +1298,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1289
1298
  changeDetection: ChangeDetectionStrategy.OnPush,
1290
1299
  template: '<ng-content></ng-content>',
1291
1300
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1292
- inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorOnBlur', 'errorText', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1301
+ inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'inputmode', 'invalid', 'label', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly', 'required', 'resize', 'rows', 'size', 'spellcheck', 'value'],
1293
1302
  }]
1294
1303
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1295
1304
  let SixTile = class SixTile {
@@ -1327,11 +1336,11 @@ let SixTimepicker = class SixTimepicker {
1327
1336
  }
1328
1337
  };
1329
1338
  SixTimepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixTimepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1330
- SixTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixTimepicker, selector: "six-timepicker", inputs: { clearable: "clearable", debounce: "debounce", defaultTime: "defaultTime", disabled: "disabled", errorOnBlur: "errorOnBlur", errorText: "errorText", format: "format", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", interval: "interval", label: "label", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", separator: "separator", size: "size", timeout: "timeout", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1339
+ SixTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SixTimepicker, selector: "six-timepicker", inputs: { clearable: "clearable", debounce: "debounce", defaultTime: "defaultTime", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", format: "format", hoist: "hoist", iconPosition: "iconPosition", inline: "inline", interval: "interval", invalid: "invalid", label: "label", name: "name", open: "open", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", separator: "separator", size: "size", timeout: "timeout", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1331
1340
  SixTimepicker = __decorate([
1332
1341
  ProxyCmp({
1333
- inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorOnBlur', 'errorText', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1334
- methods: ['reportValidity', 'checkValidity', 'setCustomValidity', 'reset']
1342
+ inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1343
+ methods: ['setFocus']
1335
1344
  })
1336
1345
  ], SixTimepicker);
1337
1346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixTimepicker, decorators: [{
@@ -1341,7 +1350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1341
1350
  changeDetection: ChangeDetectionStrategy.OnPush,
1342
1351
  template: '<ng-content></ng-content>',
1343
1352
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1344
- inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorOnBlur', 'errorText', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1353
+ inputs: ['clearable', 'debounce', 'defaultTime', 'disabled', 'errorText', 'errorTextCount', 'format', 'hoist', 'iconPosition', 'inline', 'interval', 'invalid', 'label', 'name', 'open', 'placeholder', 'placement', 'readonly', 'required', 'separator', 'size', 'timeout', 'value'],
1345
1354
  }]
1346
1355
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1347
1356
  let SixTooltip = class SixTooltip {
@@ -1384,12 +1393,12 @@ const DIRECTIVES = [
1384
1393
  SixDialog,
1385
1394
  SixDrawer,
1386
1395
  SixDropdown,
1396
+ SixError,
1387
1397
  SixErrorPage,
1388
1398
  SixFileList,
1389
1399
  SixFileListItem,
1390
1400
  SixFileUpload,
1391
1401
  SixFooter,
1392
- SixForm,
1393
1402
  SixGroupLabel,
1394
1403
  SixHeader,
1395
1404
  SixIcon,
@@ -1427,33 +1436,911 @@ const DIRECTIVES = [
1427
1436
  SixTooltip
1428
1437
  ];
1429
1438
 
1430
- class UiLibraryAngularModule {
1439
+ class ValidationMessagesService {
1440
+ getErrorMessage(language, error) {
1441
+ return getErrorMessage(language, error);
1442
+ }
1431
1443
  }
1432
- UiLibraryAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1433
- UiLibraryAngularModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, declarations: [SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixForm, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip], exports: [SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixForm, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip] });
1434
- UiLibraryAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, providers: [
1444
+ ValidationMessagesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValidationMessagesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1445
+ ValidationMessagesServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValidationMessagesService, providedIn: 'root' });
1446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValidationMessagesService, decorators: [{
1447
+ type: Injectable,
1448
+ args: [{ providedIn: 'root' }]
1449
+ }] });
1450
+
1451
+ class ValueAccessor {
1452
+ constructor(injector, el) {
1453
+ this.injector = injector;
1454
+ this.el = el;
1455
+ this.validationMessagesService = inject(ValidationMessagesService);
1456
+ this.onChange = () => { };
1457
+ this.onTouched = () => { };
1458
+ }
1459
+ registerOnChange(fn) {
1460
+ this.onChange = fn;
1461
+ }
1462
+ registerOnTouched(fn) {
1463
+ this.onTouched = fn;
1464
+ }
1465
+ writeValue(value) {
1466
+ this.el.nativeElement.value = value;
1467
+ this.updateValidation();
1468
+ }
1469
+ /**
1470
+ * Notifies the ControlValueAccessor of a change in the value of the control.
1471
+ *
1472
+ * This is called by each of the ValueAccessor directives when we want to update
1473
+ * the status and validity of the form control. For example with text components this
1474
+ * is called when the input event is fired. For select components this is called
1475
+ * when the change event is fired.
1476
+ *
1477
+ * This also updates the form status on the element by setting the 'invalid' property to true/false.
1478
+ *
1479
+ * @param el The component element.
1480
+ * @param value The new value of the control.
1481
+ */
1482
+ handleValueChange(el, value) {
1483
+ if (el === this.el.nativeElement) {
1484
+ this.onChange(value);
1485
+ this.updateValidation();
1486
+ }
1487
+ }
1488
+ _handleBlurEvent(el) {
1489
+ if (el === this.el.nativeElement) {
1490
+ this.onTouched();
1491
+ this.updateValidation();
1492
+ }
1493
+ }
1494
+ updateValidation() {
1495
+ nextTick(() => {
1496
+ var _a, _b;
1497
+ if (((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.control) == null)
1498
+ return;
1499
+ const element = this.el.nativeElement;
1500
+ const control = (_b = this.ngControl) === null || _b === void 0 ? void 0 : _b.control;
1501
+ const invalid = !control.valid && control.dirty && control.touched;
1502
+ let errorTexts;
1503
+ if (invalid) {
1504
+ errorTexts = this.initialErrorText || this.getErrorTexts(control);
1505
+ }
1506
+ element.invalid = invalid;
1507
+ element.errorText = errorTexts !== null && errorTexts !== void 0 ? errorTexts : '';
1508
+ });
1509
+ }
1510
+ setDisabledState(isDisabled) {
1511
+ this.el.nativeElement.disabled = isDisabled;
1512
+ }
1513
+ ngOnDestroy() {
1514
+ if (this.statusChanges) {
1515
+ this.statusChanges.unsubscribe();
1516
+ }
1517
+ }
1518
+ ngAfterViewInit() {
1519
+ var _a, _b;
1520
+ this.initialErrorText = ((_b = (_a = this.el.nativeElement) === null || _a === void 0 ? void 0 : _a.errorText) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
1521
+ try {
1522
+ this.ngControl = this.injector.get(NgControl);
1523
+ }
1524
+ catch (_c) {
1525
+ /* No FormControl or ngModel binding */
1526
+ }
1527
+ if (!this.ngControl) {
1528
+ return;
1529
+ }
1530
+ // Listen for changes in validity, disabled, or pending states
1531
+ if (this.ngControl.statusChanges) {
1532
+ this.statusChanges = this.ngControl.statusChanges.subscribe(() => this.updateValidation());
1533
+ }
1534
+ /**
1535
+ * TODO FW-2787: Remove this in favor of https://github.com/angular/angular/issues/10887
1536
+ * whenever it is implemented.
1537
+ */
1538
+ const formControl = this.ngControl.control;
1539
+ if (formControl) {
1540
+ const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
1541
+ methodsToPatch.forEach((method) => {
1542
+ if (typeof formControl[method] !== 'undefined') {
1543
+ const oldFn = formControl[method].bind(formControl);
1544
+ formControl[method] = (...params) => {
1545
+ oldFn(...params);
1546
+ this.updateValidation();
1547
+ };
1548
+ }
1549
+ });
1550
+ }
1551
+ }
1552
+ getErrorTexts(control) {
1553
+ if (control.errors == null) {
1554
+ console.warn('no errors for invalid control', control);
1555
+ return [];
1556
+ }
1557
+ const errorList = Object.entries(control.errors);
1558
+ if (errorList.length <= 0) {
1559
+ console.warn('no errors for invalid control', control);
1560
+ return [];
1561
+ }
1562
+ return errorList.map((error) => {
1563
+ var _a;
1564
+ const [key, value] = error;
1565
+ return ((_a = this.validationMessagesService.getErrorMessage(getLanguage(), Object.assign({ key: key }, value))) !== null && _a !== void 0 ? _a : key);
1566
+ });
1567
+ }
1568
+ }
1569
+ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1570
+ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ValueAccessor, host: { listeners: { "blur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
1571
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ValueAccessor, decorators: [{
1572
+ type: Directive
1573
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
1574
+ type: HostListener,
1575
+ args: ['blur', ['$event.target']]
1576
+ }] } });
1577
+ function getLanguage() {
1578
+ const documentLang = document.documentElement.lang;
1579
+ if (languages.includes(documentLang)) {
1580
+ return documentLang;
1581
+ }
1582
+ return 'de';
1583
+ }
1584
+ const nextTick = (h) => {
1585
+ if (typeof __zone_symbol__requestAnimationFrame === 'function') {
1586
+ return __zone_symbol__requestAnimationFrame(h);
1587
+ }
1588
+ if (typeof requestAnimationFrame === 'function') {
1589
+ return requestAnimationFrame(h);
1590
+ }
1591
+ return setTimeout(h);
1592
+ };
1593
+
1594
+ class TextValueAccessor extends ValueAccessor {
1595
+ constructor(injector, el) {
1596
+ super(injector, el);
1597
+ }
1598
+ handleInputEvent(el) {
1599
+ this.handleValueChange(el, el.value);
1600
+ }
1601
+ }
1602
+ TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1603
+ TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TextValueAccessor, selector: "six-input:not([type=number]),six-textarea", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
1435
1604
  {
1436
- provide: APP_INITIALIZER,
1437
- useFactory: () => {
1438
- return defineCustomElements();
1439
- },
1605
+ provide: NG_VALUE_ACCESSOR,
1606
+ useExisting: TextValueAccessor,
1607
+ multi: true,
1440
1608
  },
1441
- ] });
1442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
1443
- type: NgModule,
1609
+ ], usesInheritance: true, ngImport: i0 });
1610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextValueAccessor, decorators: [{
1611
+ type: Directive,
1444
1612
  args: [{
1445
- declarations: [...DIRECTIVES],
1446
- imports: [],
1447
- exports: [...DIRECTIVES],
1613
+ selector: 'six-input:not([type=number]),six-textarea',
1614
+ providers: [
1615
+ {
1616
+ provide: NG_VALUE_ACCESSOR,
1617
+ useExisting: TextValueAccessor,
1618
+ multi: true,
1619
+ },
1620
+ ],
1621
+ }]
1622
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1623
+ type: HostListener,
1624
+ args: ['input', ['$event.target']]
1625
+ }] } });
1626
+
1627
+ class NumericValueAccessor extends ValueAccessor {
1628
+ constructor(injector, el) {
1629
+ super(injector, el);
1630
+ }
1631
+ handleInputEvent(el) {
1632
+ this.handleValueChange(el, el.value);
1633
+ }
1634
+ registerOnChange(fn) {
1635
+ super.registerOnChange((value) => {
1636
+ fn(value === '' ? null : parseFloat(value));
1637
+ });
1638
+ }
1639
+ }
1640
+ NumericValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NumericValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1641
+ NumericValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: NumericValueAccessor, selector: "six-input[type=number]", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
1642
+ {
1643
+ provide: NG_VALUE_ACCESSOR,
1644
+ useExisting: NumericValueAccessor,
1645
+ multi: true,
1646
+ },
1647
+ ], usesInheritance: true, ngImport: i0 });
1648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NumericValueAccessor, decorators: [{
1649
+ type: Directive,
1650
+ args: [{
1651
+ selector: 'six-input[type=number]',
1652
+ providers: [
1653
+ {
1654
+ provide: NG_VALUE_ACCESSOR,
1655
+ useExisting: NumericValueAccessor,
1656
+ multi: true,
1657
+ },
1658
+ ],
1659
+ }]
1660
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
1661
+ type: HostListener,
1662
+ args: ['input', ['$event.target']]
1663
+ }] } });
1664
+
1665
+ class RadioValueAccessor extends ValueAccessor {
1666
+ constructor(injector, el) {
1667
+ super(injector, el);
1668
+ }
1669
+ handleChangeEvent(el) {
1670
+ this.handleValueChange(el, this.value);
1671
+ }
1672
+ ngOnInit() {
1673
+ this.checkName();
1674
+ }
1675
+ writeValue(value) {
1676
+ this.el.nativeElement.checked = value === this.value;
1677
+ this.updateValidation();
1678
+ }
1679
+ checkName() {
1680
+ if (this.name && this.formControlName && this.name !== this.formControlName) {
1681
+ throw new Error(`
1682
+ If you define both a name and a formControlName attribute on your radio button, their values
1683
+ must match. Ex: <six-input type="radio" formControlName="food" name="food">
1684
+ `);
1685
+ }
1686
+ if (!this.name && this.formControlName) {
1687
+ this.name = this.formControlName;
1688
+ this.el.nativeElement.name = this.formControlName;
1689
+ }
1690
+ }
1691
+ }
1692
+ RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1693
+ RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RadioValueAccessor, selector: "six-radio", inputs: { value: "value", formControlName: "formControlName", name: "name" }, host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1694
+ {
1695
+ provide: NG_VALUE_ACCESSOR,
1696
+ useExisting: RadioValueAccessor,
1697
+ multi: true,
1698
+ },
1699
+ ], usesInheritance: true, ngImport: i0 });
1700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioValueAccessor, decorators: [{
1701
+ type: Directive,
1702
+ args: [{
1703
+ selector: 'six-radio',
1704
+ providers: [
1705
+ {
1706
+ provide: NG_VALUE_ACCESSOR,
1707
+ useExisting: RadioValueAccessor,
1708
+ multi: true,
1709
+ },
1710
+ ],
1711
+ }]
1712
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { value: [{
1713
+ type: Input
1714
+ }], formControlName: [{
1715
+ type: Input
1716
+ }], name: [{
1717
+ type: Input
1718
+ }], handleChangeEvent: [{
1719
+ type: HostListener,
1720
+ args: ['change', ['$event.target']]
1721
+ }] } });
1722
+
1723
+ class DatepickerValueAccessor extends ValueAccessor {
1724
+ constructor(injector, el) {
1725
+ super(injector, el);
1726
+ }
1727
+ handleChangeEvent(el) {
1728
+ this.handleValueChange(el, el.value);
1729
+ }
1730
+ }
1731
+ DatepickerValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DatepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1732
+ DatepickerValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: DatepickerValueAccessor, selector: "six-datepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
1733
+ {
1734
+ provide: NG_VALUE_ACCESSOR,
1735
+ useExisting: DatepickerValueAccessor,
1736
+ multi: true,
1737
+ },
1738
+ ], usesInheritance: true, ngImport: i0 });
1739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DatepickerValueAccessor, decorators: [{
1740
+ type: Directive,
1741
+ args: [{
1742
+ selector: 'six-datepicker',
1448
1743
  providers: [
1449
1744
  {
1450
- provide: APP_INITIALIZER,
1451
- useFactory: () => {
1452
- return defineCustomElements();
1453
- },
1745
+ provide: NG_VALUE_ACCESSOR,
1746
+ useExisting: DatepickerValueAccessor,
1747
+ multi: true,
1454
1748
  },
1455
1749
  ],
1456
1750
  }]
1751
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
1752
+ type: HostListener,
1753
+ args: ['change', ['$event.target']]
1754
+ }] } });
1755
+
1756
+ /**
1757
+ * This directive intercepts the ngSubmit event of an Angular form and introduces
1758
+ * a supplementary event named sixSubmit. The sixSubmit event is triggered exclusively
1759
+ * when the form is valid. In cases where the form is considered invalid, this directive
1760
+ * takes proactive actions by marking all form controls as touched and dirty. Additionally,
1761
+ * it shifts the focus to the initial invalid form element, facilitating quick error
1762
+ * resolution.
1763
+ *
1764
+ * To utilize this directive, apply it to an Angular form.
1765
+ * ```html
1766
+ * <form [formGroup]="form" sixForm (sixSubmit)="onSubmit($event)">
1767
+ * <!-- form content -->
1768
+ * </form>
1769
+ * ```
1770
+ *
1771
+ * For users needing greater flexibility in determining when error messages are displayed,
1772
+ * or for those who prefer not to rely solely on the form submission event,
1773
+ * an alternative is to use the SixFormUtilDirective.
1774
+ */
1775
+ class SixFormDirective {
1776
+ onNgSubmit(event) {
1777
+ if (this.formGroupDirective.invalid) {
1778
+ focusInvalidField(this.formGroupDirective, this.elementRef);
1779
+ }
1780
+ else {
1781
+ this.sixSubmit.emit(event);
1782
+ }
1783
+ }
1784
+ constructor(elementRef, formGroupDirective) {
1785
+ this.elementRef = elementRef;
1786
+ this.formGroupDirective = formGroupDirective;
1787
+ /**
1788
+ * Emits an event when the form is valid and the form submission has been triggered.
1789
+ */
1790
+ this.sixSubmit = new EventEmitter();
1791
+ }
1792
+ }
1793
+ SixFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive });
1794
+ SixFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SixFormDirective, selector: "form[sixForm]", outputs: { sixSubmit: "sixSubmit" }, host: { listeners: { "ngSubmit": "onNgSubmit($event)" } }, ngImport: i0 });
1795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormDirective, decorators: [{
1796
+ type: Directive,
1797
+ args: [{
1798
+ selector: 'form[sixForm]',
1799
+ }]
1800
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; }, propDecorators: { sixSubmit: [{
1801
+ type: Output
1802
+ }], onNgSubmit: [{
1803
+ type: HostListener,
1804
+ args: ['ngSubmit', ['$event']]
1805
+ }] } });
1806
+ /**
1807
+ * This directive provides a utility method, that marks all form controls
1808
+ * as touched and dirty, and focuses the first invalid form element.
1809
+ *
1810
+ * To utilize this directive, apply it to an Angular form.
1811
+ * ```html
1812
+ * <form [formGroup]="form" sixFormUtil (ngSubmit)="onSubmit($event)">
1813
+ * <!-- form content -->
1814
+ * </form>
1815
+ * ```
1816
+ *
1817
+ * Then, get a reference to the directive and invoke `focusInvalidField()` if the
1818
+ * form is invalid:
1819
+ * ```ts
1820
+ * @ViewChild(SixFormUtilDirective) sixFormUtil!: SixFormUtilDirective;
1821
+ * // ...
1822
+ * onSubmit() {
1823
+ * if (this.form.invalid) {
1824
+ * this.sixFormUtil.focusInvalidField();
1825
+ * } else {
1826
+ * // ...
1827
+ * }
1828
+ * }
1829
+ * ```
1830
+ */
1831
+ class SixFormUtilDirective {
1832
+ constructor(elementRef, formGroupDirective) {
1833
+ this.elementRef = elementRef;
1834
+ this.formGroupDirective = formGroupDirective;
1835
+ }
1836
+ /** markAllControlsAsDirty(Object.values(formGroup.controls));
1837
+ * Marks all form controls as touched and dirty, and focuses the first
1838
+ * invalid form element.
1839
+ */
1840
+ focusInvalidField() {
1841
+ focusInvalidField(this.formGroupDirective, this.elementRef);
1842
+ }
1843
+ }
1844
+ SixFormUtilDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormUtilDirective, deps: [{ token: i0.ElementRef }, { token: i1.FormGroupDirective }], target: i0.ɵɵFactoryTarget.Directive });
1845
+ SixFormUtilDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SixFormUtilDirective, selector: "[sixFormUtil]", ngImport: i0 });
1846
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixFormUtilDirective, decorators: [{
1847
+ type: Directive,
1848
+ args: [{
1849
+ selector: '[sixFormUtil]',
1850
+ }]
1851
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FormGroupDirective }]; } });
1852
+ function focusInvalidField(formGroupDirective, formElement) {
1853
+ formGroupDirective.form.markAllAsTouched();
1854
+ markAllAsDirty([formGroupDirective.form]);
1855
+ const invalidElement = getInvalidElement(formElement.nativeElement);
1856
+ if ('setFocus' in invalidElement && typeof (invalidElement === null || invalidElement === void 0 ? void 0 : invalidElement.setFocus) === 'function') {
1857
+ invalidElement.setFocus();
1858
+ }
1859
+ if ('focus' in invalidElement && typeof (invalidElement === null || invalidElement === void 0 ? void 0 : invalidElement.focus) === 'function') {
1860
+ invalidElement.focus();
1861
+ }
1862
+ }
1863
+ function getInvalidElement(parent) {
1864
+ const invalidElement = parent.querySelector('.ng-invalid');
1865
+ if (invalidElement == null) {
1866
+ return parent;
1867
+ }
1868
+ return getInvalidElement(invalidElement);
1869
+ }
1870
+ function markAllAsDirty(controls) {
1871
+ controls.forEach((control) => {
1872
+ if (control instanceof FormControl) {
1873
+ control.markAsDirty({ onlySelf: true });
1874
+ }
1875
+ else if (control instanceof FormGroup) {
1876
+ control.markAsDirty({ onlySelf: true });
1877
+ markAllAsDirty(Object.values(control.controls));
1878
+ }
1879
+ else if (control instanceof FormArray) {
1880
+ control.markAsDirty({ onlySelf: true });
1881
+ markAllAsDirty(control.controls);
1882
+ }
1883
+ });
1884
+ }
1885
+
1886
+ class SixUiLibraryValidators {
1887
+ static minDate(mindate) {
1888
+ return (control) => {
1889
+ if (control.value == null)
1890
+ return null;
1891
+ const actualDate = control.value;
1892
+ return actualDate.getTime() >= mindate.getTime() ? null : { mindate: { mindate, actual: actualDate } };
1893
+ };
1894
+ }
1895
+ static maxDate(maxdate) {
1896
+ return (control) => {
1897
+ if (control.value == null)
1898
+ return null;
1899
+ const actualDate = control.value;
1900
+ return actualDate.getTime() <= maxdate.getTime() ? null : { maxdate: { maxdate, actual: actualDate } };
1901
+ };
1902
+ }
1903
+ static allowedDates(allowedDates = () => true) {
1904
+ return (control) => {
1905
+ if (control.value == null)
1906
+ return null;
1907
+ const allowed = allowedDates(control.value);
1908
+ return allowed ? null : { invaliddate: { actual: control.value } };
1909
+ };
1910
+ }
1911
+ }
1912
+ class MinDateValidator {
1913
+ validate(control) {
1914
+ if (this.min != null) {
1915
+ return SixUiLibraryValidators.minDate(this.min)(control);
1916
+ }
1917
+ return null;
1918
+ }
1919
+ }
1920
+ MinDateValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1921
+ MinDateValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: MinDateValidator, selector: "six-datepicker[min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }], ngImport: i0 });
1922
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinDateValidator, decorators: [{
1923
+ type: Directive,
1924
+ args: [{
1925
+ selector: 'six-datepicker[min]',
1926
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidator, multi: true }],
1927
+ }]
1928
+ }], propDecorators: { min: [{
1929
+ type: Input
1930
+ }] } });
1931
+ class MaxDateValidator {
1932
+ validate(control) {
1933
+ if (this.max != null) {
1934
+ return SixUiLibraryValidators.maxDate(this.max)(control);
1935
+ }
1936
+ return null;
1937
+ }
1938
+ }
1939
+ MaxDateValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxDateValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1940
+ MaxDateValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: MaxDateValidator, selector: "six-datepicker[max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }], ngImport: i0 });
1941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxDateValidator, decorators: [{
1942
+ type: Directive,
1943
+ args: [{
1944
+ selector: 'six-datepicker[max]',
1945
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidator, multi: true }],
1946
+ }]
1947
+ }], propDecorators: { max: [{
1948
+ type: Input
1949
+ }] } });
1950
+ class AllowedDatesValidator {
1951
+ constructor() {
1952
+ this.allowedDates = () => true;
1953
+ }
1954
+ validate(control) {
1955
+ return SixUiLibraryValidators.allowedDates(this.allowedDates)(control);
1956
+ }
1957
+ }
1958
+ AllowedDatesValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllowedDatesValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1959
+ AllowedDatesValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: AllowedDatesValidator, selector: "six-datepicker[allowedDates]", inputs: { allowedDates: "allowedDates" }, providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }], ngImport: i0 });
1960
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AllowedDatesValidator, decorators: [{
1961
+ type: Directive,
1962
+ args: [{
1963
+ selector: 'six-datepicker[allowedDates]',
1964
+ providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidator, multi: true }],
1965
+ }]
1966
+ }], propDecorators: { allowedDates: [{
1967
+ type: Input
1968
+ }] } });
1969
+ class MinValidator {
1970
+ validate(control) {
1971
+ return Validators.min(toFloat(this.min))(control);
1972
+ }
1973
+ }
1974
+ MinValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1975
+ MinValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: MinValidator, selector: "six-input[type=number][min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }], ngImport: i0 });
1976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MinValidator, decorators: [{
1977
+ type: Directive,
1978
+ args: [{
1979
+ selector: 'six-input[type=number][min]',
1980
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinValidator, multi: true }],
1981
+ }]
1982
+ }], propDecorators: { min: [{
1983
+ type: Input
1984
+ }] } });
1985
+ class MaxValidator {
1986
+ validate(control) {
1987
+ return Validators.max(toFloat(this.max))(control);
1988
+ }
1989
+ }
1990
+ MaxValidator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1991
+ MaxValidator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: MaxValidator, selector: "six-input[type=number][max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }], ngImport: i0 });
1992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MaxValidator, decorators: [{
1993
+ type: Directive,
1994
+ args: [{
1995
+ selector: 'six-input[type=number][max]',
1996
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxValidator, multi: true }],
1997
+ }]
1998
+ }], propDecorators: { max: [{
1999
+ type: Input
2000
+ }] } });
2001
+ function toFloat(value) {
2002
+ return typeof value === 'number' ? value : parseFloat(value);
2003
+ }
2004
+
2005
+ class SelectValueAccessor extends ValueAccessor {
2006
+ constructor(injector, el) {
2007
+ super(injector, el);
2008
+ }
2009
+ handleChangeEvent(el) {
2010
+ this.handleValueChange(el, el.value);
2011
+ }
2012
+ }
2013
+ SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2014
+ SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SelectValueAccessor, selector: "six-select", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2015
+ {
2016
+ provide: NG_VALUE_ACCESSOR,
2017
+ useExisting: SelectValueAccessor,
2018
+ multi: true,
2019
+ },
2020
+ ], usesInheritance: true, ngImport: i0 });
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectValueAccessor, decorators: [{
2022
+ type: Directive,
2023
+ args: [{
2024
+ selector: 'six-select',
2025
+ providers: [
2026
+ {
2027
+ provide: NG_VALUE_ACCESSOR,
2028
+ useExisting: SelectValueAccessor,
2029
+ multi: true,
2030
+ },
2031
+ ],
2032
+ }]
2033
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2034
+ type: HostListener,
2035
+ args: ['change', ['$event.target']]
2036
+ }] } });
2037
+
2038
+ class CheckboxValueAccessor extends ValueAccessor {
2039
+ constructor(injector, el) {
2040
+ super(injector, el);
2041
+ }
2042
+ handleChangeEvent(el) {
2043
+ this.handleValueChange(el, el.checked);
2044
+ }
2045
+ writeValue(value) {
2046
+ this.el.nativeElement.checked = value === true;
2047
+ this.updateValidation();
2048
+ }
2049
+ }
2050
+ CheckboxValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2051
+ CheckboxValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxValueAccessor, selector: "six-checkbox", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2052
+ {
2053
+ provide: NG_VALUE_ACCESSOR,
2054
+ useExisting: CheckboxValueAccessor,
2055
+ multi: true,
2056
+ },
2057
+ ], usesInheritance: true, ngImport: i0 });
2058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxValueAccessor, decorators: [{
2059
+ type: Directive,
2060
+ args: [{
2061
+ selector: 'six-checkbox',
2062
+ providers: [
2063
+ {
2064
+ provide: NG_VALUE_ACCESSOR,
2065
+ useExisting: CheckboxValueAccessor,
2066
+ multi: true,
2067
+ },
2068
+ ],
2069
+ }]
2070
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2071
+ type: HostListener,
2072
+ args: ['change', ['$event.target']]
2073
+ }] } });
2074
+
2075
+ class RangeValueAccessor extends ValueAccessor {
2076
+ constructor(injector, el) {
2077
+ super(injector, el);
2078
+ }
2079
+ handleInputEvent(el) {
2080
+ this.handleValueChange(el, el.value);
2081
+ }
2082
+ registerOnChange(fn) {
2083
+ super.registerOnChange((value) => {
2084
+ fn(value === '' ? null : parseFloat(value));
2085
+ });
2086
+ }
2087
+ }
2088
+ RangeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2089
+ RangeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RangeValueAccessor, selector: "six-range", host: { listeners: { "input": "handleInputEvent($event.target)" } }, providers: [
2090
+ {
2091
+ provide: NG_VALUE_ACCESSOR,
2092
+ useExisting: RangeValueAccessor,
2093
+ multi: true,
2094
+ },
2095
+ ], usesInheritance: true, ngImport: i0 });
2096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RangeValueAccessor, decorators: [{
2097
+ type: Directive,
2098
+ args: [{
2099
+ selector: 'six-range',
2100
+ providers: [
2101
+ {
2102
+ provide: NG_VALUE_ACCESSOR,
2103
+ useExisting: RangeValueAccessor,
2104
+ multi: true,
2105
+ },
2106
+ ],
2107
+ }]
2108
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2109
+ type: HostListener,
2110
+ args: ['input', ['$event.target']]
2111
+ }] } });
2112
+
2113
+ class SwitchValueAccessor extends ValueAccessor {
2114
+ constructor(injector, el) {
2115
+ super(injector, el);
2116
+ }
2117
+ handleChangeEvent(el) {
2118
+ this.handleValueChange(el, el.checked);
2119
+ }
2120
+ writeValue(value) {
2121
+ this.el.nativeElement.checked = value === true;
2122
+ this.updateValidation();
2123
+ }
2124
+ }
2125
+ SwitchValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SwitchValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2126
+ SwitchValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SwitchValueAccessor, selector: "six-switch", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2127
+ {
2128
+ provide: NG_VALUE_ACCESSOR,
2129
+ useExisting: SwitchValueAccessor,
2130
+ multi: true,
2131
+ },
2132
+ ], usesInheritance: true, ngImport: i0 });
2133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SwitchValueAccessor, decorators: [{
2134
+ type: Directive,
2135
+ args: [{
2136
+ selector: 'six-switch',
2137
+ providers: [
2138
+ {
2139
+ provide: NG_VALUE_ACCESSOR,
2140
+ useExisting: SwitchValueAccessor,
2141
+ multi: true,
2142
+ },
2143
+ ],
2144
+ }]
2145
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2146
+ type: HostListener,
2147
+ args: ['change', ['$event.target']]
2148
+ }] } });
2149
+
2150
+ class TimepickerValueAccessor extends ValueAccessor {
2151
+ constructor(injector, el) {
2152
+ super(injector, el);
2153
+ }
2154
+ handleChangeEvent(el) {
2155
+ this.handleValueChange(el, el.value);
2156
+ }
2157
+ }
2158
+ TimepickerValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TimepickerValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2159
+ TimepickerValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TimepickerValueAccessor, selector: "six-timepicker", host: { listeners: { "change": "handleChangeEvent($event.target)" } }, providers: [
2160
+ {
2161
+ provide: NG_VALUE_ACCESSOR,
2162
+ useExisting: TimepickerValueAccessor,
2163
+ multi: true,
2164
+ },
2165
+ ], usesInheritance: true, ngImport: i0 });
2166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TimepickerValueAccessor, decorators: [{
2167
+ type: Directive,
2168
+ args: [{
2169
+ selector: 'six-timepicker',
2170
+ providers: [
2171
+ {
2172
+ provide: NG_VALUE_ACCESSOR,
2173
+ useExisting: TimepickerValueAccessor,
2174
+ multi: true,
2175
+ },
2176
+ ],
2177
+ }]
2178
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleChangeEvent: [{
2179
+ type: HostListener,
2180
+ args: ['change', ['$event.target']]
2181
+ }] } });
2182
+
2183
+ /**
2184
+ * Forked from https://github.com/ionic-team/ionic-framework/blob/main/packages/angular/common/src/directives/navigation/router-link-delegate.ts.
2185
+ */
2186
+ class SixRouterLinkDirective {
2187
+ constructor(locationStrategy, elementRef, router, routerLinkDirective) {
2188
+ this.locationStrategy = locationStrategy;
2189
+ this.elementRef = elementRef;
2190
+ this.router = router;
2191
+ this.routerLinkDirective = routerLinkDirective;
2192
+ }
2193
+ ngOnInit() {
2194
+ this.updateTargetUrlAndHref();
2195
+ }
2196
+ ngOnChanges() {
2197
+ this.updateTargetUrlAndHref();
2198
+ }
2199
+ updateTargetUrlAndHref() {
2200
+ var _a;
2201
+ if ((_a = this.routerLinkDirective) === null || _a === void 0 ? void 0 : _a.urlTree) {
2202
+ this.elementRef.nativeElement.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLinkDirective.urlTree));
2203
+ }
2204
+ }
2205
+ }
2206
+ SixRouterLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixRouterLinkDirective, deps: [{ token: i1$1.LocationStrategy }, { token: i0.ElementRef }, { token: i2.Router }, { token: i2.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2207
+ SixRouterLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SixRouterLinkDirective, selector: "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]", inputs: { routerLink: "routerLink", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", relativeTo: "relativeTo" }, usesOnChanges: true, ngImport: i0 });
2208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SixRouterLinkDirective, decorators: [{
2209
+ type: Directive,
2210
+ args: [{
2211
+ selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]',
2212
+ }]
2213
+ }], ctorParameters: function () {
2214
+ return [{ type: i1$1.LocationStrategy }, { type: i0.ElementRef }, { type: i2.Router }, { type: i2.RouterLink, decorators: [{
2215
+ type: Optional
2216
+ }] }];
2217
+ }, propDecorators: { routerLink: [{
2218
+ type: Input
2219
+ }], queryParams: [{
2220
+ type: Input
2221
+ }], fragment: [{
2222
+ type: Input
2223
+ }], queryParamsHandling: [{
2224
+ type: Input
2225
+ }], relativeTo: [{
2226
+ type: Input
2227
+ }] } });
2228
+
2229
+ class UiLibraryAngularModule {
2230
+ static forRoot(customValidationMessagesService) {
2231
+ return {
2232
+ ngModule: UiLibraryAngularModule,
2233
+ providers: [
2234
+ {
2235
+ provide: APP_INITIALIZER,
2236
+ useFactory: () => () => __awaiter(this, void 0, void 0, function* () { return defineCustomElements(); }),
2237
+ multi: true,
2238
+ },
2239
+ { provide: ValidationMessagesService, useClass: customValidationMessagesService !== null && customValidationMessagesService !== void 0 ? customValidationMessagesService : ValidationMessagesService },
2240
+ ],
2241
+ };
2242
+ }
2243
+ }
2244
+ UiLibraryAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2245
+ UiLibraryAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, declarations: [SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2246
+ // value accessors
2247
+ TextValueAccessor,
2248
+ NumericValueAccessor,
2249
+ RadioValueAccessor,
2250
+ DatepickerValueAccessor,
2251
+ TimepickerValueAccessor,
2252
+ SelectValueAccessor,
2253
+ CheckboxValueAccessor,
2254
+ SwitchValueAccessor,
2255
+ RangeValueAccessor,
2256
+ // validators
2257
+ MinValidator,
2258
+ MaxValidator,
2259
+ MinDateValidator,
2260
+ MaxDateValidator,
2261
+ AllowedDatesValidator,
2262
+ // form helpers
2263
+ SixFormDirective,
2264
+ SixFormUtilDirective,
2265
+ // router link directive
2266
+ SixRouterLinkDirective], exports: [SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2267
+ // value accessors
2268
+ TextValueAccessor,
2269
+ NumericValueAccessor,
2270
+ RadioValueAccessor,
2271
+ DatepickerValueAccessor,
2272
+ TimepickerValueAccessor,
2273
+ SelectValueAccessor,
2274
+ CheckboxValueAccessor,
2275
+ SwitchValueAccessor,
2276
+ RangeValueAccessor,
2277
+ // validators
2278
+ MinValidator,
2279
+ MaxValidator,
2280
+ MinDateValidator,
2281
+ MaxDateValidator,
2282
+ AllowedDatesValidator,
2283
+ // form helpers
2284
+ SixFormDirective,
2285
+ SixFormUtilDirective,
2286
+ // router link directive
2287
+ SixRouterLinkDirective] });
2288
+ UiLibraryAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule });
2289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
2290
+ type: NgModule,
2291
+ args: [{
2292
+ declarations: [
2293
+ // proxies
2294
+ ...DIRECTIVES,
2295
+ // value accessors
2296
+ TextValueAccessor,
2297
+ NumericValueAccessor,
2298
+ RadioValueAccessor,
2299
+ DatepickerValueAccessor,
2300
+ TimepickerValueAccessor,
2301
+ SelectValueAccessor,
2302
+ CheckboxValueAccessor,
2303
+ SwitchValueAccessor,
2304
+ RangeValueAccessor,
2305
+ // validators
2306
+ MinValidator,
2307
+ MaxValidator,
2308
+ MinDateValidator,
2309
+ MaxDateValidator,
2310
+ AllowedDatesValidator,
2311
+ // form helpers
2312
+ SixFormDirective,
2313
+ SixFormUtilDirective,
2314
+ // router link directive
2315
+ SixRouterLinkDirective,
2316
+ ],
2317
+ imports: [],
2318
+ exports: [
2319
+ // proxies
2320
+ ...DIRECTIVES,
2321
+ // value accessors
2322
+ TextValueAccessor,
2323
+ NumericValueAccessor,
2324
+ RadioValueAccessor,
2325
+ DatepickerValueAccessor,
2326
+ TimepickerValueAccessor,
2327
+ SelectValueAccessor,
2328
+ CheckboxValueAccessor,
2329
+ SwitchValueAccessor,
2330
+ RangeValueAccessor,
2331
+ // validators
2332
+ MinValidator,
2333
+ MaxValidator,
2334
+ MinDateValidator,
2335
+ MaxDateValidator,
2336
+ AllowedDatesValidator,
2337
+ // form helpers
2338
+ SixFormDirective,
2339
+ SixFormUtilDirective,
2340
+ // router link directive
2341
+ SixRouterLinkDirective,
2342
+ ],
2343
+ }]
1457
2344
  }] });
1458
2345
 
1459
2346
  /*
@@ -1464,5 +2351,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1464
2351
  * Generated bundle index. Do not edit.
1465
2352
  */
1466
2353
 
1467
- export { DIRECTIVES, SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixForm, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip, UiLibraryAngularModule };
2354
+ export { AllowedDatesValidator, CheckboxValueAccessor, DIRECTIVES, DatepickerValueAccessor, MaxDateValidator, MaxValidator, MinDateValidator, MinValidator, NumericValueAccessor, RadioValueAccessor, RangeValueAccessor, SelectValueAccessor, SetAttributes, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixFormDirective, SixFormUtilDirective, SixGroupLabel, SixHeader, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixRouterLinkDirective, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip, SixUiLibraryValidators, SwitchValueAccessor, TextValueAccessor, TimepickerValueAccessor, UiLibraryAngularModule, ValidationMessagesService, ValueAccessor };
1468
2355
  //# sourceMappingURL=six-group-ui-library-angular.mjs.map