@acorex/platform 20.7.5 → 20.7.6

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.
@@ -2401,6 +2401,11 @@ declare class AXPGalleryWidgetEditComponent extends AXPValueWidgetComponent<AXPF
2401
2401
  protected readonly fileActions: _angular_core.Signal<AXCFileUploaderAction[]>;
2402
2402
  ngOnInit(): void;
2403
2403
  private loadActions;
2404
+ /**
2405
+ * Format file size with appropriate unit (B, KB, MB, GB, etc.)
2406
+ * Divides by 1000 until the value is less than 1000
2407
+ */
2408
+ private formatFileSize;
2404
2409
  /**
2405
2410
  * Convert AXPFileListItem to AXMediaViewerData for display in media viewer
2406
2411
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/platform",
3
- "version": "20.7.5",
3
+ "version": "20.7.6",
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,6 +27,10 @@
27
27
  "types": "./index.d.ts",
28
28
  "default": "./fesm2022/acorex-platform.mjs"
29
29
  },
30
+ "./auth": {
31
+ "types": "./auth/index.d.ts",
32
+ "default": "./fesm2022/acorex-platform-auth.mjs"
33
+ },
30
34
  "./common": {
31
35
  "types": "./common/index.d.ts",
32
36
  "default": "./fesm2022/acorex-platform-common.mjs"
@@ -35,10 +39,6 @@
35
39
  "types": "./core/index.d.ts",
36
40
  "default": "./fesm2022/acorex-platform-core.mjs"
37
41
  },
38
- "./auth": {
39
- "types": "./auth/index.d.ts",
40
- "default": "./fesm2022/acorex-platform-auth.mjs"
41
- },
42
42
  "./domain": {
43
43
  "types": "./domain/index.d.ts",
44
44
  "default": "./fesm2022/acorex-platform-domain.mjs"