@acorex/platform 21.0.0-next.7 → 21.0.0-next.71
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 +281 -23
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs +163 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +1381 -276
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +1538 -611
- 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 +1372 -210
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs +121 -0
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +6298 -1929
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +456 -204
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-D8iQnT-R.mjs +371 -0
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-D8iQnT-R.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs +100 -0
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +22537 -9975
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +865 -218
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2138 -487
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs → acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs → acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs → acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs} +12 -12
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs +116 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +10434 -7982
- 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 +391 -166
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs → acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs} +21 -28
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-cfREo88K.mjs → acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs → acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2289 -90
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs → acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs → acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs} +52 -33
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs +94 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs +86 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +790 -612
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +978 -238
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +40 -38
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +241 -4
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +833 -89
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +779 -164
- 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} +277 -55
- package/types/acorex-platform-layout-components.d.ts +3257 -0
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +96 -18
- package/types/acorex-platform-layout-entity.d.ts +4492 -0
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +247 -62
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +437 -131
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +1140 -506
- package/{native/index.d.ts → types/acorex-platform-native.d.ts} +0 -7
- package/types/acorex-platform-runtime.d.ts +571 -0
- package/{themes/default/index.d.ts → types/acorex-platform-themes-default.d.ts} +254 -7
- package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +30 -2
- package/{workflow/index.d.ts → types/acorex-platform-workflow.d.ts} +620 -617
- package/fesm2022/acorex-platform-common-common-settings.provider-zhqNP3xb.mjs +0 -71
- package/fesm2022/acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs +0 -135
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs +0 -157
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DfJEx_bs.mjs +0 -1542
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DfJEx_bs.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.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-DTnfRy5f.mjs +0 -65
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs +0 -64
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map +0 -1
- package/layout/components/index.d.ts +0 -1669
- package/layout/entity/index.d.ts +0 -2287
- package/runtime/index.d.ts +0 -307
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
package/layout/entity/index.d.ts
DELETED
|
@@ -1,2287 +0,0 @@
|
|
|
1
|
-
import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPMiddlewareErrorResponse, AXHighlightService, AXPExpression, AXPColumnQuery, AXPSortDefinition, AXPDeviceService, AXPBroadcastEventService, AXPActionMenuItem } from '@acorex/platform/core';
|
|
2
|
-
import { AXPCommand, AXPQueryExecutor, AXPCommandService, AXPQuery } from '@acorex/platform/runtime';
|
|
3
|
-
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { ElementRef, InjectionToken, Injector, Type, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
5
|
-
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
6
|
-
import * as i3 from '@acorex/platform/layout/widget-core';
|
|
7
|
-
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective } from '@acorex/platform/layout/widget-core';
|
|
8
|
-
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption, AXValueChangedEvent, AXClickEvent, AXFocusEvent, AXHtmlEvent, AXDataSourceSortOption } from '@acorex/cdk/common';
|
|
9
|
-
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
10
|
-
import { AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPRelatedEntity, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPEntityPropertyLayoutConfig, AXPQueryView, AXPEntityPropertyView, AXPCategoryEntity, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXPQueryFilter } from '@acorex/platform/common';
|
|
11
|
-
import * as i1 from '@angular/router';
|
|
12
|
-
import { ResolveFn } from '@angular/router';
|
|
13
|
-
import * as rxjs from 'rxjs';
|
|
14
|
-
import { Subject } from 'rxjs';
|
|
15
|
-
import * as i2 from '@acorex/platform/workflow';
|
|
16
|
-
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowContext, AXPWorkflow } from '@acorex/platform/workflow';
|
|
17
|
-
import { AXPSessionService } from '@acorex/platform/auth';
|
|
18
|
-
import { AXTreeViewNode, AXTreeViewComponent, AXTreeViewNodeToggleEvent, AXTreeViewNodeSelectEvent, AXTreeViewSelectionChangeEvent } from '@acorex/components/tree-view';
|
|
19
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
|
20
|
-
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
21
|
-
import { IActionBuilder, IFormFieldBuilder, AXPDialogRef } from '@acorex/platform/layout/builder';
|
|
22
|
-
import { AXBasePageComponent } from '@acorex/components/page';
|
|
23
|
-
import { AXFormatService } from '@acorex/core/format';
|
|
24
|
-
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
25
|
-
import { AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
26
|
-
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
27
|
-
|
|
28
|
-
declare class AXPCreateEntityCommand implements AXPCommand<any, any> {
|
|
29
|
-
private entityForm;
|
|
30
|
-
private settingsService;
|
|
31
|
-
private entityService;
|
|
32
|
-
private toastService;
|
|
33
|
-
private translationService;
|
|
34
|
-
private eventService;
|
|
35
|
-
protected context: {};
|
|
36
|
-
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
37
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPCreateEntityCommand, never>;
|
|
38
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPCreateEntityCommand>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
42
|
-
private readonly entityForm;
|
|
43
|
-
private readonly settingsService;
|
|
44
|
-
private readonly entityService;
|
|
45
|
-
private readonly toastService;
|
|
46
|
-
private readonly translationService;
|
|
47
|
-
private readonly eventService;
|
|
48
|
-
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
49
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPUpdateEntityCommand, never>;
|
|
50
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPUpdateEntityCommand>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare class AXPViewEntityDetailsCommand implements AXPCommand<any, any> {
|
|
54
|
-
private readonly entityForm;
|
|
55
|
-
private readonly entityService;
|
|
56
|
-
private readonly translationService;
|
|
57
|
-
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
58
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPViewEntityDetailsCommand, never>;
|
|
59
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPViewEntityDetailsCommand>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
interface AXPOpenEntityDetailsCommandInput {
|
|
63
|
-
entity: string;
|
|
64
|
-
data: {
|
|
65
|
-
id: string;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Generic command to open entity details view
|
|
70
|
-
* Can be used by any entity to navigate to its detail page
|
|
71
|
-
*/
|
|
72
|
-
declare class AXPOpenEntityDetailsCommand implements AXPCommand<AXPOpenEntityDetailsCommandInput, AXPExecuteCommandResult> {
|
|
73
|
-
private readonly router;
|
|
74
|
-
private readonly sessionService;
|
|
75
|
-
/**
|
|
76
|
-
* Execute the command to navigate to entity details
|
|
77
|
-
* @param input - Command input containing entity and data information
|
|
78
|
-
*/
|
|
79
|
-
execute(input: AXPOpenEntityDetailsCommandInput): Promise<AXPExecuteCommandResult>;
|
|
80
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPOpenEntityDetailsCommand, never>;
|
|
81
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPOpenEntityDetailsCommand>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
declare class AXPEntityDetailPopoverComponent {
|
|
85
|
-
private readonly commandService;
|
|
86
|
-
private readonly queryService;
|
|
87
|
-
entity: _angular_core.InputSignal<string>;
|
|
88
|
-
entityId: _angular_core.InputSignal<string | number>;
|
|
89
|
-
textField: _angular_core.InputSignal<string>;
|
|
90
|
-
valueField: _angular_core.InputSignal<string>;
|
|
91
|
-
item: _angular_core.InputSignal<AXPMetaData | undefined>;
|
|
92
|
-
protected detailPopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
93
|
-
protected entityDetails: _angular_core.WritableSignal<any>;
|
|
94
|
-
protected isLoadingDetails: _angular_core.WritableSignal<boolean>;
|
|
95
|
-
protected isDetailPopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
96
|
-
/**
|
|
97
|
-
* Show the entity detail popover
|
|
98
|
-
*/
|
|
99
|
-
show(target: ElementRef | HTMLElement): Promise<void>;
|
|
100
|
-
/**
|
|
101
|
-
* Hide the entity detail popover
|
|
102
|
-
*/
|
|
103
|
-
hide(): void;
|
|
104
|
-
protected onDetailPopoverOpenChange(event: any): void;
|
|
105
|
-
protected navigateToDetails(): Promise<void>;
|
|
106
|
-
/**
|
|
107
|
-
* Returns true if a value is meaningful for display (non-empty/non-null).
|
|
108
|
-
*/
|
|
109
|
-
private hasMeaningfulValue;
|
|
110
|
-
/**
|
|
111
|
-
* Calculates an importance score for a property based on its widget type,
|
|
112
|
-
* whether it currently has a meaningful value, and metadata like title.
|
|
113
|
-
*/
|
|
114
|
-
private getPropertyImportanceScore;
|
|
115
|
-
/**
|
|
116
|
-
* Calculates a name-based importance score to prioritize common key fields
|
|
117
|
-
* like title, description, status, and important dates.
|
|
118
|
-
* Name priority MUST come before widget-type priority.
|
|
119
|
-
*/
|
|
120
|
-
private getNameImportanceScore;
|
|
121
|
-
protected getEntityPropertiesWithWidgets(): Array<{
|
|
122
|
-
name: string;
|
|
123
|
-
title: string;
|
|
124
|
-
node: AXPWidgetNode;
|
|
125
|
-
}>;
|
|
126
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDetailPopoverComponent, never>;
|
|
127
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDetailPopoverComponent, "axp-entity-detail-popover", never, { "entity": { "alias": "entity"; "required": true; "isSignal": true; }; "entityId": { "alias": "entityId"; "required": true; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
interface AXPEntityDetailPopoverOptions {
|
|
131
|
-
entity: string;
|
|
132
|
-
id: string | number;
|
|
133
|
-
item: AXPMetaData;
|
|
134
|
-
textField?: string;
|
|
135
|
-
valueField?: string;
|
|
136
|
-
}
|
|
137
|
-
declare class AXPEntityDetailPopoverService {
|
|
138
|
-
private readonly applicationRef;
|
|
139
|
-
private readonly environmentInjector;
|
|
140
|
-
private activePopoverRef;
|
|
141
|
-
/**
|
|
142
|
-
* Show entity detail popover
|
|
143
|
-
* @param target - The target element to position the popover
|
|
144
|
-
* @param options - Configuration options for the popover
|
|
145
|
-
*/
|
|
146
|
-
show(target: ElementRef | HTMLElement, options: AXPEntityDetailPopoverOptions): Promise<void>;
|
|
147
|
-
/**
|
|
148
|
-
* Hide the active popover
|
|
149
|
-
*/
|
|
150
|
-
hide(): void;
|
|
151
|
-
/**
|
|
152
|
-
* Check if a popover is currently active
|
|
153
|
-
*/
|
|
154
|
-
get isActive(): boolean;
|
|
155
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDetailPopoverService, never>;
|
|
156
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDetailPopoverService>;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
interface AXPDataSeeder {
|
|
160
|
-
seed(): Promise<void>;
|
|
161
|
-
}
|
|
162
|
-
declare const AXP_DATA_SEEDER_TOKEN: InjectionToken<AXPDataSeeder[]>;
|
|
163
|
-
declare class AXPDataSeederService {
|
|
164
|
-
private loaders;
|
|
165
|
-
seed(): Promise<void>;
|
|
166
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataSeederService, never>;
|
|
167
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataSeederService>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare class AXPEntityCommandTriggerViewModel {
|
|
171
|
-
priority: 'primary' | 'secondary';
|
|
172
|
-
order: number;
|
|
173
|
-
color: AXStyleColorType;
|
|
174
|
-
icon: string;
|
|
175
|
-
title: string;
|
|
176
|
-
name: string;
|
|
177
|
-
key?: string;
|
|
178
|
-
separated: boolean;
|
|
179
|
-
scope: AXPEntityCommandScope;
|
|
180
|
-
disabled: boolean | string;
|
|
181
|
-
hidden: boolean | string;
|
|
182
|
-
options: any;
|
|
183
|
-
metadata?: AXPMetaData;
|
|
184
|
-
default?: boolean;
|
|
185
|
-
constructor(entity: AXPEntity, action: AXPEntityAction);
|
|
186
|
-
}
|
|
187
|
-
declare class AXPEntityListViewColumnViewModel {
|
|
188
|
-
readonly property: AXPEntityProperty;
|
|
189
|
-
readonly column: AXPEntityTableColumn;
|
|
190
|
-
constructor(property: AXPEntityProperty, column: AXPEntityTableColumn);
|
|
191
|
-
name: string;
|
|
192
|
-
title: string;
|
|
193
|
-
visible: boolean;
|
|
194
|
-
dir: "asc" | "desc" | undefined;
|
|
195
|
-
sortEnabled: boolean | undefined;
|
|
196
|
-
width: '';
|
|
197
|
-
node: _angular_core.Signal<AXPWidgetColumnNode>;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
declare class AXPEntityDetailListViewModel {
|
|
201
|
-
private injector;
|
|
202
|
-
private detailEntityConfig;
|
|
203
|
-
private parent;
|
|
204
|
-
private detailEntity;
|
|
205
|
-
private formatService;
|
|
206
|
-
private workflow;
|
|
207
|
-
private filterOperatorMiddleware;
|
|
208
|
-
private expressionEvaluator;
|
|
209
|
-
private queryExecutor;
|
|
210
|
-
dataSource: AXDataSource<any>;
|
|
211
|
-
parentKey: _angular_core.Signal<string | undefined>;
|
|
212
|
-
constructor(injector: Injector, detailEntityConfig: AXPRelatedEntity, parent: {
|
|
213
|
-
entity: AXPEntity;
|
|
214
|
-
data: any;
|
|
215
|
-
});
|
|
216
|
-
initialize(): Promise<void>;
|
|
217
|
-
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
218
|
-
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
219
|
-
clearSelection(): void;
|
|
220
|
-
title: _angular_core.Signal<string>;
|
|
221
|
-
hidden: _angular_core.Signal<Promise<boolean>>;
|
|
222
|
-
inlineFiltersPlaceholders: _angular_core.Signal<string[]>;
|
|
223
|
-
hasInlineFilters: _angular_core.Signal<boolean>;
|
|
224
|
-
private allActions;
|
|
225
|
-
selectedScopeActionsCount: _angular_core.Signal<number>;
|
|
226
|
-
primaryActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
227
|
-
secondaryActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
228
|
-
primaryRowActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
229
|
-
secondaryRowActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
230
|
-
private inlineFilters;
|
|
231
|
-
applyInlineFilter(value: string): void;
|
|
232
|
-
applyFilterAndSort(): Promise<void>;
|
|
233
|
-
columns: _angular_core.Signal<AXPEntityListViewColumnViewModel[]>;
|
|
234
|
-
executeCommand(commandName: string, data?: any): Promise<void>;
|
|
235
|
-
evaluateExpressions: (actionData: {
|
|
236
|
-
[key: string]: string;
|
|
237
|
-
} | string) => Promise<any>;
|
|
238
|
-
/**
|
|
239
|
-
* Evaluate hidden/disabled expressions for primary actions and return the visible list.
|
|
240
|
-
*/
|
|
241
|
-
getPrimaryActions(): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
242
|
-
/**
|
|
243
|
-
* Evaluate hidden/disabled expressions for secondary actions and return the visible list.
|
|
244
|
-
*/
|
|
245
|
-
getSecondaryActions(): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
declare const AXPEntityEventsKeys: {
|
|
249
|
-
REFRESH_LAYOUT: string;
|
|
250
|
-
REFRESH_DATA: string;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Entity Event Dispatcher - A wrapper for entity-specific events
|
|
255
|
-
* Handles pattern-based dispatching for entity operations with wildcard support
|
|
256
|
-
*/
|
|
257
|
-
declare class AXPEntityEventDispatcherService {
|
|
258
|
-
private readonly eventService;
|
|
259
|
-
dispatchEntityEvent(operation: 'inserted' | 'updated' | 'deleted', entityName: string, data: any): Promise<void>;
|
|
260
|
-
private getAllMatchingEventKeys;
|
|
261
|
-
private findMatchingWildcardKeys;
|
|
262
|
-
private matchesEntityPattern;
|
|
263
|
-
private generateEventKeys;
|
|
264
|
-
dispatchInserted(entityName: string, data: any): Promise<void>;
|
|
265
|
-
dispatchUpdated(entityName: string, data: any): Promise<void>;
|
|
266
|
-
dispatchDeleted(entityName: string, data: any): Promise<void>;
|
|
267
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityEventDispatcherService, never>;
|
|
268
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityEventDispatcherService>;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
declare class AXPEntityCreateViewSectionViewModel {
|
|
272
|
-
private entity;
|
|
273
|
-
private section;
|
|
274
|
-
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
275
|
-
group: _acorex_platform_common.AXPEntityPropertyGroup;
|
|
276
|
-
name: _angular_core.WritableSignal<string>;
|
|
277
|
-
title: _angular_core.Signal<string>;
|
|
278
|
-
description: _angular_core.Signal<string | null | undefined>;
|
|
279
|
-
layout: _angular_core.Signal<AXPGridLayoutOptions>;
|
|
280
|
-
elements: _angular_core.Signal<AXPEntityCreateViewElementViewModel[]>;
|
|
281
|
-
}
|
|
282
|
-
declare class AXPEntityCreateViewElementViewModel {
|
|
283
|
-
private entity;
|
|
284
|
-
private section;
|
|
285
|
-
private property;
|
|
286
|
-
private createProp;
|
|
287
|
-
constructor(entity: AXPEntity, section: AXPEntityCreateViewSectionViewModel, property: AXPEntityProperty, createProp: AXPEntityPropertyCreateView);
|
|
288
|
-
name: _angular_core.WritableSignal<string>;
|
|
289
|
-
title: _angular_core.WritableSignal<string>;
|
|
290
|
-
description: _angular_core.WritableSignal<string | undefined>;
|
|
291
|
-
editable: _angular_core.Signal<boolean>;
|
|
292
|
-
isVisible: _angular_core.Signal<string | boolean>;
|
|
293
|
-
isRequired: _angular_core.Signal<boolean>;
|
|
294
|
-
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
295
|
-
node: _angular_core.Signal<AXPWidgetNode>;
|
|
296
|
-
}
|
|
297
|
-
declare class AXPEntityMasterCreateViewModel {
|
|
298
|
-
private readonly injector;
|
|
299
|
-
private readonly config;
|
|
300
|
-
private readonly initialData;
|
|
301
|
-
private readonly commandOptions;
|
|
302
|
-
private entityDef;
|
|
303
|
-
private workflow;
|
|
304
|
-
private expressionEvaluator;
|
|
305
|
-
builder: AXPWidgetCoreService;
|
|
306
|
-
constructor(injector: Injector, config: AXPEntity, initialData: any | undefined, commandOptions: any);
|
|
307
|
-
context: _angular_core.WritableSignal<any>;
|
|
308
|
-
options: _angular_core.WritableSignal<any>;
|
|
309
|
-
isInProgress: _angular_core.WritableSignal<boolean>;
|
|
310
|
-
canCreateNewOne: _angular_core.WritableSignal<boolean>;
|
|
311
|
-
redirect: _angular_core.WritableSignal<boolean>;
|
|
312
|
-
sections: _angular_core.Signal<AXPEntityCreateViewSectionViewModel[]>;
|
|
313
|
-
save(): Promise<any | void>;
|
|
314
|
-
createNewOne(): Promise<void>;
|
|
315
|
-
}
|
|
316
|
-
declare class AXPEntityCreateViewModelFactory {
|
|
317
|
-
private entityService;
|
|
318
|
-
private layout;
|
|
319
|
-
private injector;
|
|
320
|
-
create(moduleName: string, entityName: string, initialData?: any, options?: {
|
|
321
|
-
canCreateNewOne: boolean;
|
|
322
|
-
redirect: boolean;
|
|
323
|
-
}): Promise<AXPEntityMasterCreateViewModel>;
|
|
324
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCreateViewModelFactory, never>;
|
|
325
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityCreateViewModelFactory>;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
interface AXPEntityMasterListViewSortPropViewModel {
|
|
329
|
-
name: string;
|
|
330
|
-
title: string;
|
|
331
|
-
dir?: string;
|
|
332
|
-
}
|
|
333
|
-
declare class AXPEntityMasterListViewQueryViewModel {
|
|
334
|
-
private entity;
|
|
335
|
-
private section;
|
|
336
|
-
private view;
|
|
337
|
-
constructor(entity: AXPEntity, section: AXPEntityMasterListViewModel, view: AXPQueryView);
|
|
338
|
-
name: string;
|
|
339
|
-
title: string;
|
|
340
|
-
sorts: _acorex_platform_common.AXPQuerySort[];
|
|
341
|
-
columns: string[];
|
|
342
|
-
conditions: _acorex_platform_common.AXPQueryFilter[];
|
|
343
|
-
indexCol: boolean | undefined;
|
|
344
|
-
pageSize: number | undefined;
|
|
345
|
-
}
|
|
346
|
-
declare class AXPEntityMasterListViewModel {
|
|
347
|
-
private injector;
|
|
348
|
-
private config;
|
|
349
|
-
readonly entityDef: AXPEntity;
|
|
350
|
-
private readonly _viewDef;
|
|
351
|
-
private readonly formatService;
|
|
352
|
-
private readonly session;
|
|
353
|
-
private readonly workflow;
|
|
354
|
-
private readonly settings;
|
|
355
|
-
private readonly widgetResolver;
|
|
356
|
-
private readonly expressionEvaluator;
|
|
357
|
-
private readonly commandService;
|
|
358
|
-
private readonly eventService;
|
|
359
|
-
private readonly queryExecutor;
|
|
360
|
-
private readonly filterOperatorMiddleware;
|
|
361
|
-
private settingEntityKey;
|
|
362
|
-
private readonly destroyed;
|
|
363
|
-
private lastAppliedSortKey;
|
|
364
|
-
private lastAppliedFilterKey;
|
|
365
|
-
events$: Subject<{
|
|
366
|
-
action: string;
|
|
367
|
-
meta?: any;
|
|
368
|
-
}>;
|
|
369
|
-
views: _angular_core.Signal<AXPEntityMasterListViewQueryViewModel[]>;
|
|
370
|
-
view: _angular_core.WritableSignal<AXPEntityMasterListViewQueryViewModel>;
|
|
371
|
-
setView(viewName?: string | null): Promise<void>;
|
|
372
|
-
dataSource: AXDataSource<any>;
|
|
373
|
-
constructor(injector: Injector, config: AXPEntity);
|
|
374
|
-
applySettings(): Promise<void>;
|
|
375
|
-
saveSettings(changesType: 'columnSizes' | 'columnOrders' | 'view' | 'pageSize' | 'filters' | 'sorts', data?: any): Promise<void>;
|
|
376
|
-
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
377
|
-
parentKey: _angular_core.Signal<string | undefined>;
|
|
378
|
-
hasSelectedItems: _angular_core.Signal<boolean>;
|
|
379
|
-
clearSelection(): void;
|
|
380
|
-
title: _angular_core.Signal<string>;
|
|
381
|
-
description: _angular_core.Signal<string | null>;
|
|
382
|
-
inlineFiltersPlaceholders: _angular_core.Signal<string[]>;
|
|
383
|
-
hasInlineFilters: _angular_core.Signal<boolean>;
|
|
384
|
-
beardcrumbs: _angular_core.Signal<AXPBreadcrumbItem[]>;
|
|
385
|
-
private allActions;
|
|
386
|
-
getPrimaryActions(): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
387
|
-
getSecondaryActions(): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
388
|
-
selectedScopeActionsCount: _angular_core.Signal<number>;
|
|
389
|
-
primaryRowActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
390
|
-
secondaryRowActions(rowData: any): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
391
|
-
filterQueries: _angular_core.WritableSignal<AXPFilterQuery[]>;
|
|
392
|
-
get properties(): AXPEntityProperty[];
|
|
393
|
-
get filtersDef(): AXPFilterDefinition[];
|
|
394
|
-
applyViewFilters(): Promise<void>;
|
|
395
|
-
resetFilters(): void;
|
|
396
|
-
applyFilterAndSort(): Promise<void>;
|
|
397
|
-
private allAvailableColumns;
|
|
398
|
-
visibleColumnCount: () => number;
|
|
399
|
-
columns: _angular_core.WritableSignal<AXPEntityListViewColumnViewModel[]>;
|
|
400
|
-
resetColumns(): void;
|
|
401
|
-
onColumnsChanged(columns: AXPEntityListViewColumnViewModel[]): Promise<void>;
|
|
402
|
-
applyViewColumns(): void;
|
|
403
|
-
onColumnsOrderChanged(event: any): void;
|
|
404
|
-
sortableFields: () => {
|
|
405
|
-
name: string;
|
|
406
|
-
title: string;
|
|
407
|
-
dir: undefined;
|
|
408
|
-
}[];
|
|
409
|
-
sortableFieldsCount: () => number;
|
|
410
|
-
canSort: () => boolean;
|
|
411
|
-
canAddMoreSort: () => boolean;
|
|
412
|
-
sortedCount: () => number;
|
|
413
|
-
sortedFields: _angular_core.WritableSignal<AXPEntityMasterListViewSortPropViewModel[]>;
|
|
414
|
-
resetSorts(): void;
|
|
415
|
-
applyViewSorts(): void;
|
|
416
|
-
executeCommand(commandName: string, data?: any): Promise<void>;
|
|
417
|
-
private evaluateExpressions;
|
|
418
|
-
execute(command: AXPExecuteCommand): Promise<void>;
|
|
419
|
-
destroy(): void;
|
|
420
|
-
}
|
|
421
|
-
declare class AXPEntityListViewModelFactory {
|
|
422
|
-
private entityService;
|
|
423
|
-
private layout;
|
|
424
|
-
private injector;
|
|
425
|
-
create(moduleName: string, entityName: string): Promise<AXPEntityMasterListViewModel>;
|
|
426
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityListViewModelFactory, never>;
|
|
427
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityListViewModelFactory>;
|
|
428
|
-
}
|
|
429
|
-
declare const AXPEntityListViewModelResolver: ResolveFn<Promise<AXPEntityMasterListViewModel>>;
|
|
430
|
-
|
|
431
|
-
declare class AXPEntityMasterSingleViewGroupViewModel {
|
|
432
|
-
private entity;
|
|
433
|
-
private section;
|
|
434
|
-
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
435
|
-
group: _acorex_platform_common.AXPEntityPropertyGroup;
|
|
436
|
-
name: _angular_core.WritableSignal<string>;
|
|
437
|
-
isLoading: _angular_core.WritableSignal<boolean>;
|
|
438
|
-
title: _angular_core.Signal<string>;
|
|
439
|
-
description: _angular_core.Signal<string | null | undefined>;
|
|
440
|
-
layout: _angular_core.Signal<AXPGridLayoutOptions>;
|
|
441
|
-
props: _angular_core.Signal<AXPEntityMasterSingleElementViewModel[]>;
|
|
442
|
-
editableProps: _angular_core.Signal<AXPEntityMasterSingleElementViewModel[]>;
|
|
443
|
-
editable: _angular_core.Signal<boolean>;
|
|
444
|
-
}
|
|
445
|
-
declare class AXPEntityMasterSingleElementViewModel {
|
|
446
|
-
private entity;
|
|
447
|
-
private section;
|
|
448
|
-
private propertyView;
|
|
449
|
-
constructor(entity: AXPEntity, section: AXPEntityMasterSingleViewGroupViewModel, propertyView: AXPEntityPropertyView);
|
|
450
|
-
private property;
|
|
451
|
-
name: _angular_core.WritableSignal<string>;
|
|
452
|
-
path: _angular_core.WritableSignal<string>;
|
|
453
|
-
title: _angular_core.WritableSignal<string>;
|
|
454
|
-
showLabel: _angular_core.WritableSignal<boolean>;
|
|
455
|
-
description: _angular_core.WritableSignal<string | undefined>;
|
|
456
|
-
layout: _angular_core.Signal<AXPGridLayoutOptions>;
|
|
457
|
-
node: _angular_core.Signal<AXPWidgetNode>;
|
|
458
|
-
}
|
|
459
|
-
declare class AXPEntityMasterSingleViewModel {
|
|
460
|
-
private injector;
|
|
461
|
-
private config;
|
|
462
|
-
private entityData;
|
|
463
|
-
entityDef: AXPEntity;
|
|
464
|
-
private readonly _viewDef;
|
|
465
|
-
private readonly session;
|
|
466
|
-
private readonly formatService;
|
|
467
|
-
private readonly workflow;
|
|
468
|
-
private readonly commandService;
|
|
469
|
-
private readonly destroyed;
|
|
470
|
-
private translateService;
|
|
471
|
-
private entityService;
|
|
472
|
-
private expressionEvaluator;
|
|
473
|
-
private entityDefinitionRegistryService;
|
|
474
|
-
private _updateTrigger;
|
|
475
|
-
readonly updateTrigger: _angular_core.Signal<number>;
|
|
476
|
-
constructor(injector: Injector, config: AXPEntity, entityData: any);
|
|
477
|
-
context: _angular_core.WritableSignal<any>;
|
|
478
|
-
private actions;
|
|
479
|
-
primaryActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
480
|
-
secondaryActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
481
|
-
sections: _angular_core.Signal<AXPEntityMasterSingleViewGroupViewModel[]>;
|
|
482
|
-
navigateToUp(): void;
|
|
483
|
-
title: _angular_core.Signal<string>;
|
|
484
|
-
description: _angular_core.Signal<string | null>;
|
|
485
|
-
beardcrumbs: _angular_core.Signal<AXPBreadcrumbItem[]>;
|
|
486
|
-
evaluateExpressions: (options: {
|
|
487
|
-
[key: string]: string;
|
|
488
|
-
}, data: any) => Promise<any>;
|
|
489
|
-
relatedEntities: _angular_core.Signal<Promise<AXPEntityDetailListViewModel[]>>;
|
|
490
|
-
executeCommand(commandName: string, data?: any): Promise<void>;
|
|
491
|
-
execute(command: AXPExecuteCommand): Promise<void>;
|
|
492
|
-
destroy(): void;
|
|
493
|
-
}
|
|
494
|
-
declare class AXPEntityDetailViewModelFactory {
|
|
495
|
-
private entityService;
|
|
496
|
-
private layout;
|
|
497
|
-
private injector;
|
|
498
|
-
create(moduleName: string, entityName: string, id: string): Promise<AXPEntityMasterSingleViewModel>;
|
|
499
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDetailViewModelFactory, never>;
|
|
500
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDetailViewModelFactory>;
|
|
501
|
-
}
|
|
502
|
-
declare const AXPEntityDetailViewModelResolver: ResolveFn<Promise<AXPEntityMasterSingleViewModel>>;
|
|
503
|
-
|
|
504
|
-
declare class AXPEntityUpdateViewSectionViewModel {
|
|
505
|
-
private entity;
|
|
506
|
-
private section;
|
|
507
|
-
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
508
|
-
group: _acorex_platform_common.AXPEntityPropertyGroup;
|
|
509
|
-
name: _angular_core.WritableSignal<string>;
|
|
510
|
-
title: _angular_core.Signal<string>;
|
|
511
|
-
description: _angular_core.Signal<string | null | undefined>;
|
|
512
|
-
layout: _angular_core.Signal<AXPGridLayoutOptions>;
|
|
513
|
-
elements: _angular_core.Signal<AXPEntityMasterUpdateElementViewModel[]>;
|
|
514
|
-
}
|
|
515
|
-
declare class AXPEntityMasterUpdateElementViewModel {
|
|
516
|
-
private entity;
|
|
517
|
-
private property;
|
|
518
|
-
constructor(entity: AXPEntity, property: AXPEntityProperty);
|
|
519
|
-
name: _angular_core.WritableSignal<string>;
|
|
520
|
-
title: _angular_core.WritableSignal<string>;
|
|
521
|
-
description: _angular_core.WritableSignal<string | undefined>;
|
|
522
|
-
editable: _angular_core.Signal<boolean>;
|
|
523
|
-
isRequired: _angular_core.Signal<boolean>;
|
|
524
|
-
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
525
|
-
node: _angular_core.Signal<AXPWidgetNode>;
|
|
526
|
-
}
|
|
527
|
-
declare class AXPEntityMasterUpdateViewModel {
|
|
528
|
-
private injector;
|
|
529
|
-
private config;
|
|
530
|
-
private entityData;
|
|
531
|
-
private props;
|
|
532
|
-
private entityDef;
|
|
533
|
-
private workflow;
|
|
534
|
-
private sessionService;
|
|
535
|
-
private get moduleName();
|
|
536
|
-
private get entityName();
|
|
537
|
-
private get entityId();
|
|
538
|
-
builder: AXPWidgetCoreService;
|
|
539
|
-
constructor(injector: Injector, config: AXPEntity, entityData: any, props: string[]);
|
|
540
|
-
isInProgress: _angular_core.WritableSignal<boolean>;
|
|
541
|
-
context: _angular_core.WritableSignal<any>;
|
|
542
|
-
elements: _angular_core.Signal<AXPEntityMasterUpdateElementViewModel[]>;
|
|
543
|
-
sections: _angular_core.Signal<AXPEntityUpdateViewSectionViewModel[]>;
|
|
544
|
-
save(): Promise<any>;
|
|
545
|
-
reset(): void;
|
|
546
|
-
}
|
|
547
|
-
declare class AXPEntityMasterUpdateViewModelFactory {
|
|
548
|
-
private entityService;
|
|
549
|
-
private layout;
|
|
550
|
-
private injector;
|
|
551
|
-
create(moduleName: string, entityName: string, id: string, props: string[]): Promise<AXPEntityMasterUpdateViewModel>;
|
|
552
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityMasterUpdateViewModelFactory, never>;
|
|
553
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityMasterUpdateViewModelFactory>;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
interface AXPEntityModifierContext {
|
|
557
|
-
readonly entity: AXPEntity;
|
|
558
|
-
title: {
|
|
559
|
-
get(): string;
|
|
560
|
-
set(newTitle: string): AXPEntityModifierContext;
|
|
561
|
-
};
|
|
562
|
-
module: {
|
|
563
|
-
get(): string;
|
|
564
|
-
set(newModule: string): AXPEntityModifierContext;
|
|
565
|
-
};
|
|
566
|
-
name: {
|
|
567
|
-
get(): string;
|
|
568
|
-
set(newName: string): AXPEntityModifierContext;
|
|
569
|
-
};
|
|
570
|
-
parentKey: {
|
|
571
|
-
get(): string | undefined;
|
|
572
|
-
set(newKey: string | undefined): AXPEntityModifierContext;
|
|
573
|
-
};
|
|
574
|
-
category: {
|
|
575
|
-
get(): AXPCategoryEntity | undefined;
|
|
576
|
-
update(updater: (cat: AXPCategoryEntity | undefined) => AXPCategoryEntity): AXPEntityModifierContext;
|
|
577
|
-
};
|
|
578
|
-
properties: {
|
|
579
|
-
list(): AXPEntityProperty[];
|
|
580
|
-
add(...props: AXPEntityProperty[]): AXPEntityModifierContext;
|
|
581
|
-
remove(predicate: (p: AXPEntityProperty) => boolean): AXPEntityModifierContext;
|
|
582
|
-
find(name: string): {
|
|
583
|
-
get(): AXPEntityProperty | undefined;
|
|
584
|
-
update(updater: (p: AXPEntityProperty) => AXPEntityProperty): AXPEntityModifierContext;
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
columns: {
|
|
588
|
-
list(): AXPEntityTableColumn[] | undefined;
|
|
589
|
-
add(...cols: AXPEntityTableColumn[]): AXPEntityModifierContext;
|
|
590
|
-
remove(predicate: (c: AXPEntityTableColumn) => boolean): AXPEntityModifierContext;
|
|
591
|
-
find(name: string): {
|
|
592
|
-
get(): AXPEntityTableColumn | undefined;
|
|
593
|
-
update(updater: (c: AXPEntityTableColumn) => AXPEntityTableColumn): AXPEntityModifierContext;
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
formats: {
|
|
597
|
-
get(): AXPEntity['formats'];
|
|
598
|
-
update(updater: (formats: AXPEntity['formats']) => AXPEntity['formats']): AXPEntityModifierContext;
|
|
599
|
-
};
|
|
600
|
-
relatedEntities: {
|
|
601
|
-
list(): AXPRelatedEntity[] | undefined;
|
|
602
|
-
add(...related: AXPRelatedEntity[]): AXPEntityModifierContext;
|
|
603
|
-
remove(predicate: (r: AXPRelatedEntity) => boolean): AXPEntityModifierContext;
|
|
604
|
-
};
|
|
605
|
-
groups: {
|
|
606
|
-
list(): AXPEntityPropertyGroup[] | undefined;
|
|
607
|
-
add(...groups: AXPEntityPropertyGroup[]): AXPEntityModifierContext;
|
|
608
|
-
remove(predicate: (g: AXPEntityPropertyGroup) => boolean): AXPEntityModifierContext;
|
|
609
|
-
};
|
|
610
|
-
commands: {
|
|
611
|
-
get(): AXPEntity['commands'] | undefined;
|
|
612
|
-
update(updater: (c: AXPEntity['commands'] | undefined) => AXPEntity['commands']): AXPEntityModifierContext;
|
|
613
|
-
};
|
|
614
|
-
queries: {
|
|
615
|
-
get(): AXPEntity['queries'];
|
|
616
|
-
update(updater: (q: AXPEntity['queries']) => AXPEntity['queries']): AXPEntityModifierContext;
|
|
617
|
-
};
|
|
618
|
-
validations: {
|
|
619
|
-
get(): AXPEntity['validations'] | undefined;
|
|
620
|
-
update(updater: (v: AXPEntity['validations'] | undefined) => AXPEntity['validations']): AXPEntityModifierContext;
|
|
621
|
-
};
|
|
622
|
-
interfaces: {
|
|
623
|
-
get(): AXPEntity['interfaces'] | undefined;
|
|
624
|
-
update(updater: (i: AXPEntity['interfaces'] | undefined) => AXPEntity['interfaces']): AXPEntityModifierContext;
|
|
625
|
-
master: {
|
|
626
|
-
get(): NonNullable<AXPEntity['interfaces']>['master'] | undefined;
|
|
627
|
-
update(updater: (m: NonNullable<AXPEntity['interfaces']>['master'] | undefined) => NonNullable<AXPEntity['interfaces']>['master']): AXPEntityModifierContext;
|
|
628
|
-
create: {
|
|
629
|
-
get(): AXPEntityMasterCreateLayoutView | undefined;
|
|
630
|
-
update(updater: (c: AXPEntityMasterCreateLayoutView | undefined) => AXPEntityMasterCreateLayoutView): AXPEntityModifierContext;
|
|
631
|
-
};
|
|
632
|
-
modify: {
|
|
633
|
-
get(): AXPEntityMasterUpdateLayoutView | undefined;
|
|
634
|
-
update(updater: (c: AXPEntityMasterUpdateLayoutView | undefined) => AXPEntityMasterUpdateLayoutView): AXPEntityModifierContext;
|
|
635
|
-
};
|
|
636
|
-
single: {
|
|
637
|
-
get(): AXPEntityMasterSingleLayoutView | undefined;
|
|
638
|
-
update(updater: (c: AXPEntityMasterSingleLayoutView | undefined) => AXPEntityMasterSingleLayoutView): AXPEntityModifierContext;
|
|
639
|
-
};
|
|
640
|
-
list: {
|
|
641
|
-
get(): AXPEntityMasterListView | undefined;
|
|
642
|
-
update(updater: (c: AXPEntityMasterListView | undefined) => AXPEntityMasterListView): AXPEntityModifierContext;
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
detail: {
|
|
646
|
-
get(): NonNullable<AXPEntity['interfaces']>['detail'] | undefined;
|
|
647
|
-
update(updater: (d: NonNullable<AXPEntity['interfaces']>['detail'] | undefined) => NonNullable<AXPEntity['interfaces']>['detail']): AXPEntityModifierContext;
|
|
648
|
-
list: {
|
|
649
|
-
get(): AXPEntityDetailListView | undefined;
|
|
650
|
-
update(updater: (l: AXPEntityDetailListView | undefined) => AXPEntityDetailListView): AXPEntityModifierContext;
|
|
651
|
-
};
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
toEntity(): AXPEntity;
|
|
655
|
-
}
|
|
656
|
-
type AXPEntityModifier = (context: AXPEntityModifierContext) => void;
|
|
657
|
-
interface AXPEntityModifierProvider {
|
|
658
|
-
entityName: string | RegExp;
|
|
659
|
-
modifier: AXPEntityModifier;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
declare function ensureListActions(ctx: AXPEntityModifierContext): void;
|
|
663
|
-
declare function actionExists(actions: any[] | undefined, commandName: string, name?: string): boolean;
|
|
664
|
-
interface AXPEntityLayoutSectionLike {
|
|
665
|
-
id: string;
|
|
666
|
-
}
|
|
667
|
-
interface AXPEntityLayoutPropertyLike {
|
|
668
|
-
name: string;
|
|
669
|
-
}
|
|
670
|
-
interface AXPEntityLayoutLike<TSection extends AXPEntityLayoutSectionLike = AXPEntityLayoutSectionLike, TProperty extends AXPEntityLayoutPropertyLike = AXPEntityLayoutPropertyLike> {
|
|
671
|
-
sections: TSection[];
|
|
672
|
-
properties?: TProperty[];
|
|
673
|
-
}
|
|
674
|
-
/**
|
|
675
|
-
* Clones `sections` and `properties` arrays to prevent accidental cross-interface mutations.
|
|
676
|
-
* Many entity definitions reuse the same array instances across create/update/single interfaces.
|
|
677
|
-
*/
|
|
678
|
-
declare function cloneLayoutArrays<TLayout extends AXPEntityLayoutLike>(layout: TLayout): TLayout & {
|
|
679
|
-
properties: NonNullable<TLayout['properties']>;
|
|
680
|
-
};
|
|
681
|
-
declare function ensureLayoutSection<TLayout extends AXPEntityLayoutLike>(layout: TLayout, section: TLayout['sections'][number]): void;
|
|
682
|
-
declare function ensureLayoutPropertyView<TLayout extends AXPEntityLayoutLike>(layout: TLayout & {
|
|
683
|
-
properties: NonNullable<TLayout['properties']>;
|
|
684
|
-
}, prop: NonNullable<TLayout['properties']>[number]): void;
|
|
685
|
-
|
|
686
|
-
interface AXPEntityActionPlugin {
|
|
687
|
-
name: string;
|
|
688
|
-
order?: number;
|
|
689
|
-
apply: (ctx: AXPEntityModifierContext, options?: any) => Promise<void> | void;
|
|
690
|
-
}
|
|
691
|
-
declare const AXP_ENTITY_ACTION_PLUGIN: InjectionToken<AXPEntityActionPlugin[]>;
|
|
692
|
-
|
|
693
|
-
declare class AXPEntityMiddleware {
|
|
694
|
-
private exactModifiers;
|
|
695
|
-
private patternModifiers;
|
|
696
|
-
protected providedModifiers: AXPEntityModifierProvider[];
|
|
697
|
-
protected providedActionPlugins: AXPEntityActionPlugin[];
|
|
698
|
-
protected injector: Injector;
|
|
699
|
-
constructor();
|
|
700
|
-
register(entityName: string | RegExp, modifier: AXPEntityModifier): void;
|
|
701
|
-
process(entity: AXPEntity): Promise<AXPEntity>;
|
|
702
|
-
private wildcardToRegExp;
|
|
703
|
-
private normalizeRegExp;
|
|
704
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityMiddleware, never>;
|
|
705
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityMiddleware>;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
declare function createModifierContext(entity: AXPEntity): AXPEntityModifierContext;
|
|
709
|
-
|
|
710
|
-
declare const AXP_ENTITY_MODIFIER: InjectionToken<AXPEntityModifierProvider[]>;
|
|
711
|
-
|
|
712
|
-
interface AXPEntityPreloadEntity {
|
|
713
|
-
module: string;
|
|
714
|
-
entity: string;
|
|
715
|
-
}
|
|
716
|
-
interface AXPEntityDefinitionPreloader {
|
|
717
|
-
preload(): AXPEntityPreloadEntity[];
|
|
718
|
-
}
|
|
719
|
-
declare class AXPEntityDefinitionRegistryService {
|
|
720
|
-
private middleware;
|
|
721
|
-
private onChanged;
|
|
722
|
-
get onChanged$(): rxjs.Observable<{
|
|
723
|
-
name: string;
|
|
724
|
-
}>;
|
|
725
|
-
private entities;
|
|
726
|
-
private entityResolver;
|
|
727
|
-
/**
|
|
728
|
-
* Force re-load and re-process entity definitions, then re-register them.
|
|
729
|
-
* Overloads:
|
|
730
|
-
* - refresh(): refresh all registered entities
|
|
731
|
-
* - refresh(fullName: string): refresh by fully-qualified name `<module>.<entity>`
|
|
732
|
-
* - refresh(moduleName: string, entityName: string): refresh by parts
|
|
733
|
-
*/
|
|
734
|
-
refresh(): Promise<void>;
|
|
735
|
-
refresh(fullName: string): Promise<void>;
|
|
736
|
-
refresh(moduleName: string, entityName: string): Promise<void>;
|
|
737
|
-
/** Executes the actual refresh for a single entity */
|
|
738
|
-
private refreshOne;
|
|
739
|
-
/**
|
|
740
|
-
* Registers a new entity configuration. Entities are identified uniquely by a combination
|
|
741
|
-
* of their module and name.
|
|
742
|
-
*
|
|
743
|
-
* @param config The configuration object of the entity to be registered.
|
|
744
|
-
*/
|
|
745
|
-
register(config: AXPEntity): void;
|
|
746
|
-
/**
|
|
747
|
-
* Returns an array of all registered entity configurations.
|
|
748
|
-
*
|
|
749
|
-
* @returns An array of AXPEntity objects.
|
|
750
|
-
*/
|
|
751
|
-
getAll(): AXPEntity[];
|
|
752
|
-
/**
|
|
753
|
-
* Clear all registered entity configurations.
|
|
754
|
-
* Should be called when modules are cleared to prevent stale entity data.
|
|
755
|
-
* @param preserveModules Optional list of module names whose entities should be preserved
|
|
756
|
-
*/
|
|
757
|
-
clear(preserveModules?: string[]): void;
|
|
758
|
-
/**
|
|
759
|
-
* Resolves an entity configuration based on module and entity name. If the configuration
|
|
760
|
-
* is not already registered, attempts to load it dynamically. Throws an error if the
|
|
761
|
-
* entity cannot be found or loaded.
|
|
762
|
-
*
|
|
763
|
-
* @param moduleName The module name of the entity.
|
|
764
|
-
* @param entityName The name of the entity.
|
|
765
|
-
* @returns A promise resolving to the entity configuration.
|
|
766
|
-
* @throws Error if the entity configuration cannot be resolved.
|
|
767
|
-
*/
|
|
768
|
-
resolve(moduleName: string, entityName: string): Promise<AXPEntity>;
|
|
769
|
-
exists(moduleName: string, entityName: string): Promise<boolean>;
|
|
770
|
-
/**
|
|
771
|
-
* Creates a unique key for an entity based on its module and name.
|
|
772
|
-
*
|
|
773
|
-
* @param moduleName The module name of the entity.
|
|
774
|
-
* @param entityName The name of the entity.
|
|
775
|
-
* @returns The unique key for the entity.
|
|
776
|
-
*/
|
|
777
|
-
private createEntityKey;
|
|
778
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDefinitionRegistryService, never>;
|
|
779
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDefinitionRegistryService>;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
interface AXPAuditEvent {
|
|
783
|
-
at?: Date;
|
|
784
|
-
by?: AXPUserReference;
|
|
785
|
-
reason?: string;
|
|
786
|
-
source?: string;
|
|
787
|
-
}
|
|
788
|
-
interface AXPAuditInfo {
|
|
789
|
-
created?: AXPAuditEvent;
|
|
790
|
-
updated?: AXPAuditEvent;
|
|
791
|
-
deleted?: AXPAuditEvent;
|
|
792
|
-
}
|
|
793
|
-
interface AXPRecordStateInfo {
|
|
794
|
-
isHidden?: boolean;
|
|
795
|
-
isSystem?: boolean;
|
|
796
|
-
isImmutable?: boolean;
|
|
797
|
-
isDistributed?: boolean;
|
|
798
|
-
}
|
|
799
|
-
interface AXPRecordOwnershipInfo {
|
|
800
|
-
tenantId?: string;
|
|
801
|
-
applicationId?: string;
|
|
802
|
-
}
|
|
803
|
-
interface AXPEntityModel<Id> {
|
|
804
|
-
id: Id;
|
|
805
|
-
auditInfo?: AXPAuditInfo;
|
|
806
|
-
stateInfo?: AXPRecordStateInfo;
|
|
807
|
-
ownershipInfo?: AXPRecordOwnershipInfo;
|
|
808
|
-
}
|
|
809
|
-
interface AXPEntityCreateDto {
|
|
810
|
-
}
|
|
811
|
-
interface AXPEntityUpdateDto<Id> {
|
|
812
|
-
id: Id;
|
|
813
|
-
}
|
|
814
|
-
interface AXPEntityOutputDto<Id> {
|
|
815
|
-
id: Id;
|
|
816
|
-
}
|
|
817
|
-
interface AXPEntityDetailDto<Id> extends AXPEntityOutputDto<Id> {
|
|
818
|
-
}
|
|
819
|
-
interface AXPEntityListItemDto<Id> extends AXPEntityOutputDto<Id> {
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
declare abstract class AXPEntityStorageService<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = TDetailDto, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
823
|
-
abstract get dbName(): string;
|
|
824
|
-
abstract initial(entityName: string, collection: TCreateDto[], options?: {
|
|
825
|
-
mergeType?: 'merge' | 'replace';
|
|
826
|
-
uniqueKeys?: string[];
|
|
827
|
-
}): Promise<TCreateDto[]>;
|
|
828
|
-
abstract getOne(entityName: string, id: TKey): Promise<TDetailDto>;
|
|
829
|
-
abstract updateOne(entityName: string, id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
830
|
-
abstract deleteOne(entityName: string, id: TKey): Promise<void>;
|
|
831
|
-
abstract insertOne(entityName: string, entity: TCreateDto): Promise<TKey>;
|
|
832
|
-
abstract getAll(entityName: string): Promise<TListItemDto[]>;
|
|
833
|
-
abstract query(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
834
|
-
}
|
|
835
|
-
declare abstract class AXPEntityDataProvider<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = TDetailDto, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
836
|
-
abstract get entityName(): string;
|
|
837
|
-
abstract initial(collection: TCreateDto[]): Promise<void>;
|
|
838
|
-
abstract getOne(id: TKey): Promise<TDetailDto>;
|
|
839
|
-
abstract getAll(): Promise<TListItemDto[]>;
|
|
840
|
-
abstract updateOne(id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
841
|
-
abstract deleteOne(id: TKey): Promise<void>;
|
|
842
|
-
abstract insertOne(entity: TCreateDto): Promise<TKey>;
|
|
843
|
-
abstract query(request: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
844
|
-
}
|
|
845
|
-
declare class AXPEntityDataProviderImpl<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = TDetailDto, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> implements AXPEntityDataProvider<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto> {
|
|
846
|
-
private storageService;
|
|
847
|
-
entityName: string;
|
|
848
|
-
constructor(storageService: AXPEntityStorageService<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto>, entityName: string);
|
|
849
|
-
initial(collection: TCreateDto[]): Promise<void>;
|
|
850
|
-
getOne(id: TKey): Promise<TDetailDto>;
|
|
851
|
-
getAll(): Promise<TListItemDto[]>;
|
|
852
|
-
query(request: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
853
|
-
updateOne(id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
854
|
-
deleteOne(id: TKey): Promise<void>;
|
|
855
|
-
insertOne(entity: TCreateDto): Promise<TKey>;
|
|
856
|
-
}
|
|
857
|
-
declare abstract class AXMEntityCrudService<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = TDetailDto, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
858
|
-
abstract insertOne(request: TCreateDto): Promise<TKey>;
|
|
859
|
-
abstract getOne(id: TKey): Promise<TDetailDto>;
|
|
860
|
-
abstract deleteOne(id: TKey): Promise<void>;
|
|
861
|
-
abstract updateOne(id: TKey, values: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
862
|
-
abstract query(request: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
863
|
-
}
|
|
864
|
-
declare class AXMEntityCrudServiceImpl<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = Omit<TDetailDto, 'id'>, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
865
|
-
private entityName;
|
|
866
|
-
private _storageService;
|
|
867
|
-
private entityRegistery;
|
|
868
|
-
private _entityDataProvider;
|
|
869
|
-
private _entityCategoryDataProvider;
|
|
870
|
-
constructor(entityName: string);
|
|
871
|
-
insertOne(request: TCreateDto): Promise<TKey>;
|
|
872
|
-
getOne(id: TKey): Promise<TDetailDto>;
|
|
873
|
-
deleteOne(id: TKey): Promise<void>;
|
|
874
|
-
updateOne(id: TKey, values: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
875
|
-
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
876
|
-
findOne(filter: AXDataSourceFilterOption): Promise<TListItemDto>;
|
|
877
|
-
getRoots(request: {}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
878
|
-
getChildren(request: {
|
|
879
|
-
parentId: TKey;
|
|
880
|
-
parentKey?: string;
|
|
881
|
-
}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
882
|
-
getByCategory(request: {
|
|
883
|
-
categoryId: TKey;
|
|
884
|
-
categoryKey?: string;
|
|
885
|
-
}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
886
|
-
getCategoriesList(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXPCategoryEntity$1<TKey>>>;
|
|
887
|
-
get storageService(): AXPEntityStorageService<any, any, any, any, any>;
|
|
888
|
-
custom<Req, Res>(request: Req): Promise<void>;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
interface AXPEntityConfigs {
|
|
892
|
-
viewers: {
|
|
893
|
-
root: () => Type<any> | Promise<Type<any>>;
|
|
894
|
-
detail: {
|
|
895
|
-
list: () => Type<any> | Promise<Type<any>>;
|
|
896
|
-
};
|
|
897
|
-
master: {
|
|
898
|
-
single: () => Type<any> | Promise<Type<any>>;
|
|
899
|
-
details: () => Type<any> | Promise<Type<any>>;
|
|
900
|
-
create: () => Type<any> | Promise<Type<any>>;
|
|
901
|
-
modify: () => Type<any> | Promise<Type<any>>;
|
|
902
|
-
list: () => Type<any> | Promise<Type<any>>;
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
}
|
|
906
|
-
declare const AXP_ENTITY_CONFIG_TOKEN: InjectionToken<AXPEntityConfigs>;
|
|
907
|
-
interface AXPEntityDefinitionLoader {
|
|
908
|
-
get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
|
|
909
|
-
}
|
|
910
|
-
declare const AXP_ENTITY_DEFINITION_LOADER: InjectionToken<AXPEntityDefinitionLoader>;
|
|
911
|
-
declare class AXPEntityResolver {
|
|
912
|
-
private providers;
|
|
913
|
-
get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
|
|
914
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityResolver, never>;
|
|
915
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityResolver>;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
declare class AXPEntityModule {
|
|
919
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityModule, never>;
|
|
920
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPEntityModule, never, [typeof i1.RouterModule, typeof i2.AXPWorkflowModule, typeof i3.AXPWidgetCoreModule], never>;
|
|
921
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPEntityModule>;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Data accessor for entity operations.
|
|
926
|
-
* Provides methods to query and execute commands with smart resolution:
|
|
927
|
-
* 1. Checks entity definition queries/commands first
|
|
928
|
-
* 2. Falls back to CRUD service if not defined
|
|
929
|
-
*/
|
|
930
|
-
declare class EntityDataAccessor<TKey = any, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = Omit<TDetailDto, 'id'>, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
931
|
-
private module;
|
|
932
|
-
private entity;
|
|
933
|
-
private entityRegistry;
|
|
934
|
-
private queryExecutor;
|
|
935
|
-
private commandService;
|
|
936
|
-
private crudService;
|
|
937
|
-
private entityDef;
|
|
938
|
-
private entityDefPromise;
|
|
939
|
-
constructor(module: string, entity: string, entityRegistry: AXPEntityDefinitionRegistryService, queryExecutor: AXPQueryExecutor, commandService: AXPCommandService);
|
|
940
|
-
/**
|
|
941
|
-
* Resolves the entity definition lazily and caches it.
|
|
942
|
-
* @returns The resolved entity definition
|
|
943
|
-
*/
|
|
944
|
-
private resolveEntityDef;
|
|
945
|
-
/**
|
|
946
|
-
* Gets a single entity by key.
|
|
947
|
-
* @param key - The entity key
|
|
948
|
-
* @returns The entity detail or null if not found
|
|
949
|
-
*/
|
|
950
|
-
byKey(key: TKey): Promise<TDetailDto | null>;
|
|
951
|
-
/**
|
|
952
|
-
* Queries a list of entities.
|
|
953
|
-
* @param request - The query request (optional)
|
|
954
|
-
* @returns The paged list result
|
|
955
|
-
*/
|
|
956
|
-
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
957
|
-
/**
|
|
958
|
-
* Creates a new entity.
|
|
959
|
-
* @param data - The entity data to create
|
|
960
|
-
* @returns The created entity key
|
|
961
|
-
*/
|
|
962
|
-
create(data: TCreateDto): Promise<TKey>;
|
|
963
|
-
/**
|
|
964
|
-
* Updates an existing entity.
|
|
965
|
-
* @param id - The entity key
|
|
966
|
-
* @param data - The entity data to update
|
|
967
|
-
* @returns The updated entity
|
|
968
|
-
*/
|
|
969
|
-
update(id: TKey, data: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
970
|
-
/**
|
|
971
|
-
* Deletes an entity.
|
|
972
|
-
* @param id - The entity key
|
|
973
|
-
*/
|
|
974
|
-
delete(id: TKey): Promise<void>;
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
* Builder class for entity operations.
|
|
978
|
-
* Provides methods to create paths and access entity data.
|
|
979
|
-
*/
|
|
980
|
-
declare class EntityBuilder {
|
|
981
|
-
private sessionService;
|
|
982
|
-
private entityRegistry;
|
|
983
|
-
private queryExecutor;
|
|
984
|
-
private commandService;
|
|
985
|
-
readonly module: string;
|
|
986
|
-
readonly entity: string;
|
|
987
|
-
constructor(module: string, entity: string, sessionService: AXPSessionService, entityRegistry: AXPEntityDefinitionRegistryService, queryExecutor: AXPQueryExecutor, commandService: AXPCommandService);
|
|
988
|
-
/**
|
|
989
|
-
* Creates a path for the entity.
|
|
990
|
-
* @param path - The path segment (defaults to 'list')
|
|
991
|
-
* @returns The full path string
|
|
992
|
-
*/
|
|
993
|
-
createPath(path?: string): string;
|
|
994
|
-
/**
|
|
995
|
-
* Gets the data accessor for the entity with generic type support.
|
|
996
|
-
* Entity definition is resolved lazily on first method call.
|
|
997
|
-
* @returns An EntityDataAccessor instance
|
|
998
|
-
*/
|
|
999
|
-
data<TKey = any, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = Omit<TDetailDto, 'id'>, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto>(): EntityDataAccessor<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto>;
|
|
1000
|
-
}
|
|
1001
|
-
declare class AXPEntityService {
|
|
1002
|
-
private sessionService;
|
|
1003
|
-
private entityRegistry;
|
|
1004
|
-
private queryExecutor;
|
|
1005
|
-
private commandService;
|
|
1006
|
-
/**
|
|
1007
|
-
* @deprecated Use `withEntity(module, entity).createPath(path)` instead.
|
|
1008
|
-
* This method will be removed in a future version.
|
|
1009
|
-
*/
|
|
1010
|
-
createPath(module: string, entity: string, path?: string): string;
|
|
1011
|
-
/**
|
|
1012
|
-
* Creates a builder for entity operations.
|
|
1013
|
-
* Entity definition is resolved lazily when data accessor methods are called.
|
|
1014
|
-
* @param module - The module name
|
|
1015
|
-
* @param entity - The entity name
|
|
1016
|
-
* @returns An EntityBuilder instance
|
|
1017
|
-
*/
|
|
1018
|
-
withEntity(module: string, entity: string): EntityBuilder;
|
|
1019
|
-
/**
|
|
1020
|
-
* Creates a builder for entity operations using dot notation.
|
|
1021
|
-
* Entity definition is resolved lazily when data accessor methods are called.
|
|
1022
|
-
* @param entityKey - The entity key in format "module.entity"
|
|
1023
|
-
* @returns An EntityBuilder instance
|
|
1024
|
-
* @throws Error if the entity key format is invalid
|
|
1025
|
-
*/
|
|
1026
|
-
withEntity(entityKey: string): EntityBuilder;
|
|
1027
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityService, never>;
|
|
1028
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityService>;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
type AXPEntityOp = 'initial' | 'create' | 'update' | 'delete' | 'getOne' | 'getAll' | 'query';
|
|
1032
|
-
interface AXPEntityStorageContext<TKey = any, TDetailDto extends AXPEntityDetailDto<TKey> = any, TListItemDto extends AXPEntityListItemDto<TKey> = any, TCreateDto extends AXPEntityCreateDto = any, TUpdateDto extends AXPEntityUpdateDto<TKey> = any> {
|
|
1033
|
-
op: AXPEntityOp;
|
|
1034
|
-
entityName: string;
|
|
1035
|
-
id?: TKey;
|
|
1036
|
-
data?: TCreateDto | Omit<Partial<TUpdateDto>, 'id'>;
|
|
1037
|
-
request?: AXPQueryRequest;
|
|
1038
|
-
previous?: TDetailDto;
|
|
1039
|
-
result?: any;
|
|
1040
|
-
locals: Map<string, unknown>;
|
|
1041
|
-
backend: {
|
|
1042
|
-
getOne: (entityName: string, id: TKey) => Promise<TDetailDto>;
|
|
1043
|
-
insertOne: (entityName: string, entity: TCreateDto) => Promise<TKey>;
|
|
1044
|
-
query: (entityName: string, request: AXPQueryRequest) => Promise<AXPPagedListResult<TListItemDto>>;
|
|
1045
|
-
updateOne: (entityName: string, id: TKey, data: Partial<TUpdateDto>) => Promise<void>;
|
|
1046
|
-
};
|
|
1047
|
-
}
|
|
1048
|
-
interface AXPEntityStorageMiddleware<TKey = any, TDetailDto extends AXPEntityDetailDto<TKey> = any, TListItemDto extends AXPEntityListItemDto<TKey> = any, TCreateDto extends AXPEntityCreateDto = any, TUpdateDto extends AXPEntityUpdateDto<TKey> = any> {
|
|
1049
|
-
target?: {
|
|
1050
|
-
ops?: AXPEntityOp[];
|
|
1051
|
-
entity?: string | RegExp;
|
|
1052
|
-
predicate?: (ctx: AXPEntityStorageContext<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto>) => boolean;
|
|
1053
|
-
order?: number;
|
|
1054
|
-
};
|
|
1055
|
-
execute: (ctx: AXPEntityStorageContext<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto>, next: () => Promise<void>) => Promise<void>;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* Error type that can be thrown by middlewares to abort the chain with a structured payload.
|
|
1059
|
-
*/
|
|
1060
|
-
declare class AXPMiddlewareAbortError extends Error {
|
|
1061
|
-
readonly message: string;
|
|
1062
|
-
readonly options: {
|
|
1063
|
-
code?: string;
|
|
1064
|
-
status?: number;
|
|
1065
|
-
details?: any;
|
|
1066
|
-
};
|
|
1067
|
-
constructor(message: string, options?: {
|
|
1068
|
-
code?: string;
|
|
1069
|
-
status?: number;
|
|
1070
|
-
details?: any;
|
|
1071
|
-
});
|
|
1072
|
-
toResponse(): AXPMiddlewareErrorResponse;
|
|
1073
|
-
}
|
|
1074
|
-
/** Type guard for AXPMiddlewareAbortError */
|
|
1075
|
-
declare function isAXPMiddlewareAbortError(error: unknown): error is AXPMiddlewareAbortError;
|
|
1076
|
-
|
|
1077
|
-
declare const eventDispatchMiddleware: AXPEntityStorageMiddleware;
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* Map of column name -> width value
|
|
1081
|
-
* Example: { title: '300px', description: '300px' }
|
|
1082
|
-
*/
|
|
1083
|
-
type ColumnWidthConfig = Record<string, string | number>;
|
|
1084
|
-
/**
|
|
1085
|
-
* Default widths for common text columns
|
|
1086
|
-
*/
|
|
1087
|
-
declare const DEFAULT_COLUMN_WIDTHS: ColumnWidthConfig;
|
|
1088
|
-
/**
|
|
1089
|
-
* Factory to create a column width middleware using provided config map.
|
|
1090
|
-
* Sets width for columns defined in the map if not already defined on the column.
|
|
1091
|
-
*/
|
|
1092
|
-
declare const columnWidthMiddlewareFactory: (widths: ColumnWidthConfig) => AXPEntityModifier;
|
|
1093
|
-
/**
|
|
1094
|
-
* Helper to create a provider for the column width middleware.
|
|
1095
|
-
* By default it applies to all entities using the '*' pattern.
|
|
1096
|
-
*/
|
|
1097
|
-
declare const createColumnWidthMiddlewareProvider: (widths: ColumnWidthConfig, entityName?: string | RegExp) => AXPEntityModifierProvider;
|
|
1098
|
-
/**
|
|
1099
|
-
* Default provider registered with the default map.
|
|
1100
|
-
*/
|
|
1101
|
-
declare const columnWidthMiddlewareProvider: AXPEntityModifierProvider;
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* Configuration for section ordering
|
|
1105
|
-
*/
|
|
1106
|
-
interface SectionOrderConfig {
|
|
1107
|
-
/**
|
|
1108
|
-
* Default order for common sections
|
|
1109
|
-
* Lower numbers appear first
|
|
1110
|
-
*/
|
|
1111
|
-
sections: Record<string, number>;
|
|
1112
|
-
/**
|
|
1113
|
-
* Default order for properties within sections
|
|
1114
|
-
* Key format: 'sectionId.propertyName' or just 'propertyName' for any section
|
|
1115
|
-
*/
|
|
1116
|
-
properties: Record<string, number>;
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* Default order for common sections
|
|
1120
|
-
*/
|
|
1121
|
-
declare const DEFAULT_SECTION_ORDER: Record<string, number>;
|
|
1122
|
-
/**
|
|
1123
|
-
* Default order for common properties
|
|
1124
|
-
* Format: 'sectionId.propertyName' for section-specific or 'propertyName' for any section
|
|
1125
|
-
*/
|
|
1126
|
-
declare const DEFAULT_PROPERTY_ORDER: Record<string, number>;
|
|
1127
|
-
/**
|
|
1128
|
-
* Factory to create a layout ordering middleware
|
|
1129
|
-
*/
|
|
1130
|
-
declare const layoutOrderingMiddlewareFactory: (config: SectionOrderConfig) => AXPEntityModifier;
|
|
1131
|
-
/**
|
|
1132
|
-
* Helper to create a provider for the layout ordering middleware
|
|
1133
|
-
* By default it applies to all entities using the '*' pattern
|
|
1134
|
-
*/
|
|
1135
|
-
declare const createLayoutOrderingMiddlewareProvider: (config?: Partial<SectionOrderConfig>, entityName?: string | RegExp) => AXPEntityModifierProvider;
|
|
1136
|
-
/**
|
|
1137
|
-
* Default provider registered with the default configuration
|
|
1138
|
-
*/
|
|
1139
|
-
declare const layoutOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
1140
|
-
|
|
1141
|
-
interface AXPGetEntityDetailsQueryInput {
|
|
1142
|
-
entity: string;
|
|
1143
|
-
id: string;
|
|
1144
|
-
}
|
|
1145
|
-
interface AXPGetEntityDetailsQueryResult {
|
|
1146
|
-
success: boolean;
|
|
1147
|
-
entityDefinition?: AXPEntity;
|
|
1148
|
-
entityData?: any;
|
|
1149
|
-
error?: string;
|
|
1150
|
-
}
|
|
1151
|
-
/**
|
|
1152
|
-
* Generic query to get entity details including entity definition and entity data
|
|
1153
|
-
* Can be used by any entity to retrieve its definition and data by ID
|
|
1154
|
-
*/
|
|
1155
|
-
declare class AXPGetEntityDetailsQuery implements AXPQuery<AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult> {
|
|
1156
|
-
private readonly entityDefinitionRegistry;
|
|
1157
|
-
private readonly injector;
|
|
1158
|
-
/**
|
|
1159
|
-
* Execute the query to fetch entity definition and data
|
|
1160
|
-
* @param input - Query input containing entity and ID information
|
|
1161
|
-
*/
|
|
1162
|
-
fetch(input: AXPGetEntityDetailsQueryInput): Promise<AXPGetEntityDetailsQueryResult>;
|
|
1163
|
-
/**
|
|
1164
|
-
* Get entity data using the entity's CRUD service
|
|
1165
|
-
* @param entity - Full entity path (ModuleName.EntityName)
|
|
1166
|
-
* @param id - Entity ID
|
|
1167
|
-
* @returns Promise resolving to entity data
|
|
1168
|
-
*/
|
|
1169
|
-
private getEntityData;
|
|
1170
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGetEntityDetailsQuery, never>;
|
|
1171
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGetEntityDetailsQuery>;
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
interface CategoryQueryEvent {
|
|
1175
|
-
skip: number;
|
|
1176
|
-
take: number;
|
|
1177
|
-
filter?: {
|
|
1178
|
-
field?: string;
|
|
1179
|
-
value?: unknown;
|
|
1180
|
-
operator?: {
|
|
1181
|
-
type: string;
|
|
1182
|
-
};
|
|
1183
|
-
filters?: unknown[];
|
|
1184
|
-
logic?: string;
|
|
1185
|
-
};
|
|
1186
|
-
}
|
|
1187
|
-
interface CategoryQueryResult {
|
|
1188
|
-
items: Record<string, unknown>[];
|
|
1189
|
-
total?: number;
|
|
1190
|
-
totalCount?: number;
|
|
1191
|
-
}
|
|
1192
|
-
type CategoryQueryFunction = (event: CategoryQueryEvent) => Promise<CategoryQueryResult>;
|
|
1193
|
-
interface CategoryTreeConfig {
|
|
1194
|
-
entityKey: string;
|
|
1195
|
-
textField?: string;
|
|
1196
|
-
valueField?: string;
|
|
1197
|
-
parentKey?: string;
|
|
1198
|
-
}
|
|
1199
|
-
interface CategoryTreeNodeData {
|
|
1200
|
-
categoryEntityDef: AXPEntity | null;
|
|
1201
|
-
categoryEntityQueryFunc: CategoryQueryFunction | null;
|
|
1202
|
-
basicQueryEvent: CategoryQueryEvent;
|
|
1203
|
-
}
|
|
1204
|
-
declare class AXPCategoryTreeService {
|
|
1205
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1206
|
-
protected readonly translate: AXTranslationService;
|
|
1207
|
-
/**
|
|
1208
|
-
* Initialize category tree data source
|
|
1209
|
-
*/
|
|
1210
|
-
initializeCategoryTree(config: CategoryTreeConfig): Promise<CategoryTreeNodeData | null>;
|
|
1211
|
-
/**
|
|
1212
|
-
* Create root node with children from items
|
|
1213
|
-
*/
|
|
1214
|
-
createRootNode(items: Record<string, unknown>[], config: CategoryTreeConfig): Promise<AXTreeViewNode>;
|
|
1215
|
-
/**
|
|
1216
|
-
* Convert entity item to AXTreeViewNode format
|
|
1217
|
-
*/
|
|
1218
|
-
convertToTreeNode(item: Record<string, unknown>, config: CategoryTreeConfig): AXTreeViewNode;
|
|
1219
|
-
/**
|
|
1220
|
-
* Load root categories
|
|
1221
|
-
*/
|
|
1222
|
-
loadRootCategories(treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<Record<string, unknown>[] | null>;
|
|
1223
|
-
/**
|
|
1224
|
-
* Load children for a given node
|
|
1225
|
-
*/
|
|
1226
|
-
loadChildren(node: AXTreeViewNode, treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<AXTreeViewNode[]>;
|
|
1227
|
-
/**
|
|
1228
|
-
* Search categories recursively (all levels)
|
|
1229
|
-
*/
|
|
1230
|
-
searchCategories(searchValue: string, treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<Record<string, unknown>[] | null>;
|
|
1231
|
-
/**
|
|
1232
|
-
* Update children at a specific node in the tree
|
|
1233
|
-
*/
|
|
1234
|
-
updateChildrenAtPath(nodes: AXTreeViewNode[], targetId: string, childNodes: AXTreeViewNode[]): AXTreeViewNode[];
|
|
1235
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPCategoryTreeService, never>;
|
|
1236
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPCategoryTreeService>;
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
interface IEntitySelectorStage {
|
|
1240
|
-
/** Select target entity using "module.entity" format */
|
|
1241
|
-
entity(fullName: string): IInterfaceSelectorStage;
|
|
1242
|
-
}
|
|
1243
|
-
interface IInterfaceSelectorStage {
|
|
1244
|
-
/** Use master.create interface */
|
|
1245
|
-
create(initialData?: any): IPropertyFilterStage;
|
|
1246
|
-
/** Use master.update interface. Accepts id (string) or full record data (object). */
|
|
1247
|
-
update(data: string | Record<string, any>): IPropertyFilterStage;
|
|
1248
|
-
/** Use master.single interface (read-only view). Accepts id (string) or full record data (object). */
|
|
1249
|
-
single(data: string | Record<string, any>): IPropertyFilterStage;
|
|
1250
|
-
}
|
|
1251
|
-
interface IPropertyFilterStage {
|
|
1252
|
-
/** Only include provided property names (by AXPEntityProperty.name). Mutually exclusive with exclude(). */
|
|
1253
|
-
include(...propertyNames: string[]): IPropertyFilterStage;
|
|
1254
|
-
/** Exclude provided property names (by AXPEntityProperty.name). Ignored if include() was already set. */
|
|
1255
|
-
exclude(...propertyNames: string[]): IPropertyFilterStage;
|
|
1256
|
-
/** Optionally override dialog title */
|
|
1257
|
-
title(text: string): IPropertyFilterStage;
|
|
1258
|
-
/** Provide initial dialog context/model data */
|
|
1259
|
-
context(context: any): IPropertyFilterStage;
|
|
1260
|
-
/** Override dialog size (e.g., 'sm' | 'md' | 'lg' | 'xl' | 'full') */
|
|
1261
|
-
size(size: AXPopupSizeType): IPropertyFilterStage;
|
|
1262
|
-
/** Configure footer actions (cancel/submit/custom). If not called, defaults to cancel+submit. */
|
|
1263
|
-
actions(delegate: (a: IActionBuilder) => void): IPropertyFilterStage;
|
|
1264
|
-
/** Add an extra field into a specific group, using the original field builder API */
|
|
1265
|
-
field(groupId: string, path: string, delegate?: (field: CompatFormFieldBuilder) => void): IPropertyFilterStage;
|
|
1266
|
-
/** Build and return the widget node without showing dialog */
|
|
1267
|
-
build(): Promise<AXPWidgetNode>;
|
|
1268
|
-
/** Show dialog */
|
|
1269
|
-
show(): Promise<AXPDialogRef>;
|
|
1270
|
-
mode(mode: 'edit' | 'view'): IPropertyFilterStage;
|
|
1271
|
-
}
|
|
1272
|
-
declare class AXPEntityFormBuilderService implements IEntitySelectorStage {
|
|
1273
|
-
private readonly entityRegistry;
|
|
1274
|
-
private readonly layoutBuilder;
|
|
1275
|
-
private readonly deviceService;
|
|
1276
|
-
entity(fullName: string): IInterfaceSelectorStage;
|
|
1277
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityFormBuilderService, never>;
|
|
1278
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityFormBuilderService>;
|
|
1279
|
-
}
|
|
1280
|
-
type CompatFormFieldBuilder = {
|
|
1281
|
-
path(path: string): any;
|
|
1282
|
-
layout(config: any): any;
|
|
1283
|
-
visible(condition: boolean | string): any;
|
|
1284
|
-
readonly(condition: boolean | string): any;
|
|
1285
|
-
customWidget(type: string, options?: any): any;
|
|
1286
|
-
} & Partial<IFormFieldBuilder>;
|
|
1287
|
-
|
|
1288
|
-
declare const AXP_ENTITY_STORAGE_BACKEND: InjectionToken<AXPEntityStorageService<any, any, any, any, any>>;
|
|
1289
|
-
declare const AXP_ENTITY_STORAGE_MIDDLEWARE: InjectionToken<AXPEntityStorageMiddleware<any, any, any, any, any>[]>;
|
|
1290
|
-
|
|
1291
|
-
declare class AXPMiddlewareEntityStorageService<TKey = any, TDetailDto extends AXPEntityDetailDto<TKey> = any, TListItemDto extends AXPEntityListItemDto<TKey> = any, TCreateDto extends AXPEntityCreateDto = any, TUpdateDto extends AXPEntityUpdateDto<TKey> = any> extends AXPEntityStorageService<TKey, TDetailDto, TListItemDto, TCreateDto, TUpdateDto> {
|
|
1292
|
-
private readonly backend;
|
|
1293
|
-
private readonly allMiddlewares;
|
|
1294
|
-
private readonly injector;
|
|
1295
|
-
get dbName(): string;
|
|
1296
|
-
private filterMiddlewares;
|
|
1297
|
-
private compose;
|
|
1298
|
-
private run;
|
|
1299
|
-
private createCtx;
|
|
1300
|
-
initial(entityName: string, collection: TCreateDto[], options?: {
|
|
1301
|
-
mergeType?: 'merge' | 'replace';
|
|
1302
|
-
uniqueKeys?: string[];
|
|
1303
|
-
}): Promise<TCreateDto[]>;
|
|
1304
|
-
getOne(entityName: string, id: TKey): Promise<TDetailDto>;
|
|
1305
|
-
updateOne(entityName: string, id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
1306
|
-
deleteOne(entityName: string, id: TKey): Promise<void>;
|
|
1307
|
-
insertOne(entityName: string, entity: TCreateDto): Promise<TKey>;
|
|
1308
|
-
getAll(entityName: string): Promise<TListItemDto[]>;
|
|
1309
|
-
query(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<TListItemDto>>;
|
|
1310
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPMiddlewareEntityStorageService<any, any, any, any, any>, never>;
|
|
1311
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPMiddlewareEntityStorageService<any, any, any, any, any>>;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
declare function entityMasterCreateAction(): AXPEntityAction;
|
|
1315
|
-
declare function entityMasterBulkDeleteAction(): AXPEntityAction;
|
|
1316
|
-
declare function entityMasterViewAction(): AXPEntityAction;
|
|
1317
|
-
declare function entityMasterDeleteAction(): AXPEntityAction;
|
|
1318
|
-
declare function entityMasterCrudActions(options?: {
|
|
1319
|
-
create?: boolean;
|
|
1320
|
-
delete?: boolean;
|
|
1321
|
-
view?: boolean;
|
|
1322
|
-
edit?: boolean;
|
|
1323
|
-
}): AXPEntityAction[];
|
|
1324
|
-
declare function entityMasterRecordActions(): AXPEntityAction[];
|
|
1325
|
-
declare function entityDetailsCreateActions(parentId: string): AXPEntityAction;
|
|
1326
|
-
declare function entityDetailsSimpleCondition(fk: string): AXPQueryFilter;
|
|
1327
|
-
declare function entityDetailsReferenceCondition(type: string): AXPQueryFilter[];
|
|
1328
|
-
declare function entityDetailsEditAction(): AXPEntityAction;
|
|
1329
|
-
declare function entityDetailsNewEditAction(): AXPEntityAction;
|
|
1330
|
-
declare function entityOverrideDetailsViewAction(): AXPEntityAction;
|
|
1331
|
-
declare function entityDetailsCrudActions(parentId: string, options?: {
|
|
1332
|
-
create?: boolean;
|
|
1333
|
-
delete?: boolean;
|
|
1334
|
-
view?: boolean;
|
|
1335
|
-
edit?: boolean;
|
|
1336
|
-
}): AXPEntityAction[];
|
|
1337
|
-
declare function entityDetailsReferenceCreateActions(type: string): AXPEntityAction[];
|
|
1338
|
-
type AXPEntityChangeSet = {
|
|
1339
|
-
[key: string]: {
|
|
1340
|
-
oldValue: any;
|
|
1341
|
-
newValue: any;
|
|
1342
|
-
added?: any[];
|
|
1343
|
-
removed?: any[];
|
|
1344
|
-
};
|
|
1345
|
-
};
|
|
1346
|
-
/**
|
|
1347
|
-
* Computes a diff between two plain objects with array-aware semantics.
|
|
1348
|
-
* - For arrays of objects with an id field, computes added/removed by id.
|
|
1349
|
-
* - For arrays of primitives or objects without id, uses deep equality.
|
|
1350
|
-
* - For scalars/objects, reports oldValue/newValue when changed.
|
|
1351
|
-
*/
|
|
1352
|
-
declare function detectEntityChanges(oldObj: any, newObj: any): AXPEntityChangeSet;
|
|
1353
|
-
|
|
1354
|
-
declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent implements OnInit {
|
|
1355
|
-
protected readonly categoryTreeService: AXPCategoryTreeService;
|
|
1356
|
-
private readonly translationService;
|
|
1357
|
-
protected readonly highlightService: AXHighlightService;
|
|
1358
|
-
entityKey: _angular_core.WritableSignal<string>;
|
|
1359
|
-
textField: _angular_core.WritableSignal<string>;
|
|
1360
|
-
valueField: _angular_core.WritableSignal<string>;
|
|
1361
|
-
allowMultiple: _angular_core.WritableSignal<boolean>;
|
|
1362
|
-
selectedValues: _angular_core.WritableSignal<string[]>;
|
|
1363
|
-
searchPlaceholder: _angular_core.WritableSignal<string>;
|
|
1364
|
-
excludedNodeId: _angular_core.WritableSignal<string | undefined>;
|
|
1365
|
-
searchWithChildren: _angular_core.WritableSignal<boolean>;
|
|
1366
|
-
protected tree: _angular_core.Signal<AXTreeViewComponent | undefined>;
|
|
1367
|
-
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1368
|
-
protected selectedNodeIds: _angular_core.WritableSignal<string[]>;
|
|
1369
|
-
protected searchValue: _angular_core.WritableSignal<string>;
|
|
1370
|
-
protected searchResultCount: _angular_core.WritableSignal<number>;
|
|
1371
|
-
protected isSearching: _angular_core.WritableSignal<boolean>;
|
|
1372
|
-
protected resultsFoundText: _angular_core.WritableSignal<string>;
|
|
1373
|
-
protected noRecordsTitle: _angular_core.WritableSignal<string>;
|
|
1374
|
-
private currentSearchTerm;
|
|
1375
|
-
private isRefreshing;
|
|
1376
|
-
private isUpdatingSelection;
|
|
1377
|
-
/**
|
|
1378
|
-
* Computed property to check if we should show the "no search results" empty state.
|
|
1379
|
-
* Returns true when search is active, not searching, and no results found.
|
|
1380
|
-
*/
|
|
1381
|
-
protected readonly showNoSearchResults: _angular_core.Signal<boolean>;
|
|
1382
|
-
protected treeData: CategoryTreeNodeData | null;
|
|
1383
|
-
private treeConfig;
|
|
1384
|
-
private nodeDataCache;
|
|
1385
|
-
private matchingNodeIds;
|
|
1386
|
-
private relevantNodeIds;
|
|
1387
|
-
private expandedNodesBeforeSearch;
|
|
1388
|
-
private nodesExpandedDuringSearch;
|
|
1389
|
-
private isInitializing;
|
|
1390
|
-
ngOnInit(): void;
|
|
1391
|
-
private initializeTree;
|
|
1392
|
-
/**
|
|
1393
|
-
* Handles search input value changes - Uses server-side search for efficiency and reliability
|
|
1394
|
-
*/
|
|
1395
|
-
handleSearchChange(event: AXValueChangedEvent<string>): Promise<void>;
|
|
1396
|
-
/**
|
|
1397
|
-
* Collects all parent IDs for the given search results
|
|
1398
|
-
* Handles both nested 'parent' object and 'parentId' field in search results
|
|
1399
|
-
* Recursively fetches parent nodes to build the full parent chain
|
|
1400
|
-
*/
|
|
1401
|
-
private collectParentIds;
|
|
1402
|
-
/**
|
|
1403
|
-
* Collects children IDs for matching search results recursively
|
|
1404
|
-
* Adds all descendants (children, grandchildren, etc.) to relevantNodeIds so they appear in the filtered tree
|
|
1405
|
-
*/
|
|
1406
|
-
private collectChildrenIds;
|
|
1407
|
-
/**
|
|
1408
|
-
* Recursively collects all descendant IDs for a given node
|
|
1409
|
-
*/
|
|
1410
|
-
private collectChildrenRecursively;
|
|
1411
|
-
/**
|
|
1412
|
-
* Fetches a single item by ID from the server
|
|
1413
|
-
*/
|
|
1414
|
-
private fetchItemById;
|
|
1415
|
-
/**
|
|
1416
|
-
* Sorts parent IDs by their depth (root first, leaves last)
|
|
1417
|
-
* Optimized to use cached data and batch fetch missing items
|
|
1418
|
-
*/
|
|
1419
|
-
private sortParentsByDepth;
|
|
1420
|
-
/**
|
|
1421
|
-
* Updates translated messages for search results
|
|
1422
|
-
*/
|
|
1423
|
-
private updateTranslatedMessages;
|
|
1424
|
-
/**
|
|
1425
|
-
* Resets search state and restores tree to original expanded state
|
|
1426
|
-
*/
|
|
1427
|
-
private resetSearch;
|
|
1428
|
-
protected onNodeToggle(event: AXTreeViewNodeToggleEvent): Promise<void>;
|
|
1429
|
-
protected onNodeSelect(event: AXTreeViewNodeSelectEvent): Promise<void>;
|
|
1430
|
-
protected onSelectionChange(event: AXTreeViewSelectionChangeEvent): Promise<void>;
|
|
1431
|
-
/** Datasource callback for tree-view component. */
|
|
1432
|
-
protected datasource: (id?: string) => Promise<AXTreeViewNode[]>;
|
|
1433
|
-
protected onConfirm(): Promise<void>;
|
|
1434
|
-
protected onCancel(): Promise<void>;
|
|
1435
|
-
/**
|
|
1436
|
-
* Checks if a node matches the current search term
|
|
1437
|
-
*/
|
|
1438
|
-
protected isMatchingNode(nodeId: string): boolean;
|
|
1439
|
-
/**
|
|
1440
|
-
* Checks if a node is currently selected
|
|
1441
|
-
*/
|
|
1442
|
-
protected isNodeSelected(nodeId: string | number | undefined): boolean;
|
|
1443
|
-
/**
|
|
1444
|
-
* Handles checkbox change event to toggle node selection
|
|
1445
|
-
* In multiple mode: recursively selects/deselects children
|
|
1446
|
-
* Parent states are handled automatically by tree component's intermediate-nested behavior
|
|
1447
|
-
*/
|
|
1448
|
-
protected handleCheckboxChange(nodeId: string | number | undefined, checked: boolean): Promise<void>;
|
|
1449
|
-
/**
|
|
1450
|
-
* Selects a node and recursively selects all its children
|
|
1451
|
-
*/
|
|
1452
|
-
private selectNodeAndChildren;
|
|
1453
|
-
/**
|
|
1454
|
-
* Collects all descendant node IDs recursively
|
|
1455
|
-
*/
|
|
1456
|
-
private collectAllDescendants;
|
|
1457
|
-
/**
|
|
1458
|
-
* Deselects a node and recursively deselects all its children
|
|
1459
|
-
*/
|
|
1460
|
-
private deselectNodeAndChildren;
|
|
1461
|
-
/**
|
|
1462
|
-
* Recursively deselects all children of a parent node
|
|
1463
|
-
*/
|
|
1464
|
-
private loadAndDeselectChildrenRecursively;
|
|
1465
|
-
/**
|
|
1466
|
-
* Updates parent states based on children selection (select/intermediate)
|
|
1467
|
-
* Called after a node is selected/deselected to update parent checkbox states
|
|
1468
|
-
*/
|
|
1469
|
-
private updateParentStates;
|
|
1470
|
-
/**
|
|
1471
|
-
* Recursively loads and selects all children of a parent node using the datasource
|
|
1472
|
-
* This method directly calls datasource without expanding/collapsing nodes to avoid UI glitches
|
|
1473
|
-
*/
|
|
1474
|
-
private loadAndSelectChildrenRecursively;
|
|
1475
|
-
private updateSelectedNodes;
|
|
1476
|
-
/**
|
|
1477
|
-
* Updates all parent states based on their children's selection
|
|
1478
|
-
* Used during initialization to ensure proper parent states (select/intermediate)
|
|
1479
|
-
*/
|
|
1480
|
-
private updateAllParentStates;
|
|
1481
|
-
/**
|
|
1482
|
-
* Expands parents of selected nodes so they're visible when popup opens
|
|
1483
|
-
*/
|
|
1484
|
-
private expandParentsOfSelectedNodes;
|
|
1485
|
-
/**
|
|
1486
|
-
* Selects parents whose all children are selected
|
|
1487
|
-
* This ensures that when all children of a parent are selected, the parent also appears selected
|
|
1488
|
-
*/
|
|
1489
|
-
private selectParentsWithAllChildrenSelected;
|
|
1490
|
-
/**
|
|
1491
|
-
* Syncs selection state with the tree component
|
|
1492
|
-
* Handles cases where nodes might not be in the tree structure yet
|
|
1493
|
-
*/
|
|
1494
|
-
private syncSelectionWithTree;
|
|
1495
|
-
/**
|
|
1496
|
-
* Loads node data for IDs that are selected but not yet in the cache.
|
|
1497
|
-
* This is critical for pre-selected values in collapsed branches.
|
|
1498
|
-
*/
|
|
1499
|
-
private loadMissingNodeData;
|
|
1500
|
-
/**
|
|
1501
|
-
* Marks nodes as selected in the tree structure based on selectedNodeIds.
|
|
1502
|
-
* This ensures pre-selected nodes appear selected when the tree is rendered.
|
|
1503
|
-
*/
|
|
1504
|
-
private markNodesAsSelected;
|
|
1505
|
-
/**
|
|
1506
|
-
* Marks a single node as selected if it's in the selectedNodeIds list.
|
|
1507
|
-
*/
|
|
1508
|
-
private markNodeAsSelectedIfNeeded;
|
|
1509
|
-
/**
|
|
1510
|
-
* Marks a node and its children as disabled if the node ID matches the excluded ID.
|
|
1511
|
-
*/
|
|
1512
|
-
private markNodeAsDisabled;
|
|
1513
|
-
/**
|
|
1514
|
-
* Processes root node: marks excluded as disabled, marks selected, and syncs selection with tree component
|
|
1515
|
-
*/
|
|
1516
|
-
private processRootNode;
|
|
1517
|
-
/**
|
|
1518
|
-
* Processes child nodes: marks excluded as disabled, marks selected, and syncs selection
|
|
1519
|
-
*/
|
|
1520
|
-
private processChildNodes;
|
|
1521
|
-
/**
|
|
1522
|
-
* Caches node data from items array
|
|
1523
|
-
*/
|
|
1524
|
-
private cacheNodeData;
|
|
1525
|
-
/**
|
|
1526
|
-
* Caches node data from tree nodes
|
|
1527
|
-
*/
|
|
1528
|
-
private cacheNodeDataFromNodes;
|
|
1529
|
-
/**
|
|
1530
|
-
* Calculate the full path from root to the selected node.
|
|
1531
|
-
* Returns an array of strings like ["C", "B"] for node B under parent C.
|
|
1532
|
-
* Uses tree-view's getNodePath() API when available, otherwise falls back to manual calculation.
|
|
1533
|
-
*/
|
|
1534
|
-
private calculateNodePath;
|
|
1535
|
-
/**
|
|
1536
|
-
* Manual path calculation fallback
|
|
1537
|
-
*/
|
|
1538
|
-
private calculateNodePathManually;
|
|
1539
|
-
/**
|
|
1540
|
-
* Get the display title for a node.
|
|
1541
|
-
*/
|
|
1542
|
-
private getNodeTitle;
|
|
1543
|
-
/**
|
|
1544
|
-
* Checks if a node is a leaf node (has no children)
|
|
1545
|
-
*/
|
|
1546
|
-
private isLeafNode;
|
|
1547
|
-
/**
|
|
1548
|
-
* Checks if a node has children by querying the data source
|
|
1549
|
-
*/
|
|
1550
|
-
private checkIfNodeHasChildren;
|
|
1551
|
-
private getSelectedItems;
|
|
1552
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryTreeSelectorComponent, never>;
|
|
1553
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryTreeSelectorComponent, "axp-entity-category-tree-selector", never, {}, {}, never, never, true, never>;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
declare class AXPEntityCategoryWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
1557
|
-
protected readonly entityDetailPopoverService: AXPEntityDetailPopoverService;
|
|
1558
|
-
protected readonly formatService: AXFormatService;
|
|
1559
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1560
|
-
private readonly rawValueSignal;
|
|
1561
|
-
set rawValueInput(value: any);
|
|
1562
|
-
protected entity: _angular_core.Signal<string>;
|
|
1563
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1564
|
-
protected textField: _angular_core.Signal<string>;
|
|
1565
|
-
protected columnName: _angular_core.Signal<string>;
|
|
1566
|
-
protected defaultTextField: _angular_core.Signal<string>;
|
|
1567
|
-
protected displayField: _angular_core.Signal<string>;
|
|
1568
|
-
protected host: ElementRef<any>;
|
|
1569
|
-
private entityDef;
|
|
1570
|
-
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
1571
|
-
protected selectedItemIndex: _angular_core.WritableSignal<number>;
|
|
1572
|
-
private efEntity;
|
|
1573
|
-
private efDisplay;
|
|
1574
|
-
protected visibleItems: _angular_core.Signal<any[]>;
|
|
1575
|
-
protected showItemDetail(item: any, index: number): Promise<void>;
|
|
1576
|
-
protected handleItemClick(index: number): void;
|
|
1577
|
-
protected getItemPath(item: any): string[];
|
|
1578
|
-
protected hasParent(item: any): boolean;
|
|
1579
|
-
protected getItemText(item: any): string;
|
|
1580
|
-
protected getItemId(item: any): string;
|
|
1581
|
-
private extractItemWithPath;
|
|
1582
|
-
/**
|
|
1583
|
-
* Calculate the full path from root to the item.
|
|
1584
|
-
* Returns an array of strings like ["C", "B"] for item B under parent C.
|
|
1585
|
-
*/
|
|
1586
|
-
private calculateItemPath;
|
|
1587
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetColumnComponent, never>;
|
|
1588
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetColumnComponent, "axp-entity-category-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "rawValueInput": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
interface AXPEntityCategoryWidgetOptions {
|
|
1592
|
-
disabled?: boolean | AXPExpression;
|
|
1593
|
-
readonly?: boolean | AXPExpression;
|
|
1594
|
-
placeholder?: string;
|
|
1595
|
-
entity?: string;
|
|
1596
|
-
multiple?: boolean;
|
|
1597
|
-
textField?: string;
|
|
1598
|
-
valueField?: string;
|
|
1599
|
-
parentKey?: string;
|
|
1600
|
-
expose?: Array<{
|
|
1601
|
-
source: string;
|
|
1602
|
-
target: string;
|
|
1603
|
-
}>;
|
|
1604
|
-
allowClear?: boolean;
|
|
1605
|
-
look?: 'select' | 'lookup';
|
|
1606
|
-
maxVisible?: number;
|
|
1607
|
-
characterLimit?: number | 'auto';
|
|
1608
|
-
sectionLimit?: number | 'auto';
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
declare class AXPEntityCategoryWidgetEditComponent extends AXPValueWidgetComponent<any, AXPEntityCategoryWidgetOptions> {
|
|
1612
|
-
#private;
|
|
1613
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1614
|
-
protected readonly popupService: AXPopupService;
|
|
1615
|
-
private readonly translateService;
|
|
1616
|
-
protected readonly cdr: ChangeDetectorRef;
|
|
1617
|
-
protected entity: _angular_core.Signal<string>;
|
|
1618
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1619
|
-
protected disabled: _angular_core.Signal<boolean>;
|
|
1620
|
-
protected textField: _angular_core.Signal<string>;
|
|
1621
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1622
|
-
protected expose: _angular_core.Signal<{
|
|
1623
|
-
source: string;
|
|
1624
|
-
target: string;
|
|
1625
|
-
}[] | undefined>;
|
|
1626
|
-
protected allowClear: _angular_core.Signal<boolean>;
|
|
1627
|
-
protected characterLimit: _angular_core.Signal<number | "auto">;
|
|
1628
|
-
protected sectionLimit: _angular_core.Signal<number | "auto">;
|
|
1629
|
-
protected defaultTextField: _angular_core.Signal<string>;
|
|
1630
|
-
protected displayField: _angular_core.Signal<string>;
|
|
1631
|
-
protected searchPlaceholderText: _angular_core.WritableSignal<string>;
|
|
1632
|
-
protected selectedItems: _angular_core.WritableSignal<any[]>;
|
|
1633
|
-
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
1634
|
-
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
1635
|
-
protected tagBox: _angular_core.Signal<AXTagBoxComponent | undefined>;
|
|
1636
|
-
protected searchTerm: _angular_core.WritableSignal<string | null>;
|
|
1637
|
-
private entityDef;
|
|
1638
|
-
protected handleAddClick(e: AXClickEvent): void;
|
|
1639
|
-
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
1640
|
-
protected handleOnBlur(e: AXFocusEvent): void;
|
|
1641
|
-
protected handleKeyUp(e: AXHtmlEvent): Promise<void>;
|
|
1642
|
-
protected handleClearClick(): void;
|
|
1643
|
-
protected handleRemoveItem(event: Event, index: number): Promise<void>;
|
|
1644
|
-
clearInput(): void;
|
|
1645
|
-
private showTreeSelector;
|
|
1646
|
-
clear(): void;
|
|
1647
|
-
private findByValue;
|
|
1648
|
-
private setItems;
|
|
1649
|
-
private singleOrMultiple;
|
|
1650
|
-
protected getItemLabel(item: any): string;
|
|
1651
|
-
/**
|
|
1652
|
-
* Get item path as array for breadcrumb component
|
|
1653
|
-
*/
|
|
1654
|
-
protected getItemPath(item: any): string[];
|
|
1655
|
-
/**
|
|
1656
|
-
* Join path array with separator.
|
|
1657
|
-
* Override this method to customize the separator (e.g., " > ", " -> ", " / ")
|
|
1658
|
-
*/
|
|
1659
|
-
protected joinPath(path: string[]): string;
|
|
1660
|
-
protected getItemId(item: any): string;
|
|
1661
|
-
/**
|
|
1662
|
-
* Calculate the full path from root to the item.
|
|
1663
|
-
* Returns an array of strings like ["C", "B"] for item B under parent C.
|
|
1664
|
-
*/
|
|
1665
|
-
private calculateItemPath;
|
|
1666
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetEditComponent, never>;
|
|
1667
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetEditComponent, "axp-entity-category-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
declare class AXPEntityCategoryWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1671
|
-
protected readonly formatService: AXFormatService;
|
|
1672
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1673
|
-
protected entity: _angular_core.Signal<string>;
|
|
1674
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1675
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1676
|
-
protected textField: _angular_core.Signal<string>;
|
|
1677
|
-
protected badgeClass: _angular_core.Signal<string>;
|
|
1678
|
-
protected displayField: _angular_core.Signal<string>;
|
|
1679
|
-
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1680
|
-
private entityDef;
|
|
1681
|
-
protected displayItems: _angular_core.WritableSignal<{
|
|
1682
|
-
id: string;
|
|
1683
|
-
text: string;
|
|
1684
|
-
}[]>;
|
|
1685
|
-
private efEntity;
|
|
1686
|
-
private efDisplay;
|
|
1687
|
-
private extractItem;
|
|
1688
|
-
private getDisplayText;
|
|
1689
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetViewComponent, never>;
|
|
1690
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetViewComponent, "axp-entity-category-widget-view", never, {}, {}, never, never, true, never>;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
declare const AXPEntityCategoryWidget: AXPWidgetConfig;
|
|
1694
|
-
|
|
1695
|
-
declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
1696
|
-
/**
|
|
1697
|
-
* Array of path sections to display
|
|
1698
|
-
*/
|
|
1699
|
-
sections: _angular_core.InputSignal<string[]>;
|
|
1700
|
-
/**
|
|
1701
|
-
* Maximum number of characters per section.
|
|
1702
|
-
* Can be a number or 'auto' to calculate based on available space.
|
|
1703
|
-
*/
|
|
1704
|
-
characterLimit: _angular_core.InputSignal<number | "auto">;
|
|
1705
|
-
/**
|
|
1706
|
-
* Maximum number of sections to display before showing ellipsis.
|
|
1707
|
-
* Can be a number or 'auto' to calculate based on available space.
|
|
1708
|
-
*/
|
|
1709
|
-
sectionLimit: _angular_core.InputSignal<number | "auto">;
|
|
1710
|
-
/**
|
|
1711
|
-
* Icon class for separator between sections
|
|
1712
|
-
*/
|
|
1713
|
-
separatorIcon: _angular_core.InputSignal<string>;
|
|
1714
|
-
/**
|
|
1715
|
-
* Icon class for ellipsis
|
|
1716
|
-
*/
|
|
1717
|
-
ellipsisIcon: _angular_core.InputSignal<string>;
|
|
1718
|
-
/**
|
|
1719
|
-
* Icon class for eye icon (collapse button)
|
|
1720
|
-
*/
|
|
1721
|
-
eyeIcon: _angular_core.InputSignal<string>;
|
|
1722
|
-
protected container: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
1723
|
-
protected isExpanded: _angular_core.WritableSignal<boolean>;
|
|
1724
|
-
private containerWidth;
|
|
1725
|
-
private resizeObserver;
|
|
1726
|
-
/**
|
|
1727
|
-
* Effective character limit (calculated if 'auto', otherwise uses input value)
|
|
1728
|
-
*/
|
|
1729
|
-
protected effectiveCharacterLimit: _angular_core.Signal<number>;
|
|
1730
|
-
/**
|
|
1731
|
-
* Effective section limit (calculated if 'auto', otherwise uses input value)
|
|
1732
|
-
*/
|
|
1733
|
-
protected effectiveSectionLimit: _angular_core.Signal<number>;
|
|
1734
|
-
/**
|
|
1735
|
-
* All sections with truncated text (for collapsed display)
|
|
1736
|
-
*/
|
|
1737
|
-
protected allSections: _angular_core.Signal<{
|
|
1738
|
-
text: string;
|
|
1739
|
-
original: string;
|
|
1740
|
-
}[]>;
|
|
1741
|
-
/**
|
|
1742
|
-
* All sections with full text (for expanded display)
|
|
1743
|
-
*/
|
|
1744
|
-
protected allSectionsFull: _angular_core.Signal<string[]>;
|
|
1745
|
-
/**
|
|
1746
|
-
* Sections to display (first N sections) when collapsed
|
|
1747
|
-
*/
|
|
1748
|
-
protected displayedSections: _angular_core.Signal<{
|
|
1749
|
-
text: string;
|
|
1750
|
-
original: string;
|
|
1751
|
-
}[]>;
|
|
1752
|
-
/**
|
|
1753
|
-
* Last section (always shown if there are hidden sections)
|
|
1754
|
-
*/
|
|
1755
|
-
protected lastSection: _angular_core.Signal<{
|
|
1756
|
-
text: string;
|
|
1757
|
-
original: string;
|
|
1758
|
-
}>;
|
|
1759
|
-
/**
|
|
1760
|
-
* Check if there are hidden sections
|
|
1761
|
-
*/
|
|
1762
|
-
protected hasHiddenSections: _angular_core.Signal<boolean>;
|
|
1763
|
-
constructor();
|
|
1764
|
-
ngOnDestroy(): void;
|
|
1765
|
-
/**
|
|
1766
|
-
* Handles click on separator icon to expand
|
|
1767
|
-
*/
|
|
1768
|
-
protected handleSeparatorClick(event: Event): void;
|
|
1769
|
-
/**
|
|
1770
|
-
* Handles click on ellipsis icon to expand
|
|
1771
|
-
*/
|
|
1772
|
-
protected handleEllipsisClick(event: Event): void;
|
|
1773
|
-
/**
|
|
1774
|
-
* Handles click on eye icon to collapse
|
|
1775
|
-
*/
|
|
1776
|
-
protected handleCollapseClick(event: Event): void;
|
|
1777
|
-
/**
|
|
1778
|
-
* Initializes ResizeObserver to track container width
|
|
1779
|
-
*/
|
|
1780
|
-
private initializeResizeObserver;
|
|
1781
|
-
/**
|
|
1782
|
-
* Calculates automatic character limit based on available space
|
|
1783
|
-
*/
|
|
1784
|
-
private calculateAutoCharacterLimit;
|
|
1785
|
-
/**
|
|
1786
|
-
* Calculates automatic section limit based on available space
|
|
1787
|
-
*/
|
|
1788
|
-
private calculateAutoSectionLimit;
|
|
1789
|
-
/**
|
|
1790
|
-
* Truncates text to character limit with ellipsis
|
|
1791
|
-
*/
|
|
1792
|
-
private truncateText;
|
|
1793
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTruncatedBreadcrumbComponent, never>;
|
|
1794
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTruncatedBreadcrumbComponent, "axp-truncated-breadcrumb", never, { "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "characterLimit": { "alias": "characterLimit"; "required": false; "isSignal": true; }; "sectionLimit": { "alias": "sectionLimit"; "required": false; "isSignal": true; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; "isSignal": true; }; "ellipsisIcon": { "alias": "ellipsisIcon"; "required": false; "isSignal": true; }; "eyeIcon": { "alias": "eyeIcon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
declare class AXPEntityListTableService {
|
|
1798
|
-
private readonly workflow;
|
|
1799
|
-
private readonly expressionEvaluator;
|
|
1800
|
-
/**
|
|
1801
|
-
* Convert Entity to List Widget Options
|
|
1802
|
-
*/
|
|
1803
|
-
convertEntityToListOptions(entity: AXPEntity, options: any, allActions: AXPEntityCommandTriggerViewModel[]): Promise<AXPDataListWidgetComponentOptions>;
|
|
1804
|
-
/**
|
|
1805
|
-
* Create DataSource for Entity
|
|
1806
|
-
*/
|
|
1807
|
-
private createDataSource;
|
|
1808
|
-
/**
|
|
1809
|
-
* Convert Properties to Columns
|
|
1810
|
-
*/
|
|
1811
|
-
private createColumnsFromProperties;
|
|
1812
|
-
/**
|
|
1813
|
-
* Map EntityTableColumn to ListWidgetColumn
|
|
1814
|
-
*/
|
|
1815
|
-
private mapEntityColumnToWidgetColumn;
|
|
1816
|
-
/**
|
|
1817
|
-
* Convert Entity Actions to Row Commands
|
|
1818
|
-
*/
|
|
1819
|
-
private createRowCommands;
|
|
1820
|
-
/**
|
|
1821
|
-
* Check if entity has Selected Scope Actions
|
|
1822
|
-
*/
|
|
1823
|
-
private hasSelectedScopeActions;
|
|
1824
|
-
private evaluateExpressions;
|
|
1825
|
-
/**
|
|
1826
|
-
* Handle execution of a row command (shared by double-click and command handlers)
|
|
1827
|
-
*/
|
|
1828
|
-
private handleRowCommand;
|
|
1829
|
-
/**
|
|
1830
|
-
* Create default events
|
|
1831
|
-
*/
|
|
1832
|
-
private createDefaultEvents;
|
|
1833
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityListTableService, never>;
|
|
1834
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityListTableService>;
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
declare class AXPEntityListToolbarService {
|
|
1838
|
-
private readonly widgetResolver;
|
|
1839
|
-
/**
|
|
1840
|
-
* Convert Entity to Toolbar Options
|
|
1841
|
-
*/
|
|
1842
|
-
convertEntityToolbarOptions(entity: AXPEntity, options: any): Promise<{
|
|
1843
|
-
filterDefinitions: AXPFilterDefinition[];
|
|
1844
|
-
columnDefinitions: AXPColumnQuery[];
|
|
1845
|
-
sortDefinitions: AXPSortDefinition[];
|
|
1846
|
-
}>;
|
|
1847
|
-
/**
|
|
1848
|
-
* Create Filter Definitions for Toolbar
|
|
1849
|
-
*/
|
|
1850
|
-
private createFilterDefinitions;
|
|
1851
|
-
/**
|
|
1852
|
-
* Create Column Definitions for Toolbar
|
|
1853
|
-
*/
|
|
1854
|
-
private createColumnDefinitions;
|
|
1855
|
-
/**
|
|
1856
|
-
* Create Sort Definitions for Toolbar
|
|
1857
|
-
*/
|
|
1858
|
-
private createSortDefinitions;
|
|
1859
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityListToolbarService, never>;
|
|
1860
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityListToolbarService>;
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
1864
|
-
#private;
|
|
1865
|
-
protected entityService: AXPEntityDefinitionRegistryService;
|
|
1866
|
-
protected workflow: AXPWorkflowService;
|
|
1867
|
-
protected entityListTableService: AXPEntityListTableService;
|
|
1868
|
-
protected entityListToolbarService: AXPEntityListToolbarService;
|
|
1869
|
-
protected deviceService: AXPDeviceService;
|
|
1870
|
-
protected commandService: AXPCommandService;
|
|
1871
|
-
protected eventService: AXPBroadcastEventService;
|
|
1872
|
-
protected isMounted: _angular_core.WritableSignal<boolean>;
|
|
1873
|
-
readonly entity: _angular_core.WritableSignal<AXPEntity | null>;
|
|
1874
|
-
protected listNode: _angular_core.WritableSignal<AXPWidgetNode | null>;
|
|
1875
|
-
protected list: _angular_core.Signal<AXPWidgetRendererDirective | undefined>;
|
|
1876
|
-
protected allWidgets: _angular_core.Signal<readonly AXPWidgetRendererDirective[]>;
|
|
1877
|
-
protected listWidget: _angular_core.WritableSignal<AXPWidgetRendererDirective | undefined>;
|
|
1878
|
-
protected toolbarWidget: _angular_core.Signal<AXPWidgetRendererDirective | undefined>;
|
|
1879
|
-
protected selectedItems: _angular_core.WritableSignal<any[]>;
|
|
1880
|
-
protected toolbarNode: _angular_core.WritableSignal<AXPWidgetNode | null>;
|
|
1881
|
-
protected destroyed: Subject<void>;
|
|
1882
|
-
protected entitySource: _angular_core.Signal<any>;
|
|
1883
|
-
protected excludeColumns: _angular_core.Signal<string[]>;
|
|
1884
|
-
protected includeColumns: _angular_core.Signal<string[]>;
|
|
1885
|
-
protected externalActions: _angular_core.Signal<AXPEntityAction[]>;
|
|
1886
|
-
protected maxHeight: _angular_core.Signal<string>;
|
|
1887
|
-
protected showEntityActions: _angular_core.Signal<any>;
|
|
1888
|
-
protected showToolbar: _angular_core.Signal<any>;
|
|
1889
|
-
protected allActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
1890
|
-
protected primaryActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
1891
|
-
protected handleUnselectAll(): void;
|
|
1892
|
-
protected secondaryActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
1893
|
-
protected handleActionClick(item: AXPActionMenuItem): void;
|
|
1894
|
-
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
1895
|
-
protected execute(commandName: string, data: any): Promise<void>;
|
|
1896
|
-
protected queries: undefined;
|
|
1897
|
-
/**
|
|
1898
|
-
* Validates that all required dependencies are available
|
|
1899
|
-
*/
|
|
1900
|
-
private hasRequiredDependencies;
|
|
1901
|
-
/**
|
|
1902
|
-
* Handles all query-related changes (filters, sorts, columns)
|
|
1903
|
-
*/
|
|
1904
|
-
private handleQueryChanges;
|
|
1905
|
-
/**
|
|
1906
|
-
* Analyzes what has changed between current and previous queries
|
|
1907
|
-
*/
|
|
1908
|
-
private analyzeChanges;
|
|
1909
|
-
/**
|
|
1910
|
-
* Applies filter and sort changes to the data source
|
|
1911
|
-
*/
|
|
1912
|
-
private applyDataSourceChanges;
|
|
1913
|
-
/**
|
|
1914
|
-
* Handles list refresh logic based on changes and mount status
|
|
1915
|
-
*/
|
|
1916
|
-
private handleListRefresh;
|
|
1917
|
-
/**
|
|
1918
|
-
* Handles column-related changes
|
|
1919
|
-
* TODO: Implement column change logic
|
|
1920
|
-
*/
|
|
1921
|
-
private handleColumnChanges;
|
|
1922
|
-
protected context: {};
|
|
1923
|
-
protected previousQueries: any;
|
|
1924
|
-
ngOnInit(): Promise<void>;
|
|
1925
|
-
ngAfterViewInit(): Promise<void>;
|
|
1926
|
-
ngOnDestroy(): void;
|
|
1927
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityListWidgetViewComponent, never>;
|
|
1928
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityListWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
declare const AXPEntityListWidget: AXPWidgetConfig;
|
|
1932
|
-
|
|
1933
|
-
declare class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1934
|
-
#private;
|
|
1935
|
-
protected editorPath: string;
|
|
1936
|
-
protected lookupWidgetRenderer: _angular_core.Signal<AXPWidgetRendererDirective | undefined>;
|
|
1937
|
-
protected entity: _angular_core.Signal<string>;
|
|
1938
|
-
protected textField: _angular_core.Signal<string>;
|
|
1939
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1940
|
-
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
1941
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1942
|
-
protected lookupNode: _angular_core.WritableSignal<AXPWidgetNode>;
|
|
1943
|
-
private shouldFocus;
|
|
1944
|
-
/**
|
|
1945
|
-
* Public focus method to trigger focusing
|
|
1946
|
-
*/
|
|
1947
|
-
focus(): void;
|
|
1948
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupFilterWidgetEditComponent, never>;
|
|
1949
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupFilterWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
declare const AXPLookupFilterWidget: AXPWidgetConfig;
|
|
1953
|
-
declare module '@acorex/platform/layout/widget-core' {
|
|
1954
|
-
interface AXPWidgetTypesMap {
|
|
1955
|
-
lookupFilter: 'lookup-filter';
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1960
|
-
protected readonly formatService: AXFormatService;
|
|
1961
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1962
|
-
protected entity: _angular_core.Signal<string>;
|
|
1963
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
1964
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1965
|
-
protected textField: _angular_core.Signal<string>;
|
|
1966
|
-
protected badgeClass: _angular_core.Signal<string>;
|
|
1967
|
-
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
1968
|
-
protected displayField: _angular_core.Signal<string>;
|
|
1969
|
-
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1970
|
-
private entityDef;
|
|
1971
|
-
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
1972
|
-
private efEntity;
|
|
1973
|
-
private efDisplay;
|
|
1974
|
-
private extractItem;
|
|
1975
|
-
private getDisplayText;
|
|
1976
|
-
private get __class();
|
|
1977
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
|
1978
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetViewComponent, "axp-lookup-widget-view", never, {}, {}, never, never, true, never>;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
interface AXPEntityDataSelectorOptions {
|
|
1982
|
-
entity: AXPEntity;
|
|
1983
|
-
title: string;
|
|
1984
|
-
allowMultiple?: boolean;
|
|
1985
|
-
filters?: AXDataSourceFilterOption | null;
|
|
1986
|
-
parentFilters?: AXDataSourceFilterOption | null;
|
|
1987
|
-
columns?: string[];
|
|
1988
|
-
sortedFields?: {
|
|
1989
|
-
name: string;
|
|
1990
|
-
dir: 'asc' | 'desc';
|
|
1991
|
-
}[];
|
|
1992
|
-
allowCreate?: boolean;
|
|
1993
|
-
searchFields?: string[];
|
|
1994
|
-
initialSearchTerm?: string;
|
|
1995
|
-
selectedItemIds?: string[] | number[];
|
|
1996
|
-
}
|
|
1997
|
-
interface AXPEntityDataSelectorResult {
|
|
1998
|
-
items: any[];
|
|
1999
|
-
}
|
|
2000
|
-
declare class AXPEntityDataSelectorService {
|
|
2001
|
-
private readonly dataSelectorService;
|
|
2002
|
-
private readonly filterOperatorMiddleware;
|
|
2003
|
-
private readonly widgetResolver;
|
|
2004
|
-
/**
|
|
2005
|
-
* Open entity data selector popup
|
|
2006
|
-
*/
|
|
2007
|
-
open(options: AXPEntityDataSelectorOptions): Promise<AXPEntityDataSelectorResult | null>;
|
|
2008
|
-
/**
|
|
2009
|
-
* Open entity data selector with category filter
|
|
2010
|
-
*/
|
|
2011
|
-
openWithCategoryFilter(options: Omit<AXPEntityDataSelectorOptions, 'allowCreate'>, categoryFilterConfig: {
|
|
2012
|
-
title: string;
|
|
2013
|
-
dataSource: any;
|
|
2014
|
-
filterField: string;
|
|
2015
|
-
filterOperator?: 'equal' | 'contains' | 'in';
|
|
2016
|
-
width?: string;
|
|
2017
|
-
}): Promise<AXPEntityDataSelectorResult | null>;
|
|
2018
|
-
/**
|
|
2019
|
-
* Create data selector configuration from entity options
|
|
2020
|
-
*/
|
|
2021
|
-
private createDataSelectorConfig;
|
|
2022
|
-
/**
|
|
2023
|
-
* Create data source from entity definition
|
|
2024
|
-
*/
|
|
2025
|
-
private createDataSource;
|
|
2026
|
-
/**
|
|
2027
|
-
* Create columns configuration from entity definition
|
|
2028
|
-
*/
|
|
2029
|
-
private createColumns;
|
|
2030
|
-
/**
|
|
2031
|
-
* Get searchable fields from entity properties
|
|
2032
|
-
*/
|
|
2033
|
-
private getSearchFields;
|
|
2034
|
-
/**
|
|
2035
|
-
* Check if entity supports create operation
|
|
2036
|
-
*/
|
|
2037
|
-
private canCreate;
|
|
2038
|
-
/**
|
|
2039
|
-
* Merge custom and parent filters into data source query
|
|
2040
|
-
*/
|
|
2041
|
-
private mergeFilters;
|
|
2042
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDataSelectorService, never>;
|
|
2043
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDataSelectorService>;
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
2047
|
-
interface AXPLookupWidgetOptions {
|
|
2048
|
-
disabled?: boolean | AXPExpression;
|
|
2049
|
-
readonly?: boolean | AXPExpression;
|
|
2050
|
-
placeholder?: string;
|
|
2051
|
-
expose?: string | string[];
|
|
2052
|
-
look?: AXPLookupWidgetLookType;
|
|
2053
|
-
allowClear?: boolean;
|
|
2054
|
-
displayFormat?: string;
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
2058
|
-
#private;
|
|
2059
|
-
protected readonly injector: Injector;
|
|
2060
|
-
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
2061
|
-
protected readonly formatService: AXFormatService;
|
|
2062
|
-
protected readonly popupService: AXPopupService;
|
|
2063
|
-
protected readonly entityDataSelectorService: AXPEntityDataSelectorService;
|
|
2064
|
-
private readonly translateService;
|
|
2065
|
-
protected selectBox: _angular_core.Signal<AXSelectBoxComponent | undefined>;
|
|
2066
|
-
protected tagBox: _angular_core.Signal<AXTagBoxComponent | undefined>;
|
|
2067
|
-
private shouldFocus;
|
|
2068
|
-
protected expose: _angular_core.Signal<string | any[] | undefined>;
|
|
2069
|
-
protected entity: _angular_core.Signal<string>;
|
|
2070
|
-
protected disabled: _angular_core.Signal<string>;
|
|
2071
|
-
protected columns: _angular_core.Signal<string[]>;
|
|
2072
|
-
protected textField: _angular_core.Signal<string>;
|
|
2073
|
-
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
2074
|
-
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
2075
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
2076
|
-
protected look: _angular_core.Signal<AXPLookupWidgetLookType>;
|
|
2077
|
-
protected allowClear: _angular_core.Signal<boolean>;
|
|
2078
|
-
protected defaultTextField: _angular_core.Signal<string>;
|
|
2079
|
-
protected displayField: _angular_core.Signal<string>;
|
|
2080
|
-
protected selectedItemsText: _angular_core.Signal<string>;
|
|
2081
|
-
protected valueField: _angular_core.Signal<string>;
|
|
2082
|
-
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
2083
|
-
protected conditions?: AXPQueryFilter[];
|
|
2084
|
-
protected filter: AXDataSourceFilterOption | null;
|
|
2085
|
-
private entityDef;
|
|
2086
|
-
/**
|
|
2087
|
-
* Get default sort order from entity's first list view
|
|
2088
|
-
*/
|
|
2089
|
-
protected defaultSorts: _angular_core.Signal<AXDataSourceSortOption[]>;
|
|
2090
|
-
protected dataSource: _angular_core.Signal<AXDataSource<unknown> | null>;
|
|
2091
|
-
protected searchTerm: _angular_core.WritableSignal<string | null>;
|
|
2092
|
-
protected selectedItems: _angular_core.WritableSignal<any[]>;
|
|
2093
|
-
textbox: _angular_core.Signal<AXTagBoxComponent | undefined>;
|
|
2094
|
-
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
2095
|
-
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
2096
|
-
private placeholderUpdateToken;
|
|
2097
|
-
private findByValue;
|
|
2098
|
-
protected handleOnClick(e: AXClickEvent): void;
|
|
2099
|
-
private showSelector;
|
|
2100
|
-
protected selectBoxValueChange(e: AXValueChangedEvent): void;
|
|
2101
|
-
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
2102
|
-
protected handleSearchInputChange(e: AXValueChangedEvent): void;
|
|
2103
|
-
protected handleOnBlur(e: AXFocusEvent): void;
|
|
2104
|
-
protected handleKeyUp(e: AXHtmlEvent): Promise<void>;
|
|
2105
|
-
private setItems;
|
|
2106
|
-
protected handleClearClick(): void;
|
|
2107
|
-
refresh(): void;
|
|
2108
|
-
clear(): void;
|
|
2109
|
-
clearInput(): void;
|
|
2110
|
-
protected getTagLabel(item: any): string;
|
|
2111
|
-
private searchByValue;
|
|
2112
|
-
private mergeFilter;
|
|
2113
|
-
private singleOrMultiple;
|
|
2114
|
-
/**
|
|
2115
|
-
* Public focus method to trigger focusing
|
|
2116
|
-
*/
|
|
2117
|
-
focus(): void;
|
|
2118
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetEditComponent, never>;
|
|
2119
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetEditComponent, "axp-lookup-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
2123
|
-
private readonly entityDetailPopoverService;
|
|
2124
|
-
private readonly formatService;
|
|
2125
|
-
protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2126
|
-
protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
2127
|
-
protected host: ElementRef<any>;
|
|
2128
|
-
protected valueField: string;
|
|
2129
|
-
protected textField: string;
|
|
2130
|
-
protected entity: string;
|
|
2131
|
-
protected columnName: string;
|
|
2132
|
-
protected maxVisible: number;
|
|
2133
|
-
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
2134
|
-
protected displayField: _angular_core.Signal<string>;
|
|
2135
|
-
protected isMorePopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
2136
|
-
protected selectedItemIndex: _angular_core.WritableSignal<number>;
|
|
2137
|
-
protected displayItems: _angular_core.Signal<any[]>;
|
|
2138
|
-
protected allItems: _angular_core.Signal<any[]>;
|
|
2139
|
-
protected visibleItems: _angular_core.Signal<any[]>;
|
|
2140
|
-
protected hasMoreItems: _angular_core.Signal<boolean>;
|
|
2141
|
-
protected remainingItemsCount: _angular_core.Signal<number>;
|
|
2142
|
-
protected showMoreItems(): void;
|
|
2143
|
-
protected onMorePopoverOpenChange(event: any): void;
|
|
2144
|
-
protected showItemDetail(item: any, index: number): Promise<void>;
|
|
2145
|
-
protected handleItemClick(index: number): void;
|
|
2146
|
-
private openMorePopover;
|
|
2147
|
-
private closeMorePopover;
|
|
2148
|
-
private extractItem;
|
|
2149
|
-
protected getDisplayText(item: any): string;
|
|
2150
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetColumnComponent, never>;
|
|
2151
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
declare const AXPLookupWidget: AXPWidgetConfig;
|
|
2155
|
-
|
|
2156
|
-
declare const AXPEntityCreateEvent: {
|
|
2157
|
-
(payload: {
|
|
2158
|
-
entity: string;
|
|
2159
|
-
meta?: any;
|
|
2160
|
-
}): {
|
|
2161
|
-
type: string;
|
|
2162
|
-
payload: {
|
|
2163
|
-
entity: string;
|
|
2164
|
-
meta?: any;
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
type: string;
|
|
2168
|
-
};
|
|
2169
|
-
declare class AXPEntityCreatePopupAction extends AXPWorkflowAction {
|
|
2170
|
-
private entityRegistery;
|
|
2171
|
-
private popupService;
|
|
2172
|
-
private platform;
|
|
2173
|
-
private factory;
|
|
2174
|
-
private config;
|
|
2175
|
-
private translateService;
|
|
2176
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2177
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCreatePopupAction, never>;
|
|
2178
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityCreatePopupAction>;
|
|
2179
|
-
}
|
|
2180
|
-
declare class AXPEntityCreateSubmittedAction extends AXPWorkflowAction {
|
|
2181
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2182
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCreateSubmittedAction, never>;
|
|
2183
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityCreateSubmittedAction>;
|
|
2184
|
-
}
|
|
2185
|
-
declare const AXPCreateEntityWorkflow: AXPWorkflow;
|
|
2186
|
-
|
|
2187
|
-
declare const AXPEntityDeletedEvent: {
|
|
2188
|
-
(payload: {
|
|
2189
|
-
entity: string;
|
|
2190
|
-
ids: string[];
|
|
2191
|
-
meta?: any;
|
|
2192
|
-
}): {
|
|
2193
|
-
type: string;
|
|
2194
|
-
payload: {
|
|
2195
|
-
entity: string;
|
|
2196
|
-
ids: string[];
|
|
2197
|
-
meta?: any;
|
|
2198
|
-
};
|
|
2199
|
-
};
|
|
2200
|
-
type: string;
|
|
2201
|
-
};
|
|
2202
|
-
interface AXPEntityDeleteOptions {
|
|
2203
|
-
source: string;
|
|
2204
|
-
ids: string[];
|
|
2205
|
-
}
|
|
2206
|
-
declare class AXPEntityPerformDeleteAction extends AXPWorkflowAction {
|
|
2207
|
-
private entityRegistery;
|
|
2208
|
-
private dialogService;
|
|
2209
|
-
private loadingDialog;
|
|
2210
|
-
private translationService;
|
|
2211
|
-
private settingsService;
|
|
2212
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2213
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityPerformDeleteAction, never>;
|
|
2214
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityPerformDeleteAction>;
|
|
2215
|
-
}
|
|
2216
|
-
declare const AXPDeleteEntityWorkflow: AXPWorkflow;
|
|
2217
|
-
|
|
2218
|
-
declare class AXPQuickEntityModifyPopupAction extends AXPWorkflowAction {
|
|
2219
|
-
private popupService;
|
|
2220
|
-
private platform;
|
|
2221
|
-
private translateService;
|
|
2222
|
-
private entityRegistery;
|
|
2223
|
-
private config;
|
|
2224
|
-
private factory;
|
|
2225
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2226
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQuickEntityModifyPopupAction, never>;
|
|
2227
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPQuickEntityModifyPopupAction>;
|
|
2228
|
-
}
|
|
2229
|
-
declare const AXPQuickModifyEntityWorkflow: AXPWorkflow;
|
|
2230
|
-
declare class AXPEntityApplyUpdatesAction extends AXPWorkflowAction {
|
|
2231
|
-
private entityRegistery;
|
|
2232
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2233
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityApplyUpdatesAction, never>;
|
|
2234
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityApplyUpdatesAction>;
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
declare const AXPEntityModifyEvent: {
|
|
2238
|
-
(payload: {
|
|
2239
|
-
entity: string;
|
|
2240
|
-
values: any;
|
|
2241
|
-
}): {
|
|
2242
|
-
type: string;
|
|
2243
|
-
payload: {
|
|
2244
|
-
entity: string;
|
|
2245
|
-
values: any;
|
|
2246
|
-
};
|
|
2247
|
-
};
|
|
2248
|
-
type: string;
|
|
2249
|
-
};
|
|
2250
|
-
declare class AXPEntityModifySectionPopupAction extends AXPWorkflowAction {
|
|
2251
|
-
private popupService;
|
|
2252
|
-
private platform;
|
|
2253
|
-
private translateService;
|
|
2254
|
-
private entityRegistery;
|
|
2255
|
-
private config;
|
|
2256
|
-
private factory;
|
|
2257
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2258
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityModifySectionPopupAction, never>;
|
|
2259
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityModifySectionPopupAction>;
|
|
2260
|
-
}
|
|
2261
|
-
declare class AXPEntityModifyConfirmedAction extends AXPWorkflowAction {
|
|
2262
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2263
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityModifyConfirmedAction, never>;
|
|
2264
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityModifyConfirmedAction>;
|
|
2265
|
-
}
|
|
2266
|
-
declare const AXPModifyEntitySectionWorkflow: AXPWorkflow;
|
|
2267
|
-
|
|
2268
|
-
declare class AXPShowDetailViewAction extends AXPWorkflowAction {
|
|
2269
|
-
private navigation;
|
|
2270
|
-
private sessionService;
|
|
2271
|
-
execute(context: AXPWorkflowContext): Promise<void>;
|
|
2272
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPShowDetailViewAction, never>;
|
|
2273
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPShowDetailViewAction>;
|
|
2274
|
-
}
|
|
2275
|
-
declare const AXPShowDetailsViewWorkflow: AXPWorkflow;
|
|
2276
|
-
|
|
2277
|
-
declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
2278
|
-
private navigation;
|
|
2279
|
-
private sessionService;
|
|
2280
|
-
execute(context?: any): Promise<void>;
|
|
2281
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPShowListViewAction, never>;
|
|
2282
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPShowListViewAction>;
|
|
2283
|
-
}
|
|
2284
|
-
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
2285
|
-
|
|
2286
|
-
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityEventsKeys, AXPEntityFormBuilderService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, DEFAULT_COLUMN_WIDTHS, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, EntityBuilder, EntityDataAccessor, actionExists, cloneLayoutArrays, columnWidthMiddlewareFactory, columnWidthMiddlewareProvider, createColumnWidthMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityDetailsCreateActions, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, isAXPMiddlewareAbortError, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider };
|
|
2287
|
-
export type { AXPAuditEvent, AXPAuditInfo, AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityCreateDto, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailDto, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListItemDto, AXPEntityMasterListViewSortPropViewModel, AXPEntityModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityOp, AXPEntityOutputDto, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPEntityUpdateDto, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPOpenEntityDetailsCommandInput, AXPRecordOwnershipInfo, AXPRecordStateInfo, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, ColumnWidthConfig, SectionOrderConfig };
|