@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,54 @@
|
|
|
1
|
+
import { __extends } from '../../../../my_node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { InputNumber } from 'antd';
|
|
4
|
+
import './index.less.js';
|
|
5
|
+
|
|
6
|
+
var NewInputNumber =
|
|
7
|
+
/** @class */
|
|
8
|
+
function (_super) {
|
|
9
|
+
__extends(NewInputNumber, _super);
|
|
10
|
+
|
|
11
|
+
function NewInputNumber() {
|
|
12
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
NewInputNumber.prototype.render = function () {
|
|
16
|
+
var _a = this.props,
|
|
17
|
+
value = _a.value,
|
|
18
|
+
onChange = _a.onChange,
|
|
19
|
+
min = _a.min,
|
|
20
|
+
max = _a.max,
|
|
21
|
+
step = _a.step,
|
|
22
|
+
unit = _a.unit;
|
|
23
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
24
|
+
className: "m-input-number"
|
|
25
|
+
}, /*#__PURE__*/React__default.createElement(InputNumber, {
|
|
26
|
+
className: "input",
|
|
27
|
+
controls: false,
|
|
28
|
+
max: max,
|
|
29
|
+
min: min,
|
|
30
|
+
onChange: function (v) {
|
|
31
|
+
return onChange(v);
|
|
32
|
+
},
|
|
33
|
+
step: step,
|
|
34
|
+
style: {
|
|
35
|
+
width: unit ? '30px' : '100%'
|
|
36
|
+
},
|
|
37
|
+
value: value
|
|
38
|
+
}), unit && /*#__PURE__*/React__default.createElement("span", {
|
|
39
|
+
className: "unit"
|
|
40
|
+
}, unit));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
NewInputNumber.defaultProps = {
|
|
44
|
+
value: '',
|
|
45
|
+
onChange: function () {},
|
|
46
|
+
min: 1,
|
|
47
|
+
max: 100,
|
|
48
|
+
step: 0,
|
|
49
|
+
unit: ''
|
|
50
|
+
};
|
|
51
|
+
return NewInputNumber;
|
|
52
|
+
}(React__default.Component);
|
|
53
|
+
|
|
54
|
+
export { NewInputNumber as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '../../../../my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".m-input-number {\n width: 60px;\n height: 34px;\n background: #FFFFFF;\n border: 1px solid #D2D9E5;\n border-radius: 8px;\n padding: 0 7px;\n position: relative;\n}\n.m-input-number .ant-input-number-focused {\n box-shadow: none;\n}\n.m-input-number .input {\n height: 100%;\n border-radius: 8px;\n border: none;\n}\n.m-input-number .input input {\n width: 100%;\n padding: 0;\n text-align: center;\n border: none;\n}\n.m-input-number .unit {\n color: #7988a5;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAACOCAYAAACPDrIwAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAY4SURBVHgB7d1dThtXGIDhb2ZsBgMmDm0jgfIrJVJQFKXsgK6gWUKzgiQrAFZQuoJ2CckKyg5oFFVUzQ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+XZXA2ztIMi/D6uz+a6Pks7KMLvo2E21+VZ2kERfh8NU1r8bxOEf4qG2Vym0Aj/FNdnc12fpR0U4fdxdTZXyyztoHgGPoDZXPex4kMlwodKhA+VCB8qET5UInyoRPhQifChEuFDJcKHSoQPlbhX5xOMy2wus7TDY8Uf0TjN5jJLOzzCH9G4zeYySzscwh/ROM7mMks7OMIf0ThOaTFLOzjCH9E4zuYySzs4wh/RuM3mMks7HMIf0bjM5jJLOxqeqU/AbO7FxYoPlQgfKhE+VCJ8qET4UInwoRLhQyXCh0qED5UIHyoRPlQifKhE+FCJ8KES4UMlwodKhA+VCB8qET5UInyoRPhQifChEuFDJcKHSoQPlQgfKhE+VCJ8qET4UInwoVI3/Mh+SIwRwGVJ0mk8C9/zZMdu223eQwlua7TibJuFn670L+y2Wm8J4LJGsyd8MfKb3VRrvF0k3FZvdBrvrPhh6xe7tS8DHOfDVe04kUqtc1SThb9061bked6GPfCPDusCuKhcaWTbdG1/fnI5sx3Ha3Z7cFRn1Ydz7GrfDT8xyfpJ+EuL1za6q/67g5oALtk/qEorvWrpiTyzrb/3B6x27D1KN1FUrstBmUMeuOGg3EhX++ykNmon/lO78174S4vzO8aY7JDnbVTtPhi4sGzDb6NKtm/bto3b/VO3LDy4e3XdJEkW/5v9I1Z+XFh2pbcNW7Zp23b3a97HvunF1u6q5/srdr84HcrlSwXJB9zag/FnL868i2oSHXUW7Sz6xWurvY/xzvoBL/7450l6wmvjL+VyvsxOhTIzE/ILgLFkgz9IL8fb4I/vyYns4U3vSt/lnffDNrf2bvp+e90T//vu56YLeSmEeZnI5yQMA/G9c38M8NnZ0O2Vmnq9lf5hqtn5A+zxTWieZzbacfCoe0zfb+BiN7d2lwPff5zuPhRgTNngJTZr99NLlmc97n9ps0T8uX5D2QAAAABJRU5ErkJggg==";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg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8F2BUGAAAAABJRU5ErkJggg==";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAACOCAYAAACPDrIwAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYXSURBVHgB7d1tTtt2HMDxn+0EE0JoyrZKoD5KrVRUVR03YCdYj7CeoO0JgBOMnWA7QnuCcQNWVRPT+gI2pjJVHTWEPMf+z3+HoLQ8NVKSGv++nxfYgsCL8OUf2/iniAAKOTKgra2t8kHT/8FxzSPHyLdG5Hb86bIA4xfEAW/HGW8bJ3qZD731hYW57c/5xs8O//WbnSUx3rIxZkmAlHLEedFxw58W791YP/9xF9jc3L3d8czPveBd1xE/70mx4Mukn5N8zk0+B4xbFBlptkNptUKpN9tSrbf6vuq8yEfO87NeAc4t9vWf/z41JlyJd8s27iulSSlPTxI6UqnTieSg1pTDalPa8X4sMMZZfXR/fu3Tx55Z8Os3u8smilbsvg1+dqZA8LgU7B/A3kFdKvEfgOW47srDe3Or/Y85teT+6L+6OpWs8sBlE1Sa8l9QTfY/jf9E+EeHN8lLw7XZaSkVJwS4rCrVlrzbO0z248Oe573Dno/CtyeybTfaiHfLrPTIir6VP8hH7qI94XX7H9B2zY/xplwq+kSPzCiX/OQ81e7aK5R253jF34iv03uR+2suvjw5/81McpkSyAp76fOv3SDZhlH03XHdbiTP7LY05RM9Mqd3Od7Ked5ysuIfHdtv2f2bc2XCRyb1r/pJ4W0vXLLbYmGC6JFZvbsOkn37wRjz2G7tLQhAlk0V/GSbhO867i279fOEj2wrTHYbP1rxk1uLxfc9AbIs73UP5XsH9Mn99K7DvTjItt79ZpzJQiXCh0qED5UIHyoRPlQifKhE+FCJ8KES4UMlwodKhA+VCB8qET5UInyoRPhQifChEuFDJcKHSoQPlQgfKhE+VCJ8qET4UInwoRLhQyXCh0qED5UIH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xuci37YxububdftrDnift/7XLGQl4Kfl4l8TnzfE9e58McAQ2dDt1dqGo12/I+pVvcfsEc3oTmOWe+E3pPeMf2nPrvYjc2dJc91n8a7jwVIKRu8hGb1YXzJ8rzH/Q8ww0T8ojIQYgAAAABJRU5ErkJggg==";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __extends } from '../../../../my_node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from '../../../../my_node_modules/classnames/index.js';
|
|
4
|
+
import './index.less.js';
|
|
5
|
+
import img from './imgs/left.png.js';
|
|
6
|
+
import img$1 from './imgs/center.png.js';
|
|
7
|
+
import img$2 from './imgs/right.png.js';
|
|
8
|
+
import Iconfont from '../Iconfont/index.js';
|
|
9
|
+
|
|
10
|
+
var defaultSource = [{
|
|
11
|
+
id: 'layout1',
|
|
12
|
+
name: 'left',
|
|
13
|
+
image: img
|
|
14
|
+
}, {
|
|
15
|
+
id: 'layout2',
|
|
16
|
+
name: 'center',
|
|
17
|
+
image: img$1
|
|
18
|
+
}, {
|
|
19
|
+
id: 'layout3',
|
|
20
|
+
name: 'right',
|
|
21
|
+
image: img$2
|
|
22
|
+
}];
|
|
23
|
+
|
|
24
|
+
var LayoutSelector =
|
|
25
|
+
/** @class */
|
|
26
|
+
function (_super) {
|
|
27
|
+
__extends(LayoutSelector, _super);
|
|
28
|
+
|
|
29
|
+
function LayoutSelector() {
|
|
30
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
31
|
+
|
|
32
|
+
_this.state = {};
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
LayoutSelector.prototype.render = function () {
|
|
37
|
+
var _a = this.props,
|
|
38
|
+
source = _a.source,
|
|
39
|
+
onChange = _a.onChange,
|
|
40
|
+
value = _a.value;
|
|
41
|
+
var sourceList = source || defaultSource;
|
|
42
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
43
|
+
className: "m-layout-selector"
|
|
44
|
+
}, sourceList.map(function (item) {
|
|
45
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
46
|
+
key: item.name,
|
|
47
|
+
className: classNames('item-wrap', {
|
|
48
|
+
active: value === item.name
|
|
49
|
+
}),
|
|
50
|
+
onClick: function () {
|
|
51
|
+
onChange(item.name);
|
|
52
|
+
}
|
|
53
|
+
}, item.image ? /*#__PURE__*/React__default.createElement("img", {
|
|
54
|
+
alt: item.name,
|
|
55
|
+
src: item.image
|
|
56
|
+
}) : /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
57
|
+
size: 32,
|
|
58
|
+
type: item.icon
|
|
59
|
+
}));
|
|
60
|
+
}));
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
LayoutSelector.defaultProps = {
|
|
64
|
+
value: 'left',
|
|
65
|
+
onChange: function () {}
|
|
66
|
+
};
|
|
67
|
+
return LayoutSelector;
|
|
68
|
+
}(React__default.Component);
|
|
69
|
+
|
|
70
|
+
export { LayoutSelector as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '../../../../my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".m-layout-selector {\n display: flex;\n flex-wrap: wrap;\n max-width: 306px;\n}\n.m-layout-selector .item-wrap {\n width: 94px;\n height: 70px;\n background: #F5F6F7;\n border-radius: 8px;\n margin-bottom: 12px;\n margin-right: 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n}\n.m-layout-selector .item-wrap > img {\n width: 100%;\n height: 100%;\n}\n.m-layout-selector .item-wrap:nth-of-type(3n) {\n margin-right: 0;\n}\n.m-layout-selector .item-wrap.active {\n background: #FFFFFF;\n border: 2px solid #2F54EB;\n}\n";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { __awaiter, __generator } from '../../../../../my_node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
|
+
import { Table } from 'antd';
|
|
4
|
+
import { commonFetch } from '../../../utils/commonUtil.js';
|
|
5
|
+
import { listToTree } from '../../../utils/businessUtil.js';
|
|
6
|
+
|
|
7
|
+
function CatgTable(props) {
|
|
8
|
+
var _this = this;
|
|
9
|
+
|
|
10
|
+
var onChange = props.onChange;
|
|
11
|
+
|
|
12
|
+
var _a = useState([]),
|
|
13
|
+
catgList = _a[0],
|
|
14
|
+
setCatgList = _a[1];
|
|
15
|
+
|
|
16
|
+
var _b = useState(false),
|
|
17
|
+
loading = _b[0],
|
|
18
|
+
setLoading = _b[1];
|
|
19
|
+
|
|
20
|
+
var queryCategory = function () {
|
|
21
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22
|
+
var res;
|
|
23
|
+
return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0:
|
|
26
|
+
setLoading(true);
|
|
27
|
+
return [4
|
|
28
|
+
/*yield*/
|
|
29
|
+
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/offercatgs/list"), {}, 'GET')];
|
|
30
|
+
|
|
31
|
+
case 1:
|
|
32
|
+
res = _a.sent();
|
|
33
|
+
setCatgList(listToTree(res));
|
|
34
|
+
setLoading(false);
|
|
35
|
+
return [2
|
|
36
|
+
/*return*/
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
useEffect(function () {
|
|
44
|
+
queryCategory();
|
|
45
|
+
}, []);
|
|
46
|
+
var columns = [{
|
|
47
|
+
title: 'Category',
|
|
48
|
+
dataIndex: 'catgName',
|
|
49
|
+
render: function (catgName) {
|
|
50
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
51
|
+
className: "productName"
|
|
52
|
+
}, catgName);
|
|
53
|
+
}
|
|
54
|
+
}];
|
|
55
|
+
var rowSelection = {
|
|
56
|
+
onChange: function (selectedRowKeys) {
|
|
57
|
+
onChange("catg-".concat(selectedRowKeys[0]));
|
|
58
|
+
},
|
|
59
|
+
type: 'radio'
|
|
60
|
+
};
|
|
61
|
+
return /*#__PURE__*/React__default.createElement(Table, {
|
|
62
|
+
bordered: false,
|
|
63
|
+
columns: columns,
|
|
64
|
+
dataSource: catgList,
|
|
65
|
+
defaultExpandAllRows: true,
|
|
66
|
+
loading: loading,
|
|
67
|
+
pagination: false,
|
|
68
|
+
rowKey: function (record) {
|
|
69
|
+
return record && record.key;
|
|
70
|
+
},
|
|
71
|
+
rowSelection: rowSelection,
|
|
72
|
+
scroll: {
|
|
73
|
+
y: 450
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export { CatgTable as default };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { __assign, __rest, __awaiter, __generator } from '../../../../../my_node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { Table } from 'antd';
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
import React__default, { useState, useEffect } from 'react';
|
|
5
|
+
import { commonFetch } from '../../../utils/commonUtil.js';
|
|
6
|
+
import { currencyToFont } from '../../../utils/currencyUtil.js';
|
|
7
|
+
|
|
8
|
+
function CouponTable(props) {
|
|
9
|
+
var _this = this;
|
|
10
|
+
|
|
11
|
+
var onChange = props.onChange;
|
|
12
|
+
|
|
13
|
+
var _a = useState([]),
|
|
14
|
+
data = _a[0],
|
|
15
|
+
setData = _a[1];
|
|
16
|
+
|
|
17
|
+
var _b = useState(false),
|
|
18
|
+
loading = _b[0],
|
|
19
|
+
setLoading = _b[1];
|
|
20
|
+
|
|
21
|
+
var _c = useState({
|
|
22
|
+
pageSize: 20,
|
|
23
|
+
pageIndex: 1,
|
|
24
|
+
total: 0
|
|
25
|
+
}),
|
|
26
|
+
paginationParams = _c[0];
|
|
27
|
+
_c[1];
|
|
28
|
+
|
|
29
|
+
var columns = [{
|
|
30
|
+
title: 'Coupon Name',
|
|
31
|
+
dataIndex: 'name'
|
|
32
|
+
}, {
|
|
33
|
+
title: 'Coupon Value',
|
|
34
|
+
dataIndex: 'value'
|
|
35
|
+
}, {
|
|
36
|
+
title: 'Period of Vaildity',
|
|
37
|
+
dataIndex: 'date'
|
|
38
|
+
}];
|
|
39
|
+
var rowSelection = {
|
|
40
|
+
type: 'radio',
|
|
41
|
+
onChange: function (selectedRowKeys, selectedRows) {
|
|
42
|
+
onChange("coupons-".concat(selectedRows[0].couponId));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var handleValue = function (obj) {
|
|
47
|
+
if (obj.thAmount) {
|
|
48
|
+
return obj.discountMethod === 'AMT' ? "Over ".concat(currencyToFont(obj.thAmount), " Minus ").concat(currencyToFont(obj.discountAmount)) : "".concat(Number(obj.discountAmount) / 100, "% off ").concat(currencyToFont(obj.thAmount));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return obj.discountMethod === 'AMT' ? "Minus ".concat(currencyToFont(obj.discountAmount)) : "".concat(Number(obj.discountAmount) / 100, "% off");
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var getCoupons = function (params) {
|
|
55
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
56
|
+
var res, list;
|
|
57
|
+
return __generator(this, function (_a) {
|
|
58
|
+
switch (_a.label) {
|
|
59
|
+
case 0:
|
|
60
|
+
setLoading(true);
|
|
61
|
+
return [4
|
|
62
|
+
/*yield*/
|
|
63
|
+
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/coupons/couponList/page?tableFlag=effective&isPublic=Y&state=A&pageTotal=false"), params, 'GET')];
|
|
64
|
+
|
|
65
|
+
case 1:
|
|
66
|
+
res = _a.sent();
|
|
67
|
+
list = res.list;
|
|
68
|
+
paginationParams.total = res.total;
|
|
69
|
+
setData(list && list.map(function (v, i) {
|
|
70
|
+
v.key = i + 1;
|
|
71
|
+
v.name = v.couponName;
|
|
72
|
+
v.date = v.getOffsetExp ? "Valid within ".concat(v.getOffsetExp, " days after collection") : "".concat(moment(v.effDate).format('YYYY-MM-DD'), "~").concat(moment(v.expDate).format('YYYY-MM-DD'));
|
|
73
|
+
v.value = handleValue(v);
|
|
74
|
+
return v;
|
|
75
|
+
}));
|
|
76
|
+
setLoading(false);
|
|
77
|
+
return [2
|
|
78
|
+
/*return*/
|
|
79
|
+
];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
var loadCouponsList = function () {
|
|
86
|
+
paginationParams.total;
|
|
87
|
+
var params = __rest(paginationParams, ["total"]);
|
|
88
|
+
|
|
89
|
+
getCoupons(params);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
useEffect(function () {
|
|
93
|
+
loadCouponsList();
|
|
94
|
+
}, []);
|
|
95
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
96
|
+
className: "coupons_modal"
|
|
97
|
+
}, /*#__PURE__*/React__default.createElement(Table, {
|
|
98
|
+
columns: columns,
|
|
99
|
+
dataSource: data,
|
|
100
|
+
loading: loading,
|
|
101
|
+
pagination: __assign(__assign({}, paginationParams), {
|
|
102
|
+
onChange: function (page) {
|
|
103
|
+
paginationParams.pageIndex = page;
|
|
104
|
+
loadCouponsList();
|
|
105
|
+
}
|
|
106
|
+
}),
|
|
107
|
+
rowSelection: rowSelection
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { CouponTable as default };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { __awaiter, __generator } from '../../../../../my_node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import { Table } from 'antd';
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
|
+
import { commonFetch } from '../../../utils/commonUtil.js';
|
|
5
|
+
|
|
6
|
+
function CustomTable(props) {
|
|
7
|
+
var _this = this;
|
|
8
|
+
|
|
9
|
+
var onChange = props.onChange;
|
|
10
|
+
|
|
11
|
+
var _a = useState([]),
|
|
12
|
+
cusPageList = _a[0],
|
|
13
|
+
setCusPageList = _a[1];
|
|
14
|
+
|
|
15
|
+
var _b = useState(false),
|
|
16
|
+
loading = _b[0],
|
|
17
|
+
setLoading = _b[1];
|
|
18
|
+
|
|
19
|
+
var queryCus = function (params) {
|
|
20
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
21
|
+
var res;
|
|
22
|
+
return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0:
|
|
25
|
+
setLoading(true);
|
|
26
|
+
return [4
|
|
27
|
+
/*yield*/
|
|
28
|
+
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/pages"), params, 'GET')];
|
|
29
|
+
|
|
30
|
+
case 1:
|
|
31
|
+
res = _a.sent();
|
|
32
|
+
setCusPageList(res);
|
|
33
|
+
setLoading(false);
|
|
34
|
+
return [2
|
|
35
|
+
/*return*/
|
|
36
|
+
];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
useEffect(function () {
|
|
43
|
+
queryCus({
|
|
44
|
+
pageType: 'Customized',
|
|
45
|
+
verType: 'Formal'
|
|
46
|
+
});
|
|
47
|
+
}, []);
|
|
48
|
+
var columns = [{
|
|
49
|
+
title: 'Page Name',
|
|
50
|
+
dataIndex: 'pageName'
|
|
51
|
+
}];
|
|
52
|
+
var rowSelection = {
|
|
53
|
+
onChange: function (selectedRowKeys) {
|
|
54
|
+
onChange("customized-".concat(selectedRowKeys[0]));
|
|
55
|
+
},
|
|
56
|
+
type: 'radio'
|
|
57
|
+
};
|
|
58
|
+
return /*#__PURE__*/React__default.createElement(Table, {
|
|
59
|
+
bordered: false,
|
|
60
|
+
columns: columns,
|
|
61
|
+
dataSource: cusPageList,
|
|
62
|
+
loading: loading,
|
|
63
|
+
pagination: false,
|
|
64
|
+
rowKey: "bdPageId",
|
|
65
|
+
rowSelection: rowSelection,
|
|
66
|
+
scroll: {
|
|
67
|
+
y: 450
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { CustomTable as default };
|