@hi-ui/table 4.0.0-beta.9 → 4.0.2

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 (260) hide show
  1. package/README.md +48 -45
  2. package/lib/cjs/BaseTable.js +29 -25
  3. package/lib/cjs/Table.js +44 -27
  4. package/lib/cjs/TableAdvancedFilter.js +38 -24
  5. package/lib/cjs/TableBody.js +12 -13
  6. package/lib/cjs/TableCell.js +10 -11
  7. package/lib/cjs/TableColumnMenu.js +27 -23
  8. package/lib/cjs/TableEmbedRow.js +4 -5
  9. package/lib/cjs/TableHeader.js +21 -13
  10. package/lib/cjs/TableRow.js +18 -18
  11. package/lib/cjs/TableSettingMenu.js +34 -42
  12. package/lib/cjs/context.js +1 -2
  13. package/lib/cjs/hooks/use-async-switch.js +5 -6
  14. package/lib/cjs/hooks/use-check.js +39 -17
  15. package/lib/cjs/hooks/use-col-hidden.js +1 -2
  16. package/lib/cjs/hooks/use-col-sorter.js +43 -18
  17. package/lib/cjs/hooks/use-col-width.js +7 -8
  18. package/lib/cjs/hooks/use-colgroup.js +10 -5
  19. package/lib/cjs/hooks/use-drag.js +8 -9
  20. package/lib/cjs/hooks/use-embed-expand.js +4 -5
  21. package/lib/cjs/hooks/use-expand.js +2 -5
  22. package/lib/cjs/hooks/use-pagination.js +4 -5
  23. package/lib/cjs/hooks/use-queue.js +1 -2
  24. package/lib/cjs/icons/index.js +5 -6
  25. package/lib/cjs/index.js +1 -2
  26. package/lib/cjs/styles/index.scss.js +3 -4
  27. package/lib/cjs/use-table.js +38 -29
  28. package/lib/cjs/utils/index.js +10 -8
  29. package/lib/esm/BaseTable.js +11 -7
  30. package/lib/esm/Table.js +36 -19
  31. package/lib/esm/TableAdvancedFilter.js +28 -14
  32. package/lib/esm/TableBody.js +1 -2
  33. package/lib/esm/TableCell.js +2 -3
  34. package/lib/esm/TableColumnMenu.js +12 -8
  35. package/lib/esm/TableEmbedRow.js +1 -2
  36. package/lib/esm/TableHeader.js +11 -4
  37. package/lib/esm/TableRow.js +8 -8
  38. package/lib/esm/TableSettingMenu.js +17 -25
  39. package/lib/esm/context.js +1 -2
  40. package/lib/esm/hooks/use-async-switch.js +1 -2
  41. package/lib/esm/hooks/use-check.js +36 -14
  42. package/lib/esm/hooks/use-col-hidden.js +1 -2
  43. package/lib/esm/hooks/use-col-sorter.js +42 -19
  44. package/lib/esm/hooks/use-col-width.js +1 -2
  45. package/lib/esm/hooks/use-colgroup.js +7 -2
  46. package/lib/esm/hooks/use-drag.js +7 -8
  47. package/lib/esm/hooks/use-embed-expand.js +1 -2
  48. package/lib/esm/hooks/use-expand.js +2 -5
  49. package/lib/esm/hooks/use-pagination.js +1 -2
  50. package/lib/esm/hooks/use-queue.js +1 -2
  51. package/lib/esm/icons/index.js +1 -2
  52. package/lib/esm/index.js +1 -2
  53. package/lib/esm/styles/index.scss.js +4 -6
  54. package/lib/esm/use-table.js +31 -22
  55. package/lib/esm/utils/index.js +10 -8
  56. package/lib/types/BaseTable.d.ts +12 -4
  57. package/lib/types/Table.d.ts +9 -5
  58. package/lib/types/TableAdvancedFilter.d.ts +4 -2
  59. package/lib/types/TableColumnMenu.d.ts +2 -0
  60. package/lib/types/context.d.ts +9 -7
  61. package/lib/types/hooks/use-col-sorter.d.ts +6 -7
  62. package/lib/types/hooks/use-drag.d.ts +2 -1
  63. package/lib/types/types.d.ts +108 -24
  64. package/lib/types/use-table.d.ts +20 -5
  65. package/lib/types/utils/index.d.ts +1 -1
  66. package/package.json +36 -31
  67. package/lib/cjs/BaseTable.js.map +0 -1
  68. package/lib/cjs/Table.js.map +0 -1
  69. package/lib/cjs/TableAdvancedFilter.js.map +0 -1
  70. package/lib/cjs/TableBody.js.map +0 -1
  71. package/lib/cjs/TableCell.js.map +0 -1
  72. package/lib/cjs/TableColumnMenu.js.map +0 -1
  73. package/lib/cjs/TableEmbedRow.js.map +0 -1
  74. package/lib/cjs/TableHeader.js.map +0 -1
  75. package/lib/cjs/TableRow.js.map +0 -1
  76. package/lib/cjs/TableSettingMenu.js.map +0 -1
  77. package/lib/cjs/context.js.map +0 -1
  78. package/lib/cjs/hooks/use-async-switch.js.map +0 -1
  79. package/lib/cjs/hooks/use-check.js.map +0 -1
  80. package/lib/cjs/hooks/use-col-hidden.js.map +0 -1
  81. package/lib/cjs/hooks/use-col-sorter.js.map +0 -1
  82. package/lib/cjs/hooks/use-col-width.js.map +0 -1
  83. package/lib/cjs/hooks/use-colgroup.js.map +0 -1
  84. package/lib/cjs/hooks/use-drag-sorter/lib/esm/index.js +0 -287
  85. package/lib/cjs/hooks/use-drag-sorter/lib/esm/index.js.map +0 -1
  86. package/lib/cjs/hooks/use-drag.js.map +0 -1
  87. package/lib/cjs/hooks/use-embed-expand.js.map +0 -1
  88. package/lib/cjs/hooks/use-expand.js.map +0 -1
  89. package/lib/cjs/hooks/use-pagination.js.map +0 -1
  90. package/lib/cjs/hooks/use-queue.js.map +0 -1
  91. package/lib/cjs/icons/index.js.map +0 -1
  92. package/lib/cjs/index.js.map +0 -1
  93. package/lib/cjs/styles/index.scss.js.map +0 -1
  94. package/lib/cjs/use-table.js.map +0 -1
  95. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js +0 -29
  96. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js.map +0 -1
  97. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js +0 -27
  98. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
  99. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js +0 -29
  100. package/lib/cjs/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js.map +0 -1
  101. package/lib/cjs/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js +0 -29
  102. package/lib/cjs/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js.map +0 -1
  103. package/lib/cjs/utils/func-utils/lib/esm/index.js +0 -62
  104. package/lib/cjs/utils/func-utils/lib/esm/index.js.map +0 -1
  105. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js +0 -37
  106. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js.map +0 -1
  107. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Map.js +0 -37
  108. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Map.js.map +0 -1
  109. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js +0 -37
  110. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js.map +0 -1
  111. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Set.js +0 -37
  112. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Set.js.map +0 -1
  113. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js +0 -34
  114. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js.map +0 -1
  115. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js +0 -37
  116. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js.map +0 -1
  117. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js +0 -60
  118. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
  119. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js +0 -49
  120. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js.map +0 -1
  121. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js +0 -80
  122. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js.map +0 -1
  123. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js +0 -63
  124. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js.map +0 -1
  125. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js +0 -34
  126. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js.map +0 -1
  127. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js +0 -33
  128. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js.map +0 -1
  129. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js +0 -36
  130. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
  131. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js +0 -48
  132. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js.map +0 -1
  133. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js +0 -77
  134. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js.map +0 -1
  135. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js +0 -96
  136. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js.map +0 -1
  137. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js +0 -40
  138. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js.map +0 -1
  139. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js +0 -50
  140. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js.map +0 -1
  141. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js +0 -28
  142. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js.map +0 -1
  143. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js +0 -58
  144. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js.map +0 -1
  145. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js +0 -49
  146. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js.map +0 -1
  147. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_root.js +0 -39
  148. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_root.js.map +0 -1
  149. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js +0 -55
  150. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js.map +0 -1
  151. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js +0 -61
  152. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js.map +0 -1
  153. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js +0 -67
  154. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js.map +0 -1
  155. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js +0 -69
  156. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js.map +0 -1
  157. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObject.js +0 -72
  158. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObject.js.map +0 -1
  159. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js +0 -69
  160. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js.map +0 -1
  161. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js +0 -45
  162. package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js.map +0 -1
  163. package/lib/cjs/utils/index.js.map +0 -1
  164. package/lib/esm/BaseTable.js.map +0 -1
  165. package/lib/esm/Table.js.map +0 -1
  166. package/lib/esm/TableAdvancedFilter.js.map +0 -1
  167. package/lib/esm/TableBody.js.map +0 -1
  168. package/lib/esm/TableCell.js.map +0 -1
  169. package/lib/esm/TableColumnMenu.js.map +0 -1
  170. package/lib/esm/TableEmbedRow.js.map +0 -1
  171. package/lib/esm/TableHeader.js.map +0 -1
  172. package/lib/esm/TableRow.js.map +0 -1
  173. package/lib/esm/TableSettingMenu.js.map +0 -1
  174. package/lib/esm/context.js.map +0 -1
  175. package/lib/esm/hooks/use-async-switch.js.map +0 -1
  176. package/lib/esm/hooks/use-check.js.map +0 -1
  177. package/lib/esm/hooks/use-col-hidden.js.map +0 -1
  178. package/lib/esm/hooks/use-col-sorter.js.map +0 -1
  179. package/lib/esm/hooks/use-col-width.js.map +0 -1
  180. package/lib/esm/hooks/use-colgroup.js.map +0 -1
  181. package/lib/esm/hooks/use-drag-sorter/lib/esm/index.js +0 -264
  182. package/lib/esm/hooks/use-drag-sorter/lib/esm/index.js.map +0 -1
  183. package/lib/esm/hooks/use-drag.js.map +0 -1
  184. package/lib/esm/hooks/use-embed-expand.js.map +0 -1
  185. package/lib/esm/hooks/use-expand.js.map +0 -1
  186. package/lib/esm/hooks/use-pagination.js.map +0 -1
  187. package/lib/esm/hooks/use-queue.js.map +0 -1
  188. package/lib/esm/icons/index.js.map +0 -1
  189. package/lib/esm/index.js.map +0 -1
  190. package/lib/esm/styles/index.scss.js.map +0 -1
  191. package/lib/esm/use-table.js.map +0 -1
  192. package/lib/esm/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js +0 -24
  193. package/lib/esm/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js.map +0 -1
  194. package/lib/esm/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js +0 -22
  195. package/lib/esm/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
  196. package/lib/esm/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js +0 -24
  197. package/lib/esm/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js.map +0 -1
  198. package/lib/esm/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js +0 -24
  199. package/lib/esm/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js.map +0 -1
  200. package/lib/esm/utils/func-utils/lib/esm/index.js +0 -45
  201. package/lib/esm/utils/func-utils/lib/esm/index.js.map +0 -1
  202. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js +0 -29
  203. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js.map +0 -1
  204. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Map.js +0 -29
  205. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Map.js.map +0 -1
  206. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js +0 -29
  207. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js.map +0 -1
  208. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Set.js +0 -29
  209. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Set.js.map +0 -1
  210. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js +0 -27
  211. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js.map +0 -1
  212. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js +0 -29
  213. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js.map +0 -1
  214. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js +0 -51
  215. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
  216. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js +0 -41
  217. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js.map +0 -1
  218. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js +0 -70
  219. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js.map +0 -1
  220. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js +0 -59
  221. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js.map +0 -1
  222. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js +0 -27
  223. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js.map +0 -1
  224. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js +0 -30
  225. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js.map +0 -1
  226. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js +0 -17
  227. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
  228. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js +0 -40
  229. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js.map +0 -1
  230. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js +0 -70
  231. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js.map +0 -1
  232. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js +0 -87
  233. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js.map +0 -1
  234. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js +0 -35
  235. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js.map +0 -1
  236. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js +0 -43
  237. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js.map +0 -1
  238. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js +0 -25
  239. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js.map +0 -1
  240. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js +0 -54
  241. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js.map +0 -1
  242. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js +0 -44
  243. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js.map +0 -1
  244. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_root.js +0 -21
  245. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_root.js.map +0 -1
  246. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js +0 -50
  247. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js.map +0 -1
  248. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js +0 -57
  249. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js.map +0 -1
  250. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js +0 -62
  251. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js.map +0 -1
  252. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js +0 -61
  253. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js.map +0 -1
  254. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObject.js +0 -55
  255. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObject.js.map +0 -1
  256. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js +0 -52
  257. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js.map +0 -1
  258. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js +0 -40
  259. package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js.map +0 -1
  260. package/lib/esm/utils/index.js.map +0 -1
@@ -1,21 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import _typeof from '@babel/runtime/helpers/esm/typeof';
11
- import _freeGlobal from './_freeGlobal.js';
12
- var freeGlobal = _freeGlobal;
13
- /** Detect free variable `self`. */
14
-
15
- var freeSelf = (typeof self === "undefined" ? "undefined" : _typeof(self)) == 'object' && self && self.Object === Object && self;
16
- /** Used as a reference to the global object. */
17
-
18
- var root = freeGlobal || freeSelf || Function('return this')();
19
- var _root = root;
20
- export default _root;
21
- //# sourceMappingURL=_root.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_root.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_root.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _freeGlobal from './_freeGlobal.js';\nvar freeGlobal = _freeGlobal;\n/** Detect free variable `self`. */\n\nvar freeSelf = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\nvar _root = root;\nexport default _root;\n//# sourceMappingURL=_root.js.map\n"],"names":["freeGlobal","_freeGlobal","freeSelf","self","_typeof","Object","root","Function","_root"],"mappings":";;;;;;;;;;;AAYA,IAAIA,UAAU,GAAGC,WAAjB;AACA;;AAEA,IAAIC,QAAQ,GAAG,CAAC,OAAOC,IAAP,KAAgB,WAAhB,GAA8B,WAA9B,GAA4CC,OAAO,CAACD,IAAD,CAApD,KAA+D,QAA/D,IAA2EA,IAA3E,IAAmFA,IAAI,CAACE,MAAL,KAAgBA,MAAnG,IAA6GF,IAA5H;AACA;;AAEA,IAAIG,IAAI,GAAGN,UAAU,IAAIE,QAAd,IAA0BK,QAAQ,CAAC,aAAD,CAAR,EAArC;AACG,IAACC,KAAK,GAAGF,IAAT;"}
@@ -1,50 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- /** @LICENSE
12
- * @hi-ui/func-utils
13
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
14
- *
15
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
-
21
- /** Used for built-in method references. */
22
- var funcProto = Function.prototype;
23
- /** Used to resolve the decompiled source of functions. */
24
-
25
- var funcToString = funcProto.toString;
26
- /**
27
- * Converts `func` to its source code.
28
- *
29
- * @private
30
- * @param {Function} func The function to convert.
31
- * @returns {string} Returns the source code.
32
- */
33
-
34
- function toSource(func) {
35
- if (func != null) {
36
- try {
37
- return funcToString.call(func);
38
- } catch (e) {}
39
-
40
- try {
41
- return func + '';
42
- } catch (e) {}
43
- }
44
-
45
- return '';
46
- }
47
-
48
- var _toSource = toSource;
49
- export default _toSource;
50
- //# sourceMappingURL=_toSource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_toSource.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_toSource.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n\n try {\n return func + '';\n } catch (e) {}\n }\n\n return '';\n}\n\nvar _toSource = toSource;\nexport default _toSource;\n//# sourceMappingURL=_toSource.js.map\n"],"names":["funcProto","Function","prototype","funcToString","toString","toSource","func","call","e","_toSource"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAIA,SAAS,GAAGC,QAAQ,CAACC,SAAzB;AACA;;AAEA,IAAIC,YAAY,GAAGH,SAAS,CAACI,QAA7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,QAAT,CAAkBC,IAAlB,EAAwB;AACtB,MAAIA,IAAI,IAAI,IAAZ,EAAkB;AAChB,QAAI;AACF,aAAOH,YAAY,CAACI,IAAb,CAAkBD,IAAlB,CAAP;AACD,KAFD,CAEE,OAAOE,CAAP,EAAU,CAAE;;AAEd,QAAI;AACF,aAAOF,IAAI,GAAG,EAAd;AACD,KAFD,CAEE,OAAOE,CAAP,EAAU,CAAE;AACf;;AAED,SAAO,EAAP;AACD;;AAEE,IAACC,SAAS,GAAGJ,QAAb;"}
@@ -1,57 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import _baseIsArguments from './_baseIsArguments.js';
11
- import isObjectLike_1 from './isObjectLike.js';
12
- /** @LICENSE
13
- * @hi-ui/func-utils
14
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
15
- *
16
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
17
- *
18
- * This source code is licensed under the MIT license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- */
21
-
22
- var baseIsArguments = _baseIsArguments,
23
- isObjectLike = isObjectLike_1;
24
- /** Used for built-in method references. */
25
-
26
- var objectProto = Object.prototype;
27
- /** Used to check objects for own properties. */
28
-
29
- var hasOwnProperty = objectProto.hasOwnProperty;
30
- /** Built-in value references. */
31
-
32
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
33
- /**
34
- * Checks if `value` is likely an `arguments` object.
35
- *
36
- * @static
37
- * @memberOf _
38
- * @since 0.1.0
39
- * @category Lang
40
- * @param {*} value The value to check.
41
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
42
- * else `false`.
43
- * @example
44
- *
45
- * _.isArguments(function() { return arguments; }());
46
- * // => true
47
- *
48
- * _.isArguments([1, 2, 3]);
49
- * // => false
50
- */
51
-
52
- baseIsArguments(function () {
53
- return arguments;
54
- }()) ? baseIsArguments : function (value) {
55
- return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');
56
- };
57
- //# sourceMappingURL=isArguments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isArguments.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/isArguments.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike_1 from './isObjectLike.js';\nvar baseIsArguments = _baseIsArguments,\n isObjectLike = isObjectLike_1;\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/** Built-in value references. */\n\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n\nvar isArguments = baseIsArguments(function () {\n return arguments;\n}()) ? baseIsArguments : function (value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n};\nvar isArguments_1 = isArguments;\nexport default isArguments_1;\n//# sourceMappingURL=isArguments.js.map\n"],"names":["baseIsArguments","_baseIsArguments","isObjectLike","isObjectLike_1","objectProto","Object","prototype","hasOwnProperty","propertyIsEnumerable","arguments","value","call"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,IAAIA,eAAe,GAAGC,gBAAtB;AAAA,IACIC,YAAY,GAAGC,cADnB;AAEA;;AAEA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AACA;;AAEA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AACA;;AAEA,IAAIC,oBAAoB,GAAGJ,WAAW,CAACI,oBAAvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkBR,eAAe,CAAC,YAAY;AAC5C,SAAOS,SAAP;AACD,CAFiC,EAAD,CAAf,GAEXT,eAFW,GAEO,UAAUU,KAAV,EAAiB;AACxC,SAAOR,YAAY,CAACQ,KAAD,CAAZ,IAAuBH,cAAc,CAACI,IAAf,CAAoBD,KAApB,EAA2B,QAA3B,CAAvB,IAA+D,CAACF,oBAAoB,CAACG,IAArB,CAA0BD,KAA1B,EAAiC,QAAjC,CAAvE;CAHgB"}
@@ -1,62 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import { i as isBuffer } from '../../_virtual/isBuffer.js_commonjs-module.js';
11
- import _root from './_root.js';
12
- import stubFalse_1 from './stubFalse.js';
13
- /** @LICENSE
14
- * @hi-ui/func-utils
15
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
16
- *
17
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
18
- *
19
- * This source code is licensed under the MIT license found in the
20
- * LICENSE file in the root directory of this source tree.
21
- */
22
-
23
- (function (module, exports) {
24
- var root = _root,
25
- stubFalse = stubFalse_1;
26
- /** Detect free variable `exports`. */
27
-
28
- var freeExports = exports && !exports.nodeType && exports;
29
- /** Detect free variable `module`. */
30
-
31
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
32
- /** Detect the popular CommonJS extension `module.exports`. */
33
-
34
- var moduleExports = freeModule && freeModule.exports === freeExports;
35
- /** Built-in value references. */
36
-
37
- var Buffer = moduleExports ? root.Buffer : undefined;
38
- /* Built-in method references for those with the same name as other `lodash` methods. */
39
-
40
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
41
- /**
42
- * Checks if `value` is a buffer.
43
- *
44
- * @static
45
- * @memberOf _
46
- * @since 4.3.0
47
- * @category Lang
48
- * @param {*} value The value to check.
49
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
50
- * @example
51
- *
52
- * _.isBuffer(new Buffer(2));
53
- * // => true
54
- *
55
- * _.isBuffer(new Uint8Array(2));
56
- * // => false
57
- */
58
-
59
- var isBuffer = nativeIsBuffer || stubFalse;
60
- module.exports = isBuffer;
61
- })(isBuffer, isBuffer.exports);
62
- //# sourceMappingURL=isBuffer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isBuffer.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { i as isBuffer } from '../../_virtual/isBuffer.js_commonjs-module';\nimport _root from './_root.js';\nimport stubFalse_1 from './stubFalse.js';\n\n(function (module, exports) {\n var root = _root,\n stubFalse = stubFalse_1;\n /** Detect free variable `exports`. */\n\n var freeExports = exports && !exports.nodeType && exports;\n /** Detect free variable `module`. */\n\n var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;\n /** Detect the popular CommonJS extension `module.exports`. */\n\n var moduleExports = freeModule && freeModule.exports === freeExports;\n /** Built-in value references. */\n\n var Buffer = moduleExports ? root.Buffer : undefined;\n /* Built-in method references for those with the same name as other `lodash` methods. */\n\n var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n\n var isBuffer = nativeIsBuffer || stubFalse;\n module.exports = isBuffer;\n})(isBuffer, isBuffer.exports);\n//# sourceMappingURL=isBuffer.js.map\n"],"names":["module","exports","root","_root","stubFalse","stubFalse_1","freeExports","nodeType","freeModule","moduleExports","Buffer","undefined","nativeIsBuffer","isBuffer"],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKA,CAAC,UAAUA,MAAV,EAAkBC,OAAlB,EAA2B;AAC1B,MAAIC,IAAI,GAAGC,KAAX;AAAA,MACIC,SAAS,GAAGC,WADhB;;;AAIA,MAAIC,WAAW,GAAGL,OAAO,IAAI,CAACA,OAAO,CAACM,QAApB,IAAgCN,OAAlD;;;AAGA,MAAIO,UAAU,GAAGF,WAAW,IAAI,YAAY,QAA3B,IAAuCN,MAAvC,IAAiD,CAACA,MAAM,CAACO,QAAzD,IAAqEP,MAAtF;;;AAGA,MAAIS,aAAa,GAAGD,UAAU,IAAIA,UAAU,CAACP,OAAX,KAAuBK,WAAzD;;;AAGA,MAAII,MAAM,GAAGD,aAAa,GAAGP,IAAI,CAACQ,MAAR,GAAiBC,SAA3C;;;AAGA,MAAIC,cAAc,GAAGF,MAAM,GAAGA,MAAM,CAACG,QAAV,GAAqBF,SAAhD;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEE,MAAIE,QAAQ,GAAGD,cAAc,IAAIR,SAAjC;AACAJ,EAAAA,MAAM,CAACC,OAAP,GAAiBY,QAAjB;AACD,CAtCD,EAsCGA,QAtCH,EAsCaA,QAAQ,CAACZ,OAtCtB"}
@@ -1,61 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import _baseGetTag from './_baseGetTag.js';
11
- import isObject_1 from './isObject.js';
12
- /** @LICENSE
13
- * @hi-ui/func-utils
14
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
15
- *
16
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
17
- *
18
- * This source code is licensed under the MIT license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- */
21
-
22
- var baseGetTag = _baseGetTag,
23
- isObject = isObject_1;
24
- /** `Object#toString` result references. */
25
-
26
- var asyncTag = '[object AsyncFunction]',
27
- funcTag = '[object Function]',
28
- genTag = '[object GeneratorFunction]',
29
- proxyTag = '[object Proxy]';
30
- /**
31
- * Checks if `value` is classified as a `Function` object.
32
- *
33
- * @static
34
- * @memberOf _
35
- * @since 0.1.0
36
- * @category Lang
37
- * @param {*} value The value to check.
38
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
39
- * @example
40
- *
41
- * _.isFunction(_);
42
- * // => true
43
- *
44
- * _.isFunction(/abc/);
45
- * // => false
46
- */
47
-
48
- function isFunction(value) {
49
- if (!isObject(value)) {
50
- return false;
51
- } // The use of `Object#toString` avoids issues with the `typeof` operator
52
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
53
-
54
-
55
- var tag = baseGetTag(value);
56
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
57
- }
58
-
59
- var isFunction_1 = isFunction;
60
- export default isFunction_1;
61
- //# sourceMappingURL=isFunction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isFunction.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/isFunction.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _baseGetTag from './_baseGetTag.js';\nimport isObject_1 from './isObject.js';\nvar baseGetTag = _baseGetTag,\n isObject = isObject_1;\n/** `Object#toString` result references. */\n\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n } // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n\n\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nvar isFunction_1 = isFunction;\nexport default isFunction_1;\n//# sourceMappingURL=isFunction.js.map\n"],"names":["baseGetTag","_baseGetTag","isObject","isObject_1","asyncTag","funcTag","genTag","proxyTag","isFunction","value","tag","isFunction_1"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,IAAIA,UAAU,GAAGC,WAAjB;AAAA,IACIC,QAAQ,GAAGC,UADf;AAEA;;AAEA,IAAIC,QAAQ,GAAG,wBAAf;AAAA,IACIC,OAAO,GAAG,mBADd;AAAA,IAEIC,MAAM,GAAG,4BAFb;AAAA,IAGIC,QAAQ,GAAG,gBAHf;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,UAAT,CAAoBC,KAApB,EAA2B;AACzB,MAAI,CAACP,QAAQ,CAACO,KAAD,CAAb,EAAsB;AACpB,WAAO,KAAP;AACD,GAHwB;;;;AAOzB,MAAIC,GAAG,GAAGV,UAAU,CAACS,KAAD,CAApB;AACA,SAAOC,GAAG,IAAIL,OAAP,IAAkBK,GAAG,IAAIJ,MAAzB,IAAmCI,GAAG,IAAIN,QAA1C,IAAsDM,GAAG,IAAIH,QAApE;AACD;;AAEE,IAACI,YAAY,GAAGH,UAAhB;"}
@@ -1,55 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import _typeof from '@babel/runtime/helpers/esm/typeof';
11
- /** @LICENSE
12
- * @hi-ui/func-utils
13
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
14
- *
15
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
-
21
- /**
22
- * Checks if `value` is the
23
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
24
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
25
- *
26
- * @static
27
- * @memberOf _
28
- * @since 0.1.0
29
- * @category Lang
30
- * @param {*} value The value to check.
31
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
32
- * @example
33
- *
34
- * _.isObject({});
35
- * // => true
36
- *
37
- * _.isObject([1, 2, 3]);
38
- * // => true
39
- *
40
- * _.isObject(_.noop);
41
- * // => true
42
- *
43
- * _.isObject(null);
44
- * // => false
45
- */
46
-
47
- function isObject(value) {
48
- var type = _typeof(value);
49
-
50
- return value != null && (type == 'object' || type == 'function');
51
- }
52
-
53
- var isObject_1 = isObject;
54
- export default isObject_1;
55
- //# sourceMappingURL=isObject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isObject.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/isObject.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = _typeof(value);\n\n return value != null && (type == 'object' || type == 'function');\n}\n\nvar isObject_1 = isObject;\nexport default isObject_1;\n//# sourceMappingURL=isObject.js.map\n"],"names":["isObject","value","type","_typeof","isObject_1"],"mappings":";;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASA,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,MAAIC,IAAI,GAAGC,OAAO,CAACF,KAAD,CAAlB;;AAEA,SAAOA,KAAK,IAAI,IAAT,KAAkBC,IAAI,IAAI,QAAR,IAAoBA,IAAI,IAAI,UAA9C,CAAP;AACD;;AAEE,IAACE,UAAU,GAAGJ,QAAd;"}
@@ -1,52 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- import _typeof from '@babel/runtime/helpers/esm/typeof';
11
- /** @LICENSE
12
- * @hi-ui/func-utils
13
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
14
- *
15
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
-
21
- /**
22
- * Checks if `value` is object-like. A value is object-like if it's not `null`
23
- * and has a `typeof` result of "object".
24
- *
25
- * @static
26
- * @memberOf _
27
- * @since 4.0.0
28
- * @category Lang
29
- * @param {*} value The value to check.
30
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
31
- * @example
32
- *
33
- * _.isObjectLike({});
34
- * // => true
35
- *
36
- * _.isObjectLike([1, 2, 3]);
37
- * // => true
38
- *
39
- * _.isObjectLike(_.noop);
40
- * // => false
41
- *
42
- * _.isObjectLike(null);
43
- * // => false
44
- */
45
-
46
- function isObjectLike(value) {
47
- return value != null && _typeof(value) == 'object';
48
- }
49
-
50
- var isObjectLike_1 = isObjectLike;
51
- export default isObjectLike_1;
52
- //# sourceMappingURL=isObjectLike.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isObjectLike.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && _typeof(value) == 'object';\n}\n\nvar isObjectLike_1 = isObjectLike;\nexport default isObjectLike_1;\n//# sourceMappingURL=isObjectLike.js.map\n"],"names":["isObjectLike","value","_typeof","isObjectLike_1"],"mappings":";;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASA,YAAT,CAAsBC,KAAtB,EAA6B;AAC3B,SAAOA,KAAK,IAAI,IAAT,IAAiBC,OAAO,CAACD,KAAD,CAAP,IAAkB,QAA1C;AACD;;AAEE,IAACE,cAAc,GAAGH,YAAlB;"}
@@ -1,40 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/table
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
4
- *
5
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- /** @LICENSE
12
- * @hi-ui/func-utils
13
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
14
- *
15
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
-
21
- /**
22
- * This method returns `false`.
23
- *
24
- * @static
25
- * @memberOf _
26
- * @since 4.13.0
27
- * @category Util
28
- * @returns {boolean} Returns `false`.
29
- * @example
30
- *
31
- * _.times(2, _.stubFalse);
32
- * // => [false, false]
33
- */
34
- function stubFalse() {
35
- return false;
36
- }
37
-
38
- var stubFalse_1 = stubFalse;
39
- export default stubFalse_1;
40
- //# sourceMappingURL=stubFalse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stubFalse.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nvar stubFalse_1 = stubFalse;\nexport default stubFalse_1;\n//# sourceMappingURL=stubFalse.js.map\n"],"names":["stubFalse","stubFalse_1"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,SAAT,GAAqB;AACnB,SAAO,KAAP;AACD;;AAEE,IAACC,WAAW,GAAGD,SAAf;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/utils/index.ts"],"sourcesContent":[null],"names":["setColumnsDefaultWidth","columns","defaultWidth","_columns","concat","setWidth","forEach","item","children","dataKey","width","getGroupItemWidth","baseColWidths","dig","column","Array","isArray","colWidth","isNumeric","Number","push","parseFixedColumns","index","arr","key","parentStickyWidth","stickyWidth","_parentStickyWidth","childrenItem","uuid","Math","random","toString","substring","split","join","parseLocalArray","defaultValue","localArr","window","localStorage","getItem","JSON","parse","error","checkNeedTotalOrEvg","_data","calcKey","isDataKeyValueAllNumber","every","dataItem","getTotalOrEvgRowData","c","isAvg","dataPointCountList","map","strNum","afterPonterStr","length","maxPointCount","max","columnSumData","reduce","acc","cur","avgData","toFixed"],"mappings":";;;;;;;;;;;IA0CaA,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,OAAD,EAAeC,YAAf;MAC9BC,QAAQ,GAAQF,OAAO,CAACG,MAARH;;MAEhBI,QAAQ,GAAG,SAAXA,QAAW,CAACF,QAAD;AACfA,IAAAA,QAAQ,CAACG,OAATH,CAAiB,UAACI,IAAD;UACPC,QAAR,GAAqBD,IAArB,CAAQC;;UACJA,UAAU;AACZH,QAAAA,QAAQ,CAACG,QAAD,CAARH;AADF,aAEO,IAAIE,IAAI,CAAC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