@six-group/ui-library-angular 4.0.2 → 4.0.4
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/esm2020/lib/control-value-accessors/value-accessor.mjs +2 -2
- package/esm2020/lib/link/six-router-link.directive.mjs +47 -0
- package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +9 -1
- package/esm2020/lib/stencil-generated/components.mjs +7 -7
- package/esm2020/lib/ui-library-angular.module.mjs +14 -6
- package/esm2020/lib/validators/six-ui-library-validators.mjs +13 -7
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/six-group-ui-library-angular.mjs +90 -22
- package/fesm2015/six-group-ui-library-angular.mjs.map +1 -1
- package/fesm2020/six-group-ui-library-angular.mjs +86 -21
- package/fesm2020/six-group-ui-library-angular.mjs.map +1 -1
- package/lib/link/six-router-link.directive.d.ts +24 -0
- package/lib/stencil-generated/components.d.ts +2 -2
- package/lib/ui-library-angular.module.d.ts +2 -1
- package/lib/validators/six-ui-library-validators.d.ts +4 -4
- package/package.json +5 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { Router, RouterLink } from '@angular/router';
|
|
3
|
+
import { LocationStrategy } from '@angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Forked from https://github.com/ionic-team/ionic-framework/blob/main/packages/angular/common/src/directives/navigation/router-link-delegate.ts.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SixRouterLinkDirective implements OnInit, OnChanges {
|
|
9
|
+
private locationStrategy;
|
|
10
|
+
private elementRef;
|
|
11
|
+
private router;
|
|
12
|
+
private routerLinkDirective?;
|
|
13
|
+
constructor(locationStrategy: LocationStrategy, elementRef: ElementRef, router: Router, routerLinkDirective?: RouterLink | undefined);
|
|
14
|
+
routerLink?: any;
|
|
15
|
+
queryParams?: any;
|
|
16
|
+
fragment?: any;
|
|
17
|
+
queryParamsHandling?: any;
|
|
18
|
+
relativeTo?: any;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(): void;
|
|
21
|
+
private updateTargetUrlAndHref;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixRouterLinkDirective, [null, null, null, { optional: true; }]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SixRouterLinkDirective, "six-sidebar-item[routerLink],six-sidebar-item-group[routerLink],six-button[routerLink]", never, { "routerLink": "routerLink"; "queryParams": "queryParams"; "fragment": "fragment"; "queryParamsHandling": "queryParamsHandling"; "relativeTo": "relativeTo"; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -690,7 +690,7 @@ export declare class SixSidebarItem {
|
|
|
690
690
|
protected el: HTMLElement;
|
|
691
691
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
692
692
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSidebarItem, never>;
|
|
693
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItem, "six-sidebar-item", never, { "disabled": "disabled"; "selected": "selected"; "value": "value"; }, {}, never, ["*"], false, never>;
|
|
693
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItem, "six-sidebar-item", never, { "disabled": "disabled"; "href": "href"; "selected": "selected"; "value": "value"; }, {}, never, ["*"], false, never>;
|
|
694
694
|
}
|
|
695
695
|
export declare interface SixSidebarItem extends Components.SixSidebarItem {
|
|
696
696
|
}
|
|
@@ -699,7 +699,7 @@ export declare class SixSidebarItemGroup {
|
|
|
699
699
|
protected el: HTMLElement;
|
|
700
700
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
701
701
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixSidebarItemGroup, never>;
|
|
702
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItemGroup, "six-sidebar-item-group", never, { "icon": "icon"; "name": "name"; "open": "open"; "summaryIcon": "summaryIcon"; "value": "value"; }, {}, never, ["*"], false, never>;
|
|
702
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixSidebarItemGroup, "six-sidebar-item-group", never, { "href": "href"; "icon": "icon"; "name": "name"; "open": "open"; "summaryIcon": "summaryIcon"; "value": "value"; }, {}, never, ["*"], false, never>;
|
|
703
703
|
}
|
|
704
704
|
export declare interface SixSidebarItemGroup extends Components.SixSidebarItemGroup {
|
|
705
705
|
}
|
|
@@ -13,9 +13,10 @@ import * as i9 from "./control-value-accessors/switch-value-accessor";
|
|
|
13
13
|
import * as i10 from "./control-value-accessors/range-value-accessor";
|
|
14
14
|
import * as i11 from "./validators/six-ui-library-validators";
|
|
15
15
|
import * as i12 from "./form/six-form.directive";
|
|
16
|
+
import * as i13 from "./link/six-router-link.directive";
|
|
16
17
|
export declare class UiLibraryAngularModule {
|
|
17
18
|
static forRoot<T extends ValidationMessagesService>(customValidationMessagesService?: Type<T>): ModuleWithProviders<UiLibraryAngularModule>;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLibraryAngularModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective], never, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective, typeof i13.SixRouterLinkDirective], never, [typeof i1.SetAttributes, typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.TimepickerValueAccessor, typeof i7.SelectValueAccessor, typeof i8.CheckboxValueAccessor, typeof i9.SwitchValueAccessor, typeof i10.RangeValueAccessor, typeof i11.MinValidator, typeof i11.MaxValidator, typeof i11.MinDateValidator, typeof i11.MaxDateValidator, typeof i11.AllowedDatesValidator, typeof i12.SixFormDirective, typeof i12.SixFormUtilDirective, typeof i13.SixRouterLinkDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiLibraryAngularModule>;
|
|
21
22
|
}
|
|
@@ -6,20 +6,20 @@ export declare class SixUiLibraryValidators {
|
|
|
6
6
|
static allowedDates(allowedDates?: (date: Date) => boolean): ValidatorFn;
|
|
7
7
|
}
|
|
8
8
|
export declare class MinDateValidator implements Validator {
|
|
9
|
-
|
|
9
|
+
min?: Date | null;
|
|
10
10
|
validate(control: AbstractControl): {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
} | null;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MinDateValidator, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MinDateValidator, "six-datepicker[min]", never, { "
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MinDateValidator, "six-datepicker[min]", never, { "min": "min"; }, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
16
16
|
export declare class MaxDateValidator implements Validator {
|
|
17
|
-
|
|
17
|
+
max?: Date | null;
|
|
18
18
|
validate(control: AbstractControl): {
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
} | null;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaxDateValidator, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxDateValidator, "six-datepicker[max]", never, { "
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxDateValidator, "six-datepicker[max]", never, { "max": "max"; }, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
24
24
|
export declare class AllowedDatesValidator implements Validator {
|
|
25
25
|
allowedDates: (date: Date) => boolean;
|
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@six-group/ui-library-angular",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Angular wrapper components for @six-group/ui-library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": ">=14.0.0",
|
|
8
8
|
"@angular/core": ">=14.0.0",
|
|
9
|
+
"@angular/router": ">=14.0.0",
|
|
9
10
|
"@six-group/ui-library": "*"
|
|
10
11
|
},
|
|
11
12
|
"dependencies": {
|
|
12
13
|
"tslib": "^2.3.0"
|
|
13
14
|
},
|
|
14
15
|
"sideEffects": false,
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=16.0.0"
|
|
18
|
+
},
|
|
15
19
|
"module": "fesm2015/six-group-ui-library-angular.mjs",
|
|
16
20
|
"es2020": "fesm2020/six-group-ui-library-angular.mjs",
|
|
17
21
|
"esm2020": "esm2020/six-group-ui-library-angular.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -13,4 +13,5 @@ export * from './lib/control-value-accessors/switch-value-accessor';
|
|
|
13
13
|
export * from './lib/control-value-accessors/range-value-accessor';
|
|
14
14
|
export * from './lib/validators/six-ui-library-validators';
|
|
15
15
|
export * from './lib/form/six-form.directive';
|
|
16
|
+
export * from './lib/link/six-router-link.directive';
|
|
16
17
|
export * from './lib/services/validation-messages.service';
|