mooho-base-admin-plus 2.8.4 → 2.8.5
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/history.md
CHANGED
|
@@ -41244,17 +41244,18 @@ const _sfc_main$n = {
|
|
|
41244
41244
|
continue;
|
|
41245
41245
|
let u = s.isRequired;
|
|
41246
41246
|
if ((s.requiredJson || "").trim()) {
|
|
41247
|
-
let
|
|
41248
|
-
(
|
|
41247
|
+
let d = JSON.parse(s.requiredJson);
|
|
41248
|
+
(d.type == "Condition" || d.type == "Expression") && (u = this.judgeCondition(d, a));
|
|
41249
41249
|
}
|
|
41250
|
+
let c = s.name.replaceAll(' <font color="red">*</font>', "");
|
|
41250
41251
|
if (u && (l == null || !(String(l) || "").trim()))
|
|
41251
|
-
return this.error("Front_Msg_Row_Column_Required|" + (r + 1) + "|" +
|
|
41252
|
+
return this.error("Front_Msg_Row_Column_Required|" + (r + 1) + "|" + c), !1;
|
|
41252
41253
|
if (s.maxValue != null && !isNaN(l) && l > s.maxValue)
|
|
41253
|
-
return this.error("Front_Msg_Row_Validation_Max_Value|" + (r + 1) + "|" +
|
|
41254
|
+
return this.error("Front_Msg_Row_Validation_Max_Value|" + (r + 1) + "|" + c + "|" + s.maxValue.toString()), !1;
|
|
41254
41255
|
if (s.minValue != null && !isNaN(l) && l < s.minValue)
|
|
41255
|
-
return this.error("Front_Msg_Row_Validation_Min_Value|" + (r + 1) + "|" +
|
|
41256
|
+
return this.error("Front_Msg_Row_Validation_Min_Value|" + (r + 1) + "|" + c + "|" + s.minValue.toString()), !1;
|
|
41256
41257
|
if ((s.pattern || "").trim() && l != null && new RegExp(s.pattern).test(l) == !1)
|
|
41257
|
-
return this.error("Front_Msg_Row_Validation_Pattern|" + (r + 1) + "|" +
|
|
41258
|
+
return this.error("Front_Msg_Row_Validation_Pattern|" + (r + 1) + "|" + c + "|" + s.pattern), !1;
|
|
41258
41259
|
}
|
|
41259
41260
|
}
|
|
41260
41261
|
return !0;
|
|
@@ -42571,7 +42572,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
|
|
|
42571
42572
|
], 2)
|
|
42572
42573
|
], 2);
|
|
42573
42574
|
}
|
|
42574
|
-
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
42575
|
+
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-3942cce8"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42575
42576
|
__proto__: null,
|
|
42576
42577
|
default: viewTable
|
|
42577
42578
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {
|