@etsoo/react 1.7.54 → 1.7.56
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/lib/app/ReactUtils.js +2 -2
- package/package.json +11 -11
- package/src/app/ReactUtils.ts +4 -2
package/lib/app/ReactUtils.js
CHANGED
|
@@ -154,11 +154,11 @@ export var ReactUtils;
|
|
|
154
154
|
data[k] = local(item);
|
|
155
155
|
}
|
|
156
156
|
else if (item instanceof HTMLInputElement) {
|
|
157
|
-
Utils.setNestedValue(data, item.name || k, formatValue(DomUtils.getInputValue(item)));
|
|
157
|
+
Utils.setNestedValue(data, item.name || k, formatValue(DomUtils.getInputValue(item)), true);
|
|
158
158
|
}
|
|
159
159
|
else if (item instanceof HTMLTextAreaElement ||
|
|
160
160
|
item instanceof HTMLSelectElement) {
|
|
161
|
-
Utils.setNestedValue(data, item.name || k, formatValue(item.value));
|
|
161
|
+
Utils.setNestedValue(data, item.name || k, formatValue(item.value), true);
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
164
164
|
data[k] = item.value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.56",
|
|
4
4
|
"description": "TypeScript ReactJs UI Independent Framework",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
"@emotion/css": "^11.11.2",
|
|
51
51
|
"@emotion/react": "^11.11.4",
|
|
52
52
|
"@emotion/styled": "^11.11.5",
|
|
53
|
-
"@etsoo/appscript": "^1.4.
|
|
54
|
-
"@etsoo/notificationbase": "^1.1.
|
|
55
|
-
"@etsoo/shared": "^1.2.
|
|
53
|
+
"@etsoo/appscript": "^1.4.97",
|
|
54
|
+
"@etsoo/notificationbase": "^1.1.43",
|
|
55
|
+
"@etsoo/shared": "^1.2.42",
|
|
56
56
|
"react": "^18.3.1",
|
|
57
57
|
"react-dom": "^18.3.1",
|
|
58
58
|
"react-router-dom": "^6.23.1",
|
|
59
59
|
"react-window": "^1.8.10"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@babel/cli": "^7.24.
|
|
63
|
-
"@babel/core": "^7.24.
|
|
64
|
-
"@babel/plugin-transform-runtime": "^7.24.
|
|
65
|
-
"@babel/preset-env": "^7.24.
|
|
66
|
-
"@babel/runtime-corejs3": "^7.24.
|
|
67
|
-
"@testing-library/jest-dom": "^6.4.
|
|
68
|
-
"@testing-library/react": "^
|
|
62
|
+
"@babel/cli": "^7.24.7",
|
|
63
|
+
"@babel/core": "^7.24.7",
|
|
64
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
65
|
+
"@babel/preset-env": "^7.24.7",
|
|
66
|
+
"@babel/runtime-corejs3": "^7.24.7",
|
|
67
|
+
"@testing-library/jest-dom": "^6.4.6",
|
|
68
|
+
"@testing-library/react": "^16.0.0",
|
|
69
69
|
"@types/jest": "^29.5.12",
|
|
70
70
|
"@types/react": "^18.3.3",
|
|
71
71
|
"@types/react-dom": "^18.3.0",
|
package/src/app/ReactUtils.ts
CHANGED
|
@@ -200,7 +200,8 @@ export namespace ReactUtils {
|
|
|
200
200
|
Utils.setNestedValue(
|
|
201
201
|
data,
|
|
202
202
|
item.name || k,
|
|
203
|
-
formatValue(DomUtils.getInputValue(item))
|
|
203
|
+
formatValue(DomUtils.getInputValue(item)),
|
|
204
|
+
true
|
|
204
205
|
);
|
|
205
206
|
} else if (
|
|
206
207
|
item instanceof HTMLTextAreaElement ||
|
|
@@ -209,7 +210,8 @@ export namespace ReactUtils {
|
|
|
209
210
|
Utils.setNestedValue(
|
|
210
211
|
data,
|
|
211
212
|
item.name || k,
|
|
212
|
-
formatValue(item.value)
|
|
213
|
+
formatValue(item.value),
|
|
214
|
+
true
|
|
213
215
|
);
|
|
214
216
|
} else {
|
|
215
217
|
data[k] = (item as any).value;
|