@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,193 @@
|
|
|
1
|
+
import _Stack from './_Stack.js';
|
|
2
|
+
import _arrayEach from './_arrayEach.js';
|
|
3
|
+
import _assignValue from './_assignValue.js';
|
|
4
|
+
import _baseAssign from './_baseAssign.js';
|
|
5
|
+
import _baseAssignIn from './_baseAssignIn.js';
|
|
6
|
+
import './_cloneBuffer.js';
|
|
7
|
+
import _copyArray from './_copyArray.js';
|
|
8
|
+
import _copySymbols from './_copySymbols.js';
|
|
9
|
+
import _copySymbolsIn from './_copySymbolsIn.js';
|
|
10
|
+
import _getAllKeys from './_getAllKeys.js';
|
|
11
|
+
import _getAllKeysIn from './_getAllKeysIn.js';
|
|
12
|
+
import _getTag from './_getTag.js';
|
|
13
|
+
import _initCloneArray from './_initCloneArray.js';
|
|
14
|
+
import _initCloneByTag from './_initCloneByTag.js';
|
|
15
|
+
import _initCloneObject from './_initCloneObject.js';
|
|
16
|
+
import isArray_1 from './isArray.js';
|
|
17
|
+
import './isBuffer.js';
|
|
18
|
+
import isMap_1 from './isMap.js';
|
|
19
|
+
import isObject_1 from './isObject.js';
|
|
20
|
+
import isSet_1 from './isSet.js';
|
|
21
|
+
import keys_1 from './keys.js';
|
|
22
|
+
import keysIn_1 from './keysIn.js';
|
|
23
|
+
import { _ as _cloneBuffer } from '../../_virtual/_cloneBuffer.js';
|
|
24
|
+
import { i as isBuffer$1 } from '../../_virtual/isBuffer.js';
|
|
25
|
+
|
|
26
|
+
var Stack = _Stack,
|
|
27
|
+
arrayEach = _arrayEach,
|
|
28
|
+
assignValue = _assignValue,
|
|
29
|
+
baseAssign = _baseAssign,
|
|
30
|
+
baseAssignIn = _baseAssignIn,
|
|
31
|
+
cloneBuffer = _cloneBuffer.exports,
|
|
32
|
+
copyArray = _copyArray,
|
|
33
|
+
copySymbols = _copySymbols,
|
|
34
|
+
copySymbolsIn = _copySymbolsIn,
|
|
35
|
+
getAllKeys = _getAllKeys,
|
|
36
|
+
getAllKeysIn = _getAllKeysIn,
|
|
37
|
+
getTag = _getTag,
|
|
38
|
+
initCloneArray = _initCloneArray,
|
|
39
|
+
initCloneByTag = _initCloneByTag,
|
|
40
|
+
initCloneObject = _initCloneObject,
|
|
41
|
+
isArray = isArray_1,
|
|
42
|
+
isBuffer = isBuffer$1.exports,
|
|
43
|
+
isMap = isMap_1,
|
|
44
|
+
isObject = isObject_1,
|
|
45
|
+
isSet = isSet_1,
|
|
46
|
+
keys = keys_1,
|
|
47
|
+
keysIn = keysIn_1;
|
|
48
|
+
|
|
49
|
+
/** Used to compose bitmasks for cloning. */
|
|
50
|
+
var CLONE_DEEP_FLAG = 1,
|
|
51
|
+
CLONE_FLAT_FLAG = 2,
|
|
52
|
+
CLONE_SYMBOLS_FLAG = 4;
|
|
53
|
+
|
|
54
|
+
/** `Object#toString` result references. */
|
|
55
|
+
var argsTag = '[object Arguments]',
|
|
56
|
+
arrayTag = '[object Array]',
|
|
57
|
+
boolTag = '[object Boolean]',
|
|
58
|
+
dateTag = '[object Date]',
|
|
59
|
+
errorTag = '[object Error]',
|
|
60
|
+
funcTag = '[object Function]',
|
|
61
|
+
genTag = '[object GeneratorFunction]',
|
|
62
|
+
mapTag = '[object Map]',
|
|
63
|
+
numberTag = '[object Number]',
|
|
64
|
+
objectTag = '[object Object]',
|
|
65
|
+
regexpTag = '[object RegExp]',
|
|
66
|
+
setTag = '[object Set]',
|
|
67
|
+
stringTag = '[object String]',
|
|
68
|
+
symbolTag = '[object Symbol]',
|
|
69
|
+
weakMapTag = '[object WeakMap]';
|
|
70
|
+
|
|
71
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
72
|
+
dataViewTag = '[object DataView]',
|
|
73
|
+
float32Tag = '[object Float32Array]',
|
|
74
|
+
float64Tag = '[object Float64Array]',
|
|
75
|
+
int8Tag = '[object Int8Array]',
|
|
76
|
+
int16Tag = '[object Int16Array]',
|
|
77
|
+
int32Tag = '[object Int32Array]',
|
|
78
|
+
uint8Tag = '[object Uint8Array]',
|
|
79
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
80
|
+
uint16Tag = '[object Uint16Array]',
|
|
81
|
+
uint32Tag = '[object Uint32Array]';
|
|
82
|
+
|
|
83
|
+
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
|
84
|
+
var cloneableTags = {};
|
|
85
|
+
cloneableTags[argsTag] = cloneableTags[arrayTag] =
|
|
86
|
+
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
|
|
87
|
+
cloneableTags[boolTag] = cloneableTags[dateTag] =
|
|
88
|
+
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
|
|
89
|
+
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
|
|
90
|
+
cloneableTags[int32Tag] = cloneableTags[mapTag] =
|
|
91
|
+
cloneableTags[numberTag] = cloneableTags[objectTag] =
|
|
92
|
+
cloneableTags[regexpTag] = cloneableTags[setTag] =
|
|
93
|
+
cloneableTags[stringTag] = cloneableTags[symbolTag] =
|
|
94
|
+
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
|
|
95
|
+
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
|
96
|
+
cloneableTags[errorTag] = cloneableTags[funcTag] =
|
|
97
|
+
cloneableTags[weakMapTag] = false;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The base implementation of `_.clone` and `_.cloneDeep` which tracks
|
|
101
|
+
* traversed objects.
|
|
102
|
+
*
|
|
103
|
+
* @private
|
|
104
|
+
* @param {*} value The value to clone.
|
|
105
|
+
* @param {boolean} bitmask The bitmask flags.
|
|
106
|
+
* 1 - Deep clone
|
|
107
|
+
* 2 - Flatten inherited properties
|
|
108
|
+
* 4 - Clone symbols
|
|
109
|
+
* @param {Function} [customizer] The function to customize cloning.
|
|
110
|
+
* @param {string} [key] The key of `value`.
|
|
111
|
+
* @param {Object} [object] The parent object of `value`.
|
|
112
|
+
* @param {Object} [stack] Tracks traversed objects and their clone counterparts.
|
|
113
|
+
* @returns {*} Returns the cloned value.
|
|
114
|
+
*/
|
|
115
|
+
function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
116
|
+
var result,
|
|
117
|
+
isDeep = bitmask & CLONE_DEEP_FLAG,
|
|
118
|
+
isFlat = bitmask & CLONE_FLAT_FLAG,
|
|
119
|
+
isFull = bitmask & CLONE_SYMBOLS_FLAG;
|
|
120
|
+
|
|
121
|
+
if (customizer) {
|
|
122
|
+
result = object ? customizer(value, key, object, stack) : customizer(value);
|
|
123
|
+
}
|
|
124
|
+
if (result !== undefined) {
|
|
125
|
+
return result;
|
|
126
|
+
}
|
|
127
|
+
if (!isObject(value)) {
|
|
128
|
+
return value;
|
|
129
|
+
}
|
|
130
|
+
var isArr = isArray(value);
|
|
131
|
+
if (isArr) {
|
|
132
|
+
result = initCloneArray(value);
|
|
133
|
+
if (!isDeep) {
|
|
134
|
+
return copyArray(value, result);
|
|
135
|
+
}
|
|
136
|
+
} else {
|
|
137
|
+
var tag = getTag(value),
|
|
138
|
+
isFunc = tag == funcTag || tag == genTag;
|
|
139
|
+
|
|
140
|
+
if (isBuffer(value)) {
|
|
141
|
+
return cloneBuffer(value, isDeep);
|
|
142
|
+
}
|
|
143
|
+
if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
|
|
144
|
+
result = (isFlat || isFunc) ? {} : initCloneObject(value);
|
|
145
|
+
if (!isDeep) {
|
|
146
|
+
return isFlat
|
|
147
|
+
? copySymbolsIn(value, baseAssignIn(result, value))
|
|
148
|
+
: copySymbols(value, baseAssign(result, value));
|
|
149
|
+
}
|
|
150
|
+
} else {
|
|
151
|
+
if (!cloneableTags[tag]) {
|
|
152
|
+
return object ? value : {};
|
|
153
|
+
}
|
|
154
|
+
result = initCloneByTag(value, tag, isDeep);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
// Check for circular references and return its corresponding clone.
|
|
158
|
+
stack || (stack = new Stack);
|
|
159
|
+
var stacked = stack.get(value);
|
|
160
|
+
if (stacked) {
|
|
161
|
+
return stacked;
|
|
162
|
+
}
|
|
163
|
+
stack.set(value, result);
|
|
164
|
+
|
|
165
|
+
if (isSet(value)) {
|
|
166
|
+
value.forEach(function(subValue) {
|
|
167
|
+
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
|
168
|
+
});
|
|
169
|
+
} else if (isMap(value)) {
|
|
170
|
+
value.forEach(function(subValue, key) {
|
|
171
|
+
result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
var keysFunc = isFull
|
|
176
|
+
? (isFlat ? getAllKeysIn : getAllKeys)
|
|
177
|
+
: (isFlat ? keysIn : keys);
|
|
178
|
+
|
|
179
|
+
var props = isArr ? undefined : keysFunc(value);
|
|
180
|
+
arrayEach(props || value, function(subValue, key) {
|
|
181
|
+
if (props) {
|
|
182
|
+
key = subValue;
|
|
183
|
+
subValue = value[key];
|
|
184
|
+
}
|
|
185
|
+
// Recursively populate clone (susceptible to call stack limits).
|
|
186
|
+
assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
|
187
|
+
});
|
|
188
|
+
return result;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
var _baseClone = baseClone;
|
|
192
|
+
|
|
193
|
+
export { _baseClone as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import isObject_1 from './isObject.js';
|
|
2
|
+
|
|
3
|
+
var isObject = isObject_1;
|
|
4
|
+
|
|
5
|
+
/** Built-in value references. */
|
|
6
|
+
var objectCreate = Object.create;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The base implementation of `_.create` without support for assigning
|
|
10
|
+
* properties to the created object.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {Object} proto The object to inherit from.
|
|
14
|
+
* @returns {Object} Returns the new object.
|
|
15
|
+
*/
|
|
16
|
+
var baseCreate = (function() {
|
|
17
|
+
function object() {}
|
|
18
|
+
return function(proto) {
|
|
19
|
+
if (!isObject(proto)) {
|
|
20
|
+
return {};
|
|
21
|
+
}
|
|
22
|
+
if (objectCreate) {
|
|
23
|
+
return objectCreate(proto);
|
|
24
|
+
}
|
|
25
|
+
object.prototype = proto;
|
|
26
|
+
var result = new object;
|
|
27
|
+
object.prototype = undefined;
|
|
28
|
+
return result;
|
|
29
|
+
};
|
|
30
|
+
}());
|
|
31
|
+
|
|
32
|
+
var _baseCreate = baseCreate;
|
|
33
|
+
|
|
34
|
+
export { _baseCreate as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The base implementation of `_.findIndex` and `_.findLastIndex` without
|
|
3
|
+
* support for iteratee shorthands.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {Array} array The array to inspect.
|
|
7
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
8
|
+
* @param {number} fromIndex The index to search from.
|
|
9
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
10
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
14
|
+
var length = array.length,
|
|
15
|
+
index = fromIndex + (fromRight ? 1 : -1);
|
|
16
|
+
|
|
17
|
+
while ((fromRight ? index-- : ++index < length)) {
|
|
18
|
+
if (predicate(array[index], index, array)) {
|
|
19
|
+
return index;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return -1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var _baseFindIndex = baseFindIndex;
|
|
26
|
+
|
|
27
|
+
export { _baseFindIndex as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _createBaseFor from './_createBaseFor.js';
|
|
2
|
+
|
|
3
|
+
var createBaseFor = _createBaseFor;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
|
7
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
8
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to iterate over.
|
|
12
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
13
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
14
|
+
* @returns {Object} Returns `object`.
|
|
15
|
+
*/
|
|
16
|
+
var baseFor = createBaseFor();
|
|
17
|
+
|
|
18
|
+
var _baseFor = baseFor;
|
|
19
|
+
|
|
20
|
+
export { _baseFor as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _baseFor from './_baseFor.js';
|
|
2
|
+
import keys_1 from './keys.js';
|
|
3
|
+
|
|
4
|
+
var baseFor = _baseFor,
|
|
5
|
+
keys = keys_1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to iterate over.
|
|
12
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
13
|
+
* @returns {Object} Returns `object`.
|
|
14
|
+
*/
|
|
15
|
+
function baseForOwn(object, iteratee) {
|
|
16
|
+
return object && baseFor(object, iteratee, keys);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
var _baseForOwn = baseForOwn;
|
|
20
|
+
|
|
21
|
+
export { _baseForOwn as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import _castPath from './_castPath.js';
|
|
2
|
+
import _toKey from './_toKey.js';
|
|
3
|
+
|
|
4
|
+
var castPath = _castPath,
|
|
5
|
+
toKey = _toKey;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The base implementation of `_.get` without support for default values.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to query.
|
|
12
|
+
* @param {Array|string} path The path of the property to get.
|
|
13
|
+
* @returns {*} Returns the resolved value.
|
|
14
|
+
*/
|
|
15
|
+
function baseGet(object, path) {
|
|
16
|
+
path = castPath(path, object);
|
|
17
|
+
|
|
18
|
+
var index = 0,
|
|
19
|
+
length = path.length;
|
|
20
|
+
|
|
21
|
+
while (object != null && index < length) {
|
|
22
|
+
object = object[toKey(path[index++])];
|
|
23
|
+
}
|
|
24
|
+
return (index && index == length) ? object : undefined;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var _baseGet = baseGet;
|
|
28
|
+
|
|
29
|
+
export { _baseGet as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _arrayPush from './_arrayPush.js';
|
|
2
|
+
import isArray_1 from './isArray.js';
|
|
3
|
+
|
|
4
|
+
var arrayPush = _arrayPush,
|
|
5
|
+
isArray = isArray_1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
9
|
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
10
|
+
* symbols of `object`.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {Object} object The object to query.
|
|
14
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
15
|
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
16
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
17
|
+
*/
|
|
18
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
19
|
+
var result = keysFunc(object);
|
|
20
|
+
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
var _baseGetAllKeys = baseGetAllKeys;
|
|
24
|
+
|
|
25
|
+
export { _baseGetAllKeys as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _Symbol from './_Symbol.js';
|
|
2
|
+
import _getRawTag from './_getRawTag.js';
|
|
3
|
+
import _objectToString from './_objectToString.js';
|
|
4
|
+
|
|
5
|
+
var Symbol = _Symbol,
|
|
6
|
+
getRawTag = _getRawTag,
|
|
7
|
+
objectToString = _objectToString;
|
|
8
|
+
|
|
9
|
+
/** `Object#toString` result references. */
|
|
10
|
+
var nullTag = '[object Null]',
|
|
11
|
+
undefinedTag = '[object Undefined]';
|
|
12
|
+
|
|
13
|
+
/** Built-in value references. */
|
|
14
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
* @param {*} value The value to query.
|
|
21
|
+
* @returns {string} Returns the `toStringTag`.
|
|
22
|
+
*/
|
|
23
|
+
function baseGetTag(value) {
|
|
24
|
+
if (value == null) {
|
|
25
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
26
|
+
}
|
|
27
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
28
|
+
? getRawTag(value)
|
|
29
|
+
: objectToString(value);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var _baseGetTag = baseGetTag;
|
|
33
|
+
|
|
34
|
+
export { _baseGetTag as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The base implementation of `_.hasIn` without support for deep paths.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {Object} [object] The object to query.
|
|
6
|
+
* @param {Array|string} key The key to check.
|
|
7
|
+
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
function baseHasIn(object, key) {
|
|
11
|
+
return object != null && key in Object(object);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var _baseHasIn = baseHasIn;
|
|
15
|
+
|
|
16
|
+
export { _baseHasIn as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _baseGetTag from './_baseGetTag.js';
|
|
2
|
+
import isObjectLike_1 from './isObjectLike.js';
|
|
3
|
+
|
|
4
|
+
var baseGetTag = _baseGetTag,
|
|
5
|
+
isObjectLike = isObjectLike_1;
|
|
6
|
+
|
|
7
|
+
/** `Object#toString` result references. */
|
|
8
|
+
var argsTag = '[object Arguments]';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The base implementation of `_.isArguments`.
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @param {*} value The value to check.
|
|
15
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
16
|
+
*/
|
|
17
|
+
function baseIsArguments(value) {
|
|
18
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _baseIsArguments = baseIsArguments;
|
|
22
|
+
|
|
23
|
+
export { _baseIsArguments as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import _baseIsEqualDeep from './_baseIsEqualDeep.js';
|
|
2
|
+
import isObjectLike_1 from './isObjectLike.js';
|
|
3
|
+
|
|
4
|
+
var baseIsEqualDeep = _baseIsEqualDeep,
|
|
5
|
+
isObjectLike = isObjectLike_1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
9
|
+
* and tracks traversed objects.
|
|
10
|
+
*
|
|
11
|
+
* @private
|
|
12
|
+
* @param {*} value The value to compare.
|
|
13
|
+
* @param {*} other The other value to compare.
|
|
14
|
+
* @param {boolean} bitmask The bitmask flags.
|
|
15
|
+
* 1 - Unordered comparison
|
|
16
|
+
* 2 - Partial comparison
|
|
17
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
|
18
|
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
19
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
20
|
+
*/
|
|
21
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
22
|
+
if (value === other) {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
26
|
+
return value !== value && other !== other;
|
|
27
|
+
}
|
|
28
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var _baseIsEqual = baseIsEqual;
|
|
32
|
+
|
|
33
|
+
export { _baseIsEqual as default };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import _Stack from './_Stack.js';
|
|
2
|
+
import _equalArrays from './_equalArrays.js';
|
|
3
|
+
import _equalByTag from './_equalByTag.js';
|
|
4
|
+
import _equalObjects from './_equalObjects.js';
|
|
5
|
+
import _getTag from './_getTag.js';
|
|
6
|
+
import isArray_1 from './isArray.js';
|
|
7
|
+
import './isBuffer.js';
|
|
8
|
+
import isTypedArray_1 from './isTypedArray.js';
|
|
9
|
+
import { i as isBuffer$1 } from '../../_virtual/isBuffer.js';
|
|
10
|
+
|
|
11
|
+
var Stack = _Stack,
|
|
12
|
+
equalArrays = _equalArrays,
|
|
13
|
+
equalByTag = _equalByTag,
|
|
14
|
+
equalObjects = _equalObjects,
|
|
15
|
+
getTag = _getTag,
|
|
16
|
+
isArray = isArray_1,
|
|
17
|
+
isBuffer = isBuffer$1.exports,
|
|
18
|
+
isTypedArray = isTypedArray_1;
|
|
19
|
+
|
|
20
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
21
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
22
|
+
|
|
23
|
+
/** `Object#toString` result references. */
|
|
24
|
+
var argsTag = '[object Arguments]',
|
|
25
|
+
arrayTag = '[object Array]',
|
|
26
|
+
objectTag = '[object Object]';
|
|
27
|
+
|
|
28
|
+
/** Used for built-in method references. */
|
|
29
|
+
var objectProto = Object.prototype;
|
|
30
|
+
|
|
31
|
+
/** Used to check objects for own properties. */
|
|
32
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
36
|
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
37
|
+
* references to be compared.
|
|
38
|
+
*
|
|
39
|
+
* @private
|
|
40
|
+
* @param {Object} object The object to compare.
|
|
41
|
+
* @param {Object} other The other object to compare.
|
|
42
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
43
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
44
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
45
|
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
46
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
47
|
+
*/
|
|
48
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
49
|
+
var objIsArr = isArray(object),
|
|
50
|
+
othIsArr = isArray(other),
|
|
51
|
+
objTag = objIsArr ? arrayTag : getTag(object),
|
|
52
|
+
othTag = othIsArr ? arrayTag : getTag(other);
|
|
53
|
+
|
|
54
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
|
55
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
|
56
|
+
|
|
57
|
+
var objIsObj = objTag == objectTag,
|
|
58
|
+
othIsObj = othTag == objectTag,
|
|
59
|
+
isSameTag = objTag == othTag;
|
|
60
|
+
|
|
61
|
+
if (isSameTag && isBuffer(object)) {
|
|
62
|
+
if (!isBuffer(other)) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
objIsArr = true;
|
|
66
|
+
objIsObj = false;
|
|
67
|
+
}
|
|
68
|
+
if (isSameTag && !objIsObj) {
|
|
69
|
+
stack || (stack = new Stack);
|
|
70
|
+
return (objIsArr || isTypedArray(object))
|
|
71
|
+
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
72
|
+
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
73
|
+
}
|
|
74
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
75
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
76
|
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
77
|
+
|
|
78
|
+
if (objIsWrapped || othIsWrapped) {
|
|
79
|
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
80
|
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
81
|
+
|
|
82
|
+
stack || (stack = new Stack);
|
|
83
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
if (!isSameTag) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
stack || (stack = new Stack);
|
|
90
|
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
var _baseIsEqualDeep = baseIsEqualDeep;
|
|
94
|
+
|
|
95
|
+
export { _baseIsEqualDeep as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _getTag from './_getTag.js';
|
|
2
|
+
import isObjectLike_1 from './isObjectLike.js';
|
|
3
|
+
|
|
4
|
+
var getTag = _getTag,
|
|
5
|
+
isObjectLike = isObjectLike_1;
|
|
6
|
+
|
|
7
|
+
/** `Object#toString` result references. */
|
|
8
|
+
var mapTag = '[object Map]';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The base implementation of `_.isMap` without Node.js optimizations.
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @param {*} value The value to check.
|
|
15
|
+
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
|
16
|
+
*/
|
|
17
|
+
function baseIsMap(value) {
|
|
18
|
+
return isObjectLike(value) && getTag(value) == mapTag;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _baseIsMap = baseIsMap;
|
|
22
|
+
|
|
23
|
+
export { _baseIsMap as default };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import _Stack from './_Stack.js';
|
|
2
|
+
import _baseIsEqual from './_baseIsEqual.js';
|
|
3
|
+
|
|
4
|
+
var Stack = _Stack,
|
|
5
|
+
baseIsEqual = _baseIsEqual;
|
|
6
|
+
|
|
7
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
8
|
+
var COMPARE_PARTIAL_FLAG = 1,
|
|
9
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
|
13
|
+
*
|
|
14
|
+
* @private
|
|
15
|
+
* @param {Object} object The object to inspect.
|
|
16
|
+
* @param {Object} source The object of property values to match.
|
|
17
|
+
* @param {Array} matchData The property names, values, and compare flags to match.
|
|
18
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
|
19
|
+
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
|
20
|
+
*/
|
|
21
|
+
function baseIsMatch(object, source, matchData, customizer) {
|
|
22
|
+
var index = matchData.length,
|
|
23
|
+
length = index,
|
|
24
|
+
noCustomizer = !customizer;
|
|
25
|
+
|
|
26
|
+
if (object == null) {
|
|
27
|
+
return !length;
|
|
28
|
+
}
|
|
29
|
+
object = Object(object);
|
|
30
|
+
while (index--) {
|
|
31
|
+
var data = matchData[index];
|
|
32
|
+
if ((noCustomizer && data[2])
|
|
33
|
+
? data[1] !== object[data[0]]
|
|
34
|
+
: !(data[0] in object)
|
|
35
|
+
) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
while (++index < length) {
|
|
40
|
+
data = matchData[index];
|
|
41
|
+
var key = data[0],
|
|
42
|
+
objValue = object[key],
|
|
43
|
+
srcValue = data[1];
|
|
44
|
+
|
|
45
|
+
if (noCustomizer && data[2]) {
|
|
46
|
+
if (objValue === undefined && !(key in object)) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
var stack = new Stack;
|
|
51
|
+
if (customizer) {
|
|
52
|
+
var result = customizer(objValue, srcValue, key, object, source, stack);
|
|
53
|
+
}
|
|
54
|
+
if (!(result === undefined
|
|
55
|
+
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
|
|
56
|
+
: result
|
|
57
|
+
)) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var _baseIsMatch = baseIsMatch;
|
|
66
|
+
|
|
67
|
+
export { _baseIsMatch as default };
|