@hi-ui/tree-select 4.0.0-beta.5 → 4.0.0-beta.8

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 (560) hide show
  1. package/lib/cjs/TreeSelect.js +5 -5
  2. package/lib/cjs/{packages/hooks → hooks}/use-latest/lib/esm/index.js +0 -0
  3. package/lib/cjs/hooks/use-latest/lib/esm/index.js.map +1 -0
  4. package/lib/cjs/{packages/hooks → hooks}/use-merge-refs/lib/esm/index.js +0 -0
  5. package/lib/cjs/hooks/use-merge-refs/lib/esm/index.js.map +1 -0
  6. package/lib/cjs/{packages/ui → ui}/input/lib/esm/Input.js +0 -0
  7. package/lib/cjs/ui/input/lib/esm/Input.js.map +1 -0
  8. package/lib/cjs/{packages/ui → ui}/input/lib/esm/MockInput.js +0 -0
  9. package/lib/cjs/ui/input/lib/esm/MockInput.js.map +1 -0
  10. package/lib/cjs/ui/input/lib/esm/styles/index.scss.js +32 -0
  11. package/lib/cjs/{packages/ui → ui}/input/lib/esm/styles/index.scss.js.map +0 -0
  12. package/lib/cjs/{packages/ui → ui}/input/lib/esm/use-input.js +0 -0
  13. package/lib/cjs/ui/input/lib/esm/use-input.js.map +1 -0
  14. package/lib/cjs/{packages/ui → ui}/input/lib/esm/utils/index.js +0 -0
  15. package/lib/cjs/ui/input/lib/esm/utils/index.js.map +1 -0
  16. package/lib/cjs/{packages/utils → utils}/dom-utils/lib/esm/index.js +0 -0
  17. package/lib/cjs/utils/dom-utils/lib/esm/index.js.map +1 -0
  18. package/lib/esm/TreeSelect.js +5 -5
  19. package/lib/esm/TreeSelect.js.map +1 -1
  20. package/lib/esm/{packages/hooks → hooks}/use-latest/lib/esm/index.js +0 -0
  21. package/lib/esm/hooks/use-latest/lib/esm/index.js.map +1 -0
  22. package/lib/esm/{packages/hooks → hooks}/use-merge-refs/lib/esm/index.js +0 -0
  23. package/lib/esm/hooks/use-merge-refs/lib/esm/index.js.map +1 -0
  24. package/lib/esm/{packages/ui → ui}/input/lib/esm/Input.js +0 -0
  25. package/lib/esm/ui/input/lib/esm/Input.js.map +1 -0
  26. package/lib/esm/{packages/ui → ui}/input/lib/esm/MockInput.js +0 -0
  27. package/lib/esm/ui/input/lib/esm/MockInput.js.map +1 -0
  28. package/lib/esm/ui/input/lib/esm/styles/index.scss.js +27 -0
  29. package/lib/esm/{packages/ui → ui}/input/lib/esm/styles/index.scss.js.map +0 -0
  30. package/lib/esm/{packages/ui → ui}/input/lib/esm/use-input.js +0 -0
  31. package/lib/esm/ui/input/lib/esm/use-input.js.map +1 -0
  32. package/lib/esm/{packages/ui → ui}/input/lib/esm/utils/index.js +0 -0
  33. package/lib/esm/ui/input/lib/esm/utils/index.js.map +1 -0
  34. package/lib/esm/{packages/utils → utils}/dom-utils/lib/esm/index.js +0 -0
  35. package/lib/esm/utils/dom-utils/lib/esm/index.js.map +1 -0
  36. package/package.json +18 -18
  37. package/lib/cjs/_virtual/_commonjsHelpers.js +0 -17
  38. package/lib/cjs/_virtual/_commonjsHelpers.js.map +0 -1
  39. package/lib/cjs/_virtual/_nodeUtil.js_commonjs-module +0 -19
  40. package/lib/cjs/_virtual/_nodeUtil.js_commonjs-module.map +0 -1
  41. package/lib/cjs/_virtual/isBuffer.js_commonjs-module +0 -19
  42. package/lib/cjs/_virtual/isBuffer.js_commonjs-module.map +0 -1
  43. package/lib/cjs/node_modules/lodash/_DataView.js +0 -27
  44. package/lib/cjs/node_modules/lodash/_DataView.js.map +0 -1
  45. package/lib/cjs/node_modules/lodash/_Hash.js +0 -58
  46. package/lib/cjs/node_modules/lodash/_Hash.js.map +0 -1
  47. package/lib/cjs/node_modules/lodash/_ListCache.js +0 -58
  48. package/lib/cjs/node_modules/lodash/_ListCache.js.map +0 -1
  49. package/lib/cjs/node_modules/lodash/_Map.js +0 -27
  50. package/lib/cjs/node_modules/lodash/_Map.js.map +0 -1
  51. package/lib/cjs/node_modules/lodash/_MapCache.js +0 -58
  52. package/lib/cjs/node_modules/lodash/_MapCache.js.map +0 -1
  53. package/lib/cjs/node_modules/lodash/_Promise.js +0 -27
  54. package/lib/cjs/node_modules/lodash/_Promise.js.map +0 -1
  55. package/lib/cjs/node_modules/lodash/_Set.js +0 -27
  56. package/lib/cjs/node_modules/lodash/_Set.js.map +0 -1
  57. package/lib/cjs/node_modules/lodash/_SetCache.js +0 -49
  58. package/lib/cjs/node_modules/lodash/_SetCache.js.map +0 -1
  59. package/lib/cjs/node_modules/lodash/_Stack.js +0 -55
  60. package/lib/cjs/node_modules/lodash/_Stack.js.map +0 -1
  61. package/lib/cjs/node_modules/lodash/_Symbol.js +0 -24
  62. package/lib/cjs/node_modules/lodash/_Symbol.js.map +0 -1
  63. package/lib/cjs/node_modules/lodash/_Uint8Array.js +0 -24
  64. package/lib/cjs/node_modules/lodash/_Uint8Array.js.map +0 -1
  65. package/lib/cjs/node_modules/lodash/_WeakMap.js +0 -27
  66. package/lib/cjs/node_modules/lodash/_WeakMap.js.map +0 -1
  67. package/lib/cjs/node_modules/lodash/_arrayFilter.js +0 -44
  68. package/lib/cjs/node_modules/lodash/_arrayFilter.js.map +0 -1
  69. package/lib/cjs/node_modules/lodash/_arrayIncludes.js +0 -36
  70. package/lib/cjs/node_modules/lodash/_arrayIncludes.js.map +0 -1
  71. package/lib/cjs/node_modules/lodash/_arrayIncludesWith.js +0 -40
  72. package/lib/cjs/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  73. package/lib/cjs/node_modules/lodash/_arrayLikeKeys.js +0 -75
  74. package/lib/cjs/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  75. package/lib/cjs/node_modules/lodash/_arrayMap.js +0 -39
  76. package/lib/cjs/node_modules/lodash/_arrayMap.js.map +0 -1
  77. package/lib/cjs/node_modules/lodash/_arrayPush.js +0 -38
  78. package/lib/cjs/node_modules/lodash/_arrayPush.js.map +0 -1
  79. package/lib/cjs/node_modules/lodash/_arraySome.js +0 -41
  80. package/lib/cjs/node_modules/lodash/_arraySome.js.map +0 -1
  81. package/lib/cjs/node_modules/lodash/_assocIndexOf.js +0 -42
  82. package/lib/cjs/node_modules/lodash/_assocIndexOf.js.map +0 -1
  83. package/lib/cjs/node_modules/lodash/_baseFindIndex.js +0 -42
  84. package/lib/cjs/node_modules/lodash/_baseFindIndex.js.map +0 -1
  85. package/lib/cjs/node_modules/lodash/_baseGet.js +0 -45
  86. package/lib/cjs/node_modules/lodash/_baseGet.js.map +0 -1
  87. package/lib/cjs/node_modules/lodash/_baseGetAllKeys.js +0 -41
  88. package/lib/cjs/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  89. package/lib/cjs/node_modules/lodash/_baseGetTag.js +0 -50
  90. package/lib/cjs/node_modules/lodash/_baseGetTag.js.map +0 -1
  91. package/lib/cjs/node_modules/lodash/_baseHasIn.js +0 -30
  92. package/lib/cjs/node_modules/lodash/_baseHasIn.js.map +0 -1
  93. package/lib/cjs/node_modules/lodash/_baseIndexOf.js +0 -41
  94. package/lib/cjs/node_modules/lodash/_baseIndexOf.js.map +0 -1
  95. package/lib/cjs/node_modules/lodash/_baseIsArguments.js +0 -39
  96. package/lib/cjs/node_modules/lodash/_baseIsArguments.js.map +0 -1
  97. package/lib/cjs/node_modules/lodash/_baseIsEqual.js +0 -51
  98. package/lib/cjs/node_modules/lodash/_baseIsEqual.js.map +0 -1
  99. package/lib/cjs/node_modules/lodash/_baseIsEqualDeep.js +0 -118
  100. package/lib/cjs/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  101. package/lib/cjs/node_modules/lodash/_baseIsMatch.js +0 -84
  102. package/lib/cjs/node_modules/lodash/_baseIsMatch.js.map +0 -1
  103. package/lib/cjs/node_modules/lodash/_baseIsNaN.js +0 -29
  104. package/lib/cjs/node_modules/lodash/_baseIsNaN.js.map +0 -1
  105. package/lib/cjs/node_modules/lodash/_baseIsNative.js +0 -70
  106. package/lib/cjs/node_modules/lodash/_baseIsNative.js.map +0 -1
  107. package/lib/cjs/node_modules/lodash/_baseIsTypedArray.js +0 -70
  108. package/lib/cjs/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  109. package/lib/cjs/node_modules/lodash/_baseIteratee.js +0 -61
  110. package/lib/cjs/node_modules/lodash/_baseIteratee.js.map +0 -1
  111. package/lib/cjs/node_modules/lodash/_baseKeys.js +0 -54
  112. package/lib/cjs/node_modules/lodash/_baseKeys.js.map +0 -1
  113. package/lib/cjs/node_modules/lodash/_baseMatches.js +0 -47
  114. package/lib/cjs/node_modules/lodash/_baseMatches.js.map +0 -1
  115. package/lib/cjs/node_modules/lodash/_baseMatchesProperty.js +0 -63
  116. package/lib/cjs/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  117. package/lib/cjs/node_modules/lodash/_baseProperty.js +0 -31
  118. package/lib/cjs/node_modules/lodash/_baseProperty.js.map +0 -1
  119. package/lib/cjs/node_modules/lodash/_basePropertyDeep.js +0 -35
  120. package/lib/cjs/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  121. package/lib/cjs/node_modules/lodash/_baseTimes.js +0 -38
  122. package/lib/cjs/node_modules/lodash/_baseTimes.js.map +0 -1
  123. package/lib/cjs/node_modules/lodash/_baseToString.js +0 -65
  124. package/lib/cjs/node_modules/lodash/_baseToString.js.map +0 -1
  125. package/lib/cjs/node_modules/lodash/_baseUnary.js +0 -31
  126. package/lib/cjs/node_modules/lodash/_baseUnary.js.map +0 -1
  127. package/lib/cjs/node_modules/lodash/_baseUniq.js +0 -105
  128. package/lib/cjs/node_modules/lodash/_baseUniq.js.map +0 -1
  129. package/lib/cjs/node_modules/lodash/_cacheHas.js +0 -30
  130. package/lib/cjs/node_modules/lodash/_cacheHas.js.map +0 -1
  131. package/lib/cjs/node_modules/lodash/_castPath.js +0 -47
  132. package/lib/cjs/node_modules/lodash/_castPath.js.map +0 -1
  133. package/lib/cjs/node_modules/lodash/_coreJsData.js +0 -24
  134. package/lib/cjs/node_modules/lodash/_coreJsData.js.map +0 -1
  135. package/lib/cjs/node_modules/lodash/_createSet.js +0 -41
  136. package/lib/cjs/node_modules/lodash/_createSet.js.map +0 -1
  137. package/lib/cjs/node_modules/lodash/_equalArrays.js +0 -106
  138. package/lib/cjs/node_modules/lodash/_equalArrays.js.map +0 -1
  139. package/lib/cjs/node_modules/lodash/_equalByTag.js +0 -144
  140. package/lib/cjs/node_modules/lodash/_equalByTag.js.map +0 -1
  141. package/lib/cjs/node_modules/lodash/_equalObjects.js +0 -110
  142. package/lib/cjs/node_modules/lodash/_equalObjects.js.map +0 -1
  143. package/lib/cjs/node_modules/lodash/_freeGlobal.js +0 -26
  144. package/lib/cjs/node_modules/lodash/_freeGlobal.js.map +0 -1
  145. package/lib/cjs/node_modules/lodash/_getAllKeys.js +0 -39
  146. package/lib/cjs/node_modules/lodash/_getAllKeys.js.map +0 -1
  147. package/lib/cjs/node_modules/lodash/_getMapData.js +0 -35
  148. package/lib/cjs/node_modules/lodash/_getMapData.js.map +0 -1
  149. package/lib/cjs/node_modules/lodash/_getMatchData.js +0 -45
  150. package/lib/cjs/node_modules/lodash/_getMatchData.js.map +0 -1
  151. package/lib/cjs/node_modules/lodash/_getNative.js +0 -38
  152. package/lib/cjs/node_modules/lodash/_getNative.js.map +0 -1
  153. package/lib/cjs/node_modules/lodash/_getRawTag.js +0 -67
  154. package/lib/cjs/node_modules/lodash/_getRawTag.js.map +0 -1
  155. package/lib/cjs/node_modules/lodash/_getSymbols.js +0 -51
  156. package/lib/cjs/node_modules/lodash/_getSymbols.js.map +0 -1
  157. package/lib/cjs/node_modules/lodash/_getTag.js +0 -93
  158. package/lib/cjs/node_modules/lodash/_getTag.js.map +0 -1
  159. package/lib/cjs/node_modules/lodash/_getValue.js +0 -30
  160. package/lib/cjs/node_modules/lodash/_getValue.js.map +0 -1
  161. package/lib/cjs/node_modules/lodash/_hasPath.js +0 -70
  162. package/lib/cjs/node_modules/lodash/_hasPath.js.map +0 -1
  163. package/lib/cjs/node_modules/lodash/_hashClear.js +0 -34
  164. package/lib/cjs/node_modules/lodash/_hashClear.js.map +0 -1
  165. package/lib/cjs/node_modules/lodash/_hashDelete.js +0 -34
  166. package/lib/cjs/node_modules/lodash/_hashDelete.js.map +0 -1
  167. package/lib/cjs/node_modules/lodash/_hashGet.js +0 -51
  168. package/lib/cjs/node_modules/lodash/_hashGet.js.map +0 -1
  169. package/lib/cjs/node_modules/lodash/_hashHas.js +0 -42
  170. package/lib/cjs/node_modules/lodash/_hashHas.js.map +0 -1
  171. package/lib/cjs/node_modules/lodash/_hashSet.js +0 -42
  172. package/lib/cjs/node_modules/lodash/_hashSet.js.map +0 -1
  173. package/lib/cjs/node_modules/lodash/_isIndex.js +0 -41
  174. package/lib/cjs/node_modules/lodash/_isIndex.js.map +0 -1
  175. package/lib/cjs/node_modules/lodash/_isKey.js +0 -53
  176. package/lib/cjs/node_modules/lodash/_isKey.js.map +0 -1
  177. package/lib/cjs/node_modules/lodash/_isKeyable.js +0 -33
  178. package/lib/cjs/node_modules/lodash/_isKeyable.js.map +0 -1
  179. package/lib/cjs/node_modules/lodash/_isMasked.js +0 -40
  180. package/lib/cjs/node_modules/lodash/_isMasked.js.map +0 -1
  181. package/lib/cjs/node_modules/lodash/_isPrototype.js +0 -34
  182. package/lib/cjs/node_modules/lodash/_isPrototype.js.map +0 -1
  183. package/lib/cjs/node_modules/lodash/_isStrictComparable.js +0 -34
  184. package/lib/cjs/node_modules/lodash/_isStrictComparable.js.map +0 -1
  185. package/lib/cjs/node_modules/lodash/_listCacheClear.js +0 -30
  186. package/lib/cjs/node_modules/lodash/_listCacheClear.js.map +0 -1
  187. package/lib/cjs/node_modules/lodash/_listCacheDelete.js +0 -57
  188. package/lib/cjs/node_modules/lodash/_listCacheDelete.js.map +0 -1
  189. package/lib/cjs/node_modules/lodash/_listCacheGet.js +0 -37
  190. package/lib/cjs/node_modules/lodash/_listCacheGet.js.map +0 -1
  191. package/lib/cjs/node_modules/lodash/_listCacheHas.js +0 -35
  192. package/lib/cjs/node_modules/lodash/_listCacheHas.js.map +0 -1
  193. package/lib/cjs/node_modules/lodash/_listCacheSet.js +0 -46
  194. package/lib/cjs/node_modules/lodash/_listCacheSet.js.map +0 -1
  195. package/lib/cjs/node_modules/lodash/_mapCacheClear.js +0 -44
  196. package/lib/cjs/node_modules/lodash/_mapCacheClear.js.map +0 -1
  197. package/lib/cjs/node_modules/lodash/_mapCacheDelete.js +0 -37
  198. package/lib/cjs/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  199. package/lib/cjs/node_modules/lodash/_mapCacheGet.js +0 -35
  200. package/lib/cjs/node_modules/lodash/_mapCacheGet.js.map +0 -1
  201. package/lib/cjs/node_modules/lodash/_mapCacheHas.js +0 -35
  202. package/lib/cjs/node_modules/lodash/_mapCacheHas.js.map +0 -1
  203. package/lib/cjs/node_modules/lodash/_mapCacheSet.js +0 -40
  204. package/lib/cjs/node_modules/lodash/_mapCacheSet.js.map +0 -1
  205. package/lib/cjs/node_modules/lodash/_mapToArray.js +0 -34
  206. package/lib/cjs/node_modules/lodash/_mapToArray.js.map +0 -1
  207. package/lib/cjs/node_modules/lodash/_matchesStrictComparable.js +0 -37
  208. package/lib/cjs/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  209. package/lib/cjs/node_modules/lodash/_memoizeCapped.js +0 -45
  210. package/lib/cjs/node_modules/lodash/_memoizeCapped.js.map +0 -1
  211. package/lib/cjs/node_modules/lodash/_nativeCreate.js +0 -24
  212. package/lib/cjs/node_modules/lodash/_nativeCreate.js.map +0 -1
  213. package/lib/cjs/node_modules/lodash/_nativeKeys.js +0 -24
  214. package/lib/cjs/node_modules/lodash/_nativeKeys.js.map +0 -1
  215. package/lib/cjs/node_modules/lodash/_nodeUtil.js +0 -48
  216. package/lib/cjs/node_modules/lodash/_nodeUtil.js.map +0 -1
  217. package/lib/cjs/node_modules/lodash/_objectToString.js +0 -39
  218. package/lib/cjs/node_modules/lodash/_objectToString.js.map +0 -1
  219. package/lib/cjs/node_modules/lodash/_overArg.js +0 -32
  220. package/lib/cjs/node_modules/lodash/_overArg.js.map +0 -1
  221. package/lib/cjs/node_modules/lodash/_root.js +0 -29
  222. package/lib/cjs/node_modules/lodash/_root.js.map +0 -1
  223. package/lib/cjs/node_modules/lodash/_setCacheAdd.js +0 -37
  224. package/lib/cjs/node_modules/lodash/_setCacheAdd.js.map +0 -1
  225. package/lib/cjs/node_modules/lodash/_setCacheHas.js +0 -31
  226. package/lib/cjs/node_modules/lodash/_setCacheHas.js.map +0 -1
  227. package/lib/cjs/node_modules/lodash/_setToArray.js +0 -34
  228. package/lib/cjs/node_modules/lodash/_setToArray.js.map +0 -1
  229. package/lib/cjs/node_modules/lodash/_stackClear.js +0 -34
  230. package/lib/cjs/node_modules/lodash/_stackClear.js.map +0 -1
  231. package/lib/cjs/node_modules/lodash/_stackDelete.js +0 -34
  232. package/lib/cjs/node_modules/lodash/_stackDelete.js.map +0 -1
  233. package/lib/cjs/node_modules/lodash/_stackGet.js +0 -31
  234. package/lib/cjs/node_modules/lodash/_stackGet.js.map +0 -1
  235. package/lib/cjs/node_modules/lodash/_stackHas.js +0 -31
  236. package/lib/cjs/node_modules/lodash/_stackHas.js.map +0 -1
  237. package/lib/cjs/node_modules/lodash/_stackSet.js +0 -61
  238. package/lib/cjs/node_modules/lodash/_stackSet.js.map +0 -1
  239. package/lib/cjs/node_modules/lodash/_strictIndexOf.js +0 -41
  240. package/lib/cjs/node_modules/lodash/_strictIndexOf.js.map +0 -1
  241. package/lib/cjs/node_modules/lodash/_stringToPath.js +0 -49
  242. package/lib/cjs/node_modules/lodash/_stringToPath.js.map +0 -1
  243. package/lib/cjs/node_modules/lodash/_toKey.js +0 -41
  244. package/lib/cjs/node_modules/lodash/_toKey.js.map +0 -1
  245. package/lib/cjs/node_modules/lodash/_toSource.js +0 -45
  246. package/lib/cjs/node_modules/lodash/_toSource.js.map +0 -1
  247. package/lib/cjs/node_modules/lodash/eq.js +0 -54
  248. package/lib/cjs/node_modules/lodash/eq.js.map +0 -1
  249. package/lib/cjs/node_modules/lodash/get.js +0 -52
  250. package/lib/cjs/node_modules/lodash/get.js.map +0 -1
  251. package/lib/cjs/node_modules/lodash/hasIn.js +0 -55
  252. package/lib/cjs/node_modules/lodash/hasIn.js.map +0 -1
  253. package/lib/cjs/node_modules/lodash/identity.js +0 -38
  254. package/lib/cjs/node_modules/lodash/identity.js.map +0 -1
  255. package/lib/cjs/node_modules/lodash/isArguments.js +0 -57
  256. package/lib/cjs/node_modules/lodash/isArguments.js.map +0 -1
  257. package/lib/cjs/node_modules/lodash/isArray.js +0 -42
  258. package/lib/cjs/node_modules/lodash/isArray.js.map +0 -1
  259. package/lib/cjs/node_modules/lodash/isArrayLike.js +0 -54
  260. package/lib/cjs/node_modules/lodash/isArrayLike.js.map +0 -1
  261. package/lib/cjs/node_modules/lodash/isBuffer.js +0 -57
  262. package/lib/cjs/node_modules/lodash/isBuffer.js.map +0 -1
  263. package/lib/cjs/node_modules/lodash/isFunction.js +0 -59
  264. package/lib/cjs/node_modules/lodash/isFunction.js.map +0 -1
  265. package/lib/cjs/node_modules/lodash/isLength.js +0 -51
  266. package/lib/cjs/node_modules/lodash/isLength.js.map +0 -1
  267. package/lib/cjs/node_modules/lodash/isObject.js +0 -51
  268. package/lib/cjs/node_modules/lodash/isObject.js.map +0 -1
  269. package/lib/cjs/node_modules/lodash/isObjectLike.js +0 -48
  270. package/lib/cjs/node_modules/lodash/isObjectLike.js.map +0 -1
  271. package/lib/cjs/node_modules/lodash/isSymbol.js +0 -51
  272. package/lib/cjs/node_modules/lodash/isSymbol.js.map +0 -1
  273. package/lib/cjs/node_modules/lodash/isTypedArray.js +0 -51
  274. package/lib/cjs/node_modules/lodash/isTypedArray.js.map +0 -1
  275. package/lib/cjs/node_modules/lodash/keys.js +0 -60
  276. package/lib/cjs/node_modules/lodash/keys.js.map +0 -1
  277. package/lib/cjs/node_modules/lodash/memoize.js +0 -94
  278. package/lib/cjs/node_modules/lodash/memoize.js.map +0 -1
  279. package/lib/cjs/node_modules/lodash/noop.js +0 -33
  280. package/lib/cjs/node_modules/lodash/noop.js.map +0 -1
  281. package/lib/cjs/node_modules/lodash/property.js +0 -57
  282. package/lib/cjs/node_modules/lodash/property.js.map +0 -1
  283. package/lib/cjs/node_modules/lodash/stubArray.js +0 -40
  284. package/lib/cjs/node_modules/lodash/stubArray.js.map +0 -1
  285. package/lib/cjs/node_modules/lodash/stubFalse.js +0 -35
  286. package/lib/cjs/node_modules/lodash/stubFalse.js.map +0 -1
  287. package/lib/cjs/node_modules/lodash/toString.js +0 -47
  288. package/lib/cjs/node_modules/lodash/toString.js.map +0 -1
  289. package/lib/cjs/node_modules/lodash/uniqBy.js +0 -52
  290. package/lib/cjs/node_modules/lodash/uniqBy.js.map +0 -1
  291. package/lib/cjs/packages/hooks/use-latest/lib/esm/index.js.map +0 -1
  292. package/lib/cjs/packages/hooks/use-merge-refs/lib/esm/index.js.map +0 -1
  293. package/lib/cjs/packages/ui/input/lib/esm/Input.js.map +0 -1
  294. package/lib/cjs/packages/ui/input/lib/esm/MockInput.js.map +0 -1
  295. package/lib/cjs/packages/ui/input/lib/esm/styles/index.scss.js +0 -32
  296. package/lib/cjs/packages/ui/input/lib/esm/use-input.js.map +0 -1
  297. package/lib/cjs/packages/ui/input/lib/esm/utils/index.js.map +0 -1
  298. package/lib/cjs/packages/utils/dom-utils/lib/esm/index.js.map +0 -1
  299. package/lib/esm/_virtual/_commonjsHelpers.js +0 -12
  300. package/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
  301. package/lib/esm/_virtual/_nodeUtil.js_commonjs-module +0 -14
  302. package/lib/esm/_virtual/_nodeUtil.js_commonjs-module.map +0 -1
  303. package/lib/esm/_virtual/isBuffer.js_commonjs-module +0 -14
  304. package/lib/esm/_virtual/isBuffer.js_commonjs-module.map +0 -1
  305. package/lib/esm/node_modules/lodash/_DataView.js +0 -19
  306. package/lib/esm/node_modules/lodash/_DataView.js.map +0 -1
  307. package/lib/esm/node_modules/lodash/_Hash.js +0 -47
  308. package/lib/esm/node_modules/lodash/_Hash.js.map +0 -1
  309. package/lib/esm/node_modules/lodash/_ListCache.js +0 -47
  310. package/lib/esm/node_modules/lodash/_ListCache.js.map +0 -1
  311. package/lib/esm/node_modules/lodash/_Map.js +0 -19
  312. package/lib/esm/node_modules/lodash/_Map.js.map +0 -1
  313. package/lib/esm/node_modules/lodash/_MapCache.js +0 -47
  314. package/lib/esm/node_modules/lodash/_MapCache.js.map +0 -1
  315. package/lib/esm/node_modules/lodash/_Promise.js +0 -19
  316. package/lib/esm/node_modules/lodash/_Promise.js.map +0 -1
  317. package/lib/esm/node_modules/lodash/_Set.js +0 -19
  318. package/lib/esm/node_modules/lodash/_Set.js.map +0 -1
  319. package/lib/esm/node_modules/lodash/_SetCache.js +0 -40
  320. package/lib/esm/node_modules/lodash/_SetCache.js.map +0 -1
  321. package/lib/esm/node_modules/lodash/_Stack.js +0 -43
  322. package/lib/esm/node_modules/lodash/_Stack.js.map +0 -1
  323. package/lib/esm/node_modules/lodash/_Symbol.js +0 -17
  324. package/lib/esm/node_modules/lodash/_Symbol.js.map +0 -1
  325. package/lib/esm/node_modules/lodash/_Uint8Array.js +0 -17
  326. package/lib/esm/node_modules/lodash/_Uint8Array.js.map +0 -1
  327. package/lib/esm/node_modules/lodash/_WeakMap.js +0 -19
  328. package/lib/esm/node_modules/lodash/_WeakMap.js.map +0 -1
  329. package/lib/esm/node_modules/lodash/_arrayFilter.js +0 -39
  330. package/lib/esm/node_modules/lodash/_arrayFilter.js.map +0 -1
  331. package/lib/esm/node_modules/lodash/_arrayIncludes.js +0 -29
  332. package/lib/esm/node_modules/lodash/_arrayIncludes.js.map +0 -1
  333. package/lib/esm/node_modules/lodash/_arrayIncludesWith.js +0 -35
  334. package/lib/esm/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  335. package/lib/esm/node_modules/lodash/_arrayLikeKeys.js +0 -62
  336. package/lib/esm/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  337. package/lib/esm/node_modules/lodash/_arrayMap.js +0 -34
  338. package/lib/esm/node_modules/lodash/_arrayMap.js.map +0 -1
  339. package/lib/esm/node_modules/lodash/_arrayPush.js +0 -33
  340. package/lib/esm/node_modules/lodash/_arrayPush.js.map +0 -1
  341. package/lib/esm/node_modules/lodash/_arraySome.js +0 -36
  342. package/lib/esm/node_modules/lodash/_arraySome.js.map +0 -1
  343. package/lib/esm/node_modules/lodash/_assocIndexOf.js +0 -35
  344. package/lib/esm/node_modules/lodash/_assocIndexOf.js.map +0 -1
  345. package/lib/esm/node_modules/lodash/_baseFindIndex.js +0 -37
  346. package/lib/esm/node_modules/lodash/_baseFindIndex.js.map +0 -1
  347. package/lib/esm/node_modules/lodash/_baseGet.js +0 -37
  348. package/lib/esm/node_modules/lodash/_baseGet.js.map +0 -1
  349. package/lib/esm/node_modules/lodash/_baseGetAllKeys.js +0 -33
  350. package/lib/esm/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  351. package/lib/esm/node_modules/lodash/_baseGetTag.js +0 -41
  352. package/lib/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
  353. package/lib/esm/node_modules/lodash/_baseHasIn.js +0 -25
  354. package/lib/esm/node_modules/lodash/_baseHasIn.js.map +0 -1
  355. package/lib/esm/node_modules/lodash/_baseIndexOf.js +0 -32
  356. package/lib/esm/node_modules/lodash/_baseIndexOf.js.map +0 -1
  357. package/lib/esm/node_modules/lodash/_baseIsArguments.js +0 -31
  358. package/lib/esm/node_modules/lodash/_baseIsArguments.js.map +0 -1
  359. package/lib/esm/node_modules/lodash/_baseIsEqual.js +0 -43
  360. package/lib/esm/node_modules/lodash/_baseIsEqual.js.map +0 -1
  361. package/lib/esm/node_modules/lodash/_baseIsEqualDeep.js +0 -103
  362. package/lib/esm/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  363. package/lib/esm/node_modules/lodash/_baseIsMatch.js +0 -76
  364. package/lib/esm/node_modules/lodash/_baseIsMatch.js.map +0 -1
  365. package/lib/esm/node_modules/lodash/_baseIsNaN.js +0 -24
  366. package/lib/esm/node_modules/lodash/_baseIsNaN.js.map +0 -1
  367. package/lib/esm/node_modules/lodash/_baseIsNative.js +0 -60
  368. package/lib/esm/node_modules/lodash/_baseIsNative.js.map +0 -1
  369. package/lib/esm/node_modules/lodash/_baseIsTypedArray.js +0 -61
  370. package/lib/esm/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  371. package/lib/esm/node_modules/lodash/_baseIteratee.js +0 -50
  372. package/lib/esm/node_modules/lodash/_baseIteratee.js.map +0 -1
  373. package/lib/esm/node_modules/lodash/_baseKeys.js +0 -46
  374. package/lib/esm/node_modules/lodash/_baseKeys.js.map +0 -1
  375. package/lib/esm/node_modules/lodash/_baseMatches.js +0 -38
  376. package/lib/esm/node_modules/lodash/_baseMatches.js.map +0 -1
  377. package/lib/esm/node_modules/lodash/_baseMatchesProperty.js +0 -50
  378. package/lib/esm/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  379. package/lib/esm/node_modules/lodash/_baseProperty.js +0 -26
  380. package/lib/esm/node_modules/lodash/_baseProperty.js.map +0 -1
  381. package/lib/esm/node_modules/lodash/_basePropertyDeep.js +0 -28
  382. package/lib/esm/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  383. package/lib/esm/node_modules/lodash/_baseTimes.js +0 -33
  384. package/lib/esm/node_modules/lodash/_baseTimes.js.map +0 -1
  385. package/lib/esm/node_modules/lodash/_baseToString.js +0 -55
  386. package/lib/esm/node_modules/lodash/_baseToString.js.map +0 -1
  387. package/lib/esm/node_modules/lodash/_baseUnary.js +0 -26
  388. package/lib/esm/node_modules/lodash/_baseUnary.js.map +0 -1
  389. package/lib/esm/node_modules/lodash/_baseUniq.js +0 -93
  390. package/lib/esm/node_modules/lodash/_baseUniq.js.map +0 -1
  391. package/lib/esm/node_modules/lodash/_cacheHas.js +0 -25
  392. package/lib/esm/node_modules/lodash/_cacheHas.js.map +0 -1
  393. package/lib/esm/node_modules/lodash/_castPath.js +0 -37
  394. package/lib/esm/node_modules/lodash/_castPath.js.map +0 -1
  395. package/lib/esm/node_modules/lodash/_coreJsData.js +0 -17
  396. package/lib/esm/node_modules/lodash/_coreJsData.js.map +0 -1
  397. package/lib/esm/node_modules/lodash/_createSet.js +0 -32
  398. package/lib/esm/node_modules/lodash/_createSet.js.map +0 -1
  399. package/lib/esm/node_modules/lodash/_equalArrays.js +0 -97
  400. package/lib/esm/node_modules/lodash/_equalArrays.js.map +0 -1
  401. package/lib/esm/node_modules/lodash/_equalByTag.js +0 -132
  402. package/lib/esm/node_modules/lodash/_equalByTag.js.map +0 -1
  403. package/lib/esm/node_modules/lodash/_equalObjects.js +0 -103
  404. package/lib/esm/node_modules/lodash/_equalObjects.js.map +0 -1
  405. package/lib/esm/node_modules/lodash/_freeGlobal.js +0 -18
  406. package/lib/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
  407. package/lib/esm/node_modules/lodash/_getAllKeys.js +0 -30
  408. package/lib/esm/node_modules/lodash/_getAllKeys.js.map +0 -1
  409. package/lib/esm/node_modules/lodash/_getMapData.js +0 -28
  410. package/lib/esm/node_modules/lodash/_getMapData.js.map +0 -1
  411. package/lib/esm/node_modules/lodash/_getMatchData.js +0 -37
  412. package/lib/esm/node_modules/lodash/_getMatchData.js.map +0 -1
  413. package/lib/esm/node_modules/lodash/_getNative.js +0 -30
  414. package/lib/esm/node_modules/lodash/_getNative.js.map +0 -1
  415. package/lib/esm/node_modules/lodash/_getRawTag.js +0 -60
  416. package/lib/esm/node_modules/lodash/_getRawTag.js.map +0 -1
  417. package/lib/esm/node_modules/lodash/_getSymbols.js +0 -43
  418. package/lib/esm/node_modules/lodash/_getSymbols.js.map +0 -1
  419. package/lib/esm/node_modules/lodash/_getTag.js +0 -80
  420. package/lib/esm/node_modules/lodash/_getTag.js.map +0 -1
  421. package/lib/esm/node_modules/lodash/_getValue.js +0 -25
  422. package/lib/esm/node_modules/lodash/_getValue.js.map +0 -1
  423. package/lib/esm/node_modules/lodash/_hasPath.js +0 -58
  424. package/lib/esm/node_modules/lodash/_hasPath.js.map +0 -1
  425. package/lib/esm/node_modules/lodash/_hashClear.js +0 -27
  426. package/lib/esm/node_modules/lodash/_hashClear.js.map +0 -1
  427. package/lib/esm/node_modules/lodash/_hashDelete.js +0 -29
  428. package/lib/esm/node_modules/lodash/_hashDelete.js.map +0 -1
  429. package/lib/esm/node_modules/lodash/_hashGet.js +0 -44
  430. package/lib/esm/node_modules/lodash/_hashGet.js.map +0 -1
  431. package/lib/esm/node_modules/lodash/_hashHas.js +0 -35
  432. package/lib/esm/node_modules/lodash/_hashHas.js.map +0 -1
  433. package/lib/esm/node_modules/lodash/_hashSet.js +0 -35
  434. package/lib/esm/node_modules/lodash/_hashSet.js.map +0 -1
  435. package/lib/esm/node_modules/lodash/_isIndex.js +0 -36
  436. package/lib/esm/node_modules/lodash/_isIndex.js.map +0 -1
  437. package/lib/esm/node_modules/lodash/_isKey.js +0 -45
  438. package/lib/esm/node_modules/lodash/_isKey.js.map +0 -1
  439. package/lib/esm/node_modules/lodash/_isKeyable.js +0 -28
  440. package/lib/esm/node_modules/lodash/_isKeyable.js.map +0 -1
  441. package/lib/esm/node_modules/lodash/_isMasked.js +0 -33
  442. package/lib/esm/node_modules/lodash/_isMasked.js.map +0 -1
  443. package/lib/esm/node_modules/lodash/_isPrototype.js +0 -29
  444. package/lib/esm/node_modules/lodash/_isPrototype.js.map +0 -1
  445. package/lib/esm/node_modules/lodash/_isStrictComparable.js +0 -27
  446. package/lib/esm/node_modules/lodash/_isStrictComparable.js.map +0 -1
  447. package/lib/esm/node_modules/lodash/_listCacheClear.js +0 -25
  448. package/lib/esm/node_modules/lodash/_listCacheClear.js.map +0 -1
  449. package/lib/esm/node_modules/lodash/_listCacheDelete.js +0 -50
  450. package/lib/esm/node_modules/lodash/_listCacheDelete.js.map +0 -1
  451. package/lib/esm/node_modules/lodash/_listCacheGet.js +0 -30
  452. package/lib/esm/node_modules/lodash/_listCacheGet.js.map +0 -1
  453. package/lib/esm/node_modules/lodash/_listCacheHas.js +0 -28
  454. package/lib/esm/node_modules/lodash/_listCacheHas.js.map +0 -1
  455. package/lib/esm/node_modules/lodash/_listCacheSet.js +0 -39
  456. package/lib/esm/node_modules/lodash/_listCacheSet.js.map +0 -1
  457. package/lib/esm/node_modules/lodash/_mapCacheClear.js +0 -35
  458. package/lib/esm/node_modules/lodash/_mapCacheClear.js.map +0 -1
  459. package/lib/esm/node_modules/lodash/_mapCacheDelete.js +0 -30
  460. package/lib/esm/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  461. package/lib/esm/node_modules/lodash/_mapCacheGet.js +0 -28
  462. package/lib/esm/node_modules/lodash/_mapCacheGet.js.map +0 -1
  463. package/lib/esm/node_modules/lodash/_mapCacheHas.js +0 -28
  464. package/lib/esm/node_modules/lodash/_mapCacheHas.js.map +0 -1
  465. package/lib/esm/node_modules/lodash/_mapCacheSet.js +0 -33
  466. package/lib/esm/node_modules/lodash/_mapCacheSet.js.map +0 -1
  467. package/lib/esm/node_modules/lodash/_mapToArray.js +0 -29
  468. package/lib/esm/node_modules/lodash/_mapToArray.js.map +0 -1
  469. package/lib/esm/node_modules/lodash/_matchesStrictComparable.js +0 -32
  470. package/lib/esm/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  471. package/lib/esm/node_modules/lodash/_memoizeCapped.js +0 -38
  472. package/lib/esm/node_modules/lodash/_memoizeCapped.js.map +0 -1
  473. package/lib/esm/node_modules/lodash/_nativeCreate.js +0 -17
  474. package/lib/esm/node_modules/lodash/_nativeCreate.js.map +0 -1
  475. package/lib/esm/node_modules/lodash/_nativeKeys.js +0 -17
  476. package/lib/esm/node_modules/lodash/_nativeKeys.js.map +0 -1
  477. package/lib/esm/node_modules/lodash/_nodeUtil.js +0 -45
  478. package/lib/esm/node_modules/lodash/_nodeUtil.js.map +0 -1
  479. package/lib/esm/node_modules/lodash/_objectToString.js +0 -34
  480. package/lib/esm/node_modules/lodash/_objectToString.js.map +0 -1
  481. package/lib/esm/node_modules/lodash/_overArg.js +0 -27
  482. package/lib/esm/node_modules/lodash/_overArg.js.map +0 -1
  483. package/lib/esm/node_modules/lodash/_root.js +0 -22
  484. package/lib/esm/node_modules/lodash/_root.js.map +0 -1
  485. package/lib/esm/node_modules/lodash/_setCacheAdd.js +0 -32
  486. package/lib/esm/node_modules/lodash/_setCacheAdd.js.map +0 -1
  487. package/lib/esm/node_modules/lodash/_setCacheHas.js +0 -26
  488. package/lib/esm/node_modules/lodash/_setCacheHas.js.map +0 -1
  489. package/lib/esm/node_modules/lodash/_setToArray.js +0 -29
  490. package/lib/esm/node_modules/lodash/_setToArray.js.map +0 -1
  491. package/lib/esm/node_modules/lodash/_stackClear.js +0 -27
  492. package/lib/esm/node_modules/lodash/_stackClear.js.map +0 -1
  493. package/lib/esm/node_modules/lodash/_stackDelete.js +0 -29
  494. package/lib/esm/node_modules/lodash/_stackDelete.js.map +0 -1
  495. package/lib/esm/node_modules/lodash/_stackGet.js +0 -26
  496. package/lib/esm/node_modules/lodash/_stackGet.js.map +0 -1
  497. package/lib/esm/node_modules/lodash/_stackHas.js +0 -26
  498. package/lib/esm/node_modules/lodash/_stackHas.js.map +0 -1
  499. package/lib/esm/node_modules/lodash/_stackSet.js +0 -52
  500. package/lib/esm/node_modules/lodash/_stackSet.js.map +0 -1
  501. package/lib/esm/node_modules/lodash/_strictIndexOf.js +0 -36
  502. package/lib/esm/node_modules/lodash/_strictIndexOf.js.map +0 -1
  503. package/lib/esm/node_modules/lodash/_stringToPath.js +0 -42
  504. package/lib/esm/node_modules/lodash/_stringToPath.js.map +0 -1
  505. package/lib/esm/node_modules/lodash/_toKey.js +0 -34
  506. package/lib/esm/node_modules/lodash/_toKey.js.map +0 -1
  507. package/lib/esm/node_modules/lodash/_toSource.js +0 -40
  508. package/lib/esm/node_modules/lodash/_toSource.js.map +0 -1
  509. package/lib/esm/node_modules/lodash/eq.js +0 -49
  510. package/lib/esm/node_modules/lodash/eq.js.map +0 -1
  511. package/lib/esm/node_modules/lodash/get.js +0 -45
  512. package/lib/esm/node_modules/lodash/get.js.map +0 -1
  513. package/lib/esm/node_modules/lodash/hasIn.js +0 -47
  514. package/lib/esm/node_modules/lodash/hasIn.js.map +0 -1
  515. package/lib/esm/node_modules/lodash/identity.js +0 -33
  516. package/lib/esm/node_modules/lodash/identity.js.map +0 -1
  517. package/lib/esm/node_modules/lodash/isArguments.js +0 -49
  518. package/lib/esm/node_modules/lodash/isArguments.js.map +0 -1
  519. package/lib/esm/node_modules/lodash/isArray.js +0 -37
  520. package/lib/esm/node_modules/lodash/isArray.js.map +0 -1
  521. package/lib/esm/node_modules/lodash/isArrayLike.js +0 -46
  522. package/lib/esm/node_modules/lodash/isArrayLike.js.map +0 -1
  523. package/lib/esm/node_modules/lodash/isBuffer.js +0 -53
  524. package/lib/esm/node_modules/lodash/isBuffer.js.map +0 -1
  525. package/lib/esm/node_modules/lodash/isFunction.js +0 -51
  526. package/lib/esm/node_modules/lodash/isFunction.js.map +0 -1
  527. package/lib/esm/node_modules/lodash/isLength.js +0 -46
  528. package/lib/esm/node_modules/lodash/isLength.js.map +0 -1
  529. package/lib/esm/node_modules/lodash/isObject.js +0 -46
  530. package/lib/esm/node_modules/lodash/isObject.js.map +0 -1
  531. package/lib/esm/node_modules/lodash/isObjectLike.js +0 -43
  532. package/lib/esm/node_modules/lodash/isObjectLike.js.map +0 -1
  533. package/lib/esm/node_modules/lodash/isSymbol.js +0 -43
  534. package/lib/esm/node_modules/lodash/isSymbol.js.map +0 -1
  535. package/lib/esm/node_modules/lodash/isTypedArray.js +0 -41
  536. package/lib/esm/node_modules/lodash/isTypedArray.js.map +0 -1
  537. package/lib/esm/node_modules/lodash/keys.js +0 -51
  538. package/lib/esm/node_modules/lodash/keys.js.map +0 -1
  539. package/lib/esm/node_modules/lodash/memoize.js +0 -87
  540. package/lib/esm/node_modules/lodash/memoize.js.map +0 -1
  541. package/lib/esm/node_modules/lodash/noop.js +0 -28
  542. package/lib/esm/node_modules/lodash/noop.js.map +0 -1
  543. package/lib/esm/node_modules/lodash/property.js +0 -47
  544. package/lib/esm/node_modules/lodash/property.js.map +0 -1
  545. package/lib/esm/node_modules/lodash/stubArray.js +0 -35
  546. package/lib/esm/node_modules/lodash/stubArray.js.map +0 -1
  547. package/lib/esm/node_modules/lodash/stubFalse.js +0 -30
  548. package/lib/esm/node_modules/lodash/stubFalse.js.map +0 -1
  549. package/lib/esm/node_modules/lodash/toString.js +0 -40
  550. package/lib/esm/node_modules/lodash/toString.js.map +0 -1
  551. package/lib/esm/node_modules/lodash/uniqBy.js +0 -44
  552. package/lib/esm/node_modules/lodash/uniqBy.js.map +0 -1
  553. package/lib/esm/packages/hooks/use-latest/lib/esm/index.js.map +0 -1
  554. package/lib/esm/packages/hooks/use-merge-refs/lib/esm/index.js.map +0 -1
  555. package/lib/esm/packages/ui/input/lib/esm/Input.js.map +0 -1
  556. package/lib/esm/packages/ui/input/lib/esm/MockInput.js.map +0 -1
  557. package/lib/esm/packages/ui/input/lib/esm/styles/index.scss.js +0 -27
  558. package/lib/esm/packages/ui/input/lib/esm/use-input.js.map +0 -1
  559. package/lib/esm/packages/ui/input/lib/esm/utils/index.js.map +0 -1
  560. package/lib/esm/packages/utils/dom-utils/lib/esm/index.js.map +0 -1
@@ -1,94 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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 _MapCache = require('./_MapCache.js');
17
-
18
- var MapCache = _MapCache['default'];
19
- /** Error message constants. */
20
-
21
- var FUNC_ERROR_TEXT = 'Expected a function';
22
- /**
23
- * Creates a function that memoizes the result of `func`. If `resolver` is
24
- * provided, it determines the cache key for storing the result based on the
25
- * arguments provided to the memoized function. By default, the first argument
26
- * provided to the memoized function is used as the map cache key. The `func`
27
- * is invoked with the `this` binding of the memoized function.
28
- *
29
- * **Note:** The cache is exposed as the `cache` property on the memoized
30
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
31
- * constructor with one whose instances implement the
32
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
33
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
34
- *
35
- * @static
36
- * @memberOf _
37
- * @since 0.1.0
38
- * @category Function
39
- * @param {Function} func The function to have its output memoized.
40
- * @param {Function} [resolver] The function to resolve the cache key.
41
- * @returns {Function} Returns the new memoized function.
42
- * @example
43
- *
44
- * var object = { 'a': 1, 'b': 2 };
45
- * var other = { 'c': 3, 'd': 4 };
46
- *
47
- * var values = _.memoize(_.values);
48
- * values(object);
49
- * // => [1, 2]
50
- *
51
- * values(other);
52
- * // => [3, 4]
53
- *
54
- * object.a = 2;
55
- * values(object);
56
- * // => [1, 2]
57
- *
58
- * // Modify the result cache.
59
- * values.cache.set(object, ['a', 'b']);
60
- * values(object);
61
- * // => ['a', 'b']
62
- *
63
- * // Replace `_.memoize.Cache`.
64
- * _.memoize.Cache = WeakMap;
65
- */
66
-
67
- function memoize(func, resolver) {
68
- if (typeof func != 'function' || resolver != null && typeof resolver != 'function') {
69
- throw new TypeError(FUNC_ERROR_TEXT);
70
- }
71
-
72
- var memoized = function memoized() {
73
- var args = arguments,
74
- key = resolver ? resolver.apply(this, args) : args[0],
75
- cache = memoized.cache;
76
-
77
- if (cache.has(key)) {
78
- return cache.get(key);
79
- }
80
-
81
- var result = func.apply(this, args);
82
- memoized.cache = cache.set(key, result) || cache;
83
- return result;
84
- };
85
-
86
- memoized.cache = new (memoize.Cache || MapCache)();
87
- return memoized;
88
- } // Expose `MapCache`.
89
-
90
-
91
- memoize.Cache = MapCache;
92
- var memoize_1 = memoize;
93
- exports["default"] = memoize_1;
94
- //# sourceMappingURL=memoize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"memoize.js","sources":["../../../../../../../node_modules/lodash/memoize.js"],"sourcesContent":["var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n"],"names":["MapCache","require$$0","FUNC_ERROR_TEXT","memoize","func","resolver","TypeError","memoized","args","arguments","key","apply","cache","has","get","result","set","Cache","memoize_1"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAIA,QAAQ,GAAGC,oBAAf;AAEA;;AACA,IAAIC,eAAe,GAAG,qBAAtB;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAiBC,IAAjB,EAAuBC,QAAvB,EAAiC;AAC/B,MAAI,OAAOD,IAAP,IAAe,UAAf,IAA8BC,QAAQ,IAAI,IAAZ,IAAoB,OAAOA,QAAP,IAAmB,UAAzE,EAAsF;AACpF,UAAM,IAAIC,SAAJ,CAAcJ,eAAd,CAAN;AACD;;AACD,MAAIK,QAAQ,GAAG,SAAXA,QAAW,GAAW;AACxB,QAAIC,IAAI,GAAGC,SAAX;AAAA,QACIC,GAAG,GAAGL,QAAQ,GAAGA,QAAQ,CAACM,KAAT,CAAe,IAAf,EAAqBH,IAArB,CAAH,GAAgCA,IAAI,CAAC,CAAD,CADtD;AAAA,QAEII,KAAK,GAAGL,QAAQ,CAACK,KAFrB;;AAIA,QAAIA,KAAK,CAACC,GAAN,CAAUH,GAAV,CAAJ,EAAoB;AAClB,aAAOE,KAAK,CAACE,GAAN,CAAUJ,GAAV,CAAP;AACD;;AACD,QAAIK,MAAM,GAAGX,IAAI,CAACO,KAAL,CAAW,IAAX,EAAiBH,IAAjB,CAAb;AACAD,IAAAA,QAAQ,CAACK,KAAT,GAAiBA,KAAK,CAACI,GAAN,CAAUN,GAAV,EAAeK,MAAf,KAA0BH,KAA3C;AACA,WAAOG,MAAP;AACD,GAXD;;AAYAR,EAAAA,QAAQ,CAACK,KAAT,GAAiB,KAAKT,OAAO,CAACc,KAAR,IAAiBjB,QAAtB,GAAjB;AACA,SAAOO,QAAP;AACD,EAED;;;AACAJ,OAAO,CAACc,KAAR,GAAgBjB,QAAhB;IAEAkB,SAAc,GAAGf;"}
@@ -1,33 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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
- * This method returns `undefined`.
17
- *
18
- * @static
19
- * @memberOf _
20
- * @since 2.3.0
21
- * @category Util
22
- * @example
23
- *
24
- * _.times(2, _.noop);
25
- * // => [undefined, undefined]
26
- */
27
-
28
- function noop() {// No operation performed.
29
- }
30
-
31
- var noop_1 = noop;
32
- exports["default"] = noop_1;
33
- //# sourceMappingURL=noop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"noop.js","sources":["../../../../../../../node_modules/lodash/noop.js"],"sourcesContent":["/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n"],"names":["noop","noop_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,SAASA,IAAT,GAAgB;AAEf;;IAEDC,MAAc,GAAGD;"}
@@ -1,57 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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 _baseProperty = require('./_baseProperty.js');
17
-
18
- var _basePropertyDeep = require('./_basePropertyDeep.js');
19
-
20
- var _isKey = require('./_isKey.js');
21
-
22
- var _toKey = require('./_toKey.js');
23
-
24
- var baseProperty = _baseProperty['default'],
25
- basePropertyDeep = _basePropertyDeep['default'],
26
- isKey = _isKey['default'],
27
- toKey = _toKey['default'];
28
- /**
29
- * Creates a function that returns the value at `path` of a given object.
30
- *
31
- * @static
32
- * @memberOf _
33
- * @since 2.4.0
34
- * @category Util
35
- * @param {Array|string} path The path of the property to get.
36
- * @returns {Function} Returns the new accessor function.
37
- * @example
38
- *
39
- * var objects = [
40
- * { 'a': { 'b': 2 } },
41
- * { 'a': { 'b': 1 } }
42
- * ];
43
- *
44
- * _.map(objects, _.property('a.b'));
45
- * // => [2, 1]
46
- *
47
- * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
48
- * // => [1, 2]
49
- */
50
-
51
- function property(path) {
52
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
53
- }
54
-
55
- var property_1 = property;
56
- exports["default"] = property_1;
57
- //# sourceMappingURL=property.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"property.js","sources":["../../../../../../../node_modules/lodash/property.js"],"sourcesContent":["var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n"],"names":["baseProperty","require$$0","basePropertyDeep","require$$1","isKey","require$$2","toKey","require$$3","property","path","property_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAIA,YAAY,GAAGC,wBAAnB;AAAA,IACIC,gBAAgB,GAAGC,4BADvB;AAAA,IAEIC,KAAK,GAAGC,iBAFZ;AAAA,IAGIC,KAAK,GAAGC,iBAHZ;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,IAAlB,EAAwB;AACtB,SAAOL,KAAK,CAACK,IAAD,CAAL,GAAcT,YAAY,CAACM,KAAK,CAACG,IAAD,CAAN,CAA1B,GAA0CP,gBAAgB,CAACO,IAAD,CAAjE;AACD;;IAEDC,UAAc,GAAGF;"}
@@ -1,40 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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
- * This method returns a new empty array.
17
- *
18
- * @static
19
- * @memberOf _
20
- * @since 4.13.0
21
- * @category Util
22
- * @returns {Array} Returns the new empty array.
23
- * @example
24
- *
25
- * var arrays = _.times(2, _.stubArray);
26
- *
27
- * console.log(arrays);
28
- * // => [[], []]
29
- *
30
- * console.log(arrays[0] === arrays[1]);
31
- * // => false
32
- */
33
-
34
- function stubArray() {
35
- return [];
36
- }
37
-
38
- var stubArray_1 = stubArray;
39
- exports["default"] = stubArray_1;
40
- //# sourceMappingURL=stubArray.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stubArray.js","sources":["../../../../../../../node_modules/lodash/stubArray.js"],"sourcesContent":["/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n"],"names":["stubArray","stubArray_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,SAASA,SAAT,GAAqB;AACnB,SAAO,EAAP;AACD;;IAEDC,WAAc,GAAGD;"}
@@ -1,35 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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
- * This method returns `false`.
17
- *
18
- * @static
19
- * @memberOf _
20
- * @since 4.13.0
21
- * @category Util
22
- * @returns {boolean} Returns `false`.
23
- * @example
24
- *
25
- * _.times(2, _.stubFalse);
26
- * // => [false, false]
27
- */
28
-
29
- function stubFalse() {
30
- return false;
31
- }
32
-
33
- var stubFalse_1 = stubFalse;
34
- exports["default"] = stubFalse_1;
35
- //# sourceMappingURL=stubFalse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stubFalse.js","sources":["../../../../../../../node_modules/lodash/stubFalse.js"],"sourcesContent":["/**\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\nmodule.exports = stubFalse;\n"],"names":["stubFalse","stubFalse_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAASA,SAAT,GAAqB;AACnB,SAAO,KAAP;AACD;;IAEDC,WAAc,GAAGD;"}
@@ -1,47 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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 _baseToString = require('./_baseToString.js');
17
-
18
- var baseToString = _baseToString['default'];
19
- /**
20
- * Converts `value` to a string. An empty string is returned for `null`
21
- * and `undefined` values. The sign of `-0` is preserved.
22
- *
23
- * @static
24
- * @memberOf _
25
- * @since 4.0.0
26
- * @category Lang
27
- * @param {*} value The value to convert.
28
- * @returns {string} Returns the converted string.
29
- * @example
30
- *
31
- * _.toString(null);
32
- * // => ''
33
- *
34
- * _.toString(-0);
35
- * // => '-0'
36
- *
37
- * _.toString([1, 2, 3]);
38
- * // => '1,2,3'
39
- */
40
-
41
- function toString(value) {
42
- return value == null ? '' : baseToString(value);
43
- }
44
-
45
- var toString_1 = toString;
46
- exports["default"] = toString_1;
47
- //# sourceMappingURL=toString.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toString.js","sources":["../../../../../../../node_modules/lodash/toString.js"],"sourcesContent":["var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n"],"names":["baseToString","require$$0","toString","value","toString_1"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAIA,YAAY,GAAGC,wBAAnB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAOA,KAAK,IAAI,IAAT,GAAgB,EAAhB,GAAqBH,YAAY,CAACG,KAAD,CAAxC;AACD;;IAEDC,UAAc,GAAGF;"}
@@ -1,52 +0,0 @@
1
- /** @LICENSE
2
- * @hi-ui/tree-select
3
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/tree-select#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 _baseIteratee = require('./_baseIteratee.js');
17
-
18
- var _baseUniq = require('./_baseUniq.js');
19
-
20
- var baseIteratee = _baseIteratee['default'],
21
- baseUniq = _baseUniq['default'];
22
- /**
23
- * This method is like `_.uniq` except that it accepts `iteratee` which is
24
- * invoked for each element in `array` to generate the criterion by which
25
- * uniqueness is computed. The order of result values is determined by the
26
- * order they occur in the array. The iteratee is invoked with one argument:
27
- * (value).
28
- *
29
- * @static
30
- * @memberOf _
31
- * @since 4.0.0
32
- * @category Array
33
- * @param {Array} array The array to inspect.
34
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
35
- * @returns {Array} Returns the new duplicate free array.
36
- * @example
37
- *
38
- * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
39
- * // => [2.1, 1.2]
40
- *
41
- * // The `_.property` iteratee shorthand.
42
- * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
43
- * // => [{ 'x': 1 }, { 'x': 2 }]
44
- */
45
-
46
- function uniqBy(array, iteratee) {
47
- return array && array.length ? baseUniq(array, baseIteratee(iteratee)) : [];
48
- }
49
-
50
- var uniqBy_1 = uniqBy;
51
- exports["default"] = uniqBy_1;
52
- //# sourceMappingURL=uniqBy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uniqBy.js","sources":["../../../../../../../node_modules/lodash/uniqBy.js"],"sourcesContent":["var baseIteratee = require('./_baseIteratee'),\n baseUniq = require('./_baseUniq');\n\n/**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\nfunction uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, baseIteratee(iteratee, 2)) : [];\n}\n\nmodule.exports = uniqBy;\n"],"names":["baseIteratee","require$$0","baseUniq","require$$1","uniqBy","array","iteratee","length","uniqBy_1"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAIA,YAAY,GAAGC,wBAAnB;AAAA,IACIC,QAAQ,GAAGC,oBADf;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,MAAT,CAAgBC,KAAhB,EAAuBC,QAAvB,EAAiC;AAC/B,SAAQD,KAAK,IAAIA,KAAK,CAACE,MAAhB,GAA0BL,QAAQ,CAACG,KAAD,EAAQL,YAAY,CAACM,QAAD,CAApB,CAAlC,GAAuE,EAA9E;AACD;;IAEDE,QAAc,GAAGJ;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../hooks/use-latest/lib/esm/index.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/use-latest\n * https://github.com/XiaoMi/hiui/tree/master/packages/hooks/use-latest#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 { useRef, useCallback } from 'react';\n/**\n * Keep value up-to-date if it changes.\n *\n * @param value\n * @returns\n */\n\nvar useLatestRef = function useLatestRef(value) {\n var ref = useRef(value);\n ref.current = value;\n return ref;\n};\n/**\n * Keep callback function up-to-date if it changes.\n *\n * @param callback\n * @returns\n */\n\n\nvar useLatestCallback = function useLatestCallback(callback) {\n var ref = useLatestRef(callback);\n return useCallback(function () {\n var _a2;\n\n var _a;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_a = ref.current) === null || _a === void 0 ? void 0 : (_a2 = _a).call.apply(_a2, [ref].concat(args));\n }, []);\n};\n\nexport { useLatestCallback, useLatestRef };\n//# sourceMappingURL=index.js.map\n"],"names":["useLatestRef","value","ref","useRef","useLatestCallback","callback","useCallback","args","_a","current","_a2","call","apply","concat"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;IAMaA,YAAY,GAAG,SAAfA,YAAe,CAAAC,KAAA,EAAA;MACpBC,GAAG,GAAGC,YAAAA,CAAMF,KAANE;AACZD,EAAAA,GAAG,CAAHA,OAAAA,GAAAA,KAAAA;SACOA;;AAGT;;;;;;;;IAMaE,iBAAiB,GAAG,SAApBA,iBAAoB,CAAAC,QAAA,EAAA;MAGzBH,GAAG,GAAGF,YAAY,CAAAK,QAAA;SACjBC,iBAAAA,CAAY,YAAA;;;;;sCAAIC,IAAAA,GAAAA,IAAAA,KAAAA,CAAAA,IAAAA,GAAAA,IAAAA,GAAAA,GAAAA,IAAAA,GAAAA,MAAAA,IAAAA,IAAAA;AAAAA,MAAAA,IAAAA,CAAAA,IAAAA,CAAAA,GAAAA,SAAAA,CAAAA,IAAAA,CAAAA;;;WAAgB,CAAAC,EAAA,GAAAN,GAAG,CAAHO,OAAA,MAAA,IAAA,IAAAD,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,CAAAE,GAAA,GAAAF,EAAA,EAAAG,IAAA,CAAAC,KAAA,CAAAF,GAAA,EAAA,CAAAR,GAAA,EAAAW,MAAA,CAAiBN,IAAjB,CAAA;AAArB,GAAXD,EAAW,EAAXA;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../hooks/use-merge-refs/lib/esm/index.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/use-merge-refs\n * https://github.com/XiaoMi/hiui/tree/master/packages/hooks/use-merge-refs#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 { useMemo } from 'react';\n/**\n * A hook to merge multiple refs into a single function ref.\n *\n * @param refs\n */\n\nvar useMergeRefs = function useMergeRefs() {\n for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {\n refs[_key] = arguments[_key];\n }\n\n return useMemo(function () {\n return mergeRefs.apply(void 0, refs);\n }, refs);\n};\n/**\n * Merges multiple refs into a single function ref.\n *\n * @param refs\n * @returns\n */\n\n\nfunction mergeRefs() {\n for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n refs[_key2] = arguments[_key2];\n } // Empty check\n\n\n if (refs.some(function (ref) {\n return ref;\n }) === false) return null;\n return function (value) {\n refs.forEach(function (ref) {\n setRef(ref, value);\n });\n };\n}\n\nfunction setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}\n\nexport { mergeRefs, useMergeRefs };\n//# sourceMappingURL=index.js.map\n"],"names":["useMergeRefs","refs","useMemo","mergeRefs","some","ref","value","setRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;IAKaA,YAAY,GAAG,SAAfA,YAAe,GAAA;oCAAOC,IAAAA,GAAAA,IAAAA,KAAAA,CAAAA,IAAAA,GAAAA,IAAAA,GAAAA,GAAAA,IAAAA,GAAAA,MAAAA,IAAAA,IAAAA;AAAAA,IAAAA,IAAAA,CAAAA,IAAAA,CAAAA,GAAAA,SAAAA,CAAAA,IAAAA,CAAAA;;;SAC1BC,aAAAA,CAAQ,YAAA;WAAMC,SAAS,CAATA,KAAAA,CAAAA,KAAAA,CAAAA,EAAAA,IAAAA;AAAP,GAAPD,EAAOD,IAAPC;;AAGT;;;;;;;;SAMgBC,YAAAA;qCAAgBF,IAAAA,GAAAA,IAAAA,KAAAA,CAAAA,KAAAA,GAAAA,KAAAA,GAAAA,GAAAA,KAAAA,GAAAA,OAAAA,KAAAA,IAAAA;AAAAA,IAAAA,IAAAA,CAAAA,KAAAA,CAAAA,GAAAA,SAAAA,CAAAA,KAAAA,CAAAA;AAAhBE,GAAAA;;;MAEVF,IAAI,CAAJG,IAAA,CAAU,UAAAC,GAAA,EAAA;WAASA;AAAnB,GAAA,MAA4B,OAAO,OAAA,IAAA;SAEhC,UAAAC,KAAA,EAAA;AACLL,IAAAA,IAAI,CAAJA,OAAAA,CAAa,UAAAI,GAAA,EAAA;AACXE,MAAAA,MAAM,CAAAF,GAAA,EAANE,KAAM,CAANA;AADFN,KAAAA;;;;AAMJ,SAAAM,MAAA,CAAAF,GAAA,EAAAC,KAAA,EAAA;MACM,OAAAD,GAAA,KAAe,YAAY;AAC7BA,IAAAA,GAAG,CAAHA,KAAG,CAAHA;SACK,IAAAA,GAAA,EAAS;AACdA,IAAAA,GAAG,CAAHA,OAAAA,GAAAA,KAAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.js","sources":["../../../../../../../../input/lib/esm/Input.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/input\n * https://github.com/XiaoMi/hiui/tree/master/packages/ui/input#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 { __rest } from 'tslib';\nimport React, { forwardRef, useMemo, isValidElement, useRef, useCallback, useState } from 'react';\nimport { getPrefixCls, cx } from '@hi-ui/classname';\nimport { __DEV__ } from '@hi-ui/env';\nimport { useMergeRefs } from '@hi-ui/use-merge-refs';\nimport { CloseCircleFilled } from '@hi-ui/icons';\nimport { useInput } from './use-input.js';\n\nvar _prefix = getPrefixCls('input');\n/**\n * 输入框\n *\n * @TODO:\n * 1. size api 确认\n * 2. 修改类名结构\n * 3. 支持带数字展示\n * 4. InputGroup 模式支持\n * 5. 手动聚焦支持额外配置\n */\n\n\nvar Input = /*#__PURE__*/forwardRef(function (_a, ref) {\n var _a$prefixCls = _a.prefixCls,\n prefixCls = _a$prefixCls === void 0 ? _prefix : _a$prefixCls,\n _a$role = _a.role,\n role = _a$role === void 0 ? 'input' : _a$role,\n className = _a.className,\n style = _a.style,\n _a$size = _a.size,\n size = _a$size === void 0 ? 'md' : _a$size,\n _a$appearance = _a.appearance,\n appearance = _a$appearance === void 0 ? 'line' : _a$appearance,\n prepend = _a.prepend,\n append = _a.append,\n prefix = _a.prefix,\n suffix = _a.suffix,\n _a$clearableTrigger = _a.clearableTrigger,\n clearableTrigger = _a$clearableTrigger === void 0 ? 'hover' : _a$clearableTrigger,\n _a$clearable = _a.clearable,\n clearable = _a$clearable === void 0 ? false : _a$clearable,\n _a$invalid = _a.invalid,\n invalid = _a$invalid === void 0 ? false : _a$invalid,\n name = _a.name,\n autoFocus = _a.autoFocus,\n disabled = _a.disabled,\n readOnly = _a.readOnly,\n maxLength = _a.maxLength,\n placeholder = _a.placeholder,\n defaultValue = _a.defaultValue,\n valueProp = _a.value,\n onChange = _a.onChange,\n onFocus = _a.onFocus,\n onBlur = _a.onBlur,\n trimValueOnBlur = _a.trimValueOnBlur,\n type = _a.type,\n rest = __rest(_a, [\"prefixCls\", \"role\", \"className\", \"style\", \"size\", \"appearance\", \"prepend\", \"append\", \"prefix\", \"suffix\", \"clearableTrigger\", \"clearable\", \"invalid\", \"name\", \"autoFocus\", \"disabled\", \"readOnly\", \"maxLength\", \"placeholder\", \"defaultValue\", \"value\", \"onChange\", \"onFocus\", \"onBlur\", \"trimValueOnBlur\", \"type\"]); // @TODO: 临时方案,后面迁移至 InputGroup\n\n\n var _useMemo = useMemo(function () {\n var shouldUnset = [false, false]; // @ts-ignore\n // @ts-ignore\n\n if ( /*#__PURE__*/isValidElement(prepend) && ['Select', 'Button'].includes(prepend.type.HiName)) {\n shouldUnset[0] = true;\n } // @ts-ignore\n // @ts-ignore\n\n\n if ( /*#__PURE__*/isValidElement(append) && ['Select', 'Button'].includes(append.type.HiName)) {\n shouldUnset[1] = true;\n }\n\n return shouldUnset;\n }, [prepend, append]),\n unsetPrepend = _useMemo[0],\n unsetAppend = _useMemo[1];\n\n var inputElementRef = useRef(null);\n var proxyOnChange = useCallback(function (value, evt) {\n if (!onChange) return;\n onChangeMock(onChange, evt, inputElementRef.current, value);\n }, [onChange]);\n var clearElementRef = useRef(null);\n\n var _useInput = useInput({\n clearElementRef: clearElementRef,\n name: name,\n autoFocus: autoFocus,\n disabled: disabled,\n readOnly: readOnly,\n maxLength: maxLength,\n placeholder: placeholder,\n defaultValue: defaultValue,\n value: valueProp,\n onChange: proxyOnChange,\n onFocus: onFocus,\n onBlur: onBlur,\n trimValueOnBlur: trimValueOnBlur,\n type: type\n }),\n tryChangeValue = _useInput.tryChangeValue,\n focused = _useInput.focused,\n value = _useInput.value,\n getInputProps = _useInput.getInputProps;\n\n var focus = useCallback(function () {\n var _a;\n\n (_a = inputElementRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n }, []);\n var handleReset = useCallback(function (evt) {\n tryChangeValue('', evt);\n focus();\n }, [tryChangeValue, focus]);\n\n var _useState = useState(false),\n hover = _useState[0],\n setHover = _useState[1]; // 在开启 clearable 下展示 清除内容按钮,可点击进行内容清楚\n\n\n var showClearableIcon = clearable && !!value && !disabled;\n var mergedRef = useMergeRefs(ref, inputElementRef);\n var cls = cx(prefixCls, className, prefixCls + \"--size-\" + size, prefixCls + \"--appearance-\" + appearance);\n var outerCls = cx(prefixCls + \"__outer\", prepend && prefixCls + \"__outer--prepend\", prepend && unsetPrepend && prefixCls + \"__outer--prepend-unset\", append && prefixCls + \"__outer--append\", append && unsetAppend && prefixCls + \"__outer--append-unset\");\n return /*#__PURE__*/React.createElement(\"div\", {\n role: role,\n className: cls,\n style: style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: outerCls\n }, prepend ? /*#__PURE__*/React.createElement(\"div\", {\n className: prefixCls + \"__prepend\"\n }, prepend) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: cx(prefixCls + \"__inner\", prefix && prefixCls + \"__inner--prefix\", suffix && prefixCls + \"__inner--suffix\", focused && prefixCls + \"__inner--focused\", disabled && prefixCls + \"-__inner-disabled\", readOnly && prefixCls + \"-__inner-readonly\", invalid && prefixCls + \"__inner--invalid\"),\n onMouseOver: function onMouseOver(e) {\n setHover(true);\n },\n onMouseLeave: function onMouseLeave(e) {\n setHover(false);\n }\n }, prefix ? /*#__PURE__*/React.createElement(\"span\", {\n className: prefixCls + \"__prefix\"\n }, prefix) : null, /*#__PURE__*/React.createElement(\"input\", Object.assign({\n ref: mergedRef,\n className: prefixCls + \"__text\"\n }, getInputProps(), rest)), suffix || showClearableIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: prefixCls + \"__suffix\"\n }, showClearableIcon ? /*#__PURE__*/React.createElement(\"span\", {\n ref: clearElementRef,\n className: cx(prefixCls + \"__clear\", (clearableTrigger === 'always' || hover) && prefixCls + \"__clear--active\"),\n role: \"button\",\n tabIndex: -1,\n onClick: handleReset\n }, /*#__PURE__*/React.createElement(CloseCircleFilled, null)) : null, suffix) : null), append ? /*#__PURE__*/React.createElement(\"div\", {\n className: prefixCls + \"__append\"\n }, append) : null));\n});\n\nif (__DEV__) {\n Input.displayName = 'Input';\n}\n/**\n * 模拟伪装目标事件 target\n *\n * @param target\n * @param evt\n * @param onChange\n * @param targetValue\n * @returns\n */\n\n\nfunction onChangeMock(onChange, evt, target, targetValue) {\n var event = evt; // 点击 clearIcon 或者 失焦 trim 时,都会代理 onChange 的事件对象 target 指向 input.target\n\n if (evt.type !== 'change') {\n if (!target) return;\n var originalTargetValue = target.value;\n event = Object.create(evt);\n event.target = target;\n event.currentTarget = target;\n target.value = targetValue;\n onChange(event, targetValue); // 重置为之前值\n\n target.value = originalTargetValue;\n return;\n }\n\n onChange(event, targetValue);\n}\n\nexport { Input, onChangeMock };\n//# sourceMappingURL=Input.js.map\n"],"names":["_prefix","getPrefixCls","Input","forwardRef","_a","ref","prefixCls","role","_a$role","className","style","size","_a$size","appearance","_a$appearance","prepend","append","prefix","suffix","clearableTrigger","_a$clearableTrigger","clearable","_a$clearable","invalid","_a$invalid","name","autoFocus","disabled","readOnly","maxLength","placeholder","defaultValue","valueProp","value","onChange","onFocus","onBlur","trimValueOnBlur","type","rest","useMemo","shouldUnset","isValidElement","includes","HiName","unsetPrepend","_useMemo","unsetAppend","inputElementRef","useRef","proxyOnChange","useCallback","evt","onChangeMock","current","clearElementRef","useInput","tryChangeValue","_useInput","focused","getInputProps","focus","handleReset","useState","hover","_useState","setHover","showClearableIcon","mergedRef","useMergeRefs","cls","cx","outerCls","React","onMouseOver","e","onMouseLeave","tabIndex","onClick","__DEV__","target","targetValue","event","originalTargetValue","Object"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA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ib/esm/MockInput.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/input\n * https://github.com/XiaoMi/hiui/tree/master/packages/ui/input#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 { __rest } from 'tslib';\nimport React, { forwardRef, useMemo, useCallback, useState } from 'react';\nimport { getPrefixCls, cx } from '@hi-ui/classname';\nimport { __DEV__ } from '@hi-ui/env';\nimport { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';\nimport { CloseCircleFilled } from '@hi-ui/icons';\nvar _role = 'mock-input';\n\nvar _prefix = getPrefixCls(_role);\n\nvar NOOP_VALUE = '';\nvar NOOP_ARRAY = [];\n/**\n * 支持自定义渲染输入框内容,暂时仅供内部 Picker 类组件使用,不对外提供\n */\n\nvar MockInput = /*#__PURE__*/forwardRef(function (_a, ref) {\n var _a$prefixCls = _a.prefixCls,\n prefixCls = _a$prefixCls === void 0 ? _prefix : _a$prefixCls,\n _a$role = _a.role,\n role = _a$role === void 0 ? _role : _a$role,\n className = _a.className,\n _a$data = _a.data,\n data = _a$data === void 0 ? NOOP_ARRAY : _a$data,\n _a$defaultValue = _a.defaultValue,\n defaultValue = _a$defaultValue === void 0 ? NOOP_VALUE : _a$defaultValue,\n valueProp = _a.value,\n onChange = _a.onChange,\n placeholder = _a.placeholder,\n _a$disabled = _a.disabled,\n disabled = _a$disabled === void 0 ? false : _a$disabled,\n _a$clearable = _a.clearable,\n clearable = _a$clearable === void 0 ? false : _a$clearable,\n _a$focused = _a.focused,\n focused = _a$focused === void 0 ? false : _a$focused,\n _a$invalid = _a.invalid,\n invalid = _a$invalid === void 0 ? false : _a$invalid,\n _a$readOnly = _a.readOnly,\n readOnly = _a$readOnly === void 0 ? false : _a$readOnly,\n _a$size = _a.size,\n size = _a$size === void 0 ? 'md' : _a$size,\n _a$appearance = _a.appearance,\n appearance = _a$appearance === void 0 ? 'line' : _a$appearance,\n _a$clearableTrigger = _a.clearableTrigger,\n clearableTrigger = _a$clearableTrigger === void 0 ? 'hover' : _a$clearableTrigger,\n displayRender = _a.displayRender,\n suffix = _a.suffix,\n _onMouseOver = _a.onMouseOver,\n _onMouseLeave = _a.onMouseLeave,\n rest = __rest(_a, [\"prefixCls\", \"role\", \"className\", \"data\", \"defaultValue\", \"value\", \"onChange\", \"placeholder\", \"disabled\", \"clearable\", \"focused\", \"invalid\", \"readOnly\", \"size\", \"appearance\", \"clearableTrigger\", \"displayRender\", \"suffix\", \"onMouseOver\", \"onMouseLeave\"]);\n\n var _useUncontrolledState = useUncontrolledState(defaultValue, valueProp, onChange),\n value = _useUncontrolledState[0],\n tryChangeValue = _useUncontrolledState[1];\n\n var displayItem = useMemo(function () {\n if (value === '') return null;\n var displayItem = data.find(function (item) {\n return item.id === value;\n });\n return displayItem || null;\n }, [value, data]);\n var displayValue = useMemo(function () {\n if (!displayItem) return '';\n\n if (displayRender) {\n return displayRender(displayItem);\n }\n\n return displayItem.title;\n }, [displayItem, displayRender]);\n var handleClear = useCallback(function (evt) {\n if (disabled) return;\n evt.stopPropagation();\n tryChangeValue(NOOP_VALUE, displayItem);\n }, [tryChangeValue, disabled, displayItem]);\n\n var _useState = useState(false),\n hover = _useState[0],\n setHover = _useState[1];\n\n var trySetHover = useCallback(function (hovered) {\n if (disabled) return;\n setHover(hovered);\n }, [disabled]);\n var hasValue = !!displayValue; // 在开启 clearable 下展示 清除内容按钮,可点击进行内容清除\n\n var showClearableIcon = useMemo(function () {\n return clearable && hasValue && !disabled && (clearableTrigger === 'always' || hover);\n }, [clearable, hasValue, disabled, clearableTrigger, hover]);\n var cls = cx(prefixCls, className, prefixCls + \"--appearance-\" + appearance, prefixCls + \"--size-\" + size, focused && \"focused\", disabled && 'disabled', readOnly && 'readonly', invalid && 'invalid');\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({\n ref: ref,\n role: role,\n className: cls,\n onMouseOver: function onMouseOver(evt) {\n trySetHover(true);\n _onMouseOver === null || _onMouseOver === void 0 ? void 0 : _onMouseOver(evt);\n },\n onMouseLeave: function onMouseLeave(evt) {\n trySetHover(false);\n _onMouseLeave === null || _onMouseLeave === void 0 ? void 0 : _onMouseLeave(evt);\n }\n }, rest), hasValue ? /*#__PURE__*/React.createElement(\"span\", {\n className: prefixCls + \"__value\"\n }, displayValue) : /*#__PURE__*/React.createElement(\"span\", {\n className: prefixCls + \"__placeholder\"\n }, placeholder), suffix || showClearableIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: prefixCls + \"__suffix\"\n }, showClearableIcon ? /*#__PURE__*/React.createElement(\"span\", {\n role: \"button\",\n tabIndex: -1,\n className: cx(prefixCls + \"__clear\", 'active'),\n onClick: handleClear\n }, /*#__PURE__*/React.createElement(CloseCircleFilled, null)) : suffix) : null);\n});\n\nif (__DEV__) {\n MockInput.displayName = 'MockInput';\n}\n\nexport { MockInput };\n//# sourceMappingURL=MockInput.js.map\n"],"names":["_role","_prefix","getPrefixCls","NOOP_VALUE","NOOP_ARRAY","MockInput","forwardRef","_a","ref","prefixCls","role","className","data","defaultValue","valueProp","value","onChange","placeholder","disabled","_a$disabled","clearable","_a$clearable","focused","_a$focused","invalid","_a$invalid","readOnly","_a$readOnly","size","_a$size","appearance","_a$appearance","clearableTrigger","_a$clearableTrigger","displayRender","suffix","onMouseOver","onMouseLeave","rest","useUncontrolledState","_useUncontrolledState","tryChangeValue","displayItem","useMemo","find","item","displayValue","title","handleClear","useCallback","evt","useState","hover","_useState","setHover","trySetHover","hovered","hasValue","showClearableIcon","cls","cx","React","tabIndex","onClick","__DEV__"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAMA,KAAK,GAAX,YAAA;;AACA,IAAMC,OAAO,GAAGC,sBAAAA,CAAhBF,KAAgBE,CAAhB;;AAEA,IAAMC,UAAU,GAAhB,EAAA;AACA,IAAMC,UAAU,GAAhB,EAAA;AAEA;;;;IAGaC,SA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ui/tree/master/packages/ui/tree-select#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/input
17
- * https://github.com/XiaoMi/hiui/tree/master/packages/ui/input#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
- var css_248z = "@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n.hi-v4-mock-input {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: text;\n background-color: transparent;\n -webkit-tap-highlight-color: transparent;\n position: relative;\n overflow: hidden;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1;\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n width: 100%;\n height: auto;\n z-index: auto;\n font-size: inherit;\n line-height: inherit;\n color: #1f2733;\n color: var(--hi-v4-color-gray-700, #1f2733);\n border: 1px solid transparent;\n border: var(--hi-v4-border-size-normal, 1px solid) var(--hi-v4-color-static-transparent, transparent);\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff); }\n.hi-v4-mock-input:not(.disabled):hover {\n z-index: calc(1 + 1);\n z-index: calc(var(--hi-v4-zindex-absolute, 1) + 1); }\n.hi-v4-mock-input:not(.disabled).focused {\n z-index: calc(1 + 1);\n z-index: calc(var(--hi-v4-zindex-absolute, 1) + 1); }\n.hi-v4-mock-input.disabled {\n cursor: not-allowed; }\n.hi-v4-mock-input__suffix, .hi-v4-mock-input__placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-mock-input__clear {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 16px;\n height: 16px;\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n text-align: center;\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n cursor: pointer;\n visibility: hidden;\n opacity: 0;\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1)); }\n.hi-v4-mock-input__clear:hover {\n color: #000;\n color: var(--hi-v4-color-static-black, #000); }\n.hi-v4-mock-input__clear.active {\n visibility: visible;\n opacity: 1; }\n.hi-v4-mock-input__suffix {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6);\n font-size: 1rem;\n font-size: var(--hi-v4-text-size-lg, 1rem);\n padding-left: 8px;\n padding-left: var(--hi-v4-spacing-4, 8px);\n text-align: center; }\n.hi-v4-mock-input__value {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: inline-block;\n width: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n.hi-v4-mock-input--size-sm.hi-v4-mock-input {\n height: 24px;\n height: var(--hi-v4-height-sm, 24px);\n font-size: 0.75rem;\n font-size: var(--hi-v4-text-size-sm, 0.75rem);\n line-height: 1.25rem;\n line-height: var(--hi-v4-text-lineheight-sm, 1.25rem);\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px);\n padding: 1px calc(12px - 1px);\n padding: 1px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-mock-input--size-md.hi-v4-mock-input {\n height: 32px;\n height: var(--hi-v4-height-normal, 32px);\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n line-height: 1.375rem;\n line-height: var(--hi-v4-text-lineheight-normal, 1.375rem);\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px);\n padding: 4px calc(12px - 1px);\n padding: 4px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-mock-input--size-lg.hi-v4-mock-input {\n height: 40px;\n height: var(--hi-v4-height-lg, 40px);\n font-size: 1rem;\n font-size: var(--hi-v4-text-size-lg, 1rem);\n line-height: 1.5rem;\n line-height: var(--hi-v4-text-lineheight-lg, 1.5rem);\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px);\n padding: 7px calc(12px - 1px);\n padding: 7px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input {\n border-color: #dfe2e8;\n border-color: var(--hi-v4-color-gray-300, #dfe2e8); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input:not(.disabled):hover {\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input:not(.disabled).focused {\n -webkit-box-shadow: 0 0 0 2px #bde2ff;\n box-shadow: 0 0 0 2px #bde2ff;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input:not(.disabled).invalid {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input:not(.disabled).invalid.hover {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-line.hi-v4-mock-input:not(.disabled).invalid.focused {\n -webkit-box-shadow: 0 0 0 2px #ffd1c9;\n box-shadow: 0 0 0 2px #ffd1c9;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9));\n box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9)); }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input {\n width: auto;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n border-color: transparent; }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input:not(.disabled):hover {\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input:not(.disabled).focused {\n -webkit-box-shadow: 0 0 0 2px #bde2ff;\n box-shadow: 0 0 0 2px #bde2ff;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff);\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input:not(.disabled).invalid {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input:not(.disabled).invalid.hover {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-unset.hi-v4-mock-input:not(.disabled).invalid.focused {\n -webkit-box-shadow: 0 0 0 2px #ffd1c9;\n box-shadow: 0 0 0 2px #ffd1c9;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9));\n box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9)); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input {\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input:not(.disabled):hover {\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff);\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input:not(.disabled).focused {\n -webkit-box-shadow: 0 0 0 2px #bde2ff;\n box-shadow: 0 0 0 2px #bde2ff;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input:not(.disabled).invalid {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input:not(.disabled).invalid.hover {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-mock-input--appearance-filled.hi-v4-mock-input:not(.disabled).invalid.focused {\n -webkit-box-shadow: 0 0 0 2px #ffd1c9;\n box-shadow: 0 0 0 2px #ffd1c9;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9));\n box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9)); }\n.hi-v4-mock-input--appearance-line.disabled.hi-v4-mock-input, .hi-v4-mock-input--appearance-unset.disabled.hi-v4-mock-input, .hi-v4-mock-input--appearance-filled.disabled.hi-v4-mock-input {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-mock-input--appearance-line.disabled.hi-v4-mock-input, .hi-v4-mock-input--appearance-filled.disabled.hi-v4-mock-input {\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n@use 'sass:map';\n.hi-v4-input {\n position: relative;\n display: inline-block;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n width: 100%; }\n.hi-v4-input__outer {\n margin: 0;\n padding: 0;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n position: relative;\n height: 100%;\n width: 100%; }\n.hi-v4-input__text {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: none;\n outline: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: text;\n background-color: transparent;\n -webkit-tap-highlight-color: transparent;\n -webkit-box-flex: 1;\n -ms-flex: 1 1;\n flex: 1 1;\n display: inline-block;\n box-sizing: border-box;\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n width: 100%;\n font-size: inherit;\n line-height: inherit;\n color: #1f2733;\n color: var(--hi-v4-color-gray-700, #1f2733); }\n.hi-v4-input__text::-webkit-input-placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-input__text::-moz-placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-input__text::-ms-input-placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-input__text:-ms-input-placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-input__text::placeholder {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6); }\n.hi-v4-input__text:disabled {\n cursor: not-allowed; }\n.hi-v4-input__inner {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n height: auto;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-size: inherit;\n border: 1px solid transparent;\n border: var(--hi-v4-border-size-normal, 1px solid) var(--hi-v4-color-static-transparent, transparent);\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff);\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n outline: none;\n z-index: auto; }\n.hi-v4-input__inner:not(.hi-v4-input__inner--disabled):hover {\n z-index: calc(1 + 1);\n z-index: calc(var(--hi-v4-zindex-absolute, 1) + 1); }\n.hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--focused {\n z-index: calc(1 + 1);\n z-index: calc(var(--hi-v4-zindex-absolute, 1) + 1); }\n.hi-v4-input__clear {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n height: auto;\n text-align: center;\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n color: #929aa6;\n color: var(--hi-v4-color-gray-500, #929aa6);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n cursor: pointer;\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n visibility: hidden;\n opacity: 0; }\n.hi-v4-input__clear:hover {\n color: #1f2733;\n color: var(--hi-v4-color-gray-700, #1f2733); }\n.hi-v4-input__clear.hi-v4-input__clear--active {\n visibility: visible;\n opacity: 1; }\n.hi-v4-input__inner--suffix .hi-v4-input__clear {\n -webkit-margin-end: 4px;\n margin-inline-end: 4px;\n -webkit-margin-end: var(--hi-v4-spacing-2, 4px);\n margin-inline-end: var(--hi-v4-spacing-2, 4px); }\n.hi-v4-input__prefix, .hi-v4-input__suffix {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n color: #1f2733;\n color: var(--hi-v4-color-gray-700, #1f2733);\n font-size: inherit;\n text-align: center; }\n.hi-v4-input__prefix {\n padding-left: calc(12px - 1px);\n padding-left: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input__suffix {\n padding-right: calc(12px - 1px);\n padding-right: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input__prepend, .hi-v4-input__append {\n position: relative;\n color: #1f2733;\n color: var(--hi-v4-color-gray-700, #1f2733);\n background-color: #f5f7fa;\n background-color: var(--hi-v4-color-gray-50, #f5f7fa);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: inherit;\n text-align: center;\n padding: 0 calc(12px - 1px);\n padding: 0 calc(var(--hi-v4-spacing-6, 12px) - 1px);\n border: 1px solid transparent;\n border: var(--hi-v4-border-size-normal, 1px solid) var(--hi-v4-color-static-transparent, transparent);\n white-space: nowrap;\n -webkit-transition-property: all;\n transition-property: all;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n transition-duration: var(--hi-v4-motion-duration-normal, 200ms);\n -webkit-transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n transition-timing-function: cubic-bezier(0.37, 0.02, 0.34, 1);\n -webkit-transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n transition-timing-function: var(--hi-v4-motion-bezier-normal, cubic-bezier(0.37, 0.02, 0.34, 1));\n z-index: 1;\n z-index: var(--hi-v4-zindex-absolute, 1); }\n.hi-v4-input__prepend {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n margin-right: -1px; }\n.hi-v4-input__append {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n margin-left: -1px; }\n.hi-v4-input--size-sm {\n height: 24px;\n height: var(--hi-v4-height-sm, 24px);\n font-size: 0.75rem;\n font-size: var(--hi-v4-text-size-sm, 0.75rem);\n line-height: 1.25rem;\n line-height: var(--hi-v4-text-lineheight-sm, 1.25rem); }\n.hi-v4-input--size-sm .hi-v4-input__text {\n padding: 1px calc(12px - 1px);\n padding: 1px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--size-sm .hi-v4-input__inner,\n .hi-v4-input--size-sm .hi-v4-input__prepend,\n .hi-v4-input--size-sm .hi-v4-input__append {\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px); }\n.hi-v4-input--size-sm .hi-v4-input__prepend {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input--size-sm .hi-v4-input__append {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n.hi-v4-input--size-md {\n height: 32px;\n height: var(--hi-v4-height-normal, 32px);\n font-size: 0.875rem;\n font-size: var(--hi-v4-text-size-normal, 0.875rem);\n line-height: 1.375rem;\n line-height: var(--hi-v4-text-lineheight-normal, 1.375rem); }\n.hi-v4-input--size-md .hi-v4-input__text {\n padding: 4px calc(12px - 1px);\n padding: 4px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--size-md .hi-v4-input__inner,\n .hi-v4-input--size-md .hi-v4-input__prepend,\n .hi-v4-input--size-md .hi-v4-input__append {\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px); }\n.hi-v4-input--size-md .hi-v4-input__prepend {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input--size-md .hi-v4-input__append {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n.hi-v4-input--size-lg {\n height: 40px;\n height: var(--hi-v4-height-lg, 40px);\n font-size: 1rem;\n font-size: var(--hi-v4-text-size-lg, 1rem);\n line-height: 1.5rem;\n line-height: var(--hi-v4-text-lineheight-lg, 1.5rem); }\n.hi-v4-input--size-lg .hi-v4-input__text {\n padding: 7px calc(12px - 1px);\n padding: 7px calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--size-lg .hi-v4-input__inner,\n .hi-v4-input--size-lg .hi-v4-input__prepend,\n .hi-v4-input--size-lg .hi-v4-input__append {\n border-radius: 4px;\n border-radius: var(--hi-v4-border-radius-normal, 4px); }\n.hi-v4-input--size-lg .hi-v4-input__prepend {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input--size-lg .hi-v4-input__append {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n.hi-v4-input--appearance-line .hi-v4-input__inner {\n border-color: #dfe2e8;\n border-color: var(--hi-v4-color-gray-300, #dfe2e8); }\n.hi-v4-input--appearance-line .hi-v4-input__inner:not(.hi-v4-input__inner--disabled):hover {\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-input--appearance-line .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--focused {\n -webkit-box-shadow: 0 0 0 2px #bde2ff;\n box-shadow: 0 0 0 2px #bde2ff;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-input--appearance-line .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-line .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid:hover {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-line .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid.hi-v4-input__inner--focused {\n -webkit-box-shadow: 0 0 0 2px #ffd1c9;\n box-shadow: 0 0 0 2px #ffd1c9;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9));\n box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9)); }\n.hi-v4-input--appearance-line .hi-v4-input__prepend,\n .hi-v4-input--appearance-line .hi-v4-input__append {\n border-color: #dfe2e8;\n border-color: var(--hi-v4-color-gray-300, #dfe2e8); }\n.hi-v4-input--appearance-unset .hi-v4-input__text {\n padding-left: 0;\n padding-right: 0; }\n.hi-v4-input--appearance-unset.hi-v4-input__outer--prepend .hi-v4-input__text,\n .hi-v4-input--appearance-unset .hi-v4-input__inner--prefix .hi-v4-input__text {\n padding-left: calc(12px - 1px);\n padding-left: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--appearance-unset.hi-v4-input__outer--append .hi-v4-input__text,\n .hi-v4-input--appearance-unset .hi-v4-input__inner--suffix .hi-v4-input__text {\n padding-right: calc(12px - 1px);\n padding-right: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--appearance-unset .hi-v4-input__inner {\n border-radius: 0; }\n.hi-v4-input--appearance-filled .hi-v4-input__inner {\n background-color: #f2f4f7;\n background-color: var(--hi-v4-color-gray-100, #f2f4f7); }\n.hi-v4-input--appearance-filled .hi-v4-input__inner:not(.hi-v4-input__inner--disabled):hover {\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff);\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-input--appearance-filled .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--focused {\n -webkit-box-shadow: 0 0 0 2px #bde2ff;\n box-shadow: 0 0 0 2px #bde2ff;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n box-shadow: 0 0 0 2px var(--hi-v4-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff));\n border-color: #237ffa;\n border-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));\n background-color: #fff;\n background-color: var(--hi-v4-color-static-white, #fff); }\n.hi-v4-input--appearance-filled .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-filled .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid:hover {\n border-color: #ff5959;\n border-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-filled .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid.hi-v4-input__inner--focused {\n -webkit-box-shadow: 0 0 0 2px #ffd1c9;\n box-shadow: 0 0 0 2px #ffd1c9;\n -webkit-box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9));\n box-shadow: 0 0 0 2px var(--hi-v4-danger-100, var(--hi-v4-color-red-100, #ffd1c9)); }\n.hi-v4-input--appearance-underline .hi-v4-input__text {\n padding-left: 0;\n padding-right: 0; }\n.hi-v4-input--appearance-underline.hi-v4-input__outer--prepend .hi-v4-input__text,\n .hi-v4-input--appearance-underline .hi-v4-input__inner--prefix .hi-v4-input__text {\n padding-left: calc(12px - 1px);\n padding-left: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--appearance-underline.hi-v4-input__outer--append .hi-v4-input__text,\n .hi-v4-input--appearance-underline .hi-v4-input__inner--suffix .hi-v4-input__text {\n padding-right: calc(12px - 1px);\n padding-right: calc(var(--hi-v4-spacing-6, 12px) - 1px); }\n.hi-v4-input--appearance-underline .hi-v4-input__inner {\n border-radius: 0; }\n.hi-v4-input--appearance-underline .hi-v4-input__inner::after {\n content: '';\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n position: absolute;\n bottom: 0;\n left: -1px;\n right: -1px;\n border-bottom: 1px solid #dfe2e8;\n border-bottom: 1px solid var(--hi-v4-color-gray-300, #dfe2e8);\n -webkit-transition: all 0.3s;\n transition: all 0.3s; }\n.hi-v4-input--appearance-underline .hi-v4-input__inner:not(.hi-v4-input__inner--disabled):hover::after {\n border-bottom-color: #237ffa;\n border-bottom-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-input--appearance-underline .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--focused::after {\n border-bottom-color: #237ffa;\n border-bottom-color: var(--hi-v4-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }\n.hi-v4-input--appearance-underline .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid::after {\n border-bottom-color: #ff5959;\n border-bottom-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-underline .hi-v4-input__inner:not(.hi-v4-input__inner--disabled).hi-v4-input__inner--invalid.hover::after {\n border-bottom-color: #ff5959;\n border-bottom-color: var(--hi-v4-danger-500, var(--hi-v4-color-red-500, #ff5959)); }\n.hi-v4-input--appearance-line .hi-v4-input__inner.hi-v4-input__inner--disabled, .hi-v4-input--appearance-filled .hi-v4-input__inner.hi-v4-input__inner--disabled {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6);\n background-color: #ebedf0;\n background-color: var(--hi-v4-color-gray-200, #ebedf0); }\n.hi-v4-input--appearance-unset .hi-v4-input__inner.hi-v4-input__inner--disabled, .hi-v4-input--appearance-underline .hi-v4-input__inner.hi-v4-input__inner--disabled {\n color: #c9ced6;\n color: var(--hi-v4-color-gray-400, #c9ced6);\n background-color: transparent; }\n.hi-v4-input__outer--prepend .hi-v4-input__inner {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n.hi-v4-input__outer--prepend-unset .hi-v4-input__prepend {\n border: none;\n padding: 0; }\n.hi-v4-input__outer--prepend-unset .hi-v4-input__prepend .hi-v4-mock-input {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input__outer--prepend-unset .hi-v4-input__prepend .hi-v4-button {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input__outer--append .hi-v4-input__inner {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n.hi-v4-input__outer--append-unset .hi-v4-input__append {\n border: none;\n padding: 0; }\n.hi-v4-input__outer--append-unset .hi-v4-input__append .hi-v4-mock-input {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n.hi-v4-input__outer--append-unset .hi-v4-input__append .hi-v4-button {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0; }\n";
26
-
27
- var __styleInject__ = require('style-inject/dist/style-inject.es.js')["default"];
28
-
29
- __styleInject__(css_248z);
30
-
31
- exports["default"] = css_248z;
32
- //# sourceMappingURL=index.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-input.js","sources":["../../../../../../../../input/lib/esm/use-input.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/input\n * https://github.com/XiaoMi/hiui/tree/master/packages/ui/input#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 { useCallback, useState, useMemo } from 'react';\nimport { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';\nimport { useLatestCallback } from '@hi-ui/use-latest';\nimport { setAttrStatus } from '@hi-ui/dom-utils';\nimport { pure, format, formatAmount } from './utils/index.js';\n\nvar useInput = function useInput(_ref) {\n var name = _ref.name,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus,\n _ref$disabled = _ref.disabled,\n disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n _ref$readOnly = _ref.readOnly,\n readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,\n maxLength = _ref.maxLength,\n placeholder = _ref.placeholder,\n _ref$defaultValue = _ref.defaultValue,\n defaultValue = _ref$defaultValue === void 0 ? '' : _ref$defaultValue,\n valueProp = _ref.value,\n onChange = _ref.onChange,\n onFocus = _ref.onFocus,\n onBlur = _ref.onBlur,\n _ref$trimValueOnBlur = _ref.trimValueOnBlur,\n trimValueOnBlur = _ref$trimValueOnBlur === void 0 ? false : _ref$trimValueOnBlur,\n _ref$type = _ref.type,\n type = _ref$type === void 0 ? 'text' : _ref$type,\n clearElementRef = _ref.clearElementRef; // Object.is 避免 trimValueOnBlur 和 点击 clearIcon 触发 2 次相同的 onCHange\n\n var _useUncontrolledState = useUncontrolledState(defaultValue, valueProp, onChange, Object.is),\n value = _useUncontrolledState[0],\n tryChangeValue = _useUncontrolledState[1];\n\n var handleChange = useCallback(function (evt, trim) {\n if (trim === void 0) {\n trim = false;\n }\n\n evt.persist();\n var nextValue = evt.target.value;\n var valueTrue = pure(nextValue, type); // 防溢出,保证 onChange 拿到的是值是最新的 formatted value\n\n var value = format(nextValue, type);\n\n if (trim) {\n valueTrue = valueTrue.trim();\n value = value.trim();\n }\n\n var event = Object.create(evt);\n event.target = Object.assign(Object.assign({}, evt.target), {\n value: value\n });\n tryChangeValue(valueTrue, event);\n }, [tryChangeValue, type]);\n\n var _useState = useState(autoFocus),\n focused = _useState[0],\n setFocused = _useState[1];\n\n var handleFocus = useLatestCallback(function (evt) {\n setFocused(true);\n onFocus === null || onFocus === void 0 ? void 0 : onFocus(evt);\n });\n var handleBlur = useLatestCallback(function (event) {\n var relatedTarget = event.relatedTarget; // 拦截 clearIcon 点击清空,阻止其触发 input 失焦\n\n if (clearElementRef && clearElementRef.current && clearElementRef.current === relatedTarget) {\n return;\n }\n\n setFocused(false); // amount 自动添加小数\n\n if (type === 'amount') {\n event.target.value = formatAmount(value, true);\n handleChange(event, trimValueOnBlur);\n } else if (trimValueOnBlur) {\n handleChange(event, true);\n }\n\n onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);\n });\n var nativeInputProps = useMemo(function () {\n return {\n name: name,\n disabled: disabled,\n readOnly: readOnly,\n autoFocus: autoFocus,\n placeholder: placeholder,\n maxLength: maxLength,\n 'data-focused': setAttrStatus(focused)\n };\n }, [disabled, readOnly, autoFocus, placeholder, maxLength, name, focused]);\n var getInputProps = useCallback(function () {\n return Object.assign(Object.assign({}, nativeInputProps), {\n value: format(value, type),\n onChange: handleChange,\n onFocus: handleFocus,\n onBlur: handleBlur\n });\n }, [value, type, handleChange, handleFocus, handleBlur, nativeInputProps]);\n return {\n focused: focused,\n value: value,\n tryChangeValue: tryChangeValue,\n getInputProps: getInputProps\n };\n};\n\nexport { useInput };\n//# sourceMappingURL=use-input.js.map\n"],"names":["useInput","_ref","name","autoFocus","_ref$autoFocus","disabled","_ref$disabled","readOnly","_ref$readOnly","maxLength","placeholder","defaultValue","_ref$defaultValue","valueProp","value","onChange","onFocus","onBlur","trimValueOnBlur","_ref$trimValueOnBlur","type","_ref$type","clearElementRef","useUncontrolledState","Object","is","_useUncontrolledState","tryChangeValue","handleChange","useCallback","evt","trim","nextValue","valueTrue","pure","format","event","target","useState","focused","_useState","setFocused","handleFocus","useLatestCallback","handleBlur","relatedTarget","formatAmount","nativeInputProps","useMemo","setAttrStatus","getInputProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMaA,QAAQ,GAAG,SAAXA,QAAW,CAAAC,IAAA,EAAA;MACtBC,IAAAA,GAAAA,IAAAA,CAAAA;4BACAC;MAAAA,SAAAA,GAAAA,cAAAA,KAAAA,KAAAA,CAAAA,GAAY,KAAZA,GAAYC;2BACZC;MAAAA,QAAAA,GAAAA,aAAAA,KAAAA,KAAAA,CAAAA,GAAW,KAAXA,GAAWC;2BACXC;MAAAA,QAAAA,GAAAA,aAAAA,KAAAA,KAAAA,CAAAA,GAAW,KAAXA,GAAWC;MACXC,SAAAA,GAAAA,IAAAA,CAAAA;MACAC,WAAAA,GAAAA,IAAAA,CAAAA;+BACAC;MAAAA,YAAAA,GAAAA,iBAAAA,KAAAA,KAAAA,CAAAA,GAAe,EAAfA,GAAeC;MACRC,SAAAA,GAAAA,IAAAA,CAAPC;MACAC,QAAAA,GAAAA,IAAAA,CAAAA;MACAC,OAAAA,GAAAA,IAAAA,CAAAA;MACAC,MAAAA,GAAAA,IAAAA,CAAAA;kCACAC;MAAAA,eAAAA,GAAAA,oBAAAA,KAAAA,KAAAA,CAAAA,GAAkB,KAAlBA,GAAkBC;uBAClBC;MAAAA,I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