@fctc/widget-logic 1.4.0 → 1.6.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/dist/form.d.mts +2 -1
- package/dist/form.d.ts +2 -1
- package/dist/form.js +2 -2
- package/dist/form.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/form.d.mts
CHANGED
package/dist/form.d.ts
CHANGED
package/dist/form.js
CHANGED
|
@@ -67,9 +67,9 @@ var useSaveFormHandler = ({
|
|
|
67
67
|
const handleSaveForm = () => {
|
|
68
68
|
fetchSave.mutate(
|
|
69
69
|
{
|
|
70
|
-
ids: data.
|
|
70
|
+
ids: data.ids ? [data.ids] : [],
|
|
71
71
|
model: data.model,
|
|
72
|
-
data,
|
|
72
|
+
data: data.records,
|
|
73
73
|
specification: data.specification,
|
|
74
74
|
context: data.context
|
|
75
75
|
},
|
package/dist/form.mjs
CHANGED
|
@@ -39,9 +39,9 @@ var useSaveFormHandler = ({
|
|
|
39
39
|
const handleSaveForm = () => {
|
|
40
40
|
fetchSave.mutate(
|
|
41
41
|
{
|
|
42
|
-
ids: data.
|
|
42
|
+
ids: data.ids ? [data.ids] : [],
|
|
43
43
|
model: data.model,
|
|
44
|
-
data,
|
|
44
|
+
data: data.records,
|
|
45
45
|
specification: data.specification,
|
|
46
46
|
context: data.context
|
|
47
47
|
},
|
package/dist/index.js
CHANGED
|
@@ -190,9 +190,9 @@ var useSaveFormHandler = ({
|
|
|
190
190
|
const handleSaveForm = () => {
|
|
191
191
|
fetchSave.mutate(
|
|
192
192
|
{
|
|
193
|
-
ids: data.
|
|
193
|
+
ids: data.ids ? [data.ids] : [],
|
|
194
194
|
model: data.model,
|
|
195
|
-
data,
|
|
195
|
+
data: data.records,
|
|
196
196
|
specification: data.specification,
|
|
197
197
|
context: data.context
|
|
198
198
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -156,9 +156,9 @@ var useSaveFormHandler = ({
|
|
|
156
156
|
const handleSaveForm = () => {
|
|
157
157
|
fetchSave.mutate(
|
|
158
158
|
{
|
|
159
|
-
ids: data.
|
|
159
|
+
ids: data.ids ? [data.ids] : [],
|
|
160
160
|
model: data.model,
|
|
161
|
-
data,
|
|
161
|
+
data: data.records,
|
|
162
162
|
specification: data.specification,
|
|
163
163
|
context: data.context
|
|
164
164
|
},
|