@form-create/element-ui 2.7.15 → 2.7.16
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/form-create.esm.js +142 -139
- package/dist/form-create.js +3 -3
- package/dist/form-create.min.js +3 -3
- package/package.json +3 -3
package/dist/form-create.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* FormCreate 低代码表单渲染器
|
|
3
|
-
* @form-create/element-ui v2.7.
|
|
3
|
+
* @form-create/element-ui v2.7.16
|
|
4
4
|
* (c) 2018-2025 xaboy
|
|
5
5
|
* Github https://github.com/xaboy/form-create
|
|
6
6
|
* Site https://form-create.com/
|
|
@@ -496,7 +496,7 @@ const Fr = "fcFrame", kr = {
|
|
|
496
496
|
mounted() {
|
|
497
497
|
this.$on("fc.closeModal", this.closeModal);
|
|
498
498
|
}
|
|
499
|
-
}, Er = "fcRadio",
|
|
499
|
+
}, Er = "fcRadio", Rr = {
|
|
500
500
|
name: Er,
|
|
501
501
|
props: {
|
|
502
502
|
formCreateInject: {
|
|
@@ -594,8 +594,8 @@ const Fr = "fcFrame", kr = {
|
|
|
594
594
|
function j(t, e) {
|
|
595
595
|
return {}.hasOwnProperty.call(t, e);
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
name:
|
|
597
|
+
const Sr = "fcSelect", jr = {
|
|
598
|
+
name: Sr,
|
|
599
599
|
functional: !0,
|
|
600
600
|
props: {
|
|
601
601
|
formCreateInject: {
|
|
@@ -912,7 +912,7 @@ const Ir = "fcUpload", Pr = {
|
|
|
912
912
|
}), this.$emit("fc.el", this.$refs.upload);
|
|
913
913
|
}
|
|
914
914
|
};
|
|
915
|
-
function
|
|
915
|
+
function F(t, e, r) {
|
|
916
916
|
$e.set(t, e, r);
|
|
917
917
|
}
|
|
918
918
|
function ie(t, e) {
|
|
@@ -926,19 +926,19 @@ function Oe(t, e = {}, r) {
|
|
|
926
926
|
if ((i = Array.isArray(n)) || h.Object(n)) {
|
|
927
927
|
let o = t[s] === void 0;
|
|
928
928
|
if (i)
|
|
929
|
-
i = !1, o &&
|
|
929
|
+
i = !1, o && F(t, s, []);
|
|
930
930
|
else if (n._clone && r !== void 0)
|
|
931
931
|
if (r)
|
|
932
|
-
n = n.getRule(), o &&
|
|
932
|
+
n = n.getRule(), o && F(t, s, {});
|
|
933
933
|
else {
|
|
934
|
-
|
|
934
|
+
F(t, s, n._clone());
|
|
935
935
|
continue;
|
|
936
936
|
}
|
|
937
937
|
else
|
|
938
|
-
o &&
|
|
938
|
+
o && F(t, s, {});
|
|
939
939
|
t[s] = Oe(t[s], n, r);
|
|
940
940
|
} else
|
|
941
|
-
|
|
941
|
+
F(t, s, n), h.Undef(n) || (h.Undef(n.__json) || (t[s].__json = n.__json), h.Undef(n.__origin) || (t[s].__origin = n.__origin));
|
|
942
942
|
}
|
|
943
943
|
return r !== void 0 && Array.isArray(t) ? t.filter((s) => !s || !s.__ctrl) : t;
|
|
944
944
|
}
|
|
@@ -948,7 +948,7 @@ function K(t) {
|
|
|
948
948
|
const Tr = Object.assign || function(t) {
|
|
949
949
|
for (let e, r = 1; r < arguments.length; r++)
|
|
950
950
|
for (let i in e = arguments[r], e)
|
|
951
|
-
Object.prototype.hasOwnProperty.call(e, i) &&
|
|
951
|
+
Object.prototype.hasOwnProperty.call(e, i) && F(t, i, e[i]);
|
|
952
952
|
return t;
|
|
953
953
|
};
|
|
954
954
|
function _() {
|
|
@@ -1349,7 +1349,7 @@ const Br = "fcGroup", Lr = {
|
|
|
1349
1349
|
}, qr = [
|
|
1350
1350
|
Or,
|
|
1351
1351
|
kr,
|
|
1352
|
-
|
|
1352
|
+
Rr,
|
|
1353
1353
|
jr,
|
|
1354
1354
|
Ar,
|
|
1355
1355
|
Pr,
|
|
@@ -1369,8 +1369,8 @@ function be(t) {
|
|
|
1369
1369
|
function Ur(t) {
|
|
1370
1370
|
return t.replace(t[0], t[0].toLocaleUpperCase());
|
|
1371
1371
|
}
|
|
1372
|
-
const kt = ["attrs", "props", "domProps", "scopedSlots"], Et = ["class", "style", "directives"],
|
|
1373
|
-
const i = [...kt, ...r.normal || []], s = [...Et, ...r.array || []], n = [...
|
|
1372
|
+
const kt = ["attrs", "props", "domProps", "scopedSlots"], Et = ["class", "style", "directives"], Rt = ["on", "nativeOn", "hook"], Y = (t, e = {}, r = {}) => {
|
|
1373
|
+
const i = [...kt, ...r.normal || []], s = [...Et, ...r.array || []], n = [...Rt, ...r.functional || []], o = r.props || [];
|
|
1374
1374
|
return t.reduce((a, l) => {
|
|
1375
1375
|
for (const u in l)
|
|
1376
1376
|
if (a[u])
|
|
@@ -1399,9 +1399,9 @@ const kt = ["attrs", "props", "domProps", "scopedSlots"], Et = ["class", "style"
|
|
|
1399
1399
|
}, e);
|
|
1400
1400
|
}, Hr = (t, e) => function() {
|
|
1401
1401
|
t && t.apply(this, arguments), e && e.apply(this, arguments);
|
|
1402
|
-
},
|
|
1402
|
+
}, St = ["type", "slot", "ignore", "emitPrefix", "value", "name", "native", "hidden", "display", "inject", "options", "emit", "nativeEmit", "link", "prefix", "suffix", "update", "sync", "optionsTo", "key", "slotUpdate", "computed", "preview", "component", "cache"], Qe = ["validate", "children", "control"], Ye = ["effect", "deep", "renderSlots"];
|
|
1403
1403
|
function jt() {
|
|
1404
|
-
return [...
|
|
1404
|
+
return [...St, ...kt, ...Et, ...Rt, ...Qe, ...Ye];
|
|
1405
1405
|
}
|
|
1406
1406
|
function Dt(t, e, r) {
|
|
1407
1407
|
return `[form-create ${t}]: ${e}`;
|
|
@@ -1485,8 +1485,8 @@ function Ve() {
|
|
|
1485
1485
|
function oe(t, e, r) {
|
|
1486
1486
|
let i = t, s;
|
|
1487
1487
|
return (e || "").split(".").forEach((n) => {
|
|
1488
|
-
s && ((!i[s] || typeof i[s] != "object") &&
|
|
1489
|
-
}),
|
|
1488
|
+
s && ((!i[s] || typeof i[s] != "object") && F(i, s, {}), i = i[s]), s = n;
|
|
1489
|
+
}), F(i, s, r), i;
|
|
1490
1490
|
}
|
|
1491
1491
|
function xe(t, e) {
|
|
1492
1492
|
return {
|
|
@@ -1549,7 +1549,7 @@ function Wr(t, e) {
|
|
|
1549
1549
|
} else
|
|
1550
1550
|
return ze(t, e);
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function Re() {
|
|
1553
1553
|
const t = {}, e = (r) => r || "default";
|
|
1554
1554
|
return {
|
|
1555
1555
|
setSlot(r, i) {
|
|
@@ -1585,12 +1585,12 @@ function Se() {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function Se(t, e) {
|
|
1589
1589
|
return Object.setPrototypeOf(t, e), t;
|
|
1590
1590
|
}
|
|
1591
|
-
const ht = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? Number(e) : e,
|
|
1591
|
+
const ht = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? Number(e) : e, ce = {
|
|
1592
1592
|
"==": (t, e) => JSON.stringify(t) === JSON.stringify(ht(t, e)),
|
|
1593
|
-
"!=": (t, e) => !
|
|
1593
|
+
"!=": (t, e) => !ce["=="](t, e),
|
|
1594
1594
|
">": (t, e) => t > e,
|
|
1595
1595
|
">=": (t, e) => t >= e,
|
|
1596
1596
|
"<": (t, e) => t < e,
|
|
@@ -1599,13 +1599,13 @@ const ht = (t, e) => typeof t == "string" ? String(e) : typeof t == "number" ? N
|
|
|
1599
1599
|
return t && t.indexOf && t.indexOf(ht(t[0], e)) > -1;
|
|
1600
1600
|
},
|
|
1601
1601
|
notOn(t, e) {
|
|
1602
|
-
return !
|
|
1602
|
+
return !ce.on(t, e);
|
|
1603
1603
|
},
|
|
1604
1604
|
in(t, e) {
|
|
1605
1605
|
return e && e.indexOf && e.indexOf(t) > -1;
|
|
1606
1606
|
},
|
|
1607
1607
|
notIn(t, e) {
|
|
1608
|
-
return !
|
|
1608
|
+
return !ce.in(t, e);
|
|
1609
1609
|
},
|
|
1610
1610
|
between(t, e) {
|
|
1611
1611
|
return t > e[0] && t < e[1];
|
|
@@ -1730,20 +1730,20 @@ function zr(t, e, r) {
|
|
|
1730
1730
|
unique: 1,
|
|
1731
1731
|
renderRule: [...l.value || []],
|
|
1732
1732
|
updateValue: JSON.stringify(u.value || {})
|
|
1733
|
-
}), g = new t(n), y = g.api(), C = p.value,
|
|
1733
|
+
}), g = new t(n), y = g.api(), C = p.value, k = () => {
|
|
1734
1734
|
if (o) {
|
|
1735
1735
|
const E = je(n, o);
|
|
1736
1736
|
if (E) {
|
|
1737
|
-
let
|
|
1738
|
-
C ? (
|
|
1737
|
+
let R;
|
|
1738
|
+
C ? (R = H(E.getSubForm()), R.push(y)) : R = y, E.subForm(R);
|
|
1739
1739
|
}
|
|
1740
1740
|
}
|
|
1741
1741
|
}, G = () => {
|
|
1742
1742
|
const E = je(n, o);
|
|
1743
1743
|
if (E)
|
|
1744
1744
|
if (C) {
|
|
1745
|
-
const
|
|
1746
|
-
M > -1 &&
|
|
1745
|
+
const R = H(E.getSubForm()), M = R.indexOf(y);
|
|
1746
|
+
M > -1 && R.splice(M, 1);
|
|
1747
1747
|
} else
|
|
1748
1748
|
E.subForm();
|
|
1749
1749
|
};
|
|
@@ -1751,37 +1751,37 @@ function zr(t, e, r) {
|
|
|
1751
1751
|
cr(() => {
|
|
1752
1752
|
L(() => {
|
|
1753
1753
|
let E = "";
|
|
1754
|
-
const
|
|
1755
|
-
Object.keys(
|
|
1756
|
-
let
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
}),
|
|
1754
|
+
const R = s.option && s.option.globalClass || {};
|
|
1755
|
+
Object.keys(R).forEach((M) => {
|
|
1756
|
+
let me = "";
|
|
1757
|
+
R[M].style && Object.keys(R[M].style).forEach((W) => {
|
|
1758
|
+
me += be(W) + ":" + R[M].style[W] + ";";
|
|
1759
|
+
}), R[M].content && (me += R[M].content + ";"), me && (E += `.${M}{${me}}`);
|
|
1760
1760
|
}), s.option && s.option.style && (E += s.option.style), V || (V = document.createElement("style"), V.type = "text/css", document.head.appendChild(V)), V.innerHTML = E || "";
|
|
1761
1761
|
}, () => {
|
|
1762
1762
|
});
|
|
1763
1763
|
});
|
|
1764
1764
|
const N = se(() => {
|
|
1765
1765
|
g.bus.$emit("$loadData.$topForm");
|
|
1766
|
-
}, 100),
|
|
1766
|
+
}, 100), de = se(function() {
|
|
1767
1767
|
g.bus.$emit("$loadData.$scopeForm");
|
|
1768
1768
|
}, 100), Ie = se(() => {
|
|
1769
1769
|
g.bus.$emit("$loadData.$form");
|
|
1770
|
-
}, 100),
|
|
1770
|
+
}, 100), pe = (E) => {
|
|
1771
1771
|
g.bus.$emit("change-$form." + E);
|
|
1772
1772
|
};
|
|
1773
1773
|
return hr(() => {
|
|
1774
|
-
o && (y.top.bus.$on("$loadData.$form", N), y.top.bus.$on("change",
|
|
1774
|
+
o && (y.top.bus.$on("$loadData.$form", N), y.top.bus.$on("change", pe)), y !== y.scope && y.scope.bus.$on("$loadData.$scopeForm", de), g.mounted();
|
|
1775
1775
|
}), dr(() => {
|
|
1776
|
-
o && (y.top.bus.$off("$loadData.$form", N), y.top.bus.$off("change",
|
|
1776
|
+
o && (y.top.bus.$off("$loadData.$form", N), y.top.bus.$off("change", pe)), y !== y.scope && y.scope.bus.$off("$loadData.$scopeForm", de), G(), d.destroyed = !0, g.unmount(), V && (V.parentNode || V.parentElement) && document.head.removeChild(V);
|
|
1777
1777
|
}), pr(() => {
|
|
1778
1778
|
g.updated();
|
|
1779
1779
|
}), L(f, (E) => {
|
|
1780
|
-
E ?
|
|
1780
|
+
E ? k() : G();
|
|
1781
1781
|
}, { immediate: !0 }), L(() => s.option, () => {
|
|
1782
1782
|
g.initOptions(), y.refresh();
|
|
1783
1783
|
}, { deep: !0, flush: "sync" }), L(() => [...l.value], (E) => {
|
|
1784
|
-
g.$handle.isBreakWatch() || E.length === d.renderRule.length && E.every((
|
|
1784
|
+
g.$handle.isBreakWatch() || E.length === d.renderRule.length && E.every((R) => d.renderRule.indexOf(R) > -1) || (g.$handle.updateAppendData(), g.$handle.reloadRule(l.value), n.renderRule());
|
|
1785
1785
|
}), L(() => [s.disabled, s.preview], () => {
|
|
1786
1786
|
y.refresh();
|
|
1787
1787
|
}), L(u, (E) => {
|
|
@@ -1807,9 +1807,9 @@ function zr(t, e, r) {
|
|
|
1807
1807
|
},
|
|
1808
1808
|
updateValue(E) {
|
|
1809
1809
|
if (d.destroyed) return;
|
|
1810
|
-
const
|
|
1811
|
-
d.updateValue !==
|
|
1812
|
-
Ie(), o ? f.value ||
|
|
1810
|
+
const R = we(E);
|
|
1811
|
+
d.updateValue !== R && (d.updateValue = R, n.$emit("update:value", E), P(() => {
|
|
1812
|
+
Ie(), o ? f.value || de() : (N(), de());
|
|
1813
1813
|
}));
|
|
1814
1814
|
}
|
|
1815
1815
|
});
|
|
@@ -1845,7 +1845,7 @@ _(tt.prototype, {
|
|
|
1845
1845
|
return this._data;
|
|
1846
1846
|
},
|
|
1847
1847
|
setProp(t, e) {
|
|
1848
|
-
return
|
|
1848
|
+
return F(this._data, t, e), this;
|
|
1849
1849
|
},
|
|
1850
1850
|
_clone() {
|
|
1851
1851
|
const t = new this.constructor();
|
|
@@ -1924,7 +1924,7 @@ function gt(t, e, r) {
|
|
|
1924
1924
|
onSuccess(n) {
|
|
1925
1925
|
let o = (l) => l;
|
|
1926
1926
|
const a = z(t.parse);
|
|
1927
|
-
h.Function(a) ? o = a : a && h.String(a) && (o = (l) => B(l, a)), i(o(n,
|
|
1927
|
+
h.Function(a) ? o = a : a && h.String(a) && (o = (l) => B(l, a)), i(o(n, t.targetRule, r));
|
|
1928
1928
|
},
|
|
1929
1929
|
onError(n) {
|
|
1930
1930
|
s(n);
|
|
@@ -1943,7 +1943,7 @@ function Yr(t) {
|
|
|
1943
1943
|
h.Undef(n) ? n = Object.keys(v(v({}, t.fieldCtx), t.nameCtx)) : Array.isArray(n) || (n = [n]), n.forEach((l) => {
|
|
1944
1944
|
const u = t.fieldCtx[l] || t.nameCtx[l];
|
|
1945
1945
|
u && u.forEach((f) => {
|
|
1946
|
-
|
|
1946
|
+
F(f.rule, o, a), t.$render.clearCache(f);
|
|
1947
1947
|
});
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
@@ -2036,7 +2036,7 @@ function Yr(t) {
|
|
|
2036
2036
|
if (l) {
|
|
2037
2037
|
const u = j(n, a);
|
|
2038
2038
|
l.forEach((f) => {
|
|
2039
|
-
|
|
2039
|
+
F(f.rule, "value", u ? n[a] : void 0);
|
|
2040
2040
|
}), delete o[a];
|
|
2041
2041
|
}
|
|
2042
2042
|
}), _(t.appendData, o);
|
|
@@ -2049,7 +2049,7 @@ function Yr(t) {
|
|
|
2049
2049
|
const l = t.fieldCtx[a];
|
|
2050
2050
|
if (!l) return t.appendData[a] = o[a];
|
|
2051
2051
|
l.forEach((u) => {
|
|
2052
|
-
|
|
2052
|
+
F(u.rule, "value", o[a]);
|
|
2053
2053
|
});
|
|
2054
2054
|
});
|
|
2055
2055
|
}, !0);
|
|
@@ -2113,7 +2113,7 @@ function Yr(t) {
|
|
|
2113
2113
|
disabled(n, o) {
|
|
2114
2114
|
e(o).forEach((a) => {
|
|
2115
2115
|
t.getCtxs(a).forEach((l) => {
|
|
2116
|
-
|
|
2116
|
+
F(l.rule.props, "disabled", !!n);
|
|
2117
2117
|
});
|
|
2118
2118
|
}), t.refresh();
|
|
2119
2119
|
},
|
|
@@ -2171,7 +2171,7 @@ function Yr(t) {
|
|
|
2171
2171
|
t.$manager.updateOptions(t.options), s.refresh();
|
|
2172
2172
|
},
|
|
2173
2173
|
hideForm: (n) => {
|
|
2174
|
-
|
|
2174
|
+
F(t.vm, "isShow", !n);
|
|
2175
2175
|
},
|
|
2176
2176
|
changeStatus: () => t.changeStatus,
|
|
2177
2177
|
clearChangeStatus: () => {
|
|
@@ -2230,7 +2230,7 @@ function Yr(t) {
|
|
|
2230
2230
|
},
|
|
2231
2231
|
setEffect(n, o, a) {
|
|
2232
2232
|
const l = t.getCtx(n);
|
|
2233
|
-
l && o && (o[0] === "$" && (o = o.substr(1)), j(l.rule, "$" + o) &&
|
|
2233
|
+
l && o && (o[0] === "$" && (o = o.substr(1)), j(l.rule, "$" + o) && F(l.rule, "$" + o, a), j(l.rule, "effect") || F(l.rule, "effect", {}), F(l.rule.effect, o, a));
|
|
2234
2234
|
},
|
|
2235
2235
|
clearEffectData(n, o) {
|
|
2236
2236
|
const a = t.getCtx(n);
|
|
@@ -2317,7 +2317,7 @@ function Yr(t) {
|
|
|
2317
2317
|
const l = s.getChildrenRuleList(n);
|
|
2318
2318
|
t.deferSyncValue(() => {
|
|
2319
2319
|
l.forEach((u) => {
|
|
2320
|
-
j(o, u.field) ?
|
|
2320
|
+
j(o, u.field) ? F(u, "value", o[u.field]) : a && F(u, "value", void 0);
|
|
2321
2321
|
});
|
|
2322
2322
|
});
|
|
2323
2323
|
},
|
|
@@ -2471,7 +2471,7 @@ function ti(t) {
|
|
|
2471
2471
|
if (!this.vm.isShow)
|
|
2472
2472
|
return;
|
|
2473
2473
|
this.$manager.beforeRender();
|
|
2474
|
-
const e =
|
|
2474
|
+
const e = Re();
|
|
2475
2475
|
return this.sort.forEach((r) => {
|
|
2476
2476
|
this.renderSlot(e, this.$handle.ctxs[r]);
|
|
2477
2477
|
}), this.$manager.render(e);
|
|
@@ -2590,11 +2590,11 @@ function ti(t) {
|
|
|
2590
2590
|
},
|
|
2591
2591
|
injectProp(e) {
|
|
2592
2592
|
const r = this.vm;
|
|
2593
|
-
r.ctxInject[e.id] || (r.ctxInject
|
|
2593
|
+
r.ctxInject[e.id] || F(r.ctxInject, e.id, {
|
|
2594
2594
|
api: this.$handle.api,
|
|
2595
2595
|
form: this.fc.create,
|
|
2596
|
-
subForm: (
|
|
2597
|
-
this.$handle.addSubForm(e,
|
|
2596
|
+
subForm: (n) => {
|
|
2597
|
+
this.$handle.addSubForm(e, n);
|
|
2598
2598
|
},
|
|
2599
2599
|
getSubForm: () => this.$handle.subForm[e.id],
|
|
2600
2600
|
slots: () => this.vm.top.$scopedSlots,
|
|
@@ -2606,20 +2606,22 @@ function ti(t) {
|
|
|
2606
2606
|
field: e.field,
|
|
2607
2607
|
rule: e.rule,
|
|
2608
2608
|
input: e.input,
|
|
2609
|
-
t: (...
|
|
2610
|
-
updateValue: (
|
|
2611
|
-
this.$handle.onUpdateValue(e,
|
|
2609
|
+
t: (...n) => this.$handle.api.t(...n),
|
|
2610
|
+
updateValue: (n) => {
|
|
2611
|
+
this.$handle.onUpdateValue(e, n);
|
|
2612
2612
|
}
|
|
2613
2613
|
});
|
|
2614
|
-
const i = r.ctxInject[e.id]
|
|
2615
|
-
return _(i, {
|
|
2614
|
+
const i = r.ctxInject[e.id], s = {
|
|
2616
2615
|
preview: e.prop.preview,
|
|
2617
2616
|
options: e.prop.options,
|
|
2618
2617
|
prop: function() {
|
|
2619
|
-
const
|
|
2620
|
-
return
|
|
2618
|
+
const n = v({}, e.prop);
|
|
2619
|
+
return n.on = n.on ? v({}, n.on) : {}, delete n.model, n;
|
|
2621
2620
|
}(),
|
|
2622
2621
|
children: e.loadChildrenPending()
|
|
2622
|
+
};
|
|
2623
|
+
return Object.keys(s).forEach((n) => {
|
|
2624
|
+
F(i, n, s[n]);
|
|
2623
2625
|
}), i;
|
|
2624
2626
|
},
|
|
2625
2627
|
ctxProp(e) {
|
|
@@ -2686,7 +2688,7 @@ function ti(t) {
|
|
|
2686
2688
|
},
|
|
2687
2689
|
renderChildren(e, r, i) {
|
|
2688
2690
|
if (!h.trueArray(e)) return [];
|
|
2689
|
-
const s =
|
|
2691
|
+
const s = Re();
|
|
2690
2692
|
return e.map((n) => {
|
|
2691
2693
|
if (n) {
|
|
2692
2694
|
if (h.String(n)) return s.setSlot(null, i ? this.renderRule({
|
|
@@ -2712,7 +2714,7 @@ function ti(t) {
|
|
|
2712
2714
|
},
|
|
2713
2715
|
createRuleVnode(e, r, i) {
|
|
2714
2716
|
this.force = i !== !1, this.tmpInput = r;
|
|
2715
|
-
const s =
|
|
2717
|
+
const s = Re();
|
|
2716
2718
|
return this.renderSlot(s, e, e.parent), this.force = !1, this.tmpInput = null, s.getSlots();
|
|
2717
2719
|
},
|
|
2718
2720
|
renderRule(e, r, i) {
|
|
@@ -2727,7 +2729,7 @@ function ti(t) {
|
|
|
2727
2729
|
a && (s = J(a));
|
|
2728
2730
|
}
|
|
2729
2731
|
if (!s) return;
|
|
2730
|
-
const n =
|
|
2732
|
+
const n = Re();
|
|
2731
2733
|
h.trueArray(e.children) && e.children.forEach((a) => {
|
|
2732
2734
|
a && n.setSlot(a == null ? void 0 : a.slot, () => this.renderRule(a));
|
|
2733
2735
|
});
|
|
@@ -3176,14 +3178,14 @@ function li(t) {
|
|
|
3176
3178
|
if (f)
|
|
3177
3179
|
f.originType !== f.rule.type && f.updateType(), this.bindParser(f), this.appendValue(f.rule), f.parent && f.parent !== r && this.rmSubRuleData(f);
|
|
3178
3180
|
else {
|
|
3179
|
-
const
|
|
3180
|
-
f = new Ht(this,
|
|
3181
|
+
const k = this.parseRule(o);
|
|
3182
|
+
f = new Ht(this, k, g), this.bindParser(f);
|
|
3181
3183
|
}
|
|
3182
|
-
[!1, !0].forEach((
|
|
3184
|
+
[!1, !0].forEach((k) => this.parseEmit(f, k)), this.syncProp(f), f.parent = r || null, f.root = e, this.setCtx(f), !p && !d && (this.effect(f, "load"), this.targetHook(f, "load")), this.effect(f, "created");
|
|
3183
3185
|
const y = f.loadChildrenPending();
|
|
3184
3186
|
if (f.parser.loadChildren === !1 || s(y, f), !r) {
|
|
3185
|
-
const
|
|
3186
|
-
|
|
3187
|
+
const k = i(a);
|
|
3188
|
+
k > -1 || !a ? this.sort.splice(k + 1, 0, f.id) : this.sort.push(f.id);
|
|
3187
3189
|
}
|
|
3188
3190
|
const C = f.rule;
|
|
3189
3191
|
return f.updated || (f.updated = !0, h.Function(C.update) && this.bus.$once("load-end", () => {
|
|
@@ -3200,7 +3202,7 @@ function li(t) {
|
|
|
3200
3202
|
if (!r.length) return !1;
|
|
3201
3203
|
for (let a = 0; a < r.length; a++) {
|
|
3202
3204
|
const l = r[a], u = l.handle || function(p) {
|
|
3203
|
-
return (
|
|
3205
|
+
return (ce[l.condition || "=="] || ce["=="])(p, l.value);
|
|
3204
3206
|
};
|
|
3205
3207
|
if (!h.trueArray(l.rule)) continue;
|
|
3206
3208
|
const f = q(v({}, l), {
|
|
@@ -3271,7 +3273,7 @@ function li(t) {
|
|
|
3271
3273
|
function ui(t) {
|
|
3272
3274
|
const e = Lt();
|
|
3273
3275
|
return Object.keys(e).forEach((r) => {
|
|
3274
|
-
j(t, r) ||
|
|
3276
|
+
j(t, r) || F(t, r, e[r]);
|
|
3275
3277
|
}), t;
|
|
3276
3278
|
}
|
|
3277
3279
|
function fi(t) {
|
|
@@ -3321,7 +3323,7 @@ function hi(t) {
|
|
|
3321
3323
|
setFormData(e, r) {
|
|
3322
3324
|
e.modelValue = r;
|
|
3323
3325
|
const i = e.getParentGroup();
|
|
3324
|
-
i && (this.subRuleData[i.id] ||
|
|
3326
|
+
i && (this.subRuleData[i.id] || F(this.subRuleData, i.id, {}), F(this.subRuleData[i.id], e.field, e.rule.value)), F(this.formData, e.id, r);
|
|
3325
3327
|
},
|
|
3326
3328
|
rmSubRuleData(e) {
|
|
3327
3329
|
const r = e.getParentGroup();
|
|
@@ -3686,7 +3688,7 @@ function pi(t) {
|
|
|
3686
3688
|
else if (!p.mode)
|
|
3687
3689
|
return !0;
|
|
3688
3690
|
let y = p.compare;
|
|
3689
|
-
if (y && (y = dt(y || "")), p.mode ? d = n(p) :
|
|
3691
|
+
if (y && (y = dt(y || "")), p.mode ? d = n(p) : ce[p.condition] ? h.Function(p.handler) ? d = O(() => p.handler(this.api, e.rule)) : d = O(() => new Function("$condition", "$val", "$form", "$scope", "$group", "$rule", `with($form){with($scope){with(this){with($group){ return $condition['${p.condition}'](${g}, ${y || "$val"}); }}}}`).call(this.api.form, ce, p.value, this.api.top.form, this.api.top === this.api.scope ? {} : this.api.scope.form, s ? this.subRuleData[s.id] || {} : {}, e.rule)) : d = !1, l && d)
|
|
3690
3692
|
return !0;
|
|
3691
3693
|
l || (u = u && d);
|
|
3692
3694
|
}
|
|
@@ -4097,7 +4099,7 @@ const wi = function(t) {
|
|
|
4097
4099
|
let g;
|
|
4098
4100
|
a.template ? g = t.$handle.loadStrVar(a.template, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null) : a.handler && h.Function(a.handler) ? g = a.handler(p, i, s) : g = t.$handle.loadStrVar(`{{${a.attr}}}`, p, d ? { rule: i, value: t.$handle.subRuleData[d.id] || {} } : null), (g == null || g === "") && a.default != null && (g = a.default), a.copy !== !1 && (g = K(g));
|
|
4099
4101
|
const y = a.modify ? i : r.getProp();
|
|
4100
|
-
a.to === "child" ? y.children ?
|
|
4102
|
+
a.to === "child" ? y.children ? F(y.children, 0, g) : F(y, "children", [g]) : oe(y, a.to || "options", g), s.sync(i);
|
|
4101
4103
|
}, u = (p) => l(p);
|
|
4102
4104
|
const f = t.watchLoadData(u);
|
|
4103
4105
|
l = se(l, a.wait || 300), a.watch !== !1 ? o.push(f) : f();
|
|
@@ -4127,7 +4129,7 @@ const wi = function(t) {
|
|
|
4127
4129
|
let f = (g) => {
|
|
4128
4130
|
let y = t.t(u ? l.attr : l, u ? l.params : null, g);
|
|
4129
4131
|
const C = u && l.modify ? i : r.getProp();
|
|
4130
|
-
a === "child" ? C.children ?
|
|
4132
|
+
a === "child" ? C.children ? F(C.children, 0, y) : F(C, "children", [y]) : oe(C, a, y), s.sync(i);
|
|
4131
4133
|
}, p = (g) => f(g);
|
|
4132
4134
|
const d = t.watchLoadData(p);
|
|
4133
4135
|
f = se(f, l.wait || 300), l.watch !== !1 ? o.push(d) : d();
|
|
@@ -4192,8 +4194,9 @@ const wi = function(t) {
|
|
|
4192
4194
|
if (d && a.watch === !1)
|
|
4193
4195
|
return i._fn[s.id]();
|
|
4194
4196
|
if (a.key) {
|
|
4197
|
+
t.targetRule = n;
|
|
4195
4198
|
const C = p("$globalData." + a.key);
|
|
4196
|
-
if (C) {
|
|
4199
|
+
if (delete t.targetRule, C) {
|
|
4197
4200
|
if (f()) return;
|
|
4198
4201
|
l(C);
|
|
4199
4202
|
}
|
|
@@ -4202,14 +4205,14 @@ const wi = function(t) {
|
|
|
4202
4205
|
const g = t.$handle.loadFetchVar(K(a), p, n), y = q(v({
|
|
4203
4206
|
headers: {}
|
|
4204
4207
|
}, g), {
|
|
4205
|
-
onSuccess(C,
|
|
4208
|
+
onSuccess(C, k) {
|
|
4206
4209
|
if (f()) return;
|
|
4207
|
-
let G = (N) =>
|
|
4210
|
+
let G = (N) => k ? N : j(N, "data") ? N.data : N;
|
|
4208
4211
|
const V = z(g.parse);
|
|
4209
4212
|
h.Function(V) ? G = V : V && h.String(V) && (G = (N) => B(N, V)), l(G(C, n, o));
|
|
4210
4213
|
},
|
|
4211
4214
|
onError(C) {
|
|
4212
|
-
l(void 0), !f() && (u || ((
|
|
4215
|
+
l(void 0), !f() && (u || ((k) => et(k.message || "fetch fail " + g.action)))(C, n, o);
|
|
4213
4216
|
}
|
|
4214
4217
|
});
|
|
4215
4218
|
t.$handle.beforeFetch(y, { rule: n, api: o }).then(() => {
|
|
@@ -4270,8 +4273,8 @@ function Ei(t) {
|
|
|
4270
4273
|
};
|
|
4271
4274
|
return e;
|
|
4272
4275
|
}
|
|
4273
|
-
const
|
|
4274
|
-
name:
|
|
4276
|
+
const Ri = "html", Si = {
|
|
4277
|
+
name: Ri,
|
|
4275
4278
|
loadChildren: !1,
|
|
4276
4279
|
render(t, e) {
|
|
4277
4280
|
return e.prop.domProps || (e.prop.domProps = {}), e.prop.domProps.innerHTML = t, e.vNode.make(e.prop.props.tag || "div", e.prop);
|
|
@@ -4407,7 +4410,7 @@ function Ni(t, e) {
|
|
|
4407
4410
|
}
|
|
4408
4411
|
function Mi(t) {
|
|
4409
4412
|
const e = t.key || [], r = t.array || [], i = t.normal || [];
|
|
4410
|
-
|
|
4413
|
+
St.push(...e), Qe.push(...r), Ye.push(...i), Nt([...e, ...r, ...i]);
|
|
4411
4414
|
}
|
|
4412
4415
|
let qi = 1;
|
|
4413
4416
|
const U = {}, vt = Symbol("defValue");
|
|
@@ -4420,7 +4423,7 @@ function Kt(t) {
|
|
|
4420
4423
|
let p = { global: {} };
|
|
4421
4424
|
const d = t.isMobile === !0, g = ne({
|
|
4422
4425
|
$mobile: d
|
|
4423
|
-
}), y = _i(), C = {},
|
|
4426
|
+
}), y = _i(), C = {}, k = {};
|
|
4424
4427
|
Mi(t.attrs || {});
|
|
4425
4428
|
function G(c) {
|
|
4426
4429
|
const m = U[c];
|
|
@@ -4436,7 +4439,7 @@ function Kt(t) {
|
|
|
4436
4439
|
const c = Ne(...arguments);
|
|
4437
4440
|
c.id && c.prop && (i[c.id] = c.prop);
|
|
4438
4441
|
}
|
|
4439
|
-
function
|
|
4442
|
+
function de() {
|
|
4440
4443
|
const c = Ne(...arguments);
|
|
4441
4444
|
c.id && c.prop && (u[c.id] = h.Function(c.prop) ? c.prop : q(v({}, c.prop), {
|
|
4442
4445
|
name: c.id
|
|
@@ -4445,30 +4448,30 @@ function Kt(t) {
|
|
|
4445
4448
|
function Ie(c) {
|
|
4446
4449
|
y.use(c);
|
|
4447
4450
|
}
|
|
4448
|
-
function
|
|
4451
|
+
function pe() {
|
|
4449
4452
|
const c = Ne(...arguments);
|
|
4450
4453
|
if (!c.id || !c.prop) return De;
|
|
4451
4454
|
const m = J(c.id), $ = c.prop, b = $.merge === !0 ? r[m] : void 0;
|
|
4452
|
-
r[m] =
|
|
4455
|
+
r[m] = Se($, b || De), f[m] = T(m), $.maker && _(f, $.maker);
|
|
4453
4456
|
}
|
|
4454
4457
|
function E(c, m) {
|
|
4455
4458
|
let $;
|
|
4456
4459
|
if (h.String(c)) {
|
|
4457
4460
|
if ($ = c, m === void 0)
|
|
4458
|
-
return ["form-create", "formcreate"].indexOf($) > -1 ?
|
|
4461
|
+
return ["form-create", "formcreate"].indexOf($) > -1 ? R() : e[$];
|
|
4459
4462
|
} else
|
|
4460
4463
|
$ = J(c.name), m = c;
|
|
4461
4464
|
if (!$ || !m) return;
|
|
4462
4465
|
const b = J($);
|
|
4463
|
-
e[$] = m, e[b] = m, delete y.aliasMap[$], delete y.aliasMap[b], delete r[$], delete r[b], m.formCreateParser &&
|
|
4466
|
+
e[$] = m, e[b] = m, delete y.aliasMap[$], delete y.aliasMap[b], delete r[$], delete r[b], m.formCreateParser && pe($, m.formCreateParser);
|
|
4464
4467
|
}
|
|
4465
|
-
function
|
|
4468
|
+
function R() {
|
|
4466
4469
|
return zr(Te, e, i);
|
|
4467
4470
|
}
|
|
4468
4471
|
function M() {
|
|
4469
4472
|
return Le;
|
|
4470
4473
|
}
|
|
4471
|
-
function
|
|
4474
|
+
function me(c, m) {
|
|
4472
4475
|
return h.Function(c.install) ? c.install(W, m) : h.Function(c) && c(W, m), this;
|
|
4473
4476
|
}
|
|
4474
4477
|
function W(c, m, $) {
|
|
@@ -4476,7 +4479,7 @@ function Kt(t) {
|
|
|
4476
4479
|
const w = b.$refs.fc.formCreate;
|
|
4477
4480
|
return w.$parent = $, Li(w.options).appendChild(b.$el), w.api();
|
|
4478
4481
|
}
|
|
4479
|
-
|
|
4482
|
+
Se(W, k);
|
|
4480
4483
|
function xt(c) {
|
|
4481
4484
|
let m = v({}, t);
|
|
4482
4485
|
return c ? m.inherit = {
|
|
@@ -4500,7 +4503,7 @@ function Kt(t) {
|
|
|
4500
4503
|
function Zt(c, m) {
|
|
4501
4504
|
const $ = n[c] || {}, b = $.parsers || {};
|
|
4502
4505
|
m.parsers && Object.keys(m.parsers).forEach((w) => {
|
|
4503
|
-
b[w] =
|
|
4506
|
+
b[w] = Se(m.parsers[w], De);
|
|
4504
4507
|
}), m.name = c, n[c] = q(v(v({}, $), m), { parsers: b });
|
|
4505
4508
|
}
|
|
4506
4509
|
function Fe(c) {
|
|
@@ -4521,7 +4524,7 @@ function Kt(t) {
|
|
|
4521
4524
|
const $ = (c || "").split(".");
|
|
4522
4525
|
c = $.shift();
|
|
4523
4526
|
const b = $.join(".");
|
|
4524
|
-
if (j(g, c) ||
|
|
4527
|
+
if (j(g, c) || F(g, c, vt), g[c] !== vt) {
|
|
4525
4528
|
let w = g[c];
|
|
4526
4529
|
return w && w._driver ? w = w(b) : $.length && (w = B(w, $)), w == null || w === "" ? m : w;
|
|
4527
4530
|
} else
|
|
@@ -4606,7 +4609,7 @@ function Kt(t) {
|
|
|
4606
4609
|
D.loading = !1, this.fetchCache.set(b, D);
|
|
4607
4610
|
} else
|
|
4608
4611
|
this.fetchCache.set(b, { status: !1 });
|
|
4609
|
-
const
|
|
4612
|
+
const S = se(() => {
|
|
4610
4613
|
te();
|
|
4611
4614
|
const x = this.fetchCache.get(b);
|
|
4612
4615
|
this.options.value.globalData && Object.values(this.options.value.globalData).indexOf(b) !== -1 ? (x && (x.loading = !0, this.fetchCache.set(b, x)), this.bus.$emit("$loadData.$globalData." + $)) : this.fetchCache.delete(b);
|
|
@@ -4616,11 +4619,11 @@ function Kt(t) {
|
|
|
4616
4619
|
if (le && b.watch === !1)
|
|
4617
4620
|
return te();
|
|
4618
4621
|
if (le) {
|
|
4619
|
-
|
|
4622
|
+
S();
|
|
4620
4623
|
return;
|
|
4621
4624
|
}
|
|
4622
|
-
const
|
|
4623
|
-
this.$handle.api.fetch(
|
|
4625
|
+
const ue = this.$handle.loadFetchVar(Je(b), x);
|
|
4626
|
+
ue.targetRule = this.targetRule, this.$handle.api.fetch(ue).then((re) => {
|
|
4624
4627
|
ve(re);
|
|
4625
4628
|
}).catch((re) => {
|
|
4626
4629
|
ve(null);
|
|
@@ -4648,7 +4651,7 @@ function Kt(t) {
|
|
|
4648
4651
|
if (b) {
|
|
4649
4652
|
const w = h.Function(b) ? b : z(b.handle);
|
|
4650
4653
|
if (w) {
|
|
4651
|
-
let D = w((...
|
|
4654
|
+
let D = w((...S) => this.$handle.api.getData(...S), this.$handle.api);
|
|
4652
4655
|
return B(D, m);
|
|
4653
4656
|
}
|
|
4654
4657
|
}
|
|
@@ -4690,32 +4693,32 @@ function Kt(t) {
|
|
|
4690
4693
|
},
|
|
4691
4694
|
watchLoadData(c, m) {
|
|
4692
4695
|
let $ = {};
|
|
4693
|
-
const b = (
|
|
4696
|
+
const b = (S) => {
|
|
4694
4697
|
this.get || (this.get = w), O(() => {
|
|
4695
|
-
c(w,
|
|
4698
|
+
c(w, S);
|
|
4696
4699
|
}), this.get === w && (this.get = void 0);
|
|
4697
|
-
}, w = (
|
|
4700
|
+
}, w = (S, ve) => {
|
|
4698
4701
|
let ae;
|
|
4699
|
-
if (typeof
|
|
4700
|
-
return $[
|
|
4701
|
-
const te = ye(() => ae ? ae() : this.getLoadData(
|
|
4702
|
-
const
|
|
4703
|
-
if ($[
|
|
4704
|
-
((
|
|
4702
|
+
if (typeof S == "object" && (ae = S.getValue, S = S.id), $[S])
|
|
4703
|
+
return $[S].val;
|
|
4704
|
+
const te = ye(() => ae ? ae() : this.getLoadData(S, ve)), x = S.split("."), le = x.shift(), ue = x.shift() || "", re = se(() => {
|
|
4705
|
+
const fe = ae ? ae() : this.getLoadData(S, ve);
|
|
4706
|
+
if ($[S])
|
|
4707
|
+
((fe instanceof Function || h.Object(fe) || Array.isArray(fe)) && fe === $[S].val || JSON.stringify(fe) !== JSON.stringify($[S].val)) && ($[S].val = fe, b(!0));
|
|
4705
4708
|
else return;
|
|
4706
|
-
}, m || 0), rr = L(te, (
|
|
4709
|
+
}, m || 0), rr = L(te, (fe) => {
|
|
4707
4710
|
re();
|
|
4708
4711
|
});
|
|
4709
|
-
return this.bus.$on("$loadData." + le, re),
|
|
4712
|
+
return this.bus.$on("$loadData." + le, re), ue && this.bus.$on("$loadData." + le + "." + ue, re), $[S] = {
|
|
4710
4713
|
fn: () => {
|
|
4711
|
-
this.bus.$off("$loadData." + le, re),
|
|
4714
|
+
this.bus.$off("$loadData." + le, re), ue && this.bus.$off("$loadData." + le + "." + ue, re), rr();
|
|
4712
4715
|
},
|
|
4713
4716
|
val: te.value
|
|
4714
4717
|
}, te.value;
|
|
4715
4718
|
};
|
|
4716
4719
|
b(!1);
|
|
4717
4720
|
const D = () => {
|
|
4718
|
-
Object.keys($).forEach((
|
|
4721
|
+
Object.keys($).forEach((S) => $[S].fn()), $ = {};
|
|
4719
4722
|
};
|
|
4720
4723
|
return this.unwatch.push(D), D;
|
|
4721
4724
|
},
|
|
@@ -4785,17 +4788,17 @@ function Kt(t) {
|
|
|
4785
4788
|
setModelField: zt,
|
|
4786
4789
|
setFormula: Xt,
|
|
4787
4790
|
setDriver: Zt,
|
|
4788
|
-
register:
|
|
4791
|
+
register: de,
|
|
4789
4792
|
$vnode: M,
|
|
4790
|
-
parser:
|
|
4791
|
-
use:
|
|
4793
|
+
parser: pe,
|
|
4794
|
+
use: me,
|
|
4792
4795
|
factory: xt,
|
|
4793
4796
|
componentAlias: Ie,
|
|
4794
4797
|
copyRule: It,
|
|
4795
4798
|
copyRules: Pt,
|
|
4796
4799
|
mergeRule: ee,
|
|
4797
4800
|
fetch: qt,
|
|
4798
|
-
$form:
|
|
4801
|
+
$form: R,
|
|
4799
4802
|
parseFn: z,
|
|
4800
4803
|
parseJson: Vt,
|
|
4801
4804
|
toJson: we,
|
|
@@ -4810,32 +4813,32 @@ function Kt(t) {
|
|
|
4810
4813
|
install(m, $) {
|
|
4811
4814
|
if (p = v(v({}, p), $ || {}), m._installedFormCreate === !0) return;
|
|
4812
4815
|
m._installedFormCreate = !0;
|
|
4813
|
-
const b = function(D,
|
|
4814
|
-
return W(D,
|
|
4816
|
+
const b = function(D, S = {}) {
|
|
4817
|
+
return W(D, S, this);
|
|
4815
4818
|
};
|
|
4816
4819
|
st(b), m.prototype.$formCreate = b;
|
|
4817
|
-
const w =
|
|
4820
|
+
const w = R();
|
|
4818
4821
|
m.component(w.name, w), m.component("FcFragment", M()), o.forEach((D) => {
|
|
4819
4822
|
O(() => D(c, m));
|
|
4820
4823
|
});
|
|
4821
4824
|
}
|
|
4822
4825
|
});
|
|
4823
4826
|
}
|
|
4824
|
-
if (st(
|
|
4827
|
+
if (st(k), tr(k), ke("$cookie", Vi), ke("$localStorage", Ii), ke("$sessionStorage", Pi), y.use({ fragment: "fcFragment" }), t.install && W.use(t), pe(Si), t.inherit) {
|
|
4825
4828
|
const c = t.inherit;
|
|
4826
4829
|
c.components && _(e, c.components), c.parsers && _(r, c.parsers), c.directives && _(i, c.directives), c.modelFields && _(s, c.modelFields), c.providers && _(u, c.providers), c.useApps && _(o, c.useApps), c.maker && _(f, c.maker), c.loadData && _(g, c.loadData), c.formulas && _(C, c.formulas);
|
|
4827
4830
|
}
|
|
4828
|
-
const Ee =
|
|
4829
|
-
return
|
|
4831
|
+
const Ee = R();
|
|
4832
|
+
return Se(Ee, k), Object.defineProperties(Ee, {
|
|
4830
4833
|
fetch: {
|
|
4831
4834
|
get() {
|
|
4832
|
-
return
|
|
4835
|
+
return k.fetch;
|
|
4833
4836
|
},
|
|
4834
4837
|
set(c) {
|
|
4835
|
-
|
|
4838
|
+
k.fetch = c;
|
|
4836
4839
|
}
|
|
4837
4840
|
}
|
|
4838
|
-
}), Ee.util =
|
|
4841
|
+
}), Ee.util = k, Ee;
|
|
4839
4842
|
}
|
|
4840
4843
|
const _t = {
|
|
4841
4844
|
date: "yyyy-MM-dd",
|
|
@@ -5095,15 +5098,15 @@ const tn = {
|
|
|
5095
5098
|
options: this.options
|
|
5096
5099
|
}) : ((g = (d = r.refRule) == null ? void 0 : d.__$title) == null ? void 0 : g.value) + (o.labelSuffix || o["label-suffix"] || "")];
|
|
5097
5100
|
if (!Z(s.show) && (s.info || s.native) && !Z(s.icon)) {
|
|
5098
|
-
const
|
|
5101
|
+
const k = {
|
|
5099
5102
|
type: s.type || "popover",
|
|
5100
5103
|
slot: "label",
|
|
5101
5104
|
props: He(s),
|
|
5102
5105
|
key: `${e}pop`
|
|
5103
5106
|
};
|
|
5104
|
-
delete
|
|
5107
|
+
delete k.props.icon, delete k.props.show, delete k.props.info, delete k.props.align, delete k.props.native;
|
|
5105
5108
|
const G = "content";
|
|
5106
|
-
s.info && !j(
|
|
5109
|
+
s.info && !j(k.props, G) && (k.props[G] = (C = (y = r.refRule) == null ? void 0 : y.__$info) == null ? void 0 : C.value), l[s.align !== "left" ? "unshift" : "push"](this.$r(Y([s, k]), [
|
|
5107
5110
|
this.$r({
|
|
5108
5111
|
type: "i",
|
|
5109
5112
|
slot: n ? "default" : "reference",
|
|
@@ -5188,12 +5191,12 @@ const tn = {
|
|
|
5188
5191
|
key: `${this.key}b1`
|
|
5189
5192
|
}, [e]);
|
|
5190
5193
|
}
|
|
5191
|
-
},
|
|
5192
|
-
rn(
|
|
5193
|
-
nn(
|
|
5194
|
-
sn(
|
|
5195
|
-
on(
|
|
5196
|
-
an(
|
|
5194
|
+
}, he = {};
|
|
5195
|
+
rn(he);
|
|
5196
|
+
nn(he);
|
|
5197
|
+
sn(he);
|
|
5198
|
+
on(he);
|
|
5199
|
+
an(he);
|
|
5197
5200
|
function rn(t) {
|
|
5198
5201
|
["group", "tree", "switch", "upload", "autoComplete", "checkbox", "cascader", "colorPicker", "datePicker", "frame", "inputNumber", "radio", "rate"].forEach((e) => {
|
|
5199
5202
|
t[e] = T(e);
|
|
@@ -5364,14 +5367,14 @@ function fn(t) {
|
|
|
5364
5367
|
t.component(e.name, e);
|
|
5365
5368
|
}), t.register(Wt), Xi.forEach((e) => {
|
|
5366
5369
|
t.parser(e);
|
|
5367
|
-
}), Object.keys(
|
|
5368
|
-
t.maker[e] =
|
|
5370
|
+
}), Object.keys(he).forEach((e) => {
|
|
5371
|
+
t.maker[e] = he[e];
|
|
5369
5372
|
});
|
|
5370
5373
|
}
|
|
5371
5374
|
function cn() {
|
|
5372
5375
|
return Kt({
|
|
5373
5376
|
ui: "element-ui",
|
|
5374
|
-
version: "2.7.
|
|
5377
|
+
version: "2.7.16",
|
|
5375
5378
|
manager: tn,
|
|
5376
5379
|
extendApi: ln,
|
|
5377
5380
|
install: fn,
|