@acorex/platform 0.0.0-ACOREX
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/README.md +7 -0
- package/auth/README.md +3 -0
- package/common/README.md +3 -0
- package/core/README.md +4 -0
- package/fesm2022/acorex-platform-auth.mjs +1362 -0
- package/fesm2022/acorex-platform-auth.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs +127 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +4601 -0
- package/fesm2022/acorex-platform-common.mjs.map +1 -0
- package/fesm2022/acorex-platform-core.mjs +4374 -0
- package/fesm2022/acorex-platform-core.mjs.map +1 -0
- package/fesm2022/acorex-platform-domain.mjs +3234 -0
- package/fesm2022/acorex-platform-domain.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-builder.mjs +2847 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs +121 -0
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +8583 -0
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-designer.mjs +2474 -0
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +19150 -0
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-views.mjs +1468 -0
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2950 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs +72 -0
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-9uCkMxcc.mjs +158 -0
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-9uCkMxcc.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs +29 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs +172 -0
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGQqY5Mw.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGQqY5Mw.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs +274 -0
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs +64 -0
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs +34 -0
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +29791 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -0
- package/fesm2022/acorex-platform-native.mjs +155 -0
- package/fesm2022/acorex-platform-native.mjs.map +1 -0
- package/fesm2022/acorex-platform-runtime-catalog-command-definition.mjs +20 -0
- package/fesm2022/acorex-platform-runtime-catalog-command-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-runtime-catalog-query-definition.mjs +20 -0
- package/fesm2022/acorex-platform-runtime-catalog-query-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-runtime.mjs +899 -0
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cvvr4HnL.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cvvr4HnL.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-TYoLN1Jq.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-TYoLN1Jq.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-C2z5Lq9y.mjs +237 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-C2z5Lq9y.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs +31 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs +25 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2589 -0
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs +55 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs +57 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs +168 -0
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-CHfrTtol.mjs +65 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-CHfrTtol.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BSmvnUVq.mjs +64 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BSmvnUVq.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +2125 -0
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -0
- package/fesm2022/acorex-platform-workflow.mjs +2501 -0
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -0
- package/fesm2022/acorex-platform.mjs +6 -0
- package/fesm2022/acorex-platform.mjs.map +1 -0
- package/layout/builder/README.md +1578 -0
- package/layout/components/README.md +3 -0
- package/layout/designer/README.md +4 -0
- package/layout/entity/README.md +4 -0
- package/layout/views/README.md +3 -0
- package/layout/widget-core/README.md +4 -0
- package/layout/widgets/README.md +3 -0
- package/native/README.md +4 -0
- package/package.json +103 -0
- package/runtime/README.md +3 -0
- package/themes/default/README.md +3 -0
- package/themes/shared/README.md +3 -0
- package/types/acorex-platform-auth.d.ts +680 -0
- package/types/acorex-platform-common.d.ts +2926 -0
- package/types/acorex-platform-core.d.ts +2896 -0
- package/types/acorex-platform-domain.d.ts +2353 -0
- package/types/acorex-platform-layout-builder.d.ts +926 -0
- package/types/acorex-platform-layout-components.d.ts +2903 -0
- package/types/acorex-platform-layout-designer.d.ts +422 -0
- package/types/acorex-platform-layout-entity.d.ts +3189 -0
- package/types/acorex-platform-layout-views.d.ts +667 -0
- package/types/acorex-platform-layout-widget-core.d.ts +1086 -0
- package/types/acorex-platform-layout-widgets.d.ts +5478 -0
- package/types/acorex-platform-native.d.ts +28 -0
- package/types/acorex-platform-runtime-catalog-command-definition.d.ts +137 -0
- package/types/acorex-platform-runtime-catalog-query-definition.d.ts +125 -0
- package/types/acorex-platform-runtime.d.ts +470 -0
- package/types/acorex-platform-themes-default.d.ts +573 -0
- package/types/acorex-platform-themes-shared.d.ts +170 -0
- package/types/acorex-platform-workflow.d.ts +1806 -0
- package/types/acorex-platform.d.ts +2 -0
- package/workflow/README.md +4 -0
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
import * as _ngrx_signals from '@ngrx/signals';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { Signal, OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
5
|
+
import { AXClickEvent } from '@acorex/cdk/common';
|
|
6
|
+
import * as i1 from '@acorex/cdk/drawer';
|
|
7
|
+
import { AXDrawerItemDirective } from '@acorex/cdk/drawer';
|
|
8
|
+
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
9
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPDeviceService, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPBroadcastEventService, AXPContextChangeEvent } from '@acorex/platform/core';
|
|
10
|
+
import { AXPCommandService, AXPPolicyEngineService } from '@acorex/platform/runtime';
|
|
11
|
+
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
|
12
|
+
import { AXToastService } from '@acorex/components/toast';
|
|
13
|
+
import { AXFormatService } from '@acorex/core/format';
|
|
14
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
15
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
|
16
|
+
import { AXPHomePageService } from '@acorex/platform/common';
|
|
17
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
|
+
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
19
|
+
import { AXPWidgetNode, AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent } from '@acorex/platform/layout/widget-core';
|
|
20
|
+
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
21
|
+
import { AXFormComponent } from '@acorex/components/form';
|
|
22
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
23
|
+
|
|
24
|
+
declare abstract class AXPPageLayoutBase {
|
|
25
|
+
abstract primaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
26
|
+
abstract secondaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
27
|
+
abstract titleActions: Signal<AXPActionMenuItem[]>;
|
|
28
|
+
abstract hasTitleActions: Signal<boolean>;
|
|
29
|
+
abstract hasPrimaryActions: Signal<boolean>;
|
|
30
|
+
abstract hasSecondaryActions: Signal<boolean>;
|
|
31
|
+
abstract hasActions: Signal<boolean>;
|
|
32
|
+
abstract breadcrumbs: Signal<AXPBreadcrumbItem[]>;
|
|
33
|
+
abstract title: Signal<string>;
|
|
34
|
+
abstract titleIcon: Signal<string | null>;
|
|
35
|
+
abstract hasTitle: Signal<boolean>;
|
|
36
|
+
abstract hasTitleIcon: Signal<boolean>;
|
|
37
|
+
abstract hasDescription: Signal<boolean>;
|
|
38
|
+
abstract description: Signal<string | null>;
|
|
39
|
+
abstract hasBreadcrumbs: Signal<boolean>;
|
|
40
|
+
abstract hasBadge: Signal<boolean>;
|
|
41
|
+
abstract badge: Signal<AXPBadge | null>;
|
|
42
|
+
abstract hasStatus: Signal<boolean>;
|
|
43
|
+
abstract status: Signal<AXPPageStatus | null>;
|
|
44
|
+
abstract hasBackButton: Signal<boolean>;
|
|
45
|
+
abstract backButton: Signal<AXPBackButton | null>;
|
|
46
|
+
abstract onBackButtonClick: () => void | Promise<void>;
|
|
47
|
+
abstract startSideToggle: () => void | Promise<void>;
|
|
48
|
+
abstract execute: (command: AXPExecuteCommand) => void | Promise<void>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class AXPPageLayoutComponent {
|
|
52
|
+
#private;
|
|
53
|
+
protected page: AXPPageLayoutBase | null;
|
|
54
|
+
protected layoutService: {
|
|
55
|
+
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
56
|
+
currentPalette: _angular_core.Signal<string>;
|
|
57
|
+
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
58
|
+
font: _ngrx_signals.DeepSignal<{
|
|
59
|
+
family: string;
|
|
60
|
+
size: string;
|
|
61
|
+
}>;
|
|
62
|
+
overlayLoading: _angular_core.Signal<boolean>;
|
|
63
|
+
navigationLoading: _angular_core.Signal<boolean>;
|
|
64
|
+
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
65
|
+
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
66
|
+
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
67
|
+
sideMenuWidth: _angular_core.Signal<number>;
|
|
68
|
+
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
69
|
+
isPrinting: _angular_core.Signal<boolean>;
|
|
70
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
71
|
+
isLightMode: _angular_core.Signal<boolean>;
|
|
72
|
+
isSystemMode: _angular_core.Signal<boolean>;
|
|
73
|
+
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
74
|
+
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
75
|
+
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
76
|
+
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
77
|
+
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
78
|
+
openSideMenu: () => void;
|
|
79
|
+
closeSideMenu: () => void;
|
|
80
|
+
setSideMenuWidth: (width: number) => void;
|
|
81
|
+
toggleSideMenu: () => void;
|
|
82
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
83
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
84
|
+
loadSettings: () => Promise<void>;
|
|
85
|
+
} & _ngrx_signals.StateSource<{
|
|
86
|
+
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
87
|
+
currentPalette: string;
|
|
88
|
+
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
89
|
+
font: {
|
|
90
|
+
family: string;
|
|
91
|
+
size: string;
|
|
92
|
+
};
|
|
93
|
+
overlayLoading: boolean;
|
|
94
|
+
navigationLoading: boolean;
|
|
95
|
+
overlayLoadingTaskCount: number;
|
|
96
|
+
navigationLoadingTaskCount: number;
|
|
97
|
+
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
98
|
+
sideMenuWidth: number;
|
|
99
|
+
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
100
|
+
isPrinting: boolean;
|
|
101
|
+
}>;
|
|
102
|
+
protected deviceService: AXPDeviceService;
|
|
103
|
+
protected startSideDrawer: _angular_core.Signal<AXDrawerItemDirective | undefined>;
|
|
104
|
+
protected workflow: AXPWorkflowService;
|
|
105
|
+
protected commandService: AXPCommandService;
|
|
106
|
+
private checkScrollableContent;
|
|
107
|
+
protected handleActionClick(item: AXPActionMenuItem): void;
|
|
108
|
+
toggleStartSide(): void;
|
|
109
|
+
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
110
|
+
protected handleBackdropClick(e: AXClickEvent): boolean;
|
|
111
|
+
protected execute(command: AXPExecuteCommand): Promise<void>;
|
|
112
|
+
protected handleOnBackdropClick(event: MouseEvent): void;
|
|
113
|
+
protected getEntityData(): Record<string, any> | null;
|
|
114
|
+
protected handleStatusTransition(transition: any): Promise<void>;
|
|
115
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPageLayoutComponent, never>;
|
|
116
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPageLayoutComponent, "axp-page-layout", never, {}, {}, never, ["axp-layout-start-side", "axp-page-toolbar", "axp-page-content", "axp-page-footer"], true, [{ directive: typeof i1.AXDrawerContainerDirective; inputs: {}; outputs: {}; }]>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
120
|
+
#private;
|
|
121
|
+
protected readonly layoutService: {
|
|
122
|
+
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
123
|
+
currentPalette: _angular_core.Signal<string>;
|
|
124
|
+
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
125
|
+
font: _ngrx_signals.DeepSignal<{
|
|
126
|
+
family: string;
|
|
127
|
+
size: string;
|
|
128
|
+
}>;
|
|
129
|
+
overlayLoading: _angular_core.Signal<boolean>;
|
|
130
|
+
navigationLoading: _angular_core.Signal<boolean>;
|
|
131
|
+
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
132
|
+
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
133
|
+
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
134
|
+
sideMenuWidth: _angular_core.Signal<number>;
|
|
135
|
+
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
136
|
+
isPrinting: _angular_core.Signal<boolean>;
|
|
137
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
138
|
+
isLightMode: _angular_core.Signal<boolean>;
|
|
139
|
+
isSystemMode: _angular_core.Signal<boolean>;
|
|
140
|
+
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
141
|
+
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
142
|
+
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
143
|
+
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
144
|
+
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
145
|
+
openSideMenu: () => void;
|
|
146
|
+
closeSideMenu: () => void;
|
|
147
|
+
setSideMenuWidth: (width: number) => void;
|
|
148
|
+
toggleSideMenu: () => void;
|
|
149
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
150
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
151
|
+
loadSettings: () => Promise<void>;
|
|
152
|
+
} & _ngrx_signals.StateSource<{
|
|
153
|
+
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
154
|
+
currentPalette: string;
|
|
155
|
+
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
156
|
+
font: {
|
|
157
|
+
family: string;
|
|
158
|
+
size: string;
|
|
159
|
+
};
|
|
160
|
+
overlayLoading: boolean;
|
|
161
|
+
navigationLoading: boolean;
|
|
162
|
+
overlayLoadingTaskCount: number;
|
|
163
|
+
navigationLoadingTaskCount: number;
|
|
164
|
+
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
165
|
+
sideMenuWidth: number;
|
|
166
|
+
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
167
|
+
isPrinting: boolean;
|
|
168
|
+
}>;
|
|
169
|
+
protected readonly sessionService: AXPSessionService;
|
|
170
|
+
protected readonly translateService: AXTranslationService;
|
|
171
|
+
protected readonly formatService: AXFormatService;
|
|
172
|
+
protected readonly toastService: AXToastService;
|
|
173
|
+
protected readonly homePageService: AXPHomePageService;
|
|
174
|
+
protected readonly policyService: AXPPolicyEngineService;
|
|
175
|
+
private _updateTrigger;
|
|
176
|
+
protected updateTrigger: _angular_core.Signal<number>;
|
|
177
|
+
protected recompute(): void;
|
|
178
|
+
ngOnInit(): Promise<void>;
|
|
179
|
+
title: _angular_core.WritableSignal<string>;
|
|
180
|
+
titleIcon: _angular_core.WritableSignal<string | null>;
|
|
181
|
+
protected getPageTitle(): string | Promise<string>;
|
|
182
|
+
protected getPageIcon(): string | null | Promise<string | null>;
|
|
183
|
+
hasTitle: _angular_core.Signal<boolean>;
|
|
184
|
+
hasTitleIcon: _angular_core.Signal<boolean>;
|
|
185
|
+
description: _angular_core.WritableSignal<string | null>;
|
|
186
|
+
hasDescription: _angular_core.Signal<boolean>;
|
|
187
|
+
protected getPageDescription(): string | null | Promise<string | null>;
|
|
188
|
+
private defaultBreadCrumbs;
|
|
189
|
+
breadcrumbs: _angular_core.WritableSignal<AXPBreadcrumbItem[]>;
|
|
190
|
+
hasBreadcrumbs: _angular_core.Signal<boolean>;
|
|
191
|
+
protected getPageBreadcrumbs(): AXPBreadcrumbItem[] | Promise<AXPBreadcrumbItem[]>;
|
|
192
|
+
badge: _angular_core.WritableSignal<AXPBadge | null>;
|
|
193
|
+
hasBadge: _angular_core.Signal<boolean>;
|
|
194
|
+
protected getPageBadge(): AXPBadge | null | Promise<AXPBadge | null>;
|
|
195
|
+
status: _angular_core.WritableSignal<AXPPageStatus | null>;
|
|
196
|
+
hasStatus: _angular_core.Signal<boolean>;
|
|
197
|
+
protected getPageStatus(): AXPPageStatus | null | Promise<AXPPageStatus | null>;
|
|
198
|
+
protected layout: _angular_core.Signal<AXPPageLayoutComponent | undefined>;
|
|
199
|
+
protected toggleEndSide(): void;
|
|
200
|
+
protected toggleStartSide(): void;
|
|
201
|
+
primaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
202
|
+
hasPrimaryActions: _angular_core.Signal<boolean>;
|
|
203
|
+
getPrimaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
204
|
+
secondaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
205
|
+
hasSecondaryActions: _angular_core.Signal<boolean>;
|
|
206
|
+
hasActions: _angular_core.Signal<boolean>;
|
|
207
|
+
getSecondaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
208
|
+
titleActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
209
|
+
hasTitleActions: _angular_core.Signal<boolean>;
|
|
210
|
+
protected getTitleActions(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
211
|
+
backButton: _angular_core.WritableSignal<AXPBackButton | null>;
|
|
212
|
+
hasBackButton: _angular_core.Signal<boolean>;
|
|
213
|
+
protected getBackButton(): (AXPBackButton | null) | Promise<AXPBackButton | null>;
|
|
214
|
+
execute(command: AXPExecuteCommand): void | Promise<void>;
|
|
215
|
+
startSideToggle(): void | Promise<void>;
|
|
216
|
+
onBackButtonClick(): void | Promise<void>;
|
|
217
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPageLayoutBaseComponent, never>;
|
|
218
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPageLayoutBaseComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
declare abstract class AXPPopupLayoutBase {
|
|
222
|
+
abstract primaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
223
|
+
abstract secondaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
224
|
+
abstract titleActions: Signal<AXPActionMenuItem[]>;
|
|
225
|
+
abstract hasTitleActions: Signal<boolean>;
|
|
226
|
+
abstract hasPrimaryActions: Signal<boolean>;
|
|
227
|
+
abstract hasSecondaryActions: Signal<boolean>;
|
|
228
|
+
abstract hasActions: Signal<boolean>;
|
|
229
|
+
abstract title: Signal<string>;
|
|
230
|
+
abstract hasTitle: Signal<boolean>;
|
|
231
|
+
abstract execute: (command: AXPExecuteCommand) => void | Promise<void>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare class AXPPopupLayoutComponent {
|
|
235
|
+
#private;
|
|
236
|
+
protected popup: AXPPopupLayoutBase;
|
|
237
|
+
protected layoutService: {
|
|
238
|
+
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
239
|
+
currentPalette: _angular_core.Signal<string>;
|
|
240
|
+
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
241
|
+
font: _ngrx_signals.DeepSignal<{
|
|
242
|
+
family: string;
|
|
243
|
+
size: string;
|
|
244
|
+
}>;
|
|
245
|
+
overlayLoading: _angular_core.Signal<boolean>;
|
|
246
|
+
navigationLoading: _angular_core.Signal<boolean>;
|
|
247
|
+
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
248
|
+
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
249
|
+
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
250
|
+
sideMenuWidth: _angular_core.Signal<number>;
|
|
251
|
+
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
252
|
+
isPrinting: _angular_core.Signal<boolean>;
|
|
253
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
254
|
+
isLightMode: _angular_core.Signal<boolean>;
|
|
255
|
+
isSystemMode: _angular_core.Signal<boolean>;
|
|
256
|
+
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
257
|
+
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
258
|
+
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
259
|
+
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
260
|
+
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
261
|
+
openSideMenu: () => void;
|
|
262
|
+
closeSideMenu: () => void;
|
|
263
|
+
setSideMenuWidth: (width: number) => void;
|
|
264
|
+
toggleSideMenu: () => void;
|
|
265
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
266
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
267
|
+
loadSettings: () => Promise<void>;
|
|
268
|
+
} & _ngrx_signals.StateSource<{
|
|
269
|
+
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
270
|
+
currentPalette: string;
|
|
271
|
+
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
272
|
+
font: {
|
|
273
|
+
family: string;
|
|
274
|
+
size: string;
|
|
275
|
+
};
|
|
276
|
+
overlayLoading: boolean;
|
|
277
|
+
navigationLoading: boolean;
|
|
278
|
+
overlayLoadingTaskCount: number;
|
|
279
|
+
navigationLoadingTaskCount: number;
|
|
280
|
+
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
281
|
+
sideMenuWidth: number;
|
|
282
|
+
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
283
|
+
isPrinting: boolean;
|
|
284
|
+
}>;
|
|
285
|
+
protected workflow: AXPWorkflowService;
|
|
286
|
+
private checkScrollableContent;
|
|
287
|
+
protected handleActionClick(item: AXPActionMenuItem): void;
|
|
288
|
+
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
289
|
+
protected handleBackdropClick(e: AXClickEvent): boolean;
|
|
290
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPopupLayoutComponent, never>;
|
|
291
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPopupLayoutComponent, "axp-popup-layout", never, {}, {}, never, ["axp-page-content"], true, never>;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
declare abstract class AXPPopupLayoutBaseComponent extends AXBasePageComponent {
|
|
295
|
+
#private;
|
|
296
|
+
protected readonly layoutService: {
|
|
297
|
+
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
298
|
+
currentPalette: _angular_core.Signal<string>;
|
|
299
|
+
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
300
|
+
font: _ngrx_signals.DeepSignal<{
|
|
301
|
+
family: string;
|
|
302
|
+
size: string;
|
|
303
|
+
}>;
|
|
304
|
+
overlayLoading: _angular_core.Signal<boolean>;
|
|
305
|
+
navigationLoading: _angular_core.Signal<boolean>;
|
|
306
|
+
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
307
|
+
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
308
|
+
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
309
|
+
sideMenuWidth: _angular_core.Signal<number>;
|
|
310
|
+
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
311
|
+
isPrinting: _angular_core.Signal<boolean>;
|
|
312
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
313
|
+
isLightMode: _angular_core.Signal<boolean>;
|
|
314
|
+
isSystemMode: _angular_core.Signal<boolean>;
|
|
315
|
+
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
316
|
+
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
317
|
+
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
318
|
+
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
319
|
+
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
320
|
+
openSideMenu: () => void;
|
|
321
|
+
closeSideMenu: () => void;
|
|
322
|
+
setSideMenuWidth: (width: number) => void;
|
|
323
|
+
toggleSideMenu: () => void;
|
|
324
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
325
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
326
|
+
loadSettings: () => Promise<void>;
|
|
327
|
+
} & _ngrx_signals.StateSource<{
|
|
328
|
+
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
329
|
+
currentPalette: string;
|
|
330
|
+
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
331
|
+
font: {
|
|
332
|
+
family: string;
|
|
333
|
+
size: string;
|
|
334
|
+
};
|
|
335
|
+
overlayLoading: boolean;
|
|
336
|
+
navigationLoading: boolean;
|
|
337
|
+
overlayLoadingTaskCount: number;
|
|
338
|
+
navigationLoadingTaskCount: number;
|
|
339
|
+
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
340
|
+
sideMenuWidth: number;
|
|
341
|
+
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
342
|
+
isPrinting: boolean;
|
|
343
|
+
}>;
|
|
344
|
+
protected readonly sessionService: AXPSessionService;
|
|
345
|
+
protected readonly translateService: AXTranslationService;
|
|
346
|
+
protected readonly formatService: AXFormatService;
|
|
347
|
+
protected readonly toastService: AXToastService;
|
|
348
|
+
protected readonly homePageService: AXPHomePageService;
|
|
349
|
+
private _updateTrigger;
|
|
350
|
+
protected updateTrigger: _angular_core.Signal<number>;
|
|
351
|
+
protected recompute(): void;
|
|
352
|
+
ngOnInit(): Promise<void>;
|
|
353
|
+
title: _angular_core.WritableSignal<string>;
|
|
354
|
+
protected getPopupTitle(): string | Promise<string>;
|
|
355
|
+
hasTitle: _angular_core.Signal<boolean>;
|
|
356
|
+
protected layout: _angular_core.Signal<AXPPopupLayoutComponent | undefined>;
|
|
357
|
+
primaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
358
|
+
hasPrimaryActions: _angular_core.Signal<boolean>;
|
|
359
|
+
protected getPrimaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
360
|
+
secondaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
361
|
+
hasSecondaryActions: _angular_core.Signal<boolean>;
|
|
362
|
+
protected getSecondaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
363
|
+
hasActions: _angular_core.Signal<boolean>;
|
|
364
|
+
titleActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
365
|
+
hasTitleActions: _angular_core.Signal<boolean>;
|
|
366
|
+
protected getTitleActions(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
367
|
+
execute(command: AXPExecuteCommand): void | Promise<void>;
|
|
368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPopupLayoutBaseComponent, never>;
|
|
369
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPopupLayoutBaseComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
interface AXPLayoutDetailsViewAction extends AXPActionMenuItem {
|
|
373
|
+
zone: 'header' | 'footer';
|
|
374
|
+
priority: 'primary' | 'secondary';
|
|
375
|
+
}
|
|
376
|
+
type AXPPageContentItem = AXPWidgetNode | {
|
|
377
|
+
type: 'component';
|
|
378
|
+
componentKey: string;
|
|
379
|
+
pageConfig?: Record<string, unknown>;
|
|
380
|
+
};
|
|
381
|
+
interface AXPLayoutDetailsViewTabItem {
|
|
382
|
+
id: string;
|
|
383
|
+
title: string;
|
|
384
|
+
icon?: string;
|
|
385
|
+
visible?: boolean;
|
|
386
|
+
disabled?: boolean;
|
|
387
|
+
active?: boolean;
|
|
388
|
+
content: AXPWidgetNode[];
|
|
389
|
+
}
|
|
390
|
+
interface AXPLayoutDetailsViewPage {
|
|
391
|
+
id: string;
|
|
392
|
+
title: string;
|
|
393
|
+
label: string;
|
|
394
|
+
description?: string;
|
|
395
|
+
icon?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Content can be either widget nodes or component references
|
|
398
|
+
*/
|
|
399
|
+
content?: AXPPageContentItem[];
|
|
400
|
+
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
401
|
+
/**
|
|
402
|
+
* Static actions array (legacy, use getActions for reactive actions)
|
|
403
|
+
*/
|
|
404
|
+
actions?: AXPLayoutDetailsViewAction[];
|
|
405
|
+
/**
|
|
406
|
+
* Function to get actions dynamically (supports reactive updates from component instances)
|
|
407
|
+
*/
|
|
408
|
+
getActions?: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
409
|
+
isPrimary?: boolean;
|
|
410
|
+
isReadonly?: boolean;
|
|
411
|
+
settings?: {
|
|
412
|
+
commands?: {
|
|
413
|
+
accept?: {
|
|
414
|
+
title: string;
|
|
415
|
+
icon?: string;
|
|
416
|
+
color: string;
|
|
417
|
+
visible?: string | boolean;
|
|
418
|
+
command: AXPExecuteCommand;
|
|
419
|
+
};
|
|
420
|
+
reject?: {
|
|
421
|
+
title: string;
|
|
422
|
+
icon?: string;
|
|
423
|
+
color: string;
|
|
424
|
+
visible?: string | boolean;
|
|
425
|
+
command: AXPExecuteCommand;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
load?: (params?: Record<string, any>) => Promise<AXPExecuteCommandResult>;
|
|
430
|
+
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
431
|
+
}
|
|
432
|
+
interface AXPLayoutDetailsViewAdapter {
|
|
433
|
+
name: string;
|
|
434
|
+
title?: string;
|
|
435
|
+
label?: string;
|
|
436
|
+
description?: string;
|
|
437
|
+
icon?: string;
|
|
438
|
+
actions?: AXPLayoutDetailsViewAction[];
|
|
439
|
+
breadcrumbs?: AXPBreadcrumbItem[];
|
|
440
|
+
pages: AXPLayoutDetailsViewPage[];
|
|
441
|
+
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
442
|
+
load?: (params?: Record<string, unknown>) => Promise<AXPExecuteCommandResult>;
|
|
443
|
+
exitUrl?: string;
|
|
444
|
+
getPageBadge?: (context: Record<string, unknown>, isDirty: boolean) => Promise<AXPBadge | null>;
|
|
445
|
+
getPageStatus?: (context: Record<string, unknown>, currentPage: AXPLayoutDetailsViewPage | null) => Promise<AXPPageStatus | null>;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
449
|
+
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
450
|
+
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
451
|
+
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
452
|
+
context: _angular_core.Signal<Record<string, any>>;
|
|
453
|
+
scope: _angular_core.Signal<AXPExpressionEvaluatorScope | null>;
|
|
454
|
+
status: _angular_core.Signal<AXPPageStatus$1>;
|
|
455
|
+
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
456
|
+
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
457
|
+
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
458
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
459
|
+
tabId: string;
|
|
460
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
461
|
+
}[]>>;
|
|
462
|
+
evaluatedPageContent: _angular_core.Signal<AXPWidgetNode[]>;
|
|
463
|
+
evaluatedTabContentsById: _angular_core.Signal<Record<string, AXPWidgetNode[]>>;
|
|
464
|
+
icon: _angular_core.Signal<string | null>;
|
|
465
|
+
content: _angular_core.Signal<_acorex_platform_layout_views.AXPPageContentItem[]>;
|
|
466
|
+
showPages: _angular_core.Signal<boolean>;
|
|
467
|
+
isLarge: _angular_core.Signal<boolean>;
|
|
468
|
+
isBusy: _angular_core.Signal<boolean>;
|
|
469
|
+
isSaving: _angular_core.Signal<boolean>;
|
|
470
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
471
|
+
changesCount: _angular_core.Signal<number>;
|
|
472
|
+
isLoaded: _angular_core.Signal<boolean>;
|
|
473
|
+
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
474
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
475
|
+
tabId: string;
|
|
476
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
477
|
+
}[]>;
|
|
478
|
+
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
479
|
+
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
480
|
+
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
481
|
+
updateContext: (context: any) => void;
|
|
482
|
+
updatePageSelectedRows: (rows: any[]) => void;
|
|
483
|
+
currentPageTitle: () => string | null;
|
|
484
|
+
currentPageDescription: () => string | null;
|
|
485
|
+
currentPagePrimaryActions: () => Promise<any>;
|
|
486
|
+
currentPageSecondaryActions: () => Promise<any>;
|
|
487
|
+
currentPageContent: () => AXPWidgetNode[];
|
|
488
|
+
currentPageTabs: () => AXPLayoutDetailsViewTabItem[] | undefined;
|
|
489
|
+
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
490
|
+
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
491
|
+
getCurrentTabContent: () => AXPWidgetNode[];
|
|
492
|
+
getRenderedTabContent: (tabId: string) => AXPWidgetNode[];
|
|
493
|
+
clearPageTabCache: (pageId: string) => void;
|
|
494
|
+
title: () => string | null;
|
|
495
|
+
backButtonTitle: () => string | null;
|
|
496
|
+
description: () => string | null;
|
|
497
|
+
primaryActions: () => Promise<any>;
|
|
498
|
+
secondaryActions: () => Promise<any>;
|
|
499
|
+
breadcrumbs: () => Promise<{
|
|
500
|
+
title: string;
|
|
501
|
+
name?: string;
|
|
502
|
+
icon?: string;
|
|
503
|
+
command?: AXPExecuteCommand;
|
|
504
|
+
}[]>;
|
|
505
|
+
discard: () => Promise<void>;
|
|
506
|
+
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
507
|
+
goToListPage: () => void;
|
|
508
|
+
} & _ngrx_signals.StateSource<{
|
|
509
|
+
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
510
|
+
rootContext: Record<string, any>;
|
|
511
|
+
previousContext: Record<string, any>;
|
|
512
|
+
context: Record<string, any>;
|
|
513
|
+
scope: AXPExpressionEvaluatorScope | null;
|
|
514
|
+
status: AXPPageStatus$1;
|
|
515
|
+
currentPage: AXPLayoutDetailsViewPage | null;
|
|
516
|
+
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
517
|
+
pageSelectedRows: any[];
|
|
518
|
+
renderedTabsCache: Record<string, Array<{
|
|
519
|
+
tabId: string;
|
|
520
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
521
|
+
}>>;
|
|
522
|
+
evaluatedPageContent: AXPWidgetNode[];
|
|
523
|
+
evaluatedTabContentsById: Record<string, AXPWidgetNode[]>;
|
|
524
|
+
}>>;
|
|
525
|
+
|
|
526
|
+
declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent implements OnInit, OnDestroy {
|
|
527
|
+
#private;
|
|
528
|
+
adapter: _angular_core.InputSignal<AXPLayoutDetailsViewAdapter>;
|
|
529
|
+
protected vm: {
|
|
530
|
+
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
531
|
+
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
532
|
+
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
533
|
+
context: _angular_core.Signal<Record<string, any>>;
|
|
534
|
+
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
535
|
+
status: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPPageStatus>;
|
|
536
|
+
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
537
|
+
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
538
|
+
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
539
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
540
|
+
tabId: string;
|
|
541
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
542
|
+
}[]>>;
|
|
543
|
+
evaluatedPageContent: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
544
|
+
evaluatedTabContentsById: _angular_core.Signal<Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>>;
|
|
545
|
+
icon: _angular_core.Signal<string | null>;
|
|
546
|
+
content: _angular_core.Signal<_acorex_platform_layout_views.AXPPageContentItem[]>;
|
|
547
|
+
showPages: _angular_core.Signal<boolean>;
|
|
548
|
+
isLarge: _angular_core.Signal<boolean>;
|
|
549
|
+
isBusy: _angular_core.Signal<boolean>;
|
|
550
|
+
isSaving: _angular_core.Signal<boolean>;
|
|
551
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
552
|
+
changesCount: _angular_core.Signal<number>;
|
|
553
|
+
isLoaded: _angular_core.Signal<boolean>;
|
|
554
|
+
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
555
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
556
|
+
tabId: string;
|
|
557
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
558
|
+
}[]>;
|
|
559
|
+
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
560
|
+
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
561
|
+
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
562
|
+
updateContext: (context: any) => void;
|
|
563
|
+
updatePageSelectedRows: (rows: any[]) => void;
|
|
564
|
+
currentPageTitle: () => string | null;
|
|
565
|
+
currentPageDescription: () => string | null;
|
|
566
|
+
currentPagePrimaryActions: () => Promise<any>;
|
|
567
|
+
currentPageSecondaryActions: () => Promise<any>;
|
|
568
|
+
currentPageContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
569
|
+
currentPageTabs: () => _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem[] | undefined;
|
|
570
|
+
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
571
|
+
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
572
|
+
getCurrentTabContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
573
|
+
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
574
|
+
clearPageTabCache: (pageId: string) => void;
|
|
575
|
+
title: () => string | null;
|
|
576
|
+
backButtonTitle: () => string | null;
|
|
577
|
+
description: () => string | null;
|
|
578
|
+
primaryActions: () => Promise<any>;
|
|
579
|
+
secondaryActions: () => Promise<any>;
|
|
580
|
+
breadcrumbs: () => Promise<{
|
|
581
|
+
title: string;
|
|
582
|
+
name?: string;
|
|
583
|
+
icon?: string;
|
|
584
|
+
command?: AXPExecuteCommand;
|
|
585
|
+
}[]>;
|
|
586
|
+
discard: () => Promise<void>;
|
|
587
|
+
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
588
|
+
goToListPage: () => void;
|
|
589
|
+
} & _ngrx_signals.StateSource<{
|
|
590
|
+
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
591
|
+
rootContext: Record<string, any>;
|
|
592
|
+
previousContext: Record<string, any>;
|
|
593
|
+
context: Record<string, any>;
|
|
594
|
+
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
595
|
+
status: _acorex_platform_layout_widget_core.AXPPageStatus;
|
|
596
|
+
currentPage: AXPLayoutDetailsViewPage | null;
|
|
597
|
+
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
598
|
+
pageSelectedRows: any[];
|
|
599
|
+
renderedTabsCache: Record<string, Array<{
|
|
600
|
+
tabId: string;
|
|
601
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
602
|
+
}>>;
|
|
603
|
+
evaluatedPageContent: _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
604
|
+
evaluatedTabContentsById: Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
605
|
+
}>;
|
|
606
|
+
protected router: Router;
|
|
607
|
+
protected route: ActivatedRoute;
|
|
608
|
+
protected eventService: AXPBroadcastEventService;
|
|
609
|
+
protected deviceService: AXPDeviceService;
|
|
610
|
+
private settingsService;
|
|
611
|
+
private onSelectionChangeSubscription?;
|
|
612
|
+
private readonly destroyed$;
|
|
613
|
+
protected form: _angular_core.Signal<AXFormComponent | undefined>;
|
|
614
|
+
protected widgetContainer: _angular_core.Signal<AXPWidgetContainerComponent | undefined>;
|
|
615
|
+
protected footerPrimaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
616
|
+
protected footerSecondaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
617
|
+
protected footerActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
618
|
+
protected hasVisibleFooterPrimaryActions: _angular_core.Signal<boolean>;
|
|
619
|
+
protected hasVisibleFooterSecondaryActions: _angular_core.Signal<boolean>;
|
|
620
|
+
protected hasFooter: _angular_core.Signal<boolean>;
|
|
621
|
+
/**
|
|
622
|
+
* Append timestamp query param to trigger router to re-run guards/resolvers
|
|
623
|
+
*/
|
|
624
|
+
protected refreshLayout(): Promise<void>;
|
|
625
|
+
ngOnInit(): Promise<void>;
|
|
626
|
+
ngAfterViewInit(): Promise<void>;
|
|
627
|
+
ngOnDestroy(): void;
|
|
628
|
+
protected handleOnContextChanged(e: AXPContextChangeEvent): void;
|
|
629
|
+
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
630
|
+
protected getAllPrimaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
631
|
+
getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
632
|
+
protected getFooterPrimaryActions(): Promise<AXPActionMenuItem[]>;
|
|
633
|
+
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
634
|
+
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
635
|
+
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
636
|
+
protected getPageBreadcrumbs(): Promise<AXPBreadcrumbItem[]>;
|
|
637
|
+
protected getPageTitle(): Promise<string>;
|
|
638
|
+
getPageDescription(): Promise<string | null>;
|
|
639
|
+
getBackButton(): Promise<AXPBackButton | null>;
|
|
640
|
+
getPageBadge(): Promise<AXPBadge | null>;
|
|
641
|
+
getPageStatus(): Promise<AXPPageStatus | null>;
|
|
642
|
+
/**
|
|
643
|
+
* Get entity data for status chip component
|
|
644
|
+
*/
|
|
645
|
+
getEntityData(): Record<string, any> | null;
|
|
646
|
+
onBackButtonClick(): Promise<void>;
|
|
647
|
+
execute(command: AXPExecuteCommand): Promise<void>;
|
|
648
|
+
protected handleKeyboardEvent(event: KeyboardEvent): Promise<void>;
|
|
649
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutDetailsViewComponent, never>;
|
|
650
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "axp-layout-details-view", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Registry of rendered page component instances by component key.
|
|
655
|
+
* Used so page execute can delegate to the actual component instance in the view.
|
|
656
|
+
*/
|
|
657
|
+
declare class AXPPageComponentInstanceRegistryService {
|
|
658
|
+
private readonly instances;
|
|
659
|
+
register(key: string, instance: AXPPageLayoutBaseComponent): void;
|
|
660
|
+
unregister(key: string): void;
|
|
661
|
+
get(key: string): AXPPageLayoutBaseComponent | null;
|
|
662
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPageComponentInstanceRegistryService, never>;
|
|
663
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPPageComponentInstanceRegistryService>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export { AXPLayoutDetailsViewComponent, AXPLayoutDetailsViewViewModel, AXPPageComponentInstanceRegistryService, AXPPageLayoutBase, AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPopupLayoutBase, AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent };
|
|
667
|
+
export type { AXPLayoutDetailsViewAction, AXPLayoutDetailsViewAdapter, AXPLayoutDetailsViewPage, AXPLayoutDetailsViewTabItem, AXPPageContentItem };
|