@six-group/ui-library-angular 0.0.0-insider.d833923 → 0.0.0-insider.d89f9dc

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,5 +1,5 @@
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, 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';
@@ -8,6 +8,7 @@ import { NgControl, NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray, NG_VAL
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", debounce: "debounce", 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', 'debounce', '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', 'debounce', '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: [{
@@ -446,11 +473,11 @@ let SixFileUpload = class SixFileUpload {
446
473
  proxyOutputs(this, this.el, ['six-file-upload-success', 'six-file-upload-failure']);
447
474
  }
448
475
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
449
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileUpload, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", label: "label", maxFileSize: "maxFileSize", multiple: "multiple" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
476
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileUpload, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", errorText: "errorText", invalid: "invalid", label: "label", maxFileSize: "maxFileSize", multiple: "multiple", uploading: "uploading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
450
477
  };
451
478
  SixFileUpload = __decorate([
452
479
  ProxyCmp({
453
- inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple']
480
+ inputs: ['accept', 'compact', 'disabled', 'errorText', 'invalid', 'label', 'maxFileSize', 'multiple', 'uploading']
454
481
  })
455
482
  ], SixFileUpload);
456
483
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, decorators: [{
@@ -460,7 +487,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
460
487
  changeDetection: ChangeDetectionStrategy.OnPush,
461
488
  template: '<ng-content></ng-content>',
462
489
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
463
- inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple'],
490
+ inputs: ['accept', 'compact', 'disabled', 'errorText', 'invalid', 'label', 'maxFileSize', 'multiple', 'uploading'],
464
491
  }]
465
492
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
466
493
  let SixFooter = class SixFooter {
@@ -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", 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', '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', '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,
@@ -1872,6 +1998,30 @@ class SixUiLibraryValidators {
1872
1998
  return allowed ? null : { invaliddate: { actual: control.value } };
1873
1999
  };
1874
2000
  }
2001
+ static minDateIso(mindate) {
2002
+ return (control) => {
2003
+ if (control.value == null || control.value === '')
2004
+ return null;
2005
+ const actualDate = control.value;
2006
+ return actualDate >= mindate ? null : { mindate: { mindate, actual: actualDate } };
2007
+ };
2008
+ }
2009
+ static maxDateIso(maxdate) {
2010
+ return (control) => {
2011
+ if (control.value == null || control.value === '')
2012
+ return null;
2013
+ const actualDate = control.value;
2014
+ return actualDate <= maxdate ? null : { maxdate: { maxdate, actual: actualDate } };
2015
+ };
2016
+ }
2017
+ static allowedDatesIso(allowedDates = () => true) {
2018
+ return (control) => {
2019
+ if (control.value == null || control.value === '')
2020
+ return null;
2021
+ const allowed = allowedDates(control.value);
2022
+ return allowed ? null : { invaliddate: { actual: control.value } };
2023
+ };
2024
+ }
1875
2025
  }
1876
2026
  class MinDateValidator {
1877
2027
  validate(control) {
@@ -1930,6 +2080,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1930
2080
  }], propDecorators: { allowedDates: [{
1931
2081
  type: Input
1932
2082
  }] } });
2083
+ class MinDateValidatorIso {
2084
+ validate(control) {
2085
+ if (this.min != null) {
2086
+ return SixUiLibraryValidators.minDateIso(this.min)(control);
2087
+ }
2088
+ return null;
2089
+ }
2090
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2091
+ 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 }); }
2092
+ }
2093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MinDateValidatorIso, decorators: [{
2094
+ type: Directive,
2095
+ args: [{
2096
+ selector: 'six-date[min]',
2097
+ providers: [{ provide: NG_VALIDATORS, useExisting: MinDateValidatorIso, multi: true }],
2098
+ }]
2099
+ }], propDecorators: { min: [{
2100
+ type: Input
2101
+ }] } });
2102
+ class MaxDateValidatorIso {
2103
+ validate(control) {
2104
+ if (this.max != null) {
2105
+ return SixUiLibraryValidators.maxDateIso(this.max)(control);
2106
+ }
2107
+ return null;
2108
+ }
2109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2110
+ 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 }); }
2111
+ }
2112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaxDateValidatorIso, decorators: [{
2113
+ type: Directive,
2114
+ args: [{
2115
+ selector: 'six-date[max]',
2116
+ providers: [{ provide: NG_VALIDATORS, useExisting: MaxDateValidatorIso, multi: true }],
2117
+ }]
2118
+ }], propDecorators: { max: [{
2119
+ type: Input
2120
+ }] } });
2121
+ class AllowedDatesValidatorIso {
2122
+ constructor() {
2123
+ this.allowedDates = () => true;
2124
+ }
2125
+ validate(control) {
2126
+ return SixUiLibraryValidators.allowedDatesIso(this.allowedDates)(control);
2127
+ }
2128
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidatorIso, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2129
+ 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 }); }
2130
+ }
2131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AllowedDatesValidatorIso, decorators: [{
2132
+ type: Directive,
2133
+ args: [{
2134
+ selector: 'six-date[allowedDates]',
2135
+ providers: [{ provide: NG_VALIDATORS, useExisting: AllowedDatesValidatorIso, multi: true }],
2136
+ }]
2137
+ }], propDecorators: { allowedDates: [{
2138
+ type: Input
2139
+ }] } });
1933
2140
  class MinValidator {
1934
2141
  validate(control) {
1935
2142
  return Validators.min(toFloat(this.min))(control);
@@ -2169,15 +2376,20 @@ class SixRouterLinkDirective {
2169
2376
  if (this.routerLinkDirective?.urlTree) {
2170
2377
  const url = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLinkDirective.urlTree));
2171
2378
  this.renderer.setAttribute(this.elementRef.nativeElement, 'href', url);
2379
+ // Remove the `tabindex` attribute to prevent redundant focus behavior.
2380
+ // Angular's RouterLink adds `tabindex="0"` to non-focusable elements (e.g., `<div>`),
2381
+ // but custom components like `six-button` already handle focusability.
2382
+ // Keeping the tabindex would cause the element to receive focus twice.
2383
+ this.renderer.removeAttribute(this.elementRef.nativeElement, 'tabindex');
2172
2384
  }
2173
2385
  }
2174
2386
  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 }); }
2387
+ 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
2388
  }
2177
2389
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixRouterLinkDirective, decorators: [{
2178
2390
  type: Directive,
2179
2391
  args: [{
2180
- selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]',
2392
+ selector: 'six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink],six-icon-button[routerLink]',
2181
2393
  }]
2182
2394
  }], ctorParameters: function () { return [{ type: i1$1.LocationStrategy }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.Renderer2 }, { type: i2.RouterLink, decorators: [{
2183
2395
  type: Optional
@@ -2196,6 +2408,148 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2196
2408
  type: Input
2197
2409
  }] } });
2198
2410
 
2411
+ /**
2412
+ * Enables Angular router integration for the six-sidebar component.
2413
+ *
2414
+ * When this directive is added to a six-sidebar component using the 'sixRouterLinkActive' attribute,
2415
+ * it activates automatic route-based selection for sidebar items and groups.
2416
+ *
2417
+ * @recommended Add this directive to enable automatic route-based navigation in sidebars.
2418
+ *
2419
+ * @example
2420
+ * ```html
2421
+ * <six-sidebar sixRouterLinkActive>
2422
+ * <six-sidebar-item routerLink="/home">Home</six-sidebar-item>
2423
+ * <six-sidebar-item-group>
2424
+ * <six-sidebar-item routerLink="/settings/profile">Profile</six-sidebar-item>
2425
+ * </six-sidebar-item-group>
2426
+ * </six-sidebar>
2427
+ * ```
2428
+ */
2429
+ class ActiveSidebarDirective {
2430
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2431
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ActiveSidebarDirective, selector: "six-sidebar[sixRouterLinkActive]", ngImport: i0 }); }
2432
+ }
2433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarDirective, decorators: [{
2434
+ type: Directive,
2435
+ args: [{
2436
+ selector: 'six-sidebar[sixRouterLinkActive]',
2437
+ }]
2438
+ }] });
2439
+ /**
2440
+ * Enhances six-sidebar-item with Angular router integration.
2441
+ *
2442
+ * This directive automatically manages the 'selected' state of sidebar items based on the current route.
2443
+ * When used with ActiveSidebarDirective, it switches from manual selection to route-based selection.
2444
+ *
2445
+ * @requires RouterLinkActive
2446
+ * @optional ActiveSidebarDirective - If present, enables route-based selection
2447
+ */
2448
+ class ActiveSidebarItemDirective {
2449
+ constructor() {
2450
+ this.routerLinkActive = inject(RouterLinkActive);
2451
+ this.sidebarItem = inject(SixSidebarItem);
2452
+ this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
2453
+ }
2454
+ get selected() {
2455
+ if (this.activeSidebarDirective == null) {
2456
+ return this.sidebarItem.selected;
2457
+ }
2458
+ else {
2459
+ return this.routerLinkActive.isActive;
2460
+ }
2461
+ }
2462
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2463
+ 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 }); }
2464
+ }
2465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemDirective, decorators: [{
2466
+ type: Directive,
2467
+ args: [{
2468
+ selector: 'six-sidebar-item',
2469
+ hostDirectives: [RouterLinkActive],
2470
+ }]
2471
+ }], propDecorators: { selected: [{
2472
+ type: HostBinding,
2473
+ args: ['selected']
2474
+ }] } });
2475
+ /**
2476
+ * Enhances six-sidebar-item-group with Angular router integration.
2477
+ *
2478
+ * This directive automatically manages the 'open' state of sidebar groups based on the active route.
2479
+ * When a child route is active, the group automatically expands to show the active item.
2480
+ *
2481
+ * @requires RouterLinkActive
2482
+ * @optional ActiveSidebarDirective - If present, enables route-based expansion
2483
+ */
2484
+ class ActiveSidebarItemGroupDirective {
2485
+ constructor() {
2486
+ this.routerLinkActive = inject(RouterLinkActive);
2487
+ this.sidebarItemGroup = inject(SixSidebarItemGroup);
2488
+ this.activeSidebarDirective = inject(ActiveSidebarDirective, { optional: true });
2489
+ }
2490
+ get open() {
2491
+ if (this.activeSidebarDirective == null) {
2492
+ return this.sidebarItemGroup.open;
2493
+ }
2494
+ if (this.sidebarItems?.length > 0) {
2495
+ return this.routerLinkActive.isActive ? true : this.sidebarItemGroup.open;
2496
+ }
2497
+ return this.routerLinkActive.isActive;
2498
+ }
2499
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2500
+ 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 }); }
2501
+ }
2502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActiveSidebarItemGroupDirective, decorators: [{
2503
+ type: Directive,
2504
+ args: [{
2505
+ selector: 'six-sidebar-item-group',
2506
+ hostDirectives: [RouterLinkActive],
2507
+ }]
2508
+ }], propDecorators: { sidebarItems: [{
2509
+ type: ContentChildren,
2510
+ args: [SixSidebarItem]
2511
+ }], open: [{
2512
+ type: HostBinding,
2513
+ args: ['open']
2514
+ }] } });
2515
+
2516
+ class DateValueAccessor extends ValueAccessor {
2517
+ constructor(injector, el) {
2518
+ super(injector, el);
2519
+ }
2520
+ handleInputEvent(el) {
2521
+ this.handleValueChange(el, el.value);
2522
+ }
2523
+ writeValue(value) {
2524
+ this.el.nativeElement.value = value == null ? '' : value;
2525
+ this.updateValidation();
2526
+ }
2527
+ 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 }); }
2528
+ 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: [
2529
+ {
2530
+ provide: NG_VALUE_ACCESSOR,
2531
+ useExisting: DateValueAccessor,
2532
+ multi: true,
2533
+ },
2534
+ ], usesInheritance: true, ngImport: i0 }); }
2535
+ }
2536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateValueAccessor, decorators: [{
2537
+ type: Directive,
2538
+ args: [{
2539
+ selector: 'six-date',
2540
+ providers: [
2541
+ {
2542
+ provide: NG_VALUE_ACCESSOR,
2543
+ useExisting: DateValueAccessor,
2544
+ multi: true,
2545
+ },
2546
+ ],
2547
+ }]
2548
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { handleInputEvent: [{
2549
+ type: HostListener,
2550
+ args: ['change', ['$event.target']]
2551
+ }] } });
2552
+
2199
2553
  class UiLibraryAngularModule {
2200
2554
  static forRoot(customValidationMessagesService) {
2201
2555
  return {
@@ -2211,12 +2565,13 @@ class UiLibraryAngularModule {
2211
2565
  };
2212
2566
  }
2213
2567
  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,
2568
+ 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
2569
  // value accessors
2216
2570
  TextValueAccessor,
2217
2571
  NumericValueAccessor,
2218
2572
  RadioValueAccessor,
2219
2573
  DatepickerValueAccessor,
2574
+ DateValueAccessor,
2220
2575
  TimepickerValueAccessor,
2221
2576
  SelectValueAccessor,
2222
2577
  CheckboxValueAccessor,
@@ -2228,16 +2583,24 @@ class UiLibraryAngularModule {
2228
2583
  MinDateValidator,
2229
2584
  MaxDateValidator,
2230
2585
  AllowedDatesValidator,
2586
+ MinDateValidatorIso,
2587
+ MaxDateValidatorIso,
2588
+ AllowedDatesValidatorIso,
2231
2589
  // form helpers
2232
2590
  SixFormDirective,
2233
2591
  SixFormUtilDirective,
2234
2592
  // 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,
2593
+ SixRouterLinkDirective,
2594
+ // sidebar helpers
2595
+ ActiveSidebarItemDirective,
2596
+ ActiveSidebarItemGroupDirective,
2597
+ 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
2598
  // value accessors
2237
2599
  TextValueAccessor,
2238
2600
  NumericValueAccessor,
2239
2601
  RadioValueAccessor,
2240
2602
  DatepickerValueAccessor,
2603
+ DateValueAccessor,
2241
2604
  TimepickerValueAccessor,
2242
2605
  SelectValueAccessor,
2243
2606
  CheckboxValueAccessor,
@@ -2249,11 +2612,18 @@ class UiLibraryAngularModule {
2249
2612
  MinDateValidator,
2250
2613
  MaxDateValidator,
2251
2614
  AllowedDatesValidator,
2615
+ MinDateValidatorIso,
2616
+ MaxDateValidatorIso,
2617
+ AllowedDatesValidatorIso,
2252
2618
  // form helpers
2253
2619
  SixFormDirective,
2254
2620
  SixFormUtilDirective,
2255
2621
  // router link directive
2256
- SixRouterLinkDirective] }); }
2622
+ SixRouterLinkDirective,
2623
+ // sidebar helpers
2624
+ ActiveSidebarItemDirective,
2625
+ ActiveSidebarItemGroupDirective,
2626
+ ActiveSidebarDirective] }); }
2257
2627
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule }); }
2258
2628
  }
2259
2629
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiLibraryAngularModule, decorators: [{
@@ -2267,6 +2637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2267
2637
  NumericValueAccessor,
2268
2638
  RadioValueAccessor,
2269
2639
  DatepickerValueAccessor,
2640
+ DateValueAccessor,
2270
2641
  TimepickerValueAccessor,
2271
2642
  SelectValueAccessor,
2272
2643
  CheckboxValueAccessor,
@@ -2278,11 +2649,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2278
2649
  MinDateValidator,
2279
2650
  MaxDateValidator,
2280
2651
  AllowedDatesValidator,
2652
+ MinDateValidatorIso,
2653
+ MaxDateValidatorIso,
2654
+ AllowedDatesValidatorIso,
2281
2655
  // form helpers
2282
2656
  SixFormDirective,
2283
2657
  SixFormUtilDirective,
2284
2658
  // router link directive
2285
2659
  SixRouterLinkDirective,
2660
+ // sidebar helpers
2661
+ ActiveSidebarItemDirective,
2662
+ ActiveSidebarItemGroupDirective,
2663
+ ActiveSidebarDirective,
2286
2664
  ],
2287
2665
  imports: [],
2288
2666
  exports: [
@@ -2293,6 +2671,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2293
2671
  NumericValueAccessor,
2294
2672
  RadioValueAccessor,
2295
2673
  DatepickerValueAccessor,
2674
+ DateValueAccessor,
2296
2675
  TimepickerValueAccessor,
2297
2676
  SelectValueAccessor,
2298
2677
  CheckboxValueAccessor,
@@ -2304,11 +2683,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2304
2683
  MinDateValidator,
2305
2684
  MaxDateValidator,
2306
2685
  AllowedDatesValidator,
2686
+ MinDateValidatorIso,
2687
+ MaxDateValidatorIso,
2688
+ AllowedDatesValidatorIso,
2307
2689
  // form helpers
2308
2690
  SixFormDirective,
2309
2691
  SixFormUtilDirective,
2310
2692
  // router link directive
2311
2693
  SixRouterLinkDirective,
2694
+ // sidebar helpers
2695
+ ActiveSidebarItemDirective,
2696
+ ActiveSidebarItemGroupDirective,
2697
+ ActiveSidebarDirective,
2312
2698
  ],
2313
2699
  }]
2314
2700
  }] });
@@ -2339,5 +2725,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2339
2725
  * Generated bundle index. Do not edit.
2340
2726
  */
2341
2727
 
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 };
2728
+ 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
2729
  //# sourceMappingURL=six-group-ui-library-angular.mjs.map