@fonixtree/magic-design 2.0.162 → 2.0.163
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/composite-comp/bol/components/Banner/defaultJSON.js +13 -6
- package/es/composite-comp/common/config-panels/InputField/index.js +17 -12
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +20 -32
- package/es/constants/index.js +48 -2
- package/es/core/Designer/ToolBarModal/index.js +11 -40
- package/es/locale/en/en.json +4 -4
- package/es/locale/es/es.json +4 -4
- package/es/locale/mn/mn.json +4 -4
- package/es/meta-comp/config-panels/ButtonConfig/index.js +21 -15
- package/es/meta-comp/config-panels/TextConfig/index.js +16 -17
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/assets/fonts/Inter-SemiBold.ttf +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 +603 -0
- package/lib/assets/fonts/magic-box-iconfont.css.bak +587 -0
- package/lib/assets/fonts/magic-box-iconfont.js +1 -0
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -0
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/base64/index.js +46 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
- package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -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/flash-deal-layout1.png +0 -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-recommend-mobile-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-4.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/monpaySignBoardLayout1.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 +37 -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 +91 -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 +24 -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 +72 -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 +404 -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 +116 -0
- package/lib/common/ColorPickerInput/index.less +50 -0
- package/lib/common/CountDown/index.js +160 -0
- package/lib/common/CountDown/index.less +23 -0
- package/lib/common/CropperModal/index.js +126 -0
- package/lib/common/CropperModal/index.less +29 -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 +62 -0
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +216 -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 +151 -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 +48 -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 +825 -0
- package/lib/common/ImageModal/index.less +34 -0
- package/lib/common/ImageModal/utils.js +609 -0
- package/lib/common/ImagePicker/index.js +315 -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/AffiliatePlatform/index.js +325 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +347 -0
- package/lib/common/LinkModal/AffiliateStore/index.js +331 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +413 -0
- package/lib/common/LinkModal/BundleCampaign/index.less +22 -0
- package/lib/common/LinkModal/CatgTable/index.js +245 -0
- package/lib/common/LinkModal/CouponTable/index.js +316 -0
- package/lib/common/LinkModal/CustomTable/index.js +240 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +692 -0
- package/lib/common/LinkModal/FilteredProductModal/index.less +129 -0
- package/lib/common/LinkModal/FunctionTable/index.js +236 -0
- package/lib/common/LinkModal/InterestedMerchants/index.js +325 -0
- package/lib/common/LinkModal/InterestedProducts/index.js +325 -0
- package/lib/common/LinkModal/MerchantStory/index.js +327 -0
- package/lib/common/LinkModal/MiniAppApi/const.js +637 -0
- package/lib/common/LinkModal/MiniAppApi/index.js +63 -0
- package/lib/common/LinkModal/MiniAppTable/index.js +252 -0
- package/lib/common/LinkModal/MissionDetail/index.js +318 -0
- package/lib/common/LinkModal/ProductDetailPage/index.js +566 -0
- package/lib/common/LinkModal/ProductDetailPage/index.less +15 -0
- package/lib/common/LinkModal/SelectVideoModal/index.js +214 -0
- package/lib/common/LinkModal/SelectVideoModal/index.less +113 -0
- package/lib/common/LinkModal/ShareUrl/index.js +35 -0
- package/lib/common/LinkModal/ShareUrl/index.less +3 -0
- package/lib/common/LinkModal/StoreCatgTable/index.js +245 -0
- package/lib/common/LinkModal/StoreTable/index.js +327 -0
- package/lib/common/LinkModal/index.js +464 -0
- package/lib/common/LinkModal/index.less +137 -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/MonpayCountDown/index.js +160 -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/PopUpModal/index.js +143 -0
- package/lib/common/PopUpModal/index.less +93 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/index.js +241 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/index.less +144 -0
- package/lib/common/ProductFilterModal/index.js +362 -0
- package/lib/common/ProductFilterModal/index.less +113 -0
- package/lib/common/ProductModal/SortableImageList/index.js +118 -0
- package/lib/common/ProductModal/SortableImageList/index.less +3 -0
- package/lib/common/ProductModal/index.js +847 -0
- package/lib/common/ProductModal/index.less +152 -0
- package/lib/common/ProductSource/index.js +346 -0
- package/lib/common/ProductSource/index.less +14 -0
- package/lib/common/RatingText/index.js +105 -0
- package/lib/common/RatingText/index.less +12 -0
- package/lib/common/RcCollapse/Collapse.js +240 -0
- package/lib/common/RcCollapse/Panel.js +193 -0
- package/lib/common/RcCollapse/PanelContent.js +59 -0
- package/lib/common/RcCollapse/index.js +15 -0
- package/lib/common/RcCollapse/index.less +108 -0
- package/lib/common/RcCollapse/interface.js +1 -0
- package/lib/common/RcCollapse/motion.less +12 -0
- package/lib/common/RcCollapse/motionUtil.js +44 -0
- package/lib/common/Slider/index.js +151 -0
- package/lib/common/Slider/index.less +45 -0
- package/lib/common/SwiperBan/index.js +94 -0
- package/lib/common/SwiperBan/index.less +25 -0
- package/lib/common/SwitchCollapse/index.js +220 -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/Tag/index.js +46 -0
- package/lib/common/Tag/index.less +16 -0
- package/lib/common/UrlPicker/AnchorModal/index.js +170 -0
- package/lib/common/UrlPicker/AnchorModal/index.less +21 -0
- package/lib/common/UrlPicker/index.js +182 -0
- package/lib/common/UrlPicker/index.less +86 -0
- package/lib/common/Video/QualityComponent/index.js +169 -0
- package/lib/common/Video/QualityComponent/index.less +78 -0
- package/lib/common/Video/RateComponent/index.js +100 -0
- package/lib/common/Video/RateComponent/index.less +62 -0
- package/lib/common/Video/background.png +0 -0
- package/lib/common/Video/closeImg.png +0 -0
- package/lib/common/Video/cover.png +0 -0
- package/lib/common/Video/index.js +804 -0
- package/lib/common/Video/index.less +70 -0
- package/lib/common/VideoUpload/index.js +157 -0
- package/lib/common/VideoUpload/index.less +114 -0
- package/lib/common/VideoUpload/video-upload-icon.png +0 -0
- package/lib/common/index.js +231 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +284 -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 +305 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +58 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.js +357 -0
- package/lib/composite-comp/bol/components/Banner/pc/index.less +91 -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 +102 -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 +110 -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 +613 -0
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +359 -0
- package/lib/composite-comp/bol/components/Wallet/pc/index.less +1 -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 +370 -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/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 +304 -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 +377 -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/imgs/icon-cashback.svg +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +181 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +159 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
- package/lib/composite-comp/common/components/ImageLabel/index.less +51 -0
- package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange-big.png +0 -0
- package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange.png +0 -0
- package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red-big.png +0 -0
- package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red.png +0 -0
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +288 -0
- package/lib/composite-comp/common/components/MonpayProductItem/index.less +278 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +268 -0
- package/lib/composite-comp/common/components/ProductItem/index.less +196 -0
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +316 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
- package/lib/composite-comp/common/config-panels/InputField/index.js +200 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +184 -0
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
- package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
- package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/index.js +373 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +92 -0
- package/lib/composite-comp/dito/components/CommonFunctions/index.js +84 -0
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +113 -0
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +248 -0
- package/lib/composite-comp/dito/components/FlashDeal/index.js +100 -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 +456 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +117 -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 +568 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +228 -0
- package/lib/composite-comp/dito/components/GroupBuy/index.js +86 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
- package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +102 -0
- package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +114 -0
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +27 -0
- package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
- package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -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 +137 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
- package/lib/composite-comp/dito/components/Orders/index.js +84 -0
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +352 -0
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +86 -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/PersonalInformation/defaultJSON.js +95 -0
- package/lib/composite-comp/dito/components/PersonalInformation/index.js +84 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +594 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +136 -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 +700 -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 +763 -0
- package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +110 -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 +455 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +65 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +235 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +65 -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 +409 -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/BargainConfig/FlashDealConfigContent/index.js +157 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +157 -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 +135 -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 +69 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +170 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +40 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +121 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +149 -0
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
- package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +131 -0
- package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -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 +212 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +131 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -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 +227 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -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/CommonFunctionsSecondConfig/index.js +121 -0
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
- package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -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 +258 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
- package/lib/composite-comp/monpay/components/Bundle/defaultJSON.js +73 -0
- package/lib/composite-comp/monpay/components/Bundle/index.js +86 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.js +113 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +113 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.js +61 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +67 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +499 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.less +7 -0
- package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +80 -0
- package/lib/composite-comp/monpay/components/InterestProducts/index.js +86 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +167 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +154 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +378 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.less +21 -0
- package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +96 -0
- package/lib/composite-comp/monpay/components/MerchantSales/index.js +86 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.js +124 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.less +34 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/sale.png +0 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +308 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +14 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +324 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +464 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +102 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +584 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +388 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +166 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +50 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/emptyImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +893 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +84 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
- package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +113 -0
- package/lib/composite-comp/monpay/components/MonpaySignBoard/index.js +86 -0
- package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.js +442 -0
- package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.less +107 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +114 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +95 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +114 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +101 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +112 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +95 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +178 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +131 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
- package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/ConfigContent/index.js +155 -0
- package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/index.js +104 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +435 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/index.js +90 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +662 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +84 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.js +730 -0
- package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.less +124 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/lib/constants/component-types.js +205 -0
- package/lib/constants/index.js +456 -0
- package/lib/constants/layout.js +374 -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 +74 -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 +149 -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 +57 -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 +754 -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/components/SearchCondition/index.js +130 -0
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
- package/lib/core/Designer/ChatRobot/index.js +412 -0
- package/lib/core/Designer/ChatRobot/index.less +179 -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 +76 -0
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
- package/lib/core/Designer/ConfigPanel/index.js +396 -0
- package/lib/core/Designer/ConfigPanel/index.less +148 -0
- package/lib/core/Designer/FonixtreeGpt/index.js +353 -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 +331 -0
- package/lib/core/Designer/PageCompList/index.less +139 -0
- package/lib/core/Designer/QuickMenuBar/index.js +301 -0
- package/lib/core/Designer/QuickMenuBar/index.less +125 -0
- package/lib/core/Designer/RenderHtml/index.js +102 -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 +101 -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 +387 -0
- package/lib/core/Designer/ToolBarModal/index.less +33 -0
- package/lib/core/Designer/ViewArea/index.js +195 -0
- package/lib/core/Designer/ViewArea/index.less +89 -0
- package/lib/core/Designer/index.js +852 -0
- package/lib/core/Designer/index.less +6 -0
- package/lib/core/Renderer/index.js +206 -0
- package/lib/core/SelectUrl/index.js +35 -0
- package/lib/decorator/compositeDecorator.js +303 -0
- package/lib/decorator/index.js +71 -0
- package/lib/decorator/lazyLoadDecorator.js +75 -0
- package/lib/decorator/metaDecorator.js +245 -0
- package/lib/decorator/updateConfigDecorator.js +76 -0
- package/lib/locale/en/en.json +346 -0
- package/lib/locale/es/es.json +346 -0
- package/lib/locale/index.js +50 -0
- package/lib/locale/mn/mn.json +346 -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/h5DefRectImg.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 +266 -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/textAlign.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 +308 -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 +407 -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 +450 -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 +384 -0
- package/lib/meta-comp/config-panels/TextConfig/index.less +22 -0
- package/lib/mobx/Frame.js +85 -0
- package/lib/mobx/Store.js +99 -0
- package/lib/mobx/UserState.js +144 -0
- package/lib/mobx/index.js +48 -0
- package/lib/utils/androidUtil.js +150 -0
- package/lib/utils/businessUtil.js +563 -0
- package/lib/utils/commonUtil.js +1116 -0
- package/lib/utils/compJsonUtil.js +240 -0
- package/lib/utils/coreUtil.js +482 -0
- package/lib/utils/currencyUtil.js +229 -0
- package/lib/utils/dataTreeUtils.js +134 -0
- package/lib/utils/dateUtil.js +83 -0
- package/lib/utils/storeUtil.js +258 -0
- package/package.json +4 -2
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.createVideoModal = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _index = _interopRequireDefault(require("./RateComponent/index"));
|
|
11
|
+
|
|
12
|
+
var _index2 = _interopRequireDefault(require("./QualityComponent/index"));
|
|
13
|
+
|
|
14
|
+
var _closeImg = _interopRequireDefault(require("./closeImg.png"));
|
|
15
|
+
|
|
16
|
+
var _commonUtil = require("../../utils/commonUtil");
|
|
17
|
+
|
|
18
|
+
require("./index.less");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
|
|
24
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
+
__proto__: []
|
|
28
|
+
} instanceof Array && function (d, b) {
|
|
29
|
+
d.__proto__ = b;
|
|
30
|
+
} || function (d, b) {
|
|
31
|
+
for (var p in b) {
|
|
32
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
return _extendStatics(d, b);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return function (d, b) {
|
|
40
|
+
_extendStatics(d, b);
|
|
41
|
+
|
|
42
|
+
function __() {
|
|
43
|
+
this.constructor = d;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
+
};
|
|
48
|
+
}();
|
|
49
|
+
|
|
50
|
+
var __assign = void 0 && (void 0).__assign || function () {
|
|
51
|
+
__assign = Object.assign || function (t) {
|
|
52
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
53
|
+
s = arguments[i];
|
|
54
|
+
|
|
55
|
+
for (var p in s) {
|
|
56
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return t;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
return __assign.apply(this, arguments);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
67
|
+
function adopt(value) {
|
|
68
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
69
|
+
resolve(value);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
74
|
+
function fulfilled(value) {
|
|
75
|
+
try {
|
|
76
|
+
step(generator.next(value));
|
|
77
|
+
} catch (e) {
|
|
78
|
+
reject(e);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function rejected(value) {
|
|
83
|
+
try {
|
|
84
|
+
step(generator["throw"](value));
|
|
85
|
+
} catch (e) {
|
|
86
|
+
reject(e);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function step(result) {
|
|
91
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
99
|
+
var _ = {
|
|
100
|
+
label: 0,
|
|
101
|
+
sent: function sent() {
|
|
102
|
+
if (t[0] & 1) throw t[1];
|
|
103
|
+
return t[1];
|
|
104
|
+
},
|
|
105
|
+
trys: [],
|
|
106
|
+
ops: []
|
|
107
|
+
},
|
|
108
|
+
f,
|
|
109
|
+
y,
|
|
110
|
+
t,
|
|
111
|
+
g;
|
|
112
|
+
return g = {
|
|
113
|
+
next: verb(0),
|
|
114
|
+
"throw": verb(1),
|
|
115
|
+
"return": verb(2)
|
|
116
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
117
|
+
return this;
|
|
118
|
+
}), g;
|
|
119
|
+
|
|
120
|
+
function verb(n) {
|
|
121
|
+
return function (v) {
|
|
122
|
+
return step([n, v]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function step(op) {
|
|
127
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
128
|
+
|
|
129
|
+
while (_) {
|
|
130
|
+
try {
|
|
131
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
132
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
133
|
+
|
|
134
|
+
switch (op[0]) {
|
|
135
|
+
case 0:
|
|
136
|
+
case 1:
|
|
137
|
+
t = op;
|
|
138
|
+
break;
|
|
139
|
+
|
|
140
|
+
case 4:
|
|
141
|
+
_.label++;
|
|
142
|
+
return {
|
|
143
|
+
value: op[1],
|
|
144
|
+
done: false
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
case 5:
|
|
148
|
+
_.label++;
|
|
149
|
+
y = op[1];
|
|
150
|
+
op = [0];
|
|
151
|
+
continue;
|
|
152
|
+
|
|
153
|
+
case 7:
|
|
154
|
+
op = _.ops.pop();
|
|
155
|
+
|
|
156
|
+
_.trys.pop();
|
|
157
|
+
|
|
158
|
+
continue;
|
|
159
|
+
|
|
160
|
+
default:
|
|
161
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
162
|
+
_ = 0;
|
|
163
|
+
continue;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
167
|
+
_.label = op[1];
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
172
|
+
_.label = t[1];
|
|
173
|
+
t = op;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (t && _.label < t[2]) {
|
|
178
|
+
_.label = t[2];
|
|
179
|
+
|
|
180
|
+
_.ops.push(op);
|
|
181
|
+
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (t[2]) _.ops.pop();
|
|
186
|
+
|
|
187
|
+
_.trys.pop();
|
|
188
|
+
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
op = body.call(thisArg, _);
|
|
193
|
+
} catch (e) {
|
|
194
|
+
op = [6, e];
|
|
195
|
+
y = 0;
|
|
196
|
+
} finally {
|
|
197
|
+
f = t = 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (op[0] & 5) throw op[1];
|
|
202
|
+
return {
|
|
203
|
+
value: op[0] ? op[1] : void 0,
|
|
204
|
+
done: true
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
/* eslint-disable @typescript-eslint/no-unused-expressions */
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
/** 检查youtube依赖包 */
|
|
212
|
+
var checkYoutuVIdeo = function checkYoutuVIdeo() {
|
|
213
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
214
|
+
return __generator(this, function (_a) {
|
|
215
|
+
switch (_a.label) {
|
|
216
|
+
case 0:
|
|
217
|
+
if (!!window.YT) return [3
|
|
218
|
+
/*break*/
|
|
219
|
+
, 2];
|
|
220
|
+
return [4
|
|
221
|
+
/*yield*/
|
|
222
|
+
, Promise.all([(0, _commonUtil.importAsync)('https://www.youtube.com/iframe_api', 'js')])];
|
|
223
|
+
|
|
224
|
+
case 1:
|
|
225
|
+
_a.sent();
|
|
226
|
+
|
|
227
|
+
_a.label = 2;
|
|
228
|
+
|
|
229
|
+
case 2:
|
|
230
|
+
return [2
|
|
231
|
+
/*return*/
|
|
232
|
+
];
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
};
|
|
237
|
+
/** 检查Ali依赖包 */
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
var checkAliVIdeo = function checkAliVIdeo() {
|
|
241
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
242
|
+
return __generator(this, function (_a) {
|
|
243
|
+
switch (_a.label) {
|
|
244
|
+
case 0:
|
|
245
|
+
if (!!window.Aliplayer) return [3
|
|
246
|
+
/*break*/
|
|
247
|
+
, 2];
|
|
248
|
+
return [4
|
|
249
|
+
/*yield*/
|
|
250
|
+
, Promise.all([(0, _commonUtil.importAsync)('https://g.alicdn.com/de/prismplayer/2.13.2/aliplayer-min.js'), (0, _commonUtil.importAsync)('https://g.alicdn.com/de/prismplayer/2.13.2/skins/default/aliplayer-min.css')])];
|
|
251
|
+
|
|
252
|
+
case 1:
|
|
253
|
+
_a.sent();
|
|
254
|
+
|
|
255
|
+
_a.label = 2;
|
|
256
|
+
|
|
257
|
+
case 2:
|
|
258
|
+
return [2
|
|
259
|
+
/*return*/
|
|
260
|
+
];
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
var createAliVideo = function createAliVideo(domId, opts) {
|
|
267
|
+
if (opts === void 0) {
|
|
268
|
+
opts = {};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
return new Promise(function (resolve) {
|
|
272
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
273
|
+
var components, res, qualitySource, source, skinLayout, controlBar;
|
|
274
|
+
return __generator(this, function (_a) {
|
|
275
|
+
var _window$Aliplayer;
|
|
276
|
+
|
|
277
|
+
switch (_a.label) {
|
|
278
|
+
case 0:
|
|
279
|
+
components = [{
|
|
280
|
+
name: 'RateComponent',
|
|
281
|
+
type: _index["default"]
|
|
282
|
+
}];
|
|
283
|
+
return [4
|
|
284
|
+
/*yield*/
|
|
285
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/content/' + opts.sourceId, {}, 'GET')];
|
|
286
|
+
|
|
287
|
+
case 1:
|
|
288
|
+
res = _a.sent();
|
|
289
|
+
qualitySource = {};
|
|
290
|
+
source = opts.source;
|
|
291
|
+
|
|
292
|
+
if (res.smallImgUrl) {
|
|
293
|
+
qualitySource['480P'] = res.smallImgUrl;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
if (res.url) {
|
|
297
|
+
qualitySource['720P'] = res.url;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
if (res.bigImgUrl) {
|
|
301
|
+
qualitySource['1080P'] = res.bigImgUrl;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (Object.keys(qualitySource).length) {
|
|
305
|
+
source = JSON.stringify(qualitySource);
|
|
306
|
+
components.push({
|
|
307
|
+
name: 'QualityComponent',
|
|
308
|
+
type: _index2["default"]
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
skinLayout = [{
|
|
313
|
+
name: 'H5Loading',
|
|
314
|
+
align: 'cc'
|
|
315
|
+
}, {
|
|
316
|
+
name: 'errorDisplay',
|
|
317
|
+
align: 'tlabs',
|
|
318
|
+
x: 0,
|
|
319
|
+
y: 0
|
|
320
|
+
}, {
|
|
321
|
+
name: 'tooltip',
|
|
322
|
+
align: 'blabs',
|
|
323
|
+
x: 0,
|
|
324
|
+
y: 56
|
|
325
|
+
}, {
|
|
326
|
+
name: 'thumbnail'
|
|
327
|
+
}];
|
|
328
|
+
controlBar = {
|
|
329
|
+
name: 'controlBar',
|
|
330
|
+
align: 'blabs',
|
|
331
|
+
x: 0,
|
|
332
|
+
y: 0,
|
|
333
|
+
children: [{
|
|
334
|
+
name: 'playButton',
|
|
335
|
+
align: 'tl',
|
|
336
|
+
x: 15,
|
|
337
|
+
y: 12
|
|
338
|
+
}, {
|
|
339
|
+
name: 'timeDisplay',
|
|
340
|
+
align: 'tl',
|
|
341
|
+
x: 10,
|
|
342
|
+
y: 7
|
|
343
|
+
}, {
|
|
344
|
+
name: 'volume',
|
|
345
|
+
align: 'tr',
|
|
346
|
+
x: 5,
|
|
347
|
+
y: 10
|
|
348
|
+
}, {
|
|
349
|
+
name: 'fullScreenButton',
|
|
350
|
+
align: 'tr',
|
|
351
|
+
x: 10,
|
|
352
|
+
y: 12
|
|
353
|
+
}]
|
|
354
|
+
};
|
|
355
|
+
skinLayout.push(controlBar);
|
|
356
|
+
|
|
357
|
+
if (opts.progressBar) {
|
|
358
|
+
controlBar.children.push({
|
|
359
|
+
name: 'progress',
|
|
360
|
+
align: 'blabs',
|
|
361
|
+
x: 0,
|
|
362
|
+
y: 10
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
console.log('source: ', source);
|
|
367
|
+
new window.Aliplayer((_window$Aliplayer = {
|
|
368
|
+
id: 'video' + domId,
|
|
369
|
+
source: source,
|
|
370
|
+
cover: opts.cover,
|
|
371
|
+
width: '100%',
|
|
372
|
+
height: '100%',
|
|
373
|
+
autoplay: false,
|
|
374
|
+
isLive: false,
|
|
375
|
+
rePlay: false,
|
|
376
|
+
playsinline: true,
|
|
377
|
+
preload: true,
|
|
378
|
+
controlBarVisibility: 'hover',
|
|
379
|
+
useH5Prism: true,
|
|
380
|
+
skinLayout: skinLayout
|
|
381
|
+
}, _defineProperty(_window$Aliplayer, "autoplay", opts.autoplay), _defineProperty(_window$Aliplayer, "rePlay", opts.loop), _defineProperty(_window$Aliplayer, "components", components), _window$Aliplayer), function (player) {
|
|
382
|
+
if (!opts.videoSound) {
|
|
383
|
+
player.setVolume(0);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
if (opts.speed) {
|
|
387
|
+
var speed = Number(opts.speed).toFixed(1);
|
|
388
|
+
player.setSpeed(speed);
|
|
389
|
+
player._speed = speed;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
if (opts.startAt) {
|
|
393
|
+
player.seek(opts.startAt);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (Object.keys(qualitySource).length) {
|
|
397
|
+
var defaultKey = Object.keys(qualitySource)[0];
|
|
398
|
+
|
|
399
|
+
if (qualitySource['720P']) {
|
|
400
|
+
defaultKey = '720P';
|
|
401
|
+
} else {
|
|
402
|
+
defaultKey = '480P';
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
player.getComponent('QualityComponent').setCurrentQuality(defaultKey, defaultKey);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
resolve(player);
|
|
409
|
+
});
|
|
410
|
+
return [2
|
|
411
|
+
/*return*/
|
|
412
|
+
];
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
var createYoutuVideo = function createYoutuVideo(domId, opts) {
|
|
420
|
+
if (opts === void 0) {
|
|
421
|
+
opts = {};
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
425
|
+
var videoId;
|
|
426
|
+
return __generator(this, function (_a) {
|
|
427
|
+
switch (_a.label) {
|
|
428
|
+
case 0:
|
|
429
|
+
videoId = opts.source.split('youtu.be/')[1];
|
|
430
|
+
return [4
|
|
431
|
+
/*yield*/
|
|
432
|
+
, (0, _commonUtil.asyncNextTick)(function () {
|
|
433
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
434
|
+
var player;
|
|
435
|
+
return __generator(this, function (_a) {
|
|
436
|
+
player = new YT.Player('video' + domId, {
|
|
437
|
+
height: '100%',
|
|
438
|
+
width: '100%',
|
|
439
|
+
videoId: videoId,
|
|
440
|
+
events: {
|
|
441
|
+
onReady: function onReady() {
|
|
442
|
+
if (!opts.videoSound) {
|
|
443
|
+
player.mute();
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (opts.videoSound) {
|
|
447
|
+
player.unMute();
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (opts.speed) {
|
|
451
|
+
player.setPlaybackRate(opts.speed);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (opts.startAt) {
|
|
455
|
+
player.seekTo(opts.startAt);
|
|
456
|
+
player.pauseVideo();
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
if (opts.loop) {
|
|
460
|
+
player.setLoop(true);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
if (opts.autoplay) {
|
|
464
|
+
player.playVideo();
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
return [2
|
|
470
|
+
/*return*/
|
|
471
|
+
, player];
|
|
472
|
+
});
|
|
473
|
+
});
|
|
474
|
+
}, 500, 10)];
|
|
475
|
+
|
|
476
|
+
case 1:
|
|
477
|
+
return [2
|
|
478
|
+
/*return*/
|
|
479
|
+
, _a.sent()];
|
|
480
|
+
}
|
|
481
|
+
});
|
|
482
|
+
});
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
var createVideo = function createVideo(type, domId, opts) {
|
|
486
|
+
if (opts === void 0) {
|
|
487
|
+
opts = {};
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
491
|
+
return __generator(this, function (_a) {
|
|
492
|
+
switch (_a.label) {
|
|
493
|
+
case 0:
|
|
494
|
+
if (!(type == 'ali')) return [3
|
|
495
|
+
/*break*/
|
|
496
|
+
, 2];
|
|
497
|
+
return [4
|
|
498
|
+
/*yield*/
|
|
499
|
+
, createAliVideo(domId, opts)];
|
|
500
|
+
|
|
501
|
+
case 1:
|
|
502
|
+
return [2
|
|
503
|
+
/*return*/
|
|
504
|
+
, _a.sent()];
|
|
505
|
+
|
|
506
|
+
case 2:
|
|
507
|
+
if (!(type == 'youtu')) return [3
|
|
508
|
+
/*break*/
|
|
509
|
+
, 4];
|
|
510
|
+
return [4
|
|
511
|
+
/*yield*/
|
|
512
|
+
, createYoutuVideo(domId, opts)];
|
|
513
|
+
|
|
514
|
+
case 3:
|
|
515
|
+
return [2
|
|
516
|
+
/*return*/
|
|
517
|
+
, _a.sent()];
|
|
518
|
+
|
|
519
|
+
case 4:
|
|
520
|
+
return [2
|
|
521
|
+
/*return*/
|
|
522
|
+
];
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
});
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
var getVideoType = function getVideoType(opts) {
|
|
529
|
+
if (/youtu/.test(opts.source)) {
|
|
530
|
+
return 'youtu';
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
return 'ali';
|
|
534
|
+
};
|
|
535
|
+
/** 创建视频弹框显示 */
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
var createVideoModal = function createVideoModal(videoId, opts) {
|
|
539
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
540
|
+
var modelWrap, shadowWrap, contentWrap, videoDom, closeImgDom, type;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0:
|
|
544
|
+
modelWrap = document.createElement('div');
|
|
545
|
+
modelWrap.className = 'pc-video-modal-wrap';
|
|
546
|
+
modelWrap.setAttribute('video-id', videoId);
|
|
547
|
+
shadowWrap = document.createElement('div');
|
|
548
|
+
shadowWrap.className = 'video-shadow-wrap';
|
|
549
|
+
|
|
550
|
+
shadowWrap.onclick = function () {
|
|
551
|
+
var _a;
|
|
552
|
+
|
|
553
|
+
(_a = document.querySelector("[video-id=\"" + videoId + "\"]")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
contentWrap = document.createElement('div');
|
|
557
|
+
contentWrap.className = 'content-wrap';
|
|
558
|
+
videoDom = document.createElement('div');
|
|
559
|
+
videoDom.id = 'video-modal-' + videoId;
|
|
560
|
+
contentWrap.appendChild(videoDom);
|
|
561
|
+
closeImgDom = document.createElement('img');
|
|
562
|
+
closeImgDom.src = _closeImg["default"];
|
|
563
|
+
closeImgDom.className = 'close-img-wrap';
|
|
564
|
+
|
|
565
|
+
closeImgDom.onclick = function () {
|
|
566
|
+
var _a;
|
|
567
|
+
|
|
568
|
+
(_a = document.querySelector("[video-id=\"" + videoId + "\"]")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
contentWrap.appendChild(closeImgDom);
|
|
572
|
+
modelWrap.appendChild(shadowWrap);
|
|
573
|
+
modelWrap.appendChild(contentWrap);
|
|
574
|
+
(document.querySelector('[magic_design]') || document.body).appendChild(modelWrap);
|
|
575
|
+
type = getVideoType(opts);
|
|
576
|
+
if (!(type == 'youtu')) return [3
|
|
577
|
+
/*break*/
|
|
578
|
+
, 2];
|
|
579
|
+
return [4
|
|
580
|
+
/*yield*/
|
|
581
|
+
, checkYoutuVIdeo()];
|
|
582
|
+
|
|
583
|
+
case 1:
|
|
584
|
+
_a.sent();
|
|
585
|
+
|
|
586
|
+
_a.label = 2;
|
|
587
|
+
|
|
588
|
+
case 2:
|
|
589
|
+
if (!(type == 'ali')) return [3
|
|
590
|
+
/*break*/
|
|
591
|
+
, 4];
|
|
592
|
+
return [4
|
|
593
|
+
/*yield*/
|
|
594
|
+
, checkAliVIdeo()];
|
|
595
|
+
|
|
596
|
+
case 3:
|
|
597
|
+
_a.sent();
|
|
598
|
+
|
|
599
|
+
_a.label = 4;
|
|
600
|
+
|
|
601
|
+
case 4:
|
|
602
|
+
createVideo(type, '-modal-' + videoId, opts);
|
|
603
|
+
return [2
|
|
604
|
+
/*return*/
|
|
605
|
+
];
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
});
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
exports.createVideoModal = createVideoModal;
|
|
612
|
+
|
|
613
|
+
var Video =
|
|
614
|
+
/** @class */
|
|
615
|
+
function (_super) {
|
|
616
|
+
__extends(Video, _super);
|
|
617
|
+
|
|
618
|
+
function Video() {
|
|
619
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
620
|
+
|
|
621
|
+
_this.state = {};
|
|
622
|
+
_this.player = {
|
|
623
|
+
play: function play() {
|
|
624
|
+
if (_this.aliPlayer) {
|
|
625
|
+
_this.aliPlayer.play();
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
if (_this.ytPlayer) {
|
|
629
|
+
_this.ytPlayer.playVideo();
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
pause: function pause() {
|
|
633
|
+
if (_this.aliPlayer) {
|
|
634
|
+
_this.aliPlayer.pause();
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
if (_this.ytPlayer) {
|
|
638
|
+
_this.ytPlayer.pauseVideo();
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
};
|
|
642
|
+
/** 阿里播放器 */
|
|
643
|
+
|
|
644
|
+
_this.aliPlayer = null;
|
|
645
|
+
/** YouTube播放器 */
|
|
646
|
+
|
|
647
|
+
_this.ytPlayer = null;
|
|
648
|
+
_this.timer = null;
|
|
649
|
+
/** 创建视频弹框显示 */
|
|
650
|
+
|
|
651
|
+
_this.createVideoModal = function (videoId) {
|
|
652
|
+
var modelWrap = document.createElement('div');
|
|
653
|
+
modelWrap.className = 'pc-video-modal-wrap';
|
|
654
|
+
modelWrap.setAttribute('video-id', videoId);
|
|
655
|
+
var shadowWrap = document.createElement('div');
|
|
656
|
+
shadowWrap.className = 'video-shadow-wrap';
|
|
657
|
+
|
|
658
|
+
shadowWrap.onclick = function () {
|
|
659
|
+
var _a;
|
|
660
|
+
|
|
661
|
+
(_a = document.querySelector("[video-id=\"" + videoId + "\"]")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
var contentWrap = document.createElement('div');
|
|
665
|
+
contentWrap.className = 'content-wrap';
|
|
666
|
+
var videoDom = document.createElement('div');
|
|
667
|
+
videoDom.id = 'video-modal-' + videoId;
|
|
668
|
+
contentWrap.appendChild(videoDom);
|
|
669
|
+
var closeImgDom = document.createElement('img');
|
|
670
|
+
closeImgDom.src = _closeImg["default"];
|
|
671
|
+
closeImgDom.className = 'close-img-wrap';
|
|
672
|
+
|
|
673
|
+
closeImgDom.onclick = function () {
|
|
674
|
+
var _a;
|
|
675
|
+
|
|
676
|
+
(_a = document.querySelector("[video-id=\"" + videoId + "\"]")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
contentWrap.appendChild(closeImgDom);
|
|
680
|
+
modelWrap.appendChild(shadowWrap);
|
|
681
|
+
modelWrap.appendChild(contentWrap);
|
|
682
|
+
(document.querySelector('[magic_design]') || document.body).appendChild(modelWrap);
|
|
683
|
+
var type = getVideoType(_this.props.opts);
|
|
684
|
+
createVideo(type, '-modal-' + videoId, __assign(__assign({}, _this.props.opts), {
|
|
685
|
+
autoplay: true
|
|
686
|
+
}));
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
_this.getInit = function () {
|
|
690
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
691
|
+
var videoType, _a, _b;
|
|
692
|
+
|
|
693
|
+
var _this = this;
|
|
694
|
+
|
|
695
|
+
return __generator(this, function (_c) {
|
|
696
|
+
switch (_c.label) {
|
|
697
|
+
case 0:
|
|
698
|
+
if (!this.props.opts.source) return [3
|
|
699
|
+
/*break*/
|
|
700
|
+
, 6];
|
|
701
|
+
videoType = getVideoType(this.props.opts);
|
|
702
|
+
if (!(videoType == 'youtu')) return [3
|
|
703
|
+
/*break*/
|
|
704
|
+
, 3];
|
|
705
|
+
return [4
|
|
706
|
+
/*yield*/
|
|
707
|
+
, checkYoutuVIdeo()];
|
|
708
|
+
|
|
709
|
+
case 1:
|
|
710
|
+
_c.sent();
|
|
711
|
+
|
|
712
|
+
_a = this;
|
|
713
|
+
return [4
|
|
714
|
+
/*yield*/
|
|
715
|
+
, createVideo('youtu', this.props.videoId, this.props.opts)];
|
|
716
|
+
|
|
717
|
+
case 2:
|
|
718
|
+
_a.ytPlayer = _c.sent();
|
|
719
|
+
this.ytPlayer.addEventListener('onStateChange', function (event) {
|
|
720
|
+
if (!_this.props.opts.loop) {
|
|
721
|
+
if (event.data == YT.PlayerState.ENDED) {
|
|
722
|
+
console.log('youtu end');
|
|
723
|
+
|
|
724
|
+
_this.props.onEnd();
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
});
|
|
728
|
+
_c.label = 3;
|
|
729
|
+
|
|
730
|
+
case 3:
|
|
731
|
+
if (!(videoType == 'ali')) return [3
|
|
732
|
+
/*break*/
|
|
733
|
+
, 6];
|
|
734
|
+
return [4
|
|
735
|
+
/*yield*/
|
|
736
|
+
, checkAliVIdeo()];
|
|
737
|
+
|
|
738
|
+
case 4:
|
|
739
|
+
_c.sent();
|
|
740
|
+
|
|
741
|
+
_b = this;
|
|
742
|
+
return [4
|
|
743
|
+
/*yield*/
|
|
744
|
+
, createVideo('ali', this.props.videoId, this.props.opts)];
|
|
745
|
+
|
|
746
|
+
case 5:
|
|
747
|
+
_b.aliPlayer = _c.sent();
|
|
748
|
+
this.aliPlayer.on('ended', function () {
|
|
749
|
+
if (!_this.props.opts.loop) {
|
|
750
|
+
console.log('ali end');
|
|
751
|
+
|
|
752
|
+
_this.props.onEnd();
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
_c.label = 6;
|
|
756
|
+
|
|
757
|
+
case 6:
|
|
758
|
+
return [2
|
|
759
|
+
/*return*/
|
|
760
|
+
];
|
|
761
|
+
}
|
|
762
|
+
});
|
|
763
|
+
});
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
_this.fullPlay = function () {
|
|
767
|
+
createVideoModal(_this.props.videoId, __assign(__assign({}, _this.props.opts), {
|
|
768
|
+
autoplay: true
|
|
769
|
+
}));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
return _this;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
Video.prototype.componentDidMount = function () {
|
|
776
|
+
this.timer = setTimeout(this.getInit, 1000);
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
Video.prototype.componentWillUnmount = function () {
|
|
780
|
+
this.timer && clearTimeout(this.timer);
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
Video.prototype.render = function () {
|
|
784
|
+
var _a = this.props,
|
|
785
|
+
videoId = _a.videoId,
|
|
786
|
+
opts = _a.opts,
|
|
787
|
+
play = _a.play;
|
|
788
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
789
|
+
className: "video-container"
|
|
790
|
+
}, opts.source ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
791
|
+
className: "video-wrap",
|
|
792
|
+
id: 'video' + videoId
|
|
793
|
+
}) : null, !play && opts.cover && /*#__PURE__*/_react["default"].createElement("img", {
|
|
794
|
+
className: "video-cover-img",
|
|
795
|
+
src: opts.cover
|
|
796
|
+
}));
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
Video.defaultProps = {};
|
|
800
|
+
return Video;
|
|
801
|
+
}(_react["default"].Component);
|
|
802
|
+
|
|
803
|
+
var _default = Video;
|
|
804
|
+
exports["default"] = _default;
|