@zyui/components 0.0.87 → 0.0.88

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/es/index.mjs CHANGED
@@ -4,7 +4,7 @@ var cu = (o, r, i) => hhe(o, typeof r != "symbol" ? r + "" : r, i);
4
4
  import { defineComponent as Uo, reactive as gD, provide as gg, inject as hg, ref as cn, watch as zo, toValue as xt, computed as _n, openBlock as ut, createElementBlock as sn, createElementVNode as Vt, mergeModels as la, useModel as vr, Fragment as lr, renderList as ca, createVNode as fn, unref as De, withCtx as Cn, createCommentVNode as Mo, toDisplayString as Ls, createTextVNode as Gs, createBlock as mo, withDirectives as vz, mergeProps as Am, resolveComponent as J4, isRef as hp, onUnmounted as fd, watchEffect as fce, onMounted as Fi, onBeforeUnmount as hD, nextTick as ju, toRefs as sx, getCurrentScope as Rne, onScopeDispose as lR, renderSlot as Ir, normalizeStyle as Xl, onActivated as phe, onDeactivated as vhe, h as Ka, withModifiers as rx, Teleport as Ine, normalizeClass as Bi, vShow as bhe, resolveDynamicComponent as kE, createPropsRestProxy as yhe, toRef as gi, effectScope as mce, getCurrentInstance as ax, useSlots as whe, onBeforeMount as Che, useAttrs as xhe, isMemoSame as She, customRef as _he, markRaw as cR, readonly as Ehe, createStaticVNode as The, createSlots as gce, normalizeProps as khe, guardReactiveProps as Ahe, withKeys as NR } from "vue";
5
5
  import Dhe from "side-channel";
6
6
  import { ElImage as Ky, ElIcon as uh, ElPopover as MR, ElForm as ix, ElFormItem as dg, ElInput as fh, ElButton as Wu, ElScrollbar as bz, ElLoadingDirective as Pne, ElSelect as zE, ElOption as UE, ElDialog as yz, ElTabs as hce, ElTabPane as pce, useFormItem as Ohe, ElTable as $he, ElTableColumn as KH, ElCheckbox as Xy, ElMessageBox as Nhe, ElRadioGroup as vce, ElRadio as QC, ElTree as bce } from "element-plus";
7
- const Mhe = "0.0.87";
7
+ const Mhe = "0.0.88";
8
8
  var Rhe = Object.defineProperty, Ihe = (o, r, i) => r in o ? Rhe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i, Vee = (o, r, i) => Ihe(o, typeof r != "symbol" ? r + "" : r, i);
9
9
  function yce(o, r) {
10
10
  return function() {
@@ -71582,35 +71582,33 @@ const DNe = { class: "relative" }, ONe = ["innerHTML"], $Ne = /* @__PURE__ */ Uo
71582
71582
  emits: ["update:modelValue"],
71583
71583
  setup(o) {
71584
71584
  const r = o, i = vr(o, "modelValue"), u = qz(r == null ? void 0 : r.editorId), m = _n(() => {
71585
- var v, C, x, _, A, D;
71586
- if (((v = xt(h)) == null ? void 0 : v.length) > 0)
71587
- if ((x = (C = xt(h)) == null ? void 0 : C[0]) != null && x.element) {
71588
- const R = (A = (_ = xt(h)) == null ? void 0 : _[0]) == null ? void 0 : A.element.closest("body").querySelectorAll("table");
71589
- return ((D = Array.from(R)) == null ? void 0 : D.length) === 1;
71590
- } else
71591
- return !0;
71592
- else
71593
- return !0;
71594
- }), h = _n(() => {
71595
71585
  var v;
71596
71586
  return Ude(i.value, ((v = xt(u)) == null ? void 0 : v.renderNodes) || []);
71587
+ }), h = _n(() => {
71588
+ var v;
71589
+ return ((v = xt(m)) == null ? void 0 : v.length) > 0 ? !xt(m).some(
71590
+ (x) => {
71591
+ var _, A;
71592
+ return ((_ = x == null ? void 0 : x.min) == null ? void 0 : _.tableIndex) > 1 || ((A = x == null ? void 0 : x.max) == null ? void 0 : A.tableIndex) > 1;
71593
+ }
71594
+ ) : !0;
71597
71595
  });
71598
71596
  return (v, C) => (ut(), sn("div", PNe, [
71599
- (ut(!0), sn(lr, null, ca(h.value, (x, _) => {
71597
+ (ut(!0), sn(lr, null, ca(m.value, (x, _) => {
71600
71598
  var A, D, R;
71601
71599
  return ut(), sn("div", {
71602
71600
  key: _,
71603
71601
  class: "node-text-item"
71604
71602
  }, [
71605
71603
  (x == null ? void 0 : x.showTextType) === "input" ? (ut(), sn("span", BNe, " 填写" + Ls(x == null ? void 0 : x.inputIndex), 1)) : (ut(), sn("span", FNe, [
71606
- m.value ? Mo("", !0) : (ut(), sn("span", LNe, Ls(`表${(A = x == null ? void 0 : x.min) == null ? void 0 : A.tableIndex}.`), 1)),
71604
+ h.value ? Mo("", !0) : (ut(), sn("span", LNe, Ls(`表${(A = x == null ? void 0 : x.min) == null ? void 0 : A.tableIndex}.`), 1)),
71607
71605
  Gs(" " + Ls(((D = x == null ? void 0 : x.min) == null ? void 0 : D.id) === ((R = x == null ? void 0 : x.max) == null ? void 0 : R.id) ? De(tD)(x == null ? void 0 : x.min) : `${De(tD)(x == null ? void 0 : x.min)}:${De(tD)(x == null ? void 0 : x.max)}`), 1)
71608
71606
  ]))
71609
71607
  ]);
71610
71608
  }), 128))
71611
71609
  ]));
71612
71610
  }
71613
- }), Pie = /* @__PURE__ */ Li(HNe, [["__scopeId", "data-v-67e3a210"]]);
71611
+ }), Pie = /* @__PURE__ */ Li(HNe, [["__scopeId", "data-v-da41f195"]]);
71614
71612
  function Xde(o) {
71615
71613
  const { nodes: r, mode: i = "multiple" } = o, u = cn(!1), m = Soe();
71616
71614
  return {