@zyui/components 0.0.132 → 0.0.134

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
@@ -3,7 +3,7 @@ var Fpe = (o, s, i) => s in o ? Bpe(o, s, { enumerable: !0, configurable: !0, wr
3
3
  var fu = (o, s, i) => Fpe(o, typeof s != "symbol" ? s + "" : s, i);
4
4
  import { defineComponent as Ko, reactive as d$, provide as Jm, inject as Qm, ref as dn, watch as Wo, toValue as ht, computed as $n, openBlock as ct, createElementBlock as on, createElementVNode as Vt, mergeModels as ca, useModel as fr, Fragment as er, renderList as ta, createVNode as fn, unref as Ne, withCtx as xn, createCommentVNode as Po, toDisplayString as Ss, createTextVNode as Fs, createBlock as Co, withDirectives as KU, mergeProps as cm, resolveComponent as Z4, isRef as op, onUnmounted as ud, watchEffect as Bue, onMounted as Ii, onBeforeUnmount as f$, nextTick as qc, toRefs as oC, getCurrentScope as Zoe, onScopeDispose as LR, renderSlot as Fr, normalizeStyle as wl, onActivated as Lpe, onDeactivated as Hpe, h as qa, withModifiers as sC, Teleport as Goe, normalizeClass as ci, resolveDynamicComponent as U2, normalizeProps as Fue, guardReactiveProps as Lue, createPropsRestProxy as Vpe, toRef as li, effectScope as Hue, getCurrentInstance as rC, useSlots as zpe, onBeforeMount as Upe, useAttrs as jpe, isMemoSame as Wpe, customRef as Zpe, markRaw as HR, readonly as Gpe, createStaticVNode as qpe, createSlots as Vue, withKeys as gI } from "vue";
5
5
  import { ElImage as by, ElIcon as Kg, ElPopover as SE, ElForm as aC, ElFormItem as Ym, ElInput as Jg, ElButton as Fu, ElScrollbar as XU, ElLoadingDirective as qoe, ElSelect as gE, ElOption as hE, ElDialog as JU, ElTabs as zue, ElTabPane as Uue, useFormItem as Ype, ClickOutside as Kpe, ElTooltip as QU, ElTable as Xpe, ElTableColumn as _z, ElCheckbox as yy, ElMessageBox as Jpe, ElRadioGroup as jue, ElRadio as J2, ElTree as Wue } from "element-plus";
6
- const Qpe = "0.0.132";
6
+ const Qpe = "0.0.134";
7
7
  var e1e = Object.defineProperty, t1e = (o, s, i) => s in o ? e1e(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i, Rte = (o, s, i) => t1e(o, typeof s != "symbol" ? s + "" : s, i);
8
8
  function Zue(o, s) {
9
9
  return function() {
@@ -80870,7 +80870,8 @@ const Phe = {
80870
80870
  const W = ((Z = (X = w == null ? void 0 : w.value) == null ? void 0 : X.data) == null ? void 0 : Z.type) || ((j = w == null ? void 0 : w.value) == null ? void 0 : j.type), G = ((F = I == null ? void 0 : I.defaultData) == null ? void 0 : F.type) || (I == null ? void 0 : I.type);
80871
80871
  return {
80872
80872
  title: w != null && w.value ? `设为${I == null ? void 0 : I.name}` : I == null ? void 0 : I.name,
80873
- disabled: W === G || ((fe = w == null ? void 0 : w.value) == null ? void 0 : fe.isSystem),
80873
+ // 条件分支不能被修改,其他节点也不能被编辑成为条件分支
80874
+ disabled: W === G || ((fe = w == null ? void 0 : w.value) == null ? void 0 : fe.isSystem) || (w == null ? void 0 : w.value) && (I == null ? void 0 : I.isSystem),
80874
80875
  actionHandler: async () => {
80875
80876
  var Ee;
80876
80877
  const { defaultData: Ke, ...Re } = I, q = await ((Ee = i == null ? void 0 : i.getNodeDefaultData) == null ? void 0 : Ee.call(i, Re)) || {};
@@ -80911,7 +80912,7 @@ const Phe = {
80911
80912
  }, Ss(G.title), 11, jUe))), 128))
80912
80913
  ], 4)) : Po("", !0);
80913
80914
  }
80914
- }, ZUe = /* @__PURE__ */ yi(WUe, [["__scopeId", "data-v-251565cc"]]), GUe = {}, qUe = { class: "w-[18px] h-[18px] bg-white rounded-full add-node-btn pointer-events-none" };
80915
+ }, ZUe = /* @__PURE__ */ yi(WUe, [["__scopeId", "data-v-9334be43"]]), GUe = {}, qUe = { class: "w-[18px] h-[18px] bg-white rounded-full add-node-btn pointer-events-none" };
80915
80916
  function YUe(o, s) {
80916
80917
  return ct(), on("div", qUe, s[0] || (s[0] = [
80917
80918
  Vt("div", { class: "i-bi:plus-circle text-[18px]" }, null, -1)