3h1-ui 1.0.140 → 1.0.150

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
@@ -2158,7 +2158,7 @@ function baseKeysIn(object) {
2158
2158
  }
2159
2159
  return result;
2160
2160
  }
2161
- function keysIn(object) {
2161
+ function keysIn$1(object) {
2162
2162
  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
2163
2163
  }
2164
2164
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
@@ -2548,7 +2548,7 @@ function baseAssign(object, source) {
2548
2548
  return object && copyObject(source, keys(source), object);
2549
2549
  }
2550
2550
  function baseAssignIn(object, source) {
2551
- return object && copyObject(source, keysIn(source), object);
2551
+ return object && copyObject(source, keysIn$1(source), object);
2552
2552
  }
2553
2553
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
2554
2554
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
@@ -2612,7 +2612,7 @@ function getAllKeys(object) {
2612
2612
  return baseGetAllKeys(object, keys, getSymbols$1);
2613
2613
  }
2614
2614
  function getAllKeysIn(object) {
2615
- return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2615
+ return baseGetAllKeys(object, keysIn$1, getSymbolsIn$1);
2616
2616
  }
2617
2617
  var DataView$1 = getNative(root$1, "DataView");
2618
2618
  const DataView$2 = DataView$1;
@@ -2837,10 +2837,9 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
2837
2837
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
2838
2838
  return false;
2839
2839
  }
2840
- var arrStacked = stack.get(array);
2841
- var othStacked = stack.get(other);
2842
- if (arrStacked && othStacked) {
2843
- return arrStacked == other && othStacked == array;
2840
+ var stacked = stack.get(array);
2841
+ if (stacked && stack.get(other)) {
2842
+ return stacked == other;
2844
2843
  }
2845
2844
  var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
2846
2845
  stack.set(array, other);
@@ -2954,10 +2953,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2954
2953
  return false;
2955
2954
  }
2956
2955
  }
2957
- var objStacked = stack.get(object);
2958
- var othStacked = stack.get(other);
2959
- if (objStacked && othStacked) {
2960
- return objStacked == other && othStacked == object;
2956
+ var stacked = stack.get(object);
2957
+ if (stacked && stack.get(other)) {
2958
+ return stacked == other;
2961
2959
  }
2962
2960
  var result = true;
2963
2961
  stack.set(object, other);
@@ -3177,7 +3175,7 @@ function safeGet(object, key2) {
3177
3175
  return object[key2];
3178
3176
  }
3179
3177
  function toPlainObject(value) {
3180
- return copyObject(value, keysIn(value));
3178
+ return copyObject(value, keysIn$1(value));
3181
3179
  }
3182
3180
  function baseMergeDeep(object, source, key2, srcIndex, mergeFunc, customizer, stack) {
3183
3181
  var objValue = safeGet(object, key2), srcValue = safeGet(source, key2), stacked = stack.get(srcValue);
@@ -3237,7 +3235,7 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
3237
3235
  }
3238
3236
  assignMergeValue(object, key2, newValue);
3239
3237
  }
3240
- }, keysIn);
3238
+ }, keysIn$1);
3241
3239
  }
3242
3240
  function arrayIncludesWith(array, value, comparator) {
3243
3241
  var index2 = -1, length = array == null ? 0 : array.length;
@@ -3343,9 +3341,6 @@ function baseSet(object, path, value, customizer) {
3343
3341
  var index2 = -1, length = path.length, lastIndex = length - 1, nested = object;
3344
3342
  while (nested != null && ++index2 < length) {
3345
3343
  var key2 = toKey(path[index2]), newValue = value;
3346
- if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
3347
- return object;
3348
- }
3349
3344
  if (index2 != lastIndex) {
3350
3345
  var objValue = nested[key2];
3351
3346
  newValue = customizer ? customizer(objValue, key2, nested) : void 0;
@@ -4344,7 +4339,7 @@ const _sfc_main$_ = defineComponent({
4344
4339
  }
4345
4340
  });
4346
4341
  const StrengthMeter_vue_vue_type_style_index_0_scoped_c3da4a85_lang = "";
4347
- const _hoisted_1$k = ["data-score"];
4342
+ const _hoisted_1$l = ["data-score"];
4348
4343
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
4349
4344
  const _component_InputPassword = resolveComponent("InputPassword");
4350
4345
  return openBlock(), createElementBlock("div", {
@@ -4371,7 +4366,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
4371
4366
  createElementVNode("div", {
4372
4367
  class: normalizeClass(`${_ctx.prefixCls}-bar--fill`),
4373
4368
  "data-score": _ctx.getPasswordStrength
4374
- }, null, 10, _hoisted_1$k)
4369
+ }, null, 10, _hoisted_1$l)
4375
4370
  ], 2)
4376
4371
  ], 2);
4377
4372
  }
@@ -4412,14 +4407,14 @@ const _sfc_main$Z = defineComponent({
4412
4407
  }
4413
4408
  });
4414
4409
  const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
4415
- const _hoisted_1$j = ["xlink:href"];
4410
+ const _hoisted_1$k = ["xlink:href"];
4416
4411
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
4417
4412
  return openBlock(), createElementBlock("svg", {
4418
4413
  class: normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
4419
4414
  style: normalizeStyle(_ctx.getStyle),
4420
4415
  "aria-hidden": "true"
4421
4416
  }, [
4422
- createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$j)
4417
+ createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
4423
4418
  ], 6);
4424
4419
  }
4425
4420
  const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
@@ -4861,7 +4856,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
4861
4856
  ], 2);
4862
4857
  }
4863
4858
  const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$A]]);
4864
- const _hoisted_1$i = { class: "p-2" };
4859
+ const _hoisted_1$j = { class: "p-2" };
4865
4860
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
4866
4861
  __name: "CollapseContainer",
4867
4862
  props: {
@@ -4905,7 +4900,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
4905
4900
  ]),
4906
4901
  _: 3
4907
4902
  }, 16, ["show"]),
4908
- createElementVNode("div", _hoisted_1$i, [
4903
+ createElementVNode("div", _hoisted_1$j, [
4909
4904
  createVNode(unref(CollapseTransition), { enable: __props.canExpan }, {
4910
4905
  default: withCtx(() => [
4911
4906
  __props.loading ? (openBlock(), createBlock(unref(Skeleton), {
@@ -5152,10 +5147,10 @@ const _sfc_main$R = defineComponent({
5152
5147
  }
5153
5148
  });
5154
5149
  const Scrollbar_vue_vue_type_style_index_0_lang = "";
5155
- const _hoisted_1$h = { class: "scrollbar" };
5150
+ const _hoisted_1$i = { class: "scrollbar" };
5156
5151
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
5157
5152
  const _component_bar = resolveComponent("bar");
5158
- return openBlock(), createElementBlock("div", _hoisted_1$h, [
5153
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
5159
5154
  createElementVNode("div", {
5160
5155
  ref: "wrap",
5161
5156
  class: normalizeClass([
@@ -5347,7 +5342,7 @@ const _sfc_main$P = defineComponent({
5347
5342
  };
5348
5343
  }
5349
5344
  });
5350
- const _hoisted_1$g = { key: "component" };
5345
+ const _hoisted_1$h = { key: "component" };
5351
5346
  const _hoisted_2$5 = { key: "skeleton" };
5352
5347
  function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
5353
5348
  const _component_Skeleton = resolveComponent("Skeleton");
@@ -5358,7 +5353,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
5358
5353
  mode: "out-in"
5359
5354
  }), {
5360
5355
  default: withCtx(() => [
5361
- _ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
5356
+ _ctx.isInit ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
5362
5357
  renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
5363
5358
  ])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
5364
5359
  _ctx.$slots.skeleton ? renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (openBlock(), createBlock(_component_Skeleton, { key: 1 }))
@@ -6714,7 +6709,7 @@ function useTransition(source, options = {}) {
6714
6709
  return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
6715
6710
  });
6716
6711
  }
6717
- const _hoisted_1$f = { class: "flex justify-between" };
6712
+ const _hoisted_1$g = { class: "flex justify-between" };
6718
6713
  const _hoisted_2$4 = { key: 0 };
6719
6714
  const _hoisted_3$2 = { class: "flex flex-wrap px-2" };
6720
6715
  const _hoisted_4$1 = ["onClick", "title"];
@@ -6823,7 +6818,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6823
6818
  overlayClassName: `${prefixCls2}-popover`
6824
6819
  }, {
6825
6820
  title: withCtx(() => [
6826
- createElementVNode("div", _hoisted_1$f, [
6821
+ createElementVNode("div", _hoisted_1$g, [
6827
6822
  createVNode(unref(AInput), {
6828
6823
  placeholder: "\u641C\u7D22\u56FE\u6807",
6829
6824
  onChange: unref(debounceHandleSearchChange),
@@ -7032,7 +7027,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7032
7027
  ]), 1040, ["class", "size", "value"]);
7033
7028
  }
7034
7029
  const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
7035
- const _hoisted_1$e = { key: 0 };
7030
+ const _hoisted_1$f = { key: 0 };
7036
7031
  const _hoisted_2$3 = {
7037
7032
  key: 1,
7038
7033
  class: "delete-wrapper"
@@ -7115,7 +7110,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
7115
7110
  align: "center"
7116
7111
  }, {
7117
7112
  headerCell: withCtx(({ column }) => [
7118
- column.dataIndex === "index" ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
7113
+ column.dataIndex === "index" ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
7119
7114
  createElementVNode("div", {
7120
7115
  class: "table-plus",
7121
7116
  onClick: plusClickEvent
@@ -8982,7 +8977,7 @@ const _sfc_main$F = defineComponent({
8982
8977
  return { wrapperRef, spinRef, spinStyle, scrollTop, setModalHeight };
8983
8978
  }
8984
8979
  });
8985
- const _hoisted_1$d = ["loading-tip"];
8980
+ const _hoisted_1$e = ["loading-tip"];
8986
8981
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8987
8982
  const _component_ScrollContainer = resolveComponent("ScrollContainer");
8988
8983
  return openBlock(), createBlock(_component_ScrollContainer, { ref: "wrapperRef" }, {
@@ -8993,7 +8988,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8993
8988
  "loading-tip": _ctx.loadingTip
8994
8989
  }, [
8995
8990
  renderSlot(_ctx.$slots, "default")
8996
- ], 12, _hoisted_1$d)
8991
+ ], 12, _hoisted_1$e)
8997
8992
  ]),
8998
8993
  _: 3
8999
8994
  }, 512);
@@ -9329,7 +9324,8 @@ const _sfc_main$z = defineComponent({
9329
9324
  "cancel",
9330
9325
  "ok",
9331
9326
  "register",
9332
- "update:visible"
9327
+ "update:visible",
9328
+ "full-screen"
9333
9329
  ],
9334
9330
  setup(props2, { emit, attrs }) {
9335
9331
  const visibleRef = ref(false);
@@ -9365,6 +9361,10 @@ const _sfc_main$z = defineComponent({
9365
9361
  wrapClassName: toRef(getMergeProps.value, "wrapClassName")
9366
9362
  }
9367
9363
  );
9364
+ const handleModalFull = ($event) => {
9365
+ emit("full-screen");
9366
+ handleFullScreen($event);
9367
+ };
9368
9368
  const getProps = computed(() => {
9369
9369
  const opt = {
9370
9370
  ...unref(getMergeProps),
@@ -9469,7 +9469,8 @@ const _sfc_main$z = defineComponent({
9469
9469
  handleExtHeight,
9470
9470
  handleHeightChange,
9471
9471
  handleTitleDbClick,
9472
- getWrapperHeight
9472
+ getWrapperHeight,
9473
+ handleModalFull
9473
9474
  };
9474
9475
  }
9475
9476
  });
@@ -9515,7 +9516,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
9515
9516
  canFullscreen: _ctx.getProps.canFullscreen,
9516
9517
  fullScreen: _ctx.fullScreenRef,
9517
9518
  onCancel: _ctx.handleCancel,
9518
- onFullscreen: _ctx.handleFullScreen
9519
+ onFullscreen: _ctx.handleModalFull
9519
9520
  }, null, 8, ["canFullscreen", "fullScreen", "onCancel", "onFullscreen"])
9520
9521
  ]),
9521
9522
  key: "0"
@@ -10291,7 +10292,7 @@ const treeProps = buildProps({
10291
10292
  },
10292
10293
  treeWrapperClassName: String
10293
10294
  });
10294
- const _hoisted_1$c = {
10295
+ const _hoisted_1$d = {
10295
10296
  key: 2,
10296
10297
  class: "shy-search"
10297
10298
  };
@@ -10432,7 +10433,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
10432
10433
  ]),
10433
10434
  _: 1
10434
10435
  }, 8, ["helpMessage"])) : createCommentVNode("", true),
10435
- _ctx.search || _ctx.toolbar ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
10436
+ _ctx.search || _ctx.toolbar ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
10436
10437
  _ctx.search ? (openBlock(), createElementBlock("div", {
10437
10438
  key: 0,
10438
10439
  class: normalizeClass(unref(getInputSearchCls))
@@ -11594,7 +11595,7 @@ const _sfc_main$q = defineComponent({
11594
11595
  }
11595
11596
  });
11596
11597
  const HeaderCell_vue_vue_type_style_index_0_lang = "";
11597
- const _hoisted_1$b = { key: 1 };
11598
+ const _hoisted_1$c = { key: 1 };
11598
11599
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11599
11600
  const _component_EditTableHeaderCell = resolveComponent("EditTableHeaderCell");
11600
11601
  const _component_BasicHelp = resolveComponent("BasicHelp");
@@ -11604,7 +11605,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11604
11605
  createTextVNode(toDisplayString(_ctx.getTitle), 1)
11605
11606
  ]),
11606
11607
  _: 1
11607
- })) : (openBlock(), createElementBlock("span", _hoisted_1$b, toDisplayString(_ctx.getTitle), 1)),
11608
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$c, toDisplayString(_ctx.getTitle), 1)),
11608
11609
  _ctx.getHelpMessage ? (openBlock(), createBlock(_component_BasicHelp, {
11609
11610
  key: 2,
11610
11611
  text: _ctx.getHelpMessage,
@@ -13858,13 +13859,13 @@ const _sfc_main$l = defineComponent({
13858
13859
  return { redo, t: t2 };
13859
13860
  }
13860
13861
  });
13861
- const _hoisted_1$a = /* @__PURE__ */ createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
13862
+ const _hoisted_1$b = /* @__PURE__ */ createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
13862
13863
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
13863
13864
  const _component_BarsOutlined = resolveComponent("BarsOutlined");
13864
13865
  const _component_Tooltip = resolveComponent("Tooltip");
13865
13866
  return openBlock(), createBlock(_component_Tooltip, { placement: "top" }, {
13866
13867
  title: withCtx(() => [
13867
- _hoisted_1$a
13868
+ _hoisted_1$b
13868
13869
  ]),
13869
13870
  default: withCtx(() => [
13870
13871
  createVNode(_component_BarsOutlined, { onClick: _ctx.redo }, null, 8, ["onClick"])
@@ -13910,14 +13911,14 @@ const _sfc_main$k = defineComponent({
13910
13911
  }
13911
13912
  });
13912
13913
  const index_vue_vue_type_style_index_0_lang = "";
13913
- const _hoisted_1$9 = { class: "table-settings" };
13914
+ const _hoisted_1$a = { class: "table-settings" };
13914
13915
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
13915
13916
  var _a2, _b, _c, _d, _e;
13916
13917
  const _component_ShowSearchSetting = resolveComponent("ShowSearchSetting");
13917
13918
  const _component_SizeSetting = resolveComponent("SizeSetting");
13918
13919
  const _component_ColumnSetting = resolveComponent("ColumnSetting");
13919
13920
  const _component_FullScreenSetting = resolveComponent("FullScreenSetting");
13920
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
13921
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
13921
13922
  ((_b = (_a2 = _ctx.getBindValues) == null ? void 0 : _a2.formConfig) == null ? void 0 : _b.schemas) && ((_e = (_d = (_c = _ctx.getBindValues) == null ? void 0 : _c.formConfig) == null ? void 0 : _d.schemas) == null ? void 0 : _e.length) !== 0 ? (openBlock(), createBlock(_component_ShowSearchSetting, {
13922
13923
  key: 0,
13923
13924
  getPopupContainer: _ctx.getTableContainer
@@ -13968,7 +13969,7 @@ const _sfc_main$j = defineComponent({
13968
13969
  }
13969
13970
  });
13970
13971
  const TableHeader_vue_vue_type_style_index_0_lang = "";
13971
- const _hoisted_1$8 = { style: { "width": "100%" } };
13972
+ const _hoisted_1$9 = { style: { "width": "100%" } };
13972
13973
  const _hoisted_2$2 = {
13973
13974
  key: 0,
13974
13975
  style: { "margin": "5px" }
@@ -13976,7 +13977,7 @@ const _hoisted_2$2 = {
13976
13977
  const _hoisted_3 = { class: "flex items-center" };
13977
13978
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
13978
13979
  const _component_TableSetting = resolveComponent("TableSetting");
13979
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
13980
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
13980
13981
  _ctx.$slots.headerTop ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
13981
13982
  renderSlot(_ctx.$slots, "headerTop")
13982
13983
  ])) : createCommentVNode("", true),
@@ -14517,7 +14518,7 @@ const _sfc_main$h = defineComponent({
14517
14518
  tableLayout: "fixed",
14518
14519
  rowSelection: unref(getRowSelectionRef),
14519
14520
  rowKey: unref(getRowKey),
14520
- columns: toRaw(unref(getViewColumns)).map((item) => {
14521
+ columns: toRaw(unref(getViewColumns)).map((item, index2) => {
14521
14522
  return item;
14522
14523
  }),
14523
14524
  pagination: toRaw(unref(getPaginationInfo)),
@@ -14618,6 +14619,7 @@ const _sfc_main$h = defineComponent({
14618
14619
  };
14619
14620
  }
14620
14621
  });
14622
+ const _hoisted_1$8 = { class: "shy-page" };
14621
14623
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
14622
14624
  const _component_BasicForm = resolveComponent("BasicForm");
14623
14625
  const _component_HeaderCell = resolveComponent("HeaderCell");
@@ -14627,57 +14629,59 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
14627
14629
  ref: "wrapRef",
14628
14630
  class: normalizeClass(_ctx.getWrapperClass)
14629
14631
  }, [
14630
- _ctx.getBindValues.useSearchForm ? (openBlock(), createBlock(_component_BasicForm, mergeProps({
14631
- key: 0,
14632
- ref: "formRef",
14633
- submitOnReset: ""
14634
- }, _ctx.getFormProps, {
14635
- tableAction: _ctx.tableAction,
14636
- onRegister: _ctx.registerForm,
14637
- onSubmit: _ctx.handleSearchInfoChange,
14638
- onAdvancedChange: _ctx.redoHeight
14639
- }), createSlots({ _: 2 }, [
14640
- renderList(_ctx.getFormSlotKeys, (item) => {
14641
- return {
14642
- name: _ctx.replaceFormSlotKey(item),
14643
- fn: withCtx((data) => [
14644
- renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
14645
- ])
14646
- };
14647
- })
14648
- ]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : createCommentVNode("", true),
14649
- withDirectives(createVNode(_component_Table, mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
14650
- rowClassName: _ctx.getRowClassName,
14651
- onChange: _ctx.handleTableChange,
14652
- onResizeColumn: _ctx.handleResizeColumn,
14653
- class: "enter-x"
14654
- }), createSlots({
14655
- headerCell: withCtx(({ column }) => [
14656
- createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
14657
- ]),
14658
- emptyText: withCtx(() => [
14659
- createElementVNode("div", {
14660
- class: "flex justify-center items-center",
14661
- style: normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
14662
- }, [
14663
- createVNode(_component_Empty)
14664
- ], 4)
14665
- ]),
14666
- bodyCell: withCtx((data) => [
14667
- renderSlot(_ctx.$slots, "bodyCell", normalizeProps(guardReactiveProps(data || {})))
14668
- ]),
14669
- _: 2
14670
- }, [
14671
- renderList(Object.keys(_ctx.$slots), (item) => {
14672
- return {
14673
- name: item,
14674
- fn: withCtx((data) => [
14675
- renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
14676
- ])
14677
- };
14678
- })
14679
- ]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
14680
- [vShow, _ctx.getEmptyDataIsShowTable]
14632
+ createElementVNode("div", _hoisted_1$8, [
14633
+ _ctx.getBindValues.useSearchForm ? (openBlock(), createBlock(_component_BasicForm, mergeProps({
14634
+ key: 0,
14635
+ ref: "formRef",
14636
+ submitOnReset: ""
14637
+ }, _ctx.getFormProps, {
14638
+ tableAction: _ctx.tableAction,
14639
+ onRegister: _ctx.registerForm,
14640
+ onSubmit: _ctx.handleSearchInfoChange,
14641
+ onAdvancedChange: _ctx.redoHeight
14642
+ }), createSlots({ _: 2 }, [
14643
+ renderList(_ctx.getFormSlotKeys, (item) => {
14644
+ return {
14645
+ name: _ctx.replaceFormSlotKey(item),
14646
+ fn: withCtx((data) => [
14647
+ renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
14648
+ ])
14649
+ };
14650
+ })
14651
+ ]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : createCommentVNode("", true),
14652
+ withDirectives(createVNode(_component_Table, mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
14653
+ rowClassName: _ctx.getRowClassName,
14654
+ onChange: _ctx.handleTableChange,
14655
+ onResizeColumn: _ctx.handleResizeColumn,
14656
+ class: "enter-x"
14657
+ }), createSlots({
14658
+ headerCell: withCtx(({ column }) => [
14659
+ createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
14660
+ ]),
14661
+ emptyText: withCtx(() => [
14662
+ createElementVNode("div", {
14663
+ class: "flex justify-center items-center",
14664
+ style: normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
14665
+ }, [
14666
+ createVNode(_component_Empty)
14667
+ ], 4)
14668
+ ]),
14669
+ bodyCell: withCtx((data) => [
14670
+ renderSlot(_ctx.$slots, "bodyCell", normalizeProps(guardReactiveProps(data || {})))
14671
+ ]),
14672
+ _: 2
14673
+ }, [
14674
+ renderList(Object.keys(_ctx.$slots), (item) => {
14675
+ return {
14676
+ name: item,
14677
+ fn: withCtx((data) => [
14678
+ renderSlot(_ctx.$slots, item, normalizeProps(guardReactiveProps(data || {})))
14679
+ ])
14680
+ };
14681
+ })
14682
+ ]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
14683
+ [vShow, _ctx.getEmptyDataIsShowTable]
14684
+ ])
14681
14685
  ])
14682
14686
  ], 2);
14683
14687
  }
package/es/style.css CHANGED
@@ -1318,8 +1318,7 @@ span.iconify {
1318
1318
  box-shadow: 0 20px 27px rgba(107, 106, 106, 0.05);
1319
1319
  }
1320
1320
  .shy-basic-table {
1321
- overflow: hidden;
1322
- width: 100%;
1321
+ max-width: 100%;
1323
1322
  height: 100%;
1324
1323
  }
1325
1324
  .shy-basic-table-row__striped td {
@@ -1336,7 +1335,7 @@ span.iconify {
1336
1335
  margin-right: 0;
1337
1336
  }
1338
1337
  .shy-basic-table .ant-table-wrapper {
1339
- padding: 0 !important;
1338
+ padding: 6px;
1340
1339
  background-color: #fff;
1341
1340
  border-radius: 12px;
1342
1341
  }
@@ -1378,13 +1377,6 @@ span.iconify {
1378
1377
  }
1379
1378
  .shy-basic-table--inset .ant-table-wrapper {
1380
1379
  padding: 0;
1381
- }
1382
- .shy-basic-table .ant-table-container {
1383
- border-bottom: 1px solid #f0f0f0;
1384
- border-right: 1px solid #f0f0f0;
1385
- }
1386
- .shy-basic-table .ant-table-body {
1387
- overflow: auto !important;
1388
1380
  }.wrapper[data-v-dbd84c9c] {
1389
1381
  display: flex;
1390
1382
  }
package/lib/index.js CHANGED
@@ -2163,7 +2163,7 @@ function baseKeysIn(object) {
2163
2163
  }
2164
2164
  return result;
2165
2165
  }
2166
- function keysIn(object) {
2166
+ function keysIn$1(object) {
2167
2167
  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
2168
2168
  }
2169
2169
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
@@ -2553,7 +2553,7 @@ function baseAssign(object, source) {
2553
2553
  return object && copyObject(source, keys(source), object);
2554
2554
  }
2555
2555
  function baseAssignIn(object, source) {
2556
- return object && copyObject(source, keysIn(source), object);
2556
+ return object && copyObject(source, keysIn$1(source), object);
2557
2557
  }
2558
2558
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
2559
2559
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
@@ -2617,7 +2617,7 @@ function getAllKeys(object) {
2617
2617
  return baseGetAllKeys(object, keys, getSymbols$1);
2618
2618
  }
2619
2619
  function getAllKeysIn(object) {
2620
- return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
2620
+ return baseGetAllKeys(object, keysIn$1, getSymbolsIn$1);
2621
2621
  }
2622
2622
  var DataView$1 = getNative(root$1, "DataView");
2623
2623
  const DataView$2 = DataView$1;
@@ -2842,10 +2842,9 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
2842
2842
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
2843
2843
  return false;
2844
2844
  }
2845
- var arrStacked = stack.get(array);
2846
- var othStacked = stack.get(other);
2847
- if (arrStacked && othStacked) {
2848
- return arrStacked == other && othStacked == array;
2845
+ var stacked = stack.get(array);
2846
+ if (stacked && stack.get(other)) {
2847
+ return stacked == other;
2849
2848
  }
2850
2849
  var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
2851
2850
  stack.set(array, other);
@@ -2959,10 +2958,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2959
2958
  return false;
2960
2959
  }
2961
2960
  }
2962
- var objStacked = stack.get(object);
2963
- var othStacked = stack.get(other);
2964
- if (objStacked && othStacked) {
2965
- return objStacked == other && othStacked == object;
2961
+ var stacked = stack.get(object);
2962
+ if (stacked && stack.get(other)) {
2963
+ return stacked == other;
2966
2964
  }
2967
2965
  var result = true;
2968
2966
  stack.set(object, other);
@@ -3182,7 +3180,7 @@ function safeGet(object, key2) {
3182
3180
  return object[key2];
3183
3181
  }
3184
3182
  function toPlainObject(value) {
3185
- return copyObject(value, keysIn(value));
3183
+ return copyObject(value, keysIn$1(value));
3186
3184
  }
3187
3185
  function baseMergeDeep(object, source, key2, srcIndex, mergeFunc, customizer, stack) {
3188
3186
  var objValue = safeGet(object, key2), srcValue = safeGet(source, key2), stacked = stack.get(srcValue);
@@ -3242,7 +3240,7 @@ function baseMerge(object, source, srcIndex, customizer, stack) {
3242
3240
  }
3243
3241
  assignMergeValue(object, key2, newValue);
3244
3242
  }
3245
- }, keysIn);
3243
+ }, keysIn$1);
3246
3244
  }
3247
3245
  function arrayIncludesWith(array, value, comparator) {
3248
3246
  var index2 = -1, length = array == null ? 0 : array.length;
@@ -3348,9 +3346,6 @@ function baseSet(object, path, value, customizer) {
3348
3346
  var index2 = -1, length = path.length, lastIndex = length - 1, nested = object;
3349
3347
  while (nested != null && ++index2 < length) {
3350
3348
  var key2 = toKey(path[index2]), newValue = value;
3351
- if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
3352
- return object;
3353
- }
3354
3349
  if (index2 != lastIndex) {
3355
3350
  var objValue = nested[key2];
3356
3351
  newValue = customizer ? customizer(objValue, key2, nested) : void 0;
@@ -4349,7 +4344,7 @@ const _sfc_main$_ = vue.defineComponent({
4349
4344
  }
4350
4345
  });
4351
4346
  const StrengthMeter_vue_vue_type_style_index_0_scoped_c3da4a85_lang = "";
4352
- const _hoisted_1$k = ["data-score"];
4347
+ const _hoisted_1$l = ["data-score"];
4353
4348
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
4354
4349
  const _component_InputPassword = vue.resolveComponent("InputPassword");
4355
4350
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -4376,7 +4371,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
4376
4371
  vue.createElementVNode("div", {
4377
4372
  class: vue.normalizeClass(`${_ctx.prefixCls}-bar--fill`),
4378
4373
  "data-score": _ctx.getPasswordStrength
4379
- }, null, 10, _hoisted_1$k)
4374
+ }, null, 10, _hoisted_1$l)
4380
4375
  ], 2)
4381
4376
  ], 2);
4382
4377
  }
@@ -4417,14 +4412,14 @@ const _sfc_main$Z = vue.defineComponent({
4417
4412
  }
4418
4413
  });
4419
4414
  const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
4420
- const _hoisted_1$j = ["xlink:href"];
4415
+ const _hoisted_1$k = ["xlink:href"];
4421
4416
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
4422
4417
  return vue.openBlock(), vue.createElementBlock("svg", {
4423
4418
  class: vue.normalizeClass([_ctx.prefixCls, _ctx.$attrs.class, _ctx.spin && "svg-icon-spin"]),
4424
4419
  style: vue.normalizeStyle(_ctx.getStyle),
4425
4420
  "aria-hidden": "true"
4426
4421
  }, [
4427
- vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$j)
4422
+ vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
4428
4423
  ], 6);
4429
4424
  }
4430
4425
  const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
@@ -4866,7 +4861,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
4866
4861
  ], 2);
4867
4862
  }
4868
4863
  const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$A]]);
4869
- const _hoisted_1$i = { class: "p-2" };
4864
+ const _hoisted_1$j = { class: "p-2" };
4870
4865
  const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
4871
4866
  __name: "CollapseContainer",
4872
4867
  props: {
@@ -4910,7 +4905,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
4910
4905
  ]),
4911
4906
  _: 3
4912
4907
  }, 16, ["show"]),
4913
- vue.createElementVNode("div", _hoisted_1$i, [
4908
+ vue.createElementVNode("div", _hoisted_1$j, [
4914
4909
  vue.createVNode(vue.unref(CollapseTransition), { enable: __props.canExpan }, {
4915
4910
  default: vue.withCtx(() => [
4916
4911
  __props.loading ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Skeleton), {
@@ -5157,10 +5152,10 @@ const _sfc_main$R = vue.defineComponent({
5157
5152
  }
5158
5153
  });
5159
5154
  const Scrollbar_vue_vue_type_style_index_0_lang = "";
5160
- const _hoisted_1$h = { class: "scrollbar" };
5155
+ const _hoisted_1$i = { class: "scrollbar" };
5161
5156
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
5162
5157
  const _component_bar = vue.resolveComponent("bar");
5163
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
5158
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
5164
5159
  vue.createElementVNode("div", {
5165
5160
  ref: "wrap",
5166
5161
  class: vue.normalizeClass([
@@ -5352,7 +5347,7 @@ const _sfc_main$P = vue.defineComponent({
5352
5347
  };
5353
5348
  }
5354
5349
  });
5355
- const _hoisted_1$g = { key: "component" };
5350
+ const _hoisted_1$h = { key: "component" };
5356
5351
  const _hoisted_2$5 = { key: "skeleton" };
5357
5352
  function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
5358
5353
  const _component_Skeleton = vue.resolveComponent("Skeleton");
@@ -5363,7 +5358,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
5363
5358
  mode: "out-in"
5364
5359
  }), {
5365
5360
  default: vue.withCtx(() => [
5366
- _ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
5361
+ _ctx.isInit ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
5367
5362
  vue.renderSlot(_ctx.$slots, "default", { loading: _ctx.loading })
5368
5363
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
5369
5364
  _ctx.$slots.skeleton ? vue.renderSlot(_ctx.$slots, "skeleton", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_Skeleton, { key: 1 }))
@@ -6719,7 +6714,7 @@ function useTransition(source, options = {}) {
6719
6714
  return isNumber$1(sourceValue.value) ? targetVector.value[0] : targetVector.value;
6720
6715
  });
6721
6716
  }
6722
- const _hoisted_1$f = { class: "flex justify-between" };
6717
+ const _hoisted_1$g = { class: "flex justify-between" };
6723
6718
  const _hoisted_2$4 = { key: 0 };
6724
6719
  const _hoisted_3$2 = { class: "flex flex-wrap px-2" };
6725
6720
  const _hoisted_4$1 = ["onClick", "title"];
@@ -6828,7 +6823,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6828
6823
  overlayClassName: `${prefixCls2}-popover`
6829
6824
  }, {
6830
6825
  title: vue.withCtx(() => [
6831
- vue.createElementVNode("div", _hoisted_1$f, [
6826
+ vue.createElementVNode("div", _hoisted_1$g, [
6832
6827
  vue.createVNode(vue.unref(AInput), {
6833
6828
  placeholder: "\u641C\u7D22\u56FE\u6807",
6834
6829
  onChange: vue.unref(debounceHandleSearchChange),
@@ -7037,7 +7032,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7037
7032
  ]), 1040, ["class", "size", "value"]);
7038
7033
  }
7039
7034
  const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
7040
- const _hoisted_1$e = { key: 0 };
7035
+ const _hoisted_1$f = { key: 0 };
7041
7036
  const _hoisted_2$3 = {
7042
7037
  key: 1,
7043
7038
  class: "delete-wrapper"
@@ -7120,7 +7115,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
7120
7115
  align: "center"
7121
7116
  }, {
7122
7117
  headerCell: vue.withCtx(({ column }) => [
7123
- column.dataIndex === "index" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
7118
+ column.dataIndex === "index" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
7124
7119
  vue.createElementVNode("div", {
7125
7120
  class: "table-plus",
7126
7121
  onClick: plusClickEvent
@@ -8987,7 +8982,7 @@ const _sfc_main$F = vue.defineComponent({
8987
8982
  return { wrapperRef, spinRef, spinStyle, scrollTop, setModalHeight };
8988
8983
  }
8989
8984
  });
8990
- const _hoisted_1$d = ["loading-tip"];
8985
+ const _hoisted_1$e = ["loading-tip"];
8991
8986
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8992
8987
  const _component_ScrollContainer = vue.resolveComponent("ScrollContainer");
8993
8988
  return vue.openBlock(), vue.createBlock(_component_ScrollContainer, { ref: "wrapperRef" }, {
@@ -8998,7 +8993,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
8998
8993
  "loading-tip": _ctx.loadingTip
8999
8994
  }, [
9000
8995
  vue.renderSlot(_ctx.$slots, "default")
9001
- ], 12, _hoisted_1$d)
8996
+ ], 12, _hoisted_1$e)
9002
8997
  ]),
9003
8998
  _: 3
9004
8999
  }, 512);
@@ -9334,7 +9329,8 @@ const _sfc_main$z = vue.defineComponent({
9334
9329
  "cancel",
9335
9330
  "ok",
9336
9331
  "register",
9337
- "update:visible"
9332
+ "update:visible",
9333
+ "full-screen"
9338
9334
  ],
9339
9335
  setup(props2, { emit, attrs }) {
9340
9336
  const visibleRef = vue.ref(false);
@@ -9370,6 +9366,10 @@ const _sfc_main$z = vue.defineComponent({
9370
9366
  wrapClassName: vue.toRef(getMergeProps.value, "wrapClassName")
9371
9367
  }
9372
9368
  );
9369
+ const handleModalFull = ($event) => {
9370
+ emit("full-screen");
9371
+ handleFullScreen($event);
9372
+ };
9373
9373
  const getProps = vue.computed(() => {
9374
9374
  const opt = {
9375
9375
  ...vue.unref(getMergeProps),
@@ -9474,7 +9474,8 @@ const _sfc_main$z = vue.defineComponent({
9474
9474
  handleExtHeight,
9475
9475
  handleHeightChange,
9476
9476
  handleTitleDbClick,
9477
- getWrapperHeight
9477
+ getWrapperHeight,
9478
+ handleModalFull
9478
9479
  };
9479
9480
  }
9480
9481
  });
@@ -9520,7 +9521,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
9520
9521
  canFullscreen: _ctx.getProps.canFullscreen,
9521
9522
  fullScreen: _ctx.fullScreenRef,
9522
9523
  onCancel: _ctx.handleCancel,
9523
- onFullscreen: _ctx.handleFullScreen
9524
+ onFullscreen: _ctx.handleModalFull
9524
9525
  }, null, 8, ["canFullscreen", "fullScreen", "onCancel", "onFullscreen"])
9525
9526
  ]),
9526
9527
  key: "0"
@@ -10296,7 +10297,7 @@ const treeProps = utils.buildProps({
10296
10297
  },
10297
10298
  treeWrapperClassName: String
10298
10299
  });
10299
- const _hoisted_1$c = {
10300
+ const _hoisted_1$d = {
10300
10301
  key: 2,
10301
10302
  class: "shy-search"
10302
10303
  };
@@ -10437,7 +10438,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
10437
10438
  ]),
10438
10439
  _: 1
10439
10440
  }, 8, ["helpMessage"])) : vue.createCommentVNode("", true),
10440
- _ctx.search || _ctx.toolbar ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
10441
+ _ctx.search || _ctx.toolbar ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
10441
10442
  _ctx.search ? (vue.openBlock(), vue.createElementBlock("div", {
10442
10443
  key: 0,
10443
10444
  class: vue.normalizeClass(vue.unref(getInputSearchCls))
@@ -11599,7 +11600,7 @@ const _sfc_main$q = vue.defineComponent({
11599
11600
  }
11600
11601
  });
11601
11602
  const HeaderCell_vue_vue_type_style_index_0_lang = "";
11602
- const _hoisted_1$b = { key: 1 };
11603
+ const _hoisted_1$c = { key: 1 };
11603
11604
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11604
11605
  const _component_EditTableHeaderCell = vue.resolveComponent("EditTableHeaderCell");
11605
11606
  const _component_BasicHelp = vue.resolveComponent("BasicHelp");
@@ -11609,7 +11610,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11609
11610
  vue.createTextVNode(vue.toDisplayString(_ctx.getTitle), 1)
11610
11611
  ]),
11611
11612
  _: 1
11612
- })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$b, vue.toDisplayString(_ctx.getTitle), 1)),
11613
+ })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$c, vue.toDisplayString(_ctx.getTitle), 1)),
11613
11614
  _ctx.getHelpMessage ? (vue.openBlock(), vue.createBlock(_component_BasicHelp, {
11614
11615
  key: 2,
11615
11616
  text: _ctx.getHelpMessage,
@@ -13863,13 +13864,13 @@ const _sfc_main$l = vue.defineComponent({
13863
13864
  return { redo, t: t2 };
13864
13865
  }
13865
13866
  });
13866
- const _hoisted_1$a = /* @__PURE__ */ vue.createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
13867
+ const _hoisted_1$b = /* @__PURE__ */ vue.createElementVNode("span", null, "\u663E\u9690\u641C\u7D22", -1);
13867
13868
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
13868
13869
  const _component_BarsOutlined = vue.resolveComponent("BarsOutlined");
13869
13870
  const _component_Tooltip = vue.resolveComponent("Tooltip");
13870
13871
  return vue.openBlock(), vue.createBlock(_component_Tooltip, { placement: "top" }, {
13871
13872
  title: vue.withCtx(() => [
13872
- _hoisted_1$a
13873
+ _hoisted_1$b
13873
13874
  ]),
13874
13875
  default: vue.withCtx(() => [
13875
13876
  vue.createVNode(_component_BarsOutlined, { onClick: _ctx.redo }, null, 8, ["onClick"])
@@ -13915,14 +13916,14 @@ const _sfc_main$k = vue.defineComponent({
13915
13916
  }
13916
13917
  });
13917
13918
  const index_vue_vue_type_style_index_0_lang = "";
13918
- const _hoisted_1$9 = { class: "table-settings" };
13919
+ const _hoisted_1$a = { class: "table-settings" };
13919
13920
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
13920
13921
  var _a2, _b, _c, _d, _e;
13921
13922
  const _component_ShowSearchSetting = vue.resolveComponent("ShowSearchSetting");
13922
13923
  const _component_SizeSetting = vue.resolveComponent("SizeSetting");
13923
13924
  const _component_ColumnSetting = vue.resolveComponent("ColumnSetting");
13924
13925
  const _component_FullScreenSetting = vue.resolveComponent("FullScreenSetting");
13925
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
13926
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
13926
13927
  ((_b = (_a2 = _ctx.getBindValues) == null ? void 0 : _a2.formConfig) == null ? void 0 : _b.schemas) && ((_e = (_d = (_c = _ctx.getBindValues) == null ? void 0 : _c.formConfig) == null ? void 0 : _d.schemas) == null ? void 0 : _e.length) !== 0 ? (vue.openBlock(), vue.createBlock(_component_ShowSearchSetting, {
13927
13928
  key: 0,
13928
13929
  getPopupContainer: _ctx.getTableContainer
@@ -13973,7 +13974,7 @@ const _sfc_main$j = vue.defineComponent({
13973
13974
  }
13974
13975
  });
13975
13976
  const TableHeader_vue_vue_type_style_index_0_lang = "";
13976
- const _hoisted_1$8 = { style: { "width": "100%" } };
13977
+ const _hoisted_1$9 = { style: { "width": "100%" } };
13977
13978
  const _hoisted_2$2 = {
13978
13979
  key: 0,
13979
13980
  style: { "margin": "5px" }
@@ -13981,7 +13982,7 @@ const _hoisted_2$2 = {
13981
13982
  const _hoisted_3 = { class: "flex items-center" };
13982
13983
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
13983
13984
  const _component_TableSetting = vue.resolveComponent("TableSetting");
13984
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
13985
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
13985
13986
  _ctx.$slots.headerTop ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$2, [
13986
13987
  vue.renderSlot(_ctx.$slots, "headerTop")
13987
13988
  ])) : vue.createCommentVNode("", true),
@@ -14522,7 +14523,7 @@ const _sfc_main$h = vue.defineComponent({
14522
14523
  tableLayout: "fixed",
14523
14524
  rowSelection: vue.unref(getRowSelectionRef),
14524
14525
  rowKey: vue.unref(getRowKey),
14525
- columns: vue.toRaw(vue.unref(getViewColumns)).map((item) => {
14526
+ columns: vue.toRaw(vue.unref(getViewColumns)).map((item, index2) => {
14526
14527
  return item;
14527
14528
  }),
14528
14529
  pagination: vue.toRaw(vue.unref(getPaginationInfo)),
@@ -14623,6 +14624,7 @@ const _sfc_main$h = vue.defineComponent({
14623
14624
  };
14624
14625
  }
14625
14626
  });
14627
+ const _hoisted_1$8 = { class: "shy-page" };
14626
14628
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
14627
14629
  const _component_BasicForm = vue.resolveComponent("BasicForm");
14628
14630
  const _component_HeaderCell = vue.resolveComponent("HeaderCell");
@@ -14632,57 +14634,59 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
14632
14634
  ref: "wrapRef",
14633
14635
  class: vue.normalizeClass(_ctx.getWrapperClass)
14634
14636
  }, [
14635
- _ctx.getBindValues.useSearchForm ? (vue.openBlock(), vue.createBlock(_component_BasicForm, vue.mergeProps({
14636
- key: 0,
14637
- ref: "formRef",
14638
- submitOnReset: ""
14639
- }, _ctx.getFormProps, {
14640
- tableAction: _ctx.tableAction,
14641
- onRegister: _ctx.registerForm,
14642
- onSubmit: _ctx.handleSearchInfoChange,
14643
- onAdvancedChange: _ctx.redoHeight
14644
- }), vue.createSlots({ _: 2 }, [
14645
- vue.renderList(_ctx.getFormSlotKeys, (item) => {
14646
- return {
14647
- name: _ctx.replaceFormSlotKey(item),
14648
- fn: vue.withCtx((data) => [
14649
- vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
14650
- ])
14651
- };
14652
- })
14653
- ]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : vue.createCommentVNode("", true),
14654
- vue.withDirectives(vue.createVNode(_component_Table, vue.mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
14655
- rowClassName: _ctx.getRowClassName,
14656
- onChange: _ctx.handleTableChange,
14657
- onResizeColumn: _ctx.handleResizeColumn,
14658
- class: "enter-x"
14659
- }), vue.createSlots({
14660
- headerCell: vue.withCtx(({ column }) => [
14661
- vue.createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
14662
- ]),
14663
- emptyText: vue.withCtx(() => [
14664
- vue.createElementVNode("div", {
14665
- class: "flex justify-center items-center",
14666
- style: vue.normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
14667
- }, [
14668
- vue.createVNode(_component_Empty)
14669
- ], 4)
14670
- ]),
14671
- bodyCell: vue.withCtx((data) => [
14672
- vue.renderSlot(_ctx.$slots, "bodyCell", vue.normalizeProps(vue.guardReactiveProps(data || {})))
14673
- ]),
14674
- _: 2
14675
- }, [
14676
- vue.renderList(Object.keys(_ctx.$slots), (item) => {
14677
- return {
14678
- name: item,
14679
- fn: vue.withCtx((data) => [
14680
- vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
14681
- ])
14682
- };
14683
- })
14684
- ]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
14685
- [vue.vShow, _ctx.getEmptyDataIsShowTable]
14637
+ vue.createElementVNode("div", _hoisted_1$8, [
14638
+ _ctx.getBindValues.useSearchForm ? (vue.openBlock(), vue.createBlock(_component_BasicForm, vue.mergeProps({
14639
+ key: 0,
14640
+ ref: "formRef",
14641
+ submitOnReset: ""
14642
+ }, _ctx.getFormProps, {
14643
+ tableAction: _ctx.tableAction,
14644
+ onRegister: _ctx.registerForm,
14645
+ onSubmit: _ctx.handleSearchInfoChange,
14646
+ onAdvancedChange: _ctx.redoHeight
14647
+ }), vue.createSlots({ _: 2 }, [
14648
+ vue.renderList(_ctx.getFormSlotKeys, (item) => {
14649
+ return {
14650
+ name: _ctx.replaceFormSlotKey(item),
14651
+ fn: vue.withCtx((data) => [
14652
+ vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
14653
+ ])
14654
+ };
14655
+ })
14656
+ ]), 1040, ["tableAction", "onRegister", "onSubmit", "onAdvancedChange"])) : vue.createCommentVNode("", true),
14657
+ vue.withDirectives(vue.createVNode(_component_Table, vue.mergeProps({ ref: "tableElRef" }, _ctx.getBindValues, {
14658
+ rowClassName: _ctx.getRowClassName,
14659
+ onChange: _ctx.handleTableChange,
14660
+ onResizeColumn: _ctx.handleResizeColumn,
14661
+ class: "enter-x"
14662
+ }), vue.createSlots({
14663
+ headerCell: vue.withCtx(({ column }) => [
14664
+ vue.createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
14665
+ ]),
14666
+ emptyText: vue.withCtx(() => [
14667
+ vue.createElementVNode("div", {
14668
+ class: "flex justify-center items-center",
14669
+ style: vue.normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
14670
+ }, [
14671
+ vue.createVNode(_component_Empty)
14672
+ ], 4)
14673
+ ]),
14674
+ bodyCell: vue.withCtx((data) => [
14675
+ vue.renderSlot(_ctx.$slots, "bodyCell", vue.normalizeProps(vue.guardReactiveProps(data || {})))
14676
+ ]),
14677
+ _: 2
14678
+ }, [
14679
+ vue.renderList(Object.keys(_ctx.$slots), (item) => {
14680
+ return {
14681
+ name: item,
14682
+ fn: vue.withCtx((data) => [
14683
+ vue.renderSlot(_ctx.$slots, item, vue.normalizeProps(vue.guardReactiveProps(data || {})))
14684
+ ])
14685
+ };
14686
+ })
14687
+ ]), 1040, ["rowClassName", "onChange", "onResizeColumn"]), [
14688
+ [vue.vShow, _ctx.getEmptyDataIsShowTable]
14689
+ ])
14686
14690
  ])
14687
14691
  ], 2);
14688
14692
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "1.0.140",
3
+ "version": "1.0.150",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",