@fctc/widget-logic 1.9.0 → 1.10.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 CHANGED
@@ -3,7 +3,7 @@ interface UseSaveFormProps$1 {
3
3
  context: any;
4
4
  model: string;
5
5
  specification: any;
6
- id: any;
6
+ ids: any;
7
7
  nameField?: any;
8
8
  object?: any;
9
9
  };
package/dist/form.d.ts CHANGED
@@ -3,7 +3,7 @@ interface UseSaveFormProps$1 {
3
3
  context: any;
4
4
  model: string;
5
5
  specification: any;
6
- id: any;
6
+ ids: any;
7
7
  nameField?: any;
8
8
  object?: any;
9
9
  };
package/dist/form.js CHANGED
@@ -38,7 +38,7 @@ var UseOnChangeFormHandler = ({
38
38
  const handleOnChangeForm = () => {
39
39
  fetchOnchange.mutate(
40
40
  {
41
- ids: data.id ? data.id : [],
41
+ ids: data.ids,
42
42
  model: data.model,
43
43
  specification: data.specification,
44
44
  context: data.context,
package/dist/form.mjs CHANGED
@@ -10,7 +10,7 @@ var UseOnChangeFormHandler = ({
10
10
  const handleOnChangeForm = () => {
11
11
  fetchOnchange.mutate(
12
12
  {
13
- ids: data.id ? data.id : [],
13
+ ids: data.ids,
14
14
  model: data.model,
15
15
  specification: data.specification,
16
16
  context: data.context,
package/dist/index.js CHANGED
@@ -161,7 +161,7 @@ var UseOnChangeFormHandler = ({
161
161
  const handleOnChangeForm = () => {
162
162
  fetchOnchange.mutate(
163
163
  {
164
- ids: data.id ? data.id : [],
164
+ ids: data.ids,
165
165
  model: data.model,
166
166
  specification: data.specification,
167
167
  context: data.context,
package/dist/index.mjs CHANGED
@@ -127,7 +127,7 @@ var UseOnChangeFormHandler = ({
127
127
  const handleOnChangeForm = () => {
128
128
  fetchOnchange.mutate(
129
129
  {
130
- ids: data.id ? data.id : [],
130
+ ids: data.ids,
131
131
  model: data.model,
132
132
  specification: data.specification,
133
133
  context: data.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",