@harbor-design/proform 1.1.37 → 1.1.38

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 +26 -21
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -345,23 +345,28 @@ class de {
345
345
  }
346
346
  ) : this.defaultValueEffect.trackEffect(
347
347
  () => {
348
- const c = this.schemaEffect.trackEffect(() => {
349
- /\{\s*model\s*\}/.test(t[i].toString()) ? this.fieldParser(t[i], (u) => {
350
- if (!u)
351
- return n(u);
352
- this.defaultValueInprogressMap.set(t[i], u), !l.isProcessInprogress(u) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
353
- this.defaultValueInprogressMap.values()
354
- ).every((d) => !d.includes("undefined")) ? (n(u), this.defaultValueEffect.clearEffects(), E(() => {
355
- c();
356
- })) : n(u);
357
- }) : this.fieldParser(t[i], (u) => {
358
- this.defaultValueInprogressMap.set(t[i], u), !l.isProcessInprogress(u) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
359
- this.defaultValueInprogressMap.values()
360
- ).every((d) => !d.includes("undefined")) ? (n(u), this.defaultValueEffect.clearEffects(), E(() => {
361
- c();
362
- })) : n(u);
363
- });
364
- });
348
+ const c = this.schemaEffect.trackEffect(
349
+ () => {
350
+ /\{\s*model\s*\}/.test(t[i].toString()) ? this.fieldParser(t[i], (u) => {
351
+ if (!u)
352
+ return n(u);
353
+ this.defaultValueInprogressMap.set(t[i], u), !l.isProcessInprogress(u) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
354
+ this.defaultValueInprogressMap.values()
355
+ ).every((d) => !d.includes("undefined")) ? (n(u), this.defaultValueEffect.clearEffects(), E(() => {
356
+ c();
357
+ })) : n(u);
358
+ }) : this.fieldParser(t[i], (u) => {
359
+ this.defaultValueInprogressMap.set(t[i], u), !l.isProcessInprogress(u) && this.defaultValueInprogressMap.size === this.baseDefaultValueFunctionsLength && Array.from(
360
+ this.defaultValueInprogressMap.values()
361
+ ).every((d) => !d.includes("undefined")) ? (n(u), this.defaultValueEffect.clearEffects(), E(() => {
362
+ c();
363
+ })) : n(u);
364
+ });
365
+ },
366
+ {
367
+ lazy: !1
368
+ }
369
+ );
365
370
  },
366
371
  {
367
372
  lazy: !1
@@ -564,11 +569,11 @@ class me {
564
569
  };
565
570
  }
566
571
  runtimeItemProcessor(e, t, s = this.model.value, i) {
567
- var x, z, $, B, D, G, T, W, K, H, J, Q, X;
572
+ var k, x, $, B, D, G, T, W, K, H, J, Q, X;
568
573
  const o = F(e.component);
569
574
  if (!o)
570
575
  return;
571
- h(this.globalNativeFormOverride.props, (z = (x = e.native) == null ? void 0 : x.props) == null ? void 0 : z.Form), h(this.globalNativeFormOverride.slots, (B = ($ = e.native) == null ? void 0 : $.slots) == null ? void 0 : B.Form);
576
+ h(this.globalNativeFormOverride.props, (x = (k = e.native) == null ? void 0 : k.props) == null ? void 0 : x.Form), h(this.globalNativeFormOverride.slots, (B = ($ = e.native) == null ? void 0 : $.slots) == null ? void 0 : B.Form);
572
577
  const n = h(C((G = (D = this.native) == null ? void 0 : D.slots) == null ? void 0 : G.FormItem) ?? {}, (W = (T = e.native) == null ? void 0 : T.slots) == null ? void 0 : W.FormItem), c = {
573
578
  display: "grid",
574
579
  gridColumn: "1 / -1",
@@ -953,9 +958,9 @@ a(S, "schemaPreset", {
953
958
  }
954
959
  }), // 基于基本功能提出基本预设
955
960
  a(S, "placeholderPresetByComponentName", S.getPlaceholderPrefixPresetByComponentName());
956
- let k = S;
961
+ let z = S;
957
962
  const P = {
958
- ...k,
963
+ ...z,
959
964
  adapters: {
960
965
  ...ye
961
966
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.1.37",
3
+ "version": "1.1.38",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",