acud 0.0.64 → 0.0.67

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 (103) hide show
  1. package/dist/acud.css +131 -39
  2. package/dist/acud.css.map +1 -1
  3. package/dist/acud.js +799 -212
  4. package/dist/acud.js.map +1 -1
  5. package/dist/acud.min.css +1 -1
  6. package/dist/acud.min.css.map +1 -1
  7. package/dist/acud.min.js +11 -7
  8. package/dist/acud.min.js.map +1 -1
  9. package/es/breadcrumb/BreadcrumbItem.d.ts +1 -1
  10. package/es/breadcrumb/BreadcrumbItem.js +16 -4
  11. package/es/dialog-box/style/index.css +4 -4
  12. package/es/dropdown/dropdown-button.js +8 -4
  13. package/es/dropdown/style/index.css +2 -1
  14. package/es/dropdown/style/index.less +2 -1
  15. package/es/modal/DialogBox.d.ts +46 -0
  16. package/es/modal/DialogBox.js +152 -0
  17. package/es/modal/Modal.d.ts +5 -2
  18. package/es/modal/Modal.js +6 -4
  19. package/es/modal/dialog.d.ts +17 -0
  20. package/es/modal/dialog.js +123 -0
  21. package/es/modal/index.d.ts +11 -2
  22. package/es/modal/index.js +10 -1
  23. package/es/modal/style/index.css +79 -13
  24. package/es/modal/style/index.less +93 -6
  25. package/es/modal/style/mixin.less +4 -4
  26. package/es/progress/style/common.less +5 -3
  27. package/es/progress/style/index.css +2 -1
  28. package/es/radio/index.d.ts +3 -0
  29. package/es/style/themes/dark/components/modal.less +14 -9
  30. package/es/style/themes/default/components/modal.less +15 -15
  31. package/es/tabs/src/TabNavList/index.js +2 -2
  32. package/es/tabs/style/index.css +0 -1
  33. package/es/tabs/style/index.less +0 -1
  34. package/es/time-picker/style/index.css +1 -0
  35. package/es/time-picker/style/index.less +1 -0
  36. package/es/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
  37. package/es/transfer/{dataSource.js → DataSource.js} +37 -6
  38. package/{lib/transfer/sourceList.d.ts → es/transfer/SourceList.d.ts} +2 -2
  39. package/es/transfer/{sourceList.js → SourceList.js} +0 -0
  40. package/es/transfer/{target.d.ts → Target.d.ts} +1 -1
  41. package/es/transfer/{target.js → Target.js} +60 -4
  42. package/{lib/transfer/targetList.d.ts → es/transfer/TargetList.d.ts} +2 -2
  43. package/es/transfer/{targetList.js → TargetList.js} +0 -0
  44. package/es/transfer/index.d.ts +3 -0
  45. package/es/transfer/index.js +9 -4
  46. package/es/transfer/style/css.js +3 -1
  47. package/es/transfer/style/index.css +25 -5
  48. package/es/transfer/style/index.d.ts +1 -0
  49. package/es/transfer/style/index.js +3 -1
  50. package/es/transfer/style/index.less +30 -5
  51. package/es/upload/UploadList/ListItem.js +7 -2
  52. package/es/upload/UploadList/index.js +4 -7
  53. package/es/upload/style/index.css +17 -13
  54. package/es/upload/style/index.less +25 -20
  55. package/es/upload/utils.js +1 -1
  56. package/lib/breadcrumb/BreadcrumbItem.d.ts +1 -1
  57. package/lib/breadcrumb/BreadcrumbItem.js +21 -8
  58. package/lib/dialog-box/style/index.css +4 -4
  59. package/lib/dropdown/dropdown-button.js +8 -4
  60. package/lib/dropdown/style/index.css +2 -1
  61. package/lib/dropdown/style/index.less +2 -1
  62. package/lib/modal/DialogBox.d.ts +46 -0
  63. package/lib/modal/DialogBox.js +179 -0
  64. package/lib/modal/Modal.d.ts +5 -2
  65. package/lib/modal/Modal.js +6 -4
  66. package/lib/modal/dialog.d.ts +17 -0
  67. package/lib/modal/dialog.js +145 -0
  68. package/lib/modal/index.d.ts +11 -2
  69. package/lib/modal/index.js +13 -1
  70. package/lib/modal/style/index.css +79 -13
  71. package/lib/modal/style/index.less +93 -6
  72. package/lib/modal/style/mixin.less +4 -4
  73. package/lib/progress/style/common.less +5 -3
  74. package/lib/progress/style/index.css +2 -1
  75. package/lib/radio/index.d.ts +3 -0
  76. package/lib/style/themes/dark/components/modal.less +14 -9
  77. package/lib/style/themes/default/components/modal.less +15 -15
  78. package/lib/tabs/src/TabNavList/index.js +2 -2
  79. package/lib/tabs/style/index.css +0 -1
  80. package/lib/tabs/style/index.less +0 -1
  81. package/lib/time-picker/style/index.css +1 -0
  82. package/lib/time-picker/style/index.less +1 -0
  83. package/lib/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
  84. package/lib/transfer/{dataSource.js → DataSource.js} +38 -6
  85. package/{es/transfer/sourceList.d.ts → lib/transfer/SourceList.d.ts} +2 -2
  86. package/lib/transfer/{sourceList.js → SourceList.js} +0 -0
  87. package/lib/transfer/{target.d.ts → Target.d.ts} +1 -1
  88. package/lib/transfer/{target.js → Target.js} +63 -5
  89. package/{es/transfer/targetList.d.ts → lib/transfer/TargetList.d.ts} +2 -2
  90. package/lib/transfer/{targetList.js → TargetList.js} +0 -0
  91. package/lib/transfer/index.d.ts +3 -0
  92. package/lib/transfer/index.js +11 -7
  93. package/lib/transfer/style/css.js +3 -1
  94. package/lib/transfer/style/index.css +25 -5
  95. package/lib/transfer/style/index.d.ts +1 -0
  96. package/lib/transfer/style/index.js +3 -1
  97. package/lib/transfer/style/index.less +30 -5
  98. package/lib/upload/UploadList/ListItem.js +7 -2
  99. package/lib/upload/UploadList/index.js +4 -7
  100. package/lib/upload/style/index.css +17 -13
  101. package/lib/upload/style/index.less +25 -20
  102. package/lib/upload/utils.js +1 -1
  103. package/package.json +1 -1
package/dist/acud.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v0.0.64 */
1
+ /*! acud v0.0.67 */
2
2
  /* color */
3
3
  /* 默认颜色 */
4
4
  /* 通用-icon */
@@ -3853,7 +3853,6 @@ a {
3853
3853
  }
3854
3854
  .acud-tabs-tab-active {
3855
3855
  color: #2468F2;
3856
- background: #FFFFFF;
3857
3856
  }
3858
3857
  .acud-tabs-tab-btn {
3859
3858
  outline: none;
@@ -13090,19 +13089,19 @@ _:-ms-fullscreen .acud-picker-range-wrapper .acud-picker-year-panel .acud-picker
13090
13089
  }
13091
13090
  .acud-dialogbox-sm {
13092
13091
  width: 520px;
13093
- max-height: 240px;
13092
+ max-height: 560px;
13094
13093
  }
13095
13094
  .acud-dialogbox-md {
13096
13095
  width: 800px;
13097
- max-height: 400px;
13096
+ max-height: 560px;
13098
13097
  }
13099
13098
  .acud-dialogbox-lg {
13100
13099
  width: 1120px;
13101
- max-height: 480px;
13100
+ max-height: 560px;
13102
13101
  }
13103
13102
  .acud-dialogbox-xl {
13104
13103
  width: 1200px;
13105
- max-height: 480px;
13104
+ max-height: 560px;
13106
13105
  }
13107
13106
  .acud-dialogbox-content {
13108
13107
  position: relative;
@@ -13578,9 +13577,10 @@ _:-ms-fullscreen .acud-picker-range-wrapper .acud-picker-year-panel .acud-picker
13578
13577
  margin-top: -8px;
13579
13578
  font-size: 12px;
13580
13579
  line-height: 16px;
13580
+ transition: transform 0.48s;
13581
13581
  }
13582
13582
  .acud-dropdown-trigger-arrow-expand {
13583
- transform: rotate(-180deg);
13583
+ transform: rotate(180deg);
13584
13584
  }
13585
13585
  .acud-dropdown-trigger-arrow > svg {
13586
13586
  width: 16px;
@@ -16596,7 +16596,6 @@ li.acud-dropdown-menu-submenu-active:hover,
16596
16596
  transform: translate(-50%, -50%);
16597
16597
  width: auto;
16598
16598
  max-width: calc(100vw - 32px);
16599
- padding-bottom: 24px;
16600
16599
  }
16601
16600
  .acud-modal.zoom-enter,
16602
16601
  .acud-modal.zoom-appear {
@@ -16635,23 +16634,43 @@ li.acud-dropdown-menu-submenu-active:hover,
16635
16634
  }
16636
16635
  .acud-modal-sm {
16637
16636
  width: 520px;
16638
- height: 240px;
16639
- max-height: 240px;
16637
+ min-height: 240px;
16638
+ max-height: 560px;
16639
+ }
16640
+ .acud-modal-sm > .acud-modal-content {
16641
+ width: 100%;
16642
+ min-height: 240px;
16643
+ max-height: 560px;
16640
16644
  }
16641
16645
  .acud-modal-md {
16642
16646
  width: 800px;
16643
- height: 400px;
16644
- max-height: 400px;
16647
+ min-height: 400px;
16648
+ max-height: 560px;
16649
+ }
16650
+ .acud-modal-md > .acud-modal-content {
16651
+ width: 100%;
16652
+ min-height: 400px;
16653
+ max-height: 560px;
16645
16654
  }
16646
16655
  .acud-modal-lg {
16647
16656
  width: 1120px;
16648
- height: 480px;
16649
- max-height: 480px;
16657
+ min-height: 480px;
16658
+ max-height: 560px;
16659
+ }
16660
+ .acud-modal-lg > .acud-modal-content {
16661
+ width: 100%;
16662
+ min-height: 480px;
16663
+ max-height: 560px;
16650
16664
  }
16651
16665
  .acud-modal-xl {
16652
16666
  width: 1200px;
16653
- height: 480px;
16654
- max-height: 480px;
16667
+ min-height: 480px;
16668
+ max-height: 560px;
16669
+ }
16670
+ .acud-modal-xl > .acud-modal-content {
16671
+ width: 100%;
16672
+ min-height: 480px;
16673
+ max-height: 560px;
16655
16674
  }
16656
16675
  .acud-modal-content {
16657
16676
  position: relative;
@@ -16688,7 +16707,7 @@ li.acud-dropdown-menu-submenu-active:hover,
16688
16707
  }
16689
16708
  .acud-modal-close-x {
16690
16709
  display: block;
16691
- margin-top: 28px;
16710
+ margin-top: 27px;
16692
16711
  font-size: 16px;
16693
16712
  text-align: center;
16694
16713
  text-transform: none;
@@ -16702,24 +16721,29 @@ li.acud-dropdown-menu-submenu-active:hover,
16702
16721
  font-weight: 900;
16703
16722
  }
16704
16723
  .acud-modal-title {
16705
- font-size: 16px;
16706
- line-height: 24px;
16724
+ font-size: 14px;
16725
+ line-height: 22px;
16726
+ padding-right: 12px;
16707
16727
  word-wrap: break-word;
16708
16728
  }
16709
16729
  .acud-modal-body {
16710
- padding: 16px 24px 24px;
16730
+ margin: 16px 24px 24px;
16711
16731
  font-size: 12px;
16712
16732
  font-weight: 400;
16713
16733
  line-height: 20px;
16714
16734
  word-wrap: break-word;
16715
16735
  color: #151B26;
16716
16736
  flex: 1;
16737
+ overflow-y: auto;
16717
16738
  }
16718
16739
  .acud-modal-footer {
16719
16740
  padding: 0 24px 24px;
16720
16741
  background: #FFFFFF;
16721
16742
  text-align: right;
16722
16743
  flex: none;
16744
+ display: flex;
16745
+ align-items: center;
16746
+ justify-content: flex-end;
16723
16747
  }
16724
16748
  .acud-modal-footer .acud-btn {
16725
16749
  margin: 0;
@@ -16727,6 +16751,48 @@ li.acud-dropdown-menu-submenu-active:hover,
16727
16751
  .acud-modal-footer .acud-btn + .acud-btn {
16728
16752
  margin-left: 16px;
16729
16753
  }
16754
+ .acud-modal-dialogbox {
16755
+ width: 400px;
16756
+ height: auto;
16757
+ min-height: 184px;
16758
+ }
16759
+ .acud-modal-dialogbox-icon {
16760
+ height: 100%;
16761
+ margin-right: 12px;
16762
+ float: left;
16763
+ display: flex;
16764
+ align-items: center;
16765
+ padding-top: 2px;
16766
+ }
16767
+ .acud-modal-dialogbox-title {
16768
+ overflow: hidden;
16769
+ padding-right: 12px;
16770
+ }
16771
+ .acud-modal-dialogbox-content {
16772
+ width: 100%;
16773
+ padding-left: 32px;
16774
+ }
16775
+ .acud-modal-dialogbox .acud-modal-title .acudicon {
16776
+ font-size: 20px;
16777
+ }
16778
+ .acud-modal-dialogbox > .acud-modal-content {
16779
+ min-height: 184px;
16780
+ }
16781
+ .acud-modal-dialogbox-warning .acud-modal-dialogbox-icon {
16782
+ color: #FF9326;
16783
+ }
16784
+ .acud-modal-dialogbox-info .acud-modal-dialogbox-icon {
16785
+ color: #2468F2;
16786
+ }
16787
+ .acud-modal-dialogbox-success .acud-modal-dialogbox-icon {
16788
+ color: #30BF13;
16789
+ }
16790
+ .acud-modal-dialogbox-error .acud-modal-dialogbox-icon {
16791
+ color: #F33E3E;
16792
+ }
16793
+ .acud-modal-dialogbox-confirm .acud-modal-dialogbox-icon {
16794
+ color: #FF9326;
16795
+ }
16730
16796
 
16731
16797
  /* color */
16732
16798
  /* 默认颜色 */
@@ -17762,7 +17828,8 @@ li.acud-dropdown-menu-submenu-active:hover,
17762
17828
  .acud-progress-success .acud-progress-label-icon {
17763
17829
  font-size: 0;
17764
17830
  }
17765
- .acud-progress-label-hidden .acud-progress-label {
17831
+ .acud-progress-label-hidden .acud-progress-label.acud-progress-label-outer,
17832
+ .acud-progress-label-hidden .acud-progress-label.acud-progress-label-inner {
17766
17833
  display: none;
17767
17834
  }
17768
17835
  .acud-progress-line {
@@ -22432,6 +22499,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
22432
22499
  text-align: left;
22433
22500
  color: #2468F2;
22434
22501
  cursor: pointer;
22502
+ margin-top: 0;
22435
22503
  }
22436
22504
  .acud-time-panel-wrap .acud-picker-decade-panel .acud-picker-cell-inner {
22437
22505
  padding: 0 6px;
@@ -23890,8 +23958,10 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23890
23958
  border-radius: 4px 4px 0 0;
23891
23959
  line-height: 21px;
23892
23960
  }
23961
+ .acud-transfer-datasource-header-checkall {
23962
+ margin-right: 12px;
23963
+ }
23893
23964
  .acud-transfer-datasource-label {
23894
- margin-left: 12px;
23895
23965
  color: #151B26;
23896
23966
  font-size: 12px;
23897
23967
  font-weight: #FFECD4;
@@ -23996,8 +24066,8 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
23996
24066
  padding-left: 60px;
23997
24067
  }
23998
24068
  .acud-transfer-datasource-search {
23999
- height: 24px;
24000
- margin: 8px 12px;
24069
+ height: 40px;
24070
+ padding: 8px 12px;
24001
24071
  width: auto;
24002
24072
  flex-shrink: 0;
24003
24073
  }
@@ -24174,10 +24244,10 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24174
24244
  padding-left: 56px;
24175
24245
  }
24176
24246
  .acud-transfer-target-search {
24177
- margin: 8px 12px;
24247
+ padding: 8px 12px;
24178
24248
  width: auto;
24179
24249
  flex-shrink: 0;
24180
- height: 24px;
24250
+ height: 40px;
24181
24251
  }
24182
24252
  .acud-transfer-target-nodata {
24183
24253
  display: flex;
@@ -24193,6 +24263,24 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24193
24263
  .acud-transfer .acud-input input {
24194
24264
  font-size: 12px;
24195
24265
  }
24266
+ .acud-transfer.acud-transfer-table .acud-transfer-datasource,
24267
+ .acud-transfer.acud-transfer-table .acud-transfer-target {
24268
+ height: 360px;
24269
+ }
24270
+ .acud-transfer.acud-transfer-table .acud-transfer-datasource-search,
24271
+ .acud-transfer.acud-transfer-table .acud-transfer-target-search {
24272
+ background-color: #F7F7F9;
24273
+ border-top: 1px solid #fff;
24274
+ }
24275
+ .acud-transfer.acud-transfer-table table {
24276
+ border-top: 1px solid #fff;
24277
+ }
24278
+ .acud-transfer.acud-transfer-table table thead tr th:nth-last-child(2) {
24279
+ border-right: none;
24280
+ }
24281
+ .acud-transfer.acud-transfer-table .acud-transfer-table-box {
24282
+ overflow: auto;
24283
+ }
24196
24284
 
24197
24285
  /* color */
24198
24286
  /* 默认颜色 */
@@ -24239,6 +24327,7 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24239
24327
  border-style: solid;
24240
24328
  cursor: pointer;
24241
24329
  transition: border-color 0.3s;
24330
+ overflow: hidden;
24242
24331
  color: #5C5F66;
24243
24332
  background-color: #FFFFFF;
24244
24333
  border-color: #E8E9EB;
@@ -24311,15 +24400,12 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24311
24400
  height: 100%;
24312
24401
  text-align: center;
24313
24402
  border: 1px dashed #d9d9d9;
24314
- border-radius: 4px;
24403
+ border-radius: 6px;
24315
24404
  cursor: pointer;
24316
24405
  transition: border-color 0.3s;
24317
24406
  }
24318
- .acud-upload.acud-upload-drag .acud-upload {
24319
- padding: 16px 0;
24320
- }
24321
24407
  .acud-upload.acud-upload-drag.acud-upload-drag-hover:not(.acud-upload-disabled) {
24322
- border-color: red;
24408
+ border-color: #144BCC;
24323
24409
  }
24324
24410
  .acud-upload.acud-upload-drag.acud-upload-disabled {
24325
24411
  background: #fafafa;
@@ -24496,10 +24582,6 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24496
24582
  color: #B8BABF;
24497
24583
  }
24498
24584
  .acud-upload-list-item .acuicon-outlined-close {
24499
- position: absolute;
24500
- top: 4px;
24501
- right: 4px;
24502
- color: #B8BABF;
24503
24585
  font-size: 10px;
24504
24586
  line-height: 0;
24505
24587
  cursor: pointer;
@@ -24515,6 +24597,19 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24515
24597
  .acud-upload-list-item:hover .acuicon-outlined-close {
24516
24598
  opacity: 1;
24517
24599
  }
24600
+ .acud-upload-list-item .acuicon-outlined-cloud-download {
24601
+ transition: all 0.3s;
24602
+ opacity: 0;
24603
+ }
24604
+ .acud-upload-list-item:hover .acuicon-outlined-cloud-download {
24605
+ opacity: 1;
24606
+ }
24607
+ .acud-upload-list-item-card-actions-btn {
24608
+ margin-right: 6px;
24609
+ }
24610
+ .acud-upload-list-item-card-actions-btn:last-child {
24611
+ margin-right: 0;
24612
+ }
24518
24613
  .acud-upload-list-item:hover .acud-upload-list-item-card-actions-btn {
24519
24614
  opacity: 1;
24520
24615
  }
@@ -24524,12 +24619,9 @@ tr.acud-table-expanded-row .acud-descriptions-view table {
24524
24619
  .acud-upload-list-item-error .acud-upload-list-item-info .acud-upload-text-icon .acuicon:hover {
24525
24620
  color: #F33E3E;
24526
24621
  }
24527
- .acud-upload-list-item-error .acud-upload-list-item-card-actions .acuicon {
24622
+ .acud-upload-list-item-error .acud-upload-list-item-card-actions .acud-upload-text-icon {
24528
24623
  color: #F33E3E;
24529
24624
  }
24530
- .acud-upload-list-item-error .acud-upload-list-item-card-actions-btn {
24531
- opacity: 1;
24532
- }
24533
24625
  .acud-upload-list-item-progress {
24534
24626
  position: absolute;
24535
24627
  bottom: -12px;