@acorex/platform 20.3.0-next.0 → 20.3.0-next.1
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 +5 -119
- package/core/index.d.ts +67 -72
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +11 -35
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +164 -142
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +638 -1168
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +51 -1439
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +137 -92
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +1059 -3204
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +72 -373
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +22 -0
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +665 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs} +10 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +236 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +484 -39
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs} +1 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs} +1 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +13 -11
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs → acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs} +3 -3
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs → acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs} +2 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs → acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs → acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs} +4 -69
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs → acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs} +64 -74
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs} +5 -5
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs} +3 -3
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs → acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs} +12 -8
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +1498 -2707
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +0 -3
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +181 -367
- package/layout/components/index.d.ts +25 -372
- package/layout/designer/index.d.ts +47 -16
- package/layout/entity/index.d.ts +336 -222
- package/layout/views/index.d.ts +22 -129
- package/package.json +36 -22
- package/widgets/index.d.ts +224 -275
- package/workflow/index.d.ts +1 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs +0 -707
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs +0 -244
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs +0 -50
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs +0 -42
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs +0 -50
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs +0 -48
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs +0 -42
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.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,
|
|
9
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPBackButton, AXPExecuteCommand, AXPQueryFetchResult, AXPExecuteCommandResult, AXPExpressionEvaluatorScope } 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,10 +16,8 @@ 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,
|
|
20
|
-
import { AXFormComponent } from '@acorex/components/form';
|
|
19
|
+
import { AXPWidgetNode, AXPPageStatus, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
21
20
|
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
22
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
|
23
21
|
|
|
24
22
|
declare abstract class AXPPageLayoutBase {
|
|
25
23
|
abstract primaryMenuItems: Signal<AXPActionMenuItem[]>;
|
|
@@ -35,8 +33,6 @@ declare abstract class AXPPageLayoutBase {
|
|
|
35
33
|
abstract hasDescription: Signal<boolean>;
|
|
36
34
|
abstract description: Signal<string>;
|
|
37
35
|
abstract hasBreadcrumbs: Signal<boolean>;
|
|
38
|
-
abstract hasBadge: Signal<boolean>;
|
|
39
|
-
abstract badge: Signal<AXPBadge | null>;
|
|
40
36
|
abstract hasBackButton: Signal<boolean>;
|
|
41
37
|
abstract backButton: Signal<AXPBackButton>;
|
|
42
38
|
abstract onBackButtonClick: () => void | Promise<void>;
|
|
@@ -207,9 +203,6 @@ declare abstract class AXPPageLayoutBaseComponent {
|
|
|
207
203
|
private breadcrumbs;
|
|
208
204
|
private hasBreadcrumbs;
|
|
209
205
|
protected getPageBreadcrumbs(): AXPBreadcrumbItem[] | Promise<AXPBreadcrumbItem[]>;
|
|
210
|
-
private badge;
|
|
211
|
-
private hasBadge;
|
|
212
|
-
protected getPageBadge(): AXPBadge | null | Promise<AXPBadge | null>;
|
|
213
206
|
protected layout: _angular_core.Signal<AXPPageLayoutComponent | undefined>;
|
|
214
207
|
protected toggleEndSide(): void;
|
|
215
208
|
protected toggleStartSide(): void;
|
|
@@ -428,60 +421,31 @@ interface AXPLayoutDetailsViewTabItem {
|
|
|
428
421
|
interface AXPLayoutDetailsViewPage {
|
|
429
422
|
id: string;
|
|
430
423
|
title: string;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
icon?: string;
|
|
424
|
+
description: string;
|
|
425
|
+
icon: string;
|
|
434
426
|
content?: AXPWidgetNode[];
|
|
435
427
|
tabs?: AXPLayoutDetailsViewTabItem[];
|
|
436
428
|
actions?: AXPLayoutDetailsViewAction[];
|
|
437
|
-
|
|
438
|
-
|
|
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>;
|
|
429
|
+
load: (params: Record<string, any>) => Promise<AXPQueryFetchResult>;
|
|
430
|
+
execute: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
456
431
|
}
|
|
457
432
|
interface AXPLayoutDetailsViewAdapter {
|
|
458
|
-
name: string;
|
|
459
433
|
title?: string;
|
|
460
|
-
label?: string;
|
|
461
434
|
description?: string;
|
|
462
435
|
icon?: string;
|
|
463
436
|
actions?: AXPLayoutDetailsViewAction[];
|
|
464
|
-
breadcrumbs?: AXPBreadcrumbItem[];
|
|
465
|
-
pages: AXPLayoutDetailsViewPage[];
|
|
466
437
|
execute?: (command: AXPExecuteCommand, context: {}) => Promise<AXPExecuteCommandResult>;
|
|
467
|
-
|
|
468
|
-
exitUrl?: string;
|
|
438
|
+
pages: AXPLayoutDetailsViewPage[];
|
|
469
439
|
}
|
|
470
440
|
|
|
471
441
|
declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
472
442
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
473
|
-
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
474
443
|
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
475
444
|
context: _angular_core.Signal<Record<string, any>>;
|
|
476
445
|
scope: _angular_core.Signal<AXPExpressionEvaluatorScope | null>;
|
|
477
446
|
status: _angular_core.Signal<AXPPageStatus>;
|
|
478
447
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
479
448
|
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
|
-
}[]>>;
|
|
485
449
|
icon: _angular_core.Signal<string | null>;
|
|
486
450
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
487
451
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -489,20 +453,11 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
489
453
|
isBusy: _angular_core.Signal<boolean>;
|
|
490
454
|
isSaving: _angular_core.Signal<boolean>;
|
|
491
455
|
isDirty: _angular_core.Signal<boolean>;
|
|
492
|
-
changesCount: _angular_core.Signal<number>;
|
|
493
456
|
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>;
|
|
501
457
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
502
458
|
updateContext: (context: any) => void;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
currentPageDescription: () => string | null;
|
|
459
|
+
currentPageTitle: () => Promise<any>;
|
|
460
|
+
currentPageDescription: () => Promise<any>;
|
|
506
461
|
currentPagePrimaryActions: () => Promise<any>;
|
|
507
462
|
currentPageSecondaryActions: () => Promise<any>;
|
|
508
463
|
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
@@ -510,36 +465,20 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
510
465
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
511
466
|
setCurrentTab: (tab: AXPLayoutDetailsViewTabItem) => void;
|
|
512
467
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
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
|
-
}[]>;
|
|
468
|
+
title: () => Promise<string | undefined>;
|
|
469
|
+
description: () => Promise<string | undefined>;
|
|
470
|
+
primaryActions: () => Promise<_acorex_platform_layout_views.AXPLayoutDetailsViewAction[]>;
|
|
471
|
+
secondaryActions: () => Promise<_acorex_platform_layout_views.AXPLayoutDetailsViewAction[]>;
|
|
526
472
|
discard: () => Promise<void>;
|
|
527
|
-
save: (
|
|
528
|
-
goToListPage: () => void;
|
|
473
|
+
save: () => Promise<void>;
|
|
529
474
|
} & _ngrx_signals.StateSource<{
|
|
530
475
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
531
|
-
rootContext: Record<string, any>;
|
|
532
476
|
previousContext: Record<string, any>;
|
|
533
477
|
context: Record<string, any>;
|
|
534
478
|
scope: AXPExpressionEvaluatorScope | null;
|
|
535
479
|
status: AXPPageStatus;
|
|
536
480
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
537
481
|
currentTab: AXPLayoutDetailsViewTabItem | null;
|
|
538
|
-
pageSelectedRows: any[];
|
|
539
|
-
renderedTabsCache: Record<string, Array<{
|
|
540
|
-
tabId: string;
|
|
541
|
-
tab: AXPLayoutDetailsViewTabItem;
|
|
542
|
-
}>>;
|
|
543
482
|
}>>;
|
|
544
483
|
|
|
545
484
|
declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent implements OnInit, OnDestroy {
|
|
@@ -547,18 +486,12 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
547
486
|
adapter: _angular_core.InputSignal<AXPLayoutDetailsViewAdapter>;
|
|
548
487
|
protected vm: {
|
|
549
488
|
adapter: _angular_core.Signal<AXPLayoutDetailsViewAdapter | null>;
|
|
550
|
-
rootContext: _angular_core.Signal<Record<string, any>>;
|
|
551
489
|
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
552
490
|
context: _angular_core.Signal<Record<string, any>>;
|
|
553
491
|
scope: _angular_core.Signal<_acorex_platform_core.AXPExpressionEvaluatorScope | null>;
|
|
554
492
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
555
493
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
556
494
|
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
|
-
}[]>>;
|
|
562
495
|
icon: _angular_core.Signal<string | null>;
|
|
563
496
|
content: _angular_core.Signal<_acorex_platform_layout_builder.AXPWidgetNode[]>;
|
|
564
497
|
showPages: _angular_core.Signal<boolean>;
|
|
@@ -566,20 +499,11 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
566
499
|
isBusy: _angular_core.Signal<boolean>;
|
|
567
500
|
isSaving: _angular_core.Signal<boolean>;
|
|
568
501
|
isDirty: _angular_core.Signal<boolean>;
|
|
569
|
-
changesCount: _angular_core.Signal<number>;
|
|
570
502
|
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>;
|
|
578
503
|
load: (adapter: AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
579
504
|
updateContext: (context: any) => void;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
currentPageDescription: () => string | null;
|
|
505
|
+
currentPageTitle: () => Promise<any>;
|
|
506
|
+
currentPageDescription: () => Promise<any>;
|
|
583
507
|
currentPagePrimaryActions: () => Promise<any>;
|
|
584
508
|
currentPageSecondaryActions: () => Promise<any>;
|
|
585
509
|
currentPageContent: () => _acorex_platform_layout_builder.AXPWidgetNode[] | undefined;
|
|
@@ -587,56 +511,27 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
587
511
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
588
512
|
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
589
513
|
getCurrentTabContent: () => _acorex_platform_layout_builder.AXPWidgetNode[];
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
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
|
-
}[]>;
|
|
514
|
+
title: () => Promise<string | undefined>;
|
|
515
|
+
description: () => Promise<string | undefined>;
|
|
516
|
+
primaryActions: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
517
|
+
secondaryActions: () => Promise<AXPLayoutDetailsViewAction[]>;
|
|
603
518
|
discard: () => Promise<void>;
|
|
604
|
-
save: (
|
|
605
|
-
goToListPage: () => void;
|
|
519
|
+
save: () => Promise<void>;
|
|
606
520
|
} & _ngrx_signals.StateSource<{
|
|
607
521
|
adapter: AXPLayoutDetailsViewAdapter | null;
|
|
608
|
-
rootContext: Record<string, any>;
|
|
609
522
|
previousContext: Record<string, any>;
|
|
610
523
|
context: Record<string, any>;
|
|
611
524
|
scope: _acorex_platform_core.AXPExpressionEvaluatorScope | null;
|
|
612
525
|
status: _acorex_platform_layout_builder.AXPPageStatus;
|
|
613
526
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
614
527
|
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
|
-
}>>;
|
|
620
528
|
}>;
|
|
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>;
|
|
628
529
|
protected footerPrimaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
629
530
|
protected footerSecondaryActions: _angular_core.WritableSignal<AXPActionMenuItem[]>;
|
|
630
531
|
protected footerActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
631
532
|
protected hasVisibleFooterPrimaryActions: _angular_core.Signal<boolean>;
|
|
632
533
|
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>;
|
|
638
534
|
ngOnInit(): Promise<void>;
|
|
639
|
-
ngAfterViewInit(): Promise<void>;
|
|
640
535
|
ngOnDestroy(): void;
|
|
641
536
|
protected handleOnContextChanged(e: AXPLayoutContextChangeEvent): void;
|
|
642
537
|
protected handleSelectPage(page: AXPLayoutDetailsViewPage): void;
|
|
@@ -646,12 +541,10 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
646
541
|
protected getAllSecondaryActions(): Promise<AXPLayoutDetailsViewAction[]>;
|
|
647
542
|
protected getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
648
543
|
protected getFooterSecondaryActions(): Promise<AXPActionMenuItem[]>;
|
|
649
|
-
protected getPageBreadcrumbs(): Promise<AXPBreadcrumbItem[]>;
|
|
650
544
|
protected getPageTitle(): Promise<string>;
|
|
651
545
|
getPageDescription(): Promise<string | null>;
|
|
652
546
|
getBackButton(): Promise<AXPBackButton | null>;
|
|
653
|
-
|
|
654
|
-
onBackButtonClick(): Promise<void>;
|
|
547
|
+
onBackButtonClick(): void | Promise<void>;
|
|
655
548
|
execute(command: AXPExecuteCommand): Promise<void>;
|
|
656
549
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutDetailsViewComponent, never>;
|
|
657
550
|
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,16 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.3.0-next.
|
|
3
|
+
"version": "20.3.0-next.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"@
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"
|
|
11
|
-
"
|
|
5
|
+
"@angular/common": ">=19.0.0",
|
|
6
|
+
"@angular/core": ">=19.0.0",
|
|
7
|
+
"@ngrx/effects": "18.0.0",
|
|
8
|
+
"@ngrx/store": "18.0.0",
|
|
9
|
+
"@ngrx/store-devtools": "18.0.0",
|
|
10
|
+
"dexie": "^3.2.4",
|
|
11
|
+
"jwt-decode": "^4.0.0",
|
|
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",
|
|
12
20
|
"dom-to-image": "^2.6.0",
|
|
13
|
-
"
|
|
21
|
+
"d3": "^7.9.0",
|
|
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"
|
|
14
28
|
},
|
|
15
29
|
"dependencies": {
|
|
16
30
|
"tslib": "^2.3.0"
|
|
@@ -38,6 +52,10 @@
|
|
|
38
52
|
"types": "./core/index.d.ts",
|
|
39
53
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
40
54
|
},
|
|
55
|
+
"./native": {
|
|
56
|
+
"types": "./native/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
58
|
+
},
|
|
41
59
|
"./domain": {
|
|
42
60
|
"types": "./domain/index.d.ts",
|
|
43
61
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
@@ -54,13 +72,13 @@
|
|
|
54
72
|
"types": "./workflow/index.d.ts",
|
|
55
73
|
"default": "./fesm2022/acorex-platform-workflow.mjs"
|
|
56
74
|
},
|
|
57
|
-
"./
|
|
58
|
-
"types": "./
|
|
59
|
-
"default": "./fesm2022/acorex-platform-
|
|
75
|
+
"./themes/default": {
|
|
76
|
+
"types": "./themes/default/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
60
78
|
},
|
|
61
|
-
"./
|
|
62
|
-
"types": "./
|
|
63
|
-
"default": "./fesm2022/acorex-platform-
|
|
79
|
+
"./themes/shared": {
|
|
80
|
+
"types": "./themes/shared/index.d.ts",
|
|
81
|
+
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
64
82
|
},
|
|
65
83
|
"./layout/components": {
|
|
66
84
|
"types": "./layout/components/index.d.ts",
|
|
@@ -78,13 +96,9 @@
|
|
|
78
96
|
"types": "./layout/views/index.d.ts",
|
|
79
97
|
"default": "./fesm2022/acorex-platform-layout-views.mjs"
|
|
80
98
|
},
|
|
81
|
-
"./
|
|
82
|
-
"types": "./
|
|
83
|
-
"default": "./fesm2022/acorex-platform-
|
|
84
|
-
},
|
|
85
|
-
"./themes/shared": {
|
|
86
|
-
"types": "./themes/shared/index.d.ts",
|
|
87
|
-
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
99
|
+
"./layout/builder": {
|
|
100
|
+
"types": "./layout/builder/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/acorex-platform-layout-builder.mjs"
|
|
88
102
|
}
|
|
89
103
|
}
|
|
90
104
|
}
|