linkmore-design 1.1.13-alpha.2 → 1.1.13-alpha.4

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 (120) hide show
  1. package/CHANGELOG.md +44 -10
  2. package/dist/ConfigProvider/context.d.ts +1 -0
  3. package/dist/Descriptions/index.d.ts +1 -1
  4. package/dist/Form/FormWrapper.d.ts +3 -0
  5. package/dist/Form/WrapperItem.d.ts +4 -0
  6. package/dist/Form/demos/responsive.d.ts +0 -1
  7. package/dist/Form/index.d.ts +2 -0
  8. package/dist/Form/interface.d.ts +12 -0
  9. package/dist/IconFont/demos/ConfigProvider.d.ts +2 -0
  10. package/dist/IconFont/index.d.ts +1 -2
  11. package/dist/LmTable/demos/summuy.d.ts +2 -0
  12. package/dist/QuickMenu/demos/useInDraw.d.ts +2 -0
  13. package/dist/QuickMenu/index.d.ts +1 -0
  14. package/dist/TreeSelect/demos/treedata.d.ts +3 -0
  15. package/dist/index.umd.js +1271 -1039
  16. package/dist/index.umd.min.js +17 -17
  17. package/dist/variables.css +162 -98
  18. package/es/Cascader/index.js +16 -2
  19. package/es/Cascader/style/index.css +1 -0
  20. package/es/Cascader/style/variables.css +1 -0
  21. package/es/ConfigProvider/context.d.ts +1 -0
  22. package/es/ConfigProvider/index.js +5 -3
  23. package/es/Descriptions/index.d.ts +1 -1
  24. package/es/Descriptions/index.js +3 -3
  25. package/es/Descriptions/style/index.css +3 -0
  26. package/es/Descriptions/style/variables.css +3 -0
  27. package/es/Form/Form.js +13 -4
  28. package/es/Form/FormItem/ItemHolder.js +1 -10
  29. package/es/Form/FormWrapper.d.ts +3 -0
  30. package/es/Form/FormWrapper.js +22 -0
  31. package/es/Form/WrapperItem.d.ts +4 -0
  32. package/es/Form/WrapperItem.js +217 -0
  33. package/es/Form/container.js +1 -13
  34. package/es/Form/images/icon_collapse.svg +1 -0
  35. package/es/Form/index.d.ts +2 -0
  36. package/es/Form/index.js +2 -0
  37. package/es/Form/interface.d.ts +12 -0
  38. package/es/Form/style/index.css +34 -44
  39. package/es/Form/style/variables.css +34 -44
  40. package/es/IconFont/index.d.ts +1 -2
  41. package/es/IconFont/index.js +18 -4
  42. package/es/ImageViewer/components/Operate.js +4 -7
  43. package/es/InputNumber/index.js +11 -4
  44. package/es/InputNumber/style/index.css +7 -0
  45. package/es/InputNumber/style/variables.css +7 -0
  46. package/es/LmEditTable/EditTable.js +3 -3
  47. package/es/LmEditTable/sortableItemCol.js +8 -5
  48. package/es/LmEditTable/util.js +1 -1
  49. package/es/LmFilter/components/CheckboxFilter.js +9 -4
  50. package/es/LmFilter/components/DropdownFIlter.js +166 -115
  51. package/es/LmFilter/components/SelectFilter.js +4 -3
  52. package/es/LmFilter/filterFns/index.js +4 -6
  53. package/es/LmFilter/style/index.css +73 -54
  54. package/es/LmFilter/style/variables.css +73 -54
  55. package/es/LmFilter/utils.js +6 -6
  56. package/es/LmSelect/style/index.css +1 -0
  57. package/es/LmSelect/style/variables.css +1 -0
  58. package/es/LmTable/style/index.css +39 -0
  59. package/es/LmTable/style/variables.css +39 -0
  60. package/es/LmUpload/UploadList/ItemText.js +5 -1
  61. package/es/QuickMenu/index.d.ts +1 -0
  62. package/es/QuickMenu/index.js +12 -8
  63. package/es/Select/style/index.css +1 -0
  64. package/es/Select/style/variables.css +1 -0
  65. package/es/TreeSelect/index.js +16 -2
  66. package/es/TreeSelect/style/index.css +3 -0
  67. package/es/TreeSelect/style/variables.css +3 -0
  68. package/es/styles/variables.css +162 -98
  69. package/lib/Cascader/index.js +20 -2
  70. package/lib/Cascader/style/index.css +1 -0
  71. package/lib/Cascader/style/variables.css +1 -0
  72. package/lib/ConfigProvider/context.d.ts +1 -0
  73. package/lib/ConfigProvider/index.js +5 -3
  74. package/lib/Descriptions/index.d.ts +1 -1
  75. package/lib/Descriptions/index.js +3 -3
  76. package/lib/Descriptions/style/index.css +3 -0
  77. package/lib/Descriptions/style/variables.css +3 -0
  78. package/lib/Form/Form.js +13 -4
  79. package/lib/Form/FormItem/ItemHolder.js +1 -10
  80. package/lib/Form/FormWrapper.d.ts +3 -0
  81. package/lib/Form/FormWrapper.js +34 -0
  82. package/lib/Form/WrapperItem.d.ts +4 -0
  83. package/lib/Form/WrapperItem.js +235 -0
  84. package/lib/Form/container.js +1 -13
  85. package/lib/Form/images/icon_collapse.svg +1 -0
  86. package/lib/Form/index.d.ts +2 -0
  87. package/lib/Form/index.js +3 -0
  88. package/lib/Form/interface.d.ts +12 -0
  89. package/lib/Form/style/index.css +34 -44
  90. package/lib/Form/style/variables.css +34 -44
  91. package/lib/IconFont/index.d.ts +1 -2
  92. package/lib/IconFont/index.js +25 -4
  93. package/lib/ImageViewer/components/Operate.js +4 -8
  94. package/lib/InputNumber/index.js +13 -4
  95. package/lib/InputNumber/style/index.css +7 -0
  96. package/lib/InputNumber/style/variables.css +7 -0
  97. package/lib/LmEditTable/EditTable.js +3 -3
  98. package/lib/LmEditTable/sortableItemCol.js +8 -5
  99. package/lib/LmEditTable/util.js +1 -1
  100. package/lib/LmFilter/components/CheckboxFilter.js +9 -4
  101. package/lib/LmFilter/components/DropdownFIlter.js +166 -115
  102. package/lib/LmFilter/components/SelectFilter.js +4 -3
  103. package/lib/LmFilter/filterFns/index.js +4 -6
  104. package/lib/LmFilter/style/index.css +73 -54
  105. package/lib/LmFilter/style/variables.css +73 -54
  106. package/lib/LmFilter/utils.js +6 -6
  107. package/lib/LmSelect/style/index.css +1 -0
  108. package/lib/LmSelect/style/variables.css +1 -0
  109. package/lib/LmTable/style/index.css +39 -0
  110. package/lib/LmTable/style/variables.css +39 -0
  111. package/lib/LmUpload/UploadList/ItemText.js +5 -1
  112. package/lib/QuickMenu/index.d.ts +1 -0
  113. package/lib/QuickMenu/index.js +11 -7
  114. package/lib/Select/style/index.css +1 -0
  115. package/lib/Select/style/variables.css +1 -0
  116. package/lib/TreeSelect/index.js +20 -2
  117. package/lib/TreeSelect/style/index.css +3 -0
  118. package/lib/TreeSelect/style/variables.css +3 -0
  119. package/lib/styles/variables.css +162 -98
  120. package/package.json +1 -1
@@ -1407,6 +1407,7 @@ p {
1407
1407
  }
1408
1408
  .lm_cascader.ant-select.ant-select {
1409
1409
  font-size: 12px;
1410
+ width: 100%;
1410
1411
  }
1411
1412
  .lm_cascader_dropdown.ant-select-dropdown {
1412
1413
  font-size: 12px;
@@ -2240,6 +2241,9 @@ p {
2240
2241
  padding-right: 24px;
2241
2242
  padding-bottom: 8px;
2242
2243
  }
2244
+ .lm_descriptions .ant-descriptions-item:last-child {
2245
+ padding-right: 0;
2246
+ }
2243
2247
  .lm_descriptions .ant-descriptions-item .ant-descriptions-item-container {
2244
2248
  color: var(--color-85);
2245
2249
  font-size: 12px;
@@ -8951,58 +8955,48 @@ p {
8951
8955
  .lm_form.ant-form.ant-form-inline .ant-form-item-label {
8952
8956
  text-align: left;
8953
8957
  }
8954
- .lm_container_wrapper {
8955
- overflow: auto;
8956
- }
8957
- .lm_container_wrapper .lm_container.responsive {
8958
- min-width: 990px;
8959
- }
8960
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form {
8961
- display: flex;
8962
- flex-direction: row;
8963
- flex-wrap: wrap;
8964
- }
8965
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form .ant-form-item-responsive {
8966
- margin-right: 24px;
8967
- }
8968
- .lm_container_wrapper .lm_container.responsive .lm_form.ant-form .ant-form-item-responsive .ant-form-item-control {
8969
- width: 100%;
8970
- }
8971
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item {
8972
- width: 100%;
8973
- margin-right: 0;
8958
+ .lm_form_responsive_box .lm_form {
8959
+ background: #f0f0f0;
8974
8960
  }
8975
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item-responsive {
8976
- width: calc(33.3333% - 16px);
8977
- margin-right: 24px;
8961
+ .lm_form_responsive_box .lm_form > .lm_container_wrapper {
8962
+ background: #f0f0f0;
8963
+ margin-bottom: 0;
8964
+ border-radius: 0;
8965
+ padding: 16px;
8978
8966
  }
8979
- .lm_container_wrapper .lm_container.responsive.lm_col_3 .ant-form-item-responsive.nth-three {
8980
- margin-right: 0;
8967
+ .lm_container_wrapper {
8968
+ overflow: auto;
8969
+ background: #fff;
8970
+ margin-bottom: 16px;
8971
+ border-radius: 2px;
8972
+ padding: 0;
8981
8973
  }
8982
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item {
8974
+ .lm_container_wrapper .ant-cascader {
8983
8975
  width: 100%;
8984
- margin-right: 0;
8985
- }
8986
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item-responsive {
8987
- width: calc(25% - 18px);
8988
- margin-right: 24px;
8989
8976
  }
8990
- .lm_container_wrapper .lm_container.responsive.lm_col_4 .ant-form-item-responsive.nth-four {
8991
- margin-right: 0;
8992
- }
8993
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item {
8994
- width: 100%;
8995
- margin-right: 0;
8977
+ .form_responsive_group_title {
8978
+ display: flex;
8979
+ font-size: 14px;
8980
+ line-height: 22px;
8981
+ margin: 0;
8982
+ padding-top: 16px;
8983
+ color: var(--color-85);
8984
+ flex-basis: 100%;
8985
+ align-items: center;
8996
8986
  }
8997
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item-responsive {
8998
- width: calc(20% - 96px / 5);
8999
- margin-right: 24px;
8987
+ .form_responsive_group_title h3 {
8988
+ flex: 1;
8989
+ font-weight: medium;
8990
+ font-size: 14px;
9000
8991
  }
9001
- .lm_container_wrapper .lm_container.responsive.lm_col_5 .ant-form-item-responsive.nth-five {
9002
- margin-right: 0;
8992
+ .form_responsive_group_title img {
8993
+ cursor: pointer;
8994
+ width: 16px;
8995
+ height: 16px;
8996
+ transition: transform 0.24s;
9003
8997
  }
9004
- .lm_container_wrapper .lm_container.responsive .ant-cascader {
9005
- width: 100%;
8998
+ .form_responsive_group_title img.open {
8999
+ transform: rotate(180deg);
9006
9000
  }
9007
9001
  .lm_form-item-tip-error .ant-form-item-explain {
9008
9002
  width: 100%;
@@ -9510,8 +9504,12 @@ p {
9510
9504
  .ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
9511
9505
  z-index: 2 !important;
9512
9506
  }
9507
+ .lm_input-number {
9508
+ width: 100%;
9509
+ }
9513
9510
  .lm_input-number.ant-input-number {
9514
9511
  border: 1px solid var(--color-15);
9512
+ width: 100%;
9515
9513
  }
9516
9514
  .lm_input-number .ant-input-number-handler-wrap {
9517
9515
  width: 28px;
@@ -9545,6 +9543,9 @@ p {
9545
9543
  .lm_input-number.ant-input-number-status-warning {
9546
9544
  border-color: var(--warning-color) !important;
9547
9545
  }
9546
+ .lm_input-number .ant-input-number-input::placeholder {
9547
+ font-size: 12px;
9548
+ }
9548
9549
  .lm_grid_tree {
9549
9550
  position: relative;
9550
9551
  font-size: 12px;
@@ -9855,8 +9856,8 @@ p {
9855
9856
  .lm_filter_wrapper .lm_filter_container .lm_filter {
9856
9857
  display: flex;
9857
9858
  flex-wrap: wrap;
9858
- align-items: center;
9859
9859
  gap: 8px;
9860
+ align-items: center;
9860
9861
  font-size: 12px;
9861
9862
  }
9862
9863
  .lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom {
@@ -9867,14 +9868,14 @@ p {
9867
9868
  display: inline-flex;
9868
9869
  align-items: center;
9869
9870
  justify-content: space-between;
9870
- height: 32px;
9871
- line-height: 1;
9872
9871
  min-width: 100px;
9873
9872
  max-width: 180px;
9873
+ height: 32px;
9874
+ padding: 0 8px;
9875
+ color: var(--font2-color);
9876
+ line-height: 1;
9874
9877
  border: 1px solid var(--color-15);
9875
9878
  border-radius: 2px;
9876
- color: var(--font2-color);
9877
- padding: 0 8px;
9878
9879
  cursor: pointer;
9879
9880
  transition: 0.3s;
9880
9881
  }
@@ -9882,13 +9883,13 @@ p {
9882
9883
  height: 24px;
9883
9884
  }
9884
9885
  .lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select .lm_filter_custom_select_label span {
9885
- text-overflow: ellipsis;
9886
- white-space: nowrap;
9887
9886
  overflow: hidden;
9887
+ white-space: nowrap;
9888
+ text-overflow: ellipsis;
9888
9889
  }
9889
9890
  .lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select .lm_filter_custom_select_icon {
9890
- font-size: 14px;
9891
9891
  color: var(--text-color);
9892
+ font-size: 14px;
9892
9893
  transition: 0.3s;
9893
9894
  }
9894
9895
  .lm_filter_wrapper .lm_filter_container .lm_filter .lm_filter_custom .lm_filter_custom_select:hover {
@@ -9917,16 +9918,17 @@ p {
9917
9918
  height: 24px;
9918
9919
  }
9919
9920
  .lm_filter_basic_item {
9920
- font-size: 12px;
9921
9921
  display: inline-flex;
9922
+ gap: 4px;
9922
9923
  align-items: center;
9924
+ height: 32px;
9925
+ padding: 0 8px;
9926
+ font-size: 12px;
9923
9927
  line-height: 1;
9928
+ vertical-align: middle;
9924
9929
  border-radius: 2px;
9925
- padding: 0 8px;
9926
- transition: 0.3s;
9927
9930
  cursor: pointer;
9928
- height: 32px;
9929
- gap: 4px;
9931
+ transition: 0.3s;
9930
9932
  }
9931
9933
  .lm_filter_basic_item.small {
9932
9934
  height: 24px;
@@ -9936,16 +9938,26 @@ p {
9936
9938
  .lm_filter_basic_item.active {
9937
9939
  background-color: var(--color-4);
9938
9940
  }
9941
+ .lm_filter_basic_item .filter_item_label {
9942
+ flex: 0 0 auto;
9943
+ }
9939
9944
  .lm_filter_basic_item .filter_item_value {
9940
9945
  display: inline-flex;
9941
- align-items: center;
9942
9946
  gap: 4px;
9947
+ align-items: center;
9948
+ max-width: 552px;
9949
+ overflow: hidden;
9943
9950
  color: var(--text-color);
9944
9951
  transition: 0.3s;
9945
9952
  }
9953
+ .lm_filter_basic_item .filter_item_value span {
9954
+ overflow: hidden;
9955
+ white-space: nowrap;
9956
+ text-overflow: ellipsis;
9957
+ }
9946
9958
  .lm_filter_basic_item .filter_item_icon {
9947
- font-size: 14px;
9948
9959
  color: var(--text-color);
9960
+ font-size: 14px;
9949
9961
  transition: 0.3s;
9950
9962
  }
9951
9963
  .lm_filter_basic_item .filter_item_icon.addon_before {
@@ -9968,19 +9980,19 @@ p {
9968
9980
  transform: translateY(-4px);
9969
9981
  }
9970
9982
  .ant-dropdown.filter_dropdown_container_date .ant-picker {
9971
- visibility: hidden;
9972
9983
  transform: translateY(-36px);
9984
+ visibility: hidden;
9973
9985
  }
9974
9986
  .filter_dropdown {
9975
9987
  display: flex;
9976
9988
  flex-flow: column;
9977
- box-shadow: 0 2px 6px var(--box-shadow-color);
9978
9989
  background-color: #fff;
9990
+ box-shadow: 0 2px 6px var(--box-shadow-color);
9979
9991
  }
9980
9992
  .filter_dropdown .filter_header {
9981
9993
  min-height: 40px;
9982
- border-bottom: 1px solid #eee;
9983
9994
  padding: 8px;
9995
+ border-bottom: 1px solid #eee;
9984
9996
  }
9985
9997
  .filter_dropdown .filter_header .filter_header_operate {
9986
9998
  display: flex;
@@ -9992,13 +10004,13 @@ p {
9992
10004
  align-items: center;
9993
10005
  }
9994
10006
  .filter_dropdown .filter_header .filter_header_operate .filter_reset {
9995
- font-size: 12px;
9996
10007
  color: var(--primary-color);
10008
+ font-size: 12px;
9997
10009
  cursor: pointer;
9998
10010
  }
9999
10011
  .filter_dropdown .filter_header .filter_header_operate .filter_tip {
10000
- font-size: 12px;
10001
10012
  color: var(--text-color);
10013
+ font-size: 12px;
10002
10014
  }
10003
10015
  .filter_dropdown .filter_header .ant-input-group {
10004
10016
  line-height: 1;
@@ -10019,32 +10031,40 @@ p {
10019
10031
  }
10020
10032
  .filter_dropdown .filter_body .filter_item {
10021
10033
  display: flex;
10034
+ gap: 8px;
10022
10035
  align-items: center;
10023
10036
  justify-content: space-between;
10024
- font-size: 12px;
10025
- height: 32px;
10026
10037
  min-width: 120px;
10038
+ height: 32px;
10027
10039
  padding: 0 8px;
10028
- transition: 0.3s;
10040
+ font-size: 12px;
10029
10041
  white-space: nowrap;
10030
10042
  cursor: pointer;
10031
- gap: 8px;
10043
+ transition: 0.3s;
10032
10044
  }
10033
10045
  .filter_dropdown .filter_body .filter_item.last_item {
10034
10046
  border-top: 1px solid var(--line-color);
10035
10047
  }
10036
10048
  .filter_dropdown .filter_body .filter_item .filter_item_content {
10037
10049
  flex: auto;
10050
+ overflow: hidden;
10051
+ white-space: nowrap;
10052
+ text-overflow: ellipsis;
10053
+ }
10054
+ .filter_dropdown .filter_body .filter_item .filter_item_content.lm-checkbox > span:last-child {
10055
+ max-width: none;
10056
+ overflow: hidden;
10057
+ text-overflow: ellipsis;
10038
10058
  }
10039
10059
  .filter_dropdown .filter_body .filter_item .filter_item_operate {
10040
10060
  display: inline-flex;
10041
- align-items: center;
10042
10061
  gap: 4px;
10062
+ align-items: center;
10043
10063
  }
10044
10064
  .filter_dropdown .filter_body .filter_item .filter_item_operate .icon_hover {
10045
10065
  font-size: 16px;
10046
- transition: 0.3s;
10047
10066
  opacity: 0;
10067
+ transition: 0.3s;
10048
10068
  }
10049
10069
  .filter_dropdown .filter_body .filter_item .filter_item_operate .icon_hover:hover {
10050
10070
  color: var(--primary-color);
@@ -10066,15 +10086,15 @@ p {
10066
10086
  display: flex;
10067
10087
  align-items: center;
10068
10088
  justify-content: space-between;
10069
- font-size: 12px;
10070
10089
  min-height: 32px;
10071
10090
  padding: 6px 8px;
10072
- border-top: 1px solid #eee;
10091
+ font-size: 12px;
10073
10092
  letter-spacing: 1px;
10093
+ border-top: 1px solid #eee;
10074
10094
  }
10075
10095
  .filter_dropdown .filter_footer button {
10076
- font-size: 12px;
10077
10096
  padding: 0 8px;
10097
+ font-size: 12px;
10078
10098
  }
10079
10099
  .filter_dropdown .filter_footer .footer_save {
10080
10100
  color: var(--primary-color);
@@ -10092,14 +10112,14 @@ p {
10092
10112
  .filter_dropdown .filter_empty {
10093
10113
  display: flex;
10094
10114
  flex-flow: column;
10115
+ gap: 4px;
10095
10116
  align-items: center;
10096
10117
  justify-content: center;
10097
- font-size: 12px;
10098
10118
  min-height: 40px;
10099
- color: #666;
10100
- padding: 16px 8px;
10101
10119
  margin: auto;
10102
- gap: 4px;
10120
+ padding: 16px 8px;
10121
+ color: #666;
10122
+ font-size: 12px;
10103
10123
  }
10104
10124
  .filter_dropdown .filter_empty .filter_empty_text {
10105
10125
  display: inline-flex;
@@ -10110,8 +10130,8 @@ p {
10110
10130
  }
10111
10131
  .filter_dropdown .ant-checkbox-wrapper {
10112
10132
  flex: 1;
10113
- font-size: 12px;
10114
10133
  align-items: center;
10134
+ font-size: 12px;
10115
10135
  }
10116
10136
  .filter_dropdown .ant-checkbox-wrapper .ant-checkbox {
10117
10137
  top: initial;
@@ -10147,18 +10167,18 @@ p {
10147
10167
  padding: 0 0 8px;
10148
10168
  }
10149
10169
  .ant-drawer.lm_filter_drawer .filter_drawer_group_add .ant-btn {
10150
- font-size: 12px;
10151
10170
  max-width: initial;
10171
+ font-size: 12px;
10152
10172
  }
10153
10173
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item {
10154
10174
  margin-bottom: var(--gap);
10155
10175
  }
10156
10176
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box {
10177
+ padding: calc(var(--gap) * 2);
10157
10178
  line-height: 1;
10179
+ background: var(--background-color);
10158
10180
  border: 1px solid transparent;
10159
10181
  border-radius: 2px;
10160
- background: var(--background-color);
10161
- padding: calc(var(--gap) * 2);
10162
10182
  cursor: pointer;
10163
10183
  transition: 0.3s;
10164
10184
  }
@@ -10168,12 +10188,12 @@ p {
10168
10188
  justify-content: space-between;
10169
10189
  }
10170
10190
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_title {
10171
- font-size: 12px;
10172
10191
  font-weight: 500;
10192
+ font-size: 12px;
10173
10193
  }
10174
10194
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_icon {
10195
+ color: #8c8c8c;
10175
10196
  font-size: 16px;
10176
- color: #8C8C8C;
10177
10197
  transition: 0.3s;
10178
10198
  }
10179
10199
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_header .item_header_icon.icon_plus {
@@ -10189,9 +10209,9 @@ p {
10189
10209
  padding-top: 12px;
10190
10210
  }
10191
10211
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_tags .ant-tag {
10212
+ margin: 0;
10192
10213
  color: var(--font-color);
10193
10214
  background-color: var(--background-color);
10194
- margin: 0;
10195
10215
  }
10196
10216
  .ant-drawer.lm_filter_drawer .filter_drawer_group_list .filter_drawer_group_item .item_box .item_tags .ant-tag.add_tags {
10197
10217
  background: transparent;
@@ -10211,8 +10231,8 @@ p {
10211
10231
  margin-bottom: 24px;
10212
10232
  }
10213
10233
  .ant-drawer.lm_filter_drawer .complex_filter_body .list_group .list_group_title {
10214
- font-size: 14px;
10215
10234
  font-weight: 500;
10235
+ font-size: 14px;
10216
10236
  line-height: 1.25;
10217
10237
  }
10218
10238
  .ant-drawer.lm_filter_drawer .complex_filter_body .list_group .list_group_search {
@@ -10222,14 +10242,14 @@ p {
10222
10242
  display: inline-flex;
10223
10243
  align-items: center;
10224
10244
  justify-content: center;
10225
- font-size: 12px;
10226
10245
  height: 24px;
10227
- border-radius: 2px;
10246
+ padding: 0 8px;
10228
10247
  color: var(--font-color);
10248
+ font-size: 12px;
10229
10249
  background-color: var(--stripe-color);
10230
- padding: 0 8px;
10231
- transition: 0.3s;
10250
+ border-radius: 2px;
10232
10251
  cursor: pointer;
10252
+ transition: 0.3s;
10233
10253
  }
10234
10254
  .ant-drawer.lm_det_drawer .checkbox_tag:hover,
10235
10255
  .ant-drawer.lm_det_drawer .checkbox_tag.active {
@@ -10255,25 +10275,25 @@ p {
10255
10275
  top: 0;
10256
10276
  }
10257
10277
  .ant-drawer.lm_det_drawer .ant-select {
10258
- font-size: 12px;
10259
10278
  width: 100%;
10279
+ font-size: 12px;
10260
10280
  }
10261
10281
  .ant-drawer.lm_det_drawer .custom_form {
10262
10282
  display: flex;
10263
10283
  flex-flow: column;
10264
- height: 100%;
10265
10284
  gap: 24px;
10285
+ height: 100%;
10266
10286
  }
10267
10287
  .ant-drawer.lm_det_drawer .custom_form .custom_label {
10268
- font-size: 14px;
10269
- font-weight: 500;
10270
10288
  margin-bottom: 16px;
10271
10289
  color: var(--font-color);
10290
+ font-weight: 500;
10291
+ font-size: 14px;
10272
10292
  }
10273
10293
  .ant-drawer.lm_det_drawer .custom_form .custom_full {
10274
10294
  display: flex;
10275
- flex-flow: column;
10276
10295
  flex: 1;
10296
+ flex-flow: column;
10277
10297
  }
10278
10298
  .lm_filter_dropdown_picker {
10279
10299
  padding: 0 !important;
@@ -10282,17 +10302,17 @@ p {
10282
10302
  display: flex;
10283
10303
  }
10284
10304
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside {
10305
+ padding: 6px 0;
10285
10306
  font-size: 12px;
10286
10307
  border-right: 1px solid var(--background-color-hover);
10287
- padding: 6px 0;
10288
10308
  }
10289
10309
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item {
10290
10310
  display: flex;
10291
10311
  align-items: center;
10292
10312
  height: 32px;
10293
10313
  padding: 0 8px;
10294
- transition: 0.3s;
10295
10314
  cursor: pointer;
10315
+ transition: 0.3s;
10296
10316
  }
10297
10317
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item:hover,
10298
10318
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_aside .filter_picker_aside_item.active {
@@ -10303,13 +10323,13 @@ p {
10303
10323
  align-items: center;
10304
10324
  justify-content: space-between;
10305
10325
  min-height: 40px;
10306
- line-height: 1;
10307
10326
  padding: 0 16px;
10327
+ line-height: 1;
10308
10328
  border-bottom: 1px solid var(--background-color-hover);
10309
10329
  }
10310
10330
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper {
10311
- font-size: 12px;
10312
10331
  color: var(--font2-color);
10332
+ font-size: 12px;
10313
10333
  }
10314
10334
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper:hover,
10315
10335
  .lm_filter_dropdown_picker .filter_picker_box .filter_picker_main .filter_picker_header .ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
@@ -10397,6 +10417,7 @@ p {
10397
10417
  }
10398
10418
  .lm_select.ant-select {
10399
10419
  font-size: 12px;
10420
+ width: 100%;
10400
10421
  }
10401
10422
  .lm_select .ant-select-selection-overflow-item-rest .ant-select-selection-item {
10402
10423
  color: var(--primary-color);
@@ -11314,6 +11335,45 @@ p {
11314
11335
  #lm_protable_warp .lm_protable .ant-table-empty table .ant-table-cell {
11315
11336
  border-bottom: 0;
11316
11337
  }
11338
+ #lm_protable_warp .lm_protable .ant-table-summary {
11339
+ height: 48px;
11340
+ }
11341
+ #lm_protable_warp .lm_protable .ant-table-summary > table {
11342
+ height: 100%;
11343
+ }
11344
+ #lm_protable_warp .lm_protable .ant-table-summary td {
11345
+ padding: 0 8px;
11346
+ text-align: right;
11347
+ background-color: var(--table-background-color);
11348
+ }
11349
+ #lm_protable_warp .lm_protable .ant-table-summary td:first-of-type {
11350
+ padding: 0 0 0 8px;
11351
+ text-align: left;
11352
+ }
11353
+ #lm_protable_warp .lm_protable .ant-table-summary td.number {
11354
+ border-right: 1px solid #eee;
11355
+ border-left: 1px solid #eee;
11356
+ }
11357
+ #lm_protable_warp .lm_protable .ant-table-summary td.money {
11358
+ color: var(--error-color);
11359
+ border-right: 1px solid #eee;
11360
+ border-left: 1px solid #eee;
11361
+ }
11362
+ #lm_protable_warp .lm_protable .ant-table-summary td.money-color {
11363
+ color: var(--error-color);
11364
+ }
11365
+ #lm_protable_warp .lm_protable .ant-table-summary td > div {
11366
+ overflow: hidden;
11367
+ white-space: nowrap;
11368
+ text-overflow: ellipsis;
11369
+ }
11370
+ #lm_protable_warp .lm_protable .ant-table-summary td > div:last-of-type {
11371
+ font-weight: bold;
11372
+ }
11373
+ #lm_protable_warp .lm_protable .ant-table-summary .total_title {
11374
+ position: relative;
11375
+ white-space: nowrap;
11376
+ }
11317
11377
  #lm_protable_warp .ant-table-expand-icon-col {
11318
11378
  width: 32px;
11319
11379
  }
@@ -12359,6 +12419,7 @@ button.ant-table-row-expand-icon::after {
12359
12419
  }
12360
12420
  .lm_select.ant-select {
12361
12421
  font-size: 12px;
12422
+ width: 100%;
12362
12423
  }
12363
12424
  .lm_select.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
12364
12425
  box-shadow: none;
@@ -12548,6 +12609,9 @@ button.ant-table-row-expand-icon::after {
12548
12609
  .lm_tree .ant-tree-node-selected > .ant-tree-title {
12549
12610
  color: var(--primary-color);
12550
12611
  }
12612
+ .lm_tree_select .ant-select-selection-placeholder {
12613
+ font-size: 12px;
12614
+ }
12551
12615
  .ant-upload-select-picture-card div {
12552
12616
  margin-top: 8px;
12553
12617
  }
@@ -16,6 +16,8 @@ var __rest = this && this.__rest || function (s, e) {
16
16
 
17
17
  import React from 'react';
18
18
  import classNames from 'classnames';
19
+ import DisabledContext from '../ConfigProvider/DisabledContext';
20
+ import SizeContext from '../ConfigProvider/SizeContext';
19
21
  var prefixCls = 'lm_cascader';
20
22
  var prefixDropdownCls = 'lm_cascader_dropdown';
21
23
 
@@ -26,7 +28,16 @@ var LMCascader = function LMCascader(props) {
26
28
  _props$placeholder = props.placeholder,
27
29
  placeholder = _props$placeholder === void 0 ? '请选择' : _props$placeholder,
28
30
  defaultLabel = props.defaultLabel,
29
- others = __rest(props, ["children", "className", "dropdownClassName", "placeholder", "defaultLabel"]);
31
+ customDisabled = props.disabled,
32
+ customizeSize = props.size,
33
+ others = __rest(props // ===================== Disabled =====================
34
+ , ["children", "className", "dropdownClassName", "placeholder", "defaultLabel", "disabled", "size"]); // ===================== Disabled =====================
35
+
36
+
37
+ var disabled = React.useContext(DisabledContext);
38
+ var size = React.useContext(SizeContext);
39
+ var mergeSize = customizeSize || size;
40
+ var mergedDisabled = customDisabled || disabled;
30
41
 
31
42
  var displayRender = function displayRender(label, selectedOptions) {
32
43
  var hasUndefined = selectedOptions.some(function (v) {
@@ -45,7 +56,10 @@ var LMCascader = function LMCascader(props) {
45
56
  className: classNames(prefixCls, className),
46
57
  dropdownClassName: classNames(prefixDropdownCls, dropdownClassName),
47
58
  displayRender: displayRender
48
- }, others));
59
+ }, others, {
60
+ size: mergeSize,
61
+ disabled: mergedDisabled
62
+ }));
49
63
  };
50
64
 
51
65
  export default LMCascader;
@@ -512,6 +512,7 @@ p {
512
512
  }
513
513
  .lm_cascader.ant-select.ant-select {
514
514
  font-size: 12px;
515
+ width: 100%;
515
516
  }
516
517
  .lm_cascader_dropdown.ant-select-dropdown {
517
518
  font-size: 12px;
@@ -1,5 +1,6 @@
1
1
  .lm_cascader.ant-select.ant-select {
2
2
  font-size: 12px;
3
+ width: 100%;
3
4
  }
4
5
  .lm_cascader_dropdown.ant-select-dropdown {
5
6
  font-size: 12px;
@@ -44,6 +44,7 @@ export interface ConfigConsumerProps {
44
44
  requiredMark?: RequiredMark;
45
45
  colon?: boolean;
46
46
  };
47
+ iconUrl?: string | Array<string>;
47
48
  }
48
49
  export declare const ConfigContext: React.Context<ConfigConsumerProps>;
49
50
  export declare const ConfigConsumer: React.Consumer<ConfigConsumerProps>;
@@ -14,7 +14,7 @@ import { registerTheme } from './cssVariables';
14
14
  import { DisabledContextProvider } from './DisabledContext';
15
15
  import SizeContext, { SizeContextProvider } from './SizeContext';
16
16
  export { ConfigContext, ConfigConsumer };
17
- export var configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader']; // These props is used by `useContext` directly in sub component
17
+ export var configConsumerProps = ['getTargetContainer', 'getPopupContainer', 'rootPrefixCls', 'getPrefixCls', 'renderEmpty', 'csp', 'autoInsertSpaceInButton', 'locale', 'pageHeader', 'iconUrl']; // These props is used by `useContext` directly in sub component
18
18
 
19
19
  var PASSED_PROPS = ['getTargetContainer', 'getPopupContainer', 'renderEmpty', 'pageHeader', 'input', 'pagination', 'form'];
20
20
  export var defaultPrefixCls = ''; //'ant';
@@ -94,7 +94,8 @@ var ProviderChildren = function ProviderChildren(props) {
94
94
  legacyLocale = props.legacyLocale,
95
95
  parentContext = props.parentContext,
96
96
  iconPrefixCls = props.iconPrefixCls,
97
- componentDisabled = props.componentDisabled;
97
+ componentDisabled = props.componentDisabled,
98
+ iconUrl = props.iconUrl;
98
99
  var getPrefixCls = React.useCallback(function (suffixCls, customizePrefixCls) {
99
100
  var prefixCls = props.prefixCls;
100
101
  if (customizePrefixCls) return customizePrefixCls;
@@ -109,7 +110,8 @@ var ProviderChildren = function ProviderChildren(props) {
109
110
  space: space,
110
111
  virtual: virtual,
111
112
  dropdownMatchSelectWidth: dropdownMatchSelectWidth,
112
- getPrefixCls: getPrefixCls
113
+ getPrefixCls: getPrefixCls,
114
+ iconUrl: iconUrl
113
115
  }); // Pass the props used by `useContext` directly with child component.
114
116
  // These props should merged into `config`.
115
117
 
@@ -21,7 +21,7 @@ export interface DescriptionsProps {
21
21
  contentStyle?: React.CSSProperties;
22
22
  containerType?: 'default' | 'drawer' | 'modal';
23
23
  }
24
- declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType }: DescriptionsProps): JSX.Element;
24
+ declare function Descriptions({ prefixCls: customizePrefixCls, title, extra, column, colon, bordered, layout, children, className, style, size, labelStyle, contentStyle, containerType, }: DescriptionsProps): JSX.Element;
25
25
  declare namespace Descriptions {
26
26
  var Item: React.FC<import("./Item").DescriptionsItemProps>;
27
27
  }
@@ -143,9 +143,9 @@ function Descriptions(_ref) {
143
143
  value: contextValue
144
144
  }, /*#__PURE__*/React.createElement("div", {
145
145
  className: classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size && size !== 'default'), _defineProperty(_classNames, "".concat(prefixCls, "-bordered"), !!bordered), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className, 'lm_descriptions', {
146
- 'lm_descriptions_default': containerType === 'default',
147
- 'lm_descriptions_drawer': containerType === 'drawer',
148
- 'lm_descriptions_modal': containerType === 'modal'
146
+ lm_descriptions_default: containerType === 'default',
147
+ lm_descriptions_drawer: containerType === 'drawer',
148
+ lm_descriptions_modal: containerType === 'modal'
149
149
  }),
150
150
  style: style
151
151
  }, (title || extra) && /*#__PURE__*/React.createElement("div", {