@cosmicdrift/kumiko-renderer 0.132.0 → 0.134.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.134.0",
|
|
4
4
|
"description": "Platform-agnostic React renderer for Kumiko screens. Contains the shared logic — primitives-contract, hooks, KumikoScreen, navigation & SSE abstractions — that any platform-specific renderer (web, native) composes. No DOM, no EventSource, no react-dom.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
19
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
18
|
+
"@cosmicdrift/kumiko-framework": "0.134.0",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.134.0",
|
|
20
20
|
"react": "^19.2.6"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// Extension-Section-Components-Map: client-side Lookup für entityEdit
|
|
2
|
-
// sections vom Type `extension
|
|
3
|
-
// `__component`-Namen aus
|
|
4
|
-
//
|
|
5
|
-
// lädt + persistiert dann
|
|
2
|
+
// sections vom Type `extension`, List-Header-Slots UND Dashboard-`custom`-
|
|
3
|
+
// Panels. Jeder Mount-Ort löst den `__component`-Namen aus einer
|
|
4
|
+
// PlatformComponent über dieselbe Registry auf und mountet die passende
|
|
5
|
+
// Component — die Bundled-Feature-/App-Component lädt + persistiert dann
|
|
6
|
+
// ihre eigenen Daten (z.B. custom-fields, oder ein eigenständiger Chart).
|
|
6
7
|
//
|
|
7
8
|
// Mounting analog zu CustomScreensProvider — createKumikoApp im
|
|
8
9
|
// renderer-web sammelt alle clientFeatures.extensionSectionComponents und
|
|
@@ -39,6 +40,12 @@ export type ExtensionSectionProps = {
|
|
|
39
40
|
* (useListUrlState) ansprechen kann — z.B. ein Tag-Filter der die Liste auf
|
|
40
41
|
* eine id-Menge narrowed. In entityEdit-Sections undefined. */
|
|
41
42
|
readonly screenId?: string;
|
|
43
|
+
/** Nur im Dashboard-`custom`-Panel gesetzt: der aktuell gewählte Wert des
|
|
44
|
+
* Screen-Filters (siehe DashboardFilterDefinition), gemerged wie bei jeder
|
|
45
|
+
* anderen Panel-Query. In allen anderen Mount-Orten undefined. Dashboard-
|
|
46
|
+
* Panels haben keine Entity — entityName/entityId tragen dort die
|
|
47
|
+
* screen.id bzw. null, siehe CustomPanelBody in dashboard-body.tsx. */
|
|
48
|
+
readonly filterParams?: Readonly<Record<string, unknown>>;
|
|
42
49
|
};
|
|
43
50
|
|
|
44
51
|
export type ExtensionSectionComponent = ComponentType<ExtensionSectionProps>;
|
package/src/i18n-defaults.ts
CHANGED
|
@@ -43,6 +43,10 @@ export const kumikoDefaultTranslations: TranslationsByLocale = {
|
|
|
43
43
|
"kumiko.combobox.search-placeholder": "Suchen…",
|
|
44
44
|
"kumiko.combobox.empty": "Keine Treffer.",
|
|
45
45
|
"kumiko.combobox.loading": "Lade…",
|
|
46
|
+
|
|
47
|
+
// Dashboard — Default-Label für den "(alle)"-Eintrag im Screen-Filter,
|
|
48
|
+
// wenn DashboardFilterDefinition.allLabel nicht gesetzt ist.
|
|
49
|
+
"kumiko.dashboard.filter.all": "Alle",
|
|
46
50
|
"kumiko.combobox.placeholder": "—",
|
|
47
51
|
|
|
48
52
|
// Widgets — Query-States (QueryTable, LoadingState, ErrorState).
|
|
@@ -154,6 +158,8 @@ export const kumikoDefaultTranslations: TranslationsByLocale = {
|
|
|
154
158
|
"kumiko.combobox.loading": "Loading…",
|
|
155
159
|
"kumiko.combobox.placeholder": "—",
|
|
156
160
|
|
|
161
|
+
"kumiko.dashboard.filter.all": "All",
|
|
162
|
+
|
|
157
163
|
"kumiko.widget.loading": "Loading…",
|
|
158
164
|
"kumiko.widget.error.title": "Couldn't load.",
|
|
159
165
|
|