3h1-ui 2.15.19 → 2.15.21

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 (5) hide show
  1. package/es/index.js +348 -270
  2. package/es/style.css +209 -112
  3. package/lib/index.js +348 -270
  4. package/lib/style.css +209 -112
  5. package/package.json +1 -1
package/es/index.js CHANGED
@@ -1272,7 +1272,7 @@ var CheckOutlined = function CheckOutlined2(props2, context) {
1272
1272
  CheckOutlined.displayName = "CheckOutlined";
1273
1273
  CheckOutlined.inheritAttrs = false;
1274
1274
  const CheckOutlined$1 = CheckOutlined;
1275
- var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" };
1275
+ var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
1276
1276
  const CloseOutlinedSvg = CloseOutlined$2;
1277
1277
  function _objectSpread$l(target) {
1278
1278
  for (var i = 1; i < arguments.length; i++) {
@@ -1852,7 +1852,7 @@ var PlusCircleOutlined = function PlusCircleOutlined2(props2, context) {
1852
1852
  PlusCircleOutlined.displayName = "PlusCircleOutlined";
1853
1853
  PlusCircleOutlined.inheritAttrs = false;
1854
1854
  const PlusCircleOutlined$1 = PlusCircleOutlined;
1855
- var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
1855
+ var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
1856
1856
  const PlusOutlinedSvg = PlusOutlined$2;
1857
1857
  function _objectSpread$4(target) {
1858
1858
  for (var i = 1; i < arguments.length; i++) {
@@ -2523,7 +2523,7 @@ function baseKeysIn(object) {
2523
2523
  }
2524
2524
  return result;
2525
2525
  }
2526
- function keysIn$1(object) {
2526
+ function keysIn(object) {
2527
2527
  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
2528
2528
  }
2529
2529
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
@@ -2913,7 +2913,7 @@ function baseAssign(object, source) {
2913
2913
  return object && copyObject(source, keys(source), object);
2914
2914
  }
2915
2915
  function baseAssignIn(object, source) {
2916
- return object && copyObject(source, keysIn$1(source), object);
2916
+ return object && copyObject(source, keysIn(source), object);
2917
2917
  }
2918
2918
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
2919
2919
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
@@ -2977,7 +2977,7 @@ function getAllKeys(object) {
2977
2977
  return baseGetAllKeys(object, keys, getSymbols$1);
2978
2978
  }
2979
2979
  function getAllKeysIn(object) {
2980
- return baseGetAllKeys(object, keysIn$1, getSymbolsIn$1);
2980
+ return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2981
2981
  }
2982
2982
  var DataView$1 = getNative(root$1, "DataView");
2983
2983
  const DataView$2 = DataView$1;
@@ -3202,9 +3202,10 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
3202
3202
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
3203
3203
  return false;
3204
3204
  }
3205
- var stacked = stack.get(array);
3206
- if (stacked && stack.get(other)) {
3207
- return stacked == other;
3205
+ var arrStacked = stack.get(array);
3206
+ var othStacked = stack.get(other);
3207
+ if (arrStacked && othStacked) {
3208
+ return arrStacked == other && othStacked == array;
3208
3209
  }
3209
3210
  var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
3210
3211
  stack.set(array, other);
@@ -3318,9 +3319,10 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
3318
3319
  return false;
3319
3320
  }
3320
3321
  }
3321
- var stacked = stack.get(object);
3322
- if (stacked && stack.get(other)) {
3323
- return stacked == other;
3322
+ var objStacked = stack.get(object);
3323
+ var othStacked = stack.get(other);
3324
+ if (objStacked && othStacked) {
3325
+ return objStacked == other && othStacked == object;
3324
3326
  }
3325
3327
  var result = true;
3326
3328
  stack.set(object, other);
@@ -3540,7 +3542,7 @@ function safeGet(object, key2) {
3540
3542
  return object[key2];
3541
3543
  }
3542
3544
  function toPlainObject(value) {
3543
- return copyObject(value, keysIn$1(value));
3545
+ return copyObject(value, keysIn(value));
3544
3546
  }
3545
3547
  function baseMergeDeep(object, source, key2, srcIndex, mergeFunc, customizer, stack) {
3546
3548
  var objValue = safeGet(object, key2), srcValue = safeGet(source, key2), stacked = stack.get(srcValue);
@@ -3600,7 +3602,7 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
3600
3602
  }
3601
3603
  assignMergeValue(object, key2, newValue);
3602
3604
  }
3603
- }, keysIn$1);
3605
+ }, keysIn);
3604
3606
  }
3605
3607
  function arrayIncludesWith(array, value, comparator) {
3606
3608
  var index2 = -1, length = array == null ? 0 : array.length;
@@ -3706,6 +3708,9 @@ function baseSet(object, path, value, customizer) {
3706
3708
  var index2 = -1, length = path.length, lastIndex = length - 1, nested = object;
3707
3709
  while (nested != null && ++index2 < length) {
3708
3710
  var key2 = toKey(path[index2]), newValue = value;
3711
+ if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
3712
+ return object;
3713
+ }
3709
3714
  if (index2 != lastIndex) {
3710
3715
  var objValue = nested[key2];
3711
3716
  newValue = customizer ? customizer(objValue, key2, nested) : void 0;
@@ -4195,7 +4200,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
4195
4200
  spin: "",
4196
4201
  class: "mr-1"
4197
4202
  }),
4198
- createTextVNode(" " + toDisplayString("请等待数据加载完成..."), 1)
4203
+ createTextVNode(" " + toDisplayString("请等待数据加载完成..."))
4199
4204
  ])
4200
4205
  ]),
4201
4206
  key: "1"
@@ -4612,7 +4617,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
4612
4617
  spin: "",
4613
4618
  class: "mr-1"
4614
4619
  }),
4615
- createTextVNode(" " + toDisplayString("请等待数据加载完成..."), 1)
4620
+ createTextVNode(" " + toDisplayString("请等待数据加载完成..."))
4616
4621
  ])
4617
4622
  ]),
4618
4623
  key: "1"
@@ -4802,7 +4807,7 @@ const _sfc_main$1l = defineComponent({
4802
4807
  };
4803
4808
  }
4804
4809
  });
4805
- const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
4810
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
4806
4811
  const _hoisted_1$z = ["data-score"];
4807
4812
  function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
4808
4813
  const _component_InputPassword = resolveComponent("InputPassword");
@@ -4834,7 +4839,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
4834
4839
  ], 2)
4835
4840
  ], 2);
4836
4841
  }
4837
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-c8d77eaa"]]);
4842
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$M], ["__scopeId", "data-v-678d40fd"]]);
4838
4843
  const _sfc_main$1k = defineComponent({
4839
4844
  name: "SvgIcon",
4840
4845
  props: {
@@ -4870,7 +4875,7 @@ const _sfc_main$1k = defineComponent({
4870
4875
  return { symbolId, prefixCls: prefixCls2, getStyle };
4871
4876
  }
4872
4877
  });
4873
- const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
4878
+ const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
4874
4879
  const _hoisted_1$y = ["xlink:href"];
4875
4880
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
4876
4881
  return openBlock(), createElementBlock("svg", {
@@ -4881,7 +4886,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
4881
4886
  createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$y)
4882
4887
  ], 6);
4883
4888
  }
4884
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-fa64fe87"]]);
4889
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$L], ["__scopeId", "data-v-905fa4a6"]]);
4885
4890
  const SVG_END_WITH_FLAG = "|svg";
4886
4891
  const _sfc_main$1j = defineComponent({
4887
4892
  name: "Icon",
@@ -5145,6 +5150,7 @@ createJavascriptTransition(
5145
5150
  "expand-transition",
5146
5151
  ExpandTransitionGenerator("")
5147
5152
  );
5153
+ const prefixCls$7 = "shy-basic-arrow";
5148
5154
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5149
5155
  __name: "BasicArrow",
5150
5156
  props: {
@@ -5167,13 +5173,12 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5167
5173
  },
5168
5174
  setup(__props) {
5169
5175
  const props2 = __props;
5170
- const prefixCls2 = "shy-basic-arrow";
5171
5176
  const getClass = computed(() => {
5172
5177
  const { expand, up, down, inset } = props2;
5173
5178
  return [
5174
- prefixCls2,
5179
+ prefixCls$7,
5175
5180
  {
5176
- [`${prefixCls2}--active`]: expand,
5181
+ [`${prefixCls$7}--active`]: expand,
5177
5182
  up,
5178
5183
  inset,
5179
5184
  down
@@ -5182,7 +5187,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5182
5187
  });
5183
5188
  return (_ctx, _cache) => {
5184
5189
  return openBlock(), createElementBlock("span", {
5185
- class: normalizeClass(unref(getClass))
5190
+ class: normalizeClass(getClass.value)
5186
5191
  }, [
5187
5192
  createVNode(unref(Icon2), {
5188
5193
  icon: "ion:chevron-forward",
@@ -5192,8 +5197,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
5192
5197
  };
5193
5198
  }
5194
5199
  });
5195
- const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
5196
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-03d87956"]]);
5200
+ const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
5201
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-fea26917"]]);
5197
5202
  const props$c = {
5198
5203
  /**
5199
5204
  * Help text max-width
@@ -5290,6 +5295,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
5290
5295
  }
5291
5296
  });
5292
5297
  const BasicHelp_vue_vue_type_style_index_0_lang$1 = "";
5298
+ const prefixCls$6 = "shy-basic-title";
5293
5299
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5294
5300
  __name: "BasicTitle",
5295
5301
  props: {
@@ -5314,29 +5320,28 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
5314
5320
  },
5315
5321
  setup(__props) {
5316
5322
  const props2 = __props;
5317
- const prefixCls2 = "shy-basic-title";
5318
5323
  const slots = useSlots();
5319
5324
  const getClass = computed(() => [
5320
- prefixCls2,
5321
- { [`${prefixCls2}-show-span`]: props2.span && slots.default },
5322
- { [`${prefixCls2}-normal`]: props2.normal }
5325
+ prefixCls$6,
5326
+ { [`${prefixCls$6}-show-span`]: props2.span && slots.default },
5327
+ { [`${prefixCls$6}-normal`]: props2.normal }
5323
5328
  ]);
5324
5329
  return (_ctx, _cache) => {
5325
5330
  return openBlock(), createElementBlock("span", {
5326
- class: normalizeClass(unref(getClass))
5331
+ class: normalizeClass(getClass.value)
5327
5332
  }, [
5328
5333
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
5329
5334
  __props.helpMessage ? (openBlock(), createBlock(_sfc_main$1g, {
5330
5335
  key: 0,
5331
- class: normalizeClass(`${prefixCls2}-help`),
5336
+ class: normalizeClass(`${prefixCls$6}-help`),
5332
5337
  text: __props.helpMessage
5333
5338
  }, null, 8, ["class", "text"])) : createCommentVNode("", true)
5334
5339
  ], 2);
5335
5340
  };
5336
5341
  }
5337
5342
  });
5338
- const BasicTitle_vue_vue_type_style_index_0_scoped_c007dbdf_lang = "";
5339
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-c007dbdf"]]);
5343
+ const BasicTitle_vue_vue_type_style_index_0_scoped_59bc8f76_lang = "";
5344
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-59bc8f76"]]);
5340
5345
  const props$b = {
5341
5346
  prefixCls: { type: String },
5342
5347
  helpMessage: {
@@ -5385,6 +5390,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
5385
5390
  }
5386
5391
  const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$I]]);
5387
5392
  const _hoisted_1$x = { class: "p-2" };
5393
+ const prefixCls$5 = "shy-collapse-container";
5388
5394
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5389
5395
  __name: "CollapseContainer",
5390
5396
  props: {
@@ -5411,25 +5417,24 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5411
5417
  */
5412
5418
  lazyTime: { type: Number, default: 0 }
5413
5419
  },
5414
- setup(__props, { expose }) {
5420
+ setup(__props, { expose: __expose }) {
5415
5421
  const props2 = __props;
5416
5422
  const show = ref(true);
5417
- const prefixCls2 = "shy-collapse-container";
5418
5423
  function handleExpand(val) {
5419
5424
  show.value = isNil(val) ? !show.value : val;
5420
5425
  if (props2.triggerWindowResize) {
5421
5426
  useTimeoutFn$2(triggerWindowResize, 200);
5422
5427
  }
5423
5428
  }
5424
- expose({
5429
+ __expose({
5425
5430
  handleExpand
5426
5431
  });
5427
5432
  return (_ctx, _cache) => {
5428
5433
  return openBlock(), createElementBlock("div", {
5429
- class: normalizeClass(prefixCls2)
5434
+ class: normalizeClass(prefixCls$5)
5430
5435
  }, [
5431
5436
  createVNode(CollapseHeader, mergeProps(props2, {
5432
- prefixCls: prefixCls2,
5437
+ prefixCls: prefixCls$5,
5433
5438
  show: show.value,
5434
5439
  onExpand: handleExpand
5435
5440
  }), {
@@ -5449,7 +5454,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5449
5454
  active: __props.loading
5450
5455
  }, null, 8, ["active"])) : withDirectives((openBlock(), createElementBlock("div", {
5451
5456
  key: 1,
5452
- class: normalizeClass(`${prefixCls2}__body`)
5457
+ class: normalizeClass(`${prefixCls$5}__body`)
5453
5458
  }, [
5454
5459
  renderSlot(_ctx.$slots, "default")
5455
5460
  ], 2)), [
@@ -5461,7 +5466,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5461
5466
  ]),
5462
5467
  _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
5463
5468
  key: 0,
5464
- class: normalizeClass(`${prefixCls2}__footer`)
5469
+ class: normalizeClass(`${prefixCls$5}__footer`)
5465
5470
  }, [
5466
5471
  renderSlot(_ctx.$slots, "footer")
5467
5472
  ], 2)) : createCommentVNode("", true)
@@ -6724,7 +6729,7 @@ const isString$2 = (val) => typeof val === "string";
6724
6729
  const clamp = (n, min, max) => Math.min(max, Math.max(min, n));
6725
6730
  const noop$1 = () => {
6726
6731
  };
6727
- isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6732
+ const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6728
6733
  function resolveUnref(r) {
6729
6734
  return typeof r === "function" ? r() : unref(r);
6730
6735
  }
@@ -6868,16 +6873,16 @@ function useEventListener(...args) {
6868
6873
  cleanups.forEach((fn) => fn());
6869
6874
  cleanups.length = 0;
6870
6875
  };
6871
- const register = (el, event, listener) => {
6872
- el.addEventListener(event, listener, options);
6873
- return () => el.removeEventListener(event, listener, options);
6876
+ const register = (el, event, listener, options2) => {
6877
+ el.addEventListener(event, listener, options2);
6878
+ return () => el.removeEventListener(event, listener, options2);
6874
6879
  };
6875
- const stopWatch = watch(() => unrefElement(target), (el) => {
6880
+ const stopWatch = watch(() => [unrefElement(target), resolveUnref(options)], ([el, options2]) => {
6876
6881
  cleanup();
6877
6882
  if (!el)
6878
6883
  return;
6879
6884
  cleanups.push(...events2.flatMap((event) => {
6880
- return listeners.map((listener) => register(el, event, listener));
6885
+ return listeners.map((listener) => register(el, event, listener, options2));
6881
6886
  }));
6882
6887
  }, { immediate: true, flush: "post" });
6883
6888
  const stop = () => {
@@ -6887,12 +6892,16 @@ function useEventListener(...args) {
6887
6892
  tryOnScopeDispose(stop);
6888
6893
  return stop;
6889
6894
  }
6895
+ let _iOSWorkaround = false;
6890
6896
  function onClickOutside(target, handler, options = {}) {
6891
6897
  const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;
6892
6898
  if (!window2)
6893
6899
  return;
6900
+ if (isIOS && !_iOSWorkaround) {
6901
+ _iOSWorkaround = true;
6902
+ Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop$1));
6903
+ }
6894
6904
  let shouldListen = true;
6895
- let fallback;
6896
6905
  const shouldIgnore = (event) => {
6897
6906
  return ignore.some((target2) => {
6898
6907
  if (typeof target2 === "string") {
@@ -6904,7 +6913,6 @@ function onClickOutside(target, handler, options = {}) {
6904
6913
  });
6905
6914
  };
6906
6915
  const listener = (event) => {
6907
- window2.clearTimeout(fallback);
6908
6916
  const el = unrefElement(target);
6909
6917
  if (!el || el === event.target || event.composedPath().includes(el))
6910
6918
  return;
@@ -6923,13 +6931,6 @@ function onClickOutside(target, handler, options = {}) {
6923
6931
  if (el)
6924
6932
  shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);
6925
6933
  }, { passive: true }),
6926
- useEventListener(window2, "pointerup", (e) => {
6927
- if (e.button === 0) {
6928
- const path = e.composedPath();
6929
- e.composedPath = () => path;
6930
- fallback = window2.setTimeout(() => listener(e), 50);
6931
- }
6932
- }, { passive: true }),
6933
6934
  detectIframe && useEventListener(window2, "blur", (event) => {
6934
6935
  var _a2;
6935
6936
  const el = unrefElement(target);
@@ -7087,17 +7088,17 @@ function useFullscreen(target, options = {}) {
7087
7088
  toggle
7088
7089
  };
7089
7090
  }
7090
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
7091
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
7092
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
7091
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
7092
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
7093
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
7093
7094
  var __objRest$1 = (source, exclude) => {
7094
7095
  var target = {};
7095
7096
  for (var prop in source)
7096
- if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
7097
+ if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
7097
7098
  target[prop] = source[prop];
7098
- if (source != null && __getOwnPropSymbols$7)
7099
- for (var prop of __getOwnPropSymbols$7(source)) {
7100
- if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))
7099
+ if (source != null && __getOwnPropSymbols$8)
7100
+ for (var prop of __getOwnPropSymbols$8(source)) {
7101
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
7101
7102
  target[prop] = source[prop];
7102
7103
  }
7103
7104
  return target;
@@ -7286,18 +7287,18 @@ const _hoisted_7$1 = {
7286
7287
  key: 0,
7287
7288
  class: "cursor-pointer px-2 py-1 flex items-center"
7288
7289
  };
7290
+ const prefixCls$4 = "shy-icon-picker";
7289
7291
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
7290
7292
  __name: "IconPicker",
7291
7293
  props: {
7292
- value: null,
7294
+ value: {},
7293
7295
  width: { default: "100%" },
7294
7296
  pageSize: { default: 140 },
7295
7297
  copy: { type: Boolean, default: false },
7296
7298
  mode: { default: "iconify" }
7297
7299
  },
7298
7300
  emits: ["change", "update:value"],
7299
- setup(__props, { emit }) {
7300
- const props2 = __props;
7301
+ setup(__props, { emit: __emit }) {
7301
7302
  const AInput = Input;
7302
7303
  const APopover = Popover;
7303
7304
  const APagination = Pagination;
@@ -7316,12 +7317,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
7316
7317
  function getSvgIcons() {
7317
7318
  return [];
7318
7319
  }
7320
+ const props2 = __props;
7321
+ const emit = __emit;
7319
7322
  const isSvgMode = props2.mode === "svg";
7320
7323
  const icons = isSvgMode ? getSvgIcons() : getIcons();
7321
7324
  const currentSelect = ref("");
7322
7325
  const visible = ref(false);
7323
7326
  const currentList = ref(icons);
7324
- const prefixCls2 = "shy-icon-picker";
7325
7327
  const debounceHandleSearchChange = useDebounceFn$1(handleSearchChange, 100);
7326
7328
  const { clipboardRef, isSuccessRef } = useCopyToClipboard(props2.value);
7327
7329
  const { createMessage } = useMessage();
@@ -7363,9 +7365,9 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
7363
7365
  return (_ctx, _cache) => {
7364
7366
  return openBlock(), createBlock(unref(AInput), {
7365
7367
  disabled: "",
7366
- style: normalizeStyle({ width: __props.width }),
7368
+ style: normalizeStyle({ width: _ctx.width }),
7367
7369
  placeholder: "点击选择图标",
7368
- class: normalizeClass(prefixCls2),
7370
+ class: normalizeClass(prefixCls$4),
7369
7371
  value: currentSelect.value,
7370
7372
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => currentSelect.value = $event)
7371
7373
  }, {
@@ -7375,7 +7377,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
7375
7377
  trigger: "click",
7376
7378
  modelValue: visible.value,
7377
7379
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
7378
- overlayClassName: `${prefixCls2}-popover`
7380
+ overlayClassName: `${prefixCls$4}-popover`
7379
7381
  }, {
7380
7382
  title: withCtx(() => [
7381
7383
  createElementVNode("div", _hoisted_1$u, [
@@ -7411,11 +7413,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
7411
7413
  ]),
7412
7414
  _: 1
7413
7415
  }),
7414
- unref(getTotal) >= __props.pageSize ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
7416
+ unref(getTotal) >= _ctx.pageSize ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
7415
7417
  createVNode(unref(APagination), {
7416
7418
  showLessItems: "",
7417
7419
  size: "small",
7418
- pageSize: __props.pageSize,
7420
+ pageSize: _ctx.pageSize,
7419
7421
  total: unref(getTotal),
7420
7422
  onChange: handlePageChange
7421
7423
  }, null, 8, ["pageSize", "total"])
@@ -7591,15 +7593,15 @@ const style$2 = "";
7591
7593
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
7592
7594
  __name: "Tinymce",
7593
7595
  props: {
7594
- value: null
7596
+ value: {}
7595
7597
  },
7596
7598
  emits: ["change", "input"],
7597
7599
  setup(__props) {
7598
- const props2 = __props;
7599
7600
  const Tinymce = defineAsyncComponent(async () => {
7600
7601
  const { Tinymce: Tinymce2 } = await import("@shy-plugins/tinymce");
7601
7602
  return Tinymce2;
7602
7603
  });
7604
+ const props2 = __props;
7603
7605
  const [state] = useRuleFormItem(props2);
7604
7606
  return (_ctx, _cache) => {
7605
7607
  return openBlock(), createBlock(unref(Tinymce), {
@@ -7646,9 +7648,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
7646
7648
  }
7647
7649
  },
7648
7650
  emits: ["update:value", "change", "add", "remove"],
7649
- setup(__props, { expose, emit }) {
7650
- const props2 = __props;
7651
+ setup(__props, { expose: __expose, emit: __emit }) {
7651
7652
  const formActionType = inject("formActionType");
7653
+ const emit = __emit;
7654
+ const props2 = __props;
7652
7655
  const emitData = ref([]);
7653
7656
  const [state] = useRuleFormItem(props2, "value", "change", emitData);
7654
7657
  const getColumns = computed(() => {
@@ -7800,10 +7803,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
7800
7803
  }
7801
7804
  };
7802
7805
  loadKv();
7803
- expose({ validate });
7806
+ __expose({ validate });
7804
7807
  return (_ctx, _cache) => {
7805
7808
  return openBlock(), createBlock(unref(Table), {
7806
- columns: unref(getColumns),
7809
+ columns: getColumns.value,
7807
7810
  "data-source": unref(state),
7808
7811
  pagination: false,
7809
7812
  bordered: "",
@@ -8764,6 +8767,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
8764
8767
  }
8765
8768
  });
8766
8769
  const BasicHelp_vue_vue_type_style_index_0_lang = "";
8770
+ const prefixCls$3 = "shy-basic-title";
8767
8771
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
8768
8772
  __name: "BasicTitle",
8769
8773
  props: {
@@ -8788,29 +8792,28 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
8788
8792
  },
8789
8793
  setup(__props) {
8790
8794
  const props2 = __props;
8791
- const prefixCls2 = "shy-basic-title";
8792
8795
  const slots = useSlots();
8793
8796
  const getClass = computed(() => [
8794
- prefixCls2,
8795
- { [`${prefixCls2}-show-span`]: props2.span && slots.default },
8796
- { [`${prefixCls2}-normal`]: props2.normal }
8797
+ prefixCls$3,
8798
+ { [`${prefixCls$3}-show-span`]: props2.span && slots.default },
8799
+ { [`${prefixCls$3}-normal`]: props2.normal }
8797
8800
  ]);
8798
8801
  return (_ctx, _cache) => {
8799
8802
  return openBlock(), createElementBlock("span", {
8800
- class: normalizeClass(unref(getClass))
8803
+ class: normalizeClass(getClass.value)
8801
8804
  }, [
8802
8805
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
8803
8806
  __props.helpMessage ? (openBlock(), createBlock(_sfc_main$10, {
8804
8807
  key: 0,
8805
- class: normalizeClass(`${prefixCls2}-help`),
8808
+ class: normalizeClass(`${prefixCls$3}-help`),
8806
8809
  text: __props.helpMessage
8807
8810
  }, null, 8, ["class", "text"])) : createCommentVNode("", true)
8808
8811
  ], 2);
8809
8812
  };
8810
8813
  }
8811
8814
  });
8812
- const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
8813
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a48f9d86"]]);
8815
+ const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
8816
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-fdc837af"]]);
8814
8817
  const _sfc_main$_ = defineComponent({
8815
8818
  name: "BasicModalHeader",
8816
8819
  components: { BasicTitle },
@@ -9430,8 +9433,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
9430
9433
  });
9431
9434
  const getBindValue = computed(() => ({ ...unref(attrs), ...props2 }));
9432
9435
  return (_ctx, _cache) => {
9433
- return openBlock(), createBlock(unref(Button$1), mergeProps(unref(getBindValue), {
9434
- class: unref(getButtonClass),
9436
+ return openBlock(), createBlock(unref(Button$1), mergeProps(getBindValue.value, {
9437
+ class: getButtonClass.value,
9435
9438
  onClick: props2.onClick
9436
9439
  }), {
9437
9440
  default: withCtx((data) => [
@@ -9518,13 +9521,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
9518
9521
  }
9519
9522
  },
9520
9523
  emits: ["menuEvent"],
9521
- setup(__props, { emit }) {
9522
- const props2 = __props;
9524
+ setup(__props, { emit: __emit }) {
9523
9525
  const ADropdown = Dropdown;
9524
9526
  const AMenu = Menu;
9525
9527
  const AMenuItem = Menu.Item;
9526
9528
  const AMenuDivider = Menu.Divider;
9527
9529
  const APopconfirm = Popconfirm;
9530
+ const props2 = __props;
9531
+ const emit = __emit;
9528
9532
  function handleClickMenu(item) {
9529
9533
  var _a2;
9530
9534
  const { event } = item;
@@ -9552,12 +9556,15 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
9552
9556
  return openBlock(), createElementBlock(Fragment, {
9553
9557
  key: `${item.event}`
9554
9558
  }, [
9555
- createVNode(unref(AMenuItem), mergeProps(getAttr(item.event), {
9559
+ createVNode(unref(AMenuItem), mergeProps({ ref_for: true }, getAttr(item.event), {
9556
9560
  onClick: ($event) => handleClickMenu(item),
9557
9561
  disabled: item.disabled
9558
9562
  }), {
9559
9563
  default: withCtx(() => [
9560
- __props.popconfirm && item.popConfirm ? (openBlock(), createBlock(unref(APopconfirm), normalizeProps(mergeProps({ key: 0 }, unref(getPopConfirmAttrs)(item.popConfirm))), createSlots({
9564
+ __props.popconfirm && item.popConfirm ? (openBlock(), createBlock(unref(APopconfirm), mergeProps({
9565
+ key: 0,
9566
+ ref_for: true
9567
+ }, getPopConfirmAttrs.value(item.popConfirm)), createSlots({
9561
9568
  default: withCtx(() => [
9562
9569
  createElementVNode("div", null, [
9563
9570
  item.icon ? (openBlock(), createBlock(unref(Icon2), {
@@ -9807,16 +9814,19 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
9807
9814
  return (_ctx, _cache) => {
9808
9815
  const _component_a_button = resolveComponent("a-button");
9809
9816
  return openBlock(), createElementBlock("div", {
9810
- class: normalizeClass([unref(prefixCls2), unref(getAlign)]),
9817
+ class: normalizeClass([unref(prefixCls2), getAlign.value]),
9811
9818
  onClick: onCellClick
9812
9819
  }, [
9813
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getActions), (action, index2) => {
9820
+ (openBlock(true), createElementBlock(Fragment, null, renderList(getActions.value, (action, index2) => {
9814
9821
  return openBlock(), createElementBlock(Fragment, {
9815
9822
  key: `${index2}-${action.label}`
9816
9823
  }, [
9817
- action.tooltip ? (openBlock(), createBlock(unref(Tooltip), normalizeProps(mergeProps({ key: 0 }, getTooltip(action.tooltip))), {
9824
+ action.tooltip ? (openBlock(), createBlock(unref(Tooltip), mergeProps({
9825
+ key: 0,
9826
+ ref_for: true
9827
+ }, getTooltip(action.tooltip)), {
9818
9828
  default: withCtx(() => [
9819
- createVNode(unref(_sfc_main$X), normalizeProps(guardReactiveProps(action)), {
9829
+ createVNode(unref(_sfc_main$X), mergeProps({ ref_for: true }, action), {
9820
9830
  default: withCtx(() => [
9821
9831
  action.icon ? (openBlock(), createBlock(unref(Icon2), {
9822
9832
  key: 0,
@@ -9831,7 +9841,10 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
9831
9841
  }, 1040)
9832
9842
  ]),
9833
9843
  _: 2
9834
- }, 1040)) : (openBlock(), createBlock(unref(_sfc_main$X), normalizeProps(mergeProps({ key: 1 }, action)), {
9844
+ }, 1040)) : (openBlock(), createBlock(unref(_sfc_main$X), mergeProps({
9845
+ key: 1,
9846
+ ref_for: true
9847
+ }, action), {
9835
9848
  default: withCtx(() => [
9836
9849
  action.icon ? (openBlock(), createBlock(unref(Icon2), {
9837
9850
  key: 0,
@@ -9844,17 +9857,17 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
9844
9857
  ]),
9845
9858
  _: 2
9846
9859
  }, 1040)),
9847
- __props.divider && index2 < unref(getActions).length - 1 ? (openBlock(), createBlock(unref(Divider$1), {
9860
+ __props.divider && index2 < getActions.value.length - 1 ? (openBlock(), createBlock(unref(Divider$1), {
9848
9861
  key: 2,
9849
9862
  type: "vertical",
9850
9863
  class: "action-divider"
9851
9864
  })) : createCommentVNode("", true)
9852
9865
  ], 64);
9853
9866
  }), 128)),
9854
- unref(getDropdownList).length > 0 ? (openBlock(), createBlock(unref(_sfc_main$W), {
9867
+ getDropdownList.value.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$W), {
9855
9868
  key: 0,
9856
9869
  trigger: ["hover"],
9857
- dropMenuList: unref(getDropdownList),
9870
+ dropMenuList: getDropdownList.value,
9858
9871
  popconfirm: ""
9859
9872
  }, {
9860
9873
  default: withCtx(() => [
@@ -10173,8 +10186,9 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
10173
10186
  }
10174
10187
  },
10175
10188
  emits: ["change", "register", "delete"],
10176
- setup(__props, { emit }) {
10189
+ setup(__props, { emit: __emit }) {
10177
10190
  const props2 = __props;
10191
+ const emit = __emit;
10178
10192
  const columns = createTableColumns();
10179
10193
  const actionColumn = createActionColumn(handleRemove);
10180
10194
  const isUploadingRef = ref(false);
@@ -10350,18 +10364,18 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
10350
10364
  maskClosable: false,
10351
10365
  keyboard: false,
10352
10366
  class: "upload-modal",
10353
- okButtonProps: unref(getOkButtonProps),
10367
+ okButtonProps: getOkButtonProps.value,
10354
10368
  cancelButtonProps: { disabled: isUploadingRef.value }
10355
10369
  }), {
10356
10370
  centerFooter: withCtx(() => [
10357
10371
  createVNode(_component_a_button, {
10358
10372
  onClick: handleStartUpload,
10359
10373
  color: "success",
10360
- disabled: !unref(getIsSelectFile),
10374
+ disabled: !getIsSelectFile.value,
10361
10375
  loading: isUploadingRef.value
10362
10376
  }, {
10363
10377
  default: withCtx(() => [
10364
- createTextVNode(toDisplayString(unref(getUploadBtnText)), 1)
10378
+ createTextVNode(toDisplayString(getUploadBtnText.value), 1)
10365
10379
  ]),
10366
10380
  _: 1
10367
10381
  }, 8, ["disabled", "loading"])
@@ -10411,8 +10425,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
10411
10425
  __name: "UploadPreviewModal",
10412
10426
  props: previewProps,
10413
10427
  emits: ["list-change", "register", "delete"],
10414
- setup(__props, { emit }) {
10428
+ setup(__props, { emit: __emit }) {
10415
10429
  const props2 = __props;
10430
+ const emit = __emit;
10416
10431
  const columns = createPreviewColumns();
10417
10432
  const actionColumn = createPreviewActionColumn({
10418
10433
  handleRemove,
@@ -10477,8 +10492,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10477
10492
  __name: "BasicUpload",
10478
10493
  props: uploadContainerProps,
10479
10494
  emits: ["change", "delete", "preview-delete", "update:value"],
10480
- setup(__props, { emit }) {
10495
+ setup(__props, { emit: __emit }) {
10481
10496
  const props2 = __props;
10497
+ const emit = __emit;
10482
10498
  const attrs = useAttrs$2();
10483
10499
  const { t: t2 } = useI18n$1();
10484
10500
  const [registerUploadModal, { openModal: openUploadModal }] = useModal();
@@ -10532,7 +10548,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10532
10548
  ]),
10533
10549
  _: 1
10534
10550
  }, 8, ["onClick"]),
10535
- unref(showPreview) ? (openBlock(), createBlock(unref(Tooltip), {
10551
+ showPreview.value ? (openBlock(), createBlock(unref(Tooltip), {
10536
10552
  key: 0,
10537
10553
  placement: "bottom"
10538
10554
  }, {
@@ -10558,7 +10574,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
10558
10574
  ]),
10559
10575
  _: 1
10560
10576
  }),
10561
- createVNode(_sfc_main$S, mergeProps(unref(bindValue), {
10577
+ createVNode(_sfc_main$S, mergeProps(bindValue.value, {
10562
10578
  previewFileList: fileList.value,
10563
10579
  fileListOpenDrag: _ctx.fileListOpenDrag,
10564
10580
  fileListDragOptions: _ctx.fileListDragOptions,
@@ -10585,7 +10601,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
10585
10601
  ...uploadContainerProps
10586
10602
  },
10587
10603
  emits: ["change", "update:value", "delete"],
10588
- setup(__props, { emit }) {
10604
+ setup(__props, { emit: __emit }) {
10605
+ const emit = __emit;
10589
10606
  const props2 = __props;
10590
10607
  const { t: t2 } = useI18n$1();
10591
10608
  const { createMessage } = useMessage();
@@ -10717,7 +10734,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
10717
10734
  return openBlock(), createElementBlock("div", null, [
10718
10735
  createVNode(unref(Upload), mergeProps(_ctx.$attrs, {
10719
10736
  "file-list": fileList.value,
10720
- "onUpdate:file-list": _cache[0] || (_cache[0] = ($event) => fileList.value = $event),
10737
+ "onUpdate:fileList": _cache[0] || (_cache[0] = ($event) => fileList.value = $event),
10721
10738
  "list-type": _ctx.listType,
10722
10739
  accept: unref(getStringAccept),
10723
10740
  multiple: _ctx.multiple,
@@ -12467,7 +12484,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
12467
12484
  return {
12468
12485
  name: item,
12469
12486
  fn: withCtx((data) => [
12470
- renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
12487
+ renderSlot(_ctx.$slots, item, mergeProps({ ref_for: true }, data || {}))
12471
12488
  ])
12472
12489
  };
12473
12490
  })
@@ -12767,10 +12784,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
12767
12784
  }
12768
12785
  },
12769
12786
  emits: ["strictly-change", "search"],
12770
- setup(__props, { emit }) {
12771
- const props2 = __props;
12787
+ setup(__props, { emit: __emit }) {
12772
12788
  const searchValue = ref("");
12773
12789
  const [bem] = createBEM("tree-header");
12790
+ const props2 = __props;
12791
+ const emit = __emit;
12774
12792
  const slots = useSlots();
12775
12793
  const { t: t2 } = useI18n$1();
12776
12794
  const getInputSearchCls = computed(() => {
@@ -12870,7 +12888,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
12870
12888
  _ctx.search || _ctx.toolbar ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
12871
12889
  _ctx.search ? (openBlock(), createElementBlock("div", {
12872
12890
  key: 0,
12873
- class: normalizeClass(unref(getInputSearchCls))
12891
+ class: normalizeClass(getInputSearchCls.value)
12874
12892
  }, [
12875
12893
  createVNode(unref(Input), {
12876
12894
  placeholder: unref(t2)("common.searchText"),
@@ -12887,11 +12905,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
12887
12905
  overlay: withCtx(() => [
12888
12906
  createVNode(unref(Menu), { onClick: handleMenuClick }, {
12889
12907
  default: withCtx(() => [
12890
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(toolbarList), (item) => {
12908
+ (openBlock(true), createElementBlock(Fragment, null, renderList(toolbarList.value, (item) => {
12891
12909
  return openBlock(), createElementBlock(Fragment, {
12892
12910
  key: item.value
12893
12911
  }, [
12894
- createVNode(unref(MenuItem), normalizeProps(guardReactiveProps({ key: item.value })), {
12912
+ createVNode(unref(MenuItem), mergeProps({ ref_for: true }, { key: item.value }), {
12895
12913
  default: withCtx(() => [
12896
12914
  createTextVNode(toDisplayString(item.label), 1)
12897
12915
  ]),
@@ -12914,10 +12932,15 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
12914
12932
  };
12915
12933
  }
12916
12934
  });
12917
- const TreeHeader_vue_vue_type_style_index_0_scoped_a0f20f9d_lang = "";
12918
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a0f20f9d"]]);
12919
- process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
12920
- process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
12935
+ const TreeHeader_vue_vue_type_style_index_0_scoped_6d3f2554_lang = "";
12936
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-6d3f2554"]]);
12937
+ /**
12938
+ * @vue/shared v3.4.30
12939
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12940
+ * @license MIT
12941
+ **/
12942
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
12943
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
12921
12944
  const isString = (val) => typeof val === "string";
12922
12945
  const TreeIcon = ({
12923
12946
  icon
@@ -13123,7 +13146,7 @@ function useTree(treeDataRef, getFieldNames) {
13123
13146
  function _isSlot$1(s) {
13124
13147
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
13125
13148
  }
13126
- const prefixCls$1 = "context-menu";
13149
+ const prefixCls$2 = "context-menu";
13127
13150
  const props$4 = {
13128
13151
  width: {
13129
13152
  type: Number,
@@ -13242,7 +13265,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13242
13265
  if (!children || children.length === 0) {
13243
13266
  return createVNode(Fragment, null, [createVNode(Menu.Item, {
13244
13267
  "disabled": disabled,
13245
- "class": `${prefixCls$1}__item`,
13268
+ "class": `${prefixCls$2}__item`,
13246
13269
  "key": label
13247
13270
  }, {
13248
13271
  default: () => [createVNode(ItemContent, contentProps, null)]
@@ -13255,7 +13278,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13255
13278
  return createVNode(Menu.SubMenu, {
13256
13279
  "key": label,
13257
13280
  "disabled": disabled,
13258
- "popupClassName": `${prefixCls$1}__popup`
13281
+ "popupClassName": `${prefixCls$2}__popup`
13259
13282
  }, {
13260
13283
  title: () => createVNode(ItemContent, contentProps, null),
13261
13284
  default: () => renderMenuItem(children)
@@ -13271,7 +13294,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13271
13294
  items
13272
13295
  } = props2;
13273
13296
  return createVNode("div", {
13274
- "class": prefixCls$1
13297
+ "class": prefixCls$2
13275
13298
  }, [createVNode(Menu, {
13276
13299
  "inlineIndent": 12,
13277
13300
  "mode": "vertical",
@@ -13764,10 +13787,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13764
13787
  }
13765
13788
  },
13766
13789
  emits: ["select"],
13767
- setup(__props, { expose, emit }) {
13768
- const props2 = __props;
13790
+ setup(__props, { expose: __expose, emit: __emit }) {
13769
13791
  const treeData = ref([]);
13770
13792
  const searchToolbar = ref(false);
13793
+ const emit = __emit;
13794
+ const props2 = __props;
13771
13795
  async function fetch() {
13772
13796
  const res = await props2.api();
13773
13797
  treeData.value = res;
@@ -13781,7 +13805,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13781
13805
  onMounted(() => {
13782
13806
  fetch();
13783
13807
  });
13784
- expose({ reload });
13808
+ __expose({ reload });
13785
13809
  return (_ctx, _cache) => {
13786
13810
  return openBlock(), createBlock(unref(_sfc_main$J), {
13787
13811
  title: "",
@@ -13804,7 +13828,7 @@ const _sfc_main$H = defineComponent({
13804
13828
  return { prefixCls: prefixCls2, getCalcContentWidth };
13805
13829
  }
13806
13830
  });
13807
- const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
13831
+ const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
13808
13832
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
13809
13833
  return openBlock(), createElementBlock("div", {
13810
13834
  class: normalizeClass(_ctx.prefixCls),
@@ -13823,7 +13847,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
13823
13847
  ], 2)
13824
13848
  ], 6);
13825
13849
  }
13826
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-b4695833"]]);
13850
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u], ["__scopeId", "data-v-44a47dbd"]]);
13827
13851
  const _sfc_main$G = defineComponent({
13828
13852
  name: "PageWrapper",
13829
13853
  components: { PageFooter, PageHeader },
@@ -14001,7 +14025,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
14001
14025
  ], 2);
14002
14026
  }
14003
14027
  const PageWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$t]]);
14004
- const prefixCls = "shy-basic-page-second";
14028
+ const prefixCls$1 = "shy-basic-page-second";
14005
14029
  const PageSecond = /* @__PURE__ */ defineComponent({
14006
14030
  props: {
14007
14031
  title: {
@@ -14046,20 +14070,20 @@ const PageSecond = /* @__PURE__ */ defineComponent({
14046
14070
  return () => {
14047
14071
  var _a2;
14048
14072
  return createVNode("div", {
14049
- "class": `${prefixCls}-wrapper`
14073
+ "class": `${prefixCls$1}-wrapper`
14050
14074
  }, [createVNode("div", {
14051
- "class": `${prefixCls}-header`
14075
+ "class": `${prefixCls$1}-header`
14052
14076
  }, [createVNode(ArrowLeftOutlined$1, {
14053
- "class": `${prefixCls}-header-icon`,
14077
+ "class": `${prefixCls$1}-header-icon`,
14054
14078
  "onClick": handleClick
14055
14079
  }, null), createVNode("div", {
14056
- "class": `${prefixCls}-header-title`
14080
+ "class": `${prefixCls$1}-header-title`
14057
14081
  }, [createVNode("div", {
14058
14082
  "style": "margin-right:10px"
14059
14083
  }, [(slots == null ? void 0 : slots.title) ? slots == null ? void 0 : slots.title() : props2.title]), (slots == null ? void 0 : slots.titleAfter) ? slots == null ? void 0 : slots.titleAfter() : null])]), createVNode("div", {
14060
- "class": `${prefixCls}-body`
14084
+ "class": `${prefixCls$1}-body`
14061
14085
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), props2.isShowFooter ? createVNode("div", {
14062
- "class": `${prefixCls}-footer`
14086
+ "class": `${prefixCls$1}-footer`
14063
14087
  }, [createVNode(Space, null, {
14064
14088
  default: () => {
14065
14089
  var _a3, _b, _c;
@@ -14124,15 +14148,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14124
14148
  });
14125
14149
  return (_ctx, _cache) => {
14126
14150
  return openBlock(), createElementBlock(Fragment, null, [
14127
- unref(getIsEdit) ? (openBlock(), createBlock(EditTableHeaderCell, { key: 0 }, {
14151
+ getIsEdit.value ? (openBlock(), createBlock(EditTableHeaderCell, { key: 0 }, {
14128
14152
  default: withCtx(() => [
14129
- createTextVNode(toDisplayString(unref(getTitle)), 1)
14153
+ createTextVNode(toDisplayString(getTitle.value), 1)
14130
14154
  ]),
14131
14155
  _: 1
14132
- })) : (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(unref(getTitle)), 1)),
14133
- unref(getHelpMessage) ? (openBlock(), createBlock(unref(_sfc_main$1g), {
14156
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(getTitle.value), 1)),
14157
+ getHelpMessage.value ? (openBlock(), createBlock(unref(_sfc_main$1g), {
14134
14158
  key: 2,
14135
- text: unref(getHelpMessage),
14159
+ text: getHelpMessage.value,
14136
14160
  class: normalizeClass(`${unref(prefixCls2)}__help`)
14137
14161
  }, null, 8, ["text", "class"])) : createCommentVNode("", true)
14138
14162
  ], 64);
@@ -15839,7 +15863,8 @@ function useCustomRow(propsRef, {
15839
15863
  emit
15840
15864
  }) {
15841
15865
  const customRow = (record, index2) => {
15842
- index2 === 0 && isNeedRefresh();
15866
+ if (!index2)
15867
+ isNeedRefresh();
15843
15868
  return {
15844
15869
  onClick: (e) => {
15845
15870
  e == null ? void 0 : e.stopPropagation();
@@ -15922,7 +15947,8 @@ const __default__$1 = {
15922
15947
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
15923
15948
  ...__default__$1,
15924
15949
  emits: ["columns-change"],
15925
- setup(__props, { emit }) {
15950
+ setup(__props, { emit: __emit }) {
15951
+ const emit = __emit;
15926
15952
  const attrs = useAttrs$2();
15927
15953
  const { t: t2 } = useI18n$1();
15928
15954
  t2("component.table.settingColumn");
@@ -16128,7 +16154,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16128
16154
  class: normalizeClass(`${unref(prefixCls2)}__popover-title`)
16129
16155
  }, [
16130
16156
  createVNode(unref(Checkbox), {
16131
- indeterminate: unref(indeterminate),
16157
+ indeterminate: indeterminate.value,
16132
16158
  checked: state.checkAll,
16133
16159
  "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => state.checkAll = $event),
16134
16160
  onChange: onCheckAllChange
@@ -16221,7 +16247,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16221
16247
  }, null, 8, ["class", "onClick"])
16222
16248
  ]),
16223
16249
  _: 2
16224
- }, 1032, ["mouseLeaveDelay"]),
16250
+ }, 1024),
16225
16251
  createVNode(unref(Divider$1), { type: "vertical" }),
16226
16252
  createVNode(unref(Tooltip), {
16227
16253
  placement: "bottomLeft",
@@ -16245,7 +16271,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
16245
16271
  }, null, 8, ["class", "onClick"])
16246
16272
  ]),
16247
16273
  _: 2
16248
- }, 1032, ["mouseLeaveDelay"])
16274
+ }, 1024)
16249
16275
  ], 2)) : createCommentVNode("", true)
16250
16276
  ], 64);
16251
16277
  }), 128))
@@ -16438,8 +16464,8 @@ const _sfc_main$y = defineComponent({
16438
16464
  return { isVisibleAdvancedSearch, handleIconClick };
16439
16465
  }
16440
16466
  });
16441
- const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_c5892da8_lang = "";
16442
- const _withScopeId$1 = (n) => (pushScopeId("data-v-c5892da8"), n = n(), popScopeId(), n);
16467
+ const AdvancedSearchSetting_vue_vue_type_style_index_0_scoped_f74ee46a_lang = "";
16468
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-f74ee46a"), n = n(), popScopeId(), n);
16443
16469
  const _hoisted_1$k = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "高级搜索", -1));
16444
16470
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
16445
16471
  const _component_FilterOutlined = resolveComponent("FilterOutlined");
@@ -16457,7 +16483,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
16457
16483
  _: 1
16458
16484
  });
16459
16485
  }
16460
- const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-c5892da8"]]);
16486
+ const AdvancedSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o], ["__scopeId", "data-v-f74ee46a"]]);
16461
16487
  const index$3 = "";
16462
16488
  const searchType = [
16463
16489
  {
@@ -16580,7 +16606,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16580
16606
  { label: "生日", field: "birth", type: "date" }
16581
16607
  ] }
16582
16608
  },
16583
- setup(__props, { expose }) {
16609
+ setup(__props, { expose: __expose }) {
16584
16610
  const props2 = __props;
16585
16611
  const advancedSearchRef = ref();
16586
16612
  const formRef = ref();
@@ -16703,7 +16729,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16703
16729
  schemasCurrent.push({ field: (_a2 = dicColumn.value[0]) == null ? void 0 : _a2.value });
16704
16730
  formRef.value.resetFields();
16705
16731
  };
16706
- expose({
16732
+ __expose({
16707
16733
  getSearchFrom,
16708
16734
  resetFields,
16709
16735
  advancedSearchRef
@@ -16730,7 +16756,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16730
16756
  createVNode(unref(Row), null, {
16731
16757
  default: withCtx(() => [
16732
16758
  (openBlock(true), createElementBlock(Fragment, null, renderList(schemasCurrent, (schema, index2) => {
16733
- return openBlock(), createBlock(unref(Col), normalizeProps(mergeProps({ key: index2 }, (schema == null ? void 0 : schema.colProps) || { span: 24 })), {
16759
+ return openBlock(), createBlock(unref(Col), mergeProps({
16760
+ key: index2,
16761
+ ref_for: true
16762
+ }, (schema == null ? void 0 : schema.colProps) || { span: 24 }), {
16734
16763
  default: withCtx(() => [
16735
16764
  createElementVNode("div", _hoisted_2$6, [
16736
16765
  createVNode(unref(FormItem), {
@@ -16742,7 +16771,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16742
16771
  value: schema.field,
16743
16772
  "onUpdate:value": ($event) => schema.field = $event,
16744
16773
  style: { "width": "120px" },
16745
- options: unref(dicColumn),
16774
+ options: dicColumn.value,
16746
16775
  onChange: ($event) => handleFieldChange(schema)
16747
16776
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"])
16748
16777
  ]),
@@ -16838,11 +16867,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16838
16867
  getComponent(schema.field) === "ApiSelect" ? (openBlock(), createBlock(ApiSelect, mergeProps({
16839
16868
  key: 0,
16840
16869
  value: schema[`${schema.field}`],
16841
- "onUpdate:value": ($event) => schema[`${schema.field}`] = $event
16870
+ "onUpdate:value": ($event) => schema[`${schema.field}`] = $event,
16871
+ ref_for: true
16842
16872
  }, getComponentPropsByField(schema.field)), null, 16, ["value", "onUpdate:value"])) : (openBlock(), createBlock(unref(Select), mergeProps({
16843
16873
  key: 1,
16844
16874
  value: schema[`${schema.field}`],
16845
- "onUpdate:value": ($event) => schema[`${schema.field}`] = $event
16875
+ "onUpdate:value": ($event) => schema[`${schema.field}`] = $event,
16876
+ ref_for: true
16846
16877
  }, getComponentPropsByField(schema.field)), null, 16, ["value", "onUpdate:value"]))
16847
16878
  ]),
16848
16879
  _: 2
@@ -16850,15 +16881,18 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16850
16881
  getComponent(schema.field) === "Input" ? (openBlock(), createBlock(unref(Input), mergeProps({
16851
16882
  key: 0,
16852
16883
  value: schema[schema.field],
16853
- "onUpdate:value": ($event) => schema[schema.field] = $event
16884
+ "onUpdate:value": ($event) => schema[schema.field] = $event,
16885
+ ref_for: true
16854
16886
  }, getComponentPropsByField(schema.field)), null, 16, ["value", "onUpdate:value"])) : getComponent(schema.field) === "ApiSelect" ? (openBlock(), createBlock(ApiSelect, mergeProps({
16855
16887
  key: 1,
16856
16888
  value: schema[`${schema.field}`],
16857
- "onUpdate:value": ($event) => schema[`${schema.field}`] = $event
16889
+ "onUpdate:value": ($event) => schema[`${schema.field}`] = $event,
16890
+ ref_for: true
16858
16891
  }, getComponentPropsByField(schema.field)), null, 16, ["value", "onUpdate:value"])) : (openBlock(), createBlock(unref(Select), mergeProps({
16859
16892
  key: 2,
16860
16893
  value: schema[schema.field],
16861
- "onUpdate:value": ($event) => schema[schema.field] = $event
16894
+ "onUpdate:value": ($event) => schema[schema.field] = $event,
16895
+ ref_for: true
16862
16896
  }, getComponentPropsByField(schema.field)), null, 16, ["value", "onUpdate:value"]))
16863
16897
  ], 64))
16864
16898
  ]),
@@ -17832,8 +17866,8 @@ const _sfc_main$r = defineComponent({
17832
17866
  };
17833
17867
  }
17834
17868
  });
17835
- const TableGlobalSearch_vue_vue_type_style_index_0_scoped_5f6e7403_lang = "";
17836
- const _withScopeId = (n) => (pushScopeId("data-v-5f6e7403"), n = n(), popScopeId(), n);
17869
+ const TableGlobalSearch_vue_vue_type_style_index_0_scoped_90331d26_lang = "";
17870
+ const _withScopeId = (n) => (pushScopeId("data-v-90331d26"), n = n(), popScopeId(), n);
17837
17871
  const _hoisted_1$f = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索全部", -1));
17838
17872
  const _hoisted_2$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "搜索特定字段", -1));
17839
17873
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
@@ -17891,7 +17925,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
17891
17925
  ])
17892
17926
  ], 4);
17893
17927
  }
17894
- const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-5f6e7403"]]);
17928
+ const TableGlobalSearch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$j], ["__scopeId", "data-v-90331d26"]]);
17895
17929
  const _sfc_main$q = defineComponent({
17896
17930
  components: {
17897
17931
  TableAdvancedSearch,
@@ -18445,7 +18479,7 @@ const _sfc_main$o = defineComponent({
18445
18479
  setup() {
18446
18480
  }
18447
18481
  });
18448
- const TableDict_vue_vue_type_style_index_0_scoped_21146269_lang = "";
18482
+ const TableDict_vue_vue_type_style_index_0_scoped_7d89a0e9_lang = "";
18449
18483
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
18450
18484
  var _a2;
18451
18485
  const _component_Icon = resolveComponent("Icon");
@@ -18474,7 +18508,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
18474
18508
  ]), 1032, ["color"])
18475
18509
  ]);
18476
18510
  }
18477
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-21146269"]]);
18511
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$g], ["__scopeId", "data-v-7d89a0e9"]]);
18478
18512
  const index$2 = "";
18479
18513
  var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
18480
18514
  RoleEnum2["SUPER"] = "super";
@@ -18660,7 +18694,7 @@ const withInstall$4 = (component) => {
18660
18694
  withInstall$4(BasicTable);
18661
18695
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
18662
18696
  __name: "Table",
18663
- setup(__props, { expose }) {
18697
+ setup(__props, { expose: __expose }) {
18664
18698
  const getTableProps = inject("getTableProps");
18665
18699
  const [registerTable, tableAction] = useTable({
18666
18700
  api: () => {
@@ -18682,7 +18716,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18682
18716
  useSearchForm: false,
18683
18717
  ...unref(getTableProps)
18684
18718
  });
18685
- expose({ ...tableAction });
18719
+ __expose({ ...tableAction });
18686
18720
  return (_ctx, _cache) => {
18687
18721
  return openBlock(), createBlock(unref(BasicTable), { onRegister: unref(registerTable) }, null, 8, ["onRegister"]);
18688
18722
  };
@@ -18700,7 +18734,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18700
18734
  }
18701
18735
  },
18702
18736
  emits: ["confirm", "register"],
18703
- setup(__props, { emit }) {
18737
+ setup(__props, { emit: __emit }) {
18704
18738
  const props2 = __props;
18705
18739
  const [register, { closeModal }] = useModalInner(async () => {
18706
18740
  await tableRef.value.clearSelectedRowKeys();
@@ -18717,6 +18751,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18717
18751
  });
18718
18752
  tableRef.value.reload();
18719
18753
  };
18754
+ const emit = __emit;
18720
18755
  const handleComfirm = () => {
18721
18756
  const rows = tableRef.value.getSelectRows();
18722
18757
  closeModal();
@@ -18750,8 +18785,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18750
18785
  };
18751
18786
  }
18752
18787
  });
18753
- const Modal_vue_vue_type_style_index_0_scoped_24f758b3_lang = "";
18754
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-24f758b3"]]);
18788
+ const Modal_vue_vue_type_style_index_0_scoped_4dc415ac_lang = "";
18789
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-4dc415ac"]]);
18755
18790
  const _hoisted_1$b = { class: "api-modal-select" };
18756
18791
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
18757
18792
  __name: "ApiModalSelect",
@@ -18820,12 +18855,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18820
18855
  }
18821
18856
  },
18822
18857
  emits: ["update:value", "change", "modal-confirm"],
18823
- setup(__props, { expose, emit }) {
18858
+ setup(__props, { expose: __expose, emit: __emit }) {
18824
18859
  const props2 = __props;
18825
18860
  const [register, { openModal }] = useModal();
18826
18861
  const emitData = ref([]);
18827
18862
  const label = ref("");
18828
18863
  const [state] = useRuleFormItem(props2, "value", "change", emitData);
18864
+ const emit = __emit;
18829
18865
  const getTreeProps = computed(() => {
18830
18866
  return { ...props2.tree };
18831
18867
  });
@@ -18865,7 +18901,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18865
18901
  const setLabel = (value) => {
18866
18902
  label.value = value;
18867
18903
  };
18868
- expose({ getLabel, setLabel });
18904
+ __expose({ getLabel, setLabel });
18869
18905
  return (_ctx, _cache) => {
18870
18906
  return openBlock(), createElementBlock("div", _hoisted_1$b, [
18871
18907
  createVNode(unref(Input), {
@@ -18898,8 +18934,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18898
18934
  };
18899
18935
  }
18900
18936
  });
18901
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
18902
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-5427533c"]]);
18937
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
18938
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-fb4fe18d"]]);
18903
18939
  const Description$1 = "";
18904
18940
  const basicColProps = 24;
18905
18941
  const basicProps$2 = reactive({
@@ -19594,42 +19630,58 @@ const useDrawerInner = (callbackFn) => {
19594
19630
  ];
19595
19631
  };
19596
19632
  /*!
19597
- * Cropper.js v1.5.13
19633
+ * Cropper.js v1.6.2
19598
19634
  * https://fengyuanchen.github.io/cropperjs
19599
19635
  *
19600
19636
  * Copyright 2015-present Chen Fengyuan
19601
19637
  * Released under the MIT license
19602
19638
  *
19603
- * Date: 2022-11-20T05:30:46.114Z
19639
+ * Date: 2024-04-21T07:43:05.335Z
19604
19640
  */
19605
- function ownKeys(object, enumerableOnly) {
19606
- var keys2 = Object.keys(object);
19641
+ function ownKeys(e, r) {
19642
+ var t2 = Object.keys(e);
19607
19643
  if (Object.getOwnPropertySymbols) {
19608
- var symbols = Object.getOwnPropertySymbols(object);
19609
- enumerableOnly && (symbols = symbols.filter(function(sym) {
19610
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
19611
- })), keys2.push.apply(keys2, symbols);
19644
+ var o = Object.getOwnPropertySymbols(e);
19645
+ r && (o = o.filter(function(r2) {
19646
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
19647
+ })), t2.push.apply(t2, o);
19612
19648
  }
19613
- return keys2;
19649
+ return t2;
19614
19650
  }
19615
- function _objectSpread2(target) {
19616
- for (var i = 1; i < arguments.length; i++) {
19617
- var source = null != arguments[i] ? arguments[i] : {};
19618
- i % 2 ? ownKeys(Object(source), true).forEach(function(key2) {
19619
- _defineProperty(target, key2, source[key2]);
19620
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key2) {
19621
- Object.defineProperty(target, key2, Object.getOwnPropertyDescriptor(source, key2));
19651
+ function _objectSpread2(e) {
19652
+ for (var r = 1; r < arguments.length; r++) {
19653
+ var t2 = null != arguments[r] ? arguments[r] : {};
19654
+ r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
19655
+ _defineProperty(e, r2, t2[r2]);
19656
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
19657
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
19622
19658
  });
19623
19659
  }
19624
- return target;
19660
+ return e;
19661
+ }
19662
+ function _toPrimitive(t2, r) {
19663
+ if ("object" != typeof t2 || !t2)
19664
+ return t2;
19665
+ var e = t2[Symbol.toPrimitive];
19666
+ if (void 0 !== e) {
19667
+ var i = e.call(t2, r || "default");
19668
+ if ("object" != typeof i)
19669
+ return i;
19670
+ throw new TypeError("@@toPrimitive must return a primitive value.");
19671
+ }
19672
+ return ("string" === r ? String : Number)(t2);
19673
+ }
19674
+ function _toPropertyKey(t2) {
19675
+ var i = _toPrimitive(t2, "string");
19676
+ return "symbol" == typeof i ? i : i + "";
19625
19677
  }
19626
- function _typeof(obj) {
19678
+ function _typeof(o) {
19627
19679
  "@babel/helpers - typeof";
19628
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
19629
- return typeof obj2;
19630
- } : function(obj2) {
19631
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
19632
- }, _typeof(obj);
19680
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
19681
+ return typeof o2;
19682
+ } : function(o2) {
19683
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
19684
+ }, _typeof(o);
19633
19685
  }
19634
19686
  function _classCallCheck(instance, Constructor) {
19635
19687
  if (!(instance instanceof Constructor)) {
@@ -19643,7 +19695,7 @@ function _defineProperties(target, props2) {
19643
19695
  descriptor.configurable = true;
19644
19696
  if ("value" in descriptor)
19645
19697
  descriptor.writable = true;
19646
- Object.defineProperty(target, descriptor.key, descriptor);
19698
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
19647
19699
  }
19648
19700
  }
19649
19701
  function _createClass(Constructor, protoProps, staticProps) {
@@ -19657,6 +19709,7 @@ function _createClass(Constructor, protoProps, staticProps) {
19657
19709
  return Constructor;
19658
19710
  }
19659
19711
  function _defineProperty(obj, key2, value) {
19712
+ key2 = _toPropertyKey(key2);
19660
19713
  if (key2 in obj) {
19661
19714
  Object.defineProperty(obj, key2, {
19662
19715
  value,
@@ -21871,7 +21924,7 @@ var methods = {
21871
21924
  if (!this.cropped) {
21872
21925
  return source;
21873
21926
  }
21874
- var _this$getData = this.getData(), initialX = _this$getData.x, initialY = _this$getData.y, initialWidth = _this$getData.width, initialHeight = _this$getData.height;
21927
+ var _this$getData = this.getData(options.rounded), initialX = _this$getData.x, initialY = _this$getData.y, initialWidth = _this$getData.width, initialHeight = _this$getData.height;
21875
21928
  var ratio = source.width / Math.floor(canvasData.naturalWidth);
21876
21929
  if (ratio !== 1) {
21877
21930
  initialX *= ratio;
@@ -22020,7 +22073,7 @@ var Cropper = /* @__PURE__ */ function() {
22020
22073
  this.sizing = false;
22021
22074
  this.init();
22022
22075
  }
22023
- _createClass(Cropper2, [{
22076
+ return _createClass(Cropper2, [{
22024
22077
  key: "init",
22025
22078
  value: function init() {
22026
22079
  var element = this.element;
@@ -22312,13 +22365,13 @@ var Cropper = /* @__PURE__ */ function() {
22312
22365
  assign(DEFAULTS, isPlainObject(options) && options);
22313
22366
  }
22314
22367
  }]);
22315
- return Cropper2;
22316
22368
  }();
22317
22369
  assign(Cropper.prototype, render2, preview, events, handlers, change, methods);
22318
22370
  const cropper = "";
22319
22371
  function toValue(r) {
22320
22372
  return typeof r === "function" ? r() : unref(r);
22321
22373
  }
22374
+ typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
22322
22375
  const noop = () => {
22323
22376
  };
22324
22377
  function createFilterWrapper(filter2, fn) {
@@ -22920,7 +22973,7 @@ const _sfc_main$f = defineComponent({
22920
22973
  };
22921
22974
  }
22922
22975
  });
22923
- const CropperAvatar_vue_vue_type_style_index_0_scoped_6ac45907_lang = "";
22976
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_31315934_lang = "";
22924
22977
  const _hoisted_1$7 = ["src"];
22925
22978
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
22926
22979
  const _component_Icon = resolveComponent("Icon");
@@ -22971,7 +23024,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
22971
23024
  }, null, 8, ["onRegister", "onUploadSuccess", "onBeforeUpload", "uploadApi", "src"])
22972
23025
  ], 6);
22973
23026
  }
22974
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-6ac45907"]]);
23027
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a], ["__scopeId", "data-v-31315934"]]);
22975
23028
  const props = {
22976
23029
  startVal: { type: Number, default: 0 },
22977
23030
  endVal: { type: Number, default: 2021 },
@@ -23068,7 +23121,8 @@ const CountTo = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render
23068
23121
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
23069
23122
  __name: "ClickOutSide",
23070
23123
  emits: ["mounted", "clickOutside"],
23071
- setup(__props, { emit }) {
23124
+ setup(__props, { emit: __emit }) {
23125
+ const emit = __emit;
23072
23126
  const wrap = ref(null);
23073
23127
  onClickOutside(wrap, () => {
23074
23128
  emit("clickOutside");
@@ -23142,7 +23196,7 @@ const _sfc_main$c = defineComponent({
23142
23196
  }
23143
23197
  }
23144
23198
  });
23145
- const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
23199
+ const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
23146
23200
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
23147
23201
  const _component_Spin = resolveComponent("Spin");
23148
23202
  return withDirectives((openBlock(), createElementBlock("section", {
@@ -23158,7 +23212,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
23158
23212
  [vShow, _ctx.loading]
23159
23213
  ]);
23160
23214
  }
23161
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-33b23b82"]]);
23215
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-ee545744"]]);
23162
23216
  function createLoading(props2, target, wait = false) {
23163
23217
  let vm = null;
23164
23218
  const data = reactive({
@@ -23420,7 +23474,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
23420
23474
  "edit-cancel",
23421
23475
  "row-remove"
23422
23476
  ],
23423
- setup(__props, { emit }) {
23477
+ setup(__props, { emit: __emit }) {
23478
+ const emit = __emit;
23424
23479
  const props2 = __props;
23425
23480
  const getActions = computed(() => {
23426
23481
  var _a2;
@@ -23462,7 +23517,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
23462
23517
  });
23463
23518
  return (_ctx, _cache) => {
23464
23519
  return openBlock(), createBlock(_sfc_main$V, {
23465
- actions: unref(getActions),
23520
+ actions: getActions.value,
23466
23521
  "show-count": 4,
23467
23522
  outside: true
23468
23523
  }, null, 8, ["actions"]);
@@ -23473,12 +23528,13 @@ const _hoisted_1$6 = { style: { "overflow": "hidden" } };
23473
23528
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
23474
23529
  __name: "Sort",
23475
23530
  emits: ["change"],
23476
- setup(__props, { emit: emits }) {
23531
+ setup(__props, { emit: __emit }) {
23477
23532
  const basStyle = {
23478
23533
  display: "block",
23479
23534
  color: "#bfbfbf",
23480
23535
  fontSize: "12px"
23481
23536
  };
23537
+ const emits = __emit;
23482
23538
  const curPicker = ref(0);
23483
23539
  const handleUpClick = () => {
23484
23540
  curPicker.value === 1 ? curPicker.value = 0 : curPicker.value = 1;
@@ -23506,11 +23562,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
23506
23562
  return (_ctx, _cache) => {
23507
23563
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
23508
23564
  createVNode(unref(CaretUpOutlined$1), {
23509
- style: normalizeStyle(unref(getStyleUp)),
23565
+ style: normalizeStyle(getStyleUp.value),
23510
23566
  onClick: handleUpClick
23511
23567
  }, null, 8, ["style"]),
23512
23568
  createVNode(unref(CaretDownOutlined$1), {
23513
- style: normalizeStyle(unref(getStyleDown)),
23569
+ style: normalizeStyle(getStyleDown.value),
23514
23570
  onClick: handleDownClick
23515
23571
  }, null, 8, ["style"])
23516
23572
  ]);
@@ -23524,10 +23580,11 @@ const _hoisted_4$1 = { style: { "display": "flex", "justify-content": "space-bet
23524
23580
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23525
23581
  __name: "TableColGroup",
23526
23582
  props: {
23527
- column: null
23583
+ column: {}
23528
23584
  },
23529
23585
  emits: ["handleSortChange"],
23530
- setup(__props, { emit: emits }) {
23586
+ setup(__props, { emit: __emit }) {
23587
+ const emits = __emit;
23531
23588
  const getSwitchShowText = (column, row) => {
23532
23589
  const {
23533
23590
  unCheckedChildren = "否",
@@ -23549,10 +23606,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23549
23606
  return (_ctx, _cache) => {
23550
23607
  const _component_TableColGroup = resolveComponent("TableColGroup", true);
23551
23608
  return openBlock(), createBlock(unref(VxeColgroup), mergeProps({
23552
- title: __props.column.groupName
23553
- }, __props.column), {
23609
+ title: _ctx.column.groupName
23610
+ }, _ctx.column), {
23554
23611
  default: withCtx(() => [
23555
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.column.children, (c) => {
23612
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.column.children, (c) => {
23556
23613
  return openBlock(), createElementBlock(Fragment, {
23557
23614
  key: c.field
23558
23615
  }, [
@@ -23560,28 +23617,35 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23560
23617
  key: 0,
23561
23618
  column: c,
23562
23619
  onHandleSortChange: handleSortChange
23563
- }, null, 8, ["column"])) : (openBlock(), createBlock(unref(VxeColumn), mergeProps({ key: 1 }, c, {
23620
+ }, null, 8, ["column"])) : (openBlock(), createBlock(unref(VxeColumn), mergeProps({
23621
+ key: 1,
23622
+ ref_for: true
23623
+ }, c, {
23564
23624
  "edit-render": (c == null ? void 0 : c.editRender) || void 0
23565
23625
  }), {
23566
23626
  default: withCtx((config) => [
23567
- renderSlot(_ctx.$slots, c.field, normalizeProps(guardReactiveProps(config)), () => {
23627
+ renderSlot(_ctx.$slots, c.field, mergeProps({ ref_for: true }, config), () => {
23568
23628
  var _a2, _b, _c, _d, _e;
23569
23629
  return [
23570
- config.row._isEdit && ((_a2 = __props.column) == null ? void 0 : _a2.isEdit) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
23630
+ config.row._isEdit && ((_a2 = _ctx.column) == null ? void 0 : _a2.isEdit) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
23571
23631
  ((_b = c == null ? void 0 : c.editComponentProps) == null ? void 0 : _b.component) === "Switch" ? (openBlock(), createBlock(unref(CellComponent), mergeProps({
23572
23632
  key: 0,
23573
23633
  checkedValue: 1,
23574
- unCheckedValue: 0
23634
+ unCheckedValue: 0,
23635
+ ref_for: true
23575
23636
  }, (c == null ? void 0 : c.editComponentProps) || {}, {
23576
23637
  checked: config.row[c.field],
23577
23638
  "onUpdate:checked": ($event) => config.row[c.field] = $event
23578
- }), null, 16, ["checked", "onUpdate:checked"])) : (openBlock(), createBlock(unref(CellComponent), mergeProps({ key: 1 }, (c == null ? void 0 : c.editComponentProps) || {}, {
23639
+ }), null, 16, ["checked", "onUpdate:checked"])) : (openBlock(), createBlock(unref(CellComponent), mergeProps({
23640
+ key: 1,
23641
+ ref_for: true
23642
+ }, (c == null ? void 0 : c.editComponentProps) || {}, {
23579
23643
  value: config.row[c.field],
23580
23644
  "onUpdate:value": ($event) => config.row[c.field] = $event
23581
23645
  }), null, 16, ["value", "onUpdate:value"]))
23582
23646
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
23583
23647
  (c == null ? void 0 : c.isEdit) && ((_c = c == null ? void 0 : c.editComponentProps) == null ? void 0 : _c.component) === "Select" || ((_d = c == null ? void 0 : c.editComponentProps) == null ? void 0 : _d.component) === "ApiSelect" ? (openBlock(), createElementBlock("span", _hoisted_1$5, [
23584
- createVNode(unref(CellComponent), mergeProps((c == null ? void 0 : c.editComponentProps) || {}, {
23648
+ createVNode(unref(CellComponent), mergeProps({ ref_for: true }, (c == null ? void 0 : c.editComponentProps) || {}, {
23585
23649
  value: config.row[c.field],
23586
23650
  "onUpdate:value": ($event) => config.row[c.field] = $event,
23587
23651
  bordered: false,
@@ -23597,14 +23661,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
23597
23661
  })
23598
23662
  ]),
23599
23663
  header: withCtx(() => [
23600
- renderSlot(_ctx.$slots, `${c.field}Header`, normalizeProps(guardReactiveProps({ c })), () => {
23664
+ renderSlot(_ctx.$slots, `${c.field}Header`, mergeProps({ ref_for: true }, { c }), () => {
23601
23665
  var _a2;
23602
23666
  return [
23603
23667
  createElementVNode("div", _hoisted_4$1, [
23604
23668
  createElementVNode("div", null, toDisplayString(c.title), 1),
23605
- ((_a2 = __props.column) == null ? void 0 : _a2.sortable) ? (openBlock(), createBlock(_sfc_main$a, {
23669
+ ((_a2 = _ctx.column) == null ? void 0 : _a2.sortable) ? (openBlock(), createBlock(_sfc_main$a, {
23606
23670
  key: 0,
23607
- onChange: _cache[0] || (_cache[0] = (type) => handleSortChange(__props.column.field, type))
23671
+ onChange: _cache[0] || (_cache[0] = (type) => handleSortChange(_ctx.column.field, type))
23608
23672
  })) : createCommentVNode("", true)
23609
23673
  ])
23610
23674
  ];
@@ -23913,7 +23977,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
23913
23977
  }, null, 8, ["class", "onClick"])
23914
23978
  ]),
23915
23979
  _: 2
23916
- }, 1032, ["mouseLeaveDelay", "getPopupContainer"]),
23980
+ }, 1032, ["getPopupContainer"]),
23917
23981
  createVNode(_component_Divider, { type: "vertical" }),
23918
23982
  createVNode(_component_Tooltip, {
23919
23983
  placement: "bottomLeft",
@@ -23937,7 +24001,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
23937
24001
  }, null, 8, ["class", "onClick"])
23938
24002
  ]),
23939
24003
  _: 2
23940
- }, 1032, ["mouseLeaveDelay", "getPopupContainer"])
24004
+ }, 1032, ["getPopupContainer"])
23941
24005
  ], 2)) : createCommentVNode("", true)
23942
24006
  ], 64);
23943
24007
  }), 128))
@@ -24244,10 +24308,11 @@ const _hoisted_2 = { key: 1 };
24244
24308
  const _hoisted_3 = { key: 2 };
24245
24309
  const _hoisted_4 = { style: { "display": "flex", "justify-content": "space-between" } };
24246
24310
  const _hoisted_5 = { class: "flex items-center" };
24311
+ const prefixCls = "shy-basic-table-plus";
24247
24312
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24248
24313
  __name: "TablePlus",
24249
24314
  props: {
24250
- api: null,
24315
+ api: {},
24251
24316
  columns: { default: () => [] },
24252
24317
  isShowSeq: { type: Boolean, default: true },
24253
24318
  isShowExpand: { type: Boolean, default: false },
@@ -24281,12 +24346,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24281
24346
  columnSeq: { default: () => {
24282
24347
  return {};
24283
24348
  } },
24284
- transDataAfterReload: null,
24349
+ transDataAfterReload: {},
24285
24350
  pagination: { default: {
24286
24351
  type: [Object, Boolean],
24287
24352
  default: true
24288
24353
  } },
24289
- data: null
24354
+ data: {}
24290
24355
  },
24291
24356
  emits: [
24292
24357
  "register",
@@ -24295,8 +24360,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24295
24360
  "row-cancel",
24296
24361
  "row-remove"
24297
24362
  ],
24298
- setup(__props, { emit: emits }) {
24299
- const props2 = __props;
24363
+ setup(__props, { emit: __emit }) {
24364
+ const emits = __emit;
24300
24365
  const expandVisibleMethod = ({ row }) => {
24301
24366
  if (row.childList && row.childList.length > 0) {
24302
24367
  return true;
@@ -24304,10 +24369,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24304
24369
  return false;
24305
24370
  }
24306
24371
  };
24307
- const prefixCls2 = "shy-basic-table-plus";
24308
24372
  const getClassName = (className) => {
24309
- return `${prefixCls2}-${className}`;
24373
+ return `${prefixCls}-${className}`;
24310
24374
  };
24375
+ const props2 = __props;
24311
24376
  const innerProps = ref({});
24312
24377
  const getProps = computed(() => {
24313
24378
  const tempProps = { ...props2, ...innerProps.value };
@@ -24424,6 +24489,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24424
24489
  return toRaw(tableRef.value.getRadioRecord());
24425
24490
  }
24426
24491
  };
24492
+ const clearRowSelection = () => {
24493
+ return toRaw(tableRef.value.clearCheckboxRow());
24494
+ };
24427
24495
  const setEditByRow = (row) => {
24428
24496
  row._isEdit = true;
24429
24497
  };
@@ -24482,6 +24550,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24482
24550
  getProps,
24483
24551
  getBindValues,
24484
24552
  getRowSelection,
24553
+ clearRowSelection,
24485
24554
  setEditByRow,
24486
24555
  cancelEditByRow,
24487
24556
  getTableData,
@@ -24508,18 +24577,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24508
24577
  return openBlock(), createElementBlock("div", {
24509
24578
  class: normalizeClass(getClassName("wrapper"))
24510
24579
  }, [
24511
- unref(getProps).isShowSearch ? (openBlock(), createElementBlock("div", {
24580
+ getProps.value.isShowSearch ? (openBlock(), createElementBlock("div", {
24512
24581
  key: 0,
24513
24582
  class: normalizeClass(getClassName("search"))
24514
24583
  }, [
24515
- createVNode(unref(BasicForm), mergeProps(unref(getFormConfig), {
24584
+ createVNode(unref(BasicForm), mergeProps(getFormConfig.value, {
24516
24585
  onRegister: unref(registerForm),
24517
24586
  onSubmit: handleSearchFormSubmit,
24518
24587
  onReset: handleSearchFormSubmit,
24519
- onAdvancedChange: _cache[0] || (_cache[0] = () => {
24520
- })
24588
+ onAdvancedChange: () => {
24589
+ }
24521
24590
  }), createSlots({ _: 2 }, [
24522
- renderList(unref(getFormSlotKeys), (item) => {
24591
+ renderList(getFormSlotKeys.value, (item) => {
24523
24592
  return {
24524
24593
  name: replaceFormSlotKey(item),
24525
24594
  fn: withCtx((data) => [
@@ -24529,7 +24598,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24529
24598
  })
24530
24599
  ]), 1040, ["onRegister"])
24531
24600
  ], 2)) : createCommentVNode("", true),
24532
- unref(getProps).isShowToolbar ? (openBlock(), createElementBlock("div", {
24601
+ getProps.value.isShowToolbar ? (openBlock(), createElementBlock("div", {
24533
24602
  key: 1,
24534
24603
  class: normalizeClass(getClassName("toolbar"))
24535
24604
  }, [
@@ -24551,8 +24620,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24551
24620
  createVNode(unref(VxeTable), mergeProps({
24552
24621
  ref_key: "tableRef",
24553
24622
  ref: tableRef
24554
- }, unref(getBindValues), {
24555
- data: unref(realDataSource),
24623
+ }, getBindValues.value, {
24624
+ data: realDataSource.value,
24556
24625
  onCheckboxAll: handleCheckboxChange,
24557
24626
  onCheckboxChange: handleCheckboxChange,
24558
24627
  onRadioChange: handleRadioChange,
@@ -24563,21 +24632,21 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24563
24632
  default: withCtx(() => {
24564
24633
  var _a2, _b, _c, _d, _e, _f;
24565
24634
  return [
24566
- ((_b = (_a2 = unref(getProps)) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = unref(getProps)) == null ? void 0 : _c.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
24635
+ ((_b = (_a2 = getProps.value) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = getProps.value) == null ? void 0 : _c.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
24567
24636
  key: 0,
24568
24637
  fixed: "left",
24569
24638
  type: "checkbox",
24570
24639
  width: "60",
24571
24640
  align: "center"
24572
24641
  })) : createCommentVNode("", true),
24573
- ((_e = (_d = unref(getProps)) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = unref(getProps)) == null ? void 0 : _f.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
24642
+ ((_e = (_d = getProps.value) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = getProps.value) == null ? void 0 : _f.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
24574
24643
  key: 1,
24575
24644
  fixed: "left",
24576
24645
  type: "radio",
24577
24646
  width: "60",
24578
24647
  align: "center"
24579
24648
  })) : createCommentVNode("", true),
24580
- unref(getProps).isShowExpand ? (openBlock(), createBlock(unref(VxeColumn), {
24649
+ getProps.value.isShowExpand ? (openBlock(), createBlock(unref(VxeColumn), {
24581
24650
  key: 2,
24582
24651
  fixed: "left",
24583
24652
  type: "expand",
@@ -24588,13 +24657,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24588
24657
  ]),
24589
24658
  _: 3
24590
24659
  })) : createCommentVNode("", true),
24591
- unref(getProps).isShowSeq ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
24660
+ getProps.value.isShowSeq ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
24592
24661
  key: 3,
24593
24662
  type: "seq",
24594
24663
  width: "60",
24595
24664
  align: "center",
24596
24665
  title: "序号"
24597
- }, unref(getProps).columnSeq), null, 16)) : createCommentVNode("", true),
24666
+ }, getProps.value.columnSeq), null, 16)) : createCommentVNode("", true),
24598
24667
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getColumnsRef), (column) => {
24599
24668
  return openBlock(), createElementBlock(Fragment, {
24600
24669
  key: column.field
@@ -24603,29 +24672,36 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24603
24672
  key: 0,
24604
24673
  column,
24605
24674
  onHandleSortChange: handleSortChange
24606
- }, null, 8, ["column"])) : (openBlock(), createBlock(unref(VxeColumn), mergeProps({ key: 1 }, column, {
24675
+ }, null, 8, ["column"])) : (openBlock(), createBlock(unref(VxeColumn), mergeProps({
24676
+ key: 1,
24677
+ ref_for: true
24678
+ }, column, {
24607
24679
  "show-overflow": "title",
24608
24680
  "edit-render": (column == null ? void 0 : column.editRender) || void 0
24609
24681
  }), {
24610
24682
  default: withCtx((config) => [
24611
- renderSlot(_ctx.$slots, column.field, normalizeProps(guardReactiveProps(config)), () => {
24683
+ renderSlot(_ctx.$slots, column.field, mergeProps({ ref_for: true }, config), () => {
24612
24684
  var _a3, _b2, _c2, _d2;
24613
24685
  return [
24614
24686
  config.row._isEdit && (column == null ? void 0 : column.isEdit) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
24615
24687
  ((_a3 = column == null ? void 0 : column.editComponentProps) == null ? void 0 : _a3.component) === "Switch" ? (openBlock(), createBlock(unref(CellComponent), mergeProps({
24616
24688
  key: 0,
24617
24689
  checkedValue: 1,
24618
- unCheckedValue: 0
24690
+ unCheckedValue: 0,
24691
+ ref_for: true
24619
24692
  }, (column == null ? void 0 : column.editComponentProps) || {}, {
24620
24693
  checked: config.row[column.field],
24621
24694
  "onUpdate:checked": ($event) => config.row[column.field] = $event
24622
- }), null, 16, ["checked", "onUpdate:checked"])) : (openBlock(), createBlock(unref(CellComponent), mergeProps({ key: 1 }, (column == null ? void 0 : column.editComponentProps) || {}, {
24695
+ }), null, 16, ["checked", "onUpdate:checked"])) : (openBlock(), createBlock(unref(CellComponent), mergeProps({
24696
+ key: 1,
24697
+ ref_for: true
24698
+ }, (column == null ? void 0 : column.editComponentProps) || {}, {
24623
24699
  value: config.row[column.field],
24624
24700
  "onUpdate:value": ($event) => config.row[column.field] = $event
24625
24701
  }), null, 16, ["value", "onUpdate:value"]))
24626
24702
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
24627
24703
  (column == null ? void 0 : column.isEdit) && ((_b2 = column == null ? void 0 : column.editComponentProps) == null ? void 0 : _b2.component) === "Select" || ((_c2 = column == null ? void 0 : column.editComponentProps) == null ? void 0 : _c2.component) === "ApiSelect" ? (openBlock(), createElementBlock("span", _hoisted_1$1, [
24628
- createVNode(unref(CellComponent), mergeProps((column == null ? void 0 : column.editComponentProps) || {}, {
24704
+ createVNode(unref(CellComponent), mergeProps({ ref_for: true }, (column == null ? void 0 : column.editComponentProps) || {}, {
24629
24705
  value: config.row[column.field],
24630
24706
  "onUpdate:value": ($event) => config.row[column.field] = $event,
24631
24707
  bordered: false,
@@ -24641,7 +24717,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24641
24717
  })
24642
24718
  ]),
24643
24719
  header: withCtx(() => [
24644
- renderSlot(_ctx.$slots, `${column.field}Header`, normalizeProps(guardReactiveProps({ column })), () => [
24720
+ renderSlot(_ctx.$slots, `${column.field}Header`, mergeProps({ ref_for: true }, { column }), () => [
24645
24721
  createElementVNode("div", _hoisted_4, [
24646
24722
  createElementVNode("div", null, toDisplayString(column.title), 1),
24647
24723
  (column == null ? void 0 : column.sortable) ? (openBlock(), createBlock(_sfc_main$a, {
@@ -24651,7 +24727,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24651
24727
  column.helpMessage ? (openBlock(), createBlock(unref(_sfc_main$1g), {
24652
24728
  key: 1,
24653
24729
  text: column.helpMessage,
24654
- class: normalizeClass(`${prefixCls2}__help`)
24730
+ class: normalizeClass(`${prefixCls}__help`)
24655
24731
  }, null, 8, ["text", "class"])) : createCommentVNode("", true)
24656
24732
  ])
24657
24733
  ])
@@ -24660,16 +24736,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24660
24736
  }, 1040, ["edit-render"]))
24661
24737
  ], 64);
24662
24738
  }), 128)),
24663
- unref(getProps).isShowAction ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
24739
+ getProps.value.isShowAction ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
24664
24740
  key: 4,
24665
24741
  title: "操作",
24666
24742
  field: "action",
24667
24743
  align: "center"
24668
- }, unref(getProps).actionColumn), {
24744
+ }, getProps.value.actionColumn), {
24669
24745
  default: withCtx((config) => [
24670
24746
  createElementVNode("div", _hoisted_5, [
24671
24747
  renderSlot(_ctx.$slots, "action", normalizeProps(guardReactiveProps(config)), () => [
24672
- unref(getProps).isUseDefaultEditAction ? (openBlock(), createBlock(_sfc_main$b, {
24748
+ getProps.value.isUseDefaultEditAction ? (openBlock(), createBlock(_sfc_main$b, {
24673
24749
  key: 0,
24674
24750
  row: config.row,
24675
24751
  onEditEnsure: ($event) => handleEditEnsure(config.row),
@@ -24690,7 +24766,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24690
24766
  _: 3
24691
24767
  }, 16, ["data", "expand-config"])
24692
24768
  ], 2),
24693
- unref(page).total !== 0 && unref(getProps).isShowPagination ? (openBlock(), createElementBlock("div", {
24769
+ unref(page).total !== 0 && getProps.value.isShowPagination ? (openBlock(), createElementBlock("div", {
24694
24770
  key: 2,
24695
24771
  class: normalizeClass(getClassName("pagination"))
24696
24772
  }, [
@@ -24698,9 +24774,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
24698
24774
  size: "small",
24699
24775
  total: unref(page).total,
24700
24776
  current: unref(page).current,
24701
- "onUpdate:current": _cache[1] || (_cache[1] = ($event) => unref(page).current = $event),
24777
+ "onUpdate:current": _cache[0] || (_cache[0] = ($event) => unref(page).current = $event),
24702
24778
  "page-size": unref(page).pageSize,
24703
- "onUpdate:page-size": _cache[2] || (_cache[2] = ($event) => unref(page).pageSize = $event),
24779
+ "onUpdate:pageSize": _cache[1] || (_cache[1] = ($event) => unref(page).pageSize = $event),
24704
24780
  pageSizeOptions: unref(page).pageSizeOptions,
24705
24781
  "show-size-changer": "",
24706
24782
  "show-quick-jumper": "",
@@ -24738,6 +24814,7 @@ function useTablePlus(tableProps) {
24738
24814
  setProps: (props2) => getTableInstance().setProps({ ...tableProps, ...props2 }),
24739
24815
  setTableData: (data) => getTableInstance().setTableData(data),
24740
24816
  getRowSelection: () => getTableInstance().getRowSelection(),
24817
+ clearRowSelection: () => getTableInstance().clearRowSelection(),
24741
24818
  setEditByRow: (row) => getTableInstance().setEditByRow(row),
24742
24819
  getForm: () => {
24743
24820
  return unref(formRef);
@@ -25018,11 +25095,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25018
25095
  labelWidth: { default: () => "100px" },
25019
25096
  readonly: { type: Boolean, default: () => false }
25020
25097
  },
25021
- setup(__props, { expose }) {
25022
- const props2 = __props;
25098
+ setup(__props, { expose: __expose }) {
25023
25099
  useCssVars((_ctx) => ({
25024
- "7210fae1": props2.labelWidth
25100
+ "989efb00": props2.labelWidth
25025
25101
  }));
25102
+ const props2 = __props;
25026
25103
  const form = ref({});
25027
25104
  const formRef = ref();
25028
25105
  const formSelectOption = reactive({});
@@ -25113,7 +25190,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25113
25190
  const setFieldValue = (params) => {
25114
25191
  form.value = { ...form.value, ...params };
25115
25192
  };
25116
- expose({
25193
+ __expose({
25117
25194
  validate,
25118
25195
  getFieldsValue,
25119
25196
  setFieldValue,
@@ -25127,12 +25204,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25127
25204
  }, {
25128
25205
  default: withCtx(() => [
25129
25206
  createVNode(unref(Descriptions), {
25130
- bordered: __props.bordered,
25207
+ bordered: _ctx.bordered,
25131
25208
  size: "middle",
25132
- column: __props.column
25209
+ column: _ctx.column
25133
25210
  }, {
25134
25211
  default: withCtx(() => [
25135
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.schema, (item) => {
25212
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.schema, (item) => {
25136
25213
  return openBlock(), createBlock(unref(DescriptionsItem), {
25137
25214
  key: item.field,
25138
25215
  class: normalizeClass({
@@ -25153,7 +25230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25153
25230
  }, 1032, ["title"])
25154
25231
  ]),
25155
25232
  default: withCtx(() => [
25156
- !__props.readonly && (item.component || item.slot) ? (openBlock(), createBlock(unref(FormItem), {
25233
+ !_ctx.readonly && (item.component || item.slot) ? (openBlock(), createBlock(unref(FormItem), {
25157
25234
  key: 0,
25158
25235
  name: item.field,
25159
25236
  rules: [{ required: item.required }]
@@ -25164,7 +25241,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25164
25241
  options: handleApiOptions(item.api, item),
25165
25242
  showSearch: "",
25166
25243
  filterOption,
25167
- onChange: ($event) => handleChangeBinding($event, item)
25244
+ onChange: ($event) => handleChangeBinding($event, item),
25245
+ ref_for: true
25168
25246
  }, item.componentProps, {
25169
25247
  value: form.value[item.field],
25170
25248
  "onUpdate:value": ($event) => form.value[item.field] = $event
@@ -25191,8 +25269,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25191
25269
  };
25192
25270
  }
25193
25271
  });
25194
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
25195
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1ced086"]]);
25272
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
25273
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d2eda80"]]);
25196
25274
  const DescriptionsForm = withInstall$5(descriptionsForm);
25197
25275
  const basicResizeWrapperProps = reactive({
25198
25276
  designWidth: {
@@ -25237,8 +25315,8 @@ const __default__ = defineComponent({
25237
25315
  });
25238
25316
  const __injectCSSVars__ = () => {
25239
25317
  useCssVars((_ctx) => ({
25240
- "1a93f028": _ctx.designWidth,
25241
- "1e1b1b05": _ctx.designHeight
25318
+ "0aaa544f": _ctx.designWidth,
25319
+ "30d13bbe": _ctx.designHeight
25242
25320
  }));
25243
25321
  };
25244
25322
  const __setup__ = __default__.setup;