3h1-ui 3.0.0-next.239 → 3.0.0-next.240
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/es/index.js +3 -0
- package/lib/index.js +3 -0
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -25751,6 +25751,9 @@ const ShyForm = /* @__PURE__ */ defineComponent({
|
|
|
25751
25751
|
if ((_b = (_a2 = schema == null ? void 0 : schema.component) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, "Input")) {
|
|
25752
25752
|
schema.defaultValue = schema.defaultValue ?? "";
|
|
25753
25753
|
}
|
|
25754
|
+
if ((schema == null ? void 0 : schema.component) == "InputNumber" && !(schema.defaultValue || schema.defaultValue == 0)) {
|
|
25755
|
+
delete schema.defaultValue;
|
|
25756
|
+
}
|
|
25754
25757
|
if (schema.component === "Table") {
|
|
25755
25758
|
schema.defaultValue = schema.defaultValue || reactive([]);
|
|
25756
25759
|
}
|
package/lib/index.js
CHANGED
|
@@ -25775,6 +25775,9 @@ const ShyForm = /* @__PURE__ */ vue.defineComponent({
|
|
|
25775
25775
|
if ((_b = (_a2 = schema == null ? void 0 : schema.component) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, "Input")) {
|
|
25776
25776
|
schema.defaultValue = schema.defaultValue ?? "";
|
|
25777
25777
|
}
|
|
25778
|
+
if ((schema == null ? void 0 : schema.component) == "InputNumber" && !(schema.defaultValue || schema.defaultValue == 0)) {
|
|
25779
|
+
delete schema.defaultValue;
|
|
25780
|
+
}
|
|
25778
25781
|
if (schema.component === "Table") {
|
|
25779
25782
|
schema.defaultValue = schema.defaultValue || vue.reactive([]);
|
|
25780
25783
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.240",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/utils": "1.0.0-next.1",
|
|
34
|
+
"@shy-plugins/use": "1.0.1-next.5"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|