@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.
- package/dist/index.js +26 -21
- 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
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
this.defaultValueInprogressMap.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
this.
|
|
359
|
-
this.defaultValueInprogressMap.
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
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
|
|
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, (
|
|
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
|
|
961
|
+
let z = S;
|
|
957
962
|
const P = {
|
|
958
|
-
...
|
|
963
|
+
...z,
|
|
959
964
|
adapters: {
|
|
960
965
|
...ye
|
|
961
966
|
}
|