@fonixtree/magic-design 0.0.16 → 0.0.19
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/_virtual/__node-resolve_empty.js +6 -0
- package/_virtual/_cloneBuffer.js +3 -0
- package/_virtual/_commonjsHelpers.js +24 -0
- package/_virtual/_node-resolve_empty.js +3 -0
- package/_virtual/_nodeUtil.js +3 -0
- package/_virtual/_rollupPluginBabelHelpers.js +18 -0
- package/_virtual/index.js +3 -0
- package/_virtual/index2.js +3 -0
- package/_virtual/index3.js +3 -0
- package/_virtual/index4.js +3 -0
- package/_virtual/index5.js +5 -0
- package/_virtual/interopRequireDefault.js +3 -0
- package/_virtual/isBuffer.js +3 -0
- package/_virtual/react-is.development.js +3 -0
- package/_virtual/react-is.production.min.js +3 -0
- package/_virtual/rng-browser.js +3 -0
- package/_virtual/toArray.js +3 -0
- package/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
- package/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
- package/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +9 -0
- package/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/my_node_modules/@babel/runtime/helpers/esm/createClass.js +20 -0
- package/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
- package/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
- package/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/my_node_modules/@babel/runtime/helpers/esm/inherits.js +21 -0
- package/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
- package/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +31 -0
- package/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
- package/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
- package/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
- package/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
- package/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/my_node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +12 -0
- package/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +11 -0
- package/my_node_modules/call-bind/callBound.js +19 -0
- package/my_node_modules/call-bind/index.js +52 -0
- package/my_node_modules/classnames/index.js +61 -0
- package/my_node_modules/function-bind/implementation.js +52 -0
- package/my_node_modules/function-bind/index.js +7 -0
- package/my_node_modules/get-intrinsic/index.js +338 -0
- package/my_node_modules/has/src/index.js +7 -0
- package/my_node_modules/has-symbols/index.js +15 -0
- package/my_node_modules/has-symbols/shams.js +42 -0
- package/my_node_modules/lodash/_DataView.js +12 -0
- package/my_node_modules/lodash/_Hash.js +40 -0
- package/my_node_modules/lodash/_ListCache.js +40 -0
- package/my_node_modules/lodash/_Map.js +12 -0
- package/my_node_modules/lodash/_MapCache.js +40 -0
- package/my_node_modules/lodash/_Promise.js +12 -0
- package/my_node_modules/lodash/_Set.js +12 -0
- package/my_node_modules/lodash/_SetCache.js +33 -0
- package/my_node_modules/lodash/_Stack.js +36 -0
- package/my_node_modules/lodash/_Symbol.js +10 -0
- package/my_node_modules/lodash/_Uint8Array.js +10 -0
- package/my_node_modules/lodash/_WeakMap.js +12 -0
- package/my_node_modules/lodash/_arrayEach.js +25 -0
- package/my_node_modules/lodash/_arrayFilter.js +28 -0
- package/my_node_modules/lodash/_arrayLikeKeys.js +59 -0
- package/my_node_modules/lodash/_arrayMap.js +24 -0
- package/my_node_modules/lodash/_arrayPush.js +23 -0
- package/my_node_modules/lodash/_arraySome.js +26 -0
- package/my_node_modules/lodash/_assignValue.js +33 -0
- package/my_node_modules/lodash/_assocIndexOf.js +25 -0
- package/my_node_modules/lodash/_baseAssign.js +22 -0
- package/my_node_modules/lodash/_baseAssignIn.js +22 -0
- package/my_node_modules/lodash/_baseAssignValue.js +29 -0
- package/my_node_modules/lodash/_baseClone.js +193 -0
- package/my_node_modules/lodash/_baseCreate.js +34 -0
- package/my_node_modules/lodash/_baseFindIndex.js +27 -0
- package/my_node_modules/lodash/_baseFor.js +20 -0
- package/my_node_modules/lodash/_baseForOwn.js +21 -0
- package/my_node_modules/lodash/_baseGet.js +29 -0
- package/my_node_modules/lodash/_baseGetAllKeys.js +25 -0
- package/my_node_modules/lodash/_baseGetTag.js +34 -0
- package/my_node_modules/lodash/_baseHasIn.js +16 -0
- package/my_node_modules/lodash/_baseIsArguments.js +23 -0
- package/my_node_modules/lodash/_baseIsEqual.js +33 -0
- package/my_node_modules/lodash/_baseIsEqualDeep.js +95 -0
- package/my_node_modules/lodash/_baseIsMap.js +23 -0
- package/my_node_modules/lodash/_baseIsMatch.js +67 -0
- package/my_node_modules/lodash/_baseIsNative.js +54 -0
- package/my_node_modules/lodash/_baseIsSet.js +23 -0
- package/my_node_modules/lodash/_baseIsTypedArray.js +66 -0
- package/my_node_modules/lodash/_baseIteratee.js +39 -0
- package/my_node_modules/lodash/_baseKeys.js +35 -0
- package/my_node_modules/lodash/_baseKeysIn.js +39 -0
- package/my_node_modules/lodash/_baseMatches.js +28 -0
- package/my_node_modules/lodash/_baseMatchesProperty.js +43 -0
- package/my_node_modules/lodash/_baseProperty.js +17 -0
- package/my_node_modules/lodash/_basePropertyDeep.js +20 -0
- package/my_node_modules/lodash/_baseTimes.js +23 -0
- package/my_node_modules/lodash/_baseToNumber.js +28 -0
- package/my_node_modules/lodash/_baseToString.js +44 -0
- package/my_node_modules/lodash/_baseTrim.js +23 -0
- package/my_node_modules/lodash/_baseUnary.js +17 -0
- package/my_node_modules/lodash/_cacheHas.js +16 -0
- package/my_node_modules/lodash/_castPath.js +28 -0
- package/my_node_modules/lodash/_cloneArrayBuffer.js +20 -0
- package/my_node_modules/lodash/_cloneBuffer.js +40 -0
- package/my_node_modules/lodash/_cloneDataView.js +20 -0
- package/my_node_modules/lodash/_cloneRegExp.js +20 -0
- package/my_node_modules/lodash/_cloneSymbol.js +22 -0
- package/my_node_modules/lodash/_cloneTypedArray.js +20 -0
- package/my_node_modules/lodash/_copyArray.js +23 -0
- package/my_node_modules/lodash/_copyObject.js +45 -0
- package/my_node_modules/lodash/_copySymbols.js +21 -0
- package/my_node_modules/lodash/_copySymbolsIn.js +21 -0
- package/my_node_modules/lodash/_coreJsData.js +10 -0
- package/my_node_modules/lodash/_createBaseFor.js +28 -0
- package/my_node_modules/lodash/_createMathOperation.js +43 -0
- package/my_node_modules/lodash/_defineProperty.js +15 -0
- package/my_node_modules/lodash/_equalArrays.js +90 -0
- package/my_node_modules/lodash/_equalByTag.js +121 -0
- package/my_node_modules/lodash/_equalObjects.js +94 -0
- package/my_node_modules/lodash/_freeGlobal.js +9 -0
- package/my_node_modules/lodash/_getAllKeys.js +22 -0
- package/my_node_modules/lodash/_getAllKeysIn.js +23 -0
- package/my_node_modules/lodash/_getMapData.js +22 -0
- package/my_node_modules/lodash/_getMatchData.js +29 -0
- package/my_node_modules/lodash/_getNative.js +22 -0
- package/my_node_modules/lodash/_getPrototype.js +10 -0
- package/my_node_modules/lodash/_getRawTag.js +50 -0
- package/my_node_modules/lodash/_getSymbols.js +35 -0
- package/my_node_modules/lodash/_getSymbolsIn.js +32 -0
- package/my_node_modules/lodash/_getTag.js +68 -0
- package/my_node_modules/lodash/_getValue.js +16 -0
- package/my_node_modules/lodash/_hasPath.js +48 -0
- package/my_node_modules/lodash/_hashClear.js +19 -0
- package/my_node_modules/lodash/_hashDelete.js +20 -0
- package/my_node_modules/lodash/_hashGet.js +34 -0
- package/my_node_modules/lodash/_hashHas.js +27 -0
- package/my_node_modules/lodash/_hashSet.js +27 -0
- package/my_node_modules/lodash/_initCloneArray.js +29 -0
- package/my_node_modules/lodash/_initCloneByTag.js +85 -0
- package/my_node_modules/lodash/_initCloneObject.js +24 -0
- package/my_node_modules/lodash/_isIndex.js +28 -0
- package/my_node_modules/lodash/_isKey.js +34 -0
- package/my_node_modules/lodash/_isKeyable.js +18 -0
- package/my_node_modules/lodash/_isMasked.js +24 -0
- package/my_node_modules/lodash/_isPrototype.js +21 -0
- package/my_node_modules/lodash/_isStrictComparable.js +19 -0
- package/my_node_modules/lodash/_listCacheClear.js +16 -0
- package/my_node_modules/lodash/_listCacheDelete.js +39 -0
- package/my_node_modules/lodash/_listCacheGet.js +23 -0
- package/my_node_modules/lodash/_listCacheHas.js +20 -0
- package/my_node_modules/lodash/_listCacheSet.js +30 -0
- package/my_node_modules/lodash/_mapCacheClear.js +27 -0
- package/my_node_modules/lodash/_mapCacheDelete.js +22 -0
- package/my_node_modules/lodash/_mapCacheGet.js +20 -0
- package/my_node_modules/lodash/_mapCacheHas.js +20 -0
- package/my_node_modules/lodash/_mapCacheSet.js +26 -0
- package/my_node_modules/lodash/_mapToArray.js +21 -0
- package/my_node_modules/lodash/_matchesStrictComparable.js +23 -0
- package/my_node_modules/lodash/_memoizeCapped.js +30 -0
- package/my_node_modules/lodash/_nativeCreate.js +10 -0
- package/my_node_modules/lodash/_nativeKeys.js +10 -0
- package/my_node_modules/lodash/_nativeKeysIn.js +23 -0
- package/my_node_modules/lodash/_nodeUtil.js +35 -0
- package/my_node_modules/lodash/_objectToString.js +25 -0
- package/my_node_modules/lodash/_overArg.js +18 -0
- package/my_node_modules/lodash/_root.js +13 -0
- package/my_node_modules/lodash/_setCacheAdd.js +22 -0
- package/my_node_modules/lodash/_setCacheHas.js +17 -0
- package/my_node_modules/lodash/_setToArray.js +21 -0
- package/my_node_modules/lodash/_stackClear.js +19 -0
- package/my_node_modules/lodash/_stackDelete.js +21 -0
- package/my_node_modules/lodash/_stackGet.js +17 -0
- package/my_node_modules/lodash/_stackHas.js +17 -0
- package/my_node_modules/lodash/_stackSet.js +40 -0
- package/my_node_modules/lodash/_stringToPath.js +31 -0
- package/my_node_modules/lodash/_toKey.js +25 -0
- package/my_node_modules/lodash/_toSource.js +29 -0
- package/my_node_modules/lodash/_trimmedEndIndex.js +22 -0
- package/my_node_modules/lodash/cloneDeep.js +33 -0
- package/my_node_modules/lodash/divide.js +26 -0
- package/my_node_modules/lodash/eq.js +40 -0
- package/my_node_modules/lodash/findIndex.js +61 -0
- package/my_node_modules/lodash/get.js +37 -0
- package/my_node_modules/lodash/hasIn.js +39 -0
- package/my_node_modules/lodash/identity.js +24 -0
- package/my_node_modules/lodash/isArguments.js +41 -0
- package/my_node_modules/lodash/isArray.js +29 -0
- package/my_node_modules/lodash/isArrayLike.js +38 -0
- package/my_node_modules/lodash/isBuffer.js +44 -0
- package/my_node_modules/lodash/isEmpty.js +89 -0
- package/my_node_modules/lodash/isFunction.js +42 -0
- package/my_node_modules/lodash/isLength.js +38 -0
- package/my_node_modules/lodash/isMap.js +34 -0
- package/my_node_modules/lodash/isObject.js +34 -0
- package/my_node_modules/lodash/isObjectLike.js +32 -0
- package/my_node_modules/lodash/isSet.js +34 -0
- package/my_node_modules/lodash/isSymbol.js +34 -0
- package/my_node_modules/lodash/isTypedArray.js +34 -0
- package/my_node_modules/lodash/keys.js +43 -0
- package/my_node_modules/lodash/keysIn.js +38 -0
- package/my_node_modules/lodash/mapKeys.js +42 -0
- package/my_node_modules/lodash/memoize.js +77 -0
- package/my_node_modules/lodash/property.js +39 -0
- package/my_node_modules/lodash/stubArray.js +26 -0
- package/my_node_modules/lodash/stubFalse.js +21 -0
- package/my_node_modules/lodash/toFinite.js +46 -0
- package/my_node_modules/lodash/toInteger.js +40 -0
- package/my_node_modules/lodash/toNumber.js +70 -0
- package/my_node_modules/lodash/toString.js +32 -0
- package/my_node_modules/object-assign/index.js +99 -0
- package/my_node_modules/object-inspect/index.js +516 -0
- package/my_node_modules/prop-types/checkPropTypes.js +115 -0
- package/my_node_modules/prop-types/factoryWithThrowingShims.js +74 -0
- package/my_node_modules/prop-types/factoryWithTypeCheckers.js +625 -0
- package/my_node_modules/prop-types/index.js +27 -0
- package/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/my_node_modules/prop-types/lib/has.js +11 -0
- package/my_node_modules/qs/lib/formats.js +23 -0
- package/my_node_modules/qs/lib/index.js +15 -0
- package/my_node_modules/qs/lib/parse.js +265 -0
- package/my_node_modules/qs/lib/stringify.js +330 -0
- package/my_node_modules/qs/lib/utils.js +254 -0
- package/my_node_modules/rc-motion/es/CSSMotion.js +149 -0
- package/my_node_modules/rc-motion/es/DomWrapper.js +28 -0
- package/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +45 -0
- package/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/my_node_modules/rc-motion/es/hooks/useNextFrame.js +36 -0
- package/my_node_modules/rc-motion/es/hooks/useStatus.js +232 -0
- package/my_node_modules/rc-motion/es/hooks/useStepQueue.js +69 -0
- package/my_node_modules/rc-motion/es/index.js +4 -0
- package/my_node_modules/rc-motion/es/interface.js +11 -0
- package/my_node_modules/rc-motion/es/util/motion.js +85 -0
- package/my_node_modules/rc-util/es/Dom/canUseDom.js +5 -0
- package/my_node_modules/rc-util/es/Dom/findDOMNode.js +15 -0
- package/my_node_modules/rc-util/es/hooks/useState.js +36 -0
- package/my_node_modules/rc-util/es/raf.js +57 -0
- package/my_node_modules/rc-util/es/ref.js +30 -0
- package/my_node_modules/rc-util/lib/Children/toArray.js +39 -0
- package/my_node_modules/react-is/cjs/react-is.development.js +190 -0
- package/my_node_modules/react-is/cjs/react-is.production.min.js +26 -0
- package/my_node_modules/react-is/index.js +21 -0
- package/my_node_modules/shallowequal/index.js +48 -0
- package/my_node_modules/side-channel/index.js +128 -0
- package/my_node_modules/slick-carousel/slick/slick-theme.css.js +6 -0
- package/my_node_modules/slick-carousel/slick/slick.css.js +6 -0
- package/my_node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/my_node_modules/tslib/tslib.es6.js +110 -0
- package/my_node_modules/uuid/index.js +13 -0
- package/my_node_modules/uuid/lib/bytesToUuid.js +29 -0
- package/my_node_modules/uuid/lib/rng-browser.js +39 -0
- package/my_node_modules/uuid/v1.js +115 -0
- package/my_node_modules/uuid/v4.js +35 -0
- package/package.json +6 -44
- package/src/components/assets/images/layout-icon/carouselLayout1.png.js +3 -0
- package/src/components/assets/images/layout-icon/carouselLayout2.png.js +3 -0
- package/src/components/assets/images/layout-icon/dividerLayout.svg.js +3 -0
- package/src/components/assets/images/layout-icon/imageGalleryLayout1.png.js +3 -0
- package/src/components/assets/images/layout-icon/imageGalleryLayout2.png.js +3 -0
- package/src/components/assets/images/layout-icon/imageGalleryLayout3.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-1.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-2.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-3.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-m2.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-m3.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-p1.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-p2.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-imagetext-p4.png.js +3 -0
- package/src/components/assets/images/layout-icon/layout-search.png.js +3 -0
- package/src/components/assets/images/layout-icon/newsletter.svg.js +3 -0
- package/src/components/assets/less/cylon-antd.less.js +5 -0
- package/src/components/assets/less/index.less.js +6 -0
- package/src/components/common/AlignSelector/index.js +65 -0
- package/src/components/common/AlignSelector/index.less.js +6 -0
- package/src/components/common/Button/index.js +75 -0
- package/src/components/common/Button/index.less.js +6 -0
- package/src/components/common/ButtonIconLayout/index.js +66 -0
- package/src/components/common/ButtonIconLayout/index.less.js +6 -0
- package/src/components/common/Collapse/index.js +323 -0
- package/src/components/common/Collapse/index.less.js +6 -0
- package/src/components/common/ColorPicker/index.js +94 -0
- package/src/components/common/ColorPicker/index.less.js +6 -0
- package/src/components/common/ColorPickerInput/index.js +76 -0
- package/src/components/common/ColorPickerInput/index.less.js +6 -0
- package/src/components/common/CountDown/index.js +110 -0
- package/src/components/common/CountDown/index.less.js +6 -0
- package/src/components/common/Field/index.js +43 -0
- package/src/components/common/Field/index.less.js +6 -0
- package/src/components/common/FontStyles/index.js +124 -0
- package/src/components/common/FontStyles/index.less.js +6 -0
- package/src/components/common/GroupList/defaultImg.png.js +3 -0
- package/src/components/common/GroupList/index.js +170 -0
- package/src/components/common/GroupList/index.less.js +6 -0
- package/src/components/common/IconPicker/index.js +93 -0
- package/src/components/common/IconPicker/index.less.js +6 -0
- package/src/components/common/Iconfont/index.js +74 -0
- package/src/components/common/Iconfont/index.less.js +6 -0
- package/src/components/common/ImageModal/CommonModal/const.js +16 -0
- package/src/components/common/ImageModal/CommonModal/index.js +33 -0
- package/src/components/common/ImageModal/CommonSelPicCard/index.js +66 -0
- package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +6 -0
- package/src/components/common/ImageModal/const.js +18 -0
- package/src/components/common/ImageModal/index.js +547 -0
- package/src/components/common/ImageModal/index.less.js +6 -0
- package/src/components/common/ImagePicker/index.js +124 -0
- package/src/components/common/ImagePicker/index.less.js +6 -0
- package/src/components/common/InputNumber/index.js +54 -0
- package/src/components/common/InputNumber/index.less.js +6 -0
- package/src/components/common/LayoutSelector/imgs/center.png.js +3 -0
- package/src/components/common/LayoutSelector/imgs/left.png.js +3 -0
- package/src/components/common/LayoutSelector/imgs/right.png.js +3 -0
- package/src/components/common/LayoutSelector/index.js +70 -0
- package/src/components/common/LayoutSelector/index.less.js +6 -0
- package/src/components/common/LinkModal/CatgTable/index.js +78 -0
- package/src/components/common/LinkModal/CouponTable/index.js +111 -0
- package/src/components/common/LinkModal/CustomTable/index.js +72 -0
- package/src/components/common/LinkModal/FilteredProductModal/index.js +463 -0
- package/src/components/common/LinkModal/FilteredProductModal/index.less.js +6 -0
- package/src/components/common/LinkModal/FunctionTable/index.js +66 -0
- package/src/components/common/LinkModal/ProductDetailPage/index.js +241 -0
- package/src/components/common/LinkModal/ProductDetailPage/index.less.js +6 -0
- package/src/components/common/LinkModal/index.js +112 -0
- package/src/components/common/LinkModal/index.less.js +6 -0
- package/src/components/common/NewImg/index.js +91 -0
- package/src/components/common/ProductModal/index.js +556 -0
- package/src/components/common/ProductModal/index.less.js +6 -0
- package/src/components/common/ProductSource/index.js +91 -0
- package/src/components/common/ProductSource/index.less.js +6 -0
- package/src/components/common/RcCollapse/Collapse.js +176 -0
- package/src/components/common/RcCollapse/Panel.js +146 -0
- package/src/components/common/RcCollapse/PanelContent.js +41 -0
- package/src/components/common/RcCollapse/index.js +6 -0
- package/src/components/common/RcCollapse/index.less.js +6 -0
- package/src/components/common/RcCollapse/motionUtil.js +37 -0
- package/src/components/common/Slider/index.js +95 -0
- package/src/components/common/Slider/index.less.js +6 -0
- package/src/components/common/SwitchCollapse/index.js +162 -0
- package/src/components/common/SwitchCollapse/index.less.js +6 -0
- package/src/components/common/UrlPicker/index.js +81 -0
- package/src/components/common/UrlPicker/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +258 -0
- package/src/components/composite-comp/bol/components/Banner/imgs/banner.png.js +3 -0
- package/src/components/composite-comp/bol/components/Banner/index.js +34 -0
- package/src/components/composite-comp/bol/components/Banner/mobile/index.js +176 -0
- package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Banner/pc/index.js +254 -0
- package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Button/defaultJSON.js +93 -0
- package/src/components/composite-comp/bol/components/Button/index.js +48 -0
- package/src/components/composite-comp/bol/components/Button/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +287 -0
- package/src/components/composite-comp/bol/components/Carousel/imgs/defaultImg.png.js +3 -0
- package/src/components/composite-comp/bol/components/Carousel/index.js +37 -0
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +217 -0
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Carousel/pc/index.js +208 -0
- package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +40 -0
- package/src/components/composite-comp/bol/components/Divider/index.js +48 -0
- package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +64 -0
- package/src/components/composite-comp/bol/components/ImageGallery/index.js +30 -0
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +47 -0
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +537 -0
- package/src/components/composite-comp/bol/components/ImageText/index.js +33 -0
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +145 -0
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/ImageText/pc/index.js +126 -0
- package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +114 -0
- package/src/components/composite-comp/bol/components/Newsletter/index.js +65 -0
- package/src/components/composite-comp/bol/components/Newsletter/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +91 -0
- package/src/components/composite-comp/bol/components/Tag/index.js +52 -0
- package/src/components/composite-comp/bol/components/Tag/index.less.js +6 -0
- package/src/components/composite-comp/bol/components/Text/defaultJSON.js +125 -0
- package/src/components/composite-comp/bol/components/Text/index.js +68 -0
- package/src/components/composite-comp/bol/components/Text/index.less.js +6 -0
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +73 -0
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +6 -0
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +200 -0
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +6 -0
- package/src/components/composite-comp/bol/config-panels/BannerConfig/index.js +35 -0
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +79 -0
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/index.js +53 -0
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +91 -0
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +175 -0
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +6 -0
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/index.js +54 -0
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +153 -0
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +66 -0
- package/src/components/composite-comp/bol/config-panels/DividerConfig/index.js +44 -0
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +91 -0
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +44 -0
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +74 -0
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +170 -0
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +143 -0
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +89 -0
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/index.js +44 -0
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +88 -0
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/index.js +48 -0
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +79 -0
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +85 -0
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +6 -0
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png.js +3 -0
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/index.js +55 -0
- package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +109 -0
- package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +107 -0
- package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +118 -0
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +79 -0
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +70 -0
- package/src/components/composite-comp/common/components/ImageLabel/index.js +47 -0
- package/src/components/composite-comp/common/components/ImageLabel/index.less.js +6 -0
- package/src/components/composite-comp/common/components/ProductItem/index.js +121 -0
- package/src/components/composite-comp/common/components/ProductItem/index.less.js +6 -0
- package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +89 -0
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +182 -0
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +6 -0
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +133 -0
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +6 -0
- package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +176 -0
- package/src/components/composite-comp/dito/components/FlashDeal/index.js +31 -0
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png.js +3 -0
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png.js +3 -0
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png.js +3 -0
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +233 -0
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +6 -0
- package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +210 -0
- package/src/components/composite-comp/dito/components/Recommend/index.js +31 -0
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +317 -0
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +6 -0
- package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +44 -0
- package/src/components/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg.js +3 -0
- package/src/components/composite-comp/dito/components/SearchBar/index.js +31 -0
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +89 -0
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +6 -0
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +121 -0
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +102 -0
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png.js +3 -0
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/index.js +49 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +97 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +89 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +6 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png.js +3 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png.js +3 -0
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/index.js +49 -0
- package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +115 -0
- package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +156 -0
- package/src/components/constants/component-types.js +48 -0
- package/src/components/constants/index.js +74 -0
- package/src/components/constants/layout.js +90 -0
- package/src/components/core/Designer/CompListPanel/CompCard/index.js +33 -0
- package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +6 -0
- package/src/components/core/Designer/CompListPanel/index.js +109 -0
- package/src/components/core/Designer/CompListPanel/index.less.js +6 -0
- package/src/components/core/Designer/ConfigPanel/index.js +246 -0
- package/src/components/core/Designer/ConfigPanel/index.less.js +6 -0
- package/src/components/core/Designer/History/index.js +82 -0
- package/src/components/core/Designer/PageCompList/index.js +248 -0
- package/src/components/core/Designer/PageCompList/index.less.js +6 -0
- package/src/components/core/Designer/QuickMenuBar/index.js +130 -0
- package/src/components/core/Designer/QuickMenuBar/index.less.js +6 -0
- package/src/components/core/Designer/ViewArea/index.js +86 -0
- package/src/components/core/Designer/ViewArea/index.less.js +6 -0
- package/src/components/core/Designer/index.js +364 -0
- package/src/components/core/Designer/index.less.js +6 -0
- package/src/components/core/Renderer/index.js +55 -0
- package/src/components/decorator/compositeDecorator.js +94 -0
- package/src/components/decorator/metaDecorator.js +150 -0
- package/src/components/index.js +4 -0
- package/src/components/meta-comp/components/Button/index.js +121 -0
- package/src/components/meta-comp/components/Button/index.less.js +6 -0
- package/src/components/meta-comp/components/Image/index.js +133 -0
- package/src/components/meta-comp/components/Image/index.less.js +6 -0
- package/src/components/meta-comp/components/Text/index.js +385 -0
- package/src/components/meta-comp/components/Text/index.less.js +6 -0
- package/src/components/meta-comp/config-panels/BaseConfig.js +47 -0
- package/src/components/meta-comp/config-panels/ButtonConfig/index.js +310 -0
- package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +6 -0
- package/src/components/meta-comp/config-panels/ImageConfig/index.js +224 -0
- package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +6 -0
- package/src/components/meta-comp/config-panels/TextConfig/index.js +310 -0
- package/src/components/meta-comp/config-panels/TextConfig/index.less.js +6 -0
- package/src/components/mobx/Store.js +88 -0
- package/src/components/mobx/index.js +12 -0
- package/src/components/utils/androidUtil.js +22 -0
- package/src/components/utils/businessUtil.js +214 -0
- package/src/components/utils/commonUtil.js +240 -0
- package/src/components/utils/coreUtil.js +108 -0
- package/src/components/utils/currencyUtil.js +110 -0
- package/src/components/utils/dataTreeUtils.js +93 -0
- package/src/components/utils/dateUtil.js +30 -0
- package/src/components/utils/storeUtil.js +113 -0
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +0 -299
- package/es/assets/fonts/magic-box-iconfont.css.bak +0 -299
- package/es/assets/fonts/magic-box-iconfont.js +0 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +0 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/icon/index.js +0 -68
- package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/es/assets/images/layout-icon/dividerLayout.svg +0 -4
- package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/newsletter.svg +0 -7
- package/es/assets/less/button.less +0 -9
- package/es/assets/less/common.less +0 -82
- package/es/assets/less/cylon-antd.less +0 -32534
- package/es/assets/less/font.less +0 -50
- package/es/assets/less/global.less +0 -8
- package/es/assets/less/index.less +0 -11
- package/es/assets/less/input.less +0 -8
- package/es/assets/less/menu.less +0 -21
- package/es/assets/less/modal.less +0 -16
- package/es/assets/less/select.less +0 -19
- package/es/assets/less/slider.less +0 -21
- package/es/assets/less/switch.less +0 -20
- package/es/assets/less/table.less +0 -40
- package/es/assets/less/variables.less +0 -4
- package/es/common/AlignSelector/index.js +0 -104
- package/es/common/AlignSelector/index.less +0 -28
- package/es/common/Button/index.js +0 -134
- package/es/common/Button/index.less +0 -68
- package/es/common/ButtonIconLayout/index.js +0 -103
- package/es/common/ButtonIconLayout/index.less +0 -53
- package/es/common/Collapse/index.js +0 -384
- package/es/common/Collapse/index.less +0 -97
- package/es/common/ColorPicker/imgs/no-color.png +0 -0
- package/es/common/ColorPicker/index.js +0 -131
- package/es/common/ColorPicker/index.less +0 -26
- package/es/common/ColorPickerInput/imgs/code.png +0 -0
- package/es/common/ColorPickerInput/index.js +0 -114
- package/es/common/ColorPickerInput/index.less +0 -50
- package/es/common/CountDown/index.js +0 -151
- package/es/common/CountDown/index.less +0 -23
- package/es/common/Field/index.js +0 -80
- package/es/common/Field/index.less +0 -37
- package/es/common/FontStyles/index.js +0 -178
- package/es/common/FontStyles/index.less +0 -63
- package/es/common/GroupList/defaultImg.png +0 -0
- package/es/common/GroupList/index.js +0 -210
- package/es/common/GroupList/index.less +0 -85
- package/es/common/IconPicker/index.js +0 -147
- package/es/common/IconPicker/index.less +0 -46
- package/es/common/Iconfont/index.js +0 -148
- package/es/common/Iconfont/index.less +0 -20
- package/es/common/ImageModal/CommonModal/const.js +0 -22
- package/es/common/ImageModal/CommonModal/index.js +0 -46
- package/es/common/ImageModal/CommonSelPicCard/index.js +0 -80
- package/es/common/ImageModal/CommonSelPicCard/index.less +0 -40
- package/es/common/ImageModal/const.js +0 -24
- package/es/common/ImageModal/index.js +0 -748
- package/es/common/ImageModal/index.less +0 -21
- package/es/common/ImagePicker/index.js +0 -162
- package/es/common/ImagePicker/index.less +0 -104
- package/es/common/InputNumber/index.js +0 -91
- package/es/common/InputNumber/index.less +0 -33
- package/es/common/LayoutSelector/imgs/center.png +0 -0
- package/es/common/LayoutSelector/imgs/left.png +0 -0
- package/es/common/LayoutSelector/imgs/right.png +0 -0
- package/es/common/LayoutSelector/index.js +0 -111
- package/es/common/LayoutSelector/index.less +0 -34
- package/es/common/LinkModal/CatgTable/index.js +0 -234
- package/es/common/LinkModal/CouponTable/index.js +0 -299
- package/es/common/LinkModal/CustomTable/index.js +0 -227
- package/es/common/LinkModal/FilteredProductModal/index.js +0 -640
- package/es/common/LinkModal/FilteredProductModal/index.less +0 -113
- package/es/common/LinkModal/FunctionTable/index.js +0 -221
- package/es/common/LinkModal/ProductDetailPage/index.js +0 -433
- package/es/common/LinkModal/ProductDetailPage/index.less +0 -21
- package/es/common/LinkModal/index.js +0 -136
- package/es/common/LinkModal/index.less +0 -108
- package/es/common/NewImg/index.js +0 -165
- package/es/common/NewImg/index.less +0 -0
- package/es/common/ProductModal/index.js +0 -760
- package/es/common/ProductModal/index.less +0 -238
- package/es/common/ProductSource/index.js +0 -250
- package/es/common/ProductSource/index.less +0 -12
- package/es/common/RcCollapse/Collapse.js +0 -240
- package/es/common/RcCollapse/Panel.js +0 -193
- package/es/common/RcCollapse/PanelContent.js +0 -59
- package/es/common/RcCollapse/index.js +0 -15
- package/es/common/RcCollapse/index.less +0 -108
- package/es/common/RcCollapse/interface.js +0 -1
- package/es/common/RcCollapse/motion.less +0 -12
- package/es/common/RcCollapse/motionUtil.js +0 -44
- package/es/common/Slider/index.js +0 -151
- package/es/common/Slider/index.less +0 -45
- package/es/common/SwitchCollapse/index.js +0 -216
- package/es/common/SwitchCollapse/index.less +0 -40
- package/es/common/UrlPicker/index.js +0 -119
- package/es/common/UrlPicker/index.less +0 -72
- package/es/common/index.js +0 -127
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +0 -268
- package/es/composite-comp/bol/components/Banner/index.js +0 -89
- package/es/composite-comp/bol/components/Button/defaultJSON.js +0 -114
- package/es/composite-comp/bol/components/Button/index.js +0 -0
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +0 -295
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +0 -546
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/es/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/es/constants/component-types.js +0 -87
- package/es/constants/index.js +0 -144
- package/es/constants/layout.js +0 -120
- package/es/core/Designer/CompListPanel/index.js +0 -156
- package/es/core/Designer/CompListPanel/index.less +0 -69
- package/es/core/Designer/ConfigPanel/index.js +0 -294
- package/es/core/Designer/ConfigPanel/index.less +0 -139
- package/es/core/Designer/History/index.js +0 -91
- package/es/core/Designer/PageCompList/index.js +0 -266
- package/es/core/Designer/PageCompList/index.less +0 -114
- package/es/core/Designer/QuickMenuBar/index.js +0 -176
- package/es/core/Designer/QuickMenuBar/index.less +0 -67
- package/es/core/Designer/ViewArea/index.js +0 -150
- package/es/core/Designer/ViewArea/index.less +0 -53
- package/es/core/Designer/index.js +0 -454
- package/es/core/Designer/index.less +0 -6
- package/es/core/Renderer/index.js +0 -82
- package/es/decorator/compositeDecorator.js +0 -130
- package/es/decorator/index.js +0 -23
- package/es/decorator/metaDecorator.js +0 -199
- package/es/index.js +0 -27
- package/es/meta-comp/components/Button/index.js +0 -189
- package/es/meta-comp/components/Button/index.less +0 -19
- package/es/meta-comp/components/Image/index.js +0 -183
- package/es/meta-comp/components/Text/index.js +0 -478
- package/es/meta-comp/components/index.js +0 -31
- package/es/meta-comp/config-panels/BaseConfig.js +0 -87
- package/es/meta-comp/config-panels/ButtonConfig/index.js +0 -356
- package/es/meta-comp/config-panels/ImageConfig/index.js +0 -395
- package/es/meta-comp/config-panels/TextConfig/index.js +0 -358
- package/es/mobx/Store.js +0 -95
- package/es/mobx/index.js +0 -36
- package/es/utils/androidUtil.js +0 -113
- package/es/utils/businessUtil.js +0 -235
- package/es/utils/commonUtil.js +0 -289
- package/es/utils/compJsonUtil.js +0 -240
- package/es/utils/coreUtil.js +0 -156
- package/es/utils/currencyUtil.js +0 -190
- package/es/utils/dataTreeUtils.js +0 -105
- package/es/utils/dateUtil.js +0 -70
- package/es/utils/storeUtil.js +0 -258
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +0 -299
- package/lib/assets/fonts/magic-box-iconfont.css.bak +0 -299
- package/lib/assets/fonts/magic-box-iconfont.js +0 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +0 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/icon/index.js +0 -68
- package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/lib/assets/images/layout-icon/dividerLayout.svg +0 -4
- package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/lib/assets/images/layout-icon/layout-search.png +0 -0
- package/lib/assets/images/layout-icon/newsletter.svg +0 -7
- package/lib/assets/less/button.less +0 -9
- package/lib/assets/less/common.less +0 -82
- package/lib/assets/less/cylon-antd.less +0 -32534
- package/lib/assets/less/font.less +0 -50
- package/lib/assets/less/global.less +0 -8
- package/lib/assets/less/index.less +0 -11
- package/lib/assets/less/input.less +0 -8
- package/lib/assets/less/menu.less +0 -21
- package/lib/assets/less/modal.less +0 -16
- package/lib/assets/less/select.less +0 -19
- package/lib/assets/less/slider.less +0 -21
- package/lib/assets/less/switch.less +0 -20
- package/lib/assets/less/table.less +0 -40
- package/lib/assets/less/variables.less +0 -4
- package/lib/common/AlignSelector/index.js +0 -104
- package/lib/common/AlignSelector/index.less +0 -28
- package/lib/common/Button/index.js +0 -134
- package/lib/common/Button/index.less +0 -68
- package/lib/common/ButtonIconLayout/index.js +0 -103
- package/lib/common/ButtonIconLayout/index.less +0 -53
- package/lib/common/Collapse/index.js +0 -384
- package/lib/common/Collapse/index.less +0 -97
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +0 -131
- package/lib/common/ColorPicker/index.less +0 -26
- package/lib/common/ColorPickerInput/imgs/code.png +0 -0
- package/lib/common/ColorPickerInput/index.js +0 -114
- package/lib/common/ColorPickerInput/index.less +0 -50
- package/lib/common/CountDown/index.js +0 -151
- package/lib/common/CountDown/index.less +0 -23
- package/lib/common/Field/index.js +0 -80
- package/lib/common/Field/index.less +0 -37
- package/lib/common/FontStyles/index.js +0 -178
- package/lib/common/FontStyles/index.less +0 -63
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +0 -210
- package/lib/common/GroupList/index.less +0 -85
- package/lib/common/IconPicker/index.js +0 -147
- package/lib/common/IconPicker/index.less +0 -46
- package/lib/common/Iconfont/index.js +0 -148
- package/lib/common/Iconfont/index.less +0 -20
- package/lib/common/ImageModal/CommonModal/const.js +0 -22
- package/lib/common/ImageModal/CommonModal/index.js +0 -46
- package/lib/common/ImageModal/CommonSelPicCard/index.js +0 -80
- package/lib/common/ImageModal/CommonSelPicCard/index.less +0 -40
- package/lib/common/ImageModal/const.js +0 -24
- package/lib/common/ImageModal/index.js +0 -748
- package/lib/common/ImageModal/index.less +0 -21
- package/lib/common/ImagePicker/index.js +0 -162
- package/lib/common/ImagePicker/index.less +0 -104
- package/lib/common/InputNumber/index.js +0 -91
- package/lib/common/InputNumber/index.less +0 -33
- package/lib/common/LayoutSelector/imgs/center.png +0 -0
- package/lib/common/LayoutSelector/imgs/left.png +0 -0
- package/lib/common/LayoutSelector/imgs/right.png +0 -0
- package/lib/common/LayoutSelector/index.js +0 -111
- package/lib/common/LayoutSelector/index.less +0 -34
- package/lib/common/LinkModal/CatgTable/index.js +0 -234
- package/lib/common/LinkModal/CouponTable/index.js +0 -299
- package/lib/common/LinkModal/CustomTable/index.js +0 -227
- package/lib/common/LinkModal/FilteredProductModal/index.js +0 -640
- package/lib/common/LinkModal/FilteredProductModal/index.less +0 -113
- package/lib/common/LinkModal/FunctionTable/index.js +0 -221
- package/lib/common/LinkModal/ProductDetailPage/index.js +0 -433
- package/lib/common/LinkModal/ProductDetailPage/index.less +0 -21
- package/lib/common/LinkModal/index.js +0 -136
- package/lib/common/LinkModal/index.less +0 -108
- package/lib/common/NewImg/index.js +0 -165
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/ProductModal/index.js +0 -760
- package/lib/common/ProductModal/index.less +0 -238
- package/lib/common/ProductSource/index.js +0 -250
- package/lib/common/ProductSource/index.less +0 -12
- package/lib/common/RcCollapse/Collapse.js +0 -240
- package/lib/common/RcCollapse/Panel.js +0 -193
- package/lib/common/RcCollapse/PanelContent.js +0 -59
- package/lib/common/RcCollapse/index.js +0 -15
- package/lib/common/RcCollapse/index.less +0 -108
- package/lib/common/RcCollapse/interface.js +0 -1
- package/lib/common/RcCollapse/motion.less +0 -12
- package/lib/common/RcCollapse/motionUtil.js +0 -44
- package/lib/common/Slider/index.js +0 -151
- package/lib/common/Slider/index.less +0 -45
- package/lib/common/SwitchCollapse/index.js +0 -216
- package/lib/common/SwitchCollapse/index.less +0 -40
- package/lib/common/UrlPicker/index.js +0 -119
- package/lib/common/UrlPicker/index.less +0 -72
- package/lib/common/index.js +0 -127
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +0 -268
- package/lib/composite-comp/bol/components/Banner/index.js +0 -89
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +0 -114
- package/lib/composite-comp/bol/components/Button/index.js +0 -103
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +0 -295
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +0 -546
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/lib/constants/component-types.js +0 -87
- package/lib/constants/index.js +0 -144
- package/lib/constants/layout.js +0 -120
- package/lib/core/Designer/CompListPanel/index.js +0 -156
- package/lib/core/Designer/CompListPanel/index.less +0 -69
- package/lib/core/Designer/ConfigPanel/index.js +0 -294
- package/lib/core/Designer/ConfigPanel/index.less +0 -139
- package/lib/core/Designer/History/index.js +0 -91
- package/lib/core/Designer/PageCompList/index.js +0 -266
- package/lib/core/Designer/PageCompList/index.less +0 -114
- package/lib/core/Designer/QuickMenuBar/index.js +0 -176
- package/lib/core/Designer/QuickMenuBar/index.less +0 -67
- package/lib/core/Designer/ViewArea/index.js +0 -150
- package/lib/core/Designer/ViewArea/index.less +0 -53
- package/lib/core/Designer/index.js +0 -454
- package/lib/core/Designer/index.less +0 -6
- package/lib/core/Renderer/index.js +0 -82
- package/lib/decorator/compositeDecorator.js +0 -130
- package/lib/decorator/index.js +0 -23
- package/lib/decorator/metaDecorator.js +0 -199
- package/lib/index.js +0 -27
- package/lib/meta-comp/components/Button/index.js +0 -189
- package/lib/meta-comp/components/Button/index.less +0 -0
- package/lib/meta-comp/components/Image/index.js +0 -183
- package/lib/meta-comp/components/Text/index.js +0 -478
- package/lib/meta-comp/components/index.js +0 -31
- package/lib/meta-comp/config-panels/BaseConfig.js +0 -87
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +0 -356
- package/lib/meta-comp/config-panels/ImageConfig/index.js +0 -395
- package/lib/meta-comp/config-panels/TextConfig/index.js +0 -358
- package/lib/mobx/Store.js +0 -95
- package/lib/mobx/index.js +0 -36
- package/lib/utils/androidUtil.js +0 -113
- package/lib/utils/businessUtil.js +0 -235
- package/lib/utils/commonUtil.js +0 -289
- package/lib/utils/compJsonUtil.js +0 -240
- package/lib/utils/coreUtil.js +0 -156
- package/lib/utils/currencyUtil.js +0 -190
- package/lib/utils/dataTreeUtils.js +0 -105
- package/lib/utils/dateUtil.js +0 -70
- package/lib/utils/storeUtil.js +0 -258
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import _Symbol from './_Symbol.js';
|
|
2
|
+
import _Uint8Array from './_Uint8Array.js';
|
|
3
|
+
import eq_1 from './eq.js';
|
|
4
|
+
import _equalArrays from './_equalArrays.js';
|
|
5
|
+
import _mapToArray from './_mapToArray.js';
|
|
6
|
+
import _setToArray from './_setToArray.js';
|
|
7
|
+
|
|
8
|
+
var Symbol = _Symbol,
|
|
9
|
+
Uint8Array = _Uint8Array,
|
|
10
|
+
eq = eq_1,
|
|
11
|
+
equalArrays = _equalArrays,
|
|
12
|
+
mapToArray = _mapToArray,
|
|
13
|
+
setToArray = _setToArray;
|
|
14
|
+
|
|
15
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
16
|
+
var COMPARE_PARTIAL_FLAG = 1,
|
|
17
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
18
|
+
|
|
19
|
+
/** `Object#toString` result references. */
|
|
20
|
+
var boolTag = '[object Boolean]',
|
|
21
|
+
dateTag = '[object Date]',
|
|
22
|
+
errorTag = '[object Error]',
|
|
23
|
+
mapTag = '[object Map]',
|
|
24
|
+
numberTag = '[object Number]',
|
|
25
|
+
regexpTag = '[object RegExp]',
|
|
26
|
+
setTag = '[object Set]',
|
|
27
|
+
stringTag = '[object String]',
|
|
28
|
+
symbolTag = '[object Symbol]';
|
|
29
|
+
|
|
30
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
31
|
+
dataViewTag = '[object DataView]';
|
|
32
|
+
|
|
33
|
+
/** Used to convert symbols to primitives and strings. */
|
|
34
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
35
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
39
|
+
* the same `toStringTag`.
|
|
40
|
+
*
|
|
41
|
+
* **Note:** This function only supports comparing values with tags of
|
|
42
|
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
43
|
+
*
|
|
44
|
+
* @private
|
|
45
|
+
* @param {Object} object The object to compare.
|
|
46
|
+
* @param {Object} other The other object to compare.
|
|
47
|
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
48
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
49
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
50
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
51
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
52
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
53
|
+
*/
|
|
54
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
55
|
+
switch (tag) {
|
|
56
|
+
case dataViewTag:
|
|
57
|
+
if ((object.byteLength != other.byteLength) ||
|
|
58
|
+
(object.byteOffset != other.byteOffset)) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
object = object.buffer;
|
|
62
|
+
other = other.buffer;
|
|
63
|
+
|
|
64
|
+
case arrayBufferTag:
|
|
65
|
+
if ((object.byteLength != other.byteLength) ||
|
|
66
|
+
!equalFunc(new Uint8Array(object), new Uint8Array(other))) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return true;
|
|
70
|
+
|
|
71
|
+
case boolTag:
|
|
72
|
+
case dateTag:
|
|
73
|
+
case numberTag:
|
|
74
|
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
75
|
+
// Invalid dates are coerced to `NaN`.
|
|
76
|
+
return eq(+object, +other);
|
|
77
|
+
|
|
78
|
+
case errorTag:
|
|
79
|
+
return object.name == other.name && object.message == other.message;
|
|
80
|
+
|
|
81
|
+
case regexpTag:
|
|
82
|
+
case stringTag:
|
|
83
|
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
84
|
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
85
|
+
// for more details.
|
|
86
|
+
return object == (other + '');
|
|
87
|
+
|
|
88
|
+
case mapTag:
|
|
89
|
+
var convert = mapToArray;
|
|
90
|
+
|
|
91
|
+
case setTag:
|
|
92
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
|
93
|
+
convert || (convert = setToArray);
|
|
94
|
+
|
|
95
|
+
if (object.size != other.size && !isPartial) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
// Assume cyclic values are equal.
|
|
99
|
+
var stacked = stack.get(object);
|
|
100
|
+
if (stacked) {
|
|
101
|
+
return stacked == other;
|
|
102
|
+
}
|
|
103
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
104
|
+
|
|
105
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
106
|
+
stack.set(object, other);
|
|
107
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
108
|
+
stack['delete'](object);
|
|
109
|
+
return result;
|
|
110
|
+
|
|
111
|
+
case symbolTag:
|
|
112
|
+
if (symbolValueOf) {
|
|
113
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
var _equalByTag = equalByTag;
|
|
120
|
+
|
|
121
|
+
export { _equalByTag as default };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import _getAllKeys from './_getAllKeys.js';
|
|
2
|
+
|
|
3
|
+
var getAllKeys = _getAllKeys;
|
|
4
|
+
|
|
5
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
7
|
+
|
|
8
|
+
/** Used for built-in method references. */
|
|
9
|
+
var objectProto = Object.prototype;
|
|
10
|
+
|
|
11
|
+
/** Used to check objects for own properties. */
|
|
12
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
16
|
+
* partial deep comparisons.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @param {Object} object The object to compare.
|
|
20
|
+
* @param {Object} other The other object to compare.
|
|
21
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
22
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
23
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
24
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
25
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
26
|
+
*/
|
|
27
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
28
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
|
|
29
|
+
objProps = getAllKeys(object),
|
|
30
|
+
objLength = objProps.length,
|
|
31
|
+
othProps = getAllKeys(other),
|
|
32
|
+
othLength = othProps.length;
|
|
33
|
+
|
|
34
|
+
if (objLength != othLength && !isPartial) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
var index = objLength;
|
|
38
|
+
while (index--) {
|
|
39
|
+
var key = objProps[index];
|
|
40
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
// Check that cyclic values are equal.
|
|
45
|
+
var objStacked = stack.get(object);
|
|
46
|
+
var othStacked = stack.get(other);
|
|
47
|
+
if (objStacked && othStacked) {
|
|
48
|
+
return objStacked == other && othStacked == object;
|
|
49
|
+
}
|
|
50
|
+
var result = true;
|
|
51
|
+
stack.set(object, other);
|
|
52
|
+
stack.set(other, object);
|
|
53
|
+
|
|
54
|
+
var skipCtor = isPartial;
|
|
55
|
+
while (++index < objLength) {
|
|
56
|
+
key = objProps[index];
|
|
57
|
+
var objValue = object[key],
|
|
58
|
+
othValue = other[key];
|
|
59
|
+
|
|
60
|
+
if (customizer) {
|
|
61
|
+
var compared = isPartial
|
|
62
|
+
? customizer(othValue, objValue, key, other, object, stack)
|
|
63
|
+
: customizer(objValue, othValue, key, object, other, stack);
|
|
64
|
+
}
|
|
65
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
66
|
+
if (!(compared === undefined
|
|
67
|
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
68
|
+
: compared
|
|
69
|
+
)) {
|
|
70
|
+
result = false;
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
skipCtor || (skipCtor = key == 'constructor');
|
|
74
|
+
}
|
|
75
|
+
if (result && !skipCtor) {
|
|
76
|
+
var objCtor = object.constructor,
|
|
77
|
+
othCtor = other.constructor;
|
|
78
|
+
|
|
79
|
+
// Non `Object` object instances with different constructors are not equal.
|
|
80
|
+
if (objCtor != othCtor &&
|
|
81
|
+
('constructor' in object && 'constructor' in other) &&
|
|
82
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
83
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
84
|
+
result = false;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
stack['delete'](object);
|
|
88
|
+
stack['delete'](other);
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
var _equalObjects = equalObjects;
|
|
93
|
+
|
|
94
|
+
export { _equalObjects as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';
|
|
2
|
+
|
|
3
|
+
/** Detect free variable `global` from Node.js. */
|
|
4
|
+
|
|
5
|
+
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
6
|
+
|
|
7
|
+
var _freeGlobal = freeGlobal;
|
|
8
|
+
|
|
9
|
+
export { _freeGlobal as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _baseGetAllKeys from './_baseGetAllKeys.js';
|
|
2
|
+
import _getSymbols from './_getSymbols.js';
|
|
3
|
+
import keys_1 from './keys.js';
|
|
4
|
+
|
|
5
|
+
var baseGetAllKeys = _baseGetAllKeys,
|
|
6
|
+
getSymbols = _getSymbols,
|
|
7
|
+
keys = keys_1;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Creates an array of own enumerable property names and symbols of `object`.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {Object} object The object to query.
|
|
14
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
15
|
+
*/
|
|
16
|
+
function getAllKeys(object) {
|
|
17
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var _getAllKeys = getAllKeys;
|
|
21
|
+
|
|
22
|
+
export { _getAllKeys as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _baseGetAllKeys from './_baseGetAllKeys.js';
|
|
2
|
+
import _getSymbolsIn from './_getSymbolsIn.js';
|
|
3
|
+
import keysIn_1 from './keysIn.js';
|
|
4
|
+
|
|
5
|
+
var baseGetAllKeys = _baseGetAllKeys,
|
|
6
|
+
getSymbolsIn = _getSymbolsIn,
|
|
7
|
+
keysIn = keysIn_1;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Creates an array of own and inherited enumerable property names and
|
|
11
|
+
* symbols of `object`.
|
|
12
|
+
*
|
|
13
|
+
* @private
|
|
14
|
+
* @param {Object} object The object to query.
|
|
15
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
16
|
+
*/
|
|
17
|
+
function getAllKeysIn(object) {
|
|
18
|
+
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var _getAllKeysIn = getAllKeysIn;
|
|
22
|
+
|
|
23
|
+
export { _getAllKeysIn as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _isKeyable from './_isKeyable.js';
|
|
2
|
+
|
|
3
|
+
var isKeyable = _isKeyable;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Gets the data for `map`.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @param {Object} map The map to query.
|
|
10
|
+
* @param {string} key The reference key.
|
|
11
|
+
* @returns {*} Returns the map data.
|
|
12
|
+
*/
|
|
13
|
+
function getMapData(map, key) {
|
|
14
|
+
var data = map.__data__;
|
|
15
|
+
return isKeyable(key)
|
|
16
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
17
|
+
: data.map;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var _getMapData = getMapData;
|
|
21
|
+
|
|
22
|
+
export { _getMapData as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import _isStrictComparable from './_isStrictComparable.js';
|
|
2
|
+
import keys_1 from './keys.js';
|
|
3
|
+
|
|
4
|
+
var isStrictComparable = _isStrictComparable,
|
|
5
|
+
keys = keys_1;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Gets the property names, values, and compare flags of `object`.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to query.
|
|
12
|
+
* @returns {Array} Returns the match data of `object`.
|
|
13
|
+
*/
|
|
14
|
+
function getMatchData(object) {
|
|
15
|
+
var result = keys(object),
|
|
16
|
+
length = result.length;
|
|
17
|
+
|
|
18
|
+
while (length--) {
|
|
19
|
+
var key = result[length],
|
|
20
|
+
value = object[key];
|
|
21
|
+
|
|
22
|
+
result[length] = [key, value, isStrictComparable(value)];
|
|
23
|
+
}
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var _getMatchData = getMatchData;
|
|
28
|
+
|
|
29
|
+
export { _getMatchData as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _baseIsNative from './_baseIsNative.js';
|
|
2
|
+
import _getValue from './_getValue.js';
|
|
3
|
+
|
|
4
|
+
var baseIsNative = _baseIsNative,
|
|
5
|
+
getValue = _getValue;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Gets the native function at `key` of `object`.
|
|
9
|
+
*
|
|
10
|
+
* @private
|
|
11
|
+
* @param {Object} object The object to query.
|
|
12
|
+
* @param {string} key The key of the method to get.
|
|
13
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
14
|
+
*/
|
|
15
|
+
function getNative(object, key) {
|
|
16
|
+
var value = getValue(object, key);
|
|
17
|
+
return baseIsNative(value) ? value : undefined;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var _getNative = getNative;
|
|
21
|
+
|
|
22
|
+
export { _getNative as default };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _Symbol from './_Symbol.js';
|
|
2
|
+
|
|
3
|
+
var Symbol = _Symbol;
|
|
4
|
+
|
|
5
|
+
/** Used for built-in method references. */
|
|
6
|
+
var objectProto = Object.prototype;
|
|
7
|
+
|
|
8
|
+
/** Used to check objects for own properties. */
|
|
9
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Used to resolve the
|
|
13
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
14
|
+
* of values.
|
|
15
|
+
*/
|
|
16
|
+
var nativeObjectToString = objectProto.toString;
|
|
17
|
+
|
|
18
|
+
/** Built-in value references. */
|
|
19
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
23
|
+
*
|
|
24
|
+
* @private
|
|
25
|
+
* @param {*} value The value to query.
|
|
26
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
27
|
+
*/
|
|
28
|
+
function getRawTag(value) {
|
|
29
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
30
|
+
tag = value[symToStringTag];
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
value[symToStringTag] = undefined;
|
|
34
|
+
var unmasked = true;
|
|
35
|
+
} catch (e) {}
|
|
36
|
+
|
|
37
|
+
var result = nativeObjectToString.call(value);
|
|
38
|
+
if (unmasked) {
|
|
39
|
+
if (isOwn) {
|
|
40
|
+
value[symToStringTag] = tag;
|
|
41
|
+
} else {
|
|
42
|
+
delete value[symToStringTag];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
var _getRawTag = getRawTag;
|
|
49
|
+
|
|
50
|
+
export { _getRawTag as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _arrayFilter from './_arrayFilter.js';
|
|
2
|
+
import stubArray_1 from './stubArray.js';
|
|
3
|
+
|
|
4
|
+
var arrayFilter = _arrayFilter,
|
|
5
|
+
stubArray = stubArray_1;
|
|
6
|
+
|
|
7
|
+
/** Used for built-in method references. */
|
|
8
|
+
var objectProto = Object.prototype;
|
|
9
|
+
|
|
10
|
+
/** Built-in value references. */
|
|
11
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
12
|
+
|
|
13
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
14
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Creates an array of the own enumerable symbols of `object`.
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
* @param {Object} object The object to query.
|
|
21
|
+
* @returns {Array} Returns the array of symbols.
|
|
22
|
+
*/
|
|
23
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
24
|
+
if (object == null) {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
object = Object(object);
|
|
28
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
29
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
var _getSymbols = getSymbols;
|
|
34
|
+
|
|
35
|
+
export { _getSymbols as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import _arrayPush from './_arrayPush.js';
|
|
2
|
+
import _getPrototype from './_getPrototype.js';
|
|
3
|
+
import _getSymbols from './_getSymbols.js';
|
|
4
|
+
import stubArray_1 from './stubArray.js';
|
|
5
|
+
|
|
6
|
+
var arrayPush = _arrayPush,
|
|
7
|
+
getPrototype = _getPrototype,
|
|
8
|
+
getSymbols = _getSymbols,
|
|
9
|
+
stubArray = stubArray_1;
|
|
10
|
+
|
|
11
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
12
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
16
|
+
*
|
|
17
|
+
* @private
|
|
18
|
+
* @param {Object} object The object to query.
|
|
19
|
+
* @returns {Array} Returns the array of symbols.
|
|
20
|
+
*/
|
|
21
|
+
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
|
22
|
+
var result = [];
|
|
23
|
+
while (object) {
|
|
24
|
+
arrayPush(result, getSymbols(object));
|
|
25
|
+
object = getPrototype(object);
|
|
26
|
+
}
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var _getSymbolsIn = getSymbolsIn;
|
|
31
|
+
|
|
32
|
+
export { _getSymbolsIn as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import _DataView from './_DataView.js';
|
|
2
|
+
import _Map from './_Map.js';
|
|
3
|
+
import _Promise from './_Promise.js';
|
|
4
|
+
import _Set from './_Set.js';
|
|
5
|
+
import _WeakMap from './_WeakMap.js';
|
|
6
|
+
import _baseGetTag from './_baseGetTag.js';
|
|
7
|
+
import _toSource from './_toSource.js';
|
|
8
|
+
|
|
9
|
+
var DataView = _DataView,
|
|
10
|
+
Map = _Map,
|
|
11
|
+
Promise$1 = _Promise,
|
|
12
|
+
Set = _Set,
|
|
13
|
+
WeakMap = _WeakMap,
|
|
14
|
+
baseGetTag = _baseGetTag,
|
|
15
|
+
toSource = _toSource;
|
|
16
|
+
|
|
17
|
+
/** `Object#toString` result references. */
|
|
18
|
+
var mapTag = '[object Map]',
|
|
19
|
+
objectTag = '[object Object]',
|
|
20
|
+
promiseTag = '[object Promise]',
|
|
21
|
+
setTag = '[object Set]',
|
|
22
|
+
weakMapTag = '[object WeakMap]';
|
|
23
|
+
|
|
24
|
+
var dataViewTag = '[object DataView]';
|
|
25
|
+
|
|
26
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
27
|
+
var dataViewCtorString = toSource(DataView),
|
|
28
|
+
mapCtorString = toSource(Map),
|
|
29
|
+
promiseCtorString = toSource(Promise$1),
|
|
30
|
+
setCtorString = toSource(Set),
|
|
31
|
+
weakMapCtorString = toSource(WeakMap);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets the `toStringTag` of `value`.
|
|
35
|
+
*
|
|
36
|
+
* @private
|
|
37
|
+
* @param {*} value The value to query.
|
|
38
|
+
* @returns {string} Returns the `toStringTag`.
|
|
39
|
+
*/
|
|
40
|
+
var getTag = baseGetTag;
|
|
41
|
+
|
|
42
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
43
|
+
if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
44
|
+
(Map && getTag(new Map) != mapTag) ||
|
|
45
|
+
(Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
|
|
46
|
+
(Set && getTag(new Set) != setTag) ||
|
|
47
|
+
(WeakMap && getTag(new WeakMap) != weakMapTag)) {
|
|
48
|
+
getTag = function(value) {
|
|
49
|
+
var result = baseGetTag(value),
|
|
50
|
+
Ctor = result == objectTag ? value.constructor : undefined,
|
|
51
|
+
ctorString = Ctor ? toSource(Ctor) : '';
|
|
52
|
+
|
|
53
|
+
if (ctorString) {
|
|
54
|
+
switch (ctorString) {
|
|
55
|
+
case dataViewCtorString: return dataViewTag;
|
|
56
|
+
case mapCtorString: return mapTag;
|
|
57
|
+
case promiseCtorString: return promiseTag;
|
|
58
|
+
case setCtorString: return setTag;
|
|
59
|
+
case weakMapCtorString: return weakMapTag;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var _getTag = getTag;
|
|
67
|
+
|
|
68
|
+
export { _getTag as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the value at `key` of `object`.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @param {Object} [object] The object to query.
|
|
6
|
+
* @param {string} key The key of the property to get.
|
|
7
|
+
* @returns {*} Returns the property value.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
function getValue(object, key) {
|
|
11
|
+
return object == null ? undefined : object[key];
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
var _getValue = getValue;
|
|
15
|
+
|
|
16
|
+
export { _getValue as default };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _castPath from './_castPath.js';
|
|
2
|
+
import isArguments_1 from './isArguments.js';
|
|
3
|
+
import isArray_1 from './isArray.js';
|
|
4
|
+
import _isIndex from './_isIndex.js';
|
|
5
|
+
import isLength_1 from './isLength.js';
|
|
6
|
+
import _toKey from './_toKey.js';
|
|
7
|
+
|
|
8
|
+
var castPath = _castPath,
|
|
9
|
+
isArguments = isArguments_1,
|
|
10
|
+
isArray = isArray_1,
|
|
11
|
+
isIndex = _isIndex,
|
|
12
|
+
isLength = isLength_1,
|
|
13
|
+
toKey = _toKey;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Checks if `path` exists on `object`.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @param {Object} object The object to query.
|
|
20
|
+
* @param {Array|string} path The path to check.
|
|
21
|
+
* @param {Function} hasFunc The function to check properties.
|
|
22
|
+
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
|
23
|
+
*/
|
|
24
|
+
function hasPath(object, path, hasFunc) {
|
|
25
|
+
path = castPath(path, object);
|
|
26
|
+
|
|
27
|
+
var index = -1,
|
|
28
|
+
length = path.length,
|
|
29
|
+
result = false;
|
|
30
|
+
|
|
31
|
+
while (++index < length) {
|
|
32
|
+
var key = toKey(path[index]);
|
|
33
|
+
if (!(result = object != null && hasFunc(object, key))) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
object = object[key];
|
|
37
|
+
}
|
|
38
|
+
if (result || ++index != length) {
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
length = object == null ? 0 : object.length;
|
|
42
|
+
return !!length && isLength(length) && isIndex(key, length) &&
|
|
43
|
+
(isArray(object) || isArguments(object));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
var _hasPath = hasPath;
|
|
47
|
+
|
|
48
|
+
export { _hasPath as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import _nativeCreate from './_nativeCreate.js';
|
|
2
|
+
|
|
3
|
+
var nativeCreate = _nativeCreate;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Removes all key-value entries from the hash.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
* @name clear
|
|
10
|
+
* @memberOf Hash
|
|
11
|
+
*/
|
|
12
|
+
function hashClear() {
|
|
13
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
14
|
+
this.size = 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var _hashClear = hashClear;
|
|
18
|
+
|
|
19
|
+
export { _hashClear as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Removes `key` and its value from the hash.
|
|
3
|
+
*
|
|
4
|
+
* @private
|
|
5
|
+
* @name delete
|
|
6
|
+
* @memberOf Hash
|
|
7
|
+
* @param {Object} hash The hash to modify.
|
|
8
|
+
* @param {string} key The key of the value to remove.
|
|
9
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
function hashDelete(key) {
|
|
13
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
14
|
+
this.size -= result ? 1 : 0;
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var _hashDelete = hashDelete;
|
|
19
|
+
|
|
20
|
+
export { _hashDelete as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _nativeCreate from './_nativeCreate.js';
|
|
2
|
+
|
|
3
|
+
var nativeCreate = _nativeCreate;
|
|
4
|
+
|
|
5
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
7
|
+
|
|
8
|
+
/** Used for built-in method references. */
|
|
9
|
+
var objectProto = Object.prototype;
|
|
10
|
+
|
|
11
|
+
/** Used to check objects for own properties. */
|
|
12
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets the hash value for `key`.
|
|
16
|
+
*
|
|
17
|
+
* @private
|
|
18
|
+
* @name get
|
|
19
|
+
* @memberOf Hash
|
|
20
|
+
* @param {string} key The key of the value to get.
|
|
21
|
+
* @returns {*} Returns the entry value.
|
|
22
|
+
*/
|
|
23
|
+
function hashGet(key) {
|
|
24
|
+
var data = this.__data__;
|
|
25
|
+
if (nativeCreate) {
|
|
26
|
+
var result = data[key];
|
|
27
|
+
return result === HASH_UNDEFINED ? undefined : result;
|
|
28
|
+
}
|
|
29
|
+
return hasOwnProperty.call(data, key) ? data[key] : undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var _hashGet = hashGet;
|
|
33
|
+
|
|
34
|
+
export { _hashGet as default };
|