@six-group/ui-library-angular 0.0.0-insider.bb295d8 → 0.0.0-insider.bd0dde8

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.
@@ -0,0 +1,10 @@
1
+ import { ElementRef, Injector } from '@angular/core';
2
+ import { ValueAccessor } from './value-accessor';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DateValueAccessor extends ValueAccessor {
5
+ constructor(injector: Injector, el: ElementRef);
6
+ handleInputEvent(el: HTMLSixInputElement): void;
7
+ writeValue(value: any): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "six-date", never, {}, {}, never, never, false, never>;
10
+ }
@@ -22,5 +22,5 @@ export declare class SixRouterLinkDirective implements OnInit, OnChanges {
22
22
  ngOnChanges(): void;
23
23
  private updateTargetUrlAndHref;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SixRouterLinkDirective, [null, null, null, null, { optional: true; }]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<SixRouterLinkDirective, "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]", never, { "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "fragment": { "alias": "fragment"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "relativeTo": { "alias": "relativeTo"; "required": false; }; }, {}, never, never, false, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SixRouterLinkDirective, "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink],six-icon-button[routerLink]", never, { "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "fragment": { "alias": "fragment"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "relativeTo": { "alias": "relativeTo"; "required": false; }; }, {}, never, never, false, never>;
26
26
  }
@@ -0,0 +1,59 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ /**
4
+ * Enables Angular router integration for the six-sidebar component.
5
+ *
6
+ * When this directive is added to a six-sidebar component using the 'sixRouterLinkActive' attribute,
7
+ * it activates automatic route-based selection for sidebar items and groups.
8
+ *
9
+ * @recommended Add this directive to enable automatic route-based navigation in sidebars.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <six-sidebar sixRouterLinkActive>
14
+ * <six-sidebar-item routerLink="/home">Home</six-sidebar-item>
15
+ * <six-sidebar-item-group>
16
+ * <six-sidebar-item routerLink="/settings/profile">Profile</six-sidebar-item>
17
+ * </six-sidebar-item-group>
18
+ * </six-sidebar>
19
+ * ```
20
+ */
21
+ export declare class ActiveSidebarDirective {
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActiveSidebarDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActiveSidebarDirective, "six-sidebar[sixRouterLinkActive]", never, {}, {}, never, never, false, never>;
24
+ }
25
+ /**
26
+ * Enhances six-sidebar-item with Angular router integration.
27
+ *
28
+ * This directive automatically manages the 'selected' state of sidebar items based on the current route.
29
+ * When used with ActiveSidebarDirective, it switches from manual selection to route-based selection.
30
+ *
31
+ * @requires RouterLinkActive
32
+ * @optional ActiveSidebarDirective - If present, enables route-based selection
33
+ */
34
+ export declare class ActiveSidebarItemDirective {
35
+ private routerLinkActive;
36
+ private sidebarItem;
37
+ private activeSidebarDirective;
38
+ get selected(): boolean;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActiveSidebarItemDirective, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActiveSidebarItemDirective, "six-sidebar-item", never, {}, {}, never, never, false, [{ directive: typeof i1.RouterLinkActive; inputs: {}; outputs: {}; }]>;
41
+ }
42
+ /**
43
+ * Enhances six-sidebar-item-group with Angular router integration.
44
+ *
45
+ * This directive automatically manages the 'open' state of sidebar groups based on the active route.
46
+ * When a child route is active, the group automatically expands to show the active item.
47
+ *
48
+ * @requires RouterLinkActive
49
+ * @optional ActiveSidebarDirective - If present, enables route-based expansion
50
+ */
51
+ export declare class ActiveSidebarItemGroupDirective {
52
+ private routerLinkActive;
53
+ private sidebarItemGroup;
54
+ private activeSidebarDirective;
55
+ private sidebarItems;
56
+ get open(): boolean;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActiveSidebarItemGroupDirective, never>;
58
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActiveSidebarItemGroupDirective, "six-sidebar-item-group", never, {}, {}, ["sidebarItems"], never, false, [{ directive: typeof i1.RouterLinkActive; inputs: {}; outputs: {}; }]>;
59
+ }
@@ -3,6 +3,7 @@ import { Components } from '@six-group/ui-library';
3
3
  import type { EmptyPayload as ISixAlertEmptyPayload } from '@six-group/ui-library';
4
4
  import type { EmptyPayload as ISixButtonEmptyPayload } from '@six-group/ui-library';
5
5
  import type { EmptyPayload as ISixCheckboxEmptyPayload } from '@six-group/ui-library';
6
+ import type { IsoDate as ISixDateIsoDate } from '@six-group/ui-library';
6
7
  import type { SixDatepickerSelectPayload as ISixDatepickerSixDatepickerSelectPayload } from '@six-group/ui-library';
7
8
  import type { EmptyPayload as ISixDatepickerEmptyPayload } from '@six-group/ui-library';
8
9
  import type { EmptyPayload as ISixDetailsEmptyPayload } from '@six-group/ui-library';
@@ -16,17 +17,12 @@ import type { SixFileListDownloadPayload as ISixFileListItemSixFileListDownloadP
16
17
  import type { SixFileListRemovePayload as ISixFileListItemSixFileListRemovePayload } from '@six-group/ui-library';
17
18
  import type { SixFileUploadSuccessPayload as ISixFileUploadSixFileUploadSuccessPayload } from '@six-group/ui-library';
18
19
  import type { SixFileUploadFailurePayload as ISixFileUploadSixFileUploadFailurePayload } from '@six-group/ui-library';
19
- import type { EmptyPayload as ISixHeaderEmptyPayload } from '@six-group/ui-library';
20
- import type { SixHeaderAppSwitcherSelectPayload as ISixHeaderSixHeaderAppSwitcherSelectPayload } from '@six-group/ui-library';
21
- import type { SixHeaderProfileSelectPayload as ISixHeaderSixHeaderProfileSelectPayload } from '@six-group/ui-library';
22
- import type { SixHeaderSearchFieldToggle as ISixHeaderSixHeaderSearchFieldToggle } from '@six-group/ui-library';
23
20
  import type { EmptyPayload as ISixInputEmptyPayload } from '@six-group/ui-library';
24
21
  import type { SixItemPickerChangePayload as ISixItemPickerSixItemPickerChangePayload } from '@six-group/ui-library';
25
22
  import type { SixLanguageSwitcherChangePayload as ISixLanguageSwitcherSixLanguageSwitcherChangePayload } from '@six-group/ui-library';
26
23
  import type { SixMenuItemSelectedPayload as ISixMenuSixMenuItemSelectedPayload } from '@six-group/ui-library';
27
24
  import type { EmptyPayload as ISixRadioEmptyPayload } from '@six-group/ui-library';
28
25
  import type { EmptyPayload as ISixRangeEmptyPayload } from '@six-group/ui-library';
29
- import type { SixRootCollapsedPayload as ISixRootSixRootCollapsedPayload } from '@six-group/ui-library';
30
26
  import type { SixSearchFieldChangePayload as ISixSearchFieldSixSearchFieldChangePayload } from '@six-group/ui-library';
31
27
  import type { SixSelectChangePayload as ISixSelectSixSelectChangePayload } from '@six-group/ui-library';
32
28
  import type { EmptyPayload as ISixSelectEmptyPayload } from '@six-group/ui-library';
@@ -42,15 +38,6 @@ import type { SixTimepickerChange as ISixTimepickerSixTimepickerChange } from '@
42
38
  import type { EmptyPayload as ISixTimepickerEmptyPayload } from '@six-group/ui-library';
43
39
  import type { EmptyPayload as ISixTooltipEmptyPayload } from '@six-group/ui-library';
44
40
  import * as i0 from "@angular/core";
45
- export declare class SetAttributes {
46
- protected z: NgZone;
47
- protected el: HTMLElement;
48
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
49
- static ɵfac: i0.ɵɵFactoryDeclaration<SetAttributes, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<SetAttributes, "set-attributes", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
51
- }
52
- export declare interface SetAttributes extends Components.SetAttributes {
53
- }
54
41
  export declare class SixAlert {
55
42
  protected z: NgZone;
56
43
  protected el: HTMLElement;
@@ -141,6 +128,23 @@ export declare interface SixCheckbox extends Components.SixCheckbox {
141
128
  */
142
129
  'six-checkbox-focus': EventEmitter<CustomEvent<ISixCheckboxEmptyPayload>>;
143
130
  }
131
+ export declare class SixDate {
132
+ protected z: NgZone;
133
+ protected el: HTMLElement;
134
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<SixDate, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixDate, "six-date", never, { "allowedDates": { "alias": "allowedDates"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "errorTextCount": { "alias": "errorTextCount"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "language": { "alias": "language"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
137
+ }
138
+ export declare interface SixDate extends Components.SixDate {
139
+ /**
140
+ * Emitted when the control's value changes.
141
+ */
142
+ sixChange: EventEmitter<CustomEvent<ISixDateIsoDate | ''>>;
143
+ /**
144
+ * Emitted when the control loses focus.
145
+ */
146
+ sixBlur: EventEmitter<CustomEvent<any>>;
147
+ }
144
148
  export declare class SixDatepicker {
145
149
  protected z: NgZone;
146
150
  protected el: HTMLElement;
@@ -341,7 +345,7 @@ export declare class SixFileUpload {
341
345
  protected el: HTMLElement;
342
346
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
343
347
  static ɵfac: i0.ɵɵFactoryDeclaration<SixFileUpload, never>;
344
- static ɵcmp: i0.ɵɵComponentDeclaration<SixFileUpload, "six-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, ["*"], false, never>;
348
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixFileUpload, "six-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "uploading": { "alias": "uploading"; "required": false; }; }, {}, never, ["*"], false, never>;
345
349
  }
346
350
  export declare interface SixFileUpload extends Components.SixFileUpload {
347
351
  /**
@@ -376,33 +380,36 @@ export declare class SixHeader {
376
380
  protected el: HTMLElement;
377
381
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
378
382
  static ɵfac: i0.ɵɵFactoryDeclaration<SixHeader, never>;
379
- static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "clickableLogo": { "alias": "clickableLogo"; "required": false; }; "hideHamburgerMenu": { "alias": "hideHamburgerMenu"; "required": false; }; "openHamburgerMenu": { "alias": "openHamburgerMenu"; "required": false; }; "openSearch": { "alias": "openSearch"; "required": false; }; "shiftContent": { "alias": "shiftContent"; "required": false; }; }, {}, never, ["*"], false, never>;
383
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "openSearch": { "alias": "openSearch"; "required": false; }; "shiftContent": { "alias": "shiftContent"; "required": false; }; }, {}, never, ["*"], false, never>;
380
384
  }
381
385
  export declare interface SixHeader extends Components.SixHeader {
382
- /**
383
- * Emitted when the name of the selected app is clicked.
384
- */
385
- 'six-header-app-name-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
386
- /**
387
- * Emitted when a menu item is in the app switcher menu is selected.
388
- */
389
- 'six-header-app-switcher-select': EventEmitter<CustomEvent<ISixHeaderSixHeaderAppSwitcherSelectPayload>>;
390
- /**
391
- * Emitted when a menu item is in the profile menu is selected.
392
- */
393
- 'six-header-profile-select': EventEmitter<CustomEvent<ISixHeaderSixHeaderProfileSelectPayload>>;
394
- /**
395
- * Emitted when the hamburger menu is clicked.
396
- */
397
- 'six-header-hamburger-menu-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
398
- /**
399
- * Emitted when the header logo is clicked.
400
- */
401
- 'six-header-logo-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
402
- /**
403
- * Emitted when search field is toggled.
404
- */
405
- 'six-header-search-field-toggle': EventEmitter<CustomEvent<ISixHeaderSixHeaderSearchFieldToggle>>;
386
+ }
387
+ export declare class SixHeaderDropdownItem {
388
+ protected z: NgZone;
389
+ protected el: HTMLElement;
390
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
391
+ static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderDropdownItem, never>;
392
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderDropdownItem, "six-header-dropdown-item", never, { "filter": { "alias": "filter"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; }, {}, never, ["*"], false, never>;
393
+ }
394
+ export declare interface SixHeaderDropdownItem extends Components.SixHeaderDropdownItem {
395
+ }
396
+ export declare class SixHeaderItem {
397
+ protected z: NgZone;
398
+ protected el: HTMLElement;
399
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
400
+ static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderItem, never>;
401
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderItem, "six-header-item", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
402
+ }
403
+ export declare interface SixHeaderItem extends Components.SixHeaderItem {
404
+ }
405
+ export declare class SixHeaderMenuButton {
406
+ protected z: NgZone;
407
+ protected el: HTMLElement;
408
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
409
+ static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderMenuButton, never>;
410
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderMenuButton, "six-header-menu-button", never, { "caret": { "alias": "caret"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "reset": { "alias": "reset"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; }, {}, never, ["*"], false, never>;
411
+ }
412
+ export declare interface SixHeaderMenuButton extends Components.SixHeaderMenuButton {
406
413
  }
407
414
  export declare class SixIcon {
408
415
  protected z: NgZone;
@@ -418,7 +425,7 @@ export declare class SixIconButton {
418
425
  protected el: HTMLElement;
419
426
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
420
427
  static ɵfac: i0.ɵɵFactoryDeclaration<SixIconButton, never>;
421
- static ɵcmp: i0.ɵɵComponentDeclaration<SixIconButton, "six-icon-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "html": { "alias": "html"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
428
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixIconButton, "six-icon-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "download": { "alias": "download"; "required": false; }; "href": { "alias": "href"; "required": false; }; "html": { "alias": "html"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, {}, never, ["*"], false, never>;
422
429
  }
423
430
  export declare interface SixIconButton extends Components.SixIconButton {
424
431
  }
@@ -490,6 +497,15 @@ export declare class SixLayoutGrid {
490
497
  }
491
498
  export declare interface SixLayoutGrid extends Components.SixLayoutGrid {
492
499
  }
500
+ export declare class SixLogo {
501
+ protected z: NgZone;
502
+ protected el: HTMLElement;
503
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
504
+ static ɵfac: i0.ɵɵFactoryDeclaration<SixLogo, never>;
505
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixLogo, "six-logo", never, { "brand": { "alias": "brand"; "required": false; }; }, {}, never, ["*"], false, never>;
506
+ }
507
+ export declare interface SixLogo extends Components.SixLogo {
508
+ }
493
509
  export declare class SixMainContainer {
494
510
  protected z: NgZone;
495
511
  protected el: HTMLElement;
@@ -613,13 +629,9 @@ export declare class SixRoot {
613
629
  protected el: HTMLElement;
614
630
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
615
631
  static ɵfac: i0.ɵɵFactoryDeclaration<SixRoot, never>;
616
- static ɵcmp: i0.ɵɵComponentDeclaration<SixRoot, "six-root", never, { "breakpoint": { "alias": "breakpoint"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "stage": { "alias": "stage"; "required": false; }; "version": { "alias": "version"; "required": false; }; }, {}, never, ["*"], false, never>;
632
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixRoot, "six-root", never, { "padded": { "alias": "padded"; "required": false; }; "stage": { "alias": "stage"; "required": false; }; "version": { "alias": "version"; "required": false; }; }, {}, never, ["*"], false, never>;
617
633
  }
618
634
  export declare interface SixRoot extends Components.SixRoot {
619
- /**
620
- * Emitted when display size is updated.
621
- */
622
- 'six-root-collapsed': EventEmitter<CustomEvent<ISixRootSixRootCollapsedPayload>>;
623
635
  }
624
636
  export declare class SixSearchField {
625
637
  protected z: NgZone;
@@ -639,7 +651,7 @@ export declare class SixSelect {
639
651
  protected el: HTMLElement;
640
652
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
641
653
  static ɵfac: i0.ɵɵFactoryDeclaration<SixSelect, never>;
642
- static ɵcmp: i0.ɵɵComponentDeclaration<SixSelect, "six-select", never, { "asyncFilter": { "alias": "asyncFilter"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "errorTextCount": { "alias": "errorTextCount"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterDebounce": { "alias": "filterDebounce"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "hoist": { "alias": "hoist"; "required": false; }; "inputDebounce": { "alias": "inputDebounce"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "line": { "alias": "line"; "required": false; }; "maxTagsVisible": { "alias": "maxTagsVisible"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; "pill": { "alias": "pill"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectAllButton": { "alias": "selectAllButton"; "required": false; }; "selectAllText": { "alias": "selectAllText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; }, {}, never, ["*"], false, never>;
654
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixSelect, "six-select", never, { "asyncFilter": { "alias": "asyncFilter"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "errorTextCount": { "alias": "errorTextCount"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterDebounce": { "alias": "filterDebounce"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "helpText": { "alias": "helpText"; "required": false; }; "hoist": { "alias": "hoist"; "required": false; }; "inputDebounce": { "alias": "inputDebounce"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "line": { "alias": "line"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "options": { "alias": "options"; "required": false; }; "pill": { "alias": "pill"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectAllButton": { "alias": "selectAllButton"; "required": false; }; "selectAllText": { "alias": "selectAllText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; }, {}, never, ["*"], false, never>;
643
655
  }
644
656
  export declare interface SixSelect extends Components.SixSelect {
645
657
  /**
@@ -690,7 +702,7 @@ export declare class SixSidebarItem {
690
702
  protected el: HTMLElement;
691
703
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
692
704
  static ɵfac: i0.ɵɵFactoryDeclaration<SixSidebarItem, never>;
693
- static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItem, "six-sidebar-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "href": { "alias": "href"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
705
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItem, "six-sidebar-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "href": { "alias": "href"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
694
706
  }
695
707
  export declare interface SixSidebarItem extends Components.SixSidebarItem {
696
708
  }
@@ -708,7 +720,7 @@ export declare class SixSpinner {
708
720
  protected el: HTMLElement;
709
721
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
710
722
  static ɵfac: i0.ɵɵFactoryDeclaration<SixSpinner, never>;
711
- static ɵcmp: i0.ɵɵComponentDeclaration<SixSpinner, "six-spinner", never, { "six": { "alias": "six"; "required": false; }; }, {}, never, ["*"], false, never>;
723
+ static ɵcmp: i0.ɵɵComponentDeclaration<SixSpinner, "six-spinner", never, { "logo": { "alias": "logo"; "required": false; }; "six": { "alias": "six"; "required": false; }; }, {}, never, ["*"], false, never>;
712
724
  }
713
725
  export declare interface SixSpinner extends Components.SixSpinner {
714
726
  }
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.SetAttributes | typeof d.SixAlert | typeof d.SixAvatar | typeof d.SixBadge | typeof d.SixButton | typeof d.SixCard | typeof d.SixCheckbox | typeof d.SixDatepicker | typeof d.SixDetails | typeof d.SixDialog | typeof d.SixDrawer | typeof d.SixDropdown | typeof d.SixError | typeof d.SixErrorPage | typeof d.SixFileList | typeof d.SixFileListItem | typeof d.SixFileUpload | typeof d.SixFooter | typeof d.SixGroupLabel | typeof d.SixHeader | typeof d.SixIcon | typeof d.SixIconButton | typeof d.SixInput | typeof d.SixItemPicker | typeof d.SixLanguageSwitcher | typeof d.SixLayoutGrid | typeof d.SixMainContainer | typeof d.SixMenu | typeof d.SixMenuDivider | typeof d.SixMenuItem | typeof d.SixMenuLabel | typeof d.SixPicto | typeof d.SixProgressBar | typeof d.SixProgressRing | typeof d.SixRadio | typeof d.SixRange | typeof d.SixRoot | typeof d.SixSearchField | typeof d.SixSelect | typeof d.SixSidebar | typeof d.SixSidebarItem | typeof d.SixSidebarItemGroup | typeof d.SixSpinner | typeof d.SixStageIndicator | typeof d.SixSwitch | typeof d.SixTab | typeof d.SixTabGroup | typeof d.SixTabPanel | typeof d.SixTag | typeof d.SixTextarea | typeof d.SixTile | typeof d.SixTimepicker | typeof d.SixTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.SixAlert | typeof d.SixAvatar | typeof d.SixBadge | typeof d.SixButton | typeof d.SixCard | typeof d.SixCheckbox | typeof d.SixDate | typeof d.SixDatepicker | typeof d.SixDetails | typeof d.SixDialog | typeof d.SixDrawer | typeof d.SixDropdown | typeof d.SixError | typeof d.SixErrorPage | typeof d.SixFileList | typeof d.SixFileListItem | typeof d.SixFileUpload | typeof d.SixFooter | typeof d.SixGroupLabel | typeof d.SixHeader | typeof d.SixHeaderDropdownItem | typeof d.SixHeaderItem | typeof d.SixHeaderMenuButton | typeof d.SixIcon | typeof d.SixIconButton | typeof d.SixInput | typeof d.SixItemPicker | typeof d.SixLanguageSwitcher | typeof d.SixLayoutGrid | typeof d.SixLogo | typeof d.SixMainContainer | typeof d.SixMenu | typeof d.SixMenuDivider | typeof d.SixMenuItem | typeof d.SixMenuLabel | typeof d.SixPicto | typeof d.SixProgressBar | typeof d.SixProgressRing | typeof d.SixRadio | typeof d.SixRange | typeof d.SixRoot | typeof d.SixSearchField | typeof d.SixSelect | typeof d.SixSidebar | typeof d.SixSidebarItem | typeof d.SixSidebarItemGroup | typeof d.SixSpinner | typeof d.SixStageIndicator | typeof d.SixSwitch | typeof d.SixTab | typeof d.SixTabGroup | typeof d.SixTabPanel | typeof d.SixTag | typeof d.SixTextarea | typeof d.SixTile | typeof d.SixTimepicker | typeof d.SixTooltip)[];
@@ -6,17 +6,19 @@ import * as i2 from "./control-value-accessors/text-value-accessor";
6
6
  import * as i3 from "./control-value-accessors/numeric-value-accessor";
7
7
  import * as i4 from "./control-value-accessors/radio-value-accessor";
8
8
  import * as i5 from "./control-value-accessors/datepicker-value-accessor";
9
- import * as i6 from "./control-value-accessors/timepicker-value-accessor";
10
- import * as i7 from "./control-value-accessors/select-value-accessor";
11
- import * as i8 from "./control-value-accessors/checkbox-value-accessor";
12
- import * as i9 from "./control-value-accessors/switch-value-accessor";
13
- import * as i10 from "./control-value-accessors/range-value-accessor";
14
- import * as i11 from "./validators/six-ui-library-validators";
15
- import * as i12 from "./form/six-form.directive";
16
- import * as i13 from "./link/six-router-link.directive";
9
+ import * as i6 from "./control-value-accessors/date-value-accessor";
10
+ import * as i7 from "./control-value-accessors/timepicker-value-accessor";
11
+ import * as i8 from "./control-value-accessors/select-value-accessor";
12
+ import * as i9 from "./control-value-accessors/checkbox-value-accessor";
13
+ import * as i10 from "./control-value-accessors/switch-value-accessor";
14
+ import * as i11 from "./control-value-accessors/range-value-accessor";
15
+ import * as i12 from "./validators/six-ui-library-validators";
16
+ import * as i13 from "./form/six-form.directive";
17
+ import * as i14 from "./link/six-router-link.directive";
18
+ import * as i15 from "./sidebar/active-sidebar.directive";
17
19
  export declare class UiLibraryAngularModule {
18
20
  static forRoot<T extends ValidationMessagesService>(customValidationMessagesService?: Type<T>): ModuleWithProviders<UiLibraryAngularModule>;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<UiLibraryAngularModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective, typeof i13.SixRouterLinkDirective], never, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective, typeof i13.SixRouterLinkDirective]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDate, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixHeaderDropdownItem, typeof i1.SixHeaderItem, typeof i1.SixHeaderMenuButton, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixLogo, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.DateValueAccessor, typeof i7.TimepickerValueAccessor, typeof i8.SelectValueAccessor, typeof i9.CheckboxValueAccessor, typeof i10.SwitchValueAccessor, typeof i11.RangeValueAccessor, typeof i12.MinValidator, typeof i12.MaxValidator, typeof i12.MinDateValidator, typeof i12.MaxDateValidator, typeof i12.AllowedDatesValidator, typeof i12.MinDateValidatorIso, typeof i12.MaxDateValidatorIso, typeof i12.AllowedDatesValidatorIso, typeof i13.SixFormDirective, typeof i13.SixFormUtilDirective, typeof i14.SixRouterLinkDirective, typeof i15.ActiveSidebarItemDirective, typeof i15.ActiveSidebarItemGroupDirective, typeof i15.ActiveSidebarDirective], never, [typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDate, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixHeaderDropdownItem, typeof i1.SixHeaderItem, typeof i1.SixHeaderMenuButton, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixLogo, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.DateValueAccessor, typeof i7.TimepickerValueAccessor, typeof i8.SelectValueAccessor, typeof i9.CheckboxValueAccessor, typeof i10.SwitchValueAccessor, typeof i11.RangeValueAccessor, typeof i12.MinValidator, typeof i12.MaxValidator, typeof i12.MinDateValidator, typeof i12.MaxDateValidator, typeof i12.AllowedDatesValidator, typeof i12.MinDateValidatorIso, typeof i12.MaxDateValidatorIso, typeof i12.AllowedDatesValidatorIso, typeof i13.SixFormDirective, typeof i13.SixFormUtilDirective, typeof i14.SixRouterLinkDirective, typeof i15.ActiveSidebarItemDirective, typeof i15.ActiveSidebarItemGroupDirective, typeof i15.ActiveSidebarDirective]>;
21
23
  static ɵinj: i0.ɵɵInjectorDeclaration<UiLibraryAngularModule>;
22
24
  }
@@ -1,9 +1,13 @@
1
1
  import { AbstractControl, Validator, ValidatorFn } from '@angular/forms';
2
+ import { IsoDate } from '@six-group/ui-library';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class SixUiLibraryValidators {
4
5
  static minDate(mindate: Date): ValidatorFn;
5
6
  static maxDate(maxdate: Date): ValidatorFn;
6
7
  static allowedDates(allowedDates?: (date: Date) => boolean): ValidatorFn;
8
+ static minDateIso(mindate: IsoDate): ValidatorFn;
9
+ static maxDateIso(maxdate: IsoDate): ValidatorFn;
10
+ static allowedDatesIso(allowedDates?: (date: IsoDate) => boolean): ValidatorFn;
7
11
  }
8
12
  export declare class MinDateValidator implements Validator {
9
13
  min?: Date | null;
@@ -29,6 +33,30 @@ export declare class AllowedDatesValidator implements Validator {
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<AllowedDatesValidator, never>;
30
34
  static ɵdir: i0.ɵɵDirectiveDeclaration<AllowedDatesValidator, "six-datepicker[allowedDates]", never, { "allowedDates": { "alias": "allowedDates"; "required": false; }; }, {}, never, never, false, never>;
31
35
  }
36
+ export declare class MinDateValidatorIso implements Validator {
37
+ min?: IsoDate | null;
38
+ validate(control: AbstractControl): {
39
+ [key: string]: any;
40
+ } | null;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<MinDateValidatorIso, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinDateValidatorIso, "six-date[min]", never, { "min": { "alias": "min"; "required": false; }; }, {}, never, never, false, never>;
43
+ }
44
+ export declare class MaxDateValidatorIso implements Validator {
45
+ max?: IsoDate | null;
46
+ validate(control: AbstractControl): {
47
+ [key: string]: any;
48
+ } | null;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaxDateValidatorIso, never>;
50
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxDateValidatorIso, "six-date[max]", never, { "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
51
+ }
52
+ export declare class AllowedDatesValidatorIso implements Validator {
53
+ allowedDates: (date: IsoDate) => boolean;
54
+ validate(control: AbstractControl): {
55
+ [key: string]: any;
56
+ } | null;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<AllowedDatesValidatorIso, never>;
58
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AllowedDatesValidatorIso, "six-date[allowedDates]", never, { "allowedDates": { "alias": "allowedDates"; "required": false; }; }, {}, never, never, false, never>;
59
+ }
32
60
  export declare class MinValidator implements Validator {
33
61
  min: number | string;
34
62
  validate(control: AbstractControl): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@six-group/ui-library-angular",
3
- "version": "0.0.0-insider.bb295d8",
3
+ "version": "0.0.0-insider.bd0dde8",
4
4
  "description": "Angular wrapper components for @six-group/ui-library",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -13,9 +13,12 @@
13
13
  "dependencies": {
14
14
  "tslib": "^2.3.0"
15
15
  },
16
+ "resolutions": {
17
+ "rxjs": "7.8.1"
18
+ },
16
19
  "sideEffects": false,
17
20
  "engines": {
18
- "node": ">=16.0.0"
21
+ "node": ">=20"
19
22
  },
20
23
  "module": "fesm2022/six-group-ui-library-angular.mjs",
21
24
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './lib/control-value-accessors/text-value-accessor';
6
6
  export * from './lib/control-value-accessors/numeric-value-accessor';
7
7
  export * from './lib/control-value-accessors/radio-value-accessor';
8
8
  export * from './lib/control-value-accessors/datepicker-value-accessor';
9
+ export * from './lib/control-value-accessors/date-value-accessor';
9
10
  export * from './lib/control-value-accessors/timepicker-value-accessor';
10
11
  export * from './lib/control-value-accessors/select-value-accessor';
11
12
  export * from './lib/control-value-accessors/checkbox-value-accessor';
@@ -14,5 +15,6 @@ export * from './lib/control-value-accessors/range-value-accessor';
14
15
  export * from './lib/validators/six-ui-library-validators';
15
16
  export * from './lib/form/six-form.directive';
16
17
  export * from './lib/link/six-router-link.directive';
18
+ export * from './lib/sidebar/active-sidebar.directive';
17
19
  export * from './lib/services/validation-messages.service';
18
20
  export * from './lib/services/alert.service';