3h1-ui 3.0.0-next.53 → 3.0.0-next.54

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
@@ -9839,7 +9839,8 @@ const Modal$2 = /* @__PURE__ */ defineComponent({
9839
9839
  ...props2,
9840
9840
  onCancel
9841
9841
  };
9842
- return createVNode(Modal$3, propsData, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
9842
+ const modalProps2 = omit$1(propsData, "visible");
9843
+ return createVNode(Modal$3, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
9843
9844
  default: () => [_slot]
9844
9845
  });
9845
9846
  };
@@ -31917,7 +31918,7 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
31917
31918
  let DEFAULT_ALIGN = "left";
31918
31919
  const INDEX_COLUMN_FLAG = "INDEX";
31919
31920
  const ACTION_COLUMN_FLAG = "ACTION";
31920
- const ACTION_COLUMN_WIDTH = 90;
31921
+ const ACTION_COLUMN_WIDTH = 65;
31921
31922
  const setConstConfig = (config) => {
31922
31923
  DEFAULT_ALIGN = config.align;
31923
31924
  };
@@ -39091,7 +39092,7 @@ const ShyTableAction = /* @__PURE__ */ defineComponent({
39091
39092
  isInButton && e.stopPropagation();
39092
39093
  };
39093
39094
  const renderDivider = (index2, length2) => {
39094
- const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
39095
+ const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
39095
39096
  return isShow ? createVNode(Divider$2, {
39096
39097
  "type": "vertical",
39097
39098
  "class": "action-divider"
@@ -39431,7 +39432,7 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
39431
39432
  BreadcrumbItem
39432
39433
  },
39433
39434
  props: shyContainerProps,
39434
- emits: ["submit", "cancel", "save"],
39435
+ emits: ["submit", "cancel", "save", "route-change"],
39435
39436
  setup(props2, {
39436
39437
  slots,
39437
39438
  emit
@@ -39503,7 +39504,8 @@ const ShyContainer = /* @__PURE__ */ defineComponent({
39503
39504
  }, _isSlot(_slot = props2.navBars.map((item) => {
39504
39505
  return createVNode(BreadcrumbItem, null, {
39505
39506
  default: () => [item.path ? createVNode(resolveComponent("router-link"), {
39506
- "to": item.path
39507
+ "to": item.path,
39508
+ "onClick": () => emit("route-change", item)
39507
39509
  }, {
39508
39510
  default: () => [item.name]
39509
39511
  }) : createVNode("span", null, [item.name])]
package/es/style.css CHANGED
@@ -965,26 +965,23 @@ input:focus.ant-input {
965
965
  border: solid 2px transparent;
966
966
  background: transparent;
967
967
  }
968
- :is(.ant-table-thead) .ant-table-selection-column::before {
969
- content: unset !important;
970
- }
971
968
  :is(.ant-table-thead) .ant-table-cell:nth-last-child(2)::before {
972
969
  content: unset !important;
973
970
  }
974
971
  :is(.ant-table-thead) .ant-table-cell-scrollbar.ant-table-cell-scrollbar {
975
972
  box-shadow: unset;
976
973
  }
977
- .ant-table-cell-fix-right-first {
978
- border-left: 1px solid var(--gray-3);
979
- }
980
- .ant-table-cell-fix-left-last {
981
- border-right: 1px solid var(--gray-3);
982
- }
983
974
  .ant-table-wrapper .ant-table-ping-right .ant-table-cell-fix-right-last::after {
984
975
  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
985
976
  }
986
977
  .ant-table-wrapper .ant-table-ping-left .ant-table-cell-fix-left-last::after {
987
978
  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
979
+ }
980
+ .ant-table-body {
981
+ overflow: auto auto !important;
982
+ }
983
+ .ant-table-cell-fix-right-first {
984
+ right: 0 !important;
988
985
  }.shy-strength-meter-bar[data-v-c8d77eaa] {
989
986
  position: relative;
990
987
  margin: 10px auto 6px;
@@ -8915,7 +8912,7 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8915
8912
  margin: auto !important;
8916
8913
  }
8917
8914
  .shy-ant-table-action .ant-divider, .shy-ant-table-action .ant-divider-vertical {
8918
- margin: 0 2px;
8915
+ margin: 0 1px;
8919
8916
  }
8920
8917
  .shy-ant-table-action .icon-more {
8921
8918
  transform: rotate(90deg);
@@ -8924,6 +8921,9 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8924
8921
  font-size: 1.1em;
8925
8922
  font-weight: 700;
8926
8923
  }
8924
+ .shy-ant-table-action .ant-btn-link {
8925
+ padding-left: 0;
8926
+ }
8927
8927
  .shy-ant-table-action-footer-more-btn {
8928
8928
  display: flex;
8929
8929
  gap: 16px;
package/lib/index.js CHANGED
@@ -9863,7 +9863,8 @@ const Modal$2 = /* @__PURE__ */ vue.defineComponent({
9863
9863
  ...props2,
9864
9864
  onCancel
9865
9865
  };
9866
- return vue.createVNode(antDesignVue.Modal, propsData, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
9866
+ const modalProps2 = omit$1(propsData, "visible");
9867
+ return vue.createVNode(antDesignVue.Modal, modalProps2, _isSlot$8(_slot = extendSlots(slots)) ? _slot : {
9867
9868
  default: () => [_slot]
9868
9869
  });
9869
9870
  };
@@ -31941,7 +31942,7 @@ const DEFAULT_FILTER_FN = defaultFilterFn;
31941
31942
  let DEFAULT_ALIGN = "left";
31942
31943
  const INDEX_COLUMN_FLAG = "INDEX";
31943
31944
  const ACTION_COLUMN_FLAG = "ACTION";
31944
- const ACTION_COLUMN_WIDTH = 90;
31945
+ const ACTION_COLUMN_WIDTH = 65;
31945
31946
  const setConstConfig = (config) => {
31946
31947
  DEFAULT_ALIGN = config.align;
31947
31948
  };
@@ -39115,7 +39116,7 @@ const ShyTableAction = /* @__PURE__ */ vue.defineComponent({
39115
39116
  isInButton && e.stopPropagation();
39116
39117
  };
39117
39118
  const renderDivider = (index2, length2) => {
39118
- const isShow = props2.divider && index2 < length2 && ["action"].includes(props2.type);
39119
+ const isShow = props2.divider && index2 < length2 - +!getDropdownList.value.length && ["action"].includes(props2.type);
39119
39120
  return isShow ? vue.createVNode(antDesignVue.Divider, {
39120
39121
  "type": "vertical",
39121
39122
  "class": "action-divider"
@@ -39455,7 +39456,7 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
39455
39456
  BreadcrumbItem
39456
39457
  },
39457
39458
  props: shyContainerProps,
39458
- emits: ["submit", "cancel", "save"],
39459
+ emits: ["submit", "cancel", "save", "route-change"],
39459
39460
  setup(props2, {
39460
39461
  slots,
39461
39462
  emit
@@ -39527,7 +39528,8 @@ const ShyContainer = /* @__PURE__ */ vue.defineComponent({
39527
39528
  }, _isSlot(_slot = props2.navBars.map((item) => {
39528
39529
  return vue.createVNode(BreadcrumbItem, null, {
39529
39530
  default: () => [item.path ? vue.createVNode(vue.resolveComponent("router-link"), {
39530
- "to": item.path
39531
+ "to": item.path,
39532
+ "onClick": () => emit("route-change", item)
39531
39533
  }, {
39532
39534
  default: () => [item.name]
39533
39535
  }) : vue.createVNode("span", null, [item.name])]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.53",
3
+ "version": "3.0.0-next.54",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -30,8 +30,8 @@
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
32
  "@shy-plugins/use": "1.0.0-next.1",
33
- "@shy-plugins/utils": "1.0.0-next.1",
34
- "@shy-plugins/tinymce": "^1.0.6"
33
+ "@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": {