@edsis/angular 22.0.13 → 22.0.23
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/edsis-angular-block-shell.mjs +146 -146
- package/fesm2022/edsis-angular-block-shell.mjs.map +1 -1
- package/fesm2022/edsis-angular-module-auth.mjs +178 -178
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -1
- package/package.json +5 -5
- package/types/edsis-angular-block-shell.d.ts +23 -23
- package/types/edsis-angular-module-auth.d.ts +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { LayoutService } from '@edsis/theme/layout';
|
|
3
|
-
import {
|
|
3
|
+
import { NavigationItem } from '@edsis/navigation';
|
|
4
4
|
|
|
5
5
|
type BlockShellWorkspaceLink = {
|
|
6
6
|
readonly id: string;
|
|
@@ -10,7 +10,7 @@ type BlockShellWorkspaceLink = {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
declare class BlockShellComponent {
|
|
13
|
-
readonly navigation: _angular_core.InputSignal<readonly
|
|
13
|
+
readonly navigation: _angular_core.InputSignal<readonly NavigationItem[]>;
|
|
14
14
|
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
15
15
|
readonly navbarId: _angular_core.InputSignal<string>;
|
|
16
16
|
readonly sidebarNavId: _angular_core.InputSignal<string>;
|
|
@@ -39,24 +39,24 @@ declare class BlockShellLogoComponent {
|
|
|
39
39
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellLogoComponent, "block-shell-logo", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare class
|
|
42
|
+
declare class BlockShellNavigationAvatarComponent {
|
|
43
43
|
readonly initials: _angular_core.InputSignal<string>;
|
|
44
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
45
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
44
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavigationAvatarComponent, never>;
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationAvatarComponent, "block-shell-navigation-avatar", never, { "initials": { "alias": "initials"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
declare class
|
|
48
|
+
declare class BlockShellNavigationFooterComponent {
|
|
49
49
|
readonly name: _angular_core.InputSignal<string>;
|
|
50
50
|
readonly subtitle: _angular_core.InputSignal<string>;
|
|
51
51
|
readonly initials: _angular_core.InputSignal<string | undefined>;
|
|
52
52
|
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
53
53
|
readonly desktopOnly: _angular_core.InputSignal<boolean>;
|
|
54
54
|
protected readonly resolvedInitials: _angular_core.Signal<string>;
|
|
55
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
56
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavigationFooterComponent, never>;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationFooterComponent, "block-shell-navigation-footer", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "desktopOnly": { "alias": "desktopOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare class
|
|
59
|
+
declare class BlockShellNavigationHeaderComponent {
|
|
60
60
|
readonly name: _angular_core.InputSignal<string>;
|
|
61
61
|
readonly subtitle: _angular_core.InputSignal<string>;
|
|
62
62
|
readonly logoText: _angular_core.InputSignal<string>;
|
|
@@ -67,23 +67,23 @@ declare class BlockShellNavHeaderComponent {
|
|
|
67
67
|
protected readonly hasWorkspaceLinks: _angular_core.Signal<boolean>;
|
|
68
68
|
protected readonly workspaceTriggerAriaLabel: _angular_core.Signal<string>;
|
|
69
69
|
protected isActiveWorkspace(path: `/${string}`): boolean;
|
|
70
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
71
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
70
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavigationHeaderComponent, never>;
|
|
71
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationHeaderComponent, "block-shell-navigation-header", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
declare class
|
|
74
|
+
declare class BlockShellNavigationMetaComponent {
|
|
75
75
|
readonly name: _angular_core.InputSignal<string>;
|
|
76
76
|
readonly subtitle: _angular_core.InputSignal<string>;
|
|
77
77
|
readonly containerClass: _angular_core.InputSignal<string>;
|
|
78
78
|
readonly subtitleClass: _angular_core.InputSignal<string>;
|
|
79
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
80
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
79
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavigationMetaComponent, never>;
|
|
80
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationMetaComponent, "block-shell-navigation-meta", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "subtitleClass": { "alias": "subtitleClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
declare class
|
|
83
|
+
declare class BlockShellSidebarNavigationComponent {
|
|
84
84
|
private readonly documentRef;
|
|
85
85
|
private readonly destroyRef;
|
|
86
|
-
readonly navigation: _angular_core.InputSignal<readonly
|
|
86
|
+
readonly navigation: _angular_core.InputSignal<readonly NavigationItem[]>;
|
|
87
87
|
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
88
88
|
readonly sidebarNavId: _angular_core.InputSignal<string>;
|
|
89
89
|
readonly shellName: _angular_core.InputSignal<string>;
|
|
@@ -96,12 +96,12 @@ declare class BlockShellSidebarNavComponent {
|
|
|
96
96
|
protected readonly responsiveCollapsed: _angular_core.WritableSignal<boolean>;
|
|
97
97
|
constructor();
|
|
98
98
|
private readResponsiveCollapsed;
|
|
99
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
100
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
99
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellSidebarNavigationComponent, never>;
|
|
100
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellSidebarNavigationComponent, "block-shell-sidebar-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
declare class
|
|
104
|
-
readonly navigation: _angular_core.InputSignal<readonly
|
|
103
|
+
declare class BlockShellTopNavigationComponent {
|
|
104
|
+
readonly navigation: _angular_core.InputSignal<readonly NavigationItem[]>;
|
|
105
105
|
readonly workspaceLinks: _angular_core.InputSignal<readonly BlockShellWorkspaceLink[]>;
|
|
106
106
|
readonly navbarId: _angular_core.InputSignal<string>;
|
|
107
107
|
readonly shellName: _angular_core.InputSignal<string>;
|
|
@@ -111,9 +111,9 @@ declare class BlockShellTopNavComponent {
|
|
|
111
111
|
readonly userName: _angular_core.InputSignal<string>;
|
|
112
112
|
readonly userPosition: _angular_core.InputSignal<string>;
|
|
113
113
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
114
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
115
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
114
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellTopNavigationComponent, never>;
|
|
115
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellTopNavigationComponent, "block-shell-top-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "workspaceLinks": { "alias": "workspaceLinks"; "required": false; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { BlockShellComponent, BlockShellLogoComponent,
|
|
118
|
+
export { BlockShellComponent, BlockShellLogoComponent, BlockShellNavigationAvatarComponent, BlockShellNavigationFooterComponent, BlockShellNavigationHeaderComponent, BlockShellNavigationMetaComponent, BlockShellSidebarNavigationComponent, BlockShellTopNavigationComponent, MAIN_SIDEBAR_NAV_ID, workspaceNavbarId };
|
|
119
119
|
export type { BlockShellWorkspaceLink };
|
|
@@ -124,8 +124,8 @@ declare class AuthLoginPage {
|
|
|
124
124
|
protected readonly hasInlineError: _angular_core.Signal<boolean>;
|
|
125
125
|
protected readonly inlineErrorMessage: _angular_core.Signal<string | null>;
|
|
126
126
|
protected readonly feedbackMessage: _angular_core.Signal<string | null>;
|
|
127
|
-
protected readonly feedbackTone: _angular_core.Signal<"
|
|
128
|
-
protected readonly fieldTone: _angular_core.Signal<"
|
|
127
|
+
protected readonly feedbackTone: _angular_core.Signal<"success" | "error" | null>;
|
|
128
|
+
protected readonly fieldTone: _angular_core.Signal<"success" | "error" | "idle">;
|
|
129
129
|
protected readonly emailFieldClasses: _angular_core.Signal<"flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base!" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-destructive focus-within:border-destructive focus-within:ring-destructive/20" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-emerald-500 focus-within:border-emerald-500 focus-within:ring-emerald-500/20">;
|
|
130
130
|
protected submit(): void;
|
|
131
131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLoginPage, never>;
|
|
@@ -141,7 +141,7 @@ declare class AuthLogoutPage implements OnInit {
|
|
|
141
141
|
protected readonly messages: _edsis_angular_module_auth.EdsisAuthMessages;
|
|
142
142
|
protected readonly guestHomePath: `/${string}`;
|
|
143
143
|
protected readonly authenticatedHomePath: `/${string}`;
|
|
144
|
-
protected readonly state: _angular_core.WritableSignal<"
|
|
144
|
+
protected readonly state: _angular_core.WritableSignal<"pending" | "success" | "error">;
|
|
145
145
|
protected readonly message: _angular_core.WritableSignal<string>;
|
|
146
146
|
ngOnInit(): void;
|
|
147
147
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLogoutPage, never>;
|
|
@@ -163,7 +163,7 @@ declare class AuthVerifyPage {
|
|
|
163
163
|
private verifySubscription;
|
|
164
164
|
protected readonly guestHomePath: `/${string}`;
|
|
165
165
|
protected readonly authenticatedHomePath: `/${string}`;
|
|
166
|
-
protected readonly state: _angular_core.WritableSignal<"
|
|
166
|
+
protected readonly state: _angular_core.WritableSignal<"pending" | "success" | "error">;
|
|
167
167
|
protected readonly message: _angular_core.WritableSignal<string>;
|
|
168
168
|
protected readonly token: _angular_core.InputSignal<string | null | undefined>;
|
|
169
169
|
constructor();
|