@acorex/platform 21.0.0-next.90 → 21.0.0-next.92
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 +1 -2
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-DilV4dql.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +3 -10
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-contracts.mjs +1736 -27
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +6 -1708
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2 -2
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-CwG6n_Yb.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +27 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component--IeMZLIr.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +263 -115
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +4 -2
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +87 -11
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-BvFykMTH.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +2 -4
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs → acorex-platform-themes-shared-settings.provider-DxtfyNGS.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DxtfyNGS.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
- package/fesm2022/acorex-platform-workflow.mjs +2 -2
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +3 -5
- package/types/acorex-platform-contracts.d.ts +862 -7
- package/types/acorex-platform-core.d.ts +64 -921
- package/types/acorex-platform-layout-builder.d.ts +3 -3
- package/types/acorex-platform-layout-components.d.ts +6 -6
- package/types/acorex-platform-layout-designer.d.ts +4 -5
- package/types/acorex-platform-layout-entity-contracts.d.ts +90 -3
- package/types/acorex-platform-layout-entity.d.ts +45 -102
- package/types/acorex-platform-layout-views.d.ts +13 -11
- package/types/acorex-platform-layout-widget-core.d.ts +83 -77
- package/types/acorex-platform-layout-widgets.d.ts +9 -8
- package/fesm2022/acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
+
import { AXPMultiLanguageString, AXPMetaData, AXPWidgetNode, AXPGridLayoutOptions, AXPWidgetRenderMode, AXPExpression, AXPValidationRules, AXPOptionsData, AXPContextChangeEvent, AXPExecuteCommandResult } from '@acorex/platform/contracts';
|
|
4
5
|
import { AXFormComponent } from '@acorex/components/form';
|
|
5
6
|
import { AXValidationSummary } from '@acorex/core/validation';
|
|
6
|
-
import {
|
|
7
|
+
import { AXPWidgetContainerComponent, AXPWidgetCoreElementAction } from '@acorex/platform/layout/widget-core';
|
|
7
8
|
import { AXDataSource, AXComponentClosing } from '@acorex/cdk/common';
|
|
8
9
|
import { AXPopupSizeType } from '@acorex/components/popup';
|
|
9
10
|
import { AXStepWizardLook } from '@acorex/components/step-wizard';
|
|
10
|
-
import {
|
|
11
|
-
import { AXPActionMenuItem, AXPDialogActionOptions, AXPContextChangeEvent } from '@acorex/platform/core';
|
|
11
|
+
import { AXPActionMenuItem, AXPDialogActionOptions } from '@acorex/platform/core';
|
|
12
12
|
export { AXPDialogActionOptions, AXPDialogActionShortcut, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS } from '@acorex/platform/core';
|
|
13
13
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
14
14
|
import { AXPCommand } from '@acorex/platform/runtime';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal, InjectionToken, InputSignal, TemplateRef, ElementRef, OnDestroy, OnInit, QueryList, Type, EventEmitter, WritableSignal } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
4
|
+
import { AXPSystemActionType, AXPCategoryEntity, AXPColumnQuery, AXPWidgetNode, AXPContextData, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPContextChangeEvent, AXPMultiLanguageString, AXPExecuteCommand, AXPExecuteCommandResult, containsHtmlMarkup, AXPSortDefinition, AXPSortQuery, AXPMetaData, AXPViewQuery } from '@acorex/platform/contracts';
|
|
5
|
+
import { AXPActivityLog, AXPActionMenuItem } from '@acorex/platform/core';
|
|
5
6
|
import { AXHtmlEvent, AXValueChangedEvent, AXClickEvent, AXDataSource, AXDataSourceFilterOption, AXDataSourceOperator, AXFilterLogic, AXEvent, AXRange } from '@acorex/cdk/common';
|
|
6
7
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
7
8
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
@@ -9,14 +10,13 @@ import { AXPMenuItem } from '@acorex/platform/common';
|
|
|
9
10
|
import { AXTreeViewLegacyComponent, AXTreeItemClickBaseEventLegacy } from '@acorex/components/tree-view-legacy';
|
|
10
11
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
11
12
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
12
|
-
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
13
|
-
import { AXPWidgetNode, AXPWidgetRendererDirective, AXPWidgetProperty, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
|
|
14
13
|
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXDataTableRowClick, AXRowCommandItemClickEvent } from '@acorex/components/data-table';
|
|
15
14
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
16
15
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
17
16
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
18
17
|
import { AXCalendarService } from '@acorex/core/date-time';
|
|
19
18
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
19
|
+
import { AXPWidgetRendererDirective, AXPWidgetProperty, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
|
|
20
20
|
import { AXFormComponent } from '@acorex/components/form';
|
|
21
21
|
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
22
22
|
import { AXTreeViewNode, AXTreeViewDragBehavior, AXTreeViewDragArea, AXTreeViewComponent, AXTreeViewBeforeDropEvent, AXTreeViewDropEvent } from '@acorex/components/tree-view';
|
|
@@ -1296,7 +1296,7 @@ declare class AXPLogoComponent {
|
|
|
1296
1296
|
private readonly resolvedMenuMode;
|
|
1297
1297
|
protected readonly activeSource: _angular_core.Signal<any>;
|
|
1298
1298
|
protected readonly isCompactLogo: _angular_core.Signal<boolean>;
|
|
1299
|
-
protected readonly logoType: _angular_core.Signal<"
|
|
1299
|
+
protected readonly logoType: _angular_core.Signal<"url" | "component" | "icon" | undefined>;
|
|
1300
1300
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
1301
1301
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1302
1302
|
}
|
|
@@ -2879,7 +2879,7 @@ declare class AXPTableColumnsEditorPopupComponent extends AXBasePageComponent {
|
|
|
2879
2879
|
|
|
2880
2880
|
declare class AXPTableColumnsEditorComponent {
|
|
2881
2881
|
/** Layout tree: repeater (path: columns) with form-fields for name, title, widget. */
|
|
2882
|
-
protected readonly columnsEditorLayout: _angular_core.WritableSignal<
|
|
2882
|
+
protected readonly columnsEditorLayout: _angular_core.WritableSignal<_acorex_platform_contracts.AXPWidgetNode>;
|
|
2883
2883
|
/** Two-way: list of column definitions (synced with editorContext.columns). */
|
|
2884
2884
|
columns: _angular_core.ModelSignal<AXPTableColumnDefinition[]>;
|
|
2885
2885
|
/** Context for the layout renderer; must hold { columns: AXPTableColumnDefinition[] }. */
|
|
@@ -3,13 +3,12 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { EventEmitter, OnChanges, OnDestroy, WritableSignal, NgZone, ComponentRef, SimpleChanges } from '@angular/core';
|
|
4
4
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
5
5
|
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
6
|
-
import { AXPMultiLanguageString, AXPDefinitionCategory } from '@acorex/platform/contracts';
|
|
6
|
+
import { AXPMultiLanguageString, AXPDefinitionCategory, AXPWidgetNode, AXPWidgetRenderMode, AXPContextChangeEvent } from '@acorex/platform/contracts';
|
|
7
7
|
import { AXPWidgetItemData, AXPWidgetItemClickEvent } from '@acorex/platform/layout/components';
|
|
8
|
-
import
|
|
9
|
-
import { AXPWidgetConfig, AXPWidgetGroupEnum, AXPWidgetNode, AXPBaseWidgetComponent, AXPWidgetRegistryService, AXPLayoutBaseWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
8
|
+
import { AXPWidgetConfig, AXPWidgetGroupEnum, AXPBaseWidgetComponent, AXPWidgetRegistryService, AXPLayoutBaseWidgetComponent } from '@acorex/platform/layout/widget-core';
|
|
10
9
|
import { AXMenuItem } from '@acorex/components/menu';
|
|
11
10
|
import { Subject } from 'rxjs';
|
|
12
|
-
import { AXPBroadcastEventService
|
|
11
|
+
import { AXPBroadcastEventService } from '@acorex/platform/core';
|
|
13
12
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
14
13
|
import { AXPClipBoardService, AXPSettingsService } from '@acorex/platform/common';
|
|
15
14
|
|
|
@@ -434,7 +433,7 @@ declare class AXPWidgetDesignerRendererDirective implements OnChanges, OnDestroy
|
|
|
434
433
|
parentComponent: _angular_core.InputSignal<ComponentRef<any> | null | undefined>;
|
|
435
434
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
436
435
|
locked: _angular_core.InputSignal<boolean>;
|
|
437
|
-
mode: _angular_core.InputSignal<
|
|
436
|
+
mode: _angular_core.InputSignal<AXPWidgetRenderMode>;
|
|
438
437
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
439
438
|
private hostElement;
|
|
440
439
|
private getId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXStyleColorType, AXPopupSizeType, AXPMetaData, AXPSystemActionType, AXPValueTransformerFunctions, AXPValidationRules, AXPGridLayoutOptions, AXPExpression, AXDataSourceOperator, AXPFilterDefinition, AXPMultiLanguageString, AXPOptionsData, AXPUserReference } from '@acorex/platform/contracts';
|
|
1
|
+
import { AXStyleColorType, AXPopupSizeType, AXPMetaData, AXPSystemActionType, AXPValueTransformerFunctions, AXPValidationRules, AXPGridLayoutOptions, AXPExpression, AXDataSourceOperator, AXPFilterDefinition, AXPMultiLanguageString, AXPOptionsData, AXPUserReference, AXPContextData } from '@acorex/platform/contracts';
|
|
2
2
|
import { AXPQueryRequest } from '@acorex/platform/core';
|
|
3
3
|
import { AXPWidgetTypesMap } from '@acorex/platform/layout/widget-core';
|
|
4
4
|
|
|
@@ -695,6 +695,84 @@ interface AXPEntityAggregateOptions {
|
|
|
695
695
|
pageSize?: number;
|
|
696
696
|
}
|
|
697
697
|
|
|
698
|
+
interface AXPLookupWidgetCreateOptions {
|
|
699
|
+
enable?: boolean;
|
|
700
|
+
context?: AXPContextData;
|
|
701
|
+
}
|
|
702
|
+
interface ResolvedLookupCreateOptions {
|
|
703
|
+
enabled: boolean;
|
|
704
|
+
mode: 'none' | 'full' | 'quick';
|
|
705
|
+
context?: AXPContextData;
|
|
706
|
+
}
|
|
707
|
+
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
708
|
+
/**
|
|
709
|
+
* How the lookup column resolves related items for display in entity lists.
|
|
710
|
+
* - `hydrated`: titles (and optional ids) are already on the row; inline preview + overflow popover use row data only.
|
|
711
|
+
* - `idsWithCount`: ids and optional count live on the row; the cell shows a count summary and loads titles via entity `byKey` when the popover opens.
|
|
712
|
+
* - `countOnly`: only a count is on the row; the popover loads ids/titles via a registered `AXPQuery` when opened.
|
|
713
|
+
*/
|
|
714
|
+
type AXPLookupColumnResolveStrategy = 'hydrated' | 'idsWithCount' | 'countOnly';
|
|
715
|
+
/**
|
|
716
|
+
* Column list only: controls how the lookup column loads and displays related items in grids.
|
|
717
|
+
* Omitted or empty strategy defaults to `hydrated` at runtime.
|
|
718
|
+
*/
|
|
719
|
+
interface AXPLookupColumnResolveOptions {
|
|
720
|
+
/** Default `hydrated` when omitted. */
|
|
721
|
+
strategy?: AXPLookupColumnResolveStrategy;
|
|
722
|
+
/** Lodash-style path on `rowData` for the displayed count (e.g. `rolesCount`). */
|
|
723
|
+
countFieldPath?: string;
|
|
724
|
+
/** Lodash-style path on `rowData` for the related id list (`idsWithCount`). If omitted, the column `rawValue` is used. */
|
|
725
|
+
idsPath?: string;
|
|
726
|
+
/** Registered query key for `AXPQueryExecutor.fetch` when using `countOnly`. */
|
|
727
|
+
queryKey?: string;
|
|
728
|
+
/**
|
|
729
|
+
* Maps query input property names to lodash-style paths on `rowData` (e.g. `{ "userId": "id" }`).
|
|
730
|
+
* May be a JSON string when set from the layout designer text field.
|
|
731
|
+
*/
|
|
732
|
+
queryParams?: Record<string, string> | string;
|
|
733
|
+
/**
|
|
734
|
+
* Dot path into the named query result for the items array. Defaults to `items` when the result is an object.
|
|
735
|
+
* If the query returns an array directly, leave unset and handle at runtime.
|
|
736
|
+
*/
|
|
737
|
+
queryResultItemsPath?: string;
|
|
738
|
+
}
|
|
739
|
+
interface AXPLookupDisplayOptions {
|
|
740
|
+
displayFormat?: string;
|
|
741
|
+
textField?: string;
|
|
742
|
+
isMultiLanguage?: (value: unknown) => boolean;
|
|
743
|
+
}
|
|
744
|
+
/** Column list: entity detail popover when clicking a lookup value. */
|
|
745
|
+
interface AXPLookupPopoverOptions {
|
|
746
|
+
/** When `false`, lookup values are not clickable and the detail popover does not open. Default `true`. */
|
|
747
|
+
enabled?: boolean;
|
|
748
|
+
}
|
|
749
|
+
/** Row actions to show in the lookup data selector popup (subset of entity list actions). */
|
|
750
|
+
interface AXPLookupSelectorRowActionsConfig {
|
|
751
|
+
/** Primary icon buttons (e.g. preview). Match full command name or suffix such as `:Preview`. */
|
|
752
|
+
primary?: string[];
|
|
753
|
+
/** Secondary actions in the row dropdown menu. */
|
|
754
|
+
secondary?: string[];
|
|
755
|
+
}
|
|
756
|
+
interface AXPLookupWidgetOptions {
|
|
757
|
+
disabled?: boolean | AXPExpression;
|
|
758
|
+
readonly?: boolean | AXPExpression;
|
|
759
|
+
placeholder?: string;
|
|
760
|
+
expose?: string | string[];
|
|
761
|
+
look?: AXPLookupWidgetLookType;
|
|
762
|
+
allowClear?: boolean;
|
|
763
|
+
/** Inline entity create configuration. */
|
|
764
|
+
create?: AXPLookupWidgetCreateOptions;
|
|
765
|
+
/** @deprecated Use create.enable; still supported for create mode (quick/full). */
|
|
766
|
+
allowCreate?: 'none' | 'full' | 'quick';
|
|
767
|
+
displayFormat?: string;
|
|
768
|
+
/** Column list: entity detail popover behavior. */
|
|
769
|
+
popover?: AXPLookupPopoverOptions;
|
|
770
|
+
/** Column list: lazy resolve and summary behavior. */
|
|
771
|
+
columnResolve?: AXPLookupColumnResolveOptions;
|
|
772
|
+
/** Lookup selector popup: entity row actions to display. */
|
|
773
|
+
selectorRowActions?: AXPLookupSelectorRowActionsConfig;
|
|
774
|
+
}
|
|
775
|
+
|
|
698
776
|
declare function entityMasterCreateAction(): AXPEntityAction;
|
|
699
777
|
declare function entityMasterEditAction(): AXPEntityAction;
|
|
700
778
|
declare function entityMasterBulkDeleteAction(): AXPEntityAction;
|
|
@@ -872,6 +950,15 @@ declare function buildAXPRecordWorkflowInfo(params: {
|
|
|
872
950
|
pinnedVersion?: number | null;
|
|
873
951
|
}): AXPRecordWorkflowInfo;
|
|
874
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Resolves lookup create options from `create` and legacy `allowCreate` (mode).
|
|
955
|
+
*/
|
|
956
|
+
declare function resolveLookupWidgetCreateOptions(options: {
|
|
957
|
+
create?: AXPLookupWidgetCreateOptions;
|
|
958
|
+
/** @deprecated Use create.enable; still supported for create mode (quick/full). */
|
|
959
|
+
allowCreate?: 'none' | 'full' | 'quick';
|
|
960
|
+
}): ResolvedLookupCreateOptions;
|
|
961
|
+
|
|
875
962
|
/** Row path used when context carries a nested entity layout title. */
|
|
876
963
|
declare const ENTITY_LAYOUT_SINGLE_TITLE_PATH = "entity.layout.single.title";
|
|
877
964
|
/** Widget option for a pre-evaluated or template entity row title (entity list column mappers). */
|
|
@@ -889,5 +976,5 @@ declare const AXPEntityEventsKeys: {
|
|
|
889
976
|
readonly REFRESH_DATA: "entity:refresh-data";
|
|
890
977
|
};
|
|
891
978
|
|
|
892
|
-
export { AXPEntityCommandScope, AXPEntityDataSourceKeys, AXPEntityEventsKeys, AXPEntityQueryType, AXPEntityType, AXPRelationshipCardinality, AXPRelationshipKind, AXP_RECORD_WORKFLOW_INFO_CORRELATION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_DEFINITION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_INSTANCE_ID_FIELD, ENTITY_LAYOUT_SINGLE_TITLE_PATH, ENTITY_ROW_POPUP_TITLE_OPTION, ENTITY_ROW_TITLE_TEMPLATE_OPTION, buildAXPRecordWorkflowInfo, buildEntitySearchTitleContext, collectEntityListFilterDefinitions, collectEntityListSortableFields, collectEntityQuickSearchFieldPaths, collectMergeDetailListPropertyNames, collectNestedCreateHiddenProperties, collectNestedFieldPathsFromEntityColumns, collectPropertyExposeTargetPaths, collectQuickSearchPathsFromSingleEntityDefinition, createAllQueryView, createQueryView, encodeEntityListFilterContextField, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, getEntityInfo, getRecordWorkflowCorrelationId, getRecordWorkflowInstanceId, isCardFieldBadgeDisplay, isEntityPropertySortEnabled, isMeaningfulEntityDisplayTitle, isRowBoundEntityDisplayTemplate, isUnresolvedEntityDisplayTemplate, mergeForeignKeyFieldIntoCreateActions, normalizeEntityDisplayTemplate, normalizeExpressionTemplate, parseDottedFieldPath, parsePropertyExposeEntries, parseRelatedEntityFullName, resolveCardFieldBadgeColor, resolveDefaultMasterListLayout, resolveEnabledMasterListLayouts, resolveEntityColumnDataPath, resolveEntityListFilterContextField, resolveEntityListFilterQueryField, resolveEntityModifyRecordTitleTemplate, resolveEntityPropertyInlineFilterField, resolveEntityRowTitleTemplate, resolvePropertyExposeDisplayTarget, sanitizeResolvedEntityDisplayTitle };
|
|
893
|
-
export type { AXEntityPropertyWidget, AXPAggregate, AXPApplication, AXPAuditEvent, AXPBuildEntityListFilterDefinitionsDeps, AXPCardBadgeColor, AXPCardBadgeDisplay, AXPCardBadgeDisplayOptions, AXPCardField, AXPCardFieldDisplay, AXPCardFieldDisplayConfig, AXPCollectEntityQuickSearchPathsResolver, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPEntity, AXPEntityAction, AXPEntityAggregateMeasure, AXPEntityAggregateOptions, AXPEntityAggregateReducerType, AXPEntityAggregateRequest, AXPEntityAggregateResult, AXPEntityCategoryPlugin, AXPEntityCommand, AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityDetailListView, AXPEntityDisplayField, AXPEntityFormats, AXPEntityListFilterDefinition, AXPEntityListItemDto, AXPEntityListSortableField, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityMasterListLayoutType, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityModel, AXPEntityOutputDto, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyExposeEntry, AXPEntityPropertyFilterOptions, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyLike, AXPEntityPropertyListOptions, AXPEntityPropertySortOptions, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityQuickCreate, AXPEntitySearchResultFormat, AXPEntitySearchTitleContext, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityUpdateDto, AXPEntityV2, AXPEntityVersionHistory, AXPMockDto, AXPModule, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRecordAuditInfo, AXPRecordOwnershipInfo, AXPRecordStateInfo, AXPRecordWorkflowInfo, AXPRelatedEntity, AXPRelatedEntityLayout, AXPRelatedEntityPersistence, AXPRelationship };
|
|
979
|
+
export { AXPEntityCommandScope, AXPEntityDataSourceKeys, AXPEntityEventsKeys, AXPEntityQueryType, AXPEntityType, AXPRelationshipCardinality, AXPRelationshipKind, AXP_RECORD_WORKFLOW_INFO_CORRELATION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_DEFINITION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_INSTANCE_ID_FIELD, ENTITY_LAYOUT_SINGLE_TITLE_PATH, ENTITY_ROW_POPUP_TITLE_OPTION, ENTITY_ROW_TITLE_TEMPLATE_OPTION, buildAXPRecordWorkflowInfo, buildEntitySearchTitleContext, collectEntityListFilterDefinitions, collectEntityListSortableFields, collectEntityQuickSearchFieldPaths, collectMergeDetailListPropertyNames, collectNestedCreateHiddenProperties, collectNestedFieldPathsFromEntityColumns, collectPropertyExposeTargetPaths, collectQuickSearchPathsFromSingleEntityDefinition, createAllQueryView, createQueryView, encodeEntityListFilterContextField, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, getEntityInfo, getRecordWorkflowCorrelationId, getRecordWorkflowInstanceId, isCardFieldBadgeDisplay, isEntityPropertySortEnabled, isMeaningfulEntityDisplayTitle, isRowBoundEntityDisplayTemplate, isUnresolvedEntityDisplayTemplate, mergeForeignKeyFieldIntoCreateActions, normalizeEntityDisplayTemplate, normalizeExpressionTemplate, parseDottedFieldPath, parsePropertyExposeEntries, parseRelatedEntityFullName, resolveCardFieldBadgeColor, resolveDefaultMasterListLayout, resolveEnabledMasterListLayouts, resolveEntityColumnDataPath, resolveEntityListFilterContextField, resolveEntityListFilterQueryField, resolveEntityModifyRecordTitleTemplate, resolveEntityPropertyInlineFilterField, resolveEntityRowTitleTemplate, resolveLookupWidgetCreateOptions, resolvePropertyExposeDisplayTarget, sanitizeResolvedEntityDisplayTitle };
|
|
980
|
+
export type { AXEntityPropertyWidget, AXPAggregate, AXPApplication, AXPAuditEvent, AXPBuildEntityListFilterDefinitionsDeps, AXPCardBadgeColor, AXPCardBadgeDisplay, AXPCardBadgeDisplayOptions, AXPCardField, AXPCardFieldDisplay, AXPCardFieldDisplayConfig, AXPCollectEntityQuickSearchPathsResolver, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPEntity, AXPEntityAction, AXPEntityAggregateMeasure, AXPEntityAggregateOptions, AXPEntityAggregateReducerType, AXPEntityAggregateRequest, AXPEntityAggregateResult, AXPEntityCategoryPlugin, AXPEntityCommand, AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityDetailListView, AXPEntityDisplayField, AXPEntityFormats, AXPEntityListFilterDefinition, AXPEntityListItemDto, AXPEntityListSortableField, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityMasterListLayoutType, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityModel, AXPEntityOutputDto, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyExposeEntry, AXPEntityPropertyFilterOptions, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyLike, AXPEntityPropertyListOptions, AXPEntityPropertySortOptions, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityQuickCreate, AXPEntitySearchResultFormat, AXPEntitySearchTitleContext, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityUpdateDto, AXPEntityV2, AXPEntityVersionHistory, AXPLookupColumnResolveOptions, AXPLookupColumnResolveStrategy, AXPLookupDisplayOptions, AXPLookupPopoverOptions, AXPLookupSelectorRowActionsConfig, AXPLookupWidgetCreateOptions, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPMockDto, AXPModule, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRecordAuditInfo, AXPRecordOwnershipInfo, AXPRecordStateInfo, AXPRecordWorkflowInfo, AXPRelatedEntity, AXPRelatedEntityLayout, AXPRelatedEntityPersistence, AXPRelationship, ResolvedLookupCreateOptions };
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _acorex_platform_layout_entity_contracts from '@acorex/platform/layout/entity-contracts';
|
|
2
|
+
import { AXPRelatedEntity, AXPEntityPage, AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPCardField, AXPEntityPropertyLayoutConfig, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPQueryView, AXPEntityMasterListLayoutType, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityListFilterDefinition, AXPEntityListSortableField, AXPEntityPropertyView, AXPEntityCategoryPlugin, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXPEntityAggregateRequest, AXPEntityDetailDto, AXPEntityModel, AXPEntityListItemDto, AXPEntityCreateDto, AXPEntityUpdateDto, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityAggregateOptions, AXPEntityAggregateResult, AXPLookupDisplayOptions, AXPLookupWidgetLookType, AXPLookupSelectorRowActionsConfig, AXPQueryFilter, AXPLookupColumnResolveOptions, AXPLookupColumnResolveStrategy } from '@acorex/platform/layout/entity-contracts';
|
|
2
3
|
export * from '@acorex/platform/layout/entity-contracts';
|
|
3
4
|
export { collectNestedCreateHiddenProperties, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, mergeForeignKeyFieldIntoCreateActions } from '@acorex/platform/layout/entity-contracts';
|
|
4
5
|
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
5
|
-
import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPExpression, AXPMultiLanguageString, AXPBreadcrumbItem, AXPFilterQuery, AXPExecuteCommand, AXPFilterDefinition, AXPPagedListResult, AXPCategoryEntity, AXPEntityOp, AXPMiddlewareErrorResponse, AXPColumnQuery, AXPSortDefinition, AXPFileListItem } from '@acorex/platform/contracts';
|
|
6
|
+
import { AXPExecuteCommandResult, AXPMetaData, AXPWidgetNode, AXPGridLayoutOptions, AXPExpression, AXPMultiLanguageString, AXPBreadcrumbItem, AXPFilterQuery, AXPExecuteCommand, AXPFilterDefinition, AXPPagedListResult, AXPCategoryEntity, AXPEntityOp, AXPMiddlewareErrorResponse, AXPColumnQuery, AXPSortDefinition, AXPFileListItem, AXPContextData, AXPContextChangeEvent } from '@acorex/platform/contracts';
|
|
6
7
|
import { AXPCommand, AXPQueryExecutor, AXPCommandService, AXPQuery } from '@acorex/platform/runtime';
|
|
7
8
|
import * as _angular_core from '@angular/core';
|
|
8
9
|
import { ElementRef, InjectionToken, Injector, Type, EnvironmentProviders, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
9
|
-
import * as i4 from '@acorex/platform/layout/widget-core';
|
|
10
|
-
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective, AXPWidgetCoreElementAPI } from '@acorex/platform/layout/widget-core';
|
|
11
10
|
import { AXPPreloadFiltersApplyEvent, AXPColumnItemListItem, AXPDataSelectorRowActionsHandler, AXPCategoryTreeDataSource, AXPDataSelectorAllowCreate } from '@acorex/platform/layout/components';
|
|
12
11
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
13
|
-
import { AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPQueryRequest, AXHighlightService, AXPDeviceService, AXPBroadcastEventService, AXPActionMenuItem,
|
|
14
|
-
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
15
|
-
import { AXPRelatedEntity, AXPEntityPage, AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPCardField, AXPEntityPropertyLayoutConfig, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPQueryView, AXPEntityMasterListLayoutType, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityPropertyView, AXPEntityCategoryPlugin, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXCFileUploaderCapabilities, AXCFileUploaderAction, AXPQueryFilter } from '@acorex/platform/common';
|
|
12
|
+
import { AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPQueryRequest, AXHighlightService, AXPDeviceService, AXPBroadcastEventService, AXPActionMenuItem, AXPExpressionEvaluatorService, AXPContextEvalFactory, AXPContextStore } from '@acorex/platform/core';
|
|
16
13
|
export { AXPEntityDefinitionCrudService, AXP_ENTITY_DEFINITION_CRUD_SERVICE } from '@acorex/platform/domain';
|
|
17
14
|
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption, AXDataSourceSortOption, AXValueChangedEvent, AXClickEvent, AXFocusEvent, AXHtmlEvent } from '@acorex/cdk/common';
|
|
15
|
+
import * as i4 from '@acorex/platform/layout/widget-core';
|
|
16
|
+
import { AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective, AXPWidgetCoreElementAPI } from '@acorex/platform/layout/widget-core';
|
|
18
17
|
import * as i1 from '@angular/router';
|
|
19
18
|
import { ResolveFn, RedirectCommand } from '@angular/router';
|
|
20
19
|
import * as rxjs from 'rxjs';
|
|
@@ -30,6 +29,7 @@ import { AXBasePageComponent } from '@acorex/components/page';
|
|
|
30
29
|
import { AXFormatService } from '@acorex/core/format';
|
|
31
30
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
32
31
|
import { AXPProviderSelectWidgetEditBase, AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
32
|
+
import { AXCFileUploaderCapabilities, AXPFileStorageService, AXCFileUploaderAction } from '@acorex/platform/common';
|
|
33
33
|
import * as _acorex_platform_layout_entity from '@acorex/platform/layout/entity';
|
|
34
34
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
35
35
|
import { AXFileService } from '@acorex/core/file';
|
|
@@ -389,7 +389,7 @@ declare class AXPEntityListViewCardFieldViewModel {
|
|
|
389
389
|
name: string;
|
|
390
390
|
title: string;
|
|
391
391
|
visible: string | boolean;
|
|
392
|
-
layout:
|
|
392
|
+
layout: _acorex_platform_layout_entity_contracts.AXPEntityPropertyLayoutConfig | undefined;
|
|
393
393
|
display: string;
|
|
394
394
|
isBadgeDisplay: boolean;
|
|
395
395
|
badgeColor: string | undefined;
|
|
@@ -528,7 +528,7 @@ declare class AXPEntityCreateViewSectionViewModel {
|
|
|
528
528
|
private entity;
|
|
529
529
|
private section;
|
|
530
530
|
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
531
|
-
group:
|
|
531
|
+
group: _acorex_platform_layout_entity_contracts.AXPEntityPropertyGroup;
|
|
532
532
|
name: _angular_core.WritableSignal<string>;
|
|
533
533
|
title: _angular_core.Signal<string>;
|
|
534
534
|
description: _angular_core.Signal<string | null | undefined>;
|
|
@@ -604,9 +604,9 @@ declare class AXPEntityMasterListViewQueryViewModel {
|
|
|
604
604
|
constructor(entity: AXPEntity, section: AXPEntityMasterListViewModel, view: AXPQueryView);
|
|
605
605
|
name: string;
|
|
606
606
|
title: string;
|
|
607
|
-
sorts:
|
|
607
|
+
sorts: _acorex_platform_layout_entity_contracts.AXPQuerySort[];
|
|
608
608
|
columns: string[];
|
|
609
|
-
conditions:
|
|
609
|
+
conditions: _acorex_platform_layout_entity_contracts.AXPQueryFilter[];
|
|
610
610
|
indexCol: boolean | undefined;
|
|
611
611
|
pageSize: number | undefined;
|
|
612
612
|
}
|
|
@@ -664,7 +664,10 @@ declare class AXPEntityMasterListViewModel {
|
|
|
664
664
|
enabled?: boolean;
|
|
665
665
|
columns: AXPEntityTableColumn[];
|
|
666
666
|
cssClass?: {
|
|
667
|
-
row
|
|
667
|
+
row? /**
|
|
668
|
+
* Switches to the given layout when it is enabled.
|
|
669
|
+
* Persists the choice at entity list level (shared across all views).
|
|
670
|
+
*/: AXPExpression;
|
|
668
671
|
cell?: AXPExpression;
|
|
669
672
|
};
|
|
670
673
|
} | undefined>;
|
|
@@ -922,7 +925,7 @@ declare class AXPEntityMasterSingleViewGroupViewModel {
|
|
|
922
925
|
private entity;
|
|
923
926
|
private section;
|
|
924
927
|
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
925
|
-
group:
|
|
928
|
+
group: _acorex_platform_layout_entity_contracts.AXPEntityPropertyGroup;
|
|
926
929
|
name: _angular_core.WritableSignal<string>;
|
|
927
930
|
isLoading: _angular_core.WritableSignal<boolean>;
|
|
928
931
|
title: _angular_core.Signal<string>;
|
|
@@ -995,7 +998,7 @@ declare class AXPEntityUpdateViewSectionViewModel {
|
|
|
995
998
|
private entity;
|
|
996
999
|
private section;
|
|
997
1000
|
constructor(entity: AXPEntity, section: AXPEntitySectionView);
|
|
998
|
-
group:
|
|
1001
|
+
group: _acorex_platform_layout_entity_contracts.AXPEntityPropertyGroup;
|
|
999
1002
|
name: _angular_core.WritableSignal<string>;
|
|
1000
1003
|
title: _angular_core.Signal<string>;
|
|
1001
1004
|
description: _angular_core.Signal<string | null | undefined>;
|
|
@@ -2956,6 +2959,19 @@ declare function isFileListItem(value: unknown): value is AXPFileListItem;
|
|
|
2956
2959
|
declare function isAttachmentListEntry(value: unknown): boolean;
|
|
2957
2960
|
declare function attachmentFieldCount(fieldValue: unknown): number;
|
|
2958
2961
|
declare function normalizeEntityFieldToFileList(fieldValue: unknown): AXPFileListItem[];
|
|
2962
|
+
/** Whether a stored value is a persisted file/document/reference token. */
|
|
2963
|
+
declare function isAttachmentStorageRef(value: unknown): value is string;
|
|
2964
|
+
/** True when the field has entries that cannot be shown without hydration (e.g. mixed `file:` refs + objects). */
|
|
2965
|
+
declare function attachmentNeedsHydration(fieldValue: unknown): boolean;
|
|
2966
|
+
/**
|
|
2967
|
+
* Resolves inline attachment field values to displayable file list items.
|
|
2968
|
+
* Handles mixed arrays of `file:` refs and already-hydrated AXPFileListItem objects.
|
|
2969
|
+
*/
|
|
2970
|
+
declare function hydrateAttachmentFieldToFileList(fieldValue: unknown, fileStorage: AXPFileStorageService): Promise<AXPFileListItem[]>;
|
|
2971
|
+
/** Attachment field path from widget options or column path fallback. */
|
|
2972
|
+
declare function resolveAttachmentFieldPath(options: Record<string, unknown>, fieldFallback?: string): string | undefined;
|
|
2973
|
+
/** True when the list row includes the attachment field (even when empty). */
|
|
2974
|
+
declare function isAttachmentFieldPresentOnRow(rowData: Record<string, unknown> | undefined, fieldPath: string | undefined): boolean;
|
|
2959
2975
|
declare function resolveFileUploaderEntityScope(options: Record<string, unknown>, rowData: Record<string, unknown> | undefined, fieldFallback?: string): AXPFileUploaderEntityFilesScope | undefined;
|
|
2960
2976
|
|
|
2961
2977
|
interface AXPFileUploaderLoadFilesInput extends AXPFileUploaderEntityFilesScope {
|
|
@@ -2967,6 +2983,7 @@ interface AXPFileUploaderLoadFilesResult {
|
|
|
2967
2983
|
}
|
|
2968
2984
|
declare class AXPFileUploaderLoadFilesQuery implements AXPQuery<AXPFileUploaderLoadFilesInput, AXPFileUploaderLoadFilesResult> {
|
|
2969
2985
|
private readonly injector;
|
|
2986
|
+
private readonly debug;
|
|
2970
2987
|
fetch(input: AXPFileUploaderLoadFilesInput): Promise<AXPFileUploaderLoadFilesResult>;
|
|
2971
2988
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFileUploaderLoadFilesQuery, never>;
|
|
2972
2989
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFileUploaderLoadFilesQuery>;
|
|
@@ -2980,6 +2997,7 @@ interface AXPFileUploaderSaveFilesResult {
|
|
|
2980
2997
|
}
|
|
2981
2998
|
declare class AXPFileUploaderSaveFilesCommand implements AXPCommand<AXPFileUploaderSaveFilesInput, AXPFileUploaderSaveFilesResult> {
|
|
2982
2999
|
private readonly injector;
|
|
3000
|
+
private readonly debug;
|
|
2983
3001
|
execute(input: AXPFileUploaderSaveFilesInput): Promise<AXPExecuteCommandResult<AXPFileUploaderSaveFilesResult>>;
|
|
2984
3002
|
}
|
|
2985
3003
|
|
|
@@ -3009,18 +3027,22 @@ declare class AXPFileUploaderWidgetColumnComponent extends AXPColumnWidgetCompon
|
|
|
3009
3027
|
private readonly entityResolver;
|
|
3010
3028
|
private readonly formatService;
|
|
3011
3029
|
private readonly translation;
|
|
3030
|
+
private readonly debug;
|
|
3012
3031
|
protected readonly fileListTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3013
3032
|
protected readonly fileListPopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
3014
|
-
protected readonly fileCount: _angular_core.WritableSignal<number>;
|
|
3015
3033
|
protected readonly popoverFiles: _angular_core.WritableSignal<AXPFileListItem[]>;
|
|
3016
3034
|
protected readonly loadStatus: _angular_core.WritableSignal<"error" | "idle" | "loading" | "ready">;
|
|
3017
3035
|
protected readonly loadError: _angular_core.WritableSignal<string | null>;
|
|
3018
3036
|
protected readonly isPopoverOpen: _angular_core.WritableSignal<boolean>;
|
|
3019
3037
|
private readonly entityDef;
|
|
3020
|
-
private loadRequestId;
|
|
3021
3038
|
private popoverLoadRequestId;
|
|
3022
3039
|
private previousRowId;
|
|
3023
3040
|
protected readonly entityScope: _angular_core.Signal<_acorex_platform_layout_entity.AXPFileUploaderEntityFilesScope | undefined>;
|
|
3041
|
+
protected readonly attachmentFieldPath: _angular_core.Signal<string | undefined>;
|
|
3042
|
+
protected readonly inlineFieldPresent: _angular_core.Signal<boolean>;
|
|
3043
|
+
protected readonly fileCount: _angular_core.Signal<number>;
|
|
3044
|
+
/** Clickable when count is unknown or zero — opens popover (lazy load or inline empty). */
|
|
3045
|
+
protected readonly showAttachmentsLink: _angular_core.Signal<boolean>;
|
|
3024
3046
|
protected readonly popoverTitle: _angular_core.Signal<AXPMultiLanguageString>;
|
|
3025
3047
|
constructor();
|
|
3026
3048
|
protected openFileListPopover(): void;
|
|
@@ -3207,96 +3229,17 @@ declare class AXPFileUploaderWidgetService {
|
|
|
3207
3229
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFileUploaderWidgetService>;
|
|
3208
3230
|
}
|
|
3209
3231
|
|
|
3210
|
-
interface AXPLookupWidgetCreateOptions {
|
|
3211
|
-
enable?: boolean;
|
|
3212
|
-
context?: AXPContextData;
|
|
3213
|
-
}
|
|
3214
|
-
interface ResolvedLookupCreateOptions {
|
|
3215
|
-
enabled: boolean;
|
|
3216
|
-
mode: 'none' | 'full' | 'quick';
|
|
3217
|
-
context?: AXPContextData;
|
|
3218
|
-
}
|
|
3219
|
-
|
|
3220
|
-
type AXPLookupWidgetLookType = 'select' | 'lookup';
|
|
3221
|
-
/**
|
|
3222
|
-
* How the lookup column resolves related items for display in entity lists.
|
|
3223
|
-
* - `hydrated`: titles (and optional ids) are already on the row; inline preview + overflow popover use row data only.
|
|
3224
|
-
* - `idsWithCount`: ids and optional count live on the row; the cell shows a count summary and loads titles via entity `byKey` when the popover opens.
|
|
3225
|
-
* - `countOnly`: only a count is on the row; the popover loads ids/titles via a registered `AXPQuery` when opened.
|
|
3226
|
-
*/
|
|
3227
|
-
type AXPLookupColumnResolveStrategy = 'hydrated' | 'idsWithCount' | 'countOnly';
|
|
3228
|
-
/**
|
|
3229
|
-
* Column list only: controls how the lookup column loads and displays related items in grids.
|
|
3230
|
-
* Omitted or empty strategy defaults to `hydrated` at runtime.
|
|
3231
|
-
*/
|
|
3232
|
-
interface AXPLookupColumnResolveOptions {
|
|
3233
|
-
/** Default `hydrated` when omitted. */
|
|
3234
|
-
strategy?: AXPLookupColumnResolveStrategy;
|
|
3235
|
-
/** Lodash-style path on `rowData` for the displayed count (e.g. `rolesCount`). */
|
|
3236
|
-
countFieldPath?: string;
|
|
3237
|
-
/** Lodash-style path on `rowData` for the related id list (`idsWithCount`). If omitted, the column `rawValue` is used. */
|
|
3238
|
-
idsPath?: string;
|
|
3239
|
-
/** Registered query key for `AXPQueryExecutor.fetch` when using `countOnly`. */
|
|
3240
|
-
queryKey?: string;
|
|
3241
|
-
/**
|
|
3242
|
-
* Maps query input property names to lodash-style paths on `rowData` (e.g. `{ "userId": "id" }`).
|
|
3243
|
-
* May be a JSON string when set from the layout designer text field.
|
|
3244
|
-
*/
|
|
3245
|
-
queryParams?: Record<string, string> | string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Dot path into the named query result for the items array. Defaults to `items` when the result is an object.
|
|
3248
|
-
* If the query returns an array directly, leave unset and handle at runtime.
|
|
3249
|
-
*/
|
|
3250
|
-
queryResultItemsPath?: string;
|
|
3251
|
-
}
|
|
3252
|
-
interface AXPLookupDisplayOptions {
|
|
3253
|
-
displayFormat?: string;
|
|
3254
|
-
textField?: string;
|
|
3255
|
-
isMultiLanguage?: (value: unknown) => boolean;
|
|
3256
|
-
}
|
|
3257
|
-
/** Column list: entity detail popover when clicking a lookup value. */
|
|
3258
|
-
interface AXPLookupPopoverOptions {
|
|
3259
|
-
/** When `false`, lookup values are not clickable and the detail popover does not open. Default `true`. */
|
|
3260
|
-
enabled?: boolean;
|
|
3261
|
-
}
|
|
3262
|
-
/** Row actions to show in the lookup data selector popup (subset of entity list actions). */
|
|
3263
|
-
interface AXPLookupSelectorRowActionsConfig {
|
|
3264
|
-
/** Primary icon buttons (e.g. preview). Match full command name or suffix such as `:Preview`. */
|
|
3265
|
-
primary?: string[];
|
|
3266
|
-
/** Secondary actions in the row dropdown menu. */
|
|
3267
|
-
secondary?: string[];
|
|
3268
|
-
}
|
|
3269
|
-
interface AXPLookupWidgetOptions {
|
|
3270
|
-
disabled?: boolean | AXPExpression;
|
|
3271
|
-
readonly?: boolean | AXPExpression;
|
|
3272
|
-
placeholder?: string;
|
|
3273
|
-
expose?: string | string[];
|
|
3274
|
-
look?: AXPLookupWidgetLookType;
|
|
3275
|
-
allowClear?: boolean;
|
|
3276
|
-
/** Inline entity create configuration. */
|
|
3277
|
-
create?: AXPLookupWidgetCreateOptions;
|
|
3278
|
-
/** @deprecated Use create.enable; still supported for create mode (quick/full). */
|
|
3279
|
-
allowCreate?: 'none' | 'full' | 'quick';
|
|
3280
|
-
displayFormat?: string;
|
|
3281
|
-
/** Column list: entity detail popover behavior. */
|
|
3282
|
-
popover?: AXPLookupPopoverOptions;
|
|
3283
|
-
/** Column list: lazy resolve and summary behavior. */
|
|
3284
|
-
columnResolve?: AXPLookupColumnResolveOptions;
|
|
3285
|
-
/** Lookup selector popup: entity row actions to display. */
|
|
3286
|
-
selectorRowActions?: AXPLookupSelectorRowActionsConfig;
|
|
3287
|
-
}
|
|
3288
|
-
|
|
3289
3232
|
/**
|
|
3290
3233
|
* Resolves the display template for a lookup item.
|
|
3291
3234
|
* Priority: explicit `displayFormat` → entity `formats.lookup` (template) → entity `formats.searchResult.title`.
|
|
3292
3235
|
* Returns undefined when `textField` is set or no template applies (use {@link resolveLookupDisplayField} instead).
|
|
3293
3236
|
*/
|
|
3294
|
-
declare function resolveLookupDisplayTemplate(entity: AXPEntity
|
|
3237
|
+
declare function resolveLookupDisplayTemplate(entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions): string | undefined;
|
|
3295
3238
|
/**
|
|
3296
3239
|
* Resolves the property path used for lookup display when no template applies.
|
|
3297
3240
|
* Priority: explicit `textField` → entity `formats.lookup` (simple path) → common property names.
|
|
3298
3241
|
*/
|
|
3299
|
-
declare function resolveLookupDisplayField(entity: AXPEntity
|
|
3242
|
+
declare function resolveLookupDisplayField(entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions): string;
|
|
3300
3243
|
interface AXPLookupDisplayEvalDeps {
|
|
3301
3244
|
expressionEvaluator: AXPExpressionEvaluatorService;
|
|
3302
3245
|
contextEvalFactory: AXPContextEvalFactory;
|
|
@@ -3306,11 +3249,11 @@ interface AXPLookupDisplayEvalDeps {
|
|
|
3306
3249
|
/**
|
|
3307
3250
|
* Formats a lookup row for display using template and/or field resolution (display tier).
|
|
3308
3251
|
*/
|
|
3309
|
-
declare function formatLookupItemDisplayAsync(item: unknown, entity: AXPEntity
|
|
3252
|
+
declare function formatLookupItemDisplayAsync(item: unknown, entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions, formatService: AXFormatService, displayDeps: AXPLookupDisplayEvalDeps, resolveMultiLanguage?: (value: AXPMultiLanguageString) => string): Promise<string>;
|
|
3310
3253
|
/**
|
|
3311
3254
|
* @deprecated Prefer {@link formatLookupItemDisplayAsync} for expression templates with `context.eval`.
|
|
3312
3255
|
*/
|
|
3313
|
-
declare function formatLookupItemDisplay(item: unknown, entity: AXPEntity
|
|
3256
|
+
declare function formatLookupItemDisplay(item: unknown, entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions, formatService: AXFormatService, resolveMultiLanguage?: (value: AXPMultiLanguageString) => string): string | AXPMultiLanguageString;
|
|
3314
3257
|
|
|
3315
3258
|
declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
3316
3259
|
protected readonly formatService: AXFormatService;
|
|
@@ -3613,7 +3556,7 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
3613
3556
|
protected allowUnselect: _angular_core.Signal<boolean>;
|
|
3614
3557
|
protected look: _angular_core.Signal<AXPLookupWidgetLookType>;
|
|
3615
3558
|
protected displayField: _angular_core.Signal<string>;
|
|
3616
|
-
protected resolvedCreate: _angular_core.Signal<ResolvedLookupCreateOptions>;
|
|
3559
|
+
protected resolvedCreate: _angular_core.Signal<_acorex_platform_layout_entity_contracts.ResolvedLookupCreateOptions>;
|
|
3617
3560
|
protected selectorRowActions: _angular_core.Signal<AXPLookupSelectorRowActionsConfig | undefined>;
|
|
3618
3561
|
protected valueField: _angular_core.Signal<string>;
|
|
3619
3562
|
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
@@ -4402,5 +4345,5 @@ declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
4402
4345
|
}
|
|
4403
4346
|
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
4404
4347
|
|
|
4405
|
-
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_COLUMN_ORDER, DEFAULT_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY, EntityBuilder, EntityDataAccessor, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentsPlugin, attachmentsSemanticallyEqual, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, canPersistEntityListState, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, commandMessageTextForError, committedAttachments, computeEntityAggregates, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, eventDispatchMiddleware, filterSortEntityRows, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, formatLookupItemDisplay, formatLookupItemDisplayAsync, getDataSourcePageIndex, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, isAXPMiddlewareAbortError, isAttachmentListEntry, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, provideEntity, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, restoreEntityListExpandedRows, runEntityQuery, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry };
|
|
4406
|
-
export type { AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListExpandRowRef, AXPEntityListInput, AXPEntityListPagingState, AXPEntityListPersistenceMode, AXPEntityListToolbarConvertOptions, AXPEntityMasterListCardLayout, AXPEntityMasterListCardSecondaryActionItem, AXPEntityMasterListViewSortPropViewModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPFileListLook, AXPFileUploaderEditDialogFieldOptions, AXPFileUploaderEditDialogMode, AXPFileUploaderEditDialogOptions, AXPFileUploaderEntityFilesScope, AXPFileUploaderLoadFilesInput, AXPFileUploaderLoadFilesResult, AXPFileUploaderSaveFilesInput, AXPFileUploaderSaveFilesResult, AXPFileUploaderShowFileListEntityContext, AXPFileUploaderShowFileListOptions, AXPFileUploaderUploadActionDescriptor, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult,
|
|
4348
|
+
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_COLUMN_ORDER, DEFAULT_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY, EntityBuilder, EntityDataAccessor, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentNeedsHydration, attachmentsPlugin, attachmentsSemanticallyEqual, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, canPersistEntityListState, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, commandMessageTextForError, committedAttachments, computeEntityAggregates, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, eventDispatchMiddleware, filterSortEntityRows, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, formatLookupItemDisplay, formatLookupItemDisplayAsync, getDataSourcePageIndex, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, hydrateAttachmentFieldToFileList, isAXPMiddlewareAbortError, isAttachmentFieldPresentOnRow, isAttachmentListEntry, isAttachmentStorageRef, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, provideEntity, resolveAttachmentFieldPath, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, restoreEntityListExpandedRows, runEntityQuery, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry };
|
|
4349
|
+
export type { AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListExpandRowRef, AXPEntityListInput, AXPEntityListPagingState, AXPEntityListPersistenceMode, AXPEntityListToolbarConvertOptions, AXPEntityMasterListCardLayout, AXPEntityMasterListCardSecondaryActionItem, AXPEntityMasterListViewSortPropViewModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPFileListLook, AXPFileUploaderEditDialogFieldOptions, AXPFileUploaderEditDialogMode, AXPFileUploaderEditDialogOptions, AXPFileUploaderEntityFilesScope, AXPFileUploaderLoadFilesInput, AXPFileUploaderLoadFilesResult, AXPFileUploaderSaveFilesInput, AXPFileUploaderSaveFilesResult, AXPFileUploaderShowFileListEntityContext, AXPFileUploaderShowFileListOptions, AXPFileUploaderUploadActionDescriptor, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupDisplayEvalDeps, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowListViewCondition, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|
|
@@ -3,12 +3,13 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { Signal, InjectionToken, OnInit, OnDestroy } from '@angular/core';
|
|
4
4
|
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
5
5
|
import { AXClickEvent } from '@acorex/cdk/common';
|
|
6
|
-
import { AXPTabNavigationService, AXPHomePageService, AXPSettingsService, AXPTabPreviewService, AXPUnsavedChangesConfirmService, AXPBrowserTitleService
|
|
6
|
+
import { AXPTabNavigationService, AXPHomePageService, AXPSettingsService, AXPTabPreviewService, AXPUnsavedChangesConfirmService, AXPBrowserTitleService } from '@acorex/platform/common';
|
|
7
7
|
import * as i1 from '@acorex/cdk/drawer';
|
|
8
8
|
import { AXDrawerItemDirective } from '@acorex/cdk/drawer';
|
|
9
|
-
import
|
|
9
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
10
|
+
import { AXPBreadcrumbItem, AXPMultiLanguageString, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPWidgetNode, AXPExecuteCommandResult, AXPContextChangeEvent } from '@acorex/platform/contracts';
|
|
10
11
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
11
|
-
import { AXPActionMenuItem, AXPDeviceService, AXPKeyboardShortcut, AXPExpressionEvaluatorScope, AXPBroadcastEventService,
|
|
12
|
+
import { AXPActionMenuItem, AXPDeviceService, AXPKeyboardShortcut, AXPExpressionEvaluatorScope, AXPBroadcastEventService, AXPKeyboardShortcutChord } from '@acorex/platform/core';
|
|
12
13
|
import { AXPCommandService, AXPPolicyEngineService } from '@acorex/platform/runtime';
|
|
13
14
|
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
|
14
15
|
import { AXToastService } from '@acorex/components/toast';
|
|
@@ -18,10 +19,11 @@ import { AXPSessionService } from '@acorex/platform/auth';
|
|
|
18
19
|
import * as _angular_router from '@angular/router';
|
|
19
20
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
20
21
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
21
|
-
import
|
|
22
|
-
import { AXPWidgetNode, AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent } from '@acorex/platform/layout/widget-core';
|
|
22
|
+
import { AXPEntityCommandScope } from '@acorex/platform/layout/entity-contracts';
|
|
23
23
|
import * as _acorex_platform_layout_views from '@acorex/platform/layout/views';
|
|
24
24
|
import { AXFormComponent } from '@acorex/components/form';
|
|
25
|
+
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
26
|
+
import { AXPPageStatus as AXPPageStatus$1, AXPWidgetContainerComponent } from '@acorex/platform/layout/widget-core';
|
|
25
27
|
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
26
28
|
|
|
27
29
|
declare abstract class AXPPageLayoutBase {
|
|
@@ -663,8 +665,8 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
663
665
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
664
666
|
currentTab: _angular_core.Signal<_acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
665
667
|
pageSelectedRows: _angular_core.Signal<any[]>;
|
|
666
|
-
evaluatedPageContent: _angular_core.Signal<
|
|
667
|
-
evaluatedTabContentsById: _angular_core.Signal<Record<string,
|
|
668
|
+
evaluatedPageContent: _angular_core.Signal<_acorex_platform_contracts.AXPWidgetNode[]>;
|
|
669
|
+
evaluatedTabContentsById: _angular_core.Signal<Record<string, _acorex_platform_contracts.AXPWidgetNode[]>>;
|
|
668
670
|
formDirty: _angular_core.Signal<boolean>;
|
|
669
671
|
icon: _angular_core.Signal<string | null>;
|
|
670
672
|
content: _angular_core.Signal<AXPPageContentItem[]>;
|
|
@@ -678,7 +680,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
678
680
|
changesCount: _angular_core.Signal<1 | 0>;
|
|
679
681
|
isLoaded: _angular_core.Signal<boolean>;
|
|
680
682
|
currentPageSelectedRows: _angular_core.Signal<any[]>;
|
|
681
|
-
activeTabContent: _angular_core.Signal<
|
|
683
|
+
activeTabContent: _angular_core.Signal<_acorex_platform_contracts.AXPWidgetNode[]>;
|
|
682
684
|
loadAdapter: (adapter: _acorex_platform_layout_views.AXPLayoutDetailsViewAdapter) => Promise<void>;
|
|
683
685
|
loadPage: (pageId?: string, forceRefresh?: boolean) => Promise<void>;
|
|
684
686
|
load: (adapter: _acorex_platform_layout_views.AXPLayoutDetailsViewAdapter, forceRefresh?: boolean, pageIdFromUrl?: string) => Promise<void>;
|
|
@@ -688,7 +690,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
688
690
|
updatePageSelectedRows: (rows: any[]) => void;
|
|
689
691
|
currentPagePrimaryActions: () => Promise<any>;
|
|
690
692
|
currentPageSecondaryActions: () => Promise<any>;
|
|
691
|
-
currentPageContent: () =>
|
|
693
|
+
currentPageContent: () => _acorex_platform_contracts.AXPWidgetNode[];
|
|
692
694
|
currentPageTabs: () => _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem[] | undefined;
|
|
693
695
|
setCurrentPage: (page: AXPLayoutDetailsViewPage | null) => void;
|
|
694
696
|
setCurrentTab: (tab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem) => void;
|
|
@@ -721,8 +723,8 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
721
723
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
722
724
|
currentTab: _acorex_platform_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
723
725
|
pageSelectedRows: any[];
|
|
724
|
-
evaluatedPageContent:
|
|
725
|
-
evaluatedTabContentsById: Record<string,
|
|
726
|
+
evaluatedPageContent: _acorex_platform_contracts.AXPWidgetNode[];
|
|
727
|
+
evaluatedTabContentsById: Record<string, _acorex_platform_contracts.AXPWidgetNode[]>;
|
|
726
728
|
formDirty: boolean;
|
|
727
729
|
}>;
|
|
728
730
|
protected route: ActivatedRoute;
|