@six-group/ui-library-angular 0.0.0-insider.ddecb41 → 0.0.0-insider.e28f142
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/fesm2022/six-group-ui-library-angular.mjs +2825 -0
- package/fesm2022/six-group-ui-library-angular.mjs.map +1 -0
- package/lib/control-value-accessors/date-value-accessor.d.ts +10 -0
- package/lib/control-value-accessors/radio-value-accessor.d.ts +1 -1
- package/lib/control-value-accessors/value-accessor.d.ts +3 -1
- package/lib/link/six-router-link.directive.d.ts +26 -0
- package/lib/services/alert.service.d.ts +11 -0
- package/lib/sidebar/active-sidebar.directive.d.ts +59 -0
- package/lib/stencil-generated/components.d.ts +163 -144
- package/lib/stencil-generated/index.d.ts +1 -1
- package/lib/ui-library-angular-config.d.ts +6 -0
- package/lib/ui-library-angular.module.d.ts +13 -9
- package/lib/validators/six-ui-library-validators.d.ts +34 -7
- package/package.json +8 -14
- package/public-api.d.ts +4 -0
- package/esm2020/lib/control-value-accessors/checkbox-value-accessor.mjs +0 -41
- package/esm2020/lib/control-value-accessors/datepicker-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/numeric-value-accessor.mjs +0 -42
- package/esm2020/lib/control-value-accessors/radio-value-accessor.mjs +0 -62
- package/esm2020/lib/control-value-accessors/range-value-accessor.mjs +0 -42
- package/esm2020/lib/control-value-accessors/select-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/switch-value-accessor.mjs +0 -41
- package/esm2020/lib/control-value-accessors/text-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/timepicker-value-accessor.mjs +0 -37
- package/esm2020/lib/control-value-accessors/value-accessor.mjs +0 -145
- package/esm2020/lib/form/six-form.directive.mjs +0 -134
- package/esm2020/lib/services/validation-messages.service.mjs +0 -15
- package/esm2020/lib/stencil-generated/angular-component-lib/utils.mjs +0 -51
- package/esm2020/lib/stencil-generated/components.mjs +0 -1372
- package/esm2020/lib/stencil-generated/index.mjs +0 -57
- package/esm2020/lib/ui-library-angular.module.mjs +0 -126
- package/esm2020/lib/validators/six-ui-library-validators.mjs +0 -116
- package/esm2020/public-api.mjs +0 -25
- package/esm2020/six-group-ui-library-angular.mjs +0 -5
- package/fesm2015/six-group-ui-library-angular.mjs +0 -2286
- package/fesm2015/six-group-ui-library-angular.mjs.map +0 -1
- package/fesm2020/six-group-ui-library-angular.mjs +0 -2283
- package/fesm2020/six-group-ui-library-angular.mjs.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnInit, Renderer2 } 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 renderer;
|
|
13
|
+
private routerLinkDirective?;
|
|
14
|
+
constructor(locationStrategy: LocationStrategy, elementRef: ElementRef, router: Router, renderer: Renderer2, routerLinkDirective?: RouterLink | undefined);
|
|
15
|
+
onClick(event: UIEvent): void;
|
|
16
|
+
routerLink?: any;
|
|
17
|
+
queryParams?: any;
|
|
18
|
+
fragment?: any;
|
|
19
|
+
queryParamsHandling?: any;
|
|
20
|
+
relativeTo?: any;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnChanges(): void;
|
|
23
|
+
private updateTargetUrlAndHref;
|
|
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],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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AlertType } from '@six-group/ui-library';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AlertService {
|
|
4
|
+
private ngZone;
|
|
5
|
+
/**
|
|
6
|
+
* Displays an alert as a toast notification.
|
|
7
|
+
*/
|
|
8
|
+
showAlert(message: string, alertType?: AlertType, duration?: number, iconName?: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
11
|
+
}
|
|
@@ -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
|
+
}
|