@acorex/platform 20.6.0-next.9 → 20.6.1
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/common/index.d.ts +9 -2
- package/core/index.d.ts +209 -55
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +225 -24
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +49 -4
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +39 -118
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1011 -257
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +2 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +9318 -4439
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +30 -24
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +4 -8
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs +30 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +2081 -1238
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +79 -3
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs +136 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs +1543 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cym8pq0v.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +124 -21
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs +55 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +15 -110
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +658 -45
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -33
- package/layout/components/index.d.ts +301 -60
- package/layout/designer/index.d.ts +1 -1
- package/layout/entity/index.d.ts +650 -86
- package/layout/views/index.d.ts +5 -58
- package/layout/widget-core/index.d.ts +24 -26
- package/layout/widgets/README.md +0 -1
- package/layout/widgets/index.d.ts +134 -84
- package/package.json +1 -1
- package/runtime/index.d.ts +36 -8
- package/themes/default/index.d.ts +29 -73
- package/themes/shared/index.d.ts +1 -39
- package/workflow/index.d.ts +401 -90
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs +0 -52
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs +0 -803
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +0 -1
package/runtime/index.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
+
import { AXPExecuteCommandResult, AXPViewDefinition, AXPMetaData } from '@acorex/platform/core';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
3
|
import { InjectionToken, Type, EnvironmentProviders, Provider } from '@angular/core';
|
|
3
|
-
import { AXPViewDefinition, AXPMetaData } from '@acorex/platform/core';
|
|
4
4
|
import { AXComponent } from '@acorex/cdk/common';
|
|
5
5
|
|
|
6
|
+
type AXPExecuteCommandResultPromise<TResult = any> = Promise<AXPExecuteCommandResult<TResult>>;
|
|
6
7
|
interface AXPCommand<TInput = any, TResult = any> {
|
|
7
|
-
execute(input: TInput):
|
|
8
|
+
execute(input: TInput): AXPExecuteCommandResultPromise<TResult>;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Represents a middleware function in the command execution pipeline.
|
|
13
|
+
*/
|
|
14
|
+
type AXPCommandMiddleware<TInput = any, TResult = any> = (input: TInput, next: (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>) => Promise<AXPExecuteCommandResult<TResult>>;
|
|
15
|
+
/**
|
|
16
|
+
* Creates a composed handler by chaining the provided command middlewares.
|
|
17
|
+
*/
|
|
18
|
+
declare function composeCommandMiddlewares<TInput, TResult>(middlewares: AXPCommandMiddleware<TInput, TResult>[]): (handler: (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>) => (input: TInput) => Promise<AXPExecuteCommandResult<TResult>>;
|
|
12
19
|
|
|
13
20
|
declare class AXPCommandRegistry {
|
|
14
21
|
private registry;
|
|
@@ -29,7 +36,8 @@ declare class AXPCommandExecutor {
|
|
|
29
36
|
private readonly injector;
|
|
30
37
|
private readonly registry;
|
|
31
38
|
private readonly extensions;
|
|
32
|
-
|
|
39
|
+
private readonly commandEvents;
|
|
40
|
+
execute<TInput = any, TResult = any>(key: string, input: TInput): Promise<AXPExecuteCommandResult<TResult> | null>;
|
|
33
41
|
private getPluginMiddlewares;
|
|
34
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandExecutor, never>;
|
|
35
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandExecutor>;
|
|
@@ -44,7 +52,7 @@ declare class AXPCommandService {
|
|
|
44
52
|
exists(key: string): boolean;
|
|
45
53
|
getRegisteredKeys(): string[];
|
|
46
54
|
clear(): void;
|
|
47
|
-
execute<TInput = any, TResult = any>(key: string, input: TInput): Promise<TResult | null>;
|
|
55
|
+
execute<TInput = any, TResult = any>(key: string, input: TInput): Promise<AXPExecuteCommandResult<TResult> | null>;
|
|
48
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandService, never>;
|
|
49
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandService>;
|
|
50
58
|
}
|
|
@@ -61,6 +69,7 @@ type AXPCommandLoader = {
|
|
|
61
69
|
command: () => Type<AXPCommand> | Promise<Type<AXPCommand>>;
|
|
62
70
|
};
|
|
63
71
|
declare function provideCommandSetups(entries: AXPCommandLoader[]): EnvironmentProviders;
|
|
72
|
+
declare function provideCommand(key: string, loader: () => Type<AXPCommand> | Promise<Type<AXPCommand>>): EnvironmentProviders;
|
|
64
73
|
|
|
65
74
|
declare const AXP_COMMAND_MIDDLEWARE_SETUP: InjectionToken<void>;
|
|
66
75
|
type AXPCommandMiddlewareEntry = (AXPCommandMiddleware | {
|
|
@@ -69,6 +78,25 @@ type AXPCommandMiddlewareEntry = (AXPCommandMiddleware | {
|
|
|
69
78
|
})[];
|
|
70
79
|
declare function provideCommandMiddleware(entries: AXPCommandMiddlewareEntry): EnvironmentProviders;
|
|
71
80
|
|
|
81
|
+
type AXPCommandExecutionStage = 'before' | 'after';
|
|
82
|
+
interface AXPCommandExecutionEvent<TInput = unknown, TResult = unknown> {
|
|
83
|
+
stage: AXPCommandExecutionStage;
|
|
84
|
+
key: string;
|
|
85
|
+
input: TInput;
|
|
86
|
+
success?: boolean;
|
|
87
|
+
result?: AXPExecuteCommandResult<TResult> | null;
|
|
88
|
+
error?: unknown;
|
|
89
|
+
}
|
|
90
|
+
type CommandExecutionHandler<TInput, TResult> = (event: AXPCommandExecutionEvent<TInput, TResult>) => void;
|
|
91
|
+
declare class AXPCommandEventsService {
|
|
92
|
+
private readonly broadcast;
|
|
93
|
+
private readonly distributedEvents;
|
|
94
|
+
listen<TInput = unknown, TResult = unknown>(handler: CommandExecutionHandler<TInput, TResult>): () => void;
|
|
95
|
+
emit<TInput = unknown, TResult = unknown>(event: AXPCommandExecutionEvent<TInput, TResult>): Promise<void>;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommandEventsService, never>;
|
|
97
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommandEventsService>;
|
|
98
|
+
}
|
|
99
|
+
|
|
72
100
|
interface AXPQuery<TInput = any, TResult = any> {
|
|
73
101
|
fetch(input: TInput): Promise<TResult>;
|
|
74
102
|
}
|
|
@@ -275,5 +303,5 @@ declare class AXPRuntimeModule {
|
|
|
275
303
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPRuntimeModule>;
|
|
276
304
|
}
|
|
277
305
|
|
|
278
|
-
export { AXPCommandExecutor, AXPCommandRegistry, AXPCommandService, AXPPolicyEngineContext, AXPPolicyEngineDirective, AXPPolicyEngineRegistry, AXPPolicyEngineService, AXPQueryExecutor, AXPQueryRegistry, AXPQueryService, AXPRuntimeModule, AXPViewExecutor, AXPViewRegistry, AXPViewService, AXP_COMMAND_EXTENSION, AXP_COMMAND_MIDDLEWARE_SETUP, AXP_COMMAND_SETUP, AXP_POLICY_ENGINE_MIDDLEWARE_SETUP, AXP_POLICY_EXTENSION, AXP_QUERY_EXTENSION, AXP_QUERY_MIDDLEWARE_SETUP, AXP_QUERY_SETUP, AXP_VIEW_EXTENSION, AXP_VIEW_SETUP, composeCommandMiddlewares, composePolicyEngineMiddlewares, composeQueryMiddlewares, composeViewMiddlewares, provideCommandMiddleware, provideCommandSetups, providePolicySetups, provideQueryMiddleware, provideQuerySetups, provideViewSetup, provideViewSetups };
|
|
279
|
-
export type { AXPCommand, AXPCommandExtension, AXPCommandMiddleware, AXPPolicy, AXPPolicyEngineMiddleware, AXPPolicyExtension, AXPQuery, AXPQueryExtension, AXPQueryMiddleware, AXPViewExtension, AXPViewMiddleware, AXPViewProvider };
|
|
306
|
+
export { AXPCommandEventsService, AXPCommandExecutor, AXPCommandRegistry, AXPCommandService, AXPPolicyEngineContext, AXPPolicyEngineDirective, AXPPolicyEngineRegistry, AXPPolicyEngineService, AXPQueryExecutor, AXPQueryRegistry, AXPQueryService, AXPRuntimeModule, AXPViewExecutor, AXPViewRegistry, AXPViewService, AXP_COMMAND_EXTENSION, AXP_COMMAND_MIDDLEWARE_SETUP, AXP_COMMAND_SETUP, AXP_POLICY_ENGINE_MIDDLEWARE_SETUP, AXP_POLICY_EXTENSION, AXP_QUERY_EXTENSION, AXP_QUERY_MIDDLEWARE_SETUP, AXP_QUERY_SETUP, AXP_VIEW_EXTENSION, AXP_VIEW_SETUP, composeCommandMiddlewares, composePolicyEngineMiddlewares, composeQueryMiddlewares, composeViewMiddlewares, provideCommand, provideCommandMiddleware, provideCommandSetups, providePolicySetups, provideQueryMiddleware, provideQuerySetups, provideViewSetup, provideViewSetups };
|
|
307
|
+
export type { AXPCommand, AXPCommandExecutionEvent, AXPCommandExecutionStage, AXPCommandExtension, AXPCommandMiddleware, AXPExecuteCommandResultPromise, AXPPolicy, AXPPolicyEngineMiddleware, AXPPolicyExtension, AXPQuery, AXPQueryExtension, AXPQueryMiddleware, AXPViewExtension, AXPViewMiddleware, AXPViewProvider };
|
|
@@ -6,12 +6,13 @@ import { AXValueChangedEvent } from '@acorex/cdk/common';
|
|
|
6
6
|
import { AXActionSheetService } from '@acorex/components/action-sheet';
|
|
7
7
|
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXRowCommandItemClickEvent } from '@acorex/components/data-table';
|
|
8
8
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
9
|
-
import { AXPEntityCommandTriggerViewModel, AXPEntityDetailListViewModel } from '@acorex/platform/layout/entity';
|
|
10
9
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
10
|
+
import { AXPDeviceService } from '@acorex/platform/core';
|
|
11
|
+
import { AXPEntityCommandTriggerViewModel, AXPEntityDetailListViewModel } from '@acorex/platform/layout/entity';
|
|
11
12
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
12
13
|
import { AXPMenuItem, AXPSettingService } from '@acorex/platform/common';
|
|
13
14
|
import { AXPTaskBadgeService } from '@acorex/platform/layout/components';
|
|
14
|
-
import { Router } from '@angular/router';
|
|
15
|
+
import { Router, UrlTree } from '@angular/router';
|
|
15
16
|
import { AXDrawerComponent } from '@acorex/components/drawer';
|
|
16
17
|
|
|
17
18
|
declare class AXPEntityDetailListViewComponent {
|
|
@@ -26,9 +27,6 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
26
27
|
family: string;
|
|
27
28
|
size: string;
|
|
28
29
|
}>;
|
|
29
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
30
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
31
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
32
30
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
33
31
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
34
32
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -41,14 +39,6 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
41
39
|
isLightMode: _angular_core.Signal<boolean>;
|
|
42
40
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
43
41
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
44
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
45
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
46
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
47
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
48
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
49
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
50
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
51
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
52
42
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
53
43
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
54
44
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -68,9 +58,6 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
68
58
|
family: string;
|
|
69
59
|
size: string;
|
|
70
60
|
};
|
|
71
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
72
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
73
|
-
isTouchDevice: boolean;
|
|
74
61
|
overlayLoading: boolean;
|
|
75
62
|
navigationLoading: boolean;
|
|
76
63
|
overlayLoadingTaskCount: number;
|
|
@@ -80,6 +67,7 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
80
67
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
81
68
|
isPrinting: boolean;
|
|
82
69
|
}>;
|
|
70
|
+
protected deviceService: AXPDeviceService;
|
|
83
71
|
protected toolbarPrimaryActions: _angular_core.WritableSignal<AXPEntityCommandTriggerViewModel[]>;
|
|
84
72
|
protected toolbarSecondaryActions: _angular_core.WritableSignal<AXPEntityCommandTriggerViewModel[]>;
|
|
85
73
|
vm: AXPEntityDetailListViewModel;
|
|
@@ -119,9 +107,6 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
119
107
|
family: string;
|
|
120
108
|
size: string;
|
|
121
109
|
}>;
|
|
122
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
123
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
124
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
125
110
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
126
111
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
127
112
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -134,14 +119,6 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
134
119
|
isLightMode: _angular_core.Signal<boolean>;
|
|
135
120
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
136
121
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
137
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
138
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
139
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
140
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
141
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
142
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
143
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
144
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
145
122
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
146
123
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
147
124
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -161,9 +138,6 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
161
138
|
family: string;
|
|
162
139
|
size: string;
|
|
163
140
|
};
|
|
164
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
165
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
166
|
-
isTouchDevice: boolean;
|
|
167
141
|
overlayLoading: boolean;
|
|
168
142
|
navigationLoading: boolean;
|
|
169
143
|
overlayLoadingTaskCount: number;
|
|
@@ -218,9 +192,32 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
218
192
|
protected badgeVisible: _angular_core.WritableSignal<boolean>;
|
|
219
193
|
constructor();
|
|
220
194
|
ngOnInit(): Promise<void>;
|
|
221
|
-
onMenuItemClick(item: AXPMenuItem): void;
|
|
195
|
+
onMenuItemClick(item: AXPMenuItem, hasRouterLink?: boolean): void;
|
|
222
196
|
protected sort(items: AXPMenuItem[]): AXPMenuItem[];
|
|
223
197
|
protected getMenuBadge(item: AXPMenuItem): Signal<number>;
|
|
198
|
+
/**
|
|
199
|
+
* Builds a UrlTree that can be consumed by the routerLink directive when the menu item targets
|
|
200
|
+
* an internal route. When the item does not represent an internal route, null is returned so the
|
|
201
|
+
* command execution pipeline remains responsible for navigation.
|
|
202
|
+
*/
|
|
203
|
+
protected getRouterLink(item: AXPMenuItem): UrlTree | null;
|
|
204
|
+
/**
|
|
205
|
+
* Extracts internal navigation data regardless of whether it is provided via the legacy `path`
|
|
206
|
+
* property, a direct navigate command, or the execution command wrapper.
|
|
207
|
+
*/
|
|
208
|
+
private extractRouterNavigation;
|
|
209
|
+
/**
|
|
210
|
+
* Determines whether routerLink can safely be used based on the target path and navigation
|
|
211
|
+
* extras. If the navigation requires additional runtime behaviour (e.g., opening in a new tab),
|
|
212
|
+
* we fallback to the imperative command pipeline.
|
|
213
|
+
*/
|
|
214
|
+
private isRouterLinkCompatible;
|
|
215
|
+
/**
|
|
216
|
+
* Ensures router links include a leading slash while preserving any query parameters or
|
|
217
|
+
* fragments present in the original path.
|
|
218
|
+
*/
|
|
219
|
+
private normalizeRouterPath;
|
|
220
|
+
private isExternalNavigation;
|
|
224
221
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRootLayoutMenuComponent, never>;
|
|
225
222
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootLayoutMenuComponent, "axp-side-menu", never, {}, {}, never, never, true, never>;
|
|
226
223
|
}
|
|
@@ -250,9 +247,6 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
250
247
|
family: string;
|
|
251
248
|
size: string;
|
|
252
249
|
}>;
|
|
253
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
254
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
255
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
256
250
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
257
251
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
258
252
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -265,14 +259,6 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
265
259
|
isLightMode: _angular_core.Signal<boolean>;
|
|
266
260
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
267
261
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
268
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
269
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
270
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
271
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
272
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
273
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
274
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
275
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
276
262
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
277
263
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
278
264
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -292,9 +278,6 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
292
278
|
family: string;
|
|
293
279
|
size: string;
|
|
294
280
|
};
|
|
295
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
296
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
297
|
-
isTouchDevice: boolean;
|
|
298
281
|
overlayLoading: boolean;
|
|
299
282
|
navigationLoading: boolean;
|
|
300
283
|
overlayLoadingTaskCount: number;
|
|
@@ -335,9 +318,6 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
335
318
|
family: string;
|
|
336
319
|
size: string;
|
|
337
320
|
}>;
|
|
338
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
339
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
340
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
341
321
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
342
322
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
343
323
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -350,14 +330,6 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
350
330
|
isLightMode: _angular_core.Signal<boolean>;
|
|
351
331
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
352
332
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
353
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
354
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
355
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
356
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
357
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
358
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
359
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
360
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
361
333
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
362
334
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
363
335
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -377,9 +349,6 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
377
349
|
family: string;
|
|
378
350
|
size: string;
|
|
379
351
|
};
|
|
380
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
381
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
382
|
-
isTouchDevice: boolean;
|
|
383
352
|
overlayLoading: boolean;
|
|
384
353
|
navigationLoading: boolean;
|
|
385
354
|
overlayLoadingTaskCount: number;
|
|
@@ -389,6 +358,7 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
389
358
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
390
359
|
isPrinting: boolean;
|
|
391
360
|
}>;
|
|
361
|
+
protected deviceService: AXPDeviceService;
|
|
392
362
|
protected router: Router;
|
|
393
363
|
constructor();
|
|
394
364
|
protected handleResizingEnded(e: AXValueChangedEvent<number>): void;
|
|
@@ -405,9 +375,6 @@ declare class AXPRootLayoutComponent {
|
|
|
405
375
|
family: string;
|
|
406
376
|
size: string;
|
|
407
377
|
}>;
|
|
408
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
409
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
410
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
411
378
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
412
379
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
413
380
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -420,14 +387,6 @@ declare class AXPRootLayoutComponent {
|
|
|
420
387
|
isLightMode: _angular_core.Signal<boolean>;
|
|
421
388
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
422
389
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
423
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
424
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
425
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
426
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
427
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
428
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
429
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
430
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
431
390
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
432
391
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
433
392
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -447,9 +406,6 @@ declare class AXPRootLayoutComponent {
|
|
|
447
406
|
family: string;
|
|
448
407
|
size: string;
|
|
449
408
|
};
|
|
450
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
451
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
452
|
-
isTouchDevice: boolean;
|
|
453
409
|
overlayLoading: boolean;
|
|
454
410
|
navigationLoading: boolean;
|
|
455
411
|
overlayLoadingTaskCount: number;
|
package/themes/shared/index.d.ts
CHANGED
|
@@ -26,16 +26,6 @@ declare enum AXPThemeMode {
|
|
|
26
26
|
Dark = "dark",
|
|
27
27
|
System = "system"
|
|
28
28
|
}
|
|
29
|
-
declare enum AXPScreenSize {
|
|
30
|
-
Small = "small",
|
|
31
|
-
Medium = "medium",
|
|
32
|
-
Large = "large"
|
|
33
|
-
}
|
|
34
|
-
declare enum AXPDeviceType {
|
|
35
|
-
Mobile = "mobile",
|
|
36
|
-
Tablet = "tablet",
|
|
37
|
-
Desktop = "desktop"
|
|
38
|
-
}
|
|
39
29
|
declare enum AXPSideMenuState {
|
|
40
30
|
Opened = "opened",
|
|
41
31
|
Closed = "closed"
|
|
@@ -54,9 +44,6 @@ declare class AXPThemeSlotComponent {
|
|
|
54
44
|
family: string;
|
|
55
45
|
size: string;
|
|
56
46
|
}>;
|
|
57
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
58
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
59
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
60
47
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
61
48
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
62
49
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -69,14 +56,6 @@ declare class AXPThemeSlotComponent {
|
|
|
69
56
|
isLightMode: _angular_core.Signal<boolean>;
|
|
70
57
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
71
58
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
72
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
73
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
74
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
75
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
76
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
77
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
78
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
79
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
80
59
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
81
60
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
82
61
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -96,9 +75,6 @@ declare class AXPThemeSlotComponent {
|
|
|
96
75
|
family: string;
|
|
97
76
|
size: string;
|
|
98
77
|
};
|
|
99
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
100
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
101
|
-
isTouchDevice: boolean;
|
|
102
78
|
overlayLoading: boolean;
|
|
103
79
|
navigationLoading: boolean;
|
|
104
80
|
overlayLoadingTaskCount: number;
|
|
@@ -129,9 +105,6 @@ declare const AXPLayoutThemeService: _angular_core.Type<{
|
|
|
129
105
|
family: string;
|
|
130
106
|
size: string;
|
|
131
107
|
}>;
|
|
132
|
-
screenSize: _angular_core.Signal<AXPScreenSize>;
|
|
133
|
-
deviceType: _angular_core.Signal<AXPDeviceType>;
|
|
134
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
135
108
|
overlayLoading: _angular_core.Signal<boolean>;
|
|
136
109
|
navigationLoading: _angular_core.Signal<boolean>;
|
|
137
110
|
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
@@ -144,14 +117,6 @@ declare const AXPLayoutThemeService: _angular_core.Type<{
|
|
|
144
117
|
isLightMode: _angular_core.Signal<boolean>;
|
|
145
118
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
146
119
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
147
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
148
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
149
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
150
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
151
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
152
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
153
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
154
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
155
120
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
156
121
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
157
122
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
@@ -171,9 +136,6 @@ declare const AXPLayoutThemeService: _angular_core.Type<{
|
|
|
171
136
|
family: string;
|
|
172
137
|
size: string;
|
|
173
138
|
};
|
|
174
|
-
screenSize: AXPScreenSize;
|
|
175
|
-
deviceType: AXPDeviceType;
|
|
176
|
-
isTouchDevice: boolean;
|
|
177
139
|
overlayLoading: boolean;
|
|
178
140
|
navigationLoading: boolean;
|
|
179
141
|
overlayLoadingTaskCount: number;
|
|
@@ -204,5 +166,5 @@ declare class AXPThemesSharedModule {
|
|
|
204
166
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPThemesSharedModule>;
|
|
205
167
|
}
|
|
206
168
|
|
|
207
|
-
export {
|
|
169
|
+
export { AXPLayoutThemeService, AXPMenuOrientation, AXPSideMenuState, AXPThemeLayoutSetting, AXPThemeMode, AXPThemePaletteProviderDefault, AXPThemeSlotComponent, AXPThemesSharedModule, AXP_THEME_PALETTE_PROVIDER };
|
|
208
170
|
export type { AXPThemePalette, AXPThemePaletteColors, AXPThemePaletteProvider };
|