@edsis/angular 22.0.73 → 22.0.74
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 +96 -356
- package/fesm2022/edsis-angular-block-shell.mjs.map +1 -1
- package/fesm2022/edsis-angular-block-themes.mjs +72 -100
- package/fesm2022/edsis-angular-block-themes.mjs.map +1 -1
- package/fesm2022/edsis-angular-module-auth.mjs +3 -3
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -1
- package/package.json +5 -5
- package/types/edsis-angular-block-shell.d.ts +10 -31
- package/types/edsis-angular-block-themes.d.ts +4 -5
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edsis/angular",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.74",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=22.0.0",
|
|
6
6
|
"@angular/core": ">=22.0.0",
|
|
7
7
|
"@angular/forms": ">=22.0.0",
|
|
8
8
|
"@angular/router": ">=22.0.0",
|
|
9
9
|
"@tauri-apps/api": ">=2.0.0",
|
|
10
|
-
"@edsis/navigation": "^22.0.
|
|
11
|
-
"@edsis/sdk": "^22.0.
|
|
12
|
-
"@edsis/theme": "^22.0.
|
|
13
|
-
"@edsis/component": "^22.0.
|
|
10
|
+
"@edsis/navigation": "^22.0.74",
|
|
11
|
+
"@edsis/sdk": "^22.0.74",
|
|
12
|
+
"@edsis/theme": "^22.0.74",
|
|
13
|
+
"@edsis/component": "^22.0.74",
|
|
14
14
|
"rxjs": ">=7.8.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { LayoutService } from '@edsis/theme/layout';
|
|
4
4
|
import { NavigationItem, NavigationHorizontalType, NavigationVerticalType, NavigationDockbarMode } from '@edsis/navigation';
|
|
5
5
|
|
|
@@ -26,7 +26,6 @@ declare class BlockShellComponent {
|
|
|
26
26
|
/** @deprecated Tidak lagi dipakai. Navigasi utama shell selalu memakai id `main`. */
|
|
27
27
|
readonly sidebarNavId: _angular_core.InputSignal<string>;
|
|
28
28
|
readonly shellName: _angular_core.InputSignal<string>;
|
|
29
|
-
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
30
29
|
readonly logoText: _angular_core.InputSignal<string>;
|
|
31
30
|
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
32
31
|
readonly userName: _angular_core.InputSignal<string>;
|
|
@@ -41,7 +40,7 @@ declare class BlockShellComponent {
|
|
|
41
40
|
protected readonly footerAction: _angular_core.Signal<BlockShellNavigationFooterActionDirective | undefined>;
|
|
42
41
|
protected readonly navigationPanelActive: _angular_core.Signal<boolean>;
|
|
43
42
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellComponent, never>;
|
|
44
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellComponent, "block-shell", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "
|
|
43
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellComponent, "block-shell", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "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; }; "userPhotoUrl": { "alias": "userPhotoUrl"; "required": false; "isSignal": true; }; "topAriaLabel": { "alias": "topAriaLabel"; "required": false; "isSignal": true; }; "sideAriaLabel": { "alias": "sideAriaLabel"; "required": false; "isSignal": true; }; "contentAriaLabel": { "alias": "contentAriaLabel"; "required": false; "isSignal": true; }; "navigationPanelOpen": { "alias": "navigationPanelOpen"; "required": false; "isSignal": true; }; }, {}, ["navigationPanel", "footerAction"], never, true, never>;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
declare const MAIN_SIDEBAR_NAV_ID = "main";
|
|
@@ -50,11 +49,9 @@ declare function workspaceNavbarId(workspace: string): `${string}-navbar`;
|
|
|
50
49
|
declare class BlockShellTopNavigationComponent {
|
|
51
50
|
private readonly layout;
|
|
52
51
|
private readonly navigationService;
|
|
53
|
-
private readonly
|
|
54
|
-
private readonly themeStyle;
|
|
52
|
+
private readonly themeAppearance;
|
|
55
53
|
readonly navigation: _angular_core.InputSignal<readonly NavigationItem[]>;
|
|
56
54
|
readonly shellName: _angular_core.InputSignal<string>;
|
|
57
|
-
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
58
55
|
readonly logoText: _angular_core.InputSignal<string>;
|
|
59
56
|
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
60
57
|
readonly userName: _angular_core.InputSignal<string>;
|
|
@@ -67,11 +64,10 @@ declare class BlockShellTopNavigationComponent {
|
|
|
67
64
|
private readonly navigationState;
|
|
68
65
|
/** State NavigationService menang atas fallback input dan langsung reaktif saat pengaturan diubah. */
|
|
69
66
|
protected readonly effectiveType: _angular_core.Signal<NavigationHorizontalType>;
|
|
70
|
-
/** Desktop memakai surface nav khusus;
|
|
71
|
-
protected readonly navTypeStyle: _angular_core.Signal<"default" | "
|
|
67
|
+
/** Desktop memakai surface nav khusus; rail mempertahankan style navigation border-rail. */
|
|
68
|
+
protected readonly navTypeStyle: _angular_core.Signal<"default" | "desktop" | "border-rail">;
|
|
72
69
|
/** Tema desktop memakai trigger dashboard tanpa label visual; tema lain mempertahankan label. */
|
|
73
70
|
protected readonly isDesktopTheme: _angular_core.Signal<boolean>;
|
|
74
|
-
protected readonly showDesktopWindowControls: _angular_core.Signal<boolean>;
|
|
75
71
|
protected readonly desktopFlyoutIcon: _angular_core.Signal<"dashboard" | null>;
|
|
76
72
|
protected readonly desktopFlyoutTriggerRadiusClass: _angular_core.Signal<"" | "rounded-base">;
|
|
77
73
|
protected readonly desktopFlyoutTriggerSizeClass: _angular_core.Signal<"" | "size-11">;
|
|
@@ -79,17 +75,15 @@ declare class BlockShellTopNavigationComponent {
|
|
|
79
75
|
protected readonly desktopAvatarRadiusClass: _angular_core.Signal<"rounded-none" | "rounded-base">;
|
|
80
76
|
protected readonly desktopAvatarButtonLabel: _angular_core.Signal<string>;
|
|
81
77
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellTopNavigationComponent, never>;
|
|
82
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellTopNavigationComponent, "block-shell-top-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "
|
|
78
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellTopNavigationComponent, "block-shell-top-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "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; }; "userPhotoUrl": { "alias": "userPhotoUrl"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "flyoutLabel": { "alias": "flyoutLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
declare class BlockShellSidebarNavigationComponent {
|
|
86
82
|
private readonly documentRef;
|
|
87
83
|
private readonly destroyRef;
|
|
88
84
|
private readonly navigationService;
|
|
89
|
-
private readonly layout;
|
|
90
85
|
readonly navigation: _angular_core.InputSignal<readonly NavigationItem[]>;
|
|
91
86
|
readonly shellName: _angular_core.InputSignal<string>;
|
|
92
|
-
readonly brandSubtitle: _angular_core.InputSignal<string>;
|
|
93
87
|
readonly logoText: _angular_core.InputSignal<string>;
|
|
94
88
|
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
95
89
|
readonly userName: _angular_core.InputSignal<string>;
|
|
@@ -105,36 +99,21 @@ declare class BlockShellSidebarNavigationComponent {
|
|
|
105
99
|
protected readonly effectiveType: _angular_core.Signal<NavigationVerticalType>;
|
|
106
100
|
/** Di viewport sempit aside sticky akan mendorong konten; paksa drawer agar overlay. */
|
|
107
101
|
protected readonly dockbarMode: _angular_core.Signal<NavigationDockbarMode>;
|
|
108
|
-
protected readonly navTypeStyle: _angular_core.Signal<"default"
|
|
109
|
-
protected readonly userInitials: _angular_core.Signal<string>;
|
|
102
|
+
protected readonly navTypeStyle: _angular_core.Signal<"default">;
|
|
110
103
|
constructor();
|
|
111
104
|
private readResponsiveCollapsed;
|
|
112
105
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellSidebarNavigationComponent, never>;
|
|
113
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellSidebarNavigationComponent, "block-shell-sidebar-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "
|
|
106
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellSidebarNavigationComponent, "block-shell-sidebar-navigation", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "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; }; "userPhotoUrl": { "alias": "userPhotoUrl"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "footerActionTemplate": { "alias": "footerActionTemplate"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
114
107
|
}
|
|
115
108
|
|
|
116
|
-
declare class BlockShellNavigationHeaderComponent
|
|
117
|
-
private readonly documentRef;
|
|
118
|
-
private readonly nativeHost;
|
|
109
|
+
declare class BlockShellNavigationHeaderComponent {
|
|
119
110
|
readonly name: _angular_core.InputSignal<string>;
|
|
120
|
-
readonly subtitle: _angular_core.InputSignal<string>;
|
|
121
111
|
readonly logoText: _angular_core.InputSignal<string>;
|
|
122
112
|
readonly homePath: _angular_core.InputSignal<`/${string}`>;
|
|
123
113
|
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
124
|
-
/** Menampilkan title aplikasi saja tanpa subtitle/brand. */
|
|
125
|
-
readonly titleOnly: _angular_core.InputSignal<boolean>;
|
|
126
|
-
/** Mengganti logo dan label dengan kontrol tiga titik khusus Desktop. */
|
|
127
|
-
readonly desktopControls: _angular_core.InputSignal<boolean>;
|
|
128
114
|
protected readonly homeLinkAriaLabel: _angular_core.Signal<string>;
|
|
129
|
-
ngAfterViewInit(): void;
|
|
130
|
-
ngOnDestroy(): void;
|
|
131
|
-
private readonly handleWindowControlClick;
|
|
132
|
-
private readonly handleWindowDragStart;
|
|
133
|
-
private isWindowControlAction;
|
|
134
|
-
private emitWindowControl;
|
|
135
|
-
private startDragging;
|
|
136
115
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavigationHeaderComponent, never>;
|
|
137
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationHeaderComponent, "block-shell-navigation-header", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "
|
|
116
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavigationHeaderComponent, "block-shell-navigation-header", never, { "name": { "alias": "name"; "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; }; }, {}, never, never, true, never>;
|
|
138
117
|
}
|
|
139
118
|
|
|
140
119
|
declare class BlockShellNavigationFooterComponent {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { NavigationOrientation, NavigationType, NavigationPosition, NavigationDockbarMode } from '@edsis/navigation/service';
|
|
4
|
-
import {
|
|
5
|
-
import { ThemeMode, ThemeSpace, ThemeRadius,
|
|
4
|
+
import { LayoutSurface, LayoutWidth, LayoutType } from '@edsis/theme/layout/types';
|
|
5
|
+
import { ThemeMode, ThemeSpace, ThemeRadius, ThemeAppearance, ThemeColor, ThemeBrand } from '@edsis/theme/styles';
|
|
6
6
|
|
|
7
7
|
interface AppPreferencesDefaults {
|
|
8
8
|
readonly theme: {
|
|
9
9
|
readonly mode: ThemeMode;
|
|
10
10
|
readonly space: ThemeSpace;
|
|
11
11
|
readonly radius: ThemeRadius;
|
|
12
|
-
readonly
|
|
12
|
+
readonly appearance: ThemeAppearance;
|
|
13
13
|
readonly color: ThemeColor;
|
|
14
14
|
readonly brand: ThemeBrand;
|
|
15
15
|
};
|
|
16
16
|
readonly layout: {
|
|
17
|
-
readonly appearance: LayoutStyle;
|
|
18
17
|
readonly surface: LayoutSurface;
|
|
19
18
|
readonly width: LayoutWidth;
|
|
20
19
|
readonly type: LayoutType;
|
|
@@ -80,7 +79,7 @@ declare class AppPreferencesTriggerDirective {
|
|
|
80
79
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AppPreferencesTriggerDirective, "[appPreferencesTrigger]", never, {}, {}, never, never, true, never>;
|
|
81
80
|
}
|
|
82
81
|
|
|
83
|
-
/**
|
|
82
|
+
/** Registers the immutable runtime device without replacing a stored theme preference. */
|
|
84
83
|
declare function provideRuntimeThemeDevice(): EnvironmentProviders;
|
|
85
84
|
|
|
86
85
|
export { APP_PREFERENCES_CONFIG, AppPreferencesComponent, AppPreferencesPanelService, AppPreferencesTriggerDirective, provideAppPreferences, provideRuntimeThemeDevice };
|