@fonixtree/magic-design 2.0.162 → 2.0.164
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 +11 -6
- package/es/composite-comp/bol/components/Button/defaultJSON.js +6 -1
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +11 -6
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +17 -12
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +14 -3
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +6 -1
- package/es/composite-comp/bol/components/Text/defaultJSON.js +16 -5
- package/es/composite-comp/bol/components/Video/defaultJSON.js +9 -4
- package/es/composite-comp/bol/components/Wallet/defaultJSON.js +14 -6
- package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +8 -3
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +2 -6
- package/es/composite-comp/common/config-panels/InputField/index.js +17 -12
- package/es/composite-comp/dito/components/Bargain/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +10 -5
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +7 -2
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +15 -7
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +6 -5
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +20 -32
- package/es/composite-comp/monpay/components/InterestProducts/defaultJSON.js +6 -1
- package/es/composite-comp/monpay/components/MerchantSales/defaultJSON.js +6 -1
- package/es/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +13 -8
- package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +17 -9
- package/es/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +7 -2
- package/es/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +13 -5
- 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 +282 -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 +99 -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 +296 -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 +436 -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 +160 -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 +120 -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 +162 -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 +244 -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 +256 -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 +153 -0
- package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/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 +249 -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 +97 -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 +253 -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 +233 -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 +98 -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 +94 -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 +138 -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 +100 -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 +320 -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 +115 -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 +84 -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 +85 -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 +101 -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 +329 -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 +396 -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 +118 -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 +251 -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,353 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _uuid = require("uuid");
|
|
9
|
+
|
|
10
|
+
var _commonUtil = require("../../../utils/commonUtil");
|
|
11
|
+
|
|
12
|
+
var _storeUtil = require("../../../utils/storeUtil");
|
|
13
|
+
|
|
14
|
+
var __assign = void 0 && (void 0).__assign || function () {
|
|
15
|
+
__assign = Object.assign || function (t) {
|
|
16
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
+
s = arguments[i];
|
|
18
|
+
|
|
19
|
+
for (var p in s) {
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return t;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
return __assign.apply(this, arguments);
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) {
|
|
32
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
33
|
+
resolve(value);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) {
|
|
39
|
+
try {
|
|
40
|
+
step(generator.next(value));
|
|
41
|
+
} catch (e) {
|
|
42
|
+
reject(e);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function rejected(value) {
|
|
47
|
+
try {
|
|
48
|
+
step(generator["throw"](value));
|
|
49
|
+
} catch (e) {
|
|
50
|
+
reject(e);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function step(result) {
|
|
55
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
63
|
+
var _ = {
|
|
64
|
+
label: 0,
|
|
65
|
+
sent: function sent() {
|
|
66
|
+
if (t[0] & 1) throw t[1];
|
|
67
|
+
return t[1];
|
|
68
|
+
},
|
|
69
|
+
trys: [],
|
|
70
|
+
ops: []
|
|
71
|
+
},
|
|
72
|
+
f,
|
|
73
|
+
y,
|
|
74
|
+
t,
|
|
75
|
+
g;
|
|
76
|
+
return g = {
|
|
77
|
+
next: verb(0),
|
|
78
|
+
"throw": verb(1),
|
|
79
|
+
"return": verb(2)
|
|
80
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
81
|
+
return this;
|
|
82
|
+
}), g;
|
|
83
|
+
|
|
84
|
+
function verb(n) {
|
|
85
|
+
return function (v) {
|
|
86
|
+
return step([n, v]);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function step(op) {
|
|
91
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
92
|
+
|
|
93
|
+
while (_) {
|
|
94
|
+
try {
|
|
95
|
+
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;
|
|
96
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
97
|
+
|
|
98
|
+
switch (op[0]) {
|
|
99
|
+
case 0:
|
|
100
|
+
case 1:
|
|
101
|
+
t = op;
|
|
102
|
+
break;
|
|
103
|
+
|
|
104
|
+
case 4:
|
|
105
|
+
_.label++;
|
|
106
|
+
return {
|
|
107
|
+
value: op[1],
|
|
108
|
+
done: false
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
case 5:
|
|
112
|
+
_.label++;
|
|
113
|
+
y = op[1];
|
|
114
|
+
op = [0];
|
|
115
|
+
continue;
|
|
116
|
+
|
|
117
|
+
case 7:
|
|
118
|
+
op = _.ops.pop();
|
|
119
|
+
|
|
120
|
+
_.trys.pop();
|
|
121
|
+
|
|
122
|
+
continue;
|
|
123
|
+
|
|
124
|
+
default:
|
|
125
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
126
|
+
_ = 0;
|
|
127
|
+
continue;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
131
|
+
_.label = op[1];
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
136
|
+
_.label = t[1];
|
|
137
|
+
t = op;
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (t && _.label < t[2]) {
|
|
142
|
+
_.label = t[2];
|
|
143
|
+
|
|
144
|
+
_.ops.push(op);
|
|
145
|
+
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
if (t[2]) _.ops.pop();
|
|
150
|
+
|
|
151
|
+
_.trys.pop();
|
|
152
|
+
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
op = body.call(thisArg, _);
|
|
157
|
+
} catch (e) {
|
|
158
|
+
op = [6, e];
|
|
159
|
+
y = 0;
|
|
160
|
+
} finally {
|
|
161
|
+
f = t = 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (op[0] & 5) throw op[1];
|
|
166
|
+
return {
|
|
167
|
+
value: op[0] ? op[1] : void 0,
|
|
168
|
+
done: true
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
// 角色
|
|
174
|
+
var roleMap = {
|
|
175
|
+
ASSISTANT: 'assistant',
|
|
176
|
+
USER: 'user'
|
|
177
|
+
}; // 上下文缓存key
|
|
178
|
+
|
|
179
|
+
var catchKey = 'fonixtree_chat_context';
|
|
180
|
+
|
|
181
|
+
var FonixtreeGpt =
|
|
182
|
+
/** @class */
|
|
183
|
+
function () {
|
|
184
|
+
function FonixtreeGpt(params) {
|
|
185
|
+
var _this = this; // 客户端标识
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
this.clientId = ''; // 是否正在生成
|
|
189
|
+
|
|
190
|
+
this.isGenerating = false; // 初始化参数
|
|
191
|
+
|
|
192
|
+
this.initParams = {}; // 建立连接
|
|
193
|
+
|
|
194
|
+
this.initChatConnect = function () {
|
|
195
|
+
// return new Promise((resolve, reject) => {
|
|
196
|
+
var _a = _this.initParams,
|
|
197
|
+
onMessage = _a.onMessage,
|
|
198
|
+
onEnd = _a.onEnd;
|
|
199
|
+
var text = '';
|
|
200
|
+
var sse;
|
|
201
|
+
_this.clientId = (0, _uuid.v4)();
|
|
202
|
+
var eventSource = new EventSource("/designer/v1/ai/sse/create?clientId=" + _this.clientId);
|
|
203
|
+
|
|
204
|
+
eventSource.onopen = function (event) {
|
|
205
|
+
console.log('onOpen');
|
|
206
|
+
sse = event.target; // resolve();
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
eventSource.onmessage = function (event) {
|
|
210
|
+
if (event.data == '[DONE]') {
|
|
211
|
+
_this.isGenerating = false;
|
|
212
|
+
|
|
213
|
+
_this.insertMessage2Context({
|
|
214
|
+
content: text
|
|
215
|
+
}, roleMap.ASSISTANT);
|
|
216
|
+
|
|
217
|
+
text = '';
|
|
218
|
+
onEnd();
|
|
219
|
+
|
|
220
|
+
if (sse) {
|
|
221
|
+
sse.close();
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
var jsonData = JSON.parse(event.data); // 没有数据
|
|
228
|
+
|
|
229
|
+
if (!jsonData.choices.length) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
text += jsonData.choices[0].delta.content || '';
|
|
234
|
+
onMessage(text);
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
eventSource.onerror = function (event) {
|
|
238
|
+
console.log('onerror', event);
|
|
239
|
+
_this.isGenerating = false;
|
|
240
|
+
|
|
241
|
+
_this.regenerate();
|
|
242
|
+
}; // });
|
|
243
|
+
|
|
244
|
+
}; // 获取全部对话上下文
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
this.getContext = function () {
|
|
248
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
249
|
+
return messages;
|
|
250
|
+
}; // 获取发送消息上下文
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
this.getSendContext = function () {
|
|
254
|
+
var context = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
255
|
+
context = context.splice(context.length - 5).map(function (ctx) {
|
|
256
|
+
return {
|
|
257
|
+
role: ctx.role,
|
|
258
|
+
content: ctx.content
|
|
259
|
+
};
|
|
260
|
+
});
|
|
261
|
+
return context;
|
|
262
|
+
}; // 消息插入上下文中
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
this.insertMessage2Context = function (messageObj, role) {
|
|
266
|
+
if (role === void 0) {
|
|
267
|
+
role = roleMap.USER;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
271
|
+
messages.push(__assign({
|
|
272
|
+
role: role
|
|
273
|
+
}, messageObj));
|
|
274
|
+
(0, _storeUtil.setSessionStore)(catchKey, messages);
|
|
275
|
+
}; // 发送消息
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
this.sendMessage = function (messageObj) {
|
|
279
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
280
|
+
var messages, newMessages;
|
|
281
|
+
|
|
282
|
+
var _this = this;
|
|
283
|
+
|
|
284
|
+
return __generator(this, function (_a) {
|
|
285
|
+
switch (_a.label) {
|
|
286
|
+
case 0:
|
|
287
|
+
if (!messageObj.content) {
|
|
288
|
+
return [2
|
|
289
|
+
/*return*/
|
|
290
|
+
];
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
this.isGenerating = true;
|
|
294
|
+
this.insertMessage2Context(messageObj);
|
|
295
|
+
messages = this.getSendContext();
|
|
296
|
+
return [4
|
|
297
|
+
/*yield*/
|
|
298
|
+
, this.initChatConnect()];
|
|
299
|
+
|
|
300
|
+
case 1:
|
|
301
|
+
_a.sent();
|
|
302
|
+
|
|
303
|
+
newMessages = messages.splice(messages.length - 5);
|
|
304
|
+
setTimeout(function () {
|
|
305
|
+
(0, _commonUtil.commonFetch)('/designer/v1/ai/stream-chat-completion', {
|
|
306
|
+
clientId: _this.clientId,
|
|
307
|
+
messages: newMessages
|
|
308
|
+
}, 'POST');
|
|
309
|
+
}, 200);
|
|
310
|
+
return [2
|
|
311
|
+
/*return*/
|
|
312
|
+
];
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
}; // 重新生成
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
this.regenerate = function () {
|
|
320
|
+
var messages = (0, _storeUtil.getSessionStore)(catchKey) || [];
|
|
321
|
+
|
|
322
|
+
if (!messages.length) {
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (!_this.isGenerating) {
|
|
327
|
+
// 清空上下文中的最后一次答案
|
|
328
|
+
messages.pop();
|
|
329
|
+
(0, _storeUtil.setSessionStore)(catchKey, messages);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
_this.initChatConnect();
|
|
333
|
+
|
|
334
|
+
var newMessages = _this.getSendContext();
|
|
335
|
+
|
|
336
|
+
setTimeout(function () {
|
|
337
|
+
(0, _commonUtil.commonFetch)('/designer/v1/ai/stream-chat-completion', {
|
|
338
|
+
clientId: _this.clientId,
|
|
339
|
+
messages: newMessages
|
|
340
|
+
}, 'POST');
|
|
341
|
+
}, 200);
|
|
342
|
+
}; // setSessionStore(catchKey, []);
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
this.clientId = (0, _uuid.v4)();
|
|
346
|
+
this.initParams = params;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
return FonixtreeGpt;
|
|
350
|
+
}();
|
|
351
|
+
|
|
352
|
+
var _default = FonixtreeGpt;
|
|
353
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
|
|
9
|
+
|
|
10
|
+
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 历史队列,使用数组存放
|
|
16
|
+
* 有新的操作时存入数组的0位置,游标设置为0
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
var History =
|
|
20
|
+
/** @class */
|
|
21
|
+
function () {
|
|
22
|
+
function History(hist) {
|
|
23
|
+
var _this = this;
|
|
24
|
+
/**
|
|
25
|
+
* 游标位置
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
this.cursor = 0;
|
|
30
|
+
/**
|
|
31
|
+
* 历史数据
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
this.list = [];
|
|
35
|
+
/** 前进或者后退步数 */
|
|
36
|
+
|
|
37
|
+
this.step = 0;
|
|
38
|
+
|
|
39
|
+
this.redoAble = function () {
|
|
40
|
+
return _this.cursor !== 0;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
this.undoAble = function () {
|
|
44
|
+
return _this.cursor !== _this.list.length - 1;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* 清空0~cursor之间的数据,将data插入 位置0
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
this.push = function (data) {
|
|
52
|
+
var cloneData = (0, _cloneDeep["default"])(data);
|
|
53
|
+
|
|
54
|
+
_this.list.splice(0, _this.cursor, cloneData);
|
|
55
|
+
|
|
56
|
+
_this.cursor = 0;
|
|
57
|
+
return data;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* redu操作只修改当前游标-1
|
|
61
|
+
* 并且返回后一步的json对象
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
this.redo = function (callback) {
|
|
66
|
+
_this.step -= 1;
|
|
67
|
+
|
|
68
|
+
_this.doAction(callback);
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* undo操作只修改当前的游标+1
|
|
72
|
+
* 并且返回前一步的json对象
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
this.undo = function (callback) {
|
|
77
|
+
_this.step += 1;
|
|
78
|
+
|
|
79
|
+
_this.doAction(callback);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
this.doAction = (0, _debounce["default"])(function (callback) {
|
|
83
|
+
var newCursor = _this.cursor + _this.step;
|
|
84
|
+
_this.cursor = newCursor;
|
|
85
|
+
var newData = (0, _cloneDeep["default"])(_this.list[newCursor]);
|
|
86
|
+
_this.step = 0;
|
|
87
|
+
callback(newData);
|
|
88
|
+
}, 300);
|
|
89
|
+
this.cursor = 0;
|
|
90
|
+
this.list = [(0, _cloneDeep["default"])(hist)];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return History;
|
|
94
|
+
}();
|
|
95
|
+
|
|
96
|
+
var _default = History;
|
|
97
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
require("./index.less");
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
15
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
16
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
17
|
+
__proto__: []
|
|
18
|
+
} instanceof Array && function (d, b) {
|
|
19
|
+
d.__proto__ = b;
|
|
20
|
+
} || function (d, b) {
|
|
21
|
+
for (var p in b) {
|
|
22
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
return _extendStatics(d, b);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
return function (d, b) {
|
|
30
|
+
_extendStatics(d, b);
|
|
31
|
+
|
|
32
|
+
function __() {
|
|
33
|
+
this.constructor = d;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37
|
+
};
|
|
38
|
+
}();
|
|
39
|
+
|
|
40
|
+
var LeftTitle =
|
|
41
|
+
/** @class */
|
|
42
|
+
function (_super) {
|
|
43
|
+
__extends(LeftTitle, _super);
|
|
44
|
+
|
|
45
|
+
function LeftTitle() {
|
|
46
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
|
|
48
|
+
_this.state = {};
|
|
49
|
+
return _this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
LeftTitle.prototype.render = function () {
|
|
53
|
+
var title = this.props.title;
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
+
className: "left-title-container"
|
|
56
|
+
}, title);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
LeftTitle.defaultProps = {
|
|
60
|
+
title: 'Email Template'
|
|
61
|
+
};
|
|
62
|
+
return LeftTitle;
|
|
63
|
+
}(_react["default"].Component);
|
|
64
|
+
|
|
65
|
+
var _default = LeftTitle;
|
|
66
|
+
exports["default"] = _default;
|