@six-group/ui-library-angular 0.0.0-insider.777a428 → 0.0.0-insider.77a508a
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/link/six-router-link.directive.mjs +8 -3
- package/esm2022/lib/stencil-generated/components.mjs +140 -20
- package/esm2022/lib/stencil-generated/index.mjs +6 -1
- package/esm2022/lib/ui-library-angular.module.mjs +21 -4
- package/esm2022/lib/validators/six-ui-library-validators.mjs +82 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/six-group-ui-library-angular.mjs +288 -24
- 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/stencil-generated/components.d.ts +59 -33
- package/lib/stencil-generated/index.d.ts +1 -1
- package/lib/ui-library-angular.module.d.ts +10 -9
- package/lib/validators/six-ui-library-validators.d.ts +28 -0
- package/package.json +5 -2
- package/public-api.d.ts +1 -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
|
}
|
|
@@ -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,10 +17,6 @@ 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';
|
|
@@ -131,6 +128,23 @@ export declare interface SixCheckbox extends Components.SixCheckbox {
|
|
|
131
128
|
*/
|
|
132
129
|
'six-checkbox-focus': EventEmitter<CustomEvent<ISixCheckboxEmptyPayload>>;
|
|
133
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
|
+
}
|
|
134
148
|
export declare class SixDatepicker {
|
|
135
149
|
protected z: NgZone;
|
|
136
150
|
protected el: HTMLElement;
|
|
@@ -331,7 +345,7 @@ export declare class SixFileUpload {
|
|
|
331
345
|
protected el: HTMLElement;
|
|
332
346
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
333
347
|
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>;
|
|
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>;
|
|
335
349
|
}
|
|
336
350
|
export declare interface SixFileUpload extends Components.SixFileUpload {
|
|
337
351
|
/**
|
|
@@ -366,33 +380,36 @@ export declare class SixHeader {
|
|
|
366
380
|
protected el: HTMLElement;
|
|
367
381
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
368
382
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixHeader, never>;
|
|
369
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "
|
|
383
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixHeader, "six-header", never, { "openSearch": { "alias": "openSearch"; "required": false; }; "shiftContent": { "alias": "shiftContent"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
370
384
|
}
|
|
371
385
|
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
|
-
|
|
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 {
|
|
396
413
|
}
|
|
397
414
|
export declare class SixIcon {
|
|
398
415
|
protected z: NgZone;
|
|
@@ -408,7 +425,7 @@ export declare class SixIconButton {
|
|
|
408
425
|
protected el: HTMLElement;
|
|
409
426
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
410
427
|
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>;
|
|
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>;
|
|
412
429
|
}
|
|
413
430
|
export declare interface SixIconButton extends Components.SixIconButton {
|
|
414
431
|
}
|
|
@@ -480,6 +497,15 @@ export declare class SixLayoutGrid {
|
|
|
480
497
|
}
|
|
481
498
|
export declare interface SixLayoutGrid extends Components.SixLayoutGrid {
|
|
482
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
|
+
}
|
|
483
509
|
export declare class SixMainContainer {
|
|
484
510
|
protected z: NgZone;
|
|
485
511
|
protected el: HTMLElement;
|
|
@@ -625,7 +651,7 @@ export declare class SixSelect {
|
|
|
625
651
|
protected el: HTMLElement;
|
|
626
652
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
627
653
|
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; }; "
|
|
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>;
|
|
629
655
|
}
|
|
630
656
|
export declare interface SixSelect extends Components.SixSelect {
|
|
631
657
|
/**
|
|
@@ -694,7 +720,7 @@ export declare class SixSpinner {
|
|
|
694
720
|
protected el: HTMLElement;
|
|
695
721
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
696
722
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSpinner, never>;
|
|
697
|
-
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>;
|
|
698
724
|
}
|
|
699
725
|
export declare interface SixSpinner extends Components.SixSpinner {
|
|
700
726
|
}
|
|
@@ -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,18 @@ 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";
|
|
17
18
|
export declare class UiLibraryAngularModule {
|
|
18
19
|
static forRoot<T extends ValidationMessagesService>(customValidationMessagesService?: Type<T>): ModuleWithProviders<UiLibraryAngularModule>;
|
|
19
20
|
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.
|
|
21
|
+
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], 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]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiLibraryAngularModule>;
|
|
22
23
|
}
|
|
@@ -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.
|
|
3
|
+
"version": "0.0.0-insider.77a508a",
|
|
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';
|