@fonixtree/magic-design 0.0.16 → 0.0.17
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.
- package/README.md +311 -0
- package/dist/_virtual/__node-resolve_empty.js +6 -0
- package/dist/_virtual/_cloneBuffer.js +3 -0
- package/dist/_virtual/_commonjsHelpers.js +24 -0
- package/dist/_virtual/_node-resolve_empty.js +3 -0
- package/dist/_virtual/_nodeUtil.js +3 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js +18 -0
- package/dist/_virtual/index.js +3 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index3.js +3 -0
- package/dist/_virtual/index4.js +3 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/interopRequireDefault.js +3 -0
- package/dist/_virtual/isBuffer.js +3 -0
- package/dist/_virtual/react-is.development.js +3 -0
- package/dist/_virtual/react-is.production.min.js +3 -0
- package/dist/_virtual/rng-browser.js +3 -0
- package/dist/_virtual/toArray.js +3 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +9 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/createClass.js +20 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/inherits.js +21 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +31 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
- package/dist/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +11 -0
- package/dist/my_node_modules/call-bind/callBound.js +19 -0
- package/dist/my_node_modules/call-bind/index.js +52 -0
- package/dist/my_node_modules/classnames/index.js +61 -0
- package/dist/my_node_modules/function-bind/implementation.js +52 -0
- package/dist/my_node_modules/function-bind/index.js +7 -0
- package/dist/my_node_modules/get-intrinsic/index.js +338 -0
- package/dist/my_node_modules/has/src/index.js +7 -0
- package/dist/my_node_modules/has-symbols/index.js +15 -0
- package/dist/my_node_modules/has-symbols/shams.js +42 -0
- package/dist/my_node_modules/lodash/_DataView.js +12 -0
- package/dist/my_node_modules/lodash/_Hash.js +40 -0
- package/dist/my_node_modules/lodash/_ListCache.js +40 -0
- package/dist/my_node_modules/lodash/_Map.js +12 -0
- package/dist/my_node_modules/lodash/_MapCache.js +40 -0
- package/dist/my_node_modules/lodash/_Promise.js +12 -0
- package/dist/my_node_modules/lodash/_Set.js +12 -0
- package/dist/my_node_modules/lodash/_SetCache.js +33 -0
- package/dist/my_node_modules/lodash/_Stack.js +36 -0
- package/dist/my_node_modules/lodash/_Symbol.js +10 -0
- package/dist/my_node_modules/lodash/_Uint8Array.js +10 -0
- package/dist/my_node_modules/lodash/_WeakMap.js +12 -0
- package/dist/my_node_modules/lodash/_arrayEach.js +25 -0
- package/dist/my_node_modules/lodash/_arrayFilter.js +28 -0
- package/dist/my_node_modules/lodash/_arrayLikeKeys.js +59 -0
- package/dist/my_node_modules/lodash/_arrayMap.js +24 -0
- package/dist/my_node_modules/lodash/_arrayPush.js +23 -0
- package/dist/my_node_modules/lodash/_arraySome.js +26 -0
- package/dist/my_node_modules/lodash/_assignValue.js +33 -0
- package/dist/my_node_modules/lodash/_assocIndexOf.js +25 -0
- package/dist/my_node_modules/lodash/_baseAssign.js +22 -0
- package/dist/my_node_modules/lodash/_baseAssignIn.js +22 -0
- package/dist/my_node_modules/lodash/_baseAssignValue.js +29 -0
- package/dist/my_node_modules/lodash/_baseClone.js +193 -0
- package/dist/my_node_modules/lodash/_baseCreate.js +34 -0
- package/dist/my_node_modules/lodash/_baseFindIndex.js +27 -0
- package/dist/my_node_modules/lodash/_baseFor.js +20 -0
- package/dist/my_node_modules/lodash/_baseForOwn.js +21 -0
- package/dist/my_node_modules/lodash/_baseGet.js +29 -0
- package/dist/my_node_modules/lodash/_baseGetAllKeys.js +25 -0
- package/dist/my_node_modules/lodash/_baseGetTag.js +34 -0
- package/dist/my_node_modules/lodash/_baseHasIn.js +16 -0
- package/dist/my_node_modules/lodash/_baseIsArguments.js +23 -0
- package/dist/my_node_modules/lodash/_baseIsEqual.js +33 -0
- package/dist/my_node_modules/lodash/_baseIsEqualDeep.js +95 -0
- package/dist/my_node_modules/lodash/_baseIsMap.js +23 -0
- package/dist/my_node_modules/lodash/_baseIsMatch.js +67 -0
- package/dist/my_node_modules/lodash/_baseIsNative.js +54 -0
- package/dist/my_node_modules/lodash/_baseIsSet.js +23 -0
- package/dist/my_node_modules/lodash/_baseIsTypedArray.js +66 -0
- package/dist/my_node_modules/lodash/_baseIteratee.js +39 -0
- package/dist/my_node_modules/lodash/_baseKeys.js +35 -0
- package/dist/my_node_modules/lodash/_baseKeysIn.js +39 -0
- package/dist/my_node_modules/lodash/_baseMatches.js +28 -0
- package/dist/my_node_modules/lodash/_baseMatchesProperty.js +43 -0
- package/dist/my_node_modules/lodash/_baseProperty.js +17 -0
- package/dist/my_node_modules/lodash/_basePropertyDeep.js +20 -0
- package/dist/my_node_modules/lodash/_baseTimes.js +23 -0
- package/dist/my_node_modules/lodash/_baseToNumber.js +28 -0
- package/dist/my_node_modules/lodash/_baseToString.js +44 -0
- package/dist/my_node_modules/lodash/_baseTrim.js +23 -0
- package/dist/my_node_modules/lodash/_baseUnary.js +17 -0
- package/dist/my_node_modules/lodash/_cacheHas.js +16 -0
- package/dist/my_node_modules/lodash/_castPath.js +28 -0
- package/dist/my_node_modules/lodash/_cloneArrayBuffer.js +20 -0
- package/dist/my_node_modules/lodash/_cloneBuffer.js +40 -0
- package/dist/my_node_modules/lodash/_cloneDataView.js +20 -0
- package/dist/my_node_modules/lodash/_cloneRegExp.js +20 -0
- package/dist/my_node_modules/lodash/_cloneSymbol.js +22 -0
- package/dist/my_node_modules/lodash/_cloneTypedArray.js +20 -0
- package/dist/my_node_modules/lodash/_copyArray.js +23 -0
- package/dist/my_node_modules/lodash/_copyObject.js +45 -0
- package/dist/my_node_modules/lodash/_copySymbols.js +21 -0
- package/dist/my_node_modules/lodash/_copySymbolsIn.js +21 -0
- package/dist/my_node_modules/lodash/_coreJsData.js +10 -0
- package/dist/my_node_modules/lodash/_createBaseFor.js +28 -0
- package/dist/my_node_modules/lodash/_createMathOperation.js +43 -0
- package/dist/my_node_modules/lodash/_defineProperty.js +15 -0
- package/dist/my_node_modules/lodash/_equalArrays.js +90 -0
- package/dist/my_node_modules/lodash/_equalByTag.js +121 -0
- package/dist/my_node_modules/lodash/_equalObjects.js +94 -0
- package/dist/my_node_modules/lodash/_freeGlobal.js +9 -0
- package/dist/my_node_modules/lodash/_getAllKeys.js +22 -0
- package/dist/my_node_modules/lodash/_getAllKeysIn.js +23 -0
- package/dist/my_node_modules/lodash/_getMapData.js +22 -0
- package/dist/my_node_modules/lodash/_getMatchData.js +29 -0
- package/dist/my_node_modules/lodash/_getNative.js +22 -0
- package/dist/my_node_modules/lodash/_getPrototype.js +10 -0
- package/dist/my_node_modules/lodash/_getRawTag.js +50 -0
- package/dist/my_node_modules/lodash/_getSymbols.js +35 -0
- package/dist/my_node_modules/lodash/_getSymbolsIn.js +32 -0
- package/dist/my_node_modules/lodash/_getTag.js +68 -0
- package/dist/my_node_modules/lodash/_getValue.js +16 -0
- package/dist/my_node_modules/lodash/_hasPath.js +48 -0
- package/dist/my_node_modules/lodash/_hashClear.js +19 -0
- package/dist/my_node_modules/lodash/_hashDelete.js +20 -0
- package/dist/my_node_modules/lodash/_hashGet.js +34 -0
- package/dist/my_node_modules/lodash/_hashHas.js +27 -0
- package/dist/my_node_modules/lodash/_hashSet.js +27 -0
- package/dist/my_node_modules/lodash/_initCloneArray.js +29 -0
- package/dist/my_node_modules/lodash/_initCloneByTag.js +85 -0
- package/dist/my_node_modules/lodash/_initCloneObject.js +24 -0
- package/dist/my_node_modules/lodash/_isIndex.js +28 -0
- package/dist/my_node_modules/lodash/_isKey.js +34 -0
- package/dist/my_node_modules/lodash/_isKeyable.js +18 -0
- package/dist/my_node_modules/lodash/_isMasked.js +24 -0
- package/dist/my_node_modules/lodash/_isPrototype.js +21 -0
- package/dist/my_node_modules/lodash/_isStrictComparable.js +19 -0
- package/dist/my_node_modules/lodash/_listCacheClear.js +16 -0
- package/dist/my_node_modules/lodash/_listCacheDelete.js +39 -0
- package/dist/my_node_modules/lodash/_listCacheGet.js +23 -0
- package/dist/my_node_modules/lodash/_listCacheHas.js +20 -0
- package/dist/my_node_modules/lodash/_listCacheSet.js +30 -0
- package/dist/my_node_modules/lodash/_mapCacheClear.js +27 -0
- package/dist/my_node_modules/lodash/_mapCacheDelete.js +22 -0
- package/dist/my_node_modules/lodash/_mapCacheGet.js +20 -0
- package/dist/my_node_modules/lodash/_mapCacheHas.js +20 -0
- package/dist/my_node_modules/lodash/_mapCacheSet.js +26 -0
- package/dist/my_node_modules/lodash/_mapToArray.js +21 -0
- package/dist/my_node_modules/lodash/_matchesStrictComparable.js +23 -0
- package/dist/my_node_modules/lodash/_memoizeCapped.js +30 -0
- package/dist/my_node_modules/lodash/_nativeCreate.js +10 -0
- package/dist/my_node_modules/lodash/_nativeKeys.js +10 -0
- package/dist/my_node_modules/lodash/_nativeKeysIn.js +23 -0
- package/dist/my_node_modules/lodash/_nodeUtil.js +35 -0
- package/dist/my_node_modules/lodash/_objectToString.js +25 -0
- package/dist/my_node_modules/lodash/_overArg.js +18 -0
- package/dist/my_node_modules/lodash/_root.js +13 -0
- package/dist/my_node_modules/lodash/_setCacheAdd.js +22 -0
- package/dist/my_node_modules/lodash/_setCacheHas.js +17 -0
- package/dist/my_node_modules/lodash/_setToArray.js +21 -0
- package/dist/my_node_modules/lodash/_stackClear.js +19 -0
- package/dist/my_node_modules/lodash/_stackDelete.js +21 -0
- package/dist/my_node_modules/lodash/_stackGet.js +17 -0
- package/dist/my_node_modules/lodash/_stackHas.js +17 -0
- package/dist/my_node_modules/lodash/_stackSet.js +40 -0
- package/dist/my_node_modules/lodash/_stringToPath.js +31 -0
- package/dist/my_node_modules/lodash/_toKey.js +25 -0
- package/dist/my_node_modules/lodash/_toSource.js +29 -0
- package/dist/my_node_modules/lodash/_trimmedEndIndex.js +22 -0
- package/dist/my_node_modules/lodash/cloneDeep.js +33 -0
- package/dist/my_node_modules/lodash/divide.js +26 -0
- package/dist/my_node_modules/lodash/eq.js +40 -0
- package/dist/my_node_modules/lodash/findIndex.js +61 -0
- package/dist/my_node_modules/lodash/get.js +37 -0
- package/dist/my_node_modules/lodash/hasIn.js +39 -0
- package/dist/my_node_modules/lodash/identity.js +24 -0
- package/dist/my_node_modules/lodash/isArguments.js +41 -0
- package/dist/my_node_modules/lodash/isArray.js +29 -0
- package/dist/my_node_modules/lodash/isArrayLike.js +38 -0
- package/dist/my_node_modules/lodash/isBuffer.js +44 -0
- package/dist/my_node_modules/lodash/isEmpty.js +89 -0
- package/dist/my_node_modules/lodash/isFunction.js +42 -0
- package/dist/my_node_modules/lodash/isLength.js +38 -0
- package/dist/my_node_modules/lodash/isMap.js +34 -0
- package/dist/my_node_modules/lodash/isObject.js +34 -0
- package/dist/my_node_modules/lodash/isObjectLike.js +32 -0
- package/dist/my_node_modules/lodash/isSet.js +34 -0
- package/dist/my_node_modules/lodash/isSymbol.js +34 -0
- package/dist/my_node_modules/lodash/isTypedArray.js +34 -0
- package/dist/my_node_modules/lodash/keys.js +43 -0
- package/dist/my_node_modules/lodash/keysIn.js +38 -0
- package/dist/my_node_modules/lodash/mapKeys.js +42 -0
- package/dist/my_node_modules/lodash/memoize.js +77 -0
- package/dist/my_node_modules/lodash/property.js +39 -0
- package/dist/my_node_modules/lodash/stubArray.js +26 -0
- package/dist/my_node_modules/lodash/stubFalse.js +21 -0
- package/dist/my_node_modules/lodash/toFinite.js +46 -0
- package/dist/my_node_modules/lodash/toInteger.js +40 -0
- package/dist/my_node_modules/lodash/toNumber.js +70 -0
- package/dist/my_node_modules/lodash/toString.js +32 -0
- package/dist/my_node_modules/object-assign/index.js +99 -0
- package/dist/my_node_modules/object-inspect/index.js +516 -0
- package/dist/my_node_modules/prop-types/checkPropTypes.js +115 -0
- package/dist/my_node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/dist/my_node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/dist/my_node_modules/prop-types/index.js +27 -0
- package/dist/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/dist/my_node_modules/prop-types/lib/has.js +11 -0
- package/dist/my_node_modules/qs/lib/formats.js +23 -0
- package/dist/my_node_modules/qs/lib/index.js +15 -0
- package/dist/my_node_modules/qs/lib/parse.js +265 -0
- package/dist/my_node_modules/qs/lib/stringify.js +330 -0
- package/dist/my_node_modules/qs/lib/utils.js +254 -0
- package/dist/my_node_modules/rc-motion/es/CSSMotion.js +149 -0
- package/dist/my_node_modules/rc-motion/es/DomWrapper.js +28 -0
- package/dist/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +45 -0
- package/dist/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/dist/my_node_modules/rc-motion/es/hooks/useNextFrame.js +36 -0
- package/dist/my_node_modules/rc-motion/es/hooks/useStatus.js +232 -0
- package/dist/my_node_modules/rc-motion/es/hooks/useStepQueue.js +69 -0
- package/dist/my_node_modules/rc-motion/es/index.js +4 -0
- package/dist/my_node_modules/rc-motion/es/interface.js +11 -0
- package/dist/my_node_modules/rc-motion/es/util/motion.js +85 -0
- package/dist/my_node_modules/rc-util/es/Dom/canUseDom.js +5 -0
- package/dist/my_node_modules/rc-util/es/Dom/findDOMNode.js +15 -0
- package/dist/my_node_modules/rc-util/es/hooks/useState.js +36 -0
- package/dist/my_node_modules/rc-util/es/raf.js +57 -0
- package/dist/my_node_modules/rc-util/es/ref.js +30 -0
- package/dist/my_node_modules/rc-util/lib/Children/toArray.js +39 -0
- package/dist/my_node_modules/react-is/cjs/react-is.development.js +190 -0
- package/dist/my_node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/my_node_modules/react-is/index.js +21 -0
- package/dist/my_node_modules/shallowequal/index.js +48 -0
- package/dist/my_node_modules/side-channel/index.js +128 -0
- package/dist/my_node_modules/slick-carousel/slick/slick-theme.css.js +4 -0
- package/dist/my_node_modules/slick-carousel/slick/slick.css.js +4 -0
- package/dist/my_node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/dist/my_node_modules/tslib/tslib.es6.js +110 -0
- package/dist/my_node_modules/uuid/index.js +13 -0
- package/dist/my_node_modules/uuid/lib/bytesToUuid.js +29 -0
- package/dist/my_node_modules/uuid/lib/rng-browser.js +39 -0
- package/dist/my_node_modules/uuid/v1.js +115 -0
- package/dist/my_node_modules/uuid/v4.js +35 -0
- package/dist/package.json +31 -0
- package/dist/src/components/assets/images/layout-icon/carouselLayout1.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/carouselLayout2.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/dividerLayout.svg.js +3 -0
- package/dist/src/components/assets/images/layout-icon/imageGalleryLayout1.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/imageGalleryLayout2.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/imageGalleryLayout3.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-m1-1.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-m1-2.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-m1-3.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-m2.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-m3.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-p1.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-p2.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-imagetext-p4.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/layout-search.png.js +3 -0
- package/dist/src/components/assets/images/layout-icon/newsletter.svg.js +3 -0
- package/dist/src/components/assets/less/cylon-antd.less.js +3 -0
- package/dist/src/components/assets/less/index.less.js +4 -0
- package/dist/src/components/common/AlignSelector/index.js +65 -0
- package/dist/src/components/common/AlignSelector/index.less.js +4 -0
- package/dist/src/components/common/Button/index.js +75 -0
- package/dist/src/components/common/Button/index.less.js +4 -0
- package/dist/src/components/common/ButtonIconLayout/index.js +66 -0
- package/dist/src/components/common/ButtonIconLayout/index.less.js +4 -0
- package/dist/src/components/common/Collapse/index.js +323 -0
- package/dist/src/components/common/Collapse/index.less.js +4 -0
- package/dist/src/components/common/ColorPicker/index.js +94 -0
- package/dist/src/components/common/ColorPicker/index.less.js +4 -0
- package/dist/src/components/common/ColorPickerInput/index.js +76 -0
- package/dist/src/components/common/ColorPickerInput/index.less.js +4 -0
- package/dist/src/components/common/CountDown/index.js +110 -0
- package/dist/src/components/common/CountDown/index.less.js +4 -0
- package/dist/src/components/common/Field/index.js +43 -0
- package/dist/src/components/common/Field/index.less.js +4 -0
- package/dist/src/components/common/FontStyles/index.js +124 -0
- package/dist/src/components/common/FontStyles/index.less.js +4 -0
- package/dist/src/components/common/GroupList/defaultImg.png.js +3 -0
- package/dist/src/components/common/GroupList/index.js +170 -0
- package/dist/src/components/common/GroupList/index.less.js +4 -0
- package/dist/src/components/common/IconPicker/index.js +93 -0
- package/dist/src/components/common/IconPicker/index.less.js +4 -0
- package/dist/src/components/common/Iconfont/index.js +74 -0
- package/dist/src/components/common/Iconfont/index.less.js +4 -0
- package/dist/src/components/common/ImageModal/CommonModal/const.js +16 -0
- package/dist/src/components/common/ImageModal/CommonModal/index.js +33 -0
- package/dist/src/components/common/ImageModal/CommonSelPicCard/index.js +66 -0
- package/dist/src/components/common/ImageModal/CommonSelPicCard/index.less.js +4 -0
- package/dist/src/components/common/ImageModal/const.js +18 -0
- package/dist/src/components/common/ImageModal/index.js +547 -0
- package/dist/src/components/common/ImageModal/index.less.js +4 -0
- package/dist/src/components/common/ImagePicker/index.js +124 -0
- package/dist/src/components/common/ImagePicker/index.less.js +4 -0
- package/dist/src/components/common/InputNumber/index.js +54 -0
- package/dist/src/components/common/InputNumber/index.less.js +4 -0
- package/dist/src/components/common/LayoutSelector/imgs/center.png.js +3 -0
- package/dist/src/components/common/LayoutSelector/imgs/left.png.js +3 -0
- package/dist/src/components/common/LayoutSelector/imgs/right.png.js +3 -0
- package/dist/src/components/common/LayoutSelector/index.js +70 -0
- package/dist/src/components/common/LayoutSelector/index.less.js +4 -0
- package/dist/src/components/common/LinkModal/CatgTable/index.js +78 -0
- package/dist/src/components/common/LinkModal/CouponTable/index.js +111 -0
- package/dist/src/components/common/LinkModal/CustomTable/index.js +72 -0
- package/dist/src/components/common/LinkModal/FilteredProductModal/index.js +463 -0
- package/dist/src/components/common/LinkModal/FilteredProductModal/index.less.js +4 -0
- package/dist/src/components/common/LinkModal/FunctionTable/index.js +66 -0
- package/dist/src/components/common/LinkModal/ProductDetailPage/index.js +241 -0
- package/dist/src/components/common/LinkModal/ProductDetailPage/index.less.js +4 -0
- package/dist/src/components/common/LinkModal/index.js +112 -0
- package/dist/src/components/common/LinkModal/index.less.js +4 -0
- package/dist/src/components/common/NewImg/index.js +91 -0
- package/dist/src/components/common/ProductModal/index.js +556 -0
- package/dist/src/components/common/ProductModal/index.less.js +4 -0
- package/dist/src/components/common/ProductSource/index.js +91 -0
- package/dist/src/components/common/ProductSource/index.less.js +4 -0
- package/dist/src/components/common/RcCollapse/Collapse.js +176 -0
- package/dist/src/components/common/RcCollapse/Panel.js +146 -0
- package/dist/src/components/common/RcCollapse/PanelContent.js +41 -0
- package/dist/src/components/common/RcCollapse/index.js +6 -0
- package/dist/src/components/common/RcCollapse/index.less.js +4 -0
- package/dist/src/components/common/RcCollapse/motionUtil.js +37 -0
- package/dist/src/components/common/Slider/index.js +95 -0
- package/dist/src/components/common/Slider/index.less.js +4 -0
- package/dist/src/components/common/SwitchCollapse/index.js +162 -0
- package/dist/src/components/common/SwitchCollapse/index.less.js +4 -0
- package/dist/src/components/common/UrlPicker/index.js +81 -0
- package/dist/src/components/common/UrlPicker/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Banner/defaultJSON.js +258 -0
- package/dist/src/components/composite-comp/bol/components/Banner/imgs/banner.png.js +3 -0
- package/dist/src/components/composite-comp/bol/components/Banner/index.js +34 -0
- package/dist/src/components/composite-comp/bol/components/Banner/mobile/index.js +176 -0
- package/dist/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Banner/pc/index.js +254 -0
- package/dist/src/components/composite-comp/bol/components/Banner/pc/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Button/defaultJSON.js +93 -0
- package/dist/src/components/composite-comp/bol/components/Button/index.js +48 -0
- package/dist/src/components/composite-comp/bol/components/Button/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +287 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/imgs/defaultImg.png.js +3 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/index.js +37 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/mobile/index.js +217 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/pc/index.js +208 -0
- package/dist/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Divider/defaultJSON.js +40 -0
- package/dist/src/components/composite-comp/bol/components/Divider/index.js +48 -0
- package/dist/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +64 -0
- package/dist/src/components/composite-comp/bol/components/ImageGallery/index.js +30 -0
- package/dist/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +47 -0
- package/dist/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +540 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/index.js +33 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/mobile/index.js +145 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/pc/index.js +126 -0
- package/dist/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +114 -0
- package/dist/src/components/composite-comp/bol/components/Newsletter/index.js +65 -0
- package/dist/src/components/composite-comp/bol/components/Newsletter/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Tag/defaultJSON.js +91 -0
- package/dist/src/components/composite-comp/bol/components/Tag/index.js +52 -0
- package/dist/src/components/composite-comp/bol/components/Tag/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/components/Text/defaultJSON.js +125 -0
- package/dist/src/components/composite-comp/bol/components/Text/index.js +68 -0
- package/dist/src/components/composite-comp/bol/components/Text/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +73 -0
- package/dist/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +200 -0
- package/dist/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/config-panels/BannerConfig/index.js +35 -0
- package/dist/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +79 -0
- package/dist/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/ButtonCompConfig/index.js +53 -0
- package/dist/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +91 -0
- package/dist/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +175 -0
- package/dist/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/CarouselConfig/index.js +54 -0
- package/dist/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +153 -0
- package/dist/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +66 -0
- package/dist/src/components/composite-comp/bol/config-panels/DividerConfig/index.js +44 -0
- package/dist/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +91 -0
- package/dist/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +44 -0
- package/dist/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +74 -0
- package/dist/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +170 -0
- package/dist/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +143 -0
- package/dist/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +89 -0
- package/dist/src/components/composite-comp/bol/config-panels/NewsletterConfig/index.js +44 -0
- package/dist/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +88 -0
- package/dist/src/components/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/TagCompConfig/index.js +48 -0
- package/dist/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +79 -0
- package/dist/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +85 -0
- package/dist/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +4 -0
- package/dist/src/components/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png.js +3 -0
- package/dist/src/components/composite-comp/bol/config-panels/TextCompConfig/index.js +55 -0
- package/dist/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +109 -0
- package/dist/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +107 -0
- package/dist/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +118 -0
- package/dist/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +79 -0
- package/dist/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +70 -0
- package/dist/src/components/composite-comp/common/components/ImageLabel/index.js +47 -0
- package/dist/src/components/composite-comp/common/components/ImageLabel/index.less.js +4 -0
- package/dist/src/components/composite-comp/common/components/ProductItem/index.js +121 -0
- package/dist/src/components/composite-comp/common/components/ProductItem/index.less.js +4 -0
- package/dist/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +89 -0
- package/dist/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +182 -0
- package/dist/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +4 -0
- package/dist/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +133 -0
- package/dist/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +4 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +176 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/index.js +31 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png.js +3 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png.js +3 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png.js +3 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +233 -0
- package/dist/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +210 -0
- package/dist/src/components/composite-comp/dito/components/Recommend/index.js +31 -0
- package/dist/src/components/composite-comp/dito/components/Recommend/mobile/index.js +317 -0
- package/dist/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +44 -0
- package/dist/src/components/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg.js +3 -0
- package/dist/src/components/composite-comp/dito/components/SearchBar/index.js +31 -0
- package/dist/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +89 -0
- package/dist/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +4 -0
- package/dist/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +121 -0
- package/dist/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +102 -0
- package/dist/src/components/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png.js +3 -0
- package/dist/src/components/composite-comp/dito/config-panels/FlashDealConfig/index.js +49 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +97 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +89 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +4 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png.js +3 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png.js +3 -0
- package/dist/src/components/composite-comp/dito/config-panels/RecommendConfig/index.js +49 -0
- package/dist/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +115 -0
- package/dist/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +156 -0
- package/dist/src/components/constants/component-types.js +48 -0
- package/dist/src/components/constants/index.js +74 -0
- package/dist/src/components/constants/layout.js +90 -0
- package/dist/src/components/core/Designer/CompListPanel/CompCard/index.js +33 -0
- package/dist/src/components/core/Designer/CompListPanel/CompCard/index.less.js +4 -0
- package/dist/src/components/core/Designer/CompListPanel/index.js +109 -0
- package/dist/src/components/core/Designer/CompListPanel/index.less.js +4 -0
- package/dist/src/components/core/Designer/ConfigPanel/index.js +246 -0
- package/dist/src/components/core/Designer/ConfigPanel/index.less.js +4 -0
- package/dist/src/components/core/Designer/History/index.js +82 -0
- package/dist/src/components/core/Designer/PageCompList/index.js +248 -0
- package/dist/src/components/core/Designer/PageCompList/index.less.js +4 -0
- package/dist/src/components/core/Designer/QuickMenuBar/index.js +130 -0
- package/dist/src/components/core/Designer/QuickMenuBar/index.less.js +4 -0
- package/dist/src/components/core/Designer/ViewArea/index.js +86 -0
- package/dist/src/components/core/Designer/ViewArea/index.less.js +4 -0
- package/dist/src/components/core/Designer/index.js +364 -0
- package/dist/src/components/core/Designer/index.less.js +4 -0
- package/dist/src/components/core/Renderer/index.js +55 -0
- package/dist/src/components/decorator/compositeDecorator.js +94 -0
- package/dist/src/components/decorator/metaDecorator.js +150 -0
- package/dist/src/components/index.js +4 -0
- package/dist/src/components/meta-comp/components/Button/index.js +113 -0
- package/dist/src/components/meta-comp/components/Button/index.less.js +4 -0
- package/dist/src/components/meta-comp/components/Image/index.js +133 -0
- package/dist/src/components/meta-comp/components/Image/index.less.js +4 -0
- package/dist/src/components/meta-comp/components/Text/index.js +385 -0
- package/dist/src/components/meta-comp/components/Text/index.less.js +4 -0
- package/dist/src/components/meta-comp/config-panels/BaseConfig.js +47 -0
- package/dist/src/components/meta-comp/config-panels/ButtonConfig/index.js +308 -0
- package/dist/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +4 -0
- package/dist/src/components/meta-comp/config-panels/ImageConfig/index.js +224 -0
- package/dist/src/components/meta-comp/config-panels/ImageConfig/index.less.js +4 -0
- package/dist/src/components/meta-comp/config-panels/TextConfig/index.js +310 -0
- package/dist/src/components/meta-comp/config-panels/TextConfig/index.less.js +4 -0
- package/dist/src/components/mobx/Store.js +88 -0
- package/dist/src/components/mobx/index.js +12 -0
- package/dist/src/components/utils/androidUtil.js +22 -0
- package/dist/src/components/utils/businessUtil.js +214 -0
- package/dist/src/components/utils/commonUtil.js +240 -0
- package/dist/src/components/utils/coreUtil.js +108 -0
- package/dist/src/components/utils/currencyUtil.js +110 -0
- package/dist/src/components/utils/dataTreeUtils.js +93 -0
- package/dist/src/components/utils/dateUtil.js +30 -0
- package/dist/src/components/utils/storeUtil.js +113 -0
- package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +216 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.less +73 -0
- package/es/composite-comp/bol/components/Banner/pc/index.js +278 -0
- package/es/composite-comp/bol/components/Banner/pc/index.less +78 -0
- package/es/composite-comp/bol/components/Button/index.js +103 -0
- package/es/composite-comp/bol/components/Button/index.less +47 -0
- package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/components/Carousel/index.js +93 -0
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +289 -0
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -0
- package/es/composite-comp/bol/components/Carousel/pc/index.js +250 -0
- package/es/composite-comp/bol/components/Carousel/pc/index.less +81 -0
- package/es/composite-comp/bol/components/Divider/index.js +101 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/index.js +84 -0
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +83 -0
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +73 -0
- package/es/composite-comp/bol/components/ImageText/index.js +88 -0
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +183 -0
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +288 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.js +180 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.less +110 -0
- package/es/composite-comp/bol/components/Newsletter/index.js +127 -0
- package/es/composite-comp/bol/components/Newsletter/index.less +75 -0
- package/es/composite-comp/bol/components/Tag/index.js +107 -0
- package/es/composite-comp/bol/components/Tag/index.less +34 -0
- package/es/composite-comp/bol/components/Text/index.js +123 -0
- package/es/composite-comp/bol/components/Text/index.less +61 -0
- package/es/composite-comp/bol/components/Text/slice.svg +1 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +126 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +225 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/index.js +46 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +99 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +67 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +144 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +199 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +68 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +98 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +177 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +89 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/index.js +57 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +144 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +57 -0
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +126 -0
- package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +196 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +185 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +111 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +57 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +109 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +61 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +99 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +138 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +69 -0
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +151 -0
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +162 -0
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +82 -0
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +143 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +99 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +90 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
- package/es/composite-comp/common/components/ImageLabel/index.js +90 -0
- package/es/composite-comp/common/components/ImageLabel/index.less +35 -0
- package/es/composite-comp/common/components/ProductItem/index.js +191 -0
- package/es/composite-comp/common/components/ProductItem/index.less +121 -0
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +109 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +234 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +21 -0
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +154 -0
- package/es/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
- package/es/composite-comp/dito/components/FlashDeal/index.js +86 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +436 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +94 -0
- package/es/composite-comp/dito/components/Recommend/index.js +86 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +530 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +79 -0
- package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
- package/es/composite-comp/dito/components/SearchBar/index.js +86 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +108 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +38 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +143 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +125 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +62 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +118 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +143 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +62 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +138 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +185 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +3 -0
- package/es/core/Designer/CompListPanel/CompCard/index.js +42 -0
- package/es/core/Designer/CompListPanel/CompCard/index.less +69 -0
- package/es/meta-comp/components/Image/index.less +18 -0
- package/es/meta-comp/components/Text/index.less +38 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.less +4 -0
- package/es/meta-comp/config-panels/ImageConfig/index.less +16 -0
- package/es/meta-comp/config-panels/TextConfig/index.less +24 -0
- package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +216 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +73 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.js +278 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.less +78 -0
- package/lib/composite-comp/bol/components/Button/index.less +47 -0
- package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +93 -0
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +289 -0
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -0
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +250 -0
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +81 -0
- package/lib/composite-comp/bol/components/Divider/index.js +101 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/index.js +84 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +83 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +73 -0
- package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +183 -0
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +288 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +180 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +110 -0
- package/lib/composite-comp/bol/components/Newsletter/index.js +127 -0
- package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
- package/lib/composite-comp/bol/components/Tag/index.js +107 -0
- package/lib/composite-comp/bol/components/Tag/index.less +34 -0
- package/lib/composite-comp/bol/components/Text/index.js +123 -0
- package/lib/composite-comp/bol/components/Text/index.less +61 -0
- package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +126 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +225 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +46 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +99 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +67 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +144 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +199 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +68 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +98 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +177 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +89 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +57 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +144 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +57 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +126 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +196 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +185 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +57 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +109 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +61 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +99 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +138 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +69 -0
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +151 -0
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +162 -0
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +82 -0
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +143 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +99 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +90 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
- package/lib/composite-comp/common/components/ImageLabel/index.less +35 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +191 -0
- package/lib/composite-comp/common/components/ProductItem/index.less +121 -0
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +109 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +234 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +21 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +154 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
- package/lib/composite-comp/dito/components/FlashDeal/index.js +86 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +436 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +94 -0
- package/lib/composite-comp/dito/components/Recommend/index.js +86 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +530 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +79 -0
- package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
- package/lib/composite-comp/dito/components/SearchBar/index.js +86 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +108 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +38 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +143 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +125 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +62 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +118 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +143 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +62 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +138 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +185 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +3 -0
- package/lib/core/Designer/CompListPanel/CompCard/index.js +42 -0
- package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
- package/lib/meta-comp/components/Button/index.less +19 -0
- package/lib/meta-comp/components/Image/index.less +18 -0
- package/lib/meta-comp/components/Text/index.less +38 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
- package/lib/meta-comp/config-panels/TextConfig/index.less +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _baseIsNative from './_baseIsNative.js';
|
|
2
|
+
import _getValue from './_getValue.js';
|
|
3
|
+
|
|
4
|
+
var baseIsNative = _baseIsNative,
|
|
5
|
+
getValue = _getValue;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Gets the native function at `key` of `object`.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to query.
|
|
12
|
+
* @param {string} key The key of the method to get.
|
|
13
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
14
|
+
*/
|
|
15
|
+
function getNative(object, key) {
|
|
16
|
+
var value = getValue(object, key);
|
|
17
|
+
return baseIsNative(value) ? value : undefined;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var _getNative = getNative;
|
|
21
|
+
|
|
22
|
+
export { _getNative as default };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _Symbol from './_Symbol.js';
|
|
2
|
+
|
|
3
|
+
var Symbol = _Symbol;
|
|
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
|
+
* Used to resolve the
|
|
13
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
14
|
+
* of values.
|
|
15
|
+
*/
|
|
16
|
+
var nativeObjectToString = objectProto.toString;
|
|
17
|
+
|
|
18
|
+
/** Built-in value references. */
|
|
19
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
23
|
+
*
|
|
24
|
+
* @private
|
|
25
|
+
* @param {*} value The value to query.
|
|
26
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
27
|
+
*/
|
|
28
|
+
function getRawTag(value) {
|
|
29
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
30
|
+
tag = value[symToStringTag];
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
value[symToStringTag] = undefined;
|
|
34
|
+
var unmasked = true;
|
|
35
|
+
} catch (e) {}
|
|
36
|
+
|
|
37
|
+
var result = nativeObjectToString.call(value);
|
|
38
|
+
if (unmasked) {
|
|
39
|
+
if (isOwn) {
|
|
40
|
+
value[symToStringTag] = tag;
|
|
41
|
+
} else {
|
|
42
|
+
delete value[symToStringTag];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
var _getRawTag = getRawTag;
|
|
49
|
+
|
|
50
|
+
export { _getRawTag as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _arrayFilter from './_arrayFilter.js';
|
|
2
|
+
import stubArray_1 from './stubArray.js';
|
|
3
|
+
|
|
4
|
+
var arrayFilter = _arrayFilter,
|
|
5
|
+
stubArray = stubArray_1;
|
|
6
|
+
|
|
7
|
+
/** Used for built-in method references. */
|
|
8
|
+
var objectProto = Object.prototype;
|
|
9
|
+
|
|
10
|
+
/** Built-in value references. */
|
|
11
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
12
|
+
|
|
13
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
14
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Creates an array of the own enumerable symbols of `object`.
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
* @param {Object} object The object to query.
|
|
21
|
+
* @returns {Array} Returns the array of symbols.
|
|
22
|
+
*/
|
|
23
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
24
|
+
if (object == null) {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
object = Object(object);
|
|
28
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
29
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
var _getSymbols = getSymbols;
|
|
34
|
+
|
|
35
|
+
export { _getSymbols as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _arrayPush from './_arrayPush.js';
|
|
2
|
+
import _getPrototype from './_getPrototype.js';
|
|
3
|
+
import _getSymbols from './_getSymbols.js';
|
|
4
|
+
import stubArray_1 from './stubArray.js';
|
|
5
|
+
|
|
6
|
+
var arrayPush = _arrayPush,
|
|
7
|
+
getPrototype = _getPrototype,
|
|
8
|
+
getSymbols = _getSymbols,
|
|
9
|
+
stubArray = stubArray_1;
|
|
10
|
+
|
|
11
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
12
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
16
|
+
*
|
|
17
|
+
* @private
|
|
18
|
+
* @param {Object} object The object to query.
|
|
19
|
+
* @returns {Array} Returns the array of symbols.
|
|
20
|
+
*/
|
|
21
|
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
|
22
|
+
var result = [];
|
|
23
|
+
while (object) {
|
|
24
|
+
arrayPush(result, getSymbols(object));
|
|
25
|
+
object = getPrototype(object);
|
|
26
|
+
}
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var _getSymbolsIn = getSymbolsIn;
|
|
31
|
+
|
|
32
|
+
export { _getSymbolsIn as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import _DataView from './_DataView.js';
|
|
2
|
+
import _Map from './_Map.js';
|
|
3
|
+
import _Promise from './_Promise.js';
|
|
4
|
+
import _Set from './_Set.js';
|
|
5
|
+
import _WeakMap from './_WeakMap.js';
|
|
6
|
+
import _baseGetTag from './_baseGetTag.js';
|
|
7
|
+
import _toSource from './_toSource.js';
|
|
8
|
+
|
|
9
|
+
var DataView = _DataView,
|
|
10
|
+
Map = _Map,
|
|
11
|
+
Promise$1 = _Promise,
|
|
12
|
+
Set = _Set,
|
|
13
|
+
WeakMap = _WeakMap,
|
|
14
|
+
baseGetTag = _baseGetTag,
|
|
15
|
+
toSource = _toSource;
|
|
16
|
+
|
|
17
|
+
/** `Object#toString` result references. */
|
|
18
|
+
var mapTag = '[object Map]',
|
|
19
|
+
objectTag = '[object Object]',
|
|
20
|
+
promiseTag = '[object Promise]',
|
|
21
|
+
setTag = '[object Set]',
|
|
22
|
+
weakMapTag = '[object WeakMap]';
|
|
23
|
+
|
|
24
|
+
var dataViewTag = '[object DataView]';
|
|
25
|
+
|
|
26
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
27
|
+
var dataViewCtorString = toSource(DataView),
|
|
28
|
+
mapCtorString = toSource(Map),
|
|
29
|
+
promiseCtorString = toSource(Promise$1),
|
|
30
|
+
setCtorString = toSource(Set),
|
|
31
|
+
weakMapCtorString = toSource(WeakMap);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets the `toStringTag` of `value`.
|
|
35
|
+
*
|
|
36
|
+
* @private
|
|
37
|
+
* @param {*} value The value to query.
|
|
38
|
+
* @returns {string} Returns the `toStringTag`.
|
|
39
|
+
*/
|
|
40
|
+
var getTag = baseGetTag;
|
|
41
|
+
|
|
42
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
43
|
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
44
|
+
(Map && getTag(new Map) != mapTag) ||
|
|
45
|
+
(Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
|
|
46
|
+
(Set && getTag(new Set) != setTag) ||
|
|
47
|
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
48
|
+
getTag = function(value) {
|
|
49
|
+
var result = baseGetTag(value),
|
|
50
|
+
Ctor = result == objectTag ? value.constructor : undefined,
|
|
51
|
+
ctorString = Ctor ? toSource(Ctor) : '';
|
|
52
|
+
|
|
53
|
+
if (ctorString) {
|
|
54
|
+
switch (ctorString) {
|
|
55
|
+
case dataViewCtorString: return dataViewTag;
|
|
56
|
+
case mapCtorString: return mapTag;
|
|
57
|
+
case promiseCtorString: return promiseTag;
|
|
58
|
+
case setCtorString: return setTag;
|
|
59
|
+
case weakMapCtorString: return weakMapTag;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var _getTag = getTag;
|
|
67
|
+
|
|
68
|
+
export { _getTag as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the value at `key` of `object`.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {Object} [object] The object to query.
|
|
6
|
+
* @param {string} key The key of the property to get.
|
|
7
|
+
* @returns {*} Returns the property value.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
function getValue(object, key) {
|
|
11
|
+
return object == null ? undefined : object[key];
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var _getValue = getValue;
|
|
15
|
+
|
|
16
|
+
export { _getValue as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _castPath from './_castPath.js';
|
|
2
|
+
import isArguments_1 from './isArguments.js';
|
|
3
|
+
import isArray_1 from './isArray.js';
|
|
4
|
+
import _isIndex from './_isIndex.js';
|
|
5
|
+
import isLength_1 from './isLength.js';
|
|
6
|
+
import _toKey from './_toKey.js';
|
|
7
|
+
|
|
8
|
+
var castPath = _castPath,
|
|
9
|
+
isArguments = isArguments_1,
|
|
10
|
+
isArray = isArray_1,
|
|
11
|
+
isIndex = _isIndex,
|
|
12
|
+
isLength = isLength_1,
|
|
13
|
+
toKey = _toKey;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Checks if `path` exists on `object`.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @param {Object} object The object to query.
|
|
20
|
+
* @param {Array|string} path The path to check.
|
|
21
|
+
* @param {Function} hasFunc The function to check properties.
|
|
22
|
+
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
|
23
|
+
*/
|
|
24
|
+
function hasPath(object, path, hasFunc) {
|
|
25
|
+
path = castPath(path, object);
|
|
26
|
+
|
|
27
|
+
var index = -1,
|
|
28
|
+
length = path.length,
|
|
29
|
+
result = false;
|
|
30
|
+
|
|
31
|
+
while (++index < length) {
|
|
32
|
+
var key = toKey(path[index]);
|
|
33
|
+
if (!(result = object != null && hasFunc(object, key))) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
object = object[key];
|
|
37
|
+
}
|
|
38
|
+
if (result || ++index != length) {
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
length = object == null ? 0 : object.length;
|
|
42
|
+
return !!length && isLength(length) && isIndex(key, length) &&
|
|
43
|
+
(isArray(object) || isArguments(object));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
var _hasPath = hasPath;
|
|
47
|
+
|
|
48
|
+
export { _hasPath as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _nativeCreate from './_nativeCreate.js';
|
|
2
|
+
|
|
3
|
+
var nativeCreate = _nativeCreate;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Removes all key-value entries from the hash.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @name clear
|
|
10
|
+
* @memberOf Hash
|
|
11
|
+
*/
|
|
12
|
+
function hashClear() {
|
|
13
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
14
|
+
this.size = 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var _hashClear = hashClear;
|
|
18
|
+
|
|
19
|
+
export { _hashClear as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Removes `key` and its value from the hash.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @name delete
|
|
6
|
+
* @memberOf Hash
|
|
7
|
+
* @param {Object} hash The hash to modify.
|
|
8
|
+
* @param {string} key The key of the value to remove.
|
|
9
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
function hashDelete(key) {
|
|
13
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
14
|
+
this.size -= result ? 1 : 0;
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _hashDelete = hashDelete;
|
|
19
|
+
|
|
20
|
+
export { _hashDelete as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/** Used for built-in method references. */
|
|
9
|
+
var objectProto = Object.prototype;
|
|
10
|
+
|
|
11
|
+
/** Used to check objects for own properties. */
|
|
12
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets the hash value for `key`.
|
|
16
|
+
*
|
|
17
|
+
* @private
|
|
18
|
+
* @name get
|
|
19
|
+
* @memberOf Hash
|
|
20
|
+
* @param {string} key The key of the value to get.
|
|
21
|
+
* @returns {*} Returns the entry value.
|
|
22
|
+
*/
|
|
23
|
+
function hashGet(key) {
|
|
24
|
+
var data = this.__data__;
|
|
25
|
+
if (nativeCreate) {
|
|
26
|
+
var result = data[key];
|
|
27
|
+
return result === HASH_UNDEFINED ? undefined : result;
|
|
28
|
+
}
|
|
29
|
+
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var _hashGet = hashGet;
|
|
33
|
+
|
|
34
|
+
export { _hashGet as default };
|
|
@@ -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 };
|