3h1-ui 3.0.0-next.62 → 3.0.0-next.63

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.
Files changed (5) hide show
  1. package/es/index.js +141 -107
  2. package/es/style.css +141 -153
  3. package/lib/index.js +140 -106
  4. package/lib/style.css +141 -153
  5. package/package.json +3 -3
package/es/style.css CHANGED
@@ -309,27 +309,12 @@ ul {
309
309
  --tw-border-opacity: 1;
310
310
  border-color: rgba(24, 144, 255, var(--tw-border-opacity));
311
311
  }
312
- .border-color-\[\#f0f0f0\] {
313
- --tw-border-opacity: 1;
314
- border-color: rgba(240, 240, 240, var(--tw-border-opacity));
315
- }
316
- .border-color-\[\#2DA44E\] {
317
- --tw-border-opacity: 1;
318
- border-color: rgba(45, 164, 78, var(--tw-border-opacity));
319
- }
320
312
  .rounded-4px {
321
313
  border-radius: 4px;
322
314
  }
323
- .rounded-b-4px {
324
- border-bottom-right-radius: 4px;
325
- border-bottom-left-radius: 4px;
326
- }
327
315
  .border-solid {
328
316
  border-style: solid;
329
317
  }
330
- .border-dashed {
331
- border-style: dashed;
332
- }
333
318
  .border {
334
319
  border-width: 1px;
335
320
  }
@@ -339,15 +324,6 @@ ul {
339
324
  .border-t-0 {
340
325
  border-top-width: 0px;
341
326
  }
342
- .border-left-1px {
343
- border-left-width: 1px;
344
- }
345
- .border-right-1px {
346
- border-right-width: 1px;
347
- }
348
- .border-bottom-1px {
349
- border-bottom-width: 1px;
350
- }
351
327
  .cursor-not-allowed {
352
328
  cursor: not-allowed;
353
329
  }
@@ -389,6 +365,12 @@ ul {
389
365
  -webkit-align-items: center;
390
366
  align-items: center;
391
367
  }
368
+ .justify-end {
369
+ -webkit-box-pack: end;
370
+ -ms-flex-pack: end;
371
+ -webkit-justify-content: flex-end;
372
+ justify-content: flex-end;
373
+ }
392
374
  .justify-center {
393
375
  -webkit-box-pack: center;
394
376
  -ms-flex-pack: center;
@@ -407,11 +389,8 @@ ul {
407
389
  .\!h-full {
408
390
  height: 100% !important;
409
391
  }
410
- .h-50px {
411
- height: 50px;
412
- }
413
- .h-32px {
414
- height: 32px;
392
+ .h-\[fit-content\] {
393
+ height: fit-content;
415
394
  }
416
395
  .\.w-100 {
417
396
  height: 25rem;
@@ -420,9 +399,6 @@ ul {
420
399
  font-size: 14px;
421
400
  line-height: 1;
422
401
  }
423
- .leading-32px {
424
- line-height: 32px;
425
- }
426
402
  .mx-1 {
427
403
  margin-left: 0.25rem;
428
404
  margin-right: 0.25rem;
@@ -491,11 +467,9 @@ ul {
491
467
  padding-top: 0.5rem;
492
468
  padding-bottom: 0.5rem;
493
469
  }
494
- .pl-8px {
495
- padding-left: 8px;
496
- }
497
- .pr-8px {
498
- padding-right: 8px;
470
+ .py-8px {
471
+ padding-top: 8px;
472
+ padding-bottom: 8px;
499
473
  }
500
474
  .pl-2 {
501
475
  padding-left: 0.5rem;
@@ -515,9 +489,6 @@ ul {
515
489
  .resize {
516
490
  resize: both;
517
491
  }
518
- .text-center {
519
- text-align: center;
520
- }
521
492
  .text-red-500 {
522
493
  --tw-text-opacity: 1;
523
494
  color: rgba(239, 68, 68, var(--tw-text-opacity));
@@ -526,10 +497,6 @@ ul {
526
497
  --tw-text-opacity: 1;
527
498
  color: rgba(27, 31, 36, var(--tw-text-opacity));
528
499
  }
529
- .text-\[\#2DA44E\] {
530
- --tw-text-opacity: 1;
531
- color: rgba(45, 164, 78, var(--tw-text-opacity));
532
- }
533
500
  .truncate {
534
501
  overflow: hidden;
535
502
  -o-text-overflow: ellipsis;
@@ -948,7 +915,7 @@ input:focus.ant-input {
948
915
  :is(.ant-table-body, .ant-table-content)::-webkit-scrollbar {
949
916
  position: absolute;
950
917
  height: 10px;
951
- width: 10px;
918
+ width: 0;
952
919
  }
953
920
  :is(.ant-table-body, .ant-table-content)::-webkit-scrollbar-thumb {
954
921
  box-shadow: inset 0 0 10px 10px var(--gray-2);
@@ -977,11 +944,78 @@ input:focus.ant-input {
977
944
  .ant-table-wrapper .ant-table-ping-left .ant-table-cell-fix-left-last::after {
978
945
  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08) !important;
979
946
  }
947
+ .ant-table-cell-fix-right-first {
948
+ right: -1px !important;
949
+ }
980
950
  .ant-table-body {
981
951
  overflow: auto auto !important;
982
952
  }
983
- .ant-table-cell-fix-right-first {
984
- right: 0 !important;
953
+ .ant-table-body table:has(.ant-table-placeholder) {
954
+ height: 100%;
955
+ }
956
+ .ant-table-body table:has(.ant-table-placeholder) .ant-table-expanded-row-fixed {
957
+ width: 100% !important;
958
+ }
959
+ .ant-table-wrapper.ant-table-wrapper {
960
+ padding: 0;
961
+ background-color: var(--gray-1);
962
+ border-radius: 12px;
963
+ }
964
+ .ant-table-wrapper.ant-table-wrapper .ant-table {
965
+ overflow-x: hidden;
966
+ width: 100%;
967
+ }
968
+ .ant-table-wrapper.ant-table-wrapper .ant-table .ant-table-title {
969
+ display: flex;
970
+ justify-content: space-between;
971
+ align-items: center;
972
+ padding: 0 0 16px 0;
973
+ border-bottom: none;
974
+ min-height: 40px;
975
+ border: none;
976
+ }
977
+ .ant-table-wrapper.ant-table-wrapper .ant-table:not(.ant-table-bordered) .ant-table-tbody > tr > td {
978
+ border-top: none;
979
+ border-bottom: 1px solid var(--gray-2);
980
+ }
981
+ .ant-table-wrapper.ant-table-wrapper .ant-table-header .ant-table-selection-column::before, .ant-table-wrapper.ant-table-wrapper .ant-table-thead .ant-table-selection-column::before {
982
+ content: '';
983
+ position: absolute;
984
+ top: 50%;
985
+ right: 0;
986
+ width: 1px;
987
+ height: 1.6em;
988
+ background-color: var(--gray-3);
989
+ transform: translateY(-50%);
990
+ transition: background-color 0.3s;
991
+ }
992
+ .ant-table-wrapper.ant-table-wrapper .ant-table-header th, .ant-table-wrapper.ant-table-wrapper .ant-table-thead th, .ant-table-wrapper.ant-table-wrapper .ant-table-header td, .ant-table-wrapper.ant-table-wrapper .ant-table-thead td {
993
+ background: var(--gray-1);
994
+ border-bottom: 1px solid var(--gray-3);
995
+ }
996
+ .ant-table-wrapper.ant-table-wrapper .ant-table-header th::before, .ant-table-wrapper.ant-table-wrapper .ant-table-thead th::before, .ant-table-wrapper.ant-table-wrapper .ant-table-header td::before, .ant-table-wrapper.ant-table-wrapper .ant-table-thead td::before {
997
+ background-color: var(--gray-3) !important;
998
+ }
999
+ .ant-table-wrapper.ant-table-wrapper .ant-table-container.ant-table-container {
1000
+ border-inline-start: unset;
1001
+ border: 1px solid var(--gray-3);
1002
+ }
1003
+ .ant-table-wrapper.ant-table-wrapper .ant-table-small .ant-table-tbody > tr > td {
1004
+ padding: 7px 8px;
1005
+ }
1006
+ .ant-table-wrapper.ant-table-wrapper .ant-table-small .ant-table-thead > tr > th * {
1007
+ line-height: 20px;
1008
+ }
1009
+ .ant-btn {
1010
+ box-shadow: none;
1011
+ }
1012
+ .ant-btn-dashed.ant-btn-dashed {
1013
+ color: var(--primary-5);
1014
+ border-color: var(--primary-5);
1015
+ }
1016
+ .ant-btn-dashed.ant-btn-dashed:hover, .ant-btn-dashed.ant-btn-dashed:active, .ant-btn-dashed.ant-btn-dashed:focus {
1017
+ color: var(--gray-0);
1018
+ background-color: var(--primary-5);
985
1019
  }.shy-strength-meter-bar[data-v-678d40fd] {
986
1020
  position: relative;
987
1021
  margin: 10px auto 6px;
@@ -1090,7 +1124,7 @@ span.iconify {
1090
1124
  }
1091
1125
  .shy-basic-help__wrap p {
1092
1126
  margin-bottom: 0;
1093
- }.shy-basic-title[data-v-df3764dc] {
1127
+ }.shy-basic-title[data-v-b0cf71c3] {
1094
1128
  position: relative;
1095
1129
  display: flex;
1096
1130
  font-family: PingFangSC, PingFang SC;
@@ -1103,7 +1137,12 @@ span.iconify {
1103
1137
  justify-content: space-between;
1104
1138
  align-items: center;
1105
1139
  }
1106
- .shy-basic-title-show-span[data-v-df3764dc]::before {
1140
+ .shy-basic-title-label[data-v-b0cf71c3] {
1141
+ display: flex;
1142
+ gap: 8px;
1143
+ align-items: center;
1144
+ }
1145
+ .shy-basic-title-show-span[data-v-b0cf71c3]::before {
1107
1146
  content: '';
1108
1147
  position: absolute;
1109
1148
  width: 2px;
@@ -1114,18 +1153,12 @@ span.iconify {
1114
1153
  top: 50%;
1115
1154
  transform: translateY(-50%);
1116
1155
  }
1117
- .shy-basic-title-help[data-v-df3764dc] {
1156
+ .shy-basic-title-help[data-v-b0cf71c3] {
1118
1157
  margin-left: 10px;
1119
- }
1120
- .shy-basic-title-expand[data-v-df3764dc] {
1121
- cursor: pointer;
1122
- font-size: 14px;
1123
- display: flex;
1124
- align-items: center;
1158
+ }.shy-collapse-container-arrow {
1159
+ font-size: 14px !important;
1125
1160
  color: var(--primary-5);
1126
- }
1127
- .shy-basic-title-expand-icon[data-v-df3764dc] {
1128
- margin-right: 3px;
1161
+ cursor: pointer;
1129
1162
  }.shy-collapse-container {
1130
1163
  background-color: #ffffff;
1131
1164
  border-radius: 2px;
@@ -1136,7 +1169,9 @@ span.iconify {
1136
1169
  justify-content: space-between;
1137
1170
  align-items: center;
1138
1171
  height: 32px;
1139
- border-bottom: 1px solid #E4E7ED;
1172
+ }
1173
+ .shy-collapse-container__header-action {
1174
+ background: var(--gray-1);
1140
1175
  }
1141
1176
  .shy-collapse-container__footer {
1142
1177
  border-top: 1px solid #E4E7ED;
@@ -2042,7 +2077,7 @@ span.iconify {
2042
2077
  }
2043
2078
  .table-children-err-popover .ant-popover-inner-content {
2044
2079
  padding: 6px 16px;
2045
- }.shy-search[data-v-d8be8a1f] {
2080
+ }.shy-search[data-v-743e62ba] {
2046
2081
  position: relative;
2047
2082
  display: flex;
2048
2083
  align-items: center;
@@ -8267,51 +8302,41 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
8267
8302
  overflow: auto;
8268
8303
  padding: 0 0;
8269
8304
  height: 100%;
8270
- }.shy-table-edit-icon-plus[data-v-abb4b35a] {
8305
+ }.shy-table-edit-icon-plus[data-v-221ba907] {
8271
8306
  width: 30px;
8272
8307
  height: 30px;
8273
8308
  font-size: 30px;
8274
8309
  cursor: pointer;
8275
8310
  display: flex;
8276
8311
  }
8277
- .table-children[data-v-abb4b35a] .ant-form-item {
8312
+ .table-children[data-v-221ba907] .ant-form-item {
8278
8313
  margin-bottom: 0 !important;
8279
8314
  }
8280
- .table-children-required[data-v-abb4b35a] {
8315
+ .table-children[data-v-221ba907] {
8316
+ width: 100%;
8317
+ }
8318
+ .table-children-required[data-v-221ba907] {
8281
8319
  color: #ff4d4f;
8282
8320
  margin-right: 4px;
8283
8321
  }
8284
- .table-children[data-v-abb4b35a] .ant-table-cell {
8322
+ .table-children[data-v-221ba907] .ant-table-cell {
8285
8323
  padding: 8px !important;
8286
8324
  }
8287
- .table-children[data-v-abb4b35a] .ant-table-cell .ant-form-item-explain {
8325
+ .table-children[data-v-221ba907] .ant-table-cell .ant-form-item-explain {
8288
8326
  display: none;
8289
8327
  }
8290
- .table-children-delete-wrapper[data-v-abb4b35a] {
8328
+ .table-children-add-btn[data-v-221ba907] {
8291
8329
  display: flex;
8292
- height: 100%;
8293
- justify-content: center;
8294
- }
8295
- .table-children-delete-wrapper:hover .table-children-delete-item[data-v-abb4b35a] {
8296
- display: flex;
8297
- justify-content: center;
8298
8330
  align-items: center;
8331
+ padding-inline: 8px;
8332
+ height: 50px;
8333
+ border-inline: 1px solid var(--gray-3);
8334
+ border-bottom: 1px solid var(--gray-3);
8335
+ border-bottom-left-radius: 4px;
8336
+ border-bottom-right-radius: 4px;
8299
8337
  }
8300
- .table-children-delete-wrapper:hover .table-children-delete-index[data-v-abb4b35a] {
8301
- display: none;
8302
- }
8303
- .table-children-delete-item[data-v-abb4b35a] {
8304
- background-color: red;
8305
- border-radius: 50%;
8306
- width: 30px;
8307
- height: 30px;
8308
- text-align: center;
8309
- display: none;
8310
- cursor: pointer;
8311
- }
8312
- .table-children-delete-index[data-v-abb4b35a] {
8313
- user-select: none;
8314
- display: inline-block;
8338
+ .table-children-add-btn[data-v-221ba907] .ant-btn {
8339
+ width: 100%;
8315
8340
  }.shy-ant-form {
8316
8341
  display: flex;
8317
8342
  justify-content: space-between;
@@ -8434,58 +8459,66 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
8434
8459
  width: 100%;
8435
8460
  background-color: var(--gray-3);
8436
8461
  }
8462
+ .shy-ant-form-wrapper {
8463
+ --max-width-large: 1224px;
8464
+ --max-width-middle: 864px;
8465
+ --max-width-small: 720px;
8466
+ --min-width--large: 70%;
8467
+ --min-width--middle: 69%;
8468
+ --min-width--small: 68%;
8469
+ }
8437
8470
  @media screen and (max-width: 1440px) {
8438
8471
  .shy-ant-form-wrapper-col-1 {
8439
- min-width: 46%;
8440
- max-width: 492px;
8472
+ min-width: calc(var(--min-width--small) * (1 / 3));
8473
+ max-width: calc(var(--max-width-small) * (1 / 3));
8441
8474
  }
8442
8475
  }
8443
8476
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8444
8477
  .shy-ant-form-wrapper-col-1 {
8445
- min-width: 47%;
8446
- max-width: 588px;
8478
+ min-width: calc(var(--min-width--middle) * (1 / 3));
8479
+ max-width: calc(var(--max-width-middle) * (1 / 3));
8447
8480
  }
8448
8481
  }
8449
8482
  @media screen and (min-width: 1920px) {
8450
8483
  .shy-ant-form-wrapper-col-1 {
8451
- min-width: 48%;
8452
- max-width: 828px;
8484
+ min-width: calc(var(--min-width--large) * (1 / 3));
8485
+ max-width: calc(var(--max-width-large) * (1 / 3));
8453
8486
  }
8454
8487
  }
8455
8488
  @media screen and (max-width: 1440px) {
8456
8489
  .shy-ant-form-wrapper-col-2 {
8457
- min-width: 69%;
8458
- max-width: 732px;
8490
+ min-width: calc(var(--min-width--small) * (1 / 3) * 2);
8491
+ max-width: calc(var(--max-width-small) * (1 / 3) * 2);
8459
8492
  }
8460
8493
  }
8461
8494
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8462
8495
  .shy-ant-form-wrapper-col-2 {
8463
- min-width: 70%;
8464
- max-width: 876px;
8496
+ min-width: calc(var(--min-width--middle) * (1 / 3) * 2);
8497
+ max-width: calc(var(--max-width-middle) * (1 / 3) * 2);
8465
8498
  }
8466
8499
  }
8467
8500
  @media screen and (min-width: 1920px) {
8468
8501
  .shy-ant-form-wrapper-col-2 {
8469
- min-width: 71%;
8470
- max-width: 1236px;
8502
+ min-width: calc(var(--min-width--large) * (1 / 3) * 2);
8503
+ max-width: calc(var(--max-width-large) * (1 / 3) * 2);
8471
8504
  }
8472
8505
  }
8473
8506
  @media screen and (max-width: 1440px) {
8474
8507
  .shy-ant-form-wrapper-col-3 {
8475
- min-width: 68%;
8476
- max-width: 720px;
8508
+ min-width: var(--min-width--small);
8509
+ max-width: var(--max-width-small);
8477
8510
  }
8478
8511
  }
8479
8512
  @media screen and (max-width: 1920px) and (min-width: 1440px) {
8480
8513
  .shy-ant-form-wrapper-col-3 {
8481
- min-width: 69%;
8482
- max-width: 864px;
8514
+ min-width: var(--min-width--middle);
8515
+ max-width: var(--max-width-middle);
8483
8516
  }
8484
8517
  }
8485
8518
  @media screen and (min-width: 1920px) {
8486
8519
  .shy-ant-form-wrapper-col-3 {
8487
- min-width: 70%;
8488
- max-width: 1224px;
8520
+ min-width: var(--min-width--large);
8521
+ max-width: var(--max-width-large);
8489
8522
  }
8490
8523
  }.wrapper[data-v-0ca4fd85] {
8491
8524
  display: flex;
@@ -8763,56 +8796,11 @@ html[data-theme='dark'] .full-loading[data-v-ee545744]:not(.light) {
8763
8796
  height: 7px;
8764
8797
  border-width: 1.5px;
8765
8798
  }
8766
- .shy-ant-table :is(.ant-table-wrapper) {
8767
- padding: 0;
8768
- background-color: var(gray-1);
8769
- border-radius: 12px;
8770
- }
8771
- .shy-ant-table :is(.ant-table-wrapper) .ant-table {
8772
- overflow-x: hidden;
8773
- width: 100%;
8774
- }
8775
- .shy-ant-table :is(.ant-table-wrapper) .ant-table .ant-table-title {
8776
- display: flex;
8777
- justify-content: space-between;
8778
- align-items: center;
8779
- padding: 0 0 16px 0;
8780
- border-bottom: none;
8781
- min-height: 40px;
8782
- border: none;
8783
- }
8784
- .shy-ant-table :is(.ant-table-wrapper) .ant-table:not(.ant-table-bordered) .ant-table-tbody > tr > td {
8785
- border-top: none;
8786
- border-bottom: 1px solid var(--gray-2);
8787
- }
8788
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-header .ant-table-selection-column::before, .shy-ant-table :is(.ant-table-wrapper) .ant-table-thead .ant-table-selection-column::before {
8789
- content: '';
8790
- position: absolute;
8791
- top: 50%;
8792
- right: 0;
8793
- width: 1px;
8794
- height: 1.6em;
8795
- background-color: var(--gray-3);
8796
- transform: translateY(-50%);
8797
- transition: background-color 0.3s;
8798
- }
8799
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-header th, .shy-ant-table :is(.ant-table-wrapper) .ant-table-thead th, .shy-ant-table :is(.ant-table-wrapper) .ant-table-header td, .shy-ant-table :is(.ant-table-wrapper) .ant-table-thead td {
8800
- background: var(--gray-1);
8801
- border-bottom: 1px solid var(--gray-3);
8802
- }
8803
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-header th::before, .shy-ant-table :is(.ant-table-wrapper) .ant-table-thead th::before, .shy-ant-table :is(.ant-table-wrapper) .ant-table-header td::before, .shy-ant-table :is(.ant-table-wrapper) .ant-table-thead td::before {
8804
- background-color: var(--gray-3) !important;
8805
- }
8806
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-container {
8799
+ .shy-ant-table .ant-table-container.ant-table-container {
8807
8800
  border-radius: 4px !important;
8801
+ border-inline-start: unset;
8808
8802
  border: 1px solid var(--gray-3);
8809
8803
  }
8810
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-small .ant-table-tbody > tr > td {
8811
- padding: 7px 8px;
8812
- }
8813
- .shy-ant-table :is(.ant-table-wrapper) .ant-table-small .ant-table-thead > tr > th * {
8814
- line-height: 20px;
8815
- }
8816
8804
  .shy-ant-table .shy-basic-form-input > .ant-col {
8817
8805
  padding-left: 0;
8818
8806
  padding-right: 20px;