@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.
- package/fesm2022/acorex-platform-common.mjs +28 -4
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +7 -5
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +5 -5
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +35 -3
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +1 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs → acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs} +2 -2
- 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
- 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
- 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
- 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
- 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
- package/fesm2022/acorex-platform-layout-widgets.mjs +235 -9
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +6 -6
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +4 -2
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +35 -3
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +4 -2
- package/types/acorex-platform-common.d.ts +23 -1
- package/types/acorex-platform-core.d.ts +2 -1
- package/types/acorex-platform-layout-entity.d.ts +42 -3
- package/types/acorex-platform-layout-widget-core.d.ts +1 -0
- 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
|
-
|
|
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: '
|
|
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();
|