@raclettejs/core 0.1.40 → 0.1.42
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/CHANGELOG.md +36 -1
- package/dist/cli.js +104 -104
- package/dist/cli.js.map +4 -4
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
- package/services/frontend/eslint.config.js +31 -9
- package/services/frontend/src/core/setup/socketBootstrap.ts +4 -3
- package/services/frontend/src/core/store/state.ts +2 -7
- package/services/frontend/src/core/store/types/index.ts +2 -0
- package/services/frontend/src/orchestrator/ProductOrchestrator.vue +33 -22
- package/services/frontend/src/orchestrator/components/LoadingWidgetState.vue +7 -3
- package/services/frontend/src/orchestrator/components/composition/WidgetsLayoutLoader.vue +179 -195
- package/services/frontend/src/orchestrator/components/dataExport/DataExporter.vue +79 -24
- package/services/frontend/src/orchestrator/components/dataTable/BaseDataTable.vue +27 -14
- package/services/frontend/src/orchestrator/components/dataTable/BaseDataTableGroupSelectCheckbox.vue +42 -0
- package/services/frontend/src/orchestrator/components/index.ts +2 -0
- package/services/frontend/src/orchestrator/components/menu/ServerStatus.vue +2 -4
- package/services/frontend/src/orchestrator/components/menu/UserMenu.vue +1 -1
- package/services/frontend/src/orchestrator/components/welcomeScreen/AdminWelcomeScreen.vue +1 -1
- package/services/frontend/src/orchestrator/composables/index.ts +1 -0
- package/services/frontend/src/orchestrator/composables/useAppLoadingCoordinator.ts +77 -0
- package/services/frontend/src/orchestrator/composables/usePageNavigation.ts +1 -1
- package/services/frontend/src/orchestrator/composables/useUiState.ts +2 -0
- package/services/frontend/src/orchestrator/composables/useWidgetLifecycle.ts +65 -76
- package/services/frontend/src/orchestrator/composables/useWidgets/helperFunctions.ts +7 -4
- package/services/frontend/src/orchestrator/constants/index.ts +2 -0
- package/services/frontend/src/orchestrator/constants/widgetSlot.ts +7 -0
- package/services/frontend/src/orchestrator/exports.ts +1 -0
- package/services/frontend/src/orchestrator/helpers/staticWidgetRegistry.ts +9 -44
- package/services/frontend/src/orchestrator/helpers/widgetLayoutHelper.ts +37 -0
- package/services/frontend/src/orchestrator/helpers/widgetLoader.ts +0 -1
- package/services/frontend/src/orchestrator/helpers/widgetSlotHelper.ts +20 -0
- package/services/frontend/src/orchestrator/helpers/widgetVisuals.ts +11 -12
- package/services/frontend/src/orchestrator/helpers/wrapWidgetWithLifecycle.ts +32 -0
- package/services/frontend/src/orchestrator/router/routerHooks/afterEach.ts +4 -29
- package/services/frontend/src/orchestrator/router/routerHooks/beforeEach.ts +4 -1
- package/services/frontend/src/orchestrator/types/Widgets.ts +12 -6
- package/src/types.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,8 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.1.
|
|
10
|
+
## [0.1.42] - 2026-07-08 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.41...v0.1.42" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- fix: frontend - route guards now properly reset slotProps
|
|
11
16
|
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- frontend: fixed route guards to preven redundand get query call
|
|
20
|
+
|
|
21
|
+
## [0.1.41] - 2026-07-07 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.40...v0.1.41" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- `services.cache.dbs` per-role Valkey DB configuration (`app`, `workbench`, `core`) with shared `services.cache.db` fallback
|
|
26
|
+
- `cacheUrl` helpers for resolving cache connection URLs in Docker Compose and local dev
|
|
27
|
+
- `loadAppConfigFromPath` to load the starting app's `raclette.config.js` (workbench inherits cache settings via `RACLETTE_APP_PATH`)
|
|
28
|
+
- `useAppLoadingCoordinator` composable gating global page loading until socket bootstrap and page widget slots are ready
|
|
29
|
+
- `BaseDataTableGroupSelectCheckbox` for group-row selection in custom `#group-header` slots
|
|
30
|
+
- modal loading overlay (`trackReadiness` / `revealWhenReady`) before composition content is shown
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- global: workbench, core and app now use per default the same db. Can be configured via raclette.config of app
|
|
35
|
+
- frontend: interactionLinks `sortOrder` now reversed — higher values appear first
|
|
36
|
+
- frontend: widget lifecycle tracks slot containers instead of widget roots; injects `onAllWidgetsReady` via `wrapWidgetWithLifecycle`
|
|
37
|
+
- frontend: page loading clears only after bootstrap and all page widget slots report ready (replaces router `afterEach` timeout)
|
|
38
|
+
- frontend: `BaseDataTable` forwards `#group-header` slot with `selectionActive`; fixes scoped slot content detection
|
|
39
|
+
- frontend: `LoadingWidgetState` marks async chunk loads so readiness detection ignores in-flight placeholders
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- frontend: error component is now always properly rendered
|
|
44
|
+
- frontend: failed widgets render `ErrorWidgetState` without blocking page or modal loading
|
|
45
|
+
|
|
46
|
+
## [0.1.40] - 2026-06-30 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.39...v0.1.40" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
12
47
|
|
|
13
48
|
### Changed
|
|
14
49
|
|