@acorex/platform 21.0.0-next.56 → 21.0.0-next.59

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.
Files changed (30) hide show
  1. package/fesm2022/acorex-platform-common.mjs +28 -4
  2. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  3. package/fesm2022/acorex-platform-core.mjs +7 -5
  4. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-layout-components.mjs +5 -5
  6. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-layout-entity.mjs +35 -3
  8. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-layout-widget-core.mjs +1 -0
  10. package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
  11. package/fesm2022/{acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs → acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs} +2 -2
  12. package/fesm2022/{acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs.map → acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs} +2 -2
  14. package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs.map} +1 -1
  17. package/fesm2022/acorex-platform-layout-widgets.mjs +235 -9
  18. package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-themes-default.mjs +6 -6
  20. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-themes-shared.mjs +4 -2
  22. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-workflow.mjs +35 -3
  24. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  25. package/package.json +4 -2
  26. package/types/acorex-platform-common.d.ts +23 -1
  27. package/types/acorex-platform-core.d.ts +2 -1
  28. package/types/acorex-platform-layout-entity.d.ts +42 -3
  29. package/types/acorex-platform-layout-widget-core.d.ts +1 -0
  30. package/types/acorex-platform-workflow.d.ts +36 -2
@@ -6,7 +6,7 @@ import * as i1 from '@acorex/components/skeleton';
6
6
  import { AXSkeletonModule } from '@acorex/components/skeleton';
7
7
  import { Subject, interval, fromEvent } from 'rxjs';
8
8
  import { AXDataSource } from '@acorex/cdk/common';
9
- import { resolveMultiLanguageString } from '@acorex/core/translation';
9
+ import { AXTranslationService, resolveMultiLanguageString } from '@acorex/core/translation';
10
10
  import { AXCalendarService } from '@acorex/core/date-time';
11
11
  import { startWith, map, debounceTime } from 'rxjs/operators';
12
12
 
@@ -2384,6 +2384,7 @@ class AXPModuleManifestsDataSourceDefinition {
2384
2384
 
2385
2385
  class AXPAppStartUpService {
2386
2386
  constructor() {
2387
+ this.translationService = inject(AXTranslationService);
2387
2388
  this.tasks = [];
2388
2389
  }
2389
2390
  registerTask(task) {
@@ -2391,14 +2392,15 @@ class AXPAppStartUpService {
2391
2392
  }
2392
2393
  async runAllTasks() {
2393
2394
  for (const task of this.tasks.sort((a, b) => a.priority - b.priority)) {
2394
- this.updateStatus(task.statusText);
2395
+ await this.updateStatus(task.statusText);
2395
2396
  await task.run();
2396
2397
  }
2397
2398
  }
2398
- updateStatus(status) {
2399
+ async updateStatus(status) {
2399
2400
  const loadingText = document.querySelector('#loadingText');
2400
2401
  if (loadingText) {
2401
- loadingText.innerHTML = status;
2402
+ const translatedStatus = this.translationService.resolve(status);
2403
+ loadingText.innerHTML = await this.translationService.translateAsync(translatedStatus);
2402
2404
  }
2403
2405
  }
2404
2406
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -2435,7 +2437,7 @@ class AXPModuleManifestModule {
2435
2437
  // Register manifest initialization task
2436
2438
  appInitService.registerTask({
2437
2439
  name: 'ModuleManifests',
2438
- statusText: 'Loading module manifests...',
2440
+ statusText: '@general:app-startup.loading-module-manifests',
2439
2441
  priority: 1, // Load early, before features/permissions
2440
2442
  run: async () => {
2441
2443
  await manifestRegistry.initialize();