@six-group/ui-library-angular 0.0.0-insider.8db54cb → 0.0.0-insider.8e861a9

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.
@@ -1,13 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Injectable, inject, Directive, HostListener, Input, EventEmitter, Output, Optional, APP_INITIALIZER, NgModule, NgZone } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Injectable, InjectionToken, inject, Directive, HostListener, Input, EventEmitter, Output, Optional, HostBinding, ContentChildren, APP_INITIALIZER, NgModule, NgZone } from '@angular/core';
3
3
  import { __decorate } from 'tslib';
4
4
  import { fromEvent } from 'rxjs';
5
5
  import { defineCustomElements } from '@six-group/ui-library/loader';
6
6
  import * as i1 from '@angular/forms';
7
- import { NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS, Validators } from '@angular/forms';
7
+ import { Validators, NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VALIDATORS } from '@angular/forms';
8
8
  import { getErrorMessage, getLanguage, showAlert } from '@six-group/ui-library';
9
9
  import * as i1$1 from '@angular/common';
10
10
  import * as i2 from '@angular/router';
11
+ import { RouterLinkActive } from '@angular/router';
11
12
 
12
13
  /* eslint-disable */
13
14
  /* tslint:disable */
@@ -215,6 +216,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
215
216
  inputs: ['checked', 'disabled', 'errorText', 'errorTextCount', 'indeterminate', 'invalid', 'label', 'name', 'required', 'value'],
216
217
  }]
217
218
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
219
+ let SixDate = class SixDate {
220
+ constructor(c, r, z) {
221
+ this.z = z;
222
+ c.detach();
223
+ this.el = r.nativeElement;
224
+ proxyOutputs(this, this.el, ['six-change', 'six-blur']);
225
+ }
226
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDate, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
227
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixDate, selector: "six-date", inputs: { allowedDates: "allowedDates", clearable: "clearable", dateFormat: "dateFormat", disabled: "disabled", errorText: "errorText", errorTextCount: "errorTextCount", helpText: "helpText", invalid: "invalid", label: "label", language: "language", max: "max", min: "min", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
228
+ };
229
+ SixDate = __decorate([
230
+ ProxyCmp({
231
+ inputs: ['allowedDates', 'clearable', 'dateFormat', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'language', 'max', 'min', 'name', 'placeholder', 'readonly', 'required', 'size', 'value'],
232
+ methods: ['setFocus']
233
+ })
234
+ ], SixDate);
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDate, decorators: [{
236
+ type: Component,
237
+ args: [{
238
+ selector: 'six-date',
239
+ changeDetection: ChangeDetectionStrategy.OnPush,
240
+ template: '<ng-content></ng-content>',
241
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
242
+ inputs: ['allowedDates', 'clearable', 'dateFormat', 'disabled', 'errorText', 'errorTextCount', 'helpText', 'invalid', 'label', 'language', 'max', 'min', 'name', 'placeholder', 'readonly', 'required', 'size', 'value'],
243
+ }]
244
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
218
245
  let SixDatepicker = class SixDatepicker {
219
246
  constructor(c, r, z) {
220
247
  this.z = z;
@@ -332,7 +359,7 @@ let SixDropdown = class SixDropdown {
332
359
  SixDropdown = __decorate([
333
360
  ProxyCmp({
334
361
  inputs: ['asyncFilter', 'autofocusFilter', 'closeOnSelect', 'containingElement', 'disableHideOnEnterAndSpace', 'distance', 'filter', 'filterDebounce', 'filterPlaceholder', 'hoist', 'matchTriggerWidth', 'open', 'options', 'placement', 'skidding', 'virtualScroll'],
335
- methods: ['show', 'hide', 'reposition']
362
+ methods: ['show', 'hide']
336
363
  })
337
364
  ], SixDropdown);
338
365
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixDropdown, decorators: [{
@@ -514,15 +541,13 @@ let SixHeader = class SixHeader {
514
541
  this.z = z;
515
542
  c.detach();
516
543
  this.el = r.nativeElement;
517
- proxyOutputs(this, this.el, ['six-header-app-name-clicked', 'six-header-app-switcher-select', 'six-header-profile-select', 'six-header-hamburger-menu-clicked', 'six-header-logo-clicked', 'six-header-search-field-toggle']);
518
544
  }
519
545
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
520
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeader, selector: "six-header", inputs: { clickableLogo: "clickableLogo", hideHamburgerMenu: "hideHamburgerMenu", logo: "logo", openHamburgerMenu: "openHamburgerMenu", openSearch: "openSearch", shiftContent: "shiftContent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
546
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeader, selector: "six-header", inputs: { openSearch: "openSearch", shiftContent: "shiftContent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
521
547
  };
522
548
  SixHeader = __decorate([
523
549
  ProxyCmp({
524
- inputs: ['clickableLogo', 'hideHamburgerMenu', 'logo', 'openHamburgerMenu', 'openSearch', 'shiftContent'],
525
- methods: ['setSearchOpenState', 'getIsSearchOpen']
550
+ inputs: ['openSearch', 'shiftContent']
526
551
  })
527
552
  ], SixHeader);
528
553
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeader, decorators: [{
@@ -532,7 +557,79 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
532
557
  changeDetection: ChangeDetectionStrategy.OnPush,
533
558
  template: '<ng-content></ng-content>',
534
559
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
535
- inputs: ['clickableLogo', 'hideHamburgerMenu', 'logo', 'openHamburgerMenu', 'openSearch', 'shiftContent'],
560
+ inputs: ['openSearch', 'shiftContent'],
561
+ }]
562
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
563
+ let SixHeaderDropdownItem = class SixHeaderDropdownItem {
564
+ constructor(c, r, z) {
565
+ this.z = z;
566
+ c.detach();
567
+ this.el = r.nativeElement;
568
+ }
569
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderDropdownItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
570
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeaderDropdownItem, selector: "six-header-dropdown-item", inputs: { filter: "filter", filterPlaceholder: "filterPlaceholder" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
571
+ };
572
+ SixHeaderDropdownItem = __decorate([
573
+ ProxyCmp({
574
+ inputs: ['filter', 'filterPlaceholder']
575
+ })
576
+ ], SixHeaderDropdownItem);
577
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderDropdownItem, decorators: [{
578
+ type: Component,
579
+ args: [{
580
+ selector: 'six-header-dropdown-item',
581
+ changeDetection: ChangeDetectionStrategy.OnPush,
582
+ template: '<ng-content></ng-content>',
583
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
584
+ inputs: ['filter', 'filterPlaceholder'],
585
+ }]
586
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
587
+ let SixHeaderItem = class SixHeaderItem {
588
+ constructor(c, r, z) {
589
+ this.z = z;
590
+ c.detach();
591
+ this.el = r.nativeElement;
592
+ }
593
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
594
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeaderItem, selector: "six-header-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
595
+ };
596
+ SixHeaderItem = __decorate([
597
+ ProxyCmp({
598
+ inputs: ['active']
599
+ })
600
+ ], SixHeaderItem);
601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderItem, decorators: [{
602
+ type: Component,
603
+ args: [{
604
+ selector: 'six-header-item',
605
+ changeDetection: ChangeDetectionStrategy.OnPush,
606
+ template: '<ng-content></ng-content>',
607
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
608
+ inputs: ['active'],
609
+ }]
610
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
611
+ let SixHeaderMenuButton = class SixHeaderMenuButton {
612
+ constructor(c, r, z) {
613
+ this.z = z;
614
+ c.detach();
615
+ this.el = r.nativeElement;
616
+ }
617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderMenuButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
618
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixHeaderMenuButton, 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 }); }
619
+ };
620
+ SixHeaderMenuButton = __decorate([
621
+ ProxyCmp({
622
+ inputs: ['caret', 'disabled', 'loading', 'reset', 'submit']
623
+ })
624
+ ], SixHeaderMenuButton);
625
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixHeaderMenuButton, decorators: [{
626
+ type: Component,
627
+ args: [{
628
+ selector: 'six-header-menu-button',
629
+ changeDetection: ChangeDetectionStrategy.OnPush,
630
+ template: '<ng-content></ng-content>',
631
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
632
+ inputs: ['caret', 'disabled', 'loading', 'reset', 'submit'],
536
633
  }]
537
634
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
538
635
  let SixIcon = class SixIcon {
@@ -566,11 +663,11 @@ let SixIconButton = class SixIconButton {
566
663
  this.el = r.nativeElement;
567
664
  }
568
665
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
569
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixIconButton, selector: "six-icon-button", inputs: { disabled: "disabled", html: "html", label: "label", name: "name", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
666
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixIconButton, selector: "six-icon-button", inputs: { disabled: "disabled", download: "download", href: "href", html: "html", label: "label", name: "name", size: "size", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
570
667
  };
571
668
  SixIconButton = __decorate([
572
669
  ProxyCmp({
573
- inputs: ['disabled', 'html', 'label', 'name', 'size']
670
+ inputs: ['disabled', 'download', 'href', 'html', 'label', 'name', 'size', 'target']
574
671
  })
575
672
  ], SixIconButton);
576
673
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixIconButton, decorators: [{
@@ -580,7 +677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
580
677
  changeDetection: ChangeDetectionStrategy.OnPush,
581
678
  template: '<ng-content></ng-content>',
582
679
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
583
- inputs: ['disabled', 'html', 'label', 'name', 'size'],
680
+ inputs: ['disabled', 'download', 'href', 'html', 'label', 'name', 'size', 'target'],
584
681
  }]
585
682
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
586
683
  let SixInput = class SixInput {
@@ -596,7 +693,7 @@ let SixInput = class SixInput {
596
693
  SixInput = __decorate([
597
694
  ProxyCmp({
598
695
  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'],
599
- methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'setRangeText']
696
+ methods: ['setFocus', 'removeFocus', 'select', 'setSelectionRange', 'getSelectionRange', 'setRangeText']
600
697
  })
601
698
  ], SixInput);
602
699
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixInput, decorators: [{
@@ -683,6 +780,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
683
780
  inputs: ['columns'],
684
781
  }]
685
782
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
783
+ let SixLogo = class SixLogo {
784
+ constructor(c, r, z) {
785
+ this.z = z;
786
+ c.detach();
787
+ this.el = r.nativeElement;
788
+ }
789
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLogo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
790
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixLogo, selector: "six-logo", inputs: { brand: "brand" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
791
+ };
792
+ SixLogo = __decorate([
793
+ ProxyCmp({
794
+ inputs: ['brand']
795
+ })
796
+ ], SixLogo);
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixLogo, decorators: [{
798
+ type: Component,
799
+ args: [{
800
+ selector: 'six-logo',
801
+ changeDetection: ChangeDetectionStrategy.OnPush,
802
+ template: '<ng-content></ng-content>',
803
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
804
+ inputs: ['brand'],
805
+ }]
806
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
686
807
  let SixMainContainer = class SixMainContainer {
687
808
  constructor(c, r, z) {
688
809
  this.z = z;
@@ -983,11 +1104,11 @@ let SixSelect = class SixSelect {
983
1104
  proxyOutputs(this, this.el, ['six-select-change', 'six-select-focus', 'six-select-blur']);
984
1105
  }
985
1106
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
986
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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", selectAllButton: "selectAllButton", selectAllText: "selectAllText", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1107
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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", multiple: "multiple", name: "name", options: "options", pill: "pill", placeholder: "placeholder", required: "required", selectAllButton: "selectAllButton", selectAllText: "selectAllText", size: "size", value: "value", virtualScroll: "virtualScroll" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
987
1108
  };
988
1109
  SixSelect = __decorate([
989
1110
  ProxyCmp({
990
- inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
1111
+ 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'],
991
1112
  methods: ['setFocus']
992
1113
  })
993
1114
  ], SixSelect);
@@ -998,7 +1119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
998
1119
  changeDetection: ChangeDetectionStrategy.OnPush,
999
1120
  template: '<ng-content></ng-content>',
1000
1121
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1001
- inputs: ['asyncFilter', 'autocomplete', 'clearable', 'disabled', 'errorText', 'errorTextCount', 'filter', 'filterDebounce', 'filterPlaceholder', 'helpText', 'hoist', 'inputDebounce', 'invalid', 'label', 'line', 'maxTagsVisible', 'multiple', 'name', 'options', 'pill', 'placeholder', 'required', 'selectAllButton', 'selectAllText', 'size', 'value', 'virtualScroll'],
1122
+ 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'],
1002
1123
  }]
1003
1124
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1004
1125
  let SixSidebar = class SixSidebar {
@@ -1034,11 +1155,11 @@ let SixSidebarItem = class SixSidebarItem {
1034
1155
  this.el = r.nativeElement;
1035
1156
  }
1036
1157
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1037
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", 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 }); }
1158
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSidebarItem, 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 }); }
1038
1159
  };
1039
1160
  SixSidebarItem = __decorate([
1040
1161
  ProxyCmp({
1041
- inputs: ['disabled', 'href', 'selected', 'value']
1162
+ inputs: ['disabled', 'href', 'icon', 'selected', 'value']
1042
1163
  })
1043
1164
  ], SixSidebarItem);
1044
1165
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSidebarItem, decorators: [{
@@ -1048,7 +1169,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1048
1169
  changeDetection: ChangeDetectionStrategy.OnPush,
1049
1170
  template: '<ng-content></ng-content>',
1050
1171
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1051
- inputs: ['disabled', 'href', 'selected', 'value'],
1172
+ inputs: ['disabled', 'href', 'icon', 'selected', 'value'],
1052
1173
  }]
1053
1174
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1054
1175
  let SixSidebarItemGroup = class SixSidebarItemGroup {
@@ -1082,11 +1203,11 @@ let SixSpinner = class SixSpinner {
1082
1203
  this.el = r.nativeElement;
1083
1204
  }
1084
1205
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1085
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSpinner, selector: "six-spinner", inputs: { six: "six" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1206
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixSpinner, selector: "six-spinner", inputs: { logo: "logo", six: "six" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1086
1207
  };
1087
1208
  SixSpinner = __decorate([
1088
1209
  ProxyCmp({
1089
- inputs: ['six']
1210
+ inputs: ['logo', 'six']
1090
1211
  })
1091
1212
  ], SixSpinner);
1092
1213
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixSpinner, decorators: [{
@@ -1096,7 +1217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1096
1217
  changeDetection: ChangeDetectionStrategy.OnPush,
1097
1218
  template: '<ng-content></ng-content>',
1098
1219
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1099
- inputs: ['six'],
1220
+ inputs: ['logo', 'six'],
1100
1221
  }]
1101
1222
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1102
1223
  let SixStageIndicator = class SixStageIndicator {
@@ -1362,6 +1483,7 @@ const DIRECTIVES = [
1362
1483
  SixButton,
1363
1484
  SixCard,
1364
1485
  SixCheckbox,
1486
+ SixDate,
1365
1487
  SixDatepicker,
1366
1488
  SixDetails,
1367
1489
  SixDialog,
@@ -1375,12 +1497,16 @@ const DIRECTIVES = [
1375
1497
  SixFooter,
1376
1498
  SixGroupLabel,
1377
1499
  SixHeader,
1500
+ SixHeaderDropdownItem,
1501
+ SixHeaderItem,
1502
+ SixHeaderMenuButton,
1378
1503
  SixIcon,
1379
1504
  SixIconButton,
1380
1505
  SixInput,
1381
1506
  SixItemPicker,
1382
1507
  SixLanguageSwitcher,
1383
1508
  SixLayoutGrid,
1509
+ SixLogo,
1384
1510
  SixMainContainer,
1385
1511
  SixMenu,
1386
1512
  SixMenuDivider,
@@ -1422,11 +1548,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1422
1548
  args: [{ providedIn: 'root' }]
1423
1549
  }] });
1424
1550
 
1551
+ const DEFAULT_UI_LIBRARY_CONFIG = {
1552
+ showAsteriskOnRequiredValidator: false,
1553
+ };
1554
+ const UI_LIBRARY_CONFIG = new InjectionToken('UiLibraryConfig');
1555
+
1425
1556
  class ValueAccessor {
1426
1557
  constructor(injector, el) {
1427
1558
  this.injector = injector;
1428
1559
  this.el = el;
1429
1560
  this.validationMessagesService = inject(ValidationMessagesService);
1561
+ this.config = inject(UI_LIBRARY_CONFIG);
1430
1562
  this.onChange = () => { };
1431
1563
  this.onTouched = () => { };
1432
1564
  }
@@ -1478,6 +1610,10 @@ class ValueAccessor {
1478
1610
  }
1479
1611
  element.invalid = invalid;
1480
1612
  element.errorText = errorTexts ?? '';
1613
+ // When the module is configured to do so, display an asterisk next to any form control that has a required validator
1614
+ if (this.config.showAsteriskOnRequiredValidator && this.ngControl.control.hasValidator(Validators.required)) {
1615
+ element.required = true;
1616
+ }
1481
1617
  });
1482
1618
  }
1483
1619
  setDisabledState(isDisabled) {
@@ -1872,6 +2008,30 @@ class SixUiLibraryValidators {
1872
2008
  return allowed ? null : { invaliddate: { actual: control.value } };
1873
2009
  };
1874
2010
  }
2011
+ static minDateIso(mindate) {
2012
+ return (control) => {
2013
+ if (control.value == null || control.value === '')
2014
+ return null;
2015
+ const actualDate = control.value;
2016
+ return actualDate >= mindate ? null : { mindate: { mindate, actual: actualDate } };
2017
+ };
2018
+ }
2019
+ static maxDateIso(maxdate) {
2020
+ return (control) => {
2021
+ if (control.value == null || control.value === '')
2022
+ return null;
2023
+ const actualDate = control.value;
2024
+ return actualDate <= maxdate ? null : { maxdate: { maxdate, actual: actualDate } };
2025
+ };
2026
+ }
2027
+ static allowedDatesIso(allowedDates = () => true) {
2028
+ return (control) => {
2029
+ if (control.value == null || control.value === '')
2030
+ return null;
2031
+ const allowed = allowedDates(control.value);
2032
+ return allowed ? null : { invaliddate: { actual: control.value } };
2033
+ };
2034
+ }
1875
2035
  }
1876
2036
  class MinDateValidator {
1877
2037
  validate(control) {
@@ -1930,6 +2090,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1930
2090
  }], propDecorators: { allowedDates: [{
1931
2091
  type: Input
1932
2092
  }] } });
2093
+ class MinDateValidatorIso {
2094
+ validate(control) {
2095
+ if (this.min != null) {
2096
+ return SixUiLibraryValidators.minDateIso(this.min)(control);
2097
+ }
2098
+ return null;
2099
+ }
2100
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2101
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MinDateValidatorIso, selector: "six-date[min]", inputs: { min: "min" }, providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidatorIso, multi: true }], ngImport: i0 }); }
2102
+ }
2103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidatorIso, decorators: [{
2104
+ type: Directive,
2105
+ args: [{
2106
+ selector: 'six-date[min]',
2107
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidatorIso, multi: true }],
2108
+ }]
2109
+ }], propDecorators: { min: [{
2110
+ type: Input
2111
+ }] } });
2112
+ class MaxDateValidatorIso {
2113
+ validate(control) {
2114
+ if (this.max != null) {
2115
+ return SixUiLibraryValidators.maxDateIso(this.max)(control);
2116
+ }
2117
+ return null;
2118
+ }
2119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2120
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MaxDateValidatorIso, selector: "six-date[max]", inputs: { max: "max" }, providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidatorIso, multi: true }], ngImport: i0 }); }
2121
+ }
2122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidatorIso, decorators: [{
2123
+ type: Directive,
2124
+ args: [{
2125
+ selector: 'six-date[max]',
2126
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidatorIso, multi: true }],
2127
+ }]
2128
+ }], propDecorators: { max: [{
2129
+ type: Input
2130
+ }] } });
2131
+ class AllowedDatesValidatorIso {
2132
+ constructor() {
2133
+ this.allowedDates = () => true;
2134
+ }
2135
+ validate(control) {
2136
+ return SixUiLibraryValidators.allowedDatesIso(this.allowedDates)(control);
2137
+ }
2138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2139
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AllowedDatesValidatorIso, selector: "six-date[allowedDates]", inputs: { allowedDates: "allowedDates" }, providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidatorIso, multi: true }], ngImport: i0 }); }
2140
+ }
2141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidatorIso, decorators: [{
2142
+ type: Directive,
2143
+ args: [{
2144
+ selector: 'six-date[allowedDates]',
2145
+ providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidatorIso, multi: true }],
2146
+ }]
2147
+ }], propDecorators: { allowedDates: [{
2148
+ type: Input
2149
+ }] } });
1933
2150
  class MinValidator {
1934
2151
  validate(control) {
1935
2152
  return Validators.min(toFloat(this.min))(control);
@@ -2169,15 +2386,20 @@ class SixRouterLinkDirective {
2169
2386
  if (this.routerLinkDirective?.urlTree) {
2170
2387
  const url = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLinkDirective.urlTree));
2171
2388
  this.renderer.setAttribute(this.elementRef.nativeElement, 'href', url);
2389
+ // Remove the `tabindex` attribute to prevent redundant focus behavior.
2390
+ // Angular's RouterLink adds `tabindex="0"` to non-focusable elements (e.g., `<div>`),
2391
+ // but custom components like `six-button` already handle focusability.
2392
+ // Keeping the tabindex would cause the element to receive focus twice.
2393
+ this.renderer.removeAttribute(this.elementRef.nativeElement, 'tabindex');
2172
2394
  }
2173
2395
  }
2174
2396
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 }); }
2175
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", 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" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
2397
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SixRouterLinkDirective, 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 }); }
2176
2398
  }
2177
2399
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRouterLinkDirective, decorators: [{
2178
2400
  type: Directive,
2179
2401
  args: [{
2180
- selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]',
2402
+ selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink],six-icon-button[routerLink]',
2181
2403
  }]
2182
2404
  }], ctorParameters: function () { return [{ type: i1$1.LocationStrategy }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.Renderer2 }, { type: i2.RouterLink, decorators: [{
2183
2405
  type: Optional
@@ -2196,8 +2418,154 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2196
2418
  type: Input
2197
2419
  }] } });
2198
2420
 
2421
+ /**
2422
+ * Enables Angular router integration for the six-sidebar component.
2423
+ *
2424
+ * When this directive is added to a six-sidebar component using the 'sixRouterLinkActive' attribute,
2425
+ * it activates automatic route-based selection for sidebar items and groups.
2426
+ *
2427
+ * @recommended Add this directive to enable automatic route-based navigation in sidebars.
2428
+ *
2429
+ * @example
2430
+ * ```html
2431
+ * <six-sidebar sixRouterLinkActive>
2432
+ * <six-sidebar-item routerLink="/home">Home</six-sidebar-item>
2433
+ * <six-sidebar-item-group>
2434
+ * <six-sidebar-item routerLink="/settings/profile">Profile</six-sidebar-item>
2435
+ * </six-sidebar-item-group>
2436
+ * </six-sidebar>
2437
+ * ```
2438
+ */
2439
+ class ActiveSidebarDirective {
2440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2441
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActiveSidebarDirective, selector: "six-sidebar[sixRouterLinkActive]", ngImport: i0 }); }
2442
+ }
2443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarDirective, decorators: [{
2444
+ type: Directive,
2445
+ args: [{
2446
+ selector: 'six-sidebar[sixRouterLinkActive]',
2447
+ }]
2448
+ }] });
2449
+ /**
2450
+ * Enhances six-sidebar-item with Angular router integration.
2451
+ *
2452
+ * This directive automatically manages the 'selected' state of sidebar items based on the current route.
2453
+ * When used with ActiveSidebarDirective, it switches from manual selection to route-based selection.
2454
+ *
2455
+ * @requires RouterLinkActive
2456
+ * @optional ActiveSidebarDirective - If present, enables route-based selection
2457
+ */
2458
+ class ActiveSidebarItemDirective {
2459
+ constructor() {
2460
+ this.routerLinkActive = inject(RouterLinkActive);
2461
+ this.sidebarItem = inject(SixSidebarItem);
2462
+ this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
2463
+ }
2464
+ get selected() {
2465
+ if (this.activeSidebarDirective == null) {
2466
+ return this.sidebarItem.selected;
2467
+ }
2468
+ else {
2469
+ return this.routerLinkActive.isActive;
2470
+ }
2471
+ }
2472
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2473
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActiveSidebarItemDirective, selector: "six-sidebar-item", host: { properties: { "selected": "this.selected" } }, hostDirectives: [{ directive: i2.RouterLinkActive }], ngImport: i0 }); }
2474
+ }
2475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemDirective, decorators: [{
2476
+ type: Directive,
2477
+ args: [{
2478
+ selector: 'six-sidebar-item',
2479
+ hostDirectives: [RouterLinkActive],
2480
+ }]
2481
+ }], propDecorators: { selected: [{
2482
+ type: HostBinding,
2483
+ args: ['selected']
2484
+ }] } });
2485
+ /**
2486
+ * Enhances six-sidebar-item-group with Angular router integration.
2487
+ *
2488
+ * This directive automatically manages the 'open' state of sidebar groups based on the active route.
2489
+ * When a child route is active, the group automatically expands to show the active item.
2490
+ *
2491
+ * @requires RouterLinkActive
2492
+ * @optional ActiveSidebarDirective - If present, enables route-based expansion
2493
+ */
2494
+ class ActiveSidebarItemGroupDirective {
2495
+ constructor() {
2496
+ this.routerLinkActive = inject(RouterLinkActive);
2497
+ this.sidebarItemGroup = inject(SixSidebarItemGroup);
2498
+ this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
2499
+ }
2500
+ get open() {
2501
+ if (this.activeSidebarDirective == null) {
2502
+ return this.sidebarItemGroup.open;
2503
+ }
2504
+ if (this.sidebarItems?.length > 0) {
2505
+ return this.routerLinkActive.isActive ? true : this.sidebarItemGroup.open;
2506
+ }
2507
+ return this.routerLinkActive.isActive;
2508
+ }
2509
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2510
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActiveSidebarItemGroupDirective, selector: "six-sidebar-item-group", host: { properties: { "open": "this.open" } }, queries: [{ propertyName: "sidebarItems", predicate: SixSidebarItem }], hostDirectives: [{ directive: i2.RouterLinkActive }], ngImport: i0 }); }
2511
+ }
2512
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemGroupDirective, decorators: [{
2513
+ type: Directive,
2514
+ args: [{
2515
+ selector: 'six-sidebar-item-group',
2516
+ hostDirectives: [RouterLinkActive],
2517
+ }]
2518
+ }], propDecorators: { sidebarItems: [{
2519
+ type: ContentChildren,
2520
+ args: [SixSidebarItem]
2521
+ }], open: [{
2522
+ type: HostBinding,
2523
+ args: ['open']
2524
+ }] } });
2525
+
2526
+ class DateValueAccessor extends ValueAccessor {
2527
+ constructor(injector, el) {
2528
+ super(injector, el);
2529
+ }
2530
+ handleInputEvent(el) {
2531
+ this.handleValueChange(el, el.value);
2532
+ }
2533
+ writeValue(value) {
2534
+ this.el.nativeElement.value = value == null ? '' : value;
2535
+ this.updateValidation();
2536
+ }
2537
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2538
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateValueAccessor, selector: "six-date", host: { listeners: { "change": "handleInputEvent($event.target)" } }, providers: [
2539
+ {
2540
+ provide: NG_VALUE_ACCESSOR,
2541
+ useExisting: DateValueAccessor,
2542
+ multi: true,
2543
+ },
2544
+ ], usesInheritance: true, ngImport: i0 }); }
2545
+ }
2546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateValueAccessor, decorators: [{
2547
+ type: Directive,
2548
+ args: [{
2549
+ selector: 'six-date',
2550
+ providers: [
2551
+ {
2552
+ provide: NG_VALUE_ACCESSOR,
2553
+ useExisting: DateValueAccessor,
2554
+ multi: true,
2555
+ },
2556
+ ],
2557
+ }]
2558
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2559
+ type: HostListener,
2560
+ args: ['change', ['$event.target']]
2561
+ }] } });
2562
+
2199
2563
  class UiLibraryAngularModule {
2200
- static forRoot(customValidationMessagesService) {
2564
+ static forRoot(customValidationMessagesService, config) {
2565
+ const mergedConfig = {
2566
+ ...DEFAULT_UI_LIBRARY_CONFIG,
2567
+ ...config,
2568
+ };
2201
2569
  return {
2202
2570
  ngModule: UiLibraryAngularModule,
2203
2571
  providers: [
@@ -2207,16 +2575,18 @@ class UiLibraryAngularModule {
2207
2575
  multi: true,
2208
2576
  },
2209
2577
  { provide: ValidationMessagesService, useClass: customValidationMessagesService ?? ValidationMessagesService },
2578
+ { provide: UI_LIBRARY_CONFIG, useValue: mergedConfig },
2210
2579
  ],
2211
2580
  };
2212
2581
  }
2213
2582
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2214
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, declarations: [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,
2583
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, declarations: [SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2215
2584
  // value accessors
2216
2585
  TextValueAccessor,
2217
2586
  NumericValueAccessor,
2218
2587
  RadioValueAccessor,
2219
2588
  DatepickerValueAccessor,
2589
+ DateValueAccessor,
2220
2590
  TimepickerValueAccessor,
2221
2591
  SelectValueAccessor,
2222
2592
  CheckboxValueAccessor,
@@ -2228,16 +2598,24 @@ class UiLibraryAngularModule {
2228
2598
  MinDateValidator,
2229
2599
  MaxDateValidator,
2230
2600
  AllowedDatesValidator,
2601
+ MinDateValidatorIso,
2602
+ MaxDateValidatorIso,
2603
+ AllowedDatesValidatorIso,
2231
2604
  // form helpers
2232
2605
  SixFormDirective,
2233
2606
  SixFormUtilDirective,
2234
2607
  // router link directive
2235
- SixRouterLinkDirective], exports: [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,
2608
+ SixRouterLinkDirective,
2609
+ // sidebar helpers
2610
+ ActiveSidebarItemDirective,
2611
+ ActiveSidebarItemGroupDirective,
2612
+ ActiveSidebarDirective], exports: [SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, SixRoot, SixSearchField, SixSelect, SixSidebar, SixSidebarItem, SixSidebarItemGroup, SixSpinner, SixStageIndicator, SixSwitch, SixTab, SixTabGroup, SixTabPanel, SixTag, SixTextarea, SixTile, SixTimepicker, SixTooltip,
2236
2613
  // value accessors
2237
2614
  TextValueAccessor,
2238
2615
  NumericValueAccessor,
2239
2616
  RadioValueAccessor,
2240
2617
  DatepickerValueAccessor,
2618
+ DateValueAccessor,
2241
2619
  TimepickerValueAccessor,
2242
2620
  SelectValueAccessor,
2243
2621
  CheckboxValueAccessor,
@@ -2249,11 +2627,18 @@ class UiLibraryAngularModule {
2249
2627
  MinDateValidator,
2250
2628
  MaxDateValidator,
2251
2629
  AllowedDatesValidator,
2630
+ MinDateValidatorIso,
2631
+ MaxDateValidatorIso,
2632
+ AllowedDatesValidatorIso,
2252
2633
  // form helpers
2253
2634
  SixFormDirective,
2254
2635
  SixFormUtilDirective,
2255
2636
  // router link directive
2256
- SixRouterLinkDirective] }); }
2637
+ SixRouterLinkDirective,
2638
+ // sidebar helpers
2639
+ ActiveSidebarItemDirective,
2640
+ ActiveSidebarItemGroupDirective,
2641
+ ActiveSidebarDirective] }); }
2257
2642
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule }); }
2258
2643
  }
2259
2644
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
@@ -2267,6 +2652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2267
2652
  NumericValueAccessor,
2268
2653
  RadioValueAccessor,
2269
2654
  DatepickerValueAccessor,
2655
+ DateValueAccessor,
2270
2656
  TimepickerValueAccessor,
2271
2657
  SelectValueAccessor,
2272
2658
  CheckboxValueAccessor,
@@ -2278,11 +2664,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2278
2664
  MinDateValidator,
2279
2665
  MaxDateValidator,
2280
2666
  AllowedDatesValidator,
2667
+ MinDateValidatorIso,
2668
+ MaxDateValidatorIso,
2669
+ AllowedDatesValidatorIso,
2281
2670
  // form helpers
2282
2671
  SixFormDirective,
2283
2672
  SixFormUtilDirective,
2284
2673
  // router link directive
2285
2674
  SixRouterLinkDirective,
2675
+ // sidebar helpers
2676
+ ActiveSidebarItemDirective,
2677
+ ActiveSidebarItemGroupDirective,
2678
+ ActiveSidebarDirective,
2286
2679
  ],
2287
2680
  imports: [],
2288
2681
  exports: [
@@ -2293,6 +2686,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2293
2686
  NumericValueAccessor,
2294
2687
  RadioValueAccessor,
2295
2688
  DatepickerValueAccessor,
2689
+ DateValueAccessor,
2296
2690
  TimepickerValueAccessor,
2297
2691
  SelectValueAccessor,
2298
2692
  CheckboxValueAccessor,
@@ -2304,11 +2698,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2304
2698
  MinDateValidator,
2305
2699
  MaxDateValidator,
2306
2700
  AllowedDatesValidator,
2701
+ MinDateValidatorIso,
2702
+ MaxDateValidatorIso,
2703
+ AllowedDatesValidatorIso,
2307
2704
  // form helpers
2308
2705
  SixFormDirective,
2309
2706
  SixFormUtilDirective,
2310
2707
  // router link directive
2311
2708
  SixRouterLinkDirective,
2709
+ // sidebar helpers
2710
+ ActiveSidebarItemDirective,
2711
+ ActiveSidebarItemGroupDirective,
2712
+ ActiveSidebarDirective,
2312
2713
  ],
2313
2714
  }]
2314
2715
  }] });
@@ -2339,5 +2740,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2339
2740
  * Generated bundle index. Do not edit.
2340
2741
  */
2341
2742
 
2342
- export { AlertService, AllowedDatesValidator, CheckboxValueAccessor, DIRECTIVES, DatepickerValueAccessor, MaxDateValidator, MaxValidator, MinDateValidator, MinValidator, NumericValueAccessor, RadioValueAccessor, RangeValueAccessor, SelectValueAccessor, 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 };
2743
+ export { ActiveSidebarDirective, ActiveSidebarItemDirective, ActiveSidebarItemGroupDirective, AlertService, AllowedDatesValidator, AllowedDatesValidatorIso, CheckboxValueAccessor, DIRECTIVES, DateValueAccessor, DatepickerValueAccessor, MaxDateValidator, MaxDateValidatorIso, MaxValidator, MinDateValidator, MinDateValidatorIso, MinValidator, NumericValueAccessor, RadioValueAccessor, RangeValueAccessor, SelectValueAccessor, SixAlert, SixAvatar, SixBadge, SixButton, SixCard, SixCheckbox, SixDate, SixDatepicker, SixDetails, SixDialog, SixDrawer, SixDropdown, SixError, SixErrorPage, SixFileList, SixFileListItem, SixFileUpload, SixFooter, SixFormDirective, SixFormUtilDirective, SixGroupLabel, SixHeader, SixHeaderDropdownItem, SixHeaderItem, SixHeaderMenuButton, SixIcon, SixIconButton, SixInput, SixItemPicker, SixLanguageSwitcher, SixLayoutGrid, SixLogo, SixMainContainer, SixMenu, SixMenuDivider, SixMenuItem, SixMenuLabel, SixPicto, SixProgressBar, SixProgressRing, SixRadio, SixRange, 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 };
2343
2744
  //# sourceMappingURL=six-group-ui-library-angular.mjs.map