@harbor-design/proform 1.1.23 → 1.1.24

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.
Files changed (2) hide show
  1. package/dist/index.js +18 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var oe = Object.defineProperty;
2
2
  var ne = (r, e, t) => e in r ? oe(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var a = (r, e, t) => (ne(r, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { isRef as x, watch as I, isReactive as k, toRaw as j, nextTick as w, ref as q, reactive as le, createVNode as p, withDirectives as Z, mergeProps as R, vShow as A, createTextVNode as ae, isVNode as ue, defineComponent as ce } from "vue";
4
+ import { isRef as x, watch as I, isReactive as z, toRaw as j, nextTick as w, ref as q, reactive as le, createVNode as p, withDirectives as Z, mergeProps as R, vShow as A, createTextVNode as ae, isVNode as ue, defineComponent as ce } from "vue";
5
5
  class l {
6
6
  static typeChecker(e) {
7
7
  return {}.toString.call(e);
@@ -151,7 +151,7 @@ class fe {
151
151
  deep: !0,
152
152
  immediate: !0
153
153
  }
154
- ) : k(e) ? I(
154
+ ) : z(e) ? I(
155
155
  () => e,
156
156
  () => {
157
157
  m(this.runtimeCore.model.value, e);
@@ -299,13 +299,18 @@ class de {
299
299
  stable: u
300
300
  });
301
301
  };
302
- l.isFunction(t[i]) ? i !== "defaultValue" ? this.schemaEffect.trackEffect(() => {
303
- if (i === "component") {
304
- const u = t[i](this.getRuntimeMeta());
305
- this.promiseFieldParser(u, n, !1);
306
- } else
307
- this.fieldParser(t[i], n);
308
- }) : this.defaultValueEffect.trackEffect(
302
+ l.isFunction(t[i]) ? i !== "defaultValue" ? this.schemaEffect.trackEffect(
303
+ () => {
304
+ if (i === "component") {
305
+ const u = t[i](this.getRuntimeMeta());
306
+ this.promiseFieldParser(u, n, !1);
307
+ } else
308
+ this.fieldParser(t[i], n);
309
+ },
310
+ {
311
+ lazy: !1
312
+ }
313
+ ) : this.defaultValueEffect.trackEffect(
309
314
  () => {
310
315
  const u = this.schemaEffect.trackEffect(() => {
311
316
  /\{\s*model\s*\}/.test(t[i].toString()) ? this.fieldParser(t[i], (c) => {
@@ -370,7 +375,7 @@ class de {
370
375
  immediate: !0,
371
376
  deep: !0
372
377
  }
373
- ) : k(e) ? I(
378
+ ) : z(e) ? I(
374
379
  () => e,
375
380
  () => {
376
381
  l.isUndefined(e) || (s && l.isObject(e) ? this.objectParser({
@@ -481,7 +486,7 @@ class me {
481
486
  }, {
482
487
  deep: !0
483
488
  });
484
- } else if (k(t.schemas)) {
489
+ } else if (z(t.schemas)) {
485
490
  const s = I(() => t.schemas, () => {
486
491
  this.processor.parseSchemas(t.schemas), w(() => {
487
492
  s();
@@ -499,11 +504,11 @@ class me {
499
504
  };
500
505
  }
501
506
  runtimeItemProcessor(e, t, s = this.model.value, i) {
502
- var z, $, _, B, D, G, T, K, W, H, J, Q, X;
507
+ var k, $, _, B, D, G, T, K, W, H, J, Q, X;
503
508
  const o = j(e.component);
504
509
  if (!o)
505
510
  return;
506
- m(this.globalNativeFormOverride.props, ($ = (z = e.native) == null ? void 0 : z.props) == null ? void 0 : $.Form), m(this.globalNativeFormOverride.slots, (B = (_ = e.native) == null ? void 0 : _.slots) == null ? void 0 : B.Form);
511
+ m(this.globalNativeFormOverride.props, ($ = (k = e.native) == null ? void 0 : k.props) == null ? void 0 : $.Form), m(this.globalNativeFormOverride.slots, (B = (_ = e.native) == null ? void 0 : _.slots) == null ? void 0 : B.Form);
507
512
  const n = m(g((G = (D = this.native) == null ? void 0 : D.slots) == null ? void 0 : G.FormItem) ?? {}, (K = (T = e.native) == null ? void 0 : T.slots) == null ? void 0 : K.FormItem), u = {
508
513
  display: "grid",
509
514
  gridColumn: "1 / -1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",