@cosmicdrift/kumiko-headless 0.215.2 → 0.215.4
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-headless",
|
|
3
|
-
"version": "0.215.
|
|
3
|
+
"version": "0.215.4",
|
|
4
4
|
"description": "Headless UI logic for Kumiko — Dispatcher contract, Form-Controller, View-Model, Nav-Resolver. Plattform- und React-frei; jeder Renderer (renderer, renderer-web, renderer-native, …) komponiert darauf.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cosmicdrift/kumiko-framework": "0.215.
|
|
39
|
+
"@cosmicdrift/kumiko-framework": "0.215.4",
|
|
40
40
|
"temporal-polyfill": "^0.3.2",
|
|
41
41
|
"zod": "^4.4.3"
|
|
42
42
|
},
|
package/src/view-model/edit.ts
CHANGED
|
@@ -72,6 +72,7 @@ export function computeEditViewModel<
|
|
|
72
72
|
kind: "extension" as const,
|
|
73
73
|
title: translate(sectionSpec.title),
|
|
74
74
|
component: sectionSpec.component,
|
|
75
|
+
contributesToFormSubmit: sectionSpec.contributesToFormSubmit === true,
|
|
75
76
|
};
|
|
76
77
|
}
|
|
77
78
|
if (!isFieldsEditSection(sectionSpec)) {
|
package/src/view-model/types.ts
CHANGED
|
@@ -252,6 +252,7 @@ export type EditExtensionSectionViewModel = {
|
|
|
252
252
|
readonly kind: "extension";
|
|
253
253
|
readonly title: string;
|
|
254
254
|
readonly component: PlatformComponent;
|
|
255
|
+
readonly contributesToFormSubmit: boolean;
|
|
255
256
|
};
|
|
256
257
|
|
|
257
258
|
// Mirrors EditRelatedListSection verbatim — no per-row/query resolution
|