wt-enjoy-link-antd-repack 4.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. package/README.md +26 -0
  2. package/dist/esm/assets/location.png +0 -0
  3. package/dist/esm/component/BiuAButton/index.d.ts +18 -0
  4. package/dist/esm/component/BiuAButton/index.js +8 -0
  5. package/dist/esm/component/BiuACard/index.d.ts +2 -0
  6. package/dist/esm/component/BiuACard/index.js +9 -0
  7. package/dist/esm/component/BiuACascader/index.d.ts +10 -0
  8. package/dist/esm/component/BiuACascader/index.js +8 -0
  9. package/dist/esm/component/BiuADatePicker/index.d.ts +19 -0
  10. package/dist/esm/component/BiuADatePicker/index.js +18 -0
  11. package/dist/esm/component/BiuAForm/index.d.ts +7 -0
  12. package/dist/esm/component/BiuAForm/index.js +10 -0
  13. package/dist/esm/component/BiuAInput/index.d.ts +14 -0
  14. package/dist/esm/component/BiuAInput/index.js +32 -0
  15. package/dist/esm/component/BiuASelect/index.d.ts +6 -0
  16. package/dist/esm/component/BiuASelect/index.js +14 -0
  17. package/dist/esm/component/BiuASwitch/index.d.ts +2 -0
  18. package/dist/esm/component/BiuASwitch/index.js +9 -0
  19. package/dist/esm/component/BiuATimePicker/index.d.ts +4 -0
  20. package/dist/esm/component/BiuATimePicker/index.js +8 -0
  21. package/dist/esm/component/BiuATreeSelect/index.d.ts +2 -0
  22. package/dist/esm/component/BiuATreeSelect/index.js +8 -0
  23. package/dist/esm/component/BiuBar/index.d.ts +13 -0
  24. package/dist/esm/component/BiuBar/index.js +42 -0
  25. package/dist/esm/component/BiuComSelect/index.d.ts +24 -0
  26. package/dist/esm/component/BiuComSelect/index.js +104 -0
  27. package/dist/esm/component/BiuCue/index.d.ts +18 -0
  28. package/dist/esm/component/BiuCue/index.js +44 -0
  29. package/dist/esm/component/BiuCustomSelect/index.d.ts +19 -0
  30. package/dist/esm/component/BiuCustomSelect/index.js +153 -0
  31. package/dist/esm/component/BiuCustomTable/index.d.ts +14 -0
  32. package/dist/esm/component/BiuCustomTable/index.js +76 -0
  33. package/dist/esm/component/BiuCustomerOperCard/component/editTable.d.ts +8 -0
  34. package/dist/esm/component/BiuCustomerOperCard/component/editTable.js +264 -0
  35. package/dist/esm/component/BiuCustomerOperCard/component/index.d.ts +1 -0
  36. package/dist/esm/component/BiuCustomerOperCard/component/index.js +1 -0
  37. package/dist/esm/component/BiuCustomerOperCard/index.d.ts +20 -0
  38. package/dist/esm/component/BiuCustomerOperCard/index.js +56 -0
  39. package/dist/esm/component/BiuCustomerOperCard/type.d.ts +117 -0
  40. package/dist/esm/component/BiuCustomerOperCard/type.js +1 -0
  41. package/dist/esm/component/BiuCustomerOperCard/utils.d.ts +48 -0
  42. package/dist/esm/component/BiuCustomerOperCard/utils.js +236 -0
  43. package/dist/esm/component/BiuDescriptions/index.d.ts +9 -0
  44. package/dist/esm/component/BiuDescriptions/index.js +39 -0
  45. package/dist/esm/component/BiuDetailDrawer/index.d.ts +15 -0
  46. package/dist/esm/component/BiuDetailDrawer/index.js +54 -0
  47. package/dist/esm/component/BiuDivider/index.d.ts +4 -0
  48. package/dist/esm/component/BiuDivider/index.js +29 -0
  49. package/dist/esm/component/BiuField/component/AddressTableSelect.d.ts +3 -0
  50. package/dist/esm/component/BiuField/component/AddressTableSelect.js +150 -0
  51. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/index.d.ts +3 -0
  52. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/index.js +3 -0
  53. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertSubValue.d.ts +2 -0
  54. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertSubValue.js +49 -0
  55. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertUnSubValue.d.ts +2 -0
  56. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertUnSubValue.js +98 -0
  57. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useInConvertUnSubValue.d.ts +5 -0
  58. package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useInConvertUnSubValue.js +82 -0
  59. package/dist/esm/component/BiuField/component/DepartOrgSelect/index.d.ts +14 -0
  60. package/dist/esm/component/BiuField/component/DepartOrgSelect/index.js +393 -0
  61. package/dist/esm/component/BiuField/component/DepartOrgSelect/type.d.ts +123 -0
  62. package/dist/esm/component/BiuField/component/DepartOrgSelect/type.js +1 -0
  63. package/dist/esm/component/BiuField/component/DepartOrgSelect/utils.d.ts +5 -0
  64. package/dist/esm/component/BiuField/component/DepartOrgSelect/utils.js +59 -0
  65. package/dist/esm/component/BiuField/component/OMSSystem/cityAreaSelect.d.ts +12 -0
  66. package/dist/esm/component/BiuField/component/OMSSystem/cityAreaSelect.js +130 -0
  67. package/dist/esm/component/BiuField/component/OMSSystem/warehouseSel.d.ts +7 -0
  68. package/dist/esm/component/BiuField/component/OMSSystem/warehouseSel.js +80 -0
  69. package/dist/esm/component/BiuField/component/SNInput.d.ts +13 -0
  70. package/dist/esm/component/BiuField/component/SNInput.js +622 -0
  71. package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.d.ts +23 -0
  72. package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.js +187 -0
  73. package/dist/esm/component/BiuField/component/TableSelectLocal/base.d.ts +13 -0
  74. package/dist/esm/component/BiuField/component/TableSelectLocal/base.js +153 -0
  75. package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.d.ts +21 -0
  76. package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.js +238 -0
  77. package/dist/esm/component/BiuField/component/TableSelectLocal/index.d.ts +3 -0
  78. package/dist/esm/component/BiuField/component/TableSelectLocal/index.js +66 -0
  79. package/dist/esm/component/BiuField/component/TableSelectLocal/interface.d.ts +16 -0
  80. package/dist/esm/component/BiuField/component/TableSelectLocal/interface.js +1 -0
  81. package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.d.ts +24 -0
  82. package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.js +164 -0
  83. package/dist/esm/component/BiuField/component/TableSelectLocal/package.d.ts +3 -0
  84. package/dist/esm/component/BiuField/component/TableSelectLocal/package.js +149 -0
  85. package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.d.ts +18 -0
  86. package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.js +145 -0
  87. package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseAreaSelect.d.ts +3 -0
  88. package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseAreaSelect.js +113 -0
  89. package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.d.ts +18 -0
  90. package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.js +100 -0
  91. package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.d.ts +9 -0
  92. package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.js +75 -0
  93. package/dist/esm/component/BiuField/component/autoComplete.d.ts +8 -0
  94. package/dist/esm/component/BiuField/component/autoComplete.js +82 -0
  95. package/dist/esm/component/BiuField/component/boxTypeSelect.d.ts +11 -0
  96. package/dist/esm/component/BiuField/component/boxTypeSelect.js +139 -0
  97. package/dist/esm/component/BiuField/component/businessdistrictselect.d.ts +55 -0
  98. package/dist/esm/component/BiuField/component/businessdistrictselect.js +414 -0
  99. package/dist/esm/component/BiuField/component/carrierInfoSelect.d.ts +13 -0
  100. package/dist/esm/component/BiuField/component/carrierInfoSelect.js +145 -0
  101. package/dist/esm/component/BiuField/component/channelSelect.d.ts +8 -0
  102. package/dist/esm/component/BiuField/component/channelSelect.js +94 -0
  103. package/dist/esm/component/BiuField/component/cityAreaCascader.d.ts +11 -0
  104. package/dist/esm/component/BiuField/component/cityAreaCascader.js +86 -0
  105. package/dist/esm/component/BiuField/component/clientInfoTableSelect.d.ts +3 -0
  106. package/dist/esm/component/BiuField/component/clientInfoTableSelect.js +175 -0
  107. package/dist/esm/component/BiuField/component/customMenu.d.ts +3 -0
  108. package/dist/esm/component/BiuField/component/customMenu.js +110 -0
  109. package/dist/esm/component/BiuField/component/databaseSelect.d.ts +6 -0
  110. package/dist/esm/component/BiuField/component/databaseSelect.js +42 -0
  111. package/dist/esm/component/BiuField/component/departmentTreeSelect.d.ts +3 -0
  112. package/dist/esm/component/BiuField/component/departmentTreeSelect.js +107 -0
  113. package/dist/esm/component/BiuField/component/dicNameSelect.d.ts +12 -0
  114. package/dist/esm/component/BiuField/component/dicNameSelect.js +53 -0
  115. package/dist/esm/component/BiuField/component/dicTypeSelect.d.ts +41 -0
  116. package/dist/esm/component/BiuField/component/dicTypeSelect.js +84 -0
  117. package/dist/esm/component/BiuField/component/dockingPartySelect.d.ts +8 -0
  118. package/dist/esm/component/BiuField/component/dockingPartySelect.js +63 -0
  119. package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +18 -0
  120. package/dist/esm/component/BiuField/component/editLocationSelect.js +119 -0
  121. package/dist/esm/component/BiuField/component/electronicFaceSheet/accountSelect.d.ts +3 -0
  122. package/dist/esm/component/BiuField/component/electronicFaceSheet/accountSelect.js +36 -0
  123. package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.d.ts +14 -0
  124. package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.js +97 -0
  125. package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.d.ts +7 -0
  126. package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.js +73 -0
  127. package/dist/esm/component/BiuField/component/goodsTypeSelect.d.ts +10 -0
  128. package/dist/esm/component/BiuField/component/goodsTypeSelect.js +92 -0
  129. package/dist/esm/component/BiuField/component/index.d.ts +37 -0
  130. package/dist/esm/component/BiuField/component/index.js +37 -0
  131. package/dist/esm/component/BiuField/component/interfaceNameSelect.d.ts +9 -0
  132. package/dist/esm/component/BiuField/component/interfaceNameSelect.js +65 -0
  133. package/dist/esm/component/BiuField/component/lpnSelect.d.ts +3 -0
  134. package/dist/esm/component/BiuField/component/lpnSelect.js +88 -0
  135. package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +15 -0
  136. package/dist/esm/component/BiuField/component/orderTypeSelect.js +79 -0
  137. package/dist/esm/component/BiuField/component/orderTypeTableSelect.d.ts +3 -0
  138. package/dist/esm/component/BiuField/component/orderTypeTableSelect.js +45 -0
  139. package/dist/esm/component/BiuField/component/parkSelect.d.ts +12 -0
  140. package/dist/esm/component/BiuField/component/parkSelect.js +88 -0
  141. package/dist/esm/component/BiuField/component/personnelinfoselect.d.ts +57 -0
  142. package/dist/esm/component/BiuField/component/personnelinfoselect.js +431 -0
  143. package/dist/esm/component/BiuField/component/propertNameSelect.d.ts +9 -0
  144. package/dist/esm/component/BiuField/component/propertNameSelect.js +114 -0
  145. package/dist/esm/component/BiuField/component/shipperTableSelect.d.ts +3 -0
  146. package/dist/esm/component/BiuField/component/shipperTableSelect.js +94 -0
  147. package/dist/esm/component/BiuField/component/userSelect.d.ts +8 -0
  148. package/dist/esm/component/BiuField/component/userSelect.js +163 -0
  149. package/dist/esm/component/BiuField/component/warehouseAreaSelect.d.ts +9 -0
  150. package/dist/esm/component/BiuField/component/warehouseAreaSelect.js +103 -0
  151. package/dist/esm/component/BiuField/component/warehouseInfoSelect.d.ts +13 -0
  152. package/dist/esm/component/BiuField/component/warehouseInfoSelect.js +92 -0
  153. package/dist/esm/component/BiuField/component/warehouseLoctionSelect.d.ts +14 -0
  154. package/dist/esm/component/BiuField/component/warehouseLoctionSelect.js +124 -0
  155. package/dist/esm/component/BiuField/index.d.ts +8 -0
  156. package/dist/esm/component/BiuField/index.js +607 -0
  157. package/dist/esm/component/BiuFileInput/index.d.ts +11 -0
  158. package/dist/esm/component/BiuFileInput/index.js +53 -0
  159. package/dist/esm/component/BiuForm/index.d.ts +12 -0
  160. package/dist/esm/component/BiuForm/index.js +241 -0
  161. package/dist/esm/component/BiuForm/type.d.ts +45 -0
  162. package/dist/esm/component/BiuForm/type.js +1 -0
  163. package/dist/esm/component/BiuForm/utils.d.ts +2 -0
  164. package/dist/esm/component/BiuForm/utils.js +46 -0
  165. package/dist/esm/component/BiuIcon/index.d.ts +3 -0
  166. package/dist/esm/component/BiuIcon/index.js +15 -0
  167. package/dist/esm/component/BiuMapSelectSite/index.d.ts +48 -0
  168. package/dist/esm/component/BiuMapSelectSite/index.js +453 -0
  169. package/dist/esm/component/BiuModal/index.d.ts +24 -0
  170. package/dist/esm/component/BiuModal/index.js +239 -0
  171. package/dist/esm/component/BiuOperForm/index.d.ts +15 -0
  172. package/dist/esm/component/BiuOperForm/index.js +375 -0
  173. package/dist/esm/component/BiuOperForm/type.d.ts +23 -0
  174. package/dist/esm/component/BiuOperForm/type.js +1 -0
  175. package/dist/esm/component/BiuOperTable/index.d.ts +15 -0
  176. package/dist/esm/component/BiuOperTable/index.js +349 -0
  177. package/dist/esm/component/BiuOperTable/type.d.ts +142 -0
  178. package/dist/esm/component/BiuOperTable/type.js +1 -0
  179. package/dist/esm/component/BiuOperTable/utils.d.ts +6 -0
  180. package/dist/esm/component/BiuOperTable/utils.js +13 -0
  181. package/dist/esm/component/BiuPagination/index.d.ts +14 -0
  182. package/dist/esm/component/BiuPagination/index.js +34 -0
  183. package/dist/esm/component/BiuResizeTable/component/biuTableCell.d.ts +1 -0
  184. package/dist/esm/component/BiuResizeTable/component/biuTableCell.js +74 -0
  185. package/dist/esm/component/BiuResizeTable/component/index.d.ts +1 -0
  186. package/dist/esm/component/BiuResizeTable/component/index.js +1 -0
  187. package/dist/esm/component/BiuResizeTable/index.d.ts +2 -0
  188. package/dist/esm/component/BiuResizeTable/index.js +71 -0
  189. package/dist/esm/component/BiuResizeTable/index.less +19 -0
  190. package/dist/esm/component/BiuSplit/index.d.ts +32 -0
  191. package/dist/esm/component/BiuSplit/index.js +57 -0
  192. package/dist/esm/component/BiuTable/component/index.d.ts +3 -0
  193. package/dist/esm/component/BiuTable/component/index.js +3 -0
  194. package/dist/esm/component/BiuTable/component/tableActionBarRender.d.ts +9 -0
  195. package/dist/esm/component/BiuTable/component/tableActionBarRender.js +88 -0
  196. package/dist/esm/component/BiuTable/component/tableCellRender.d.ts +14 -0
  197. package/dist/esm/component/BiuTable/component/tableCellRender.js +108 -0
  198. package/dist/esm/component/BiuTable/component/tableSettingRender.d.ts +2 -0
  199. package/dist/esm/component/BiuTable/component/tableSettingRender.js +345 -0
  200. package/dist/esm/component/BiuTable/context.d.ts +2 -0
  201. package/dist/esm/component/BiuTable/context.js +2 -0
  202. package/dist/esm/component/BiuTable/hooks/index.d.ts +1 -0
  203. package/dist/esm/component/BiuTable/hooks/index.js +1 -0
  204. package/dist/esm/component/BiuTable/hooks/useFetchData.d.ts +4 -0
  205. package/dist/esm/component/BiuTable/hooks/useFetchData.js +64 -0
  206. package/dist/esm/component/BiuTable/index.d.ts +42 -0
  207. package/dist/esm/component/BiuTable/index.js +484 -0
  208. package/dist/esm/component/BiuTable/type.d.ts +168 -0
  209. package/dist/esm/component/BiuTable/type.js +1 -0
  210. package/dist/esm/component/BiuTable/utils.d.ts +10 -0
  211. package/dist/esm/component/BiuTable/utils.js +117 -0
  212. package/dist/esm/component/BiuTableLink/index.d.ts +11 -0
  213. package/dist/esm/component/BiuTableLink/index.js +54 -0
  214. package/dist/esm/component/BiuTableSelect/index.d.ts +49 -0
  215. package/dist/esm/component/BiuTableSelect/index.js +209 -0
  216. package/dist/esm/component/BiuTabs/index.d.ts +4 -0
  217. package/dist/esm/component/BiuTabs/index.js +18 -0
  218. package/dist/esm/component/BiuVirtualTable/index.d.ts +21 -0
  219. package/dist/esm/component/BiuVirtualTable/index.js +161 -0
  220. package/dist/esm/component/index.d.ts +35 -0
  221. package/dist/esm/component/index.js +35 -0
  222. package/dist/esm/constant/Cache_Key.d.ts +28 -0
  223. package/dist/esm/constant/Cache_Key.js +28 -0
  224. package/dist/esm/constant/DateTime.d.ts +12 -0
  225. package/dist/esm/constant/DateTime.js +15 -0
  226. package/dist/esm/constant/External.d.ts +64 -0
  227. package/dist/esm/constant/External.js +260 -0
  228. package/dist/esm/constant/Gateway_Path.d.ts +5 -0
  229. package/dist/esm/constant/Gateway_Path.js +5 -0
  230. package/dist/esm/constant/Layout.d.ts +210 -0
  231. package/dist/esm/constant/Layout.js +215 -0
  232. package/dist/esm/constant/Regexp.d.ts +109 -0
  233. package/dist/esm/constant/Regexp.js +130 -0
  234. package/dist/esm/constant/index.d.ts +6 -0
  235. package/dist/esm/constant/index.js +6 -0
  236. package/dist/esm/hooks/index.d.ts +6 -0
  237. package/dist/esm/hooks/index.js +6 -0
  238. package/dist/esm/hooks/useAuth.d.ts +4 -0
  239. package/dist/esm/hooks/useAuth.js +22 -0
  240. package/dist/esm/hooks/useCurrentSystem.d.ts +6 -0
  241. package/dist/esm/hooks/useCurrentSystem.js +15 -0
  242. package/dist/esm/hooks/useLayoutInfo.d.ts +10 -0
  243. package/dist/esm/hooks/useLayoutInfo.js +14 -0
  244. package/dist/esm/hooks/useReducerState.d.ts +16 -0
  245. package/dist/esm/hooks/useReducerState.js +43 -0
  246. package/dist/esm/hooks/useUserInfo.d.ts +4 -0
  247. package/dist/esm/hooks/useUserInfo.js +15 -0
  248. package/dist/esm/hooks/useWareInfo.d.ts +4 -0
  249. package/dist/esm/hooks/useWareInfo.js +15 -0
  250. package/dist/esm/index.d.ts +5 -0
  251. package/dist/esm/index.js +5 -0
  252. package/dist/esm/package/index.d.ts +1 -0
  253. package/dist/esm/package/index.js +1 -0
  254. package/dist/esm/package/requestWrapper/baseRequest.d.ts +3 -0
  255. package/dist/esm/package/requestWrapper/baseRequest.js +47 -0
  256. package/dist/esm/package/requestWrapper/index.d.ts +4 -0
  257. package/dist/esm/package/requestWrapper/index.js +402 -0
  258. package/dist/esm/package/requestWrapper/type.d.ts +36 -0
  259. package/dist/esm/package/requestWrapper/type.js +1 -0
  260. package/dist/esm/package/requestWrapper/utils.d.ts +10 -0
  261. package/dist/esm/package/requestWrapper/utils.js +35 -0
  262. package/dist/esm/utils/authUtils.d.ts +18 -0
  263. package/dist/esm/utils/authUtils.js +36 -0
  264. package/dist/esm/utils/cacheUtils.d.ts +4 -0
  265. package/dist/esm/utils/cacheUtils.js +24 -0
  266. package/dist/esm/utils/chainUtils.d.ts +26 -0
  267. package/dist/esm/utils/chainUtils.js +54 -0
  268. package/dist/esm/utils/dateUtils.d.ts +23 -0
  269. package/dist/esm/utils/dateUtils.js +55 -0
  270. package/dist/esm/utils/decimalUtils.d.ts +5 -0
  271. package/dist/esm/utils/decimalUtils.js +7 -0
  272. package/dist/esm/utils/excelUtils.d.ts +22 -0
  273. package/dist/esm/utils/excelUtils.js +153 -0
  274. package/dist/esm/utils/index.d.ts +11 -0
  275. package/dist/esm/utils/index.js +11 -0
  276. package/dist/esm/utils/layoutUtils.d.ts +1 -0
  277. package/dist/esm/utils/layoutUtils.js +13 -0
  278. package/dist/esm/utils/objectUtils.d.ts +1 -0
  279. package/dist/esm/utils/objectUtils.js +3 -0
  280. package/dist/esm/utils/soundUtils.d.ts +5 -0
  281. package/dist/esm/utils/soundUtils.js +29 -0
  282. package/dist/esm/utils/stringUtils.d.ts +24 -0
  283. package/dist/esm/utils/stringUtils.js +39 -0
  284. package/dist/esm/utils/sysUtils.d.ts +4 -0
  285. package/dist/esm/utils/sysUtils.js +4 -0
  286. package/package.json +59 -0
@@ -0,0 +1,54 @@
1
+ import { throttle, debounce, cloneDeep } from 'lodash';
2
+
3
+ // 工具链函数
4
+
5
+ /**
6
+ * 节流|防抖
7
+ * @param fn 函数
8
+ * @param wait 等待时间
9
+ * @param isThrottle 是否节流
10
+ */
11
+ export var ChainDebounceOrThrottle = function ChainDebounceOrThrottle(fn) {
12
+ var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
13
+ var isThrottle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
14
+ if (isThrottle) {
15
+ // 节流
16
+ // 等待结束后调用
17
+ return throttle(fn, wait, {
18
+ trailing: true
19
+ });
20
+ }
21
+
22
+ // 防抖
23
+ // 延迟开始前调用
24
+ return debounce(fn, wait, {
25
+ leading: true
26
+ });
27
+ };
28
+
29
+ /**
30
+ * 深拷贝
31
+ * @param value 原始对象
32
+ */
33
+ export var ChainDeepClone = function ChainDeepClone(value) {
34
+ return cloneDeep(value);
35
+ };
36
+
37
+ /**
38
+ *
39
+ * 判断值是否相等
40
+ *
41
+ * abstract 浅对比,不包含迭代
42
+ * samevalue 确定两个值是否在任何情况下功能上是相同的
43
+ *
44
+ * [MDN JS 值相等参考]](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Equality_comparisons_and_sameness)
45
+ *
46
+ * @param value1
47
+ * @param value2
48
+ * @param equalType 'abstract' 抽象相等 | 'samevalue' 同值相等
49
+ */
50
+ export var ChainValueEqual = function ChainValueEqual(value1, value2) {
51
+ var equalType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'abstract';
52
+ if (equalType === 'abstract') return value1 === value2;
53
+ return Object.is(value1, value2);
54
+ };
@@ -0,0 +1,23 @@
1
+ import moment from 'moment';
2
+ /**
3
+ * 将字符串转换为Moment对象,转换失败返回undefined
4
+ * @param value 要转换的对象
5
+ */
6
+ export declare const formatMoment: (value: moment.Moment) => moment.Moment | undefined;
7
+ /**
8
+ * 将Moment对象的日期转换为字符串,转换失败返回undefined
9
+ * @param value 要转换的对象
10
+ * @param format 转换的格式或者组件的名称字符串
11
+ */
12
+ export declare const momentFormat: (value: moment.Moment | undefined | null, format?: string) => string | undefined;
13
+ /**
14
+ * 转换类型到 moment 类型
15
+ * @param value 输入类型
16
+ */
17
+ export declare const objToMoment: (value: any) => any;
18
+ /**
19
+ * 将value值转换为特定格式的时间字符串,转换失败返回传入的值
20
+ * @param value 任意value值
21
+ * @param fmt 转换格式
22
+ */
23
+ export declare const formatDate: (value: any, fmt?: string) => any;
@@ -0,0 +1,55 @@
1
+ import moment from 'moment';
2
+ import { DATE_FORMAT } from "../constant";
3
+
4
+ /**
5
+ * 将字符串转换为Moment对象,转换失败返回undefined
6
+ * @param value 要转换的对象
7
+ */
8
+ export var formatMoment = function formatMoment(value) {
9
+ if (value === undefined || value === null) return undefined;
10
+ var momentValue = moment(value);
11
+ if (momentValue.isValid()) return momentValue;
12
+ return undefined;
13
+ };
14
+
15
+ /**
16
+ * 将Moment对象的日期转换为字符串,转换失败返回undefined
17
+ * @param value 要转换的对象
18
+ * @param format 转换的格式或者组件的名称字符串
19
+ */
20
+ export var momentFormat = function momentFormat(value) {
21
+ var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DATE_FORMAT.default;
22
+ var newFormat = format;
23
+ if (format === 'date') newFormat = DATE_FORMAT.date('23:59:59');
24
+ if (value === undefined || value === null) return undefined;
25
+ if (typeof value === 'string') return value;
26
+ if (value.format === undefined) return undefined;
27
+ return value.format(newFormat);
28
+ };
29
+
30
+ /**
31
+ * 转换类型到 moment 类型
32
+ * @param value 输入类型
33
+ */
34
+ export var objToMoment = function objToMoment(value) {
35
+ // if (!moment.isDate(value)) return undefined;
36
+ if (!value) return undefined;
37
+ if (moment.isMoment(value)) return value;
38
+ if (value === null) return undefined;
39
+ return moment(value);
40
+ };
41
+
42
+ /**
43
+ * 将value值转换为特定格式的时间字符串,转换失败返回传入的值
44
+ * @param value 任意value值
45
+ * @param fmt 转换格式
46
+ */
47
+ export var formatDate = function formatDate(value) {
48
+ var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DATE_FORMAT.default;
49
+ if (!value) return undefined;
50
+ var momentValue = moment(value);
51
+ if (momentValue.isValid()) {
52
+ return momentValue.format(fmt);
53
+ }
54
+ return value;
55
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 将小数计算的结果校准
3
+ * @param value 计算结果
4
+ */
5
+ export declare const calibrationFloat: (value: number) => number;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 将小数计算的结果校准
3
+ * @param value 计算结果
4
+ */
5
+ export var calibrationFloat = function calibrationFloat(value) {
6
+ return +value.toFixed(15);
7
+ };
@@ -0,0 +1,22 @@
1
+ export declare const exportExcelTemp: (columns: any[], fileName?: string, ...omit: any[]) => void;
2
+ export declare const exportExcel: (columns: any[], data: any[] | null, fileName?: any, ...omit: any[]) => void;
3
+ /**
4
+ * Excel 文件上传并解析
5
+ * @param file 上传的文件信息
6
+ * @param fieldMap 字段映射,{ [原始字段]:[导入后需要解析转换的字段] }
7
+ * @param dataOptions 导入成功之后每行都会执行此函数
8
+ * @returns 异步函数,会直接包含解析的数据源
9
+ */
10
+ export declare const importExcel: (file: Blob | undefined, fieldMap?: any, dataOptions?: (record: any, index: any) => any, importOptions?: {
11
+ rowStart: number;
12
+ }) => Promise<any[]>;
13
+ /**
14
+ * Excel 文件上传并解析
15
+ * @param file 上传的文件信息
16
+ * @param fieldMap 字段映射,{ [原始字段]:[导入后需要解析转换的字段] }
17
+ * @param dataOptions 导入成功之后每行都会执行此函数
18
+ * @returns 异步函数,会直接包含解析的数据源
19
+ */
20
+ export declare const ImpoertExcelTemplateHeader: (file: Blob | undefined, importOptions?: {
21
+ rowStart: number;
22
+ }) => Promise<any[]>;
@@ -0,0 +1,153 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import moment from 'moment';
8
+ import { read, utils, writeFile } from 'xlsx';
9
+ export var exportExcelTemp = function exportExcelTemp(columns) {
10
+ var fileName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '导出文件模板';
11
+ for (var _len = arguments.length, omit = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
12
+ omit[_key - 2] = arguments[_key];
13
+ }
14
+ var header = columns.reduce(function (obj, cur) {
15
+ if (cur.noShow || omit && omit.includes(cur.dataIndex || cur.key)) return obj;
16
+ return _objectSpread(_objectSpread({}, obj), {}, _defineProperty({}, cur.title, ''));
17
+ }, {});
18
+ var worksheet = utils.json_to_sheet([header]);
19
+ var workbook = utils.book_new();
20
+ utils.book_append_sheet(workbook, worksheet);
21
+ writeFile(workbook, "".concat(fileName, ".xls"), {
22
+ bookType: 'xls',
23
+ bookSST: false,
24
+ type: 'base64' // 编码方式
25
+ });
26
+ };
27
+ export var exportExcel = function exportExcel(columns, data) {
28
+ var fileName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '导出文件';
29
+ for (var _len2 = arguments.length, omit = new Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++) {
30
+ omit[_key2 - 3] = arguments[_key2];
31
+ }
32
+ if (!(data === null || data !== null && data !== void 0 && data.length)) {
33
+ // eslint-disable-next-line no-alert
34
+ alert('没有要导出的数据');
35
+ return;
36
+ }
37
+ var keys = [];
38
+ var keyMap = columns.reduce(function (obj, cur) {
39
+ if (cur.noShow || omit && omit.includes(cur.dataIndex || cur.key)) return obj;
40
+ keys.push(cur.dataIndex || cur.key);
41
+ return _objectSpread(_objectSpread({}, obj), {}, _defineProperty({}, cur.dataIndex || cur.key, cur.title));
42
+ }, {});
43
+ var newData = data === null || data === void 0 ? void 0 : data.reduce(function (arr, cur) {
44
+ var newObj = keys.reduce(function (newCur, key) {
45
+ return _objectSpread(_objectSpread({}, newCur), {}, _defineProperty({}, keyMap[key], cur[key] === undefined || cur[key] === null ? '' : cur[key]));
46
+ }, {});
47
+ arr.push(newObj);
48
+ return arr;
49
+ }, []);
50
+ var worksheet = utils.json_to_sheet(newData);
51
+ var workbook = utils.book_new();
52
+ utils.book_append_sheet(workbook, worksheet);
53
+ writeFile(workbook, "".concat(fileName).concat(moment().format('x'), ".xls"), {
54
+ bookType: 'xls',
55
+ bookSST: false,
56
+ type: 'base64' // 编码方式
57
+ });
58
+ };
59
+
60
+ /**
61
+ * Excel 文件上传并解析
62
+ * @param file 上传的文件信息
63
+ * @param fieldMap 字段映射,{ [原始字段]:[导入后需要解析转换的字段] }
64
+ * @param dataOptions 导入成功之后每行都会执行此函数
65
+ * @returns 异步函数,会直接包含解析的数据源
66
+ */
67
+ export var importExcel = function importExcel(file, fieldMap, dataOptions) {
68
+ var importOptions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {
69
+ rowStart: 1
70
+ };
71
+ return new Promise(function (resolve) {
72
+ if (file === undefined) {
73
+ throw new Error('没有要上传的文件');
74
+ }
75
+ var fileReader = new FileReader();
76
+ fileReader.onload = function (e) {
77
+ var _e$target;
78
+ var wb = read((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.result, {
79
+ type: 'binary',
80
+ cellDates: true
81
+ });
82
+ var jArray = utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]], {
83
+ header: 1,
84
+ defval: '',
85
+ rawNumbers: false
86
+ });
87
+ if (jArray.length < importOptions.rowStart) {
88
+ resolve([]);
89
+ return;
90
+ }
91
+ var sheetTitle = jArray[importOptions.rowStart - 1];
92
+ var dataSource = jArray.reduce(function (arr, cur, index) {
93
+ if (index <= importOptions.rowStart - 1) return arr;
94
+ var obj = {};
95
+ cur.forEach(function (item, itemIndex) {
96
+ var value = moment.isMoment(item) ? moment(item).format('YYYY-MM-DD HH:mm:ss') : item;
97
+ var title = sheetTitle[itemIndex];
98
+ obj[fieldMap ? fieldMap[title] : title] = value;
99
+ });
100
+ if (typeof dataOptions === 'function') {
101
+ arr.push(dataOptions(obj, index));
102
+ } else {
103
+ arr.push(obj);
104
+ }
105
+ return arr;
106
+ }, []);
107
+ resolve(dataSource);
108
+ };
109
+ fileReader.onerror = function () {
110
+ throw new Error('Blob文件转换错误');
111
+ };
112
+ fileReader.readAsBinaryString(file);
113
+ });
114
+ };
115
+
116
+ /**
117
+ * Excel 文件上传并解析
118
+ * @param file 上传的文件信息
119
+ * @param fieldMap 字段映射,{ [原始字段]:[导入后需要解析转换的字段] }
120
+ * @param dataOptions 导入成功之后每行都会执行此函数
121
+ * @returns 异步函数,会直接包含解析的数据源
122
+ */
123
+ export var ImpoertExcelTemplateHeader = function ImpoertExcelTemplateHeader(file) {
124
+ var importOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
125
+ rowStart: 1
126
+ };
127
+ return new Promise(function (resolve) {
128
+ if (file === undefined) {
129
+ throw new Error('没有要上传的文件');
130
+ }
131
+ var fileReader = new FileReader();
132
+ fileReader.onload = function (e) {
133
+ var _e$target2;
134
+ var wb = read((_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.result, {
135
+ type: 'binary',
136
+ cellDates: true
137
+ });
138
+ var jArray = utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]], {
139
+ header: 1
140
+ });
141
+ if (jArray.length < importOptions.rowStart) {
142
+ resolve([]);
143
+ return;
144
+ }
145
+ var sheetTitle = jArray[importOptions.rowStart - 1];
146
+ resolve(sheetTitle);
147
+ };
148
+ fileReader.onerror = function () {
149
+ throw new Error('Blob文件转换错误');
150
+ };
151
+ fileReader.readAsBinaryString(file);
152
+ });
153
+ };
@@ -0,0 +1,11 @@
1
+ export * from './authUtils';
2
+ export * from './cacheUtils';
3
+ export * from './chainUtils';
4
+ export * from './dateUtils';
5
+ export * from './decimalUtils';
6
+ export * from './excelUtils';
7
+ export * from './layoutUtils';
8
+ export * from './objectUtils';
9
+ export * from './soundUtils';
10
+ export * from './stringUtils';
11
+ export * from './sysUtils';
@@ -0,0 +1,11 @@
1
+ export * from "./authUtils";
2
+ export * from "./cacheUtils";
3
+ export * from "./chainUtils";
4
+ export * from "./dateUtils";
5
+ export * from "./decimalUtils";
6
+ export * from "./excelUtils";
7
+ export * from "./layoutUtils";
8
+ export * from "./objectUtils";
9
+ export * from "./soundUtils";
10
+ export * from "./stringUtils";
11
+ export * from "./sysUtils";
@@ -0,0 +1 @@
1
+ export declare const calcOperationLayout: (num: number) => {};
@@ -0,0 +1,13 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import { FORM_COL_LAYOUT } from "../constant";
8
+ export var calcOperationLayout = function calcOperationLayout(num) {
9
+ return Object.keys(FORM_COL_LAYOUT.default).reduce(function (obj, current) {
10
+ var currentSpan = 24 - FORM_COL_LAYOUT.default[current].span * num % 24;
11
+ return _objectSpread(_objectSpread({}, obj), {}, _defineProperty({}, current, currentSpan === 0 ? 24 : currentSpan));
12
+ }, {});
13
+ };
@@ -0,0 +1 @@
1
+ export declare const IsObjEmpty: (obj: any) => boolean;
@@ -0,0 +1,3 @@
1
+ export var IsObjEmpty = function IsObjEmpty(obj) {
2
+ return !obj || obj === '' || obj === null;
3
+ };
@@ -0,0 +1,5 @@
1
+ export type SoundAudioType = 'error' | 'ding';
2
+ export declare class Sound {
3
+ private static audioList;
4
+ static playAudio(type: SoundAudioType): void;
5
+ }
@@ -0,0 +1,29 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ var soundAudioMap = {
9
+ error: '/sounds/error.wav',
10
+ ding: '/sounds/ding.wav'
11
+ };
12
+ export var Sound = /*#__PURE__*/function () {
13
+ function Sound() {
14
+ _classCallCheck(this, Sound);
15
+ }
16
+ _createClass(Sound, null, [{
17
+ key: "playAudio",
18
+ value: function playAudio(type) {
19
+ var instance = this.audioList[type];
20
+ if (instance === undefined || instance === null) {
21
+ instance = new Audio(soundAudioMap[type]);
22
+ instance.load();
23
+ }
24
+ instance.play();
25
+ }
26
+ }]);
27
+ return Sound;
28
+ }();
29
+ _defineProperty(Sound, "audioList", {});
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 判断字符串是否为 '' | null | undefined
3
+ * @param str 传入字符串
4
+ */
5
+ export declare const IsStrEmpty: (str: string) => boolean;
6
+ /**
7
+ * 判断字符串不为 '' | null | undefined
8
+ * @param str 传入字符串
9
+ */
10
+ export declare const NotStrEmpty: (str: string) => boolean;
11
+ /**
12
+ * 当字符串为空时,返回当前设置的默认值,默认为 undefined
13
+ *
14
+ * *避免代码中到处的三元运算*
15
+ *
16
+ * @param str 传入字符串
17
+ * @param defaultValue 设置默认值
18
+ */
19
+ export declare const SetValueStrEmpty: <T = string>(str: string, defaultValue?: T) => T | string | undefined;
20
+ /**
21
+ * 判断字符串包含的字符是不是有效的浮点数类型(包含所有数字类型)
22
+ * @param str 传入字符串
23
+ */
24
+ export declare const IsStrFloatNum: (str: string) => boolean;
@@ -0,0 +1,39 @@
1
+ // 字符串工具类
2
+
3
+ /**
4
+ * 判断字符串是否为 '' | null | undefined
5
+ * @param str 传入字符串
6
+ */
7
+ export var IsStrEmpty = function IsStrEmpty(str) {
8
+ return !!str || str === '' || str === null;
9
+ };
10
+
11
+ /**
12
+ * 判断字符串不为 '' | null | undefined
13
+ * @param str 传入字符串
14
+ */
15
+ export var NotStrEmpty = function NotStrEmpty(str) {
16
+ return !IsStrEmpty(str);
17
+ };
18
+
19
+ /**
20
+ * 当字符串为空时,返回当前设置的默认值,默认为 undefined
21
+ *
22
+ * *避免代码中到处的三元运算*
23
+ *
24
+ * @param str 传入字符串
25
+ * @param defaultValue 设置默认值
26
+ */
27
+ export var SetValueStrEmpty = function SetValueStrEmpty(str) {
28
+ var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
29
+ return IsStrEmpty(str) ? defaultValue : str;
30
+ };
31
+
32
+ /**
33
+ * 判断字符串包含的字符是不是有效的浮点数类型(包含所有数字类型)
34
+ * @param str 传入字符串
35
+ */
36
+ export var IsStrFloatNum = function IsStrFloatNum(str) {
37
+ var num = Number.parseFloat(str);
38
+ return !Number.isNaN(num);
39
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 判断是否为子系统
3
+ */
4
+ export declare const IsSubSYS: boolean;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 判断是否为子系统
3
+ */
4
+ export var IsSubSYS = self !== top;
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "wt-enjoy-link-antd-repack",
3
+ "version": "4.1.17",
4
+ "description": "纷享链业务组件",
5
+ "sideEffects": false,
6
+ "main": "dist/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "typings": "dist/esm/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "start": "dumi dev",
14
+ "start:hot-rebuild": "father dev",
15
+ "build": "father build",
16
+ "repack": "pnpm run build && pnpm publish --no-git-checks && npx cnpm sync enjoy-link-antd-repack"
17
+ },
18
+ "dependencies": {
19
+ "@amap/amap-jsapi-loader": "^1.0.1",
20
+ "@ant-design/icons": "^5.3.0",
21
+ "ahooks": "^3.7.9",
22
+ "antd": "^4.24.14",
23
+ "classnames": "^2.5.1",
24
+ "dumi": "^2.2.17",
25
+ "idb": "^7.1.1",
26
+ "jsbarcode": "^3.11.6",
27
+ "lodash": "^4.17.20",
28
+ "moment": "^2.30.1",
29
+ "path": "^0.12.7",
30
+ "react": "^18.2.0",
31
+ "react-dom": "^18.2.0",
32
+ "react-drag-listview": "^2.0.0",
33
+ "react-draggable": "^4.4.6",
34
+ "react-resizable": "^3.0.5",
35
+ "react-window": "^1.8.10",
36
+ "styled-components": "^6.1.8",
37
+ "umi-request": "^1.3.9",
38
+ "use-media-antd-query": "^1.1.0",
39
+ "xlsx": "^0.18.5"
40
+ },
41
+ "devDependencies": {
42
+ "@types/lodash": "^4.14.202",
43
+ "@types/node": "^20.11.14",
44
+ "@types/react": "^18.2.48",
45
+ "@types/react-dom": "^18.2.17",
46
+ "@types/react-resizable": "^3.0.7",
47
+ "@types/react-window": "^1.8.8",
48
+ "@umijs/fabric": "^4.0.1",
49
+ "eslint": "^8.54.0",
50
+ "eslint-import-resolver-typescript": "^3.6.1",
51
+ "eslint-plugin-import": "^2.29.0",
52
+ "father": "^4.4.0",
53
+ "prettier": "^3.2.4",
54
+ "typescript": "^5.3.2"
55
+ },
56
+ "publishConfig": {
57
+ "registry": "https://registry.npmjs.org"
58
+ }
59
+ }