3h1-ui 3.0.0-next.256 → 3.0.0-next.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -21,12 +21,12 @@ var root$2 = freeGlobal$3 || freeSelf$1 || Function("return this")();
21
21
  const root$3 = root$2;
22
22
  var Symbol$3 = root$3.Symbol;
23
23
  const Symbol$4 = Symbol$3;
24
- var objectProto$k = Object.prototype;
25
- var hasOwnProperty$i = objectProto$k.hasOwnProperty;
26
- var nativeObjectToString$3 = objectProto$k.toString;
24
+ var objectProto$l = Object.prototype;
25
+ var hasOwnProperty$j = objectProto$l.hasOwnProperty;
26
+ var nativeObjectToString$3 = objectProto$l.toString;
27
27
  var symToStringTag$3 = Symbol$4 ? Symbol$4.toStringTag : void 0;
28
28
  function getRawTag$1(value) {
29
- var isOwn = hasOwnProperty$i.call(value, symToStringTag$3), tag2 = value[symToStringTag$3];
29
+ var isOwn = hasOwnProperty$j.call(value, symToStringTag$3), tag2 = value[symToStringTag$3];
30
30
  try {
31
31
  value[symToStringTag$3] = void 0;
32
32
  var unmasked = true;
@@ -42,8 +42,8 @@ function getRawTag$1(value) {
42
42
  }
43
43
  return result;
44
44
  }
45
- var objectProto$j = Object.prototype;
46
- var nativeObjectToString$2 = objectProto$j.toString;
45
+ var objectProto$k = Object.prototype;
46
+ var nativeObjectToString$2 = objectProto$k.toString;
47
47
  function objectToString$1(value) {
48
48
  return nativeObjectToString$2.call(value);
49
49
  }
@@ -177,11 +177,11 @@ function toSource$1(func) {
177
177
  }
178
178
  var reRegExpChar$1 = /[\\^$.*+?()[\]{}|]/g;
179
179
  var reIsHostCtor$1 = /^\[object .+?Constructor\]$/;
180
- var funcProto$3 = Function.prototype, objectProto$i = Object.prototype;
180
+ var funcProto$3 = Function.prototype, objectProto$j = Object.prototype;
181
181
  var funcToString$3 = funcProto$3.toString;
182
- var hasOwnProperty$h = objectProto$i.hasOwnProperty;
182
+ var hasOwnProperty$i = objectProto$j.hasOwnProperty;
183
183
  var reIsNative$1 = RegExp(
184
- "^" + funcToString$3.call(hasOwnProperty$h).replace(reRegExpChar$1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
184
+ "^" + funcToString$3.call(hasOwnProperty$i).replace(reRegExpChar$1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
185
185
  );
186
186
  function baseIsNative$1(value) {
187
187
  if (!isObject$6(value) || isMasked$1(value)) {
@@ -341,11 +341,11 @@ function baseAssignValue(object4, key2, value) {
341
341
  function eq(value, other) {
342
342
  return value === other || value !== value && other !== other;
343
343
  }
344
- var objectProto$h = Object.prototype;
345
- var hasOwnProperty$g = objectProto$h.hasOwnProperty;
344
+ var objectProto$i = Object.prototype;
345
+ var hasOwnProperty$h = objectProto$i.hasOwnProperty;
346
346
  function assignValue(object4, key2, value) {
347
347
  var objValue = object4[key2];
348
- if (!(hasOwnProperty$g.call(object4, key2) && eq(objValue, value)) || value === void 0 && !(key2 in object4)) {
348
+ if (!(hasOwnProperty$h.call(object4, key2) && eq(objValue, value)) || value === void 0 && !(key2 in object4)) {
349
349
  baseAssignValue(object4, key2, value);
350
350
  }
351
351
  }
@@ -422,9 +422,9 @@ function createAssigner(assigner) {
422
422
  return object4;
423
423
  });
424
424
  }
425
- var objectProto$g = Object.prototype;
425
+ var objectProto$h = Object.prototype;
426
426
  function isPrototype(value) {
427
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$g;
427
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$h;
428
428
  return value === proto;
429
429
  }
430
430
  function baseTimes(n2, iteratee) {
@@ -438,13 +438,13 @@ var argsTag$4 = "[object Arguments]";
438
438
  function baseIsArguments$1(value) {
439
439
  return isObjectLike$1(value) && baseGetTag$1(value) == argsTag$4;
440
440
  }
441
- var objectProto$f = Object.prototype;
442
- var hasOwnProperty$f = objectProto$f.hasOwnProperty;
443
- var propertyIsEnumerable$2 = objectProto$f.propertyIsEnumerable;
441
+ var objectProto$g = Object.prototype;
442
+ var hasOwnProperty$g = objectProto$g.hasOwnProperty;
443
+ var propertyIsEnumerable$2 = objectProto$g.propertyIsEnumerable;
444
444
  var isArguments = baseIsArguments$1(function() {
445
445
  return arguments;
446
446
  }()) ? baseIsArguments$1 : function(value) {
447
- return isObjectLike$1(value) && hasOwnProperty$f.call(value, "callee") && !propertyIsEnumerable$2.call(value, "callee");
447
+ return isObjectLike$1(value) && hasOwnProperty$g.call(value, "callee") && !propertyIsEnumerable$2.call(value, "callee");
448
448
  };
449
449
  const isArguments$1 = isArguments;
450
450
  function stubFalse() {
@@ -488,12 +488,12 @@ const nodeUtil$3 = nodeUtil$2;
488
488
  var nodeIsTypedArray = nodeUtil$3 && nodeUtil$3.isTypedArray;
489
489
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
490
490
  const isTypedArray$1 = isTypedArray;
491
- var objectProto$e = Object.prototype;
492
- var hasOwnProperty$e = objectProto$e.hasOwnProperty;
491
+ var objectProto$f = Object.prototype;
492
+ var hasOwnProperty$f = objectProto$f.hasOwnProperty;
493
493
  function arrayLikeKeys(value, inherited) {
494
494
  var isArr = isArray$2(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
495
495
  for (var key2 in value) {
496
- if ((inherited || hasOwnProperty$e.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
496
+ if ((inherited || hasOwnProperty$f.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
497
497
  (key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
498
498
  isBuff && (key2 == "offset" || key2 == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
499
499
  isType && (key2 == "buffer" || key2 == "byteLength" || key2 == "byteOffset") || // Skip index properties.
@@ -510,15 +510,15 @@ function overArg(func, transform) {
510
510
  }
511
511
  var nativeKeys = overArg(Object.keys, Object);
512
512
  const nativeKeys$1 = nativeKeys;
513
- var objectProto$d = Object.prototype;
514
- var hasOwnProperty$d = objectProto$d.hasOwnProperty;
513
+ var objectProto$e = Object.prototype;
514
+ var hasOwnProperty$e = objectProto$e.hasOwnProperty;
515
515
  function baseKeys(object4) {
516
516
  if (!isPrototype(object4)) {
517
517
  return nativeKeys$1(object4);
518
518
  }
519
519
  var result = [];
520
520
  for (var key2 in Object(object4)) {
521
- if (hasOwnProperty$d.call(object4, key2) && key2 != "constructor") {
521
+ if (hasOwnProperty$e.call(object4, key2) && key2 != "constructor") {
522
522
  result.push(key2);
523
523
  }
524
524
  }
@@ -536,15 +536,15 @@ function nativeKeysIn(object4) {
536
536
  }
537
537
  return result;
538
538
  }
539
- var objectProto$9 = Object.prototype;
540
- var hasOwnProperty$c = objectProto$9.hasOwnProperty;
539
+ var objectProto$d = Object.prototype;
540
+ var hasOwnProperty$d = objectProto$d.hasOwnProperty;
541
541
  function baseKeysIn(object4) {
542
542
  if (!isObject$6(object4)) {
543
543
  return nativeKeysIn(object4);
544
544
  }
545
545
  var isProto = isPrototype(object4), result = [];
546
546
  for (var key2 in object4) {
547
- if (!(key2 == "constructor" && (isProto || !hasOwnProperty$c.call(object4, key2)))) {
547
+ if (!(key2 == "constructor" && (isProto || !hasOwnProperty$d.call(object4, key2)))) {
548
548
  result.push(key2);
549
549
  }
550
550
  }
@@ -576,21 +576,21 @@ function hashDelete(key2) {
576
576
  return result;
577
577
  }
578
578
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
579
- var objectProto$8 = Object.prototype;
580
- var hasOwnProperty$b = objectProto$8.hasOwnProperty;
579
+ var objectProto$9 = Object.prototype;
580
+ var hasOwnProperty$c = objectProto$9.hasOwnProperty;
581
581
  function hashGet(key2) {
582
582
  var data = this.__data__;
583
583
  if (nativeCreate$1) {
584
584
  var result = data[key2];
585
585
  return result === HASH_UNDEFINED$2 ? void 0 : result;
586
586
  }
587
- return hasOwnProperty$b.call(data, key2) ? data[key2] : void 0;
587
+ return hasOwnProperty$c.call(data, key2) ? data[key2] : void 0;
588
588
  }
589
- var objectProto$6 = Object.prototype;
590
- var hasOwnProperty$a = objectProto$6.hasOwnProperty;
589
+ var objectProto$8 = Object.prototype;
590
+ var hasOwnProperty$b = objectProto$8.hasOwnProperty;
591
591
  function hashHas(key2) {
592
592
  var data = this.__data__;
593
- return nativeCreate$1 ? data[key2] !== void 0 : hasOwnProperty$a.call(data, key2);
593
+ return nativeCreate$1 ? data[key2] !== void 0 : hasOwnProperty$b.call(data, key2);
594
594
  }
595
595
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
596
596
  function hashSet(key2, value) {
@@ -829,9 +829,9 @@ function flatRest(func) {
829
829
  var getPrototype = overArg(Object.getPrototypeOf, Object);
830
830
  const getPrototype$1 = getPrototype;
831
831
  var objectTag$4 = "[object Object]";
832
- var funcProto$2 = Function.prototype, objectProto$5 = Object.prototype;
832
+ var funcProto$2 = Function.prototype, objectProto$6 = Object.prototype;
833
833
  var funcToString$2 = funcProto$2.toString;
834
- var hasOwnProperty$7 = objectProto$5.hasOwnProperty;
834
+ var hasOwnProperty$a = objectProto$6.hasOwnProperty;
835
835
  var objectCtorString = funcToString$2.call(Object);
836
836
  function isPlainObject$2(value) {
837
837
  if (!isObjectLike$1(value) || baseGetTag$1(value) != objectTag$4) {
@@ -841,7 +841,7 @@ function isPlainObject$2(value) {
841
841
  if (proto === null) {
842
842
  return true;
843
843
  }
844
- var Ctor = hasOwnProperty$7.call(proto, "constructor") && proto.constructor;
844
+ var Ctor = hasOwnProperty$a.call(proto, "constructor") && proto.constructor;
845
845
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString$2.call(Ctor) == objectCtorString;
846
846
  }
847
847
  function baseSlice(array4, start, end) {
@@ -967,8 +967,8 @@ function arrayFilter(array4, predicate) {
967
967
  function stubArray() {
968
968
  return [];
969
969
  }
970
- var objectProto$4 = Object.prototype;
971
- var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
970
+ var objectProto$5 = Object.prototype;
971
+ var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
972
972
  var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
973
973
  var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object4) {
974
974
  if (object4 == null) {
@@ -1037,11 +1037,11 @@ if (DataView$3 && getTag$1(new DataView$3(new ArrayBuffer(1))) != dataViewTag$4
1037
1037
  };
1038
1038
  }
1039
1039
  const getTag$2 = getTag$1;
1040
- var objectProto$3 = Object.prototype;
1041
- var hasOwnProperty$5 = objectProto$3.hasOwnProperty;
1040
+ var objectProto$4 = Object.prototype;
1041
+ var hasOwnProperty$7 = objectProto$4.hasOwnProperty;
1042
1042
  function initCloneArray(array4) {
1043
1043
  var length2 = array4.length, result = new array4.constructor(length2);
1044
- if (length2 && typeof array4[0] == "string" && hasOwnProperty$5.call(array4, "index")) {
1044
+ if (length2 && typeof array4[0] == "string" && hasOwnProperty$7.call(array4, "index")) {
1045
1045
  result.index = array4.index;
1046
1046
  result.input = array4.input;
1047
1047
  }
@@ -1332,8 +1332,8 @@ function equalByTag(object4, other, tag2, bitmask, customizer, equalFunc, stack)
1332
1332
  return false;
1333
1333
  }
1334
1334
  var COMPARE_PARTIAL_FLAG$3 = 1;
1335
- var objectProto$2 = Object.prototype;
1336
- var hasOwnProperty$4 = objectProto$2.hasOwnProperty;
1335
+ var objectProto$3 = Object.prototype;
1336
+ var hasOwnProperty$5 = objectProto$3.hasOwnProperty;
1337
1337
  function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1338
1338
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object4), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
1339
1339
  if (objLength != othLength && !isPartial) {
@@ -1342,7 +1342,7 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1342
1342
  var index2 = objLength;
1343
1343
  while (index2--) {
1344
1344
  var key2 = objProps[index2];
1345
- if (!(isPartial ? key2 in other : hasOwnProperty$4.call(other, key2))) {
1345
+ if (!(isPartial ? key2 in other : hasOwnProperty$5.call(other, key2))) {
1346
1346
  return false;
1347
1347
  }
1348
1348
  }
@@ -1379,8 +1379,8 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1379
1379
  }
1380
1380
  var COMPARE_PARTIAL_FLAG$2 = 1;
1381
1381
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
1382
- var objectProto$1 = Object.prototype;
1383
- var hasOwnProperty$3 = objectProto$1.hasOwnProperty;
1382
+ var objectProto$2 = Object.prototype;
1383
+ var hasOwnProperty$4 = objectProto$2.hasOwnProperty;
1384
1384
  function baseIsEqualDeep(object4, other, bitmask, customizer, equalFunc, stack) {
1385
1385
  var objIsArr = isArray$2(object4), othIsArr = isArray$2(other), objTag = objIsArr ? arrayTag : getTag$2(object4), othTag = othIsArr ? arrayTag : getTag$2(other);
1386
1386
  objTag = objTag == argsTag ? objectTag : objTag;
@@ -1398,7 +1398,7 @@ function baseIsEqualDeep(object4, other, bitmask, customizer, equalFunc, stack)
1398
1398
  return objIsArr || isTypedArray$1(object4) ? equalArrays(object4, other, bitmask, customizer, equalFunc, stack) : equalByTag(object4, other, objTag, bitmask, customizer, equalFunc, stack);
1399
1399
  }
1400
1400
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
1401
- var objIsWrapped = objIsObj && hasOwnProperty$3.call(object4, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$3.call(other, "__wrapped__");
1401
+ var objIsWrapped = objIsObj && hasOwnProperty$4.call(object4, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$4.call(other, "__wrapped__");
1402
1402
  if (objIsWrapped || othIsWrapped) {
1403
1403
  var objUnwrapped = objIsWrapped ? object4.value() : object4, othUnwrapped = othIsWrapped ? other.value() : other;
1404
1404
  stack || (stack = new Stack());
@@ -1798,10 +1798,10 @@ function findIndex(array4, predicate, fromIndex) {
1798
1798
  }
1799
1799
  var find = createFind(findIndex);
1800
1800
  const find$1 = find;
1801
- var objectProto = Object.prototype;
1802
- var hasOwnProperty$2 = objectProto.hasOwnProperty;
1801
+ var objectProto$1 = Object.prototype;
1802
+ var hasOwnProperty$3 = objectProto$1.hasOwnProperty;
1803
1803
  function baseHas(object4, key2) {
1804
- return object4 != null && hasOwnProperty$2.call(object4, key2);
1804
+ return object4 != null && hasOwnProperty$3.call(object4, key2);
1805
1805
  }
1806
1806
  function has(object4, path) {
1807
1807
  return object4 != null && hasPath(object4, path, baseHas);
@@ -1868,10 +1868,32 @@ var merge$1 = createAssigner(function(object4, source, srcIndex) {
1868
1868
  baseMerge(object4, source, srcIndex);
1869
1869
  });
1870
1870
  const merge$2 = merge$1;
1871
+ var objectProto = Object.prototype;
1872
+ var hasOwnProperty$2 = objectProto.hasOwnProperty;
1871
1873
  function baseUnset(object4, path) {
1872
1874
  path = castPath(path, object4);
1873
- object4 = parent(object4, path);
1874
- return object4 == null || delete object4[toKey(last(path))];
1875
+ var index2 = -1, length2 = path.length;
1876
+ if (!length2) {
1877
+ return true;
1878
+ }
1879
+ var isRootPrimitive = object4 == null || typeof object4 !== "object" && typeof object4 !== "function";
1880
+ while (++index2 < length2) {
1881
+ var key2 = path[index2];
1882
+ if (typeof key2 !== "string") {
1883
+ continue;
1884
+ }
1885
+ if (key2 === "__proto__" && !hasOwnProperty$2.call(object4, "__proto__")) {
1886
+ return false;
1887
+ }
1888
+ if (key2 === "constructor" && index2 + 1 < length2 && typeof path[index2 + 1] === "string" && path[index2 + 1] === "prototype") {
1889
+ if (isRootPrimitive && index2 === 0) {
1890
+ continue;
1891
+ }
1892
+ return false;
1893
+ }
1894
+ }
1895
+ var obj = parent(object4, path);
1896
+ return obj == null || delete obj[toKey(last(path))];
1875
1897
  }
1876
1898
  function customOmitClone(value) {
1877
1899
  return isPlainObject$2(value) ? void 0 : value;
@@ -2201,14 +2223,14 @@ const _sfc_main$_ = defineComponent({
2201
2223
  }
2202
2224
  });
2203
2225
  const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
2204
- const _hoisted_1$o = ["xlink:href"];
2226
+ const _hoisted_1$p = ["xlink:href"];
2205
2227
  function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
2206
2228
  return openBlock(), createElementBlock("svg", {
2207
2229
  class: normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
2208
2230
  style: normalizeStyle$1(_ctx.getStyle),
2209
2231
  "aria-hidden": "true"
2210
2232
  }, [
2211
- createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$o)
2233
+ createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$p)
2212
2234
  ], 6);
2213
2235
  }
2214
2236
  const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$B], ["__scopeId", "data-v-905fa4a6"]]);
@@ -4678,7 +4700,7 @@ function useTransition(source, options = {}) {
4678
4700
  return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
4679
4701
  });
4680
4702
  }
4681
- const _hoisted_1$n = { class: "flex justify-between" };
4703
+ const _hoisted_1$o = { class: "flex justify-between" };
4682
4704
  const _hoisted_2$7 = { key: 0 };
4683
4705
  const _hoisted_3$4 = { class: "flex flex-wrap px-2" };
4684
4706
  const _hoisted_4$3 = ["onClick", "title"];
@@ -4787,7 +4809,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4787
4809
  overlayClassName: `${prefixCls$8}-popover`
4788
4810
  }, {
4789
4811
  title: withCtx(() => [
4790
- createElementVNode("div", _hoisted_1$n, [
4812
+ createElementVNode("div", _hoisted_1$o, [
4791
4813
  createVNode(unref(AInput), {
4792
4814
  placeholder: "搜索图标",
4793
4815
  onChange: unref(debounceHandleSearchChange),
@@ -7506,7 +7528,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
7506
7528
  ], 2);
7507
7529
  }
7508
7530
  const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$z]]);
7509
- const _hoisted_1$m = { class: "p-2" };
7531
+ const _hoisted_1$n = { class: "p-2" };
7510
7532
  const prefixCls$6 = "shy-collapse-container";
7511
7533
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
7512
7534
  __name: "CollapseContainer",
@@ -7567,7 +7589,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
7567
7589
  ]),
7568
7590
  _: 3
7569
7591
  }, 16, ["show", "class"]),
7570
- createElementVNode("div", _hoisted_1$m, [
7592
+ createElementVNode("div", _hoisted_1$n, [
7571
7593
  createVNode(unref(CollapseTransition), { enable: __props.canExpan }, {
7572
7594
  default: withCtx(() => [
7573
7595
  __props.loading ? (openBlock(), createBlock(unref(Skeleton), {
@@ -7816,10 +7838,10 @@ const _sfc_main$T = defineComponent({
7816
7838
  }
7817
7839
  });
7818
7840
  const Scrollbar_vue_vue_type_style_index_0_lang = "";
7819
- const _hoisted_1$l = { class: "scrollbar" };
7841
+ const _hoisted_1$m = { class: "scrollbar" };
7820
7842
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7821
7843
  const _component_bar = resolveComponent("bar");
7822
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
7844
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
7823
7845
  createElementVNode("div", {
7824
7846
  ref: "wrap",
7825
7847
  class: normalizeClass([
@@ -8030,7 +8052,7 @@ const _sfc_main$R = defineComponent({
8030
8052
  };
8031
8053
  }
8032
8054
  });
8033
- const _hoisted_1$k = { key: "component" };
8055
+ const _hoisted_1$l = { key: "component" };
8034
8056
  const _hoisted_2$6 = { key: "skeleton" };
8035
8057
  function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
8036
8058
  const _component_Skeleton = resolveComponent("Skeleton");
@@ -8041,7 +8063,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
8041
8063
  mode: "out-in"
8042
8064
  }), {
8043
8065
  default: withCtx(() => [
8044
- _ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
8066
+ _ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
8045
8067
  renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
8046
8068
  ])) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
8047
8069
  _ctx.$slots.skeleton ? renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (openBlock(), createBlock(_component_Skeleton, { key: 1 }))
@@ -8604,7 +8626,7 @@ const _sfc_main$P = defineComponent({
8604
8626
  return { wrapperRef, spinRef, spinStyle, setModalHeight };
8605
8627
  }
8606
8628
  });
8607
- const _hoisted_1$j = ["loading-tip"];
8629
+ const _hoisted_1$k = ["loading-tip"];
8608
8630
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8609
8631
  return openBlock(), createElementBlock("div", {
8610
8632
  ref: "spinRef",
@@ -8612,7 +8634,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8612
8634
  "loading-tip": _ctx.loadingTip
8613
8635
  }, [
8614
8636
  renderSlot(_ctx.$slots, "default")
8615
- ], 12, _hoisted_1$j);
8637
+ ], 12, _hoisted_1$k);
8616
8638
  }
8617
8639
  const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$u]]);
8618
8640
  function getKey$1(namespace, key2) {
@@ -8922,9 +8944,10 @@ const _sfc_main$N = defineComponent({
8922
8944
  return { handleOk, handleCancel };
8923
8945
  }
8924
8946
  });
8947
+ const _hoisted_1$j = { class: "text-right w-full space-x-2" };
8925
8948
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8926
8949
  const _component_BasicButton = resolveComponent("BasicButton");
8927
- return openBlock(), createElementBlock(Fragment, null, [
8950
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
8928
8951
  renderSlot(_ctx.$slots, "insertFooter"),
8929
8952
  _ctx.showCancelBtn ? (openBlock(), createBlock(_component_BasicButton, mergeProps({
8930
8953
  key: 0,
@@ -8948,7 +8971,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8948
8971
  _: 1
8949
8972
  }, 16, ["onClick", "loading"])) : createCommentVNode("", true),
8950
8973
  renderSlot(_ctx.$slots, "appendFooter")
8951
- ], 64);
8974
+ ]);
8952
8975
  }
8953
8976
  const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$s]]);
8954
8977
  const prefixCls$5 = "shy-basic-title";
@@ -26368,7 +26391,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
26368
26391
  }
26369
26392
  });
26370
26393
  /**
26371
- * @vue/shared v3.5.17
26394
+ * @vue/shared v3.5.26
26372
26395
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
26373
26396
  * @license MIT
26374
26397
  **/
@@ -31201,15 +31224,15 @@ const ShyTable = /* @__PURE__ */ defineComponent({
31201
31224
  const isShowForm = () => {
31202
31225
  let _slot;
31203
31226
  return getBindValues.value.useSearchForm ? createVNode(ShyForm, mergeProps({
31204
- "ref": formRef
31227
+ "ref": formRef,
31228
+ "showActionButtonGroup": true
31205
31229
  }, getFormProps.value, {
31206
31230
  "tableAction": tableAction2,
31207
31231
  "formLabelInInput": getBindValues.value.formLabelInInput,
31208
31232
  "onRegister": registerForm,
31209
31233
  "onSubmit": handleSearchInfoChange,
31210
31234
  "onAdvancedChange": redoHeight,
31211
- "submitOnReset": true,
31212
- "showActionButtonGroup": true
31235
+ "submitOnReset": true
31213
31236
  }), _isSlot$3(_slot = getFormSlotKeys.value.map((item) => {
31214
31237
  return {
31215
31238
  [replaceFormSlotKey(item)]: (data) => {
package/es/style.css CHANGED
@@ -297,6 +297,11 @@ ul {
297
297
  max-width: 1600px;
298
298
  }
299
299
  }
300
+ .space-x-2 > :not([hidden]) ~ :not([hidden]) {
301
+ --tw-space-x-reverse: 0;
302
+ margin-right: calc(0.5rem * var(--tw-space-x-reverse));
303
+ margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
304
+ }
300
305
  .bg-gray-100 {
301
306
  --tw-bg-opacity: 1;
302
307
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
@@ -457,6 +462,9 @@ ul {
457
462
  .resize {
458
463
  resize: both;
459
464
  }
465
+ .text-right {
466
+ text-align: right;
467
+ }
460
468
  .text-red-500 {
461
469
  --tw-text-opacity: 1;
462
470
  color: rgba(239, 68, 68, var(--tw-text-opacity));
package/lib/index.js CHANGED
@@ -45,12 +45,12 @@ var root$2 = freeGlobal$3 || freeSelf$1 || Function("return this")();
45
45
  const root$3 = root$2;
46
46
  var Symbol$3 = root$3.Symbol;
47
47
  const Symbol$4 = Symbol$3;
48
- var objectProto$k = Object.prototype;
49
- var hasOwnProperty$i = objectProto$k.hasOwnProperty;
50
- var nativeObjectToString$3 = objectProto$k.toString;
48
+ var objectProto$l = Object.prototype;
49
+ var hasOwnProperty$j = objectProto$l.hasOwnProperty;
50
+ var nativeObjectToString$3 = objectProto$l.toString;
51
51
  var symToStringTag$3 = Symbol$4 ? Symbol$4.toStringTag : void 0;
52
52
  function getRawTag$1(value) {
53
- var isOwn = hasOwnProperty$i.call(value, symToStringTag$3), tag2 = value[symToStringTag$3];
53
+ var isOwn = hasOwnProperty$j.call(value, symToStringTag$3), tag2 = value[symToStringTag$3];
54
54
  try {
55
55
  value[symToStringTag$3] = void 0;
56
56
  var unmasked = true;
@@ -66,8 +66,8 @@ function getRawTag$1(value) {
66
66
  }
67
67
  return result;
68
68
  }
69
- var objectProto$j = Object.prototype;
70
- var nativeObjectToString$2 = objectProto$j.toString;
69
+ var objectProto$k = Object.prototype;
70
+ var nativeObjectToString$2 = objectProto$k.toString;
71
71
  function objectToString$1(value) {
72
72
  return nativeObjectToString$2.call(value);
73
73
  }
@@ -201,11 +201,11 @@ function toSource$1(func) {
201
201
  }
202
202
  var reRegExpChar$1 = /[\\^$.*+?()[\]{}|]/g;
203
203
  var reIsHostCtor$1 = /^\[object .+?Constructor\]$/;
204
- var funcProto$3 = Function.prototype, objectProto$i = Object.prototype;
204
+ var funcProto$3 = Function.prototype, objectProto$j = Object.prototype;
205
205
  var funcToString$3 = funcProto$3.toString;
206
- var hasOwnProperty$h = objectProto$i.hasOwnProperty;
206
+ var hasOwnProperty$i = objectProto$j.hasOwnProperty;
207
207
  var reIsNative$1 = RegExp(
208
- "^" + funcToString$3.call(hasOwnProperty$h).replace(reRegExpChar$1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
208
+ "^" + funcToString$3.call(hasOwnProperty$i).replace(reRegExpChar$1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
209
209
  );
210
210
  function baseIsNative$1(value) {
211
211
  if (!isObject$6(value) || isMasked$1(value)) {
@@ -365,11 +365,11 @@ function baseAssignValue(object4, key2, value) {
365
365
  function eq(value, other) {
366
366
  return value === other || value !== value && other !== other;
367
367
  }
368
- var objectProto$h = Object.prototype;
369
- var hasOwnProperty$g = objectProto$h.hasOwnProperty;
368
+ var objectProto$i = Object.prototype;
369
+ var hasOwnProperty$h = objectProto$i.hasOwnProperty;
370
370
  function assignValue(object4, key2, value) {
371
371
  var objValue = object4[key2];
372
- if (!(hasOwnProperty$g.call(object4, key2) && eq(objValue, value)) || value === void 0 && !(key2 in object4)) {
372
+ if (!(hasOwnProperty$h.call(object4, key2) && eq(objValue, value)) || value === void 0 && !(key2 in object4)) {
373
373
  baseAssignValue(object4, key2, value);
374
374
  }
375
375
  }
@@ -446,9 +446,9 @@ function createAssigner(assigner) {
446
446
  return object4;
447
447
  });
448
448
  }
449
- var objectProto$g = Object.prototype;
449
+ var objectProto$h = Object.prototype;
450
450
  function isPrototype(value) {
451
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$g;
451
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$h;
452
452
  return value === proto;
453
453
  }
454
454
  function baseTimes(n2, iteratee) {
@@ -462,13 +462,13 @@ var argsTag$4 = "[object Arguments]";
462
462
  function baseIsArguments$1(value) {
463
463
  return isObjectLike$1(value) && baseGetTag$1(value) == argsTag$4;
464
464
  }
465
- var objectProto$f = Object.prototype;
466
- var hasOwnProperty$f = objectProto$f.hasOwnProperty;
467
- var propertyIsEnumerable$2 = objectProto$f.propertyIsEnumerable;
465
+ var objectProto$g = Object.prototype;
466
+ var hasOwnProperty$g = objectProto$g.hasOwnProperty;
467
+ var propertyIsEnumerable$2 = objectProto$g.propertyIsEnumerable;
468
468
  var isArguments = baseIsArguments$1(function() {
469
469
  return arguments;
470
470
  }()) ? baseIsArguments$1 : function(value) {
471
- return isObjectLike$1(value) && hasOwnProperty$f.call(value, "callee") && !propertyIsEnumerable$2.call(value, "callee");
471
+ return isObjectLike$1(value) && hasOwnProperty$g.call(value, "callee") && !propertyIsEnumerable$2.call(value, "callee");
472
472
  };
473
473
  const isArguments$1 = isArguments;
474
474
  function stubFalse() {
@@ -512,12 +512,12 @@ const nodeUtil$3 = nodeUtil$2;
512
512
  var nodeIsTypedArray = nodeUtil$3 && nodeUtil$3.isTypedArray;
513
513
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
514
514
  const isTypedArray$1 = isTypedArray;
515
- var objectProto$e = Object.prototype;
516
- var hasOwnProperty$e = objectProto$e.hasOwnProperty;
515
+ var objectProto$f = Object.prototype;
516
+ var hasOwnProperty$f = objectProto$f.hasOwnProperty;
517
517
  function arrayLikeKeys(value, inherited) {
518
518
  var isArr = isArray$2(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
519
519
  for (var key2 in value) {
520
- if ((inherited || hasOwnProperty$e.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
520
+ if ((inherited || hasOwnProperty$f.call(value, key2)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
521
521
  (key2 == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
522
522
  isBuff && (key2 == "offset" || key2 == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
523
523
  isType && (key2 == "buffer" || key2 == "byteLength" || key2 == "byteOffset") || // Skip index properties.
@@ -534,15 +534,15 @@ function overArg(func, transform) {
534
534
  }
535
535
  var nativeKeys = overArg(Object.keys, Object);
536
536
  const nativeKeys$1 = nativeKeys;
537
- var objectProto$d = Object.prototype;
538
- var hasOwnProperty$d = objectProto$d.hasOwnProperty;
537
+ var objectProto$e = Object.prototype;
538
+ var hasOwnProperty$e = objectProto$e.hasOwnProperty;
539
539
  function baseKeys(object4) {
540
540
  if (!isPrototype(object4)) {
541
541
  return nativeKeys$1(object4);
542
542
  }
543
543
  var result = [];
544
544
  for (var key2 in Object(object4)) {
545
- if (hasOwnProperty$d.call(object4, key2) && key2 != "constructor") {
545
+ if (hasOwnProperty$e.call(object4, key2) && key2 != "constructor") {
546
546
  result.push(key2);
547
547
  }
548
548
  }
@@ -560,15 +560,15 @@ function nativeKeysIn(object4) {
560
560
  }
561
561
  return result;
562
562
  }
563
- var objectProto$9 = Object.prototype;
564
- var hasOwnProperty$c = objectProto$9.hasOwnProperty;
563
+ var objectProto$d = Object.prototype;
564
+ var hasOwnProperty$d = objectProto$d.hasOwnProperty;
565
565
  function baseKeysIn(object4) {
566
566
  if (!isObject$6(object4)) {
567
567
  return nativeKeysIn(object4);
568
568
  }
569
569
  var isProto = isPrototype(object4), result = [];
570
570
  for (var key2 in object4) {
571
- if (!(key2 == "constructor" && (isProto || !hasOwnProperty$c.call(object4, key2)))) {
571
+ if (!(key2 == "constructor" && (isProto || !hasOwnProperty$d.call(object4, key2)))) {
572
572
  result.push(key2);
573
573
  }
574
574
  }
@@ -600,21 +600,21 @@ function hashDelete(key2) {
600
600
  return result;
601
601
  }
602
602
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
603
- var objectProto$8 = Object.prototype;
604
- var hasOwnProperty$b = objectProto$8.hasOwnProperty;
603
+ var objectProto$9 = Object.prototype;
604
+ var hasOwnProperty$c = objectProto$9.hasOwnProperty;
605
605
  function hashGet(key2) {
606
606
  var data = this.__data__;
607
607
  if (nativeCreate$1) {
608
608
  var result = data[key2];
609
609
  return result === HASH_UNDEFINED$2 ? void 0 : result;
610
610
  }
611
- return hasOwnProperty$b.call(data, key2) ? data[key2] : void 0;
611
+ return hasOwnProperty$c.call(data, key2) ? data[key2] : void 0;
612
612
  }
613
- var objectProto$6 = Object.prototype;
614
- var hasOwnProperty$a = objectProto$6.hasOwnProperty;
613
+ var objectProto$8 = Object.prototype;
614
+ var hasOwnProperty$b = objectProto$8.hasOwnProperty;
615
615
  function hashHas(key2) {
616
616
  var data = this.__data__;
617
- return nativeCreate$1 ? data[key2] !== void 0 : hasOwnProperty$a.call(data, key2);
617
+ return nativeCreate$1 ? data[key2] !== void 0 : hasOwnProperty$b.call(data, key2);
618
618
  }
619
619
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
620
620
  function hashSet(key2, value) {
@@ -853,9 +853,9 @@ function flatRest(func) {
853
853
  var getPrototype = overArg(Object.getPrototypeOf, Object);
854
854
  const getPrototype$1 = getPrototype;
855
855
  var objectTag$4 = "[object Object]";
856
- var funcProto$2 = Function.prototype, objectProto$5 = Object.prototype;
856
+ var funcProto$2 = Function.prototype, objectProto$6 = Object.prototype;
857
857
  var funcToString$2 = funcProto$2.toString;
858
- var hasOwnProperty$7 = objectProto$5.hasOwnProperty;
858
+ var hasOwnProperty$a = objectProto$6.hasOwnProperty;
859
859
  var objectCtorString = funcToString$2.call(Object);
860
860
  function isPlainObject$2(value) {
861
861
  if (!isObjectLike$1(value) || baseGetTag$1(value) != objectTag$4) {
@@ -865,7 +865,7 @@ function isPlainObject$2(value) {
865
865
  if (proto === null) {
866
866
  return true;
867
867
  }
868
- var Ctor = hasOwnProperty$7.call(proto, "constructor") && proto.constructor;
868
+ var Ctor = hasOwnProperty$a.call(proto, "constructor") && proto.constructor;
869
869
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString$2.call(Ctor) == objectCtorString;
870
870
  }
871
871
  function baseSlice(array4, start, end) {
@@ -991,8 +991,8 @@ function arrayFilter(array4, predicate) {
991
991
  function stubArray() {
992
992
  return [];
993
993
  }
994
- var objectProto$4 = Object.prototype;
995
- var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
994
+ var objectProto$5 = Object.prototype;
995
+ var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
996
996
  var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
997
997
  var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object4) {
998
998
  if (object4 == null) {
@@ -1061,11 +1061,11 @@ if (DataView$3 && getTag$1(new DataView$3(new ArrayBuffer(1))) != dataViewTag$4
1061
1061
  };
1062
1062
  }
1063
1063
  const getTag$2 = getTag$1;
1064
- var objectProto$3 = Object.prototype;
1065
- var hasOwnProperty$5 = objectProto$3.hasOwnProperty;
1064
+ var objectProto$4 = Object.prototype;
1065
+ var hasOwnProperty$7 = objectProto$4.hasOwnProperty;
1066
1066
  function initCloneArray(array4) {
1067
1067
  var length2 = array4.length, result = new array4.constructor(length2);
1068
- if (length2 && typeof array4[0] == "string" && hasOwnProperty$5.call(array4, "index")) {
1068
+ if (length2 && typeof array4[0] == "string" && hasOwnProperty$7.call(array4, "index")) {
1069
1069
  result.index = array4.index;
1070
1070
  result.input = array4.input;
1071
1071
  }
@@ -1356,8 +1356,8 @@ function equalByTag(object4, other, tag2, bitmask, customizer, equalFunc, stack)
1356
1356
  return false;
1357
1357
  }
1358
1358
  var COMPARE_PARTIAL_FLAG$3 = 1;
1359
- var objectProto$2 = Object.prototype;
1360
- var hasOwnProperty$4 = objectProto$2.hasOwnProperty;
1359
+ var objectProto$3 = Object.prototype;
1360
+ var hasOwnProperty$5 = objectProto$3.hasOwnProperty;
1361
1361
  function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1362
1362
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object4), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
1363
1363
  if (objLength != othLength && !isPartial) {
@@ -1366,7 +1366,7 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1366
1366
  var index2 = objLength;
1367
1367
  while (index2--) {
1368
1368
  var key2 = objProps[index2];
1369
- if (!(isPartial ? key2 in other : hasOwnProperty$4.call(other, key2))) {
1369
+ if (!(isPartial ? key2 in other : hasOwnProperty$5.call(other, key2))) {
1370
1370
  return false;
1371
1371
  }
1372
1372
  }
@@ -1403,8 +1403,8 @@ function equalObjects(object4, other, bitmask, customizer, equalFunc, stack) {
1403
1403
  }
1404
1404
  var COMPARE_PARTIAL_FLAG$2 = 1;
1405
1405
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
1406
- var objectProto$1 = Object.prototype;
1407
- var hasOwnProperty$3 = objectProto$1.hasOwnProperty;
1406
+ var objectProto$2 = Object.prototype;
1407
+ var hasOwnProperty$4 = objectProto$2.hasOwnProperty;
1408
1408
  function baseIsEqualDeep(object4, other, bitmask, customizer, equalFunc, stack) {
1409
1409
  var objIsArr = isArray$2(object4), othIsArr = isArray$2(other), objTag = objIsArr ? arrayTag : getTag$2(object4), othTag = othIsArr ? arrayTag : getTag$2(other);
1410
1410
  objTag = objTag == argsTag ? objectTag : objTag;
@@ -1422,7 +1422,7 @@ function baseIsEqualDeep(object4, other, bitmask, customizer, equalFunc, stack)
1422
1422
  return objIsArr || isTypedArray$1(object4) ? equalArrays(object4, other, bitmask, customizer, equalFunc, stack) : equalByTag(object4, other, objTag, bitmask, customizer, equalFunc, stack);
1423
1423
  }
1424
1424
  if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
1425
- var objIsWrapped = objIsObj && hasOwnProperty$3.call(object4, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$3.call(other, "__wrapped__");
1425
+ var objIsWrapped = objIsObj && hasOwnProperty$4.call(object4, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$4.call(other, "__wrapped__");
1426
1426
  if (objIsWrapped || othIsWrapped) {
1427
1427
  var objUnwrapped = objIsWrapped ? object4.value() : object4, othUnwrapped = othIsWrapped ? other.value() : other;
1428
1428
  stack || (stack = new Stack());
@@ -1822,10 +1822,10 @@ function findIndex(array4, predicate, fromIndex) {
1822
1822
  }
1823
1823
  var find = createFind(findIndex);
1824
1824
  const find$1 = find;
1825
- var objectProto = Object.prototype;
1826
- var hasOwnProperty$2 = objectProto.hasOwnProperty;
1825
+ var objectProto$1 = Object.prototype;
1826
+ var hasOwnProperty$3 = objectProto$1.hasOwnProperty;
1827
1827
  function baseHas(object4, key2) {
1828
- return object4 != null && hasOwnProperty$2.call(object4, key2);
1828
+ return object4 != null && hasOwnProperty$3.call(object4, key2);
1829
1829
  }
1830
1830
  function has(object4, path) {
1831
1831
  return object4 != null && hasPath(object4, path, baseHas);
@@ -1892,10 +1892,32 @@ var merge$1 = createAssigner(function(object4, source, srcIndex) {
1892
1892
  baseMerge(object4, source, srcIndex);
1893
1893
  });
1894
1894
  const merge$2 = merge$1;
1895
+ var objectProto = Object.prototype;
1896
+ var hasOwnProperty$2 = objectProto.hasOwnProperty;
1895
1897
  function baseUnset(object4, path) {
1896
1898
  path = castPath(path, object4);
1897
- object4 = parent(object4, path);
1898
- return object4 == null || delete object4[toKey(last(path))];
1899
+ var index2 = -1, length2 = path.length;
1900
+ if (!length2) {
1901
+ return true;
1902
+ }
1903
+ var isRootPrimitive = object4 == null || typeof object4 !== "object" && typeof object4 !== "function";
1904
+ while (++index2 < length2) {
1905
+ var key2 = path[index2];
1906
+ if (typeof key2 !== "string") {
1907
+ continue;
1908
+ }
1909
+ if (key2 === "__proto__" && !hasOwnProperty$2.call(object4, "__proto__")) {
1910
+ return false;
1911
+ }
1912
+ if (key2 === "constructor" && index2 + 1 < length2 && typeof path[index2 + 1] === "string" && path[index2 + 1] === "prototype") {
1913
+ if (isRootPrimitive && index2 === 0) {
1914
+ continue;
1915
+ }
1916
+ return false;
1917
+ }
1918
+ }
1919
+ var obj = parent(object4, path);
1920
+ return obj == null || delete obj[toKey(last(path))];
1899
1921
  }
1900
1922
  function customOmitClone(value) {
1901
1923
  return isPlainObject$2(value) ? void 0 : value;
@@ -2225,14 +2247,14 @@ const _sfc_main$_ = vue.defineComponent({
2225
2247
  }
2226
2248
  });
2227
2249
  const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
2228
- const _hoisted_1$o = ["xlink:href"];
2250
+ const _hoisted_1$p = ["xlink:href"];
2229
2251
  function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
2230
2252
  return vue.openBlock(), vue.createElementBlock("svg", {
2231
2253
  class: vue.normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
2232
2254
  style: vue.normalizeStyle(_ctx.getStyle),
2233
2255
  "aria-hidden": "true"
2234
2256
  }, [
2235
- vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$o)
2257
+ vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$p)
2236
2258
  ], 6);
2237
2259
  }
2238
2260
  const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$B], ["__scopeId", "data-v-905fa4a6"]]);
@@ -4702,7 +4724,7 @@ function useTransition(source, options = {}) {
4702
4724
  return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
4703
4725
  });
4704
4726
  }
4705
- const _hoisted_1$n = { class: "flex justify-between" };
4727
+ const _hoisted_1$o = { class: "flex justify-between" };
4706
4728
  const _hoisted_2$7 = { key: 0 };
4707
4729
  const _hoisted_3$4 = { class: "flex flex-wrap px-2" };
4708
4730
  const _hoisted_4$3 = ["onClick", "title"];
@@ -4811,7 +4833,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
4811
4833
  overlayClassName: `${prefixCls$8}-popover`
4812
4834
  }, {
4813
4835
  title: vue.withCtx(() => [
4814
- vue.createElementVNode("div", _hoisted_1$n, [
4836
+ vue.createElementVNode("div", _hoisted_1$o, [
4815
4837
  vue.createVNode(vue.unref(AInput), {
4816
4838
  placeholder: "搜索图标",
4817
4839
  onChange: vue.unref(debounceHandleSearchChange),
@@ -7530,7 +7552,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
7530
7552
  ], 2);
7531
7553
  }
7532
7554
  const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$z]]);
7533
- const _hoisted_1$m = { class: "p-2" };
7555
+ const _hoisted_1$n = { class: "p-2" };
7534
7556
  const prefixCls$6 = "shy-collapse-container";
7535
7557
  const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
7536
7558
  __name: "CollapseContainer",
@@ -7591,7 +7613,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
7591
7613
  ]),
7592
7614
  _: 3
7593
7615
  }, 16, ["show", "class"]),
7594
- vue.createElementVNode("div", _hoisted_1$m, [
7616
+ vue.createElementVNode("div", _hoisted_1$n, [
7595
7617
  vue.createVNode(vue.unref(CollapseTransition), { enable: __props.canExpan }, {
7596
7618
  default: vue.withCtx(() => [
7597
7619
  __props.loading ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Skeleton), {
@@ -7840,10 +7862,10 @@ const _sfc_main$T = vue.defineComponent({
7840
7862
  }
7841
7863
  });
7842
7864
  const Scrollbar_vue_vue_type_style_index_0_lang = "";
7843
- const _hoisted_1$l = { class: "scrollbar" };
7865
+ const _hoisted_1$m = { class: "scrollbar" };
7844
7866
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
7845
7867
  const _component_bar = vue.resolveComponent("bar");
7846
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
7868
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
7847
7869
  vue.createElementVNode("div", {
7848
7870
  ref: "wrap",
7849
7871
  class: vue.normalizeClass([
@@ -8054,7 +8076,7 @@ const _sfc_main$R = vue.defineComponent({
8054
8076
  };
8055
8077
  }
8056
8078
  });
8057
- const _hoisted_1$k = { key: "component" };
8079
+ const _hoisted_1$l = { key: "component" };
8058
8080
  const _hoisted_2$6 = { key: "skeleton" };
8059
8081
  function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
8060
8082
  const _component_Skeleton = vue.resolveComponent("Skeleton");
@@ -8065,7 +8087,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
8065
8087
  mode: "out-in"
8066
8088
  }), {
8067
8089
  default: vue.withCtx(() => [
8068
- _ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
8090
+ _ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
8069
8091
  vue.renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
8070
8092
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
8071
8093
  _ctx.$slots.skeleton ? vue.renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_Skeleton, { key: 1 }))
@@ -8628,7 +8650,7 @@ const _sfc_main$P = vue.defineComponent({
8628
8650
  return { wrapperRef, spinRef, spinStyle, setModalHeight };
8629
8651
  }
8630
8652
  });
8631
- const _hoisted_1$j = ["loading-tip"];
8653
+ const _hoisted_1$k = ["loading-tip"];
8632
8654
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8633
8655
  return vue.openBlock(), vue.createElementBlock("div", {
8634
8656
  ref: "spinRef",
@@ -8636,7 +8658,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8636
8658
  "loading-tip": _ctx.loadingTip
8637
8659
  }, [
8638
8660
  vue.renderSlot(_ctx.$slots, "default")
8639
- ], 12, _hoisted_1$j);
8661
+ ], 12, _hoisted_1$k);
8640
8662
  }
8641
8663
  const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$u]]);
8642
8664
  function getKey$1(namespace, key2) {
@@ -8946,9 +8968,10 @@ const _sfc_main$N = vue.defineComponent({
8946
8968
  return { handleOk, handleCancel };
8947
8969
  }
8948
8970
  });
8971
+ const _hoisted_1$j = { class: "text-right w-full space-x-2" };
8949
8972
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8950
8973
  const _component_BasicButton = vue.resolveComponent("BasicButton");
8951
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
8974
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
8952
8975
  vue.renderSlot(_ctx.$slots, "insertFooter"),
8953
8976
  _ctx.showCancelBtn ? (vue.openBlock(), vue.createBlock(_component_BasicButton, vue.mergeProps({
8954
8977
  key: 0,
@@ -8972,7 +8995,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8972
8995
  _: 1
8973
8996
  }, 16, ["onClick", "loading"])) : vue.createCommentVNode("", true),
8974
8997
  vue.renderSlot(_ctx.$slots, "appendFooter")
8975
- ], 64);
8998
+ ]);
8976
8999
  }
8977
9000
  const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$s]]);
8978
9001
  const prefixCls$5 = "shy-basic-title";
@@ -26392,7 +26415,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26392
26415
  }
26393
26416
  });
26394
26417
  /**
26395
- * @vue/shared v3.5.17
26418
+ * @vue/shared v3.5.26
26396
26419
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
26397
26420
  * @license MIT
26398
26421
  **/
@@ -31225,15 +31248,15 @@ const ShyTable = /* @__PURE__ */ vue.defineComponent({
31225
31248
  const isShowForm = () => {
31226
31249
  let _slot;
31227
31250
  return getBindValues.value.useSearchForm ? vue.createVNode(ShyForm, vue.mergeProps({
31228
- "ref": formRef
31251
+ "ref": formRef,
31252
+ "showActionButtonGroup": true
31229
31253
  }, getFormProps.value, {
31230
31254
  "tableAction": tableAction2,
31231
31255
  "formLabelInInput": getBindValues.value.formLabelInInput,
31232
31256
  "onRegister": registerForm,
31233
31257
  "onSubmit": handleSearchInfoChange,
31234
31258
  "onAdvancedChange": redoHeight,
31235
- "submitOnReset": true,
31236
- "showActionButtonGroup": true
31259
+ "submitOnReset": true
31237
31260
  }), _isSlot$3(_slot = getFormSlotKeys.value.map((item) => {
31238
31261
  return {
31239
31262
  [replaceFormSlotKey(item)]: (data) => {
package/lib/style.css CHANGED
@@ -297,6 +297,11 @@ ul {
297
297
  max-width: 1600px;
298
298
  }
299
299
  }
300
+ .space-x-2 > :not([hidden]) ~ :not([hidden]) {
301
+ --tw-space-x-reverse: 0;
302
+ margin-right: calc(0.5rem * var(--tw-space-x-reverse));
303
+ margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
304
+ }
300
305
  .bg-gray-100 {
301
306
  --tw-bg-opacity: 1;
302
307
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
@@ -457,6 +462,9 @@ ul {
457
462
  .resize {
458
463
  resize: both;
459
464
  }
465
+ .text-right {
466
+ text-align: right;
467
+ }
460
468
  .text-red-500 {
461
469
  --tw-text-opacity: 1;
462
470
  color: rgba(239, 68, 68, var(--tw-text-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.256",
3
+ "version": "3.0.0-next.258",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -29,9 +29,9 @@
29
29
  "vue-json-pretty": "^2.2.3",
30
30
  "vxe-table": "4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
- "@shy-plugins/utils": "1.0.0-next.1",
32
+ "@shy-plugins/tinymce": "^1.0.6",
33
33
  "@shy-plugins/use": "1.0.1-next.5",
34
- "@shy-plugins/tinymce": "^1.0.6"
34
+ "@shy-plugins/utils": "1.0.0-next.1"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {