@acorex/platform 20.8.12 → 20.8.14
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/{types/acorex-platform-auth.d.ts → auth/index.d.ts} +2 -14
- package/{types/acorex-platform-common.d.ts → common/index.d.ts} +30 -302
- package/{types/acorex-platform-core.d.ts → core/index.d.ts} +44 -188
- package/{types/acorex-platform-domain.d.ts → domain/index.d.ts} +412 -744
- package/fesm2022/acorex-platform-auth.mjs +27 -125
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Bi1RYif5.mjs → acorex-platform-common-common-settings.provider-DVvuLUfF.mjs} +32 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-DVvuLUfF.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +205 -711
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +127 -420
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +830 -561
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +114 -634
- 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-CSxCnzwU.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +877 -3362
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +204 -456
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +10062 -14672
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +171 -413
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +441 -507
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs → acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs → acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs} +76 -21
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs → acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs} +7 -6
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs → acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs} +12 -12
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +3408 -5611
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -8
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +166 -391
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs +1716 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs → acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs} +23 -16
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs → acorex-platform-themes-default-error-401.component-53VB-PS_.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs → acorex-platform-themes-default-error-404.component-DVF9soT5.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +61 -1784
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs → acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +25 -24
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +65 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +64 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +305 -408
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +100 -359
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/{types/acorex-platform-layout-builder.d.ts → layout/builder/index.d.ts} +38 -160
- package/{types/acorex-platform-layout-components.d.ts → layout/components/index.d.ts} +125 -854
- package/{types/acorex-platform-layout-designer.d.ts → layout/designer/index.d.ts} +18 -96
- package/{types/acorex-platform-layout-entity.d.ts → layout/entity/index.d.ts} +65 -848
- package/{types/acorex-platform-layout-views.d.ts → layout/views/index.d.ts} +47 -80
- package/{types/acorex-platform-layout-widget-core.d.ts → layout/widget-core/index.d.ts} +197 -274
- package/{types/acorex-platform-layout-widgets.d.ts → layout/widgets/index.d.ts} +124 -608
- package/{types/acorex-platform-native.d.ts → native/index.d.ts} +7 -0
- package/package.json +36 -36
- package/runtime/index.d.ts +307 -0
- package/{types/acorex-platform-themes-default.d.ts → themes/default/index.d.ts} +4 -113
- package/{types/acorex-platform-themes-shared.d.ts → themes/shared/index.d.ts} +4 -5
- package/{types/acorex-platform-workflow.d.ts → workflow/index.d.ts} +81 -162
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.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-button-widget-designer.component-Dy7jF-oD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs +0 -116
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs +0 -94
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs +0 -86
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs.map +0 -1
- package/types/acorex-platform-runtime.d.ts +0 -571
- /package/{types/acorex-platform.d.ts → index.d.ts} +0 -0
|
@@ -6,19 +6,17 @@ 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,
|
|
9
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPDeviceService, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPBroadcastEventService } 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';
|
|
14
12
|
import { AXToastService } from '@acorex/components/toast';
|
|
15
13
|
import { AXFormatService } from '@acorex/core/format';
|
|
14
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
16
15
|
import { AXPSessionService } from '@acorex/platform/auth';
|
|
17
16
|
import { AXPHomePageService } from '@acorex/platform/common';
|
|
18
17
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
19
18
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
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';
|
|
19
|
+
import { AXPWidgetNode, AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent, AXPWidgetCoreContextChangeEvent } from '@acorex/platform/layout/widget-core';
|
|
22
20
|
import { AXFormComponent } from '@acorex/components/form';
|
|
23
21
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
24
22
|
|
|
@@ -31,12 +29,12 @@ declare abstract class AXPPageLayoutBase {
|
|
|
31
29
|
abstract hasSecondaryActions: Signal<boolean>;
|
|
32
30
|
abstract hasActions: Signal<boolean>;
|
|
33
31
|
abstract breadcrumbs: Signal<AXPBreadcrumbItem[]>;
|
|
34
|
-
abstract title: Signal<
|
|
32
|
+
abstract title: Signal<string>;
|
|
35
33
|
abstract titleIcon: Signal<string | null>;
|
|
36
34
|
abstract hasTitle: Signal<boolean>;
|
|
37
35
|
abstract hasTitleIcon: Signal<boolean>;
|
|
38
36
|
abstract hasDescription: Signal<boolean>;
|
|
39
|
-
abstract description: Signal<
|
|
37
|
+
abstract description: Signal<string | null>;
|
|
40
38
|
abstract hasBreadcrumbs: Signal<boolean>;
|
|
41
39
|
abstract hasBadge: Signal<boolean>;
|
|
42
40
|
abstract badge: Signal<AXPBadge | null>;
|
|
@@ -177,15 +175,15 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
177
175
|
protected updateTrigger: _angular_core.Signal<number>;
|
|
178
176
|
protected recompute(): void;
|
|
179
177
|
ngOnInit(): Promise<void>;
|
|
180
|
-
title: _angular_core.WritableSignal<
|
|
178
|
+
title: _angular_core.WritableSignal<string>;
|
|
181
179
|
titleIcon: _angular_core.WritableSignal<string | null>;
|
|
182
|
-
protected getPageTitle():
|
|
180
|
+
protected getPageTitle(): string | Promise<string>;
|
|
183
181
|
protected getPageIcon(): string | null | Promise<string | null>;
|
|
184
182
|
hasTitle: _angular_core.Signal<boolean>;
|
|
185
183
|
hasTitleIcon: _angular_core.Signal<boolean>;
|
|
186
|
-
description: _angular_core.WritableSignal<
|
|
184
|
+
description: _angular_core.WritableSignal<string | null>;
|
|
187
185
|
hasDescription: _angular_core.Signal<boolean>;
|
|
188
|
-
protected getPageDescription():
|
|
186
|
+
protected getPageDescription(): string | null | Promise<string | null>;
|
|
189
187
|
private defaultBreadCrumbs;
|
|
190
188
|
breadcrumbs: _angular_core.WritableSignal<AXPBreadcrumbItem[]>;
|
|
191
189
|
hasBreadcrumbs: _angular_core.Signal<boolean>;
|
|
@@ -201,11 +199,11 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
201
199
|
protected toggleStartSide(): void;
|
|
202
200
|
primaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
203
201
|
hasPrimaryActions: _angular_core.Signal<boolean>;
|
|
204
|
-
getPrimaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
202
|
+
protected getPrimaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
205
203
|
secondaryMenuItems: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
206
204
|
hasSecondaryActions: _angular_core.Signal<boolean>;
|
|
207
205
|
hasActions: _angular_core.Signal<boolean>;
|
|
208
|
-
getSecondaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
206
|
+
protected getSecondaryMenuItems(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
209
207
|
titleActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
210
208
|
hasTitleActions: _angular_core.Signal<boolean>;
|
|
211
209
|
protected getTitleActions(): AXPActionMenuItem[] | Promise<AXPActionMenuItem[]>;
|
|
@@ -374,11 +372,6 @@ interface AXPLayoutDetailsViewAction extends AXPActionMenuItem {
|
|
|
374
372
|
zone: 'header' | 'footer';
|
|
375
373
|
priority: 'primary' | 'secondary';
|
|
376
374
|
}
|
|
377
|
-
type AXPPageContentItem = AXPWidgetNode | {
|
|
378
|
-
type: 'component';
|
|
379
|
-
componentKey: string;
|
|
380
|
-
pageConfig?: Record<string, unknown>;
|
|
381
|
-
};
|
|
382
375
|
interface AXPLayoutDetailsViewTabItem {
|
|
383
376
|
id: string;
|
|
384
377
|
title: string;
|
|
@@ -390,37 +383,25 @@ interface AXPLayoutDetailsViewTabItem {
|
|
|
390
383
|
}
|
|
391
384
|
interface AXPLayoutDetailsViewPage {
|
|
392
385
|
id: string;
|
|
393
|
-
title:
|
|
394
|
-
label:
|
|
395
|
-
description?:
|
|
386
|
+
title: string;
|
|
387
|
+
label: string;
|
|
388
|
+
description?: string;
|
|
396
389
|
icon?: string;
|
|
397
|
-
|
|
398
|
-
* Content can be either widget nodes or component references
|
|
399
|
-
*/
|
|
400
|
-
content?: AXPPageContentItem[];
|
|
390
|
+
content?: AXPWidgetNode[];
|
|
401
391
|
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
402
|
-
/**
|
|
403
|
-
* Static actions array (legacy, use getActions for reactive actions)
|
|
404
|
-
*/
|
|
405
392
|
actions?: AXPLayoutDetailsViewAction[];
|
|
406
|
-
/**
|
|
407
|
-
* Function to get actions dynamically (supports reactive updates from component instances)
|
|
408
|
-
*/
|
|
409
|
-
getActions?: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
410
393
|
isPrimary?: boolean;
|
|
411
394
|
isReadonly?: boolean;
|
|
412
395
|
settings?: {
|
|
413
396
|
commands?: {
|
|
414
397
|
accept?: {
|
|
415
398
|
title: string;
|
|
416
|
-
icon?: string;
|
|
417
399
|
color: string;
|
|
418
400
|
visible?: string | boolean;
|
|
419
401
|
command: AXPExecuteCommand;
|
|
420
402
|
};
|
|
421
403
|
reject?: {
|
|
422
404
|
title: string;
|
|
423
|
-
icon?: string;
|
|
424
405
|
color: string;
|
|
425
406
|
visible?: string | boolean;
|
|
426
407
|
command: AXPExecuteCommand;
|
|
@@ -432,9 +413,9 @@ interface AXPLayoutDetailsViewPage {
|
|
|
432
413
|
}
|
|
433
414
|
interface AXPLayoutDetailsViewAdapter {
|
|
434
415
|
name: string;
|
|
435
|
-
title?:
|
|
436
|
-
label?:
|
|
437
|
-
description?:
|
|
416
|
+
title?: string;
|
|
417
|
+
label?: string;
|
|
418
|
+
description?: string;
|
|
438
419
|
icon?: string;
|
|
439
420
|
actions?: AXPLayoutDetailsViewAction[];
|
|
440
421
|
breadcrumbs?: AXPBreadcrumbItem[];
|
|
@@ -463,7 +444,7 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
463
444
|
evaluatedPageContent: _angular_core.Signal<AXPWidgetNode[]>;
|
|
464
445
|
evaluatedTabContentsById: _angular_core.Signal<Record<string, AXPWidgetNode[]>>;
|
|
465
446
|
icon: _angular_core.Signal<string | null>;
|
|
466
|
-
content: _angular_core.Signal<
|
|
447
|
+
content: _angular_core.Signal<AXPWidgetNode[]>;
|
|
467
448
|
showPages: _angular_core.Signal<boolean>;
|
|
468
449
|
isLarge: _angular_core.Signal<boolean>;
|
|
469
450
|
isBusy: _angular_core.Signal<boolean>;
|
|
@@ -481,6 +462,8 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
481
462
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
482
463
|
updateContext: (context: any) => void;
|
|
483
464
|
updatePageSelectedRows: (rows: any[]) => void;
|
|
465
|
+
currentPageTitle: () => string | null;
|
|
466
|
+
currentPageDescription: () => string | null;
|
|
484
467
|
currentPagePrimaryActions: () => Promise<any>;
|
|
485
468
|
currentPageSecondaryActions: () => Promise<any>;
|
|
486
469
|
currentPageContent: () => AXPWidgetNode[];
|
|
@@ -490,16 +473,13 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
490
473
|
getCurrentTabContent: () => AXPWidgetNode[];
|
|
491
474
|
getRenderedTabContent: (tabId: string) => AXPWidgetNode[];
|
|
492
475
|
clearPageTabCache: (pageId: string) => void;
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
getBackButton: () => Promise<AXPBackButton | null>;
|
|
497
|
-
getPageBadge: () => Promise<AXPBadge | null>;
|
|
498
|
-
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
476
|
+
title: () => string | null;
|
|
477
|
+
backButtonTitle: () => string | null;
|
|
478
|
+
description: () => string | null;
|
|
499
479
|
primaryActions: () => Promise<any>;
|
|
500
480
|
secondaryActions: () => Promise<any>;
|
|
501
481
|
breadcrumbs: () => Promise<{
|
|
502
|
-
title:
|
|
482
|
+
title: string;
|
|
503
483
|
name?: string;
|
|
504
484
|
icon?: string;
|
|
505
485
|
command?: AXPExecuteCommand;
|
|
@@ -536,16 +516,16 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
536
516
|
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
537
517
|
status: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPPageStatus>;
|
|
538
518
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
539
|
-
currentTab: _angular_core.Signal<
|
|
519
|
+
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
540
520
|
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
541
521
|
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
542
522
|
tabId: string;
|
|
543
|
-
tab:
|
|
523
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
544
524
|
}[]>>;
|
|
545
525
|
evaluatedPageContent: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
546
526
|
evaluatedTabContentsById: _angular_core.Signal<Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>>;
|
|
547
527
|
icon: _angular_core.Signal<string | null>;
|
|
548
|
-
content: _angular_core.Signal<
|
|
528
|
+
content: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
549
529
|
showPages: _angular_core.Signal<boolean>;
|
|
550
530
|
isLarge: _angular_core.Signal<boolean>;
|
|
551
531
|
isBusy: _angular_core.Signal<boolean>;
|
|
@@ -556,32 +536,31 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
556
536
|
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
557
537
|
currentPageRenderedTabs: _angular_core.Signal<{
|
|
558
538
|
tabId: string;
|
|
559
|
-
tab:
|
|
539
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
560
540
|
}[]>;
|
|
561
541
|
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
562
542
|
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
563
543
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
564
544
|
updateContext: (context: any) => void;
|
|
565
545
|
updatePageSelectedRows: (rows: any[]) => void;
|
|
546
|
+
currentPageTitle: () => string | null;
|
|
547
|
+
currentPageDescription: () => string | null;
|
|
566
548
|
currentPagePrimaryActions: () => Promise<any>;
|
|
567
549
|
currentPageSecondaryActions: () => Promise<any>;
|
|
568
550
|
currentPageContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
569
|
-
currentPageTabs: () =>
|
|
551
|
+
currentPageTabs: () => AXPLayoutDetailsViewTabItem[] | undefined;
|
|
570
552
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
571
|
-
setCurrentTab: (tab:
|
|
553
|
+
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
572
554
|
getCurrentTabContent: () => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
573
555
|
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
574
556
|
clearPageTabCache: (pageId: string) => void;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
getBackButton: () => Promise<AXPBackButton | null>;
|
|
579
|
-
getPageBadge: () => Promise<AXPBadge | null>;
|
|
580
|
-
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
557
|
+
title: () => string | null;
|
|
558
|
+
backButtonTitle: () => string | null;
|
|
559
|
+
description: () => string | null;
|
|
581
560
|
primaryActions: () => Promise<any>;
|
|
582
561
|
secondaryActions: () => Promise<any>;
|
|
583
562
|
breadcrumbs: () => Promise<{
|
|
584
|
-
title:
|
|
563
|
+
title: string;
|
|
585
564
|
name?: string;
|
|
586
565
|
icon?: string;
|
|
587
566
|
command?: AXPExecuteCommand;
|
|
@@ -597,11 +576,11 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
597
576
|
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
598
577
|
status: _acorex_platform_layout_widget_core.AXPPageStatus;
|
|
599
578
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
600
|
-
currentTab:
|
|
579
|
+
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
601
580
|
pageSelectedRows: any[];
|
|
602
581
|
renderedTabsCache: Record<string, Array<{
|
|
603
582
|
tabId: string;
|
|
604
|
-
tab:
|
|
583
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
605
584
|
}>>;
|
|
606
585
|
evaluatedPageContent: _acorex_platform_layout_widget_core.AXPWidgetNode[];
|
|
607
586
|
evaluatedTabContentsById: Record<string, _acorex_platform_layout_widget_core.AXPWidgetNode[]>;
|
|
@@ -610,6 +589,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
610
589
|
protected route: ActivatedRoute;
|
|
611
590
|
protected eventService: AXPBroadcastEventService;
|
|
612
591
|
protected deviceService: AXPDeviceService;
|
|
592
|
+
private settingsService;
|
|
613
593
|
private onSelectionChangeSubscription?;
|
|
614
594
|
private readonly destroyed$;
|
|
615
595
|
protected form: _angular_core.Signal<AXFormComponent | undefined>;
|
|
@@ -627,17 +607,17 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
627
607
|
ngOnInit(): Promise<void>;
|
|
628
608
|
ngAfterViewInit(): Promise<void>;
|
|
629
609
|
ngOnDestroy(): void;
|
|
630
|
-
protected handleOnContextChanged(e:
|
|
610
|
+
protected handleOnContextChanged(e: AXPWidgetCoreContextChangeEvent): void;
|
|
631
611
|
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
632
612
|
protected getAllPrimaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
633
|
-
getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
613
|
+
protected getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
634
614
|
protected getFooterPrimaryActions(): Promise<AXPActionMenuItem[]>;
|
|
635
615
|
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
636
|
-
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
616
|
+
protected getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
637
617
|
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
638
618
|
protected getPageBreadcrumbs(): Promise<AXPBreadcrumbItem[]>;
|
|
639
|
-
protected getPageTitle(): Promise<
|
|
640
|
-
getPageDescription(): Promise<
|
|
619
|
+
protected getPageTitle(): Promise<string>;
|
|
620
|
+
getPageDescription(): Promise<string | null>;
|
|
641
621
|
getBackButton(): Promise<AXPBackButton | null>;
|
|
642
622
|
getPageBadge(): Promise<AXPBadge | null>;
|
|
643
623
|
getPageStatus(): Promise<AXPPageStatus | null>;
|
|
@@ -652,18 +632,5 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
652
632
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "axp-layout-details-view", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
653
633
|
}
|
|
654
634
|
|
|
655
|
-
|
|
656
|
-
|
|
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 };
|
|
635
|
+
export { AXPLayoutDetailsViewComponent, AXPLayoutDetailsViewViewModel, AXPPageLayoutBase, AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPopupLayoutBase, AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent };
|
|
636
|
+
export type { AXPLayoutDetailsViewAction, AXPLayoutDetailsViewAdapter, AXPLayoutDetailsViewPage, AXPLayoutDetailsViewTabItem };
|