tx-sider 2.3.5 → 2.3.7

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/lib/TXUI.mjs CHANGED
@@ -21003,6 +21003,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21003
21003
  removePadding: {
21004
21004
  type: Boolean,
21005
21005
  default: true
21006
+ },
21007
+ isScroll: {
21008
+ type: Boolean,
21009
+ default: true
21006
21010
  }
21007
21011
  },
21008
21012
  emits: ["cancelHandle", "update:show"],
@@ -21028,7 +21032,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21028
21032
  return openBlock(), createBlock(_component_a_modal, {
21029
21033
  wrapClassName: [
21030
21034
  __props.removePadding ? "" : "not-padding",
21031
- "module-class modal-components npm-class"
21035
+ __props.isScroll ? "module-class scroll-modal-components npm-class" : "module-class modal-components npm-class"
21032
21036
  ],
21033
21037
  visible: unref(inputV),
21034
21038
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
@@ -50817,7 +50821,7 @@ const _export_sfc = (sfc, props) => {
50817
50821
  }
50818
50822
  return target;
50819
50823
  };
50820
- const _withScopeId$2 = (n10) => (pushScopeId("data-v-ec6994d2"), n10 = n10(), popScopeId(), n10);
50824
+ const _withScopeId$2 = (n10) => (pushScopeId("data-v-50952b53"), n10 = n10(), popScopeId(), n10);
50821
50825
  const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
50822
50826
  const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
50823
50827
  const _hoisted_3$2 = {
@@ -50924,7 +50928,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50924
50928
  show: unref(inputV),
50925
50929
  "onUpdate:show": _cache[1] || (_cache[1] = ($event) => isRef(inputV) ? inputV.value = $event : null),
50926
50930
  onCancelHandle: moduleHandle,
50927
- "remove-padding": false
50931
+ "remove-padding": false,
50932
+ isScroll: false
50928
50933
  }, {
50929
50934
  title: withCtx(() => [
50930
50935
  createElementVNode("div", _hoisted_1$2, [
@@ -50993,7 +50998,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
50993
50998
  };
50994
50999
  }
50995
51000
  });
50996
- const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ec6994d2"]]);
51001
+ const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50952b53"]]);
50997
51002
  const index$6 = "";
50998
51003
  const index$5 = "";
50999
51004
  const index$4 = "";
@@ -55206,7 +55211,7 @@ const _sfc_main = {
55206
55211
  });
55207
55212
  const changeTab = (item, i2) => {
55208
55213
  activeKey.value = i2;
55209
- content.value = item;
55214
+ content.value = item ?? {};
55210
55215
  };
55211
55216
  watch(
55212
55217
  () => ccflowData.newVersionList,
@@ -55214,7 +55219,7 @@ const _sfc_main = {
55214
55219
  var _a3;
55215
55220
  console.log("ccflowData.newVersionList", ccflowData.newVersionList);
55216
55221
  tableData.value = ccflowData.newVersionList;
55217
- content.value = ccflowData.newVersionList[0];
55222
+ content.value = ccflowData.newVersionList[0] ?? {};
55218
55223
  isModuleVersionUpdate.value = ((_a3 = ccflowData.newVersionList) == null ? void 0 : _a3.length) ? true : false;
55219
55224
  },
55220
55225
  { deep: true }
@@ -55364,7 +55369,7 @@ const _sfc_main = {
55364
55369
  };
55365
55370
  }
55366
55371
  };
55367
- const _withScopeId = (n10) => (pushScopeId("data-v-c0cfbc04"), n10 = n10(), popScopeId(), n10);
55372
+ const _withScopeId = (n10) => (pushScopeId("data-v-04b8a38f"), n10 = n10(), popScopeId(), n10);
55368
55373
  const _hoisted_1 = {
55369
55374
  class: "bg-white defaultTS funcTC relative",
55370
55375
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -56484,7 +56489,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56484
56489
  }, 8, ["show"])
56485
56490
  ], 64);
56486
56491
  }
56487
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c0cfbc04"]]);
56492
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-04b8a38f"]]);
56488
56493
  const style = "";
56489
56494
  const components = [TSider];
56490
56495
  installComponents();