@acorex/platform 20.6.0-next.20 → 20.6.0-next.22

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.
@@ -741,7 +741,7 @@ class AXPDefaultThemeModule {
741
741
  ///
742
742
  modify: () => import('./acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs').then((c) => c.AXPEntityMasterModifyViewComponent),
743
743
  //
744
- list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-CenhnHXi.mjs').then((c) => c.AXPEntityMasterListViewComponent),
744
+ list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-DBysy2Ky.mjs').then((c) => c.AXPEntityMasterListViewComponent),
745
745
  },
746
746
  },
747
747
  };
@@ -777,7 +777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
777
777
  ///
778
778
  modify: () => import('./acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs').then((c) => c.AXPEntityMasterModifyViewComponent),
779
779
  //
780
- list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-CenhnHXi.mjs').then((c) => c.AXPEntityMasterListViewComponent),
780
+ list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-DBysy2Ky.mjs').then((c) => c.AXPEntityMasterListViewComponent),
781
781
  },
782
782
  },
783
783
  };
@@ -1,4 +1,4 @@
1
- import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPAppStartUpService, AXPMiddlewareErrorResponse, AXPExpression, AXPColumnQuery, AXPSortDefinition, AXPDeviceService, AXPActionMenuItem } from '@acorex/platform/core';
1
+ import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPAppStartUpService, AXPMiddlewareErrorResponse, AXHighlightService, AXPExpression, AXPColumnQuery, AXPSortDefinition, AXPDeviceService, AXPActionMenuItem } from '@acorex/platform/core';
2
2
  import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
3
3
  import * as _angular_core from '@angular/core';
4
4
  import { ElementRef, InjectionToken, Injector, Type, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
@@ -1246,6 +1246,7 @@ declare function detectEntityChanges(oldObj: any, newObj: any): AXPEntityChangeS
1246
1246
  declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent implements OnInit {
1247
1247
  protected readonly categoryTreeService: AXPCategoryTreeService;
1248
1248
  private readonly translationService;
1249
+ protected readonly highlightService: AXHighlightService;
1249
1250
  entityKey: _angular_core.WritableSignal<string>;
1250
1251
  textField: _angular_core.WritableSignal<string>;
1251
1252
  valueField: _angular_core.WritableSignal<string>;
@@ -1326,6 +1327,13 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
1326
1327
  * Checks if a node matches the current search term
1327
1328
  */
1328
1329
  protected isMatchingNode(nodeId: string): boolean;
1330
+ /**
1331
+ * Checks if a node is currently selected
1332
+ */
1333
+ protected isNodeSelected(nodeId: string | number | undefined): boolean;
1334
+ /**
1335
+ * Handles checkbox change event to toggle node selection
1336
+ */
1329
1337
  private updateSelectedNodes;
1330
1338
  /**
1331
1339
  * Loads node data for IDs that are selected but not yet in the cache.
@@ -1381,34 +1389,38 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
1381
1389
  }
1382
1390
 
1383
1391
  declare class AXPEntityCategoryWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
1384
- private readonly entityDetailPopoverService;
1385
- private readonly formatService;
1386
- protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
1387
- protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
1392
+ protected readonly entityDetailPopoverService: AXPEntityDetailPopoverService;
1393
+ protected readonly formatService: AXFormatService;
1394
+ protected readonly entityResolver: AXPEntityResolver;
1395
+ private readonly rawValueSignal;
1396
+ set rawValueInput(value: any);
1397
+ protected entity: _angular_core.Signal<string>;
1398
+ protected valueField: _angular_core.Signal<string>;
1399
+ protected textField: _angular_core.Signal<string>;
1400
+ protected columnName: _angular_core.Signal<string>;
1401
+ protected defaultTextField: _angular_core.Signal<string>;
1402
+ protected displayField: _angular_core.Signal<string>;
1388
1403
  protected host: ElementRef<any>;
1389
- protected valueField: string;
1390
- protected textField: string;
1391
- protected entity: string;
1392
- protected columnName: string;
1393
- protected maxVisible: number;
1394
- protected isMorePopoverOpen: _angular_core.WritableSignal<boolean>;
1404
+ private entityDef;
1405
+ protected displayItems: _angular_core.WritableSignal<any[]>;
1395
1406
  protected selectedItemIndex: _angular_core.WritableSignal<number>;
1396
- protected displayItems: _angular_core.Signal<any[]>;
1397
- protected allItems: _angular_core.Signal<any[]>;
1407
+ private efEntity;
1408
+ private efDisplay;
1398
1409
  protected visibleItems: _angular_core.Signal<any[]>;
1399
- protected remainingItems: _angular_core.Signal<any[]>;
1400
- protected hasMoreItems: _angular_core.Signal<boolean>;
1401
- protected remainingItemsCount: _angular_core.Signal<number>;
1402
- protected showMoreItems(): void;
1403
- protected onMorePopoverOpenChange(event: any): void;
1404
1410
  protected showItemDetail(item: any, index: number): Promise<void>;
1405
1411
  protected handleItemClick(index: number): void;
1406
- private openMorePopover;
1407
- private closeMorePopover;
1408
- private extractItem;
1409
- protected getDisplayText(item: any): string;
1412
+ protected getItemPath(item: any): string[];
1413
+ protected hasParent(item: any): boolean;
1414
+ protected getItemText(item: any): string;
1415
+ protected getItemId(item: any): string;
1416
+ private extractItemWithPath;
1417
+ /**
1418
+ * Calculate the full path from root to the item.
1419
+ * Returns an array of strings like ["C", "B"] for item B under parent C.
1420
+ */
1421
+ private calculateItemPath;
1410
1422
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetColumnComponent, never>;
1411
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetColumnComponent, "axp-entity-category-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
1423
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetColumnComponent, "axp-entity-category-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "rawValueInput": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
1412
1424
  }
1413
1425
 
1414
1426
  interface AXPEntityCategoryWidgetOptions {
@@ -2071,10 +2071,10 @@ declare class AXPFileUploaderWidgetService {
2071
2071
 
2072
2072
  declare class AXPGalleryWidgetEditComponent extends AXPValueWidgetComponent<AXMediaViewerData[]> {
2073
2073
  protected thumbnail: _angular_core.Signal<boolean>;
2074
+ protected height: _angular_core.Signal<string>;
2074
2075
  protected header: _angular_core.Signal<boolean>;
2075
2076
  protected fileInfo: _angular_core.Signal<boolean>;
2076
2077
  protected fullScreenButton: _angular_core.Signal<boolean>;
2077
- private get __class();
2078
2078
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGalleryWidgetEditComponent, never>;
2079
2079
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPGalleryWidgetEditComponent, "axp-gallery-widget-edit", never, {}, {}, never, never, true, never>;
2080
2080
  }
@@ -2093,6 +2093,7 @@ interface AXPMediaInfo {
2093
2093
  declare class AXPGalleryWidgetViewComponent extends AXPValueWidgetComponent<any> {
2094
2094
  protected internalValue: Signal<any[]>;
2095
2095
  protected multiple: Signal<boolean>;
2096
+ protected height: Signal<string>;
2096
2097
  protected thumbnails: Signal<AXPMediaItem[]>;
2097
2098
  protected activeMedia: WritableSignal<AXPMediaItem | undefined>;
2098
2099
  ngAfterViewInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "20.6.0-next.20",
3
+ "version": "20.6.0-next.22",
4
4
  "peerDependencies": {
5
5
  "@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
6
6
  "@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
@@ -31,14 +31,14 @@
31
31
  "types": "./auth/index.d.ts",
32
32
  "default": "./fesm2022/acorex-platform-auth.mjs"
33
33
  },
34
- "./common": {
35
- "types": "./common/index.d.ts",
36
- "default": "./fesm2022/acorex-platform-common.mjs"
37
- },
38
34
  "./core": {
39
35
  "types": "./core/index.d.ts",
40
36
  "default": "./fesm2022/acorex-platform-core.mjs"
41
37
  },
38
+ "./common": {
39
+ "types": "./common/index.d.ts",
40
+ "default": "./fesm2022/acorex-platform-common.mjs"
41
+ },
42
42
  "./domain": {
43
43
  "types": "./domain/index.d.ts",
44
44
  "default": "./fesm2022/acorex-platform-domain.mjs"
@@ -55,14 +55,6 @@
55
55
  "types": "./workflow/index.d.ts",
56
56
  "default": "./fesm2022/acorex-platform-workflow.mjs"
57
57
  },
58
- "./themes/default": {
59
- "types": "./themes/default/index.d.ts",
60
- "default": "./fesm2022/acorex-platform-themes-default.mjs"
61
- },
62
- "./themes/shared": {
63
- "types": "./themes/shared/index.d.ts",
64
- "default": "./fesm2022/acorex-platform-themes-shared.mjs"
65
- },
66
58
  "./layout/builder": {
67
59
  "types": "./layout/builder/index.d.ts",
68
60
  "default": "./fesm2022/acorex-platform-layout-builder.mjs"
@@ -90,6 +82,14 @@
90
82
  "./layout/widgets": {
91
83
  "types": "./layout/widgets/index.d.ts",
92
84
  "default": "./fesm2022/acorex-platform-layout-widgets.mjs"
85
+ },
86
+ "./themes/default": {
87
+ "types": "./themes/default/index.d.ts",
88
+ "default": "./fesm2022/acorex-platform-themes-default.mjs"
89
+ },
90
+ "./themes/shared": {
91
+ "types": "./themes/shared/index.d.ts",
92
+ "default": "./fesm2022/acorex-platform-themes-shared.mjs"
93
93
  }
94
94
  }
95
95
  }