linkmore-design 1.0.4 → 1.0.7

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 (275) hide show
  1. package/dist/index.umd.css +1096 -1091
  2. package/dist/index.umd.js +53471 -53569
  3. package/dist/index.umd.min.css +1 -1
  4. package/dist/index.umd.min.js +8 -12
  5. package/es/Button/index.d.ts +3 -0
  6. package/es/Button/index.js +41 -0
  7. package/es/Button/style/index.d.ts +1 -0
  8. package/es/Button/style/index.js +1 -0
  9. package/es/Button/style/style.css +97 -0
  10. package/es/ButtonTags/ButtonTags.js +1 -1
  11. package/es/ButtonTags/index.js +1 -1
  12. package/es/ButtonTags/style/style.css +58 -60
  13. package/es/Checkbox/index.js +47 -0
  14. package/es/Checkbox/style/index.js +3 -0
  15. package/es/Checkbox/style/style.css +119 -0
  16. package/es/CkFilter/baseFilter/filterMenu.js +5 -7
  17. package/es/CkFilter/baseFilter/index.js +7 -9
  18. package/es/CkFilter/baseFilter/moreFilters.js +5 -7
  19. package/es/CkFilter/complexFilter/drawer.js +9 -23
  20. package/es/CkFilter/complexFilter/index.js +4 -4
  21. package/es/CkFilter/components/filterTypes.js +30 -33
  22. package/es/CkFilter/components/modal.js +20 -32
  23. package/es/CkFilter/context.js +1 -1
  24. package/es/CkFilter/customFilter/drawer.js +13 -32
  25. package/es/CkFilter/customFilter/index.js +6 -10
  26. package/es/CkFilter/customFilter/radioGroup.js +6 -8
  27. package/es/CkFilter/filter.js +8 -8
  28. package/es/CkFilter/index.js +1 -1
  29. package/es/CkFilter/style/style.css +61 -69
  30. package/es/CkFilter/utils.js +3 -3
  31. package/es/CustomerService/components/question.js +2 -2
  32. package/es/CustomerService/index.js +2 -2
  33. package/es/CustomerService/style/style.css +58 -60
  34. package/es/Drawer/index.d.ts +10 -0
  35. package/es/Drawer/index.js +42 -0
  36. package/es/Drawer/style/index.css +496 -0
  37. package/es/Drawer/style/index.d.ts +1 -0
  38. package/es/Drawer/style/index.js +1 -0
  39. package/es/Dropdown/index.d.ts +11 -0
  40. package/es/Dropdown/index.js +45 -0
  41. package/es/Dropdown/style/index.css +537 -0
  42. package/es/Dropdown/style/index.d.ts +1 -0
  43. package/es/Dropdown/style/index.js +1 -0
  44. package/es/EditTable/EditTable.js +11 -16
  45. package/es/EditTable/index.js +1 -1
  46. package/es/EditTable/style/style.css +58 -60
  47. package/es/EnlargeImg/index.js +2 -2
  48. package/es/Filter/Popover.js +2 -2
  49. package/es/Filter/baseFilter/Popover.js +2 -2
  50. package/es/Filter/baseFilter/ToggleFilter.js +2 -2
  51. package/es/Filter/baseFilter/index.js +2 -2
  52. package/es/Filter/complex/ComplexFilter.js +2 -2
  53. package/es/Filter/complex/ComplexItem.js +2 -2
  54. package/es/Filter/components/Checkbox.js +2 -2
  55. package/es/Filter/components/Date.js +2 -2
  56. package/es/Filter/components/Input.js +2 -2
  57. package/es/Filter/components/Select.js +2 -2
  58. package/es/Filter/components/Tree.js +2 -2
  59. package/es/Filter/components/header.js +1 -1
  60. package/es/Filter/components/index.js +1 -1
  61. package/es/Filter/context.js +1 -1
  62. package/es/Filter/edit/editFilter.js +2 -2
  63. package/es/Filter/index.js +2 -2
  64. package/es/Filter/popContext.js +1 -1
  65. package/es/Filter/remember.js +2 -2
  66. package/es/Filter/style/style.css +58 -60
  67. package/es/Icon/index.js +1 -1
  68. package/es/InputNumber/index.d.ts +11 -0
  69. package/es/InputNumber/index.js +43 -0
  70. package/es/InputNumber/style/index.css +526 -0
  71. package/es/InputNumber/style/index.d.ts +1 -0
  72. package/es/InputNumber/style/index.js +1 -0
  73. package/es/LeftTable/index.js +2 -2
  74. package/es/LeftTable/style/style.css +58 -60
  75. package/es/LoadingPage/index.js +1 -1
  76. package/es/Modal/index.d.ts +12 -0
  77. package/es/Modal/index.js +83 -17
  78. package/es/Modal/style/index.css +517 -0
  79. package/es/Modal/style/index.d.ts +1 -0
  80. package/es/Modal/style/index.js +1 -3
  81. package/es/{Modal → OldModal}/add.js +1 -1
  82. package/es/{Modal → OldModal}/confirm.js +1 -1
  83. package/es/{Modal → OldModal}/edit.js +1 -1
  84. package/es/{Modal → OldModal}/exportModal.js +2 -2
  85. package/es/OldModal/index.js +24 -0
  86. package/es/OldModal/style/index.js +3 -0
  87. package/es/{Modal → OldModal}/style/style.css +0 -0
  88. package/es/Pagination/index.d.ts +7 -0
  89. package/es/Pagination/index.js +32 -0
  90. package/es/Pagination/style/index.css +516 -0
  91. package/es/Pagination/style/index.d.ts +1 -0
  92. package/es/Pagination/style/index.js +1 -0
  93. package/es/PopTable/BseTable.js +2 -2
  94. package/es/PopTable/index.js +2 -2
  95. package/es/PopTable/style/style.css +58 -60
  96. package/es/ProTable/ImgList/body.js +2 -2
  97. package/es/ProTable/ImgList/cardCell.js +2 -2
  98. package/es/ProTable/ImgList/empty.js +1 -1
  99. package/es/ProTable/ImgList/footer.js +2 -2
  100. package/es/ProTable/ImgList/imgCell.js +2 -2
  101. package/es/ProTable/ImgList/imgTable.js +2 -2
  102. package/es/ProTable/ImgList/index.js +1 -1
  103. package/es/ProTable/Table.js +2 -2
  104. package/es/ProTable/VList.js +2 -2
  105. package/es/ProTable/index.js +5 -2
  106. package/es/ProTable/style/style.css +62 -63
  107. package/es/Radio/index.js +47 -0
  108. package/es/Radio/style/index.js +3 -0
  109. package/es/Radio/style/style.css +113 -0
  110. package/es/Select/index.d.ts +18 -0
  111. package/es/Select/index.js +40 -0
  112. package/es/Select/style/index.css +504 -0
  113. package/es/Select/style/index.d.ts +1 -0
  114. package/es/Select/style/index.js +1 -0
  115. package/es/Space/index.d.ts +4 -0
  116. package/es/Space/index.js +3 -0
  117. package/es/Space/style/index.css +492 -0
  118. package/es/Space/style/index.d.ts +1 -0
  119. package/es/Space/style/index.js +1 -0
  120. package/es/TabBar/index.d.ts +12 -0
  121. package/es/TabBar/index.js +33 -0
  122. package/es/TabBar/style/index.d.ts +1 -0
  123. package/es/TabBar/style/index.js +1 -0
  124. package/es/TabBar/style/style.css +87 -0
  125. package/es/TableRender/index.js +1 -1
  126. package/es/TableRender/state.js +1 -1
  127. package/es/UploadOss/index.js +1 -1
  128. package/es/UploadOss/uploadBtn.js +2 -2
  129. package/es/UploadOss/uploadImg.js +2 -2
  130. package/es/VirtualList/index.js +1 -1
  131. package/es/index.js +87 -7
  132. package/es/input/index.js +54 -0
  133. package/es/input/style/index.js +3 -0
  134. package/es/input/style/style.css +677 -0
  135. package/es/services/newRequest.js +1 -1
  136. package/es/styles/globalClass.css +3 -3
  137. package/es/styles/icon.css +1 -1
  138. package/es/styles/main.css +58 -60
  139. package/es/styles/resetAntd.css +3 -7
  140. package/lib/Button/index.d.ts +3 -0
  141. package/lib/Button/index.js +54 -0
  142. package/lib/Button/style/index.d.ts +1 -0
  143. package/lib/Button/style/index.js +3 -0
  144. package/lib/Button/style/style.css +97 -0
  145. package/lib/ButtonTags/ButtonTags.js +1 -1
  146. package/lib/ButtonTags/index.js +1 -1
  147. package/lib/ButtonTags/style/style.css +58 -60
  148. package/lib/Checkbox/index.js +47 -0
  149. package/lib/Checkbox/style/index.js +3 -0
  150. package/lib/Checkbox/style/style.css +119 -0
  151. package/lib/CkFilter/baseFilter/filterMenu.js +5 -7
  152. package/lib/CkFilter/baseFilter/index.js +7 -9
  153. package/lib/CkFilter/baseFilter/moreFilters.js +5 -7
  154. package/lib/CkFilter/complexFilter/drawer.js +9 -23
  155. package/lib/CkFilter/complexFilter/index.js +4 -4
  156. package/lib/CkFilter/components/filterTypes.js +30 -33
  157. package/lib/CkFilter/components/modal.js +20 -32
  158. package/lib/CkFilter/context.js +1 -1
  159. package/lib/CkFilter/customFilter/drawer.js +13 -32
  160. package/lib/CkFilter/customFilter/index.js +6 -10
  161. package/lib/CkFilter/customFilter/radioGroup.js +6 -8
  162. package/lib/CkFilter/filter.js +8 -8
  163. package/lib/CkFilter/index.js +1 -1
  164. package/lib/CkFilter/style/style.css +61 -69
  165. package/lib/CkFilter/utils.js +3 -3
  166. package/lib/CustomerService/components/question.js +2 -2
  167. package/lib/CustomerService/index.js +2 -2
  168. package/lib/CustomerService/style/style.css +58 -60
  169. package/lib/Drawer/index.d.ts +10 -0
  170. package/lib/Drawer/index.js +55 -0
  171. package/lib/Drawer/style/index.css +496 -0
  172. package/lib/Drawer/style/index.d.ts +1 -0
  173. package/lib/Drawer/style/index.js +3 -0
  174. package/lib/Dropdown/index.d.ts +11 -0
  175. package/lib/Dropdown/index.js +58 -0
  176. package/lib/Dropdown/style/index.css +537 -0
  177. package/lib/Dropdown/style/index.d.ts +1 -0
  178. package/lib/Dropdown/style/index.js +3 -0
  179. package/lib/EditTable/EditTable.js +11 -16
  180. package/lib/EditTable/index.js +1 -1
  181. package/lib/EditTable/style/style.css +58 -60
  182. package/lib/EnlargeImg/index.js +2 -2
  183. package/lib/Filter/Popover.js +2 -2
  184. package/lib/Filter/baseFilter/Popover.js +2 -2
  185. package/lib/Filter/baseFilter/ToggleFilter.js +2 -2
  186. package/lib/Filter/baseFilter/index.js +2 -2
  187. package/lib/Filter/complex/ComplexFilter.js +2 -2
  188. package/lib/Filter/complex/ComplexItem.js +2 -2
  189. package/lib/Filter/components/Checkbox.js +2 -2
  190. package/lib/Filter/components/Date.js +2 -2
  191. package/lib/Filter/components/Input.js +2 -2
  192. package/lib/Filter/components/Select.js +2 -2
  193. package/lib/Filter/components/Tree.js +2 -2
  194. package/lib/Filter/components/header.js +1 -1
  195. package/lib/Filter/components/index.js +1 -1
  196. package/lib/Filter/context.js +1 -1
  197. package/lib/Filter/edit/editFilter.js +2 -2
  198. package/lib/Filter/index.js +2 -2
  199. package/lib/Filter/popContext.js +1 -1
  200. package/lib/Filter/remember.js +2 -2
  201. package/lib/Filter/style/style.css +58 -60
  202. package/lib/Icon/index.js +1 -1
  203. package/lib/InputNumber/index.d.ts +11 -0
  204. package/lib/InputNumber/index.js +56 -0
  205. package/lib/InputNumber/style/index.css +526 -0
  206. package/lib/InputNumber/style/index.d.ts +1 -0
  207. package/lib/InputNumber/style/index.js +3 -0
  208. package/lib/LeftTable/index.js +2 -2
  209. package/lib/LeftTable/style/style.css +58 -60
  210. package/lib/LoadingPage/index.js +1 -1
  211. package/lib/Modal/index.d.ts +12 -0
  212. package/lib/Modal/index.js +91 -11
  213. package/lib/Modal/style/index.css +517 -0
  214. package/lib/Modal/style/index.d.ts +1 -0
  215. package/lib/Modal/style/index.js +1 -1
  216. package/lib/{Modal → OldModal}/add.js +1 -1
  217. package/lib/{Modal → OldModal}/confirm.js +1 -1
  218. package/lib/{Modal → OldModal}/edit.js +1 -1
  219. package/lib/{Modal → OldModal}/exportModal.js +2 -2
  220. package/lib/OldModal/index.js +24 -0
  221. package/lib/OldModal/style/index.js +3 -0
  222. package/lib/{Modal → OldModal}/style/style.css +0 -0
  223. package/lib/Pagination/index.d.ts +7 -0
  224. package/lib/Pagination/index.js +45 -0
  225. package/lib/Pagination/style/index.css +516 -0
  226. package/lib/Pagination/style/index.d.ts +1 -0
  227. package/lib/Pagination/style/index.js +3 -0
  228. package/lib/PopTable/BseTable.js +2 -2
  229. package/lib/PopTable/index.js +2 -2
  230. package/lib/PopTable/style/style.css +58 -60
  231. package/lib/ProTable/ImgList/body.js +2 -2
  232. package/lib/ProTable/ImgList/cardCell.js +2 -2
  233. package/lib/ProTable/ImgList/empty.js +1 -1
  234. package/lib/ProTable/ImgList/footer.js +2 -2
  235. package/lib/ProTable/ImgList/imgCell.js +2 -2
  236. package/lib/ProTable/ImgList/imgTable.js +2 -2
  237. package/lib/ProTable/ImgList/index.js +1 -1
  238. package/lib/ProTable/Table.js +2 -2
  239. package/lib/ProTable/VList.js +2 -2
  240. package/lib/ProTable/index.js +5 -2
  241. package/lib/ProTable/style/style.css +62 -63
  242. package/lib/Radio/index.js +47 -0
  243. package/lib/Radio/style/index.js +3 -0
  244. package/lib/Radio/style/style.css +113 -0
  245. package/lib/Select/index.d.ts +18 -0
  246. package/lib/Select/index.js +53 -0
  247. package/lib/Select/style/index.css +504 -0
  248. package/lib/Select/style/index.d.ts +1 -0
  249. package/lib/Select/style/index.js +3 -0
  250. package/lib/Space/index.d.ts +4 -0
  251. package/lib/Space/index.js +15 -0
  252. package/lib/Space/style/index.css +492 -0
  253. package/lib/Space/style/index.d.ts +1 -0
  254. package/lib/Space/style/index.js +3 -0
  255. package/lib/TabBar/index.d.ts +12 -0
  256. package/lib/TabBar/index.js +45 -0
  257. package/lib/TabBar/style/index.d.ts +1 -0
  258. package/lib/TabBar/style/index.js +3 -0
  259. package/lib/TabBar/style/style.css +87 -0
  260. package/lib/TableRender/index.js +1 -1
  261. package/lib/TableRender/state.js +1 -1
  262. package/lib/UploadOss/index.js +1 -1
  263. package/lib/UploadOss/uploadBtn.js +2 -2
  264. package/lib/UploadOss/uploadImg.js +2 -2
  265. package/lib/VirtualList/index.js +1 -1
  266. package/lib/index.js +87 -7
  267. package/lib/input/index.js +54 -0
  268. package/lib/input/style/index.js +3 -0
  269. package/lib/input/style/style.css +677 -0
  270. package/lib/services/newRequest.js +1 -1
  271. package/lib/styles/globalClass.css +3 -3
  272. package/lib/styles/icon.css +1 -1
  273. package/lib/styles/main.css +58 -60
  274. package/lib/styles/resetAntd.css +3 -7
  275. package/package.json +12 -3
@@ -9,7 +9,7 @@
9
9
  display: none;
10
10
  }
11
11
  .ant-table .row-active .ant-table-cell {
12
- background-color: #FEFFD3 !important;
12
+ background-color: #feffd3 !important;
13
13
  }
14
14
  .ant-table.ant-table-empty .ant-table-expanded-row-fixed {
15
15
  padding: 0;
@@ -26,10 +26,6 @@
26
26
  height: 24px;
27
27
  margin: var(--gap) 0;
28
28
  }
29
- .ant-dropdown-menu-item {
30
- font-size: 12px;
31
- height: 32px;
32
- }
33
29
  .ant-tabs .ant-tabs-nav .ant-tabs-tab {
34
30
  font-size: 14px;
35
31
  }
@@ -59,8 +55,8 @@
59
55
  justify-content: flex-end;
60
56
  }
61
57
  .ant-modal-wrap.plugin_modal .ant-modal {
62
- left: 56px;
63
58
  top: 0;
59
+ left: 56px;
64
60
  margin: 0 0 8px 8px;
65
61
  padding: 0;
66
62
  }
@@ -72,8 +68,8 @@
72
68
  padding: 16px 24px;
73
69
  }
74
70
  .ant-popover.pop_img .ant-popover-inner-content {
75
- line-height: 1;
76
71
  padding: var(--gap);
72
+ line-height: 1;
77
73
  }
78
74
  @font-face {
79
75
  font-family: 'iconfont';
@@ -81,8 +77,8 @@
81
77
  src: url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff2?t=1641546077924') format('woff2'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff?t=1641546077924') format('woff'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.ttf?t=1641546077924') format('truetype');
82
78
  }
83
79
  .icon_ {
84
- font-family: 'iconfont';
85
80
  font-size: 14px;
81
+ font-family: 'iconfont';
86
82
  }
87
83
  .iconfont {
88
84
  font-size: 12px;
@@ -91,18 +87,18 @@
91
87
  content: '\e7fc';
92
88
  }
93
89
  .lm-font-small-bold {
94
- font-size: var(--font-size-sm);
95
90
  font-weight: 400;
91
+ font-size: var(--font-size-sm);
96
92
  line-height: 20px;
97
93
  }
98
94
  .lm-font-middle-bold {
99
- font-size: var(--font-size-base);
100
95
  font-weight: 500;
96
+ font-size: var(--font-size-base);
101
97
  line-height: 22px;
102
98
  }
103
99
  .lm-font-large-bold {
104
- font-size: var(--font-size-lg);
105
100
  font-weight: 500;
101
+ font-size: var(--font-size-lg);
106
102
  line-height: 24px;
107
103
  }
108
104
  .lm-font-small {
@@ -155,13 +151,19 @@
155
151
  }
156
152
  :root {
157
153
  --primary-color: #1890fc;
158
- --primary-select-color: #e6f7ff;
159
- --primary-hover-color: #40a9ff;
160
154
  --primary-click-color: #096dd9;
161
155
  --success-color: #52c14a;
162
156
  --warning-color: #fd9727;
163
157
  --error-color: #fa4f53;
164
158
  --aside-bg-color: #022766;
159
+ --primary-hover-color: #40a9ff;
160
+ --primary-loading-color: #84b7fa;
161
+ --primary-select-color: #e6f7ff;
162
+ --error-hover-color: #ee8079;
163
+ --error-loading-color: #fbcdcd;
164
+ --disabled-border-color: rgba(0, 0, 0, 0.15);
165
+ --disabled-bg-color: rgba(0, 0, 0, 0.04);
166
+ --disabled-font-color: rgba(0, 0, 0, 0.25);
165
167
  --font-color: rgba(0, 0, 0, 0.85);
166
168
  --text-color: rgba(0, 0, 0, 0.45);
167
169
  --tip-text-color: rgba(0, 0, 0, 0.25);
@@ -209,8 +211,8 @@ html {
209
211
  background-color: #f0f2f5;
210
212
  }
211
213
  #app {
212
- min-width: 1200px;
213
214
  width: 100vw;
215
+ min-width: 1200px;
214
216
  height: 100vh;
215
217
  font-family: 'PingFang SC', 'Microsoft YaHei UI', '微软雅黑', Helvetica, Arial, sans-serif;
216
218
  }
@@ -219,9 +221,9 @@ html {
219
221
  height: 100%;
220
222
  }
221
223
  * {
222
- list-style: none;
223
224
  margin: 0;
224
225
  padding: 0;
226
+ list-style: none;
225
227
  }
226
228
  *::-webkit-scrollbar {
227
229
  width: 8px;
@@ -242,20 +244,16 @@ html {
242
244
  *::-webkit-scrollbar-thumb:active {
243
245
  background: #bfbfbf;
244
246
  }
245
- .ant-input,
246
- .ant-select {
247
- font-size: 12px;
248
- }
249
247
  .page-content {
250
248
  margin: 12px;
251
249
  padding: 16px;
252
250
  background: #fff;
253
251
  }
254
252
  .addModal .ant-modal-header {
255
- padding: 0 24px;
256
- height: 46px;
257
253
  display: flex;
258
254
  align-items: center;
255
+ height: 46px;
256
+ padding: 0 24px;
259
257
  }
260
258
  .addModal .ant-modal-close-x {
261
259
  width: 46px;
@@ -270,8 +268,8 @@ html {
270
268
  }
271
269
  .addModal .ant-modal-body .ant-tabs-content-holder {
272
270
  max-height: 800px;
273
- overflow-y: auto;
274
271
  padding: 16px 10px;
272
+ overflow-y: auto;
275
273
  }
276
274
  .addModal .ant-modal-footer {
277
275
  padding: 11px 24px;
@@ -280,10 +278,10 @@ html {
280
278
  margin-left: 10px;
281
279
  }
282
280
  .editModal .ant-modal-header {
283
- padding: 0 24px;
284
- height: 46px;
285
281
  display: flex;
286
282
  align-items: center;
283
+ height: 46px;
284
+ padding: 0 24px;
287
285
  }
288
286
  .editModal .ant-modal-close-x {
289
287
  width: 46px;
@@ -291,8 +289,8 @@ html {
291
289
  line-height: 44px;
292
290
  }
293
291
  .editModal .ant-modal-body {
294
- padding: 24px 24px 21px;
295
292
  max-height: 600px;
293
+ padding: 24px 24px 21px;
296
294
  overflow-y: auto;
297
295
  }
298
296
  .editModal .ant-modal-body .ant-form-item {
@@ -305,8 +303,8 @@ html {
305
303
  margin-left: 10px;
306
304
  }
307
305
  .ant-select-dropdown .ant-select-item {
308
- font-size: 12px;
309
306
  align-items: center;
307
+ font-size: 12px;
310
308
  }
311
309
  .react-resizable {
312
310
  position: relative;
@@ -314,8 +312,8 @@ html {
314
312
  }
315
313
  .react-resizable-handle {
316
314
  position: absolute;
317
- right: 0;
318
315
  top: 0;
316
+ right: 0;
319
317
  z-index: 1;
320
318
  width: 3px;
321
319
  height: 40px;
@@ -329,27 +327,27 @@ html {
329
327
  }
330
328
  .yf_resizable_bar {
331
329
  position: absolute;
332
- left: 0;
333
330
  top: 0;
331
+ left: 0;
334
332
  z-index: 2;
335
333
  height: 0;
336
334
  }
337
335
  .resizable_line {
338
336
  position: absolute;
339
- left: 0;
340
337
  top: 0;
341
- height: 100%;
338
+ left: 0;
339
+ z-index: 1;
342
340
  width: 1px;
341
+ height: 100%;
343
342
  background-color: var(--primary-color);
344
- z-index: 1;
345
343
  }
346
344
  .handle_resizable {
347
345
  position: absolute;
348
- right: 0;
349
346
  top: 0;
350
- height: 100%;
351
- width: 5px;
347
+ right: 0;
352
348
  z-index: 2;
349
+ width: 5px;
350
+ height: 100%;
353
351
  }
354
352
  .card_cell_content {
355
353
  display: flex;
@@ -362,17 +360,17 @@ html {
362
360
  }
363
361
  .card_cell_content .card_cell_body {
364
362
  position: relative;
365
- flex: 1;
366
363
  display: flex;
364
+ flex: 1;
367
365
  flex-flow: column;
368
- background: rgba(0, 0, 0, 0.02);
369
366
  padding: 16px;
367
+ background: rgba(0, 0, 0, 0.02);
370
368
  cursor: pointer;
371
369
  }
372
370
  .card_cell_content .card_cell_body .card_cell_checkbox {
373
371
  position: absolute;
374
- left: 8px;
375
372
  top: 8px;
373
+ left: 8px;
376
374
  line-height: 1;
377
375
  opacity: 0;
378
376
  transition: 0.3s;
@@ -383,33 +381,33 @@ html {
383
381
  }
384
382
  .card_cell_content .card_cell_body .card_cell_info .title {
385
383
  display: flex;
384
+ gap: 8px;
386
385
  align-items: center;
387
386
  justify-content: space-between;
388
- gap: 8px;
389
387
  }
390
388
  .card_cell_content .card_cell_body .card_cell_info .title .label {
391
389
  flex: 1;
392
- font-size: 14px;
393
- font-weight: 500;
394
- text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
395
- text-overflow: ellipsis;
396
390
  overflow: hidden;
391
+ font-weight: 500;
392
+ font-size: 14px;
397
393
  white-space: nowrap;
394
+ text-overflow: ellipsis;
395
+ text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
398
396
  }
399
397
  .card_cell_content .card_cell_body .card_cell_info .title .icon {
400
398
  display: inline-flex;
401
- align-items: center;
402
399
  gap: 4px;
400
+ align-items: center;
401
+ height: 22px;
402
+ padding: 0 8px;
403
403
  font-size: 12px;
404
404
  line-height: 1;
405
- height: 22px;
406
405
  background: var(--background-color);
407
- padding: 0 8px;
408
406
  }
409
407
  .card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
408
+ margin: 0;
410
409
  color: var(--text-color);
411
410
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
412
- margin: 0;
413
411
  }
414
412
  .card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
415
413
  color: inherit;
@@ -418,60 +416,60 @@ html {
418
416
  display: flex;
419
417
  flex-wrap: wrap;
420
418
  gap: 16px;
421
- font-size: 12px;
419
+ padding: 6px 0 2px;
422
420
  color: var(--text-color);
421
+ font-size: 12px;
423
422
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
424
- padding: 6px 0 2px;
425
423
  }
426
424
  .card_cell_content .card_cell_body .card_cell_info .expand > div {
427
425
  padding: 2px 0;
428
426
  }
429
427
  .card_cell_content .card_cell_body .card_cell_center {
430
428
  display: flex;
431
- align-items: center;
432
429
  flex: 1;
430
+ align-items: center;
433
431
  }
434
432
  .card_cell_content .card_cell_body .card_cell_center .list {
435
433
  display: flex;
436
434
  align-items: center;
437
435
  justify-content: space-between;
438
- text-align: center;
439
436
  width: 100%;
440
437
  margin: auto 0;
438
+ text-align: center;
441
439
  }
442
440
  .card_cell_content .card_cell_body .card_cell_center .list .item {
443
441
  display: inline-flex;
444
- align-items: center;
445
442
  gap: 4px;
443
+ align-items: center;
446
444
  line-height: 1;
447
445
  }
448
446
  .card_cell_content .card_cell_body .card_cell_center .list .item .num {
449
- font-size: 20px;
450
- font-weight: 500;
451
447
  color: var(--font-color);
448
+ font-weight: 500;
449
+ font-size: 20px;
452
450
  }
453
451
  .card_cell_content .card_cell_body .card_cell_center .list .item .text {
454
- font-size: 12px;
455
452
  color: var(--text-color);
453
+ font-size: 12px;
456
454
  }
457
455
  .card_cell_content .card_cell_footer {
458
456
  display: flex;
459
457
  align-items: center;
460
458
  height: 40px;
461
- background: #F7F7F7;
459
+ background: #f7f7f7;
462
460
  }
463
461
  .card_cell_content .card_cell_footer > * {
464
462
  flex: 1;
465
463
  }
466
464
  .card_cell_content .card_cell_footer > *::after {
467
- content: '';
468
465
  position: absolute;
469
- right: 0;
470
466
  top: 50%;
471
- transform: translateY(-50%);
472
- height: 18px;
467
+ right: 0;
473
468
  width: 1px;
474
- background-color: #E8E8E8;
469
+ height: 18px;
470
+ background-color: #e8e8e8;
471
+ transform: translateY(-50%);
472
+ content: '';
475
473
  }
476
474
  .card_cell_content .card_cell_footer button:last-child {
477
475
  border: none;
package/es/Icon/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -0,0 +1,11 @@
1
+ import { InputNumberProps } from 'antd';
2
+ import React from 'react';
3
+ export interface LMInputNumberProps extends InputNumberProps {
4
+ style?: React.CSSProperties;
5
+ className?: string;
6
+ }
7
+ interface CompoundedComponent extends React.FC<LMInputNumberProps> {
8
+ Price: React.FC<LMInputNumberProps>;
9
+ }
10
+ declare const CInputNumber: CompoundedComponent;
11
+ export default CInputNumber;
@@ -0,0 +1,43 @@
1
+ import "antd/es/input-number/style";
2
+ import _InputNumber from "antd/es/input-number";
3
+
4
+ var __rest = this && this.__rest || function (s, e) {
5
+ var t = {};
6
+
7
+ for (var p in s) {
8
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
9
+ }
10
+
11
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
12
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
13
+ }
14
+ return t;
15
+ };
16
+
17
+ import classNames from 'classnames';
18
+ import React from 'react';
19
+ var prefixCls = 'lm_input-number';
20
+
21
+ var LMInputNumber = function LMInputNumber(props) {
22
+ var children = props.children,
23
+ className = props.className,
24
+ others = __rest(props, ["children", "className"]);
25
+
26
+ return /*#__PURE__*/React.createElement(_InputNumber, Object.assign({
27
+ className: classNames(className, prefixCls),
28
+ placeholder: "\u8BF7\u8F93\u5165"
29
+ }, others));
30
+ };
31
+
32
+ var CInputNumber = LMInputNumber;
33
+
34
+ CInputNumber.Price = function (props) {
35
+ return /*#__PURE__*/React.createElement(_InputNumber, Object.assign({
36
+ prefix: "\uFFE5",
37
+ formatter: function formatter(value) {
38
+ return "".concat(value).replace(/\B(?=(\d{3})+(?!\d))/g, ',');
39
+ }
40
+ }, props));
41
+ };
42
+
43
+ export default CInputNumber;