@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,54 @@
|
|
|
1
|
+
import isFunction_1 from './isFunction.js';
|
|
2
|
+
import _isMasked from './_isMasked.js';
|
|
3
|
+
import isObject_1 from './isObject.js';
|
|
4
|
+
import _toSource from './_toSource.js';
|
|
5
|
+
|
|
6
|
+
var isFunction = isFunction_1,
|
|
7
|
+
isMasked = _isMasked,
|
|
8
|
+
isObject = isObject_1,
|
|
9
|
+
toSource = _toSource;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Used to match `RegExp`
|
|
13
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
14
|
+
*/
|
|
15
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
16
|
+
|
|
17
|
+
/** Used to detect host constructors (Safari). */
|
|
18
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
19
|
+
|
|
20
|
+
/** Used for built-in method references. */
|
|
21
|
+
var funcProto = Function.prototype,
|
|
22
|
+
objectProto = Object.prototype;
|
|
23
|
+
|
|
24
|
+
/** Used to resolve the decompiled source of functions. */
|
|
25
|
+
var funcToString = funcProto.toString;
|
|
26
|
+
|
|
27
|
+
/** Used to check objects for own properties. */
|
|
28
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
29
|
+
|
|
30
|
+
/** Used to detect if a method is native. */
|
|
31
|
+
var reIsNative = RegExp('^' +
|
|
32
|
+
funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
|
|
33
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
38
|
+
*
|
|
39
|
+
* @private
|
|
40
|
+
* @param {*} value The value to check.
|
|
41
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
42
|
+
* else `false`.
|
|
43
|
+
*/
|
|
44
|
+
function baseIsNative(value) {
|
|
45
|
+
if (!isObject(value) || isMasked(value)) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
49
|
+
return pattern.test(toSource(value));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var _baseIsNative = baseIsNative;
|
|
53
|
+
|
|
54
|
+
export { _baseIsNative 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 setTag = '[object Set]';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The base implementation of `_.isSet` without Node.js optimizations.
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @param {*} value The value to check.
|
|
15
|
+
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
|
16
|
+
*/
|
|
17
|
+
function baseIsSet(value) {
|
|
18
|
+
return isObjectLike(value) && getTag(value) == setTag;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _baseIsSet = baseIsSet;
|
|
22
|
+
|
|
23
|
+
export { _baseIsSet as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import _baseGetTag from './_baseGetTag.js';
|
|
2
|
+
import isLength_1 from './isLength.js';
|
|
3
|
+
import isObjectLike_1 from './isObjectLike.js';
|
|
4
|
+
|
|
5
|
+
var baseGetTag = _baseGetTag,
|
|
6
|
+
isLength = isLength_1,
|
|
7
|
+
isObjectLike = isObjectLike_1;
|
|
8
|
+
|
|
9
|
+
/** `Object#toString` result references. */
|
|
10
|
+
var argsTag = '[object Arguments]',
|
|
11
|
+
arrayTag = '[object Array]',
|
|
12
|
+
boolTag = '[object Boolean]',
|
|
13
|
+
dateTag = '[object Date]',
|
|
14
|
+
errorTag = '[object Error]',
|
|
15
|
+
funcTag = '[object Function]',
|
|
16
|
+
mapTag = '[object Map]',
|
|
17
|
+
numberTag = '[object Number]',
|
|
18
|
+
objectTag = '[object Object]',
|
|
19
|
+
regexpTag = '[object RegExp]',
|
|
20
|
+
setTag = '[object Set]',
|
|
21
|
+
stringTag = '[object String]',
|
|
22
|
+
weakMapTag = '[object WeakMap]';
|
|
23
|
+
|
|
24
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
25
|
+
dataViewTag = '[object DataView]',
|
|
26
|
+
float32Tag = '[object Float32Array]',
|
|
27
|
+
float64Tag = '[object Float64Array]',
|
|
28
|
+
int8Tag = '[object Int8Array]',
|
|
29
|
+
int16Tag = '[object Int16Array]',
|
|
30
|
+
int32Tag = '[object Int32Array]',
|
|
31
|
+
uint8Tag = '[object Uint8Array]',
|
|
32
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
33
|
+
uint16Tag = '[object Uint16Array]',
|
|
34
|
+
uint32Tag = '[object Uint32Array]';
|
|
35
|
+
|
|
36
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
37
|
+
var typedArrayTags = {};
|
|
38
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
39
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
40
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
41
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
42
|
+
typedArrayTags[uint32Tag] = true;
|
|
43
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
44
|
+
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
45
|
+
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
|
46
|
+
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
47
|
+
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
|
48
|
+
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
|
49
|
+
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
|
50
|
+
typedArrayTags[weakMapTag] = false;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
54
|
+
*
|
|
55
|
+
* @private
|
|
56
|
+
* @param {*} value The value to check.
|
|
57
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
58
|
+
*/
|
|
59
|
+
function baseIsTypedArray(value) {
|
|
60
|
+
return isObjectLike(value) &&
|
|
61
|
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
var _baseIsTypedArray = baseIsTypedArray;
|
|
65
|
+
|
|
66
|
+
export { _baseIsTypedArray as default };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _baseMatches from './_baseMatches.js';
|
|
2
|
+
import _baseMatchesProperty from './_baseMatchesProperty.js';
|
|
3
|
+
import identity_1 from './identity.js';
|
|
4
|
+
import isArray_1 from './isArray.js';
|
|
5
|
+
import property_1 from './property.js';
|
|
6
|
+
|
|
7
|
+
var baseMatches = _baseMatches,
|
|
8
|
+
baseMatchesProperty = _baseMatchesProperty,
|
|
9
|
+
identity = identity_1,
|
|
10
|
+
isArray = isArray_1,
|
|
11
|
+
property = property_1;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The base implementation of `_.iteratee`.
|
|
15
|
+
*
|
|
16
|
+
* @private
|
|
17
|
+
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
|
18
|
+
* @returns {Function} Returns the iteratee.
|
|
19
|
+
*/
|
|
20
|
+
function baseIteratee(value) {
|
|
21
|
+
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
|
22
|
+
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
|
23
|
+
if (typeof value == 'function') {
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
if (value == null) {
|
|
27
|
+
return identity;
|
|
28
|
+
}
|
|
29
|
+
if (typeof value == 'object') {
|
|
30
|
+
return isArray(value)
|
|
31
|
+
? baseMatchesProperty(value[0], value[1])
|
|
32
|
+
: baseMatches(value);
|
|
33
|
+
}
|
|
34
|
+
return property(value);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
var _baseIteratee = baseIteratee;
|
|
38
|
+
|
|
39
|
+
export { _baseIteratee as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _isPrototype from './_isPrototype.js';
|
|
2
|
+
import _nativeKeys from './_nativeKeys.js';
|
|
3
|
+
|
|
4
|
+
var isPrototype = _isPrototype,
|
|
5
|
+
nativeKeys = _nativeKeys;
|
|
6
|
+
|
|
7
|
+
/** Used for built-in method references. */
|
|
8
|
+
var objectProto = Object.prototype;
|
|
9
|
+
|
|
10
|
+
/** Used to check objects for own properties. */
|
|
11
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
15
|
+
*
|
|
16
|
+
* @private
|
|
17
|
+
* @param {Object} object The object to query.
|
|
18
|
+
* @returns {Array} Returns the array of property names.
|
|
19
|
+
*/
|
|
20
|
+
function baseKeys(object) {
|
|
21
|
+
if (!isPrototype(object)) {
|
|
22
|
+
return nativeKeys(object);
|
|
23
|
+
}
|
|
24
|
+
var result = [];
|
|
25
|
+
for (var key in Object(object)) {
|
|
26
|
+
if (hasOwnProperty.call(object, key) && key != 'constructor') {
|
|
27
|
+
result.push(key);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
var _baseKeys = baseKeys;
|
|
34
|
+
|
|
35
|
+
export { _baseKeys as default };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import isObject_1 from './isObject.js';
|
|
2
|
+
import _isPrototype from './_isPrototype.js';
|
|
3
|
+
import _nativeKeysIn from './_nativeKeysIn.js';
|
|
4
|
+
|
|
5
|
+
var isObject = isObject_1,
|
|
6
|
+
isPrototype = _isPrototype,
|
|
7
|
+
nativeKeysIn = _nativeKeysIn;
|
|
8
|
+
|
|
9
|
+
/** Used for built-in method references. */
|
|
10
|
+
var objectProto = Object.prototype;
|
|
11
|
+
|
|
12
|
+
/** Used to check objects for own properties. */
|
|
13
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @param {Object} object The object to query.
|
|
20
|
+
* @returns {Array} Returns the array of property names.
|
|
21
|
+
*/
|
|
22
|
+
function baseKeysIn(object) {
|
|
23
|
+
if (!isObject(object)) {
|
|
24
|
+
return nativeKeysIn(object);
|
|
25
|
+
}
|
|
26
|
+
var isProto = isPrototype(object),
|
|
27
|
+
result = [];
|
|
28
|
+
|
|
29
|
+
for (var key in object) {
|
|
30
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
|
|
31
|
+
result.push(key);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
var _baseKeysIn = baseKeysIn;
|
|
38
|
+
|
|
39
|
+
export { _baseKeysIn as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import _baseIsMatch from './_baseIsMatch.js';
|
|
2
|
+
import _getMatchData from './_getMatchData.js';
|
|
3
|
+
import _matchesStrictComparable from './_matchesStrictComparable.js';
|
|
4
|
+
|
|
5
|
+
var baseIsMatch = _baseIsMatch,
|
|
6
|
+
getMatchData = _getMatchData,
|
|
7
|
+
matchesStrictComparable = _matchesStrictComparable;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The base implementation of `_.matches` which doesn't clone `source`.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {Object} source The object of property values to match.
|
|
14
|
+
* @returns {Function} Returns the new spec function.
|
|
15
|
+
*/
|
|
16
|
+
function baseMatches(source) {
|
|
17
|
+
var matchData = getMatchData(source);
|
|
18
|
+
if (matchData.length == 1 && matchData[0][2]) {
|
|
19
|
+
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
|
20
|
+
}
|
|
21
|
+
return function(object) {
|
|
22
|
+
return object === source || baseIsMatch(object, source, matchData);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var _baseMatches = baseMatches;
|
|
27
|
+
|
|
28
|
+
export { _baseMatches as default };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _baseIsEqual from './_baseIsEqual.js';
|
|
2
|
+
import get_1 from './get.js';
|
|
3
|
+
import hasIn_1 from './hasIn.js';
|
|
4
|
+
import _isKey from './_isKey.js';
|
|
5
|
+
import _isStrictComparable from './_isStrictComparable.js';
|
|
6
|
+
import _matchesStrictComparable from './_matchesStrictComparable.js';
|
|
7
|
+
import _toKey from './_toKey.js';
|
|
8
|
+
|
|
9
|
+
var baseIsEqual = _baseIsEqual,
|
|
10
|
+
get = get_1,
|
|
11
|
+
hasIn = hasIn_1,
|
|
12
|
+
isKey = _isKey,
|
|
13
|
+
isStrictComparable = _isStrictComparable,
|
|
14
|
+
matchesStrictComparable = _matchesStrictComparable,
|
|
15
|
+
toKey = _toKey;
|
|
16
|
+
|
|
17
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
18
|
+
var COMPARE_PARTIAL_FLAG = 1,
|
|
19
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
|
23
|
+
*
|
|
24
|
+
* @private
|
|
25
|
+
* @param {string} path The path of the property to get.
|
|
26
|
+
* @param {*} srcValue The value to match.
|
|
27
|
+
* @returns {Function} Returns the new spec function.
|
|
28
|
+
*/
|
|
29
|
+
function baseMatchesProperty(path, srcValue) {
|
|
30
|
+
if (isKey(path) && isStrictComparable(srcValue)) {
|
|
31
|
+
return matchesStrictComparable(toKey(path), srcValue);
|
|
32
|
+
}
|
|
33
|
+
return function(object) {
|
|
34
|
+
var objValue = get(object, path);
|
|
35
|
+
return (objValue === undefined && objValue === srcValue)
|
|
36
|
+
? hasIn(object, path)
|
|
37
|
+
: baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var _baseMatchesProperty = baseMatchesProperty;
|
|
42
|
+
|
|
43
|
+
export { _baseMatchesProperty as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The base implementation of `_.property` without support for deep paths.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {string} key The key of the property to get.
|
|
6
|
+
* @returns {Function} Returns the new accessor function.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
function baseProperty(key) {
|
|
10
|
+
return function(object) {
|
|
11
|
+
return object == null ? undefined : object[key];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var _baseProperty = baseProperty;
|
|
16
|
+
|
|
17
|
+
export { _baseProperty as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _baseGet from './_baseGet.js';
|
|
2
|
+
|
|
3
|
+
var baseGet = _baseGet;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A specialized version of `baseProperty` which supports deep paths.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {Array|string} path The path of the property to get.
|
|
10
|
+
* @returns {Function} Returns the new accessor function.
|
|
11
|
+
*/
|
|
12
|
+
function basePropertyDeep(path) {
|
|
13
|
+
return function(object) {
|
|
14
|
+
return baseGet(object, path);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _basePropertyDeep = basePropertyDeep;
|
|
19
|
+
|
|
20
|
+
export { _basePropertyDeep as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
3
|
+
* or max array length checks.
|
|
4
|
+
*
|
|
5
|
+
* @private
|
|
6
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
7
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
8
|
+
* @returns {Array} Returns the array of results.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
function baseTimes(n, iteratee) {
|
|
12
|
+
var index = -1,
|
|
13
|
+
result = Array(n);
|
|
14
|
+
|
|
15
|
+
while (++index < n) {
|
|
16
|
+
result[index] = iteratee(index);
|
|
17
|
+
}
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _baseTimes = baseTimes;
|
|
22
|
+
|
|
23
|
+
export { _baseTimes as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import isSymbol_1 from './isSymbol.js';
|
|
2
|
+
|
|
3
|
+
var isSymbol = isSymbol_1;
|
|
4
|
+
|
|
5
|
+
/** Used as references for various `Number` constants. */
|
|
6
|
+
var NAN = 0 / 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The base implementation of `_.toNumber` which doesn't ensure correct
|
|
10
|
+
* conversions of binary, hexadecimal, or octal string values.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {*} value The value to process.
|
|
14
|
+
* @returns {number} Returns the number.
|
|
15
|
+
*/
|
|
16
|
+
function baseToNumber(value) {
|
|
17
|
+
if (typeof value == 'number') {
|
|
18
|
+
return value;
|
|
19
|
+
}
|
|
20
|
+
if (isSymbol(value)) {
|
|
21
|
+
return NAN;
|
|
22
|
+
}
|
|
23
|
+
return +value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var _baseToNumber = baseToNumber;
|
|
27
|
+
|
|
28
|
+
export { _baseToNumber as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import _Symbol from './_Symbol.js';
|
|
2
|
+
import _arrayMap from './_arrayMap.js';
|
|
3
|
+
import isArray_1 from './isArray.js';
|
|
4
|
+
import isSymbol_1 from './isSymbol.js';
|
|
5
|
+
|
|
6
|
+
var Symbol = _Symbol,
|
|
7
|
+
arrayMap = _arrayMap,
|
|
8
|
+
isArray = isArray_1,
|
|
9
|
+
isSymbol = isSymbol_1;
|
|
10
|
+
|
|
11
|
+
/** Used as references for various `Number` constants. */
|
|
12
|
+
var INFINITY = 1 / 0;
|
|
13
|
+
|
|
14
|
+
/** Used to convert symbols to primitives and strings. */
|
|
15
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
16
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
20
|
+
* values to empty strings.
|
|
21
|
+
*
|
|
22
|
+
* @private
|
|
23
|
+
* @param {*} value The value to process.
|
|
24
|
+
* @returns {string} Returns the string.
|
|
25
|
+
*/
|
|
26
|
+
function baseToString(value) {
|
|
27
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
28
|
+
if (typeof value == 'string') {
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
if (isArray(value)) {
|
|
32
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
33
|
+
return arrayMap(value, baseToString) + '';
|
|
34
|
+
}
|
|
35
|
+
if (isSymbol(value)) {
|
|
36
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
37
|
+
}
|
|
38
|
+
var result = (value + '');
|
|
39
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var _baseToString = baseToString;
|
|
43
|
+
|
|
44
|
+
export { _baseToString as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _trimmedEndIndex from './_trimmedEndIndex.js';
|
|
2
|
+
|
|
3
|
+
var trimmedEndIndex = _trimmedEndIndex;
|
|
4
|
+
|
|
5
|
+
/** Used to match leading whitespace. */
|
|
6
|
+
var reTrimStart = /^\s+/;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The base implementation of `_.trim`.
|
|
10
|
+
*
|
|
11
|
+
* @private
|
|
12
|
+
* @param {string} string The string to trim.
|
|
13
|
+
* @returns {string} Returns the trimmed string.
|
|
14
|
+
*/
|
|
15
|
+
function baseTrim(string) {
|
|
16
|
+
return string
|
|
17
|
+
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
18
|
+
: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _baseTrim = baseTrim;
|
|
22
|
+
|
|
23
|
+
export { _baseTrim as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {Function} func The function to cap arguments for.
|
|
6
|
+
* @returns {Function} Returns the new capped function.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
function baseUnary(func) {
|
|
10
|
+
return function(value) {
|
|
11
|
+
return func(value);
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var _baseUnary = baseUnary;
|
|
16
|
+
|
|
17
|
+
export { _baseUnary as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if a `cache` value for `key` exists.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {Object} cache The cache to query.
|
|
6
|
+
* @param {string} key The key of the entry to check.
|
|
7
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
function cacheHas(cache, key) {
|
|
11
|
+
return cache.has(key);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var _cacheHas = cacheHas;
|
|
15
|
+
|
|
16
|
+
export { _cacheHas as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import isArray_1 from './isArray.js';
|
|
2
|
+
import _isKey from './_isKey.js';
|
|
3
|
+
import _stringToPath from './_stringToPath.js';
|
|
4
|
+
import toString_1 from './toString.js';
|
|
5
|
+
|
|
6
|
+
var isArray = isArray_1,
|
|
7
|
+
isKey = _isKey,
|
|
8
|
+
stringToPath = _stringToPath,
|
|
9
|
+
toString = toString_1;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Casts `value` to a path array if it's not one.
|
|
13
|
+
*
|
|
14
|
+
* @private
|
|
15
|
+
* @param {*} value The value to inspect.
|
|
16
|
+
* @param {Object} [object] The object to query keys on.
|
|
17
|
+
* @returns {Array} Returns the cast property path array.
|
|
18
|
+
*/
|
|
19
|
+
function castPath(value, object) {
|
|
20
|
+
if (isArray(value)) {
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var _castPath = castPath;
|
|
27
|
+
|
|
28
|
+
export { _castPath as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _Uint8Array from './_Uint8Array.js';
|
|
2
|
+
|
|
3
|
+
var Uint8Array = _Uint8Array;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates a clone of `arrayBuffer`.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
10
|
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
11
|
+
*/
|
|
12
|
+
function cloneArrayBuffer(arrayBuffer) {
|
|
13
|
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
14
|
+
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _cloneArrayBuffer = cloneArrayBuffer;
|
|
19
|
+
|
|
20
|
+
export { _cloneArrayBuffer as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { _ as _cloneBuffer } from '../../_virtual/_cloneBuffer.js';
|
|
2
|
+
import _root from './_root.js';
|
|
3
|
+
|
|
4
|
+
(function (module, exports) {
|
|
5
|
+
var root = _root;
|
|
6
|
+
|
|
7
|
+
/** Detect free variable `exports`. */
|
|
8
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
9
|
+
|
|
10
|
+
/** Detect free variable `module`. */
|
|
11
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
12
|
+
|
|
13
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
14
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
15
|
+
|
|
16
|
+
/** Built-in value references. */
|
|
17
|
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
18
|
+
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Creates a clone of `buffer`.
|
|
22
|
+
*
|
|
23
|
+
* @private
|
|
24
|
+
* @param {Buffer} buffer The buffer to clone.
|
|
25
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
26
|
+
* @returns {Buffer} Returns the cloned buffer.
|
|
27
|
+
*/
|
|
28
|
+
function cloneBuffer(buffer, isDeep) {
|
|
29
|
+
if (isDeep) {
|
|
30
|
+
return buffer.slice();
|
|
31
|
+
}
|
|
32
|
+
var length = buffer.length,
|
|
33
|
+
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
34
|
+
|
|
35
|
+
buffer.copy(result);
|
|
36
|
+
return result;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
module.exports = cloneBuffer;
|
|
40
|
+
} (_cloneBuffer, _cloneBuffer.exports));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _cloneArrayBuffer from './_cloneArrayBuffer.js';
|
|
2
|
+
|
|
3
|
+
var cloneArrayBuffer = _cloneArrayBuffer;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates a clone of `dataView`.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {Object} dataView The data view to clone.
|
|
10
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
11
|
+
* @returns {Object} Returns the cloned data view.
|
|
12
|
+
*/
|
|
13
|
+
function cloneDataView(dataView, isDeep) {
|
|
14
|
+
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
|
15
|
+
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _cloneDataView = cloneDataView;
|
|
19
|
+
|
|
20
|
+
export { _cloneDataView as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Used to match `RegExp` flags from their coerced string values. */
|
|
2
|
+
|
|
3
|
+
var reFlags = /\w*$/;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Creates a clone of `regexp`.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {Object} regexp The regexp to clone.
|
|
10
|
+
* @returns {Object} Returns the cloned regexp.
|
|
11
|
+
*/
|
|
12
|
+
function cloneRegExp(regexp) {
|
|
13
|
+
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
14
|
+
result.lastIndex = regexp.lastIndex;
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _cloneRegExp = cloneRegExp;
|
|
19
|
+
|
|
20
|
+
export { _cloneRegExp as default };
|