@acorex/platform 21.0.0-next.5 → 21.0.0-next.50
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 +1047 -263
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +1138 -510
- 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 +804 -186
- 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 +6208 -2344
- 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.mjs +18632 -10286
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +538 -168
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +720 -456
- 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-file-list-popup.component-CDYAGBku.mjs +103 -0
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.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-BGO75IMz.mjs +116 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.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-DmzNTYiS.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.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-BNG_588B.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.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 +8728 -4269
- 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-Cx1lLUaR.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.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-BfCeUU5F.mjs} +19 -26
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.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 +1836 -67
- 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-DK6R87Lf.mjs} +24 -25
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.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 +674 -573
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1715 -535
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +37 -37
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +241 -4
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +598 -80
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +595 -132
- 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} +193 -48
- package/types/acorex-platform-layout-components.d.ts +2979 -0
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +96 -18
- package/{layout/entity/index.d.ts → types/acorex-platform-layout-entity.d.ts} +1601 -261
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +116 -55
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +272 -124
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +1055 -157
- 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} +122 -5
- package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +1 -1
- package/types/acorex-platform-workflow.d.ts +1884 -0
- 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-DyDa_hyd.mjs +0 -1542
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.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/runtime/index.d.ts +0 -307
- package/workflow/index.d.ts +0 -1808
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { AXPWidgetPropertyGroup, AXPWidgetProperty, AXPWidgetNode,
|
|
1
|
+
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
2
|
+
import { AXPWidgetPropertyGroup, AXPWidgetProperty, AXPWidgetNode, AXPDataListWidgetComponent, AXPColumnWidgetComponent, AXPLayoutBaseWidgetComponent, AXPWidgetCoreElementAPI, AXPWidgetConfig, AXPValueWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPWidgetCoreElementAction, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPGridBoxString, AXPGridBreakpointValues, AXPBreakpoints, AXPBorderBox, AXPSpacingBox, AXPBorderBoxString, AXPPropertyEditorSideValues, AXPPropertyEditorCornerValues, AXPFlexBoxString, AXPGridItemBoxString, AXPSpacingBoxString } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { OnInit, WritableSignal, EventEmitter, Signal,
|
|
4
|
+
import { OnInit, WritableSignal, InjectionToken, EventEmitter, Signal, OnDestroy, ElementRef, ChangeDetectorRef, ComponentRef } from '@angular/core';
|
|
5
|
+
import { AXValueChangedEvent, AXDataSourceFilterOption, AXStyleColorType, AXClickEvent, AXStyleLookType, AXDataSource, AXDirection, AXButtonClickEvent } from '@acorex/cdk/common';
|
|
5
6
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
6
7
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
7
|
-
import { AXPDeviceService, AXPValidationRule, AXPTag, AXPFileListItem, AXPExpressionEvaluatorService, AXPExecuteCommandResult, AXPActionMenuItem } from '@acorex/platform/core';
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { AXPClipBoardService, AXPLanguage, AXPStatusDefinition, AXPStatusTransition } from '@acorex/platform/common';
|
|
8
|
+
import { AXPDeviceService, AXPContextChangeEvent, AXPFilterClause, AXPFilterDefinition, AXPValidationRule, AXPTag, AXPFileListItem, AXPExpressionEvaluatorService, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinition } from '@acorex/platform/core';
|
|
9
|
+
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
10
|
+
import { AXPCommandActionCallback, AXPClipBoardService, AXPLanguage, AXCFileUploaderCapabilities, AXCFileUploaderAction, AXPStatusDefinition, AXPStatusTransition, AXPStatusProvider } from '@acorex/platform/common';
|
|
11
11
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
12
|
-
import { AXPDragDropListItem } from '@acorex/platform/layout/components';
|
|
12
|
+
import { AXPDragDropListItem, ItemConfiguratorListItem, AXPTableColumnDefinition } from '@acorex/platform/layout/components';
|
|
13
13
|
import { AXValidationService } from '@acorex/core/validation';
|
|
14
14
|
import { ImageToolConfig, EditorJsTool } from '@acorex/components/editor';
|
|
15
15
|
import { AXNumberFormatterOptions } from '@acorex/core/format';
|
|
16
16
|
import { AXSelectionListLook } from '@acorex/components/selection-list';
|
|
17
|
+
import { AXMaskTokens } from '@acorex/cdk/input-mask';
|
|
17
18
|
import { AXCodeEditorDefaultLanguage } from '@acorex/components/code-editor';
|
|
18
19
|
import { AXRowCommandItemClickEvent, AXDataTableComponent, AXRowCommandItem } from '@acorex/components/data-table';
|
|
19
|
-
import {
|
|
20
|
+
import { AXPPropertyDefinition } from '@acorex/platform/domain';
|
|
21
|
+
import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
|
|
20
22
|
import { AXFileService } from '@acorex/core/file';
|
|
21
23
|
import { AXMediaViewerData } from '@acorex/components/media-viewer';
|
|
22
24
|
import * as _acorex_components_map from '@acorex/components/map';
|
|
23
25
|
import { AXMapData, AXMapPolygon, AXPoiMarker } from '@acorex/components/map';
|
|
24
26
|
import { AXQrcodeLevel, AXQrcodeOutputType } from '@acorex/components/qrcode';
|
|
25
27
|
import { AXSchedulerPickerValue, AXSchedulerPickerSettings } from '@acorex/components/scheduler-picker';
|
|
26
|
-
import {
|
|
27
|
-
import SignaturePad from 'signature_pad';
|
|
28
|
+
import { AXPaintContainerComponent, AXPaintViewComponent } from '@acorex/components/paint';
|
|
28
29
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
30
|
+
import * as _acorex_core_translation from '@acorex/core/translation';
|
|
29
31
|
import { AXGridLayoutOptions, AXGridLayoutNode } from '@acorex/components/grid-layout-builder';
|
|
30
32
|
import * as _acorex_platform_layout_widgets from '@acorex/platform/layout/widgets';
|
|
31
33
|
import { AXStepWizardComponent } from '@acorex/components/step-wizard';
|
|
@@ -40,10 +42,11 @@ declare const AXP_APPEARANCE_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
|
40
42
|
declare const AXP_ANIMATION_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
41
43
|
declare const AXP_TRIGGERS_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Single property that edits all data-source-related options (dataSource, valueField, textField, filters)
|
|
47
|
+
* in one dedicated widget. Uses path: 'options' and setValue with merge (same pattern as flex-options).
|
|
48
|
+
*/
|
|
49
|
+
declare const AXP_DATA_SOURCE_OPTIONS_PROPERTY: AXPWidgetProperty;
|
|
47
50
|
|
|
48
51
|
declare const AXP_NAME_PROPERTY: AXPWidgetProperty;
|
|
49
52
|
declare const AXP_THEME_PROPERTY: AXPWidgetProperty;
|
|
@@ -84,6 +87,17 @@ declare const AXP_DATE_FORMAT_PROPERTY: AXPWidgetProperty;
|
|
|
84
87
|
declare function booleanDefaultProperty(defaultValue?: boolean): AXPWidgetProperty;
|
|
85
88
|
declare function plainTextDefaultProperty(): AXPWidgetProperty;
|
|
86
89
|
declare function largeTextDefaultProperty(): AXPWidgetProperty;
|
|
90
|
+
declare function richTextDefaultProperty(): AXPWidgetProperty;
|
|
91
|
+
/**
|
|
92
|
+
* Default value editor for select-editor: uses `context.options(key)` so the default picker reads
|
|
93
|
+
* the **host** widget's options from the shared context (not the nested property field's `widget`).
|
|
94
|
+
*/
|
|
95
|
+
declare function selectEditorDefaultValueProperty(): AXPWidgetProperty;
|
|
96
|
+
/**
|
|
97
|
+
* Default value editor for selection-list-editor: uses the select widget in the designer so picking
|
|
98
|
+
* a default matches select UX while still binding to the host's dataSource / fields via `context.options`.
|
|
99
|
+
*/
|
|
100
|
+
declare function selectionListEditorDefaultValueProperty(): AXPWidgetProperty;
|
|
87
101
|
declare function numberDefaultProperty(): AXPWidgetProperty;
|
|
88
102
|
declare function numberMinValueProperty(value?: number | null): AXPWidgetProperty;
|
|
89
103
|
declare function numberMaxValueProperty(value?: number | null): AXPWidgetProperty;
|
|
@@ -119,6 +133,10 @@ declare const AXP_LAYOUT_ADVANCED_GRID_PROPERTY: AXPWidgetProperty;
|
|
|
119
133
|
declare const AXP_LAYOUT_SHOW_HEADER_PROPERTY: AXPWidgetProperty;
|
|
120
134
|
declare const AXP_LAYOUT_DIRECTION_PROPERTY: AXPWidgetProperty;
|
|
121
135
|
|
|
136
|
+
declare const AXP_TABLE_COLUMN_HEADER_ALIGN_PROPERTY: AXPWidgetProperty;
|
|
137
|
+
declare const AXP_TABLE_COLUMN_CELL_ALIGN_PROPERTY: AXPWidgetProperty;
|
|
138
|
+
/** Optional column designer fields; spread next to `AXP_TABLE_COLUMN_WIDTH_PROPERTY` where needed. */
|
|
139
|
+
declare const AXP_TABLE_COLUMN_ALIGNMENT_PROPERTIES: AXPWidgetProperty[];
|
|
122
140
|
declare const AXP_TABLE_COLUMN_WIDTH_PROPERTY: AXPWidgetProperty;
|
|
123
141
|
declare const AXP_TABLE_COLUMN_HEIGHT_PROPERTY: AXPWidgetProperty;
|
|
124
142
|
|
|
@@ -132,6 +150,18 @@ declare const AXP_BETWEEN_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
|
132
150
|
declare const AXP_EQUAL_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
133
151
|
declare const AXP_CALLBACK_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
134
152
|
|
|
153
|
+
/** One row in the multi-language popup (sidebar + tab content). */
|
|
154
|
+
interface AXPSelectLanguageRow {
|
|
155
|
+
code: string;
|
|
156
|
+
title: string;
|
|
157
|
+
active: boolean;
|
|
158
|
+
node: AXPWidgetNode;
|
|
159
|
+
context: {
|
|
160
|
+
value: string;
|
|
161
|
+
};
|
|
162
|
+
/** True when the row comes from locale profiles; false when from Languages only (active, not covered by any profile). */
|
|
163
|
+
isLocaleProfile: boolean;
|
|
164
|
+
}
|
|
135
165
|
declare class AXPSelectLanguagePopup extends AXBasePageComponent implements OnInit {
|
|
136
166
|
currentLanguage: string;
|
|
137
167
|
values: {
|
|
@@ -140,22 +170,145 @@ declare class AXPSelectLanguagePopup extends AXBasePageComponent implements OnIn
|
|
|
140
170
|
node: AXPWidgetNode;
|
|
141
171
|
mode: string;
|
|
142
172
|
context: {};
|
|
143
|
-
constructor();
|
|
144
|
-
languageList: WritableSignal<any[]>;
|
|
145
173
|
deviceService: AXPDeviceService;
|
|
146
174
|
isMobile: _angular_core.Signal<boolean>;
|
|
147
175
|
private actionSheet;
|
|
148
|
-
|
|
149
|
-
|
|
176
|
+
private readonly localeManagementPort;
|
|
177
|
+
languageList: WritableSignal<AXPSelectLanguageRow[]>;
|
|
178
|
+
currentLanguageTitle: _angular_core.Signal<string>;
|
|
179
|
+
activeLanguage: _angular_core.Signal<AXPSelectLanguageRow | undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* When true, include active Languages-entity locales that are not represented by any locale profile
|
|
182
|
+
* (same primary language subtag as a profile code, e.g. en for en-US).
|
|
183
|
+
*/
|
|
184
|
+
showOtherLanguages: WritableSignal<boolean>;
|
|
185
|
+
/** True when there is at least one language-only row (not from locale profiles). */
|
|
186
|
+
hasLanguagesBeyondProfiles: _angular_core.Signal<boolean>;
|
|
187
|
+
/**
|
|
188
|
+
* When the checkbox is off, still show non-profile languages that have saved or in-editor content
|
|
189
|
+
* so values remain accessible after save without turning the option on.
|
|
190
|
+
*/
|
|
191
|
+
visibleLanguageList: _angular_core.Signal<AXPSelectLanguageRow[]>;
|
|
192
|
+
constructor();
|
|
150
193
|
ngOnInit(): void;
|
|
151
|
-
protected handleContextChanged(e:
|
|
194
|
+
protected handleContextChanged(e: AXPContextChangeEvent, language: AXPSelectLanguageRow): void;
|
|
195
|
+
protected onShowOtherLanguagesChanged(event: AXValueChangedEvent<boolean>): void;
|
|
152
196
|
openLanguagePicker(): Promise<void>;
|
|
153
|
-
private getAvailableLanguages;
|
|
154
197
|
onSaveButtonClick(): Promise<void>;
|
|
198
|
+
/**
|
|
199
|
+
* True when the string has visible text (handles plain text and simple HTML from rich editors).
|
|
200
|
+
*/
|
|
201
|
+
protected hasTranslationContent(value: string | undefined | null): boolean;
|
|
202
|
+
private buildLanguageList;
|
|
203
|
+
/**
|
|
204
|
+
* First segment of a BCP 47 tag (e.g. en-US → en).
|
|
205
|
+
*/
|
|
206
|
+
private primaryLanguageSubtag;
|
|
207
|
+
/**
|
|
208
|
+
* True when some locale profile uses the same primary language as the Languages-entity code.
|
|
209
|
+
*/
|
|
210
|
+
private isLanguageCoveredByLocaleProfiles;
|
|
211
|
+
/**
|
|
212
|
+
* Picks which row should be active from the merged list and current UI language.
|
|
213
|
+
*/
|
|
214
|
+
private resolveActiveRowCode;
|
|
215
|
+
/**
|
|
216
|
+
* Non-empty translations first (green badge), then empty; within each group sort by title.
|
|
217
|
+
*/
|
|
218
|
+
private sortLanguagesForDisplay;
|
|
155
219
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectLanguagePopup, never>;
|
|
156
220
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectLanguagePopup, "ng-component", never, {}, {}, never, never, true, never>;
|
|
157
221
|
}
|
|
158
222
|
|
|
223
|
+
interface StrategyConfig {
|
|
224
|
+
selectValueStrategy: 'valueField' | 'item';
|
|
225
|
+
lookupValueStrategy: 'valueField' | 'item';
|
|
226
|
+
}
|
|
227
|
+
declare const DEFAULT_STRATEGY_CONFIG: StrategyConfig;
|
|
228
|
+
declare const STRATEGY_CONFIG_TOKEN: InjectionToken<StrategyConfig>;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Shared select UI for provider-backed editors (module, permission, menu, entity).
|
|
232
|
+
* Subclasses implement {@link loadDataSourceRows} to populate `{ value, title }[]`.
|
|
233
|
+
*/
|
|
234
|
+
declare abstract class AXPProviderSelectWidgetEditBase extends AXPDataListWidgetComponent {
|
|
235
|
+
#private;
|
|
236
|
+
protected readonly selectBox: _angular_core.Signal<AXSelectBoxComponent | undefined>;
|
|
237
|
+
protected readonly widgetsConfigs: StrategyConfig;
|
|
238
|
+
private readonly filterOperatorMiddleware;
|
|
239
|
+
/**
|
|
240
|
+
* Loads option rows for the select. `value` is persisted; `title` is shown.
|
|
241
|
+
*/
|
|
242
|
+
protected abstract loadDataSourceRows(): Promise<Array<{
|
|
243
|
+
value: string;
|
|
244
|
+
title: string;
|
|
245
|
+
}>>;
|
|
246
|
+
protected expose: _angular_core.Signal<string | (string | {
|
|
247
|
+
source: string;
|
|
248
|
+
target: string;
|
|
249
|
+
})[] | undefined>;
|
|
250
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
251
|
+
protected disabled: _angular_core.Signal<boolean>;
|
|
252
|
+
protected readonly: _angular_core.Signal<boolean>;
|
|
253
|
+
protected placeholder: _angular_core.Signal<string>;
|
|
254
|
+
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
255
|
+
protected allowSearch: _angular_core.Signal<boolean>;
|
|
256
|
+
protected filter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
257
|
+
protected filterMode: _angular_core.Signal<boolean>;
|
|
258
|
+
protected selectFilterDisplayValue: _angular_core.Signal<any>;
|
|
259
|
+
protected searchValue: _angular_core.WritableSignal<string | undefined>;
|
|
260
|
+
ngOnInit(): void;
|
|
261
|
+
/**
|
|
262
|
+
* Full row list from the last {@link loadDataSourceRows} (used for client-side search).
|
|
263
|
+
*/
|
|
264
|
+
protected readonly allProviderRows: _angular_core.WritableSignal<{
|
|
265
|
+
value: string;
|
|
266
|
+
title: string;
|
|
267
|
+
}[]>;
|
|
268
|
+
/**
|
|
269
|
+
* Reloads datasource rows from {@link loadDataSourceRows} and applies them to the select.
|
|
270
|
+
* Subclasses may override {@link refresh} to call this when context changes.
|
|
271
|
+
*/
|
|
272
|
+
protected reloadProviderData(): Promise<void>;
|
|
273
|
+
/**
|
|
274
|
+
* Pushes rows into widget options so {@link AXPDataListWidgetComponent} builds the dataSource.
|
|
275
|
+
* Client-side search uses this instead of {@link AXDataSource} filter (unreliable for static arrays).
|
|
276
|
+
*/
|
|
277
|
+
private applyProviderRowsToOptions;
|
|
278
|
+
private readonly shouldFocus;
|
|
279
|
+
focus(): void;
|
|
280
|
+
protected outputs(): (string | {
|
|
281
|
+
name: string;
|
|
282
|
+
value: unknown;
|
|
283
|
+
})[];
|
|
284
|
+
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
285
|
+
protected handleSearchValueChange(e: AXValueChangedEvent): void;
|
|
286
|
+
refresh(): void;
|
|
287
|
+
clear(): void;
|
|
288
|
+
protected get item(): any;
|
|
289
|
+
private get __class();
|
|
290
|
+
private singleOrMultiple;
|
|
291
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPProviderSelectWidgetEditBase, never>;
|
|
292
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXPProviderSelectWidgetEditBase, never, never, {}, {}, never, never, true, never>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare class AXPProviderSelectWidgetViewComponent extends AXPDataListWidgetComponent {
|
|
296
|
+
private get __class();
|
|
297
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPProviderSelectWidgetViewComponent, never>;
|
|
298
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPProviderSelectWidgetViewComponent, "axp-provider-select-widget-view", never, {}, {}, never, never, true, never>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare class AXPProviderSelectWidgetColumnComponent extends AXPColumnWidgetComponent<unknown> {
|
|
302
|
+
protected valueField: string;
|
|
303
|
+
protected textField: string;
|
|
304
|
+
protected badgeClass: string;
|
|
305
|
+
protected dataSource: unknown[];
|
|
306
|
+
protected internalValue: _angular_core.Signal<Record<string, unknown>[]>;
|
|
307
|
+
private extractItem;
|
|
308
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPProviderSelectWidgetColumnComponent, never>;
|
|
309
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPProviderSelectWidgetColumnComponent, "axp-provider-select-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
310
|
+
}
|
|
311
|
+
|
|
159
312
|
declare class AXPButtonWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
160
313
|
protected disabled: _angular_core.Signal<boolean>;
|
|
161
314
|
protected color: _angular_core.Signal<AXStyleColorType>;
|
|
@@ -168,6 +321,7 @@ declare class AXPButtonWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
168
321
|
}
|
|
169
322
|
|
|
170
323
|
declare class AXPButtonWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
324
|
+
private readonly commandService;
|
|
171
325
|
protected disabled: _angular_core.Signal<boolean>;
|
|
172
326
|
protected color: _angular_core.Signal<AXStyleColorType>;
|
|
173
327
|
protected look: _angular_core.Signal<AXStyleLookType>;
|
|
@@ -177,6 +331,12 @@ declare class AXPButtonWidgetViewComponent extends AXPLayoutBaseWidgetComponent
|
|
|
177
331
|
onClick: EventEmitter<AXClickEvent>;
|
|
178
332
|
protected handleClick(e: AXClickEvent): void;
|
|
179
333
|
api(): AXPWidgetCoreElementAPI;
|
|
334
|
+
/**
|
|
335
|
+
* When **`options.command`** matches {@link AXPCommandActionCallback}, runs the registered **`AXPCommand`**
|
|
336
|
+
* via {@link AXPCommandService.execute} (`name` registry key + `options` payload).
|
|
337
|
+
*/
|
|
338
|
+
private runOptionsCommand;
|
|
339
|
+
private safeExecute;
|
|
180
340
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPButtonWidgetViewComponent, never>;
|
|
181
341
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPButtonWidgetViewComponent, "axp-button-widget-view", never, {}, {}, never, never, true, never>;
|
|
182
342
|
}
|
|
@@ -189,6 +349,8 @@ interface AXPButtonWidgetDesignerOptions {
|
|
|
189
349
|
text?: string;
|
|
190
350
|
loading?: boolean;
|
|
191
351
|
icon?: string;
|
|
352
|
+
/** Registry key (`string`) or `{ name, options }` passed to `AXPCommandService.execute`. */
|
|
353
|
+
command?: AXPCommandActionCallback;
|
|
192
354
|
}
|
|
193
355
|
interface AXPButtonWidgetViewOptions {
|
|
194
356
|
disabled?: boolean;
|
|
@@ -197,6 +359,8 @@ interface AXPButtonWidgetViewOptions {
|
|
|
197
359
|
text?: string;
|
|
198
360
|
loading?: boolean;
|
|
199
361
|
icon?: string;
|
|
362
|
+
/** Registry key (`string`) or `{ name, options }` passed to `AXPCommandService.execute`. */
|
|
363
|
+
command?: AXPCommandActionCallback;
|
|
200
364
|
}
|
|
201
365
|
interface AXPButtonWidgetEditOptions {
|
|
202
366
|
disabled?: boolean;
|
|
@@ -205,6 +369,8 @@ interface AXPButtonWidgetEditOptions {
|
|
|
205
369
|
text?: string;
|
|
206
370
|
loading?: boolean;
|
|
207
371
|
icon?: string;
|
|
372
|
+
/** Registry key (`string`) or `{ name, options }` passed to `AXPCommandService.execute`. */
|
|
373
|
+
command?: AXPCommandActionCallback;
|
|
208
374
|
}
|
|
209
375
|
interface AXPButtonWidgetColumnOptions {
|
|
210
376
|
disabled?: boolean;
|
|
@@ -225,6 +391,24 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
225
391
|
}
|
|
226
392
|
}
|
|
227
393
|
|
|
394
|
+
declare const AXPConditionBuilderWidget: AXPWidgetConfig;
|
|
395
|
+
|
|
396
|
+
declare class AXPConditionBuilderWidgetEditComponent extends AXPValueWidgetComponent<AXPFilterClause> implements OnInit {
|
|
397
|
+
protected readonly filterDefinitions: _angular_core.Signal<AXPFilterDefinition[]>;
|
|
398
|
+
/** Exposes value for template with logging */
|
|
399
|
+
protected readonly valueForBuilder: _angular_core.Signal<AXPFilterClause>;
|
|
400
|
+
ngOnInit(): void;
|
|
401
|
+
onValueChange(value: AXPFilterClause): void;
|
|
402
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPConditionBuilderWidgetEditComponent, never>;
|
|
403
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPConditionBuilderWidgetEditComponent, "axp-condition-builder-widget-edit", never, {}, {}, never, never, true, never>;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare class AXPConditionBuilderWidgetViewComponent extends AXPValueWidgetComponent<AXPFilterClause> {
|
|
407
|
+
protected readonly filterDefinitions: _angular_core.Signal<AXPFilterDefinition[]>;
|
|
408
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPConditionBuilderWidgetViewComponent, never>;
|
|
409
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPConditionBuilderWidgetViewComponent, "axp-condition-builder-widget-view", never, {}, {}, never, never, true, never>;
|
|
410
|
+
}
|
|
411
|
+
|
|
228
412
|
interface AXPStatusVisual {
|
|
229
413
|
chipClass?: string;
|
|
230
414
|
chipStyle?: Record<string, string>;
|
|
@@ -310,7 +494,7 @@ interface AXPCheckBoxWidgetOptions {
|
|
|
310
494
|
}
|
|
311
495
|
|
|
312
496
|
declare class AXPColorBoxWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
313
|
-
rgba:
|
|
497
|
+
rgba: () => string;
|
|
314
498
|
protected clipboard: AXPClipBoardService;
|
|
315
499
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColorBoxWidgetColumnComponent, never>;
|
|
316
500
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPColorBoxWidgetColumnComponent, "axp-color-box-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -374,7 +558,8 @@ interface AXPColorBoxWidgetOptions {
|
|
|
374
558
|
}
|
|
375
559
|
|
|
376
560
|
declare class AXPColorPaletteWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
377
|
-
|
|
561
|
+
hasValue: () => boolean;
|
|
562
|
+
rgba: () => string;
|
|
378
563
|
protected clipboard: AXPClipBoardService;
|
|
379
564
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColorPaletteWidgetColumnComponent, never>;
|
|
380
565
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPColorPaletteWidgetColumnComponent, "axp-color-palette-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -421,6 +606,7 @@ declare class AXPColorPaletteWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
421
606
|
}
|
|
422
607
|
|
|
423
608
|
declare class AXPColorPaletteWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
609
|
+
hasValue: _angular_core.Signal<boolean>;
|
|
424
610
|
rgba: _angular_core.Signal<string>;
|
|
425
611
|
protected clipboard: AXPClipBoardService;
|
|
426
612
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColorPaletteWidgetViewComponent, never>;
|
|
@@ -492,7 +678,7 @@ declare class AXPConnectedListsWidgetViewComponent extends AXPValueWidgetCompone
|
|
|
492
678
|
}
|
|
493
679
|
|
|
494
680
|
declare class AXPConnectedListsWidgetColumnComponent extends AXPColumnWidgetComponent<AXPDragDropListItem[] | null | undefined> {
|
|
495
|
-
protected allItems:
|
|
681
|
+
protected allItems: () => AXPDragDropListItem[];
|
|
496
682
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPConnectedListsWidgetColumnComponent, never>;
|
|
497
683
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPConnectedListsWidgetColumnComponent, "axp-connected-drag-drop-lists-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
498
684
|
}
|
|
@@ -531,6 +717,7 @@ declare class AXPContactWidgetColumnComponent extends AXPColumnWidgetComponent<a
|
|
|
531
717
|
protected hasValue: _angular_core.Signal<boolean>;
|
|
532
718
|
protected getText(seperator: 'line' | 'comma'): any;
|
|
533
719
|
private itemToValue;
|
|
720
|
+
private extractContactStringValue;
|
|
534
721
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPContactWidgetColumnComponent, never>;
|
|
535
722
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPContactWidgetColumnComponent, "axp-contact-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
536
723
|
}
|
|
@@ -544,7 +731,10 @@ interface AXPContactWidgetType {
|
|
|
544
731
|
id: string;
|
|
545
732
|
name: string;
|
|
546
733
|
}[];
|
|
734
|
+
/** Label id to pre-select when the contact value is empty. Must exist in labels. */
|
|
735
|
+
defaultLabel?: string;
|
|
547
736
|
placeholder?: string;
|
|
737
|
+
hrefGenerator?: (value: string, label?: string) => string;
|
|
548
738
|
}
|
|
549
739
|
interface AXPContactData {
|
|
550
740
|
value: string;
|
|
@@ -565,6 +755,7 @@ declare class AXPContactWidgetEditComponent extends AXPValueWidgetComponent<AXPC
|
|
|
565
755
|
protected disabled: _angular_core.Signal<boolean>;
|
|
566
756
|
protected hasLabel: _angular_core.Signal<boolean>;
|
|
567
757
|
protected hasIcon: _angular_core.Signal<boolean>;
|
|
758
|
+
protected defaultLabel: _angular_core.Signal<string | undefined>;
|
|
568
759
|
protected combinedValidationRules: _angular_core.Signal<_acorex_platform_core.AXPValidationRules>;
|
|
569
760
|
private format;
|
|
570
761
|
protected valueAsObject: _angular_core.Signal<AXPContactData>;
|
|
@@ -591,8 +782,13 @@ declare class AXPContactWidgetViewComponent extends AXPValueWidgetComponent<AXPC
|
|
|
591
782
|
protected hasIcon: Signal<boolean>;
|
|
592
783
|
protected internalValue: Signal<AXPContactData>;
|
|
593
784
|
protected clipboard: AXPClipBoardService;
|
|
785
|
+
protected showCopyTooltip: _angular_core.WritableSignal<boolean>;
|
|
594
786
|
protected hasValue: Signal<boolean>;
|
|
787
|
+
protected getLabelName(): string;
|
|
788
|
+
protected handleCopy(event: Event): void;
|
|
789
|
+
protected hrefValue: Signal<string>;
|
|
595
790
|
constructor();
|
|
791
|
+
private extractContactStringValue;
|
|
596
792
|
private correctItems;
|
|
597
793
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPContactWidgetViewComponent, never>;
|
|
598
794
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPContactWidgetViewComponent, "axp-contact-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -611,6 +807,7 @@ interface AXPContactWidgetDesignerOptions {
|
|
|
611
807
|
id: string;
|
|
612
808
|
name: string;
|
|
613
809
|
}[];
|
|
810
|
+
defaultLabel?: string;
|
|
614
811
|
icon?: string;
|
|
615
812
|
disabled?: boolean;
|
|
616
813
|
hasLabel?: boolean;
|
|
@@ -629,6 +826,7 @@ interface AXPContactWidgetEditOptions {
|
|
|
629
826
|
id: string;
|
|
630
827
|
name: string;
|
|
631
828
|
}[];
|
|
829
|
+
defaultLabel?: string;
|
|
632
830
|
icon?: string;
|
|
633
831
|
disabled?: boolean;
|
|
634
832
|
hasLabel?: boolean;
|
|
@@ -644,54 +842,242 @@ interface AXPContactWidgetOptions {
|
|
|
644
842
|
column: AXPContactWidgetColumnOptions;
|
|
645
843
|
}
|
|
646
844
|
|
|
647
|
-
declare
|
|
845
|
+
declare const AXPAddressWidget: AXPWidgetConfig;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Address mode type - determines the display mode of the address widget
|
|
849
|
+
* - simple: single text input for full address (one line)
|
|
850
|
+
* - popup: readonly summary + button to edit in popup dialog
|
|
851
|
+
* - expandable: expandable panel — collapsed shows full address, expanded shows inline form
|
|
852
|
+
*/
|
|
853
|
+
type AXPAddressMode = 'simple' | 'popup' | 'expandable';
|
|
854
|
+
/**
|
|
855
|
+
* Address label option
|
|
856
|
+
*/
|
|
857
|
+
interface AXPAddressLabel {
|
|
858
|
+
id: string;
|
|
859
|
+
name: string;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* Address data structure
|
|
863
|
+
*/
|
|
864
|
+
interface AXPAddressData {
|
|
865
|
+
street1: string;
|
|
866
|
+
street2?: string;
|
|
867
|
+
postalCode?: string;
|
|
868
|
+
coordinates?: string;
|
|
869
|
+
full: string;
|
|
870
|
+
label?: string;
|
|
871
|
+
country?: {
|
|
872
|
+
id?: string;
|
|
873
|
+
title?: string;
|
|
874
|
+
};
|
|
875
|
+
state?: {
|
|
876
|
+
id?: string;
|
|
877
|
+
title?: string;
|
|
878
|
+
};
|
|
879
|
+
city?: {
|
|
880
|
+
id?: string;
|
|
881
|
+
title?: string;
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Address widget designer options
|
|
886
|
+
*/
|
|
887
|
+
interface AXPAddressWidgetDesignerOptions {
|
|
888
|
+
mode?: AXPAddressMode;
|
|
889
|
+
placeholder?: string;
|
|
890
|
+
labels?: AXPAddressLabel[];
|
|
891
|
+
disabled?: boolean;
|
|
892
|
+
hasLabel?: boolean;
|
|
893
|
+
hasMap?: boolean;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* Address widget view options
|
|
897
|
+
*/
|
|
898
|
+
interface AXPAddressWidgetViewOptions {
|
|
899
|
+
mode?: AXPAddressMode;
|
|
900
|
+
hasLabel?: boolean;
|
|
901
|
+
hasMap?: boolean;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Address widget edit options
|
|
905
|
+
*/
|
|
906
|
+
interface AXPAddressWidgetEditOptions {
|
|
907
|
+
mode?: AXPAddressMode;
|
|
908
|
+
placeholder?: string;
|
|
909
|
+
labels?: AXPAddressLabel[];
|
|
910
|
+
disabled?: boolean;
|
|
911
|
+
hasLabel?: boolean;
|
|
912
|
+
hasMap?: boolean;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Address widget column options
|
|
916
|
+
*/
|
|
917
|
+
interface AXPAddressWidgetColumnOptions {
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* Complete address widget options structure
|
|
921
|
+
*/
|
|
922
|
+
interface AXPAddressWidgetOptions {
|
|
923
|
+
designer: AXPAddressWidgetDesignerOptions;
|
|
924
|
+
view: AXPAddressWidgetViewOptions;
|
|
925
|
+
edit: AXPAddressWidgetEditOptions;
|
|
926
|
+
print: AXPAddressWidgetViewOptions;
|
|
927
|
+
column: AXPAddressWidgetColumnOptions;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare class AXPAddressWidgetEditComponent extends AXPValueWidgetComponent<AXPAddressData | string> {
|
|
931
|
+
private addressService;
|
|
932
|
+
/** Collapsible mode: true = panel collapsed (only full address visible), false = expanded (edit button visible) */
|
|
933
|
+
protected collapsibleCollapsed: _angular_core.WritableSignal<boolean>;
|
|
934
|
+
protected collapsibleCaption: _angular_core.Signal<string>;
|
|
935
|
+
protected addressMode: _angular_core.Signal<AXPAddressMode>;
|
|
936
|
+
protected placeholder: _angular_core.Signal<string>;
|
|
937
|
+
protected labels: _angular_core.Signal<AXPAddressLabel[]>;
|
|
938
|
+
protected disabled: _angular_core.Signal<boolean>;
|
|
939
|
+
protected hasLabel: _angular_core.Signal<boolean>;
|
|
940
|
+
protected hasMap: _angular_core.Signal<boolean>;
|
|
941
|
+
private format;
|
|
942
|
+
protected valueAsObject: _angular_core.Signal<AXPAddressData>;
|
|
943
|
+
protected formattedAddress: _angular_core.Signal<string>;
|
|
944
|
+
/** Layout node from create().flex().build() for inline renderer (expandable mode). */
|
|
945
|
+
protected addressFormLayout: _angular_core.Signal<_acorex_platform_layout_widget_core.AXPWidgetNode>;
|
|
946
|
+
/** Context for inline address form (expandable); includes showMap for map toggle. */
|
|
947
|
+
protected collapsibleFormContext: _angular_core.Signal<{
|
|
948
|
+
showMap: boolean;
|
|
949
|
+
street1: string;
|
|
950
|
+
street2?: string;
|
|
951
|
+
postalCode?: string;
|
|
952
|
+
coordinates?: string;
|
|
953
|
+
full: string;
|
|
954
|
+
label?: string;
|
|
955
|
+
country?: {
|
|
956
|
+
id?: string;
|
|
957
|
+
title?: string;
|
|
958
|
+
};
|
|
959
|
+
state?: {
|
|
960
|
+
id?: string;
|
|
961
|
+
title?: string;
|
|
962
|
+
};
|
|
963
|
+
city?: {
|
|
964
|
+
id?: string;
|
|
965
|
+
title?: string;
|
|
966
|
+
};
|
|
967
|
+
}>;
|
|
968
|
+
protected onCollapsibleFormContextChange(ctx: Partial<AXPAddressData> | null | undefined): void;
|
|
969
|
+
protected labelsDataSource: AXDataSource<AXPAddressLabel | undefined>;
|
|
970
|
+
protected handleValueChange(e: AXValueChangedEvent): Promise<void>;
|
|
971
|
+
protected showDetailsPopup(): Promise<void>;
|
|
972
|
+
protected generateClasses(element: 'value' | 'label'): any;
|
|
973
|
+
private toObject;
|
|
974
|
+
private setFormattedValue;
|
|
975
|
+
private get __class();
|
|
976
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPAddressWidgetEditComponent, never>;
|
|
977
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPAddressWidgetEditComponent, "axp-address-widget-edit", never, {}, {}, never, never, true, never>;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare class AXPAddressWidgetViewComponent extends AXPValueWidgetComponent<AXPAddressData | string> {
|
|
981
|
+
private addressService;
|
|
982
|
+
protected hasLabel: _angular_core.Signal<boolean>;
|
|
983
|
+
protected internalValue: _angular_core.Signal<AXPAddressData>;
|
|
984
|
+
protected formattedAddress: _angular_core.Signal<string>;
|
|
985
|
+
protected hasValue: _angular_core.Signal<boolean>;
|
|
986
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPAddressWidgetViewComponent, never>;
|
|
987
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPAddressWidgetViewComponent, "axp-address-widget-view", never, {}, {}, never, never, true, never>;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare class AXPAddressWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
991
|
+
protected clipboard: AXPClipBoardService;
|
|
992
|
+
private addressService;
|
|
993
|
+
protected normalizedValue: _angular_core.Signal<AXPAddressData | null>;
|
|
994
|
+
protected formattedAddress: _angular_core.Signal<string>;
|
|
995
|
+
protected hasValue: _angular_core.Signal<boolean>;
|
|
996
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPAddressWidgetColumnComponent, never>;
|
|
997
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPAddressWidgetColumnComponent, "axp-address-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
interface AXPAddressFormContentOptions {
|
|
1001
|
+
labels?: AXPAddressLabel[];
|
|
1002
|
+
hasMap: boolean;
|
|
1003
|
+
addressData?: Partial<AXPAddressData>;
|
|
1004
|
+
}
|
|
1005
|
+
declare class AXPAddressWidgetService {
|
|
1006
|
+
private readonly layoutBuilder;
|
|
1007
|
+
private readonly translationService;
|
|
1008
|
+
/**
|
|
1009
|
+
* Builds the address form content (street1, street2, country, state, city, postalCode, label, map).
|
|
1010
|
+
* Used by both the dialog and the expandable inline layout via create().flex().build().
|
|
1011
|
+
*/
|
|
1012
|
+
buildAddressFormContent(flex: any, options: AXPAddressFormContentOptions): void;
|
|
1013
|
+
/**
|
|
1014
|
+
* Returns the address form layout node using layoutBuilder.create().flex().build() for use in axp-layout-renderer.
|
|
1015
|
+
*/
|
|
1016
|
+
getAddressFormLayout(options: AXPAddressFormContentOptions): AXPWidgetNode;
|
|
1017
|
+
/**
|
|
1018
|
+
* Formats address data into full address string
|
|
1019
|
+
* Format: [street1], [street2], [country] - [state], [city], [postalCode]
|
|
1020
|
+
* Uses titles from exposed fields, excludes coordinates
|
|
1021
|
+
*/
|
|
1022
|
+
formatAddress(data: Partial<AXPAddressData>): string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Shows address details popup dialog using the shared address form layout.
|
|
1025
|
+
*/
|
|
1026
|
+
showAddressDetailsPopup(addressData: Partial<AXPAddressData>, labels?: AXPAddressLabel[], hasMap?: boolean): Promise<AXPAddressData | null>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Normalizes address data from various input formats
|
|
1029
|
+
*/
|
|
1030
|
+
normalizeAddressData(value: Partial<AXPAddressData> | AXPAddressData | string | null | undefined): AXPAddressData;
|
|
1031
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPAddressWidgetService, never>;
|
|
1032
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPAddressWidgetService>;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
declare class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string> {
|
|
648
1036
|
#private;
|
|
649
1037
|
private formatter;
|
|
650
1038
|
private settingsService;
|
|
651
|
-
protected convertedValue: _angular_core.WritableSignal<string |
|
|
652
|
-
protected multiple: boolean;
|
|
1039
|
+
protected convertedValue: _angular_core.WritableSignal<string | null>;
|
|
653
1040
|
protected dateMode: _angular_core.Signal<"short" | "long">;
|
|
654
1041
|
protected format: _angular_core.Signal<"date" | "datetime" | "time">;
|
|
655
1042
|
private updateValue;
|
|
656
1043
|
protected handleFormat(value: string): Promise<string>;
|
|
657
|
-
protected isArray(val: any): val is any[];
|
|
658
1044
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetColumnComponent, never>;
|
|
659
1045
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetColumnComponent, "axp-date-time-box-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
660
1046
|
}
|
|
661
1047
|
|
|
662
|
-
declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<string
|
|
1048
|
+
declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
663
1049
|
#private;
|
|
664
1050
|
protected validationService: AXValidationService;
|
|
665
1051
|
private settingsService;
|
|
666
1052
|
protected validationMessage?: string | null;
|
|
667
|
-
protected multiple: Signal<boolean>;
|
|
668
1053
|
protected clearButton: Signal<boolean>;
|
|
1054
|
+
protected minValue: Signal<string>;
|
|
1055
|
+
protected maxValue: Signal<string>;
|
|
669
1056
|
protected dateMode: Signal<"short" | "long">;
|
|
670
1057
|
protected format: Signal<"date" | "datetime" | "time">;
|
|
671
1058
|
protected disabled: Signal<boolean>;
|
|
672
1059
|
protected readonly: Signal<boolean>;
|
|
673
1060
|
protected placeholder: Signal<string>;
|
|
674
|
-
protected internalValue: Signal<string
|
|
675
|
-
|
|
1061
|
+
protected internalValue: Signal<string>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Syncs context only for user-driven changes (same pattern as `AXPValueWidgetComponent.handleValueChanged`).
|
|
1064
|
+
*/
|
|
1065
|
+
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
676
1066
|
protected calendarFormat: _angular_core.WritableSignal<string>;
|
|
677
|
-
protected addItem(): void;
|
|
678
|
-
protected deleteItem(i: number): void;
|
|
679
1067
|
private get __class();
|
|
680
1068
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetEditComponent, never>;
|
|
681
1069
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetEditComponent, "axp-date-time-box-widget-edit", never, {}, {}, never, never, true, never>;
|
|
682
1070
|
}
|
|
683
1071
|
|
|
684
|
-
declare class AXPDateTimeBoxWidgetViewComponent extends AXPValueWidgetComponent<string
|
|
1072
|
+
declare class AXPDateTimeBoxWidgetViewComponent extends AXPValueWidgetComponent<string> {
|
|
685
1073
|
#private;
|
|
686
1074
|
private formatter;
|
|
687
1075
|
private settingsService;
|
|
688
|
-
protected multiple: _angular_core.Signal<boolean>;
|
|
689
1076
|
protected dateMode: _angular_core.Signal<"short" | "long">;
|
|
690
|
-
protected convertedValue: _angular_core.WritableSignal<string |
|
|
1077
|
+
protected convertedValue: _angular_core.WritableSignal<string | null>;
|
|
691
1078
|
protected format: _angular_core.Signal<"date" | "datetime" | "time">;
|
|
692
1079
|
private updateValue;
|
|
693
1080
|
protected handleFormat(value: string): Promise<string>;
|
|
694
|
-
protected isArray(val: any): val is any[];
|
|
695
1081
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetViewComponent, never>;
|
|
696
1082
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetViewComponent, "axp-date-time-box-widget-view", never, {}, {}, never, never, true, never>;
|
|
697
1083
|
}
|
|
@@ -703,18 +1089,15 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
703
1089
|
}
|
|
704
1090
|
}
|
|
705
1091
|
interface AXPDateTimeBoxWidgetDesignerOptions {
|
|
706
|
-
multiple?: boolean;
|
|
707
1092
|
clearButton?: boolean;
|
|
708
1093
|
format?: any;
|
|
709
1094
|
disabled?: boolean;
|
|
710
1095
|
placeholder?: string;
|
|
711
1096
|
}
|
|
712
1097
|
interface AXPDateTimeBoxWidgetViewOptions {
|
|
713
|
-
multiple?: boolean;
|
|
714
1098
|
format?: any;
|
|
715
1099
|
}
|
|
716
1100
|
interface AXPDateTimeBoxWidgetEditOptions {
|
|
717
|
-
multiple?: boolean;
|
|
718
1101
|
clearButton?: boolean;
|
|
719
1102
|
format?: any;
|
|
720
1103
|
disabled?: boolean;
|
|
@@ -722,7 +1105,6 @@ interface AXPDateTimeBoxWidgetEditOptions {
|
|
|
722
1105
|
placeholder?: string;
|
|
723
1106
|
}
|
|
724
1107
|
interface AXPDateTimeBoxWidgetColumnOptions {
|
|
725
|
-
multiple?: boolean;
|
|
726
1108
|
format?: any;
|
|
727
1109
|
}
|
|
728
1110
|
interface AXPDateTimeBoxWidgetPrintOptions {
|
|
@@ -796,7 +1178,7 @@ interface AXPEditorJsWidgetOptions {
|
|
|
796
1178
|
column: AXPEditorJsWidgetColumnOptions;
|
|
797
1179
|
}
|
|
798
1180
|
|
|
799
|
-
declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent<string> {
|
|
1181
|
+
declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent<string | Record<string, string> | undefined> {
|
|
800
1182
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLargeTextWidgetColumnComponent, never>;
|
|
801
1183
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLargeTextWidgetColumnComponent, "axp-large-text-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
802
1184
|
}
|
|
@@ -816,15 +1198,11 @@ declare class AXPLargeTextWidgetEditComponent extends AXPValueWidgetComponent<st
|
|
|
816
1198
|
handleValueChange(e: AXValueChangedEvent): void;
|
|
817
1199
|
protected openMultiLanguagePopup(): void;
|
|
818
1200
|
protected getCurrentText: _angular_core.Signal<string>;
|
|
819
|
-
private getTranslations;
|
|
820
1201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLargeTextWidgetEditComponent, never>;
|
|
821
1202
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLargeTextWidgetEditComponent, "axp-large-text-box-widget-edit", never, { "disabled": { "alias": "disabled"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
822
1203
|
}
|
|
823
1204
|
|
|
824
1205
|
declare class AXPLargeTextWidgetViewComponent extends AXPValueWidgetComponent<string | Record<string, string> | undefined> {
|
|
825
|
-
private readonly translation;
|
|
826
|
-
private readonly currentLanguage;
|
|
827
|
-
protected displayText: _angular_core.Signal<string>;
|
|
828
1206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLargeTextWidgetViewComponent, never>;
|
|
829
1207
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLargeTextWidgetViewComponent, "axp-large-text-widget-view", never, {}, {}, never, never, true, never>;
|
|
830
1208
|
}
|
|
@@ -879,7 +1257,7 @@ declare class AXPListWidgetViewComponent extends AXPValueWidgetComponent<AXPDrag
|
|
|
879
1257
|
}
|
|
880
1258
|
|
|
881
1259
|
declare class AXPListWidgetColumnComponent extends AXPColumnWidgetComponent<AXPDragDropListItem[] | null | undefined> {
|
|
882
|
-
protected allItems:
|
|
1260
|
+
protected allItems: () => AXPDragDropListItem[];
|
|
883
1261
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPListWidgetColumnComponent, never>;
|
|
884
1262
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPListWidgetColumnComponent, "axp-drag-drop-list-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
885
1263
|
}
|
|
@@ -1197,9 +1575,12 @@ interface AXPRatePickerWidgetOptions {
|
|
|
1197
1575
|
declare class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent<string | Record<string, string> | null | undefined> {
|
|
1198
1576
|
private platform;
|
|
1199
1577
|
private readonly layoutBuilder;
|
|
1200
|
-
private readonly
|
|
1201
|
-
|
|
1202
|
-
protected
|
|
1578
|
+
private readonly mlResolver;
|
|
1579
|
+
/** Plain-text length threshold: above this, cell is clamped and clickable for full preview. */
|
|
1580
|
+
protected previewMaxChars(): number;
|
|
1581
|
+
/** Whether resolved HTML is long enough to warrant truncation + popup. */
|
|
1582
|
+
protected isTruncatedPreview(resolvedHtml: string): boolean;
|
|
1583
|
+
protected onExpandClick(event: AXClickEvent): void;
|
|
1203
1584
|
protected openPopup(): Promise<void>;
|
|
1204
1585
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRichTextWidgetColumnComponent, never>;
|
|
1205
1586
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRichTextWidgetColumnComponent, "axp-rich-text-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1216,11 +1597,9 @@ declare class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent<str
|
|
|
1216
1597
|
private popupService;
|
|
1217
1598
|
private translationService;
|
|
1218
1599
|
currentLanguage: _angular_core.Signal<string>;
|
|
1219
|
-
protected getLinePx(count: number): string;
|
|
1220
1600
|
ngOnInit(): void;
|
|
1221
1601
|
protected getCurrentText: _angular_core.Signal<string>;
|
|
1222
1602
|
protected openMultiLanguagePopup(): Promise<void>;
|
|
1223
|
-
private getTranslations;
|
|
1224
1603
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRichTextWidgetEditComponent, never>;
|
|
1225
1604
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRichTextWidgetEditComponent, "axp-rich-text-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1226
1605
|
}
|
|
@@ -1228,9 +1607,13 @@ declare class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent<str
|
|
|
1228
1607
|
declare class AXPRichTextWidgetViewComponent extends AXPValueWidgetComponent<string | Record<string, string> | undefined> {
|
|
1229
1608
|
private platform;
|
|
1230
1609
|
private readonly layoutBuilder;
|
|
1231
|
-
private readonly
|
|
1610
|
+
private readonly mlResolver;
|
|
1232
1611
|
private readonly currentLanguage;
|
|
1612
|
+
/** Resolved HTML for inline snippet and preview dialog. */
|
|
1233
1613
|
protected displayHtml: _angular_core.Signal<string>;
|
|
1614
|
+
/** Full-body preview (dialogs) vs truncated grid snippet. */
|
|
1615
|
+
protected showFullContent: _angular_core.Signal<boolean>;
|
|
1616
|
+
protected previewMaxHeightPx: _angular_core.Signal<number>;
|
|
1234
1617
|
protected openPopup(): Promise<void>;
|
|
1235
1618
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRichTextWidgetViewComponent, never>;
|
|
1236
1619
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRichTextWidgetViewComponent, "axp-rich-text-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -1252,6 +1635,10 @@ interface AXPRichTextWidgetDesignerOptions {
|
|
|
1252
1635
|
fitLineCount?: boolean;
|
|
1253
1636
|
}
|
|
1254
1637
|
interface AXPRichTextWidgetViewOptions {
|
|
1638
|
+
/** Scrollable full HTML in view mode (e.g. layout-builder preview dialogs). */
|
|
1639
|
+
showFullContent?: boolean;
|
|
1640
|
+
/** Max height in px when `showFullContent` is true; defaults to 400. */
|
|
1641
|
+
height?: number;
|
|
1255
1642
|
}
|
|
1256
1643
|
interface AXPRichTextWidgetEditOptions {
|
|
1257
1644
|
placeholder?: string;
|
|
@@ -1263,6 +1650,11 @@ interface AXPRichTextWidgetEditOptions {
|
|
|
1263
1650
|
fitLineCount?: boolean;
|
|
1264
1651
|
}
|
|
1265
1652
|
interface AXPRichTextWidgetColumnOptions {
|
|
1653
|
+
/**
|
|
1654
|
+
* Plain-text length above which the grid cell is line-clamped and opens the preview dialog on click.
|
|
1655
|
+
* @default 100
|
|
1656
|
+
*/
|
|
1657
|
+
previewMaxChars?: number;
|
|
1266
1658
|
}
|
|
1267
1659
|
interface AXPRichTextWidgetPrintOptions {
|
|
1268
1660
|
}
|
|
@@ -1285,13 +1677,6 @@ declare class AXPSelectBoxWidgetColumnComponent extends AXPColumnWidgetComponent
|
|
|
1285
1677
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectBoxWidgetColumnComponent, "axp-select-box-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
1286
1678
|
}
|
|
1287
1679
|
|
|
1288
|
-
interface StrategyConfig {
|
|
1289
|
-
selectValueStrategy: 'valueField' | 'item';
|
|
1290
|
-
lookupValueStrategy: 'valueField' | 'item';
|
|
1291
|
-
}
|
|
1292
|
-
declare const DEFAULT_STRATEGY_CONFIG: StrategyConfig;
|
|
1293
|
-
declare const STRATEGY_CONFIG_TOKEN: InjectionToken<StrategyConfig>;
|
|
1294
|
-
|
|
1295
1680
|
declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
1296
1681
|
#private;
|
|
1297
1682
|
private selectBox;
|
|
@@ -1313,7 +1698,15 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1313
1698
|
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
1314
1699
|
protected allowSearch: _angular_core.Signal<boolean>;
|
|
1315
1700
|
protected filter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
1701
|
+
protected filterMode: _angular_core.Signal<boolean>;
|
|
1702
|
+
/** For filter mode: display valueField from object to avoid [object Object] when value is stored as full item */
|
|
1703
|
+
protected selectFilterDisplayValue: _angular_core.Signal<any>;
|
|
1316
1704
|
protected searchValue: _angular_core.WritableSignal<string | undefined>;
|
|
1705
|
+
private lastDataSource;
|
|
1706
|
+
private hasSeenDataSource;
|
|
1707
|
+
private shouldFocus;
|
|
1708
|
+
eff: _angular_core.EffectRef;
|
|
1709
|
+
focus(): void;
|
|
1317
1710
|
protected outputs(): (string | {
|
|
1318
1711
|
name: string;
|
|
1319
1712
|
value: unknown;
|
|
@@ -1328,6 +1721,11 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1328
1721
|
* Return a single value for single-select, or the full list for multi-select
|
|
1329
1722
|
*/
|
|
1330
1723
|
private singleOrMultiple;
|
|
1724
|
+
/**
|
|
1725
|
+
* In filterMode, widget context stores values as `{ value, operation, displayText }`.
|
|
1726
|
+
* DataSource filtering expects the raw scalar/array value, so unwrap `value.value`.
|
|
1727
|
+
*/
|
|
1728
|
+
private normalizeFilterValues;
|
|
1331
1729
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectBoxWidgetEditComponent, never>;
|
|
1332
1730
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectBoxWidgetEditComponent, "axp-select-box-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1333
1731
|
}
|
|
@@ -1424,12 +1822,8 @@ declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetCompo
|
|
|
1424
1822
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectionListWidgetEditComponent, "axp-selection-list-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1425
1823
|
}
|
|
1426
1824
|
|
|
1427
|
-
declare class AXPSelectionListWidgetViewComponent extends
|
|
1428
|
-
protected items: _angular_core.Signal<any[]>;
|
|
1429
|
-
protected valueField: _angular_core.Signal<string>;
|
|
1430
|
-
protected textField: _angular_core.Signal<string>;
|
|
1825
|
+
declare class AXPSelectionListWidgetViewComponent extends AXPDataListWidgetComponent {
|
|
1431
1826
|
protected imageMode: _angular_core.Signal<boolean>;
|
|
1432
|
-
protected internalValue: _angular_core.Signal<any[]>;
|
|
1433
1827
|
private get __class();
|
|
1434
1828
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectionListWidgetViewComponent, never>;
|
|
1435
1829
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectionListWidgetViewComponent, "axp-selection-list-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -1627,9 +2021,7 @@ interface AXPTemplateBoxWidgetOptions {
|
|
|
1627
2021
|
column: AXPTemplateBoxWidgetColumnOptions;
|
|
1628
2022
|
}
|
|
1629
2023
|
|
|
1630
|
-
declare class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string | Record<string, string
|
|
1631
|
-
private translationService;
|
|
1632
|
-
protected displayText: _angular_core.Signal<string>;
|
|
2024
|
+
declare class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string | Record<string, string> | undefined> {
|
|
1633
2025
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTextBoxWidgetColumnComponent, never>;
|
|
1634
2026
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTextBoxWidgetColumnComponent, "axp-text-box-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
1635
2027
|
}
|
|
@@ -1642,20 +2034,19 @@ declare class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent<stri
|
|
|
1642
2034
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1643
2035
|
protected readonly: _angular_core.Signal<boolean>;
|
|
1644
2036
|
protected placeholder: _angular_core.Signal<string>;
|
|
2037
|
+
protected maskPattern: _angular_core.Signal<string>;
|
|
2038
|
+
protected customTokens: _angular_core.Signal<AXMaskTokens>;
|
|
1645
2039
|
currentLanguage: _angular_core.WritableSignal<string>;
|
|
1646
2040
|
ngOnInit(): void;
|
|
1647
2041
|
protected onTextChanged(e: AXValueChangedEvent<string>): void;
|
|
1648
2042
|
protected getCurrentText(): string;
|
|
1649
2043
|
protected openMultiLanguagePopup(): Promise<void>;
|
|
1650
|
-
private getTranslations;
|
|
1651
2044
|
private get __class();
|
|
1652
2045
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTextBoxWidgetEditComponent, never>;
|
|
1653
2046
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTextBoxWidgetEditComponent, "axp-text-box-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1654
2047
|
}
|
|
1655
2048
|
|
|
1656
2049
|
declare class AXPTextBoxWidgetViewComponent extends AXPValueWidgetComponent<string | Record<string, string>> {
|
|
1657
|
-
private translationService;
|
|
1658
|
-
protected displayText: _angular_core.Signal<string>;
|
|
1659
2050
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTextBoxWidgetViewComponent, never>;
|
|
1660
2051
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTextBoxWidgetViewComponent, "axp-text-box-widget-view", never, {}, {}, never, never, true, never>;
|
|
1661
2052
|
}
|
|
@@ -1891,18 +2282,74 @@ interface AXPCodeEditorWidgetOptions {
|
|
|
1891
2282
|
};
|
|
1892
2283
|
}
|
|
1893
2284
|
|
|
2285
|
+
/**
|
|
2286
|
+
* Prefix for row-level expression strings so widget-renderer does not evaluate them
|
|
2287
|
+
* (renderer only evaluates strings that look like {{ ... }}). Data-list evaluates
|
|
2288
|
+
* these per row with row data scope.
|
|
2289
|
+
*/
|
|
2290
|
+
declare const AXP_ROW_EXPR_PREFIX = "__expr:";
|
|
2291
|
+
/** Built-in row command names (edit component). */
|
|
2292
|
+
declare const AXP_DATA_LIST_CMD_EDIT = "__dl-edit";
|
|
2293
|
+
declare const AXP_DATA_LIST_CMD_DELETE = "__dl-delete";
|
|
2294
|
+
/**
|
|
2295
|
+
* Row marked for removal in edit mode only (not persisted until form Save).
|
|
2296
|
+
* Stripped / filtered in {@link sanitizeDataListRowsForPersist}.
|
|
2297
|
+
*/
|
|
2298
|
+
declare const AXP_DATA_LIST_PENDING_DELETE_KEY = "__axpDataListPendingDelete";
|
|
1894
2299
|
interface AXPDataListWidgetColumn {
|
|
1895
2300
|
name: string;
|
|
1896
2301
|
title?: string;
|
|
1897
2302
|
width?: string;
|
|
1898
2303
|
visible?: boolean;
|
|
1899
2304
|
fixed?: 'start' | 'end';
|
|
2305
|
+
/** Optional schema (domain standard); drives cell/editor widget via interface.name when set. */
|
|
2306
|
+
schema?: Partial<AXPPropertyDefinition>;
|
|
1900
2307
|
widget?: {
|
|
1901
2308
|
type: string;
|
|
1902
2309
|
path?: string;
|
|
1903
2310
|
options?: any;
|
|
1904
2311
|
};
|
|
1905
2312
|
}
|
|
2313
|
+
/** Toggle built-in row/header commands in edit mode (defaults true when omitted). */
|
|
2314
|
+
interface AXPDataListWidgetCommandsOptions {
|
|
2315
|
+
add?: boolean;
|
|
2316
|
+
edit?: boolean;
|
|
2317
|
+
remove?: boolean;
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* How header `command` result `data` is merged into the bound list.
|
|
2321
|
+
* - `append-row` / `prepend-row`: reads `data.items`, `data.item`, `data.row`, a plain object, or an array of rows.
|
|
2322
|
+
* - `replace-value`: replaces the whole list with an array from `data` or `data.rows` / `data.value`.
|
|
2323
|
+
* - `none`: no list mutation (command handled persistence or side effects only).
|
|
2324
|
+
*/
|
|
2325
|
+
type AXPDataListHeaderCommandApplyMode = 'append-row' | 'prepend-row' | 'replace-value' | 'none';
|
|
2326
|
+
/**
|
|
2327
|
+
* Runs a registered platform command (`AXPCommandExecutor.execute`); optional `applyMode` merges result into the list.
|
|
2328
|
+
* Entity- or feature-specific behavior lives in the command implementation, not inside the data-list widget.
|
|
2329
|
+
*/
|
|
2330
|
+
interface AXPDataListWidgetHeaderCommandAction {
|
|
2331
|
+
kind: 'command';
|
|
2332
|
+
/** Registry key, e.g. `PlatformManagement:DataListPickEntityItem` */
|
|
2333
|
+
command: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* `primary`: toolbar button next to Add Row. `secondary`: grouped under the Actions dropdown (master list pattern).
|
|
2336
|
+
* @default undefined — treated as primary for backward compatibility.
|
|
2337
|
+
*/
|
|
2338
|
+
priority?: 'primary' | 'secondary';
|
|
2339
|
+
title?: string;
|
|
2340
|
+
icon?: string;
|
|
2341
|
+
color?: string;
|
|
2342
|
+
/** Default `append-row` */
|
|
2343
|
+
applyMode?: AXPDataListHeaderCommandApplyMode;
|
|
2344
|
+
/** Target row path <- lodash path on each source item (after command returns). */
|
|
2345
|
+
fieldMap?: Record<string, string>;
|
|
2346
|
+
/** Merged into the command execute input (e.g. `entity`, `columns`). */
|
|
2347
|
+
payload?: Record<string, unknown>;
|
|
2348
|
+
/** When set with append/prepend, opens the row editor popup for each mapped row before applying. */
|
|
2349
|
+
openRowEditorAfter?: boolean;
|
|
2350
|
+
}
|
|
2351
|
+
/** Declarative header action (serializable in entity JSON). */
|
|
2352
|
+
type AXPDataListWidgetHeaderAction = AXPDataListWidgetHeaderCommandAction;
|
|
1906
2353
|
interface AXPDataListWidgetRowCommand {
|
|
1907
2354
|
name: string;
|
|
1908
2355
|
text: string;
|
|
@@ -1951,6 +2398,12 @@ declare class AXPDataListWidgetViewComponent extends AXPValueWidgetComponent<any
|
|
|
1951
2398
|
protected primaryCommands: Signal<AXRowCommandItem[]>;
|
|
1952
2399
|
protected secondaryCommands: Signal<AXPDataListWidgetRowCommand[]>;
|
|
1953
2400
|
protected evaluatedSecondaryCommands: (rowData: any) => Promise<AXRowCommandItem[]>;
|
|
2401
|
+
/**
|
|
2402
|
+
* Evaluates hidden/disabled: if value is wrapped with AXP_ROW_EXPR_PREFIX (so it was
|
|
2403
|
+
* not evaluated by widget-renderer), unwraps and evaluates with row scope; otherwise
|
|
2404
|
+
* treats as boolean or evaluates as expression.
|
|
2405
|
+
*/
|
|
2406
|
+
private evaluateRowExpr;
|
|
1954
2407
|
ngOnInit(): void;
|
|
1955
2408
|
protected loading: Signal<{
|
|
1956
2409
|
enabled: any;
|
|
@@ -1982,6 +2435,12 @@ declare const AXPDataListWidget: AXPWidgetConfig;
|
|
|
1982
2435
|
interface AXPDataListWidgetViewOptions {
|
|
1983
2436
|
dataSource?: AXDataSource;
|
|
1984
2437
|
columns?: AXPDataListWidgetColumn[];
|
|
2438
|
+
/** When true, edit mode hides add/row/header actions and treats cells as read-only (entity read-only field). */
|
|
2439
|
+
disabled?: boolean;
|
|
2440
|
+
/** Edit mode: built-in add/edit/remove toggles (default all on). */
|
|
2441
|
+
commands?: AXPDataListWidgetCommandsOptions;
|
|
2442
|
+
/** Edit mode: header toolbar actions (`command` + `applyMode`; see data-list-widget.types). */
|
|
2443
|
+
headerActions?: AXPDataListWidgetHeaderAction[];
|
|
1985
2444
|
primaryCommands?: AXPDataListWidgetRowCommand[];
|
|
1986
2445
|
secondaryCommands?: AXPDataListWidgetRowCommand[];
|
|
1987
2446
|
showIndex?: boolean;
|
|
@@ -2017,6 +2476,8 @@ declare class AXPEditFileUploaderCommand implements AXPCommand<{
|
|
|
2017
2476
|
options?: unknown;
|
|
2018
2477
|
}[];
|
|
2019
2478
|
excludePlugins?: string[];
|
|
2479
|
+
enableTitleDescription?: boolean;
|
|
2480
|
+
isNewFile?: boolean;
|
|
2020
2481
|
}, AXPFileListItem> {
|
|
2021
2482
|
private readonly layoutBuilder;
|
|
2022
2483
|
private readonly translationService;
|
|
@@ -2028,6 +2489,8 @@ declare class AXPEditFileUploaderCommand implements AXPCommand<{
|
|
|
2028
2489
|
options?: unknown;
|
|
2029
2490
|
}[];
|
|
2030
2491
|
excludePlugins?: string[];
|
|
2492
|
+
enableTitleDescription?: boolean;
|
|
2493
|
+
isNewFile?: boolean;
|
|
2031
2494
|
}): Promise<AXPExecuteCommandResult<AXPFileListItem>>;
|
|
2032
2495
|
private showEditDialog;
|
|
2033
2496
|
/**
|
|
@@ -2058,6 +2521,8 @@ declare class AXPFileListComponent implements OnInit, OnDestroy {
|
|
|
2058
2521
|
onRename: _angular_core.OutputEmitterRef<AXPFileListItem>;
|
|
2059
2522
|
readonly: _angular_core.InputSignal<boolean>;
|
|
2060
2523
|
fileEditable: _angular_core.InputSignal<boolean>;
|
|
2524
|
+
/** When true, edit dialog shows name, title and description fields. Default false. */
|
|
2525
|
+
enableTitleDescription: _angular_core.InputSignal<boolean>;
|
|
2061
2526
|
multiple: _angular_core.InputSignal<boolean>;
|
|
2062
2527
|
files: _angular_core.InputSignal<AXPFileListItem[]>;
|
|
2063
2528
|
plugins: _angular_core.InputSignal<{
|
|
@@ -2065,7 +2530,7 @@ declare class AXPFileListComponent implements OnInit, OnDestroy {
|
|
|
2065
2530
|
options?: unknown;
|
|
2066
2531
|
}[] | undefined>;
|
|
2067
2532
|
excludePlugins: _angular_core.InputSignal<string[] | undefined>;
|
|
2068
|
-
|
|
2533
|
+
capabilities: _angular_core.InputSignal<AXCFileUploaderCapabilities | undefined>;
|
|
2069
2534
|
/**
|
|
2070
2535
|
* All files should be displayed, even those with `deleted` status.
|
|
2071
2536
|
* The template will handle the visual differences based on the status.
|
|
@@ -2075,6 +2540,8 @@ declare class AXPFileListComponent implements OnInit, OnDestroy {
|
|
|
2075
2540
|
private globalActions;
|
|
2076
2541
|
private filesChangeEffect;
|
|
2077
2542
|
private getDefaultActions;
|
|
2543
|
+
/** True when the widget is readonly or this file row is locked (`readOnly`). */
|
|
2544
|
+
isItemInteractionLocked(file: AXPFileListItem): boolean;
|
|
2078
2545
|
actionsFor(file: AXPFileListItem, index: number): any[];
|
|
2079
2546
|
private loadActionsFor;
|
|
2080
2547
|
ngOnInit(): Promise<void>;
|
|
@@ -2097,10 +2564,10 @@ declare class AXPFileListComponent implements OnInit, OnDestroy {
|
|
|
2097
2564
|
runAction(action: any): Promise<void>;
|
|
2098
2565
|
protected getActionColor(action: any): string;
|
|
2099
2566
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileListComponent, never>;
|
|
2100
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPFileListComponent, "axp-file-list", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "fileEditable": { "alias": "fileEditable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; "excludePlugins": { "alias": "excludePlugins"; "required": false; "isSignal": true; }; "
|
|
2567
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPFileListComponent, "axp-file-list", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "fileEditable": { "alias": "fileEditable"; "required": false; "isSignal": true; }; "enableTitleDescription": { "alias": "enableTitleDescription"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; "excludePlugins": { "alias": "excludePlugins"; "required": false; "isSignal": true; }; "capabilities": { "alias": "capabilities"; "required": false; "isSignal": true; }; }, { "onRemove": "onRemove"; "onRevert": "onRevert"; "onRename": "onRename"; }, never, never, true, never>;
|
|
2101
2568
|
}
|
|
2102
2569
|
|
|
2103
|
-
declare class AXPFileUploaderWidgetColumnComponent extends AXPColumnWidgetComponent<
|
|
2570
|
+
declare class AXPFileUploaderWidgetColumnComponent extends AXPColumnWidgetComponent<AXPFileListItem[]> {
|
|
2104
2571
|
protected count: _angular_core.Signal<number>;
|
|
2105
2572
|
private fileService;
|
|
2106
2573
|
openFileList(): Promise<void>;
|
|
@@ -2108,20 +2575,11 @@ declare class AXPFileUploaderWidgetColumnComponent extends AXPColumnWidgetCompon
|
|
|
2108
2575
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPFileUploaderWidgetColumnComponent, "axp-file-uploader-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2109
2576
|
}
|
|
2110
2577
|
|
|
2111
|
-
interface FileUploaderActionContext {
|
|
2112
|
-
host: AXPFileUploaderWidgetEditComponent;
|
|
2113
|
-
}
|
|
2114
|
-
interface FileUploaderAction {
|
|
2115
|
-
plugin: string;
|
|
2116
|
-
global?: boolean;
|
|
2117
|
-
text?: string;
|
|
2118
|
-
textKey?: string;
|
|
2119
|
-
icon?: string;
|
|
2120
|
-
run: (ctx: FileUploaderActionContext) => void | Promise<void>;
|
|
2121
|
-
}
|
|
2122
2578
|
declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent<AXPFileListItem[] | undefined> {
|
|
2123
2579
|
protected readonly fileService: AXFileService;
|
|
2124
2580
|
private readonly hooks;
|
|
2581
|
+
private readonly fileActionsService;
|
|
2582
|
+
private readonly commandExecutor;
|
|
2125
2583
|
protected multiple: _angular_core.Signal<boolean>;
|
|
2126
2584
|
private readonly acceptOverride;
|
|
2127
2585
|
protected accept: _angular_core.Signal<string>;
|
|
@@ -2132,19 +2590,26 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
2132
2590
|
protected pluginNames: _angular_core.Signal<string[]>;
|
|
2133
2591
|
protected excludePlugins: _angular_core.Signal<string[]>;
|
|
2134
2592
|
protected fileEditable: _angular_core.Signal<boolean>;
|
|
2593
|
+
protected enableTitleDescription: _angular_core.Signal<boolean>;
|
|
2594
|
+
/** When true, show the edit dialog (name/title/description + plugin hooks) after each file select; otherwise add to list and user edits via Edit button. */
|
|
2595
|
+
protected showEditDialogAfterSelect: _angular_core.Signal<boolean>;
|
|
2135
2596
|
protected readonly: _angular_core.Signal<boolean>;
|
|
2136
2597
|
protected maxFileSize: _angular_core.Signal<number>;
|
|
2137
2598
|
protected isDragOver: _angular_core.WritableSignal<boolean>;
|
|
2138
2599
|
private readonly innerActions;
|
|
2139
|
-
protected fileActions: _angular_core.Signal<
|
|
2600
|
+
protected readonly fileActions: _angular_core.Signal<AXCFileUploaderAction[]>;
|
|
2140
2601
|
ngOnInit(): void;
|
|
2141
2602
|
private loadActions;
|
|
2142
2603
|
private configureFromHooks;
|
|
2143
|
-
protected uploadFromComputer(): Promise<void>;
|
|
2144
2604
|
/**
|
|
2145
2605
|
* Process files from various sources (file picker, drag-drop, etc.)
|
|
2606
|
+
* When showEditDialogAfterSelect is true, the edit dialog (with plugin hooks) is shown per file before adding; otherwise files are added and user can edit via Edit button.
|
|
2146
2607
|
*/
|
|
2147
2608
|
private processFiles;
|
|
2609
|
+
/**
|
|
2610
|
+
* Show edit dialog per file and add only those submitted. Used when showEditDialogAfterSelect is true (both from zone and from dropdown actions).
|
|
2611
|
+
*/
|
|
2612
|
+
private addFilesWithEditDialogAsync;
|
|
2148
2613
|
protected files: _angular_core.Signal<AXPFileListItem[]>;
|
|
2149
2614
|
handleFileRemove(file: AXPFileListItem): void;
|
|
2150
2615
|
removeFile(file: AXPFileListItem): void;
|
|
@@ -2153,11 +2618,12 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
2153
2618
|
*/
|
|
2154
2619
|
handleFileRevert(file: AXPFileListItem): void;
|
|
2155
2620
|
/**
|
|
2156
|
-
* Handle file rename action
|
|
2621
|
+
* Handle file rename action. Persists name/title/description to file storage immediately when edited
|
|
2622
|
+
* so they are saved even if the entity payload does not carry these fields.
|
|
2157
2623
|
*/
|
|
2158
2624
|
handleFileRename(file: AXPFileListItem): void;
|
|
2159
2625
|
clear(): void;
|
|
2160
|
-
|
|
2626
|
+
protected readonly capabilities: AXCFileUploaderCapabilities;
|
|
2161
2627
|
onFileChange(event: {
|
|
2162
2628
|
event: Event;
|
|
2163
2629
|
files: File[];
|
|
@@ -2186,6 +2652,8 @@ interface AXPFileUploaderWidgetDesignerOptions {
|
|
|
2186
2652
|
readonly?: boolean;
|
|
2187
2653
|
fileEditable?: boolean;
|
|
2188
2654
|
maxFileSize?: number;
|
|
2655
|
+
enableTitleDescription?: boolean;
|
|
2656
|
+
showEditDialogAfterSelect?: boolean;
|
|
2189
2657
|
}
|
|
2190
2658
|
interface AXPFileUploaderWidgetViewOptions {
|
|
2191
2659
|
}
|
|
@@ -2200,6 +2668,8 @@ interface AXPFileUploaderWidgetEditOptions {
|
|
|
2200
2668
|
readonly?: boolean;
|
|
2201
2669
|
fileEditable?: boolean;
|
|
2202
2670
|
maxFileSize?: number;
|
|
2671
|
+
enableTitleDescription?: boolean;
|
|
2672
|
+
showEditDialogAfterSelect?: boolean;
|
|
2203
2673
|
}
|
|
2204
2674
|
interface AXPFileUploaderWidgetColumnOptions {
|
|
2205
2675
|
}
|
|
@@ -2222,23 +2692,93 @@ declare class AXPFileUploaderWidgetService {
|
|
|
2222
2692
|
private popupService;
|
|
2223
2693
|
private translate;
|
|
2224
2694
|
showFileList(options?: {
|
|
2225
|
-
files?: AXPFileListItem[]
|
|
2226
|
-
|
|
2695
|
+
files?: AXPFileListItem[];
|
|
2696
|
+
/** When true, user cannot add or change files (matches file-uploader widget options). */
|
|
2697
|
+
'readonly'?: boolean;
|
|
2227
2698
|
multiple?: boolean;
|
|
2228
2699
|
accept?: string;
|
|
2229
2700
|
fileEditable?: boolean;
|
|
2230
2701
|
maxFileSize?: number;
|
|
2702
|
+
/** Plugins (e.g. document plugin) so hooks/actions apply same as in widget. */
|
|
2703
|
+
plugins?: {
|
|
2704
|
+
name: string;
|
|
2705
|
+
options?: unknown;
|
|
2706
|
+
}[];
|
|
2707
|
+
/** Plugins to exclude. */
|
|
2708
|
+
excludePlugins?: string[];
|
|
2709
|
+
/** When true, file edit dialog shows name, title and description fields; otherwise only name (rename). Default false. */
|
|
2710
|
+
enableTitleDescription?: boolean;
|
|
2711
|
+
/** When true, show edit dialog (name/title/description + plugin hooks) after file select; default false. */
|
|
2712
|
+
showEditDialogAfterSelect?: boolean;
|
|
2231
2713
|
}): Promise<AXPFileListItem[] | undefined>;
|
|
2232
2714
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileUploaderWidgetService, never>;
|
|
2233
2715
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFileUploaderWidgetService>;
|
|
2234
2716
|
}
|
|
2235
2717
|
|
|
2236
|
-
declare class AXPGalleryWidgetEditComponent extends AXPValueWidgetComponent<
|
|
2718
|
+
declare class AXPGalleryWidgetEditComponent extends AXPValueWidgetComponent<AXPFileListItem[]> implements OnDestroy {
|
|
2237
2719
|
protected thumbnail: _angular_core.Signal<boolean>;
|
|
2238
2720
|
protected height: _angular_core.Signal<string>;
|
|
2239
2721
|
protected header: _angular_core.Signal<boolean>;
|
|
2240
2722
|
protected fileInfo: _angular_core.Signal<boolean>;
|
|
2241
2723
|
protected fullScreenButton: _angular_core.Signal<boolean>;
|
|
2724
|
+
protected downloadButton: _angular_core.Signal<boolean>;
|
|
2725
|
+
protected allowUploadTypes: _angular_core.Signal<string[]>;
|
|
2726
|
+
protected allowUpload: _angular_core.Signal<boolean>;
|
|
2727
|
+
protected plugins: _angular_core.Signal<{
|
|
2728
|
+
name: string;
|
|
2729
|
+
options?: unknown;
|
|
2730
|
+
}[]>;
|
|
2731
|
+
protected excludePlugins: _angular_core.Signal<string[]>;
|
|
2732
|
+
protected readonly fileService: AXFileService;
|
|
2733
|
+
private readonly hooks;
|
|
2734
|
+
private readonly fileActionsService;
|
|
2735
|
+
private readonly fileStorageService;
|
|
2736
|
+
private readonly loadingDialog;
|
|
2737
|
+
private readonly translationService;
|
|
2738
|
+
private gallery;
|
|
2739
|
+
/** Object URLs created for blobs/binary; revoked on destroy for memory safety. */
|
|
2740
|
+
private readonly objectUrls;
|
|
2741
|
+
/**
|
|
2742
|
+
* Convert AXPFileListItem[] to AXMediaViewerData[] for display in media viewer.
|
|
2743
|
+
* Uses lazy-loading callbacks for URL resolution.
|
|
2744
|
+
*/
|
|
2745
|
+
protected readonly mediaViewerData: _angular_core.Signal<AXMediaViewerData[]>;
|
|
2746
|
+
private readonly innerActions;
|
|
2747
|
+
protected readonly fileActions: _angular_core.Signal<AXCFileUploaderAction[]>;
|
|
2748
|
+
ngOnInit(): void;
|
|
2749
|
+
/** Downloads the file at the current media viewer index. */
|
|
2750
|
+
protected download(): Promise<void>;
|
|
2751
|
+
private loadActions;
|
|
2752
|
+
/**
|
|
2753
|
+
* Format file size with appropriate unit (B, KB, MB, GB, etc.)
|
|
2754
|
+
* Divides by 1000 until the value is less than 1000
|
|
2755
|
+
*/
|
|
2756
|
+
private formatFileSize;
|
|
2757
|
+
/**
|
|
2758
|
+
* Convert AXPFileListItem to AXMediaViewerData for display in media viewer.
|
|
2759
|
+
* Uses lazy-loading callbacks for URL and thumbnail resolution.
|
|
2760
|
+
*/
|
|
2761
|
+
private fileItemToMediaViewerData;
|
|
2762
|
+
/**
|
|
2763
|
+
* Resolve the URL for a file item.
|
|
2764
|
+
* Returns a promise that resolves to the file URL.
|
|
2765
|
+
*/
|
|
2766
|
+
/**
|
|
2767
|
+
* Register an object URL for later revocation on destroy (memory safety).
|
|
2768
|
+
*/
|
|
2769
|
+
private trackObjectUrl;
|
|
2770
|
+
private resolveFileUrl;
|
|
2771
|
+
ngOnDestroy(): void;
|
|
2772
|
+
protected readonly capabilities: AXCFileUploaderCapabilities;
|
|
2773
|
+
/**
|
|
2774
|
+
* Process files from various sources (file picker, drag-drop, etc.)
|
|
2775
|
+
* This method is called by drag-and-drop handler
|
|
2776
|
+
*/
|
|
2777
|
+
private processFiles;
|
|
2778
|
+
onFileChange(event: {
|
|
2779
|
+
event: Event;
|
|
2780
|
+
files: File[];
|
|
2781
|
+
}): void;
|
|
2242
2782
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGalleryWidgetEditComponent, never>;
|
|
2243
2783
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPGalleryWidgetEditComponent, "axp-gallery-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2244
2784
|
}
|
|
@@ -2255,13 +2795,20 @@ interface AXPMediaInfo {
|
|
|
2255
2795
|
}
|
|
2256
2796
|
|
|
2257
2797
|
declare class AXPGalleryWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
2798
|
+
private readonly loadingDialog;
|
|
2799
|
+
private readonly translationService;
|
|
2258
2800
|
protected internalValue: Signal<any[]>;
|
|
2259
2801
|
protected multiple: Signal<boolean>;
|
|
2260
2802
|
protected height: Signal<string>;
|
|
2803
|
+
protected header: Signal<boolean>;
|
|
2804
|
+
protected fullScreenButton: Signal<boolean>;
|
|
2805
|
+
protected downloadButton: Signal<boolean>;
|
|
2261
2806
|
protected thumbnails: Signal<AXPMediaItem[]>;
|
|
2262
2807
|
protected activeMedia: WritableSignal<AXPMediaItem | undefined>;
|
|
2263
2808
|
ngAfterViewInit(): void;
|
|
2264
2809
|
changeMediaSelected(media: AXPMediaItem): void;
|
|
2810
|
+
/** Downloads the currently active media file. */
|
|
2811
|
+
protected download(): Promise<void>;
|
|
2265
2812
|
protected getMediaInfo(mediaName: string): AXPMediaInfo;
|
|
2266
2813
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGalleryWidgetViewComponent, never>;
|
|
2267
2814
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPGalleryWidgetViewComponent, "axp-gallery-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -2476,8 +3023,43 @@ declare class AXPMapWidgetViewComponent extends AXPValueWidgetComponent<AXMapDat
|
|
|
2476
3023
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPMapWidgetViewComponent, "axp-map-box-widget-view", never, {}, {}, never, never, true, never>;
|
|
2477
3024
|
}
|
|
2478
3025
|
|
|
3026
|
+
declare class AXPQrcodeWidgetColumnComponent extends AXPColumnWidgetComponent<string> {
|
|
3027
|
+
private readonly layoutBuilder;
|
|
3028
|
+
size: _angular_core.Signal<number>;
|
|
3029
|
+
level: _angular_core.Signal<AXQrcodeLevel>;
|
|
3030
|
+
color: _angular_core.Signal<any>;
|
|
3031
|
+
outputType: _angular_core.Signal<any>;
|
|
3032
|
+
showPopup(): Promise<void>;
|
|
3033
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQrcodeWidgetColumnComponent, never>;
|
|
3034
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPQrcodeWidgetColumnComponent, "axp-qrcode-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
declare class AXPQrcodeWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
3038
|
+
protected value: _angular_core.Signal<string>;
|
|
3039
|
+
protected size: _angular_core.Signal<number>;
|
|
3040
|
+
protected level: _angular_core.Signal<AXQrcodeLevel>;
|
|
3041
|
+
protected color: _angular_core.Signal<string>;
|
|
3042
|
+
protected format: _angular_core.Signal<"jpg" | "png" | "svg">;
|
|
3043
|
+
protected draft: _angular_core.WritableSignal<string>;
|
|
3044
|
+
protected disabled: _angular_core.Signal<boolean>;
|
|
3045
|
+
protected readonly: _angular_core.Signal<boolean>;
|
|
3046
|
+
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
3047
|
+
protected placeholder: _angular_core.Signal<string>;
|
|
3048
|
+
protected onValueChange(e: AXValueChangedEvent): void;
|
|
3049
|
+
protected beginEdit(): void;
|
|
3050
|
+
protected onDraftChange(e: AXValueChangedEvent): void;
|
|
3051
|
+
protected applyDraft(): void;
|
|
3052
|
+
protected cancelEdit(): void;
|
|
3053
|
+
downloadQr(el: HTMLDivElement): void;
|
|
3054
|
+
private downloadSVGElement;
|
|
3055
|
+
private rasterizeAndDownload;
|
|
3056
|
+
clearValue(): void;
|
|
3057
|
+
onFileSelected(e: Event): Promise<void>;
|
|
3058
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQrcodeWidgetEditComponent, never>;
|
|
3059
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPQrcodeWidgetEditComponent, "axp-qrcode-widget-edit", never, {}, {}, never, never, true, never>;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
2479
3062
|
declare class AXPQrcodeWidgetViewComponent extends AXPValueWidgetComponent<string> {
|
|
2480
|
-
protected content: _angular_core.Signal<string>;
|
|
2481
3063
|
protected size: _angular_core.Signal<number>;
|
|
2482
3064
|
protected level: _angular_core.Signal<AXQrcodeLevel>;
|
|
2483
3065
|
protected color: _angular_core.Signal<string>;
|
|
@@ -2513,54 +3095,32 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
2513
3095
|
}
|
|
2514
3096
|
}
|
|
2515
3097
|
|
|
2516
|
-
declare class AXPQrcodeWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
2517
|
-
protected value: _angular_core.Signal<string>;
|
|
2518
|
-
protected size: _angular_core.Signal<number>;
|
|
2519
|
-
protected level: _angular_core.Signal<AXQrcodeLevel>;
|
|
2520
|
-
protected color: _angular_core.Signal<string>;
|
|
2521
|
-
protected format: _angular_core.Signal<"jpg" | "png" | "svg">;
|
|
2522
|
-
protected draft: _angular_core.WritableSignal<string>;
|
|
2523
|
-
protected disabled: _angular_core.Signal<boolean>;
|
|
2524
|
-
protected readonly: _angular_core.Signal<boolean>;
|
|
2525
|
-
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
2526
|
-
protected placeholder: _angular_core.Signal<string>;
|
|
2527
|
-
protected onValueChange(e: AXValueChangedEvent): void;
|
|
2528
|
-
protected beginEdit(): void;
|
|
2529
|
-
protected onDraftChange(e: AXValueChangedEvent): void;
|
|
2530
|
-
protected applyDraft(): void;
|
|
2531
|
-
protected cancelEdit(): void;
|
|
2532
|
-
downloadQr(el: HTMLDivElement): void;
|
|
2533
|
-
private downloadSVGElement;
|
|
2534
|
-
private rasterizeAndDownload;
|
|
2535
|
-
clearValue(): void;
|
|
2536
|
-
onFileSelected(e: Event): Promise<void>;
|
|
2537
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQrcodeWidgetEditComponent, never>;
|
|
2538
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPQrcodeWidgetEditComponent, "axp-qrcode-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2539
|
-
}
|
|
2540
|
-
|
|
2541
3098
|
declare class AXPSchedulerPickerWidgetColumnComponent extends AXPColumnWidgetComponent<AXSchedulerPickerValue | null> {
|
|
2542
3099
|
#private;
|
|
2543
3100
|
private readonly schedulerPickerService;
|
|
2544
3101
|
protected summary: _angular_core.WritableSignal<string>;
|
|
3102
|
+
private isSchedulerValue;
|
|
2545
3103
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSchedulerPickerWidgetColumnComponent, never>;
|
|
2546
3104
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSchedulerPickerWidgetColumnComponent, "axp-scheduler-picker-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
2547
3105
|
}
|
|
2548
3106
|
|
|
2549
3107
|
declare class AXPSchedulerPickerWidgetEditComponent extends AXPValueWidgetComponent<AXSchedulerPickerValue | null> {
|
|
3108
|
+
#private;
|
|
3109
|
+
private readonly schedulerPickerService;
|
|
2550
3110
|
protected internalValue: _angular_core.Signal<AXSchedulerPickerValue | null>;
|
|
2551
3111
|
protected settings: _angular_core.Signal<AXSchedulerPickerSettings>;
|
|
2552
3112
|
protected disabled: _angular_core.Signal<boolean>;
|
|
2553
3113
|
protected summary: _angular_core.WritableSignal<string>;
|
|
2554
|
-
protected onSummary(text: string): void;
|
|
2555
3114
|
protected onValueChange(val: AXSchedulerPickerValue | null): void;
|
|
2556
3115
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSchedulerPickerWidgetEditComponent, never>;
|
|
2557
3116
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSchedulerPickerWidgetEditComponent, "axp-scheduler-picker-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2558
3117
|
}
|
|
2559
3118
|
|
|
2560
|
-
declare class AXPSchedulerPickerWidgetViewComponent extends AXPValueWidgetComponent<AXSchedulerPickerValue | null> {
|
|
3119
|
+
declare class AXPSchedulerPickerWidgetViewComponent extends AXPValueWidgetComponent<AXSchedulerPickerValue | string | null> {
|
|
2561
3120
|
#private;
|
|
2562
3121
|
private readonly schedulerPickerService;
|
|
2563
3122
|
protected summary: _angular_core.WritableSignal<string>;
|
|
3123
|
+
private isSchedulerValue;
|
|
2564
3124
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSchedulerPickerWidgetViewComponent, never>;
|
|
2565
3125
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSchedulerPickerWidgetViewComponent, "axp-scheduler-picker-widget-view", never, {}, {}, never, never, true, never>;
|
|
2566
3126
|
}
|
|
@@ -2599,22 +3159,17 @@ declare class AXPSignatureWidgetColumnComponent extends AXPColumnWidgetComponent
|
|
|
2599
3159
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSignatureWidgetColumnComponent, "axp-signature-pad-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
2600
3160
|
}
|
|
2601
3161
|
|
|
2602
|
-
declare class AXPSignatureWidgetEditComponent extends AXPValueWidgetComponent<
|
|
3162
|
+
declare class AXPSignatureWidgetEditComponent extends AXPValueWidgetComponent<string | null> {
|
|
3163
|
+
#private;
|
|
2603
3164
|
protected disabled: _angular_core.Signal<boolean>;
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
protected editMode:
|
|
2608
|
-
protected
|
|
2609
|
-
|
|
2610
|
-
private
|
|
2611
|
-
|
|
2612
|
-
protected clear(): void;
|
|
2613
|
-
private getDataURL;
|
|
2614
|
-
protected downloadSVG(): void;
|
|
2615
|
-
protected switchEditMode(): Promise<void>;
|
|
2616
|
-
protected undo(): void;
|
|
2617
|
-
private get __class();
|
|
3165
|
+
/** When true (default), show click overlay and use read-only paint; when false (e.g. inside dialog), no overlay and paint is editable. */
|
|
3166
|
+
protected showOverlay: _angular_core.Signal<boolean>;
|
|
3167
|
+
/** Edit mode: true when inside dialog (no overlay), false when outside (read-only preview with overlay). */
|
|
3168
|
+
protected editMode: _angular_core.Signal<boolean>;
|
|
3169
|
+
protected paintContainer: _angular_core.Signal<AXPaintContainerComponent | undefined>;
|
|
3170
|
+
protected paintView: _angular_core.Signal<AXPaintViewComponent | undefined>;
|
|
3171
|
+
private readonly layoutBuilder;
|
|
3172
|
+
protected openEditor(): Promise<void>;
|
|
2618
3173
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSignatureWidgetEditComponent, never>;
|
|
2619
3174
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSignatureWidgetEditComponent, "axp-signature-pad-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2620
3175
|
}
|
|
@@ -2633,6 +3188,8 @@ interface AXPSignatureWidgetViewOptions {
|
|
|
2633
3188
|
interface AXPSignatureWidgetEditOptions {
|
|
2634
3189
|
disabled?: boolean;
|
|
2635
3190
|
placeholder?: string;
|
|
3191
|
+
/** When true (default), show click-to-edit overlay over read-only paint. Set false when used inside a dialog so paint is directly editable with no overlay. */
|
|
3192
|
+
showOverlay?: boolean;
|
|
2636
3193
|
}
|
|
2637
3194
|
interface AXPSignatureWidgetDesignerOptions {
|
|
2638
3195
|
disabled?: boolean;
|
|
@@ -2663,20 +3220,24 @@ declare class AXPStatusChipComponent {
|
|
|
2663
3220
|
private readonly dialogService;
|
|
2664
3221
|
private readonly translationService;
|
|
2665
3222
|
/**
|
|
2666
|
-
* Status definition to display
|
|
3223
|
+
* Status definition to display (optional - will be loaded from definitionKey if not provided)
|
|
2667
3224
|
*/
|
|
2668
3225
|
status: _angular_core.InputSignal<AXPStatusDefinition | null>;
|
|
3226
|
+
/**
|
|
3227
|
+
* Status value (status name) - used to find status definition when status is not provided
|
|
3228
|
+
*/
|
|
3229
|
+
value: _angular_core.InputSignal<string | null>;
|
|
2669
3230
|
/**
|
|
2670
3231
|
* Whether the chip is readonly (non-clickable, no popover)
|
|
2671
3232
|
*/
|
|
2672
3233
|
readonly: _angular_core.InputSignal<boolean>;
|
|
2673
3234
|
/**
|
|
2674
|
-
* Available transitions to display in the popover
|
|
3235
|
+
* Available transitions to display in the popover (optional - will be computed from definitionKey if not provided)
|
|
2675
3236
|
*/
|
|
2676
|
-
availableTransitions: _angular_core.InputSignal<AXPStatusTransitionWithTarget[]>;
|
|
3237
|
+
availableTransitions: _angular_core.InputSignal<AXPStatusTransitionWithTarget[] | null>;
|
|
2677
3238
|
/**
|
|
2678
3239
|
* Status definition key (e.g., 'task-management.status')
|
|
2679
|
-
* Required for executing transitions
|
|
3240
|
+
* Required for loading status definition and executing transitions
|
|
2680
3241
|
*/
|
|
2681
3242
|
definitionKey: _angular_core.InputSignal<string | null>;
|
|
2682
3243
|
/**
|
|
@@ -2699,6 +3260,24 @@ declare class AXPStatusChipComponent {
|
|
|
2699
3260
|
protected statusPopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
2700
3261
|
protected isPopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
2701
3262
|
protected isUpdating: _angular_core.WritableSignal<boolean>;
|
|
3263
|
+
protected providerSignal: _angular_core.WritableSignal<AXPStatusProvider | undefined>;
|
|
3264
|
+
/** Native tooltip from translated `AXPStatusDefinition.description` (i18n key). */
|
|
3265
|
+
protected chipTooltip: _angular_core.WritableSignal<string | null>;
|
|
3266
|
+
protected statuses: _angular_core.Signal<AXPStatusDefinition[]>;
|
|
3267
|
+
protected transitions: _angular_core.Signal<AXPStatusTransition[]>;
|
|
3268
|
+
/**
|
|
3269
|
+
* Current status definition - either from input or computed from value
|
|
3270
|
+
*/
|
|
3271
|
+
protected currentStatus: _angular_core.Signal<AXPStatusDefinition | null>;
|
|
3272
|
+
/**
|
|
3273
|
+
* Available transitions - either from input or computed from definitionKey
|
|
3274
|
+
*/
|
|
3275
|
+
protected computedTransitions: _angular_core.Signal<AXPStatusTransitionWithTarget[]>;
|
|
3276
|
+
/**
|
|
3277
|
+
* Load status provider when definitionKey changes
|
|
3278
|
+
*/
|
|
3279
|
+
private loadProvider;
|
|
3280
|
+
private syncDescriptionTooltip;
|
|
2702
3281
|
/**
|
|
2703
3282
|
* Open the popover
|
|
2704
3283
|
*/
|
|
@@ -2715,7 +3294,7 @@ declare class AXPStatusChipComponent {
|
|
|
2715
3294
|
private confirmTransition;
|
|
2716
3295
|
protected getStatusVisual(status: AXPStatusDefinition | null): AXPStatusVisual;
|
|
2717
3296
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPStatusChipComponent, never>;
|
|
2718
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPStatusChipComponent, "axp-status-chip", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "availableTransitions": { "alias": "availableTransitions"; "required": false; "isSignal": true; }; "definitionKey": { "alias": "definitionKey"; "required": false; "isSignal": true; }; "entityData": { "alias": "entityData"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; "transitionExecuted": "transitionExecuted"; "transitionError": "transitionError"; }, never, never, true, never>;
|
|
3297
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPStatusChipComponent, "axp-status-chip", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "availableTransitions": { "alias": "availableTransitions"; "required": false; "isSignal": true; }; "definitionKey": { "alias": "definitionKey"; "required": false; "isSignal": true; }; "entityData": { "alias": "entityData"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; "transitionExecuted": "transitionExecuted"; "transitionError": "transitionError"; }, never, never, true, never>;
|
|
2719
3298
|
}
|
|
2720
3299
|
|
|
2721
3300
|
declare class AXPStatusWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
@@ -2727,7 +3306,13 @@ declare class AXPStatusWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
2727
3306
|
set rawValueInput(value: any);
|
|
2728
3307
|
set rowDataInput(value: any);
|
|
2729
3308
|
protected isStatusPopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
3309
|
+
private providerSignal;
|
|
3310
|
+
private loadProvider;
|
|
2730
3311
|
protected definitionKey: _angular_core.Signal<string | null>;
|
|
3312
|
+
/**
|
|
3313
|
+
* When true, the grid cell is display-only (no transition popover). Default false preserves existing grids.
|
|
3314
|
+
*/
|
|
3315
|
+
protected columnReadonly: _angular_core.Signal<boolean>;
|
|
2731
3316
|
protected entityData: _angular_core.Signal<Record<string, any> | null>;
|
|
2732
3317
|
private readonly resolvedStatuses;
|
|
2733
3318
|
private readonly resolvedTransitions;
|
|
@@ -2749,12 +3334,15 @@ declare class AXPStatusWidgetEditComponent extends AXPValueWidgetComponent<any |
|
|
|
2749
3334
|
protected statusChip: _angular_core.Signal<AXPStatusChipComponent | undefined>;
|
|
2750
3335
|
private readonly statusService;
|
|
2751
3336
|
protected definitionKey: _angular_core.Signal<string | null>;
|
|
2752
|
-
|
|
3337
|
+
/** When true, the chip is display-only (no transition popover). Set via interface options. */
|
|
3338
|
+
protected isReadonly: _angular_core.Signal<boolean>;
|
|
3339
|
+
protected providerSignal: _angular_core.WritableSignal<AXPStatusProvider | undefined>;
|
|
2753
3340
|
protected statuses: _angular_core.Signal<AXPStatusDefinition[]>;
|
|
2754
3341
|
protected transitions: _angular_core.Signal<AXPStatusTransition[]>;
|
|
2755
3342
|
protected entityPath: _angular_core.WritableSignal<string | null>;
|
|
2756
3343
|
protected initialValue: _angular_core.WritableSignal<string | null>;
|
|
2757
3344
|
protected currentStatus: _angular_core.Signal<AXPStatusDefinition | null>;
|
|
3345
|
+
private loadProvider;
|
|
2758
3346
|
private trackEntityPath;
|
|
2759
3347
|
private setInitialValue;
|
|
2760
3348
|
private normalizeValue;
|
|
@@ -2769,7 +3357,7 @@ declare class AXPStatusWidgetEditComponent extends AXPValueWidgetComponent<any |
|
|
|
2769
3357
|
protected onTransitionExecuted(transition: AXPStatusTransitionWithTarget): void;
|
|
2770
3358
|
protected onTransitionError(error: Error): void;
|
|
2771
3359
|
/**
|
|
2772
|
-
*
|
|
3360
|
+
* Build context for default `Entity:UpdateStatus` (entity key, record id, status field path).
|
|
2773
3361
|
*/
|
|
2774
3362
|
protected getEntityData(): Record<string, any> | null;
|
|
2775
3363
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPStatusWidgetEditComponent, never>;
|
|
@@ -2780,9 +3368,12 @@ declare class AXPStatusWidgetViewComponent extends AXPDataListWidgetComponent {
|
|
|
2780
3368
|
protected statusChip: _angular_core.Signal<AXPStatusChipComponent | undefined>;
|
|
2781
3369
|
private readonly statusService;
|
|
2782
3370
|
protected definitionKey: _angular_core.Signal<string | null>;
|
|
2783
|
-
|
|
3371
|
+
/** When true, the chip is display-only (no transition popover). Set via interface options. */
|
|
3372
|
+
protected isReadonly: _angular_core.Signal<boolean>;
|
|
3373
|
+
private providerSignal;
|
|
2784
3374
|
private resolvedStatuses;
|
|
2785
3375
|
private resolvedTransitions;
|
|
3376
|
+
private loadProvider;
|
|
2786
3377
|
private synchronizeOptions;
|
|
2787
3378
|
/**
|
|
2788
3379
|
* Get current status from selected items or value
|
|
@@ -2884,7 +3475,7 @@ declare const AXPWidgetFieldConfiguratorWidget: AXPWidgetConfig;
|
|
|
2884
3475
|
declare class AXPWidgetFieldConfiguratorWidgetEditComponent extends AXPValueWidgetComponent<AXPWidgetNode> {
|
|
2885
3476
|
protected readonly: _angular_core.Signal<boolean>;
|
|
2886
3477
|
protected fieldName: _angular_core.Signal<string>;
|
|
2887
|
-
protected fieldTitle: _angular_core.Signal<
|
|
3478
|
+
protected fieldTitle: _angular_core.Signal<_acorex_core_translation.AXMultiLanguageString>;
|
|
2888
3479
|
protected label: _angular_core.Signal<string>;
|
|
2889
3480
|
protected isInitialized: _angular_core.WritableSignal<boolean>;
|
|
2890
3481
|
protected widgetConfigModel: _angular_core.ModelSignal<AXPWidgetNode>;
|
|
@@ -2901,6 +3492,43 @@ declare class AXPWidgetFieldConfiguratorWidgetColumnComponent extends AXPColumnW
|
|
|
2901
3492
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWidgetFieldConfiguratorWidgetColumnComponent, "axp-widget-field-configurator-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2902
3493
|
}
|
|
2903
3494
|
|
|
3495
|
+
declare const AXPItemConfiguratorWidget: AXPWidgetConfig;
|
|
3496
|
+
|
|
3497
|
+
declare class AXPItemConfiguratorWidgetEditComponent extends AXPValueWidgetComponent<AXPWidgetNode> {
|
|
3498
|
+
private readonly dataSourceDefinitionService;
|
|
3499
|
+
private readonly translation;
|
|
3500
|
+
protected readonly: _angular_core.Signal<boolean>;
|
|
3501
|
+
protected label: _angular_core.Signal<string>;
|
|
3502
|
+
private readonly asyncNamedDataSourceItems;
|
|
3503
|
+
private readonly augmentedRows;
|
|
3504
|
+
protected listItems: _angular_core.Signal<ItemConfiguratorListItem[]>;
|
|
3505
|
+
protected valueField: _angular_core.Signal<string>;
|
|
3506
|
+
protected textField: _angular_core.Signal<string>;
|
|
3507
|
+
protected iconField: _angular_core.Signal<string>;
|
|
3508
|
+
protected descriptionField: _angular_core.Signal<string>;
|
|
3509
|
+
protected recordPropertyDefinitionsField: _angular_core.Signal<string | null>;
|
|
3510
|
+
protected headerActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
3511
|
+
protected isInitialized: _angular_core.WritableSignal<boolean>;
|
|
3512
|
+
protected selectedItemIdModel: _angular_core.ModelSignal<string>;
|
|
3513
|
+
protected valuesModel: _angular_core.ModelSignal<Record<string, unknown>>;
|
|
3514
|
+
private loadNamedDataSourceEffect;
|
|
3515
|
+
private syncValueToConfigurator;
|
|
3516
|
+
private syncConfiguratorToValue;
|
|
3517
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPItemConfiguratorWidgetEditComponent, never>;
|
|
3518
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPItemConfiguratorWidgetEditComponent, "axp-item-configurator-widget-edit", never, { "selectedItemIdModel": { "alias": "selectedItemIdModel"; "required": false; "isSignal": true; }; "valuesModel": { "alias": "valuesModel"; "required": false; "isSignal": true; }; }, { "selectedItemIdModel": "selectedItemIdModelChange"; "valuesModel": "valuesModelChange"; }, never, never, true, never>;
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
declare class AXPItemConfiguratorWidgetColumnComponent extends AXPColumnWidgetComponent<AXPWidgetNode> {
|
|
3522
|
+
private readonly widgetRegistry;
|
|
3523
|
+
protected widget: _angular_core.Signal<AXPWidgetConfig<any> | undefined>;
|
|
3524
|
+
/**
|
|
3525
|
+
* When the type is not registered (dynamic-only entries), show the stored type key.
|
|
3526
|
+
*/
|
|
3527
|
+
protected fallbackLabel: _angular_core.Signal<string>;
|
|
3528
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPItemConfiguratorWidgetColumnComponent, never>;
|
|
3529
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPItemConfiguratorWidgetColumnComponent, "axp-item-configurator-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
3530
|
+
}
|
|
3531
|
+
|
|
2904
3532
|
declare class AXPAdvancedGridWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
|
|
2905
3533
|
#private;
|
|
2906
3534
|
private grid;
|
|
@@ -3193,8 +3821,8 @@ interface AXPBlockWidgetOptions {
|
|
|
3193
3821
|
}
|
|
3194
3822
|
|
|
3195
3823
|
declare class AXPFieldsetWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
|
|
3196
|
-
protected title: _angular_core.Signal<
|
|
3197
|
-
protected description: _angular_core.Signal<
|
|
3824
|
+
protected title: _angular_core.Signal<_acorex_core_translation.AXMultiLanguageString>;
|
|
3825
|
+
protected description: _angular_core.Signal<_acorex_core_translation.AXMultiLanguageString>;
|
|
3198
3826
|
protected icon: _angular_core.Signal<string>;
|
|
3199
3827
|
protected collapsible: _angular_core.Signal<boolean>;
|
|
3200
3828
|
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
@@ -3209,8 +3837,8 @@ declare class AXPFieldsetWidgetDesignerComponent extends AXPLayoutBaseWidgetComp
|
|
|
3209
3837
|
type AXPFieldsetWidgetLook = 'fieldset' | 'card' | 'group' | 'container';
|
|
3210
3838
|
|
|
3211
3839
|
declare class AXPFieldsetWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
3212
|
-
protected title: _angular_core.Signal<
|
|
3213
|
-
protected description: _angular_core.Signal<
|
|
3840
|
+
protected title: _angular_core.Signal<_acorex_core_translation.AXMultiLanguageString>;
|
|
3841
|
+
protected description: _angular_core.Signal<_acorex_core_translation.AXMultiLanguageString>;
|
|
3214
3842
|
protected icon: _angular_core.Signal<string>;
|
|
3215
3843
|
protected collapsible: _angular_core.Signal<boolean>;
|
|
3216
3844
|
protected isOpen: _angular_core.WritableSignal<boolean>;
|
|
@@ -3616,9 +4244,9 @@ declare class AXPRepeaterWidgetDesignerComponent extends AXPValueWidgetComponent
|
|
|
3616
4244
|
declare class AXPRepeaterWidgetEditComponent extends AXPValueWidgetComponent<any> {
|
|
3617
4245
|
protected disabled: _angular_core.Signal<boolean>;
|
|
3618
4246
|
protected hasControls: _angular_core.Signal<boolean>;
|
|
3619
|
-
protected
|
|
4247
|
+
protected allowReorder: _angular_core.Signal<boolean>;
|
|
3620
4248
|
protected rows: _angular_core.Signal<any[]>;
|
|
3621
|
-
|
|
4249
|
+
onDrop(e: AXDropListDroppedEvent): void;
|
|
3622
4250
|
protected handleAddItemClick(): void;
|
|
3623
4251
|
protected handleRemoveItemClick(i: number): void;
|
|
3624
4252
|
addNew(): void;
|
|
@@ -3651,7 +4279,7 @@ interface AXPRepeaterWidgetViewOptions {
|
|
|
3651
4279
|
interface AXPRepeaterWidgetEditOptions {
|
|
3652
4280
|
disabled?: boolean;
|
|
3653
4281
|
hasControls?: boolean;
|
|
3654
|
-
|
|
4282
|
+
allowReorder?: boolean;
|
|
3655
4283
|
}
|
|
3656
4284
|
interface AXPRepeaterWidgetPrintOptions {
|
|
3657
4285
|
}
|
|
@@ -4313,6 +4941,125 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
4313
4941
|
}
|
|
4314
4942
|
}
|
|
4315
4943
|
|
|
4944
|
+
/**
|
|
4945
|
+
* Value stored at path 'options' for widgets that use the data-source-options property.
|
|
4946
|
+
* Other option keys (e.g. placeholder, hasClearButton) are preserved via merge on save.
|
|
4947
|
+
*/
|
|
4948
|
+
type DataSourceMode = 'exists' | 'list';
|
|
4949
|
+
interface AXPDataSourceOptionsValue {
|
|
4950
|
+
dataSource?: string | unknown[];
|
|
4951
|
+
/**
|
|
4952
|
+
* Discriminator for inline `dataSource` arrays: simple list vs column/row editor.
|
|
4953
|
+
* Omitted when `dataSource` is a registered definition name (string).
|
|
4954
|
+
*/
|
|
4955
|
+
sourceMode?: 'list' | 'tabular';
|
|
4956
|
+
/** For tabular mode: column definitions (name, title, widget). */
|
|
4957
|
+
columns?: AXPTableColumnDefinition[];
|
|
4958
|
+
valueField?: string;
|
|
4959
|
+
textField?: string;
|
|
4960
|
+
filters?: Record<string, unknown>;
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
declare class AXPDataSourceOptionsWidgetEditComponent extends AXPValueWidgetComponent<Record<string, unknown>> {
|
|
4964
|
+
#private;
|
|
4965
|
+
protected readonly I18N: {
|
|
4966
|
+
readonly source: "@general:widgets.data-source-options.source";
|
|
4967
|
+
readonly modeExists: "@general:widgets.data-source-options.mode.exists";
|
|
4968
|
+
readonly modeList: "@general:widgets.data-source-options.mode.list";
|
|
4969
|
+
readonly dataSource: "@general:widgets.data-source-options.data-source";
|
|
4970
|
+
readonly dataSourcePlaceholder: "@general:widgets.data-source-options.data-source-placeholder";
|
|
4971
|
+
readonly listItems: "@general:widgets.data-source-options.list-items";
|
|
4972
|
+
readonly addListItem: "@general:widgets.data-source-options.add-list-item";
|
|
4973
|
+
readonly valueField: "@general:widgets.data-source-options.value-field";
|
|
4974
|
+
readonly valueFieldPlaceholder: "@general:widgets.data-source-options.value-field-placeholder";
|
|
4975
|
+
readonly valueFieldPlaceholderDisabled: "@general:widgets.data-source-options.value-field-placeholder-disabled";
|
|
4976
|
+
readonly textField: "@general:widgets.data-source-options.text-field";
|
|
4977
|
+
readonly textFieldPlaceholder: "@general:widgets.data-source-options.text-field-placeholder";
|
|
4978
|
+
readonly textFieldPlaceholderDisabled: "@general:widgets.data-source-options.text-field-placeholder-disabled";
|
|
4979
|
+
readonly filters: "@general:widgets.data-source-options.filters";
|
|
4980
|
+
readonly filtersButtonEmpty: "@general:widgets.data-source-options.filters-button-empty";
|
|
4981
|
+
readonly filtersButtonWithCount: "@general:widgets.data-source-options.filters-button-with-count";
|
|
4982
|
+
readonly filtersModalTitle: "@general:widgets.data-source-options.filters-modal-title";
|
|
4983
|
+
};
|
|
4984
|
+
private readonly dataSourceDefinitionService;
|
|
4985
|
+
private readonly layoutBuilder;
|
|
4986
|
+
private readonly popupService;
|
|
4987
|
+
private readonly translationService;
|
|
4988
|
+
private readonly rendered;
|
|
4989
|
+
/** 'exists' = registered definition, 'list' = simple text rows. */
|
|
4990
|
+
protected readonly dataSourceMode: _angular_core.WritableSignal<DataSourceMode>;
|
|
4991
|
+
/** Editable text rows for list mode (each row persists as value + text). */
|
|
4992
|
+
protected readonly listEntries: _angular_core.WritableSignal<string[]>;
|
|
4993
|
+
protected readonly definitions: _angular_core.WritableSignal<AXPDataSourceDefinition<any>[]>;
|
|
4994
|
+
protected readonly selectedDefinition: _angular_core.WritableSignal<AXPDataSourceDefinition<any> | null>;
|
|
4995
|
+
/** Options for valueField select (from definition columns + valueField) */
|
|
4996
|
+
protected readonly valueFieldOptions: _angular_core.WritableSignal<{
|
|
4997
|
+
value: string;
|
|
4998
|
+
text: string;
|
|
4999
|
+
}[]>;
|
|
5000
|
+
/** Options for textField select (from definition columns + textField) */
|
|
5001
|
+
protected readonly textFieldOptions: _angular_core.WritableSignal<{
|
|
5002
|
+
value: string;
|
|
5003
|
+
text: string;
|
|
5004
|
+
}[]>;
|
|
5005
|
+
protected readonly definitionsDataSource: AXDataSource<AXPDataSourceDefinition<any>>;
|
|
5006
|
+
protected readonly valueFieldDataSource: _angular_core.Signal<AXDataSource<{
|
|
5007
|
+
value: string;
|
|
5008
|
+
text: string;
|
|
5009
|
+
}>>;
|
|
5010
|
+
protected readonly textFieldDataSource: _angular_core.Signal<AXDataSource<{
|
|
5011
|
+
value: string;
|
|
5012
|
+
text: string;
|
|
5013
|
+
}>>;
|
|
5014
|
+
/** Mode options for selection list (translated in init). */
|
|
5015
|
+
protected readonly modeItems: _angular_core.WritableSignal<{
|
|
5016
|
+
value: DataSourceMode;
|
|
5017
|
+
text: string;
|
|
5018
|
+
}[]>;
|
|
5019
|
+
/**
|
|
5020
|
+
* Toggled to force value/text field select-boxes to re-render when dataSource changes
|
|
5021
|
+
* (workaround for ax-select-box dropdown height going to 0 when data-source changes).
|
|
5022
|
+
*/
|
|
5023
|
+
protected readonly fieldSelectsKey: _angular_core.WritableSignal<boolean>;
|
|
5024
|
+
/** Whether value/text field selects should be disabled (no data source selected in 'exists' mode). */
|
|
5025
|
+
protected readonly valueTextFieldDisabled: _angular_core.Signal<boolean>;
|
|
5026
|
+
/** Number of filters that have a non-empty value (for empty vs non-empty button text). */
|
|
5027
|
+
protected readonly filterCount: _angular_core.Signal<number>;
|
|
5028
|
+
protected setDataSourceMode(mode: DataSourceMode): void;
|
|
5029
|
+
protected onDefinitionChange(event: AXValueChangedEvent<string | null>): void;
|
|
5030
|
+
protected onValueFieldChange(event: AXValueChangedEvent<string>): void;
|
|
5031
|
+
protected onTextFieldChange(event: AXValueChangedEvent<string>): void;
|
|
5032
|
+
protected addListEntry(): void;
|
|
5033
|
+
protected removeListEntry(index: number): void;
|
|
5034
|
+
protected onListEntryChange(index: number, event: AXValueChangedEvent<string>): void;
|
|
5035
|
+
protected onListDrop(event: AXDropListDroppedEvent): void;
|
|
5036
|
+
protected openFilterEditor(): Promise<void>;
|
|
5037
|
+
private slugFilterTitle;
|
|
5038
|
+
private buildFieldOptions;
|
|
5039
|
+
private persistListFromEntries;
|
|
5040
|
+
/**
|
|
5041
|
+
* Derives stable identity `value` from display `text` (slug) and enforces uniqueness.
|
|
5042
|
+
*/
|
|
5043
|
+
private buildUniqueListRows;
|
|
5044
|
+
private slugifyIdentityFromTitle;
|
|
5045
|
+
private shortHash;
|
|
5046
|
+
private allocateUniqueIdentityValue;
|
|
5047
|
+
/**
|
|
5048
|
+
* Loads list row strings from stored `dataSource` (list or legacy inline array).
|
|
5049
|
+
*/
|
|
5050
|
+
private syncListEntriesFromValue;
|
|
5051
|
+
private saveValue;
|
|
5052
|
+
/**
|
|
5053
|
+
* Force value/text field select-boxes to re-render (workaround for ax-select-box
|
|
5054
|
+
* dropdown height going to 0 when data-source changes).
|
|
5055
|
+
*/
|
|
5056
|
+
private revalidateFieldSelects;
|
|
5057
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataSourceOptionsWidgetEditComponent, never>;
|
|
5058
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDataSourceOptionsWidgetEditComponent, "axp-data-source-options-widget-editor", never, {}, {}, never, never, true, never>;
|
|
5059
|
+
}
|
|
5060
|
+
|
|
5061
|
+
declare const AXPDataSourceOptionsWidget: AXPWidgetConfig;
|
|
5062
|
+
|
|
4316
5063
|
declare class AXPDirectionWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
4317
5064
|
protected direction: _angular_core.Signal<string>;
|
|
4318
5065
|
protected directionOptions: {
|
|
@@ -4383,9 +5130,9 @@ declare class AXPFlexOptionsWidgetEditComponent extends AXPValueWidgetComponent<
|
|
|
4383
5130
|
protected lastGap: _angular_core.WritableSignal<number>;
|
|
4384
5131
|
protected selectedJustify: _angular_core.WritableSignal<AXPFlexBoxOption>;
|
|
4385
5132
|
protected selectedAlign: _angular_core.WritableSignal<AXPFlexBoxOption>;
|
|
4386
|
-
protected hoveredAlign: _angular_core.WritableSignal<"center" | "baseline" | "
|
|
5133
|
+
protected hoveredAlign: _angular_core.WritableSignal<"center" | "baseline" | "flex-start" | "flex-end" | "stretch" | null | undefined>;
|
|
4387
5134
|
protected hoveredJustify: _angular_core.WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | null | undefined>;
|
|
4388
|
-
protected clickedAlign: _angular_core.WritableSignal<"center" | "baseline" | "
|
|
5135
|
+
protected clickedAlign: _angular_core.WritableSignal<"center" | "baseline" | "flex-start" | "flex-end" | "stretch" | undefined>;
|
|
4389
5136
|
protected clickedJustify: _angular_core.WritableSignal<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | undefined>;
|
|
4390
5137
|
protected itemsCount: _angular_core.WritableSignal<number>;
|
|
4391
5138
|
protected setWrapMode(type: AXPFlexBoxString['flexWrap']): void;
|
|
@@ -4666,9 +5413,160 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
4666
5413
|
|
|
4667
5414
|
declare class AXPWidgetsModule {
|
|
4668
5415
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWidgetsModule, never>;
|
|
4669
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPWidgetsModule, never, [typeof
|
|
5416
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPWidgetsModule, never, [typeof _acorex_platform_layout_widget_core.AXPWidgetCoreModule], never>;
|
|
4670
5417
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPWidgetsModule>;
|
|
4671
5418
|
}
|
|
4672
5419
|
|
|
4673
|
-
|
|
4674
|
-
|
|
5420
|
+
/** AI agent catalog `name` values that scope {@link AXPGetWidgetsForAIQuery} list/detail rows. */
|
|
5421
|
+
declare const AXP_WIDGET_AI_AGENT_FORM_LAYOUT = "widget-form-layout";
|
|
5422
|
+
declare const AXP_WIDGET_AI_AGENT_CHART_LAYOUT = "widget-chart-layout";
|
|
5423
|
+
/** Assist/conversation chip rows — only `flex-layout` + `button-action` catalog rows. */
|
|
5424
|
+
declare const AXP_WIDGET_AI_AGENT_ASSIST_FOLLOW_UP_CHIPS_LAYOUT = "widget-follow-up-chips-layout";
|
|
5425
|
+
declare const AXP_WIDGET_AI_AGENT_NAMES: readonly ["widget-form-layout", "widget-chart-layout", "widget-follow-up-chips-layout"];
|
|
5426
|
+
type AXPWidgetAiAgentName = (typeof AXP_WIDGET_AI_AGENT_NAMES)[number];
|
|
5427
|
+
interface AXPGetWidgetsForAIQueryInput {
|
|
5428
|
+
/**
|
|
5429
|
+
* Calling delegated AI agent name — required. Each agent only sees catalog rows in its scope
|
|
5430
|
+
* (platform form/layout widgets vs chart visualization widgets vs follow-up chip primitives).
|
|
5431
|
+
*/
|
|
5432
|
+
agent: AXPWidgetAiAgentName | string;
|
|
5433
|
+
/** When set, returns full catalog metadata for that widget when it is in scope for `agent`. */
|
|
5434
|
+
name?: string;
|
|
5435
|
+
}
|
|
5436
|
+
interface AXPGetWidgetsForAIQueryListItem {
|
|
5437
|
+
name: string;
|
|
5438
|
+
title: string;
|
|
5439
|
+
description?: string;
|
|
5440
|
+
type?: string;
|
|
5441
|
+
/** From catalog `ai.tags` when present — use to filter or pick widgets before a detail lookup. */
|
|
5442
|
+
tags?: string[];
|
|
5443
|
+
categories: Array<{
|
|
5444
|
+
name: string;
|
|
5445
|
+
title: string;
|
|
5446
|
+
order: number;
|
|
5447
|
+
}>;
|
|
5448
|
+
}
|
|
5449
|
+
/**
|
|
5450
|
+
* One catalog input row (`defineWidget` / {@link AXPCatalogSchemaPropertyDefinition}), resolved for AI locale.
|
|
5451
|
+
*/
|
|
5452
|
+
interface AXPGetWidgetsForAIQueryInputPropertyRow {
|
|
5453
|
+
name: string;
|
|
5454
|
+
title: string;
|
|
5455
|
+
description?: string;
|
|
5456
|
+
/** Registry widget name for the property editor (e.g. `text-editor`, `toggle-editor`). */
|
|
5457
|
+
interfaceWidgetName: string;
|
|
5458
|
+
bindingHints?: {
|
|
5459
|
+
strategies?: string[];
|
|
5460
|
+
examples?: string[];
|
|
5461
|
+
notes?: string;
|
|
5462
|
+
};
|
|
5463
|
+
}
|
|
5464
|
+
/**
|
|
5465
|
+
* One catalog output row (bound value / payload documentation).
|
|
5466
|
+
*/
|
|
5467
|
+
interface AXPGetWidgetsForAIQueryOutputPropertyRow {
|
|
5468
|
+
name: string;
|
|
5469
|
+
title: string;
|
|
5470
|
+
description?: string;
|
|
5471
|
+
interfaceWidgetName: string;
|
|
5472
|
+
}
|
|
5473
|
+
/** Resolved category row for AI consumption. */
|
|
5474
|
+
interface AXPGetWidgetsForAIQueryCategoryRow {
|
|
5475
|
+
name: string;
|
|
5476
|
+
title: string;
|
|
5477
|
+
order: number;
|
|
5478
|
+
}
|
|
5479
|
+
/** Resolved `ai` block from catalog metadata (subset of widget runtime AI metadata). */
|
|
5480
|
+
interface AXPGetWidgetsForAIQueryAiBlock {
|
|
5481
|
+
shortDescription?: string;
|
|
5482
|
+
instruction?: string;
|
|
5483
|
+
tags?: string[];
|
|
5484
|
+
usage?: {
|
|
5485
|
+
whenToUse?: string[];
|
|
5486
|
+
avoidWhen?: string[];
|
|
5487
|
+
followUpTools?: string[];
|
|
5488
|
+
};
|
|
5489
|
+
renderSurfaces?: Array<{
|
|
5490
|
+
mode: string;
|
|
5491
|
+
summary: string;
|
|
5492
|
+
}>;
|
|
5493
|
+
relatedWidgetNames?: string[];
|
|
5494
|
+
layoutExamples?: string[];
|
|
5495
|
+
}
|
|
5496
|
+
/**
|
|
5497
|
+
* Structured widget catalog metadata aligned with {@link AXPWidgetMetadataDefinition} /
|
|
5498
|
+
* persisted `metadataJson` — explicit fields instead of an opaque JSON blob.
|
|
5499
|
+
*/
|
|
5500
|
+
interface AXPGetWidgetsForAIQueryWidgetStructured {
|
|
5501
|
+
/** Runtime registry name (`AXPWidgetConfig.name`). */
|
|
5502
|
+
name: string;
|
|
5503
|
+
/** Resolved display title for the AI locale. */
|
|
5504
|
+
title: string;
|
|
5505
|
+
/** Resolved short description for the AI locale. */
|
|
5506
|
+
description?: string;
|
|
5507
|
+
icon?: string;
|
|
5508
|
+
/** Same classification as widget-core (`container`, `editor`, …). */
|
|
5509
|
+
type?: string;
|
|
5510
|
+
capabilities?: string[];
|
|
5511
|
+
categories: AXPGetWidgetsForAIQueryCategoryRow[];
|
|
5512
|
+
subCategory?: AXPGetWidgetsForAIQueryCategoryRow;
|
|
5513
|
+
groups?: string[];
|
|
5514
|
+
defaultFilterWidgetName?: string;
|
|
5515
|
+
inputs: AXPGetWidgetsForAIQueryInputPropertyRow[];
|
|
5516
|
+
outputs: AXPGetWidgetsForAIQueryOutputPropertyRow[];
|
|
5517
|
+
ai?: AXPGetWidgetsForAIQueryAiBlock;
|
|
5518
|
+
}
|
|
5519
|
+
/**
|
|
5520
|
+
* Widget detail loaded from persisted catalog (`metadataJson`) — not runtime widget config.
|
|
5521
|
+
*/
|
|
5522
|
+
interface AXPGetWidgetsForAIQueryWidgetDetail {
|
|
5523
|
+
/** Storage row id */
|
|
5524
|
+
id: string;
|
|
5525
|
+
active: boolean;
|
|
5526
|
+
/** Original catalog title from storage (may be an i18n key). */
|
|
5527
|
+
catalogTitle?: string;
|
|
5528
|
+
/** Resolved display title for the AI locale (same as `structured.title`). */
|
|
5529
|
+
title: string;
|
|
5530
|
+
/** Resolved description for the AI locale (same as `structured.description`). */
|
|
5531
|
+
description?: string;
|
|
5532
|
+
/**
|
|
5533
|
+
* Parsed catalog metadata as explicit, nested fields for agents (mirrors `defineWidget` / seed `metadataJson`).
|
|
5534
|
+
*/
|
|
5535
|
+
structured: AXPGetWidgetsForAIQueryWidgetStructured;
|
|
5536
|
+
}
|
|
5537
|
+
interface AXPGetWidgetsForAIQueryUsage {
|
|
5538
|
+
summary: string;
|
|
5539
|
+
/** Input / option names from catalog metadata (`inputs[].name`) */
|
|
5540
|
+
propertyPaths: string[];
|
|
5541
|
+
}
|
|
5542
|
+
type AXPGetWidgetsForAIQueryResult = {
|
|
5543
|
+
success: true;
|
|
5544
|
+
widgets: AXPGetWidgetsForAIQueryListItem[];
|
|
5545
|
+
detail?: undefined;
|
|
5546
|
+
usage?: undefined;
|
|
5547
|
+
} | {
|
|
5548
|
+
success: true;
|
|
5549
|
+
widgets?: undefined;
|
|
5550
|
+
detail: AXPGetWidgetsForAIQueryWidgetDetail;
|
|
5551
|
+
usage: AXPGetWidgetsForAIQueryUsage;
|
|
5552
|
+
} | {
|
|
5553
|
+
success: false;
|
|
5554
|
+
error: string;
|
|
5555
|
+
};
|
|
5556
|
+
/**
|
|
5557
|
+
* Returns whether a persisted catalog row is visible to the given delegated AI agent.
|
|
5558
|
+
*/
|
|
5559
|
+
declare function matchesWidgetAiAgent(agent: AXPWidgetAiAgentName, definitionName: string, metadata: Record<string, unknown> | null): boolean;
|
|
5560
|
+
/**
|
|
5561
|
+
* Read-only widget catalog for AI (`Widgets:GetForAI`). Data comes from persisted widget definitions
|
|
5562
|
+
* (Dexie/Firestore via {@link AXPEntityDefinitionCrudService}), not {@link AXPWidgetRegistryService}.
|
|
5563
|
+
*/
|
|
5564
|
+
declare class AXPGetWidgetsForAIQuery implements AXPQuery<AXPGetWidgetsForAIQueryInput | undefined, AXPGetWidgetsForAIQueryResult> {
|
|
5565
|
+
private readonly crud;
|
|
5566
|
+
fetch(input?: AXPGetWidgetsForAIQueryInput): Promise<AXPGetWidgetsForAIQueryResult>;
|
|
5567
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGetWidgetsForAIQuery, never>;
|
|
5568
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGetWidgetsForAIQuery>;
|
|
5569
|
+
}
|
|
5570
|
+
|
|
5571
|
+
export { AXPAddressWidget, AXPAddressWidgetColumnComponent, AXPAddressWidgetEditComponent, AXPAddressWidgetService, AXPAddressWidgetViewComponent, AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetColumnComponent, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetColumnComponent, AXPCheckBoxWidgetDesignerComponent, AXPCheckBoxWidgetEditComponent, AXPCheckBoxWidgetViewComponent, AXPCodeEditorWidget, AXPCodeEditorWidgetColumnComponent, AXPCodeEditorWidgetEditComponent, AXPCodeEditorWidgetViewComponent, AXPColorBoxWidget, AXPColorBoxWidgetColumnComponent, AXPColorBoxWidgetDesignerComponent, AXPColorBoxWidgetEditComponent, AXPColorBoxWidgetViewComponent, AXPColorPaletteWidget, AXPColorPaletteWidgetColumnComponent, AXPColorPaletteWidgetDesignerComponent, AXPColorPaletteWidgetEditComponent, AXPColorPaletteWidgetViewComponent, AXPConditionBuilderWidget, AXPConditionBuilderWidgetEditComponent, AXPConditionBuilderWidgetViewComponent, AXPConnectedDragDropListsWidget, AXPConnectedListsWidgetColumnComponent, AXPConnectedListsWidgetEditComponent, AXPConnectedListsWidgetViewComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetViewComponent, AXPDataListWidget, AXPDataListWidgetViewComponent, AXPDataSourceOptionsWidget, AXPDataSourceOptionsWidgetEditComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetViewComponent, AXPDirectionWidget, AXPDirectionWidgetEditComponent, AXPDragDropListWidget, AXPEditFileUploaderCommand, AXPEditorJsWidget, AXPEditorJsWidgetColumnComponent, AXPEditorJsWidgetEditComponent, AXPEditorJsWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPFieldsetWidget, AXPFieldsetWidgetDesignerComponent, AXPFieldsetWidgetViewComponent, AXPFileListComponent, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPFlexItemOptionsWidget, AXPFlexItemOptionsWidgetEditComponent, AXPFlexItemWidget, AXPFlexItemWidgetDesignerComponent, AXPFlexItemWidgetViewComponent, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPFlexWidget, AXPFlexWidgetDesignerComponent, AXPFlexWidgetViewComponent, AXPGalleryWidget, AXPGalleryWidgetEditComponent, AXPGalleryWidgetViewComponent, AXPGetWidgetsForAIQuery, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridItemOptionsWidget, AXPGridItemOptionsWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPImageMarkerPopupComponent, AXPImageMarkerWidget, AXPImageMarkerWidgetColumnComponent, AXPImageMarkerWidgetEditComponent, AXPImageMarkerWidgetViewComponent, AXPItemConfiguratorWidget, AXPItemConfiguratorWidgetColumnComponent, AXPItemConfiguratorWidgetEditComponent, AXPJsonViewerWidget, AXPJsonViewerWidgetEditComponent, AXPJsonViewerWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPListWidgetColumnComponent, AXPListWidgetEditComponent, AXPListWidgetViewComponent, AXPMapWidgetEditComponent, AXPMapWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetViewComponent, AXPProgressBarWidget, AXPProgressBarWidgetColumnComponent, AXPProgressBarWidgetEditComponent, AXPProgressBarWidgetViewComponent, AXPProviderSelectWidgetColumnComponent, AXPProviderSelectWidgetEditBase, AXPProviderSelectWidgetViewComponent, AXPQrcodeWidget, AXPQrcodeWidgetColumnComponent, AXPQrcodeWidgetEditComponent, AXPQrcodeWidgetViewComponent, AXPRatePickerWidget, AXPRatePickerWidgetColumnComponent, AXPRatePickerWidgetEditComponent, AXPRatePickerWidgetViewComponent, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetViewComponent, AXPSchedulerPickerWidget, AXPSchedulerPickerWidgetColumnComponent, AXPSchedulerPickerWidgetEditComponent, AXPSchedulerPickerWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetViewComponent, AXPSelectLanguagePopup, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPStatusChipComponent, AXPStatusWidget, AXPStatusWidgetColumnComponent, AXPStatusWidgetEditComponent, AXPStatusWidgetViewComponent, AXPStepWizardWidget, AXPStepWizardWidgetViewComponent, AXPStopwatchWidget, AXPStopwatchWidgetViewComponent, AXPTableItemWidget, AXPTableItemWidgetDesignerComponent, AXPTableItemWidgetViewComponent, AXPTableWidget, AXPTableWidgetDesignerComponent, AXPTableWidgetViewComponent, AXPTagEditorWidget, AXPTagEditorWidgetColumnComponent, AXPTagEditorWidgetEditComponent, AXPTagEditorWidgetViewComponent, AXPTemplateBoxWidget, AXPTemplateBoxWidgetColumnComponent, AXPTemplateBoxWidgetEditComponent, AXPTemplateBoxWidgetPrintComponent, AXPTemplateBoxWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetViewComponent, AXPWidgetFieldConfiguratorWidget, AXPWidgetFieldConfiguratorWidgetColumnComponent, AXPWidgetFieldConfiguratorWidgetEditComponent, AXPWidgetsModule, AXP_ABSOLUTE_UNITS, AXP_ALLOW_CLEAR_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_ANIMATION_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BETWEEN_VALIDATION_PROPERTY, AXP_BG_COLOR_PROPERTY, AXP_BORDER_RADIUS_UNITS, AXP_BORDER_WIDTH_UNITS, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_CALLBACK_VALIDATION_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_LIST_CMD_DELETE, AXP_DATA_LIST_CMD_EDIT, AXP_DATA_LIST_PENDING_DELETE_KEY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_OPTIONS_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DEFAULT_ROW_COUNT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_EQUAL_VALIDATION_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FIT_LINE_COUNT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_GREATER_THAN_VALIDATION_PROPERTY, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_ITEM_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTY, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LAYOUT_TABLE_PROPERTY_GROUP, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_MAX_LENGTH_VALIDATION_PROPERTY, AXP_MAX_LINE_COUNT_PROPERTY, AXP_MIN_LENGTH_VALIDATION_PROPERTY, AXP_MIN_LINE_COUNT_PROPERTY, AXP_MULTI_LANGUAGE_PROPERTY, AXP_NAME_PROPERTY, AXP_NUMBER_SEPARATOR_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY, AXP_RELATIVE_UNITS, AXP_RELATIVE_UNITS_NO_PERCENT, AXP_REQUIRED_VALIDATION_PROPERTY, AXP_ROW_EXPR_PREFIX, AXP_SHOW_PASSWORD_PROPERTY, AXP_SPACING_UNITS, AXP_SPIN_BUTTON_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMNS_PROPERTY, AXP_TABLE_COLUMN_ALIGNMENT_PROPERTIES, AXP_TABLE_COLUMN_CELL_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEADER_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TABLE_ITEM_COLSPAN_PROPERTY, AXP_TABLE_ITEM_ROWSPAN_PROPERTY, AXP_TEXT_ALIGN_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRIGGERS_PROPERTY, AXP_TRIGGERS_PROPERTY_GROUP, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_VERTICAL_ALIGN_PROPERTY, AXP_WIDGET_AI_AGENT_ASSIST_FOLLOW_UP_CHIPS_LAYOUT, AXP_WIDGET_AI_AGENT_CHART_LAYOUT, AXP_WIDGET_AI_AGENT_FORM_LAYOUT, AXP_WIDGET_AI_AGENT_NAMES, AXP_WIDGET_PROPERTY_GROUP, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, booleanDefaultProperty, largeTextDefaultProperty, matchesWidgetAiAgent, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty, richTextDefaultProperty, selectEditorDefaultValueProperty, selectionListEditorDefaultValueProperty };
|
|
5572
|
+
export type { AXPAbsoluteUnit, AXPAddressData, AXPAddressFormContentOptions, AXPAddressLabel, AXPAddressMode, AXPAddressWidgetColumnOptions, AXPAddressWidgetDesignerOptions, AXPAddressWidgetEditOptions, AXPAddressWidgetOptions, AXPAddressWidgetViewOptions, AXPAdvancedGridItemWidgetDesignerOptions, AXPAdvancedGridItemWidgetEditOptions, AXPAdvancedGridItemWidgetOptions, AXPAdvancedGridItemWidgetPrintOptions, AXPAdvancedGridItemWidgetViewOptions, AXPAdvancedGridWidgetDesignerOptions, AXPAdvancedGridWidgetEditOptions, AXPAdvancedGridWidgetOptions, AXPAdvancedGridWidgetViewOptions, AXPAvatarWidgetColumnOptions, AXPAvatarWidgetDesignerOptions, AXPAvatarWidgetEditOptions, AXPAvatarWidgetOptions, AXPAvatarWidgetPrintOptions, AXPAvatarWidgetViewOptions, AXPBlockWidgetConfigType, AXPBlockWidgetDesignerOptions, AXPBlockWidgetEditOptions, AXPBlockWidgetOptions, AXPBlockWidgetPrintOptions, AXPBlockWidgetViewOptions, AXPBorderRadiusUnit, AXPBorderWidthUnit, AXPButtonWidgetColumnOptions, AXPButtonWidgetDesignerOptions, AXPButtonWidgetEditOptions, AXPButtonWidgetOptions, AXPButtonWidgetViewOptions, AXPCheckBoxWidgetColumnOptions, AXPCheckBoxWidgetConfigType, AXPCheckBoxWidgetDesignerOptions, AXPCheckBoxWidgetEditOptions, AXPCheckBoxWidgetOptions, AXPCheckBoxWidgetViewOptions, AXPCodeEditorWidgetOptions, AXPColorBoxWidgetColumnOptions, AXPColorBoxWidgetDesignerOptions, AXPColorBoxWidgetEditOptions, AXPColorBoxWidgetOptions, AXPColorBoxWidgetViewOptions, AXPColorPaletteWidgetColumnOptions, AXPColorPaletteWidgetDesignerOptions, AXPColorPaletteWidgetEditOptions, AXPColorPaletteWidgetOptions, AXPColorPaletteWidgetViewOptions, AXPConnectedListsWidgetColumnOptions, AXPConnectedListsWidgetDesignerOptions, AXPConnectedListsWidgetEditOptions, AXPConnectedListsWidgetOptions, AXPConnectedListsWidgetViewOptions, AXPContactWidgetColumnOptions, AXPContactWidgetDesignerOptions, AXPContactWidgetEditOptions, AXPContactWidgetOptions, AXPContactWidgetViewOptions, AXPDataListHeaderCommandApplyMode, AXPDataListWidgetColumn, AXPDataListWidgetCommandsOptions, AXPDataListWidgetComponentOptions, AXPDataListWidgetEditOptions, AXPDataListWidgetHeaderAction, AXPDataListWidgetHeaderCommandAction, AXPDataListWidgetOptions, AXPDataListWidgetRowCommand, AXPDataListWidgetViewOptions, AXPDataSourceOptionsValue, AXPDateTimeBoxWidgetColumnOptions, AXPDateTimeBoxWidgetDesignerOptions, AXPDateTimeBoxWidgetEditOptions, AXPDateTimeBoxWidgetOptions, AXPDateTimeBoxWidgetPrintOptions, AXPDateTimeBoxWidgetViewOptions, AXPEditorJsWidgetColumnOptions, AXPEditorJsWidgetDesignerOptions, AXPEditorJsWidgetEditOptions, AXPEditorJsWidgetOptions, AXPEditorJsWidgetPrintOptions, AXPEditorJsWidgetViewOptions, AXPFieldsetWidgetDesignerOptions, AXPFieldsetWidgetEditOptions, AXPFieldsetWidgetLook, AXPFieldsetWidgetOptions, AXPFieldsetWidgetPrintOptions, AXPFieldsetWidgetViewOptions, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPFlexBoxAlignmentOption, AXPFlexBoxOption, AXPFlexItemStyles, AXPFlexItemWidgetDesignerOptions, AXPFlexItemWidgetEditOptions, AXPFlexItemWidgetOptions, AXPFlexItemWidgetPrintOptions, AXPFlexItemWidgetViewOptions, AXPFlexWidgetConfigType, AXPFlexWidgetDesignerOptions, AXPFlexWidgetEditOptions, AXPFlexWidgetOptions, AXPFlexWidgetPrintOptions, AXPFlexWidgetViewOptions, AXPGalleryWidgetDesignerOptions, AXPGalleryWidgetEditOptions, AXPGalleryWidgetOptions, AXPGalleryWidgetPrintOptions, AXPGalleryWidgetViewOptions, AXPGetWidgetsForAIQueryAiBlock, AXPGetWidgetsForAIQueryCategoryRow, AXPGetWidgetsForAIQueryInput, AXPGetWidgetsForAIQueryInputPropertyRow, AXPGetWidgetsForAIQueryListItem, AXPGetWidgetsForAIQueryOutputPropertyRow, AXPGetWidgetsForAIQueryResult, AXPGetWidgetsForAIQueryUsage, AXPGetWidgetsForAIQueryWidgetDetail, AXPGetWidgetsForAIQueryWidgetStructured, AXPGridBoxAlignmentOption, AXPGridBoxOption, AXPImageMarkerWidgetColumnOptions, AXPImageMarkerWidgetComponentOptions, AXPImageMarkerWidgetDesignerOptions, AXPImageMarkerWidgetEditOptions, AXPImageMarkerWidgetOptions, AXPImageMarkerWidgetPoint, AXPImageMarkerWidgetViewOptions, AXPJsonViewerWidgetOptions, AXPLargeTextWidgetColumnOptions, AXPLargeTextWidgetDesignerOptions, AXPLargeTextWidgetEditOptions, AXPLargeTextWidgetOptions, AXPLargeTextWidgetPrintOptions, AXPLargeTextWidgetViewOptions, AXPListWidgetColumnOptions, AXPListWidgetDesignerOptions, AXPListWidgetEditOptions, AXPListWidgetOptions, AXPListWidgetViewOptions, AXPNumberBoxWidgetColumnOptions, AXPNumberBoxWidgetDesignerOptions, AXPNumberBoxWidgetEditOptions, AXPNumberBoxWidgetOptions, AXPNumberBoxWidgetPrintOptions, AXPNumberBoxWidgetViewOptions, AXPPageWidgetDesignerOptions, AXPPageWidgetEditOptions, AXPPageWidgetOptions, AXPPageWidgetPrintOptions, AXPPageWidgetViewOptions, AXPPasswordBoxWidgetColumnOptions, AXPPasswordBoxWidgetDesignerOptions, AXPPasswordBoxWidgetEditOptions, AXPPasswordBoxWidgetOptions, AXPPasswordBoxWidgetPrintOptions, AXPPasswordBoxWidgetViewOptions, AXPProgressBarWidgetColumnOptions, AXPProgressBarWidgetDesignerOptions, AXPProgressBarWidgetEditOptions, AXPProgressBarWidgetOptions, AXPProgressBarWidgetPrintOptions, AXPProgressBarWidgetViewOptions, AXPQrcodeWidgetDesignerOptions, AXPQrcodeWidgetEditOptions, AXPQrcodeWidgetOptions, AXPQrcodeWidgetPrintOptions, AXPQrcodeWidgetViewOptions, AXPRatePickerWidgetColumnOptions, AXPRatePickerWidgetDesignerOptions, AXPRatePickerWidgetEditOptions, AXPRatePickerWidgetOptions, AXPRatePickerWidgetPrintOptions, AXPRatePickerWidgetViewOptions, AXPRelativeUnit, AXPRelativeUnitNoPercent, AXPRepeaterWidgetDesignerOptions, AXPRepeaterWidgetEditOptions, AXPRepeaterWidgetOptions, AXPRepeaterWidgetPrintOptions, AXPRepeaterWidgetViewOptions, AXPRichTextWidgetColumnOptions, AXPRichTextWidgetDesignerOptions, AXPRichTextWidgetEditOptions, AXPRichTextWidgetOptions, AXPRichTextWidgetPrintOptions, AXPRichTextWidgetViewOptions, AXPSchedulerPickerWidgetColumnOptions, AXPSchedulerPickerWidgetDesignerOptions, AXPSchedulerPickerWidgetEditOptions, AXPSchedulerPickerWidgetOptions, AXPSchedulerPickerWidgetPrintOptions, AXPSchedulerPickerWidgetViewOptions, AXPSelectBoxWidgetColumnOptions, AXPSelectBoxWidgetDesignerOptions, AXPSelectBoxWidgetEditOptions, AXPSelectBoxWidgetOptions, AXPSelectBoxWidgetPrintOptions, AXPSelectBoxWidgetViewOptions, AXPSelectLanguageRow, AXPSelectionListWidgetColumnOptions, AXPSelectionListWidgetDesignerOptions, AXPSelectionListWidgetEditOptions, AXPSelectionListWidgetOptions, AXPSelectionListWidgetPrintOptions, AXPSelectionListWidgetViewOptions, AXPSignatureWidgetColumnOptions, AXPSignatureWidgetDesignerOptions, AXPSignatureWidgetEditOptions, AXPSignatureWidgetOptions, AXPSignatureWidgetPrintOptions, AXPSignatureWidgetViewOptions, AXPSpacingBoxDefaultValues, AXPSpacingUnit, AXPStatusTransitionWithTarget, AXPStatusWidgetColumnOptions, AXPStatusWidgetDesignerOptions, AXPStatusWidgetEditOptions, AXPStatusWidgetOptions, AXPStatusWidgetPrintOptions, AXPStatusWidgetViewOptions, AXPStepStatus, AXPStepWizardActionConfig, AXPStepWizardDirection, AXPStepWizardEvents, AXPStepWizardGlobalActions, AXPStepWizardGuard, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPStepWizardStep, AXPStepWizardWidgetDefinition, AXPStopwatchWidgetOptions, AXPTableItemWidgetDesignerOptions, AXPTableItemWidgetEditOptions, AXPTableItemWidgetOptions, AXPTableItemWidgetPrintOptions, AXPTableItemWidgetViewOptions, AXPTableWidgetConfigType, AXPTableWidgetDesignerOptions, AXPTableWidgetEditOptions, AXPTableWidgetOptions, AXPTableWidgetPrintOptions, AXPTableWidgetViewOptions, AXPTagEditorWidgetColumnOptions, AXPTagEditorWidgetDesignerOptions, AXPTagEditorWidgetEditOptions, AXPTagEditorWidgetOptions, AXPTagEditorWidgetPrintOptions, AXPTagEditorWidgetViewOptions, AXPTemplateBoxWidgetColumnOptions, AXPTemplateBoxWidgetDesignerOptions, AXPTemplateBoxWidgetEditOptions, AXPTemplateBoxWidgetOptions, AXPTemplateBoxWidgetPrintOptions, AXPTemplateBoxWidgetViewOptions, AXPTextBoxWidgetColumnOptions, AXPTextBoxWidgetDesignerOptions, AXPTextBoxWidgetEditOptions, AXPTextBoxWidgetOptions, AXPTextBoxWidgetPrintOptions, AXPTextBoxWidgetViewOptions, AXPToggleWidgetColumnOptions, AXPToggleWidgetDesignerOptions, AXPToggleWidgetEditOptions, AXPToggleWidgetOptions, AXPToggleWidgetPrintOptions, AXPToggleWidgetViewOptions, AXPWidgetAiAgentName, AXStepWizardLook, DataSourceMode, StrategyConfig };
|