@harbor-design/proform 1.4.1 → 1.4.3

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
@@ -1,44 +1,44 @@
1
1
  var ze = Object.defineProperty;
2
2
  var Le = (r, e, t) => e in r ? ze(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var l = (r, e, t) => (Le(r, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { ref as L, readonly as Ce, nextTick as _, isRef as U, watch as E, isReactive as T, watchEffect as D, toRaw as x, reactive as W, createVNode as m, mergeProps as q, withDirectives as He, vShow as De, createTextVNode as Ge, isVNode as Be, defineComponent as Ke } from "vue";
5
- var We = typeof global == "object" && global && global.Object === Object && global, Xe = typeof self == "object" && self && self.Object === Object && self, A = We || Xe || Function("return this")(), R = A.Symbol, we = Object.prototype, Ye = we.hasOwnProperty, Ze = we.toString, N = R ? R.toStringTag : void 0;
4
+ import { ref as L, readonly as Ie, nextTick as C, isRef as U, watch as E, isReactive as T, watchEffect as D, toRaw as x, reactive as W, createVNode as m, mergeProps as $, withDirectives as He, vShow as De, createTextVNode as Ge, isVNode as Be, defineComponent as Ke } from "vue";
5
+ var We = typeof global == "object" && global && global.Object === Object && global, Xe = typeof self == "object" && self && self.Object === Object && self, A = We || Xe || Function("return this")(), R = A.Symbol, Fe = Object.prototype, Ye = Fe.hasOwnProperty, Ze = Fe.toString, N = R ? R.toStringTag : void 0;
6
6
  function Je(r) {
7
7
  var e = Ye.call(r, N), t = r[N];
8
8
  try {
9
9
  r[N] = void 0;
10
- var s = !0;
10
+ var i = !0;
11
11
  } catch {
12
12
  }
13
- var i = Ze.call(r);
14
- return s && (e ? r[N] = t : delete r[N]), i;
13
+ var s = Ze.call(r);
14
+ return i && (e ? r[N] = t : delete r[N]), s;
15
15
  }
16
16
  var Qe = Object.prototype, Ae = Qe.toString;
17
17
  function ke(r) {
18
18
  return Ae.call(r);
19
19
  }
20
- var et = "[object Null]", tt = "[object Undefined]", Ie = R ? R.toStringTag : void 0;
20
+ var et = "[object Null]", tt = "[object Undefined]", Ce = R ? R.toStringTag : void 0;
21
21
  function je(r) {
22
- return r == null ? r === void 0 ? tt : et : Ie && Ie in Object(r) ? Je(r) : ke(r);
22
+ return r == null ? r === void 0 ? tt : et : Ce && Ce in Object(r) ? Je(r) : ke(r);
23
23
  }
24
24
  function rt(r) {
25
25
  return r != null && typeof r == "object";
26
26
  }
27
- var st = "[object Symbol]";
27
+ var it = "[object Symbol]";
28
28
  function k(r) {
29
- return typeof r == "symbol" || rt(r) && je(r) == st;
29
+ return typeof r == "symbol" || rt(r) && je(r) == it;
30
30
  }
31
- function it(r, e) {
32
- for (var t = -1, s = r == null ? 0 : r.length, i = Array(s); ++t < s; )
33
- i[t] = e(r[t], t, r);
34
- return i;
31
+ function st(r, e) {
32
+ for (var t = -1, i = r == null ? 0 : r.length, s = Array(i); ++t < i; )
33
+ s[t] = e(r[t], t, r);
34
+ return s;
35
35
  }
36
36
  var ee = Array.isArray, nt = 1 / 0, Se = R ? R.prototype : void 0, Oe = Se ? Se.toString : void 0;
37
37
  function Me(r) {
38
38
  if (typeof r == "string")
39
39
  return r;
40
40
  if (ee(r))
41
- return it(r, Me) + "";
41
+ return st(r, Me) + "";
42
42
  if (k(r))
43
43
  return Oe ? Oe.call(r) : "";
44
44
  var e = r + "";
@@ -76,23 +76,23 @@ function ht(r) {
76
76
  }
77
77
  return "";
78
78
  }
79
- var mt = /[\\^$.*+?()[\]{}|]/g, gt = /^\[object .+?Constructor\]$/, bt = Function.prototype, vt = Object.prototype, yt = bt.toString, _t = vt.hasOwnProperty, Pt = RegExp(
79
+ var mt = /[\\^$.*+?()[\]{}|]/g, gt = /^\[object .+?Constructor\]$/, vt = Function.prototype, bt = Object.prototype, yt = vt.toString, _t = bt.hasOwnProperty, Pt = RegExp(
80
80
  "^" + yt.call(_t).replace(mt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
81
81
  );
82
- function Ct(r) {
82
+ function It(r) {
83
83
  if (!G(r) || ct(r))
84
84
  return !1;
85
85
  var e = ft(r) ? Pt : gt;
86
86
  return e.test(ht(r));
87
87
  }
88
- function It(r, e) {
88
+ function Ct(r, e) {
89
89
  return r == null ? void 0 : r[e];
90
90
  }
91
91
  function te(r, e) {
92
- var t = It(r, e);
93
- return Ct(t) ? t : void 0;
92
+ var t = Ct(r, e);
93
+ return It(t) ? t : void 0;
94
94
  }
95
- var Fe = function() {
95
+ var we = function() {
96
96
  try {
97
97
  var r = te(Object, "defineProperty");
98
98
  return r({}, "", {}), r;
@@ -103,8 +103,8 @@ function Et(r, e) {
103
103
  var t = typeof r;
104
104
  return e = e ?? St, !!e && (t == "number" || t != "symbol" && Ot.test(r)) && r > -1 && r % 1 == 0 && r < e;
105
105
  }
106
- function Ft(r, e, t) {
107
- e == "__proto__" && Fe ? Fe(r, e, {
106
+ function wt(r, e, t) {
107
+ e == "__proto__" && we ? we(r, e, {
108
108
  configurable: !0,
109
109
  enumerable: !0,
110
110
  value: t,
@@ -114,32 +114,32 @@ function Ft(r, e, t) {
114
114
  function xe(r, e) {
115
115
  return r === e || r !== r && e !== e;
116
116
  }
117
- var wt = Object.prototype, jt = wt.hasOwnProperty;
117
+ var Ft = Object.prototype, jt = Ft.hasOwnProperty;
118
118
  function Mt(r, e, t) {
119
- var s = r[e];
120
- (!(jt.call(r, e) && xe(s, t)) || t === void 0 && !(e in r)) && Ft(r, e, t);
119
+ var i = r[e];
120
+ (!(jt.call(r, e) && xe(i, t)) || t === void 0 && !(e in r)) && wt(r, e, t);
121
121
  }
122
122
  var xt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Rt = /^\w*$/;
123
- function $t(r, e) {
123
+ function Vt(r, e) {
124
124
  if (ee(r))
125
125
  return !1;
126
126
  var t = typeof r;
127
127
  return t == "number" || t == "symbol" || t == "boolean" || r == null || k(r) ? !0 : Rt.test(r) || !xt.test(r) || e != null && r in Object(e);
128
128
  }
129
129
  var z = te(Object, "create");
130
- function Vt() {
130
+ function qt() {
131
131
  this.__data__ = z ? z(null) : {}, this.size = 0;
132
132
  }
133
133
  function Nt(r) {
134
134
  var e = this.has(r) && delete this.__data__[r];
135
135
  return this.size -= e ? 1 : 0, e;
136
136
  }
137
- var qt = "__lodash_hash_undefined__", Ut = Object.prototype, Tt = Ut.hasOwnProperty;
137
+ var $t = "__lodash_hash_undefined__", Ut = Object.prototype, Tt = Ut.hasOwnProperty;
138
138
  function zt(r) {
139
139
  var e = this.__data__;
140
140
  if (z) {
141
141
  var t = e[r];
142
- return t === qt ? void 0 : t;
142
+ return t === $t ? void 0 : t;
143
143
  }
144
144
  return Tt.call(e, r) ? e[r] : void 0;
145
145
  }
@@ -153,18 +153,18 @@ function Bt(r, e) {
153
153
  var t = this.__data__;
154
154
  return this.size += this.has(r) ? 0 : 1, t[r] = z && e === void 0 ? Gt : e, this;
155
155
  }
156
- function F(r) {
156
+ function w(r) {
157
157
  var e = -1, t = r == null ? 0 : r.length;
158
158
  for (this.clear(); ++e < t; ) {
159
- var s = r[e];
160
- this.set(s[0], s[1]);
159
+ var i = r[e];
160
+ this.set(i[0], i[1]);
161
161
  }
162
162
  }
163
- F.prototype.clear = Vt;
164
- F.prototype.delete = Nt;
165
- F.prototype.get = zt;
166
- F.prototype.has = Dt;
167
- F.prototype.set = Bt;
163
+ w.prototype.clear = qt;
164
+ w.prototype.delete = Nt;
165
+ w.prototype.get = zt;
166
+ w.prototype.has = Dt;
167
+ w.prototype.set = Bt;
168
168
  function Kt() {
169
169
  this.__data__ = [], this.size = 0;
170
170
  }
@@ -179,8 +179,8 @@ function Yt(r) {
179
179
  var e = this.__data__, t = B(e, r);
180
180
  if (t < 0)
181
181
  return !1;
182
- var s = e.length - 1;
183
- return t == s ? e.pop() : Xt.call(e, t, 1), --this.size, !0;
182
+ var i = e.length - 1;
183
+ return t == i ? e.pop() : Xt.call(e, t, 1), --this.size, !0;
184
184
  }
185
185
  function Zt(r) {
186
186
  var e = this.__data__, t = B(e, r);
@@ -190,27 +190,27 @@ function Jt(r) {
190
190
  return B(this.__data__, r) > -1;
191
191
  }
192
192
  function Qt(r, e) {
193
- var t = this.__data__, s = B(t, r);
194
- return s < 0 ? (++this.size, t.push([r, e])) : t[s][1] = e, this;
193
+ var t = this.__data__, i = B(t, r);
194
+ return i < 0 ? (++this.size, t.push([r, e])) : t[i][1] = e, this;
195
195
  }
196
- function $(r) {
196
+ function V(r) {
197
197
  var e = -1, t = r == null ? 0 : r.length;
198
198
  for (this.clear(); ++e < t; ) {
199
- var s = r[e];
200
- this.set(s[0], s[1]);
199
+ var i = r[e];
200
+ this.set(i[0], i[1]);
201
201
  }
202
202
  }
203
- $.prototype.clear = Kt;
204
- $.prototype.delete = Yt;
205
- $.prototype.get = Zt;
206
- $.prototype.has = Jt;
207
- $.prototype.set = Qt;
203
+ V.prototype.clear = Kt;
204
+ V.prototype.delete = Yt;
205
+ V.prototype.get = Zt;
206
+ V.prototype.has = Jt;
207
+ V.prototype.set = Qt;
208
208
  var At = te(A, "Map");
209
209
  function kt() {
210
210
  this.size = 0, this.__data__ = {
211
- hash: new F(),
212
- map: new (At || $)(),
213
- string: new F()
211
+ hash: new w(),
212
+ map: new (At || V)(),
213
+ string: new w()
214
214
  };
215
215
  }
216
216
  function er(r) {
@@ -228,60 +228,60 @@ function tr(r) {
228
228
  function rr(r) {
229
229
  return K(this, r).get(r);
230
230
  }
231
- function sr(r) {
231
+ function ir(r) {
232
232
  return K(this, r).has(r);
233
233
  }
234
- function ir(r, e) {
235
- var t = K(this, r), s = t.size;
236
- return t.set(r, e), this.size += t.size == s ? 0 : 1, this;
234
+ function sr(r, e) {
235
+ var t = K(this, r), i = t.size;
236
+ return t.set(r, e), this.size += t.size == i ? 0 : 1, this;
237
237
  }
238
- function w(r) {
238
+ function F(r) {
239
239
  var e = -1, t = r == null ? 0 : r.length;
240
240
  for (this.clear(); ++e < t; ) {
241
- var s = r[e];
242
- this.set(s[0], s[1]);
241
+ var i = r[e];
242
+ this.set(i[0], i[1]);
243
243
  }
244
244
  }
245
- w.prototype.clear = kt;
246
- w.prototype.delete = tr;
247
- w.prototype.get = rr;
248
- w.prototype.has = sr;
249
- w.prototype.set = ir;
245
+ F.prototype.clear = kt;
246
+ F.prototype.delete = tr;
247
+ F.prototype.get = rr;
248
+ F.prototype.has = ir;
249
+ F.prototype.set = sr;
250
250
  var nr = "Expected a function";
251
251
  function re(r, e) {
252
252
  if (typeof r != "function" || e != null && typeof e != "function")
253
253
  throw new TypeError(nr);
254
254
  var t = function() {
255
- var s = arguments, i = e ? e.apply(this, s) : s[0], n = t.cache;
256
- if (n.has(i))
257
- return n.get(i);
258
- var a = r.apply(this, s);
259
- return t.cache = n.set(i, a) || n, a;
255
+ var i = arguments, s = e ? e.apply(this, i) : i[0], n = t.cache;
256
+ if (n.has(s))
257
+ return n.get(s);
258
+ var a = r.apply(this, i);
259
+ return t.cache = n.set(s, a) || n, a;
260
260
  };
261
- return t.cache = new (re.Cache || w)(), t;
261
+ return t.cache = new (re.Cache || F)(), t;
262
262
  }
263
- re.Cache = w;
263
+ re.Cache = F;
264
264
  var or = 500;
265
265
  function ar(r) {
266
- var e = re(r, function(s) {
267
- return t.size === or && t.clear(), s;
266
+ var e = re(r, function(i) {
267
+ return t.size === or && t.clear(), i;
268
268
  }), t = e.cache;
269
269
  return e;
270
270
  }
271
271
  var lr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ur = /\\(\\)?/g, fr = ar(function(r) {
272
272
  var e = [];
273
- return r.charCodeAt(0) === 46 && e.push(""), r.replace(lr, function(t, s, i, n) {
274
- e.push(i ? n.replace(ur, "$1") : s || t);
273
+ return r.charCodeAt(0) === 46 && e.push(""), r.replace(lr, function(t, i, s, n) {
274
+ e.push(s ? n.replace(ur, "$1") : i || t);
275
275
  }), e;
276
276
  });
277
277
  function cr(r) {
278
278
  return r == null ? "" : Me(r);
279
279
  }
280
280
  function Re(r, e) {
281
- return ee(r) ? r : $t(r, e) ? [r] : fr(cr(r));
281
+ return ee(r) ? r : Vt(r, e) ? [r] : fr(cr(r));
282
282
  }
283
283
  var dr = 1 / 0;
284
- function $e(r) {
284
+ function Ve(r) {
285
285
  if (typeof r == "string" || k(r))
286
286
  return r;
287
287
  var e = r + "";
@@ -289,31 +289,31 @@ function $e(r) {
289
289
  }
290
290
  function pr(r, e) {
291
291
  e = Re(e, r);
292
- for (var t = 0, s = e.length; r != null && t < s; )
293
- r = r[$e(e[t++])];
294
- return t && t == s ? r : void 0;
292
+ for (var t = 0, i = e.length; r != null && t < i; )
293
+ r = r[Ve(e[t++])];
294
+ return t && t == i ? r : void 0;
295
295
  }
296
296
  function H(r, e, t) {
297
- var s = r == null ? void 0 : pr(r, e);
298
- return s === void 0 ? t : s;
297
+ var i = r == null ? void 0 : pr(r, e);
298
+ return i === void 0 ? t : i;
299
299
  }
300
- function hr(r, e, t, s) {
300
+ function hr(r, e, t, i) {
301
301
  if (!G(r))
302
302
  return r;
303
303
  e = Re(e, r);
304
- for (var i = -1, n = e.length, a = n - 1, u = r; u != null && ++i < n; ) {
305
- var f = $e(e[i]), d = t;
304
+ for (var s = -1, n = e.length, a = n - 1, u = r; u != null && ++s < n; ) {
305
+ var f = Ve(e[s]), d = t;
306
306
  if (f === "__proto__" || f === "constructor" || f === "prototype")
307
307
  return r;
308
- if (i != a) {
308
+ if (s != a) {
309
309
  var p = u[f];
310
- d = s ? s(p, f, u) : void 0, d === void 0 && (d = G(p) ? p : Et(e[i + 1]) ? [] : {});
310
+ d = i ? i(p, f, u) : void 0, d === void 0 && (d = G(p) ? p : Et(e[s + 1]) ? [] : {});
311
311
  }
312
312
  Mt(u, f, d), u = u[f];
313
313
  }
314
314
  return r;
315
315
  }
316
- function P(r, e, t) {
316
+ function _(r, e, t) {
317
317
  return r == null ? r : hr(r, e, t);
318
318
  }
319
319
  class o {
@@ -382,52 +382,52 @@ class o {
382
382
  return !!e.__proform_raw_object;
383
383
  }
384
384
  }
385
- function b(r, ...e) {
385
+ function v(r, ...e) {
386
386
  return e.forEach((t) => {
387
387
  if (Array.isArray(t))
388
- Array.isArray(r) || (r = []), t.forEach((s, i) => {
389
- typeof s == "object" && s !== null ? r[i] = b(Array.isArray(s) ? [] : {}, s) : r[i] = s;
388
+ Array.isArray(r) || (r = []), t.forEach((i, s) => {
389
+ typeof i == "object" && i !== null ? r[s] = v(Array.isArray(i) ? [] : {}, i) : r[s] = i;
390
390
  });
391
391
  else
392
- for (const s in t)
393
- t.hasOwnProperty(s) && (typeof t[s] == "object" && t[s] !== null ? r[s] = b(r[s] || {}, t[s]) : r[s] = t[s]);
392
+ for (const i in t)
393
+ t.hasOwnProperty(i) && (typeof t[i] == "object" && t[i] !== null ? r[i] = v(r[i] || {}, t[i]) : r[i] = t[i]);
394
394
  }), r;
395
395
  }
396
- function C(r) {
396
+ function P(r) {
397
397
  const e = /* @__PURE__ */ new WeakMap();
398
- function t(s) {
399
- if (s === null || typeof s != "object")
400
- return s;
401
- if (s instanceof Date)
402
- return new Date(s);
403
- if (s instanceof RegExp)
404
- return new RegExp(s);
405
- if (s instanceof Map) {
398
+ function t(i) {
399
+ if (i === null || typeof i != "object")
400
+ return i;
401
+ if (i instanceof Date)
402
+ return new Date(i);
403
+ if (i instanceof RegExp)
404
+ return new RegExp(i);
405
+ if (i instanceof Map) {
406
406
  const n = /* @__PURE__ */ new Map();
407
- for (const [a, u] of s)
407
+ for (const [a, u] of i)
408
408
  n.set(t(a), t(u));
409
409
  return n;
410
410
  }
411
- if (s instanceof Set) {
411
+ if (i instanceof Set) {
412
412
  const n = /* @__PURE__ */ new Set();
413
- for (const a of s)
413
+ for (const a of i)
414
414
  n.add(t(a));
415
415
  return n;
416
416
  }
417
- if (e.has(s))
418
- return e.get(s);
419
- if (Array.isArray(s)) {
417
+ if (e.has(i))
418
+ return e.get(i);
419
+ if (Array.isArray(i)) {
420
420
  const n = [];
421
- e.set(s, n);
422
- for (let a = 0; a < s.length; a++)
423
- n[a] = t(s[a]);
421
+ e.set(i, n);
422
+ for (let a = 0; a < i.length; a++)
423
+ n[a] = t(i[a]);
424
424
  return n;
425
425
  }
426
- const i = Object.create(Object.getPrototypeOf(s));
427
- e.set(s, i);
428
- for (const n in s)
429
- s.hasOwnProperty(n) && (i[n] = t(s[n]));
430
- return i;
426
+ const s = Object.create(Object.getPrototypeOf(i));
427
+ e.set(i, s);
428
+ for (const n in i)
429
+ i.hasOwnProperty(n) && (s[n] = t(i[n]));
430
+ return s;
431
431
  }
432
432
  return t(r);
433
433
  }
@@ -448,21 +448,21 @@ class mr {
448
448
  })), e;
449
449
  }
450
450
  setup(e) {
451
- return this.runtimeCore = e, this.readonlyReactiveModel.value = Ce(e.model.value), Object.assign(this.runtimeCore.native, this.formCustomization.native), Object.assign(this.runtimeCore.grid, this.formCustomization.grid), Object.assign(this.runtimeCore.runtime, this.formCustomization.runtime), this.formCustomization.ui && (this.runtimeCore.ui = this.formCustomization.ui), this.formCustomization;
451
+ return this.runtimeCore = e, this.readonlyReactiveModel.value = Ie(e.model.value), Object.assign(this.runtimeCore.native, this.formCustomization.native), Object.assign(this.runtimeCore.grid, this.formCustomization.grid), Object.assign(this.runtimeCore.runtime, this.formCustomization.runtime), this.formCustomization.ui && (this.runtimeCore.ui = this.formCustomization.ui), this.formCustomization;
452
452
  }
453
453
  submit() {
454
- var s;
455
- const e = (s = c.getPreset(this.runtimeCore.ui)) == null ? void 0 : s.adapter, t = I.adapters[c.getUI(this.runtimeCore.ui)];
454
+ var i;
455
+ const e = (i = c.getPreset(this.runtimeCore.ui)) == null ? void 0 : i.adapter, t = I.adapters[c.getUI(this.runtimeCore.ui)];
456
456
  return (e == null ? void 0 : e.validateForm(this)) ?? (t == null ? void 0 : t.validateForm(this));
457
457
  }
458
458
  hydrate(e) {
459
- _(() => {
459
+ C(() => {
460
460
  this.runtimeCore.hydrateEffect.trackEffect(
461
461
  () => {
462
462
  U(e) ? E(
463
463
  () => e.value,
464
464
  () => {
465
- b(this.runtimeCore.model.value, e.value);
465
+ v(this.runtimeCore.model.value, e.value);
466
466
  },
467
467
  {
468
468
  deep: !0,
@@ -471,13 +471,13 @@ class mr {
471
471
  ) : T(e) ? E(
472
472
  () => e,
473
473
  () => {
474
- b(this.runtimeCore.model.value, e);
474
+ v(this.runtimeCore.model.value, e);
475
475
  },
476
476
  {
477
477
  deep: !0,
478
478
  immediate: !0
479
479
  }
480
- ) : b(this.runtimeCore.model.value, e);
480
+ ) : v(this.runtimeCore.model.value, e);
481
481
  },
482
482
  {
483
483
  lazy: !1
@@ -486,24 +486,24 @@ class mr {
486
486
  });
487
487
  }
488
488
  share(e) {
489
- _(() => {
489
+ C(() => {
490
490
  Object.keys(e).forEach((t) => {
491
491
  U(e[t]) ? D(() => {
492
- 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());
492
+ _(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());
493
493
  }) : T(e[t]) ? D(() => {
494
- P(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects());
495
- }) : (P(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects()));
494
+ _(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects());
495
+ }) : (_(this.runtimeCore.shared, t, e[t]), this.shareHistory.get(t) !== e[t] && (this.shareHistory.set(t, e[t]), this.runtimeCore.processor.schemaEffect.triggerEffects()));
496
496
  });
497
497
  });
498
498
  }
499
499
  subscribeModel(e) {
500
- _(() => {
500
+ C(() => {
501
501
  const t = E(
502
502
  () => this.readonlyReactiveModel.value,
503
- (s) => {
504
- e(s, {
503
+ (i) => {
504
+ e(i, {
505
505
  stopSubscribe() {
506
- _(() => {
506
+ C(() => {
507
507
  t();
508
508
  });
509
509
  }
@@ -518,9 +518,9 @@ class mr {
518
518
  }
519
519
  resetModel() {
520
520
  var e;
521
- (e = this.runtimeCore) != null && e.model.value && (this.runtimeCore.model.value = C(
521
+ (e = this.runtimeCore) != null && e.model.value && (this.runtimeCore.model.value = P(
522
522
  this.runtimeCore.processor.stableModel
523
- ), this.readonlyReactiveModel.value = Ce(this.runtimeCore.model.value), this.runtimeCore.runtimeAdapter.clearValidate(this.runtimeCore));
523
+ ), this.readonlyReactiveModel.value = Ie(this.runtimeCore.model.value), this.runtimeCore.runtimeAdapter.clearValidate(this.runtimeCore));
524
524
  }
525
525
  }
526
526
  class J {
@@ -539,7 +539,7 @@ class J {
539
539
  trackEffect(e, t = {
540
540
  lazy: !0
541
541
  }) {
542
- return !t.lazy && e(), t.identifier ? this.identifierMap.get(t.identifier) || (this.effects.add(e), this.identifierMap.set(t.identifier, !0)) : this.effects.add(e), () => this.effects.delete(e);
542
+ return t.identifier ? this.identifierMap.get(t.identifier) || (this.identifierMap.set(t.identifier, !0), !t.lazy && e(), this.effects.add(e)) : (!t.lazy && e(), this.effects.add(e)), () => this.effects.delete(e);
543
543
  }
544
544
  }
545
545
  class gr {
@@ -559,6 +559,7 @@ class gr {
559
559
  l(this, "defaultValueInprogressMap", /* @__PURE__ */ new Map());
560
560
  l(this, "baseDefaultValueFunctionsLength");
561
561
  l(this, "isModelInitialized", !0);
562
+ l(this, "schemaEffectHistory", /* @__PURE__ */ new Map());
562
563
  this.runtimeCore = e, this.processedSchemas = e.schemas, this.processedModel = e.model, this.getRuntimeMeta = e.getRuntimeMeta.bind(e), E(
563
564
  () => this.processedModel.value,
564
565
  () => {
@@ -571,33 +572,33 @@ class gr {
571
572
  }
572
573
  // 核心处理过程,接收一个初始的代理数据结构,由其衍生的有 parseSchema
573
574
  parse(e, t) {
574
- e.forEach((s, i) => {
575
- this.parseItem(s, i, t);
575
+ e.forEach((i, s) => {
576
+ this.parseItem(i, s, t);
576
577
  });
577
578
  }
578
579
  // 初始化空数据结构,避免后续复杂的 if else
579
580
  initSchemas(e) {
580
581
  return e.map((t) => {
581
- const s = {};
582
- return t.children && (s.children = this.initSchemas(t.children)), s;
582
+ const i = {};
583
+ return t.children && (i.children = this.initSchemas(t.children)), i;
583
584
  });
584
585
  }
585
586
  countFunctionDefaultValues(e) {
586
587
  let t = 0;
587
- const s = /* @__PURE__ */ new Set();
588
- function i(n) {
589
- if (!s.has(n) && (Array.isArray(n) || n !== null && typeof n == "object")) {
590
- s.add(n);
588
+ const i = /* @__PURE__ */ new Set();
589
+ function s(n) {
590
+ if (!i.has(n) && (Array.isArray(n) || n !== null && typeof n == "object")) {
591
+ i.add(n);
591
592
  for (const a in n)
592
- n.hasOwnProperty(a) && (a === "defaultValue" && typeof n[a] == "function" && !n[a].toString().includes("[native code]") && t++, i(n[a]));
593
+ n.hasOwnProperty(a) && (a === "defaultValue" && typeof n[a] == "function" && !n[a].toString().includes("[native code]") && t++, s(n[a]));
593
594
  }
594
595
  }
595
- return i(e), t;
596
+ return s(e), t;
596
597
  }
597
598
  // 派生过程,用于外部应用
598
599
  parseSchemas(e, t) {
599
600
  o.isArrayEmpty(this.processedSchemas.value) && (this.baseDefaultValueFunctionsLength = this.countFunctionDefaultValues(
600
- C(e)
601
+ P(e)
601
602
  ), this.processedSchemas.value = this.initSchemas(e)), this.parse(e, t);
602
603
  }
603
604
  parseStable(e) {
@@ -618,79 +619,79 @@ class gr {
618
619
  }
619
620
  }
620
621
  // 核心单 schema 处理过程,接收一个对象键值对的数据结构
621
- parseItem(e, t, s) {
622
- const i = this, n = Array.from({
622
+ parseItem(e, t, i) {
623
+ const s = this, n = Array.from({
623
624
  length: Object.keys(e).filter((u) => u !== "children").length
624
625
  }).fill(!1);
625
- this.objectParser({ data: e, index: t, updater: a, parentMeta: s });
626
+ this.objectParser({ data: e, index: t, updater: a, parentMeta: i });
626
627
  function a(u) {
627
628
  const f = u.index, d = u.key, p = u.keyIndex;
628
629
  if (o.isUndefined(u.stable))
629
630
  return;
630
- const h = i.parseStable(u.stable), v = s == null ? void 0 : s.index, S = s == null ? void 0 : s.key;
631
+ const h = s.parseStable(u.stable), b = i == null ? void 0 : i.index, S = i == null ? void 0 : i.key;
631
632
  let y = h;
632
- if (o.isProcessInprogress(y) || (n[p] = !0), s) {
633
- const g = i.processedSchemas.value[v][S][f][d];
634
- g && o.isObject(g) && d !== "component" && (y = b(g, y)), i.processedSchemas.value[v][S][f][d] = y, i.stableUpdater(n);
633
+ if (o.isProcessInprogress(y) || (n[p] = !0), i) {
634
+ const g = s.processedSchemas.value[b][S][f][d];
635
+ g && o.isObject(g) && d !== "component" && (y = v(g, y)), s.processedSchemas.value[b][S][f][d] = y, s.stableUpdater(n);
635
636
  } else {
636
- const g = i.processedSchemas.value[f][d];
637
- g && o.isObject(g) && d !== "component" && (y = b(g, y)), i.processedSchemas.value[f][d] = y, i.stableUpdater(n);
637
+ const g = s.processedSchemas.value[f][d];
638
+ g && o.isObject(g) && d !== "component" && (y = v(g, y)), s.processedSchemas.value[f][d] = y, s.stableUpdater(n);
638
639
  }
639
640
  }
640
641
  }
641
642
  // 只做基本的对象 parser
642
643
  objectParser(e) {
643
644
  const t = e.data;
644
- Object.keys(t).forEach((i, n) => {
645
+ Object.keys(t).forEach((s, n) => {
645
646
  var a, u;
646
- if (i === "children")
647
- this.parseSchemas(t[i], {
647
+ if (s === "children")
648
+ this.parseSchemas(t[s], {
648
649
  ...e,
649
- key: i,
650
+ key: s,
650
651
  keyIndex: n
651
652
  });
652
653
  else {
653
654
  const f = (d) => {
654
655
  e.updater({
655
656
  ...e,
656
- key: i,
657
+ key: s,
657
658
  keyIndex: n,
658
659
  stable: d
659
660
  });
660
661
  };
661
- o.isFunction(t[i]) ? i !== "defaultValue" ? this.schemaEffect.trackEffect(
662
+ o.isFunction(t[s]) ? s !== "defaultValue" ? this.schemaEffect.trackEffect(
662
663
  () => {
663
- if (i === "component") {
664
- const d = t[i](this.getRuntimeMeta());
664
+ if (s === "component") {
665
+ const d = t[s](this.getRuntimeMeta());
665
666
  this.promiseFieldParser(d, f, !1, {
666
667
  rootIndex: e.index,
667
668
  parentMeta: e.parentMeta
668
669
  });
669
670
  } else
670
- this.fieldParser(t[i], f, {
671
+ this.fieldParser(t[s], f, {
671
672
  rootIndex: e.index,
672
673
  parentMeta: e.parentMeta
673
674
  });
674
675
  },
675
676
  {
676
677
  lazy: !1,
677
- identifier: `${(a = e.parentMeta) == null ? void 0 : a.key}${(u = e.parentMeta) == null ? void 0 : u.index}${e.index}${i}${n}`
678
+ identifier: `${(a = e.parentMeta) == null ? void 0 : a.key}parentIndex:${(u = e.parentMeta) == null ? void 0 : u.index}childIndex:${e.index}${s}${n}`
678
679
  }
679
680
  ) : this.defaultValueEffect.trackEffect(
680
681
  () => {
681
682
  const d = this.schemaEffect.trackEffect(
682
683
  () => {
683
- /\{\s*model\s*\}/.test(t[i].toString()) ? this.fieldParser(
684
- t[i],
684
+ /\{\s*model\s*\}/.test(t[s].toString()) ? this.fieldParser(
685
+ t[s],
685
686
  (p) => {
686
687
  if (!p)
687
688
  return f(p);
688
- this.defaultValueInprogressMap.set(t[i], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
689
+ this.defaultValueInprogressMap.set(t[s], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
689
690
  this.defaultValueInprogressMap.values()
690
691
  ).every((h) => {
691
- var v;
692
- return !((v = h == null ? void 0 : h.includes) != null && v.call(h, "undefined"));
693
- }) ? (f(p), this.defaultValueEffect.clearEffects(), _(() => {
692
+ var b;
693
+ return !((b = h == null ? void 0 : h.includes) != null && b.call(h, "undefined"));
694
+ }) ? (f(p), this.defaultValueEffect.clearEffects(), C(() => {
694
695
  d();
695
696
  })) : f(p);
696
697
  },
@@ -699,14 +700,14 @@ class gr {
699
700
  parentMeta: e.parentMeta
700
701
  }
701
702
  ) : this.fieldParser(
702
- t[i],
703
+ t[s],
703
704
  (p) => {
704
- this.defaultValueInprogressMap.set(t[i], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
705
+ this.defaultValueInprogressMap.set(t[s], p), !o.isProcessInprogress(p) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
705
706
  this.defaultValueInprogressMap.values()
706
707
  ).every((h) => {
707
- var v;
708
- return !((v = h == null ? void 0 : h.includes) != null && v.call(h, "undefined"));
709
- }) ? (f(p), this.defaultValueEffect.clearEffects(), _(() => {
708
+ var b;
709
+ return !((b = h == null ? void 0 : h.includes) != null && b.call(h, "undefined"));
710
+ }) ? (f(p), this.defaultValueEffect.clearEffects(), C(() => {
710
711
  d();
711
712
  })) : f(p);
712
713
  },
@@ -724,33 +725,33 @@ class gr {
724
725
  {
725
726
  lazy: !1
726
727
  }
727
- ) : i === "component" || i === "slots" || i === "runtime" ? this.promiseFieldParser(t[i], f, !1, {
728
+ ) : s === "component" || s === "slots" || s === "runtime" ? this.promiseFieldParser(t[s], f, !1, {
728
729
  rootIndex: e.index,
729
730
  parentMeta: e.parentMeta
730
- }) : this.fieldParser(t[i], f, {
731
+ }) : this.fieldParser(t[s], f, {
731
732
  rootIndex: e.index,
732
733
  parentMeta: e.parentMeta
733
734
  });
734
735
  }
735
736
  });
736
737
  }
737
- promiseFieldParser(e, t, s, i) {
738
+ promiseFieldParser(e, t, i, s) {
738
739
  o.isPromise(e) ? e.then((n) => {
739
- o.isString(n) && (n = Z(n, "")), s && o.isObject(n) && !o.isNativeObject(n) ? this.objectParser({
740
+ o.isString(n) && (n = Z(n, "")), i && o.isObject(n) && !o.isNativeObject(n) ? this.objectParser({
740
741
  data: n,
741
742
  updater: t,
742
- index: i.rootIndex,
743
- parentMeta: i.parentMeta
743
+ index: s.rootIndex,
744
+ parentMeta: s.parentMeta
744
745
  }) : t(n);
745
- }) : (o.isString(e) && (e = Z(e, "")), s && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
746
+ }) : (o.isString(e) && (e = Z(e, "")), i && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
746
747
  data: e,
747
748
  updater: t,
748
- index: i.rootIndex,
749
- parentMeta: i.parentMeta
749
+ index: s.rootIndex,
750
+ parentMeta: s.parentMeta
750
751
  }) : t(e));
751
752
  }
752
753
  // 对任意对象中单个字段的 parse: 做基本处理
753
- fieldParser(e, t, s, i = !0) {
754
+ fieldParser(e, t, i, s = !0) {
754
755
  if (o.isFunction(e))
755
756
  if (e.name.startsWith("__proform_raw_"))
756
757
  t(
@@ -763,20 +764,20 @@ class gr {
763
764
  t(e);
764
765
  else if (e.__proform_cached_result) {
765
766
  const n = e.__proform_cached_result;
766
- this.promiseFieldParser(n, t, i, s);
767
+ this.promiseFieldParser(n, t, s, i);
767
768
  } else {
768
769
  const n = e(this.getRuntimeMeta());
769
- e.name.startsWith("__proform_onetime_") && (e.__proform_cached_result = n), this.promiseFieldParser(n, t, i, s);
770
+ e.name.startsWith("__proform_onetime_") && (e.__proform_cached_result = n), this.promiseFieldParser(n, t, s, i);
770
771
  }
771
772
  else
772
773
  U(e) ? E(
773
774
  () => e.value,
774
775
  () => {
775
- o.isUndefined(e.value) || (i && o.isObject(e.value) && !o.isNativeObject(e.value) ? this.objectParser({
776
+ o.isUndefined(e.value) || (s && o.isObject(e.value) && !o.isNativeObject(e.value) ? this.objectParser({
776
777
  data: e.value,
777
778
  updater: t,
778
- index: s.rootIndex,
779
- parentMeta: s.parentMeta
779
+ index: i.rootIndex,
780
+ parentMeta: i.parentMeta
780
781
  }) : t(e.value));
781
782
  },
782
783
  {
@@ -786,42 +787,42 @@ class gr {
786
787
  ) : T(e) ? E(
787
788
  () => e,
788
789
  () => {
789
- o.isUndefined(e) || (i && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
790
+ o.isUndefined(e) || (s && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
790
791
  data: e,
791
792
  updater: t,
792
- index: s.rootIndex,
793
- parentMeta: s.parentMeta
793
+ index: i.rootIndex,
794
+ parentMeta: i.parentMeta
794
795
  }) : t(e));
795
796
  },
796
797
  {
797
798
  immediate: !0,
798
799
  deep: !0
799
800
  }
800
- ) : i && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
801
+ ) : s && o.isObject(e) && !o.isNativeObject(e) ? this.objectParser({
801
802
  data: e,
802
803
  updater: t,
803
- index: s.rootIndex,
804
- parentMeta: s.parentMeta
804
+ index: i.rootIndex,
805
+ parentMeta: i.parentMeta
805
806
  }) : t(e);
806
807
  }
807
808
  modelProcessor(e) {
808
809
  e.map(
809
810
  (t) => this.createModel(t, this.processedModel.value)
810
- ), o.isObjectEmpty(this.stableModel) && this.stableUpdaterProcessProgress.every(Boolean) && this.defaultValueEffect.effects.size === 0 && _(() => {
811
- this.stableModel = C(this.processedModel.value), this.runtimeCore.hydrateEffect.triggerEffects(), this.runtimeCore.hydrateEffect.clearEffects();
811
+ ), o.isObjectEmpty(this.stableModel) && this.stableUpdaterProcessProgress.every(Boolean) && this.defaultValueEffect.effects.size === 0 && C(() => {
812
+ this.stableModel = P(this.processedModel.value), this.runtimeCore.hydrateEffect.triggerEffects(), this.runtimeCore.hydrateEffect.clearEffects();
812
813
  });
813
814
  }
814
- setModel(e, t, s) {
815
- o.isFunction(t) ? P(e, t(), s) : b(e, {
816
- [t]: s
815
+ setModel(e, t, i) {
816
+ o.isFunction(t) ? _(e, t(), i) : v(e, {
817
+ [t]: i
817
818
  });
818
819
  }
819
820
  createModel(e, t) {
820
- o.isListSchema(e) && (t[e.field] || this.setModel(t, e.field, [{}]), e.children.forEach((s) => {
821
- this.createModel(s, t[e.field][0]);
822
- })), o.isGroupSchema(e) && e.children.forEach((s) => {
823
- this.createModel(s, t);
824
- }), o.isItemSchema(e) && _(() => {
821
+ o.isListSchema(e) && (t[e.field] || this.setModel(t, e.field, [{}]), e.children.forEach((i) => {
822
+ this.createModel(i, t[e.field][0]);
823
+ })), o.isGroupSchema(e) && e.children.forEach((i) => {
824
+ this.createModel(i, t);
825
+ }), o.isItemSchema(e) && C(() => {
825
826
  if ("defaultValue" in e)
826
827
  this.setModel(t, e.field, e.defaultValue);
827
828
  else {
@@ -854,7 +855,7 @@ class j {
854
855
  return c.presets.uiPresets[e ?? c.presets.ui].container.ListItem;
855
856
  }
856
857
  }
857
- class br {
858
+ class vr {
858
859
  constructor(e) {
859
860
  this.ui = e;
860
861
  }
@@ -863,32 +864,32 @@ class br {
863
864
  return (t = c.presets.uiPresets[this.ui]) == null ? void 0 : t.native;
864
865
  }
865
866
  getRuntimeField(e) {
866
- var i;
867
- const t = (i = c.presets.uiPresets[this.ui]) == null ? void 0 : i.adapter, s = I.adapters[c.getUI(this.ui)];
868
- return (t == null ? void 0 : t.getRuntimeField(e)) ?? (s == null ? void 0 : s.getRuntimeField(e));
867
+ var s;
868
+ const t = (s = c.presets.uiPresets[this.ui]) == null ? void 0 : s.adapter, i = I.adapters[c.getUI(this.ui)];
869
+ return (t == null ? void 0 : t.getRuntimeField(e)) ?? (i == null ? void 0 : i.getRuntimeField(e));
869
870
  }
870
871
  getRuntimeRequired(e) {
871
- var i;
872
- const t = (i = c.presets.uiPresets[this.ui]) == null ? void 0 : i.adapter, s = I.adapters[c.getUI(this.ui)];
873
- return (t == null ? void 0 : t.getRuntimeRequired(e)) ?? (s == null ? void 0 : s.getRuntimeRequired(e));
872
+ var s;
873
+ const t = (s = c.presets.uiPresets[this.ui]) == null ? void 0 : s.adapter, i = I.adapters[c.getUI(this.ui)];
874
+ return (t == null ? void 0 : t.getRuntimeRequired(e)) ?? (i == null ? void 0 : i.getRuntimeRequired(e));
874
875
  }
875
876
  getFormModelPropName() {
876
- var s;
877
- const e = (s = c.presets.uiPresets[this.ui]) == null ? void 0 : s.adapter, t = I.adapters[c.getUI(this.ui)];
877
+ var i;
878
+ const e = (i = c.presets.uiPresets[this.ui]) == null ? void 0 : i.adapter, t = I.adapters[c.getUI(this.ui)];
878
879
  return (e == null ? void 0 : e.getFormModelPropName()) ?? (t == null ? void 0 : t.getFormModelPropName());
879
880
  }
880
881
  formComponentRenderer(e) {
881
- var i;
882
- const t = (i = c.presets.uiPresets[this.ui]) == null ? void 0 : i.adapter, s = I.adapters[c.getUI(this.ui)];
883
- return (t == null ? void 0 : t.formComponentRenderer(e)) ?? (s == null ? void 0 : s.formComponentRenderer(e));
882
+ var s;
883
+ const t = (s = c.presets.uiPresets[this.ui]) == null ? void 0 : s.adapter, i = I.adapters[c.getUI(this.ui)];
884
+ return (t == null ? void 0 : t.formComponentRenderer(e)) ?? (i == null ? void 0 : i.formComponentRenderer(e));
884
885
  }
885
886
  clearValidate(e) {
886
- var i;
887
- const t = (i = c.presets.uiPresets[this.ui]) == null ? void 0 : i.adapter, s = I.adapters[c.getUI(this.ui)];
888
- return (t == null ? void 0 : t.clearValidate(e)) ?? (s == null ? void 0 : s.clearValidate(e));
887
+ var s;
888
+ const t = (s = c.presets.uiPresets[this.ui]) == null ? void 0 : s.adapter, i = I.adapters[c.getUI(this.ui)];
889
+ return (t == null ? void 0 : t.clearValidate(e)) ?? (i == null ? void 0 : i.clearValidate(e));
889
890
  }
890
891
  }
891
- function vr(r) {
892
+ function br(r) {
892
893
  return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !Be(r);
893
894
  }
894
895
  class yr {
@@ -919,90 +920,83 @@ class yr {
919
920
  l(this, "shareHistory", /* @__PURE__ */ new Map());
920
921
  this.setup = e, this.processor = new gr(this);
921
922
  const t = this.setup(this);
922
- if (this.ui = t.ui ?? c.presets.ui, this.runtimeAdapter = new br(this.ui), Object.assign(this.globalNativeFormOverride, this.runtimeAdapter.getRuntimeNative()), U(t.schemas))
923
- E(
924
- // @ts-expect-error
925
- () => t.schemas.value,
926
- () => {
927
- this.processor.parseSchemas(t.schemas.value);
928
- },
929
- {
930
- deep: !0
931
- }
932
- );
933
- else if (T(t.schemas)) {
934
- const s = E(() => t.schemas, () => {
935
- this.processor.parseSchemas(t.schemas), _(() => {
936
- s();
937
- });
938
- }, {
923
+ this.ui = t.ui ?? c.presets.ui, this.runtimeAdapter = new vr(this.ui), Object.assign(this.globalNativeFormOverride, this.runtimeAdapter.getRuntimeNative()), U(t.schemas) ? E(
924
+ // @ts-expect-error
925
+ () => t.schemas.value,
926
+ () => {
927
+ this.processor.parseSchemas(t.schemas.value);
928
+ },
929
+ {
939
930
  deep: !0
940
- });
941
- } else
931
+ }
932
+ ) : T(t.schemas) ? E(() => t.schemas, () => {
942
933
  this.processor.parseSchemas(t.schemas);
934
+ }, {
935
+ deep: !0
936
+ }) : this.processor.parseSchemas(t.schemas);
943
937
  }
944
938
  getRuntimeMeta() {
945
939
  return {
946
- model: x(C(this.model.value)),
940
+ model: x(P(this.model.value)),
947
941
  reactiveModel: this.model.value,
948
942
  shared: this.shared,
949
943
  // share 增加防抖,当开发者在过程中进行 share 时避免频繁触发爆栈
950
944
  share: (t) => {
951
- _(() => {
952
- Object.keys(t).forEach((s) => {
953
- U(t[s]) ? D(() => {
954
- P(this.shared, s, t[s].value), this.shareHistory.get(s) !== t[s].value && (this.shareHistory.set(s, t[s].value), this.processor.schemaEffect.triggerEffects());
955
- }) : T(t[s]) ? D(() => {
956
- P(this.shared, s, t[s]), this.shareHistory.get(s) !== t[s] && (this.shareHistory.set(s, t[s]), this.processor.schemaEffect.triggerEffects());
957
- }) : (P(this.shared, s, t[s]), this.shareHistory.get(s) !== t[s] && (this.shareHistory.set(s, t[s]), this.processor.schemaEffect.triggerEffects()));
945
+ C(() => {
946
+ Object.keys(t).forEach((i) => {
947
+ U(t[i]) ? D(() => {
948
+ _(this.shared, i, t[i].value), this.shareHistory.get(i) !== t[i].value && (this.shareHistory.set(i, t[i].value), this.processor.schemaEffect.triggerEffects());
949
+ }) : T(t[i]) ? D(() => {
950
+ _(this.shared, i, t[i]), this.shareHistory.get(i) !== t[i] && (this.shareHistory.set(i, t[i]), this.processor.schemaEffect.triggerEffects());
951
+ }) : (_(this.shared, i, t[i]), this.shareHistory.get(i) !== t[i] && (this.shareHistory.set(i, t[i]), this.processor.schemaEffect.triggerEffects()));
958
952
  });
959
953
  });
960
954
  }
961
955
  };
962
956
  }
963
- runtimeItemProcessor(e, t, s = this.model.value, i) {
964
- var ie, ne, oe, ae, le, ue, fe, ce, de, pe, he, me, ge, be, ve, ye, _e;
957
+ runtimeItemProcessor(e, t, i = this.model.value, s) {
958
+ var se, ne, oe, ae, le, ue, fe, ce, de, pe, he, me, ge, ve, be, ye, _e;
965
959
  const n = x(e.component);
966
960
  if (!n)
967
961
  return;
968
- (ne = (ie = e.native) == null ? void 0 : ie.props) != null && ne.Form && b(this.globalNativeFormOverride.props.Form, (ae = (oe = e.native) == null ? void 0 : oe.props) == null ? void 0 : ae.Form), (ue = (le = e.native) == null ? void 0 : le.slots) != null && ue.Form && b(this.globalNativeFormOverride.slots.Form, (ce = (fe = e.native) == null ? void 0 : fe.slots) == null ? void 0 : ce.Form);
969
- const a = b(C((pe = (de = this.native) == null ? void 0 : de.slots) == null ? void 0 : pe.FormItem) ?? {}, (me = (he = e.native) == null ? void 0 : he.slots) == null ? void 0 : me.FormItem), u = {
962
+ (ne = (se = e.native) == null ? void 0 : se.props) != null && ne.Form && v(this.globalNativeFormOverride.props.Form, (ae = (oe = e.native) == null ? void 0 : oe.props) == null ? void 0 : ae.Form), (ue = (le = e.native) == null ? void 0 : le.slots) != null && ue.Form && v(this.globalNativeFormOverride.slots.Form, (ce = (fe = e.native) == null ? void 0 : fe.slots) == null ? void 0 : ce.Form);
963
+ const a = v(P((pe = (de = this.native) == null ? void 0 : de.slots) == null ? void 0 : pe.FormItem) ?? {}, (me = (he = e.native) == null ? void 0 : he.slots) == null ? void 0 : me.FormItem), u = {
970
964
  display: "grid",
971
965
  gridColumn: "1 / -1",
972
966
  ...e.grid
973
- }, f = b(C((be = (ge = this.native) == null ? void 0 : ge.props) == null ? void 0 : be.FormItem) ?? {}, (ye = (ve = e.native) == null ? void 0 : ve.props) == null ? void 0 : ye.FormItem), d = this.runtimeAdapter.getRuntimeField({
967
+ }, f = v(P((ve = (ge = this.native) == null ? void 0 : ge.props) == null ? void 0 : ve.FormItem) ?? {}, (ye = (be = e.native) == null ? void 0 : be.props) == null ? void 0 : ye.FormItem), d = this.runtimeAdapter.getRuntimeField({
974
968
  schema: e,
975
- parentSchema: i,
969
+ parentSchema: s,
976
970
  index: t
977
- }), p = n.name, h = e.componentProps ?? {}, v = I.placeholderPresetByComponentName;
971
+ }), p = n.name, h = e.componentProps ?? {}, b = I.placeholderPresetByComponentName;
978
972
  let S = e.placeholder, y = e.show;
979
973
  y === void 0 && (y = !0);
980
974
  let g = e.label ?? "", O;
981
- if (e.runtime ? O = e.runtime : O = (i == null ? void 0 : i.runtime) ?? this.runtime, !o.isUndefined(t) && !o.isObjectEmpty(O) && (g = Z((_e = O == null ? void 0 : O.customizeListItemLabel) == null ? void 0 : _e.call(O, e.label ?? "", t + 1), "")), !S) {
982
- let V = "请输入";
983
- o.isUndefined(p) ? S = `${V}${g}` : /* @ts-expect-error */ v[p.toLowerCase()] ? (V = // @ts-expect-error
984
- v[p.toLowerCase()], S = `${V}${g}`) : (Object.keys(v).forEach((Pe) => {
985
- p.toLowerCase().includes(Pe.toLowerCase()) && (V = v[Pe]);
986
- }), S = `${V}${g}`);
975
+ if (e.runtime ? O = e.runtime : O = (s == null ? void 0 : s.runtime) ?? this.runtime, !o.isUndefined(t) && !o.isObjectEmpty(O) && (g = Z((_e = O == null ? void 0 : O.customizeListItemLabel) == null ? void 0 : _e.call(O, e.label ?? "", t + 1), "")), !S) {
976
+ let q = "请输入";
977
+ o.isUndefined(p) ? S = `${q}${g}` : /* @ts-expect-error */ b[p.toLowerCase()] ? (q = // @ts-expect-error
978
+ b[p.toLowerCase()], S = `${q}${g}`) : (Object.keys(b).forEach((Pe) => {
979
+ p.toLowerCase().includes(Pe.toLowerCase()) && (q = b[Pe]);
980
+ }), S = `${q}${g}`);
987
981
  }
988
- const Ve = this.runtimeAdapter.getRuntimeRequired({
982
+ const qe = this.runtimeAdapter.getRuntimeRequired({
989
983
  ...e,
990
984
  label: g
991
- }), Ne = j.getItemContainer(this), qe = j.getFormItemContainer(this), Ue = this, Te = e.componentSlots;
985
+ }), Ne = j.getItemContainer(this), $e = j.getFormItemContainer(this), Ue = this, Te = e.componentSlots;
992
986
  return m("div", {
993
987
  style: u
994
988
  }, [m(Ne, {
995
989
  show: y
996
990
  }, {
997
991
  default() {
998
- return y && m(qe, q(f, {
992
+ return y && m($e, $(f, {
999
993
  label: `${g ? `${g}:` : ""}`
1000
- }, d, Ve), {
994
+ }, d, qe), {
1001
995
  default() {
1002
996
  return Ue.runtimeAdapter.formComponentRenderer({
1003
997
  Component: n,
1004
998
  schema: e,
1005
- baseModel: s,
999
+ baseModel: i,
1006
1000
  placeholder: S,
1007
1001
  componentSlots: Te,
1008
1002
  props: h
@@ -1015,23 +1009,23 @@ class yr {
1015
1009
  }
1016
1010
  runtimeGroupProcessor(e) {
1017
1011
  let t;
1018
- const s = {
1012
+ const i = {
1019
1013
  display: "grid",
1020
1014
  gridColumn: "1 / -1",
1021
1015
  ...e.grid
1022
- }, i = j.getGroupContainer(this);
1016
+ }, s = j.getGroupContainer(this);
1023
1017
  let n = e.show;
1024
1018
  return n === void 0 && (n = !0), m("div", {
1025
- style: s
1026
- }, [n && m(i, {
1019
+ style: i
1020
+ }, [n && m(s, {
1027
1021
  schema: e
1028
- }, vr(t = e.children.map((a) => this.runtimeItemProcessor(a))) ? t : {
1022
+ }, br(t = e.children.map((a) => this.runtimeItemProcessor(a))) ? t : {
1029
1023
  default: () => [t]
1030
1024
  })]);
1031
1025
  }
1032
1026
  addListItem(e) {
1033
1027
  var t;
1034
- console.log("this", this.processor.stableModel, e.field), (t = this.processor.stableModel[e.field]) != null && t[0] && this.model.value[e.field].push(C(this.processor.stableModel[e.field][0])), this.runtimeAdapter.clearValidate(this);
1028
+ console.log("this", this.processor.stableModel, e.field), (t = this.processor.stableModel[e.field]) != null && t[0] && this.model.value[e.field].push(P(this.processor.stableModel[e.field][0])), this.runtimeAdapter.clearValidate(this);
1035
1029
  }
1036
1030
  deleteListItem(e, t) {
1037
1031
  this.model.value[e.field].splice(t, 1), this.runtimeAdapter.clearValidate(this);
@@ -1041,20 +1035,20 @@ class yr {
1041
1035
  display: "grid",
1042
1036
  gridColumn: "1 / -1",
1043
1037
  ...e.grid
1044
- }, s = this;
1045
- s.model.value[e.field] || (s.model.value[e.field] = [{}]);
1046
- let i = e.show;
1047
- i === void 0 && (i = !0);
1038
+ }, i = this;
1039
+ i.model.value[e.field] || (i.model.value[e.field] = [{}]);
1040
+ let s = e.show;
1041
+ s === void 0 && (s = !0);
1048
1042
  const n = j.getListContainer(this), a = j.getListItemContainer(this);
1049
1043
  return m("div", {
1050
1044
  style: t
1051
- }, [i && m(n, {
1045
+ }, [s && m(n, {
1052
1046
  schema: e
1053
1047
  }, {
1054
1048
  default() {
1055
- return s.model.value[e.field].map((u, f) => m(a, null, {
1049
+ return i.model.value[e.field].map((u, f) => m(a, null, {
1056
1050
  default() {
1057
- return e.children.map((d) => s.runtimeItemProcessor(d, f, u, e));
1051
+ return e.children.map((d) => i.runtimeItemProcessor(d, f, u, e));
1058
1052
  },
1059
1053
  delete({
1060
1054
  container: d
@@ -1062,8 +1056,8 @@ class yr {
1062
1056
  var h;
1063
1057
  const p = d ?? m("button", null, null);
1064
1058
  return He(m(p, {
1065
- onClick: () => s.deleteListItem(e, f)
1066
- }, null), [[De, ((h = s.model.value[e.field]) == null ? void 0 : h.length) > 1]]);
1059
+ onClick: () => i.deleteListItem(e, f)
1060
+ }, null), [[De, ((h = i.model.value[e.field]) == null ? void 0 : h.length) > 1]]);
1067
1061
  }
1068
1062
  }));
1069
1063
  },
@@ -1072,7 +1066,7 @@ class yr {
1072
1066
  } = {}) {
1073
1067
  const f = u ?? m("button", null, [Ge("添加")]);
1074
1068
  return m(f, {
1075
- onClick: () => s.addListItem(e)
1069
+ onClick: () => i.addListItem(e)
1076
1070
  }, null);
1077
1071
  }
1078
1072
  })]);
@@ -1087,8 +1081,8 @@ class yr {
1087
1081
  gridColumn: "1 / -1",
1088
1082
  gridAutoColumns: "1fr",
1089
1083
  ...this.grid
1090
- }, t = this, s = b(this.globalNativeFormOverride.props.Form, C((f = (u = this.native) == null ? void 0 : u.props) == null ? void 0 : f.Form) ?? {}), i = b(this.globalNativeFormOverride.slots.Form, C((p = (d = this.native) == null ? void 0 : d.slots) == null ? void 0 : p.Form) ?? {}), n = j.getFormContainer(this), a = this.runtimeAdapter.getFormModelPropName();
1091
- return m(n, q(s, {
1084
+ }, t = this, i = v(this.globalNativeFormOverride.props.Form, P((f = (u = this.native) == null ? void 0 : u.props) == null ? void 0 : f.Form) ?? {}), s = v(this.globalNativeFormOverride.slots.Form, P((p = (d = this.native) == null ? void 0 : d.slots) == null ? void 0 : p.Form) ?? {}), n = j.getFormContainer(this), a = this.runtimeAdapter.getFormModelPropName();
1085
+ return m(n, $(i, {
1092
1086
  ref: this.formRef
1093
1087
  }, {
1094
1088
  [a]: this.model.value
@@ -1098,18 +1092,18 @@ class yr {
1098
1092
  style: e
1099
1093
  }, [t.runtimeProcessor(t.schemas.value)]);
1100
1094
  },
1101
- ...i
1095
+ ...s
1102
1096
  });
1103
1097
  }
1104
1098
  }
1105
1099
  class c {
1106
1100
  static getPreset(e) {
1107
- var t, s, i;
1108
- return (s = (t = this.presets.uiPresets) == null ? void 0 : t[e]) != null && s.extend ? this.presets.uiPresets[(i = this.presets.uiPresets[e]) == null ? void 0 : i.extend] : this.presets.uiPresets[e];
1101
+ var t, i, s;
1102
+ return (i = (t = this.presets.uiPresets) == null ? void 0 : t[e]) != null && i.extend ? this.presets.uiPresets[(s = this.presets.uiPresets[e]) == null ? void 0 : s.extend] : this.presets.uiPresets[e];
1109
1103
  }
1110
1104
  static getUI(e) {
1111
- var t, s, i;
1112
- return (s = (t = this.presets.uiPresets) == null ? void 0 : t[e]) != null && s.extend ? (i = this.presets.uiPresets[e]) == null ? void 0 : i.extend : e;
1105
+ var t, i, s;
1106
+ return (i = (t = this.presets.uiPresets) == null ? void 0 : t[e]) != null && i.extend ? (s = this.presets.uiPresets[e]) == null ? void 0 : s.extend : e;
1113
1107
  }
1114
1108
  }
1115
1109
  l(c, "presets");
@@ -1131,24 +1125,25 @@ const _r = {
1131
1125
  };
1132
1126
  },
1133
1127
  getRuntimeRequired(r) {
1134
- var e;
1128
+ var t;
1129
+ let e = `${r.label}是必填项`;
1135
1130
  if (r.required)
1136
- if (!r.rules)
1131
+ if (o.isString(r.required) && (e = r.required), !r.rules)
1137
1132
  r.rules = [], r.rules.push({
1138
1133
  required: !0,
1139
- message: `${r.label}是必填项`
1134
+ message: e
1140
1135
  });
1141
1136
  else {
1142
- const t = r.rules.findIndex((s) => !o.isUndefined(s.required));
1143
- t !== -1 ? (r.rules[t].required = !0, r.rules[t].message = `${r.label}是必填项`) : r.rules.unshift({
1137
+ const i = r.rules.findIndex((s) => !o.isUndefined(s.required));
1138
+ i !== -1 ? (r.rules[i].required = !0, r.rules[i].message = e) : r.rules.unshift({
1144
1139
  required: !0,
1145
- message: `${r.label}是必填项`
1140
+ message: e
1146
1141
  });
1147
1142
  }
1148
1143
  else
1149
- r.rules && ((e = r.rules) == null ? void 0 : e.findIndex((s) => !!s.required)) === -1 && r.rules.unshift({
1144
+ r.rules && ((t = r.rules) == null ? void 0 : t.findIndex((s) => !!s.required)) === -1 && r.rules.unshift({
1150
1145
  required: !0,
1151
- message: `${r.label}是必填项`
1146
+ message: e
1152
1147
  });
1153
1148
  return {
1154
1149
  rules: r.rules
@@ -1161,24 +1156,24 @@ const _r = {
1161
1156
  Component: r,
1162
1157
  baseModel: e,
1163
1158
  schema: t,
1164
- placeholder: s,
1165
- componentSlots: i,
1159
+ placeholder: i,
1160
+ componentSlots: s,
1166
1161
  props: n
1167
1162
  }) {
1168
1163
  let a;
1169
- return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, q({
1164
+ return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, $({
1170
1165
  modelValue: a,
1171
1166
  "onUpdate:modelValue": (u) => {
1172
- o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
1167
+ o.isFunction(t.field) ? _(e, t.field(), u) : e[t.field] = u;
1173
1168
  },
1174
- placeholder: s
1169
+ placeholder: i
1175
1170
  }, n), {
1176
- ...i
1171
+ ...s
1177
1172
  });
1178
1173
  },
1179
1174
  validateForm(r) {
1180
1175
  return new Promise((e, t) => {
1181
- r.runtimeCore.formRef.value.validate((s) => s ? t(s) : e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))));
1176
+ r.runtimeCore.formRef.value.validate((i) => i ? t(i) : e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))));
1182
1177
  });
1183
1178
  },
1184
1179
  clearValidate(r) {
@@ -1196,27 +1191,26 @@ const _r = {
1196
1191
  };
1197
1192
  },
1198
1193
  getRuntimeRequired(r) {
1199
- var e;
1194
+ var t;
1195
+ let e = `${r.label}是必填项`;
1200
1196
  if (r.required)
1201
- if (!r.rules)
1197
+ if (o.isString(r.required) && (e = r.required), !r.rules)
1202
1198
  r.rules = [], r.rules.push({
1203
1199
  required: !0,
1204
- message: `${r.label}是必填项`
1200
+ message: e
1205
1201
  });
1206
1202
  else {
1207
- const t = r.rules.findIndex((s) => !o.isUndefined(s.required));
1208
- t !== -1 ? (r.rules[t].required = !0, r.rules[t].message = `${r.label}是必填项`) : r.rules.unshift({
1203
+ const i = r.rules.findIndex((s) => !o.isUndefined(s.required));
1204
+ i !== -1 ? (r.rules[i].required = !0, r.rules[i].message = e) : r.rules.unshift({
1209
1205
  required: !0,
1210
- message: `${r.label}是必填项`
1206
+ message: e
1211
1207
  });
1212
1208
  }
1213
- else if (r.rules) {
1214
- const t = (e = r.rules) == null ? void 0 : e.findIndex((s) => !!s.required);
1215
- t !== -1 ? r.rules[t].required = !1 : r.rules.unshift({
1209
+ else
1210
+ r.rules && ((t = r.rules) == null ? void 0 : t.findIndex((s) => !!s.required)) === -1 && r.rules.unshift({
1216
1211
  required: !0,
1217
- message: `${r.label}是必填项`
1212
+ message: e
1218
1213
  });
1219
- }
1220
1214
  return {
1221
1215
  rules: r.rules,
1222
1216
  required: r.required
@@ -1229,28 +1223,28 @@ const _r = {
1229
1223
  Component: r,
1230
1224
  baseModel: e,
1231
1225
  schema: t,
1232
- placeholder: s,
1233
- componentSlots: i,
1226
+ placeholder: i,
1227
+ componentSlots: s,
1234
1228
  props: n
1235
1229
  }) {
1236
1230
  let a;
1237
- return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, q({
1231
+ return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, $({
1238
1232
  modelValue: a,
1239
1233
  "onUpdate:modelValue": (u) => {
1240
- o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
1234
+ o.isFunction(t.field) ? _(e, t.field(), u) : e[t.field] = u;
1241
1235
  },
1242
- placeholder: s
1236
+ placeholder: i
1243
1237
  }, n), {
1244
- ...i
1238
+ ...s
1245
1239
  });
1246
1240
  },
1247
1241
  validateForm(r) {
1248
1242
  return new Promise((e, t) => {
1249
1243
  r.runtimeCore.formRef.value.validate().then(({
1250
- valid: s,
1251
- errors: i
1244
+ valid: i,
1245
+ errors: s
1252
1246
  }) => {
1253
- s ? e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))) : t(i);
1247
+ i ? e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))) : t(s);
1254
1248
  });
1255
1249
  });
1256
1250
  },
@@ -1269,30 +1263,29 @@ const _r = {
1269
1263
  };
1270
1264
  },
1271
1265
  getRuntimeRequired(r) {
1272
- var e;
1266
+ var t;
1267
+ let e = `${r.label}是必填项`;
1273
1268
  if (r.required)
1274
- if (!r.rules)
1269
+ if (o.isString(r.required) && (e = r.required), !r.rules)
1275
1270
  r.rules = [], r.rules.push({
1276
1271
  required: !0,
1277
- message: `${r.label}是必填项`,
1272
+ message: e,
1278
1273
  trigger: ["input", "blur"]
1279
1274
  });
1280
1275
  else {
1281
- const t = r.rules.findIndex((s) => !o.isUndefined(s.required));
1282
- t !== -1 ? (r.rules[t].required = !0, r.rules[t].message = `${r.label}是必填项`) : r.rules.unshift({
1276
+ const i = r.rules.findIndex((s) => !o.isUndefined(s.required));
1277
+ i !== -1 ? (r.rules[i].required = !0, r.rules[i].message = e) : r.rules.unshift({
1283
1278
  required: !0,
1284
- message: `${r.label}是必填项`,
1279
+ message: e,
1285
1280
  trigger: ["input", "blur"]
1286
1281
  });
1287
1282
  }
1288
- else if (r.rules) {
1289
- const t = (e = r.rules) == null ? void 0 : e.findIndex((s) => !!s.required);
1290
- t !== -1 ? r.rules[t].required = !1 : r.rules.unshift({
1283
+ else
1284
+ r.rules && ((t = r.rules) == null ? void 0 : t.findIndex((s) => !!s.required)) === -1 && r.rules.unshift({
1291
1285
  required: !0,
1292
- message: `${r.label}是必填项`,
1286
+ message: e,
1293
1287
  trigger: ["input", "blur"]
1294
1288
  });
1295
- }
1296
1289
  return {
1297
1290
  rule: r.rules
1298
1291
  };
@@ -1304,24 +1297,24 @@ const _r = {
1304
1297
  Component: r,
1305
1298
  baseModel: e,
1306
1299
  schema: t,
1307
- placeholder: s,
1308
- componentSlots: i,
1300
+ placeholder: i,
1301
+ componentSlots: s,
1309
1302
  props: n
1310
1303
  }) {
1311
1304
  let a;
1312
- return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, q({
1305
+ return o.isFunction(t.field) ? a = H(e, t.field()) : a = e[t.field], m(r, $({
1313
1306
  value: a,
1314
1307
  "onUpdate:value": (u) => {
1315
- o.isFunction(t.field) ? P(e, t.field(), u) : e[t.field] = u;
1308
+ o.isFunction(t.field) ? _(e, t.field(), u) : e[t.field] = u;
1316
1309
  },
1317
- placeholder: s
1310
+ placeholder: i
1318
1311
  }, n), {
1319
- ...i
1312
+ ...s
1320
1313
  });
1321
1314
  },
1322
1315
  validateForm(r) {
1323
1316
  return new Promise((e, t) => {
1324
- r.runtimeCore.formRef.value.validate((s) => s ? t(s) : e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))));
1317
+ r.runtimeCore.formRef.value.validate((i) => i ? t(i) : e(r.cleanFallbackFields(x(r.runtimeCore.processor.processedModel.value))));
1325
1318
  });
1326
1319
  },
1327
1320
  clearValidate(r) {
@@ -1335,9 +1328,9 @@ const _r = {
1335
1328
  请选择: ["select", "tree"],
1336
1329
  请输入: ["input"]
1337
1330
  }, t = {};
1338
- for (const s in e)
1339
- e[s].forEach((i) => {
1340
- t[i] = s;
1331
+ for (const i in e)
1332
+ e[i].forEach((s) => {
1333
+ t[s] = i;
1341
1334
  });
1342
1335
  return t;
1343
1336
  }
@@ -1400,7 +1393,7 @@ const I = {
1400
1393
  adapters: {
1401
1394
  ..._r
1402
1395
  }
1403
- }, Ir = /* @__PURE__ */ Ke({
1396
+ }, Cr = /* @__PURE__ */ Ke({
1404
1397
  props: {
1405
1398
  setup: {
1406
1399
  type: Function,
@@ -1428,7 +1421,7 @@ function Sr(r) {
1428
1421
  function Or(r) {
1429
1422
  c.presets = r;
1430
1423
  }
1431
- function se(r, e) {
1424
+ function ie(r, e) {
1432
1425
  return e === "native" && Object.defineProperty(r, "name", {
1433
1426
  value: `__proform_raw_${r.name}`,
1434
1427
  writable: !0
@@ -1441,30 +1434,30 @@ function se(r, e) {
1441
1434
  }), r;
1442
1435
  }
1443
1436
  function Er(r) {
1444
- return se(r, "native");
1437
+ return ie(r, "native");
1445
1438
  }
1446
- function Fr(r) {
1439
+ function wr(r) {
1447
1440
  return r.__proform_raw_object = !0, r;
1448
1441
  }
1449
- function wr(r) {
1450
- return se(r, "onetime");
1442
+ function Fr(r) {
1443
+ return ie(r, "onetime");
1451
1444
  }
1452
1445
  function jr(r) {
1453
1446
  function e() {
1454
1447
  return r;
1455
1448
  }
1456
- return se(
1449
+ return ie(
1457
1450
  e,
1458
1451
  "structured_path_parsing_mark"
1459
1452
  );
1460
1453
  }
1461
1454
  export {
1462
- Ir as ProForm,
1455
+ Cr as ProForm,
1463
1456
  Er as markNativeFunction,
1464
- Fr as markNativeObject,
1465
- wr as markOnetimeFunction,
1457
+ wr as markNativeObject,
1458
+ Fr as markOnetimeFunction,
1466
1459
  jr as markStructuredPathParsing,
1467
1460
  Sr as useForm,
1468
1461
  Or as useFormPresetConfigurer,
1469
- se as useModifiers
1462
+ ie as useModifiers
1470
1463
  };