3h1-ui 3.0.0-next.47 → 3.0.0-next.49

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
@@ -10057,6 +10057,7 @@ const _sfc_main$1n = defineComponent({
10057
10057
  });
10058
10058
  const spinStyle = computed(() => {
10059
10059
  return {
10060
+ flex: 1,
10060
10061
  minHeight: `${props2.minHeight}px`,
10061
10062
  [props2.fullScreen ? "height" : "maxHeight"]: `${unref(
10062
10063
  realHeightRef
@@ -37680,17 +37681,17 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37680
37681
  const length2 = columns.length;
37681
37682
  columns.forEach((item) => {
37682
37683
  const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
37683
- const colWidth = item.width || minWidth;
37684
- const countWidth = tableWidth && length2 - sumLength ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37684
+ const countWidth = (tableWidth - sumWidth - selectWidth) / (length2 - sumLength);
37685
37685
  if (item.flag)
37686
37686
  return;
37687
+ const finallyWidth = minWidth > countWidth ? minWidth : countWidth;
37687
37688
  if (propsRef.value.resizable) {
37688
- item.width = colWidth > countWidth ? colWidth : countWidth;
37689
+ item.width = item.width ? item.width : finallyWidth;
37689
37690
  item.minWidth = minWidth;
37690
37691
  item.resizable = item.resizable === void 0 ? true : item.resizable;
37691
37692
  } else {
37692
37693
  if (item.resizable) {
37693
- item.width = colWidth > countWidth ? colWidth : countWidth;
37694
+ item.width = item.width ? item.width : finallyWidth;
37694
37695
  item.minWidth = minWidth;
37695
37696
  }
37696
37697
  }
@@ -37727,6 +37728,7 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
37727
37728
  columns.unshift({
37728
37729
  flag: INDEX_COLUMN_FLAG,
37729
37730
  width: 50,
37731
+ minWidth: 50,
37730
37732
  maxWidth: 50,
37731
37733
  title: "序号",
37732
37734
  align: "center",
@@ -37760,6 +37762,7 @@ function handleActionColumn(propsRef, columns) {
37760
37762
  ...columns[hasIndex],
37761
37763
  fixed: "right",
37762
37764
  width: ACTION_COLUMN_WIDTH,
37765
+ minWidth: ACTION_COLUMN_WIDTH,
37763
37766
  ...actionColumn,
37764
37767
  maxWidth: actionColumn.width || ACTION_COLUMN_WIDTH,
37765
37768
  flag: ACTION_COLUMN_FLAG
package/es/style.css CHANGED
@@ -1323,6 +1323,7 @@ span.iconify {
1323
1323
  }
1324
1324
  .shy-basic-modal :is(.ant-modal-body) {
1325
1325
  padding: unset !important;
1326
+ display: flex;
1326
1327
  overflow: hidden;
1327
1328
  }
1328
1329
  .shy-basic-modal :is(.ant-modal-body) *::-webkit-scrollbar {
@@ -1782,6 +1783,7 @@ span.iconify {
1782
1783
  }
1783
1784
  .shy-basic-modal :is(.ant-modal-body) {
1784
1785
  padding: unset !important;
1786
+ display: flex;
1785
1787
  overflow: hidden;
1786
1788
  }
1787
1789
  .shy-basic-modal :is(.ant-modal-body) *::-webkit-scrollbar {
@@ -8440,55 +8442,55 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8440
8442
  }
8441
8443
  @media screen and (max-width: 1440px) {
8442
8444
  .shy-ant-form-wrapper-col-1 {
8443
- width: 46%;
8445
+ min-width: 46%;
8444
8446
  max-width: 492px;
8445
8447
  }
8446
8448
  }
8447
8449
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8448
8450
  .shy-ant-form-wrapper-col-1 {
8449
- width: 47%;
8451
+ min-width: 47%;
8450
8452
  max-width: 588px;
8451
8453
  }
8452
8454
  }
8453
8455
  @media screen and (min-width: 1920px) {
8454
8456
  .shy-ant-form-wrapper-col-1 {
8455
- width: 48%;
8457
+ min-width: 48%;
8456
8458
  max-width: 828px;
8457
8459
  }
8458
8460
  }
8459
8461
  @media screen and (max-width: 1440px) {
8460
8462
  .shy-ant-form-wrapper-col-2 {
8461
- width: 69%;
8463
+ min-width: 69%;
8462
8464
  max-width: 732px;
8463
8465
  }
8464
8466
  }
8465
8467
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8466
8468
  .shy-ant-form-wrapper-col-2 {
8467
- width: 70%;
8469
+ min-width: 70%;
8468
8470
  max-width: 876px;
8469
8471
  }
8470
8472
  }
8471
8473
  @media screen and (min-width: 1920px) {
8472
8474
  .shy-ant-form-wrapper-col-2 {
8473
- width: 71%;
8475
+ min-width: 71%;
8474
8476
  max-width: 1236px;
8475
8477
  }
8476
8478
  }
8477
8479
  @media screen and (max-width: 1440px) {
8478
8480
  .shy-ant-form-wrapper-col-3 {
8479
- width: 68%;
8481
+ min-width: 68%;
8480
8482
  max-width: 720px;
8481
8483
  }
8482
8484
  }
8483
8485
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8484
8486
  .shy-ant-form-wrapper-col-3 {
8485
- width: 69%;
8487
+ min-width: 69%;
8486
8488
  max-width: 864px;
8487
8489
  }
8488
8490
  }
8489
8491
  @media screen and (min-width: 1920px) {
8490
8492
  .shy-ant-form-wrapper-col-3 {
8491
- width: 70%;
8493
+ min-width: 70%;
8492
8494
  max-width: 1224px;
8493
8495
  }
8494
8496
  }.wrapper[data-v-15e2dcbb] {
package/lib/index.js CHANGED
@@ -10081,6 +10081,7 @@ const _sfc_main$1n = vue.defineComponent({
10081
10081
  });
10082
10082
  const spinStyle = vue.computed(() => {
10083
10083
  return {
10084
+ flex: 1,
10084
10085
  minHeight: `${props2.minHeight}px`,
10085
10086
  [props2.fullScreen ? "height" : "maxHeight"]: `${vue.unref(
10086
10087
  realHeightRef
@@ -37704,17 +37705,17 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37704
37705
  const length2 = columns.length;
37705
37706
  columns.forEach((item) => {
37706
37707
  const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
37707
- const colWidth = item.width || minWidth;
37708
- const countWidth = tableWidth && length2 - sumLength ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37708
+ const countWidth = (tableWidth - sumWidth - selectWidth) / (length2 - sumLength);
37709
37709
  if (item.flag)
37710
37710
  return;
37711
+ const finallyWidth = minWidth > countWidth ? minWidth : countWidth;
37711
37712
  if (propsRef.value.resizable) {
37712
- item.width = colWidth > countWidth ? colWidth : countWidth;
37713
+ item.width = item.width ? item.width : finallyWidth;
37713
37714
  item.minWidth = minWidth;
37714
37715
  item.resizable = item.resizable === void 0 ? true : item.resizable;
37715
37716
  } else {
37716
37717
  if (item.resizable) {
37717
- item.width = colWidth > countWidth ? colWidth : countWidth;
37718
+ item.width = item.width ? item.width : finallyWidth;
37718
37719
  item.minWidth = minWidth;
37719
37720
  }
37720
37721
  }
@@ -37751,6 +37752,7 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
37751
37752
  columns.unshift({
37752
37753
  flag: INDEX_COLUMN_FLAG,
37753
37754
  width: 50,
37755
+ minWidth: 50,
37754
37756
  maxWidth: 50,
37755
37757
  title: "序号",
37756
37758
  align: "center",
@@ -37784,6 +37786,7 @@ function handleActionColumn(propsRef, columns) {
37784
37786
  ...columns[hasIndex],
37785
37787
  fixed: "right",
37786
37788
  width: ACTION_COLUMN_WIDTH,
37789
+ minWidth: ACTION_COLUMN_WIDTH,
37787
37790
  ...actionColumn,
37788
37791
  maxWidth: actionColumn.width || ACTION_COLUMN_WIDTH,
37789
37792
  flag: ACTION_COLUMN_FLAG
package/lib/style.css CHANGED
@@ -1323,6 +1323,7 @@ span.iconify {
1323
1323
  }
1324
1324
  .shy-basic-modal :is(.ant-modal-body) {
1325
1325
  padding: unset !important;
1326
+ display: flex;
1326
1327
  overflow: hidden;
1327
1328
  }
1328
1329
  .shy-basic-modal :is(.ant-modal-body) *::-webkit-scrollbar {
@@ -1782,6 +1783,7 @@ span.iconify {
1782
1783
  }
1783
1784
  .shy-basic-modal :is(.ant-modal-body) {
1784
1785
  padding: unset !important;
1786
+ display: flex;
1785
1787
  overflow: hidden;
1786
1788
  }
1787
1789
  .shy-basic-modal :is(.ant-modal-body) *::-webkit-scrollbar {
@@ -8440,55 +8442,55 @@ html[data-theme='dark'] .full-loading[data-v-33b23b82]:not(.light) {
8440
8442
  }
8441
8443
  @media screen and (max-width: 1440px) {
8442
8444
  .shy-ant-form-wrapper-col-1 {
8443
- width: 46%;
8445
+ min-width: 46%;
8444
8446
  max-width: 492px;
8445
8447
  }
8446
8448
  }
8447
8449
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8448
8450
  .shy-ant-form-wrapper-col-1 {
8449
- width: 47%;
8451
+ min-width: 47%;
8450
8452
  max-width: 588px;
8451
8453
  }
8452
8454
  }
8453
8455
  @media screen and (min-width: 1920px) {
8454
8456
  .shy-ant-form-wrapper-col-1 {
8455
- width: 48%;
8457
+ min-width: 48%;
8456
8458
  max-width: 828px;
8457
8459
  }
8458
8460
  }
8459
8461
  @media screen and (max-width: 1440px) {
8460
8462
  .shy-ant-form-wrapper-col-2 {
8461
- width: 69%;
8463
+ min-width: 69%;
8462
8464
  max-width: 732px;
8463
8465
  }
8464
8466
  }
8465
8467
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8466
8468
  .shy-ant-form-wrapper-col-2 {
8467
- width: 70%;
8469
+ min-width: 70%;
8468
8470
  max-width: 876px;
8469
8471
  }
8470
8472
  }
8471
8473
  @media screen and (min-width: 1920px) {
8472
8474
  .shy-ant-form-wrapper-col-2 {
8473
- width: 71%;
8475
+ min-width: 71%;
8474
8476
  max-width: 1236px;
8475
8477
  }
8476
8478
  }
8477
8479
  @media screen and (max-width: 1440px) {
8478
8480
  .shy-ant-form-wrapper-col-3 {
8479
- width: 68%;
8481
+ min-width: 68%;
8480
8482
  max-width: 720px;
8481
8483
  }
8482
8484
  }
8483
8485
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8484
8486
  .shy-ant-form-wrapper-col-3 {
8485
- width: 69%;
8487
+ min-width: 69%;
8486
8488
  max-width: 864px;
8487
8489
  }
8488
8490
  }
8489
8491
  @media screen and (min-width: 1920px) {
8490
8492
  .shy-ant-form-wrapper-col-3 {
8491
- width: 70%;
8493
+ min-width: 70%;
8492
8494
  max-width: 1224px;
8493
8495
  }
8494
8496
  }.wrapper[data-v-15e2dcbb] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.47",
3
+ "version": "3.0.0-next.49",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",