@acorex/platform 20.8.5 → 21.0.0-beta.0
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 +121 -27
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-41RhWqb4.mjs → acorex-platform-common-common-settings.provider-G9XcXXOG.mjs} +4 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +669 -268
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +333 -140
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +557 -826
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +539 -110
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-CWV4XD36.mjs} +15 -15
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CWV4XD36.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +3285 -1035
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +488 -284
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +15955 -11978
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +410 -170
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +548 -474
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs → acorex-platform-layout-widgets-button-widget-designer.component-fLjWiSFE.mjs} +11 -11
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-fLjWiSFE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs → acorex-platform-layout-widgets-file-list-popup.component-3oRAKxTo.mjs} +22 -77
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-3oRAKxTo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs → acorex-platform-layout-widgets-image-preview.popup-CazpERbX.mjs} +8 -9
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-CazpERbX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs → acorex-platform-layout-widgets-page-widget-designer.component-BQ4G6aYf.mjs} +17 -17
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-BQ4G6aYf.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-DWuWxUF_.mjs +116 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-DWuWxUF_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-fV94u3t2.mjs} +25 -19
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-fV94u3t2.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DyuvQhgN.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DyuvQhgN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-EJMMdpIs.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-EJMMdpIs.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +6396 -4058
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +8 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +328 -166
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CkptOSO3.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CkptOSO3.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DXC2qtvK.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DXC2qtvK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs → acorex-platform-themes-default-entity-master-single-view.component-DYyunzKZ.mjs} +16 -23
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DYyunzKZ.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C5lQECDP.mjs +31 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-C5lQECDP.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D5wBXAB-.mjs +25 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D5wBXAB-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-AhDiY3DI.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-AhDiY3DI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +1687 -69
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs → acorex-platform-themes-shared-icon-chooser-column.component-QL2-ZUVg.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-QL2-ZUVg.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BXydqPt_.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BXydqPt_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs → acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-Cb9iY6k9.mjs +88 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-Cb9iY6k9.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-KP4-BND5.mjs +80 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-KP4-BND5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +572 -465
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +276 -98
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +33 -33
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +14 -2
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +261 -24
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +163 -42
- package/{domain/index.d.ts → types/acorex-platform-domain.d.ts} +744 -412
- package/{layout/builder/index.d.ts → types/acorex-platform-layout-builder.d.ts} +137 -38
- package/{layout/components/index.d.ts → types/acorex-platform-layout-components.d.ts} +808 -131
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +96 -18
- package/{layout/entity/index.d.ts → types/acorex-platform-layout-entity.d.ts} +686 -61
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +80 -47
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +274 -197
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +583 -104
- package/{native/index.d.ts → types/acorex-platform-native.d.ts} +0 -7
- package/types/acorex-platform-runtime.d.ts +565 -0
- package/{themes/default/index.d.ts → types/acorex-platform-themes-default.d.ts} +105 -4
- package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +14 -5
- package/{workflow/index.d.ts → types/acorex-platform-workflow.d.ts} +96 -81
- package/fesm2022/acorex-platform-common-common-settings.provider-41RhWqb4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +0 -111
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs +0 -1610
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CLDoygoI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs +0 -31
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs +0 -25
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +0 -65
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +0 -64
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +0 -1
- package/runtime/index.d.ts +0 -307
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
|
@@ -6,17 +6,19 @@ import { AXClickEvent } from '@acorex/cdk/common';
|
|
|
6
6
|
import * as i1 from '@acorex/cdk/drawer';
|
|
7
7
|
import { AXDrawerItemDirective } from '@acorex/cdk/drawer';
|
|
8
8
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
9
|
-
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPDeviceService, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPBroadcastEventService } from '@acorex/platform/core';
|
|
9
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPMultiLanguageString, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPDeviceService, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPBroadcastEventService, AXPContextChangeEvent } from '@acorex/platform/core';
|
|
10
10
|
import { AXPCommandService, AXPPolicyEngineService } from '@acorex/platform/runtime';
|
|
11
11
|
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
|
12
|
+
import * as _acorex_core_translation from '@acorex/core/translation';
|
|
13
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
12
14
|
import { AXToastService } from '@acorex/components/toast';
|
|
13
15
|
import { AXFormatService } from '@acorex/core/format';
|
|
14
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
|
15
16
|
import { AXPSessionService } from '@acorex/platform/auth';
|
|
16
17
|
import { AXPHomePageService } from '@acorex/platform/common';
|
|
17
18
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
19
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
19
|
-
import { AXPWidgetNode, AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent
|
|
20
|
+
import { AXPWidgetNode, AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent } from '@acorex/platform/layout/widget-core';
|
|
21
|
+
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
20
22
|
import { AXFormComponent } from '@acorex/components/form';
|
|
21
23
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
22
24
|
|
|
@@ -29,12 +31,12 @@ declare abstract class AXPPageLayoutBase {
|
|
|
29
31
|
abstract hasSecondaryActions: Signal<boolean>;
|
|
30
32
|
abstract hasActions: Signal<boolean>;
|
|
31
33
|
abstract breadcrumbs: Signal<AXPBreadcrumbItem[]>;
|
|
32
|
-
abstract title: Signal<
|
|
34
|
+
abstract title: Signal<AXPMultiLanguageString>;
|
|
33
35
|
abstract titleIcon: Signal<string | null>;
|
|
34
36
|
abstract hasTitle: Signal<boolean>;
|
|
35
37
|
abstract hasTitleIcon: Signal<boolean>;
|
|
36
38
|
abstract hasDescription: Signal<boolean>;
|
|
37
|
-
abstract description: Signal<
|
|
39
|
+
abstract description: Signal<AXPMultiLanguageString | null>;
|
|
38
40
|
abstract hasBreadcrumbs: Signal<boolean>;
|
|
39
41
|
abstract hasBadge: Signal<boolean>;
|
|
40
42
|
abstract badge: Signal<AXPBadge | null>;
|
|
@@ -175,15 +177,15 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
175
177
|
protected updateTrigger: _angular_core.Signal<number>;
|
|
176
178
|
protected recompute(): void;
|
|
177
179
|
ngOnInit(): Promise<void>;
|
|
178
|
-
title: _angular_core.WritableSignal<
|
|
180
|
+
title: _angular_core.WritableSignal<_acorex_core_translation.AXMultiLanguageString>;
|
|
179
181
|
titleIcon: _angular_core.WritableSignal<string | null>;
|
|
180
|
-
protected getPageTitle():
|
|
182
|
+
protected getPageTitle(): AXPMultiLanguageString | Promise<AXPMultiLanguageString>;
|
|
181
183
|
protected getPageIcon(): string | null | Promise<string | null>;
|
|
182
184
|
hasTitle: _angular_core.Signal<boolean>;
|
|
183
185
|
hasTitleIcon: _angular_core.Signal<boolean>;
|
|
184
|
-
description: _angular_core.WritableSignal<
|
|
186
|
+
description: _angular_core.WritableSignal<_acorex_core_translation.AXMultiLanguageString | null>;
|
|
185
187
|
hasDescription: _angular_core.Signal<boolean>;
|
|
186
|
-
protected getPageDescription():
|
|
188
|
+
protected getPageDescription(): AXPMultiLanguageString | null | Promise<AXPMultiLanguageString | null>;
|
|
187
189
|
private defaultBreadCrumbs;
|
|
188
190
|
breadcrumbs: _angular_core.WritableSignal<AXPBreadcrumbItem[]>;
|
|
189
191
|
hasBreadcrumbs: _angular_core.Signal<boolean>;
|
|
@@ -199,11 +201,11 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
199
201
|
protected toggleStartSide(): void;
|
|
200
202
|
primaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
201
203
|
hasPrimaryActions: _angular_core.Signal<boolean>;
|
|
202
|
-
|
|
204
|
+
getPrimaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
203
205
|
secondaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
204
206
|
hasSecondaryActions: _angular_core.Signal<boolean>;
|
|
205
207
|
hasActions: _angular_core.Signal<boolean>;
|
|
206
|
-
|
|
208
|
+
getSecondaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
207
209
|
titleActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
208
210
|
hasTitleActions: _angular_core.Signal<boolean>;
|
|
209
211
|
protected getTitleActions(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
@@ -372,6 +374,11 @@ interface AXPLayoutDetailsViewAction extends AXPActionMenuItem {
|
|
|
372
374
|
zone: 'header' | 'footer';
|
|
373
375
|
priority: 'primary' | 'secondary';
|
|
374
376
|
}
|
|
377
|
+
type AXPPageContentItem = AXPWidgetNode | {
|
|
378
|
+
type: 'component';
|
|
379
|
+
componentKey: string;
|
|
380
|
+
pageConfig?: Record<string, unknown>;
|
|
381
|
+
};
|
|
375
382
|
interface AXPLayoutDetailsViewTabItem {
|
|
376
383
|
id: string;
|
|
377
384
|
title: string;
|
|
@@ -383,25 +390,37 @@ interface AXPLayoutDetailsViewTabItem {
|
|
|
383
390
|
}
|
|
384
391
|
interface AXPLayoutDetailsViewPage {
|
|
385
392
|
id: string;
|
|
386
|
-
title:
|
|
387
|
-
label:
|
|
388
|
-
description?:
|
|
393
|
+
title: AXPMultiLanguageString;
|
|
394
|
+
label: AXPMultiLanguageString;
|
|
395
|
+
description?: AXPMultiLanguageString;
|
|
389
396
|
icon?: string;
|
|
390
|
-
|
|
397
|
+
/**
|
|
398
|
+
* Content can be either widget nodes or component references
|
|
399
|
+
*/
|
|
400
|
+
content?: AXPPageContentItem[];
|
|
391
401
|
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
402
|
+
/**
|
|
403
|
+
* Static actions array (legacy, use getActions for reactive actions)
|
|
404
|
+
*/
|
|
392
405
|
actions?: AXPLayoutDetailsViewAction[];
|
|
406
|
+
/**
|
|
407
|
+
* Function to get actions dynamically (supports reactive updates from component instances)
|
|
408
|
+
*/
|
|
409
|
+
getActions?: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
393
410
|
isPrimary?: boolean;
|
|
394
411
|
isReadonly?: boolean;
|
|
395
412
|
settings?: {
|
|
396
413
|
commands?: {
|
|
397
414
|
accept?: {
|
|
398
415
|
title: string;
|
|
416
|
+
icon?: string;
|
|
399
417
|
color: string;
|
|
400
418
|
visible?: string | boolean;
|
|
401
419
|
command: AXPExecuteCommand;
|
|
402
420
|
};
|
|
403
421
|
reject?: {
|
|
404
422
|
title: string;
|
|
423
|
+
icon?: string;
|
|
405
424
|
color: string;
|
|
406
425
|
visible?: string | boolean;
|
|
407
426
|
command: AXPExecuteCommand;
|
|
@@ -413,9 +432,9 @@ interface AXPLayoutDetailsViewPage {
|
|
|
413
432
|
}
|
|
414
433
|
interface AXPLayoutDetailsViewAdapter {
|
|
415
434
|
name: string;
|
|
416
|
-
title?:
|
|
417
|
-
label?:
|
|
418
|
-
description?:
|
|
435
|
+
title?: AXPMultiLanguageString;
|
|
436
|
+
label?: AXPMultiLanguageString;
|
|
437
|
+
description?: AXPMultiLanguageString;
|
|
419
438
|
icon?: string;
|
|
420
439
|
actions?: AXPLayoutDetailsViewAction[];
|
|
421
440
|
breadcrumbs?: AXPBreadcrumbItem[];
|
|
@@ -444,7 +463,7 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
444
463
|
evaluatedPageContent: _angular_core.Signal<AXPWidgetNode[]>;
|
|
445
464
|
evaluatedTabContentsById: _angular_core.Signal<Record<string, AXPWidgetNode[]>>;
|
|
446
465
|
icon: _angular_core.Signal<string | null>;
|
|
447
|
-
content: _angular_core.Signal<
|
|
466
|
+
content: _angular_core.Signal<_acorex_platform_layout_views.AXPPageContentItem[]>;
|
|
448
467
|
showPages: _angular_core.Signal<boolean>;
|
|
449
468
|
isLarge: _angular_core.Signal<boolean>;
|
|
450
469
|
isBusy: _angular_core.Signal<boolean>;
|
|
@@ -462,8 +481,6 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
462
481
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
463
482
|
updateContext: (context: any) => void;
|
|
464
483
|
updatePageSelectedRows: (rows: any[]) => void;
|
|
465
|
-
currentPageTitle: () => string | null;
|
|
466
|
-
currentPageDescription: () => string | null;
|
|
467
484
|
currentPagePrimaryActions: () => Promise<any>;
|
|
468
485
|
currentPageSecondaryActions: () => Promise<any>;
|
|
469
486
|
currentPageContent: () => AXPWidgetNode[];
|
|
@@ -473,13 +490,16 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
473
490
|
getCurrentTabContent: () => AXPWidgetNode[];
|
|
474
491
|
getRenderedTabContent: (tabId: string) => AXPWidgetNode[];
|
|
475
492
|
clearPageTabCache: (pageId: string) => void;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
493
|
+
backButtonTitle: () => _acorex_core_translation.AXMultiLanguageString;
|
|
494
|
+
getPageTitle: () => Promise<AXPMultiLanguageString>;
|
|
495
|
+
getPageDescription: () => Promise<AXPMultiLanguageString | null>;
|
|
496
|
+
getBackButton: () => Promise<AXPBackButton | null>;
|
|
497
|
+
getPageBadge: () => Promise<AXPBadge | null>;
|
|
498
|
+
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
479
499
|
primaryActions: () => Promise<any>;
|
|
480
500
|
secondaryActions: () => Promise<any>;
|
|
481
501
|
breadcrumbs: () => Promise<{
|
|
482
|
-
title:
|
|
502
|
+
title: _acorex_core_translation.AXMultiLanguageString;
|
|
483
503
|
name?: string;
|
|
484
504
|
icon?: string;
|
|
485
505
|
command?: AXPExecuteCommand;
|
|
@@ -516,16 +536,16 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
516
536
|
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
517
537
|
status: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPPageStatus>;
|
|
518
538
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
519
|
-
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
539
|
+
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
520
540
|
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
521
541
|
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
522
542
|
tabId: string;
|
|
523
|
-
tab: AXPLayoutDetailsViewTabItem;
|
|
543
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
524
544
|
}[]>>;
|
|
525
545
|
evaluatedPageContent: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
526
546
|
evaluatedTabContentsById: _angular_core.Signal<Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>>;
|
|
527
547
|
icon: _angular_core.Signal<string | null>;
|
|
528
|
-
content: _angular_core.Signal<
|
|
548
|
+
content: _angular_core.Signal<_acorex_platform_layout_views.AXPPageContentItem[]>;
|
|
529
549
|
showPages: _angular_core.Signal<boolean>;
|
|
530
550
|
isLarge: _angular_core.Signal<boolean>;
|
|
531
551
|
isBusy: _angular_core.Signal<boolean>;
|
|
@@ -536,31 +556,32 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
536
556
|
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
537
557
|
currentPageRenderedTabs: _angular_core.Signal<{
|
|
538
558
|
tabId: string;
|
|
539
|
-
tab: AXPLayoutDetailsViewTabItem;
|
|
559
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
540
560
|
}[]>;
|
|
541
561
|
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
542
562
|
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
543
563
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
544
564
|
updateContext: (context: any) => void;
|
|
545
565
|
updatePageSelectedRows: (rows: any[]) => void;
|
|
546
|
-
currentPageTitle: () => string | null;
|
|
547
|
-
currentPageDescription: () => string | null;
|
|
548
566
|
currentPagePrimaryActions: () => Promise<any>;
|
|
549
567
|
currentPageSecondaryActions: () => Promise<any>;
|
|
550
568
|
currentPageContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
551
|
-
currentPageTabs: () => AXPLayoutDetailsViewTabItem[] | undefined;
|
|
569
|
+
currentPageTabs: () => _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem[] | undefined;
|
|
552
570
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
553
|
-
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
571
|
+
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
554
572
|
getCurrentTabContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
555
573
|
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
556
574
|
clearPageTabCache: (pageId: string) => void;
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
575
|
+
backButtonTitle: () => _acorex_core_translation.AXMultiLanguageString;
|
|
576
|
+
getPageTitle: () => Promise<AXPMultiLanguageString>;
|
|
577
|
+
getPageDescription: () => Promise<AXPMultiLanguageString | null>;
|
|
578
|
+
getBackButton: () => Promise<AXPBackButton | null>;
|
|
579
|
+
getPageBadge: () => Promise<AXPBadge | null>;
|
|
580
|
+
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
560
581
|
primaryActions: () => Promise<any>;
|
|
561
582
|
secondaryActions: () => Promise<any>;
|
|
562
583
|
breadcrumbs: () => Promise<{
|
|
563
|
-
title:
|
|
584
|
+
title: _acorex_core_translation.AXMultiLanguageString;
|
|
564
585
|
name?: string;
|
|
565
586
|
icon?: string;
|
|
566
587
|
command?: AXPExecuteCommand;
|
|
@@ -576,11 +597,11 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
576
597
|
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
577
598
|
status: _acorex_platform_layout_widget_core.AXPPageStatus;
|
|
578
599
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
579
|
-
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
600
|
+
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
580
601
|
pageSelectedRows: any[];
|
|
581
602
|
renderedTabsCache: Record<string, Array<{
|
|
582
603
|
tabId: string;
|
|
583
|
-
tab: AXPLayoutDetailsViewTabItem;
|
|
604
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
584
605
|
}>>;
|
|
585
606
|
evaluatedPageContent: _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
586
607
|
evaluatedTabContentsById: Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
@@ -589,7 +610,6 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
589
610
|
protected route: ActivatedRoute;
|
|
590
611
|
protected eventService: AXPBroadcastEventService;
|
|
591
612
|
protected deviceService: AXPDeviceService;
|
|
592
|
-
private settingsService;
|
|
593
613
|
private onSelectionChangeSubscription?;
|
|
594
614
|
private readonly destroyed$;
|
|
595
615
|
protected form: _angular_core.Signal<AXFormComponent | undefined>;
|
|
@@ -607,17 +627,17 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
607
627
|
ngOnInit(): Promise<void>;
|
|
608
628
|
ngAfterViewInit(): Promise<void>;
|
|
609
629
|
ngOnDestroy(): void;
|
|
610
|
-
protected handleOnContextChanged(e:
|
|
630
|
+
protected handleOnContextChanged(e: AXPContextChangeEvent): void;
|
|
611
631
|
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
612
632
|
protected getAllPrimaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
613
|
-
|
|
633
|
+
getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
614
634
|
protected getFooterPrimaryActions(): Promise<AXPActionMenuItem[]>;
|
|
615
635
|
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
616
|
-
|
|
636
|
+
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
617
637
|
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
618
638
|
protected getPageBreadcrumbs(): Promise<AXPBreadcrumbItem[]>;
|
|
619
|
-
protected getPageTitle(): Promise<
|
|
620
|
-
getPageDescription(): Promise<
|
|
639
|
+
protected getPageTitle(): Promise<AXPMultiLanguageString>;
|
|
640
|
+
getPageDescription(): Promise<AXPMultiLanguageString | null>;
|
|
621
641
|
getBackButton(): Promise<AXPBackButton | null>;
|
|
622
642
|
getPageBadge(): Promise<AXPBadge | null>;
|
|
623
643
|
getPageStatus(): Promise<AXPPageStatus | null>;
|
|
@@ -632,5 +652,18 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
632
652
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "axp-layout-details-view", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
633
653
|
}
|
|
634
654
|
|
|
635
|
-
|
|
636
|
-
|
|
655
|
+
/**
|
|
656
|
+
* Registry of rendered page component instances by component key.
|
|
657
|
+
* Used so page execute can delegate to the actual component instance in the view.
|
|
658
|
+
*/
|
|
659
|
+
declare class AXPPageComponentInstanceRegistryService {
|
|
660
|
+
private readonly instances;
|
|
661
|
+
register(key: string, instance: AXPPageLayoutBaseComponent): void;
|
|
662
|
+
unregister(key: string): void;
|
|
663
|
+
get(key: string): AXPPageLayoutBaseComponent | null;
|
|
664
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPageComponentInstanceRegistryService, never>;
|
|
665
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPPageComponentInstanceRegistryService>;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export { AXPLayoutDetailsViewComponent, AXPLayoutDetailsViewViewModel, AXPPageComponentInstanceRegistryService, AXPPageLayoutBase, AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPopupLayoutBase, AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent };
|
|
669
|
+
export type { AXPLayoutDetailsViewAction, AXPLayoutDetailsViewAdapter, AXPLayoutDetailsViewPage, AXPLayoutDetailsViewTabItem, AXPPageContentItem };
|