@fonixtree/magic-design 0.0.6 → 0.0.9
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/Alpha.js +3 -0
- package/_virtual/Alpha2.js +3 -0
- package/_virtual/AlphaPointer.js +3 -0
- package/_virtual/Block.js +3 -0
- package/_virtual/BlockSwatches.js +3 -0
- package/_virtual/CheckIcon.js +3 -0
- package/_virtual/Checkboard.js +3 -0
- package/_virtual/Chrome.js +3 -0
- package/_virtual/ChromeFields.js +3 -0
- package/_virtual/ChromePointer.js +3 -0
- package/_virtual/ChromePointerCircle.js +3 -0
- package/_virtual/Circle.js +3 -0
- package/_virtual/CircleSwatch.js +3 -0
- package/_virtual/ColorWrap.js +3 -0
- package/_virtual/Compact.js +3 -0
- package/_virtual/CompactColor.js +3 -0
- package/_virtual/CompactFields.js +3 -0
- package/_virtual/EditableInput.js +3 -0
- package/_virtual/Github.js +3 -0
- package/_virtual/GithubSwatch.js +3 -0
- package/_virtual/Hue.js +3 -0
- package/_virtual/Hue2.js +3 -0
- package/_virtual/HuePointer.js +3 -0
- package/_virtual/Material.js +3 -0
- package/_virtual/Photoshop.js +3 -0
- package/_virtual/PhotoshopButton.js +3 -0
- package/_virtual/PhotoshopFields.js +3 -0
- package/_virtual/PhotoshopPointer.js +3 -0
- package/_virtual/PhotoshopPointerCircle.js +3 -0
- package/_virtual/PhotoshopPreviews.js +3 -0
- package/_virtual/Raised.js +3 -0
- package/_virtual/ResizeObserver.es.js +6 -0
- package/_virtual/Saturation.js +3 -0
- package/_virtual/Sketch.js +3 -0
- package/_virtual/SketchFields.js +3 -0
- package/_virtual/SketchPresetColors.js +3 -0
- package/_virtual/Slider2.js +3 -0
- package/_virtual/SliderPointer.js +3 -0
- package/_virtual/SliderSwatch.js +3 -0
- package/_virtual/SliderSwatches.js +3 -0
- package/_virtual/Swatch.js +3 -0
- package/_virtual/Swatches.js +3 -0
- package/_virtual/SwatchesColor.js +3 -0
- package/_virtual/SwatchesGroup.js +3 -0
- package/_virtual/Twitter.js +3 -0
- package/_virtual/UnfoldMoreHorizontalIcon.js +3 -0
- package/_virtual/__node-resolve_empty.js +6 -0
- package/_virtual/_cloneBuffer.js +3 -0
- package/_virtual/_commonjs-dynamic-modules.js +5 -0
- package/_virtual/_commonjsHelpers.js +28 -0
- package/_virtual/_node-resolve_empty.js +3 -0
- package/_virtual/_nodeUtil.js +3 -0
- package/_virtual/_rollupPluginBabelHelpers.js +18 -0
- package/_virtual/active.js +3 -0
- package/_virtual/alpha3.js +3 -0
- package/_virtual/arrows.js +3 -0
- package/_virtual/autoprefix.js +3 -0
- package/_virtual/axios.js +3 -0
- package/_virtual/checkboard2.js +3 -0
- package/_virtual/color.js +3 -0
- package/_virtual/colors.es2015.js +6 -0
- package/_virtual/default-props.js +3 -0
- package/_virtual/dots.js +3 -0
- package/_virtual/each.js +3 -0
- package/_virtual/flattenNames.js +3 -0
- package/_virtual/hover.js +3 -0
- package/_virtual/hue3.js +3 -0
- package/_virtual/index.js +3 -0
- package/_virtual/index10.js +3 -0
- package/_virtual/index11.js +3 -0
- package/_virtual/index12.js +3 -0
- package/_virtual/index2.js +5 -0
- package/_virtual/index3.js +3 -0
- package/_virtual/index4.js +3 -0
- package/_virtual/index5.js +3 -0
- package/_virtual/index6.js +3 -0
- package/_virtual/index7.js +3 -0
- package/_virtual/index8.js +3 -0
- package/_virtual/index9.js +3 -0
- package/_virtual/initial-state.js +3 -0
- package/_virtual/inner-slider.js +3 -0
- package/_virtual/innerSliderUtils.js +3 -0
- package/_virtual/interaction.js +3 -0
- package/_virtual/interopRequireDefault.js +3 -0
- package/_virtual/isBuffer.js +3 -0
- package/_virtual/lodash.js +3 -0
- package/_virtual/loop.js +3 -0
- package/_virtual/macy.js +3 -0
- package/_virtual/mergeClasses.js +3 -0
- package/_virtual/moment.js +3 -0
- package/_virtual/moment2.js +3 -0
- package/_virtual/react-dom.development.js +3 -0
- package/_virtual/react-is.development.js +3 -0
- package/_virtual/react-is.production.min.js +3 -0
- package/_virtual/regeneratorRuntime.js +3 -0
- package/_virtual/rng-browser.js +3 -0
- package/_virtual/saturation2.js +3 -0
- package/_virtual/scheduler-tracing.development.js +3 -0
- package/_virtual/scheduler-tracing.production.min.js +3 -0
- package/_virtual/scheduler.development.js +3 -0
- package/_virtual/scheduler.production.min.js +3 -0
- package/_virtual/slider.js +3 -0
- package/_virtual/tinycolor.js +3 -0
- package/_virtual/toArray.js +3 -0
- package/_virtual/tracing.js +3 -0
- package/_virtual/track.js +3 -0
- package/_virtual/typeof.js +3 -0
- package/package.json +6 -140
- 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 +3 -0
- package/src/components/assets/less/index.less.js +4 -0
- package/src/components/common/AlignSelector/index.js +65 -0
- package/src/components/common/AlignSelector/index.less.js +4 -0
- package/src/components/common/Button/index.js +155 -0
- package/src/components/common/Button/index.less.js +4 -0
- package/src/components/common/ButtonIconLayout/index.js +66 -0
- package/src/components/common/ButtonIconLayout/index.less.js +4 -0
- package/src/components/common/Collapse/index.js +404 -0
- package/src/components/common/Collapse/index.less.js +4 -0
- package/src/components/common/ColorPicker/index.js +95 -0
- package/src/components/common/ColorPicker/index.less.js +4 -0
- package/src/components/common/ColorPickerInput/index.js +76 -0
- package/src/components/common/ColorPickerInput/index.less.js +4 -0
- package/src/components/common/CountDown/index.js +110 -0
- package/src/components/common/CountDown/index.less.js +4 -0
- package/src/components/common/Field/index.js +43 -0
- package/src/components/common/Field/index.less.js +4 -0
- package/src/components/common/FontStyles/index.js +124 -0
- package/src/components/common/FontStyles/index.less.js +4 -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 +4 -0
- package/src/components/common/IconPicker/index.js +93 -0
- package/src/components/common/IconPicker/index.less.js +4 -0
- package/src/components/common/Iconfont/index.js +74 -0
- package/src/components/common/Iconfont/index.less.js +4 -0
- package/src/components/common/ImageModal/CommonModal/const.js +16 -0
- package/src/components/common/ImageModal/CommonModal/index.js +114 -0
- package/src/components/common/ImageModal/CommonSelPicCard/index.js +147 -0
- package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +4 -0
- package/src/components/common/ImageModal/const.js +18 -0
- package/src/components/common/ImageModal/index.js +628 -0
- package/src/components/common/ImageModal/index.less.js +4 -0
- package/src/components/common/ImagePicker/index.js +124 -0
- package/src/components/common/ImagePicker/index.less.js +4 -0
- package/src/components/common/InputNumber/index.js +135 -0
- package/src/components/common/InputNumber/index.less.js +4 -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 +4 -0
- package/src/components/common/LinkModal/CatgTable/index.js +159 -0
- package/src/components/common/LinkModal/CouponTable/index.js +192 -0
- package/src/components/common/LinkModal/CustomTable/index.js +153 -0
- package/src/components/common/LinkModal/FilteredProductModal/index.js +544 -0
- package/src/components/common/LinkModal/FilteredProductModal/index.less.js +4 -0
- package/src/components/common/LinkModal/FunctionTable/index.js +147 -0
- package/src/components/common/LinkModal/ProductDetailPage/index.js +322 -0
- package/src/components/common/LinkModal/ProductDetailPage/index.less.js +4 -0
- package/src/components/common/LinkModal/index.js +193 -0
- package/src/components/common/LinkModal/index.less.js +4 -0
- package/src/components/common/NewImg/index.js +91 -0
- package/src/components/common/ProductModal/index.js +637 -0
- package/src/components/common/ProductModal/index.less.js +4 -0
- package/src/components/common/ProductSource/index.js +91 -0
- package/src/components/common/ProductSource/index.less.js +4 -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 +4 -0
- package/src/components/common/RcCollapse/motionUtil.js +37 -0
- package/src/components/common/Slider/index.js +175 -0
- package/src/components/common/Slider/index.less.js +4 -0
- package/src/components/common/SwitchCollapse/index.js +243 -0
- package/src/components/common/SwitchCollapse/index.less.js +4 -0
- package/src/components/common/UrlPicker/index.js +81 -0
- package/src/components/common/UrlPicker/index.less.js +4 -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 +256 -0
- package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +4 -0
- package/src/components/composite-comp/bol/components/Banner/pc/index.js +334 -0
- package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +4 -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 +4 -0
- package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +286 -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 +4 -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 +4 -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 +4 -0
- package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +535 -0
- package/src/components/composite-comp/bol/components/ImageText/index.js +33 -0
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +143 -0
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +4 -0
- package/src/components/composite-comp/bol/components/ImageText/pc/index.js +112 -0
- package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +234 -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 +224 -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 +4 -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 +116 -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 +4 -0
- package/src/components/composite-comp/common/components/ProductItem/index.js +121 -0
- package/src/components/composite-comp/common/components/ProductItem/index.less.js +4 -0
- package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +170 -0
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +263 -0
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +4 -0
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +214 -0
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +4 -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 +4 -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 +4 -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 +4 -0
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +202 -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 +4 -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 +237 -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 +4 -0
- package/src/components/core/Designer/CompListPanel/index.js +109 -0
- package/src/components/core/Designer/CompListPanel/index.less.js +4 -0
- package/src/components/core/Designer/ConfigPanel/index.js +246 -0
- package/src/components/core/Designer/ConfigPanel/index.less.js +4 -0
- package/src/components/core/Designer/History/index.js +82 -0
- package/src/components/core/Designer/PageCompList/index.js +328 -0
- package/src/components/core/Designer/PageCompList/index.less.js +4 -0
- package/src/components/core/Designer/QuickMenuBar/index.js +130 -0
- package/src/components/core/Designer/QuickMenuBar/index.less.js +4 -0
- package/src/components/core/Designer/ViewArea/index.js +86 -0
- package/src/components/core/Designer/ViewArea/index.less.js +4 -0
- package/src/components/core/Designer/index.js +445 -0
- package/src/components/core/Designer/index.less.js +4 -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 +113 -0
- package/src/components/meta-comp/components/Button/index.less.js +4 -0
- package/src/components/meta-comp/components/Image/index.js +121 -0
- package/src/components/meta-comp/components/Image/index.less.js +4 -0
- package/src/components/meta-comp/components/Text/index.js +386 -0
- package/src/components/meta-comp/components/Text/index.less.js +4 -0
- package/src/components/meta-comp/config-panels/BaseConfig.js +47 -0
- package/src/components/meta-comp/config-panels/ButtonConfig/index.js +389 -0
- package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +4 -0
- package/src/components/meta-comp/config-panels/ImageConfig/index.js +260 -0
- package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +4 -0
- package/src/components/meta-comp/config-panels/TextConfig/index.js +391 -0
- package/src/components/meta-comp/config-panels/TextConfig/index.less.js +4 -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 +223 -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/README.md +0 -311
- 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/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/Banner/index.js +0 -89
- package/es/composite-comp/bol/components/Banner/mobile/index.js +0 -216
- package/es/composite-comp/bol/components/Banner/mobile/index.less +0 -73
- package/es/composite-comp/bol/components/Banner/pc/index.js +0 -278
- package/es/composite-comp/bol/components/Banner/pc/index.less +0 -78
- package/es/composite-comp/bol/components/Button/defaultJSON.js +0 -114
- package/es/composite-comp/bol/components/Button/index.js +0 -103
- package/es/composite-comp/bol/components/Button/index.less +0 -47
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +0 -294
- package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/components/Carousel/index.js +0 -93
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +0 -251
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +0 -81
- package/es/composite-comp/bol/components/Carousel/pc/index.js +0 -250
- package/es/composite-comp/bol/components/Carousel/pc/index.less +0 -81
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/es/composite-comp/bol/components/Divider/index.js +0 -101
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/index.js +0 -84
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -83
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -73
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +0 -537
- package/es/composite-comp/bol/components/ImageText/index.js +0 -88
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +0 -181
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +0 -288
- package/es/composite-comp/bol/components/ImageText/pc/index.js +0 -155
- package/es/composite-comp/bol/components/ImageText/pc/index.less +0 -106
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/es/composite-comp/bol/components/Newsletter/index.js +0 -127
- package/es/composite-comp/bol/components/Newsletter/index.less +0 -75
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/es/composite-comp/bol/components/Tag/index.js +0 -107
- package/es/composite-comp/bol/components/Tag/index.less +0 -34
- package/es/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/es/composite-comp/bol/components/Text/index.js +0 -123
- package/es/composite-comp/bol/components/Text/index.less +0 -61
- package/es/composite-comp/bol/components/Text/slice.svg +0 -1
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -126
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -225
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/BannerConfig/index.js +0 -46
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -99
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -67
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -144
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -199
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -136
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -98
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -177
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -89
- package/es/composite-comp/bol/config-panels/DividerConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -144
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -126
- package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -196
- package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -185
- package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -111
- package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -109
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -61
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -99
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -138
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -69
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -151
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -164
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -82
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -141
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -99
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -90
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
- package/es/composite-comp/common/components/ImageLabel/index.js +0 -90
- package/es/composite-comp/common/components/ImageLabel/index.less +0 -35
- package/es/composite-comp/common/components/ProductItem/index.js +0 -191
- package/es/composite-comp/common/components/ProductItem/index.less +0 -121
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -109
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -204
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -21
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -154
- package/es/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/es/composite-comp/dito/components/FlashDeal/index.js +0 -86
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -436
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -94
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/es/composite-comp/dito/components/Recommend/index.js +0 -86
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +0 -530
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +0 -79
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
- package/es/composite-comp/dito/components/SearchBar/index.js +0 -86
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +0 -108
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +0 -38
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -143
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -125
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -62
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -118
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -143
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -62
- package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -138
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -185
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -3
- 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/CompCard/index.js +0 -42
- package/es/core/Designer/CompListPanel/CompCard/index.less +0 -69
- 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 -185
- package/es/meta-comp/components/Button/index.less +0 -19
- package/es/meta-comp/components/Image/index.js +0 -171
- package/es/meta-comp/components/Image/index.less +0 -18
- package/es/meta-comp/components/Text/index.js +0 -473
- package/es/meta-comp/components/Text/index.less +0 -38
- 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 -353
- package/es/meta-comp/config-panels/ButtonConfig/index.less +0 -4
- package/es/meta-comp/config-panels/ImageConfig/index.js +0 -204
- package/es/meta-comp/config-panels/ImageConfig/index.less +0 -16
- package/es/meta-comp/config-panels/TextConfig/index.js +0 -327
- package/es/meta-comp/config-panels/TextConfig/index.less +0 -24
- 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 -269
- 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/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/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Banner/index.js +0 -89
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +0 -216
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +0 -73
- package/lib/composite-comp/bol/components/Banner/pc/index.js +0 -278
- package/lib/composite-comp/bol/components/Banner/pc/index.less +0 -78
- 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/Button/index.less +0 -47
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +0 -294
- package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +0 -93
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +0 -251
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +0 -81
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +0 -250
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +0 -81
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/lib/composite-comp/bol/components/Divider/index.js +0 -101
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/index.js +0 -84
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -83
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -73
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +0 -537
- package/lib/composite-comp/bol/components/ImageText/index.js +0 -88
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +0 -181
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +0 -288
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +0 -155
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +0 -106
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/lib/composite-comp/bol/components/Newsletter/index.js +0 -127
- package/lib/composite-comp/bol/components/Newsletter/index.less +0 -75
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/lib/composite-comp/bol/components/Tag/index.js +0 -107
- package/lib/composite-comp/bol/components/Tag/index.less +0 -34
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/lib/composite-comp/bol/components/Text/index.js +0 -123
- package/lib/composite-comp/bol/components/Text/index.less +0 -61
- package/lib/composite-comp/bol/components/Text/slice.svg +0 -1
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -126
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -225
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +0 -46
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -67
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -144
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -199
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -136
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -98
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -177
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -89
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -144
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -126
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -196
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -185
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -111
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -109
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -61
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -138
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -69
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -151
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -164
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -82
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -141
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -90
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
- package/lib/composite-comp/common/components/ImageLabel/index.js +0 -90
- package/lib/composite-comp/common/components/ImageLabel/index.less +0 -35
- package/lib/composite-comp/common/components/ProductItem/index.js +0 -191
- package/lib/composite-comp/common/components/ProductItem/index.less +0 -121
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -109
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -204
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -21
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -154
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/lib/composite-comp/dito/components/FlashDeal/index.js +0 -86
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -436
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -94
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/lib/composite-comp/dito/components/Recommend/index.js +0 -86
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +0 -530
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +0 -79
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
- package/lib/composite-comp/dito/components/SearchBar/index.js +0 -86
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +0 -108
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -38
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -143
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -125
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -62
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -118
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -143
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -62
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -138
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -185
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -3
- 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/CompCard/index.js +0 -42
- package/lib/core/Designer/CompListPanel/CompCard/index.less +0 -69
- 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 -185
- package/lib/meta-comp/components/Button/index.less +0 -19
- package/lib/meta-comp/components/Image/index.js +0 -171
- package/lib/meta-comp/components/Image/index.less +0 -18
- package/lib/meta-comp/components/Text/index.js +0 -473
- package/lib/meta-comp/components/Text/index.less +0 -38
- 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 -353
- package/lib/meta-comp/config-panels/ButtonConfig/index.less +0 -4
- package/lib/meta-comp/config-panels/ImageConfig/index.js +0 -204
- package/lib/meta-comp/config-panels/ImageConfig/index.less +0 -16
- package/lib/meta-comp/config-panels/TextConfig/index.js +0 -327
- package/lib/meta-comp/config-panels/TextConfig/index.less +0 -24
- 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 -269
- 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,124 @@
|
|
|
1
|
+
import { __extends } from '../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import './index.less.js';
|
|
4
|
+
import ImageModal from '../ImageModal/index.js';
|
|
5
|
+
import Iconfont from '../Iconfont/index.js';
|
|
6
|
+
|
|
7
|
+
var ImagePicker =
|
|
8
|
+
/** @class */
|
|
9
|
+
function (_super) {
|
|
10
|
+
__extends(ImagePicker, _super);
|
|
11
|
+
|
|
12
|
+
function ImagePicker() {
|
|
13
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14
|
+
|
|
15
|
+
_this.state = {
|
|
16
|
+
visible: false
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
_this.onChange = function (v) {
|
|
20
|
+
_this.props.onChange(v);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
_this.onModalOk = function (data) {
|
|
24
|
+
// setContents(params => {
|
|
25
|
+
// const uids = params.map(param => param.contentId);
|
|
26
|
+
// const newContents = [...params, ...data.filter(el => !uids.includes(el.contentId))];
|
|
27
|
+
// if (onChange) {
|
|
28
|
+
// onChange(newContents);
|
|
29
|
+
// }
|
|
30
|
+
// return newContents;
|
|
31
|
+
// });
|
|
32
|
+
_this.setState({
|
|
33
|
+
visible: false
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
if ((data === null || data === void 0 ? void 0 : data.length) > 0) {
|
|
37
|
+
console.log('---', data);
|
|
38
|
+
|
|
39
|
+
_this.props.onChange(data[0]);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
return _this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
ImagePicker.prototype.render = function () {
|
|
47
|
+
var _this = this;
|
|
48
|
+
|
|
49
|
+
var visible = this.state.visible;
|
|
50
|
+
var value = this.props.value;
|
|
51
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
52
|
+
className: "m-image-picker"
|
|
53
|
+
}, value ? /*#__PURE__*/React__default.createElement("div", {
|
|
54
|
+
className: "img-wrap",
|
|
55
|
+
onClick: function () {
|
|
56
|
+
_this.setState({
|
|
57
|
+
visible: true
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}, /*#__PURE__*/React__default.createElement("img", {
|
|
61
|
+
src: value
|
|
62
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
63
|
+
className: "btn-icons-modal",
|
|
64
|
+
onClick: function (e) {
|
|
65
|
+
return e.stopPropagation();
|
|
66
|
+
}
|
|
67
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
68
|
+
className: "btn-edit",
|
|
69
|
+
onClick: function () {
|
|
70
|
+
_this.setState({
|
|
71
|
+
visible: true
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}, /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
75
|
+
color: "#fff",
|
|
76
|
+
onClick: function () {},
|
|
77
|
+
size: 25,
|
|
78
|
+
type: "icon-setting"
|
|
79
|
+
}), "Edit"), /*#__PURE__*/React__default.createElement("span", {
|
|
80
|
+
className: "line"
|
|
81
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
82
|
+
className: "btn-del",
|
|
83
|
+
onClick: function () {
|
|
84
|
+
_this.props.onChange('');
|
|
85
|
+
}
|
|
86
|
+
}, /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
87
|
+
color: "#fff",
|
|
88
|
+
onClick: function () {},
|
|
89
|
+
size: 25,
|
|
90
|
+
type: "icon-delete1"
|
|
91
|
+
}), "Delete"))) : /*#__PURE__*/React__default.createElement("div", {
|
|
92
|
+
className: "no-img"
|
|
93
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
94
|
+
className: "hint-txt"
|
|
95
|
+
}, "Looks like you don't have any images in your gallery. Choose images to feature on this page."), /*#__PURE__*/React__default.createElement("div", {
|
|
96
|
+
className: "pick-btn",
|
|
97
|
+
onClick: function () {
|
|
98
|
+
_this.setState({
|
|
99
|
+
visible: true
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}, /*#__PURE__*/React__default.createElement(Iconfont, {
|
|
103
|
+
color: "#FFFFFF",
|
|
104
|
+
size: 18,
|
|
105
|
+
type: "icon-add"
|
|
106
|
+
}), /*#__PURE__*/React__default.createElement("p", null, "Add Image"))), visible && /*#__PURE__*/React__default.createElement(ImageModal, {
|
|
107
|
+
onCancel: function () {
|
|
108
|
+
_this.setState({
|
|
109
|
+
visible: false
|
|
110
|
+
});
|
|
111
|
+
},
|
|
112
|
+
onOk: this.onModalOk,
|
|
113
|
+
visible: true
|
|
114
|
+
}));
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
ImagePicker.defaultProps = {
|
|
118
|
+
value: '',
|
|
119
|
+
onChange: function () {}
|
|
120
|
+
};
|
|
121
|
+
return ImagePicker;
|
|
122
|
+
}(React__default.Component);
|
|
123
|
+
|
|
124
|
+
export { ImagePicker as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".index_m-image-picker__2mPt4 {\n padding-bottom: 12px;\n border-bottom: 1px dashed #D2D9E5;\n width: 100%;\n margin-bottom: 16px;\n cursor: pointer;\n}\n.index_m-image-picker__2mPt4 .index_no-img__92NJk .index_hint-txt__pbhEc {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n color: #232F46;\n margin-bottom: 12px;\n}\n.index_m-image-picker__2mPt4 .index_no-img__92NJk .index_pick-btn__QEs3d {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #2F54EB;\n height: 48px;\n border-radius: 8px;\n color: #FFFFFF;\n cursor: pointer;\n}\n.index_m-image-picker__2mPt4 .index_no-img__92NJk .index_pick-btn__QEs3d > p {\n margin-left: 12px;\n font-family: 'Open Sans';\n font-weight: 600;\n font-size: 16px;\n margin-bottom: 0;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 {\n width: 100%;\n height: 140px;\n position: relative;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2:hover .index_btn-icons-modal__SpTNJ {\n display: flex;\n transition: all 0.25s;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ {\n display: none;\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: #FFFFFF;\n background: rgba(35, 47, 70, 0.6);\n align-items: center;\n justify-content: center;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ .index_btn-edit__7FrOL {\n display: flex;\n align-items: center;\n margin-right: 20px;\n cursor: pointer;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ .index_btn-edit__7FrOL > span {\n margin-right: 5px;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ .index_btn-del__ELxvy {\n display: flex;\n align-items: center;\n margin-left: 20px;\n cursor: pointer;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ .index_btn-del__ELxvy > span {\n margin-right: 5px;\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 .index_btn-icons-modal__SpTNJ .index_line__51E9c {\n display: inline-block;\n width: 1px;\n height: 16px;\n background: rgba(255, 255, 255, 0.5);\n}\n.index_m-image-picker__2mPt4 .index_img-wrap__MvlC2 > img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n}\n";
|
|
4
|
+
styleInject(css_248z);
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { __extends } from '../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import '../../../../node_modules/antd/es/affix/index.js';
|
|
4
|
+
import '../../../../node_modules/antd/es/anchor/index.js';
|
|
5
|
+
import '../../../../node_modules/antd/es/auto-complete/index.js';
|
|
6
|
+
import '../../../../node_modules/antd/es/alert/index.js';
|
|
7
|
+
import '../../../../node_modules/antd/es/avatar/index.js';
|
|
8
|
+
import '../../../../node_modules/antd/es/back-top/index.js';
|
|
9
|
+
import '../../../../node_modules/antd/es/badge/index.js';
|
|
10
|
+
import '../../../../node_modules/antd/es/breadcrumb/Breadcrumb.js';
|
|
11
|
+
import '../../../../node_modules/antd/es/button/button.js';
|
|
12
|
+
import '../../../../node_modules/rc-picker/node_modules/moment/moment.js';
|
|
13
|
+
import '../../../../node_modules/rc-util/es/hooks/useMergedState.js';
|
|
14
|
+
import 'classnames';
|
|
15
|
+
import '../../../../node_modules/lodash/_baseToString.js';
|
|
16
|
+
import '../../../../node_modules/lodash/_baseGetTag.js';
|
|
17
|
+
import '../../../../node_modules/rc-util/es/raf.js';
|
|
18
|
+
import '../../../../node_modules/rc-picker/es/panels/DatetimePanel/index.js';
|
|
19
|
+
import '../../../../node_modules/rc-trigger/es/index.js';
|
|
20
|
+
import '../../../../node_modules/antd/es/locale-provider/LocaleReceiver.js';
|
|
21
|
+
import '../../../../node_modules/antd/es/date-picker/locale/en_US.js';
|
|
22
|
+
import '../../../../node_modules/antd/es/config-provider/index.js';
|
|
23
|
+
import '../../../../node_modules/rc-field-form/es/index.js';
|
|
24
|
+
import '../../../../node_modules/antd/es/select/index.js';
|
|
25
|
+
import '../../../../node_modules/antd/es/radio/index.js';
|
|
26
|
+
import '../../../../node_modules/antd/es/card/index.js';
|
|
27
|
+
import '../../../../node_modules/antd/es/collapse/Collapse.js';
|
|
28
|
+
import '../../../../node_modules/antd/es/carousel/index.js';
|
|
29
|
+
import '../../../../node_modules/antd/es/cascader/index.js';
|
|
30
|
+
import '../../../../node_modules/antd/es/checkbox/index.js';
|
|
31
|
+
import '../../../../node_modules/antd/es/grid/row.js';
|
|
32
|
+
import '../../../../node_modules/antd/es/grid/col.js';
|
|
33
|
+
import '../../../../node_modules/antd/es/comment/index.js';
|
|
34
|
+
import '../../../../node_modules/antd/es/date-picker/index.js';
|
|
35
|
+
import '../../../../_virtual/index2.js';
|
|
36
|
+
import '../../../../node_modules/antd/es/_util/warning.js';
|
|
37
|
+
import '../../../../node_modules/antd/es/divider/index.js';
|
|
38
|
+
import '../../../../node_modules/antd/es/dropdown/dropdown.js';
|
|
39
|
+
import '../../../../node_modules/antd/es/drawer/index.js';
|
|
40
|
+
import '../../../../node_modules/antd/es/empty/index.js';
|
|
41
|
+
import '../../../../node_modules/antd/es/form/index.js';
|
|
42
|
+
import '../../../../node_modules/antd/es/input/index.js';
|
|
43
|
+
import '../../../../node_modules/antd/es/image/index.js';
|
|
44
|
+
import InputNumber from '../../../../node_modules/antd/es/input-number/index.js';
|
|
45
|
+
import '../../../../node_modules/antd/es/layout/index.js';
|
|
46
|
+
import '../../../../node_modules/antd/es/list/index.js';
|
|
47
|
+
import '../../../../node_modules/antd/es/message/index.js';
|
|
48
|
+
import '../../../../node_modules/antd/es/menu/index.js';
|
|
49
|
+
import '../../../../node_modules/antd/es/mentions/index.js';
|
|
50
|
+
import '../../../../node_modules/antd/es/modal/index.js';
|
|
51
|
+
import '../../../../node_modules/antd/es/statistic/index.js';
|
|
52
|
+
import '../../../../node_modules/antd/es/notification/index.js';
|
|
53
|
+
import '../../../../node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js';
|
|
54
|
+
import '../../../../node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.js';
|
|
55
|
+
import '../../../../node_modules/rc-resize-observer/es/index.js';
|
|
56
|
+
import '../../../../node_modules/antd/es/space/index.js';
|
|
57
|
+
import '../../../../node_modules/antd/es/_util/transButton.js';
|
|
58
|
+
import '../../../../node_modules/antd/es/pagination/Pagination.js';
|
|
59
|
+
import '../../../../node_modules/antd/es/popconfirm/index.js';
|
|
60
|
+
import '../../../../node_modules/antd/es/popover/index.js';
|
|
61
|
+
import '../../../../node_modules/antd/es/progress/progress.js';
|
|
62
|
+
import '../../../../node_modules/antd/es/rate/index.js';
|
|
63
|
+
import '../../../../node_modules/antd/es/result/index.js';
|
|
64
|
+
import '../../../../node_modules/antd/es/segmented/index.js';
|
|
65
|
+
import '../../../../node_modules/antd/es/skeleton/Skeleton.js';
|
|
66
|
+
import '../../../../node_modules/antd/es/slider/index.js';
|
|
67
|
+
import '../../../../node_modules/antd/es/spin/index.js';
|
|
68
|
+
import '../../../../node_modules/antd/es/steps/index.js';
|
|
69
|
+
import '../../../../node_modules/antd/es/switch/index.js';
|
|
70
|
+
import '../../../../node_modules/antd/es/table/Table.js';
|
|
71
|
+
import '../../../../node_modules/antd/es/transfer/list.js';
|
|
72
|
+
import '../../../../node_modules/@ant-design/icons/es/icons/LeftOutlined.js';
|
|
73
|
+
import '../../../../node_modules/@ant-design/icons/es/icons/RightOutlined.js';
|
|
74
|
+
import '../../../../node_modules/@ant-design/icons/es/icons/SearchOutlined.js';
|
|
75
|
+
import '../../../../node_modules/antd/es/_util/statusUtils.js';
|
|
76
|
+
import '../../../../node_modules/antd/es/tree/Tree.js';
|
|
77
|
+
import '../../../../node_modules/antd/es/tree-select/index.js';
|
|
78
|
+
import '../../../../node_modules/antd/es/tabs/index.js';
|
|
79
|
+
import '../../../../node_modules/antd/es/tag/index.js';
|
|
80
|
+
import '../../../../node_modules/antd/es/time-picker/index.js';
|
|
81
|
+
import '../../../../node_modules/antd/es/timeline/Timeline.js';
|
|
82
|
+
import '../../../../node_modules/antd/es/tooltip/index.js';
|
|
83
|
+
import '../../../../node_modules/antd/es/typography/index.js';
|
|
84
|
+
import '../../../../node_modules/antd/es/upload/index.js';
|
|
85
|
+
import './index.less.js';
|
|
86
|
+
|
|
87
|
+
var NewInputNumber =
|
|
88
|
+
/** @class */
|
|
89
|
+
function (_super) {
|
|
90
|
+
__extends(NewInputNumber, _super);
|
|
91
|
+
|
|
92
|
+
function NewInputNumber() {
|
|
93
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
NewInputNumber.prototype.render = function () {
|
|
97
|
+
var _a = this.props,
|
|
98
|
+
value = _a.value,
|
|
99
|
+
onChange = _a.onChange,
|
|
100
|
+
min = _a.min,
|
|
101
|
+
max = _a.max,
|
|
102
|
+
step = _a.step,
|
|
103
|
+
unit = _a.unit;
|
|
104
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
105
|
+
className: "m-input-number"
|
|
106
|
+
}, /*#__PURE__*/React__default.createElement(InputNumber, {
|
|
107
|
+
className: "input",
|
|
108
|
+
controls: false,
|
|
109
|
+
max: max,
|
|
110
|
+
min: min,
|
|
111
|
+
onChange: function (v) {
|
|
112
|
+
return onChange(v);
|
|
113
|
+
},
|
|
114
|
+
step: step,
|
|
115
|
+
style: {
|
|
116
|
+
width: unit ? '30px' : '100%'
|
|
117
|
+
},
|
|
118
|
+
value: value
|
|
119
|
+
}), unit && /*#__PURE__*/React__default.createElement("span", {
|
|
120
|
+
className: "unit"
|
|
121
|
+
}, unit));
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
NewInputNumber.defaultProps = {
|
|
125
|
+
value: '',
|
|
126
|
+
onChange: function () {},
|
|
127
|
+
min: 1,
|
|
128
|
+
max: 100,
|
|
129
|
+
step: 0,
|
|
130
|
+
unit: ''
|
|
131
|
+
};
|
|
132
|
+
return NewInputNumber;
|
|
133
|
+
}(React__default.Component);
|
|
134
|
+
|
|
135
|
+
export { NewInputNumber as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".index_m-input-number__nxWjy {\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.index_m-input-number__nxWjy .index_ant-input-number-focused__4XXHU {\n box-shadow: none;\n}\n.index_m-input-number__nxWjy .index_input__n8ogk {\n height: 100%;\n border-radius: 8px;\n border: none;\n}\n.index_m-input-number__nxWjy .index_input__n8ogk input {\n width: 100%;\n padding: 0;\n text-align: center;\n border: none;\n}\n.index_m-input-number__nxWjy .index_unit__eM7y1 {\n color: #7988a5;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n";
|
|
4
|
+
styleInject(css_248z);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,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";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,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";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var img = "data:image/png;base64,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";
|
|
2
|
+
|
|
3
|
+
export { img as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __extends } from '../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
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,4 @@
|
|
|
1
|
+
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".index_m-layout-selector__9kz4- {\n display: flex;\n flex-wrap: wrap;\n max-width: 306px;\n}\n.index_m-layout-selector__9kz4- .index_item-wrap__mwIFB {\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.index_m-layout-selector__9kz4- .index_item-wrap__mwIFB > img {\n width: 100%;\n height: 100%;\n}\n.index_m-layout-selector__9kz4- .index_item-wrap__mwIFB:nth-of-type(3n) {\n margin-right: 0;\n}\n.index_m-layout-selector__9kz4- .index_item-wrap__mwIFB.index_active__kXInk {\n background: #FFFFFF;\n border: 2px solid #2F54EB;\n}\n";
|
|
4
|
+
styleInject(css_248z);
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { __awaiter, __generator } from '../../../../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
|
+
import '../../../../../node_modules/antd/es/affix/index.js';
|
|
4
|
+
import '../../../../../node_modules/antd/es/anchor/index.js';
|
|
5
|
+
import '../../../../../node_modules/antd/es/auto-complete/index.js';
|
|
6
|
+
import '../../../../../node_modules/antd/es/alert/index.js';
|
|
7
|
+
import '../../../../../node_modules/antd/es/avatar/index.js';
|
|
8
|
+
import '../../../../../node_modules/antd/es/back-top/index.js';
|
|
9
|
+
import '../../../../../node_modules/antd/es/badge/index.js';
|
|
10
|
+
import '../../../../../node_modules/antd/es/breadcrumb/Breadcrumb.js';
|
|
11
|
+
import '../../../../../node_modules/antd/es/button/button.js';
|
|
12
|
+
import '../../../../../node_modules/rc-picker/node_modules/moment/moment.js';
|
|
13
|
+
import '../../../../../node_modules/rc-util/es/hooks/useMergedState.js';
|
|
14
|
+
import 'classnames';
|
|
15
|
+
import '../../../../../node_modules/lodash/_baseToString.js';
|
|
16
|
+
import '../../../../../node_modules/lodash/_baseGetTag.js';
|
|
17
|
+
import '../../../../../node_modules/rc-util/es/raf.js';
|
|
18
|
+
import '../../../../../node_modules/rc-picker/es/panels/DatetimePanel/index.js';
|
|
19
|
+
import '../../../../../node_modules/rc-trigger/es/index.js';
|
|
20
|
+
import '../../../../../node_modules/antd/es/locale-provider/LocaleReceiver.js';
|
|
21
|
+
import '../../../../../node_modules/antd/es/date-picker/locale/en_US.js';
|
|
22
|
+
import '../../../../../node_modules/antd/es/config-provider/index.js';
|
|
23
|
+
import '../../../../../node_modules/rc-field-form/es/index.js';
|
|
24
|
+
import '../../../../../node_modules/antd/es/select/index.js';
|
|
25
|
+
import '../../../../../node_modules/antd/es/radio/index.js';
|
|
26
|
+
import '../../../../../node_modules/antd/es/card/index.js';
|
|
27
|
+
import '../../../../../node_modules/antd/es/collapse/Collapse.js';
|
|
28
|
+
import '../../../../../node_modules/antd/es/carousel/index.js';
|
|
29
|
+
import '../../../../../node_modules/antd/es/cascader/index.js';
|
|
30
|
+
import '../../../../../node_modules/antd/es/checkbox/index.js';
|
|
31
|
+
import '../../../../../node_modules/antd/es/grid/row.js';
|
|
32
|
+
import '../../../../../node_modules/antd/es/grid/col.js';
|
|
33
|
+
import '../../../../../node_modules/antd/es/comment/index.js';
|
|
34
|
+
import '../../../../../node_modules/antd/es/date-picker/index.js';
|
|
35
|
+
import '../../../../../_virtual/index2.js';
|
|
36
|
+
import '../../../../../node_modules/antd/es/_util/warning.js';
|
|
37
|
+
import '../../../../../node_modules/antd/es/divider/index.js';
|
|
38
|
+
import '../../../../../node_modules/antd/es/dropdown/dropdown.js';
|
|
39
|
+
import '../../../../../node_modules/antd/es/drawer/index.js';
|
|
40
|
+
import '../../../../../node_modules/antd/es/empty/index.js';
|
|
41
|
+
import '../../../../../node_modules/antd/es/form/index.js';
|
|
42
|
+
import '../../../../../node_modules/antd/es/input/index.js';
|
|
43
|
+
import '../../../../../node_modules/antd/es/image/index.js';
|
|
44
|
+
import '../../../../../node_modules/antd/es/input-number/index.js';
|
|
45
|
+
import '../../../../../node_modules/antd/es/layout/index.js';
|
|
46
|
+
import '../../../../../node_modules/antd/es/list/index.js';
|
|
47
|
+
import '../../../../../node_modules/antd/es/message/index.js';
|
|
48
|
+
import '../../../../../node_modules/antd/es/menu/index.js';
|
|
49
|
+
import '../../../../../node_modules/antd/es/mentions/index.js';
|
|
50
|
+
import '../../../../../node_modules/antd/es/modal/index.js';
|
|
51
|
+
import '../../../../../node_modules/antd/es/statistic/index.js';
|
|
52
|
+
import '../../../../../node_modules/antd/es/notification/index.js';
|
|
53
|
+
import '../../../../../node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js';
|
|
54
|
+
import '../../../../../node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.js';
|
|
55
|
+
import '../../../../../node_modules/rc-resize-observer/es/index.js';
|
|
56
|
+
import '../../../../../node_modules/antd/es/space/index.js';
|
|
57
|
+
import '../../../../../node_modules/antd/es/_util/transButton.js';
|
|
58
|
+
import '../../../../../node_modules/antd/es/pagination/Pagination.js';
|
|
59
|
+
import '../../../../../node_modules/antd/es/popconfirm/index.js';
|
|
60
|
+
import '../../../../../node_modules/antd/es/popover/index.js';
|
|
61
|
+
import '../../../../../node_modules/antd/es/progress/progress.js';
|
|
62
|
+
import '../../../../../node_modules/antd/es/rate/index.js';
|
|
63
|
+
import '../../../../../node_modules/antd/es/result/index.js';
|
|
64
|
+
import '../../../../../node_modules/antd/es/segmented/index.js';
|
|
65
|
+
import '../../../../../node_modules/antd/es/skeleton/Skeleton.js';
|
|
66
|
+
import '../../../../../node_modules/antd/es/slider/index.js';
|
|
67
|
+
import '../../../../../node_modules/antd/es/spin/index.js';
|
|
68
|
+
import '../../../../../node_modules/antd/es/steps/index.js';
|
|
69
|
+
import '../../../../../node_modules/antd/es/switch/index.js';
|
|
70
|
+
import Table from '../../../../../node_modules/antd/es/table/Table.js';
|
|
71
|
+
import '../../../../../node_modules/antd/es/transfer/list.js';
|
|
72
|
+
import '../../../../../node_modules/@ant-design/icons/es/icons/LeftOutlined.js';
|
|
73
|
+
import '../../../../../node_modules/@ant-design/icons/es/icons/RightOutlined.js';
|
|
74
|
+
import '../../../../../node_modules/@ant-design/icons/es/icons/SearchOutlined.js';
|
|
75
|
+
import '../../../../../node_modules/antd/es/_util/statusUtils.js';
|
|
76
|
+
import '../../../../../node_modules/antd/es/tree/Tree.js';
|
|
77
|
+
import '../../../../../node_modules/antd/es/tree-select/index.js';
|
|
78
|
+
import '../../../../../node_modules/antd/es/tabs/index.js';
|
|
79
|
+
import '../../../../../node_modules/antd/es/tag/index.js';
|
|
80
|
+
import '../../../../../node_modules/antd/es/time-picker/index.js';
|
|
81
|
+
import '../../../../../node_modules/antd/es/timeline/Timeline.js';
|
|
82
|
+
import '../../../../../node_modules/antd/es/tooltip/index.js';
|
|
83
|
+
import '../../../../../node_modules/antd/es/typography/index.js';
|
|
84
|
+
import '../../../../../node_modules/antd/es/upload/index.js';
|
|
85
|
+
import { commonFetch } from '../../../utils/commonUtil.js';
|
|
86
|
+
import { listToTree } from '../../../utils/businessUtil.js';
|
|
87
|
+
|
|
88
|
+
function CatgTable(props) {
|
|
89
|
+
var _this = this;
|
|
90
|
+
|
|
91
|
+
var onChange = props.onChange;
|
|
92
|
+
|
|
93
|
+
var _a = useState([]),
|
|
94
|
+
catgList = _a[0],
|
|
95
|
+
setCatgList = _a[1];
|
|
96
|
+
|
|
97
|
+
var _b = useState(false),
|
|
98
|
+
loading = _b[0],
|
|
99
|
+
setLoading = _b[1];
|
|
100
|
+
|
|
101
|
+
var queryCategory = function () {
|
|
102
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
103
|
+
var res;
|
|
104
|
+
return __generator(this, function (_a) {
|
|
105
|
+
switch (_a.label) {
|
|
106
|
+
case 0:
|
|
107
|
+
setLoading(true);
|
|
108
|
+
return [4
|
|
109
|
+
/*yield*/
|
|
110
|
+
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/offercatgs/list"), {}, 'GET')];
|
|
111
|
+
|
|
112
|
+
case 1:
|
|
113
|
+
res = _a.sent();
|
|
114
|
+
setCatgList(listToTree(res));
|
|
115
|
+
setLoading(false);
|
|
116
|
+
return [2
|
|
117
|
+
/*return*/
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
useEffect(function () {
|
|
125
|
+
queryCategory();
|
|
126
|
+
}, []);
|
|
127
|
+
var columns = [{
|
|
128
|
+
title: 'Category',
|
|
129
|
+
dataIndex: 'catgName',
|
|
130
|
+
render: function (catgName) {
|
|
131
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
132
|
+
className: "productName"
|
|
133
|
+
}, catgName);
|
|
134
|
+
}
|
|
135
|
+
}];
|
|
136
|
+
var rowSelection = {
|
|
137
|
+
onChange: function (selectedRowKeys) {
|
|
138
|
+
onChange("catg-".concat(selectedRowKeys[0]));
|
|
139
|
+
},
|
|
140
|
+
type: 'radio'
|
|
141
|
+
};
|
|
142
|
+
return /*#__PURE__*/React__default.createElement(Table, {
|
|
143
|
+
bordered: false,
|
|
144
|
+
columns: columns,
|
|
145
|
+
dataSource: catgList,
|
|
146
|
+
defaultExpandAllRows: true,
|
|
147
|
+
loading: loading,
|
|
148
|
+
pagination: false,
|
|
149
|
+
rowKey: function (record) {
|
|
150
|
+
return record && record.key;
|
|
151
|
+
},
|
|
152
|
+
rowSelection: rowSelection,
|
|
153
|
+
scroll: {
|
|
154
|
+
y: 450
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export { CatgTable as default };
|