@acorex/platform 20.3.0-next.1 → 20.3.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +120 -5
- package/core/index.d.ts +102 -61
- package/fesm2022/acorex-platform-auth.mjs +20 -20
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +136 -112
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +287 -198
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1226 -687
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1525 -129
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +159 -204
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +3674 -1154
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +387 -86
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs} +6 -6
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +708 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs} +6 -13
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs +244 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +64 -509
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +50 -52
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs → acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs → acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs} +4 -5
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs → acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs → acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs +55 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs +48 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs → acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs} +71 -6
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs} +77 -67
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs} +8 -8
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs} +6 -6
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs} +10 -14
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +3953 -2138
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +28 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +361 -181
- package/layout/components/index.d.ts +372 -25
- package/layout/designer/index.d.ts +16 -47
- package/layout/entity/index.d.ts +255 -336
- package/layout/views/index.d.ts +129 -22
- package/package.json +23 -37
- package/widgets/index.d.ts +372 -230
- package/workflow/index.d.ts +4 -1
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +0 -22
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +0 -665
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +0 -236
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +0 -1
package/layout/views/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ 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, AXPBackButton, AXPExecuteCommand,
|
|
9
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPBadge, AXPBackButton, AXPExecuteCommand, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPBroadcastEventService } from '@acorex/platform/core';
|
|
10
10
|
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
|
11
11
|
import { AXPCommandService, AXPPolicyEngineService } from '@acorex/platform/runtime';
|
|
12
12
|
import { AXToastService } from '@acorex/components/toast';
|
|
@@ -16,8 +16,10 @@ import { AXPSessionService } from '@acorex/platform/auth';
|
|
|
16
16
|
import { AXPHomePageService } from '@acorex/platform/common';
|
|
17
17
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
18
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
19
|
-
import { AXPWidgetNode, AXPPageStatus, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
19
|
+
import { AXPWidgetNode, AXPPageStatus, AXPWidgetContainerComponent, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
20
|
+
import { AXFormComponent } from '@acorex/components/form';
|
|
20
21
|
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
22
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
21
23
|
|
|
22
24
|
declare abstract class AXPPageLayoutBase {
|
|
23
25
|
abstract primaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
@@ -33,6 +35,8 @@ declare abstract class AXPPageLayoutBase {
|
|
|
33
35
|
abstract hasDescription: Signal<boolean>;
|
|
34
36
|
abstract description: Signal<string>;
|
|
35
37
|
abstract hasBreadcrumbs: Signal<boolean>;
|
|
38
|
+
abstract hasBadge: Signal<boolean>;
|
|
39
|
+
abstract badge: Signal<AXPBadge | null>;
|
|
36
40
|
abstract hasBackButton: Signal<boolean>;
|
|
37
41
|
abstract backButton: Signal<AXPBackButton>;
|
|
38
42
|
abstract onBackButtonClick: () => void | Promise<void>;
|
|
@@ -203,6 +207,9 @@ declare abstract class AXPPageLayoutBaseComponent {
|
|
|
203
207
|
private breadcrumbs;
|
|
204
208
|
private hasBreadcrumbs;
|
|
205
209
|
protected getPageBreadcrumbs(): AXPBreadcrumbItem[] | Promise<AXPBreadcrumbItem[]>;
|
|
210
|
+
private badge;
|
|
211
|
+
private hasBadge;
|
|
212
|
+
protected getPageBadge(): AXPBadge | null | Promise<AXPBadge | null>;
|
|
206
213
|
protected layout: _angular_core.Signal<AXPPageLayoutComponent | undefined>;
|
|
207
214
|
protected toggleEndSide(): void;
|
|
208
215
|
protected toggleStartSide(): void;
|
|
@@ -421,31 +428,60 @@ interface AXPLayoutDetailsViewTabItem {
|
|
|
421
428
|
interface AXPLayoutDetailsViewPage {
|
|
422
429
|
id: string;
|
|
423
430
|
title: string;
|
|
424
|
-
|
|
425
|
-
|
|
431
|
+
label: string;
|
|
432
|
+
description?: string;
|
|
433
|
+
icon?: string;
|
|
426
434
|
content?: AXPWidgetNode[];
|
|
427
435
|
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
428
436
|
actions?: AXPLayoutDetailsViewAction[];
|
|
429
|
-
|
|
430
|
-
|
|
437
|
+
isPrimary?: boolean;
|
|
438
|
+
settings?: {
|
|
439
|
+
commands?: {
|
|
440
|
+
accept?: {
|
|
441
|
+
title: string;
|
|
442
|
+
color: string;
|
|
443
|
+
visible?: string | boolean;
|
|
444
|
+
command: AXPExecuteCommand;
|
|
445
|
+
};
|
|
446
|
+
reject?: {
|
|
447
|
+
title: string;
|
|
448
|
+
color: string;
|
|
449
|
+
visible?: string | boolean;
|
|
450
|
+
command: AXPExecuteCommand;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
load?: (params?: Record<string, any>) => Promise<AXPExecuteCommandResult>;
|
|
455
|
+
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
431
456
|
}
|
|
432
457
|
interface AXPLayoutDetailsViewAdapter {
|
|
458
|
+
name: string;
|
|
433
459
|
title?: string;
|
|
460
|
+
label?: string;
|
|
434
461
|
description?: string;
|
|
435
462
|
icon?: string;
|
|
436
463
|
actions?: AXPLayoutDetailsViewAction[];
|
|
437
|
-
|
|
464
|
+
breadcrumbs?: AXPBreadcrumbItem[];
|
|
438
465
|
pages: AXPLayoutDetailsViewPage[];
|
|
466
|
+
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
467
|
+
load?: (params?: Record<string, any>) => Promise<AXPExecuteCommandResult>;
|
|
468
|
+
exitUrl?: string;
|
|
439
469
|
}
|
|
440
470
|
|
|
441
471
|
declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
442
472
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
473
|
+
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
443
474
|
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
444
475
|
context: _angular_core.Signal<Record<string, any>>;
|
|
445
476
|
scope: _angular_core.Signal<AXPExpressionEvaluatorScope | null>;
|
|
446
477
|
status: _angular_core.Signal<AXPPageStatus>;
|
|
447
478
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
448
479
|
currentTab: _angular_core.Signal<AXPLayoutDetailsViewTabItem | null>;
|
|
480
|
+
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
481
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
482
|
+
tabId: string;
|
|
483
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
484
|
+
}[]>>;
|
|
449
485
|
icon: _angular_core.Signal<string | null>;
|
|
450
486
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
451
487
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -453,11 +489,20 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
453
489
|
isBusy: _angular_core.Signal<boolean>;
|
|
454
490
|
isSaving: _angular_core.Signal<boolean>;
|
|
455
491
|
isDirty: _angular_core.Signal<boolean>;
|
|
492
|
+
changesCount: _angular_core.Signal<number>;
|
|
456
493
|
isLoaded: _angular_core.Signal<boolean>;
|
|
494
|
+
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
495
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
496
|
+
tabId: string;
|
|
497
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
498
|
+
}[]>;
|
|
499
|
+
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
500
|
+
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
457
501
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
458
502
|
updateContext: (context: any) => void;
|
|
459
|
-
|
|
460
|
-
|
|
503
|
+
updatePageSelectedRows: (rows: any[]) => void;
|
|
504
|
+
currentPageTitle: () => string | null;
|
|
505
|
+
currentPageDescription: () => string | null;
|
|
461
506
|
currentPagePrimaryActions: () => Promise<any>;
|
|
462
507
|
currentPageSecondaryActions: () => Promise<any>;
|
|
463
508
|
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
@@ -465,20 +510,36 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
465
510
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
466
511
|
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
467
512
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
513
|
+
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
514
|
+
clearPageTabCache: (pageId: string) => void;
|
|
515
|
+
title: () => string | null;
|
|
516
|
+
backButtonTitle: () => string | null;
|
|
517
|
+
description: () => string | null;
|
|
518
|
+
primaryActions: () => Promise<any>;
|
|
519
|
+
secondaryActions: () => Promise<any>;
|
|
520
|
+
breadcrumbs: () => Promise<{
|
|
521
|
+
title: string;
|
|
522
|
+
name?: string;
|
|
523
|
+
icon?: string;
|
|
524
|
+
command?: AXPExecuteCommand;
|
|
525
|
+
}[]>;
|
|
472
526
|
discard: () => Promise<void>;
|
|
473
|
-
save: () => Promise<void>;
|
|
527
|
+
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
528
|
+
goToListPage: () => void;
|
|
474
529
|
} & _ngrx_signals.StateSource<{
|
|
475
530
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
531
|
+
rootContext: Record<string, any>;
|
|
476
532
|
previousContext: Record<string, any>;
|
|
477
533
|
context: Record<string, any>;
|
|
478
534
|
scope: AXPExpressionEvaluatorScope | null;
|
|
479
535
|
status: AXPPageStatus;
|
|
480
536
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
481
537
|
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
538
|
+
pageSelectedRows: any[];
|
|
539
|
+
renderedTabsCache: Record<string, Array<{
|
|
540
|
+
tabId: string;
|
|
541
|
+
tab: AXPLayoutDetailsViewTabItem;
|
|
542
|
+
}>>;
|
|
482
543
|
}>>;
|
|
483
544
|
|
|
484
545
|
declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent implements OnInit, OnDestroy {
|
|
@@ -486,12 +547,18 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
486
547
|
adapter: _angular_core.InputSignal<AXPLayoutDetailsViewAdapter>;
|
|
487
548
|
protected vm: {
|
|
488
549
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
550
|
+
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
489
551
|
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
490
552
|
context: _angular_core.Signal<Record<string, any>>;
|
|
491
553
|
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
492
554
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
493
555
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
494
556
|
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
557
|
+
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
558
|
+
renderedTabsCache: _angular_core.Signal<Record<string, {
|
|
559
|
+
tabId: string;
|
|
560
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
561
|
+
}[]>>;
|
|
495
562
|
icon: _angular_core.Signal<string | null>;
|
|
496
563
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
497
564
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -499,11 +566,20 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
499
566
|
isBusy: _angular_core.Signal<boolean>;
|
|
500
567
|
isSaving: _angular_core.Signal<boolean>;
|
|
501
568
|
isDirty: _angular_core.Signal<boolean>;
|
|
569
|
+
changesCount: _angular_core.Signal<number>;
|
|
502
570
|
isLoaded: _angular_core.Signal<boolean>;
|
|
571
|
+
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
572
|
+
currentPageRenderedTabs: _angular_core.Signal<{
|
|
573
|
+
tabId: string;
|
|
574
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
575
|
+
}[]>;
|
|
576
|
+
loadAdapter: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
577
|
+
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
503
578
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
504
579
|
updateContext: (context: any) => void;
|
|
505
|
-
|
|
506
|
-
|
|
580
|
+
updatePageSelectedRows: (rows: any[]) => void;
|
|
581
|
+
currentPageTitle: () => string | null;
|
|
582
|
+
currentPageDescription: () => string | null;
|
|
507
583
|
currentPagePrimaryActions: () => Promise<any>;
|
|
508
584
|
currentPageSecondaryActions: () => Promise<any>;
|
|
509
585
|
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
@@ -511,27 +587,56 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
511
587
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
512
588
|
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
513
589
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
590
|
+
getRenderedTabContent: (tabId: string) => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
591
|
+
clearPageTabCache: (pageId: string) => void;
|
|
592
|
+
title: () => string | null;
|
|
593
|
+
backButtonTitle: () => string | null;
|
|
594
|
+
description: () => string | null;
|
|
595
|
+
primaryActions: () => Promise<any>;
|
|
596
|
+
secondaryActions: () => Promise<any>;
|
|
597
|
+
breadcrumbs: () => Promise<{
|
|
598
|
+
title: string;
|
|
599
|
+
name?: string;
|
|
600
|
+
icon?: string;
|
|
601
|
+
command?: AXPExecuteCommand;
|
|
602
|
+
}[]>;
|
|
518
603
|
discard: () => Promise<void>;
|
|
519
|
-
save: () => Promise<void>;
|
|
604
|
+
save: (command: AXPExecuteCommand, form: AXFormComponent) => Promise<void>;
|
|
605
|
+
goToListPage: () => void;
|
|
520
606
|
} & _ngrx_signals.StateSource<{
|
|
521
607
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
608
|
+
rootContext: Record<string, any>;
|
|
522
609
|
previousContext: Record<string, any>;
|
|
523
610
|
context: Record<string, any>;
|
|
524
611
|
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
525
612
|
status: _acorex_platform_layout_builder.AXPPageStatus;
|
|
526
613
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
527
614
|
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
615
|
+
pageSelectedRows: any[];
|
|
616
|
+
renderedTabsCache: Record<string, Array<{
|
|
617
|
+
tabId: string;
|
|
618
|
+
tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem;
|
|
619
|
+
}>>;
|
|
528
620
|
}>;
|
|
621
|
+
protected router: Router;
|
|
622
|
+
protected route: ActivatedRoute;
|
|
623
|
+
protected eventService: AXPBroadcastEventService;
|
|
624
|
+
private onSelectionChangeSubscription?;
|
|
625
|
+
private readonly destroyed$;
|
|
626
|
+
protected form: _angular_core.Signal<AXFormComponent | undefined>;
|
|
627
|
+
protected widgetContainer: _angular_core.Signal<AXPWidgetContainerComponent | undefined>;
|
|
529
628
|
protected footerPrimaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
530
629
|
protected footerSecondaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
531
630
|
protected footerActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
532
631
|
protected hasVisibleFooterPrimaryActions: _angular_core.Signal<boolean>;
|
|
533
632
|
protected hasVisibleFooterSecondaryActions: _angular_core.Signal<boolean>;
|
|
633
|
+
protected hasFooter: _angular_core.Signal<boolean>;
|
|
634
|
+
/**
|
|
635
|
+
* Append timestamp query param to trigger router to re-run guards/resolvers
|
|
636
|
+
*/
|
|
637
|
+
protected refreshLayout(): Promise<void>;
|
|
534
638
|
ngOnInit(): Promise<void>;
|
|
639
|
+
ngAfterViewInit(): Promise<void>;
|
|
535
640
|
ngOnDestroy(): void;
|
|
536
641
|
protected handleOnContextChanged(e: AXPLayoutContextChangeEvent): void;
|
|
537
642
|
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
@@ -541,10 +646,12 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
541
646
|
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
542
647
|
protected getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
543
648
|
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
649
|
+
protected getPageBreadcrumbs(): Promise<AXPBreadcrumbItem[]>;
|
|
544
650
|
protected getPageTitle(): Promise<string>;
|
|
545
651
|
getPageDescription(): Promise<string | null>;
|
|
546
652
|
getBackButton(): Promise<AXPBackButton | null>;
|
|
547
|
-
|
|
653
|
+
getPageBadge(): Promise<AXPBadge | null>;
|
|
654
|
+
onBackButtonClick(): Promise<void>;
|
|
548
655
|
execute(command: AXPExecuteCommand): Promise<void>;
|
|
549
656
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutDetailsViewComponent, never>;
|
|
550
657
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDetailsViewComponent, "axp-layout-details-view", never, { "adapter": { "alias": "adapter"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
package/package.json
CHANGED
|
@@ -1,30 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.3.0-next.
|
|
3
|
+
"version": "20.3.0-next.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"@
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"leaflet": "^1.9.4",
|
|
13
|
-
"leaflet-draw": "^1.0.4",
|
|
14
|
-
"leaflet.locatecontrol": "^0.81.1",
|
|
15
|
-
"lodash-es": "^4.17.21",
|
|
16
|
-
"@types/lodash-es": "^4.17.8",
|
|
17
|
-
"memoizee": "^0.4.15",
|
|
18
|
-
"oidc-client-ts": "^3.0.1",
|
|
19
|
-
"jspdf": "^2.5.1",
|
|
5
|
+
"@acorex/styles": ">=20.0.0",
|
|
6
|
+
"@acorex/core": ">=20.0.0",
|
|
7
|
+
"@acorex/components": ">=20.0.0",
|
|
8
|
+
"@angular/animations": "^20.0.0",
|
|
9
|
+
"@acorex/cdk": ">=20.0.0",
|
|
10
|
+
"@acorex/charts": ">=20.0.0",
|
|
11
|
+
"@ngrx/signals": "^20.0.0",
|
|
20
12
|
"dom-to-image": "^2.6.0",
|
|
21
|
-
"
|
|
22
|
-
"signature_pad": "^4.1.7",
|
|
23
|
-
"@acorex/styles": ">=19.0.0",
|
|
24
|
-
"@acorex/core": ">=19.0.0",
|
|
25
|
-
"@acorex/components": ">=19.0.0",
|
|
26
|
-
"@ngrx/signals": ">=19.0.0",
|
|
27
|
-
"@angular/animations": ">=19.0.0"
|
|
13
|
+
"signature_pad": "^4.1.7"
|
|
28
14
|
},
|
|
29
15
|
"dependencies": {
|
|
30
16
|
"tslib": "^2.3.0"
|
|
@@ -52,14 +38,14 @@
|
|
|
52
38
|
"types": "./core/index.d.ts",
|
|
53
39
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
54
40
|
},
|
|
55
|
-
"./native": {
|
|
56
|
-
"types": "./native/index.d.ts",
|
|
57
|
-
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
58
|
-
},
|
|
59
41
|
"./domain": {
|
|
60
42
|
"types": "./domain/index.d.ts",
|
|
61
43
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
62
44
|
},
|
|
45
|
+
"./native": {
|
|
46
|
+
"types": "./native/index.d.ts",
|
|
47
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
48
|
+
},
|
|
63
49
|
"./runtime": {
|
|
64
50
|
"types": "./runtime/index.d.ts",
|
|
65
51
|
"default": "./fesm2022/acorex-platform-runtime.mjs"
|
|
@@ -72,13 +58,9 @@
|
|
|
72
58
|
"types": "./workflow/index.d.ts",
|
|
73
59
|
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
74
60
|
},
|
|
75
|
-
"./
|
|
76
|
-
"types": "./
|
|
77
|
-
"default": "./fesm2022/acorex-platform-
|
|
78
|
-
},
|
|
79
|
-
"./themes/shared": {
|
|
80
|
-
"types": "./themes/shared/index.d.ts",
|
|
81
|
-
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
61
|
+
"./layout/builder": {
|
|
62
|
+
"types": "./layout/builder/index.d.ts",
|
|
63
|
+
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
|
82
64
|
},
|
|
83
65
|
"./layout/components": {
|
|
84
66
|
"types": "./layout/components/index.d.ts",
|
|
@@ -96,9 +78,13 @@
|
|
|
96
78
|
"types": "./layout/views/index.d.ts",
|
|
97
79
|
"default": "./fesm2022/acorex-platform-layout-views.mjs"
|
|
98
80
|
},
|
|
99
|
-
"./
|
|
100
|
-
"types": "./
|
|
101
|
-
"default": "./fesm2022/acorex-platform-
|
|
81
|
+
"./themes/default": {
|
|
82
|
+
"types": "./themes/default/index.d.ts",
|
|
83
|
+
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
84
|
+
},
|
|
85
|
+
"./themes/shared": {
|
|
86
|
+
"types": "./themes/shared/index.d.ts",
|
|
87
|
+
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
102
88
|
}
|
|
103
89
|
}
|
|
104
90
|
}
|