3h1-ui 3.0.0-next.253 → 3.0.0-next.255
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 +7 -7
- package/lib/index.js +7 -7
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -25778,8 +25778,8 @@ const ShyForm = /* @__PURE__ */ defineComponent({
|
|
|
25778
25778
|
_c_props = componentProps;
|
|
25779
25779
|
}
|
|
25780
25780
|
return {
|
|
25781
|
-
|
|
25782
|
-
|
|
25781
|
+
schemas: treeExpandField(cloneDeep(_c_props.schemas)),
|
|
25782
|
+
..._c_props
|
|
25783
25783
|
};
|
|
25784
25784
|
}
|
|
25785
25785
|
};
|
|
@@ -27846,6 +27846,8 @@ function useRowSelection(propsRef, tableData, emit) {
|
|
|
27846
27846
|
};
|
|
27847
27847
|
}
|
|
27848
27848
|
function formatNumberWithThousandSeparator$1(val) {
|
|
27849
|
+
if (val === null || val === void 0 || val === "")
|
|
27850
|
+
return "";
|
|
27849
27851
|
const [intPart, decimalPart] = String(val).split(".");
|
|
27850
27852
|
const formattedInt = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
27851
27853
|
return decimalPart !== void 0 ? `${formattedInt}.${decimalPart}` : formattedInt;
|
|
@@ -30140,13 +30142,11 @@ const ShyTag = /* @__PURE__ */ defineComponent({
|
|
|
30140
30142
|
}
|
|
30141
30143
|
});
|
|
30142
30144
|
function formatNumberWithThousandSeparator(val) {
|
|
30145
|
+
if (val === null || val === void 0 || val === "")
|
|
30146
|
+
return "";
|
|
30143
30147
|
const [intPart, decimalPart] = String(val).split(".");
|
|
30144
30148
|
const formattedInt = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
30145
|
-
|
|
30146
|
-
const trimmedDecimal = decimalPart.replace(/0+$/, "");
|
|
30147
|
-
return trimmedDecimal ? `${formattedInt}.${trimmedDecimal}` : formattedInt;
|
|
30148
|
-
}
|
|
30149
|
-
return formattedInt;
|
|
30149
|
+
return decimalPart !== void 0 ? `${formattedInt}.${decimalPart}` : formattedInt;
|
|
30150
30150
|
}
|
|
30151
30151
|
const handleItem = (item, ellipsis) => {
|
|
30152
30152
|
const {
|
package/lib/index.js
CHANGED
|
@@ -25802,8 +25802,8 @@ const ShyForm = /* @__PURE__ */ vue.defineComponent({
|
|
|
25802
25802
|
_c_props = componentProps;
|
|
25803
25803
|
}
|
|
25804
25804
|
return {
|
|
25805
|
-
|
|
25806
|
-
|
|
25805
|
+
schemas: treeExpandField(cloneDeep(_c_props.schemas)),
|
|
25806
|
+
..._c_props
|
|
25807
25807
|
};
|
|
25808
25808
|
}
|
|
25809
25809
|
};
|
|
@@ -27870,6 +27870,8 @@ function useRowSelection(propsRef, tableData, emit) {
|
|
|
27870
27870
|
};
|
|
27871
27871
|
}
|
|
27872
27872
|
function formatNumberWithThousandSeparator$1(val) {
|
|
27873
|
+
if (val === null || val === void 0 || val === "")
|
|
27874
|
+
return "";
|
|
27873
27875
|
const [intPart, decimalPart] = String(val).split(".");
|
|
27874
27876
|
const formattedInt = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
27875
27877
|
return decimalPart !== void 0 ? `${formattedInt}.${decimalPart}` : formattedInt;
|
|
@@ -30164,13 +30166,11 @@ const ShyTag = /* @__PURE__ */ vue.defineComponent({
|
|
|
30164
30166
|
}
|
|
30165
30167
|
});
|
|
30166
30168
|
function formatNumberWithThousandSeparator(val) {
|
|
30169
|
+
if (val === null || val === void 0 || val === "")
|
|
30170
|
+
return "";
|
|
30167
30171
|
const [intPart, decimalPart] = String(val).split(".");
|
|
30168
30172
|
const formattedInt = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
30169
|
-
|
|
30170
|
-
const trimmedDecimal = decimalPart.replace(/0+$/, "");
|
|
30171
|
-
return trimmedDecimal ? `${formattedInt}.${trimmedDecimal}` : formattedInt;
|
|
30172
|
-
}
|
|
30173
|
-
return formattedInt;
|
|
30173
|
+
return decimalPart !== void 0 ? `${formattedInt}.${decimalPart}` : formattedInt;
|
|
30174
30174
|
}
|
|
30175
30175
|
const handleItem = (item, ellipsis) => {
|
|
30176
30176
|
const {
|