@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.
- package/esm2022/lib/control-value-accessors/date-value-accessor.mjs +41 -0
- package/esm2022/lib/control-value-accessors/value-accessor.mjs +1 -1
- package/esm2022/lib/form/six-form.directive.mjs +1 -1
- package/esm2022/lib/link/six-router-link.directive.mjs +8 -3
- package/esm2022/lib/sidebar/active-sidebar.directive.mjs +110 -0
- package/esm2022/lib/stencil-generated/components.mjs +143 -23
- package/esm2022/lib/stencil-generated/index.mjs +6 -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 +415 -29
- 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/link/six-router-link.directive.d.ts +1 -1
- package/lib/sidebar/active-sidebar.directive.d.ts +59 -0
- package/lib/stencil-generated/components.d.ts +61 -34
- 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 +5 -2
- 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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -331,7 +346,7 @@ export declare class SixFileUpload {
|
|
|
331
346
|
protected el: HTMLElement;
|
|
332
347
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
333
348
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixFileUpload, never>;
|
|
334
|
-
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>;
|
|
349
|
+
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>;
|
|
335
350
|
}
|
|
336
351
|
export declare interface SixFileUpload extends Components.SixFileUpload {
|
|
337
352
|
/**
|
|
@@ -366,33 +381,36 @@ 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
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
387
|
+
}
|
|
388
|
+
export declare class SixHeaderDropdownItem {
|
|
389
|
+
protected z: NgZone;
|
|
390
|
+
protected el: HTMLElement;
|
|
391
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
392
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderDropdownItem, 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>;
|
|
394
|
+
}
|
|
395
|
+
export declare interface SixHeaderDropdownItem extends Components.SixHeaderDropdownItem {
|
|
396
|
+
}
|
|
397
|
+
export declare class SixHeaderItem {
|
|
398
|
+
protected z: NgZone;
|
|
399
|
+
protected el: HTMLElement;
|
|
400
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderItem, never>;
|
|
402
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeaderItem, "six-header-item", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
403
|
+
}
|
|
404
|
+
export declare interface SixHeaderItem extends Components.SixHeaderItem {
|
|
405
|
+
}
|
|
406
|
+
export declare class SixHeaderMenuButton {
|
|
407
|
+
protected z: NgZone;
|
|
408
|
+
protected el: HTMLElement;
|
|
409
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeaderMenuButton, 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>;
|
|
412
|
+
}
|
|
413
|
+
export declare interface SixHeaderMenuButton extends Components.SixHeaderMenuButton {
|
|
396
414
|
}
|
|
397
415
|
export declare class SixIcon {
|
|
398
416
|
protected z: NgZone;
|
|
@@ -408,7 +426,7 @@ export declare class SixIconButton {
|
|
|
408
426
|
protected el: HTMLElement;
|
|
409
427
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
410
428
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixIconButton, never>;
|
|
411
|
-
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>;
|
|
429
|
+
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>;
|
|
412
430
|
}
|
|
413
431
|
export declare interface SixIconButton extends Components.SixIconButton {
|
|
414
432
|
}
|
|
@@ -480,6 +498,15 @@ export declare class SixLayoutGrid {
|
|
|
480
498
|
}
|
|
481
499
|
export declare interface SixLayoutGrid extends Components.SixLayoutGrid {
|
|
482
500
|
}
|
|
501
|
+
export declare class SixLogo {
|
|
502
|
+
protected z: NgZone;
|
|
503
|
+
protected el: HTMLElement;
|
|
504
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixLogo, never>;
|
|
506
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixLogo, "six-logo", never, { "brand": { "alias": "brand"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
507
|
+
}
|
|
508
|
+
export declare interface SixLogo extends Components.SixLogo {
|
|
509
|
+
}
|
|
483
510
|
export declare class SixMainContainer {
|
|
484
511
|
protected z: NgZone;
|
|
485
512
|
protected el: HTMLElement;
|
|
@@ -625,7 +652,7 @@ export declare class SixSelect {
|
|
|
625
652
|
protected el: HTMLElement;
|
|
626
653
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
627
654
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSelect, never>;
|
|
628
|
-
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>;
|
|
629
656
|
}
|
|
630
657
|
export declare interface SixSelect extends Components.SixSelect {
|
|
631
658
|
/**
|
|
@@ -676,7 +703,7 @@ export declare class SixSidebarItem {
|
|
|
676
703
|
protected el: HTMLElement;
|
|
677
704
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
678
705
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSidebarItem, never>;
|
|
679
|
-
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>;
|
|
680
707
|
}
|
|
681
708
|
export declare interface SixSidebarItem extends Components.SixSidebarItem {
|
|
682
709
|
}
|
|
@@ -694,7 +721,7 @@ export declare class SixSpinner {
|
|
|
694
721
|
protected el: HTMLElement;
|
|
695
722
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
696
723
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSpinner, never>;
|
|
697
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixSpinner, "six-spinner", never, { "six": { "alias": "six"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
724
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixSpinner, "six-spinner", never, { "logo": { "alias": "logo"; "required": false; }; "six": { "alias": "six"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
698
725
|
}
|
|
699
726
|
export declare interface SixSpinner extends Components.SixSpinner {
|
|
700
727
|
}
|
|
@@ -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.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/
|
|
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.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.
|
|
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.d89f9dc",
|
|
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": ">=
|
|
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';
|