@acorex/platform 21.0.0-next.85 → 21.0.0-next.89
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/acorex-platform-auth.mjs +9 -3
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Ytey9uhY.mjs → acorex-platform-common-common-settings.provider-DilV4dql.mjs} +16 -3
- package/fesm2022/acorex-platform-common-common-settings.provider-DilV4dql.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3426 -2488
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-contracts.mjs +1160 -9
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +826 -152
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain-contracts.mjs +58 -0
- package/fesm2022/acorex-platform-domain-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-domain.mjs +2 -50
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +98 -189
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-RttFwaw9.mjs} +17 -4
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-RttFwaw9.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +181 -46
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +7 -6
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-CwG6n_Yb.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +1208 -0
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component--IeMZLIr.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +1080 -889
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +1150 -247
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +388 -207
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs +513 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-CZc2zFlg.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-CZc2zFlg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-XWRUVoL4.mjs} +2 -2
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-XWRUVoL4.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +1541 -394
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs → acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs} +2 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +956 -115
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs → acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs} +50 -3
- package/fesm2022/acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +104 -24
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +6 -8
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +9 -5
- package/types/acorex-platform-auth.d.ts +3 -1
- package/types/acorex-platform-common.d.ts +655 -1268
- package/types/acorex-platform-contracts.d.ts +1791 -260
- package/types/acorex-platform-core.d.ts +2302 -2800
- package/types/acorex-platform-domain-contracts.d.ts +416 -0
- package/types/acorex-platform-domain.d.ts +4 -415
- package/types/acorex-platform-layout-builder.d.ts +11 -20
- package/types/acorex-platform-layout-components.d.ts +29 -5
- package/types/acorex-platform-layout-designer.d.ts +2 -1
- package/types/acorex-platform-layout-entity-contracts.d.ts +889 -0
- package/types/acorex-platform-layout-entity.d.ts +143 -275
- package/types/acorex-platform-layout-views.d.ts +147 -31
- package/types/acorex-platform-layout-widget-core.d.ts +74 -14
- package/types/acorex-platform-layout-widgets.d.ts +136 -38
- package/types/acorex-platform-runtime.d.ts +1 -1
- package/types/acorex-platform-themes-default.d.ts +227 -73
- package/types/acorex-platform-themes-shared.d.ts +4 -0
- package/types/acorex-platform-workflow.d.ts +5 -18
- package/fesm2022/acorex-platform-common-common-settings.provider-Ytey9uhY.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs +0 -116
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs.map +0 -1
- package/fesm2022/acorex-platform-native.mjs +0 -155
- package/fesm2022/acorex-platform-native.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +0 -1
- package/native/README.md +0 -4
- package/types/acorex-platform-native.d.ts +0 -28
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { Signal } from '@angular/core';
|
|
3
|
+
import { AfterViewInit, OnDestroy, Signal } from '@angular/core';
|
|
4
4
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
5
|
+
import { AXPMenuVerticalMode } from '@acorex/platform/themes/shared';
|
|
5
6
|
import { AXValueChangedEvent } from '@acorex/cdk/common';
|
|
6
7
|
import { AXActionSheetService } from '@acorex/components/action-sheet';
|
|
7
8
|
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXRowCommandItemClickEvent, onColumnSizeChangedEvent, AXColumnsOrderChangedEvent } from '@acorex/components/data-table';
|
|
8
9
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
9
|
-
import
|
|
10
|
-
import { AXPDeviceService, AXPBreadcrumbItem, AXPActionMenuItem, AXPExecuteCommand } from '@acorex/platform/core';
|
|
10
|
+
import { AXPDeviceService, AXPActionMenuItem } from '@acorex/platform/core';
|
|
11
11
|
import { AXPEntityCommandTriggerViewModel, AXPEntityDetailListViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewSortPropViewModel } from '@acorex/platform/layout/entity';
|
|
12
12
|
import { AXPlatform } from '@acorex/core/platform';
|
|
13
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
14
|
+
import { AXPBreadcrumbItem, AXPExecuteCommand } from '@acorex/platform/contracts';
|
|
13
15
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
14
|
-
import { AXDataPagerChangedEvent } from '@acorex/components/data-pager';
|
|
16
|
+
import { AXDataPagerChangedEvent, AXDataPagerMode } from '@acorex/components/data-pager';
|
|
15
17
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
16
|
-
import { AXPMenuItem, AXPSettingsService, AXPMenuVisibilityService } from '@acorex/platform/common';
|
|
18
|
+
import { AXPTabNavigationService, AXPTabPreviewService, AXPTabDescriptor, AXPTabTitleParts, AXPMenuItem, AXPSettingsService, AXPMenuVisibilityService } from '@acorex/platform/common';
|
|
19
|
+
import { AXContextMenuItemsClickEvent } from '@acorex/components/menu';
|
|
20
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
17
21
|
import { AXPTaskBadgeService } from '@acorex/platform/layout/components';
|
|
18
22
|
import { Router, UrlTree } from '@angular/router';
|
|
19
23
|
import { AXDrawerComponent } from '@acorex/components/drawer';
|
|
@@ -46,6 +50,7 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
46
50
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
47
51
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
48
52
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
53
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
49
54
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
50
55
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
51
56
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -59,6 +64,7 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
59
64
|
toggleSideMenu: () => void;
|
|
60
65
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
61
66
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
67
|
+
clearOverlayLoading: () => void;
|
|
62
68
|
loadSettings: () => Promise<void>;
|
|
63
69
|
} & _ngrx_signals.StateSource<{
|
|
64
70
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -105,6 +111,44 @@ declare class AXPEntityDetailListViewComponent {
|
|
|
105
111
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDetailListViewComponent, "axp-entity-detail-list-view", never, { "vm": { "alias": "viewModel"; "required": false; }; }, {}, never, never, true, never>;
|
|
106
112
|
}
|
|
107
113
|
|
|
114
|
+
declare class AXPEntityMasterListCardListComponent {
|
|
115
|
+
protected readonly deviceService: AXPDeviceService;
|
|
116
|
+
vm: _angular_core.InputSignal<AXPEntityMasterListViewModel>;
|
|
117
|
+
pageChanged: _angular_core.OutputEmitterRef<AXDataPagerChangedEvent>;
|
|
118
|
+
protected pagerDisplayMode: _angular_core.Signal<AXDataPagerMode>;
|
|
119
|
+
protected items: _angular_core.WritableSignal<Record<string, unknown>[]>;
|
|
120
|
+
protected loading: _angular_core.WritableSignal<boolean>;
|
|
121
|
+
protected highlightedRowId: _angular_core.WritableSignal<string | number | null>;
|
|
122
|
+
protected totalCount: _angular_core.WritableSignal<number>;
|
|
123
|
+
protected pageIndex: _angular_core.WritableSignal<number>;
|
|
124
|
+
protected pageSize: _angular_core.WritableSignal<number>;
|
|
125
|
+
protected showSelection: _angular_core.Signal<boolean>;
|
|
126
|
+
protected rowKey: _angular_core.Signal<string>;
|
|
127
|
+
protected skeletonCount: _angular_core.Signal<number>;
|
|
128
|
+
protected skeletonFieldCount: _angular_core.Signal<number>;
|
|
129
|
+
protected skeletonBadgeCount: _angular_core.Signal<number>;
|
|
130
|
+
protected skeletonShowFooter: _angular_core.Signal<boolean>;
|
|
131
|
+
protected skeletonPlaceholders: _angular_core.Signal<number[]>;
|
|
132
|
+
constructor();
|
|
133
|
+
reload(resetPagination?: boolean): Promise<void>;
|
|
134
|
+
/** Marks a card with the same post-create highlight used by the data table. */
|
|
135
|
+
highlightCardById(rowId: string | number): void;
|
|
136
|
+
clearCardHighlight(): void;
|
|
137
|
+
protected isRowHighlighted(row: Record<string, unknown>): boolean;
|
|
138
|
+
/** Syncs visible items from the shared data source without triggering a load. */
|
|
139
|
+
syncFromDataSource(): void;
|
|
140
|
+
protected trackRow(index: number, row: Record<string, unknown> | undefined): string | number;
|
|
141
|
+
protected isRowSelected(row: Record<string, unknown>): boolean;
|
|
142
|
+
protected onRowSelectionChange(row: Record<string, unknown>, selected: boolean): void;
|
|
143
|
+
protected onCommandClick(name: string, row: Record<string, unknown>): Promise<void>;
|
|
144
|
+
protected onPageChanged(event: AXDataPagerChangedEvent): void;
|
|
145
|
+
private syncItemsFromDataSource;
|
|
146
|
+
private syncPagingFromDataSource;
|
|
147
|
+
private waitForDataSourceLoad;
|
|
148
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityMasterListCardListComponent, never>;
|
|
149
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityMasterListCardListComponent, "axp-entity-master-list-card-list", never, { "vm": { "alias": "vm"; "required": true; "isSignal": true; }; }, { "pageChanged": "pageChanged"; }, never, never, true, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
108
152
|
declare class AXPEntityMasterListDataTableComponent {
|
|
109
153
|
vm: _angular_core.InputSignal<AXPEntityMasterListViewModel>;
|
|
110
154
|
pageChanged: _angular_core.OutputEmitterRef<AXDataPagerChangedEvent>;
|
|
@@ -131,7 +175,6 @@ declare class AXPEntityMasterListDataTableComponent {
|
|
|
131
175
|
declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponent {
|
|
132
176
|
protected platform: AXPlatform;
|
|
133
177
|
private activeRoute;
|
|
134
|
-
private router;
|
|
135
178
|
protected readonly vm: AXPEntityMasterListViewModel;
|
|
136
179
|
protected store: {
|
|
137
180
|
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
@@ -157,6 +200,7 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
157
200
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
158
201
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
159
202
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
203
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
160
204
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
161
205
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
162
206
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -170,6 +214,7 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
170
214
|
toggleSideMenu: () => void;
|
|
171
215
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
172
216
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
217
|
+
clearOverlayLoading: () => void;
|
|
173
218
|
loadSettings: () => Promise<void>;
|
|
174
219
|
} & _ngrx_signals.StateSource<{
|
|
175
220
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -195,6 +240,7 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
195
240
|
protected activeEndSideView: _angular_core.WritableSignal<"sort" | "filter" | "column">;
|
|
196
241
|
protected categorySearchValue: _angular_core.WritableSignal<string>;
|
|
197
242
|
protected dataTable: _angular_core.Signal<AXPEntityMasterListDataTableComponent | undefined>;
|
|
243
|
+
protected cardList: _angular_core.Signal<AXPEntityMasterListCardListComponent | undefined>;
|
|
198
244
|
private queryParamSub?;
|
|
199
245
|
private initializedFromRoute;
|
|
200
246
|
private lastEvaluatedViewName;
|
|
@@ -227,7 +273,15 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
227
273
|
*/
|
|
228
274
|
private syncListViewQueryParam;
|
|
229
275
|
private reloadListData;
|
|
276
|
+
/**
|
|
277
|
+
* Waits until a `refresh()` load cycle completes (loading started, then finished with data).
|
|
278
|
+
*/
|
|
279
|
+
private waitForDataSourceLoad;
|
|
230
280
|
private grid;
|
|
281
|
+
/**
|
|
282
|
+
* Highlights a freshly created row in the active list layout (table or card).
|
|
283
|
+
*/
|
|
284
|
+
private highlightRowById;
|
|
231
285
|
private updateParentHasChildAfterRefresh;
|
|
232
286
|
private findItemById;
|
|
233
287
|
private bindExpandedRowPersistence;
|
|
@@ -273,6 +327,7 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
273
327
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
274
328
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
275
329
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
330
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
276
331
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
277
332
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
278
333
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -286,6 +341,7 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
286
341
|
toggleSideMenu: () => void;
|
|
287
342
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
288
343
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
344
|
+
clearOverlayLoading: () => void;
|
|
289
345
|
loadSettings: () => Promise<void>;
|
|
290
346
|
} & _ngrx_signals.StateSource<{
|
|
291
347
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -307,18 +363,19 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
307
363
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
308
364
|
isPrinting: boolean;
|
|
309
365
|
}>;
|
|
366
|
+
protected readonly tabNavigation: AXPTabNavigationService;
|
|
310
367
|
protected readonly logo: {
|
|
311
368
|
icon: {
|
|
312
|
-
light:
|
|
313
|
-
dark:
|
|
369
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
370
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
314
371
|
};
|
|
315
372
|
text: {
|
|
316
|
-
light:
|
|
317
|
-
dark:
|
|
373
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
374
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
318
375
|
};
|
|
319
376
|
full: {
|
|
320
|
-
light:
|
|
321
|
-
dark:
|
|
377
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
378
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
322
379
|
};
|
|
323
380
|
} | undefined;
|
|
324
381
|
constructor();
|
|
@@ -328,6 +385,67 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
328
385
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootLayoutHeaderComponent, "axp-dashboard-admin-header", never, {}, {}, never, never, true, never>;
|
|
329
386
|
}
|
|
330
387
|
|
|
388
|
+
interface AXPRouteTabBarLayout {
|
|
389
|
+
tabWidthPx: number;
|
|
390
|
+
isScrollable: boolean;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
declare class AXPRouteTabBarComponent implements AfterViewInit, OnDestroy {
|
|
394
|
+
#private;
|
|
395
|
+
protected readonly tabNavigation: AXPTabNavigationService;
|
|
396
|
+
protected readonly tabPreviewService: AXPTabPreviewService;
|
|
397
|
+
private readonly translateService;
|
|
398
|
+
private readonly host;
|
|
399
|
+
private readonly tabStrip;
|
|
400
|
+
private readonly tabsScroll;
|
|
401
|
+
private readonly contextMenu;
|
|
402
|
+
private readonly suppressTabChange;
|
|
403
|
+
private readonly contextTabKey;
|
|
404
|
+
private readonly stripWidthPx;
|
|
405
|
+
protected readonly isTabDragging: _angular_core.WritableSignal<boolean>;
|
|
406
|
+
protected readonly inHeader: _angular_core.WritableSignal<boolean>;
|
|
407
|
+
protected readonly tabTitleTooltipOpenAfterMs = 500;
|
|
408
|
+
private stripResizeObserver?;
|
|
409
|
+
protected readonly layout: _angular_core.Signal<AXPRouteTabBarLayout>;
|
|
410
|
+
protected readonly tabWidthPx: _angular_core.Signal<number>;
|
|
411
|
+
protected readonly hasHorizontalOverflow: _angular_core.WritableSignal<boolean>;
|
|
412
|
+
protected readonly canScrollForward: _angular_core.WritableSignal<boolean>;
|
|
413
|
+
protected readonly canScrollBackward: _angular_core.WritableSignal<boolean>;
|
|
414
|
+
protected readonly scrollForwardIcon: _angular_core.Signal<"fa-solid fa-chevron-right" | "fa-solid fa-chevron-left">;
|
|
415
|
+
protected readonly scrollBackwardIcon: _angular_core.Signal<"fa-solid fa-chevron-right" | "fa-solid fa-chevron-left">;
|
|
416
|
+
protected readonly isMiddlePanning: _angular_core.WritableSignal<boolean>;
|
|
417
|
+
private tabsScrollElement?;
|
|
418
|
+
private tabsScrollObserver?;
|
|
419
|
+
private middlePanSession;
|
|
420
|
+
private middlePanMoved;
|
|
421
|
+
ngAfterViewInit(): void;
|
|
422
|
+
ngOnDestroy(): void;
|
|
423
|
+
/** Scrolls the strip toward hidden tabs on the requested edge. */
|
|
424
|
+
protected scrollTabs(direction: 'forward' | 'backward'): void;
|
|
425
|
+
/** Starts middle-mouse drag scrolling on the tab strip. */
|
|
426
|
+
protected onTabsScrollMouseDown(event: MouseEvent): void;
|
|
427
|
+
/** Whether a tab can be dragged (home tab stays fixed at the start). */
|
|
428
|
+
protected isTabDragDisabled(tab: AXPTabDescriptor): boolean;
|
|
429
|
+
protected onTabDragStarted(): void;
|
|
430
|
+
protected onTabDragEnded(): void;
|
|
431
|
+
protected onTabDropped(event: CdkDragDrop<AXPTabDescriptor[]>): void;
|
|
432
|
+
protected onTabActivate(tab: AXPTabDescriptor, event: MouseEvent): Promise<void>;
|
|
433
|
+
/** Resolves tab metadata for context menu actions. */
|
|
434
|
+
protected findTab(key: string): AXPTabDescriptor | undefined;
|
|
435
|
+
/** Resolves tab label parts from structured breadcrumb segments when available. */
|
|
436
|
+
protected resolveTabTitleParts(tab: AXPTabDescriptor, translatedTitle: string): AXPTabTitleParts;
|
|
437
|
+
/** Normalizes menu/page icon classes for `ax-icon`. */
|
|
438
|
+
protected resolveTabIcon(tab: AXPTabDescriptor): string;
|
|
439
|
+
/** Closes a tab when the close button is clicked. */
|
|
440
|
+
protected onTabCloseClick(tab: AXPTabDescriptor, event: MouseEvent): Promise<void>;
|
|
441
|
+
/** Closes a tab on middle mouse button click (browser-style). */
|
|
442
|
+
protected onTabMiddleClick(tab: AXPTabDescriptor, event: MouseEvent): Promise<void>;
|
|
443
|
+
protected openTabContextMenu(event: MouseEvent, key: string): Promise<void>;
|
|
444
|
+
protected handleTabContextMenuItemClick(event: AXContextMenuItemsClickEvent): Promise<void>;
|
|
445
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRouteTabBarComponent, never>;
|
|
446
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRouteTabBarComponent, "axp-route-tab-bar", never, {}, {}, never, never, true, never>;
|
|
447
|
+
}
|
|
448
|
+
|
|
331
449
|
declare class AXPRootLayoutMenuComponent {
|
|
332
450
|
protected menuStore: {
|
|
333
451
|
items: Signal<AXPMenuItem[]>;
|
|
@@ -366,7 +484,7 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
366
484
|
overlaySideMenuOpen: Signal<boolean>;
|
|
367
485
|
sideMenuWidth: Signal<number>;
|
|
368
486
|
sideMenuCompactWidth: Signal<number>;
|
|
369
|
-
menuVerticalMode: Signal<
|
|
487
|
+
menuVerticalMode: Signal<AXPMenuVerticalMode>;
|
|
370
488
|
menuOrientation: Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
371
489
|
isPrinting: Signal<boolean>;
|
|
372
490
|
isDarkMode: Signal<boolean>;
|
|
@@ -374,9 +492,10 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
374
492
|
isSystemMode: Signal<boolean>;
|
|
375
493
|
isSideMenuOpen: Signal<boolean>;
|
|
376
494
|
isOverlayLoading: Signal<boolean>;
|
|
495
|
+
overlayTaskCount: Signal<number>;
|
|
377
496
|
isNavigationLoading: Signal<boolean>;
|
|
378
497
|
isMenuHorizontal: Signal<boolean>;
|
|
379
|
-
effectiveMenuVerticalMode: Signal<
|
|
498
|
+
effectiveMenuVerticalMode: Signal<AXPMenuVerticalMode>;
|
|
380
499
|
sideMenuDrawerWidth: Signal<number>;
|
|
381
500
|
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
382
501
|
openSideMenu: () => void;
|
|
@@ -387,6 +506,7 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
387
506
|
toggleSideMenu: () => void;
|
|
388
507
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
389
508
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
509
|
+
clearOverlayLoading: () => void;
|
|
390
510
|
loadSettings: () => Promise<void>;
|
|
391
511
|
} & _ngrx_signals.StateSource<{
|
|
392
512
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -404,14 +524,27 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
404
524
|
overlaySideMenuOpen: boolean;
|
|
405
525
|
sideMenuWidth: number;
|
|
406
526
|
sideMenuCompactWidth: number;
|
|
407
|
-
menuVerticalMode:
|
|
527
|
+
menuVerticalMode: AXPMenuVerticalMode;
|
|
408
528
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
409
529
|
isPrinting: boolean;
|
|
410
530
|
}>;
|
|
411
531
|
protected badgeVisible: _angular_core.WritableSignal<boolean>;
|
|
412
|
-
protected readonly menuMode: Signal<
|
|
532
|
+
protected readonly menuMode: Signal<AXPMenuVerticalMode>;
|
|
413
533
|
ngOnInit(): Promise<void>;
|
|
414
|
-
onMenuItemClick(item: AXPMenuItem
|
|
534
|
+
onMenuItemClick(item: AXPMenuItem): void;
|
|
535
|
+
/**
|
|
536
|
+
* Determines whether a menu item should render as active.
|
|
537
|
+
* Do not bind `routerLink` on `ax-side-menu-item`: that component ignores the `active` input
|
|
538
|
+
* and only uses `RouterLinkActive`, which cannot match entity detail routes to list menu paths.
|
|
539
|
+
*/
|
|
540
|
+
/**
|
|
541
|
+
* In compact mode, keep all branches collapsed so route-driven selection does not
|
|
542
|
+
* auto-open flyout submenus when switching internal tabs.
|
|
543
|
+
*/
|
|
544
|
+
protected isMenuItemCollapsed(item: AXPMenuItem): boolean;
|
|
545
|
+
protected isMenuItemActive(item: AXPMenuItem): boolean;
|
|
546
|
+
private isSameMenuItem;
|
|
547
|
+
protected getMenuItemRoutePath(item: AXPMenuItem): string | null;
|
|
415
548
|
protected sort(items: AXPMenuItem[]): AXPMenuItem[];
|
|
416
549
|
protected getMenuBadge(item: AXPMenuItem): Signal<number>;
|
|
417
550
|
/**
|
|
@@ -467,16 +600,16 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
467
600
|
private config;
|
|
468
601
|
protected logo: {
|
|
469
602
|
icon: {
|
|
470
|
-
light:
|
|
471
|
-
dark:
|
|
603
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
604
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
472
605
|
};
|
|
473
606
|
text: {
|
|
474
|
-
light:
|
|
475
|
-
dark:
|
|
607
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
608
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
476
609
|
};
|
|
477
610
|
full: {
|
|
478
|
-
light:
|
|
479
|
-
dark:
|
|
611
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
612
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
480
613
|
};
|
|
481
614
|
} | undefined;
|
|
482
615
|
protected store: {
|
|
@@ -503,6 +636,7 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
503
636
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
504
637
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
505
638
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
639
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
506
640
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
507
641
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
508
642
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -516,6 +650,7 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
516
650
|
toggleSideMenu: () => void;
|
|
517
651
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
518
652
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
653
|
+
clearOverlayLoading: () => void;
|
|
519
654
|
loadSettings: () => Promise<void>;
|
|
520
655
|
} & _ngrx_signals.StateSource<{
|
|
521
656
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -543,23 +678,9 @@ declare class AXPRootHorizontalLayoutComponent {
|
|
|
543
678
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootHorizontalLayoutComponent, "axp-root-horizontal-layout", never, {}, {}, never, never, true, never>;
|
|
544
679
|
}
|
|
545
680
|
|
|
546
|
-
declare class
|
|
547
|
-
private
|
|
548
|
-
protected
|
|
549
|
-
icon: {
|
|
550
|
-
light: _acorex_platform_core.AXPLogoConfig;
|
|
551
|
-
dark: _acorex_platform_core.AXPLogoConfig;
|
|
552
|
-
};
|
|
553
|
-
text: {
|
|
554
|
-
light: _acorex_platform_core.AXPLogoConfig;
|
|
555
|
-
dark: _acorex_platform_core.AXPLogoConfig;
|
|
556
|
-
};
|
|
557
|
-
full: {
|
|
558
|
-
light: _acorex_platform_core.AXPLogoConfig;
|
|
559
|
-
dark: _acorex_platform_core.AXPLogoConfig;
|
|
560
|
-
};
|
|
561
|
-
} | undefined;
|
|
562
|
-
protected store: {
|
|
681
|
+
declare class AXPRootLayoutComponent {
|
|
682
|
+
#private;
|
|
683
|
+
protected layout: {
|
|
563
684
|
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
564
685
|
currentPalette: _angular_core.Signal<string>;
|
|
565
686
|
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
@@ -583,6 +704,7 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
583
704
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
584
705
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
585
706
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
707
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
586
708
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
587
709
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
588
710
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -596,6 +718,7 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
596
718
|
toggleSideMenu: () => void;
|
|
597
719
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
598
720
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
721
|
+
clearOverlayLoading: () => void;
|
|
599
722
|
loadSettings: () => Promise<void>;
|
|
600
723
|
} & _ngrx_signals.StateSource<{
|
|
601
724
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -617,18 +740,63 @@ declare class AXPRootVerticalLayoutComponent {
|
|
|
617
740
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
618
741
|
isPrinting: boolean;
|
|
619
742
|
}>;
|
|
620
|
-
protected
|
|
743
|
+
protected menuStore: {
|
|
744
|
+
items: _angular_core.Signal<_acorex_platform_common.AXPMenuItem[]>;
|
|
745
|
+
selectedMenuItem: _ngrx_signals.DeepSignal<{
|
|
746
|
+
item: _acorex_platform_common.AXPMenuItem | null;
|
|
747
|
+
isFullMatch: boolean;
|
|
748
|
+
}>;
|
|
749
|
+
setMenuItems: (items: _acorex_platform_common.AXPMenuItem[]) => void;
|
|
750
|
+
selectMenuItemByRoute: (path: string) => void;
|
|
751
|
+
executeCommand: (item: _acorex_platform_common.AXPMenuItem) => void;
|
|
752
|
+
isItemOpen: (item: _acorex_platform_common.AXPMenuItem) => boolean;
|
|
753
|
+
} & _ngrx_signals.StateSource<{
|
|
754
|
+
items: _acorex_platform_common.AXPMenuItem[];
|
|
755
|
+
selectedMenuItem: {
|
|
756
|
+
item: _acorex_platform_common.AXPMenuItem | null;
|
|
757
|
+
isFullMatch: boolean;
|
|
758
|
+
};
|
|
759
|
+
}>;
|
|
621
760
|
protected router: Router;
|
|
622
|
-
|
|
623
|
-
|
|
761
|
+
private eventService;
|
|
762
|
+
private sessionService;
|
|
763
|
+
private unsubscriber;
|
|
764
|
+
private contextStore;
|
|
765
|
+
private readonly loadingDialog;
|
|
766
|
+
private readonly translationService;
|
|
767
|
+
private readonly destroyRef;
|
|
768
|
+
private readonly debug;
|
|
769
|
+
private overlayLoadingDialogRef;
|
|
770
|
+
private overlayLoadingShowTimer;
|
|
771
|
+
/** Only show the loading dialog when overlay loading stays active longer than this. */
|
|
772
|
+
private static readonly overlayLoadingShowDelayMs;
|
|
624
773
|
constructor();
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
774
|
+
private syncOverlayLoadingDialog;
|
|
775
|
+
private openOverlayLoadingDialog;
|
|
776
|
+
private cancelOverlayLoadingShowTimer;
|
|
777
|
+
private closeOverlayLoadingDialog;
|
|
778
|
+
ngOnInit(): void;
|
|
779
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRootLayoutComponent, never>;
|
|
780
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootLayoutComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
628
781
|
}
|
|
629
782
|
|
|
630
|
-
declare class
|
|
631
|
-
|
|
783
|
+
declare class AXPRootVerticalLayoutComponent {
|
|
784
|
+
private config;
|
|
785
|
+
protected logo: {
|
|
786
|
+
icon: {
|
|
787
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
788
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
789
|
+
};
|
|
790
|
+
text: {
|
|
791
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
792
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
793
|
+
};
|
|
794
|
+
full: {
|
|
795
|
+
light: _acorex_platform_contracts.AXPLogoConfig;
|
|
796
|
+
dark: _acorex_platform_contracts.AXPLogoConfig;
|
|
797
|
+
};
|
|
798
|
+
} | undefined;
|
|
799
|
+
protected store: {
|
|
632
800
|
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
633
801
|
currentPalette: _angular_core.Signal<string>;
|
|
634
802
|
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
@@ -652,6 +820,7 @@ declare class AXPRootLayoutComponent {
|
|
|
652
820
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
653
821
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
654
822
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
823
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
655
824
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
656
825
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
657
826
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -665,6 +834,7 @@ declare class AXPRootLayoutComponent {
|
|
|
665
834
|
toggleSideMenu: () => void;
|
|
666
835
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
667
836
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
837
|
+
clearOverlayLoading: () => void;
|
|
668
838
|
loadSettings: () => Promise<void>;
|
|
669
839
|
} & _ngrx_signals.StateSource<{
|
|
670
840
|
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
@@ -686,31 +856,15 @@ declare class AXPRootLayoutComponent {
|
|
|
686
856
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
687
857
|
isPrinting: boolean;
|
|
688
858
|
}>;
|
|
689
|
-
protected
|
|
690
|
-
items: _angular_core.Signal<_acorex_platform_common.AXPMenuItem[]>;
|
|
691
|
-
selectedMenuItem: _ngrx_signals.DeepSignal<{
|
|
692
|
-
item: _acorex_platform_common.AXPMenuItem | null;
|
|
693
|
-
isFullMatch: boolean;
|
|
694
|
-
}>;
|
|
695
|
-
setMenuItems: (items: _acorex_platform_common.AXPMenuItem[]) => void;
|
|
696
|
-
selectMenuItemByRoute: (path: string) => void;
|
|
697
|
-
executeCommand: (item: _acorex_platform_common.AXPMenuItem) => void;
|
|
698
|
-
isItemOpen: (item: _acorex_platform_common.AXPMenuItem) => boolean;
|
|
699
|
-
} & _ngrx_signals.StateSource<{
|
|
700
|
-
items: _acorex_platform_common.AXPMenuItem[];
|
|
701
|
-
selectedMenuItem: {
|
|
702
|
-
item: _acorex_platform_common.AXPMenuItem | null;
|
|
703
|
-
isFullMatch: boolean;
|
|
704
|
-
};
|
|
705
|
-
}>;
|
|
859
|
+
protected deviceService: AXPDeviceService;
|
|
706
860
|
protected router: Router;
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
713
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
861
|
+
/** Recreates the drawer when switching overlay ↔ push to reset internal layout sizing. */
|
|
862
|
+
protected readonly sideMenuDrawerKey: _angular_core.Signal<"overlay" | "push">;
|
|
863
|
+
constructor();
|
|
864
|
+
protected handleResizingEnded(e: AXValueChangedEvent<number>): void;
|
|
865
|
+
protected handleBackdropClick(): void;
|
|
866
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRootVerticalLayoutComponent, never>;
|
|
867
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRootVerticalLayoutComponent, "axp-root-vertical-layout", never, {}, {}, never, never, true, never>;
|
|
714
868
|
}
|
|
715
869
|
|
|
716
870
|
declare class AXPDefaultThemeModule {
|
|
@@ -719,4 +873,4 @@ declare class AXPDefaultThemeModule {
|
|
|
719
873
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPDefaultThemeModule>;
|
|
720
874
|
}
|
|
721
875
|
|
|
722
|
-
export { AXPDefaultThemeModule, AXPEntityDetailListViewComponent, AXPEntityMasterListViewComponent, AXPRootHorizontalLayoutComponent, AXPRootLayoutComponent, AXPRootLayoutFooterComponent, AXPRootLayoutHeaderComponent, AXPRootLayoutMenuComponent, AXPRootVerticalLayoutComponent };
|
|
876
|
+
export { AXPDefaultThemeModule, AXPEntityDetailListViewComponent, AXPEntityMasterListViewComponent, AXPRootHorizontalLayoutComponent, AXPRootLayoutComponent, AXPRootLayoutFooterComponent, AXPRootLayoutHeaderComponent, AXPRootLayoutMenuComponent, AXPRootVerticalLayoutComponent, AXPRouteTabBarComponent };
|
|
@@ -66,6 +66,7 @@ declare class AXPThemeSlotComponent {
|
|
|
66
66
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
67
67
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
68
68
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
69
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
69
70
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
70
71
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
71
72
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
@@ -79,6 +80,7 @@ declare class AXPThemeSlotComponent {
|
|
|
79
80
|
toggleSideMenu: () => void;
|
|
80
81
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
81
82
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
83
|
+
clearOverlayLoading: () => void;
|
|
82
84
|
loadSettings: () => Promise<void>;
|
|
83
85
|
} & _ngrx_signals.StateSource<{
|
|
84
86
|
currentMode: AXPThemeMode;
|
|
@@ -137,6 +139,7 @@ declare const AXPLayoutThemeService: _angular_core.Type<{
|
|
|
137
139
|
isSystemMode: _angular_core.Signal<boolean>;
|
|
138
140
|
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
139
141
|
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
142
|
+
overlayTaskCount: _angular_core.Signal<number>;
|
|
140
143
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
141
144
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
142
145
|
effectiveMenuVerticalMode: _angular_core.Signal<AXPMenuVerticalMode>;
|
|
@@ -150,6 +153,7 @@ declare const AXPLayoutThemeService: _angular_core.Type<{
|
|
|
150
153
|
toggleSideMenu: () => void;
|
|
151
154
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
152
155
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
156
|
+
clearOverlayLoading: () => void;
|
|
153
157
|
loadSettings: () => Promise<void>;
|
|
154
158
|
} & _ngrx_signals.StateSource<{
|
|
155
159
|
currentMode: AXPThemeMode;
|
|
@@ -2,8 +2,9 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Type, ModuleWithProviders, Injector, InjectionToken } from '@angular/core';
|
|
5
|
-
import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowContinuationMetadata, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowDefinition } from '@acorex/platform/contracts';
|
|
6
|
-
|
|
5
|
+
import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowContinuationMetadata, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowCategory, AXPWorkflowDefinition } from '@acorex/platform/contracts';
|
|
6
|
+
export { AXPWorkflowCategory } from '@acorex/platform/contracts';
|
|
7
|
+
import { AXPExpressionEvaluatorScope } from '@acorex/platform/core';
|
|
7
8
|
|
|
8
9
|
declare class AXPWorkflowError extends Error {
|
|
9
10
|
inner: Error | null;
|
|
@@ -1057,6 +1058,7 @@ interface WorkflowExpressionContext {
|
|
|
1057
1058
|
* ```
|
|
1058
1059
|
*/
|
|
1059
1060
|
declare class WorkflowExpressionScopeService {
|
|
1061
|
+
private readonly contextEvalFactory;
|
|
1060
1062
|
/**
|
|
1061
1063
|
* Collect dot-notation key-value pairs from nested objects so that e.g.
|
|
1062
1064
|
* { metadata: { "metadata.questionnaire.id": "x" } } becomes { "metadata.questionnaire.id": "x" } at root.
|
|
@@ -1175,21 +1177,6 @@ declare function axpShouldOfferBeforeInteractiveFlow(context: AXPWorkflowContinu
|
|
|
1175
1177
|
*/
|
|
1176
1178
|
declare function axpShouldOfferWorkflowContinuationAfterStep(context: AXPWorkflowContinuationStepContext, activeBookmarkActivityIds: string[]): boolean;
|
|
1177
1179
|
|
|
1178
|
-
/**
|
|
1179
|
-
* Workflow Category - Extends AXPCategoryEntity for consistency and performance
|
|
1180
|
-
*
|
|
1181
|
-
* Inherited properties from AXPCategoryEntity:
|
|
1182
|
-
* - id: string - Unique identifier
|
|
1183
|
-
* - title: string - Display name
|
|
1184
|
-
* - description?: string - Category description
|
|
1185
|
-
* - parentId?: string - Parent category ID
|
|
1186
|
-
* - childrenCount: number - Direct child categories count (enables lazy loading)
|
|
1187
|
-
* - itemsCount?: number - Direct workflows count
|
|
1188
|
-
* - totalChildrenCount?: number - Total nested categories (optional, for analytics)
|
|
1189
|
-
* - totalItemsCount?: number - Total workflows in tree (optional, for analytics)
|
|
1190
|
-
*/
|
|
1191
|
-
interface AXPWorkflowCategory extends AXPCategoryEntity {
|
|
1192
|
-
}
|
|
1193
1180
|
type AXPWorkflowProviderToken = AXPWorkflowProvider | Promise<AXPWorkflowProvider>;
|
|
1194
1181
|
declare const AXP_WORKFLOW_PROVIDER: InjectionToken<AXPWorkflowProviderToken[]>;
|
|
1195
1182
|
interface AXPWorkflowProvider {
|
|
@@ -1352,4 +1339,4 @@ declare class AXPWorkflowDefinitionService {
|
|
|
1352
1339
|
}
|
|
1353
1340
|
|
|
1354
1341
|
export { AXPActivityDefinitionService, AXPWorkflowAction, AXPWorkflowContext, AXPWorkflowDefinitionService, AXPWorkflowEngineError, AXPWorkflowError, AXPWorkflowEventService, AXPWorkflowFunction, AXPWorkflowLocalEngine, AXPWorkflowManager, AXPWorkflowModule, AXPWorkflowRegistryService, AXPWorkflowService, AXP_ACTIVITY_CATEGORY_PROVIDER, AXP_ACTIVITY_PROVIDER, AXP_WORKFLOW_CATEGORY_PROVIDER, AXP_WORKFLOW_CONTINUATION_HOOK, AXP_WORKFLOW_ENGINE, AXP_WORKFLOW_ERROR_CODES, AXP_WORKFLOW_PROVIDER, AXP_WORKFLOW_SUPPRESS_CONTINUATION_INPUT_KEY, AXP_WORKFLOW_TASK_BOARD_ACTIVITY_TYPES, ActivityExecutor, WorkflowExpressionScopeService, axpIsWorkflowInlineFrontendTask, axpIsWorkflowInteractiveFrontendTask, axpIsWorkflowTaskBoardActivityType, axpResolveWorkflowContinuationBeforeInteractive, axpShouldOfferBeforeInteractiveFlow, axpShouldOfferWorkflowContinuationAfterStep, axpShouldSkipBeforeInteractiveFromMetadata, createWorkFlowEvent, getWorkflowEngineErrorCode, getWorkflowEngineErrorInfo, isWorkflowContinuationSuppressed, ofType };
|
|
1355
|
-
export type { AXPActivityCategoryProvider, AXPActivityCategoryProviderToken, AXPActivityProvider, AXPActivityProviderToken, AXPClaimWorkflowTaskRequest, AXPClaimWorkflowTaskResponse, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse, AXPGetWorkflowStateRequest, AXPReassignWorkflowTaskToSelfRequest, AXPReassignWorkflowTaskToSelfResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPRevertResumeAfterDeclinedInteractiveContinuationRequest, AXPRevertResumeAfterDeclinedInteractiveContinuationResponse, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPWorkflow, AXPWorkflowActionInput,
|
|
1342
|
+
export type { AXPActivityCategoryProvider, AXPActivityCategoryProviderToken, AXPActivityProvider, AXPActivityProviderToken, AXPClaimWorkflowTaskRequest, AXPClaimWorkflowTaskResponse, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse, AXPGetWorkflowStateRequest, AXPReassignWorkflowTaskToSelfRequest, AXPReassignWorkflowTaskToSelfResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPRevertResumeAfterDeclinedInteractiveContinuationRequest, AXPRevertResumeAfterDeclinedInteractiveContinuationResponse, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPWorkflow, AXPWorkflowActionInput, AXPWorkflowCategoryProvider, AXPWorkflowCategoryProviderToken, AXPWorkflowCondition, AXPWorkflowConditionType, AXPWorkflowContinuationHook, AXPWorkflowContinuationOfferResult, AXPWorkflowContinuationStepContext, AXPWorkflowEngine, AXPWorkflowErrorCode, AXPWorkflowEvent, AXPWorkflowInstanceState, AXPWorkflowModuleConfigs, AXPWorkflowNextStep, AXPWorkflowProvider, AXPWorkflowProviderToken, AXPWorkflowStep, AXPWorkflowTask, ActivityExecutionResult, WorkflowClaimTaskResult, WorkflowCompleteResult, WorkflowExpressionContext, WorkflowReassignTaskToSelfResult, WorkflowResumeResult, WorkflowStartResult };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-common-settings.provider-Ytey9uhY.mjs","sources":["../../../../libs/platform/common/src/lib/configs/common-settings.provider.ts"],"sourcesContent":["import { AXPPlatformScope } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { Injectable, Injector } from '@angular/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '../settings';\nimport { AXPCommonSettings } from './common-settings.key';\n\nconst I18N = '@general:settings';\n\n@Injectable()\nexport class AXPCommonSettingProvider implements AXPSettingDefinitionProvider {\n constructor(private _injector: Injector) {}\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Define the 'General Settings' group\n context\n .group('general')\n ?.addSection('notifications', `${I18N}.general.notifications.title`, `${I18N}.general.notifications.description`)\n // Add the 'Enable Operation Toasts' setting\n .addSetting({\n key: AXPCommonSettings.EnableOperationToasts,\n title: `${I18N}.general.notifications.enable-operation-toasts.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n\n description: `${I18N}.general.notifications.enable-operation-toasts.description`,\n })\n\n // End the 'Notifications' section\n .endSection()\n .addSection('entity', `${I18N}.general.entity.title`, `${I18N}.general.entity.description`)\n // Add the 'Enable Operation Toasts' setting\n .addSetting({\n key: AXPCommonSettings.EntityFilterApplyMode,\n title: `${I18N}.general.entity.filter-apply-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'auto',\n widget: {\n type: AXPWidgetsCatalog.select,\n options: {\n label: null,\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'auto', text: `${I18N}.general.entity.filter-apply-mode.options.auto` },\n { value: 'manual', text: `${I18N}.general.entity.filter-apply-mode.options.manual` },\n ],\n },\n },\n\n description: `${I18N}.general.entity.filter-apply-mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.EntityListPersistenceMode,\n title: `${I18N}.general.entity.list-persistence-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'persistent',\n widget: {\n type: AXPWidgetsCatalog.select,\n options: {\n label: null,\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'none', text: `${I18N}.general.entity.list-persistence-mode.options.none` },\n {\n value: 'persistent',\n text: `${I18N}.general.entity.list-persistence-mode.options.persistent`,\n },\n { value: 'route', text: `${I18N}.general.entity.list-persistence-mode.options.route` },\n ],\n },\n },\n description: `${I18N}.general.entity.list-persistence-mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowCategoryColumnsByDefault,\n title: `${I18N}.general.entity.show-category-columns-by-default.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-category-columns-by-default.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ApplyLayoutOrdering,\n title: `${I18N}.general.entity.apply-layout-ordering.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.apply-layout-ordering.description`,\n })\n .addSetting({\n key: AXPCommonSettings.RedirectToDetailsAfterCreate,\n title: `${I18N}.general.entity.redirect-to-details-after-create.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.redirect-to-details-after-create.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowPageBadge,\n title: `${I18N}.general.entity.show-page-badge.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-page-badge.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ConfirmUnsavedChanges,\n title: `${I18N}.general.entity.confirm-unsaved-changes.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.confirm-unsaved-changes.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowRowIndexColumn,\n title: `${I18N}.general.entity.show-row-index-column.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-row-index-column.description`,\n })\n\n // End the 'Entity Settings' section\n .endSection()\n // End the 'General Settings' group\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,IAAI,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xE;;AAGA,aAAA,UAAU;;AAEV,aAAA,QAAQ,EAAE;IACf;8GAnKW,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs","sources":["../../../../libs/platform/layout/components/src/lib/property-viewer/binding-expression-editor-popup.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCodeEditorModule } from '@acorex/components/code-editor';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n input,\n linkedSignal,\n WritableSignal,\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n/**\n * Popup for editing a binding/expression string (e.g. `{{ context.eval('x') }}`).\n * Mirrors the trigger expression editor UX: code editor with Save/Cancel.\n */\n@Component({\n selector: 'axp-binding-expression-editor-popup',\n template: `\n <div class=\"ax-flex ax-flex-col ax-h-full ax-overflow-hidden\">\n <div class=\"ax-flex-1 ax-p-4 ax-overflow-hidden\" style=\"direction: ltr;\">\n <ax-code-editor\n [ngModel]=\"currentValue()\"\n (ngModelChange)=\"handleValueChange($event)\"\n language=\"javascript\"\n [lineNumbers]=\"true\"\n class=\"ax-w-full ax-h-full ax-min-h-96\"\n ></ax-code-editor>\n </div>\n </div>\n\n <ax-footer>\n <ax-suffix>\n <ax-button\n look=\"solid\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n (onClick)=\"handleCancelClick()\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@general:actions.save.title' | translate | async\"\n (onClick)=\"handleSaveClick()\"\n ></ax-button>\n </ax-suffix>\n </ax-footer>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n AXButtonModule,\n AXCodeEditorModule,\n AXDecoratorModule,\n AXTranslationModule,\n ],\n})\nexport class AXPBindingExpressionEditorPopupComponent extends AXBasePageComponent {\n //#region ---- Inputs ----\n\n /** Use a distinct name to avoid popup 'data.value' overwriting the input signal. */\n initialValue = input.required<string | null>();\n\n //#endregion\n\n //#region ---- Properties ----\n\n protected readonly currentValue: WritableSignal<string> = linkedSignal(\n () => (this.initialValue() ?? '') as string,\n );\n\n //#endregion\n\n //#region ---- Event Handlers ----\n\n protected handleValueChange(newValue: string): void {\n this.currentValue.set(newValue);\n }\n\n protected handleCancelClick(): void {\n this.close();\n }\n\n protected handleSaveClick(): void {\n this.close({\n value: this.currentValue(),\n });\n }\n\n //#endregion\n}\n"],"names":["i3","i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;AAeA;;;AAGG;AA0CG,MAAO,wCAAyC,SAAQ,mBAAmB,CAAA;AAzCjF,IAAA,WAAA,GAAA;;;;AA6CI,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ,kFAAiB;;;AAM3B,QAAA,IAAA,CAAA,YAAY,GAA2B,YAAY,CAClE,OAAO,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,CAAW,mFAC9C;AAqBJ,IAAA;;;AAfa,IAAA,iBAAiB,CAAC,QAAgB,EAAA;AACxC,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnC;IAEU,iBAAiB,GAAA;QACvB,IAAI,CAAC,KAAK,EAAE;IAChB;IAEU,eAAe,GAAA;QACrB,IAAI,CAAC,KAAK,CAAC;AACP,YAAA,KAAK,EAAE,IAAI,CAAC,YAAY,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