@acorex/platform 20.6.2 → 20.6.4

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-Cym8pq0v.mjs').then((c) => c.AXPEntityMasterListViewComponent),
744
+ list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-CnNtrf8O.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-Cym8pq0v.mjs').then((c) => c.AXPEntityMasterListViewComponent),
780
+ list: () => import('./acorex-platform-themes-default-entity-master-list-view.component-CnNtrf8O.mjs').then((c) => c.AXPEntityMasterListViewComponent),
781
781
  },
782
782
  },
783
783
  };
@@ -562,6 +562,7 @@ interface IDialogBuilder {
562
562
  content(delegate: (layoutBuilder: IFlexContainerBuilder) => void): IDialogBuilder;
563
563
  setActions(delegate?: (actions: IActionBuilder) => void): IDialogBuilder;
564
564
  addCustomAction(action: AXPActionMenuItem): IDialogBuilder;
565
+ build(): AXPWidgetNode;
565
566
  show(): Promise<AXPDialogRef>;
566
567
  }
567
568
  interface IListWidgetBuilder extends IBaseContainerBuilder<IListWidgetBuilder>, ILayoutContainerBuilder<IListWidgetBuilder>, IChildContainerBuilder<IListWidgetBuilder>, IWidgetContainerBuilder<IListWidgetBuilder> {
@@ -1162,6 +1162,8 @@ interface IPropertyFilterStage {
1162
1162
  actions(delegate: (a: IActionBuilder) => void): IPropertyFilterStage;
1163
1163
  /** Add an extra field into a specific group, using the original field builder API */
1164
1164
  field(groupId: string, path: string, delegate?: (field: CompatFormFieldBuilder) => void): IPropertyFilterStage;
1165
+ /** Build and return the widget node without showing dialog */
1166
+ build(): Promise<AXPWidgetNode>;
1165
1167
  /** Show dialog */
1166
1168
  show(): Promise<AXPDialogRef>;
1167
1169
  mode(mode: 'edit' | 'view'): IPropertyFilterStage;
@@ -1171,6 +1173,13 @@ declare class AXPEntityFormBuilderService implements IEntitySelectorStage {
1171
1173
  private readonly layoutBuilder;
1172
1174
  private readonly deviceService;
1173
1175
  entity(fullName: string): IInterfaceSelectorStage;
1176
+ /**
1177
+ * Fetches a record by ID for the specified entity.
1178
+ * @param fullName - Entity full name in "module.entity" format
1179
+ * @param id - Record ID to fetch
1180
+ * @returns Promise resolving to the record data, or empty object if not found
1181
+ */
1182
+ getRecordById(fullName: string, id: string): Promise<Record<string, any>>;
1174
1183
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityFormBuilderService, never>;
1175
1184
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityFormBuilderService>;
1176
1185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "20.6.2",
3
+ "version": "20.6.4",
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",
@@ -27,26 +27,26 @@
27
27
  "types": "./index.d.ts",
28
28
  "default": "./fesm2022/acorex-platform.mjs"
29
29
  },
30
- "./common": {
31
- "types": "./common/index.d.ts",
32
- "default": "./fesm2022/acorex-platform-common.mjs"
33
- },
34
30
  "./auth": {
35
31
  "types": "./auth/index.d.ts",
36
32
  "default": "./fesm2022/acorex-platform-auth.mjs"
37
33
  },
34
+ "./common": {
35
+ "types": "./common/index.d.ts",
36
+ "default": "./fesm2022/acorex-platform-common.mjs"
37
+ },
38
38
  "./core": {
39
39
  "types": "./core/index.d.ts",
40
40
  "default": "./fesm2022/acorex-platform-core.mjs"
41
41
  },
42
- "./native": {
43
- "types": "./native/index.d.ts",
44
- "default": "./fesm2022/acorex-platform-native.mjs"
45
- },
46
42
  "./domain": {
47
43
  "types": "./domain/index.d.ts",
48
44
  "default": "./fesm2022/acorex-platform-domain.mjs"
49
45
  },
46
+ "./native": {
47
+ "types": "./native/index.d.ts",
48
+ "default": "./fesm2022/acorex-platform-native.mjs"
49
+ },
50
50
  "./runtime": {
51
51
  "types": "./runtime/index.d.ts",
52
52
  "default": "./fesm2022/acorex-platform-runtime.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
  }