@six-group/ui-library-angular 0.0.0-insider.b13c699 → 0.0.0-insider.b2db78f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/control-value-accessors/date-value-accessor.mjs +41 -0
- package/esm2022/lib/sidebar/active-sidebar.directive.mjs +110 -0
- package/esm2022/lib/stencil-generated/components.mjs +45 -19
- package/esm2022/lib/stencil-generated/index.mjs +2 -1
- package/esm2022/lib/ui-library-angular.module.mjs +39 -5
- package/esm2022/lib/validators/six-ui-library-validators.mjs +82 -1
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/six-group-ui-library-angular.mjs +306 -23
- package/fesm2022/six-group-ui-library-angular.mjs.map +1 -1
- package/lib/control-value-accessors/date-value-accessor.d.ts +10 -0
- package/lib/sidebar/active-sidebar.directive.d.ts +59 -0
- package/lib/stencil-generated/components.d.ts +24 -33
- package/lib/stencil-generated/index.d.ts +1 -1
- package/lib/ui-library-angular.module.d.ts +11 -9
- package/lib/validators/six-ui-library-validators.d.ts +27 -0
- package/package.json +4 -1
- package/public-api.d.ts +2 -0
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -16,10 +16,6 @@ import type { SixFileListDownloadPayload as ISixFileListItemSixFileListDownloadP
|
|
|
16
16
|
import type { SixFileListRemovePayload as ISixFileListItemSixFileListRemovePayload } from '@six-group/ui-library';
|
|
17
17
|
import type { SixFileUploadSuccessPayload as ISixFileUploadSixFileUploadSuccessPayload } from '@six-group/ui-library';
|
|
18
18
|
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
19
|
import type { EmptyPayload as ISixInputEmptyPayload } from '@six-group/ui-library';
|
|
24
20
|
import type { SixItemPickerChangePayload as ISixItemPickerSixItemPickerChangePayload } from '@six-group/ui-library';
|
|
25
21
|
import type { SixLanguageSwitcherChangePayload as ISixLanguageSwitcherSixLanguageSwitcherChangePayload } from '@six-group/ui-library';
|
|
@@ -131,6 +127,25 @@ export declare interface SixCheckbox extends Components.SixCheckbox {
|
|
|
131
127
|
*/
|
|
132
128
|
'six-checkbox-focus': EventEmitter<CustomEvent<ISixCheckboxEmptyPayload>>;
|
|
133
129
|
}
|
|
130
|
+
export declare class SixDate {
|
|
131
|
+
protected z: NgZone;
|
|
132
|
+
protected el: HTMLElement;
|
|
133
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixDate, never>;
|
|
135
|
+
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>;
|
|
136
|
+
}
|
|
137
|
+
export declare interface SixDate extends Components.SixDate {
|
|
138
|
+
/**
|
|
139
|
+
* Emitted when the control's value changes.
|
|
140
|
+
Event detail contains the new date value in ISO format (yyyy-MM-dd) or an empty string if cleared.
|
|
141
|
+
*/
|
|
142
|
+
'six-change': EventEmitter<CustomEvent<string | ''>>;
|
|
143
|
+
/**
|
|
144
|
+
* Emitted when the control loses focus or the date picker popup is closed.
|
|
145
|
+
Does not contain event details.
|
|
146
|
+
*/
|
|
147
|
+
'six-blur': EventEmitter<CustomEvent<any>>;
|
|
148
|
+
}
|
|
134
149
|
export declare class SixDatepicker {
|
|
135
150
|
protected z: NgZone;
|
|
136
151
|
protected el: HTMLElement;
|
|
@@ -366,40 +381,16 @@ export declare class SixHeader {
|
|
|
366
381
|
protected el: HTMLElement;
|
|
367
382
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
368
383
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeader, never>;
|
|
369
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "
|
|
384
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "openSearch": { "alias": "openSearch"; "required": false; }; "shiftContent": { "alias": "shiftContent"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
370
385
|
}
|
|
371
386
|
export declare interface SixHeader extends Components.SixHeader {
|
|
372
|
-
/**
|
|
373
|
-
* Emitted when the name of the selected app is clicked. @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead
|
|
374
|
-
*/
|
|
375
|
-
'six-header-app-name-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
|
|
376
|
-
/**
|
|
377
|
-
* Emitted when a menu item is in the app switcher menu is selected. @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead
|
|
378
|
-
*/
|
|
379
|
-
'six-header-app-switcher-select': EventEmitter<CustomEvent<ISixHeaderSixHeaderAppSwitcherSelectPayload>>;
|
|
380
|
-
/**
|
|
381
|
-
* Emitted when a menu item is in the profile menu is selected. @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-avatar` instead
|
|
382
|
-
*/
|
|
383
|
-
'six-header-profile-select': EventEmitter<CustomEvent<ISixHeaderSixHeaderProfileSelectPayload>>;
|
|
384
|
-
/**
|
|
385
|
-
* Emitted when the hamburger menu is clicked. @deprecated Use six-header `custom` property instead
|
|
386
|
-
*/
|
|
387
|
-
'six-header-hamburger-menu-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
|
|
388
|
-
/**
|
|
389
|
-
* Emitted when the header logo is clicked. @deprecated Use six-header `custom` property instead
|
|
390
|
-
*/
|
|
391
|
-
'six-header-logo-clicked': EventEmitter<CustomEvent<ISixHeaderEmptyPayload>>;
|
|
392
|
-
/**
|
|
393
|
-
* Emitted when search field is toggled. @deprecated Use six-header `custom` property instead
|
|
394
|
-
*/
|
|
395
|
-
'six-header-search-field-toggle': EventEmitter<CustomEvent<ISixHeaderSixHeaderSearchFieldToggle>>;
|
|
396
387
|
}
|
|
397
388
|
export declare class SixHeaderDropdownItem {
|
|
398
389
|
protected z: NgZone;
|
|
399
390
|
protected el: HTMLElement;
|
|
400
391
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
401
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderDropdownItem, never>;
|
|
402
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderDropdownItem, "six-header-dropdown-item", never, {}, {}, never, ["*"], false, never>;
|
|
393
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderDropdownItem, "six-header-dropdown-item", never, { "filter": { "alias": "filter"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
403
394
|
}
|
|
404
395
|
export declare interface SixHeaderDropdownItem extends Components.SixHeaderDropdownItem {
|
|
405
396
|
}
|
|
@@ -417,7 +408,7 @@ export declare class SixHeaderMenuButton {
|
|
|
417
408
|
protected el: HTMLElement;
|
|
418
409
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
419
410
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderMenuButton, never>;
|
|
420
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderMenuButton, "six-header-menu-button", never, { "
|
|
411
|
+
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>;
|
|
421
412
|
}
|
|
422
413
|
export declare interface SixHeaderMenuButton extends Components.SixHeaderMenuButton {
|
|
423
414
|
}
|
|
@@ -661,7 +652,7 @@ export declare class SixSelect {
|
|
|
661
652
|
protected el: HTMLElement;
|
|
662
653
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
663
654
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSelect, never>;
|
|
664
|
-
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; }; "
|
|
655
|
+
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>;
|
|
665
656
|
}
|
|
666
657
|
export declare interface SixSelect extends Components.SixSelect {
|
|
667
658
|
/**
|
|
@@ -712,7 +703,7 @@ export declare class SixSidebarItem {
|
|
|
712
703
|
protected el: HTMLElement;
|
|
713
704
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
714
705
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSidebarItem, never>;
|
|
715
|
-
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>;
|
|
706
|
+
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>;
|
|
716
707
|
}
|
|
717
708
|
export declare interface SixSidebarItem extends Components.SixSidebarItem {
|
|
718
709
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
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.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)[];
|
|
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/
|
|
10
|
-
import * as i7 from "./control-value-accessors/
|
|
11
|
-
import * as i8 from "./control-value-accessors/
|
|
12
|
-
import * as i9 from "./control-value-accessors/
|
|
13
|
-
import * as i10 from "./control-value-accessors/
|
|
14
|
-
import * as i11 from "./
|
|
15
|
-
import * as i12 from "./
|
|
16
|
-
import * as i13 from "./
|
|
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.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.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.
|
|
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
|
}
|
|
@@ -4,6 +4,9 @@ export declare class SixUiLibraryValidators {
|
|
|
4
4
|
static minDate(mindate: Date): ValidatorFn;
|
|
5
5
|
static maxDate(maxdate: Date): ValidatorFn;
|
|
6
6
|
static allowedDates(allowedDates?: (date: Date) => boolean): ValidatorFn;
|
|
7
|
+
static minDateIso(mindate: string): ValidatorFn;
|
|
8
|
+
static maxDateIso(maxdate: string): ValidatorFn;
|
|
9
|
+
static allowedDatesIso(allowedDates?: (date: string) => boolean): ValidatorFn;
|
|
7
10
|
}
|
|
8
11
|
export declare class MinDateValidator implements Validator {
|
|
9
12
|
min?: Date | null;
|
|
@@ -29,6 +32,30 @@ export declare class AllowedDatesValidator implements Validator {
|
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AllowedDatesValidator, never>;
|
|
30
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AllowedDatesValidator, "six-datepicker[allowedDates]", never, { "allowedDates": { "alias": "allowedDates"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
34
|
}
|
|
35
|
+
export declare class MinDateValidatorIso implements Validator {
|
|
36
|
+
min?: string | null;
|
|
37
|
+
validate(control: AbstractControl): {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
} | null;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MinDateValidatorIso, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MinDateValidatorIso, "six-date[min]", never, { "min": { "alias": "min"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
+
}
|
|
43
|
+
export declare class MaxDateValidatorIso implements Validator {
|
|
44
|
+
max?: string | null;
|
|
45
|
+
validate(control: AbstractControl): {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
} | null;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaxDateValidatorIso, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxDateValidatorIso, "six-date[max]", never, { "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
51
|
+
export declare class AllowedDatesValidatorIso implements Validator {
|
|
52
|
+
allowedDates: (date: string) => boolean;
|
|
53
|
+
validate(control: AbstractControl): {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
} | null;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AllowedDatesValidatorIso, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AllowedDatesValidatorIso, "six-date[allowedDates]", never, { "allowedDates": { "alias": "allowedDates"; "required": false; }; }, {}, never, never, false, never>;
|
|
58
|
+
}
|
|
32
59
|
export declare class MinValidator implements Validator {
|
|
33
60
|
min: number | string;
|
|
34
61
|
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.
|
|
3
|
+
"version": "0.0.0-insider.b2db78f",
|
|
4
4
|
"description": "Angular wrapper components for @six-group/ui-library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -13,6 +13,9 @@
|
|
|
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
21
|
"node": ">=20"
|
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';
|