@fonixtree/magic-design 2.0.53 → 2.0.54
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/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/Trueno-Light.otf +0 -0
- package/es/assets/fonts/Trueno-Regular.otf +0 -0
- package/es/assets/fonts/TruenoBd.otf +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +507 -0
- package/es/assets/fonts/magic-box-iconfont.css.bak +516 -0
- package/es/assets/fonts/magic-box-iconfont.js +5 -0
- package/es/assets/fonts/magic-box-iconfont.js.bak +5 -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/base64/index.js +18 -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/carouselLayout3.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/imageTextLeft.svg +6 -0
- package/es/assets/images/layout-icon/imageTextRight.svg +6 -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-navigation-newline.png +0 -0
- package/es/assets/images/layout-icon/layout-navigation-normal.png +0 -0
- package/es/assets/images/layout-icon/layout-navigation-tile.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-1.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/layout-video-h5-1.png +0 -0
- package/es/assets/images/layout-icon/layout-video-h5-2.png +0 -0
- package/es/assets/images/layout-icon/layout-video-h5-3.png +0 -0
- package/es/assets/images/layout-icon/layout-video-pc-1.png +0 -0
- package/es/assets/images/layout-icon/layout-video-pc-2.png +0 -0
- package/es/assets/images/layout-icon/layout-video-pc-3.png +0 -0
- package/es/assets/images/layout-icon/layout-video-pc-4.png +0 -0
- package/es/assets/images/layout-icon/layout-video-pc-5.png +0 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/images/layout-icon/newsletter.svg +7 -0
- package/es/assets/images/layout-icon/walletLayout1.png +0 -0
- package/es/assets/images/layout-icon/walletLayout2.png +0 -0
- package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/es/assets/less/button.less +32 -0
- package/es/assets/less/common.less +82 -0
- package/es/assets/less/cylon-antd.less +32456 -0
- package/es/assets/less/datepicker.less +13 -0
- package/es/assets/less/font.less +70 -0
- package/es/assets/less/form.less +10 -0
- package/es/assets/less/global.less +8 -0
- package/es/assets/less/index.less +13 -0
- package/es/assets/less/input.less +26 -0
- package/es/assets/less/menu.less +21 -0
- package/es/assets/less/modal.less +25 -0
- package/es/assets/less/select.less +32 -0
- package/es/assets/less/slider.less +69 -0
- package/es/assets/less/switch.less +20 -0
- package/es/assets/less/table.less +52 -0
- package/es/assets/less/variables.less +4 -0
- package/es/common/AffiliateProductModal/index.js +582 -0
- package/es/common/AffiliateProductModal/index.less +146 -0
- package/es/common/AlignSelector/index.js +120 -0
- package/es/common/AlignSelector/index.less +28 -0
- package/es/common/Button/index.js +135 -0
- package/es/common/Button/index.less +73 -0
- package/es/common/ButtonIconLayout/index.js +105 -0
- package/es/common/ButtonIconLayout/index.less +55 -0
- package/es/common/CardCarousel/index.js +171 -0
- package/es/common/CardCarousel/index.less +28 -0
- package/es/common/Carousel/index.js +69 -0
- package/es/common/Carousel/index.less +0 -0
- package/es/common/Collapse/index.js +398 -0
- package/es/common/Collapse/index.less +100 -0
- package/es/common/ColorPicker/imgs/no-color.png +0 -0
- package/es/common/ColorPicker/index.js +134 -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 +97 -0
- package/es/common/Field/index.less +37 -0
- package/es/common/FontStyles/index.js +197 -0
- package/es/common/FontStyles/index.less +64 -0
- package/es/common/GroupList/defaultImg.png +0 -0
- package/es/common/GroupList/index.js +211 -0
- package/es/common/GroupList/index.less +88 -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/ImageLazy/index.js +172 -0
- package/es/common/ImageLazy/index.less +0 -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 +815 -0
- package/es/common/ImageModal/index.less +34 -0
- package/es/common/ImageModal/utils.js +609 -0
- package/es/common/ImagePicker/index.js +317 -0
- package/es/common/ImagePicker/index.less +206 -0
- package/es/common/ImgArea/components/Crop.js +270 -0
- package/es/common/ImgArea/components/Icons.js +44 -0
- package/es/common/ImgArea/components/MultiCrops.js +217 -0
- package/es/common/ImgArea/index.js +11 -0
- package/es/common/InputNumber/index.js +91 -0
- package/es/common/InputNumber/index.less +38 -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 +37 -0
- package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/es/common/LinkModal/BundleCampaign/index.js +412 -0
- package/es/common/LinkModal/BundleCampaign/index.less +19 -0
- package/es/common/LinkModal/CatgTable/index.js +244 -0
- package/es/common/LinkModal/CouponTable/index.js +315 -0
- package/es/common/LinkModal/CustomTable/index.js +237 -0
- package/es/common/LinkModal/FilteredProductModal/index.js +706 -0
- package/es/common/LinkModal/FilteredProductModal/index.less +127 -0
- package/es/common/LinkModal/FunctionTable/index.js +233 -0
- package/es/common/LinkModal/MiniAppTable/index.js +250 -0
- package/es/common/LinkModal/ProductDetailPage/index.js +504 -0
- package/es/common/LinkModal/ProductDetailPage/index.less +10 -0
- package/es/common/LinkModal/SelectVideoModal/index.js +212 -0
- package/es/common/LinkModal/SelectVideoModal/index.less +112 -0
- package/es/common/LinkModal/ShareUrl/index.js +33 -0
- package/es/common/LinkModal/ShareUrl/index.less +3 -0
- package/es/common/LinkModal/StoreCatgTable/index.js +244 -0
- package/es/common/LinkModal/StoreTable/index.js +328 -0
- package/es/common/LinkModal/index.js +368 -0
- package/es/common/LinkModal/index.less +104 -0
- package/es/common/MagicLink/index.js +89 -0
- package/es/common/MagicLink/index.less +0 -0
- package/es/common/MessageModal/index.js +73 -0
- package/es/common/MessageModal/index.less +86 -0
- package/es/common/MyModal/index.js +417 -0
- package/es/common/MyModal/index.less +74 -0
- package/es/common/NewImg/index.js +165 -0
- package/es/common/NewImg/index.less +0 -0
- package/es/common/ProductModal/index.js +790 -0
- package/es/common/ProductModal/index.less +146 -0
- package/es/common/ProductSource/index.js +286 -0
- package/es/common/ProductSource/index.less +14 -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/SwiperBan/index.js +94 -0
- package/es/common/SwiperBan/index.less +25 -0
- package/es/common/SwitchCollapse/index.js +216 -0
- package/es/common/SwitchCollapse/index.less +40 -0
- package/es/common/SystemNotification/Confirm/index.js +263 -0
- package/es/common/SystemNotification/Confirm/index.less +33 -0
- package/es/common/SystemNotification/index.js +115 -0
- package/es/common/UrlPicker/index.js +135 -0
- package/es/common/UrlPicker/index.less +86 -0
- package/es/common/Video/background.png +0 -0
- package/es/common/Video/closeImg.png +0 -0
- package/es/common/Video/components/index.js +100 -0
- package/es/common/Video/components/index.less +62 -0
- package/es/common/Video/cover.png +0 -0
- package/es/common/Video/index.js +748 -0
- package/es/common/Video/index.less +70 -0
- package/es/common/VideoUpload/index.js +156 -0
- package/es/common/VideoUpload/index.less +114 -0
- package/es/common/VideoUpload/video-upload-icon.png +0 -0
- package/es/common/index.js +191 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
- package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/Banner/index.js +103 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +302 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.less +54 -0
- package/es/composite-comp/bol/components/Banner/pc/index.js +356 -0
- package/es/composite-comp/bol/components/Banner/pc/index.less +85 -0
- package/es/composite-comp/bol/components/Button/defaultJSON.js +94 -0
- package/es/composite-comp/bol/components/Button/index.js +122 -0
- package/es/composite-comp/bol/components/Button/index.less +47 -0
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
- package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
- package/es/composite-comp/bol/components/Carousel/index.js +112 -0
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
- package/es/composite-comp/bol/components/Carousel/pc/index.js +362 -0
- package/es/composite-comp/bol/components/Carousel/pc/index.less +117 -0
- package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/es/composite-comp/bol/components/Divider/index.js +103 -0
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/index.js +88 -0
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
- package/es/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
- package/es/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
- package/es/composite-comp/bol/components/ImageText/index.js +88 -0
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.js +338 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.less +150 -0
- package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/es/composite-comp/bol/components/Location/index.js +100 -0
- package/es/composite-comp/bol/components/Location/index.less +15 -0
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
- package/es/composite-comp/bol/components/Newsletter/index.js +141 -0
- package/es/composite-comp/bol/components/Newsletter/index.less +75 -0
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
- package/es/composite-comp/bol/components/Tag/index.js +127 -0
- package/es/composite-comp/bol/components/Tag/index.less +35 -0
- package/es/composite-comp/bol/components/Text/defaultJSON.js +151 -0
- package/es/composite-comp/bol/components/Text/index.js +161 -0
- package/es/composite-comp/bol/components/Text/index.less +58 -0
- package/es/composite-comp/bol/components/Text/slice.svg +1 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
- package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
- package/es/composite-comp/bol/components/Video/defaultJSON.js +239 -0
- package/es/composite-comp/bol/components/Video/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
- package/es/composite-comp/bol/components/Video/index.js +111 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
- package/es/composite-comp/bol/components/Video/mobile/index.js +79 -0
- package/es/composite-comp/bol/components/Video/mobile/index.less +3 -0
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
- package/es/composite-comp/bol/components/Video/pc/index.js +139 -0
- package/es/composite-comp/bol/components/Video/pc/index.less +4 -0
- package/es/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
- package/es/composite-comp/bol/components/Wallet/index.js +84 -0
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
- package/es/composite-comp/bol/components/Wallet/pc/index.js +361 -0
- package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -0
- package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
- package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
- package/es/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
- package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
- package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
- package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
- package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
- package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
- package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
- package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
- package/es/composite-comp/common/components/ImageLabel/index.js +90 -0
- package/es/composite-comp/common/components/ImageLabel/index.less +45 -0
- package/es/composite-comp/common/components/ProductItem/index.js +248 -0
- package/es/composite-comp/common/components/ProductItem/index.less +168 -0
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
- package/es/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
- package/es/composite-comp/dito/components/FlashDeal/index.js +90 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
- package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
- package/es/composite-comp/dito/components/MobileNavigation/index.js +84 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
- package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
- package/es/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
- package/es/composite-comp/dito/components/PcNavigation/index.js +84 -0
- package/es/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
- package/es/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
- package/es/composite-comp/dito/components/Recommend/index.js +90 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/index.js +762 -0
- package/es/composite-comp/dito/components/Recommend/pc/index.less +124 -0
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
- package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
- package/es/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
- package/es/composite-comp/dito/components/SearchBar/index.js +91 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
- package/es/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
- package/es/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
- package/es/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
- package/es/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
- package/es/composite-comp/dito/components/SignBoard/index.js +91 -0
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
- package/es/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
- package/es/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
- package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
- package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
- package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
- package/es/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
- package/es/constants/component-types.js +141 -0
- package/es/constants/index.js +257 -0
- package/es/constants/layout.js +315 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
- package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/es/core/Designer/AiImageGenerator/index.js +752 -0
- package/es/core/Designer/AiImageGenerator/index.less +136 -0
- package/es/core/Designer/AppointmentModal/index.js +87 -0
- package/es/core/Designer/AppointmentModal/index.less +23 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/es/core/Designer/ChatRobot/index.js +343 -0
- package/es/core/Designer/ChatRobot/index.less +138 -0
- package/es/core/Designer/ChatRobot/markdown.less +1 -0
- package/es/core/Designer/CompListPanel/CompCard/index.js +50 -0
- package/es/core/Designer/CompListPanel/CompCard/index.less +69 -0
- package/es/core/Designer/CompListPanel/index.js +149 -0
- package/es/core/Designer/CompListPanel/index.less +69 -0
- package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
- package/es/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
- package/es/core/Designer/ConfigPanel/index.js +390 -0
- package/es/core/Designer/ConfigPanel/index.less +148 -0
- package/es/core/Designer/FonixtreeGpt/index.js +160 -0
- package/es/core/Designer/History/index.js +97 -0
- package/es/core/Designer/LeftTitle/index.js +66 -0
- package/es/core/Designer/LeftTitle/index.less +9 -0
- package/es/core/Designer/PageCompList/index.js +328 -0
- package/es/core/Designer/PageCompList/index.less +139 -0
- package/es/core/Designer/QuickMenuBar/index.js +236 -0
- package/es/core/Designer/QuickMenuBar/index.less +121 -0
- package/es/core/Designer/RenderHtml/index.js +99 -0
- package/es/core/Designer/RenderHtml/index.less +5 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/es/core/Designer/ToolBarModal/index.js +411 -0
- package/es/core/Designer/ToolBarModal/index.less +33 -0
- package/es/core/Designer/ViewArea/index.js +191 -0
- package/es/core/Designer/ViewArea/index.less +89 -0
- package/es/core/Designer/index.js +812 -0
- package/es/core/Designer/index.less +6 -0
- package/es/core/Renderer/index.js +184 -0
- package/es/decorator/compositeDecorator.js +276 -0
- package/es/decorator/index.js +68 -0
- package/es/decorator/lazyLoadDecorator.js +75 -0
- package/es/decorator/metaDecorator.js +241 -0
- package/es/decorator/updateConfigDecorator.js +76 -0
- package/es/index.js +29 -0
- package/es/locale/en/en.json +184 -0
- package/es/locale/es/es.json +184 -0
- package/es/locale/id/id.json +184 -0
- package/es/locale/index.js +45 -0
- package/es/meta-comp/components/Button/editable.js +123 -0
- package/es/meta-comp/components/Button/editable.less +6 -0
- package/es/meta-comp/components/Button/index.js +183 -0
- package/es/meta-comp/components/Button/index.less +21 -0
- package/es/meta-comp/components/Image/image/default-img.png +0 -0
- package/es/meta-comp/components/Image/image/h5DefImg.png +0 -0
- package/es/meta-comp/components/Image/image/h5Img.png +0 -0
- package/es/meta-comp/components/Image/image/pcDefImg.png +0 -0
- package/es/meta-comp/components/Image/image/pcImg.png +0 -0
- package/es/meta-comp/components/Image/index.js +262 -0
- package/es/meta-comp/components/Image/index.less +25 -0
- package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/es/meta-comp/components/Text/index.js +306 -0
- package/es/meta-comp/components/Text/index.less +103 -0
- package/es/meta-comp/components/index.js +31 -0
- package/es/meta-comp/config-panels/BaseConfig.js +85 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +397 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.less +4 -0
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
- package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
- package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +448 -0
- package/es/meta-comp/config-panels/ImageConfig/index.less +16 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/es/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
- package/es/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +379 -0
- package/es/meta-comp/config-panels/TextConfig/index.less +20 -0
- package/es/mobx/Frame.js +85 -0
- package/es/mobx/Store.js +104 -0
- package/es/mobx/index.js +42 -0
- package/es/utils/androidUtil.js +134 -0
- package/es/utils/businessUtil.js +464 -0
- package/es/utils/commonUtil.js +951 -0
- package/es/utils/compJsonUtil.js +240 -0
- package/es/utils/coreUtil.js +394 -0
- package/es/utils/currencyUtil.js +216 -0
- package/es/utils/dataTreeUtils.js +134 -0
- package/es/utils/dateUtil.js +70 -0
- package/es/utils/storeUtil.js +258 -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/Trueno-Light.otf +0 -0
- package/lib/assets/fonts/Trueno-Regular.otf +0 -0
- package/lib/assets/fonts/TruenoBd.otf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +507 -0
- package/lib/assets/fonts/magic-box-iconfont.css.bak +516 -0
- package/lib/assets/fonts/magic-box-iconfont.js +5 -0
- package/lib/assets/fonts/magic-box-iconfont.js.bak +5 -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/base64/index.js +18 -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/carouselLayout3.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/imageTextLeft.svg +6 -0
- package/lib/assets/images/layout-icon/imageTextRight.svg +6 -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-navigation-newline.png +0 -0
- package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
- package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
- package/lib/assets/images/layout-icon/layout-search.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
- package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/images/layout-icon/newsletter.svg +7 -0
- package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
- package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
- package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/lib/assets/less/button.less +32 -0
- package/lib/assets/less/common.less +82 -0
- package/lib/assets/less/cylon-antd.less +32456 -0
- package/lib/assets/less/datepicker.less +13 -0
- package/lib/assets/less/font.less +70 -0
- package/lib/assets/less/form.less +10 -0
- package/lib/assets/less/global.less +8 -0
- package/lib/assets/less/index.less +13 -0
- package/lib/assets/less/input.less +26 -0
- package/lib/assets/less/menu.less +21 -0
- package/lib/assets/less/modal.less +25 -0
- package/lib/assets/less/select.less +32 -0
- package/lib/assets/less/slider.less +69 -0
- package/lib/assets/less/switch.less +20 -0
- package/lib/assets/less/table.less +52 -0
- package/lib/assets/less/variables.less +4 -0
- package/lib/common/AffiliateProductModal/index.js +582 -0
- package/lib/common/AffiliateProductModal/index.less +146 -0
- package/lib/common/AlignSelector/index.js +120 -0
- package/lib/common/AlignSelector/index.less +28 -0
- package/lib/common/Button/index.js +135 -0
- package/lib/common/Button/index.less +73 -0
- package/lib/common/ButtonIconLayout/index.js +105 -0
- package/lib/common/ButtonIconLayout/index.less +55 -0
- package/lib/common/CardCarousel/index.js +171 -0
- package/lib/common/CardCarousel/index.less +28 -0
- package/lib/common/Carousel/index.js +69 -0
- package/lib/common/Carousel/index.less +0 -0
- package/lib/common/Collapse/index.js +398 -0
- package/lib/common/Collapse/index.less +100 -0
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +134 -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 +97 -0
- package/lib/common/Field/index.less +37 -0
- package/lib/common/FontStyles/index.js +197 -0
- package/lib/common/FontStyles/index.less +64 -0
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +211 -0
- package/lib/common/GroupList/index.less +88 -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/ImageLazy/index.js +172 -0
- package/lib/common/ImageLazy/index.less +0 -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 +815 -0
- package/lib/common/ImageModal/index.less +34 -0
- package/lib/common/ImageModal/utils.js +609 -0
- package/lib/common/ImagePicker/index.js +317 -0
- package/lib/common/ImagePicker/index.less +206 -0
- package/lib/common/ImgArea/components/Crop.js +270 -0
- package/lib/common/ImgArea/components/Icons.js +44 -0
- package/lib/common/ImgArea/components/MultiCrops.js +217 -0
- package/lib/common/ImgArea/index.js +11 -0
- package/lib/common/InputNumber/index.js +91 -0
- package/lib/common/InputNumber/index.less +38 -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 +37 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +412 -0
- package/lib/common/LinkModal/BundleCampaign/index.less +19 -0
- package/lib/common/LinkModal/CatgTable/index.js +244 -0
- package/lib/common/LinkModal/CouponTable/index.js +315 -0
- package/lib/common/LinkModal/CustomTable/index.js +237 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +706 -0
- package/lib/common/LinkModal/FilteredProductModal/index.less +127 -0
- package/lib/common/LinkModal/FunctionTable/index.js +233 -0
- package/lib/common/LinkModal/MiniAppTable/index.js +250 -0
- package/lib/common/LinkModal/ProductDetailPage/index.js +504 -0
- package/lib/common/LinkModal/ProductDetailPage/index.less +10 -0
- package/lib/common/LinkModal/SelectVideoModal/index.js +212 -0
- package/lib/common/LinkModal/SelectVideoModal/index.less +112 -0
- package/lib/common/LinkModal/ShareUrl/index.js +33 -0
- package/lib/common/LinkModal/ShareUrl/index.less +3 -0
- package/lib/common/LinkModal/StoreCatgTable/index.js +244 -0
- package/lib/common/LinkModal/StoreTable/index.js +328 -0
- package/lib/common/LinkModal/index.js +368 -0
- package/lib/common/LinkModal/index.less +104 -0
- package/lib/common/MagicLink/index.js +89 -0
- package/lib/common/MagicLink/index.less +0 -0
- package/lib/common/MessageModal/index.js +73 -0
- package/lib/common/MessageModal/index.less +86 -0
- package/lib/common/MyModal/index.js +417 -0
- package/lib/common/MyModal/index.less +74 -0
- package/lib/common/NewImg/index.js +165 -0
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/ProductModal/index.js +790 -0
- package/lib/common/ProductModal/index.less +146 -0
- package/lib/common/ProductSource/index.js +286 -0
- package/lib/common/ProductSource/index.less +14 -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/SwiperBan/index.js +94 -0
- package/lib/common/SwiperBan/index.less +25 -0
- package/lib/common/SwitchCollapse/index.js +216 -0
- package/lib/common/SwitchCollapse/index.less +40 -0
- package/lib/common/SystemNotification/Confirm/index.js +263 -0
- package/lib/common/SystemNotification/Confirm/index.less +33 -0
- package/lib/common/SystemNotification/index.js +115 -0
- package/lib/common/UrlPicker/index.js +135 -0
- package/lib/common/UrlPicker/index.less +86 -0
- package/lib/common/Video/background.png +0 -0
- package/lib/common/Video/closeImg.png +0 -0
- package/lib/common/Video/components/index.js +100 -0
- package/lib/common/Video/components/index.less +62 -0
- package/lib/common/Video/cover.png +0 -0
- package/lib/common/Video/index.js +748 -0
- package/lib/common/Video/index.less +70 -0
- package/lib/common/VideoUpload/index.js +156 -0
- package/lib/common/VideoUpload/index.less +114 -0
- package/lib/common/VideoUpload/video-upload-icon.png +0 -0
- package/lib/common/index.js +191 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
- package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Banner/index.js +103 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +302 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +54 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.js +356 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.less +85 -0
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +94 -0
- package/lib/composite-comp/bol/components/Button/index.js +122 -0
- package/lib/composite-comp/bol/components/Button/index.less +47 -0
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
- package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +112 -0
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +362 -0
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +117 -0
- package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
- package/lib/composite-comp/bol/components/Divider/index.js +103 -0
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/index.js +88 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
- package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +338 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +150 -0
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/lib/composite-comp/bol/components/Location/index.js +100 -0
- package/lib/composite-comp/bol/components/Location/index.less +15 -0
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
- package/lib/composite-comp/bol/components/Newsletter/index.js +141 -0
- package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
- package/lib/composite-comp/bol/components/Tag/index.js +127 -0
- package/lib/composite-comp/bol/components/Tag/index.less +35 -0
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +151 -0
- package/lib/composite-comp/bol/components/Text/index.js +161 -0
- package/lib/composite-comp/bol/components/Text/index.less +58 -0
- package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +239 -0
- package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
- package/lib/composite-comp/bol/components/Video/index.js +111 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
- package/lib/composite-comp/bol/components/Video/mobile/index.js +79 -0
- package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
- package/lib/composite-comp/bol/components/Video/pc/index.js +139 -0
- package/lib/composite-comp/bol/components/Video/pc/index.less +4 -0
- package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
- package/lib/composite-comp/bol/components/Wallet/index.js +84 -0
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +361 -0
- package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -0
- package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
- package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
- package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
- package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
- package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
- package/lib/composite-comp/common/components/ImageLabel/index.less +45 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +248 -0
- package/lib/composite-comp/common/components/ProductItem/index.less +168 -0
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
- package/lib/composite-comp/dito/components/FlashDeal/index.js +90 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
- package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
- package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
- package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
- package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
- package/lib/composite-comp/dito/components/PcNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
- package/lib/composite-comp/dito/components/Recommend/index.js +90 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +762 -0
- package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
- package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
- package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
- package/lib/composite-comp/dito/components/SearchBar/index.js +91 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
- package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
- package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
- package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
- package/lib/composite-comp/dito/components/SignBoard/index.js +91 -0
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
- package/lib/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
- package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
- package/lib/constants/component-types.js +141 -0
- package/lib/constants/index.js +257 -0
- package/lib/constants/layout.js +315 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +752 -0
- package/lib/core/Designer/AiImageGenerator/index.less +136 -0
- package/lib/core/Designer/AppointmentModal/index.js +87 -0
- package/lib/core/Designer/AppointmentModal/index.less +23 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/lib/core/Designer/ChatRobot/index.js +343 -0
- package/lib/core/Designer/ChatRobot/index.less +138 -0
- package/lib/core/Designer/ChatRobot/markdown.less +1 -0
- package/lib/core/Designer/CompListPanel/CompCard/index.js +50 -0
- package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
- package/lib/core/Designer/CompListPanel/index.js +149 -0
- package/lib/core/Designer/CompListPanel/index.less +69 -0
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
- package/lib/core/Designer/ConfigPanel/index.js +390 -0
- package/lib/core/Designer/ConfigPanel/index.less +148 -0
- package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
- package/lib/core/Designer/History/index.js +97 -0
- package/lib/core/Designer/LeftTitle/index.js +66 -0
- package/lib/core/Designer/LeftTitle/index.less +9 -0
- package/lib/core/Designer/PageCompList/index.js +328 -0
- package/lib/core/Designer/PageCompList/index.less +139 -0
- package/lib/core/Designer/QuickMenuBar/index.js +236 -0
- package/lib/core/Designer/QuickMenuBar/index.less +121 -0
- package/lib/core/Designer/RenderHtml/index.js +99 -0
- package/lib/core/Designer/RenderHtml/index.less +5 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/lib/core/Designer/ToolBarModal/index.js +411 -0
- package/lib/core/Designer/ToolBarModal/index.less +33 -0
- package/lib/core/Designer/ViewArea/index.js +191 -0
- package/lib/core/Designer/ViewArea/index.less +89 -0
- package/lib/core/Designer/index.js +812 -0
- package/lib/core/Designer/index.less +6 -0
- package/lib/core/Renderer/index.js +184 -0
- package/lib/decorator/compositeDecorator.js +276 -0
- package/lib/decorator/index.js +68 -0
- package/lib/decorator/lazyLoadDecorator.js +75 -0
- package/lib/decorator/metaDecorator.js +241 -0
- package/lib/decorator/updateConfigDecorator.js +76 -0
- package/lib/index.js +29 -0
- package/lib/locale/en/en.json +184 -0
- package/lib/locale/es/es.json +184 -0
- package/lib/locale/id/id.json +184 -0
- package/lib/locale/index.js +45 -0
- package/lib/meta-comp/components/Button/editable.js +123 -0
- package/lib/meta-comp/components/Button/editable.less +6 -0
- package/lib/meta-comp/components/Button/index.js +183 -0
- package/lib/meta-comp/components/Button/index.less +21 -0
- package/lib/meta-comp/components/Image/image/default-img.png +0 -0
- package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
- package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
- package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
- package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
- package/lib/meta-comp/components/Image/index.js +262 -0
- package/lib/meta-comp/components/Image/index.less +25 -0
- package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/lib/meta-comp/components/Text/index.js +306 -0
- package/lib/meta-comp/components/Text/index.less +103 -0
- package/lib/meta-comp/components/index.js +31 -0
- package/lib/meta-comp/config-panels/BaseConfig.js +85 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +397 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +448 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
- package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +379 -0
- package/lib/meta-comp/config-panels/TextConfig/index.less +20 -0
- package/lib/mobx/Frame.js +85 -0
- package/lib/mobx/Store.js +104 -0
- package/lib/mobx/index.js +42 -0
- package/lib/utils/androidUtil.js +134 -0
- package/lib/utils/businessUtil.js +464 -0
- package/lib/utils/commonUtil.js +951 -0
- package/lib/utils/compJsonUtil.js +240 -0
- package/lib/utils/coreUtil.js +394 -0
- package/lib/utils/currencyUtil.js +216 -0
- package/lib/utils/dataTreeUtils.js +134 -0
- package/lib/utils/dateUtil.js +70 -0
- package/lib/utils/storeUtil.js +258 -0
- package/package.json +2 -86
- package/README.md +0 -122
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.sendToJs = exports.sendToIos = exports.sendToApp = exports.sendToAndroid = exports.iosSendToJs = exports.connectWebViewJavascriptBridge = exports.browserVersion = void 0;
|
|
7
|
+
|
|
8
|
+
// 判断访问终端
|
|
9
|
+
var browserVersion = function browserVersion() {
|
|
10
|
+
var u = navigator.userAgent;
|
|
11
|
+
return {
|
|
12
|
+
trident: u.indexOf('Trident') > -1,
|
|
13
|
+
presto: u.indexOf('Presto') > -1,
|
|
14
|
+
webKit: u.indexOf('AppleWebKit') > -1,
|
|
15
|
+
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,
|
|
16
|
+
mobile: !!u.match(/AppleWebKit.*Mobile.*/),
|
|
17
|
+
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
|
|
18
|
+
android: u.indexOf('Android') > -1 || u.indexOf('Adr') > -1,
|
|
19
|
+
iPhone: u.indexOf('iPhone') > -1,
|
|
20
|
+
iPad: u.indexOf('iPad') > -1,
|
|
21
|
+
webApp: u.indexOf('Safari') == -1,
|
|
22
|
+
weixin: u.indexOf('MicroMessenger') > -1,
|
|
23
|
+
qq: u.match(/\sQQ/i) == ' qq',
|
|
24
|
+
isApp: u.indexOf('app/CYLON-APP') > -1,
|
|
25
|
+
isAshitaApp: u.indexOf('app/ASHITA-APP') > -1
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
exports.browserVersion = browserVersion;
|
|
30
|
+
|
|
31
|
+
var setupWebViewJavascriptBridge = function setupWebViewJavascriptBridge(callback) {
|
|
32
|
+
if (window.WebViewJavascriptBridge) {
|
|
33
|
+
return callback(window.WebViewJavascriptBridge);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (window.WVJBCallbacks) {
|
|
37
|
+
return window.WVJBCallbacks.push(callback);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
window.WVJBCallbacks = [callback]; // 创建一个 WVJBCallbacks 全局属性数组,并将 callback 插入到数组中。
|
|
41
|
+
|
|
42
|
+
var WVJBIframe = document.createElement('iframe'); // 创建一个 iframe 元素
|
|
43
|
+
|
|
44
|
+
WVJBIframe.style.display = 'none'; // 不显示
|
|
45
|
+
|
|
46
|
+
WVJBIframe.src = 'wvjbscheme://__BRIDGE_LOADED__'; // 设置 iframe 的 src 属性
|
|
47
|
+
|
|
48
|
+
document.documentElement.appendChild(WVJBIframe); // 把 iframe 添加到当前文导航上。
|
|
49
|
+
|
|
50
|
+
setTimeout(function () {
|
|
51
|
+
document.documentElement.removeChild(WVJBIframe);
|
|
52
|
+
}, 0);
|
|
53
|
+
}; // 这里主要是注册 OC 将要调用的 JS 方法。
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var iosSendToJs = function iosSendToJs(jsType, func) {
|
|
57
|
+
setupWebViewJavascriptBridge(function (bridge) {
|
|
58
|
+
bridge.registerHandler('iosToJsFunc', function (data, responseCallback) {
|
|
59
|
+
// data 是 OC 传递过来的数据.
|
|
60
|
+
var type = JSON.parse(data).type;
|
|
61
|
+
if (type === jsType) func(data); // responseCallback 是 JS 调用完毕之后传递给 OC 的数据
|
|
62
|
+
// responseCallback({ data: 'js 的数据', from: 'JS' });
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
exports.iosSendToJs = iosSendToJs;
|
|
68
|
+
|
|
69
|
+
var connectWebViewJavascriptBridge = function connectWebViewJavascriptBridge(callback) {
|
|
70
|
+
if (window.WebViewJavascriptBridge) {
|
|
71
|
+
callback(window.WebViewJavascriptBridge);
|
|
72
|
+
} else {
|
|
73
|
+
document.addEventListener('WebViewJavascriptBridgeReady', function () {
|
|
74
|
+
callback(window.WebViewJavascriptBridge);
|
|
75
|
+
}, false);
|
|
76
|
+
}
|
|
77
|
+
}; // 安卓向h5发消息
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
exports.connectWebViewJavascriptBridge = connectWebViewJavascriptBridge;
|
|
81
|
+
|
|
82
|
+
var sendToJs = function sendToJs(jsType, func) {
|
|
83
|
+
connectWebViewJavascriptBridge(function (bridge) {
|
|
84
|
+
if (jsType === 'init') {
|
|
85
|
+
bridge.init(function (message, responseCallback) {
|
|
86
|
+
if (responseCallback) responseCallback();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
bridge.registerHandler('functionInJs', function (data) {
|
|
91
|
+
var type = JSON.parse(data).type;
|
|
92
|
+
if (type === jsType) func();
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}; // h5向安卓发消息
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
exports.sendToJs = sendToJs;
|
|
99
|
+
|
|
100
|
+
var sendToAndroid = function sendToAndroid(data) {
|
|
101
|
+
if (window.WebViewJavascriptBridge) {
|
|
102
|
+
window.WebViewJavascriptBridge.callHandler('action', // 调用java的函数名字
|
|
103
|
+
data);
|
|
104
|
+
}
|
|
105
|
+
}; // h5向iosApp发消息
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
exports.sendToAndroid = sendToAndroid;
|
|
109
|
+
|
|
110
|
+
var sendToIos = function sendToIos(params) {
|
|
111
|
+
if (window.webkit) window.webkit.messageHandlers.jsFunc.postMessage(params);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
exports.sendToIos = sendToIos;
|
|
115
|
+
|
|
116
|
+
var sendToApp = function sendToApp(params) {
|
|
117
|
+
// 对接flutter版本
|
|
118
|
+
if (window.flutter_inject_js_bridge && window.flutter_inject_js_bridge.postMessage) {
|
|
119
|
+
window.flutter_inject_js_bridge.postMessage(JSON.stringify(params));
|
|
120
|
+
} // 对接Nuri App
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
if (window.WebViewJavascriptBridge) {
|
|
124
|
+
window.WebViewJavascriptBridge.callHandler('action', // 调用java的函数名字
|
|
125
|
+
params);
|
|
126
|
+
} // 对接mpaas版本
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
if (AlipayJSBridge) {
|
|
130
|
+
AlipayJSBridge.call('mpaasAction', params);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
exports.sendToApp = sendToApp;
|
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.renderPreview = exports.parseUrl = exports.newParseUrl = exports.listToTree = exports.isPlatform = exports.getPromotionList = exports.computeStyle = exports.canNumber = void 0;
|
|
7
|
+
|
|
8
|
+
var _qs = _interopRequireDefault(require("qs"));
|
|
9
|
+
|
|
10
|
+
var _lodash = require("lodash");
|
|
11
|
+
|
|
12
|
+
var _commonUtil = require("./commonUtil");
|
|
13
|
+
|
|
14
|
+
var _constants = require("../constants");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
/* eslint-disable import/no-cycle */
|
|
19
|
+
var isPlatform = function isPlatform() {
|
|
20
|
+
return window.magicDesign.partyType === 'P';
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
exports.isPlatform = isPlatform;
|
|
24
|
+
|
|
25
|
+
var newParseUrl = function newParseUrl(urlObj) {
|
|
26
|
+
var link = urlObj.value;
|
|
27
|
+
var params;
|
|
28
|
+
var type = urlObj.type,
|
|
29
|
+
value = urlObj.value,
|
|
30
|
+
offerId = urlObj.offerId,
|
|
31
|
+
productId = urlObj.productId;
|
|
32
|
+
|
|
33
|
+
switch (type) {
|
|
34
|
+
// 商品详情
|
|
35
|
+
case _constants.urlTypeMap.PRODUCT_DETAIL_PAGE:
|
|
36
|
+
if (offerId) {
|
|
37
|
+
link = "/product/detail/" + offerId + "?productId=" + (productId !== null && productId !== void 0 ? productId : '');
|
|
38
|
+
} else {
|
|
39
|
+
link = "/product/detail/" + productId;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
params = {
|
|
43
|
+
action: 'jump',
|
|
44
|
+
params: {
|
|
45
|
+
type: 'PRODUCT_DETAIL',
|
|
46
|
+
offerId: offerId,
|
|
47
|
+
productId: productId
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
break;
|
|
51
|
+
|
|
52
|
+
case _constants.urlTypeMap.CATEGORY:
|
|
53
|
+
// 商品列表
|
|
54
|
+
link = "/product/list/" + value;
|
|
55
|
+
params = {
|
|
56
|
+
action: 'jump',
|
|
57
|
+
params: {
|
|
58
|
+
type: 'PRODUCT_LIST',
|
|
59
|
+
catgId: value
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
break;
|
|
63
|
+
|
|
64
|
+
case _constants.urlTypeMap.STORE_CATEGORY:
|
|
65
|
+
// 商品列表
|
|
66
|
+
link = "/product/list/?storeCatgIds=" + value;
|
|
67
|
+
params = {
|
|
68
|
+
action: 'jump',
|
|
69
|
+
params: {
|
|
70
|
+
type: 'STORE_CATEGORY',
|
|
71
|
+
catgId: value
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
break;
|
|
75
|
+
// 海报页面
|
|
76
|
+
|
|
77
|
+
case _constants.urlTypeMap.CUSTOMIZED_PAGE:
|
|
78
|
+
link = "/poster/" + value;
|
|
79
|
+
params = {
|
|
80
|
+
action: 'jump',
|
|
81
|
+
data: {
|
|
82
|
+
type: 'WEBVIEW',
|
|
83
|
+
url: link
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
break;
|
|
87
|
+
// 商品列表
|
|
88
|
+
|
|
89
|
+
case _constants.urlTypeMap.FILTERED_PRODUCT:
|
|
90
|
+
link = "/product/list?" + value;
|
|
91
|
+
params = {
|
|
92
|
+
action: 'jump',
|
|
93
|
+
params: {
|
|
94
|
+
type: 'PRODUCT_LIST',
|
|
95
|
+
params: (0, _lodash.pickBy)(_qs["default"].parse(value), function (value) {
|
|
96
|
+
return value;
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
break;
|
|
101
|
+
|
|
102
|
+
case _constants.urlTypeMap.COUPONS:
|
|
103
|
+
// 领取优惠券
|
|
104
|
+
params = {
|
|
105
|
+
action: 'operation',
|
|
106
|
+
params: {
|
|
107
|
+
type: 'GET_COUPON',
|
|
108
|
+
couponId: value
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
break;
|
|
112
|
+
|
|
113
|
+
case _constants.urlTypeMap.VIDEO:
|
|
114
|
+
// 播放视频
|
|
115
|
+
params = {
|
|
116
|
+
action: 'operation',
|
|
117
|
+
params: {
|
|
118
|
+
type: 'VIDEO',
|
|
119
|
+
data: (0, _commonUtil.ensure)(function () {
|
|
120
|
+
return JSON.parse(value);
|
|
121
|
+
}, {})
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
break;
|
|
125
|
+
|
|
126
|
+
case _constants.urlTypeMap.SHARE_URL:
|
|
127
|
+
// 播放视频
|
|
128
|
+
params = {
|
|
129
|
+
action: 'operation',
|
|
130
|
+
params: {
|
|
131
|
+
type: 'SHARE_URL',
|
|
132
|
+
url: value
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
break;
|
|
136
|
+
|
|
137
|
+
case _constants.urlTypeMap.MINI_APP:
|
|
138
|
+
// 跳转小程序
|
|
139
|
+
link = '';
|
|
140
|
+
params = {
|
|
141
|
+
action: 'jump',
|
|
142
|
+
params: {
|
|
143
|
+
type: 'MINI_APP',
|
|
144
|
+
url: value
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
break;
|
|
148
|
+
|
|
149
|
+
case _constants.urlTypeMap.STORE:
|
|
150
|
+
// 跳转店铺
|
|
151
|
+
link = "/store-home/" + value;
|
|
152
|
+
params = {
|
|
153
|
+
action: 'jump',
|
|
154
|
+
params: {
|
|
155
|
+
type: 'STORE',
|
|
156
|
+
url: value
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
break;
|
|
160
|
+
|
|
161
|
+
case _constants.urlTypeMap.AFFILIATE_PRODUCT:
|
|
162
|
+
// 分销商品
|
|
163
|
+
link = '';
|
|
164
|
+
params = {
|
|
165
|
+
action: 'operation',
|
|
166
|
+
params: {
|
|
167
|
+
type: 'AFFILIATE_PRODUCT',
|
|
168
|
+
productName: value,
|
|
169
|
+
productId: productId
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
break;
|
|
173
|
+
|
|
174
|
+
default:
|
|
175
|
+
var map = {
|
|
176
|
+
'/main/cart': 'CART',
|
|
177
|
+
'/main/account': 'ACCOUNT',
|
|
178
|
+
'/my-coupon': 'MY_COUPON',
|
|
179
|
+
'/coupon-center': 'COUPON_CENTER',
|
|
180
|
+
'/main/community': 'WEBVIEW',
|
|
181
|
+
'/message-center': 'MESSAGE',
|
|
182
|
+
'/spike': 'WEBVIEW',
|
|
183
|
+
'/check-in-gift': 'WEBVIEW',
|
|
184
|
+
'/invite': 'WEBVIEW',
|
|
185
|
+
'/special-mission': 'WEBVIEW',
|
|
186
|
+
'/main/category': 'CATEGORY',
|
|
187
|
+
'/main/social-commerce': 'WEBVIEW',
|
|
188
|
+
'/social-commerce/my-cashback': 'CASHBACK',
|
|
189
|
+
'/account/wallet': 'WEBVIEW',
|
|
190
|
+
'/product/GroupBuy': 'GROUP',
|
|
191
|
+
'/search-page': 'SEARCH_PAGE'
|
|
192
|
+
};
|
|
193
|
+
params = {
|
|
194
|
+
action: 'jump',
|
|
195
|
+
params: {
|
|
196
|
+
type: map[link],
|
|
197
|
+
link: link
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
return {
|
|
203
|
+
link: link,
|
|
204
|
+
data: params
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
exports.newParseUrl = newParseUrl;
|
|
209
|
+
|
|
210
|
+
var parseUrl = function parseUrl(url) {
|
|
211
|
+
var link = url;
|
|
212
|
+
var params;
|
|
213
|
+
|
|
214
|
+
var _a = url.split('-'),
|
|
215
|
+
type = _a[0],
|
|
216
|
+
arg1 = _a[1],
|
|
217
|
+
arg2 = _a[2];
|
|
218
|
+
|
|
219
|
+
switch (type) {
|
|
220
|
+
// 商品详情
|
|
221
|
+
case _constants.urlType.PRODUCT_DETAIL:
|
|
222
|
+
if (arg1 && arg1 !== 'undefined') {
|
|
223
|
+
link = "/product/detail/" + arg1 + "?productId=" + (arg2 !== null && arg2 !== void 0 ? arg2 : '');
|
|
224
|
+
} else {
|
|
225
|
+
link = "/product/detail/" + arg2;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
params = {
|
|
229
|
+
action: 'jump',
|
|
230
|
+
params: {
|
|
231
|
+
type: 'PRODUCT_DETAIL',
|
|
232
|
+
offerId: arg1,
|
|
233
|
+
productId: arg2
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
break;
|
|
237
|
+
|
|
238
|
+
case _constants.urlType.CATG_PROD_LIST:
|
|
239
|
+
// 商品列表
|
|
240
|
+
link = "/product/list/" + arg1;
|
|
241
|
+
params = {
|
|
242
|
+
action: 'jump',
|
|
243
|
+
params: {
|
|
244
|
+
type: 'PRODUCT_LIST',
|
|
245
|
+
catgId: arg1
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
break;
|
|
249
|
+
// 海报页面
|
|
250
|
+
|
|
251
|
+
case _constants.urlType.CUSTOMIZED:
|
|
252
|
+
link = "/poster/" + arg1;
|
|
253
|
+
params = {
|
|
254
|
+
action: 'jump',
|
|
255
|
+
data: {
|
|
256
|
+
type: 'WEBVIEW',
|
|
257
|
+
url: link
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
break;
|
|
261
|
+
// 商品列表
|
|
262
|
+
|
|
263
|
+
case _constants.urlType.PROD_FILTER:
|
|
264
|
+
link = "/product/list?" + arg1;
|
|
265
|
+
params = {
|
|
266
|
+
action: 'jump',
|
|
267
|
+
params: {
|
|
268
|
+
type: 'PRODUCT_LIST',
|
|
269
|
+
params: (0, _lodash.pickBy)(_qs["default"].parse(arg1), function (value) {
|
|
270
|
+
return value;
|
|
271
|
+
})
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
break;
|
|
275
|
+
// 锚点
|
|
276
|
+
|
|
277
|
+
case _constants.urlType.ANCHOR:
|
|
278
|
+
// document.getElementById(id) && document.getElementById(id).scrollIntoView({ behavior: 'smooth' });
|
|
279
|
+
params = {
|
|
280
|
+
action: 'ANCHOR',
|
|
281
|
+
data: {
|
|
282
|
+
id: arg1
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
break;
|
|
286
|
+
|
|
287
|
+
case _constants.urlType.GET_COUPON:
|
|
288
|
+
// 领取优惠券
|
|
289
|
+
params = {
|
|
290
|
+
action: 'operation',
|
|
291
|
+
params: {
|
|
292
|
+
type: 'GET_COUPON',
|
|
293
|
+
couponId: arg1
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
break;
|
|
297
|
+
|
|
298
|
+
case _constants.urlType.VIDEO:
|
|
299
|
+
// 播放视频
|
|
300
|
+
params = {
|
|
301
|
+
action: 'operation',
|
|
302
|
+
params: {
|
|
303
|
+
type: 'VIDEO',
|
|
304
|
+
data: (0, _commonUtil.ensure)(function () {
|
|
305
|
+
return JSON.parse(url.slice('video-'.length));
|
|
306
|
+
}, {})
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
break;
|
|
310
|
+
|
|
311
|
+
default:
|
|
312
|
+
var map = {
|
|
313
|
+
'/main/cart': 'CART',
|
|
314
|
+
'/main/account': 'ACCOUNT',
|
|
315
|
+
'/my-coupon': 'MY_COUPON',
|
|
316
|
+
'/coupon-center': 'COUPON_CENTER',
|
|
317
|
+
'/main/community': 'WEBVIEW',
|
|
318
|
+
'/message-center': 'MESSAGE',
|
|
319
|
+
'/spike': 'WEBVIEW',
|
|
320
|
+
'/check-in-gift': 'WEBVIEW',
|
|
321
|
+
'/invite': 'WEBVIEW',
|
|
322
|
+
'/special-mission': 'WEBVIEW',
|
|
323
|
+
'/main/category': 'CATEGORY',
|
|
324
|
+
'/main/social-commerce': 'WEBVIEW',
|
|
325
|
+
'/social-commerce/my-cashback': 'CASHBACK',
|
|
326
|
+
'/account/wallet': 'WEBVIEW',
|
|
327
|
+
'/product/GroupBuy': 'GROUP',
|
|
328
|
+
'/search-page': 'SEARCH_PAGE',
|
|
329
|
+
'/main/my-commission': 'WALLET'
|
|
330
|
+
};
|
|
331
|
+
link = url;
|
|
332
|
+
params = {
|
|
333
|
+
action: 'jump',
|
|
334
|
+
params: {
|
|
335
|
+
type: map[url],
|
|
336
|
+
link: link
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
return {
|
|
342
|
+
link: link,
|
|
343
|
+
data: params
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
/** 刷新预览区域 */
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
exports.parseUrl = parseUrl;
|
|
350
|
+
|
|
351
|
+
var renderPreview = function renderPreview() {
|
|
352
|
+
var evt = new Event('render-view', {
|
|
353
|
+
bubbles: false
|
|
354
|
+
});
|
|
355
|
+
window.document.dispatchEvent(evt);
|
|
356
|
+
}; // 分类列表 数组转换成树结构
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
exports.renderPreview = renderPreview;
|
|
360
|
+
|
|
361
|
+
var listToTree = function listToTree(list, idName) {
|
|
362
|
+
if (idName === void 0) {
|
|
363
|
+
idName = 'catgId';
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
var map = {};
|
|
367
|
+
var node;
|
|
368
|
+
var tree = [];
|
|
369
|
+
|
|
370
|
+
for (var i = 0; i < list.length; i++) {
|
|
371
|
+
map[list[i][idName]] = list[i];
|
|
372
|
+
list[i].children = list[i].isLeaf == 0 ? null : [];
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
for (var i = 0; i < list.length; i += 1) {
|
|
376
|
+
node = {
|
|
377
|
+
catgName: list[i].catgName,
|
|
378
|
+
title: list[i].catgName,
|
|
379
|
+
value: list[i][idName],
|
|
380
|
+
key: list[i][idName],
|
|
381
|
+
children: list[i].children
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
if (list[i].parentCatgId !== null) {
|
|
385
|
+
map[list[i].parentCatgId] && map[list[i].parentCatgId].children.push(node);
|
|
386
|
+
} else {
|
|
387
|
+
tree.push(node);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
return tree;
|
|
392
|
+
}; // 获取商品活动标签 包含秒杀、团规、满系
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
exports.listToTree = listToTree;
|
|
396
|
+
|
|
397
|
+
var getPromotionList = function getPromotionList(offer) {
|
|
398
|
+
var PROMOTION_TYPE_MAP = {
|
|
399
|
+
2: 'FLASH',
|
|
400
|
+
4: 'Group',
|
|
401
|
+
C: 'Discount',
|
|
402
|
+
D: 'Discount',
|
|
403
|
+
G: 'Gift'
|
|
404
|
+
};
|
|
405
|
+
var promotType = offer.promotType,
|
|
406
|
+
sppType = offer.sppType;
|
|
407
|
+
var typeList = []; // 满系
|
|
408
|
+
|
|
409
|
+
if (promotType) {
|
|
410
|
+
typeList = promotType.match(/(C|G|D)/g) || [];
|
|
411
|
+
} // 秒杀团购
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
if (sppType) {
|
|
415
|
+
typeList = typeList.concat(sppType.split(','));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
var promotNames = typeList.map(function (type) {
|
|
419
|
+
return PROMOTION_TYPE_MAP[type];
|
|
420
|
+
});
|
|
421
|
+
return Array.from(new Set(promotNames));
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
exports.getPromotionList = getPromotionList;
|
|
425
|
+
|
|
426
|
+
var canNumber = function canNumber(value) {
|
|
427
|
+
if (isNaN(Number(value))) {
|
|
428
|
+
return value;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
return Number(value);
|
|
432
|
+
};
|
|
433
|
+
/** 计算样式 */
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
exports.canNumber = canNumber;
|
|
437
|
+
|
|
438
|
+
var computeStyle = function computeStyle(_a, device) {
|
|
439
|
+
var background = _a.background,
|
|
440
|
+
spacing = _a.spacing;
|
|
441
|
+
var wrapStyle = {};
|
|
442
|
+
|
|
443
|
+
if (background) {
|
|
444
|
+
if (background.bgType === 'color') {
|
|
445
|
+
wrapStyle.backgroundColor = background.color;
|
|
446
|
+
wrapStyle.opacity = background.opacity ? background.opacity : 1;
|
|
447
|
+
} else {
|
|
448
|
+
wrapStyle.backgroundImage = "url(" + background.image + ")";
|
|
449
|
+
wrapStyle.backgroundPosition = 'center';
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
if (spacing) {
|
|
454
|
+
Object.keys(spacing[device]).forEach(function (key) {
|
|
455
|
+
if (!['', undefined].includes(spacing[device][key])) {
|
|
456
|
+
wrapStyle[key] = canNumber(spacing[device][key]);
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
return wrapStyle;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
exports.computeStyle = computeStyle;
|