@acorex/platform 20.6.0-next.2 → 20.6.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +7 -3
- package/core/index.d.ts +210 -56
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-CLb2KMfv.mjs → acorex-platform-common-common-settings.provider-zhqNP3xb.mjs} +28 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +104 -103
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +279 -78
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +65 -20
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +56 -135
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1322 -409
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +73 -73
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +7736 -3813
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +58 -40
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +91 -82
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-lHfg4JFJ.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-lHfg4JFJ.mjs.map → acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CMSnecnD.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CMSnecnD.mjs.map → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-DN-sIFYe.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-DN-sIFYe.mjs.map → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-Bn9w0SEz.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-Bn9w0SEz.mjs.map → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-B8mgcvoX.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-B8mgcvoX.mjs.map → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-Bhof2SY8.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-Bhof2SY8.mjs.map → acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-CeQIvKVV.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-CeQIvKVV.mjs.map → acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-BOP7jFp4.mjs → acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs} +6 -6
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-BOP7jFp4.mjs.map → acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs +30 -0
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-C57lyBs3.mjs → acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-C57lyBs3.mjs.map → acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-fr77M8Z0.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-m8rHZP8L.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-CvZTRhct.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-DHES_0ot.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-DHES_0ot.mjs.map → acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +3809 -2060
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +119 -43
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-C_XmJV7Y.mjs → acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs} +30 -9
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-mARj77Mr.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D5K0XUqM.mjs +1522 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D5K0XUqM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DJPDil7w.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BArdGNfr.mjs → acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs} +7 -7
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D7rEInHg.mjs → acorex-platform-themes-default-error-401.component-cfREo88K.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D7rEInHg.mjs.map → acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BTZlVrd8.mjs → acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BTZlVrd8.mjs.map → acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BhvEi6nX.mjs → acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BhvEi6nX.mjs.map → acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +156 -53
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs +55 -0
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BXV40gay.mjs → acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BXV40gay.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BpIf4s53.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BpIf4s53.mjs.map → acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-C9gvfQfX.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-C9gvfQfX.mjs.map → acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +58 -153
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +327 -151
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -33
- package/layout/components/index.d.ts +306 -61
- package/layout/designer/index.d.ts +1 -1
- package/layout/entity/index.d.ts +595 -94
- package/layout/views/index.d.ts +6 -58
- package/layout/widget-core/index.d.ts +31 -26
- package/layout/widgets/README.md +0 -1
- package/layout/widgets/index.d.ts +325 -99
- package/package.json +1 -1
- package/runtime/index.d.ts +36 -8
- package/themes/default/index.d.ts +32 -77
- package/themes/shared/index.d.ts +1 -39
- package/workflow/index.d.ts +909 -457
- package/fesm2022/acorex-platform-common-common-settings.provider-CLb2KMfv.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-BsLbiAdA.mjs +0 -52
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-BsLbiAdA.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-fr77M8Z0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-CvZTRhct.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-C_XmJV7Y.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BkY9HXcT.mjs +0 -782
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BkY9HXcT.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DJPDil7w.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BArdGNfr.mjs.map +0 -1
package/layout/entity/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPAppStartUpService, AXPMiddlewareErrorResponse, AXPExpression, AXPColumnQuery, AXPSortDefinition, AXPDeviceService, AXPActionMenuItem } from '@acorex/platform/core';
|
|
1
2
|
import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
|
|
2
3
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { ElementRef, InjectionToken, Injector, Type } from '@angular/core';
|
|
4
|
+
import { ElementRef, InjectionToken, Injector, Type, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
4
5
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
5
|
-
import { AXPMetaData, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPAppStartUpService, AXPMiddlewareErrorResponse, AXPColumnQuery, AXPSortDefinition, AXPActionMenuItem, AXPExpression } from '@acorex/platform/core';
|
|
6
6
|
import * as i3 from '@acorex/platform/layout/widget-core';
|
|
7
|
-
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService,
|
|
8
|
-
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption,
|
|
7
|
+
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective, AXPLayoutBaseWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
8
|
+
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption, AXValueChangedEvent, AXClickEvent, AXFocusEvent, AXHtmlEvent } from '@acorex/cdk/common';
|
|
9
9
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
10
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
11
|
import * as i1 from '@angular/router';
|
|
@@ -14,37 +14,70 @@ import * as rxjs from 'rxjs';
|
|
|
14
14
|
import { Subject } from 'rxjs';
|
|
15
15
|
import * as i2 from '@acorex/platform/workflow';
|
|
16
16
|
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowContext, AXPWorkflow } from '@acorex/platform/workflow';
|
|
17
|
+
import { AXTreeViewNode, AXTreeViewSelectionBehavior, AXTreeViewComponent, AXTreeViewNodeToggleEvent, AXTreeViewNodeSelectEvent, AXTreeViewSelectionChangeEvent } from '@acorex/components/tree-view';
|
|
18
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
17
19
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
18
20
|
import { IActionBuilder, IFormFieldBuilder, AXPDialogRef } from '@acorex/platform/layout/builder';
|
|
19
|
-
import {
|
|
20
|
-
import * as _ngrx_signals from '@ngrx/signals';
|
|
21
|
-
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
21
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
22
22
|
import { AXFormatService } from '@acorex/core/format';
|
|
23
|
+
import { AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
24
|
+
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
23
25
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
24
26
|
import { AXTextBoxComponent } from '@acorex/components/text-box';
|
|
25
27
|
import { AXPWidgetPropertiesChangedEvent } from '@acorex/platform/layout/components';
|
|
26
28
|
|
|
29
|
+
declare class AXPCreateEntityCommand implements AXPCommand<any, any> {
|
|
30
|
+
private entityForm;
|
|
31
|
+
private settingsService;
|
|
32
|
+
private entityService;
|
|
33
|
+
private toastService;
|
|
34
|
+
private translationService;
|
|
35
|
+
private eventService;
|
|
36
|
+
protected context: {};
|
|
37
|
+
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
38
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPCreateEntityCommand, never>;
|
|
39
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPCreateEntityCommand>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
43
|
+
private readonly entityForm;
|
|
44
|
+
private readonly settingsService;
|
|
45
|
+
private readonly entityService;
|
|
46
|
+
private readonly toastService;
|
|
47
|
+
private readonly translationService;
|
|
48
|
+
private readonly eventService;
|
|
49
|
+
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPUpdateEntityCommand, never>;
|
|
51
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPUpdateEntityCommand>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare class AXPViewEntityDetailsCommand implements AXPCommand<any, any> {
|
|
55
|
+
private readonly entityForm;
|
|
56
|
+
private readonly entityService;
|
|
57
|
+
private readonly translationService;
|
|
58
|
+
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPViewEntityDetailsCommand, never>;
|
|
60
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPViewEntityDetailsCommand>;
|
|
61
|
+
}
|
|
62
|
+
|
|
27
63
|
interface AXPOpenEntityDetailsCommandInput {
|
|
28
64
|
entity: string;
|
|
29
65
|
data: {
|
|
30
66
|
id: string;
|
|
31
67
|
};
|
|
32
68
|
}
|
|
33
|
-
interface AXPOpenEntityDetailsCommandResult {
|
|
34
|
-
success: boolean;
|
|
35
|
-
}
|
|
36
69
|
/**
|
|
37
70
|
* Generic command to open entity details view
|
|
38
71
|
* Can be used by any entity to navigate to its detail page
|
|
39
72
|
*/
|
|
40
|
-
declare class AXPOpenEntityDetailsCommand implements AXPCommand<AXPOpenEntityDetailsCommandInput,
|
|
73
|
+
declare class AXPOpenEntityDetailsCommand implements AXPCommand<AXPOpenEntityDetailsCommandInput, AXPExecuteCommandResult> {
|
|
41
74
|
private readonly router;
|
|
42
75
|
private readonly sessionService;
|
|
43
76
|
/**
|
|
44
77
|
* Execute the command to navigate to entity details
|
|
45
78
|
* @param input - Command input containing entity and data information
|
|
46
79
|
*/
|
|
47
|
-
execute(input: AXPOpenEntityDetailsCommandInput): Promise<
|
|
80
|
+
execute(input: AXPOpenEntityDetailsCommandInput): Promise<AXPExecuteCommandResult>;
|
|
48
81
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPOpenEntityDetailsCommand, never>;
|
|
49
82
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPOpenEntityDetailsCommand>;
|
|
50
83
|
}
|
|
@@ -137,6 +170,7 @@ declare class AXPDataSeederService {
|
|
|
137
170
|
|
|
138
171
|
declare class AXPEntityCommandTriggerViewModel {
|
|
139
172
|
priority: 'primary' | 'secondary';
|
|
173
|
+
order: number;
|
|
140
174
|
color: AXStyleColorType;
|
|
141
175
|
icon: string;
|
|
142
176
|
title: string;
|
|
@@ -211,6 +245,11 @@ declare class AXPEntityDetailListViewModel {
|
|
|
211
245
|
getSecondaryActions(): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
212
246
|
}
|
|
213
247
|
|
|
248
|
+
declare const AXPEntityEventsKeys: {
|
|
249
|
+
REFRESH_LAYOUT: string;
|
|
250
|
+
REFRESH_DATA: string;
|
|
251
|
+
};
|
|
252
|
+
|
|
214
253
|
/**
|
|
215
254
|
* Entity Event Dispatcher - A wrapper for entity-specific events
|
|
216
255
|
* Handles pattern-based dispatching for entity operations with wildcard support
|
|
@@ -250,6 +289,7 @@ declare class AXPEntityCreateViewElementViewModel {
|
|
|
250
289
|
title: _angular_core.WritableSignal<string>;
|
|
251
290
|
description: _angular_core.WritableSignal<string | undefined>;
|
|
252
291
|
editable: _angular_core.Signal<boolean>;
|
|
292
|
+
isVisible: _angular_core.Signal<string | boolean>;
|
|
253
293
|
isRequired: _angular_core.Signal<boolean>;
|
|
254
294
|
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
255
295
|
node: _angular_core.Signal<AXPWidgetNode>;
|
|
@@ -620,6 +660,27 @@ interface AXPEntityModifierProvider {
|
|
|
620
660
|
|
|
621
661
|
declare function ensureListActions(ctx: AXPEntityModifierContext): void;
|
|
622
662
|
declare function actionExists(actions: any[] | undefined, commandName: string, name?: string): boolean;
|
|
663
|
+
interface AXPEntityLayoutSectionLike {
|
|
664
|
+
id: string;
|
|
665
|
+
}
|
|
666
|
+
interface AXPEntityLayoutPropertyLike {
|
|
667
|
+
name: string;
|
|
668
|
+
}
|
|
669
|
+
interface AXPEntityLayoutLike<TSection extends AXPEntityLayoutSectionLike = AXPEntityLayoutSectionLike, TProperty extends AXPEntityLayoutPropertyLike = AXPEntityLayoutPropertyLike> {
|
|
670
|
+
sections: TSection[];
|
|
671
|
+
properties?: TProperty[];
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Clones `sections` and `properties` arrays to prevent accidental cross-interface mutations.
|
|
675
|
+
* Many entity definitions reuse the same array instances across create/update/single interfaces.
|
|
676
|
+
*/
|
|
677
|
+
declare function cloneLayoutArrays<TLayout extends AXPEntityLayoutLike>(layout: TLayout): TLayout & {
|
|
678
|
+
properties: NonNullable<TLayout['properties']>;
|
|
679
|
+
};
|
|
680
|
+
declare function ensureLayoutSection<TLayout extends AXPEntityLayoutLike>(layout: TLayout, section: TLayout['sections'][number]): void;
|
|
681
|
+
declare function ensureLayoutPropertyView<TLayout extends AXPEntityLayoutLike>(layout: TLayout & {
|
|
682
|
+
properties: NonNullable<TLayout['properties']>;
|
|
683
|
+
}, prop: NonNullable<TLayout['properties']>[number]): void;
|
|
623
684
|
|
|
624
685
|
interface AXPEntityActionPlugin {
|
|
625
686
|
name: string;
|
|
@@ -938,6 +999,44 @@ declare const createColumnWidthMiddlewareProvider: (widths: ColumnWidthConfig, e
|
|
|
938
999
|
*/
|
|
939
1000
|
declare const columnWidthMiddlewareProvider: AXPEntityModifierProvider;
|
|
940
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* Configuration for section ordering
|
|
1004
|
+
*/
|
|
1005
|
+
interface SectionOrderConfig {
|
|
1006
|
+
/**
|
|
1007
|
+
* Default order for common sections
|
|
1008
|
+
* Lower numbers appear first
|
|
1009
|
+
*/
|
|
1010
|
+
sections: Record<string, number>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Default order for properties within sections
|
|
1013
|
+
* Key format: 'sectionId.propertyName' or just 'propertyName' for any section
|
|
1014
|
+
*/
|
|
1015
|
+
properties: Record<string, number>;
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Default order for common sections
|
|
1019
|
+
*/
|
|
1020
|
+
declare const DEFAULT_SECTION_ORDER: Record<string, number>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Default order for common properties
|
|
1023
|
+
* Format: 'sectionId.propertyName' for section-specific or 'propertyName' for any section
|
|
1024
|
+
*/
|
|
1025
|
+
declare const DEFAULT_PROPERTY_ORDER: Record<string, number>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Factory to create a layout ordering middleware
|
|
1028
|
+
*/
|
|
1029
|
+
declare const layoutOrderingMiddlewareFactory: (config: SectionOrderConfig) => AXPEntityModifier;
|
|
1030
|
+
/**
|
|
1031
|
+
* Helper to create a provider for the layout ordering middleware
|
|
1032
|
+
* By default it applies to all entities using the '*' pattern
|
|
1033
|
+
*/
|
|
1034
|
+
declare const createLayoutOrderingMiddlewareProvider: (config?: Partial<SectionOrderConfig>, entityName?: string | RegExp) => AXPEntityModifierProvider;
|
|
1035
|
+
/**
|
|
1036
|
+
* Default provider registered with the default configuration
|
|
1037
|
+
*/
|
|
1038
|
+
declare const layoutOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
1039
|
+
|
|
941
1040
|
interface AXPGetEntityDetailsQueryInput {
|
|
942
1041
|
entity: string;
|
|
943
1042
|
id: string;
|
|
@@ -971,15 +1070,82 @@ declare class AXPGetEntityDetailsQuery implements AXPQuery<AXPGetEntityDetailsQu
|
|
|
971
1070
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGetEntityDetailsQuery>;
|
|
972
1071
|
}
|
|
973
1072
|
|
|
1073
|
+
interface CategoryQueryEvent {
|
|
1074
|
+
skip: number;
|
|
1075
|
+
take: number;
|
|
1076
|
+
filter?: {
|
|
1077
|
+
field?: string;
|
|
1078
|
+
value?: unknown;
|
|
1079
|
+
operator?: {
|
|
1080
|
+
type: string;
|
|
1081
|
+
};
|
|
1082
|
+
filters?: unknown[];
|
|
1083
|
+
logic?: string;
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
interface CategoryQueryResult {
|
|
1087
|
+
items: Record<string, unknown>[];
|
|
1088
|
+
total?: number;
|
|
1089
|
+
totalCount?: number;
|
|
1090
|
+
}
|
|
1091
|
+
type CategoryQueryFunction = (event: CategoryQueryEvent) => Promise<CategoryQueryResult>;
|
|
1092
|
+
interface CategoryTreeConfig {
|
|
1093
|
+
entityKey: string;
|
|
1094
|
+
textField?: string;
|
|
1095
|
+
valueField?: string;
|
|
1096
|
+
parentKey?: string;
|
|
1097
|
+
}
|
|
1098
|
+
interface CategoryTreeNodeData {
|
|
1099
|
+
categoryEntityDef: AXPEntity | null;
|
|
1100
|
+
categoryEntityQueryFunc: CategoryQueryFunction | null;
|
|
1101
|
+
basicQueryEvent: CategoryQueryEvent;
|
|
1102
|
+
}
|
|
1103
|
+
declare class AXPCategoryTreeService {
|
|
1104
|
+
protected readonly entityResolver: AXPEntityResolver;
|
|
1105
|
+
protected readonly translate: AXTranslationService;
|
|
1106
|
+
/**
|
|
1107
|
+
* Initialize category tree data source
|
|
1108
|
+
*/
|
|
1109
|
+
initializeCategoryTree(config: CategoryTreeConfig): Promise<CategoryTreeNodeData | null>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Create root node with children from items
|
|
1112
|
+
*/
|
|
1113
|
+
createRootNode(items: Record<string, unknown>[], config: CategoryTreeConfig): Promise<AXTreeViewNode>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Convert entity item to AXTreeViewNode format
|
|
1116
|
+
*/
|
|
1117
|
+
convertToTreeNode(item: Record<string, unknown>, config: CategoryTreeConfig): AXTreeViewNode;
|
|
1118
|
+
/**
|
|
1119
|
+
* Load root categories
|
|
1120
|
+
*/
|
|
1121
|
+
loadRootCategories(treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<Record<string, unknown>[] | null>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Load children for a given node
|
|
1124
|
+
*/
|
|
1125
|
+
loadChildren(node: AXTreeViewNode, treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<AXTreeViewNode[]>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Search categories recursively (all levels)
|
|
1128
|
+
*/
|
|
1129
|
+
searchCategories(searchValue: string, treeData: CategoryTreeNodeData, config: CategoryTreeConfig): Promise<Record<string, unknown>[] | null>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Update children at a specific node in the tree
|
|
1132
|
+
*/
|
|
1133
|
+
updateChildrenAtPath(nodes: AXTreeViewNode[], targetId: string, childNodes: AXTreeViewNode[]): AXTreeViewNode[];
|
|
1134
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPCategoryTreeService, never>;
|
|
1135
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPCategoryTreeService>;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
974
1138
|
interface IEntitySelectorStage {
|
|
975
1139
|
/** Select target entity using "module.entity" format */
|
|
976
1140
|
entity(fullName: string): IInterfaceSelectorStage;
|
|
977
1141
|
}
|
|
978
1142
|
interface IInterfaceSelectorStage {
|
|
979
1143
|
/** Use master.create interface */
|
|
980
|
-
create(): IPropertyFilterStage;
|
|
981
|
-
/** Use master.update interface */
|
|
982
|
-
update(
|
|
1144
|
+
create(initialData?: any): IPropertyFilterStage;
|
|
1145
|
+
/** Use master.update interface. Accepts id (string) or full record data (object). */
|
|
1146
|
+
update(data: string | Record<string, any>): IPropertyFilterStage;
|
|
1147
|
+
/** Use master.single interface (read-only view). Accepts id (string) or full record data (object). */
|
|
1148
|
+
single(data: string | Record<string, any>): IPropertyFilterStage;
|
|
983
1149
|
}
|
|
984
1150
|
interface IPropertyFilterStage {
|
|
985
1151
|
/** Only include provided property names (by AXPEntityProperty.name). Mutually exclusive with exclude(). */
|
|
@@ -1000,13 +1166,13 @@ interface IPropertyFilterStage {
|
|
|
1000
1166
|
show(): Promise<AXPDialogRef>;
|
|
1001
1167
|
mode(mode: 'edit' | 'view'): IPropertyFilterStage;
|
|
1002
1168
|
}
|
|
1003
|
-
declare class
|
|
1169
|
+
declare class AXPEntityFormBuilderService implements IEntitySelectorStage {
|
|
1004
1170
|
private readonly entityRegistry;
|
|
1005
1171
|
private readonly layoutBuilder;
|
|
1006
|
-
private readonly
|
|
1172
|
+
private readonly deviceService;
|
|
1007
1173
|
entity(fullName: string): IInterfaceSelectorStage;
|
|
1008
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1009
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1174
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityFormBuilderService, never>;
|
|
1175
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityFormBuilderService>;
|
|
1010
1176
|
}
|
|
1011
1177
|
type CompatFormFieldBuilder = {
|
|
1012
1178
|
path(path: string): any;
|
|
@@ -1057,6 +1223,7 @@ declare function entityDetailsCreateActions(parentId: string): AXPEntityAction;
|
|
|
1057
1223
|
declare function entityDetailsSimpleCondition(fk: string): AXPQueryFilter;
|
|
1058
1224
|
declare function entityDetailsReferenceCondition(type: string): AXPQueryFilter[];
|
|
1059
1225
|
declare function entityDetailsEditAction(): AXPEntityAction;
|
|
1226
|
+
declare function entityDetailsNewEditAction(): AXPEntityAction;
|
|
1060
1227
|
declare function entityOverrideDetailsViewAction(): AXPEntityAction;
|
|
1061
1228
|
declare function entityDetailsCrudActions(parentId: string): AXPEntityAction[];
|
|
1062
1229
|
declare function entityDetailsReferenceCreateActions(type: string): AXPEntityAction[];
|
|
@@ -1076,6 +1243,375 @@ type AXPEntityChangeSet = {
|
|
|
1076
1243
|
*/
|
|
1077
1244
|
declare function detectEntityChanges(oldObj: any, newObj: any): AXPEntityChangeSet;
|
|
1078
1245
|
|
|
1246
|
+
declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent implements OnInit {
|
|
1247
|
+
protected readonly categoryTreeService: AXPCategoryTreeService;
|
|
1248
|
+
private readonly translationService;
|
|
1249
|
+
entityKey: _angular_core.WritableSignal<string>;
|
|
1250
|
+
textField: _angular_core.WritableSignal<string>;
|
|
1251
|
+
valueField: _angular_core.WritableSignal<string>;
|
|
1252
|
+
allowMultiple: _angular_core.WritableSignal<boolean>;
|
|
1253
|
+
selectionBehavior: _angular_core.WritableSignal<AXTreeViewSelectionBehavior>;
|
|
1254
|
+
selectedValues: _angular_core.WritableSignal<string[]>;
|
|
1255
|
+
searchPlaceholder: _angular_core.WritableSignal<string>;
|
|
1256
|
+
excludedNodeId: _angular_core.WritableSignal<string | undefined>;
|
|
1257
|
+
searchWithChildren: _angular_core.WritableSignal<boolean>;
|
|
1258
|
+
protected tree: _angular_core.Signal<AXTreeViewComponent | undefined>;
|
|
1259
|
+
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1260
|
+
protected selectedNodeIds: _angular_core.WritableSignal<string[]>;
|
|
1261
|
+
protected searchValue: _angular_core.WritableSignal<string>;
|
|
1262
|
+
protected searchResultCount: _angular_core.WritableSignal<number>;
|
|
1263
|
+
protected isSearching: _angular_core.WritableSignal<boolean>;
|
|
1264
|
+
protected resultsFoundText: _angular_core.WritableSignal<string>;
|
|
1265
|
+
protected noRecordsTitle: _angular_core.WritableSignal<string>;
|
|
1266
|
+
private currentSearchTerm;
|
|
1267
|
+
private isRefreshing;
|
|
1268
|
+
/**
|
|
1269
|
+
* Computed property to check if we should show the "no search results" empty state.
|
|
1270
|
+
* Returns true when search is active, not searching, and no results found.
|
|
1271
|
+
*/
|
|
1272
|
+
protected readonly showNoSearchResults: _angular_core.Signal<boolean>;
|
|
1273
|
+
protected treeData: CategoryTreeNodeData | null;
|
|
1274
|
+
private treeConfig;
|
|
1275
|
+
private nodeDataCache;
|
|
1276
|
+
private matchingNodeIds;
|
|
1277
|
+
private relevantNodeIds;
|
|
1278
|
+
private expandedNodesBeforeSearch;
|
|
1279
|
+
private nodesExpandedDuringSearch;
|
|
1280
|
+
ngOnInit(): void;
|
|
1281
|
+
private initializeTree;
|
|
1282
|
+
/**
|
|
1283
|
+
* Handles search input value changes - Uses server-side search for efficiency and reliability
|
|
1284
|
+
*/
|
|
1285
|
+
handleSearchChange(event: AXValueChangedEvent<string>): Promise<void>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Collects all parent IDs for the given search results
|
|
1288
|
+
* Handles both nested 'parent' object and 'parentId' field in search results
|
|
1289
|
+
* Recursively fetches parent nodes to build the full parent chain
|
|
1290
|
+
*/
|
|
1291
|
+
private collectParentIds;
|
|
1292
|
+
/**
|
|
1293
|
+
* Collects children IDs for matching search results recursively
|
|
1294
|
+
* Adds all descendants (children, grandchildren, etc.) to relevantNodeIds so they appear in the filtered tree
|
|
1295
|
+
*/
|
|
1296
|
+
private collectChildrenIds;
|
|
1297
|
+
/**
|
|
1298
|
+
* Recursively collects all descendant IDs for a given node
|
|
1299
|
+
*/
|
|
1300
|
+
private collectChildrenRecursively;
|
|
1301
|
+
/**
|
|
1302
|
+
* Fetches a single item by ID from the server
|
|
1303
|
+
*/
|
|
1304
|
+
private fetchItemById;
|
|
1305
|
+
/**
|
|
1306
|
+
* Sorts parent IDs by their depth (root first, leaves last)
|
|
1307
|
+
* Optimized to use cached data and batch fetch missing items
|
|
1308
|
+
*/
|
|
1309
|
+
private sortParentsByDepth;
|
|
1310
|
+
/**
|
|
1311
|
+
* Updates translated messages for search results
|
|
1312
|
+
*/
|
|
1313
|
+
private updateTranslatedMessages;
|
|
1314
|
+
/**
|
|
1315
|
+
* Resets search state and restores tree to original expanded state
|
|
1316
|
+
*/
|
|
1317
|
+
private resetSearch;
|
|
1318
|
+
protected onNodeToggle(event: AXTreeViewNodeToggleEvent): Promise<void>;
|
|
1319
|
+
protected onNodeSelect(event: AXTreeViewNodeSelectEvent): Promise<void>;
|
|
1320
|
+
protected onSelectionChange(event: AXTreeViewSelectionChangeEvent): Promise<void>;
|
|
1321
|
+
/** Datasource callback for tree-view component. */
|
|
1322
|
+
protected datasource: (id?: string) => Promise<AXTreeViewNode[]>;
|
|
1323
|
+
protected onConfirm(): Promise<void>;
|
|
1324
|
+
protected onCancel(): Promise<void>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Checks if a node matches the current search term
|
|
1327
|
+
*/
|
|
1328
|
+
protected isMatchingNode(nodeId: string): boolean;
|
|
1329
|
+
private updateSelectedNodes;
|
|
1330
|
+
/**
|
|
1331
|
+
* Loads node data for IDs that are selected but not yet in the cache.
|
|
1332
|
+
* This is critical for pre-selected values in collapsed branches.
|
|
1333
|
+
*/
|
|
1334
|
+
private loadMissingNodeData;
|
|
1335
|
+
/**
|
|
1336
|
+
* Marks nodes as selected in the tree structure based on selectedNodeIds.
|
|
1337
|
+
* This ensures pre-selected nodes appear selected when the tree is rendered.
|
|
1338
|
+
*/
|
|
1339
|
+
private markNodesAsSelected;
|
|
1340
|
+
/**
|
|
1341
|
+
* Marks a single node as selected if it's in the selectedNodeIds list.
|
|
1342
|
+
*/
|
|
1343
|
+
private markNodeAsSelectedIfNeeded;
|
|
1344
|
+
/**
|
|
1345
|
+
* Marks a node and its children as disabled if the node ID matches the excluded ID.
|
|
1346
|
+
*/
|
|
1347
|
+
private markNodeAsDisabled;
|
|
1348
|
+
/**
|
|
1349
|
+
* Processes root node: marks excluded as disabled, marks selected, and syncs selection with tree component
|
|
1350
|
+
*/
|
|
1351
|
+
private processRootNode;
|
|
1352
|
+
/**
|
|
1353
|
+
* Processes child nodes: marks excluded as disabled, marks selected, and syncs selection
|
|
1354
|
+
*/
|
|
1355
|
+
private processChildNodes;
|
|
1356
|
+
/**
|
|
1357
|
+
* Caches node data from items array
|
|
1358
|
+
*/
|
|
1359
|
+
private cacheNodeData;
|
|
1360
|
+
/**
|
|
1361
|
+
* Caches node data from tree nodes
|
|
1362
|
+
*/
|
|
1363
|
+
private cacheNodeDataFromNodes;
|
|
1364
|
+
/**
|
|
1365
|
+
* Calculate the full path from root to the selected node.
|
|
1366
|
+
* Returns an array of strings like ["C", "B"] for node B under parent C.
|
|
1367
|
+
* Uses tree-view's getNodePath() API when available, otherwise falls back to manual calculation.
|
|
1368
|
+
*/
|
|
1369
|
+
private calculateNodePath;
|
|
1370
|
+
/**
|
|
1371
|
+
* Manual path calculation fallback
|
|
1372
|
+
*/
|
|
1373
|
+
private calculateNodePathManually;
|
|
1374
|
+
/**
|
|
1375
|
+
* Get the display title for a node.
|
|
1376
|
+
*/
|
|
1377
|
+
private getNodeTitle;
|
|
1378
|
+
private getSelectedItems;
|
|
1379
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryTreeSelectorComponent, never>;
|
|
1380
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryTreeSelectorComponent, "axp-entity-category-tree-selector", never, {}, {}, never, never, true, never>;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
declare class AXPEntityCategoryWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
1384
|
+
private readonly entityDetailPopoverService;
|
|
1385
|
+
private readonly formatService;
|
|
1386
|
+
protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1387
|
+
protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
1388
|
+
protected host: ElementRef<any>;
|
|
1389
|
+
protected valueField: string;
|
|
1390
|
+
protected textField: string;
|
|
1391
|
+
protected entity: string;
|
|
1392
|
+
protected columnName: string;
|
|
1393
|
+
protected maxVisible: number;
|
|
1394
|
+
protected isMorePopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
1395
|
+
protected selectedItemIndex: _angular_core.WritableSignal<number>;
|
|
1396
|
+
protected displayItems: _angular_core.Signal<any[]>;
|
|
1397
|
+
protected allItems: _angular_core.Signal<any[]>;
|
|
1398
|
+
protected visibleItems: _angular_core.Signal<any[]>;
|
|
1399
|
+
protected remainingItems: _angular_core.Signal<any[]>;
|
|
1400
|
+
protected hasMoreItems: _angular_core.Signal<boolean>;
|
|
1401
|
+
protected remainingItemsCount: _angular_core.Signal<number>;
|
|
1402
|
+
protected showMoreItems(): void;
|
|
1403
|
+
protected onMorePopoverOpenChange(event: any): void;
|
|
1404
|
+
protected showItemDetail(item: any, index: number): Promise<void>;
|
|
1405
|
+
protected handleItemClick(index: number): void;
|
|
1406
|
+
private openMorePopover;
|
|
1407
|
+
private closeMorePopover;
|
|
1408
|
+
private extractItem;
|
|
1409
|
+
protected getDisplayText(item: any): string;
|
|
1410
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetColumnComponent, never>;
|
|
1411
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetColumnComponent, "axp-entity-category-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
interface AXPEntityCategoryWidgetOptions {
|
|
1415
|
+
disabled?: boolean | AXPExpression;
|
|
1416
|
+
readonly?: boolean | AXPExpression;
|
|
1417
|
+
placeholder?: string;
|
|
1418
|
+
entity?: string;
|
|
1419
|
+
multiple?: boolean;
|
|
1420
|
+
textField?: string;
|
|
1421
|
+
valueField?: string;
|
|
1422
|
+
parentKey?: string;
|
|
1423
|
+
expose?: Array<{
|
|
1424
|
+
source: string;
|
|
1425
|
+
target: string;
|
|
1426
|
+
}>;
|
|
1427
|
+
allowClear?: boolean;
|
|
1428
|
+
look?: 'select' | 'lookup';
|
|
1429
|
+
maxVisible?: number;
|
|
1430
|
+
characterLimit?: number | 'auto';
|
|
1431
|
+
sectionLimit?: number | 'auto';
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
declare class AXPEntityCategoryWidgetEditComponent extends AXPValueWidgetComponent<any, AXPEntityCategoryWidgetOptions> {
|
|
1435
|
+
#private;
|
|
1436
|
+
protected readonly entityResolver: AXPEntityResolver;
|
|
1437
|
+
protected readonly popupService: AXPopupService;
|
|
1438
|
+
private readonly translateService;
|
|
1439
|
+
protected readonly cdr: ChangeDetectorRef;
|
|
1440
|
+
protected entity: _angular_core.Signal<string>;
|
|
1441
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
1442
|
+
protected disabled: _angular_core.Signal<boolean>;
|
|
1443
|
+
protected textField: _angular_core.Signal<string>;
|
|
1444
|
+
protected valueField: _angular_core.Signal<string>;
|
|
1445
|
+
protected expose: _angular_core.Signal<{
|
|
1446
|
+
source: string;
|
|
1447
|
+
target: string;
|
|
1448
|
+
}[] | undefined>;
|
|
1449
|
+
protected allowClear: _angular_core.Signal<boolean>;
|
|
1450
|
+
protected characterLimit: _angular_core.Signal<number | "auto">;
|
|
1451
|
+
protected sectionLimit: _angular_core.Signal<number | "auto">;
|
|
1452
|
+
protected defaultTextField: _angular_core.Signal<string>;
|
|
1453
|
+
protected displayField: _angular_core.Signal<string>;
|
|
1454
|
+
protected searchPlaceholderText: _angular_core.WritableSignal<string>;
|
|
1455
|
+
protected selectedItems: _angular_core.WritableSignal<any[]>;
|
|
1456
|
+
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
1457
|
+
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
1458
|
+
private entityDef;
|
|
1459
|
+
protected handleAddClick(e: AXClickEvent): void;
|
|
1460
|
+
protected handleRemoveItemClick(event: AXClickEvent, item: any): void;
|
|
1461
|
+
protected handleClearClick(): void;
|
|
1462
|
+
private showTreeSelector;
|
|
1463
|
+
protected removeItem(item: any): Promise<void>;
|
|
1464
|
+
clear(): void;
|
|
1465
|
+
private findByValue;
|
|
1466
|
+
private setItems;
|
|
1467
|
+
private singleOrMultiple;
|
|
1468
|
+
protected getItemLabel(item: any): string;
|
|
1469
|
+
/**
|
|
1470
|
+
* Get item path as array for breadcrumb component
|
|
1471
|
+
*/
|
|
1472
|
+
protected getItemPath(item: any): string[];
|
|
1473
|
+
/**
|
|
1474
|
+
* Join path array with separator.
|
|
1475
|
+
* Override this method to customize the separator (e.g., " > ", " -> ", " / ")
|
|
1476
|
+
*/
|
|
1477
|
+
protected joinPath(path: string[]): string;
|
|
1478
|
+
protected getItemId(item: any): string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Calculate the full path from root to the item.
|
|
1481
|
+
* Returns an array of strings like ["C", "B"] for item B under parent C.
|
|
1482
|
+
*/
|
|
1483
|
+
private calculateItemPath;
|
|
1484
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetEditComponent, never>;
|
|
1485
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetEditComponent, "axp-entity-category-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
declare class AXPEntityCategoryWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1489
|
+
protected readonly formatService: AXFormatService;
|
|
1490
|
+
protected readonly entityResolver: AXPEntityResolver;
|
|
1491
|
+
protected entity: _angular_core.Signal<string>;
|
|
1492
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
1493
|
+
protected valueField: _angular_core.Signal<string>;
|
|
1494
|
+
protected textField: _angular_core.Signal<string>;
|
|
1495
|
+
protected badgeClass: _angular_core.Signal<string>;
|
|
1496
|
+
protected displayField: _angular_core.Signal<string>;
|
|
1497
|
+
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1498
|
+
private entityDef;
|
|
1499
|
+
protected displayItems: _angular_core.WritableSignal<{
|
|
1500
|
+
id: string;
|
|
1501
|
+
text: string;
|
|
1502
|
+
}[]>;
|
|
1503
|
+
private efEntity;
|
|
1504
|
+
private efDisplay;
|
|
1505
|
+
private extractItem;
|
|
1506
|
+
private getDisplayText;
|
|
1507
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetViewComponent, never>;
|
|
1508
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetViewComponent, "axp-entity-category-widget-view", never, {}, {}, never, never, true, never>;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
declare const AXPEntityCategoryWidget: AXPWidgetConfig;
|
|
1512
|
+
|
|
1513
|
+
declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
1514
|
+
/**
|
|
1515
|
+
* Array of path sections to display
|
|
1516
|
+
*/
|
|
1517
|
+
sections: _angular_core.InputSignal<string[]>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Maximum number of characters per section.
|
|
1520
|
+
* Can be a number or 'auto' to calculate based on available space.
|
|
1521
|
+
*/
|
|
1522
|
+
characterLimit: _angular_core.InputSignal<number | "auto">;
|
|
1523
|
+
/**
|
|
1524
|
+
* Maximum number of sections to display before showing ellipsis.
|
|
1525
|
+
* Can be a number or 'auto' to calculate based on available space.
|
|
1526
|
+
*/
|
|
1527
|
+
sectionLimit: _angular_core.InputSignal<number | "auto">;
|
|
1528
|
+
/**
|
|
1529
|
+
* Icon class for separator between sections
|
|
1530
|
+
*/
|
|
1531
|
+
separatorIcon: _angular_core.InputSignal<string>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Icon class for ellipsis
|
|
1534
|
+
*/
|
|
1535
|
+
ellipsisIcon: _angular_core.InputSignal<string>;
|
|
1536
|
+
/**
|
|
1537
|
+
* Icon class for eye icon (collapse button)
|
|
1538
|
+
*/
|
|
1539
|
+
eyeIcon: _angular_core.InputSignal<string>;
|
|
1540
|
+
protected container: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
1541
|
+
protected isExpanded: _angular_core.WritableSignal<boolean>;
|
|
1542
|
+
private containerWidth;
|
|
1543
|
+
private resizeObserver;
|
|
1544
|
+
/**
|
|
1545
|
+
* Effective character limit (calculated if 'auto', otherwise uses input value)
|
|
1546
|
+
*/
|
|
1547
|
+
protected effectiveCharacterLimit: _angular_core.Signal<number>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Effective section limit (calculated if 'auto', otherwise uses input value)
|
|
1550
|
+
*/
|
|
1551
|
+
protected effectiveSectionLimit: _angular_core.Signal<number>;
|
|
1552
|
+
/**
|
|
1553
|
+
* All sections with truncated text (for collapsed display)
|
|
1554
|
+
*/
|
|
1555
|
+
protected allSections: _angular_core.Signal<{
|
|
1556
|
+
text: string;
|
|
1557
|
+
original: string;
|
|
1558
|
+
}[]>;
|
|
1559
|
+
/**
|
|
1560
|
+
* All sections with full text (for expanded display)
|
|
1561
|
+
*/
|
|
1562
|
+
protected allSectionsFull: _angular_core.Signal<string[]>;
|
|
1563
|
+
/**
|
|
1564
|
+
* Sections to display (first N sections) when collapsed
|
|
1565
|
+
*/
|
|
1566
|
+
protected displayedSections: _angular_core.Signal<{
|
|
1567
|
+
text: string;
|
|
1568
|
+
original: string;
|
|
1569
|
+
}[]>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Last section (always shown if there are hidden sections)
|
|
1572
|
+
*/
|
|
1573
|
+
protected lastSection: _angular_core.Signal<{
|
|
1574
|
+
text: string;
|
|
1575
|
+
original: string;
|
|
1576
|
+
}>;
|
|
1577
|
+
/**
|
|
1578
|
+
* Check if there are hidden sections
|
|
1579
|
+
*/
|
|
1580
|
+
protected hasHiddenSections: _angular_core.Signal<boolean>;
|
|
1581
|
+
constructor();
|
|
1582
|
+
ngOnDestroy(): void;
|
|
1583
|
+
/**
|
|
1584
|
+
* Handles click on separator icon to expand
|
|
1585
|
+
*/
|
|
1586
|
+
protected handleSeparatorClick(event: Event): void;
|
|
1587
|
+
/**
|
|
1588
|
+
* Handles click on ellipsis icon to expand
|
|
1589
|
+
*/
|
|
1590
|
+
protected handleEllipsisClick(event: Event): void;
|
|
1591
|
+
/**
|
|
1592
|
+
* Handles click on eye icon to collapse
|
|
1593
|
+
*/
|
|
1594
|
+
protected handleCollapseClick(event: Event): void;
|
|
1595
|
+
/**
|
|
1596
|
+
* Initializes ResizeObserver to track container width
|
|
1597
|
+
*/
|
|
1598
|
+
private initializeResizeObserver;
|
|
1599
|
+
/**
|
|
1600
|
+
* Calculates automatic character limit based on available space
|
|
1601
|
+
*/
|
|
1602
|
+
private calculateAutoCharacterLimit;
|
|
1603
|
+
/**
|
|
1604
|
+
* Calculates automatic section limit based on available space
|
|
1605
|
+
*/
|
|
1606
|
+
private calculateAutoSectionLimit;
|
|
1607
|
+
/**
|
|
1608
|
+
* Truncates text to character limit with ellipsis
|
|
1609
|
+
*/
|
|
1610
|
+
private truncateText;
|
|
1611
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTruncatedBreadcrumbComponent, never>;
|
|
1612
|
+
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>;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1079
1615
|
declare class AXPEntityListTableService {
|
|
1080
1616
|
private readonly workflow;
|
|
1081
1617
|
private readonly expressionEvaluator;
|
|
@@ -1148,68 +1684,7 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
1148
1684
|
protected workflow: AXPWorkflowService;
|
|
1149
1685
|
protected entityListTableService: AXPEntityListTableService;
|
|
1150
1686
|
protected entityListToolbarService: AXPEntityListToolbarService;
|
|
1151
|
-
protected
|
|
1152
|
-
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
1153
|
-
currentPalette: _angular_core.Signal<string>;
|
|
1154
|
-
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
1155
|
-
font: _ngrx_signals.DeepSignal<{
|
|
1156
|
-
family: string;
|
|
1157
|
-
size: string;
|
|
1158
|
-
}>;
|
|
1159
|
-
screenSize: _angular_core.Signal<_acorex_platform_themes_shared.AXPScreenSize>;
|
|
1160
|
-
deviceType: _angular_core.Signal<_acorex_platform_themes_shared.AXPDeviceType>;
|
|
1161
|
-
isTouchDevice: _angular_core.Signal<boolean>;
|
|
1162
|
-
overlayLoading: _angular_core.Signal<boolean>;
|
|
1163
|
-
navigationLoading: _angular_core.Signal<boolean>;
|
|
1164
|
-
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
1165
|
-
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
1166
|
-
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
1167
|
-
sideMenuWidth: _angular_core.Signal<number>;
|
|
1168
|
-
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
1169
|
-
isPrinting: _angular_core.Signal<boolean>;
|
|
1170
|
-
isDarkMode: _angular_core.Signal<boolean>;
|
|
1171
|
-
isLightMode: _angular_core.Signal<boolean>;
|
|
1172
|
-
isSystemMode: _angular_core.Signal<boolean>;
|
|
1173
|
-
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
1174
|
-
isSideMenuOverlay: _angular_core.Signal<boolean>;
|
|
1175
|
-
isSmall: _angular_core.Signal<boolean>;
|
|
1176
|
-
isMedium: _angular_core.Signal<boolean>;
|
|
1177
|
-
isLarge: _angular_core.Signal<boolean>;
|
|
1178
|
-
isMobileDevice: _angular_core.Signal<boolean>;
|
|
1179
|
-
isTabletDevice: _angular_core.Signal<boolean>;
|
|
1180
|
-
isDesktopDevice: _angular_core.Signal<boolean>;
|
|
1181
|
-
isTouchScreen: _angular_core.Signal<boolean>;
|
|
1182
|
-
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
1183
|
-
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
1184
|
-
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
1185
|
-
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
1186
|
-
openSideMenu: () => void;
|
|
1187
|
-
closeSideMenu: () => void;
|
|
1188
|
-
setSideMenuWidth: (width: number) => void;
|
|
1189
|
-
toggleSideMenu: () => void;
|
|
1190
|
-
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
1191
|
-
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
1192
|
-
loadSettings: () => Promise<void>;
|
|
1193
|
-
} & _ngrx_signals.StateSource<{
|
|
1194
|
-
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
1195
|
-
currentPalette: string;
|
|
1196
|
-
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
1197
|
-
font: {
|
|
1198
|
-
family: string;
|
|
1199
|
-
size: string;
|
|
1200
|
-
};
|
|
1201
|
-
screenSize: _acorex_platform_themes_shared.AXPScreenSize;
|
|
1202
|
-
deviceType: _acorex_platform_themes_shared.AXPDeviceType;
|
|
1203
|
-
isTouchDevice: boolean;
|
|
1204
|
-
overlayLoading: boolean;
|
|
1205
|
-
navigationLoading: boolean;
|
|
1206
|
-
overlayLoadingTaskCount: number;
|
|
1207
|
-
navigationLoadingTaskCount: number;
|
|
1208
|
-
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
1209
|
-
sideMenuWidth: number;
|
|
1210
|
-
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
1211
|
-
isPrinting: boolean;
|
|
1212
|
-
}>;
|
|
1687
|
+
protected deviceService: AXPDeviceService;
|
|
1213
1688
|
protected isMounted: _angular_core.WritableSignal<boolean>;
|
|
1214
1689
|
readonly entity: _angular_core.WritableSignal<AXPEntity | null>;
|
|
1215
1690
|
protected listNode: _angular_core.WritableSignal<AXPWidgetNode | null>;
|
|
@@ -1229,6 +1704,7 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
1229
1704
|
protected showToolbar: _angular_core.Signal<any>;
|
|
1230
1705
|
protected allActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
1231
1706
|
protected primaryActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
1707
|
+
protected handleUnselectAll(): void;
|
|
1232
1708
|
protected secondaryActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
1233
1709
|
protected handleActionClick(item: AXPActionMenuItem): void;
|
|
1234
1710
|
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
@@ -1304,12 +1780,18 @@ declare const AXPEntityReferenceWidget: AXPWidgetConfig;
|
|
|
1304
1780
|
declare class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1305
1781
|
#private;
|
|
1306
1782
|
protected editorPath: string;
|
|
1783
|
+
protected lookupWidgetRenderer: _angular_core.Signal<AXPWidgetRendererDirective | undefined>;
|
|
1307
1784
|
protected entity: _angular_core.Signal<string>;
|
|
1308
1785
|
protected textField: _angular_core.Signal<string>;
|
|
1309
1786
|
protected valueField: _angular_core.Signal<string>;
|
|
1310
1787
|
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
1311
1788
|
protected multiple: _angular_core.Signal<boolean>;
|
|
1312
1789
|
protected lookupNode: _angular_core.WritableSignal<AXPWidgetNode>;
|
|
1790
|
+
private shouldFocus;
|
|
1791
|
+
/**
|
|
1792
|
+
* Public focus method to trigger focusing
|
|
1793
|
+
*/
|
|
1794
|
+
focus(): void;
|
|
1313
1795
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupFilterWidgetEditComponent, never>;
|
|
1314
1796
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupFilterWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1315
1797
|
}
|
|
@@ -1329,6 +1811,7 @@ declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any>
|
|
|
1329
1811
|
protected valueField: _angular_core.Signal<string>;
|
|
1330
1812
|
protected textField: _angular_core.Signal<string>;
|
|
1331
1813
|
protected badgeClass: _angular_core.Signal<string>;
|
|
1814
|
+
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
1332
1815
|
protected displayField: _angular_core.Signal<string>;
|
|
1333
1816
|
protected loading: _angular_core.WritableSignal<boolean>;
|
|
1334
1817
|
private entityDef;
|
|
@@ -1336,21 +1819,12 @@ declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any>
|
|
|
1336
1819
|
private efEntity;
|
|
1337
1820
|
private efDisplay;
|
|
1338
1821
|
private extractItem;
|
|
1822
|
+
private getDisplayText;
|
|
1339
1823
|
private get __class();
|
|
1340
1824
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
|
1341
1825
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetViewComponent, "axp-lookup-widget-view", never, {}, {}, never, never, true, never>;
|
|
1342
1826
|
}
|
|
1343
1827
|
|
|
1344
|
-
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
1345
|
-
interface AXPLookupWidgetOptions {
|
|
1346
|
-
disabled?: boolean | AXPExpression;
|
|
1347
|
-
readonly?: boolean | AXPExpression;
|
|
1348
|
-
placeholder?: string;
|
|
1349
|
-
expose?: string | string[];
|
|
1350
|
-
look?: AXPLookupWidgetLookType;
|
|
1351
|
-
allowClear?: boolean;
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
1828
|
interface AXPEntityDataSelectorOptions {
|
|
1355
1829
|
entity: AXPEntity;
|
|
1356
1830
|
title: string;
|
|
@@ -1364,6 +1838,7 @@ interface AXPEntityDataSelectorOptions {
|
|
|
1364
1838
|
}[];
|
|
1365
1839
|
allowCreate?: boolean;
|
|
1366
1840
|
searchFields?: string[];
|
|
1841
|
+
initialSearchTerm?: string;
|
|
1367
1842
|
}
|
|
1368
1843
|
interface AXPEntityDataSelectorResult {
|
|
1369
1844
|
items: any[];
|
|
@@ -1414,6 +1889,17 @@ declare class AXPEntityDataSelectorService {
|
|
|
1414
1889
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDataSelectorService>;
|
|
1415
1890
|
}
|
|
1416
1891
|
|
|
1892
|
+
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
1893
|
+
interface AXPLookupWidgetOptions {
|
|
1894
|
+
disabled?: boolean | AXPExpression;
|
|
1895
|
+
readonly?: boolean | AXPExpression;
|
|
1896
|
+
placeholder?: string;
|
|
1897
|
+
expose?: string | string[];
|
|
1898
|
+
look?: AXPLookupWidgetLookType;
|
|
1899
|
+
allowClear?: boolean;
|
|
1900
|
+
displayFormat?: string;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1417
1903
|
declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
1418
1904
|
#private;
|
|
1419
1905
|
protected readonly injector: Injector;
|
|
@@ -1422,6 +1908,9 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
1422
1908
|
protected readonly popupService: AXPopupService;
|
|
1423
1909
|
protected readonly entityDataSelectorService: AXPEntityDataSelectorService;
|
|
1424
1910
|
private readonly translateService;
|
|
1911
|
+
protected selectBox: _angular_core.Signal<AXSelectBoxComponent | undefined>;
|
|
1912
|
+
protected tagBox: _angular_core.Signal<AXTagBoxComponent | undefined>;
|
|
1913
|
+
private shouldFocus;
|
|
1425
1914
|
protected expose: _angular_core.Signal<string | any[] | undefined>;
|
|
1426
1915
|
protected entity: _angular_core.Signal<string>;
|
|
1427
1916
|
protected disabled: _angular_core.Signal<string>;
|
|
@@ -1435,21 +1924,24 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
1435
1924
|
protected displayField: _angular_core.Signal<string>;
|
|
1436
1925
|
protected selectedItemsText: _angular_core.Signal<string>;
|
|
1437
1926
|
protected valueField: _angular_core.Signal<string>;
|
|
1927
|
+
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
1438
1928
|
protected conditions?: AXPQueryFilter[];
|
|
1439
1929
|
protected filter: AXDataSourceFilterOption | null;
|
|
1440
1930
|
private entityDef;
|
|
1441
1931
|
protected dataSource: _angular_core.Signal<AXDataSource<unknown> | null>;
|
|
1442
1932
|
protected searchTerm: _angular_core.WritableSignal<string | null>;
|
|
1933
|
+
protected searchPlaceholderText: _angular_core.WritableSignal<string>;
|
|
1443
1934
|
protected selectedItems: _angular_core.WritableSignal<any[]>;
|
|
1444
1935
|
textbox: _angular_core.Signal<AXTagBoxComponent | undefined>;
|
|
1445
1936
|
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
1446
1937
|
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
1447
|
-
|
|
1938
|
+
private placeholderUpdateToken;
|
|
1448
1939
|
private findByValue;
|
|
1449
1940
|
protected handleOnClick(e: AXClickEvent): void;
|
|
1450
1941
|
private showSelector;
|
|
1451
1942
|
protected selectBoxValueChange(e: AXValueChangedEvent): void;
|
|
1452
1943
|
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
1944
|
+
protected handleSearchInputChange(e: AXValueChangedEvent): void;
|
|
1453
1945
|
protected handleOnBlur(e: AXFocusEvent): void;
|
|
1454
1946
|
protected handleKeyUp(e: AXHtmlEvent): Promise<void>;
|
|
1455
1947
|
private setItems;
|
|
@@ -1457,15 +1949,22 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
1457
1949
|
refresh(): void;
|
|
1458
1950
|
clear(): void;
|
|
1459
1951
|
clearInput(): void;
|
|
1952
|
+
protected getTagLabel(item: any): string;
|
|
1953
|
+
private updateSearchPlaceholder;
|
|
1460
1954
|
private searchByValue;
|
|
1461
1955
|
private mergeFilter;
|
|
1462
1956
|
private singleOrMultiple;
|
|
1957
|
+
/**
|
|
1958
|
+
* Public focus method to trigger focusing
|
|
1959
|
+
*/
|
|
1960
|
+
focus(): void;
|
|
1463
1961
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetEditComponent, never>;
|
|
1464
1962
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetEditComponent, "axp-lookup-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1465
1963
|
}
|
|
1466
1964
|
|
|
1467
1965
|
declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
1468
1966
|
private readonly entityDetailPopoverService;
|
|
1967
|
+
private readonly formatService;
|
|
1469
1968
|
protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1470
1969
|
protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
1471
1970
|
protected host: ElementRef<any>;
|
|
@@ -1474,6 +1973,7 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
1474
1973
|
protected entity: string;
|
|
1475
1974
|
protected columnName: string;
|
|
1476
1975
|
protected maxVisible: number;
|
|
1976
|
+
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
1477
1977
|
protected isMorePopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
1478
1978
|
protected selectedItemIndex: _angular_core.WritableSignal<number>;
|
|
1479
1979
|
protected displayItems: _angular_core.Signal<any[]>;
|
|
@@ -1488,6 +1988,7 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
1488
1988
|
private openMorePopover;
|
|
1489
1989
|
private closeMorePopover;
|
|
1490
1990
|
private extractItem;
|
|
1991
|
+
protected getDisplayText(item: any): string;
|
|
1491
1992
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetColumnComponent, never>;
|
|
1492
1993
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
1493
1994
|
}
|
|
@@ -1656,5 +2157,5 @@ declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
1656
2157
|
}
|
|
1657
2158
|
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
1658
2159
|
|
|
1659
|
-
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntityApplyUpdatesAction, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver,
|
|
1660
|
-
export type { AXPAuditable, AXPDataSeeder, AXPEntityActionPlugin, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityCreateDto, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailDto, AXPEntityDetailPopoverOptions, AXPEntityListItemDto, AXPEntityMasterListViewSortPropViewModel, AXPEntityModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityOp, AXPEntityOutputDto, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPEntityUpdateDto, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPOpenEntityDetailsCommandInput,
|
|
2160
|
+
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, AXPEntityReferenceWidget, AXPEntityReferenceWidgetColumnComponent, AXPEntityReferenceWidgetDesignerComponent, AXPEntityReferenceWidgetEditComponent, AXPEntityReferenceWidgetPrintComponent, AXPEntityReferenceWidgetViewComponent, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupFilterWidget, AXPLookupFilterWidgetEditComponent, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXPWidgetSelectorWidget, AXPWidgetSelectorWidgetEditComponent, AXPWidgetSelectorWidgetViewComponent, 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, 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 };
|
|
2161
|
+
export type { AXPAuditable, 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, AXPRecordControl, AXPRecordOwnership, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, ColumnWidthConfig, SectionOrderConfig };
|