linkmore-design 1.1.31 → 1.1.33

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 (88) hide show
  1. package/CHANGELOG.md +1237 -1237
  2. package/LICENSE +21 -21
  3. package/README.md +84 -84
  4. package/dist/CardTable/LmCardTable.d.ts +1 -1
  5. package/dist/CardTable/table/TableRoot.d.ts +1 -1
  6. package/dist/LmFilter/wrapper/FilterRoot.d.ts +1 -1
  7. package/dist/LmTable/Table.d.ts +1 -1
  8. package/dist/LmTable/context.d.ts +1 -1
  9. package/dist/LmUpload/demos/multiple.d.ts +2 -0
  10. package/dist/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  11. package/dist/index.umd.js +24925 -8454
  12. package/dist/index.umd.min.js +42 -22
  13. package/dist/variables.css +178 -178
  14. package/es/ButtonTags/ButtonTags.js +5 -5
  15. package/es/CardTable/hooks/usePagination.js +4 -4
  16. package/es/Col/README.md.old +22 -22
  17. package/es/CropImg/utils.js +7 -7
  18. package/es/CropImg/wrapper/Container.js +3 -3
  19. package/es/CustomTableOption/index.js +4 -1
  20. package/es/CustomerService/README.md.old +15 -15
  21. package/es/EditTable/EditTable.js +8 -8
  22. package/es/EditTable/README.md.old +66 -66
  23. package/es/EnlargeImg/README.md.old +21 -21
  24. package/es/Filter/README.md.old +144 -144
  25. package/es/Filter/baseFilter/index.js +3 -3
  26. package/es/Filter/edit/editFilter.js +4 -4
  27. package/es/Filter/index.js +6 -6
  28. package/es/IconFont/font/iconfont.css +1831 -1831
  29. package/es/IconSelect/iconJson.json +2935 -2935
  30. package/es/LmEditTable/EditTable.js +9 -9
  31. package/es/LmFilter/complexFilter/valueDrawer.js +6 -6
  32. package/es/LmFilter/components/DropdownFIlter.js +8 -8
  33. package/es/LmFilter/components/index.js +3 -3
  34. package/es/LmFilter/customFilter/drawer.js +3 -3
  35. package/es/LmFilter/customFilter/saveModal.js +3 -3
  36. package/es/LmFilter/customFilter/valueDrawer.js +6 -6
  37. package/es/LmFilter/utils.js +5 -5
  38. package/es/LmTable/Table.js +7 -7
  39. package/es/LmTable/detectElementResize.js +11 -11
  40. package/es/LmTable/util.js +60 -60
  41. package/es/LmUpload/LmUpload.js +1 -0
  42. package/es/LmUpload/body/UploadCore.js +3 -1
  43. package/es/LmUpload/fns/index.js +9 -9
  44. package/es/Result/index.d.ts +4 -4
  45. package/es/Row/README.md.old +22 -22
  46. package/es/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  47. package/es/message/index.d.ts +5 -5
  48. package/es/notification/index.js +3 -3
  49. package/es/services/newRequest.js +3 -3
  50. package/es/styles/variables.css +178 -178
  51. package/lib/ButtonTags/ButtonTags.js +5 -5
  52. package/lib/CardTable/hooks/usePagination.js +4 -4
  53. package/lib/Col/README.md.old +22 -22
  54. package/lib/CropImg/utils.js +7 -7
  55. package/lib/CropImg/wrapper/Container.js +3 -3
  56. package/lib/CustomTableOption/index.js +4 -1
  57. package/lib/CustomerService/README.md.old +15 -15
  58. package/lib/EditTable/EditTable.js +8 -8
  59. package/lib/EditTable/README.md.old +66 -66
  60. package/lib/EnlargeImg/README.md.old +21 -21
  61. package/lib/Filter/README.md.old +144 -144
  62. package/lib/Filter/baseFilter/index.js +3 -3
  63. package/lib/Filter/edit/editFilter.js +4 -4
  64. package/lib/Filter/index.js +6 -6
  65. package/lib/IconFont/font/iconfont.css +1831 -1831
  66. package/lib/IconSelect/iconJson.json +2935 -2935
  67. package/lib/LmEditTable/EditTable.js +9 -9
  68. package/lib/LmFilter/complexFilter/valueDrawer.js +6 -6
  69. package/lib/LmFilter/components/DropdownFIlter.js +8 -8
  70. package/lib/LmFilter/components/index.js +3 -3
  71. package/lib/LmFilter/customFilter/drawer.js +3 -3
  72. package/lib/LmFilter/customFilter/saveModal.js +3 -3
  73. package/lib/LmFilter/customFilter/valueDrawer.js +6 -6
  74. package/lib/LmFilter/utils.js +5 -5
  75. package/lib/LmTable/Table.js +7 -7
  76. package/lib/LmTable/detectElementResize.js +11 -11
  77. package/lib/LmTable/util.js +60 -60
  78. package/lib/LmUpload/LmUpload.js +1 -0
  79. package/lib/LmUpload/body/UploadCore.js +3 -1
  80. package/lib/LmUpload/fns/index.js +9 -9
  81. package/lib/Result/index.d.ts +4 -4
  82. package/lib/Row/README.md.old +22 -22
  83. package/lib/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  84. package/lib/message/index.d.ts +5 -5
  85. package/lib/notification/index.js +3 -3
  86. package/lib/services/newRequest.js +3 -3
  87. package/lib/styles/variables.css +178 -178
  88. package/package.json +146 -146
@@ -1734,112 +1734,6 @@ p {
1734
1734
  .lm_cutimg_container .img_crop_control .anticon {
1735
1735
  font-size: 16px;
1736
1736
  }
1737
- .lm_custom-table-option.lm_drawer .ant-drawer-body {
1738
- padding: 0 0 24px 0;
1739
- }
1740
- .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-nav-wrap {
1741
- padding: 0 24px;
1742
- }
1743
- .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-content-holder {
1744
- padding: 0 24px;
1745
- }
1746
- .lm_custom_option_columns .global_setting {
1747
- height: 44px;
1748
- display: flex;
1749
- align-items: center;
1750
- justify-content: space-between;
1751
- padding-bottom: 12px;
1752
- border-bottom: 1px solid var(--border-color);
1753
- font-size: 12px;
1754
- margin-bottom: 8px;
1755
- }
1756
- .lm_custom_option_columns .global_setting .lm-checkbox > span {
1757
- font-size: 12px;
1758
- }
1759
- .lm_custom_option_columns .global_setting > span {
1760
- color: var(--primary-color);
1761
- cursor: pointer;
1762
- }
1763
- .lm_custom_option_columns .custom_hiddle {
1764
- display: none;
1765
- }
1766
- .lm_custom_option_columns .fixed_title {
1767
- color: var(--color-45);
1768
- font-size: 12px;
1769
- display: inline-block;
1770
- margin-bottom: 8px;
1771
- }
1772
- .lm_custom_option_columns .lm_custom_item {
1773
- height: 44px;
1774
- background-color: var(--color-4);
1775
- display: flex;
1776
- align-items: center;
1777
- justify-content: space-between;
1778
- padding: 0 16px;
1779
- font-size: 12px;
1780
- margin-bottom: 8px;
1781
- cursor: pointer;
1782
- }
1783
- .lm_custom_option_columns .lm_custom_item:hover {
1784
- background-color: var(--line-color);
1785
- }
1786
- .lm_custom_option_columns .lm_custom_item:hover .hover_show {
1787
- display: inline-flex;
1788
- }
1789
- .lm_custom_option_columns .lm_custom_item .lm-checkbox > span {
1790
- font-size: 12px;
1791
- }
1792
- .lm_custom_option_columns .lm_custom_icon {
1793
- font-size: 16px;
1794
- margin-left: 8px;
1795
- cursor: pointer;
1796
- }
1797
- .lm_custom_option_columns .lm_custom_icon.sort_item {
1798
- color: var(--tip-text-color);
1799
- }
1800
- .lm_custom_option_columns .lm_custom_icon.hover_show {
1801
- display: none;
1802
- color: var(--primary-color);
1803
- }
1804
- .lm_custom_option_columns .card_prompt .anticon {
1805
- font-size: 16px;
1806
- color: var(--warning-color);
1807
- }
1808
- .lm_custom_size_warp {
1809
- display: flex;
1810
- flex-direction: column;
1811
- align-items: center;
1812
- justify-content: center;
1813
- cursor: pointer;
1814
- }
1815
- .lm_custom_size_warp > .anticon {
1816
- margin: 8px 0;
1817
- }
1818
- .lm_custom_size_warp > img {
1819
- width: 100px;
1820
- height: 100px;
1821
- margin: 8px 0;
1822
- }
1823
- .lm_size_radio_group {
1824
- width: 100%;
1825
- display: flex;
1826
- flex-direction: row;
1827
- align-items: center;
1828
- justify-content: space-between;
1829
- }
1830
- .save_setting {
1831
- height: 68px;
1832
- margin-top: 24px;
1833
- border-top: 1px solid var(--color-6);
1834
- border-bottom: 1px solid var(--color-6);
1835
- display: flex;
1836
- align-items: center;
1837
- justify-content: space-between;
1838
- font-size: 12px;
1839
- }
1840
- .global_search {
1841
- margin-bottom: 16px;
1842
- }
1843
1737
  .lm_customerservice_warp .fixGroup {
1844
1738
  transition: right 0.3s;
1845
1739
  position: fixed;
@@ -2093,6 +1987,112 @@ p {
2093
1987
  .lm_question_warp .main .title {
2094
1988
  font-size: 14px;
2095
1989
  }
1990
+ .lm_custom-table-option.lm_drawer .ant-drawer-body {
1991
+ padding: 0 0 24px 0;
1992
+ }
1993
+ .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-nav-wrap {
1994
+ padding: 0 24px;
1995
+ }
1996
+ .lm_custom-table-option.lm_drawer .ant-drawer-body .ant-tabs-content-holder {
1997
+ padding: 0 24px;
1998
+ }
1999
+ .lm_custom_option_columns .global_setting {
2000
+ height: 44px;
2001
+ display: flex;
2002
+ align-items: center;
2003
+ justify-content: space-between;
2004
+ padding-bottom: 12px;
2005
+ border-bottom: 1px solid var(--border-color);
2006
+ font-size: 12px;
2007
+ margin-bottom: 8px;
2008
+ }
2009
+ .lm_custom_option_columns .global_setting .lm-checkbox > span {
2010
+ font-size: 12px;
2011
+ }
2012
+ .lm_custom_option_columns .global_setting > span {
2013
+ color: var(--primary-color);
2014
+ cursor: pointer;
2015
+ }
2016
+ .lm_custom_option_columns .custom_hiddle {
2017
+ display: none;
2018
+ }
2019
+ .lm_custom_option_columns .fixed_title {
2020
+ color: var(--color-45);
2021
+ font-size: 12px;
2022
+ display: inline-block;
2023
+ margin-bottom: 8px;
2024
+ }
2025
+ .lm_custom_option_columns .lm_custom_item {
2026
+ height: 44px;
2027
+ background-color: var(--color-4);
2028
+ display: flex;
2029
+ align-items: center;
2030
+ justify-content: space-between;
2031
+ padding: 0 16px;
2032
+ font-size: 12px;
2033
+ margin-bottom: 8px;
2034
+ cursor: pointer;
2035
+ }
2036
+ .lm_custom_option_columns .lm_custom_item:hover {
2037
+ background-color: var(--line-color);
2038
+ }
2039
+ .lm_custom_option_columns .lm_custom_item:hover .hover_show {
2040
+ display: inline-flex;
2041
+ }
2042
+ .lm_custom_option_columns .lm_custom_item .lm-checkbox > span {
2043
+ font-size: 12px;
2044
+ }
2045
+ .lm_custom_option_columns .lm_custom_icon {
2046
+ font-size: 16px;
2047
+ margin-left: 8px;
2048
+ cursor: pointer;
2049
+ }
2050
+ .lm_custom_option_columns .lm_custom_icon.sort_item {
2051
+ color: var(--tip-text-color);
2052
+ }
2053
+ .lm_custom_option_columns .lm_custom_icon.hover_show {
2054
+ display: none;
2055
+ color: var(--primary-color);
2056
+ }
2057
+ .lm_custom_option_columns .card_prompt .anticon {
2058
+ font-size: 16px;
2059
+ color: var(--warning-color);
2060
+ }
2061
+ .lm_custom_size_warp {
2062
+ display: flex;
2063
+ flex-direction: column;
2064
+ align-items: center;
2065
+ justify-content: center;
2066
+ cursor: pointer;
2067
+ }
2068
+ .lm_custom_size_warp > .anticon {
2069
+ margin: 8px 0;
2070
+ }
2071
+ .lm_custom_size_warp > img {
2072
+ width: 100px;
2073
+ height: 100px;
2074
+ margin: 8px 0;
2075
+ }
2076
+ .lm_size_radio_group {
2077
+ width: 100%;
2078
+ display: flex;
2079
+ flex-direction: row;
2080
+ align-items: center;
2081
+ justify-content: space-between;
2082
+ }
2083
+ .save_setting {
2084
+ height: 68px;
2085
+ margin-top: 24px;
2086
+ border-top: 1px solid var(--color-6);
2087
+ border-bottom: 1px solid var(--color-6);
2088
+ display: flex;
2089
+ align-items: center;
2090
+ justify-content: space-between;
2091
+ font-size: 12px;
2092
+ }
2093
+ .global_search {
2094
+ margin-bottom: 16px;
2095
+ }
2096
2096
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2097
2097
  /* stylelint-disable no-duplicate-selectors */
2098
2098
  /* stylelint-disable */
@@ -12232,6 +12232,37 @@ button.ant-table-row-expand-icon::after {
12232
12232
  .lm_upload_wrapper .lm_upload_item.lm_upload_item_picture.lm_upload_item_error {
12233
12233
  color: var(--error-color);
12234
12234
  }
12235
+ .lm_message .ant-message-notice-content {
12236
+ position: relative;
12237
+ padding: 8px 16px;
12238
+ font-size: 12px;
12239
+ }
12240
+ .lm_message .message_progress {
12241
+ position: absolute;
12242
+ width: 100%;
12243
+ height: 2px;
12244
+ background-color: #52C41A;
12245
+ left: 0;
12246
+ bottom: 0;
12247
+ animation-name: Progress;
12248
+ animation-iteration-count: 1;
12249
+ animation-fill-mode: forwards;
12250
+ transition: width 0.2s;
12251
+ animation-timing-function: linear;
12252
+ }
12253
+ .lm_message:hover .message_progress {
12254
+ width: 100%;
12255
+ animation-name: none;
12256
+ animation-play-state: paused;
12257
+ }
12258
+ @keyframes Progress {
12259
+ from {
12260
+ width: 100%;
12261
+ }
12262
+ to {
12263
+ width: 0;
12264
+ }
12265
+ }
12235
12266
  .lm_modal.ant-modal-wrap .ant-modal-header > .ant-modal-title {
12236
12267
  font-weight: normal;
12237
12268
  font-size: 14px;
@@ -12267,6 +12298,47 @@ button.ant-table-row-expand-icon::after {
12267
12298
  background-color: var(--primary-color);
12268
12299
  color: #fff;
12269
12300
  }
12301
+ .lm_notification.ant-notification-notice {
12302
+ padding: 0;
12303
+ }
12304
+ .lm_notification .ant-notification-notice-content {
12305
+ position: relative;
12306
+ padding: 16px 24px;
12307
+ font-size: 12px;
12308
+ }
12309
+ .lm_notification .message_progress {
12310
+ position: absolute;
12311
+ width: 100%;
12312
+ height: 2px;
12313
+ background-color: #52C41A;
12314
+ left: 0;
12315
+ bottom: 0;
12316
+ animation-name: Progress;
12317
+ animation-iteration-count: 1;
12318
+ animation-fill-mode: forwards;
12319
+ transition: width 0.2s;
12320
+ animation-timing-function: linear;
12321
+ margin-bottom: 0 !important;
12322
+ }
12323
+ .lm_notification:hover .message_progress {
12324
+ width: 100%;
12325
+ animation-name: none;
12326
+ animation-play-state: paused;
12327
+ }
12328
+ .lm_notification .ant-notification-notice-btn {
12329
+ margin-bottom: 16px;
12330
+ }
12331
+ @keyframes Progress {
12332
+ from {
12333
+ width: 100%;
12334
+ }
12335
+ to {
12336
+ width: 0;
12337
+ }
12338
+ }
12339
+ .ant-notification-notice-message {
12340
+ font-size: 14px;
12341
+ }
12270
12342
  .lm_pagination.ant-pagination li {
12271
12343
  font-size: 12px;
12272
12344
  line-height: 24px !important;
@@ -12921,75 +12993,3 @@ button.ant-table-row-expand-icon::after {
12921
12993
  .lm_upload_img .upload_body .upload_card_box:hover {
12922
12994
  border-color: #1890fc;
12923
12995
  }
12924
- .lm_message .ant-message-notice-content {
12925
- position: relative;
12926
- padding: 8px 16px;
12927
- font-size: 12px;
12928
- }
12929
- .lm_message .message_progress {
12930
- position: absolute;
12931
- width: 100%;
12932
- height: 2px;
12933
- background-color: #52C41A;
12934
- left: 0;
12935
- bottom: 0;
12936
- animation-name: Progress;
12937
- animation-iteration-count: 1;
12938
- animation-fill-mode: forwards;
12939
- transition: width 0.2s;
12940
- animation-timing-function: linear;
12941
- }
12942
- .lm_message:hover .message_progress {
12943
- width: 100%;
12944
- animation-name: none;
12945
- animation-play-state: paused;
12946
- }
12947
- @keyframes Progress {
12948
- from {
12949
- width: 100%;
12950
- }
12951
- to {
12952
- width: 0;
12953
- }
12954
- }
12955
- .lm_notification.ant-notification-notice {
12956
- padding: 0;
12957
- }
12958
- .lm_notification .ant-notification-notice-content {
12959
- position: relative;
12960
- padding: 16px 24px;
12961
- font-size: 12px;
12962
- }
12963
- .lm_notification .message_progress {
12964
- position: absolute;
12965
- width: 100%;
12966
- height: 2px;
12967
- background-color: #52C41A;
12968
- left: 0;
12969
- bottom: 0;
12970
- animation-name: Progress;
12971
- animation-iteration-count: 1;
12972
- animation-fill-mode: forwards;
12973
- transition: width 0.2s;
12974
- animation-timing-function: linear;
12975
- margin-bottom: 0 !important;
12976
- }
12977
- .lm_notification:hover .message_progress {
12978
- width: 100%;
12979
- animation-name: none;
12980
- animation-play-state: paused;
12981
- }
12982
- .lm_notification .ant-notification-notice-btn {
12983
- margin-bottom: 16px;
12984
- }
12985
- @keyframes Progress {
12986
- from {
12987
- width: 100%;
12988
- }
12989
- to {
12990
- width: 0;
12991
- }
12992
- }
12993
- .ant-notification-notice-message {
12994
- font-size: 14px;
12995
- }
@@ -11,11 +11,11 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
11
11
 
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
 
14
- /*
15
- options: 展示的标签项
16
- type: 'radio' / 'checkbox'
17
- value: 选中的值
18
- onChang: 选中时触发事件
14
+ /*
15
+ options: 展示的标签项
16
+ type: 'radio' / 'checkbox'
17
+ value: 选中的值
18
+ onChang: 选中时触发事件
19
19
  */
20
20
  var ButtonTags = function ButtonTags(props) {
21
21
  var value = props.value,
@@ -7,9 +7,9 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
11
 
12
- var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
12
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
13
13
 
14
14
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
15
15
 
@@ -44,12 +44,12 @@ var usePagination = function usePagination(service) {
44
44
  result = _useState2[0],
45
45
  setResult = _useState2[1];
46
46
 
47
- var getRequest = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
47
+ var getRequest = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
48
48
  var c,
49
49
  p,
50
50
  res,
51
51
  _args = arguments;
52
- return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
52
+ return _regenerator.default.wrap(function _callee$(_context) {
53
53
  while (1) {
54
54
  switch (_context.prev = _context.next) {
55
55
  case 0:
@@ -1,22 +1,22 @@
1
- <!-- ---
2
- nav:
3
- title: 组件
4
- path: /components
5
- group:
6
- title: 基础
7
- path: /base
8
- --- -->
9
-
10
- ## Col
11
-
12
- ### 基础使用
13
-
14
- <code src="./demos/basic.tsx" background="#fff" />
15
-
16
- # 配置项
17
-
18
- | 参数 | 说明 | 类型 | 默认值 | 版本 |
19
- | ---------- | ---- | ------------------- | ------ | ---- |
20
- | className? | | string | | |
21
- | style? | | React.CSSProperties | | |
22
-
1
+ <!-- ---
2
+ nav:
3
+ title: 组件
4
+ path: /components
5
+ group:
6
+ title: 基础
7
+ path: /base
8
+ --- -->
9
+
10
+ ## Col
11
+
12
+ ### 基础使用
13
+
14
+ <code src="./demos/basic.tsx" background="#fff" />
15
+
16
+ # 配置项
17
+
18
+ | 参数 | 说明 | 类型 | 默认值 | 版本 |
19
+ | ---------- | ---- | ------------------- | ------ | ---- |
20
+ | className? | | string | | |
21
+ | style? | | React.CSSProperties | | |
22
+
@@ -10,7 +10,7 @@ exports.getCroppedImg = getCroppedImg;
10
10
  exports.getRadianAngle = getRadianAngle;
11
11
  exports.rotateSize = rotateSize;
12
12
 
13
- var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
13
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
14
14
 
15
15
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
16
16
 
@@ -59,8 +59,8 @@ exports.createImage = createImage;
59
59
  function getRadianAngle(degreeValue) {
60
60
  return degreeValue * Math.PI / 180;
61
61
  }
62
- /**
63
- * Returns the new bounding area of a rotated rectangle.
62
+ /**
63
+ * Returns the new bounding area of a rotated rectangle.
64
64
  */
65
65
 
66
66
 
@@ -71,8 +71,8 @@ function rotateSize(width, height, rotation) {
71
71
  height: Math.abs(Math.sin(rotRad) * width) + Math.abs(Math.cos(rotRad) * height)
72
72
  };
73
73
  }
74
- /**
75
- * This function was adapted from the one in the ReadMe of https://github.com/DominicTobias/react-image-crop
74
+ /**
75
+ * This function was adapted from the one in the ReadMe of https://github.com/DominicTobias/react-image-crop
76
76
  */
77
77
 
78
78
 
@@ -81,7 +81,7 @@ function getCroppedImg(_x, _x2) {
81
81
  }
82
82
 
83
83
  function _getCroppedImg() {
84
- _getCroppedImg = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(imageSrc, pixelCrop) {
84
+ _getCroppedImg = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(imageSrc, pixelCrop) {
85
85
  var rotation,
86
86
  flip,
87
87
  image,
@@ -94,7 +94,7 @@ function _getCroppedImg() {
94
94
  data,
95
95
  _args = arguments;
96
96
 
97
- return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
97
+ return _regenerator.default.wrap(function _callee$(_context) {
98
98
  while (1) {
99
99
  switch (_context.prev = _context.next) {
100
100
  case 0:
@@ -1,4 +1,4 @@
1
- import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
1
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
 
3
3
  var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
4
4
  function adopt(value) {
@@ -58,9 +58,9 @@ var LmBoxContainer = function LmBoxContainer(_ref) {
58
58
  };
59
59
 
60
60
  var handleOk = function handleOk() {
61
- return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
61
+ return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
62
62
  var croppedImage;
63
- return _regeneratorRuntime().wrap(function _callee$(_context) {
63
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
64
64
  while (1) {
65
65
  switch (_context.prev = _context.next) {
66
66
  case 0:
@@ -82,8 +82,11 @@ var LMCustomTableOption = /*#__PURE__*/forwardRef(function (props, ref) {
82
82
  var filterStateValue = (_d = filterRef.current) === null || _d === void 0 ? void 0 : _d.getFilterStateValue();
83
83
  var cardData = ((_e = cardRef.current) === null || _e === void 0 ? void 0 : _e.getLocalFilter()) || [];
84
84
  var cardStateValue = ((_f = cardRef.current) === null || _f === void 0 ? void 0 : _f.getFilterStateValue()) || {};
85
+ var effectCardData = (cardData === null || cardData === void 0 ? void 0 : cardData.filter(function (item) {
86
+ return (item === null || item === void 0 ? void 0 : item.show) !== false;
87
+ })) || [];
85
88
 
86
- if (cardData.length > (((_g = props.recommendNumObj) === null || _g === void 0 ? void 0 : _g.card) || 10)) {
89
+ if (effectCardData.length > (((_g = props.recommendNumObj) === null || _g === void 0 ? void 0 : _g.card) || 10)) {
87
90
  Modal.confirm({
88
91
  title: '当前选择的卡片字段数量会导致卡片高度过高,是否继续?',
89
92
  icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),
@@ -1,15 +1,15 @@
1
- ---
2
- nav:
3
- title: 组件
4
- path: /components
5
- group:
6
- title: 组件
7
- path: /basic
8
- hide: true
9
- ---
10
-
11
- ## CustomerService 客服弹窗按钮
12
-
13
- ### 示例
14
-
15
- <code src="./demos/basic.jsx" background="#fff" />
1
+ ---
2
+ nav:
3
+ title: 组件
4
+ path: /components
5
+ group:
6
+ title: 组件
7
+ path: /basic
8
+ hide: true
9
+ ---
10
+
11
+ ## CustomerService 客服弹窗按钮
12
+
13
+ ### 示例
14
+
15
+ <code src="./demos/basic.jsx" background="#fff" />
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
13
+
12
14
  require("antd/es/table/style");
13
15
 
14
16
  var _table = _interopRequireDefault(require("antd/es/table"));
@@ -33,8 +35,6 @@ require("antd/es/input-number/style");
33
35
 
34
36
  var _inputNumber = _interopRequireDefault(require("antd/es/input-number"));
35
37
 
36
- var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
37
-
38
38
  var _objectSpread5 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
39
39
 
40
40
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
@@ -223,10 +223,10 @@ var isValidValue = function isValidValue(verifyValue) {
223
223
 
224
224
  return true;
225
225
  };
226
- /*
227
- 表格单元格
228
- editEnum: 下拉框时的数据数组(非数组时是配置设置)
229
- valueType: 编辑框配置(多选)
226
+ /*
227
+ 表格单元格
228
+ editEnum: 下拉框时的数据数组(非数组时是配置设置)
229
+ valueType: 编辑框配置(多选)
230
230
  */
231
231
 
232
232
 
@@ -316,9 +316,9 @@ var EditableCell = function EditableCell(props) {
316
316
  }, [record]); // 校验保存
317
317
 
318
318
  var save = /*#__PURE__*/function () {
319
- var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(row) {
319
+ var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(row) {
320
320
  var values;
321
- return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
321
+ return _regenerator.default.wrap(function _callee$(_context) {
322
322
  while (1) {
323
323
  switch (_context.prev = _context.next) {
324
324
  case 0: