@harbor-design/proform 1.4.19 → 1.4.20
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/index.js
CHANGED
|
@@ -17,9 +17,9 @@ var ft = Object.prototype, ct = ft.toString;
|
|
|
17
17
|
function dt(r) {
|
|
18
18
|
return ct.call(r);
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var pt = "[object Null]", ht = "[object Undefined]", Ue = V ? V.toStringTag : void 0;
|
|
21
21
|
function De(r) {
|
|
22
|
-
return r == null ? r === void 0 ?
|
|
22
|
+
return r == null ? r === void 0 ? ht : pt : Ue && Ue in Object(r) ? ut(r) : dt(r);
|
|
23
23
|
}
|
|
24
24
|
function mt(r) {
|
|
25
25
|
return r != null && typeof r == "object";
|
|
@@ -48,12 +48,12 @@ function W(r) {
|
|
|
48
48
|
var e = typeof r;
|
|
49
49
|
return r != null && (e == "object" || e == "function");
|
|
50
50
|
}
|
|
51
|
-
var yt = "[object AsyncFunction]",
|
|
51
|
+
var yt = "[object AsyncFunction]", Pt = "[object Function]", _t = "[object GeneratorFunction]", It = "[object Proxy]";
|
|
52
52
|
function G(r) {
|
|
53
53
|
if (!W(r))
|
|
54
54
|
return !1;
|
|
55
55
|
var e = De(r);
|
|
56
|
-
return e ==
|
|
56
|
+
return e == Pt || e == _t || e == yt || e == It;
|
|
57
57
|
}
|
|
58
58
|
var Q = re["__core-js_shared__"], ze = function() {
|
|
59
59
|
var r = /[^.]+$/.exec(Q && Q.keys && Q.keys.IE_PROTO || "");
|
|
@@ -76,8 +76,8 @@ function Et(r) {
|
|
|
76
76
|
}
|
|
77
77
|
return "";
|
|
78
78
|
}
|
|
79
|
-
var Ot = /[\\^$.*+?()[\]{}|]/g, wt = /^\[object .+?Constructor\]$/, jt = Function.prototype, xt = Object.prototype,
|
|
80
|
-
"^" +
|
|
79
|
+
var Ot = /[\\^$.*+?()[\]{}|]/g, wt = /^\[object .+?Constructor\]$/, jt = Function.prototype, xt = Object.prototype, $t = jt.toString, Rt = xt.hasOwnProperty, Mt = RegExp(
|
|
80
|
+
"^" + $t.call(Rt).replace(Ot, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
81
81
|
);
|
|
82
82
|
function Vt(r) {
|
|
83
83
|
if (!W(r) || Ct(r))
|
|
@@ -221,11 +221,11 @@ function Y(r, e) {
|
|
|
221
221
|
var t = r.__data__;
|
|
222
222
|
return dr(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function pr(r) {
|
|
225
225
|
var e = Y(this, r).delete(r);
|
|
226
226
|
return this.size -= e ? 1 : 0, e;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function hr(r) {
|
|
229
229
|
return Y(this, r).get(r);
|
|
230
230
|
}
|
|
231
231
|
function mr(r) {
|
|
@@ -243,8 +243,8 @@ function x(r) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
x.prototype.clear = cr;
|
|
246
|
-
x.prototype.delete =
|
|
247
|
-
x.prototype.get =
|
|
246
|
+
x.prototype.delete = pr;
|
|
247
|
+
x.prototype.get = hr;
|
|
248
248
|
x.prototype.has = mr;
|
|
249
249
|
x.prototype.set = gr;
|
|
250
250
|
var vr = "Expected a function";
|
|
@@ -268,10 +268,10 @@ function yr(r) {
|
|
|
268
268
|
}), t = e.cache;
|
|
269
269
|
return e;
|
|
270
270
|
}
|
|
271
|
-
var
|
|
271
|
+
var Pr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, _r = /\\(\\)?/g, Ir = yr(function(r) {
|
|
272
272
|
var e = [];
|
|
273
|
-
return r.charCodeAt(0) === 46 && e.push(""), r.replace(
|
|
274
|
-
e.push(s ? n.replace(
|
|
273
|
+
return r.charCodeAt(0) === 46 && e.push(""), r.replace(Pr, function(t, i, s, n) {
|
|
274
|
+
e.push(s ? n.replace(_r, "$1") : i || t);
|
|
275
275
|
}), e;
|
|
276
276
|
});
|
|
277
277
|
function Cr(r) {
|
|
@@ -306,14 +306,14 @@ function Er(r, e, t, i) {
|
|
|
306
306
|
if (f === "__proto__" || f === "constructor" || f === "prototype")
|
|
307
307
|
return r;
|
|
308
308
|
if (s != a) {
|
|
309
|
-
var
|
|
310
|
-
c = i ? i(
|
|
309
|
+
var p = u[f];
|
|
310
|
+
c = i ? i(p, f, u) : void 0, c === void 0 && (c = W(p) ? p : Tt(e[s + 1]) ? [] : {});
|
|
311
311
|
}
|
|
312
312
|
Dt(u, f, c), u = u[f];
|
|
313
313
|
}
|
|
314
314
|
return r;
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function P(r, e, t) {
|
|
317
317
|
return r == null ? r : Er(r, e, t);
|
|
318
318
|
}
|
|
319
319
|
class o {
|
|
@@ -496,10 +496,10 @@ class Or {
|
|
|
496
496
|
S(() => {
|
|
497
497
|
Object.keys(e).forEach((t) => {
|
|
498
498
|
z(e[t]) ? K(() => {
|
|
499
|
-
|
|
499
|
+
P(this.runtimeCore.shared, t, e[t].value), this.shareHistory.get(t) !== e[t].value && (this.shareHistory.set(t, e[t].value), this.runtimeCore.processor.schemaEffect.triggerEffects());
|
|
500
500
|
}) : L(e[t]) ? K(() => {
|
|
501
|
-
|
|
502
|
-
}) : (
|
|
501
|
+
P(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects());
|
|
502
|
+
}) : (P(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects()));
|
|
503
503
|
});
|
|
504
504
|
});
|
|
505
505
|
}
|
|
@@ -639,12 +639,12 @@ class wr {
|
|
|
639
639
|
}).fill(!1);
|
|
640
640
|
this.objectParser({ data: e, index: t, updater: a, parentMeta: i });
|
|
641
641
|
function a(u) {
|
|
642
|
-
const f = u.index, c = u.key,
|
|
642
|
+
const f = u.index, c = u.key, p = u.keyIndex;
|
|
643
643
|
if (o.isUndefined(u.stable) || o.isNull(u.stable))
|
|
644
644
|
return;
|
|
645
|
-
const
|
|
646
|
-
let g =
|
|
647
|
-
if (o.isProcessInprogress(g) || (n[
|
|
645
|
+
const h = s.parseStable(u.stable), y = i == null ? void 0 : i.index, w = i == null ? void 0 : i.key;
|
|
646
|
+
let g = h;
|
|
647
|
+
if (o.isProcessInprogress(g) || (n[p] = !0), i) {
|
|
648
648
|
const b = s.processedSchemas.value[y][w][f][c];
|
|
649
649
|
b && o.isObject(b) && c !== "component" && (g = v(b, g)), s.processedSchemas.value[y][w][f][c] = g, s.stableUpdater(
|
|
650
650
|
n,
|
|
@@ -709,17 +709,17 @@ class wr {
|
|
|
709
709
|
() => {
|
|
710
710
|
/\{\s*model\s*\}/.test(t[s].toString()) ? this.fieldParser(
|
|
711
711
|
t[s],
|
|
712
|
-
(
|
|
713
|
-
if (!
|
|
714
|
-
return f(
|
|
715
|
-
this.defaultValueInprogressMap.set(t[s],
|
|
712
|
+
(p) => {
|
|
713
|
+
if (!p)
|
|
714
|
+
return f(p);
|
|
715
|
+
this.defaultValueInprogressMap.set(t[s], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
|
|
716
716
|
this.defaultValueInprogressMap.values()
|
|
717
|
-
).every((
|
|
717
|
+
).every((h) => {
|
|
718
718
|
var y;
|
|
719
|
-
return !((y =
|
|
720
|
-
}) ? (f(
|
|
719
|
+
return !((y = h == null ? void 0 : h.includes) != null && y.call(h, "undefined"));
|
|
720
|
+
}) ? (f(p), this.defaultValueEffect.clearEffects(), S(() => {
|
|
721
721
|
c();
|
|
722
|
-
})) : f(
|
|
722
|
+
})) : f(p);
|
|
723
723
|
},
|
|
724
724
|
{
|
|
725
725
|
rootIndex: e.index,
|
|
@@ -727,15 +727,15 @@ class wr {
|
|
|
727
727
|
}
|
|
728
728
|
) : this.fieldParser(
|
|
729
729
|
t[s],
|
|
730
|
-
(
|
|
731
|
-
this.defaultValueInprogressMap.set(t[s],
|
|
730
|
+
(p) => {
|
|
731
|
+
this.defaultValueInprogressMap.set(t[s], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
|
|
732
732
|
this.defaultValueInprogressMap.values()
|
|
733
|
-
).every((
|
|
733
|
+
).every((h) => {
|
|
734
734
|
var y;
|
|
735
|
-
return !((y =
|
|
736
|
-
}) ? (f(
|
|
735
|
+
return !((y = h == null ? void 0 : h.includes) != null && y.call(h, "undefined"));
|
|
736
|
+
}) ? (f(p), this.defaultValueEffect.clearEffects(), S(() => {
|
|
737
737
|
c();
|
|
738
|
-
})) : f(
|
|
738
|
+
})) : f(p);
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
741
|
rootIndex: e.index,
|
|
@@ -839,7 +839,7 @@ class wr {
|
|
|
839
839
|
});
|
|
840
840
|
}
|
|
841
841
|
setModel(e, t, i) {
|
|
842
|
-
o.isFunction(t) ?
|
|
842
|
+
o.isFunction(t) ? P(e, t(), i) : v(e, {
|
|
843
843
|
[t]: i
|
|
844
844
|
});
|
|
845
845
|
}
|
|
@@ -861,7 +861,7 @@ class wr {
|
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
class
|
|
864
|
+
class $ {
|
|
865
865
|
static getFormContainer({ ui: e } = {}) {
|
|
866
866
|
return d.presets.uiPresets[e ?? d.presets.ui].container.Form;
|
|
867
867
|
}
|
|
@@ -918,7 +918,7 @@ class jr {
|
|
|
918
918
|
function xr(r) {
|
|
919
919
|
return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !it(r);
|
|
920
920
|
}
|
|
921
|
-
class
|
|
921
|
+
class $r {
|
|
922
922
|
constructor(e) {
|
|
923
923
|
l(this, "schemas", D([]));
|
|
924
924
|
l(this, "model", D({}));
|
|
@@ -944,9 +944,10 @@ class Rr {
|
|
|
944
944
|
}));
|
|
945
945
|
l(this, "shared", J({}));
|
|
946
946
|
l(this, "shareHistory", /* @__PURE__ */ new Map());
|
|
947
|
+
l(this, "specialFormIdPrefix", "");
|
|
947
948
|
this.setup = e, this.processor = new wr(this);
|
|
948
949
|
const t = this.setup(this);
|
|
949
|
-
this.ui = t.ui ?? d.presets.ui, this.runtimeAdapter = new jr(this.ui), Object.assign(this.globalNativeFormOverride, this.runtimeAdapter.getRuntimeNative()), z(t.schemas) ? O(
|
|
950
|
+
this.ui = t.ui ?? d.presets.ui, this.runtimeAdapter = new jr(this.ui), this.specialFormIdPrefix = t.specialFormIdPrefix ?? "", Object.assign(this.globalNativeFormOverride, this.runtimeAdapter.getRuntimeNative()), z(t.schemas) ? O(
|
|
950
951
|
// @ts-expect-error
|
|
951
952
|
() => t.schemas.value,
|
|
952
953
|
() => {
|
|
@@ -971,63 +972,64 @@ class Rr {
|
|
|
971
972
|
S(() => {
|
|
972
973
|
Object.keys(t).forEach((i) => {
|
|
973
974
|
z(t[i]) ? K(() => {
|
|
974
|
-
|
|
975
|
+
P(this.shared, i, t[i].value), this.shareHistory.get(i) !== t[i].value && (this.shareHistory.set(i, t[i].value), this.processor.schemaEffect.triggerEffects());
|
|
975
976
|
}) : L(t[i]) ? K(() => {
|
|
976
|
-
|
|
977
|
-
}) : (
|
|
977
|
+
P(this.shared, i, t[i]), this.shareHistory.get(i) !== t[i] && (this.shareHistory.set(i, t[i]), this.processor.schemaEffect.triggerEffects());
|
|
978
|
+
}) : (P(this.shared, i, t[i]), this.shareHistory.get(i) !== t[i] && (this.shareHistory.set(i, t[i]), this.processor.schemaEffect.triggerEffects()));
|
|
978
979
|
});
|
|
979
980
|
});
|
|
980
981
|
}
|
|
981
982
|
};
|
|
982
983
|
}
|
|
983
984
|
runtimeItemProcessor(e, t, i = this.model.value, s) {
|
|
984
|
-
var le, ue, fe, ce, de,
|
|
985
|
+
var le, ue, fe, ce, de, pe, he, me, ge, ve, be, ye, Pe, _e, Ie, Ce, Se, Fe, Ee, Oe, we, je, xe, $e, Re, Me;
|
|
985
986
|
const n = M(e.component);
|
|
986
987
|
if (!n)
|
|
987
988
|
return;
|
|
988
|
-
(ue = (le = e.native) == null ? void 0 : le.props) != null && ue.Form && v(this.globalNativeFormOverride.props.Form, (ce = (fe = e.native) == null ? void 0 : fe.props) == null ? void 0 : ce.Form), (
|
|
989
|
+
(ue = (le = e.native) == null ? void 0 : le.props) != null && ue.Form && v(this.globalNativeFormOverride.props.Form, (ce = (fe = e.native) == null ? void 0 : fe.props) == null ? void 0 : ce.Form), (pe = (de = e.native) == null ? void 0 : de.slots) != null && pe.FormItem && v(this.globalNativeFormOverride.slots.FormItem, (me = (he = e.native) == null ? void 0 : he.slots) == null ? void 0 : me.FormItem);
|
|
989
990
|
const a = v(I((ve = (ge = this.native) == null ? void 0 : ge.slots) == null ? void 0 : ve.FormItem) ?? {}, (ye = (be = e.native) == null ? void 0 : be.slots) == null ? void 0 : ye.FormItem), u = {
|
|
990
991
|
display: "grid",
|
|
991
992
|
gridColumn: "1 / -1",
|
|
992
993
|
...e.grid
|
|
993
994
|
};
|
|
994
995
|
let f = {
|
|
995
|
-
...(
|
|
996
|
+
...(_e = (Pe = e.native) == null ? void 0 : Pe.props) == null ? void 0 : _e.FormItem
|
|
996
997
|
};
|
|
997
998
|
G((Se = (Ce = (Ie = e.native) == null ? void 0 : Ie.props) == null ? void 0 : Ce.FormItem) == null ? void 0 : Se.tooltip) && (f = {
|
|
998
999
|
...(Ee = (Fe = e.native) == null ? void 0 : Fe.props) == null ? void 0 : Ee.FormItem,
|
|
999
1000
|
tooltip: (je = (we = (Oe = e.native) == null ? void 0 : Oe.props) == null ? void 0 : we.FormItem) == null ? void 0 : je.tooltip()
|
|
1000
1001
|
});
|
|
1001
|
-
const c = v(I((
|
|
1002
|
+
const c = v(I(($e = (xe = this.native) == null ? void 0 : xe.props) == null ? void 0 : $e.FormItem) ?? {}, f), p = this.runtimeAdapter.getRuntimeField({
|
|
1002
1003
|
schema: e,
|
|
1003
1004
|
parentSchema: s,
|
|
1004
1005
|
index: t
|
|
1005
|
-
}),
|
|
1006
|
+
}), h = n.name, y = e.componentProps ?? {}, w = C.placeholderPresetByComponentName;
|
|
1006
1007
|
let g = G(e.placeholder) ? e.placeholder() : e.placeholder, b = e.show;
|
|
1007
1008
|
b === void 0 && (b = !0);
|
|
1008
1009
|
let F = (G(e.label) ? e.label() : e.label) ?? "", E;
|
|
1009
|
-
if (e.runtime ? E = e.runtime : E = (s == null ? void 0 : s.runtime) ?? this.runtime, !o.isUndefined(t) && !o.isObjectEmpty(E) && (F = k((
|
|
1010
|
+
if (e.runtime ? E = e.runtime : E = (s == null ? void 0 : s.runtime) ?? this.runtime, !o.isUndefined(t) && !o.isObjectEmpty(E) && (F = k((Re = E == null ? void 0 : E.customizeListItemLabel) == null ? void 0 : Re.call(E, e.label ?? "", t + 1), "")), !g) {
|
|
1010
1011
|
let U = "请输入";
|
|
1011
|
-
o.isUndefined(
|
|
1012
|
-
w[
|
|
1013
|
-
|
|
1012
|
+
o.isUndefined(h) ? g = `${U}${F}` : /* @ts-expect-error */ w[h.toLowerCase()] ? (U = // @ts-expect-error
|
|
1013
|
+
w[h.toLowerCase()], g = `${U}${F}`) : (Object.keys(w).forEach((Ve) => {
|
|
1014
|
+
h.toLowerCase().includes(Ve.toLowerCase()) && (U = w[Ve]);
|
|
1014
1015
|
}), g = `${U}${F}`);
|
|
1015
1016
|
}
|
|
1016
1017
|
const Xe = this.runtimeAdapter.getRuntimeRequired({
|
|
1017
1018
|
...e,
|
|
1018
1019
|
label: F
|
|
1019
|
-
}), Ye =
|
|
1020
|
+
}), Ye = $.getItemContainer(this), Ze = $.getFormItemContainer(this), Je = this, Qe = e.componentSlots, _ = (Me = d.presets.uiPresets[this.ui]) == null ? void 0 : Me.display;
|
|
1020
1021
|
let Z;
|
|
1021
|
-
return !o.isUndefined(
|
|
1022
|
+
return !o.isUndefined(_ == null ? void 0 : _.labelPrefix) && !o.isNull(_ == null ? void 0 : _.labelPrefix) ? Z = `${F}${_ == null ? void 0 : _.labelPrefix}` : Z = `${F}:`, m("div", {
|
|
1022
1023
|
style: u
|
|
1023
1024
|
}, [m(Ye, {
|
|
1024
1025
|
show: b,
|
|
1025
|
-
schema: e
|
|
1026
|
+
schema: e,
|
|
1027
|
+
id: t ? `${this.specialFormIdPrefix}${e.field}-${t}` : `${this.specialFormIdPrefix}${e.field}`
|
|
1026
1028
|
}, {
|
|
1027
1029
|
default() {
|
|
1028
1030
|
return b && m(Ze, T(c, {
|
|
1029
1031
|
label: `${F ? Z : ""}`
|
|
1030
|
-
},
|
|
1032
|
+
}, p, Xe), {
|
|
1031
1033
|
default() {
|
|
1032
1034
|
return Je.runtimeAdapter.formComponentRenderer({
|
|
1033
1035
|
Component: n,
|
|
@@ -1049,7 +1051,7 @@ class Rr {
|
|
|
1049
1051
|
display: "grid",
|
|
1050
1052
|
gridColumn: "1 / -1",
|
|
1051
1053
|
...e.grid
|
|
1052
|
-
}, s =
|
|
1054
|
+
}, s = $.getGroupContainer(this);
|
|
1053
1055
|
let n = e.show;
|
|
1054
1056
|
return n === void 0 && (n = !0), m("div", {
|
|
1055
1057
|
style: i
|
|
@@ -1075,7 +1077,7 @@ class Rr {
|
|
|
1075
1077
|
i.model.value[e.field] || (i.model.value[e.field] = [{}]);
|
|
1076
1078
|
let s = e.show;
|
|
1077
1079
|
s === void 0 && (s = !0);
|
|
1078
|
-
const n =
|
|
1080
|
+
const n = $.getListContainer(this), a = $.getListItemContainer(this);
|
|
1079
1081
|
return m("div", {
|
|
1080
1082
|
style: t
|
|
1081
1083
|
}, [s && m(n, {
|
|
@@ -1089,11 +1091,11 @@ class Rr {
|
|
|
1089
1091
|
delete({
|
|
1090
1092
|
container: c
|
|
1091
1093
|
} = {}) {
|
|
1092
|
-
var
|
|
1093
|
-
const
|
|
1094
|
-
return et(m(
|
|
1094
|
+
var h;
|
|
1095
|
+
const p = c ?? m("button", null, null);
|
|
1096
|
+
return et(m(p, {
|
|
1095
1097
|
onClick: () => i.deleteListItem(e, f)
|
|
1096
|
-
}, null), [[tt, ((
|
|
1098
|
+
}, null), [[tt, ((h = i.model.value[e.field]) == null ? void 0 : h.length) > 1]]);
|
|
1097
1099
|
}
|
|
1098
1100
|
}));
|
|
1099
1101
|
},
|
|
@@ -1111,13 +1113,13 @@ class Rr {
|
|
|
1111
1113
|
return e.map((t) => (t.type || (t.type = "item"), this.processorBySchemaType[t.type](t)));
|
|
1112
1114
|
}
|
|
1113
1115
|
exec() {
|
|
1114
|
-
var u, f, c,
|
|
1116
|
+
var u, f, c, p;
|
|
1115
1117
|
const e = {
|
|
1116
1118
|
display: "grid",
|
|
1117
1119
|
gridColumn: "1 / -1",
|
|
1118
1120
|
gridAutoColumns: "1fr",
|
|
1119
1121
|
...this.grid
|
|
1120
|
-
}, t = this, i = v(this.globalNativeFormOverride.props.Form, I((f = (u = this.native) == null ? void 0 : u.props) == null ? void 0 : f.Form) ?? {}), s = v(this.globalNativeFormOverride.slots.Form, I((
|
|
1122
|
+
}, t = this, i = v(this.globalNativeFormOverride.props.Form, I((f = (u = this.native) == null ? void 0 : u.props) == null ? void 0 : f.Form) ?? {}), s = v(this.globalNativeFormOverride.slots.Form, I((p = (c = this.native) == null ? void 0 : c.slots) == null ? void 0 : p.Form) ?? {}), n = $.getFormContainer(this), a = this.runtimeAdapter.getFormModelPropName();
|
|
1121
1123
|
return m(n, T(i, {
|
|
1122
1124
|
ref: this.formRef
|
|
1123
1125
|
}, {
|
|
@@ -1150,7 +1152,7 @@ function A({
|
|
|
1150
1152
|
}) {
|
|
1151
1153
|
return r ? `${r.field}.${t}.${e.field}` : e.field;
|
|
1152
1154
|
}
|
|
1153
|
-
const
|
|
1155
|
+
const Rr = {
|
|
1154
1156
|
ArcoVue: {
|
|
1155
1157
|
getRuntimeField(r) {
|
|
1156
1158
|
const e = A(r);
|
|
@@ -1194,7 +1196,7 @@ const $r = {
|
|
|
1194
1196
|
return o.isFunction(t.field) ? a = B(e, t.field()) : a = e[t.field], m(r, T({
|
|
1195
1197
|
modelValue: a,
|
|
1196
1198
|
"onUpdate:modelValue": (u) => {
|
|
1197
|
-
o.isFunction(t.field) ?
|
|
1199
|
+
o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
|
|
1198
1200
|
},
|
|
1199
1201
|
placeholder: i
|
|
1200
1202
|
}, n), {
|
|
@@ -1255,7 +1257,7 @@ const $r = {
|
|
|
1255
1257
|
return o.isFunction(t.field) ? a = B(e, t.field()) : a = e[t.field], m(r, T({
|
|
1256
1258
|
modelValue: a,
|
|
1257
1259
|
"onUpdate:modelValue": (u) => {
|
|
1258
|
-
o.isFunction(t.field) ?
|
|
1260
|
+
o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
|
|
1259
1261
|
},
|
|
1260
1262
|
placeholder: i
|
|
1261
1263
|
}, n), {
|
|
@@ -1322,7 +1324,7 @@ const $r = {
|
|
|
1322
1324
|
return o.isFunction(t.field) ? a = B(e, t.field()) : a = e[t.field], m(r, T({
|
|
1323
1325
|
value: a,
|
|
1324
1326
|
"onUpdate:value": (u) => {
|
|
1325
|
-
o.isFunction(t.field) ?
|
|
1327
|
+
o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
|
|
1326
1328
|
},
|
|
1327
1329
|
placeholder: i
|
|
1328
1330
|
}, n), {
|
|
@@ -1339,7 +1341,7 @@ const $r = {
|
|
|
1339
1341
|
(t = (e = r.formRef.value) == null ? void 0 : e.restoreValidation) == null || t.call(e);
|
|
1340
1342
|
}
|
|
1341
1343
|
}
|
|
1342
|
-
},
|
|
1344
|
+
}, R = class R {
|
|
1343
1345
|
static getPlaceholderPrefixPresetByComponentName() {
|
|
1344
1346
|
const e = {
|
|
1345
1347
|
请选择: ["select", "tree"],
|
|
@@ -1352,7 +1354,7 @@ const $r = {
|
|
|
1352
1354
|
return t;
|
|
1353
1355
|
}
|
|
1354
1356
|
};
|
|
1355
|
-
l(
|
|
1357
|
+
l(R, "schemaPreset", {
|
|
1356
1358
|
type: {
|
|
1357
1359
|
defaultValue: "item"
|
|
1358
1360
|
},
|
|
@@ -1398,17 +1400,17 @@ l($, "schemaPreset", {
|
|
|
1398
1400
|
runtime: {
|
|
1399
1401
|
default: void 0
|
|
1400
1402
|
}
|
|
1401
|
-
}), l(
|
|
1403
|
+
}), l(R, "componentPropsPreset", {
|
|
1402
1404
|
options: {
|
|
1403
1405
|
defaultValue: []
|
|
1404
1406
|
}
|
|
1405
1407
|
}), // 基于基本功能提出基本预设
|
|
1406
|
-
l(
|
|
1407
|
-
let te =
|
|
1408
|
+
l(R, "placeholderPresetByComponentName", R.getPlaceholderPrefixPresetByComponentName());
|
|
1409
|
+
let te = R;
|
|
1408
1410
|
const C = {
|
|
1409
1411
|
...te,
|
|
1410
1412
|
adapters: {
|
|
1411
|
-
|
|
1413
|
+
...Rr
|
|
1412
1414
|
}
|
|
1413
1415
|
}, Nr = /* @__PURE__ */ st({
|
|
1414
1416
|
props: {
|
|
@@ -1418,7 +1420,7 @@ const C = {
|
|
|
1418
1420
|
}
|
|
1419
1421
|
},
|
|
1420
1422
|
setup(r) {
|
|
1421
|
-
const e = new
|
|
1423
|
+
const e = new $r(r.setup);
|
|
1422
1424
|
return () => e.exec();
|
|
1423
1425
|
}
|
|
1424
1426
|
});
|
package/package.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
2
|
+
"name": "@harbor-design/proform",
|
|
3
|
+
"version": "1.4.20",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
|
+
"peerDependencies": {
|
|
10
|
+
"vue": "^3.3.4"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist/"
|
|
22
|
+
],
|
|
23
|
+
"author": "yiwwhl<yiwwhl@qq.com>",
|
|
24
|
+
"repository": "yiwwhl/harbor-design",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"form",
|
|
27
|
+
"dynamic form"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"lodash-es": "^4.17.21"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/lodash-es": "^4.17.12",
|
|
35
|
+
"nodemon": "^3.1.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "vue-tsc && vite build",
|
|
39
|
+
"dev:watch": "nodemon -e .ts,.tsx --ignore dist --exec 'vite build'"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,829 +0,0 @@
|
|
|
1
|
-
# @harbor-design/proform
|
|
2
|
-
|
|
3
|
-
## 1.4.19
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- set to defunct
|
|
8
|
-
|
|
9
|
-
## 1.4.18
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- release
|
|
14
|
-
|
|
15
|
-
## 1.4.17
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- update tooltip
|
|
20
|
-
|
|
21
|
-
## 1.4.16
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- update proform
|
|
26
|
-
|
|
27
|
-
## 1.4.15
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- fix some bugs
|
|
32
|
-
|
|
33
|
-
## 1.4.14
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- update label process
|
|
38
|
-
|
|
39
|
-
## 1.4.13
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- add reactiveModel on SubscribeUtils
|
|
44
|
-
|
|
45
|
-
## 1.4.12
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- fix bug of hydrate
|
|
50
|
-
|
|
51
|
-
## 1.4.11
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- fix validate error
|
|
56
|
-
|
|
57
|
-
## 1.4.10
|
|
58
|
-
|
|
59
|
-
### Patch Changes
|
|
60
|
-
|
|
61
|
-
- fix deepAssign logic
|
|
62
|
-
|
|
63
|
-
## 1.4.9
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- fix bug of defaultValue retrive
|
|
68
|
-
|
|
69
|
-
## 1.4.8
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
72
|
-
|
|
73
|
-
- ensure RegExp work great
|
|
74
|
-
|
|
75
|
-
## 1.4.7
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- fix new Date error
|
|
80
|
-
|
|
81
|
-
## 1.4.6
|
|
82
|
-
|
|
83
|
-
### Patch Changes
|
|
84
|
-
|
|
85
|
-
- fix stable value logic
|
|
86
|
-
|
|
87
|
-
## 1.4.5
|
|
88
|
-
|
|
89
|
-
### Patch Changes
|
|
90
|
-
|
|
91
|
-
- update display control
|
|
92
|
-
|
|
93
|
-
## 1.4.4
|
|
94
|
-
|
|
95
|
-
### Patch Changes
|
|
96
|
-
|
|
97
|
-
- fix default value calc error
|
|
98
|
-
|
|
99
|
-
## 1.4.3
|
|
100
|
-
|
|
101
|
-
### Patch Changes
|
|
102
|
-
|
|
103
|
-
- fix maximum call stack size exceeded error
|
|
104
|
-
|
|
105
|
-
## 1.4.2
|
|
106
|
-
|
|
107
|
-
### Patch Changes
|
|
108
|
-
|
|
109
|
-
- improve required message logic
|
|
110
|
-
|
|
111
|
-
## 1.4.1
|
|
112
|
-
|
|
113
|
-
### Patch Changes
|
|
114
|
-
|
|
115
|
-
- fix bug of native rules required error
|
|
116
|
-
|
|
117
|
-
## 1.4.0
|
|
118
|
-
|
|
119
|
-
### Minor Changes
|
|
120
|
-
|
|
121
|
-
- update share logic and default value logic
|
|
122
|
-
|
|
123
|
-
## 1.3.34
|
|
124
|
-
|
|
125
|
-
### Patch Changes
|
|
126
|
-
|
|
127
|
-
- fix bug
|
|
128
|
-
|
|
129
|
-
## 1.3.33
|
|
130
|
-
|
|
131
|
-
### Patch Changes
|
|
132
|
-
|
|
133
|
-
- fix bug
|
|
134
|
-
|
|
135
|
-
## 1.3.32
|
|
136
|
-
|
|
137
|
-
### Patch Changes
|
|
138
|
-
|
|
139
|
-
- fix bug
|
|
140
|
-
|
|
141
|
-
## 1.3.31
|
|
142
|
-
|
|
143
|
-
### Patch Changes
|
|
144
|
-
|
|
145
|
-
- fix bug
|
|
146
|
-
|
|
147
|
-
## 1.3.30
|
|
148
|
-
|
|
149
|
-
### Patch Changes
|
|
150
|
-
|
|
151
|
-
- fix bug
|
|
152
|
-
|
|
153
|
-
## 1.3.29
|
|
154
|
-
|
|
155
|
-
### Patch Changes
|
|
156
|
-
|
|
157
|
-
- fix bug
|
|
158
|
-
|
|
159
|
-
## 1.3.28
|
|
160
|
-
|
|
161
|
-
### Patch Changes
|
|
162
|
-
|
|
163
|
-
- fix bug
|
|
164
|
-
|
|
165
|
-
## 1.3.27
|
|
166
|
-
|
|
167
|
-
### Patch Changes
|
|
168
|
-
|
|
169
|
-
- fix bug
|
|
170
|
-
|
|
171
|
-
## 1.3.26
|
|
172
|
-
|
|
173
|
-
### Patch Changes
|
|
174
|
-
|
|
175
|
-
- fix bug
|
|
176
|
-
|
|
177
|
-
## 1.3.25
|
|
178
|
-
|
|
179
|
-
### Patch Changes
|
|
180
|
-
|
|
181
|
-
- fix bug
|
|
182
|
-
|
|
183
|
-
## 1.3.24
|
|
184
|
-
|
|
185
|
-
### Patch Changes
|
|
186
|
-
|
|
187
|
-
- fix bug
|
|
188
|
-
|
|
189
|
-
## 1.3.23
|
|
190
|
-
|
|
191
|
-
### Patch Changes
|
|
192
|
-
|
|
193
|
-
- fix bug
|
|
194
|
-
|
|
195
|
-
## 1.3.22
|
|
196
|
-
|
|
197
|
-
### Patch Changes
|
|
198
|
-
|
|
199
|
-
- fix bug
|
|
200
|
-
|
|
201
|
-
## 1.3.21
|
|
202
|
-
|
|
203
|
-
### Patch Changes
|
|
204
|
-
|
|
205
|
-
- fix bug
|
|
206
|
-
|
|
207
|
-
## 1.3.20
|
|
208
|
-
|
|
209
|
-
### Patch Changes
|
|
210
|
-
|
|
211
|
-
- fix bug
|
|
212
|
-
|
|
213
|
-
## 1.3.19
|
|
214
|
-
|
|
215
|
-
### Patch Changes
|
|
216
|
-
|
|
217
|
-
- fix bug
|
|
218
|
-
|
|
219
|
-
## 1.3.18
|
|
220
|
-
|
|
221
|
-
### Patch Changes
|
|
222
|
-
|
|
223
|
-
- fix bug
|
|
224
|
-
|
|
225
|
-
## 1.3.17
|
|
226
|
-
|
|
227
|
-
### Patch Changes
|
|
228
|
-
|
|
229
|
-
- fix bug
|
|
230
|
-
|
|
231
|
-
## 1.3.16
|
|
232
|
-
|
|
233
|
-
### Patch Changes
|
|
234
|
-
|
|
235
|
-
- fix bug
|
|
236
|
-
|
|
237
|
-
## 1.3.15
|
|
238
|
-
|
|
239
|
-
### Patch Changes
|
|
240
|
-
|
|
241
|
-
- fix bug
|
|
242
|
-
|
|
243
|
-
## 1.3.14
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- fix bug
|
|
248
|
-
|
|
249
|
-
## 1.3.13
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- fix bug
|
|
254
|
-
|
|
255
|
-
## 1.3.12
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- fix bug
|
|
260
|
-
|
|
261
|
-
## 1.3.11
|
|
262
|
-
|
|
263
|
-
### Patch Changes
|
|
264
|
-
|
|
265
|
-
- fix bug
|
|
266
|
-
|
|
267
|
-
## 1.3.10
|
|
268
|
-
|
|
269
|
-
### Patch Changes
|
|
270
|
-
|
|
271
|
-
- fix bug
|
|
272
|
-
|
|
273
|
-
## 1.3.1
|
|
274
|
-
|
|
275
|
-
### Patch Changes
|
|
276
|
-
|
|
277
|
-
- improve type
|
|
278
|
-
|
|
279
|
-
## 1.3.0
|
|
280
|
-
|
|
281
|
-
### Minor Changes
|
|
282
|
-
|
|
283
|
-
- improve performance
|
|
284
|
-
|
|
285
|
-
## 1.2.30
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- fix bug
|
|
290
|
-
|
|
291
|
-
## 1.2.29
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- improve logic
|
|
296
|
-
|
|
297
|
-
## 1.2.28
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
- fix clearValidate error
|
|
302
|
-
|
|
303
|
-
## 1.2.27
|
|
304
|
-
|
|
305
|
-
### Patch Changes
|
|
306
|
-
|
|
307
|
-
- add markOnetimeFunction
|
|
308
|
-
|
|
309
|
-
## 1.2.26
|
|
310
|
-
|
|
311
|
-
### Patch Changes
|
|
312
|
-
|
|
313
|
-
- improve pack size
|
|
314
|
-
|
|
315
|
-
## 1.2.25
|
|
316
|
-
|
|
317
|
-
### Patch Changes
|
|
318
|
-
|
|
319
|
-
- add markStructuredPathParsing
|
|
320
|
-
|
|
321
|
-
## 1.2.24
|
|
322
|
-
|
|
323
|
-
### Patch Changes
|
|
324
|
-
|
|
325
|
-
- fix error case
|
|
326
|
-
|
|
327
|
-
## 1.2.23
|
|
328
|
-
|
|
329
|
-
### Patch Changes
|
|
330
|
-
|
|
331
|
-
- store cacheable async result
|
|
332
|
-
|
|
333
|
-
## 1.2.22
|
|
334
|
-
|
|
335
|
-
### Patch Changes
|
|
336
|
-
|
|
337
|
-
- fix runtime logic
|
|
338
|
-
|
|
339
|
-
## 1.2.21
|
|
340
|
-
|
|
341
|
-
### Patch Changes
|
|
342
|
-
|
|
343
|
-
- clearValidate when resetModel
|
|
344
|
-
|
|
345
|
-
## 1.2.20
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- update share logic
|
|
350
|
-
|
|
351
|
-
## 1.2.19
|
|
352
|
-
|
|
353
|
-
### Patch Changes
|
|
354
|
-
|
|
355
|
-
- update resetModel and subscribeModel logic
|
|
356
|
-
|
|
357
|
-
## 1.2.18
|
|
358
|
-
|
|
359
|
-
### Patch Changes
|
|
360
|
-
|
|
361
|
-
- fix form props merge logic
|
|
362
|
-
|
|
363
|
-
## 1.2.17
|
|
364
|
-
|
|
365
|
-
### Patch Changes
|
|
366
|
-
|
|
367
|
-
- update resetModel
|
|
368
|
-
|
|
369
|
-
## 1.2.16
|
|
370
|
-
|
|
371
|
-
### Patch Changes
|
|
372
|
-
|
|
373
|
-
- update resetModel
|
|
374
|
-
|
|
375
|
-
## 1.2.15
|
|
376
|
-
|
|
377
|
-
### Patch Changes
|
|
378
|
-
|
|
379
|
-
- add resetModel
|
|
380
|
-
|
|
381
|
-
## 1.2.14
|
|
382
|
-
|
|
383
|
-
### Patch Changes
|
|
384
|
-
|
|
385
|
-
- add subscribeModel
|
|
386
|
-
|
|
387
|
-
## 1.2.13
|
|
388
|
-
|
|
389
|
-
### Patch Changes
|
|
390
|
-
|
|
391
|
-
- update version
|
|
392
|
-
|
|
393
|
-
## 1.2.12
|
|
394
|
-
|
|
395
|
-
### Patch Changes
|
|
396
|
-
|
|
397
|
-
- remove setReactiveModel and getReactiveModel
|
|
398
|
-
|
|
399
|
-
## 1.2.11
|
|
400
|
-
|
|
401
|
-
### Patch Changes
|
|
402
|
-
|
|
403
|
-
- update rules calc logic from push to unshift
|
|
404
|
-
|
|
405
|
-
## 1.2.10
|
|
406
|
-
|
|
407
|
-
### Patch Changes
|
|
408
|
-
|
|
409
|
-
- resolve the conflict when both 'rules' and 'required' exist simultaneously
|
|
410
|
-
|
|
411
|
-
## 1.2.9
|
|
412
|
-
|
|
413
|
-
### Patch Changes
|
|
414
|
-
|
|
415
|
-
- refactor from runtimeMeta to RuntimeMeta
|
|
416
|
-
|
|
417
|
-
## 1.2.8
|
|
418
|
-
|
|
419
|
-
### Patch Changes
|
|
420
|
-
|
|
421
|
-
- fix bug of default native
|
|
422
|
-
|
|
423
|
-
## 1.2.7
|
|
424
|
-
|
|
425
|
-
### Patch Changes
|
|
426
|
-
|
|
427
|
-
- fix bug of global native config
|
|
428
|
-
|
|
429
|
-
## 1.2.6
|
|
430
|
-
|
|
431
|
-
### Patch Changes
|
|
432
|
-
|
|
433
|
-
- fix native logic
|
|
434
|
-
|
|
435
|
-
## 1.2.5
|
|
436
|
-
|
|
437
|
-
### Patch Changes
|
|
438
|
-
|
|
439
|
-
- improve show processing logic
|
|
440
|
-
|
|
441
|
-
## 1.2.4
|
|
442
|
-
|
|
443
|
-
### Patch Changes
|
|
444
|
-
|
|
445
|
-
- add debounce to share
|
|
446
|
-
|
|
447
|
-
## 1.2.3
|
|
448
|
-
|
|
449
|
-
### Patch Changes
|
|
450
|
-
|
|
451
|
-
- add extend to uiPresets
|
|
452
|
-
|
|
453
|
-
## 1.2.2
|
|
454
|
-
|
|
455
|
-
### Patch Changes
|
|
456
|
-
|
|
457
|
-
- refactor variable from customizeItemLabel to customizeListItemLabel
|
|
458
|
-
|
|
459
|
-
## 1.2.1
|
|
460
|
-
|
|
461
|
-
### Patch Changes
|
|
462
|
-
|
|
463
|
-
- fix bug of hydrateEffect
|
|
464
|
-
|
|
465
|
-
## 1.2.0
|
|
466
|
-
|
|
467
|
-
### Minor Changes
|
|
468
|
-
|
|
469
|
-
- global native support
|
|
470
|
-
|
|
471
|
-
## 1.1.39
|
|
472
|
-
|
|
473
|
-
### Patch Changes
|
|
474
|
-
|
|
475
|
-
- skip calc to componentProps
|
|
476
|
-
|
|
477
|
-
## 1.1.38
|
|
478
|
-
|
|
479
|
-
### Patch Changes
|
|
480
|
-
|
|
481
|
-
- fix bug of defaultValue
|
|
482
|
-
|
|
483
|
-
## 1.1.37
|
|
484
|
-
|
|
485
|
-
### Patch Changes
|
|
486
|
-
|
|
487
|
-
- try to not stop watch on schema
|
|
488
|
-
|
|
489
|
-
## 1.1.36
|
|
490
|
-
|
|
491
|
-
### Patch Changes
|
|
492
|
-
|
|
493
|
-
- fix bug of ref watch
|
|
494
|
-
|
|
495
|
-
## 1.1.35
|
|
496
|
-
|
|
497
|
-
### Patch Changes
|
|
498
|
-
|
|
499
|
-
- add share to runtimeMeta
|
|
500
|
-
|
|
501
|
-
## 1.1.34
|
|
502
|
-
|
|
503
|
-
### Patch Changes
|
|
504
|
-
|
|
505
|
-
- make shared reactive
|
|
506
|
-
|
|
507
|
-
## 1.1.33
|
|
508
|
-
|
|
509
|
-
### Patch Changes
|
|
510
|
-
|
|
511
|
-
- stop share watch
|
|
512
|
-
|
|
513
|
-
## 1.1.32
|
|
514
|
-
|
|
515
|
-
### Patch Changes
|
|
516
|
-
|
|
517
|
-
- proform share
|
|
518
|
-
|
|
519
|
-
## 1.1.31
|
|
520
|
-
|
|
521
|
-
### Patch Changes
|
|
522
|
-
|
|
523
|
-
- update markNativeObject
|
|
524
|
-
|
|
525
|
-
## 1.1.30
|
|
526
|
-
|
|
527
|
-
### Patch Changes
|
|
528
|
-
|
|
529
|
-
- update show logic
|
|
530
|
-
|
|
531
|
-
## 1.1.29
|
|
532
|
-
|
|
533
|
-
### Patch Changes
|
|
534
|
-
|
|
535
|
-
- add show property to List and Group
|
|
536
|
-
|
|
537
|
-
## 1.1.28
|
|
538
|
-
|
|
539
|
-
### Patch Changes
|
|
540
|
-
|
|
541
|
-
- fix bug of FormItem display
|
|
542
|
-
|
|
543
|
-
## 1.1.27
|
|
544
|
-
|
|
545
|
-
### Patch Changes
|
|
546
|
-
|
|
547
|
-
- add metadata to Item Wrapper
|
|
548
|
-
|
|
549
|
-
## 1.1.26
|
|
550
|
-
|
|
551
|
-
### Patch Changes
|
|
552
|
-
|
|
553
|
-
- improve show logic
|
|
554
|
-
|
|
555
|
-
## 1.1.25
|
|
556
|
-
|
|
557
|
-
### Patch Changes
|
|
558
|
-
|
|
559
|
-
- improve schema type
|
|
560
|
-
|
|
561
|
-
## 1.1.24
|
|
562
|
-
|
|
563
|
-
### Patch Changes
|
|
564
|
-
|
|
565
|
-
- fix bug of componentProps calc
|
|
566
|
-
|
|
567
|
-
## 1.1.23
|
|
568
|
-
|
|
569
|
-
### Patch Changes
|
|
570
|
-
|
|
571
|
-
- label support empty string
|
|
572
|
-
|
|
573
|
-
## 1.1.22
|
|
574
|
-
|
|
575
|
-
### Patch Changes
|
|
576
|
-
|
|
577
|
-
- proform support simple componentSlots
|
|
578
|
-
|
|
579
|
-
## 1.1.21
|
|
580
|
-
|
|
581
|
-
### Patch Changes
|
|
582
|
-
|
|
583
|
-
- proform support markNativeFunction
|
|
584
|
-
|
|
585
|
-
## 1.1.20
|
|
586
|
-
|
|
587
|
-
### Patch Changes
|
|
588
|
-
|
|
589
|
-
- fix bug of useModifiers function result
|
|
590
|
-
|
|
591
|
-
## 1.1.19
|
|
592
|
-
|
|
593
|
-
### Patch Changes
|
|
594
|
-
|
|
595
|
-
- fix wrong type update
|
|
596
|
-
|
|
597
|
-
## 1.1.18
|
|
598
|
-
|
|
599
|
-
### Patch Changes
|
|
600
|
-
|
|
601
|
-
- proform support reactiveModel type
|
|
602
|
-
|
|
603
|
-
## 1.1.17
|
|
604
|
-
|
|
605
|
-
### Patch Changes
|
|
606
|
-
|
|
607
|
-
- proform support expose reactive model
|
|
608
|
-
|
|
609
|
-
## 1.1.16
|
|
610
|
-
|
|
611
|
-
### Patch Changes
|
|
612
|
-
|
|
613
|
-
- fix the issue of abnormal effects caused by defaultValue
|
|
614
|
-
|
|
615
|
-
## 1.1.15
|
|
616
|
-
|
|
617
|
-
### Patch Changes
|
|
618
|
-
|
|
619
|
-
- export types
|
|
620
|
-
|
|
621
|
-
## 1.1.14
|
|
622
|
-
|
|
623
|
-
### Patch Changes
|
|
624
|
-
|
|
625
|
-
- proform support base document
|
|
626
|
-
|
|
627
|
-
## 1.1.13
|
|
628
|
-
|
|
629
|
-
### Patch Changes
|
|
630
|
-
|
|
631
|
-
- label can optional now
|
|
632
|
-
|
|
633
|
-
## 1.1.12
|
|
634
|
-
|
|
635
|
-
### Patch Changes
|
|
636
|
-
|
|
637
|
-
- ProForm support NaiveUI
|
|
638
|
-
|
|
639
|
-
## 1.1.11
|
|
640
|
-
|
|
641
|
-
### Patch Changes
|
|
642
|
-
|
|
643
|
-
- ProForm support ArcoVue and NutUI
|
|
644
|
-
|
|
645
|
-
## 1.1.10
|
|
646
|
-
|
|
647
|
-
### Patch Changes
|
|
648
|
-
|
|
649
|
-
- update ProForm
|
|
650
|
-
|
|
651
|
-
## 1.1.9
|
|
652
|
-
|
|
653
|
-
### Patch Changes
|
|
654
|
-
|
|
655
|
-
- ProForm can set prefix more friendly
|
|
656
|
-
|
|
657
|
-
## 1.1.8
|
|
658
|
-
|
|
659
|
-
### Patch Changes
|
|
660
|
-
|
|
661
|
-
- ProForm support async schemas
|
|
662
|
-
|
|
663
|
-
## 1.1.7
|
|
664
|
-
|
|
665
|
-
### Patch Changes
|
|
666
|
-
|
|
667
|
-
- \_\_proform_raw support runtimeMetas and rawArgs
|
|
668
|
-
|
|
669
|
-
## 1.1.6
|
|
670
|
-
|
|
671
|
-
### Patch Changes
|
|
672
|
-
|
|
673
|
-
- fix bug of promised string
|
|
674
|
-
|
|
675
|
-
## 1.1.5
|
|
676
|
-
|
|
677
|
-
### Patch Changes
|
|
678
|
-
|
|
679
|
-
- fix bug of required
|
|
680
|
-
|
|
681
|
-
## 1.1.4
|
|
682
|
-
|
|
683
|
-
### Patch Changes
|
|
684
|
-
|
|
685
|
-
- fix the bug of component assign
|
|
686
|
-
|
|
687
|
-
## 1.1.3
|
|
688
|
-
|
|
689
|
-
### Patch Changes
|
|
690
|
-
|
|
691
|
-
- update stackblitz link
|
|
692
|
-
|
|
693
|
-
## 1.1.2
|
|
694
|
-
|
|
695
|
-
### Patch Changes
|
|
696
|
-
|
|
697
|
-
- fix bug of validate label name error
|
|
698
|
-
|
|
699
|
-
## 1.1.1
|
|
700
|
-
|
|
701
|
-
### Patch Changes
|
|
702
|
-
|
|
703
|
-
- fix runtimeSetters error
|
|
704
|
-
|
|
705
|
-
## 1.1.0
|
|
706
|
-
|
|
707
|
-
### Minor Changes
|
|
708
|
-
|
|
709
|
-
- move native from customize to useForm
|
|
710
|
-
|
|
711
|
-
## 1.0.20
|
|
712
|
-
|
|
713
|
-
### Patch Changes
|
|
714
|
-
|
|
715
|
-
- proform support runtimeSetters
|
|
716
|
-
|
|
717
|
-
## 1.0.19
|
|
718
|
-
|
|
719
|
-
### Patch Changes
|
|
720
|
-
|
|
721
|
-
- proform support gridProps
|
|
722
|
-
|
|
723
|
-
## 1.0.18
|
|
724
|
-
|
|
725
|
-
### Patch Changes
|
|
726
|
-
|
|
727
|
-
- ProForm now support setting native props and slots
|
|
728
|
-
|
|
729
|
-
## 1.0.17
|
|
730
|
-
|
|
731
|
-
### Patch Changes
|
|
732
|
-
|
|
733
|
-
- add README
|
|
734
|
-
|
|
735
|
-
## 1.0.16
|
|
736
|
-
|
|
737
|
-
### Patch Changes
|
|
738
|
-
|
|
739
|
-
- fix bug of stopTrack
|
|
740
|
-
|
|
741
|
-
## 1.0.15
|
|
742
|
-
|
|
743
|
-
### Patch Changes
|
|
744
|
-
|
|
745
|
-
- replace undefined in string when effect is functional
|
|
746
|
-
|
|
747
|
-
## 1.0.14
|
|
748
|
-
|
|
749
|
-
### Patch Changes
|
|
750
|
-
|
|
751
|
-
- change validstate reset logic
|
|
752
|
-
|
|
753
|
-
## 1.0.13
|
|
754
|
-
|
|
755
|
-
### Patch Changes
|
|
756
|
-
|
|
757
|
-
- support useModifiers hook
|
|
758
|
-
|
|
759
|
-
## 1.0.12
|
|
760
|
-
|
|
761
|
-
### Patch Changes
|
|
762
|
-
|
|
763
|
-
- fix maxiumn call stack error
|
|
764
|
-
|
|
765
|
-
## 1.0.11
|
|
766
|
-
|
|
767
|
-
### Patch Changes
|
|
768
|
-
|
|
769
|
-
- ProForm support hydrate
|
|
770
|
-
|
|
771
|
-
## 1.0.10
|
|
772
|
-
|
|
773
|
-
### Patch Changes
|
|
774
|
-
|
|
775
|
-
- improve ProForm validation
|
|
776
|
-
|
|
777
|
-
## 1.0.9
|
|
778
|
-
|
|
779
|
-
### Patch Changes
|
|
780
|
-
|
|
781
|
-
- fix bugs
|
|
782
|
-
|
|
783
|
-
## 1.0.8
|
|
784
|
-
|
|
785
|
-
### Patch Changes
|
|
786
|
-
|
|
787
|
-
- fix the glitch of defaultValue calculation
|
|
788
|
-
|
|
789
|
-
## 1.0.7
|
|
790
|
-
|
|
791
|
-
### Patch Changes
|
|
792
|
-
|
|
793
|
-
- huge update! rewrite the core processing function
|
|
794
|
-
|
|
795
|
-
## 1.0.6
|
|
796
|
-
|
|
797
|
-
### Patch Changes
|
|
798
|
-
|
|
799
|
-
- support required and default placeholder
|
|
800
|
-
|
|
801
|
-
## 1.0.5
|
|
802
|
-
|
|
803
|
-
### Patch Changes
|
|
804
|
-
|
|
805
|
-
- update pack sourcecode
|
|
806
|
-
|
|
807
|
-
## 1.0.4
|
|
808
|
-
|
|
809
|
-
### Patch Changes
|
|
810
|
-
|
|
811
|
-
- remove console
|
|
812
|
-
|
|
813
|
-
## 1.0.3
|
|
814
|
-
|
|
815
|
-
### Patch Changes
|
|
816
|
-
|
|
817
|
-
- fix error dist bug
|
|
818
|
-
|
|
819
|
-
## 1.0.2
|
|
820
|
-
|
|
821
|
-
### Patch Changes
|
|
822
|
-
|
|
823
|
-
- fix bugs of list item add error
|
|
824
|
-
|
|
825
|
-
## 1.0.1
|
|
826
|
-
|
|
827
|
-
### Patch Changes
|
|
828
|
-
|
|
829
|
-
- ProForm Release 1.0.1
|