3h1-ui 3.0.0-next.46 → 3.0.0-next.48

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
@@ -37679,18 +37680,19 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37679
37680
  );
37680
37681
  const length2 = columns.length;
37681
37682
  columns.forEach((item) => {
37682
- const colWidth = item.width || ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37683
- const countWidth = tableWidth ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37683
+ const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
37684
+ const colWidth = item.width || minWidth;
37685
+ const countWidth = tableWidth && length2 - sumLength ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37684
37686
  if (item.flag)
37685
37687
  return;
37686
37688
  if (propsRef.value.resizable) {
37687
37689
  item.width = colWidth > countWidth ? colWidth : countWidth;
37688
- item.minWidth = ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37690
+ item.minWidth = minWidth;
37689
37691
  item.resizable = item.resizable === void 0 ? true : item.resizable;
37690
37692
  } else {
37691
37693
  if (item.resizable) {
37692
37694
  item.width = colWidth > countWidth ? colWidth : countWidth;
37693
- item.minWidth = ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37695
+ item.minWidth = minWidth;
37694
37696
  }
37695
37697
  }
37696
37698
  });
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
@@ -37703,18 +37704,19 @@ function handleColumnResize(propsRef, columns, wrapRef) {
37703
37704
  );
37704
37705
  const length2 = columns.length;
37705
37706
  columns.forEach((item) => {
37706
- const colWidth = item.width || ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37707
- const countWidth = tableWidth ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37707
+ const minWidth = ((item == null ? void 0 : item.title) + "").length * 14 + 16;
37708
+ const colWidth = item.width || minWidth;
37709
+ const countWidth = tableWidth && length2 - sumLength ? (tableWidth - sumWidth - selectWidth) / (length2 - sumLength) : colWidth;
37708
37710
  if (item.flag)
37709
37711
  return;
37710
37712
  if (propsRef.value.resizable) {
37711
37713
  item.width = colWidth > countWidth ? colWidth : countWidth;
37712
- item.minWidth = ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37714
+ item.minWidth = minWidth;
37713
37715
  item.resizable = item.resizable === void 0 ? true : item.resizable;
37714
37716
  } else {
37715
37717
  if (item.resizable) {
37716
37718
  item.width = colWidth > countWidth ? colWidth : countWidth;
37717
- item.minWidth = ((item == null ? void 0 : item.title) + "").length * 12 + 16;
37719
+ item.minWidth = minWidth;
37718
37720
  }
37719
37721
  }
37720
37722
  });
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.46",
3
+ "version": "3.0.0-next.48",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -29,8 +29,8 @@
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/tinymce": "^1.0.6",
33
32
  "@shy-plugins/use": "1.0.0-next.1",
33
+ "@shy-plugins/tinymce": "^1.0.6",
34
34
  "@shy-plugins/utils": "1.0.0-next.1"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",