linkmore-design 1.1.33 → 1.1.35

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 (98) 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/LmEditTable/components/DraggableContainer.d.ts +3 -1
  7. package/dist/LmEditTable/components/index.d.ts +3 -1
  8. package/dist/LmEditTable/rowSort/DndContainerRow.d.ts +3 -1
  9. package/dist/LmFilter/wrapper/FilterRoot.d.ts +1 -1
  10. package/dist/LmTable/Table.d.ts +1 -1
  11. package/dist/LmTable/context.d.ts +1 -1
  12. package/dist/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  13. package/dist/index.umd.js +8567 -24960
  14. package/dist/index.umd.min.js +22 -42
  15. package/dist/variables.css +178 -178
  16. package/es/ButtonTags/ButtonTags.js +5 -5
  17. package/es/CardTable/hooks/usePagination.js +4 -4
  18. package/es/Col/README.md.old +22 -22
  19. package/es/CropImg/utils.js +7 -7
  20. package/es/CropImg/wrapper/Container.js +3 -3
  21. package/es/CustomerService/README.md.old +15 -15
  22. package/es/EditTable/EditTable.js +8 -8
  23. package/es/EditTable/README.md.old +66 -66
  24. package/es/EnlargeImg/README.md.old +21 -21
  25. package/es/Filter/README.md.old +144 -144
  26. package/es/Filter/baseFilter/index.js +3 -3
  27. package/es/Filter/edit/editFilter.js +4 -4
  28. package/es/Filter/index.js +6 -6
  29. package/es/IconFont/font/iconfont.css +1831 -1831
  30. package/es/IconSelect/iconJson.json +2935 -2935
  31. package/es/LmEditTable/EditTable.js +15 -13
  32. package/es/LmEditTable/components/DraggableContainer.d.ts +3 -1
  33. package/es/LmEditTable/components/DraggableContainer.js +6 -2
  34. package/es/LmEditTable/components/index.d.ts +3 -1
  35. package/es/LmEditTable/rowSort/DndContainerRow.d.ts +3 -1
  36. package/es/LmEditTable/rowSort/DndContainerRow.js +49 -14
  37. package/es/LmFilter/complexFilter/valueDrawer.js +6 -6
  38. package/es/LmFilter/components/DropdownFIlter.js +8 -8
  39. package/es/LmFilter/components/index.js +3 -3
  40. package/es/LmFilter/customFilter/drawer.js +3 -3
  41. package/es/LmFilter/customFilter/saveModal.js +3 -3
  42. package/es/LmFilter/customFilter/valueDrawer.js +6 -6
  43. package/es/LmFilter/utils.js +5 -5
  44. package/es/LmTable/Table.js +5 -5
  45. package/es/LmTable/detectElementResize.js +11 -11
  46. package/es/LmTable/util.js +60 -60
  47. package/es/LmUpload/UploadList/index.js +1 -1
  48. package/es/LmUpload/components/Preview.js +1 -1
  49. package/es/LmUpload/fns/index.js +48 -29
  50. package/es/Result/index.d.ts +4 -4
  51. package/es/Row/README.md.old +22 -22
  52. package/es/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  53. package/es/message/index.d.ts +5 -5
  54. package/es/notification/index.js +3 -3
  55. package/es/services/newRequest.js +3 -3
  56. package/es/styles/variables.css +178 -178
  57. package/lib/ButtonTags/ButtonTags.js +5 -5
  58. package/lib/CardTable/hooks/usePagination.js +4 -4
  59. package/lib/Col/README.md.old +22 -22
  60. package/lib/CropImg/utils.js +7 -7
  61. package/lib/CropImg/wrapper/Container.js +3 -3
  62. package/lib/CustomerService/README.md.old +15 -15
  63. package/lib/EditTable/EditTable.js +8 -8
  64. package/lib/EditTable/README.md.old +66 -66
  65. package/lib/EnlargeImg/README.md.old +21 -21
  66. package/lib/Filter/README.md.old +144 -144
  67. package/lib/Filter/baseFilter/index.js +3 -3
  68. package/lib/Filter/edit/editFilter.js +4 -4
  69. package/lib/Filter/index.js +6 -6
  70. package/lib/IconFont/font/iconfont.css +1831 -1831
  71. package/lib/IconSelect/iconJson.json +2935 -2935
  72. package/lib/LmEditTable/EditTable.js +15 -13
  73. package/lib/LmEditTable/components/DraggableContainer.d.ts +3 -1
  74. package/lib/LmEditTable/components/DraggableContainer.js +6 -2
  75. package/lib/LmEditTable/components/index.d.ts +3 -1
  76. package/lib/LmEditTable/rowSort/DndContainerRow.d.ts +3 -1
  77. package/lib/LmEditTable/rowSort/DndContainerRow.js +49 -12
  78. package/lib/LmFilter/complexFilter/valueDrawer.js +6 -6
  79. package/lib/LmFilter/components/DropdownFIlter.js +8 -8
  80. package/lib/LmFilter/components/index.js +3 -3
  81. package/lib/LmFilter/customFilter/drawer.js +3 -3
  82. package/lib/LmFilter/customFilter/saveModal.js +3 -3
  83. package/lib/LmFilter/customFilter/valueDrawer.js +6 -6
  84. package/lib/LmFilter/utils.js +5 -5
  85. package/lib/LmTable/Table.js +5 -5
  86. package/lib/LmTable/detectElementResize.js +11 -11
  87. package/lib/LmTable/util.js +60 -60
  88. package/lib/LmUpload/UploadList/index.js +1 -1
  89. package/lib/LmUpload/components/Preview.js +1 -1
  90. package/lib/LmUpload/fns/index.js +47 -28
  91. package/lib/Result/index.d.ts +4 -4
  92. package/lib/Row/README.md.old +22 -22
  93. package/lib/Typography/hooks/useUpdatedEffect.d.ts +1 -1
  94. package/lib/message/index.d.ts +5 -5
  95. package/lib/notification/index.js +3 -3
  96. package/lib/services/newRequest.js +3 -3
  97. package/lib/styles/variables.css +178 -178
  98. package/package.json +146 -146
@@ -1734,6 +1734,112 @@ 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
+ }
1737
1843
  .lm_customerservice_warp .fixGroup {
1738
1844
  transition: right 0.3s;
1739
1845
  position: fixed;
@@ -1987,112 +2093,6 @@ p {
1987
2093
  .lm_question_warp .main .title {
1988
2094
  font-size: 14px;
1989
2095
  }
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,37 +12232,6 @@ 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
- }
12266
12235
  .lm_modal.ant-modal-wrap .ant-modal-header > .ant-modal-title {
12267
12236
  font-weight: normal;
12268
12237
  font-size: 14px;
@@ -12298,47 +12267,6 @@ button.ant-table-row-expand-icon::after {
12298
12267
  background-color: var(--primary-color);
12299
12268
  color: #fff;
12300
12269
  }
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
- }
12342
12270
  .lm_pagination.ant-pagination li {
12343
12271
  font-size: 12px;
12344
12272
  line-height: 24px !important;
@@ -12993,3 +12921,75 @@ button.ant-table-row-expand-icon::after {
12993
12921
  .lm_upload_img .upload_body .upload_card_box:hover {
12994
12922
  border-color: #1890fc;
12995
12923
  }
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,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
-
12
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
13
11
 
12
+ var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
13
+
14
14
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
15
15
 
16
16
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/asyncToGenerator"));
@@ -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__*/_regenerator.default.mark(function _callee() {
47
+ var getRequest = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
48
48
  var c,
49
49
  p,
50
50
  res,
51
51
  _args = arguments;
52
- return _regenerator.default.wrap(function _callee$(_context) {
52
+ return (0, _regeneratorRuntime2.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 _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
13
+ var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
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__*/_regenerator.default.mark(function _callee(imageSrc, pixelCrop) {
84
+ _getCroppedImg = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.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 _regenerator.default.wrap(function _callee$(_context) {
97
+ return (0, _regeneratorRuntime2.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/regenerator";
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
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:
@@ -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,8 +9,6 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
13
-
14
12
  require("antd/es/table/style");
15
13
 
16
14
  var _table = _interopRequireDefault(require("antd/es/table"));
@@ -35,6 +33,8 @@ require("antd/es/input-number/style");
35
33
 
36
34
  var _inputNumber = _interopRequireDefault(require("antd/es/input-number"));
37
35
 
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__*/_regenerator.default.mark(function _callee(row) {
319
+ var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(row) {
320
320
  var values;
321
- return _regenerator.default.wrap(function _callee$(_context) {
321
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
322
322
  while (1) {
323
323
  switch (_context.prev = _context.next) {
324
324
  case 0: