@harbor-design/proform 1.1.33 → 1.1.34
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 +13 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var a = (r, e, t) => (
|
|
4
|
-
import { isRef as q, watch as P, isReactive as N, nextTick as F, toRaw as S, ref as M, reactive as
|
|
1
|
+
var ie = Object.defineProperty;
|
|
2
|
+
var oe = (r, e, t) => e in r ? ie(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var a = (r, e, t) => (oe(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { isRef as q, watch as P, isReactive as N, nextTick as F, toRaw as S, ref as M, reactive as Z, createVNode as p, mergeProps as O, withDirectives as ne, vShow as le, 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);
|
|
@@ -502,14 +502,14 @@ class me {
|
|
|
502
502
|
});
|
|
503
503
|
a(this, "formRef", M(null));
|
|
504
504
|
a(this, "hydrateEffect", new _());
|
|
505
|
-
a(this, "native",
|
|
505
|
+
a(this, "native", Z({}));
|
|
506
506
|
a(this, "grid", {});
|
|
507
507
|
a(this, "runtime", {});
|
|
508
508
|
a(this, "globalNativeFormOverride", {
|
|
509
509
|
props: {},
|
|
510
510
|
slots: {}
|
|
511
511
|
});
|
|
512
|
-
a(this, "shared", {});
|
|
512
|
+
a(this, "shared", Z({}));
|
|
513
513
|
this.setup = e, this.processor = new de(this);
|
|
514
514
|
const t = this.setup(this);
|
|
515
515
|
if (this.ui = t.ui ?? f.presets.ui, this.runtimeAdapter = new pe(this.ui), q(t.schemas)) {
|
|
@@ -564,26 +564,26 @@ class me {
|
|
|
564
564
|
b.toLowerCase().includes(Y.toLowerCase()) && (R = I[Y]);
|
|
565
565
|
}), g = `${R}${m}`);
|
|
566
566
|
}
|
|
567
|
-
const
|
|
567
|
+
const A = this.runtimeAdapter.getRuntimeRequired({
|
|
568
568
|
...e,
|
|
569
569
|
label: m
|
|
570
|
-
}),
|
|
570
|
+
}), ee = E.getItemContainer(this), te = E.getFormItemContainer(this), se = this, re = e.componentSlots;
|
|
571
571
|
return p("div", {
|
|
572
572
|
style: c
|
|
573
|
-
}, [p(
|
|
573
|
+
}, [p(ee, {
|
|
574
574
|
show: y
|
|
575
575
|
}, {
|
|
576
576
|
default() {
|
|
577
|
-
return y && p(
|
|
577
|
+
return y && p(te, O(u, {
|
|
578
578
|
label: `${m ? `${m}:` : ""}`
|
|
579
|
-
}, d,
|
|
579
|
+
}, d, A), {
|
|
580
580
|
default() {
|
|
581
|
-
return
|
|
581
|
+
return se.runtimeAdapter.formComponentRenderer({
|
|
582
582
|
Component: o,
|
|
583
583
|
schema: e,
|
|
584
584
|
baseModel: s,
|
|
585
585
|
placeholder: g,
|
|
586
|
-
componentSlots:
|
|
586
|
+
componentSlots: re,
|
|
587
587
|
props: V
|
|
588
588
|
});
|
|
589
589
|
},
|