@fonixtree/magic-design 0.0.13 → 0.0.16
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/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +299 -0
- package/es/assets/fonts/magic-box-iconfont.css.bak +299 -0
- package/es/assets/fonts/magic-box-iconfont.js +1 -0
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -0
- 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 +68 -0
- 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 +4 -0
- 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 +18 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
- 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 +7 -0
- package/es/assets/less/button.less +9 -0
- package/es/assets/less/common.less +82 -0
- package/es/assets/less/cylon-antd.less +32534 -0
- package/es/assets/less/font.less +50 -0
- package/es/assets/less/global.less +8 -0
- package/es/assets/less/index.less +11 -0
- package/es/assets/less/input.less +8 -0
- package/es/assets/less/menu.less +21 -0
- package/es/assets/less/modal.less +16 -0
- package/es/assets/less/select.less +19 -0
- package/es/assets/less/slider.less +21 -0
- package/es/assets/less/switch.less +20 -0
- package/es/assets/less/table.less +40 -0
- package/es/assets/less/variables.less +4 -0
- package/es/common/AlignSelector/index.js +104 -0
- package/es/common/AlignSelector/index.less +28 -0
- package/es/common/Button/index.js +134 -0
- package/es/common/Button/index.less +68 -0
- package/es/common/ButtonIconLayout/index.js +103 -0
- package/es/common/ButtonIconLayout/index.less +53 -0
- package/es/common/Collapse/index.js +384 -0
- package/es/common/Collapse/index.less +97 -0
- package/es/common/ColorPicker/imgs/no-color.png +0 -0
- package/es/common/ColorPicker/index.js +131 -0
- package/es/common/ColorPicker/index.less +26 -0
- package/es/common/ColorPickerInput/imgs/code.png +0 -0
- package/es/common/ColorPickerInput/index.js +114 -0
- package/es/common/ColorPickerInput/index.less +50 -0
- package/es/common/CountDown/index.js +151 -0
- package/es/common/CountDown/index.less +23 -0
- package/es/common/Field/index.js +80 -0
- package/es/common/Field/index.less +37 -0
- package/es/common/FontStyles/index.js +178 -0
- package/es/common/FontStyles/index.less +63 -0
- package/es/common/GroupList/defaultImg.png +0 -0
- package/es/common/GroupList/index.js +210 -0
- package/es/common/GroupList/index.less +85 -0
- package/es/common/IconPicker/index.js +147 -0
- package/es/common/IconPicker/index.less +46 -0
- package/es/common/Iconfont/index.js +148 -0
- package/es/common/Iconfont/index.less +20 -0
- package/es/common/ImageModal/CommonModal/const.js +22 -0
- package/es/common/ImageModal/CommonModal/index.js +46 -0
- package/es/common/ImageModal/CommonSelPicCard/index.js +80 -0
- package/es/common/ImageModal/CommonSelPicCard/index.less +40 -0
- package/es/common/ImageModal/const.js +24 -0
- package/es/common/ImageModal/index.js +748 -0
- package/es/common/ImageModal/index.less +21 -0
- package/es/common/ImagePicker/index.js +162 -0
- package/es/common/ImagePicker/index.less +104 -0
- package/es/common/InputNumber/index.js +91 -0
- package/es/common/InputNumber/index.less +33 -0
- 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 +111 -0
- package/es/common/LayoutSelector/index.less +34 -0
- package/es/common/LinkModal/CatgTable/index.js +234 -0
- package/es/common/LinkModal/CouponTable/index.js +299 -0
- package/es/common/LinkModal/CustomTable/index.js +227 -0
- package/es/common/LinkModal/FilteredProductModal/index.js +640 -0
- package/es/common/LinkModal/FilteredProductModal/index.less +113 -0
- package/es/common/LinkModal/FunctionTable/index.js +221 -0
- package/es/common/LinkModal/ProductDetailPage/index.js +433 -0
- package/es/common/LinkModal/ProductDetailPage/index.less +21 -0
- package/es/common/LinkModal/index.js +136 -0
- package/es/common/LinkModal/index.less +108 -0
- package/es/common/NewImg/index.js +165 -0
- package/es/common/NewImg/index.less +0 -0
- package/es/common/ProductModal/index.js +760 -0
- package/es/common/ProductModal/index.less +238 -0
- package/es/common/ProductSource/index.js +250 -0
- package/es/common/ProductSource/index.less +12 -0
- package/es/common/RcCollapse/Collapse.js +240 -0
- package/es/common/RcCollapse/Panel.js +193 -0
- package/es/common/RcCollapse/PanelContent.js +59 -0
- package/es/common/RcCollapse/index.js +15 -0
- package/es/common/RcCollapse/index.less +108 -0
- package/es/common/RcCollapse/interface.js +1 -0
- package/es/common/RcCollapse/motion.less +12 -0
- package/es/common/RcCollapse/motionUtil.js +44 -0
- package/es/common/Slider/index.js +151 -0
- package/es/common/Slider/index.less +45 -0
- package/es/common/SwitchCollapse/index.js +216 -0
- package/es/common/SwitchCollapse/index.less +40 -0
- package/es/common/UrlPicker/index.js +119 -0
- package/es/common/UrlPicker/index.less +72 -0
- package/es/common/index.js +127 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +268 -0
- package/es/composite-comp/bol/components/Banner/index.js +89 -0
- package/es/composite-comp/bol/components/Button/defaultJSON.js +114 -0
- package/es/composite-comp/bol/components/Button/index.js +0 -0
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +295 -0
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +74 -0
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +546 -0
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +135 -0
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +112 -0
- package/es/composite-comp/bol/components/Text/defaultJSON.js +149 -0
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +183 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +220 -0
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +56 -0
- package/es/constants/component-types.js +87 -0
- package/es/constants/index.js +144 -0
- package/es/constants/layout.js +120 -0
- package/es/core/Designer/CompListPanel/index.js +156 -0
- package/es/core/Designer/CompListPanel/index.less +69 -0
- package/es/core/Designer/ConfigPanel/index.js +294 -0
- package/es/core/Designer/ConfigPanel/index.less +139 -0
- package/es/core/Designer/History/index.js +91 -0
- package/es/core/Designer/PageCompList/index.js +266 -0
- package/es/core/Designer/PageCompList/index.less +114 -0
- package/es/core/Designer/QuickMenuBar/index.js +176 -0
- package/es/core/Designer/QuickMenuBar/index.less +67 -0
- package/es/core/Designer/ViewArea/index.js +150 -0
- package/es/core/Designer/ViewArea/index.less +53 -0
- package/es/core/Designer/index.js +454 -0
- package/es/core/Designer/index.less +6 -0
- package/es/core/Renderer/index.js +82 -0
- package/es/decorator/compositeDecorator.js +130 -0
- package/es/decorator/index.js +23 -0
- package/es/decorator/metaDecorator.js +199 -0
- package/es/index.js +27 -0
- package/es/meta-comp/components/Button/index.js +189 -0
- package/es/meta-comp/components/Button/index.less +19 -0
- package/es/meta-comp/components/Image/index.js +183 -0
- package/es/meta-comp/components/Text/index.js +478 -0
- package/es/meta-comp/components/index.js +31 -0
- package/es/meta-comp/config-panels/BaseConfig.js +87 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +356 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +395 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +358 -0
- package/es/mobx/Store.js +95 -0
- package/es/mobx/index.js +36 -0
- package/es/utils/androidUtil.js +113 -0
- package/es/utils/businessUtil.js +235 -0
- package/es/utils/commonUtil.js +289 -0
- package/es/utils/compJsonUtil.js +240 -0
- package/es/utils/coreUtil.js +156 -0
- package/es/utils/currencyUtil.js +190 -0
- package/es/utils/dataTreeUtils.js +105 -0
- package/es/utils/dateUtil.js +70 -0
- package/es/utils/storeUtil.js +258 -0
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +299 -0
- package/lib/assets/fonts/magic-box-iconfont.css.bak +299 -0
- package/lib/assets/fonts/magic-box-iconfont.js +1 -0
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -0
- 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 +68 -0
- 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 +4 -0
- 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 +18 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
- 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 +7 -0
- package/lib/assets/less/button.less +9 -0
- package/lib/assets/less/common.less +82 -0
- package/lib/assets/less/cylon-antd.less +32534 -0
- package/lib/assets/less/font.less +50 -0
- package/lib/assets/less/global.less +8 -0
- package/lib/assets/less/index.less +11 -0
- package/lib/assets/less/input.less +8 -0
- package/lib/assets/less/menu.less +21 -0
- package/lib/assets/less/modal.less +16 -0
- package/lib/assets/less/select.less +19 -0
- package/lib/assets/less/slider.less +21 -0
- package/lib/assets/less/switch.less +20 -0
- package/lib/assets/less/table.less +40 -0
- package/lib/assets/less/variables.less +4 -0
- package/lib/common/AlignSelector/index.js +104 -0
- package/lib/common/AlignSelector/index.less +28 -0
- package/lib/common/Button/index.js +134 -0
- package/lib/common/Button/index.less +68 -0
- package/lib/common/ButtonIconLayout/index.js +103 -0
- package/lib/common/ButtonIconLayout/index.less +53 -0
- package/lib/common/Collapse/index.js +384 -0
- package/lib/common/Collapse/index.less +97 -0
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +131 -0
- package/lib/common/ColorPicker/index.less +26 -0
- package/lib/common/ColorPickerInput/imgs/code.png +0 -0
- package/lib/common/ColorPickerInput/index.js +114 -0
- package/lib/common/ColorPickerInput/index.less +50 -0
- package/lib/common/CountDown/index.js +151 -0
- package/lib/common/CountDown/index.less +23 -0
- package/lib/common/Field/index.js +80 -0
- package/lib/common/Field/index.less +37 -0
- package/lib/common/FontStyles/index.js +178 -0
- package/lib/common/FontStyles/index.less +63 -0
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +210 -0
- package/lib/common/GroupList/index.less +85 -0
- package/lib/common/IconPicker/index.js +147 -0
- package/lib/common/IconPicker/index.less +46 -0
- package/lib/common/Iconfont/index.js +148 -0
- package/lib/common/Iconfont/index.less +20 -0
- package/lib/common/ImageModal/CommonModal/const.js +22 -0
- package/lib/common/ImageModal/CommonModal/index.js +46 -0
- package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
- package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
- package/lib/common/ImageModal/const.js +24 -0
- package/lib/common/ImageModal/index.js +748 -0
- package/lib/common/ImageModal/index.less +21 -0
- package/lib/common/ImagePicker/index.js +162 -0
- package/lib/common/ImagePicker/index.less +104 -0
- package/lib/common/InputNumber/index.js +91 -0
- package/lib/common/InputNumber/index.less +33 -0
- 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 +111 -0
- package/lib/common/LayoutSelector/index.less +34 -0
- package/lib/common/LinkModal/CatgTable/index.js +234 -0
- package/lib/common/LinkModal/CouponTable/index.js +299 -0
- package/lib/common/LinkModal/CustomTable/index.js +227 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +640 -0
- package/lib/common/LinkModal/FilteredProductModal/index.less +113 -0
- package/lib/common/LinkModal/FunctionTable/index.js +221 -0
- package/lib/common/LinkModal/ProductDetailPage/index.js +433 -0
- package/lib/common/LinkModal/ProductDetailPage/index.less +21 -0
- package/lib/common/LinkModal/index.js +136 -0
- package/lib/common/LinkModal/index.less +108 -0
- package/lib/common/NewImg/index.js +165 -0
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/ProductModal/index.js +760 -0
- package/lib/common/ProductModal/index.less +238 -0
- package/lib/common/ProductSource/index.js +250 -0
- package/lib/common/ProductSource/index.less +12 -0
- package/lib/common/RcCollapse/Collapse.js +240 -0
- package/lib/common/RcCollapse/Panel.js +193 -0
- package/lib/common/RcCollapse/PanelContent.js +59 -0
- package/lib/common/RcCollapse/index.js +15 -0
- package/lib/common/RcCollapse/index.less +108 -0
- package/lib/common/RcCollapse/interface.js +1 -0
- package/lib/common/RcCollapse/motion.less +12 -0
- package/lib/common/RcCollapse/motionUtil.js +44 -0
- package/lib/common/Slider/index.js +151 -0
- package/lib/common/Slider/index.less +45 -0
- package/lib/common/SwitchCollapse/index.js +216 -0
- package/lib/common/SwitchCollapse/index.less +40 -0
- package/lib/common/UrlPicker/index.js +119 -0
- package/lib/common/UrlPicker/index.less +72 -0
- package/lib/common/index.js +127 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +268 -0
- package/lib/composite-comp/bol/components/Banner/index.js +89 -0
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +114 -0
- package/lib/composite-comp/bol/components/Button/index.js +103 -0
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +295 -0
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +74 -0
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +546 -0
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +135 -0
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +112 -0
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +149 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +183 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +220 -0
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +56 -0
- package/lib/constants/component-types.js +87 -0
- package/lib/constants/index.js +144 -0
- package/lib/constants/layout.js +120 -0
- package/lib/core/Designer/CompListPanel/index.js +156 -0
- package/lib/core/Designer/CompListPanel/index.less +69 -0
- package/lib/core/Designer/ConfigPanel/index.js +294 -0
- package/lib/core/Designer/ConfigPanel/index.less +139 -0
- package/lib/core/Designer/History/index.js +91 -0
- package/lib/core/Designer/PageCompList/index.js +266 -0
- package/lib/core/Designer/PageCompList/index.less +114 -0
- package/lib/core/Designer/QuickMenuBar/index.js +176 -0
- package/lib/core/Designer/QuickMenuBar/index.less +67 -0
- package/lib/core/Designer/ViewArea/index.js +150 -0
- package/lib/core/Designer/ViewArea/index.less +53 -0
- package/lib/core/Designer/index.js +454 -0
- package/lib/core/Designer/index.less +6 -0
- package/lib/core/Renderer/index.js +82 -0
- package/lib/decorator/compositeDecorator.js +130 -0
- package/lib/decorator/index.js +23 -0
- package/lib/decorator/metaDecorator.js +199 -0
- package/lib/index.js +27 -0
- package/lib/meta-comp/components/Button/index.js +189 -0
- package/lib/meta-comp/components/Button/index.less +0 -0
- package/lib/meta-comp/components/Image/index.js +183 -0
- package/lib/meta-comp/components/Text/index.js +478 -0
- package/lib/meta-comp/components/index.js +31 -0
- package/lib/meta-comp/config-panels/BaseConfig.js +87 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +356 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +395 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +358 -0
- package/lib/mobx/Store.js +95 -0
- package/lib/mobx/index.js +36 -0
- package/lib/utils/androidUtil.js +113 -0
- package/lib/utils/businessUtil.js +235 -0
- package/lib/utils/commonUtil.js +289 -0
- package/lib/utils/compJsonUtil.js +240 -0
- package/lib/utils/coreUtil.js +156 -0
- package/lib/utils/currencyUtil.js +190 -0
- package/lib/utils/dataTreeUtils.js +105 -0
- package/lib/utils/dateUtil.js +70 -0
- package/lib/utils/storeUtil.js +258 -0
- package/package.json +44 -6
- package/_virtual/__node-resolve_empty.js +0 -6
- package/_virtual/_cloneBuffer.js +0 -3
- package/_virtual/_commonjsHelpers.js +0 -24
- package/_virtual/_node-resolve_empty.js +0 -3
- package/_virtual/_nodeUtil.js +0 -3
- package/_virtual/_rollupPluginBabelHelpers.js +0 -18
- package/_virtual/index.js +0 -3
- package/_virtual/index2.js +0 -3
- package/_virtual/index3.js +0 -3
- package/_virtual/index4.js +0 -3
- package/_virtual/index5.js +0 -5
- package/_virtual/interopRequireDefault.js +0 -3
- package/_virtual/isBuffer.js +0 -3
- package/_virtual/react-is.development.js +0 -3
- package/_virtual/react-is.production.min.js +0 -3
- package/_virtual/rng-browser.js +0 -3
- package/_virtual/toArray.js +0 -3
- package/my_node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
- package/my_node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
- package/my_node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
- package/my_node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -7
- package/my_node_modules/@babel/runtime/helpers/esm/createClass.js +0 -20
- package/my_node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
- package/my_node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
- package/my_node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/my_node_modules/@babel/runtime/helpers/esm/inherits.js +0 -21
- package/my_node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
- package/my_node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -31
- package/my_node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
- package/my_node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
- package/my_node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
- package/my_node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -9
- package/my_node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/my_node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/my_node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -12
- package/my_node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -11
- package/my_node_modules/call-bind/callBound.js +0 -19
- package/my_node_modules/call-bind/index.js +0 -52
- package/my_node_modules/classnames/index.js +0 -61
- package/my_node_modules/function-bind/implementation.js +0 -52
- package/my_node_modules/function-bind/index.js +0 -7
- package/my_node_modules/get-intrinsic/index.js +0 -338
- package/my_node_modules/has/src/index.js +0 -7
- package/my_node_modules/has-symbols/index.js +0 -15
- package/my_node_modules/has-symbols/shams.js +0 -42
- package/my_node_modules/lodash/_DataView.js +0 -12
- package/my_node_modules/lodash/_Hash.js +0 -40
- package/my_node_modules/lodash/_ListCache.js +0 -40
- package/my_node_modules/lodash/_Map.js +0 -12
- package/my_node_modules/lodash/_MapCache.js +0 -40
- package/my_node_modules/lodash/_Promise.js +0 -12
- package/my_node_modules/lodash/_Set.js +0 -12
- package/my_node_modules/lodash/_SetCache.js +0 -33
- package/my_node_modules/lodash/_Stack.js +0 -36
- package/my_node_modules/lodash/_Symbol.js +0 -10
- package/my_node_modules/lodash/_Uint8Array.js +0 -10
- package/my_node_modules/lodash/_WeakMap.js +0 -12
- package/my_node_modules/lodash/_arrayEach.js +0 -25
- package/my_node_modules/lodash/_arrayFilter.js +0 -28
- package/my_node_modules/lodash/_arrayLikeKeys.js +0 -59
- package/my_node_modules/lodash/_arrayMap.js +0 -24
- package/my_node_modules/lodash/_arrayPush.js +0 -23
- package/my_node_modules/lodash/_arraySome.js +0 -26
- package/my_node_modules/lodash/_assignValue.js +0 -33
- package/my_node_modules/lodash/_assocIndexOf.js +0 -25
- package/my_node_modules/lodash/_baseAssign.js +0 -22
- package/my_node_modules/lodash/_baseAssignIn.js +0 -22
- package/my_node_modules/lodash/_baseAssignValue.js +0 -29
- package/my_node_modules/lodash/_baseClone.js +0 -193
- package/my_node_modules/lodash/_baseCreate.js +0 -34
- package/my_node_modules/lodash/_baseFindIndex.js +0 -27
- package/my_node_modules/lodash/_baseFor.js +0 -20
- package/my_node_modules/lodash/_baseForOwn.js +0 -21
- package/my_node_modules/lodash/_baseGet.js +0 -29
- package/my_node_modules/lodash/_baseGetAllKeys.js +0 -25
- package/my_node_modules/lodash/_baseGetTag.js +0 -34
- package/my_node_modules/lodash/_baseHasIn.js +0 -16
- package/my_node_modules/lodash/_baseIsArguments.js +0 -23
- package/my_node_modules/lodash/_baseIsEqual.js +0 -33
- package/my_node_modules/lodash/_baseIsEqualDeep.js +0 -95
- package/my_node_modules/lodash/_baseIsMap.js +0 -23
- package/my_node_modules/lodash/_baseIsMatch.js +0 -67
- package/my_node_modules/lodash/_baseIsNative.js +0 -54
- package/my_node_modules/lodash/_baseIsSet.js +0 -23
- package/my_node_modules/lodash/_baseIsTypedArray.js +0 -66
- package/my_node_modules/lodash/_baseIteratee.js +0 -39
- package/my_node_modules/lodash/_baseKeys.js +0 -35
- package/my_node_modules/lodash/_baseKeysIn.js +0 -39
- package/my_node_modules/lodash/_baseMatches.js +0 -28
- package/my_node_modules/lodash/_baseMatchesProperty.js +0 -43
- package/my_node_modules/lodash/_baseProperty.js +0 -17
- package/my_node_modules/lodash/_basePropertyDeep.js +0 -20
- package/my_node_modules/lodash/_baseTimes.js +0 -23
- package/my_node_modules/lodash/_baseToNumber.js +0 -28
- package/my_node_modules/lodash/_baseToString.js +0 -44
- package/my_node_modules/lodash/_baseTrim.js +0 -23
- package/my_node_modules/lodash/_baseUnary.js +0 -17
- package/my_node_modules/lodash/_cacheHas.js +0 -16
- package/my_node_modules/lodash/_castPath.js +0 -28
- package/my_node_modules/lodash/_cloneArrayBuffer.js +0 -20
- package/my_node_modules/lodash/_cloneBuffer.js +0 -40
- package/my_node_modules/lodash/_cloneDataView.js +0 -20
- package/my_node_modules/lodash/_cloneRegExp.js +0 -20
- package/my_node_modules/lodash/_cloneSymbol.js +0 -22
- package/my_node_modules/lodash/_cloneTypedArray.js +0 -20
- package/my_node_modules/lodash/_copyArray.js +0 -23
- package/my_node_modules/lodash/_copyObject.js +0 -45
- package/my_node_modules/lodash/_copySymbols.js +0 -21
- package/my_node_modules/lodash/_copySymbolsIn.js +0 -21
- package/my_node_modules/lodash/_coreJsData.js +0 -10
- package/my_node_modules/lodash/_createBaseFor.js +0 -28
- package/my_node_modules/lodash/_createMathOperation.js +0 -43
- package/my_node_modules/lodash/_defineProperty.js +0 -15
- package/my_node_modules/lodash/_equalArrays.js +0 -90
- package/my_node_modules/lodash/_equalByTag.js +0 -121
- package/my_node_modules/lodash/_equalObjects.js +0 -94
- package/my_node_modules/lodash/_freeGlobal.js +0 -9
- package/my_node_modules/lodash/_getAllKeys.js +0 -22
- package/my_node_modules/lodash/_getAllKeysIn.js +0 -23
- package/my_node_modules/lodash/_getMapData.js +0 -22
- package/my_node_modules/lodash/_getMatchData.js +0 -29
- package/my_node_modules/lodash/_getNative.js +0 -22
- package/my_node_modules/lodash/_getPrototype.js +0 -10
- package/my_node_modules/lodash/_getRawTag.js +0 -50
- package/my_node_modules/lodash/_getSymbols.js +0 -35
- package/my_node_modules/lodash/_getSymbolsIn.js +0 -32
- package/my_node_modules/lodash/_getTag.js +0 -68
- package/my_node_modules/lodash/_getValue.js +0 -16
- package/my_node_modules/lodash/_hasPath.js +0 -48
- package/my_node_modules/lodash/_hashClear.js +0 -19
- package/my_node_modules/lodash/_hashDelete.js +0 -20
- package/my_node_modules/lodash/_hashGet.js +0 -34
- package/my_node_modules/lodash/_hashHas.js +0 -27
- package/my_node_modules/lodash/_hashSet.js +0 -27
- package/my_node_modules/lodash/_initCloneArray.js +0 -29
- package/my_node_modules/lodash/_initCloneByTag.js +0 -85
- package/my_node_modules/lodash/_initCloneObject.js +0 -24
- package/my_node_modules/lodash/_isIndex.js +0 -28
- package/my_node_modules/lodash/_isKey.js +0 -34
- package/my_node_modules/lodash/_isKeyable.js +0 -18
- package/my_node_modules/lodash/_isMasked.js +0 -24
- package/my_node_modules/lodash/_isPrototype.js +0 -21
- package/my_node_modules/lodash/_isStrictComparable.js +0 -19
- package/my_node_modules/lodash/_listCacheClear.js +0 -16
- package/my_node_modules/lodash/_listCacheDelete.js +0 -39
- package/my_node_modules/lodash/_listCacheGet.js +0 -23
- package/my_node_modules/lodash/_listCacheHas.js +0 -20
- package/my_node_modules/lodash/_listCacheSet.js +0 -30
- package/my_node_modules/lodash/_mapCacheClear.js +0 -27
- package/my_node_modules/lodash/_mapCacheDelete.js +0 -22
- package/my_node_modules/lodash/_mapCacheGet.js +0 -20
- package/my_node_modules/lodash/_mapCacheHas.js +0 -20
- package/my_node_modules/lodash/_mapCacheSet.js +0 -26
- package/my_node_modules/lodash/_mapToArray.js +0 -21
- package/my_node_modules/lodash/_matchesStrictComparable.js +0 -23
- package/my_node_modules/lodash/_memoizeCapped.js +0 -30
- package/my_node_modules/lodash/_nativeCreate.js +0 -10
- package/my_node_modules/lodash/_nativeKeys.js +0 -10
- package/my_node_modules/lodash/_nativeKeysIn.js +0 -23
- package/my_node_modules/lodash/_nodeUtil.js +0 -35
- package/my_node_modules/lodash/_objectToString.js +0 -25
- package/my_node_modules/lodash/_overArg.js +0 -18
- package/my_node_modules/lodash/_root.js +0 -13
- package/my_node_modules/lodash/_setCacheAdd.js +0 -22
- package/my_node_modules/lodash/_setCacheHas.js +0 -17
- package/my_node_modules/lodash/_setToArray.js +0 -21
- package/my_node_modules/lodash/_stackClear.js +0 -19
- package/my_node_modules/lodash/_stackDelete.js +0 -21
- package/my_node_modules/lodash/_stackGet.js +0 -17
- package/my_node_modules/lodash/_stackHas.js +0 -17
- package/my_node_modules/lodash/_stackSet.js +0 -40
- package/my_node_modules/lodash/_stringToPath.js +0 -31
- package/my_node_modules/lodash/_toKey.js +0 -25
- package/my_node_modules/lodash/_toSource.js +0 -29
- package/my_node_modules/lodash/_trimmedEndIndex.js +0 -22
- package/my_node_modules/lodash/cloneDeep.js +0 -33
- package/my_node_modules/lodash/divide.js +0 -26
- package/my_node_modules/lodash/eq.js +0 -40
- package/my_node_modules/lodash/findIndex.js +0 -61
- package/my_node_modules/lodash/get.js +0 -37
- package/my_node_modules/lodash/hasIn.js +0 -39
- package/my_node_modules/lodash/identity.js +0 -24
- package/my_node_modules/lodash/isArguments.js +0 -41
- package/my_node_modules/lodash/isArray.js +0 -29
- package/my_node_modules/lodash/isArrayLike.js +0 -38
- package/my_node_modules/lodash/isBuffer.js +0 -44
- package/my_node_modules/lodash/isEmpty.js +0 -89
- package/my_node_modules/lodash/isFunction.js +0 -42
- package/my_node_modules/lodash/isLength.js +0 -38
- package/my_node_modules/lodash/isMap.js +0 -34
- package/my_node_modules/lodash/isObject.js +0 -34
- package/my_node_modules/lodash/isObjectLike.js +0 -32
- package/my_node_modules/lodash/isSet.js +0 -34
- package/my_node_modules/lodash/isSymbol.js +0 -34
- package/my_node_modules/lodash/isTypedArray.js +0 -34
- package/my_node_modules/lodash/keys.js +0 -43
- package/my_node_modules/lodash/keysIn.js +0 -38
- package/my_node_modules/lodash/mapKeys.js +0 -42
- package/my_node_modules/lodash/memoize.js +0 -77
- package/my_node_modules/lodash/property.js +0 -39
- package/my_node_modules/lodash/stubArray.js +0 -26
- package/my_node_modules/lodash/stubFalse.js +0 -21
- package/my_node_modules/lodash/toFinite.js +0 -46
- package/my_node_modules/lodash/toInteger.js +0 -40
- package/my_node_modules/lodash/toNumber.js +0 -70
- package/my_node_modules/lodash/toString.js +0 -32
- package/my_node_modules/object-assign/index.js +0 -99
- package/my_node_modules/object-inspect/index.js +0 -516
- package/my_node_modules/prop-types/checkPropTypes.js +0 -115
- package/my_node_modules/prop-types/factoryWithThrowingShims.js +0 -74
- package/my_node_modules/prop-types/factoryWithTypeCheckers.js +0 -625
- package/my_node_modules/prop-types/index.js +0 -27
- package/my_node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -21
- package/my_node_modules/prop-types/lib/has.js +0 -11
- package/my_node_modules/qs/lib/formats.js +0 -23
- package/my_node_modules/qs/lib/index.js +0 -15
- package/my_node_modules/qs/lib/parse.js +0 -265
- package/my_node_modules/qs/lib/stringify.js +0 -330
- package/my_node_modules/qs/lib/utils.js +0 -254
- package/my_node_modules/rc-motion/es/CSSMotion.js +0 -149
- package/my_node_modules/rc-motion/es/DomWrapper.js +0 -28
- package/my_node_modules/rc-motion/es/hooks/useDomMotionEvents.js +0 -45
- package/my_node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +0 -6
- package/my_node_modules/rc-motion/es/hooks/useNextFrame.js +0 -36
- package/my_node_modules/rc-motion/es/hooks/useStatus.js +0 -232
- package/my_node_modules/rc-motion/es/hooks/useStepQueue.js +0 -69
- package/my_node_modules/rc-motion/es/index.js +0 -4
- package/my_node_modules/rc-motion/es/interface.js +0 -11
- package/my_node_modules/rc-motion/es/util/motion.js +0 -85
- package/my_node_modules/rc-util/es/Dom/canUseDom.js +0 -5
- package/my_node_modules/rc-util/es/Dom/findDOMNode.js +0 -15
- package/my_node_modules/rc-util/es/hooks/useState.js +0 -36
- package/my_node_modules/rc-util/es/raf.js +0 -57
- package/my_node_modules/rc-util/es/ref.js +0 -30
- package/my_node_modules/rc-util/lib/Children/toArray.js +0 -39
- package/my_node_modules/react-is/cjs/react-is.development.js +0 -190
- package/my_node_modules/react-is/cjs/react-is.production.min.js +0 -26
- package/my_node_modules/react-is/index.js +0 -21
- package/my_node_modules/shallowequal/index.js +0 -48
- package/my_node_modules/side-channel/index.js +0 -128
- package/my_node_modules/slick-carousel/slick/slick-theme.css.js +0 -4
- package/my_node_modules/slick-carousel/slick/slick.css.js +0 -4
- package/my_node_modules/style-inject/dist/style-inject.es.js +0 -28
- package/my_node_modules/tslib/tslib.es6.js +0 -110
- package/my_node_modules/uuid/index.js +0 -13
- package/my_node_modules/uuid/lib/bytesToUuid.js +0 -29
- package/my_node_modules/uuid/lib/rng-browser.js +0 -39
- package/my_node_modules/uuid/v1.js +0 -115
- package/my_node_modules/uuid/v4.js +0 -35
- package/src/components/assets/images/layout-icon/carouselLayout1.png.js +0 -3
- package/src/components/assets/images/layout-icon/carouselLayout2.png.js +0 -3
- package/src/components/assets/images/layout-icon/dividerLayout.svg.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout1.png.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout2.png.js +0 -3
- package/src/components/assets/images/layout-icon/imageGalleryLayout3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-1.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m1-3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-m3.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p1.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p2.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-imagetext-p4.png.js +0 -3
- package/src/components/assets/images/layout-icon/layout-search.png.js +0 -3
- package/src/components/assets/images/layout-icon/newsletter.svg.js +0 -3
- package/src/components/assets/less/cylon-antd.less.js +0 -3
- package/src/components/assets/less/index.less.js +0 -4
- package/src/components/common/AlignSelector/index.js +0 -65
- package/src/components/common/AlignSelector/index.less.js +0 -4
- package/src/components/common/Button/index.js +0 -75
- package/src/components/common/Button/index.less.js +0 -4
- package/src/components/common/ButtonIconLayout/index.js +0 -66
- package/src/components/common/ButtonIconLayout/index.less.js +0 -4
- package/src/components/common/Collapse/index.js +0 -323
- package/src/components/common/Collapse/index.less.js +0 -4
- package/src/components/common/ColorPicker/index.js +0 -94
- package/src/components/common/ColorPicker/index.less.js +0 -4
- package/src/components/common/ColorPickerInput/index.js +0 -76
- package/src/components/common/ColorPickerInput/index.less.js +0 -4
- package/src/components/common/CountDown/index.js +0 -110
- package/src/components/common/CountDown/index.less.js +0 -4
- package/src/components/common/Field/index.js +0 -43
- package/src/components/common/Field/index.less.js +0 -4
- package/src/components/common/FontStyles/index.js +0 -124
- package/src/components/common/FontStyles/index.less.js +0 -4
- package/src/components/common/GroupList/defaultImg.png.js +0 -3
- package/src/components/common/GroupList/index.js +0 -170
- package/src/components/common/GroupList/index.less.js +0 -4
- package/src/components/common/IconPicker/index.js +0 -93
- package/src/components/common/IconPicker/index.less.js +0 -4
- package/src/components/common/Iconfont/index.js +0 -74
- package/src/components/common/Iconfont/index.less.js +0 -4
- package/src/components/common/ImageModal/CommonModal/const.js +0 -16
- package/src/components/common/ImageModal/CommonModal/index.js +0 -33
- package/src/components/common/ImageModal/CommonSelPicCard/index.js +0 -66
- package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +0 -4
- package/src/components/common/ImageModal/const.js +0 -18
- package/src/components/common/ImageModal/index.js +0 -547
- package/src/components/common/ImageModal/index.less.js +0 -4
- package/src/components/common/ImagePicker/index.js +0 -124
- package/src/components/common/ImagePicker/index.less.js +0 -4
- package/src/components/common/InputNumber/index.js +0 -54
- package/src/components/common/InputNumber/index.less.js +0 -4
- package/src/components/common/LayoutSelector/imgs/center.png.js +0 -3
- package/src/components/common/LayoutSelector/imgs/left.png.js +0 -3
- package/src/components/common/LayoutSelector/imgs/right.png.js +0 -3
- package/src/components/common/LayoutSelector/index.js +0 -70
- package/src/components/common/LayoutSelector/index.less.js +0 -4
- package/src/components/common/LinkModal/CatgTable/index.js +0 -78
- package/src/components/common/LinkModal/CouponTable/index.js +0 -111
- package/src/components/common/LinkModal/CustomTable/index.js +0 -72
- package/src/components/common/LinkModal/FilteredProductModal/index.js +0 -463
- package/src/components/common/LinkModal/FilteredProductModal/index.less.js +0 -4
- package/src/components/common/LinkModal/FunctionTable/index.js +0 -66
- package/src/components/common/LinkModal/ProductDetailPage/index.js +0 -241
- package/src/components/common/LinkModal/ProductDetailPage/index.less.js +0 -4
- package/src/components/common/LinkModal/index.js +0 -112
- package/src/components/common/LinkModal/index.less.js +0 -4
- package/src/components/common/NewImg/index.js +0 -91
- package/src/components/common/ProductModal/index.js +0 -556
- package/src/components/common/ProductModal/index.less.js +0 -4
- package/src/components/common/ProductSource/index.js +0 -91
- package/src/components/common/ProductSource/index.less.js +0 -4
- package/src/components/common/RcCollapse/Collapse.js +0 -176
- package/src/components/common/RcCollapse/Panel.js +0 -146
- package/src/components/common/RcCollapse/PanelContent.js +0 -41
- package/src/components/common/RcCollapse/index.js +0 -6
- package/src/components/common/RcCollapse/index.less.js +0 -4
- package/src/components/common/RcCollapse/motionUtil.js +0 -37
- package/src/components/common/Slider/index.js +0 -95
- package/src/components/common/Slider/index.less.js +0 -4
- package/src/components/common/SwitchCollapse/index.js +0 -162
- package/src/components/common/SwitchCollapse/index.less.js +0 -4
- package/src/components/common/UrlPicker/index.js +0 -81
- package/src/components/common/UrlPicker/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +0 -258
- package/src/components/composite-comp/bol/components/Banner/imgs/banner.png.js +0 -3
- package/src/components/composite-comp/bol/components/Banner/index.js +0 -34
- package/src/components/composite-comp/bol/components/Banner/mobile/index.js +0 -176
- package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Banner/pc/index.js +0 -254
- package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Button/defaultJSON.js +0 -93
- package/src/components/composite-comp/bol/components/Button/index.js +0 -48
- package/src/components/composite-comp/bol/components/Button/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +0 -287
- package/src/components/composite-comp/bol/components/Carousel/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/components/Carousel/index.js +0 -37
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +0 -217
- package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Carousel/pc/index.js +0 -208
- package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +0 -40
- package/src/components/composite-comp/bol/components/Divider/index.js +0 -48
- package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -64
- package/src/components/composite-comp/bol/components/ImageGallery/index.js +0 -30
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -47
- package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +0 -540
- package/src/components/composite-comp/bol/components/ImageText/index.js +0 -33
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +0 -145
- package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/ImageText/pc/index.js +0 -126
- package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -114
- package/src/components/composite-comp/bol/components/Newsletter/index.js +0 -65
- package/src/components/composite-comp/bol/components/Newsletter/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +0 -91
- package/src/components/composite-comp/bol/components/Tag/index.js +0 -52
- package/src/components/composite-comp/bol/components/Tag/index.less.js +0 -4
- package/src/components/composite-comp/bol/components/Text/defaultJSON.js +0 -125
- package/src/components/composite-comp/bol/components/Text/index.js +0 -68
- package/src/components/composite-comp/bol/components/Text/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -73
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -200
- package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/BannerConfig/index.js +0 -35
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -53
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -91
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -175
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -54
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -153
- package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -66
- package/src/components/composite-comp/bol/config-panels/DividerConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -91
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -74
- package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -170
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -143
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -89
- package/src/components/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -44
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -88
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -48
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -85
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -55
- package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -109
- package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -107
- package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -118
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -79
- package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -70
- package/src/components/composite-comp/common/components/ImageLabel/index.js +0 -47
- package/src/components/composite-comp/common/components/ImageLabel/index.less.js +0 -4
- package/src/components/composite-comp/common/components/ProductItem/index.js +0 -121
- package/src/components/composite-comp/common/components/ProductItem/index.less.js +0 -4
- package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -89
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -182
- package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +0 -4
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +0 -133
- package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -176
- package/src/components/composite-comp/dito/components/FlashDeal/index.js +0 -31
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png.js +0 -3
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -233
- package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +0 -210
- package/src/components/composite-comp/dito/components/Recommend/index.js +0 -31
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +0 -317
- package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -44
- package/src/components/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg.js +0 -3
- package/src/components/composite-comp/dito/components/SearchBar/index.js +0 -31
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +0 -89
- package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +0 -4
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -121
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -102
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -49
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -97
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -89
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +0 -4
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png.js +0 -3
- package/src/components/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -49
- package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -115
- package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -156
- package/src/components/constants/component-types.js +0 -48
- package/src/components/constants/index.js +0 -74
- package/src/components/constants/layout.js +0 -90
- package/src/components/core/Designer/CompListPanel/CompCard/index.js +0 -33
- package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +0 -4
- package/src/components/core/Designer/CompListPanel/index.js +0 -109
- package/src/components/core/Designer/CompListPanel/index.less.js +0 -4
- package/src/components/core/Designer/ConfigPanel/index.js +0 -246
- package/src/components/core/Designer/ConfigPanel/index.less.js +0 -4
- package/src/components/core/Designer/History/index.js +0 -82
- package/src/components/core/Designer/PageCompList/index.js +0 -248
- package/src/components/core/Designer/PageCompList/index.less.js +0 -4
- package/src/components/core/Designer/QuickMenuBar/index.js +0 -130
- package/src/components/core/Designer/QuickMenuBar/index.less.js +0 -4
- package/src/components/core/Designer/ViewArea/index.js +0 -86
- package/src/components/core/Designer/ViewArea/index.less.js +0 -4
- package/src/components/core/Designer/index.js +0 -364
- package/src/components/core/Designer/index.less.js +0 -4
- package/src/components/core/Renderer/index.js +0 -55
- package/src/components/decorator/compositeDecorator.js +0 -94
- package/src/components/decorator/metaDecorator.js +0 -150
- package/src/components/index.js +0 -4
- package/src/components/meta-comp/components/Button/index.js +0 -113
- package/src/components/meta-comp/components/Button/index.less.js +0 -4
- package/src/components/meta-comp/components/Image/index.js +0 -133
- package/src/components/meta-comp/components/Image/index.less.js +0 -4
- package/src/components/meta-comp/components/Text/index.js +0 -385
- package/src/components/meta-comp/components/Text/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/BaseConfig.js +0 -47
- package/src/components/meta-comp/config-panels/ButtonConfig/index.js +0 -308
- package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/ImageConfig/index.js +0 -224
- package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +0 -4
- package/src/components/meta-comp/config-panels/TextConfig/index.js +0 -310
- package/src/components/meta-comp/config-panels/TextConfig/index.less.js +0 -4
- package/src/components/mobx/Store.js +0 -88
- package/src/components/mobx/index.js +0 -12
- package/src/components/utils/androidUtil.js +0 -22
- package/src/components/utils/businessUtil.js +0 -214
- package/src/components/utils/commonUtil.js +0 -240
- package/src/components/utils/coreUtil.js +0 -108
- package/src/components/utils/currencyUtil.js +0 -110
- package/src/components/utils/dataTreeUtils.js +0 -93
- package/src/components/utils/dateUtil.js +0 -30
- package/src/components/utils/storeUtil.js +0 -113
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_m-flash-deal-mobile__kOpDj {\n display: flex;\n flex-direction: column;\n padding: 16px 16px 28px 16px;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_left__IApxP {\n display: flex;\n align-items: center;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_left__IApxP .index_icon__v85R8 {\n height: 18px;\n margin-right: 10px;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_left__IApxP .index_title__eB-fI {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 600;\n font-size: 14px;\n line-height: 18px;\n color: #2C2C2C;\n margin-right: 10px;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_left__IApxP .index_sub-title__nXzYJ {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 600;\n font-size: 10px;\n line-height: 18px;\n color: #2C2C2C;\n margin-right: 6px;\n align-self: end;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_right__8WGHj {\n display: flex;\n align-items: center;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_right__8WGHj .index_text__ZZfrV {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 600;\n font-size: 12px;\n line-height: 15px;\n color: #0038A8;\n margin-right: 5px;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-title__Ckqt9 .index_right__8WGHj .index_btn__jqVLi {\n white-space: nowrap;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-list__zF3qY {\n margin-top: 16px;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n border-radius: 9px;\n display: flex;\n align-items: flex-start;\n position: relative;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-list__zF3qY .index_loading-wrap__FHL2r {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 30px;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-list__zF3qY .index_m-product-item-wrap__qCAVj {\n margin-right: 8px;\n}\n.index_m-flash-deal-mobile__kOpDj .index_flash-deal-list__zF3qY .index_m-product-item-wrap__qCAVj .index_product-name__Ddpzc {\n height: 36px;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import uuid_1 from '../../../../../../my_my_node_modules/uuid/index.js';
|
|
2
|
-
|
|
3
|
-
var recommendGroupSourceJSON = function (logo, text) {
|
|
4
|
-
var groupId = uuid_1.v4();
|
|
5
|
-
return {
|
|
6
|
-
id: groupId,
|
|
7
|
-
image: {
|
|
8
|
-
parentId: groupId,
|
|
9
|
-
id: uuid_1.v4(),
|
|
10
|
-
open: true,
|
|
11
|
-
type: 'IMAGE',
|
|
12
|
-
content: {
|
|
13
|
-
h5Name: '',
|
|
14
|
-
pcName: '',
|
|
15
|
-
h5ImgSrc: logo,
|
|
16
|
-
pcImgSrc: logo,
|
|
17
|
-
clickUrl: ''
|
|
18
|
-
},
|
|
19
|
-
hover: {
|
|
20
|
-
open: false,
|
|
21
|
-
backgroundType: 'enlarge',
|
|
22
|
-
magnification: 1.5,
|
|
23
|
-
pcImgHoverUrl: '',
|
|
24
|
-
h5ImgHoverUrl: ''
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
groupName: {
|
|
28
|
-
parentId: groupId,
|
|
29
|
-
id: uuid_1.v4(),
|
|
30
|
-
open: true,
|
|
31
|
-
type: 'TEXT',
|
|
32
|
-
specialContent: [],
|
|
33
|
-
text: text,
|
|
34
|
-
content: {
|
|
35
|
-
fontFamily: 'Open Sans',
|
|
36
|
-
fontWeight: 700,
|
|
37
|
-
fontSize: 14,
|
|
38
|
-
color: '#929292'
|
|
39
|
-
},
|
|
40
|
-
underline: {
|
|
41
|
-
open: false,
|
|
42
|
-
textDecorationColor: '',
|
|
43
|
-
textDecorationStyle: 'solid'
|
|
44
|
-
},
|
|
45
|
-
vertical: {}
|
|
46
|
-
},
|
|
47
|
-
sourceType: 'recommend',
|
|
48
|
-
hover: {
|
|
49
|
-
open: true,
|
|
50
|
-
image: {
|
|
51
|
-
parentId: groupId,
|
|
52
|
-
id: uuid_1.v4(),
|
|
53
|
-
open: false,
|
|
54
|
-
type: 'IMAGE',
|
|
55
|
-
content: {
|
|
56
|
-
h5Name: '',
|
|
57
|
-
pcName: '',
|
|
58
|
-
h5ImgSrc: logo,
|
|
59
|
-
pcImgSrc: logo,
|
|
60
|
-
clickUrl: ''
|
|
61
|
-
},
|
|
62
|
-
hover: {
|
|
63
|
-
open: false,
|
|
64
|
-
backgroundType: 'enlarge',
|
|
65
|
-
magnification: 1.5,
|
|
66
|
-
pcImgHoverUrl: '',
|
|
67
|
-
h5ImgHoverUrl: ''
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
groupName: {
|
|
71
|
-
parentId: groupId,
|
|
72
|
-
id: uuid_1.v4(),
|
|
73
|
-
open: false,
|
|
74
|
-
type: 'TEXT',
|
|
75
|
-
specialContent: [],
|
|
76
|
-
text: text,
|
|
77
|
-
content: {
|
|
78
|
-
fontFamily: 'Open Sans',
|
|
79
|
-
fontWeight: 700,
|
|
80
|
-
fontSize: 14,
|
|
81
|
-
color: '#CE1126'
|
|
82
|
-
},
|
|
83
|
-
underline: {
|
|
84
|
-
open: false,
|
|
85
|
-
textDecorationColor: '',
|
|
86
|
-
textDecorationStyle: 'solid'
|
|
87
|
-
},
|
|
88
|
-
vertical: {}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
var getDefaultJSON = function () {
|
|
94
|
-
return {
|
|
95
|
-
id: uuid_1.v4(),
|
|
96
|
-
type: 'RECOMMEND',
|
|
97
|
-
groupSource: [recommendGroupSourceJSON('', 'Sale'), recommendGroupSourceJSON('', 'Popular')],
|
|
98
|
-
content: {
|
|
99
|
-
label: {
|
|
100
|
-
id: uuid_1.v4(),
|
|
101
|
-
open: true,
|
|
102
|
-
type: 'BUTTON',
|
|
103
|
-
text: 'Button',
|
|
104
|
-
content: {
|
|
105
|
-
url: '',
|
|
106
|
-
backgroundColor: '#0038A8'
|
|
107
|
-
},
|
|
108
|
-
buttonText: {
|
|
109
|
-
fontFamily: 'Open Sans',
|
|
110
|
-
fontWeight: 600,
|
|
111
|
-
fontSize: 8,
|
|
112
|
-
fontStyle: 'normal',
|
|
113
|
-
color: '#fff',
|
|
114
|
-
padding: '0 5px'
|
|
115
|
-
},
|
|
116
|
-
buttonBorder: {
|
|
117
|
-
open: true,
|
|
118
|
-
borderColor: '',
|
|
119
|
-
borderRadius: 7
|
|
120
|
-
},
|
|
121
|
-
buttonIcon: {
|
|
122
|
-
iconUrl: '',
|
|
123
|
-
layout: 'right'
|
|
124
|
-
},
|
|
125
|
-
hover: null
|
|
126
|
-
},
|
|
127
|
-
productName: {
|
|
128
|
-
id: uuid_1.v4(),
|
|
129
|
-
open: true,
|
|
130
|
-
type: 'Text',
|
|
131
|
-
specialContent: [],
|
|
132
|
-
text: 'Flash Deal',
|
|
133
|
-
content: {
|
|
134
|
-
fontFamily: 'Open Sans',
|
|
135
|
-
fontWeight: 500,
|
|
136
|
-
fontSize: 14,
|
|
137
|
-
color: '#2C2C2C'
|
|
138
|
-
},
|
|
139
|
-
underline: {
|
|
140
|
-
open: false,
|
|
141
|
-
textDecorationColor: '',
|
|
142
|
-
textDecorationStyle: 'solid'
|
|
143
|
-
},
|
|
144
|
-
vertical: {
|
|
145
|
-
open: false,
|
|
146
|
-
lineHeight: 18
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
activityPrice: {
|
|
150
|
-
id: uuid_1.v4(),
|
|
151
|
-
open: true,
|
|
152
|
-
type: 'Text',
|
|
153
|
-
specialContent: [],
|
|
154
|
-
text: 'Flash Deal',
|
|
155
|
-
content: {
|
|
156
|
-
fontFamily: 'Open Sans',
|
|
157
|
-
fontWeight: 600,
|
|
158
|
-
fontSize: 14,
|
|
159
|
-
color: '#CE1126'
|
|
160
|
-
},
|
|
161
|
-
underline: {
|
|
162
|
-
open: false,
|
|
163
|
-
textDecorationColor: '',
|
|
164
|
-
textDecorationStyle: 'solid'
|
|
165
|
-
},
|
|
166
|
-
vertical: {
|
|
167
|
-
open: false,
|
|
168
|
-
lineHeight: 18
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
salesPrice: {
|
|
172
|
-
id: uuid_1.v4(),
|
|
173
|
-
open: true,
|
|
174
|
-
type: 'Text',
|
|
175
|
-
specialContent: [],
|
|
176
|
-
text: 'Flash Deal',
|
|
177
|
-
content: {
|
|
178
|
-
fontFamily: 'Open Sans',
|
|
179
|
-
fontWeight: 500,
|
|
180
|
-
fontSize: 10,
|
|
181
|
-
color: '#929292'
|
|
182
|
-
},
|
|
183
|
-
underline: {
|
|
184
|
-
open: false,
|
|
185
|
-
textDecorationColor: '',
|
|
186
|
-
textDecorationStyle: 'solid'
|
|
187
|
-
},
|
|
188
|
-
vertical: {
|
|
189
|
-
open: false,
|
|
190
|
-
lineHeight: 18
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
salesProgressVisible: {
|
|
194
|
-
open: true
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
customize: {
|
|
198
|
-
layout: 'left',
|
|
199
|
-
align: 'left'
|
|
200
|
-
},
|
|
201
|
-
background: {
|
|
202
|
-
opacity: 100,
|
|
203
|
-
color: '#F2F2F2',
|
|
204
|
-
image: '',
|
|
205
|
-
bgType: 'color'
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
export { getDefaultJSON, recommendGroupSourceJSON };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __extends, __decorate } from '../../../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default, { Component } from 'react';
|
|
3
|
-
import RecommendMobile from './mobile/index.js';
|
|
4
|
-
import { getDefaultJSON } from './defaultJSON.js';
|
|
5
|
-
import { isPc } from '../../../../utils/coreUtil.js';
|
|
6
|
-
import compositeDecorator from '../../../../decorator/compositeDecorator.js';
|
|
7
|
-
|
|
8
|
-
var Recommend =
|
|
9
|
-
/** @class */
|
|
10
|
-
function (_super) {
|
|
11
|
-
__extends(Recommend, _super);
|
|
12
|
-
|
|
13
|
-
function Recommend() {
|
|
14
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
Recommend.prototype.render = function () {
|
|
18
|
-
var nodeData = this.props.nodeData;
|
|
19
|
-
return /*#__PURE__*/React__default.createElement("div", null, isPc() ? null : /*#__PURE__*/React__default.createElement(RecommendMobile, {
|
|
20
|
-
panelProps: nodeData
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
Recommend.defaultProps = {};
|
|
25
|
-
Recommend.type = 'RECOMMEND';
|
|
26
|
-
Recommend.getDefaultJSON = getDefaultJSON;
|
|
27
|
-
Recommend = __decorate([compositeDecorator], Recommend);
|
|
28
|
-
return Recommend;
|
|
29
|
-
}(Component);
|
|
30
|
-
|
|
31
|
-
export { Recommend as default };
|
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
import { __extends, __assign, __awaiter, __generator, __spreadArray } from '../../../../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import Macy from 'macy';
|
|
4
|
-
import './index.less.js';
|
|
5
|
-
import { store } from '../../../../../mobx/index.js';
|
|
6
|
-
import ProductItem from '../../../../common/components/ProductItem/index.js';
|
|
7
|
-
import Text from '../../../../../meta-comp/components/Text/index.js';
|
|
8
|
-
import '../../../../../meta-comp/components/Button/index.js';
|
|
9
|
-
import Image from '../../../../../meta-comp/components/Image/index.js';
|
|
10
|
-
import { getMagicStore, setMagicStore } from '../../../../../utils/storeUtil.js';
|
|
11
|
-
import { ensure, getColorRgba, commonFetch } from '../../../../../utils/commonUtil.js';
|
|
12
|
-
import { clickUrl, isDesignMode } from '../../../../../utils/coreUtil.js';
|
|
13
|
-
|
|
14
|
-
var RecommendMobile =
|
|
15
|
-
/** @class */
|
|
16
|
-
function (_super) {
|
|
17
|
-
__extends(RecommendMobile, _super);
|
|
18
|
-
|
|
19
|
-
function RecommendMobile() {
|
|
20
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
21
|
-
|
|
22
|
-
_this.preData = {};
|
|
23
|
-
_this._cache = isDesignMode() ? {} : ensure(function () {
|
|
24
|
-
return getMagicStore("recommend_".concat(_this.props.panelProps.id));
|
|
25
|
-
}, {});
|
|
26
|
-
_this.state = __assign({
|
|
27
|
-
tabIndex: 0,
|
|
28
|
-
tabLeft: 0,
|
|
29
|
-
tabWidth: 0
|
|
30
|
-
}, _this._cache);
|
|
31
|
-
|
|
32
|
-
_this.getTabBarActiveColor = function (_panelProps) {
|
|
33
|
-
var tabIndex = _this.state.tabIndex;
|
|
34
|
-
return ensure(function () {
|
|
35
|
-
return _panelProps.groupSource[tabIndex].hover.groupName.content.color;
|
|
36
|
-
}, '#1890ff');
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
_this.getProductList = function (index) {
|
|
40
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
41
|
-
var recommendId, cache, sourceType, ids, newData, res, res, _cache;
|
|
42
|
-
|
|
43
|
-
var _a, _b, _c;
|
|
44
|
-
|
|
45
|
-
var _this = this;
|
|
46
|
-
|
|
47
|
-
return __generator(this, function (_d) {
|
|
48
|
-
switch (_d.label) {
|
|
49
|
-
case 0:
|
|
50
|
-
recommendId = this.props.panelProps.id;
|
|
51
|
-
|
|
52
|
-
if (!isDesignMode()) {
|
|
53
|
-
cache = getMagicStore("recommend_".concat(recommendId));
|
|
54
|
-
|
|
55
|
-
if (cache) {
|
|
56
|
-
if ("products".concat(index) in cache) {
|
|
57
|
-
this.setState((_a = {}, _a["products".concat(index)] = cache["products".concat(index)], _a), function () {
|
|
58
|
-
_this.getMacy('.tab-item-container');
|
|
59
|
-
});
|
|
60
|
-
/** 如果数据未过期 */
|
|
61
|
-
|
|
62
|
-
if (cache.endTime > Date.now()) return [2
|
|
63
|
-
/*return*/
|
|
64
|
-
];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
sourceType = ensure(function () {
|
|
70
|
-
return _this.props.panelProps.groupSource[index].sourceType;
|
|
71
|
-
}, 'recommend');
|
|
72
|
-
ids = ensure(function () {
|
|
73
|
-
return _this.props.panelProps.groupSource[index].prodIds;
|
|
74
|
-
}, '');
|
|
75
|
-
newData = [];
|
|
76
|
-
_d.label = 1;
|
|
77
|
-
|
|
78
|
-
case 1:
|
|
79
|
-
_d.trys.push([1, 6,, 7]);
|
|
80
|
-
|
|
81
|
-
if (!(sourceType === 'select')) return [3
|
|
82
|
-
/*break*/
|
|
83
|
-
, 3];
|
|
84
|
-
|
|
85
|
-
if (!ids) {
|
|
86
|
-
return [2
|
|
87
|
-
/*return*/
|
|
88
|
-
];
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return [4
|
|
92
|
-
/*yield*/
|
|
93
|
-
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/h5/products"), {
|
|
94
|
-
products: ids,
|
|
95
|
-
state: 'A'
|
|
96
|
-
}, 'GET')];
|
|
97
|
-
|
|
98
|
-
case 2:
|
|
99
|
-
res = _d.sent();
|
|
100
|
-
newData = __spreadArray([], res.list, true);
|
|
101
|
-
return [3
|
|
102
|
-
/*break*/
|
|
103
|
-
, 5];
|
|
104
|
-
|
|
105
|
-
case 3:
|
|
106
|
-
return [4
|
|
107
|
-
/*yield*/
|
|
108
|
-
, commonFetch("".concat(window.magicDesign.MBaseUrl, "/h5/offers"), {
|
|
109
|
-
pageIndex: 1,
|
|
110
|
-
pageSize: 30,
|
|
111
|
-
sortType: '1',
|
|
112
|
-
// intelligentType: 'ALL',
|
|
113
|
-
// aggregation: false,
|
|
114
|
-
q: ''
|
|
115
|
-
}, 'POST')];
|
|
116
|
-
|
|
117
|
-
case 4:
|
|
118
|
-
res = _d.sent();
|
|
119
|
-
newData = __spreadArray([], res.pageInfo.list, true);
|
|
120
|
-
_d.label = 5;
|
|
121
|
-
|
|
122
|
-
case 5:
|
|
123
|
-
return [3
|
|
124
|
-
/*break*/
|
|
125
|
-
, 7];
|
|
126
|
-
|
|
127
|
-
case 6:
|
|
128
|
-
_d.sent();
|
|
129
|
-
newData = [];
|
|
130
|
-
return [3
|
|
131
|
-
/*break*/
|
|
132
|
-
, 7];
|
|
133
|
-
|
|
134
|
-
case 7:
|
|
135
|
-
if (!isDesignMode()) {
|
|
136
|
-
_cache = getMagicStore("recommend_".concat(recommendId));
|
|
137
|
-
setMagicStore("recommend_".concat(recommendId), __assign(__assign({}, _cache), (_b = {}, _b["products".concat(index)] = newData, _b.endTime = Date.now() + 3 * 60 * 1000, _b)));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
this.setState((_c = {}, _c["products".concat(index)] = newData, _c), function () {
|
|
141
|
-
_this.getMacy('.tab-item-container');
|
|
142
|
-
});
|
|
143
|
-
return [2
|
|
144
|
-
/*return*/
|
|
145
|
-
];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
_this.getMacy = function (container) {
|
|
152
|
-
var masonryNew = new Macy({
|
|
153
|
-
container: container,
|
|
154
|
-
trueOrder: false,
|
|
155
|
-
waitForImages: false,
|
|
156
|
-
useOwnImageLoader: false,
|
|
157
|
-
margin: {
|
|
158
|
-
x: 12,
|
|
159
|
-
y: 12
|
|
160
|
-
},
|
|
161
|
-
columns: 2 // 设置列数
|
|
162
|
-
|
|
163
|
-
});
|
|
164
|
-
masonryNew.runOnImageLoad(function () {
|
|
165
|
-
masonryNew.recalculate(true);
|
|
166
|
-
}, true);
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
_this.onTabChange = function (tabIndex) {
|
|
170
|
-
var _a;
|
|
171
|
-
|
|
172
|
-
var panelProps = _this.props.panelProps;
|
|
173
|
-
if (tabIndex === _this.state.tabIndex) return;
|
|
174
|
-
|
|
175
|
-
_this.setState((_a = {
|
|
176
|
-
tabIndex: tabIndex
|
|
177
|
-
}, _a["products".concat(tabIndex)] = [], _a));
|
|
178
|
-
|
|
179
|
-
var curTab = panelProps.groupSource[tabIndex];
|
|
180
|
-
if (curTab.prodIds === '') return;
|
|
181
|
-
|
|
182
|
-
_this.getProductList(tabIndex);
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
_this.getBackgroundStyle = function () {
|
|
186
|
-
var panelProps = _this.props.panelProps;
|
|
187
|
-
var bgStyle = {};
|
|
188
|
-
|
|
189
|
-
if (panelProps.background.bgType === 'color') {
|
|
190
|
-
bgStyle = {
|
|
191
|
-
backgroundColor: getColorRgba(panelProps.background.color || '#fff', panelProps.background.opacity / 100 || 1)
|
|
192
|
-
};
|
|
193
|
-
} else {
|
|
194
|
-
bgStyle = {
|
|
195
|
-
background: "url(".concat(panelProps.background.image, ") no-repeat center"),
|
|
196
|
-
backgroundSize: '100%'
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
return bgStyle;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
_this.onTabClick = function (e, index) {
|
|
204
|
-
var tabLeft = e.currentTarget.offsetLeft;
|
|
205
|
-
var tabWidth = e.currentTarget.offsetWidth;
|
|
206
|
-
e.currentTarget.scrollIntoView(false);
|
|
207
|
-
|
|
208
|
-
_this.getProductList(index);
|
|
209
|
-
|
|
210
|
-
_this.setState({
|
|
211
|
-
tabLeft: tabLeft,
|
|
212
|
-
tabWidth: tabWidth,
|
|
213
|
-
tabIndex: index
|
|
214
|
-
}, function () {
|
|
215
|
-
_this.getMacy('.tab-item-container');
|
|
216
|
-
});
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
return _this;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
RecommendMobile.prototype.componentDidMount = function () {
|
|
223
|
-
var tabIndex = this.state.tabIndex;
|
|
224
|
-
this.getProductList(tabIndex);
|
|
225
|
-
var initTabDom = document.querySelector('.tab-select-wrap .tabTitle:nth-child(1)');
|
|
226
|
-
var tabLeft = initTabDom.offsetLeft;
|
|
227
|
-
var tabWidth = initTabDom.offsetWidth;
|
|
228
|
-
this.setState({
|
|
229
|
-
tabLeft: tabLeft,
|
|
230
|
-
tabWidth: tabWidth
|
|
231
|
-
});
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
RecommendMobile.prototype.componentWillReceiveProps = function () {
|
|
235
|
-
var tabIndex = this.state.tabIndex;
|
|
236
|
-
var tabGroupInfo = this.props.panelProps.groupSource[tabIndex];
|
|
237
|
-
|
|
238
|
-
if (JSON.stringify(tabGroupInfo) === this.preData) {
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
this.preData = JSON.stringify(tabGroupInfo);
|
|
243
|
-
this.getProductList(tabIndex);
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
RecommendMobile.prototype.render = function () {
|
|
247
|
-
var _this = this;
|
|
248
|
-
|
|
249
|
-
var panelProps = this.props.panelProps;
|
|
250
|
-
var _a = this.state,
|
|
251
|
-
tabIndex = _a.tabIndex,
|
|
252
|
-
tabLeft = _a.tabLeft,
|
|
253
|
-
tabWidth = _a.tabWidth;
|
|
254
|
-
var bgStyle = this.getBackgroundStyle();
|
|
255
|
-
var products = this.state["products".concat(tabIndex)] || [];
|
|
256
|
-
var isDivide = panelProps.groupSource.length <= 3;
|
|
257
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
258
|
-
className: "m-recommend-mobile",
|
|
259
|
-
style: bgStyle
|
|
260
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
261
|
-
className: "tab-select-wrap"
|
|
262
|
-
}, panelProps.groupSource.map(function (tab, index) {
|
|
263
|
-
var _image = index == tabIndex && tab.hover.open && tab.hover.image.open ? tab.hover.image : tab.image;
|
|
264
|
-
|
|
265
|
-
var _groupName = index == tabIndex && tab.hover.open && tab.hover.groupName.open ? tab.hover.groupName : tab.groupName;
|
|
266
|
-
|
|
267
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
|
268
|
-
className: "tabTitle",
|
|
269
|
-
onClick: function (e) {
|
|
270
|
-
_this.onTabClick(e, index);
|
|
271
|
-
|
|
272
|
-
store.setState({
|
|
273
|
-
clickedGroup: tab.id,
|
|
274
|
-
clickedFloor: store.getFloorIdByGroupId(tab.id)
|
|
275
|
-
});
|
|
276
|
-
},
|
|
277
|
-
style: {
|
|
278
|
-
flex: ~~isDivide
|
|
279
|
-
}
|
|
280
|
-
}, tab.image.open && _image && /*#__PURE__*/React__default.createElement(Image, {
|
|
281
|
-
data: _image
|
|
282
|
-
}), tab.groupName.open && /*#__PURE__*/React__default.createElement(Text, {
|
|
283
|
-
data: _groupName,
|
|
284
|
-
onTextInput: function (text) {
|
|
285
|
-
tab.hover.groupName.text = text;
|
|
286
|
-
tab.groupName.text = text;
|
|
287
|
-
}
|
|
288
|
-
}));
|
|
289
|
-
}), /*#__PURE__*/React__default.createElement("div", {
|
|
290
|
-
className: "active-line",
|
|
291
|
-
style: {
|
|
292
|
-
width: tabWidth,
|
|
293
|
-
transform: "translateX(".concat(tabLeft, "px)"),
|
|
294
|
-
background: this.getTabBarActiveColor(panelProps)
|
|
295
|
-
}
|
|
296
|
-
})), /*#__PURE__*/React__default.createElement("div", {
|
|
297
|
-
className: "tab-item-container"
|
|
298
|
-
}, products.map(function (item) {
|
|
299
|
-
return /*#__PURE__*/React__default.createElement(ProductItem, {
|
|
300
|
-
key: item.productId,
|
|
301
|
-
data: item,
|
|
302
|
-
onItemClick: function () {
|
|
303
|
-
return clickUrl("/product/detail/".concat(item.offerId, "?productId=").concat(item.sppProductId || item.productId || ''));
|
|
304
|
-
},
|
|
305
|
-
panelProps: panelProps.content,
|
|
306
|
-
showProgress: false
|
|
307
|
-
});
|
|
308
|
-
})));
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
RecommendMobile.defaultProps = {
|
|
312
|
-
panelProps: {}
|
|
313
|
-
};
|
|
314
|
-
return RecommendMobile;
|
|
315
|
-
}(React__default.Component);
|
|
316
|
-
|
|
317
|
-
export { RecommendMobile as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import styleInject from '../../../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
|
-
var css_248z = ".index_m-recommend-mobile__qaM1U {\n display: flex;\n flex-direction: column;\n}\n.index_m-recommend-mobile__qaM1U .index_ant-tabs-nav-operations__NMWuU {\n display: none !important;\n}\n.index_m-recommend-mobile__qaM1U ::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n}\n.index_m-recommend-mobile__qaM1U .index_tab-select-wrap__nI3U6 {\n display: flex;\n align-items: center;\n height: 50px;\n background: rgb(255 255 255);\n overflow: auto;\n position: relative;\n margin-bottom: 10px;\n}\n.index_m-recommend-mobile__qaM1U .index_tab-select-wrap__nI3U6 .index_tabTitle__dAUME {\n display: flex;\n align-items: center;\n padding: 0 24px;\n height: 100%;\n justify-content: center;\n white-space: nowrap;\n}\n.index_m-recommend-mobile__qaM1U .index_tab-select-wrap__nI3U6 .index_tabTitle__dAUME img {\n height: 18px;\n width: 18px;\n}\n.index_m-recommend-mobile__qaM1U .index_tab-select-wrap__nI3U6 .index_active-line__9KDx9 {\n position: absolute;\n bottom: 0;\n width: 200px;\n height: 3px;\n background-color: #fff;\n transition: 0.2s all linear;\n border-radius: 1.5px;\n}\n.index_m-recommend-mobile__qaM1U .index_tab-item-container__2zHjl {\n display: flex;\n margin: 0 12px;\n}\n";
|
|
4
|
-
styleInject(css_248z);
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import uuid_1 from '../../../../../../my_my_node_modules/uuid/index.js';
|
|
2
|
-
import img from './imgs/dito-logo.svg.js';
|
|
3
|
-
|
|
4
|
-
var getDefaultJSON = function () {
|
|
5
|
-
return {
|
|
6
|
-
id: uuid_1.v4(),
|
|
7
|
-
type: 'SEARCH',
|
|
8
|
-
logo: {
|
|
9
|
-
id: uuid_1.v4(),
|
|
10
|
-
open: true,
|
|
11
|
-
type: 'IMAGE',
|
|
12
|
-
content: {
|
|
13
|
-
h5Name: 'name2',
|
|
14
|
-
pcName: 'name2',
|
|
15
|
-
h5ImgSrc: img,
|
|
16
|
-
pcImgSrc: 'https://online.iwhalecloud.com/static/banner3.d4d11f4b.webp',
|
|
17
|
-
clickUrl: ''
|
|
18
|
-
},
|
|
19
|
-
hover: {
|
|
20
|
-
open: false,
|
|
21
|
-
backgroundType: 'enlarge',
|
|
22
|
-
magnification: 1.5,
|
|
23
|
-
pcImgHoverUrl: '',
|
|
24
|
-
h5ImgHoverUrl: ''
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
icon: {
|
|
28
|
-
open: true,
|
|
29
|
-
color: '#2F54EB'
|
|
30
|
-
},
|
|
31
|
-
customize: {
|
|
32
|
-
layout: 'left',
|
|
33
|
-
align: 'left'
|
|
34
|
-
},
|
|
35
|
-
background: {
|
|
36
|
-
opacity: 100,
|
|
37
|
-
color: '#fff',
|
|
38
|
-
image: '',
|
|
39
|
-
bgType: 'color'
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export { getDefaultJSON };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var img = "data:image/svg+xml,%3csvg width='69' height='20' viewBox='0 0 69 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.459 0.0166016H5.12022C3.76042 0.0194901 2.45736 0.562029 1.49731 1.52504C0.53725 2.48804 -0.00128482 3.79276 2.3019e-06 5.15257V19.5672C-0.000156996 19.6234 0.0107454 19.679 0.0320869 19.7309C0.0534285 19.7829 0.0847912 19.8301 0.124385 19.8699C0.163978 19.9097 0.211026 19.9414 0.262844 19.963C0.314661 19.9846 0.370232 19.9958 0.426385 19.996H11.5535C13.7819 19.9912 15.9171 19.1014 17.4895 17.5224C19.0619 15.9435 19.9427 13.8045 19.9382 11.5762V8.52608C19.9414 6.27348 19.0501 4.11179 17.4601 2.51612C15.8701 0.92046 13.7116 0.0214159 11.459 0.0166016ZM15.1681 11.4429C15.17 12.4235 14.7824 13.3647 14.0905 14.0596C13.3986 14.7545 12.459 15.1461 11.4784 15.1483H6.81001L3.03555 16.9193L4.83678 14.1526V5.19739C4.83645 5.08419 4.88103 4.97549 4.96073 4.89511C5.04043 4.81472 5.14875 4.76923 5.26195 4.76858H11.6662C12.5955 4.77211 13.4856 5.14376 14.1415 5.80216C14.7974 6.46056 15.1657 7.35204 15.1656 8.28139L15.1681 11.4429Z' fill='%23CE1126'/%3e%3cpath d='M27.3733 2.39582C27.3733 1.07858 26.3055 0.0107422 24.9882 0.0107422C23.671 0.0107422 22.6031 1.07858 22.6031 2.39582V17.6148C22.6031 18.932 23.671 19.9998 24.9882 19.9998C26.3055 19.9998 27.3733 18.932 27.3733 17.6148V2.39582Z' fill='%23CE1126'/%3e%3cpath d='M46.8076 0H30.4646C30.4083 -2.25721e-07 30.3526 0.0110998 30.3007 0.0326641C30.2487 0.0542284 30.2015 0.0858331 30.1618 0.125667C30.1221 0.165501 30.0906 0.212782 30.0692 0.2648C30.0478 0.316818 30.0368 0.372551 30.037 0.428805V4.29774C30.0368 4.35399 30.0478 4.40973 30.0692 4.46175C30.0906 4.51376 30.1221 4.56104 30.1618 4.60088C30.2015 4.64071 30.2487 4.67232 30.3007 4.69388C30.3526 4.71545 30.4083 4.72655 30.4646 4.72655H35.8138C35.8699 4.7267 35.9255 4.73792 35.9773 4.75956C36.0291 4.78119 36.0762 4.81282 36.1158 4.85264C36.1554 4.89246 36.1867 4.93969 36.208 4.99162C36.2294 5.04356 36.2403 5.0992 36.2401 5.15535V19.57C36.24 19.6262 36.2509 19.682 36.2723 19.734C36.2937 19.786 36.3252 19.8333 36.365 19.8731C36.4047 19.913 36.4519 19.9446 36.5038 19.9661C36.5558 19.9877 36.6115 19.9988 36.6677 19.9988H40.6105C40.6667 19.9986 40.7223 19.9874 40.7741 19.9658C40.8259 19.9441 40.873 19.9125 40.9126 19.8727C40.9522 19.8329 40.9835 19.7856 41.0049 19.7337C41.0262 19.6818 41.0371 19.6261 41.037 19.57V5.15535C41.036 5.04236 41.0798 4.93358 41.1588 4.85277C41.2377 4.77197 41.3455 4.72572 41.4585 4.72412H46.8076C46.8638 4.72396 46.9193 4.71275 46.9712 4.69111C47.023 4.66948 47.07 4.63785 47.1096 4.59803C47.1492 4.55821 47.1806 4.51098 47.2019 4.45904C47.2233 4.4071 47.2342 4.35147 47.234 4.29532V0.428805C47.2342 0.372653 47.2233 0.317019 47.2019 0.26508C47.1806 0.21314 47.1492 0.165914 47.1096 0.126095C47.07 0.0862771 47.023 0.0546472 46.9712 0.0330117C46.9193 0.0113762 46.8638 0.000158847 46.8076 0V0Z' fill='%23CE1126'/%3e%3cpath d='M58.3829 0.0107422H58.2508C55.6058 0.0165188 53.0714 1.07272 51.205 2.94703C49.3387 4.82134 48.2933 7.36024 48.2987 10.0053V17.4355C48.2974 18.1141 48.5657 18.7654 49.0445 19.2463C49.5234 19.7272 50.1736 19.9982 50.8522 19.9998H58.3817C61.0261 19.9931 63.5596 18.9365 65.4252 17.0623C67.2907 15.1881 68.3357 12.6497 68.3302 10.0053C68.3357 7.36108 67.2909 4.82291 65.4256 2.94874C63.5603 1.07457 61.0271 0.0178015 58.3829 0.0107422ZM63.4329 9.94351C63.4309 11.1388 63.017 12.2968 62.2607 13.2224C61.5044 14.1479 60.4522 14.7844 59.2813 15.0246C58.1104 15.2647 56.8925 15.0937 55.833 14.5406C54.7735 13.9874 53.9371 13.0858 53.4649 11.9878C52.9927 10.8898 52.9135 9.66252 53.2407 8.51294C53.5679 7.36335 54.2814 6.36174 55.2611 5.67697C56.2407 4.99221 57.4265 4.66616 58.6185 4.75382C59.8106 4.84147 60.9359 5.33746 61.8049 6.15816L65.2425 4.80633L62.9096 7.66382C63.2544 8.37299 63.4333 9.15132 63.4329 9.93988V9.94351Z' fill='%23CE1126'/%3e%3c/svg%3e";
|
|
2
|
-
|
|
3
|
-
export { img as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __extends, __decorate } from '../../../../../../my_my_node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import React__default, { Component } from 'react';
|
|
3
|
-
import { getDefaultJSON } from './defaultJSON.js';
|
|
4
|
-
import SearchMobile from './mobile/index.js';
|
|
5
|
-
import { isPc } from '../../../../utils/coreUtil.js';
|
|
6
|
-
import compositeDecorator from '../../../../decorator/compositeDecorator.js';
|
|
7
|
-
|
|
8
|
-
var SearchBar =
|
|
9
|
-
/** @class */
|
|
10
|
-
function (_super) {
|
|
11
|
-
__extends(SearchBar, _super);
|
|
12
|
-
|
|
13
|
-
function SearchBar() {
|
|
14
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
SearchBar.prototype.render = function () {
|
|
18
|
-
var nodeData = this.props.nodeData;
|
|
19
|
-
return /*#__PURE__*/React__default.createElement("div", null, isPc() ? null : /*#__PURE__*/React__default.createElement(SearchMobile, {
|
|
20
|
-
data: nodeData
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
SearchBar.defaultProps = {};
|
|
25
|
-
SearchBar.type = 'SEARCH';
|
|
26
|
-
SearchBar.getDefaultJSON = getDefaultJSON;
|
|
27
|
-
SearchBar = __decorate([compositeDecorator], SearchBar);
|
|
28
|
-
return SearchBar;
|
|
29
|
-
}(Component);
|
|
30
|
-
|
|
31
|
-
export { SearchBar as default };
|