@fonixtree/magic-design 0.0.10 → 0.0.13

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 (415) hide show
  1. package/_virtual/index5.js +1 -1
  2. package/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
  3. package/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
  4. package/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +9 -0
  5. package/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
  6. package/my_node_modules/@babel/runtime/helpers/esm/createClass.js +20 -0
  7. package/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
  8. package/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
  9. package/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
  10. package/my_node_modules/@babel/runtime/helpers/esm/inherits.js +21 -0
  11. package/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
  12. package/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +31 -0
  13. package/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
  14. package/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
  15. package/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
  16. package/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
  17. package/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
  18. package/my_node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  19. package/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
  20. package/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +11 -0
  21. package/my_node_modules/call-bind/callBound.js +19 -0
  22. package/my_node_modules/call-bind/index.js +52 -0
  23. package/my_node_modules/classnames/index.js +61 -0
  24. package/my_node_modules/function-bind/implementation.js +52 -0
  25. package/my_node_modules/function-bind/index.js +7 -0
  26. package/my_node_modules/get-intrinsic/index.js +338 -0
  27. package/my_node_modules/has/src/index.js +7 -0
  28. package/my_node_modules/has-symbols/index.js +15 -0
  29. package/my_node_modules/has-symbols/shams.js +42 -0
  30. package/my_node_modules/lodash/_DataView.js +12 -0
  31. package/my_node_modules/lodash/_Hash.js +40 -0
  32. package/my_node_modules/lodash/_ListCache.js +40 -0
  33. package/my_node_modules/lodash/_Map.js +12 -0
  34. package/my_node_modules/lodash/_MapCache.js +40 -0
  35. package/my_node_modules/lodash/_Promise.js +12 -0
  36. package/my_node_modules/lodash/_Set.js +12 -0
  37. package/my_node_modules/lodash/_SetCache.js +33 -0
  38. package/my_node_modules/lodash/_Stack.js +36 -0
  39. package/my_node_modules/lodash/_Symbol.js +10 -0
  40. package/my_node_modules/lodash/_Uint8Array.js +10 -0
  41. package/my_node_modules/lodash/_WeakMap.js +12 -0
  42. package/my_node_modules/lodash/_arrayEach.js +25 -0
  43. package/my_node_modules/lodash/_arrayFilter.js +28 -0
  44. package/my_node_modules/lodash/_arrayLikeKeys.js +59 -0
  45. package/my_node_modules/lodash/_arrayMap.js +24 -0
  46. package/my_node_modules/lodash/_arrayPush.js +23 -0
  47. package/my_node_modules/lodash/_arraySome.js +26 -0
  48. package/my_node_modules/lodash/_assignValue.js +33 -0
  49. package/my_node_modules/lodash/_assocIndexOf.js +25 -0
  50. package/my_node_modules/lodash/_baseAssign.js +22 -0
  51. package/my_node_modules/lodash/_baseAssignIn.js +22 -0
  52. package/my_node_modules/lodash/_baseAssignValue.js +29 -0
  53. package/my_node_modules/lodash/_baseClone.js +193 -0
  54. package/my_node_modules/lodash/_baseCreate.js +34 -0
  55. package/my_node_modules/lodash/_baseFindIndex.js +27 -0
  56. package/my_node_modules/lodash/_baseFor.js +20 -0
  57. package/my_node_modules/lodash/_baseForOwn.js +21 -0
  58. package/my_node_modules/lodash/_baseGet.js +29 -0
  59. package/my_node_modules/lodash/_baseGetAllKeys.js +25 -0
  60. package/my_node_modules/lodash/_baseGetTag.js +34 -0
  61. package/my_node_modules/lodash/_baseHasIn.js +16 -0
  62. package/my_node_modules/lodash/_baseIsArguments.js +23 -0
  63. package/my_node_modules/lodash/_baseIsEqual.js +33 -0
  64. package/my_node_modules/lodash/_baseIsEqualDeep.js +95 -0
  65. package/my_node_modules/lodash/_baseIsMap.js +23 -0
  66. package/my_node_modules/lodash/_baseIsMatch.js +67 -0
  67. package/my_node_modules/lodash/_baseIsNative.js +54 -0
  68. package/my_node_modules/lodash/_baseIsSet.js +23 -0
  69. package/my_node_modules/lodash/_baseIsTypedArray.js +66 -0
  70. package/my_node_modules/lodash/_baseIteratee.js +39 -0
  71. package/my_node_modules/lodash/_baseKeys.js +35 -0
  72. package/my_node_modules/lodash/_baseKeysIn.js +39 -0
  73. package/my_node_modules/lodash/_baseMatches.js +28 -0
  74. package/my_node_modules/lodash/_baseMatchesProperty.js +43 -0
  75. package/my_node_modules/lodash/_baseProperty.js +17 -0
  76. package/my_node_modules/lodash/_basePropertyDeep.js +20 -0
  77. package/my_node_modules/lodash/_baseTimes.js +23 -0
  78. package/my_node_modules/lodash/_baseToNumber.js +28 -0
  79. package/my_node_modules/lodash/_baseToString.js +44 -0
  80. package/my_node_modules/lodash/_baseTrim.js +23 -0
  81. package/my_node_modules/lodash/_baseUnary.js +17 -0
  82. package/my_node_modules/lodash/_cacheHas.js +16 -0
  83. package/my_node_modules/lodash/_castPath.js +28 -0
  84. package/my_node_modules/lodash/_cloneArrayBuffer.js +20 -0
  85. package/my_node_modules/lodash/_cloneBuffer.js +40 -0
  86. package/my_node_modules/lodash/_cloneDataView.js +20 -0
  87. package/my_node_modules/lodash/_cloneRegExp.js +20 -0
  88. package/my_node_modules/lodash/_cloneSymbol.js +22 -0
  89. package/my_node_modules/lodash/_cloneTypedArray.js +20 -0
  90. package/my_node_modules/lodash/_copyArray.js +23 -0
  91. package/my_node_modules/lodash/_copyObject.js +45 -0
  92. package/my_node_modules/lodash/_copySymbols.js +21 -0
  93. package/my_node_modules/lodash/_copySymbolsIn.js +21 -0
  94. package/my_node_modules/lodash/_coreJsData.js +10 -0
  95. package/my_node_modules/lodash/_createBaseFor.js +28 -0
  96. package/my_node_modules/lodash/_createMathOperation.js +43 -0
  97. package/my_node_modules/lodash/_defineProperty.js +15 -0
  98. package/my_node_modules/lodash/_equalArrays.js +90 -0
  99. package/my_node_modules/lodash/_equalByTag.js +121 -0
  100. package/my_node_modules/lodash/_equalObjects.js +94 -0
  101. package/my_node_modules/lodash/_freeGlobal.js +9 -0
  102. package/my_node_modules/lodash/_getAllKeys.js +22 -0
  103. package/my_node_modules/lodash/_getAllKeysIn.js +23 -0
  104. package/my_node_modules/lodash/_getMapData.js +22 -0
  105. package/my_node_modules/lodash/_getMatchData.js +29 -0
  106. package/my_node_modules/lodash/_getNative.js +22 -0
  107. package/my_node_modules/lodash/_getPrototype.js +10 -0
  108. package/my_node_modules/lodash/_getRawTag.js +50 -0
  109. package/my_node_modules/lodash/_getSymbols.js +35 -0
  110. package/my_node_modules/lodash/_getSymbolsIn.js +32 -0
  111. package/my_node_modules/lodash/_getTag.js +68 -0
  112. package/my_node_modules/lodash/_getValue.js +16 -0
  113. package/my_node_modules/lodash/_hasPath.js +48 -0
  114. package/my_node_modules/lodash/_hashClear.js +19 -0
  115. package/my_node_modules/lodash/_hashDelete.js +20 -0
  116. package/my_node_modules/lodash/_hashGet.js +34 -0
  117. package/my_node_modules/lodash/_hashHas.js +27 -0
  118. package/my_node_modules/lodash/_hashSet.js +27 -0
  119. package/my_node_modules/lodash/_initCloneArray.js +29 -0
  120. package/my_node_modules/lodash/_initCloneByTag.js +85 -0
  121. package/my_node_modules/lodash/_initCloneObject.js +24 -0
  122. package/my_node_modules/lodash/_isIndex.js +28 -0
  123. package/my_node_modules/lodash/_isKey.js +34 -0
  124. package/my_node_modules/lodash/_isKeyable.js +18 -0
  125. package/my_node_modules/lodash/_isMasked.js +24 -0
  126. package/my_node_modules/lodash/_isPrototype.js +21 -0
  127. package/my_node_modules/lodash/_isStrictComparable.js +19 -0
  128. package/my_node_modules/lodash/_listCacheClear.js +16 -0
  129. package/my_node_modules/lodash/_listCacheDelete.js +39 -0
  130. package/my_node_modules/lodash/_listCacheGet.js +23 -0
  131. package/my_node_modules/lodash/_listCacheHas.js +20 -0
  132. package/my_node_modules/lodash/_listCacheSet.js +30 -0
  133. package/my_node_modules/lodash/_mapCacheClear.js +27 -0
  134. package/my_node_modules/lodash/_mapCacheDelete.js +22 -0
  135. package/my_node_modules/lodash/_mapCacheGet.js +20 -0
  136. package/my_node_modules/lodash/_mapCacheHas.js +20 -0
  137. package/my_node_modules/lodash/_mapCacheSet.js +26 -0
  138. package/my_node_modules/lodash/_mapToArray.js +21 -0
  139. package/my_node_modules/lodash/_matchesStrictComparable.js +23 -0
  140. package/my_node_modules/lodash/_memoizeCapped.js +30 -0
  141. package/my_node_modules/lodash/_nativeCreate.js +10 -0
  142. package/my_node_modules/lodash/_nativeKeys.js +10 -0
  143. package/my_node_modules/lodash/_nativeKeysIn.js +23 -0
  144. package/my_node_modules/lodash/_nodeUtil.js +35 -0
  145. package/my_node_modules/lodash/_objectToString.js +25 -0
  146. package/my_node_modules/lodash/_overArg.js +18 -0
  147. package/my_node_modules/lodash/_root.js +13 -0
  148. package/my_node_modules/lodash/_setCacheAdd.js +22 -0
  149. package/my_node_modules/lodash/_setCacheHas.js +17 -0
  150. package/my_node_modules/lodash/_setToArray.js +21 -0
  151. package/my_node_modules/lodash/_stackClear.js +19 -0
  152. package/my_node_modules/lodash/_stackDelete.js +21 -0
  153. package/my_node_modules/lodash/_stackGet.js +17 -0
  154. package/my_node_modules/lodash/_stackHas.js +17 -0
  155. package/my_node_modules/lodash/_stackSet.js +40 -0
  156. package/my_node_modules/lodash/_stringToPath.js +31 -0
  157. package/my_node_modules/lodash/_toKey.js +25 -0
  158. package/my_node_modules/lodash/_toSource.js +29 -0
  159. package/my_node_modules/lodash/_trimmedEndIndex.js +22 -0
  160. package/my_node_modules/lodash/cloneDeep.js +33 -0
  161. package/my_node_modules/lodash/divide.js +26 -0
  162. package/my_node_modules/lodash/eq.js +40 -0
  163. package/my_node_modules/lodash/findIndex.js +61 -0
  164. package/my_node_modules/lodash/get.js +37 -0
  165. package/my_node_modules/lodash/hasIn.js +39 -0
  166. package/my_node_modules/lodash/identity.js +24 -0
  167. package/my_node_modules/lodash/isArguments.js +41 -0
  168. package/my_node_modules/lodash/isArray.js +29 -0
  169. package/my_node_modules/lodash/isArrayLike.js +38 -0
  170. package/my_node_modules/lodash/isBuffer.js +44 -0
  171. package/my_node_modules/lodash/isEmpty.js +89 -0
  172. package/my_node_modules/lodash/isFunction.js +42 -0
  173. package/my_node_modules/lodash/isLength.js +38 -0
  174. package/my_node_modules/lodash/isMap.js +34 -0
  175. package/my_node_modules/lodash/isObject.js +34 -0
  176. package/my_node_modules/lodash/isObjectLike.js +32 -0
  177. package/my_node_modules/lodash/isSet.js +34 -0
  178. package/my_node_modules/lodash/isSymbol.js +34 -0
  179. package/my_node_modules/lodash/isTypedArray.js +34 -0
  180. package/my_node_modules/lodash/keys.js +43 -0
  181. package/my_node_modules/lodash/keysIn.js +38 -0
  182. package/my_node_modules/lodash/mapKeys.js +42 -0
  183. package/my_node_modules/lodash/memoize.js +77 -0
  184. package/my_node_modules/lodash/property.js +39 -0
  185. package/my_node_modules/lodash/stubArray.js +26 -0
  186. package/my_node_modules/lodash/stubFalse.js +21 -0
  187. package/my_node_modules/lodash/toFinite.js +46 -0
  188. package/my_node_modules/lodash/toInteger.js +40 -0
  189. package/my_node_modules/lodash/toNumber.js +70 -0
  190. package/my_node_modules/lodash/toString.js +32 -0
  191. package/my_node_modules/object-assign/index.js +99 -0
  192. package/my_node_modules/object-inspect/index.js +516 -0
  193. package/my_node_modules/prop-types/checkPropTypes.js +115 -0
  194. package/my_node_modules/prop-types/factoryWithThrowingShims.js +74 -0
  195. package/my_node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
  196. package/my_node_modules/prop-types/index.js +27 -0
  197. package/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
  198. package/my_node_modules/prop-types/lib/has.js +11 -0
  199. package/my_node_modules/qs/lib/formats.js +23 -0
  200. package/my_node_modules/qs/lib/index.js +15 -0
  201. package/my_node_modules/qs/lib/parse.js +265 -0
  202. package/my_node_modules/qs/lib/stringify.js +330 -0
  203. package/my_node_modules/qs/lib/utils.js +254 -0
  204. package/my_node_modules/rc-motion/es/CSSMotion.js +149 -0
  205. package/my_node_modules/rc-motion/es/DomWrapper.js +28 -0
  206. package/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +45 -0
  207. package/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +6 -0
  208. package/my_node_modules/rc-motion/es/hooks/useNextFrame.js +36 -0
  209. package/my_node_modules/rc-motion/es/hooks/useStatus.js +232 -0
  210. package/my_node_modules/rc-motion/es/hooks/useStepQueue.js +69 -0
  211. package/my_node_modules/rc-motion/es/index.js +4 -0
  212. package/my_node_modules/rc-motion/es/interface.js +11 -0
  213. package/my_node_modules/rc-motion/es/util/motion.js +85 -0
  214. package/my_node_modules/rc-util/es/Dom/canUseDom.js +5 -0
  215. package/my_node_modules/rc-util/es/Dom/findDOMNode.js +15 -0
  216. package/my_node_modules/rc-util/es/hooks/useState.js +36 -0
  217. package/my_node_modules/rc-util/es/raf.js +57 -0
  218. package/my_node_modules/rc-util/es/ref.js +30 -0
  219. package/my_node_modules/rc-util/lib/Children/toArray.js +39 -0
  220. package/my_node_modules/react-is/cjs/react-is.development.js +190 -0
  221. package/my_node_modules/react-is/cjs/react-is.production.min.js +26 -0
  222. package/my_node_modules/react-is/index.js +21 -0
  223. package/my_node_modules/shallowequal/index.js +48 -0
  224. package/my_node_modules/side-channel/index.js +128 -0
  225. package/my_node_modules/slick-carousel/slick/slick-theme.css.js +4 -0
  226. package/my_node_modules/slick-carousel/slick/slick.css.js +4 -0
  227. package/my_node_modules/style-inject/dist/style-inject.es.js +28 -0
  228. package/my_node_modules/tslib/tslib.es6.js +110 -0
  229. package/my_node_modules/uuid/index.js +13 -0
  230. package/my_node_modules/uuid/lib/bytesToUuid.js +29 -0
  231. package/my_node_modules/uuid/lib/rng-browser.js +39 -0
  232. package/my_node_modules/uuid/v1.js +115 -0
  233. package/my_node_modules/uuid/v4.js +35 -0
  234. package/package.json +3 -1
  235. package/src/components/assets/less/cylon-antd.less.js +1 -1
  236. package/src/components/assets/less/index.less.js +1 -1
  237. package/src/components/common/AlignSelector/index.js +2 -2
  238. package/src/components/common/AlignSelector/index.less.js +1 -1
  239. package/src/components/common/Button/index.js +2 -2
  240. package/src/components/common/Button/index.less.js +1 -1
  241. package/src/components/common/ButtonIconLayout/index.js +2 -2
  242. package/src/components/common/ButtonIconLayout/index.less.js +1 -1
  243. package/src/components/common/Collapse/index.js +1 -1
  244. package/src/components/common/Collapse/index.less.js +1 -1
  245. package/src/components/common/ColorPicker/index.js +1 -1
  246. package/src/components/common/ColorPicker/index.less.js +1 -1
  247. package/src/components/common/ColorPickerInput/index.js +2 -2
  248. package/src/components/common/ColorPickerInput/index.less.js +1 -1
  249. package/src/components/common/CountDown/index.js +1 -1
  250. package/src/components/common/CountDown/index.less.js +1 -1
  251. package/src/components/common/Field/index.js +2 -2
  252. package/src/components/common/Field/index.less.js +1 -1
  253. package/src/components/common/FontStyles/index.js +2 -2
  254. package/src/components/common/FontStyles/index.less.js +1 -1
  255. package/src/components/common/GroupList/index.js +1 -1
  256. package/src/components/common/GroupList/index.less.js +1 -1
  257. package/src/components/common/IconPicker/index.js +2 -2
  258. package/src/components/common/IconPicker/index.less.js +1 -1
  259. package/src/components/common/Iconfont/index.js +2 -2
  260. package/src/components/common/Iconfont/index.less.js +1 -1
  261. package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +1 -1
  262. package/src/components/common/ImageModal/index.js +3 -3
  263. package/src/components/common/ImageModal/index.less.js +1 -1
  264. package/src/components/common/ImagePicker/index.js +1 -1
  265. package/src/components/common/ImagePicker/index.less.js +1 -1
  266. package/src/components/common/InputNumber/index.js +1 -1
  267. package/src/components/common/InputNumber/index.less.js +1 -1
  268. package/src/components/common/LayoutSelector/index.js +2 -2
  269. package/src/components/common/LayoutSelector/index.less.js +1 -1
  270. package/src/components/common/LinkModal/CatgTable/index.js +1 -1
  271. package/src/components/common/LinkModal/CouponTable/index.js +1 -1
  272. package/src/components/common/LinkModal/CustomTable/index.js +1 -1
  273. package/src/components/common/LinkModal/FilteredProductModal/index.js +1 -1
  274. package/src/components/common/LinkModal/FilteredProductModal/index.less.js +1 -1
  275. package/src/components/common/LinkModal/FunctionTable/index.js +1 -1
  276. package/src/components/common/LinkModal/ProductDetailPage/index.js +1 -1
  277. package/src/components/common/LinkModal/ProductDetailPage/index.less.js +1 -1
  278. package/src/components/common/LinkModal/index.less.js +1 -1
  279. package/src/components/common/NewImg/index.js +3 -3
  280. package/src/components/common/ProductModal/index.js +1 -1
  281. package/src/components/common/ProductModal/index.less.js +1 -1
  282. package/src/components/common/ProductSource/index.js +1 -1
  283. package/src/components/common/ProductSource/index.less.js +1 -1
  284. package/src/components/common/RcCollapse/Collapse.js +4 -4
  285. package/src/components/common/RcCollapse/Panel.js +5 -5
  286. package/src/components/common/RcCollapse/PanelContent.js +1 -1
  287. package/src/components/common/RcCollapse/index.less.js +1 -1
  288. package/src/components/common/Slider/index.js +2 -2
  289. package/src/components/common/Slider/index.less.js +1 -1
  290. package/src/components/common/SwitchCollapse/index.js +1 -1
  291. package/src/components/common/SwitchCollapse/index.less.js +1 -1
  292. package/src/components/common/UrlPicker/index.js +1 -1
  293. package/src/components/common/UrlPicker/index.less.js +1 -1
  294. package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  295. package/src/components/composite-comp/bol/components/Banner/index.js +3 -3
  296. package/src/components/composite-comp/bol/components/Banner/mobile/index.js +2 -2
  297. package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +1 -1
  298. package/src/components/composite-comp/bol/components/Banner/pc/index.js +4 -4
  299. package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +1 -1
  300. package/src/components/composite-comp/bol/components/Button/defaultJSON.js +2 -2
  301. package/src/components/composite-comp/bol/components/Button/index.js +2 -2
  302. package/src/components/composite-comp/bol/components/Button/index.less.js +1 -1
  303. package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +3 -2
  304. package/src/components/composite-comp/bol/components/Carousel/index.js +1 -1
  305. package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +4 -4
  306. package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +1 -1
  307. package/src/components/composite-comp/bol/components/Carousel/pc/index.js +4 -4
  308. package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +1 -1
  309. package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +1 -1
  310. package/src/components/composite-comp/bol/components/Divider/index.js +1 -1
  311. package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +1 -1
  312. package/src/components/composite-comp/bol/components/ImageGallery/index.js +1 -1
  313. package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -1
  314. package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +1 -1
  315. package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +7 -2
  316. package/src/components/composite-comp/bol/components/ImageText/index.js +1 -1
  317. package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +5 -3
  318. package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +1 -1
  319. package/src/components/composite-comp/bol/components/ImageText/pc/index.js +21 -7
  320. package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +1 -1
  321. package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +2 -2
  322. package/src/components/composite-comp/bol/components/Newsletter/index.js +2 -2
  323. package/src/components/composite-comp/bol/components/Newsletter/index.less.js +1 -1
  324. package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +2 -2
  325. package/src/components/composite-comp/bol/components/Tag/index.js +2 -2
  326. package/src/components/composite-comp/bol/components/Tag/index.less.js +1 -1
  327. package/src/components/composite-comp/bol/components/Text/defaultJSON.js +2 -2
  328. package/src/components/composite-comp/bol/components/Text/index.js +2 -2
  329. package/src/components/composite-comp/bol/components/Text/index.less.js +1 -1
  330. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +1 -1
  331. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +1 -1
  332. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +3 -3
  333. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +1 -1
  334. package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +3 -3
  335. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  336. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +3 -3
  337. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +1 -1
  338. package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +3 -3
  339. package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +3 -3
  340. package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  341. package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +1 -1
  342. package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +3 -3
  343. package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +3 -3
  344. package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +3 -3
  345. package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +3 -3
  346. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +3 -3
  347. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +1 -1
  348. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +1 -1
  349. package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +3 -3
  350. package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +1 -1
  351. package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +6 -4
  352. package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +3 -3
  353. package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +3 -3
  354. package/src/components/composite-comp/common/components/ImageLabel/index.js +2 -2
  355. package/src/components/composite-comp/common/components/ImageLabel/index.less.js +1 -1
  356. package/src/components/composite-comp/common/components/ProductItem/index.js +1 -1
  357. package/src/components/composite-comp/common/components/ProductItem/index.less.js +1 -1
  358. package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +3 -3
  359. package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +3 -3
  360. package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +1 -1
  361. package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +3 -3
  362. package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +1 -1
  363. package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
  364. package/src/components/composite-comp/dito/components/FlashDeal/index.js +1 -1
  365. package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -1
  366. package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +1 -1
  367. package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  368. package/src/components/composite-comp/dito/components/Recommend/index.js +1 -1
  369. package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +1 -1
  370. package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +1 -1
  371. package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +1 -1
  372. package/src/components/composite-comp/dito/components/SearchBar/index.js +1 -1
  373. package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +3 -3
  374. package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +1 -1
  375. package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +3 -3
  376. package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +3 -3
  377. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +3 -3
  378. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +1 -1
  379. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +1 -1
  380. package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +3 -3
  381. package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  382. package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +1 -1
  383. package/src/components/core/Designer/CompListPanel/index.js +2 -2
  384. package/src/components/core/Designer/CompListPanel/index.less.js +1 -1
  385. package/src/components/core/Designer/ConfigPanel/index.js +1 -1
  386. package/src/components/core/Designer/ConfigPanel/index.less.js +1 -1
  387. package/src/components/core/Designer/History/index.js +1 -1
  388. package/src/components/core/Designer/PageCompList/index.js +4 -4
  389. package/src/components/core/Designer/PageCompList/index.less.js +1 -1
  390. package/src/components/core/Designer/QuickMenuBar/index.js +2 -2
  391. package/src/components/core/Designer/QuickMenuBar/index.less.js +1 -1
  392. package/src/components/core/Designer/ViewArea/index.js +3 -3
  393. package/src/components/core/Designer/ViewArea/index.less.js +1 -1
  394. package/src/components/core/Designer/index.js +2 -2
  395. package/src/components/core/Designer/index.less.js +1 -1
  396. package/src/components/core/Renderer/index.js +1 -1
  397. package/src/components/decorator/compositeDecorator.js +1 -1
  398. package/src/components/decorator/metaDecorator.js +1 -1
  399. package/src/components/meta-comp/components/Button/index.js +2 -2
  400. package/src/components/meta-comp/components/Button/index.less.js +1 -1
  401. package/src/components/meta-comp/components/Image/index.js +16 -4
  402. package/src/components/meta-comp/components/Image/index.less.js +1 -1
  403. package/src/components/meta-comp/components/Text/index.js +2 -2
  404. package/src/components/meta-comp/components/Text/index.less.js +1 -1
  405. package/src/components/meta-comp/config-panels/BaseConfig.js +1 -1
  406. package/src/components/meta-comp/config-panels/ButtonConfig/index.js +3 -3
  407. package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +1 -1
  408. package/src/components/meta-comp/config-panels/ImageConfig/index.js +72 -27
  409. package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +1 -1
  410. package/src/components/meta-comp/config-panels/TextConfig/index.js +3 -3
  411. package/src/components/meta-comp/config-panels/TextConfig/index.less.js +1 -1
  412. package/src/components/utils/commonUtil.js +19 -2
  413. package/src/components/utils/coreUtil.js +1 -1
  414. package/src/components/utils/currencyUtil.js +2 -2
  415. package/src/components/utils/dataTreeUtils.js +4 -4
@@ -0,0 +1,27 @@
1
+ import _nativeCreate from './_nativeCreate.js';
2
+
3
+ var nativeCreate = _nativeCreate;
4
+
5
+ /** Used for built-in method references. */
6
+ var objectProto = Object.prototype;
7
+
8
+ /** Used to check objects for own properties. */
9
+ var hasOwnProperty = objectProto.hasOwnProperty;
10
+
11
+ /**
12
+ * Checks if a hash value for `key` exists.
13
+ *
14
+ * @private
15
+ * @name has
16
+ * @memberOf Hash
17
+ * @param {string} key The key of the entry to check.
18
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
19
+ */
20
+ function hashHas(key) {
21
+ var data = this.__data__;
22
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
23
+ }
24
+
25
+ var _hashHas = hashHas;
26
+
27
+ export { _hashHas as default };
@@ -0,0 +1,27 @@
1
+ import _nativeCreate from './_nativeCreate.js';
2
+
3
+ var nativeCreate = _nativeCreate;
4
+
5
+ /** Used to stand-in for `undefined` hash values. */
6
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
7
+
8
+ /**
9
+ * Sets the hash `key` to `value`.
10
+ *
11
+ * @private
12
+ * @name set
13
+ * @memberOf Hash
14
+ * @param {string} key The key of the value to set.
15
+ * @param {*} value The value to set.
16
+ * @returns {Object} Returns the hash instance.
17
+ */
18
+ function hashSet(key, value) {
19
+ var data = this.__data__;
20
+ this.size += this.has(key) ? 0 : 1;
21
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
22
+ return this;
23
+ }
24
+
25
+ var _hashSet = hashSet;
26
+
27
+ export { _hashSet as default };
@@ -0,0 +1,29 @@
1
+ /** Used for built-in method references. */
2
+
3
+ var objectProto = Object.prototype;
4
+
5
+ /** Used to check objects for own properties. */
6
+ var hasOwnProperty = objectProto.hasOwnProperty;
7
+
8
+ /**
9
+ * Initializes an array clone.
10
+ *
11
+ * @private
12
+ * @param {Array} array The array to clone.
13
+ * @returns {Array} Returns the initialized clone.
14
+ */
15
+ function initCloneArray(array) {
16
+ var length = array.length,
17
+ result = new array.constructor(length);
18
+
19
+ // Add properties assigned by `RegExp#exec`.
20
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
21
+ result.index = array.index;
22
+ result.input = array.input;
23
+ }
24
+ return result;
25
+ }
26
+
27
+ var _initCloneArray = initCloneArray;
28
+
29
+ export { _initCloneArray as default };
@@ -0,0 +1,85 @@
1
+ import _cloneArrayBuffer from './_cloneArrayBuffer.js';
2
+ import _cloneDataView from './_cloneDataView.js';
3
+ import _cloneRegExp from './_cloneRegExp.js';
4
+ import _cloneSymbol from './_cloneSymbol.js';
5
+ import _cloneTypedArray from './_cloneTypedArray.js';
6
+
7
+ var cloneArrayBuffer = _cloneArrayBuffer,
8
+ cloneDataView = _cloneDataView,
9
+ cloneRegExp = _cloneRegExp,
10
+ cloneSymbol = _cloneSymbol,
11
+ cloneTypedArray = _cloneTypedArray;
12
+
13
+ /** `Object#toString` result references. */
14
+ var boolTag = '[object Boolean]',
15
+ dateTag = '[object Date]',
16
+ mapTag = '[object Map]',
17
+ numberTag = '[object Number]',
18
+ regexpTag = '[object RegExp]',
19
+ setTag = '[object Set]',
20
+ stringTag = '[object String]',
21
+ symbolTag = '[object Symbol]';
22
+
23
+ var arrayBufferTag = '[object ArrayBuffer]',
24
+ dataViewTag = '[object DataView]',
25
+ float32Tag = '[object Float32Array]',
26
+ float64Tag = '[object Float64Array]',
27
+ int8Tag = '[object Int8Array]',
28
+ int16Tag = '[object Int16Array]',
29
+ int32Tag = '[object Int32Array]',
30
+ uint8Tag = '[object Uint8Array]',
31
+ uint8ClampedTag = '[object Uint8ClampedArray]',
32
+ uint16Tag = '[object Uint16Array]',
33
+ uint32Tag = '[object Uint32Array]';
34
+
35
+ /**
36
+ * Initializes an object clone based on its `toStringTag`.
37
+ *
38
+ * **Note:** This function only supports cloning values with tags of
39
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
40
+ *
41
+ * @private
42
+ * @param {Object} object The object to clone.
43
+ * @param {string} tag The `toStringTag` of the object to clone.
44
+ * @param {boolean} [isDeep] Specify a deep clone.
45
+ * @returns {Object} Returns the initialized clone.
46
+ */
47
+ function initCloneByTag(object, tag, isDeep) {
48
+ var Ctor = object.constructor;
49
+ switch (tag) {
50
+ case arrayBufferTag:
51
+ return cloneArrayBuffer(object);
52
+
53
+ case boolTag:
54
+ case dateTag:
55
+ return new Ctor(+object);
56
+
57
+ case dataViewTag:
58
+ return cloneDataView(object, isDeep);
59
+
60
+ case float32Tag: case float64Tag:
61
+ case int8Tag: case int16Tag: case int32Tag:
62
+ case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
63
+ return cloneTypedArray(object, isDeep);
64
+
65
+ case mapTag:
66
+ return new Ctor;
67
+
68
+ case numberTag:
69
+ case stringTag:
70
+ return new Ctor(object);
71
+
72
+ case regexpTag:
73
+ return cloneRegExp(object);
74
+
75
+ case setTag:
76
+ return new Ctor;
77
+
78
+ case symbolTag:
79
+ return cloneSymbol(object);
80
+ }
81
+ }
82
+
83
+ var _initCloneByTag = initCloneByTag;
84
+
85
+ export { _initCloneByTag as default };
@@ -0,0 +1,24 @@
1
+ import _baseCreate from './_baseCreate.js';
2
+ import _getPrototype from './_getPrototype.js';
3
+ import _isPrototype from './_isPrototype.js';
4
+
5
+ var baseCreate = _baseCreate,
6
+ getPrototype = _getPrototype,
7
+ isPrototype = _isPrototype;
8
+
9
+ /**
10
+ * Initializes an object clone.
11
+ *
12
+ * @private
13
+ * @param {Object} object The object to clone.
14
+ * @returns {Object} Returns the initialized clone.
15
+ */
16
+ function initCloneObject(object) {
17
+ return (typeof object.constructor == 'function' && !isPrototype(object))
18
+ ? baseCreate(getPrototype(object))
19
+ : {};
20
+ }
21
+
22
+ var _initCloneObject = initCloneObject;
23
+
24
+ export { _initCloneObject as default };
@@ -0,0 +1,28 @@
1
+ /** Used as references for various `Number` constants. */
2
+
3
+ var MAX_SAFE_INTEGER = 9007199254740991;
4
+
5
+ /** Used to detect unsigned integer values. */
6
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
7
+
8
+ /**
9
+ * Checks if `value` is a valid array-like index.
10
+ *
11
+ * @private
12
+ * @param {*} value The value to check.
13
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
14
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
15
+ */
16
+ function isIndex(value, length) {
17
+ var type = typeof value;
18
+ length = length == null ? MAX_SAFE_INTEGER : length;
19
+
20
+ return !!length &&
21
+ (type == 'number' ||
22
+ (type != 'symbol' && reIsUint.test(value))) &&
23
+ (value > -1 && value % 1 == 0 && value < length);
24
+ }
25
+
26
+ var _isIndex = isIndex;
27
+
28
+ export { _isIndex as default };
@@ -0,0 +1,34 @@
1
+ import isArray_1 from './isArray.js';
2
+ import isSymbol_1 from './isSymbol.js';
3
+
4
+ var isArray = isArray_1,
5
+ isSymbol = isSymbol_1;
6
+
7
+ /** Used to match property names within property paths. */
8
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
9
+ reIsPlainProp = /^\w*$/;
10
+
11
+ /**
12
+ * Checks if `value` is a property name and not a property path.
13
+ *
14
+ * @private
15
+ * @param {*} value The value to check.
16
+ * @param {Object} [object] The object to query keys on.
17
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
18
+ */
19
+ function isKey(value, object) {
20
+ if (isArray(value)) {
21
+ return false;
22
+ }
23
+ var type = typeof value;
24
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
25
+ value == null || isSymbol(value)) {
26
+ return true;
27
+ }
28
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
29
+ (object != null && value in Object(object));
30
+ }
31
+
32
+ var _isKey = isKey;
33
+
34
+ export { _isKey as default };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Checks if `value` is suitable for use as unique object key.
3
+ *
4
+ * @private
5
+ * @param {*} value The value to check.
6
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
7
+ */
8
+
9
+ function isKeyable(value) {
10
+ var type = typeof value;
11
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
12
+ ? (value !== '__proto__')
13
+ : (value === null);
14
+ }
15
+
16
+ var _isKeyable = isKeyable;
17
+
18
+ export { _isKeyable as default };
@@ -0,0 +1,24 @@
1
+ import _coreJsData from './_coreJsData.js';
2
+
3
+ var coreJsData = _coreJsData;
4
+
5
+ /** Used to detect methods masquerading as native. */
6
+ var maskSrcKey = (function() {
7
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
8
+ return uid ? ('Symbol(src)_1.' + uid) : '';
9
+ }());
10
+
11
+ /**
12
+ * Checks if `func` has its source masked.
13
+ *
14
+ * @private
15
+ * @param {Function} func The function to check.
16
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
17
+ */
18
+ function isMasked(func) {
19
+ return !!maskSrcKey && (maskSrcKey in func);
20
+ }
21
+
22
+ var _isMasked = isMasked;
23
+
24
+ export { _isMasked as default };
@@ -0,0 +1,21 @@
1
+ /** Used for built-in method references. */
2
+
3
+ var objectProto = Object.prototype;
4
+
5
+ /**
6
+ * Checks if `value` is likely a prototype object.
7
+ *
8
+ * @private
9
+ * @param {*} value The value to check.
10
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
11
+ */
12
+ function isPrototype(value) {
13
+ var Ctor = value && value.constructor,
14
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
15
+
16
+ return value === proto;
17
+ }
18
+
19
+ var _isPrototype = isPrototype;
20
+
21
+ export { _isPrototype as default };
@@ -0,0 +1,19 @@
1
+ import isObject_1 from './isObject.js';
2
+
3
+ var isObject = isObject_1;
4
+
5
+ /**
6
+ * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
7
+ *
8
+ * @private
9
+ * @param {*} value The value to check.
10
+ * @returns {boolean} Returns `true` if `value` if suitable for strict
11
+ * equality comparisons, else `false`.
12
+ */
13
+ function isStrictComparable(value) {
14
+ return value === value && !isObject(value);
15
+ }
16
+
17
+ var _isStrictComparable = isStrictComparable;
18
+
19
+ export { _isStrictComparable as default };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Removes all key-value entries from the list cache.
3
+ *
4
+ * @private
5
+ * @name clear
6
+ * @memberOf ListCache
7
+ */
8
+
9
+ function listCacheClear() {
10
+ this.__data__ = [];
11
+ this.size = 0;
12
+ }
13
+
14
+ var _listCacheClear = listCacheClear;
15
+
16
+ export { _listCacheClear as default };
@@ -0,0 +1,39 @@
1
+ import _assocIndexOf from './_assocIndexOf.js';
2
+
3
+ var assocIndexOf = _assocIndexOf;
4
+
5
+ /** Used for built-in method references. */
6
+ var arrayProto = Array.prototype;
7
+
8
+ /** Built-in value references. */
9
+ var splice = arrayProto.splice;
10
+
11
+ /**
12
+ * Removes `key` and its value from the list cache.
13
+ *
14
+ * @private
15
+ * @name delete
16
+ * @memberOf ListCache
17
+ * @param {string} key The key of the value to remove.
18
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
19
+ */
20
+ function listCacheDelete(key) {
21
+ var data = this.__data__,
22
+ index = assocIndexOf(data, key);
23
+
24
+ if (index < 0) {
25
+ return false;
26
+ }
27
+ var lastIndex = data.length - 1;
28
+ if (index == lastIndex) {
29
+ data.pop();
30
+ } else {
31
+ splice.call(data, index, 1);
32
+ }
33
+ --this.size;
34
+ return true;
35
+ }
36
+
37
+ var _listCacheDelete = listCacheDelete;
38
+
39
+ export { _listCacheDelete as default };
@@ -0,0 +1,23 @@
1
+ import _assocIndexOf from './_assocIndexOf.js';
2
+
3
+ var assocIndexOf = _assocIndexOf;
4
+
5
+ /**
6
+ * Gets the list cache value for `key`.
7
+ *
8
+ * @private
9
+ * @name get
10
+ * @memberOf ListCache
11
+ * @param {string} key The key of the value to get.
12
+ * @returns {*} Returns the entry value.
13
+ */
14
+ function listCacheGet(key) {
15
+ var data = this.__data__,
16
+ index = assocIndexOf(data, key);
17
+
18
+ return index < 0 ? undefined : data[index][1];
19
+ }
20
+
21
+ var _listCacheGet = listCacheGet;
22
+
23
+ export { _listCacheGet as default };
@@ -0,0 +1,20 @@
1
+ import _assocIndexOf from './_assocIndexOf.js';
2
+
3
+ var assocIndexOf = _assocIndexOf;
4
+
5
+ /**
6
+ * Checks if a list cache value for `key` exists.
7
+ *
8
+ * @private
9
+ * @name has
10
+ * @memberOf ListCache
11
+ * @param {string} key The key of the entry to check.
12
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
13
+ */
14
+ function listCacheHas(key) {
15
+ return assocIndexOf(this.__data__, key) > -1;
16
+ }
17
+
18
+ var _listCacheHas = listCacheHas;
19
+
20
+ export { _listCacheHas as default };
@@ -0,0 +1,30 @@
1
+ import _assocIndexOf from './_assocIndexOf.js';
2
+
3
+ var assocIndexOf = _assocIndexOf;
4
+
5
+ /**
6
+ * Sets the list cache `key` to `value`.
7
+ *
8
+ * @private
9
+ * @name set
10
+ * @memberOf ListCache
11
+ * @param {string} key The key of the value to set.
12
+ * @param {*} value The value to set.
13
+ * @returns {Object} Returns the list cache instance.
14
+ */
15
+ function listCacheSet(key, value) {
16
+ var data = this.__data__,
17
+ index = assocIndexOf(data, key);
18
+
19
+ if (index < 0) {
20
+ ++this.size;
21
+ data.push([key, value]);
22
+ } else {
23
+ data[index][1] = value;
24
+ }
25
+ return this;
26
+ }
27
+
28
+ var _listCacheSet = listCacheSet;
29
+
30
+ export { _listCacheSet as default };
@@ -0,0 +1,27 @@
1
+ import _Hash from './_Hash.js';
2
+ import _ListCache from './_ListCache.js';
3
+ import _Map from './_Map.js';
4
+
5
+ var Hash = _Hash,
6
+ ListCache = _ListCache,
7
+ Map = _Map;
8
+
9
+ /**
10
+ * Removes all key-value entries from the map.
11
+ *
12
+ * @private
13
+ * @name clear
14
+ * @memberOf MapCache
15
+ */
16
+ function mapCacheClear() {
17
+ this.size = 0;
18
+ this.__data__ = {
19
+ 'hash': new Hash,
20
+ 'map': new (Map || ListCache),
21
+ 'string': new Hash
22
+ };
23
+ }
24
+
25
+ var _mapCacheClear = mapCacheClear;
26
+
27
+ export { _mapCacheClear as default };
@@ -0,0 +1,22 @@
1
+ import _getMapData from './_getMapData.js';
2
+
3
+ var getMapData = _getMapData;
4
+
5
+ /**
6
+ * Removes `key` and its value from the map.
7
+ *
8
+ * @private
9
+ * @name delete
10
+ * @memberOf MapCache
11
+ * @param {string} key The key of the value to remove.
12
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
13
+ */
14
+ function mapCacheDelete(key) {
15
+ var result = getMapData(this, key)['delete'](key);
16
+ this.size -= result ? 1 : 0;
17
+ return result;
18
+ }
19
+
20
+ var _mapCacheDelete = mapCacheDelete;
21
+
22
+ export { _mapCacheDelete as default };
@@ -0,0 +1,20 @@
1
+ import _getMapData from './_getMapData.js';
2
+
3
+ var getMapData = _getMapData;
4
+
5
+ /**
6
+ * Gets the map value for `key`.
7
+ *
8
+ * @private
9
+ * @name get
10
+ * @memberOf MapCache
11
+ * @param {string} key The key of the value to get.
12
+ * @returns {*} Returns the entry value.
13
+ */
14
+ function mapCacheGet(key) {
15
+ return getMapData(this, key).get(key);
16
+ }
17
+
18
+ var _mapCacheGet = mapCacheGet;
19
+
20
+ export { _mapCacheGet as default };
@@ -0,0 +1,20 @@
1
+ import _getMapData from './_getMapData.js';
2
+
3
+ var getMapData = _getMapData;
4
+
5
+ /**
6
+ * Checks if a map value for `key` exists.
7
+ *
8
+ * @private
9
+ * @name has
10
+ * @memberOf MapCache
11
+ * @param {string} key The key of the entry to check.
12
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
13
+ */
14
+ function mapCacheHas(key) {
15
+ return getMapData(this, key).has(key);
16
+ }
17
+
18
+ var _mapCacheHas = mapCacheHas;
19
+
20
+ export { _mapCacheHas as default };
@@ -0,0 +1,26 @@
1
+ import _getMapData from './_getMapData.js';
2
+
3
+ var getMapData = _getMapData;
4
+
5
+ /**
6
+ * Sets the map `key` to `value`.
7
+ *
8
+ * @private
9
+ * @name set
10
+ * @memberOf MapCache
11
+ * @param {string} key The key of the value to set.
12
+ * @param {*} value The value to set.
13
+ * @returns {Object} Returns the map cache instance.
14
+ */
15
+ function mapCacheSet(key, value) {
16
+ var data = getMapData(this, key),
17
+ size = data.size;
18
+
19
+ data.set(key, value);
20
+ this.size += data.size == size ? 0 : 1;
21
+ return this;
22
+ }
23
+
24
+ var _mapCacheSet = mapCacheSet;
25
+
26
+ export { _mapCacheSet as default };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Converts `map` to its key-value pairs.
3
+ *
4
+ * @private
5
+ * @param {Object} map The map to convert.
6
+ * @returns {Array} Returns the key-value pairs.
7
+ */
8
+
9
+ function mapToArray(map) {
10
+ var index = -1,
11
+ result = Array(map.size);
12
+
13
+ map.forEach(function(value, key) {
14
+ result[++index] = [key, value];
15
+ });
16
+ return result;
17
+ }
18
+
19
+ var _mapToArray = mapToArray;
20
+
21
+ export { _mapToArray as default };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * A specialized version of `matchesProperty` for source values suitable
3
+ * for strict equality comparisons, i.e. `===`.
4
+ *
5
+ * @private
6
+ * @param {string} key The key of the property to get.
7
+ * @param {*} srcValue The value to match.
8
+ * @returns {Function} Returns the new spec function.
9
+ */
10
+
11
+ function matchesStrictComparable(key, srcValue) {
12
+ return function(object) {
13
+ if (object == null) {
14
+ return false;
15
+ }
16
+ return object[key] === srcValue &&
17
+ (srcValue !== undefined || (key in Object(object)));
18
+ };
19
+ }
20
+
21
+ var _matchesStrictComparable = matchesStrictComparable;
22
+
23
+ export { _matchesStrictComparable as default };
@@ -0,0 +1,30 @@
1
+ import memoize_1 from './memoize.js';
2
+
3
+ var memoize = memoize_1;
4
+
5
+ /** Used as the maximum memoize cache size. */
6
+ var MAX_MEMOIZE_SIZE = 500;
7
+
8
+ /**
9
+ * A specialized version of `_.memoize` which clears the memoized function's
10
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
11
+ *
12
+ * @private
13
+ * @param {Function} func The function to have its output memoized.
14
+ * @returns {Function} Returns the new memoized function.
15
+ */
16
+ function memoizeCapped(func) {
17
+ var result = memoize(func, function(key) {
18
+ if (cache.size === MAX_MEMOIZE_SIZE) {
19
+ cache.clear();
20
+ }
21
+ return key;
22
+ });
23
+
24
+ var cache = result.cache;
25
+ return result;
26
+ }
27
+
28
+ var _memoizeCapped = memoizeCapped;
29
+
30
+ export { _memoizeCapped as default };