@harbor-design/proform 1.1.26 → 1.1.27

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 +17 -15
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- var oe = Object.defineProperty;
2
- var ne = (r, e, t) => e in r ? oe(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
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 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";
1
+ var re = Object.defineProperty;
2
+ var ie = (r, e, t) => e in r ? re(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var a = (r, e, t) => (ie(r, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import { isRef as x, watch as I, isReactive as z, toRaw as j, nextTick as w, ref as q, reactive as oe, createVNode as p, mergeProps as R, 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);
@@ -469,7 +469,7 @@ class me {
469
469
  });
470
470
  a(this, "formRef", q(null));
471
471
  a(this, "hydrateEffect", new N());
472
- a(this, "native", le({}));
472
+ a(this, "native", oe({}));
473
473
  a(this, "grid", {});
474
474
  a(this, "runtime", {});
475
475
  a(this, "globalNativeFormOverride", {
@@ -529,31 +529,33 @@ class me {
529
529
  y.toLowerCase().includes(Y.toLowerCase()) && (E = C[Y]);
530
530
  }), v = `${E}${h}`);
531
531
  }
532
- const ee = this.runtimeAdapter.getRuntimeRequired({
532
+ const Z = this.runtimeAdapter.getRuntimeRequired({
533
533
  ...e,
534
534
  label: h
535
- }), te = F.getItemContainer(this), se = F.getFormItemContainer(this), re = this, ie = e.componentSlots;
535
+ }), A = F.getItemContainer(this), ee = F.getFormItemContainer(this), te = this, se = e.componentSlots;
536
536
  return p("div", {
537
537
  style: u
538
- }, [Z(p(te, null, {
538
+ }, [p(A, {
539
+ show: P
540
+ }, {
539
541
  default() {
540
- return p(se, R(c, {
542
+ return p(ee, R(c, {
541
543
  label: `${h ? `${h}:` : ""}`
542
- }, d, ee), {
544
+ }, d, Z), {
543
545
  default() {
544
- return re.runtimeAdapter.formComponentRenderer({
546
+ return te.runtimeAdapter.formComponentRenderer({
545
547
  Component: o,
546
548
  schema: e,
547
549
  baseModel: s,
548
550
  placeholder: v,
549
- componentSlots: ie,
551
+ componentSlots: se,
550
552
  props: O
551
553
  });
552
554
  },
553
555
  ...n
554
556
  });
555
557
  }
556
- }), [[A, P]])]);
558
+ })]);
557
559
  }
558
560
  runtimeGroupProcessor(e) {
559
561
  let t;
@@ -605,9 +607,9 @@ class me {
605
607
  } = {}) {
606
608
  var y;
607
609
  const d = c ?? p("button", null, null);
608
- return Z(p(d, {
610
+ return ne(p(d, {
609
611
  onClick: () => s.deleteListItem(e, u)
610
- }, null), [[A, ((y = s.model.value[e.field]) == null ? void 0 : y.length) > 1]]);
612
+ }, null), [[le, ((y = s.model.value[e.field]) == null ? void 0 : y.length) > 1]]);
611
613
  }
612
614
  }));
613
615
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",