@dockou/elementplus 1.0.30 → 1.0.31
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/index.es.js +16 -10
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/index.es.js
CHANGED
|
@@ -10118,7 +10118,7 @@ const mfe = /* @__PURE__ */ pn(yfe, [["__scopeId", "data-v-5d5c58ca"]]), bfe = [
|
|
|
10118
10118
|
const b = async (K) => {
|
|
10119
10119
|
var ie;
|
|
10120
10120
|
const F = K.hasOwnProperty("attrs") ? K.attrs : {}, B = F.hasOwnProperty("style") ? F.style : {};
|
|
10121
|
-
return K.hasOwnProperty("clearable") && (F.clearable = K.clearable), K.hasOwnProperty("disabled") && (F.disabled = K.disabled), ["color", "switch", "input-number", "number", "date", "time", "rate", "checkbox", "checkbox-group", "radio", "radio-group"].includes(K.type) || (B.width = r.tipWidth ? `calc(100% - ${r.tipWidth + 40}px)` : "calc(100% - 10px)"), K.hasOwnProperty("width") && K.width && (B.width = `${K.width}px`), K.hasOwnProperty("color") && K.color && (B.color = K.color), ["input", "input-number", "number", "date", "time", "select", "cascader"].includes(K.type) && (F.placeholder = (K == null ? void 0 : K.placeholder) || K.label), (K.type === "description" || K.type === "descriptions" || K.type == "spec" || K.type == "goods_spec" || K.type == "form_spec") && (B.width = "100%"), Object.keys(B).length && (F.style = B), K.type == "upload" && ((!F.hasOwnProperty("prefix") || !(F != null && F.prefix)) && (F.prefix = r == null ? void 0 : r.prefix), (!F.hasOwnProperty("action") || !(F != null && F.action)) && (F.action = (r == null ? void 0 : r.api) + "upload"), (!F.hasOwnProperty("size") || !(F != null && F.size)) && (F.size = ((ie = K.attrs) == null ? void 0 : ie.size) || "default")), K.type == "editor", F;
|
|
10121
|
+
return K.hasOwnProperty("clearable") && (F.clearable = K.clearable), K.hasOwnProperty("disabled") && (F.disabled = K.disabled), ["color", "color-picker", "switch", "input-number", "number", "date", "time", "rate", "checkbox", "checkbox-group", "radio", "radio-group"].includes(K.type) || (B.width = r.tipWidth ? `calc(100% - ${r.tipWidth + 40}px)` : "calc(100% - 10px)"), K.hasOwnProperty("width") && K.width && (B.width = `${K.width}px`), K.hasOwnProperty("color") && K.color && (B.color = K.color), ["input", "input-number", "number", "date", "time", "select", "cascader"].includes(K.type) && (F.placeholder = (K == null ? void 0 : K.placeholder) || K.label), (K.type === "description" || K.type === "descriptions" || K.type == "spec" || K.type == "goods_spec" || K.type == "form_spec") && (B.width = "100%"), Object.keys(B).length && (F.style = B), K.type == "upload" && ((!F.hasOwnProperty("prefix") || !(F != null && F.prefix)) && (F.prefix = r == null ? void 0 : r.prefix), (!F.hasOwnProperty("action") || !(F != null && F.action)) && (F.action = (r == null ? void 0 : r.api) + "upload"), (!F.hasOwnProperty("size") || !(F != null && F.size)) && (F.size = ((ie = K.attrs) == null ? void 0 : ie.size) || "default")), K.type == "editor", ["color", "color-picker", "switch"].includes(K.type) && B.hasOwnProperty("width") && delete B.width, F;
|
|
10122
10122
|
}, m = async (K) => {
|
|
10123
10123
|
const F = ["type", "label", "prop", "value", "rules", "children", "attrs", "slot", "options", "placeholder"];
|
|
10124
10124
|
K.type != "city" && F.push("width");
|
|
@@ -10558,12 +10558,18 @@ const mfe = /* @__PURE__ */ pn(yfe, [["__scopeId", "data-v-5d5c58ca"]]), bfe = [
|
|
|
10558
10558
|
}, {
|
|
10559
10559
|
default: z(() => [
|
|
10560
10560
|
K.$slots[T.prop] ? Je(K.$slots, T.prop, { key: 0 }) : (x(), O(xe, { key: 1 }, [
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10561
|
+
k("div", {
|
|
10562
|
+
style: Le({ width: `calc(100% - ${e.tipWidth + 50}px)` })
|
|
10563
|
+
}, [
|
|
10564
|
+
Y(ct, {
|
|
10565
|
+
value: p.value[T.prop],
|
|
10566
|
+
"onUpdate:value": (be) => p.value[T.prop] = be,
|
|
10567
|
+
prex: e.prefix,
|
|
10568
|
+
api: e.api,
|
|
10569
|
+
options: T.options,
|
|
10570
|
+
onChange: (be) => S(be, T.prop)
|
|
10571
|
+
}, null, 8, ["value", "onUpdate:value", "prex", "api", "options", "onChange"])
|
|
10572
|
+
], 4),
|
|
10567
10573
|
k("span", {
|
|
10568
10574
|
style: Le(T == null ? void 0 : T.dstyle),
|
|
10569
10575
|
innerHTML: T.desc
|
|
@@ -11241,10 +11247,10 @@ const Wfe = {
|
|
|
11241
11247
|
}), $r();
|
|
11242
11248
|
const r = ue(null), o = ue([]), a = ue([]), i = ue([]), l = ue([]), s = ue(""), c = ue([null, void 0, "", 0, "0", []]), d = ue(3), p = V(() => {
|
|
11243
11249
|
var S;
|
|
11244
|
-
return ((S = n.options) == null ? void 0 : S.prex) || "fm_";
|
|
11250
|
+
return (n == null ? void 0 : n.prex) || ((S = n.options) == null ? void 0 : S.prex) || "fm_";
|
|
11245
11251
|
}), v = V(() => {
|
|
11246
11252
|
var S;
|
|
11247
|
-
return ((S = n.options) == null ? void 0 : S.api) || "http://localhost:10079/";
|
|
11253
|
+
return (n == null ? void 0 : n.api) || ((S = n.options) == null ? void 0 : S.api) || "http://localhost:10079/";
|
|
11248
11254
|
}), h = V(() => {
|
|
11249
11255
|
var S;
|
|
11250
11256
|
return ((S = n.options) == null ? void 0 : S.action) || "city";
|
|
@@ -11376,7 +11382,7 @@ const Wfe = {
|
|
|
11376
11382
|
};
|
|
11377
11383
|
}
|
|
11378
11384
|
});
|
|
11379
|
-
const _1e = /* @__PURE__ */ pn(g1e, [["__scopeId", "data-v-
|
|
11385
|
+
const _1e = /* @__PURE__ */ pn(g1e, [["__scopeId", "data-v-77c18416"]]), y1e = {
|
|
11380
11386
|
install(e) {
|
|
11381
11387
|
e.component("element-city", _1e);
|
|
11382
11388
|
}
|