@fonixtree/magic-design 2.0.53 → 2.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/es/assets/fonts/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/.DS_Store +0 -0
- package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/assets/fonts/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,390 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.getSecondConfigName = exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _TerminalSelect = _interopRequireDefault(require("./TerminalSelect"));
|
|
13
|
+
|
|
14
|
+
var _coreUtil = require("../../../utils/coreUtil");
|
|
15
|
+
|
|
16
|
+
var _commonUtil = require("../../../utils/commonUtil");
|
|
17
|
+
|
|
18
|
+
var _Button = _interopRequireDefault(require("../../../common/Button"));
|
|
19
|
+
|
|
20
|
+
var _constants = require("../../../constants");
|
|
21
|
+
|
|
22
|
+
var _componentTypes = require("../../../constants/component-types");
|
|
23
|
+
|
|
24
|
+
var _mobx = require("../../../mobx");
|
|
25
|
+
|
|
26
|
+
var _locale = require("../../../locale");
|
|
27
|
+
|
|
28
|
+
require("./index.less");
|
|
29
|
+
|
|
30
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
|
+
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
35
|
+
|
|
36
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
37
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
38
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
39
|
+
__proto__: []
|
|
40
|
+
} instanceof Array && function (d, b) {
|
|
41
|
+
d.__proto__ = b;
|
|
42
|
+
} || function (d, b) {
|
|
43
|
+
for (var p in b) {
|
|
44
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
return _extendStatics(d, b);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
return function (d, b) {
|
|
52
|
+
_extendStatics(d, b);
|
|
53
|
+
|
|
54
|
+
function __() {
|
|
55
|
+
this.constructor = d;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59
|
+
};
|
|
60
|
+
}();
|
|
61
|
+
|
|
62
|
+
var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGroup) {
|
|
63
|
+
var _a, _b, _c, _d;
|
|
64
|
+
|
|
65
|
+
if (!selectedNode || !selectedNode.groupSource) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var panelProps = selectedNode.groupSource.find(function (src) {
|
|
70
|
+
return src.id === clickedGroup;
|
|
71
|
+
});
|
|
72
|
+
var panelIndex = selectedNode.groupSource.findIndex(function (src) {
|
|
73
|
+
return src.id === clickedGroup;
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
if (!panelProps) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
var groupName = '';
|
|
81
|
+
|
|
82
|
+
switch (selectedNode.type) {
|
|
83
|
+
case 'IMAGE_GALLERY':
|
|
84
|
+
case 'BANNER':
|
|
85
|
+
groupName = ''; // if (!groupName) {
|
|
86
|
+
// groupName = isPc() ? panelProps.image?.content?.pcName : panelProps.image?.content?.h5Name;
|
|
87
|
+
// }
|
|
88
|
+
|
|
89
|
+
if ((0, _coreUtil.isPc)()) {
|
|
90
|
+
groupName = panelProps.image.content.pcImgSrc ? panelProps.image.content.pcName : (0, _locale.i18n)('BANNER_GROUP_NAME');
|
|
91
|
+
} else {
|
|
92
|
+
groupName = panelProps.image.content.h5ImgSrc ? panelProps.image.content.h5Name : (0, _locale.i18n)('BANNER_GROUP_NAME');
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
break;
|
|
96
|
+
|
|
97
|
+
case 'CAROUSEL':
|
|
98
|
+
groupName = (0, _coreUtil.isPc)() ? (_b = (_a = panelProps.image) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.pcName : (_d = (_c = panelProps.image) === null || _c === void 0 ? void 0 : _c.content) === null || _d === void 0 ? void 0 : _d.h5Name;
|
|
99
|
+
break;
|
|
100
|
+
|
|
101
|
+
case 'MOBILE_NAVIGATION':
|
|
102
|
+
case 'PC_NAVIGATION':
|
|
103
|
+
groupName = (panelProps === null || panelProps === void 0 ? void 0 : panelProps.title.text) || (0, _locale.i18n)('NAVIGATION_NAME');
|
|
104
|
+
break;
|
|
105
|
+
|
|
106
|
+
case 'IMAGE_TEXT':
|
|
107
|
+
groupName = panelProps.title.open ? panelProps.title.text : (0, _locale.i18n)('IMAGE_AND_TEXT_NAME');
|
|
108
|
+
break;
|
|
109
|
+
|
|
110
|
+
case 'TEXT':
|
|
111
|
+
case 'WALLET':
|
|
112
|
+
groupName = panelProps.title.text;
|
|
113
|
+
break;
|
|
114
|
+
|
|
115
|
+
case 'RECOMMEND':
|
|
116
|
+
case 'AFFILIATE_RECOMMEND':
|
|
117
|
+
// console.log('RECOMMEND ---panelProps.groupName.text', panelProps.groupName.text);
|
|
118
|
+
groupName = panelProps.groupName.text;
|
|
119
|
+
break;
|
|
120
|
+
|
|
121
|
+
case 'BUTTON':
|
|
122
|
+
groupName = panelProps.button.text;
|
|
123
|
+
break;
|
|
124
|
+
|
|
125
|
+
case 'VIDEO':
|
|
126
|
+
groupName = 'Video' + (panelIndex + 1);
|
|
127
|
+
break;
|
|
128
|
+
|
|
129
|
+
case 'TAG':
|
|
130
|
+
groupName = panelProps.button.text;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return groupName || 'Group Name';
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
exports.getSecondConfigName = getSecondConfigName;
|
|
138
|
+
|
|
139
|
+
var ConfigPanel =
|
|
140
|
+
/** @class */
|
|
141
|
+
function (_super) {
|
|
142
|
+
__extends(ConfigPanel, _super);
|
|
143
|
+
|
|
144
|
+
function ConfigPanel() {
|
|
145
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
146
|
+
|
|
147
|
+
_this.preClickedGroup = null; // 以及面板展开状态
|
|
148
|
+
|
|
149
|
+
_this.configOpen = false;
|
|
150
|
+
_this.state = {
|
|
151
|
+
selectedNode: {}
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
_this.resetState = function (propsData, clickedFloor) {
|
|
155
|
+
var pageData = propsData.pageData;
|
|
156
|
+
var selectedNode = pageData.find(function (floor) {
|
|
157
|
+
return floor.id === clickedFloor;
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
_this.setState({
|
|
161
|
+
clickedGroup: _mobx.store.clickedGroup,
|
|
162
|
+
selectedNode: selectedNode
|
|
163
|
+
}); // 展开一级面板
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
if (selectedNode) {
|
|
167
|
+
_this.openConfig();
|
|
168
|
+
} else {
|
|
169
|
+
_this.closeConfig();
|
|
170
|
+
} // 展开二级面板
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
if (!_mobx.store.clickedGroup && _this.preClickedGroup) {
|
|
174
|
+
_this.closeSecConfig();
|
|
175
|
+
} else if (Boolean(_mobx.store.clickedGroup) != Boolean(_this.preClickedGroup)) {
|
|
176
|
+
_this.openSecConfig();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
_this.preClickedGroup = _mobx.store.clickedGroup;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
_this.animation = function (type) {
|
|
183
|
+
document.getElementsByClassName('config_wrap')[0].setAttribute('style', "animation-name:" + type + ";animation-duration: 0.3s;animation-fill-mode:both");
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
_this.openPcConfig = function () {
|
|
187
|
+
_this.animation('openPcConfig');
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
_this.closePcConfig = function () {
|
|
191
|
+
_this.animation('closePcConfig');
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
_this.openMobileConfig = function () {
|
|
195
|
+
_this.animation('openMobileConfig');
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
_this.closeMobileConfig = function () {
|
|
199
|
+
_this.animation('closeMobileConfig');
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
_this.openConfig = function () {
|
|
203
|
+
if (_this.configOpen) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if (window.magicDesign.device === 'pc') {
|
|
208
|
+
_this.openPcConfig();
|
|
209
|
+
} else {
|
|
210
|
+
_this.openMobileConfig();
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
_this.configOpen = true;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
_this.closeConfig = function () {
|
|
217
|
+
if (!_this.configOpen) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
if (window.magicDesign.device === 'pc') {
|
|
222
|
+
_this.closePcConfig();
|
|
223
|
+
} else {
|
|
224
|
+
_this.closeMobileConfig();
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
_this.configOpen = false;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
_this.openSecConfig = function () {
|
|
231
|
+
var _a;
|
|
232
|
+
|
|
233
|
+
(_a = document.getElementsByClassName('sec_config_wrap')[0]) === null || _a === void 0 ? void 0 : _a.setAttribute('style', 'animation-name:openSecConfig;animation-duration: 0.3s;animation-fill-mode:both');
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
_this.closeSecConfig = function () {
|
|
237
|
+
var _a;
|
|
238
|
+
|
|
239
|
+
(_a = document.getElementsByClassName('sec_config_wrap')[0]) === null || _a === void 0 ? void 0 : _a.setAttribute('style', 'animation-name:closeSecConfig;animation-duration: 0.3s;animation-fill-mode:both');
|
|
240
|
+
|
|
241
|
+
_mobx.store.setState({
|
|
242
|
+
clickedMeta: ''
|
|
243
|
+
});
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
_this.onDoneClick = function () {
|
|
247
|
+
var _a = _this.props,
|
|
248
|
+
device = _a.device,
|
|
249
|
+
onClose = _a.onClose;
|
|
250
|
+
|
|
251
|
+
if (device === _constants.deviceTypeMap.PC) {
|
|
252
|
+
_this.closePcConfig();
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
onClose();
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
_this.getConfigPanelInstance = function () {
|
|
259
|
+
var device = _this.props.device;
|
|
260
|
+
var selectedNode = _this.state.selectedNode;
|
|
261
|
+
var Clazz = _componentTypes.configPanelMap[selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.type];
|
|
262
|
+
var panelProps = {
|
|
263
|
+
data: selectedNode,
|
|
264
|
+
device: device
|
|
265
|
+
};
|
|
266
|
+
var instance = Clazz ? /*#__PURE__*/_react["default"].createElement(Clazz, panelProps) : null;
|
|
267
|
+
|
|
268
|
+
if (!instance) {
|
|
269
|
+
_mobx.store.setState({
|
|
270
|
+
clickedFloor: null
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
return instance;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
_this.getSecondConfigInstance = function () {
|
|
278
|
+
var selectedNode = _this.state.selectedNode;
|
|
279
|
+
var outputType = _this.props.outputType;
|
|
280
|
+
var Clazz = _componentTypes.secondConfigPanelMap[selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.type];
|
|
281
|
+
var panelProps = (0, _commonUtil.ensure)(function () {
|
|
282
|
+
return selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.groupSource.find(function (src) {
|
|
283
|
+
return src.id === _this.state.clickedGroup;
|
|
284
|
+
});
|
|
285
|
+
}, null);
|
|
286
|
+
|
|
287
|
+
if (panelProps) {
|
|
288
|
+
var instance = Clazz ? /*#__PURE__*/_react["default"].createElement(Clazz, {
|
|
289
|
+
panelProps: panelProps,
|
|
290
|
+
outputType: outputType,
|
|
291
|
+
parentNode: selectedNode
|
|
292
|
+
}) : null;
|
|
293
|
+
return instance;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
return null;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
_this.onSecConfigBack = function () {
|
|
300
|
+
_mobx.store.setState({
|
|
301
|
+
clickedGroup: null
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
window.document.dispatchEvent(new Event(_constants.eventType.UPDATE_FIRST_CONFIG, {
|
|
305
|
+
bubbles: false
|
|
306
|
+
}));
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
_this.onTerminalChange = function (terminal) {
|
|
310
|
+
var selectedNode = _this.state.selectedNode;
|
|
311
|
+
selectedNode.activeTerminal = terminal;
|
|
312
|
+
|
|
313
|
+
_this.setState({
|
|
314
|
+
selectedNode: selectedNode
|
|
315
|
+
}); // 刷新页面组件列表 和 viewArea
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
(0, _coreUtil.renderPreview)();
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
return _this;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
ConfigPanel.prototype.componentDidMount = function () {
|
|
325
|
+
var _this = this;
|
|
326
|
+
|
|
327
|
+
this.distroy = (0, _mobx.autorun)(function () {
|
|
328
|
+
_this.resetState(_this.props, _mobx.store.clickedFloor);
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
ConfigPanel.prototype.componentWillReceiveProps = function (nextProps) {
|
|
333
|
+
if (JSON.stringify(this.props) !== JSON.stringify(nextProps)) {
|
|
334
|
+
this.resetState(nextProps, _mobx.store.clickedFloor);
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
ConfigPanel.prototype.componentWillUnmount = function () {
|
|
339
|
+
this.distroy();
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
ConfigPanel.prototype.render = function () {
|
|
343
|
+
var _a, _b;
|
|
344
|
+
|
|
345
|
+
var device = this.props.device;
|
|
346
|
+
var _c = this.state,
|
|
347
|
+
selectedNode = _c.selectedNode,
|
|
348
|
+
clickedGroup = _c.clickedGroup;
|
|
349
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
350
|
+
className: "config_wrap"
|
|
351
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
352
|
+
className: "first_config_wrap"
|
|
353
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
354
|
+
className: "config_header"
|
|
355
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
356
|
+
className: "title",
|
|
357
|
+
title: (_a = _constants.compInfoMap[selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.type]) === null || _a === void 0 ? void 0 : _a.name
|
|
358
|
+
}, (_b = _constants.compInfoMap[selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.type]) === null || _b === void 0 ? void 0 : _b.name), /*#__PURE__*/_react["default"].createElement("div", {
|
|
359
|
+
className: "right_wrap"
|
|
360
|
+
}, /*#__PURE__*/_react["default"].createElement(_TerminalSelect["default"], {
|
|
361
|
+
onChange: this.onTerminalChange,
|
|
362
|
+
terminalType: selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.terminalType,
|
|
363
|
+
value: selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.activeTerminal
|
|
364
|
+
}), device === _constants.deviceTypeMap.PC && /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
365
|
+
onClick: this.onDoneClick,
|
|
366
|
+
size: "small",
|
|
367
|
+
type: "light"
|
|
368
|
+
}, (0, _locale.i18n)('DONE')))), this.getConfigPanelInstance()), /*#__PURE__*/_react["default"].createElement("div", {
|
|
369
|
+
className: "sec_config_wrap"
|
|
370
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
371
|
+
className: "config_header"
|
|
372
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
373
|
+
className: "button_wrap"
|
|
374
|
+
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
375
|
+
icon: "icon-left",
|
|
376
|
+
onClick: this.onSecConfigBack,
|
|
377
|
+
type: "icon"
|
|
378
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
379
|
+
className: "title",
|
|
380
|
+
dangerouslySetInnerHTML: {
|
|
381
|
+
__html: getSecondConfigName(selectedNode, clickedGroup)
|
|
382
|
+
}
|
|
383
|
+
})), this.getSecondConfigInstance()));
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
return ConfigPanel;
|
|
387
|
+
}(_react.Component);
|
|
388
|
+
|
|
389
|
+
var _default = ConfigPanel;
|
|
390
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
.config_wrap {
|
|
2
|
+
width: 354px;
|
|
3
|
+
background: #ffffff;
|
|
4
|
+
max-height: 100vh;
|
|
5
|
+
// overflow: scroll;
|
|
6
|
+
transition-property: transform;
|
|
7
|
+
transition-duration: .3s;
|
|
8
|
+
transition-timing-function: ease;
|
|
9
|
+
left: -354px;
|
|
10
|
+
z-index: 200;
|
|
11
|
+
// position: fixed;
|
|
12
|
+
position: absolute;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
|
|
15
|
+
&.show_config {
|
|
16
|
+
position: fixed;
|
|
17
|
+
transform: translateX(354px);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.first_config_wrap {
|
|
21
|
+
height: 100%;
|
|
22
|
+
padding: 24px;
|
|
23
|
+
height: 100vh;
|
|
24
|
+
overflow: auto;
|
|
25
|
+
|
|
26
|
+
.config_header {
|
|
27
|
+
font-size: 26px;
|
|
28
|
+
line-height: 36px;
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
|
|
33
|
+
.title {
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
font-family: 'Open Sans';
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 700;
|
|
40
|
+
font-size: 26px;
|
|
41
|
+
line-height: 32px;
|
|
42
|
+
color: #232F46;
|
|
43
|
+
}
|
|
44
|
+
.right_wrap {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sec_config_wrap {
|
|
52
|
+
position: absolute;
|
|
53
|
+
height: 100vh;
|
|
54
|
+
overflow: auto;
|
|
55
|
+
width: 354px;
|
|
56
|
+
z-index: 201;
|
|
57
|
+
left: -354px;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
top: 0;
|
|
60
|
+
background-color: #FFF;
|
|
61
|
+
padding: 24px;
|
|
62
|
+
|
|
63
|
+
.config_header {
|
|
64
|
+
.button_wrap {
|
|
65
|
+
display: flex;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.title {
|
|
69
|
+
margin-top: 20px;
|
|
70
|
+
font-family: 'Open Sans';
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-size: 26px;
|
|
74
|
+
line-height: 32px;
|
|
75
|
+
color: #232F46;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
text-overflow: ellipsis;
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
@keyframes openPcConfig {
|
|
86
|
+
from {
|
|
87
|
+
left: -354px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
to {
|
|
91
|
+
left: 0px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes closePcConfig {
|
|
96
|
+
from {
|
|
97
|
+
left: 0px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
to {
|
|
101
|
+
left: -354px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@keyframes openMobileConfig {
|
|
106
|
+
from {
|
|
107
|
+
left: 0px;
|
|
108
|
+
z-index: 50;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
to {
|
|
112
|
+
left: 355px;
|
|
113
|
+
z-index: 50;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@keyframes closeMobileConfig {
|
|
118
|
+
from {
|
|
119
|
+
left: 355px;
|
|
120
|
+
z-index: 50;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
to {
|
|
124
|
+
left: 0px;
|
|
125
|
+
z-index: 50;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@keyframes openSecConfig {
|
|
131
|
+
from {
|
|
132
|
+
left: -354px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
to {
|
|
136
|
+
left: 0px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@keyframes closeSecConfig {
|
|
141
|
+
from {
|
|
142
|
+
left: 0px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
to {
|
|
146
|
+
left: -354px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _uuid = require("uuid");
|
|
9
|
+
|
|
10
|
+
var _commonUtil = require("../../../utils/commonUtil");
|
|
11
|
+
|
|
12
|
+
var _storeUtil = require("../../../utils/storeUtil");
|
|
13
|
+
|
|
14
|
+
// 角色
|
|
15
|
+
var roleMap = {
|
|
16
|
+
ASSISTANT: 'assistant',
|
|
17
|
+
USER: 'user'
|
|
18
|
+
}; // 上下文缓存key
|
|
19
|
+
|
|
20
|
+
var catchKey = 'fonixtree_chat_context';
|
|
21
|
+
|
|
22
|
+
var FonixtreeGpt =
|
|
23
|
+
/** @class */
|
|
24
|
+
function () {
|
|
25
|
+
function FonixtreeGpt(params) {
|
|
26
|
+
var _this = this; // 客户端标识
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
this.clientId = ''; // 是否正在生成
|
|
30
|
+
|
|
31
|
+
this.isGenerating = false; // 初始化参数
|
|
32
|
+
|
|
33
|
+
this.initParams = {}; // 建立连接
|
|
34
|
+
|
|
35
|
+
this.initChatConnect = function () {
|
|
36
|
+
var _a = _this.initParams,
|
|
37
|
+
onMessage = _a.onMessage,
|
|
38
|
+
onEnd = _a.onEnd;
|
|
39
|
+
var text = '';
|
|
40
|
+
var sse;
|
|
41
|
+
_this.clientId = (0, _uuid.v4)();
|
|
42
|
+
var eventSource = new EventSource("/designer/v1/ai/sse/create?clientId=" + _this.clientId);
|
|
43
|
+
|
|
44
|
+
eventSource.onopen = function (event) {
|
|
45
|
+
console.log('onOpen');
|
|
46
|
+
sse = event.target;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
eventSource.onmessage = function (event) {
|
|
50
|
+
if (event.data == '[DONE]') {
|
|
51
|
+
_this.isGenerating = false;
|
|
52
|
+
|
|
53
|
+
_this.insertMessage2Context(text, roleMap.ASSISTANT);
|
|
54
|
+
|
|
55
|
+
text = '';
|
|
56
|
+
onEnd();
|
|
57
|
+
|
|
58
|
+
if (sse) {
|
|
59
|
+
sse.close();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var jsonData = JSON.parse(event.data); // 没有数据
|
|
66
|
+
|
|
67
|
+
if (!jsonData.choices.length) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
text += jsonData.choices[0].delta.content || '';
|
|
72
|
+
onMessage(text);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
eventSource.onerror = function (event) {
|
|
76
|
+
console.log('onerror', event);
|
|
77
|
+
_this.isGenerating = false;
|
|
78
|
+
|
|
79
|
+
_this.regenerate();
|
|
80
|
+
};
|
|
81
|
+
}; // 获取chat上下文
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
this.getContext = function () {
|
|
85
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
86
|
+
return messages;
|
|
87
|
+
}; // 消息插入上下文中
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
this.insertMessage2Context = function (message, role) {
|
|
91
|
+
if (role === void 0) {
|
|
92
|
+
role = roleMap.USER;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
96
|
+
messages.push({
|
|
97
|
+
content: message,
|
|
98
|
+
role: role
|
|
99
|
+
});
|
|
100
|
+
(0, _storeUtil.setSessionStore)(catchKey, messages);
|
|
101
|
+
}; // 发送消息
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
this.sendMessage = function (message) {
|
|
105
|
+
if (!message) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
_this.isGenerating = true;
|
|
110
|
+
|
|
111
|
+
_this.insertMessage2Context(message);
|
|
112
|
+
|
|
113
|
+
var messages = _this.getContext();
|
|
114
|
+
|
|
115
|
+
_this.initChatConnect();
|
|
116
|
+
|
|
117
|
+
var newMessages = messages.splice(messages.length - 5);
|
|
118
|
+
setTimeout(function () {
|
|
119
|
+
(0, _commonUtil.commonFetch)('/designer/v1/ai/stream-chat-completion', {
|
|
120
|
+
clientId: _this.clientId,
|
|
121
|
+
messages: newMessages
|
|
122
|
+
}, 'POST');
|
|
123
|
+
}, 200);
|
|
124
|
+
}; // 重新生成
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
this.regenerate = function () {
|
|
128
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
129
|
+
|
|
130
|
+
if (!messages.length) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (!_this.isGenerating) {
|
|
135
|
+
// 清空上下文中的最后一次答案
|
|
136
|
+
messages.pop();
|
|
137
|
+
(0, _storeUtil.setSessionStore)(catchKey, messages);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
_this.initChatConnect();
|
|
141
|
+
|
|
142
|
+
var newMessages = messages.splice(messages.length - 5);
|
|
143
|
+
setTimeout(function () {
|
|
144
|
+
(0, _commonUtil.commonFetch)('/designer/v1/ai/stream-chat-completion', {
|
|
145
|
+
clientId: _this.clientId,
|
|
146
|
+
messages: newMessages
|
|
147
|
+
}, 'POST');
|
|
148
|
+
}, 200);
|
|
149
|
+
}; // setSessionStore(catchKey, []);
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
this.clientId = (0, _uuid.v4)();
|
|
153
|
+
this.initParams = params;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
return FonixtreeGpt;
|
|
157
|
+
}();
|
|
158
|
+
|
|
159
|
+
var _default = FonixtreeGpt;
|
|
160
|
+
exports["default"] = _default;
|