@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,80 +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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
-
16
- var isFunction$1 = require('./isFunction.js');
17
-
18
- var _isMasked = require('./_isMasked.js');
19
-
20
- var isObject$1 = require('./isObject.js');
21
-
22
- var _toSource = require('./_toSource.js');
23
- /** @LICENSE
24
- * @hi-ui/func-utils
25
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
26
- *
27
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
28
- *
29
- * This source code is licensed under the MIT license found in the
30
- * LICENSE file in the root directory of this source tree.
31
- */
32
-
33
-
34
- var isFunction = isFunction$1['default'],
35
- isMasked = _isMasked['default'],
36
- isObject = isObject$1['default'],
37
- toSource = _toSource['default'];
38
- /**
39
- * Used to match `RegExp`
40
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
41
- */
42
-
43
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
44
- /** Used to detect host constructors (Safari). */
45
-
46
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
47
- /** Used for built-in method references. */
48
-
49
- var funcProto = Function.prototype,
50
- objectProto = Object.prototype;
51
- /** Used to resolve the decompiled source of functions. */
52
-
53
- var funcToString = funcProto.toString;
54
- /** Used to check objects for own properties. */
55
-
56
- var hasOwnProperty = objectProto.hasOwnProperty;
57
- /** Used to detect if a method is native. */
58
-
59
- var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$');
60
- /**
61
- * The base implementation of `_.isNative` without bad shim checks.
62
- *
63
- * @private
64
- * @param {*} value The value to check.
65
- * @returns {boolean} Returns `true` if `value` is a native function,
66
- * else `false`.
67
- */
68
-
69
- function baseIsNative(value) {
70
- if (!isObject(value) || isMasked(value)) {
71
- return false;
72
- }
73
-
74
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
75
- return pattern.test(toSource(value));
76
- }
77
-
78
- var _baseIsNative = baseIsNative;
79
- exports["default"] = _baseIsNative;
80
- //# sourceMappingURL=_baseIsNative.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_baseIsNative.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.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 isFunction_1 from './isFunction.js';\nimport _isMasked from './_isMasked.js';\nimport isObject_1 from './isObject.js';\nimport _toSource from './_toSource.js';\nvar isFunction = isFunction_1,\n isMasked = _isMasked,\n isObject = isObject_1,\n toSource = _toSource;\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n/** Used to detect host constructors (Safari). */\n\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n/** Used for built-in method references. */\n\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/** Used to detect if a method is native. */\n\nvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nvar _baseIsNative = baseIsNative;\nexport default _baseIsNative;\n//# sourceMappingURL=_baseIsNative.js.map\n"],"names":["isFunction","isFunction_1","isMasked","_isMasked","isObject","isObject_1","toSource","_toSource","reRegExpChar","reIsHostCtor","funcProto","Function","prototype","objectProto","Object","funcToString","toString","hasOwnProperty","reIsNative","RegExp","call","replace","baseIsNative","value","pattern","test","_baseIsNative"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAKA,IAAIA,UAAU,GAAGC,uBAAjB;AAAA,IACIC,QAAQ,GAAGC,oBADf;AAAA,IAEIC,QAAQ,GAAGC,qBAFf;AAAA,IAGIC,QAAQ,GAAGC,oBAHf;AAIA;AACA;AACA;AACA;;AAEA,IAAIC,YAAY,GAAG,qBAAnB;AACA;;AAEA,IAAIC,YAAY,GAAG,6BAAnB;AACA;;AAEA,IAAIC,SAAS,GAAGC,QAAQ,CAACC,SAAzB;AAAA,IACIC,WAAW,GAAGC,MAAM,CAACF,SADzB;AAEA;;AAEA,IAAIG,YAAY,GAAGL,SAAS,CAACM,QAA7B;AACA;;AAEA,IAAIC,cAAc,GAAGJ,WAAW,CAACI,cAAjC;AACA;;AAEA,IAAIC,UAAU,GAAGC,MAAM,CAAC,MAAMJ,YAAY,CAACK,IAAb,CAAkBH,cAAlB,EAAkCI,OAAlC,CAA0Cb,YAA1C,EAAwD,MAAxD,EAAgEa,OAAhE,CAAwE,wDAAxE,EAAkI,OAAlI,CAAN,GAAmJ,GAApJ,CAAvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,YAAT,CAAsBC,KAAtB,EAA6B;AAC3B,MAAI,CAACnB,QAAQ,CAACmB,KAAD,CAAT,IAAoBrB,QAAQ,CAACqB,KAAD,CAAhC,EAAyC;AACvC,WAAO,KAAP;AACD;;AAED,MAAIC,OAAO,GAAGxB,UAAU,CAACuB,KAAD,CAAV,GAAoBL,UAApB,GAAiCT,YAA/C;AACA,SAAOe,OAAO,CAACC,IAAR,CAAanB,QAAQ,CAACiB,KAAD,CAArB,CAAP;AACD;;AAEE,IAACG,aAAa,GAAGJ,YAAjB;"}
@@ -1,63 +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
- 'use strict';
11
-
12
- var _cloneBuffer = require('../../_virtual/_cloneBuffer.js_commonjs-module.js');
13
-
14
- var _root = require('./_root.js');
15
- /** @LICENSE
16
- * @hi-ui/func-utils
17
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
18
- *
19
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
-
26
- (function (module, exports) {
27
- var root = _root['default'];
28
- /** Detect free variable `exports`. */
29
-
30
- var freeExports = exports && !exports.nodeType && exports;
31
- /** Detect free variable `module`. */
32
-
33
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
34
- /** Detect the popular CommonJS extension `module.exports`. */
35
-
36
- var moduleExports = freeModule && freeModule.exports === freeExports;
37
- /** Built-in value references. */
38
-
39
- var Buffer = moduleExports ? root.Buffer : undefined,
40
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
41
- /**
42
- * Creates a clone of `buffer`.
43
- *
44
- * @private
45
- * @param {Buffer} buffer The buffer to clone.
46
- * @param {boolean} [isDeep] Specify a deep clone.
47
- * @returns {Buffer} Returns the cloned buffer.
48
- */
49
-
50
- function cloneBuffer(buffer, isDeep) {
51
- if (isDeep) {
52
- return buffer.slice();
53
- }
54
-
55
- var length = buffer.length,
56
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
57
- buffer.copy(result);
58
- return result;
59
- }
60
-
61
- module.exports = cloneBuffer;
62
- })(_cloneBuffer._, _cloneBuffer._.exports);
63
- //# sourceMappingURL=_cloneBuffer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_cloneBuffer.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.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 { _ as _cloneBuffer } from '../../_virtual/_cloneBuffer.js_commonjs-module';\nimport _root from './_root.js';\n\n(function (module, exports) {\n var root = _root;\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 allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n buffer.copy(result);\n return result;\n }\n\n module.exports = cloneBuffer;\n})(_cloneBuffer, _cloneBuffer.exports);\n//# sourceMappingURL=_cloneBuffer.js.map\n"],"names":["module","exports","root","_root","freeExports","nodeType","freeModule","moduleExports","Buffer","undefined","allocUnsafe","cloneBuffer","buffer","isDeep","slice","length","result","constructor","copy","_cloneBuffer"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA,CAAC,UAAUA,MAAV,EAAkBC,OAAlB,EAA2B;AAC1B,MAAIC,IAAI,GAAGC,gBAAX;;;AAGA,MAAIC,WAAW,GAAGH,OAAO,IAAI,CAACA,OAAO,CAACI,QAApB,IAAgCJ,OAAlD;;;AAGA,MAAIK,UAAU,GAAGF,WAAW,IAAI,YAAY,QAA3B,IAAuCJ,MAAvC,IAAiD,CAACA,MAAM,CAACK,QAAzD,IAAqEL,MAAtF;;;AAGA,MAAIO,aAAa,GAAGD,UAAU,IAAIA,UAAU,CAACL,OAAX,KAAuBG,WAAzD;;;AAGA,MAAII,MAAM,GAAGD,aAAa,GAAGL,IAAI,CAACM,MAAR,GAAiBC,SAA3C;AAAA,MACIC,WAAW,GAAGF,MAAM,GAAGA,MAAM,CAACE,WAAV,GAAwBD,SADhD;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEE,WAASE,WAAT,CAAqBC,MAArB,EAA6BC,MAA7B,EAAqC;AACnC,QAAIA,MAAJ,EAAY;AACV,aAAOD,MAAM,CAACE,KAAP,EAAP;AACD;;AAED,QAAIC,MAAM,GAAGH,MAAM,CAACG,MAApB;AAAA,QACIC,MAAM,GAAGN,WAAW,GAAGA,WAAW,CAACK,MAAD,CAAd,GAAyB,IAAIH,MAAM,CAACK,WAAX,CAAuBF,MAAvB,CADjD;AAEAH,IAAAA,MAAM,CAACM,IAAP,CAAYF,MAAZ;AACA,WAAOA,MAAP;AACD;;AAEDhB,EAAAA,MAAM,CAACC,OAAP,GAAiBU,WAAjB;AACD,CApCD,EAoCGQ,cApCH,EAoCiBA,cAAAA,CAAalB,OApC9B"}
@@ -1,34 +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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
-
16
- var _root = require('./_root.js');
17
- /** @LICENSE
18
- * @hi-ui/func-utils
19
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
20
- *
21
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */
26
-
27
-
28
- var root = _root['default'];
29
- /** Used to detect overreaching core-js shims. */
30
-
31
- var coreJsData = root['__core-js_shared__'];
32
- var _coreJsData = coreJsData;
33
- exports["default"] = _coreJsData;
34
- //# sourceMappingURL=_coreJsData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_coreJsData.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.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 _root from './_root.js';\nvar root = _root;\n/** Used to detect overreaching core-js shims. */\n\nvar coreJsData = root['__core-js_shared__'];\nvar _coreJsData = coreJsData;\nexport default _coreJsData;\n//# sourceMappingURL=_coreJsData.js.map\n"],"names":["root","_root","coreJsData","_coreJsData"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAEA,IAAIA,IAAI,GAAGC,gBAAX;AACA;;AAEA,IAAIC,UAAU,GAAGF,IAAI,CAAC,oBAAD,CAArB;AACG,IAACG,WAAW,GAAGD,UAAf;"}
@@ -1,33 +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
- 'use strict';
11
-
12
- var _getNative = require('./_getNative.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
-
24
- var getNative = _getNative['default'];
25
-
26
- (function () {
27
- try {
28
- var func = getNative(Object, 'defineProperty');
29
- func({}, '', {});
30
- return func;
31
- } catch (e) {}
32
- })();
33
- //# sourceMappingURL=_defineProperty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_defineProperty.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.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 _getNative from './_getNative.js';\nvar getNative = _getNative;\n\nvar defineProperty = function () {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}();\n\nvar _defineProperty = defineProperty;\nexport default _defineProperty;\n//# sourceMappingURL=_defineProperty.js.map\n"],"names":["getNative","_getNative","func","Object","e"],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAEA,IAAIA,SAAS,GAAGC,qBAAhB;;CAEqB,YAAY;AAC/B,MAAI;AACF,QAAIC,IAAI,GAAGF,SAAS,CAACG,MAAD,EAAS,gBAAT,CAApB;AACAD,IAAAA,IAAI,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,CAAJ;AACA,WAAOA,IAAP;AACD,GAJD,CAIE,OAAOE,CAAP,EAAU,CAAE;"}
@@ -1,36 +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
- 'use strict';
11
-
12
- var _typeof2 = require("@babel/runtime/helpers/typeof");
13
-
14
- Object.defineProperty(exports, '__esModule', {
15
- value: true
16
- });
17
-
18
- var _typeof = require('@babel/runtime/helpers/esm/typeof');
19
-
20
- var _commonjsHelpers = require('../../_virtual/_commonjsHelpers.js');
21
-
22
- function _interopDefaultLegacy(e) {
23
- return e && _typeof2(e) === 'object' && 'default' in e ? e : {
24
- 'default': e
25
- };
26
- }
27
-
28
- var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
29
- /** Detect free variable `global` from Node.js. */
30
-
31
-
32
- var freeGlobal = _typeof__default['default'](_commonjsHelpers.commonjsGlobal) == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
33
-
34
- var _freeGlobal = freeGlobal;
35
- exports["default"] = _freeGlobal;
36
- //# sourceMappingURL=_freeGlobal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_freeGlobal.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.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 { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\nvar _freeGlobal = freeGlobal;\nexport default _freeGlobal;\n//# sourceMappingURL=_freeGlobal.js.map\n"],"names":["freeGlobal","_typeof","commonjsGlobal","Object","_freeGlobal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;;AAEA,IAAIA,UAAU,GAAGC,2BAAAA,CAAQC,+BAARD,KAA2B,QAA3BA,IAAuCC,+BAAvCD,IAAyDC,+BAAAA,CAAeC,MAAfD,KAA0BC,MAAnFF,IAA6FC,+BAA9G;;AACG,IAACE,WAAW,GAAGJ,UAAf;"}
@@ -1,48 +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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
-
16
- var _baseIsNative = require('./_baseIsNative.js');
17
-
18
- var _getValue = require('./_getValue.js');
19
- /** @LICENSE
20
- * @hi-ui/func-utils
21
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
22
- *
23
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
24
- *
25
- * This source code is licensed under the MIT license found in the
26
- * LICENSE file in the root directory of this source tree.
27
- */
28
-
29
-
30
- var baseIsNative = _baseIsNative['default'],
31
- getValue = _getValue['default'];
32
- /**
33
- * Gets the native function at `key` of `object`.
34
- *
35
- * @private
36
- * @param {Object} object The object to query.
37
- * @param {string} key The key of the method to get.
38
- * @returns {*} Returns the function if it's native, else `undefined`.
39
- */
40
-
41
- function getNative(object, key) {
42
- var value = getValue(object, key);
43
- return baseIsNative(value) ? value : undefined;
44
- }
45
-
46
- var _getNative = getNative;
47
- exports["default"] = _getNative;
48
- //# sourceMappingURL=_getNative.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_getNative.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getNative.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 _baseIsNative from './_baseIsNative.js';\nimport _getValue from './_getValue.js';\nvar baseIsNative = _baseIsNative,\n getValue = _getValue;\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nvar _getNative = getNative;\nexport default _getNative;\n//# sourceMappingURL=_getNative.js.map\n"],"names":["baseIsNative","_baseIsNative","getValue","_getValue","getNative","object","key","value","undefined","_getNative"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,IAAIA,YAAY,GAAGC,wBAAnB;AAAA,IACIC,QAAQ,GAAGC,oBADf;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,GAA3B,EAAgC;AAC9B,MAAIC,KAAK,GAAGL,QAAQ,CAACG,MAAD,EAASC,GAAT,CAApB;AACA,SAAON,YAAY,CAACO,KAAD,CAAZ,GAAsBA,KAAtB,GAA8BC,SAArC;AACD;;AAEE,IAACC,UAAU,GAAGL,SAAd;"}
@@ -1,77 +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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
-
16
- var _Symbol = require('./_Symbol.js');
17
- /** @LICENSE
18
- * @hi-ui/func-utils
19
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
20
- *
21
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */
26
-
27
-
28
- var _Symbol2 = _Symbol['default'];
29
- /** Used for built-in method references. */
30
-
31
- var objectProto = Object.prototype;
32
- /** Used to check objects for own properties. */
33
-
34
- var hasOwnProperty = objectProto.hasOwnProperty;
35
- /**
36
- * Used to resolve the
37
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
38
- * of values.
39
- */
40
-
41
- var nativeObjectToString = objectProto.toString;
42
- /** Built-in value references. */
43
-
44
- var symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;
45
- /**
46
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
47
- *
48
- * @private
49
- * @param {*} value The value to query.
50
- * @returns {string} Returns the raw `toStringTag`.
51
- */
52
-
53
- function getRawTag(value) {
54
- var isOwn = hasOwnProperty.call(value, symToStringTag),
55
- tag = value[symToStringTag];
56
-
57
- try {
58
- value[symToStringTag] = undefined;
59
- var unmasked = true;
60
- } catch (e) {}
61
-
62
- var result = nativeObjectToString.call(value);
63
-
64
- if (unmasked) {
65
- if (isOwn) {
66
- value[symToStringTag] = tag;
67
- } else {
68
- delete value[symToStringTag];
69
- }
70
- }
71
-
72
- return result;
73
- }
74
-
75
- var _getRawTag = getRawTag;
76
- exports["default"] = _getRawTag;
77
- //# sourceMappingURL=_getRawTag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_getRawTag.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.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 _Symbol from './_Symbol.js';\nvar _Symbol2 = _Symbol;\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/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar nativeObjectToString = objectProto.toString;\n/** Built-in value references. */\n\nvar symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n\n return result;\n}\n\nvar _getRawTag = getRawTag;\nexport default _getRawTag;\n//# sourceMappingURL=_getRawTag.js.map\n"],"names":["_Symbol2","_Symbol","objectProto","Object","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","getRawTag","value","isOwn","call","tag","unmasked","e","result","_getRawTag"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAEA,IAAIA,QAAQ,GAAGC,kBAAf;AACA;;AAEA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AACA;;AAEA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIC,oBAAoB,GAAGJ,WAAW,CAACK,QAAvC;AACA;;AAEA,IAAIC,cAAc,GAAGR,QAAQ,GAAGA,QAAQ,CAACS,WAAZ,GAA0BC,SAAvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,SAAT,CAAmBC,KAAnB,EAA0B;AACxB,MAAIC,KAAK,GAAGR,cAAc,CAACS,IAAf,CAAoBF,KAApB,EAA2BJ,cAA3B,CAAZ;AAAA,MACIO,GAAG,GAAGH,KAAK,CAACJ,cAAD,CADf;;AAGA,MAAI;AACFI,IAAAA,KAAK,CAACJ,cAAD,CAAL,GAAwBE,SAAxB;AACA,QAAIM,QAAQ,GAAG,IAAf;AACD,GAHD,CAGE,OAAOC,CAAP,EAAU,CAAE;;AAEd,MAAIC,MAAM,GAAGZ,oBAAoB,CAACQ,IAArB,CAA0BF,KAA1B,CAAb;;AAEA,MAAII,QAAJ,EAAc;AACZ,QAAIH,KAAJ,EAAW;AACTD,MAAAA,KAAK,CAACJ,cAAD,CAAL,GAAwBO,GAAxB;AACD,KAFD,MAEO;AACL,aAAOH,KAAK,CAACJ,cAAD,CAAZ;AACD;AACF;;AAED,SAAOU,MAAP;AACD;;AAEE,IAACC,UAAU,GAAGR,SAAd;"}
@@ -1,96 +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
- 'use strict';
11
-
12
- var _DataView = require('./_DataView.js');
13
-
14
- var _Map = require('./_Map.js');
15
-
16
- var _Promise = require('./_Promise.js');
17
-
18
- var _Set = require('./_Set.js');
19
-
20
- var _WeakMap = require('./_WeakMap.js');
21
-
22
- var _baseGetTag = require('./_baseGetTag.js');
23
-
24
- var _toSource = require('./_toSource.js');
25
- /** @LICENSE
26
- * @hi-ui/func-utils
27
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
28
- *
29
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */
34
-
35
-
36
- var DataView = _DataView['default'],
37
- Map = _Map['default'],
38
- Promise$1 = _Promise['default'],
39
- Set = _Set['default'],
40
- WeakMap = _WeakMap['default'],
41
- baseGetTag = _baseGetTag['default'],
42
- toSource = _toSource['default'];
43
- /** `Object#toString` result references. */
44
-
45
- var mapTag = '[object Map]',
46
- objectTag = '[object Object]',
47
- promiseTag = '[object Promise]',
48
- setTag = '[object Set]',
49
- weakMapTag = '[object WeakMap]';
50
- var dataViewTag = '[object DataView]';
51
- /** Used to detect maps, sets, and weakmaps. */
52
-
53
- var dataViewCtorString = toSource(DataView),
54
- mapCtorString = toSource(Map),
55
- promiseCtorString = toSource(Promise$1),
56
- setCtorString = toSource(Set),
57
- weakMapCtorString = toSource(WeakMap);
58
- /**
59
- * Gets the `toStringTag` of `value`.
60
- *
61
- * @private
62
- * @param {*} value The value to query.
63
- * @returns {string} Returns the `toStringTag`.
64
- */
65
-
66
- var getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
67
-
68
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
69
- getTag = function getTag(value) {
70
- var result = baseGetTag(value),
71
- Ctor = result == objectTag ? value.constructor : undefined,
72
- ctorString = Ctor ? toSource(Ctor) : '';
73
-
74
- if (ctorString) {
75
- switch (ctorString) {
76
- case dataViewCtorString:
77
- return dataViewTag;
78
-
79
- case mapCtorString:
80
- return mapTag;
81
-
82
- case promiseCtorString:
83
- return promiseTag;
84
-
85
- case setCtorString:
86
- return setTag;
87
-
88
- case weakMapCtorString:
89
- return weakMapTag;
90
- }
91
- }
92
-
93
- return result;
94
- };
95
- }
96
- //# sourceMappingURL=_getTag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_getTag.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getTag.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 _DataView from './_DataView.js';\nimport _Map from './_Map.js';\nimport _Promise from './_Promise.js';\nimport _Set from './_Set.js';\nimport _WeakMap from './_WeakMap.js';\nimport _baseGetTag from './_baseGetTag.js';\nimport _toSource from './_toSource.js';\nvar DataView = _DataView,\n Map = _Map,\n Promise$1 = _Promise,\n Set = _Set,\n WeakMap = _WeakMap,\n baseGetTag = _baseGetTag,\n toSource = _toSource;\n/** `Object#toString` result references. */\n\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\nvar dataViewTag = '[object DataView]';\n/** Used to detect maps, sets, and weakmaps. */\n\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise$1),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nvar getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function getTag(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n}\n\nvar _getTag = getTag;\nexport default _getTag;\n//# sourceMappingURL=_getTag.js.map\n"],"names":["DataView","_DataView","Map","_Map","Promise$1","_Promise","Set","_Set","WeakMap","_WeakMap","baseGetTag","_baseGetTag","toSource","_toSource","mapTag","objectTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","resolve","value","result","Ctor","constructor","undefined","ctorString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAQA,IAAIA,QAAQ,GAAGC,oBAAf;AAAA,IACIC,GAAG,GAAGC,eADV;AAAA,IAEIC,SAAS,GAAGC,mBAFhB;AAAA,IAGIC,GAAG,GAAGC,eAHV;AAAA,IAIIC,OAAO,GAAGC,mBAJd;AAAA,IAKIC,UAAU,GAAGC,sBALjB;AAAA,IAMIC,QAAQ,GAAGC,oBANf;AAOA;;AAEA,IAAIC,MAAM,GAAG,cAAb;AAAA,IACIC,SAAS,GAAG,iBADhB;AAAA,IAEIC,UAAU,GAAG,kBAFjB;AAAA,IAGIC,MAAM,GAAG,cAHb;AAAA,IAIIC,UAAU,GAAG,kBAJjB;AAKA,IAAIC,WAAW,GAAG,mBAAlB;AACA;;AAEA,IAAIC,kBAAkB,GAAGR,QAAQ,CAACZ,QAAD,CAAjC;AAAA,IACIqB,aAAa,GAAGT,QAAQ,CAACV,GAAD,CAD5B;AAAA,IAEIoB,iBAAiB,GAAGV,QAAQ,CAACR,SAAD,CAFhC;AAAA,IAGImB,aAAa,GAAGX,QAAQ,CAACN,GAAD,CAH5B;AAAA,IAIIkB,iBAAiB,GAAGZ,QAAQ,CAACJ,OAAD,CAJhC;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIiB,MAAM,GAAGf,UAAb;;AAEA,IAAIV,QAAQ,IAAIyB,MAAM,CAAC,IAAIzB,QAAJ,CAAa,IAAI0B,WAAJ,CAAgB,CAAhB,CAAb,CAAD,CAAN,IAA4CP,WAAxD,IAAuEjB,GAAG,IAAIuB,MAAM,CAAC,IAAIvB,GAAJ,EAAD,CAAN,IAAqBY,MAAnG,IAA6GV,SAAS,IAAIqB,MAAM,CAACrB,SAAS,CAACuB,OAAV,EAAD,CAAN,IAA+BX,UAAzJ,IAAuKV,GAAG,IAAImB,MAAM,CAAC,IAAInB,GAAJ,EAAD,CAAN,IAAqBW,MAAnM,IAA6MT,OAAO,IAAIiB,MAAM,CAAC,IAAIjB,OAAJ,EAAD,CAAN,IAAyBU,UAArP,EAAiQ;AAC/PO,EAAAA,MAAM,GAAG,SAASA,MAAT,CAAgBG,KAAhB,EAAuB;AAC9B,QAAIC,MAAM,GAAGnB,UAAU,CAACkB,KAAD,CAAvB;AAAA,QACIE,IAAI,GAAGD,MAAM,IAAId,SAAV,GAAsBa,KAAK,CAACG,WAA5B,GAA0CC,SADrD;AAAA,QAEIC,UAAU,GAAGH,IAAI,GAAGlB,QAAQ,CAACkB,IAAD,CAAX,GAAoB,EAFzC;;AAIA,QAAIG,UAAJ,EAAgB;AACd,cAAQA,UAAR;AACE,aAAKb,kBAAL;AACE,iBAAOD,WAAP;;AAEF,aAAKE,aAAL;AACE,iBAAOP,MAAP;;AAEF,aAAKQ,iBAAL;AACE,iBAAON,UAAP;;AAEF,aAAKO,aAAL;AACE,iBAAON,MAAP;;AAEF,aAAKO,iBAAL;AACE,iBAAON,UAAP;AAdJ;AAgBD;;AAED,WAAOW,MAAP;AACD,GAzBD;"}
@@ -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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
- /** @LICENSE
16
- * @hi-ui/func-utils
17
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
18
- *
19
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
- /**
26
- * Gets the value at `key` of `object`.
27
- *
28
- * @private
29
- * @param {Object} [object] The object to query.
30
- * @param {string} key The key of the property to get.
31
- * @returns {*} Returns the property value.
32
- */
33
-
34
- function getValue(object, key) {
35
- return object == null ? undefined : object[key];
36
- }
37
-
38
- var _getValue = getValue;
39
- exports["default"] = _getValue;
40
- //# sourceMappingURL=_getValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_getValue.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getValue.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 * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nvar _getValue = getValue;\nexport default _getValue;\n//# sourceMappingURL=_getValue.js.map\n"],"names":["getValue","object","key","undefined","_getValue"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASA,QAAT,CAAkBC,MAAlB,EAA0BC,GAA1B,EAA+B;AAC7B,SAAOD,MAAM,IAAI,IAAV,GAAiBE,SAAjB,GAA6BF,MAAM,CAACC,GAAD,CAA1C;AACD;;AAEE,IAACE,SAAS,GAAGJ,QAAb;"}
@@ -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
- 'use strict';
11
-
12
- Object.defineProperty(exports, '__esModule', {
13
- value: true
14
- });
15
-
16
- var _coreJsData = require('./_coreJsData.js');
17
- /** @LICENSE
18
- * @hi-ui/func-utils
19
- * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
20
- *
21
- * Copyright (c) HIUI <mi-hiui@xiaomi.com>.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */
26
-
27
-
28
- var coreJsData = _coreJsData['default'];
29
- /** Used to detect methods masquerading as native. */
30
-
31
- var maskSrcKey = function () {
32
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
33
- return uid ? 'Symbol(src)_1.' + uid : '';
34
- }();
35
- /**
36
- * Checks if `func` has its source masked.
37
- *
38
- * @private
39
- * @param {Function} func The function to check.
40
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
41
- */
42
-
43
-
44
- function isMasked(func) {
45
- return !!maskSrcKey && maskSrcKey in func;
46
- }
47
-
48
- var _isMasked = isMasked;
49
- exports["default"] = _isMasked;
50
- //# sourceMappingURL=_isMasked.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_isMasked.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_isMasked.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 _coreJsData from './_coreJsData.js';\nvar coreJsData = _coreJsData;\n/** Used to detect methods masquerading as native. */\n\nvar maskSrcKey = function () {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? 'Symbol(src)_1.' + uid : '';\n}();\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n\n\nfunction isMasked(func) {\n return !!maskSrcKey && maskSrcKey in func;\n}\n\nvar _isMasked = isMasked;\nexport default _isMasked;\n//# sourceMappingURL=_isMasked.js.map\n"],"names":["coreJsData","_coreJsData","maskSrcKey","uid","exec","keys","IE_PROTO","isMasked","func","_isMasked"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAEA,IAAIA,UAAU,GAAGC,sBAAjB;AACA;;AAEA,IAAIC,UAAU,GAAG,YAAY;AAC3B,MAAIC,GAAG,GAAG,SAASC,IAAT,CAAcJ,UAAU,IAAIA,UAAU,CAACK,IAAzB,IAAiCL,UAAU,CAACK,IAAX,CAAgBC,QAAjD,IAA6D,EAA3E,CAAV;AACA,SAAOH,GAAG,GAAG,mBAAmBA,GAAtB,GAA4B,EAAtC;AACD,CAHgB,EAAjB;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,SAASI,QAAT,CAAkBC,IAAlB,EAAwB;AACtB,SAAO,CAAC,CAACN,UAAF,IAAgBA,UAAU,IAAIM,IAArC;AACD;;AAEE,IAACC,SAAS,GAAGF,QAAb;"}