yqform-h5 0.1.41 → 0.1.43
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/style.css +1 -1
- package/dist/yqform-h5.es.js +9 -8
- package/dist/yqform-h5.umd.js +1 -1
- package/package.json +1 -1
package/dist/yqform-h5.es.js
CHANGED
|
@@ -14849,7 +14849,7 @@ const gS = {
|
|
|
14849
14849
|
filter: ".tip"
|
|
14850
14850
|
},
|
|
14851
14851
|
hasOptionTypes: ["radio", "checkbox", "switch", "picker", "rate", "customPicker"],
|
|
14852
|
-
specialCheckType: ["text", "integer", "float", "password", "phone", "identity", "idPicture"],
|
|
14852
|
+
specialCheckType: ["text", "integer", "float", "password", "phone", "identity", "idPicture", "file", "image"],
|
|
14853
14853
|
currentPage: {},
|
|
14854
14854
|
item: {},
|
|
14855
14855
|
totalPage: 1,
|
|
@@ -14944,6 +14944,7 @@ const gS = {
|
|
|
14944
14944
|
},
|
|
14945
14945
|
// 检查输入类题目是否符合要求
|
|
14946
14946
|
checkValue(e, t, n, o, a) {
|
|
14947
|
+
var f, c;
|
|
14947
14948
|
const s = () => {
|
|
14948
14949
|
this.goPage(n), this.selectItem(a), this.itemPosition(a), this.noAnswerKey = "", setTimeout(() => {
|
|
14949
14950
|
this.noAnswerKey = a;
|
|
@@ -14952,17 +14953,17 @@ const gS = {
|
|
|
14952
14953
|
if (e.type === "idPicture")
|
|
14953
14954
|
return console.log("[ newText ] >", t), t && t.front && t.back ? !0 : (s(), !1);
|
|
14954
14955
|
let u, d;
|
|
14955
|
-
if (e.type !== "phone" && e.type !== "identity" && (u = e.range.min, d = e.range.max), console.log("[ value ] >", t), t.length === 0)
|
|
14956
|
+
if (e.type !== "phone" && e.type !== "identity" && (u = (f = e.range) == null ? void 0 : f.min, d = (c = e.range) == null ? void 0 : c.max), console.log("[ value ] >", t), t.length === 0)
|
|
14956
14957
|
return e.required ? (s(), !1) : !0;
|
|
14957
14958
|
if (e.type === "text" || e.type === "password") {
|
|
14958
|
-
const
|
|
14959
|
-
return u &&
|
|
14959
|
+
const m = t.length;
|
|
14960
|
+
return u && m < u * 1 || d && m > d * 1 ? (s(), !1) : !0;
|
|
14960
14961
|
} else {
|
|
14961
14962
|
if (e.type === "integer" || e.type === "float")
|
|
14962
14963
|
return u && t * 1 < u * 1 || d && t * 1 > d * 1 ? (s(), !1) : !0;
|
|
14963
14964
|
if (e.type === "identity") {
|
|
14964
|
-
const
|
|
14965
|
-
return console.log(
|
|
14965
|
+
const m = u_(t);
|
|
14966
|
+
return console.log(m), m || s(), m;
|
|
14966
14967
|
} else
|
|
14967
14968
|
return !0;
|
|
14968
14969
|
}
|
|
@@ -15102,7 +15103,7 @@ const gS = {
|
|
|
15102
15103
|
},
|
|
15103
15104
|
mounted() {
|
|
15104
15105
|
}
|
|
15105
|
-
}, pS = (e) => (sd("data-v-
|
|
15106
|
+
}, pS = (e) => (sd("data-v-0ba8a2bb"), e = e(), ld(), e), vS = { class: "main" }, yS = { class: "content-topimg" }, bS = {
|
|
15106
15107
|
key: 0,
|
|
15107
15108
|
class: "header-img"
|
|
15108
15109
|
}, wS = {
|
|
@@ -15222,7 +15223,7 @@ function TS(e, t, n, o, a, s) {
|
|
|
15222
15223
|
])) : Ce("", !0)
|
|
15223
15224
|
]);
|
|
15224
15225
|
}
|
|
15225
|
-
const OS = /* @__PURE__ */ vo(gS, [["render", TS], ["__scopeId", "data-v-
|
|
15226
|
+
const OS = /* @__PURE__ */ vo(gS, [["render", TS], ["__scopeId", "data-v-0ba8a2bb"]]);
|
|
15226
15227
|
const DS = {
|
|
15227
15228
|
name: "Content",
|
|
15228
15229
|
emits: ["onSelect", "addFile", "submit", "edit", "handle"],
|