@fonixtree/magic-design 2.0.160 → 2.0.162
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/package.json +2 -4
- package/es/assets/fonts/.DS_Store +0 -0
- 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 +0 -603
- package/lib/assets/fonts/magic-box-iconfont.css.bak +0 -587
- package/lib/assets/fonts/magic-box-iconfont.js +0 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +0 -1
- 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 +0 -46
- package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
- 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 +0 -4
- 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 +0 -6
- package/lib/assets/images/layout-icon/imageTextRight.svg +0 -6
- 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 +0 -18
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- 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 +0 -7
- 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 +0 -37
- package/lib/assets/less/common.less +0 -82
- package/lib/assets/less/cylon-antd.less +0 -32456
- package/lib/assets/less/datepicker.less +0 -13
- package/lib/assets/less/font.less +0 -91
- package/lib/assets/less/form.less +0 -10
- package/lib/assets/less/global.less +0 -8
- package/lib/assets/less/index.less +0 -13
- package/lib/assets/less/input.less +0 -26
- package/lib/assets/less/menu.less +0 -24
- package/lib/assets/less/modal.less +0 -25
- package/lib/assets/less/select.less +0 -32
- package/lib/assets/less/slider.less +0 -69
- package/lib/assets/less/switch.less +0 -20
- package/lib/assets/less/table.less +0 -52
- package/lib/assets/less/variables.less +0 -4
- package/lib/common/AffiliateProductModal/index.js +0 -582
- package/lib/common/AffiliateProductModal/index.less +0 -146
- package/lib/common/AlignSelector/index.js +0 -120
- package/lib/common/AlignSelector/index.less +0 -28
- package/lib/common/Button/index.js +0 -135
- package/lib/common/Button/index.less +0 -72
- package/lib/common/ButtonIconLayout/index.js +0 -105
- package/lib/common/ButtonIconLayout/index.less +0 -55
- package/lib/common/CardCarousel/index.js +0 -171
- package/lib/common/CardCarousel/index.less +0 -28
- package/lib/common/Carousel/index.js +0 -69
- package/lib/common/Carousel/index.less +0 -0
- package/lib/common/Collapse/index.js +0 -404
- package/lib/common/Collapse/index.less +0 -100
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +0 -134
- package/lib/common/ColorPicker/index.less +0 -26
- package/lib/common/ColorPickerInput/imgs/code.png +0 -0
- package/lib/common/ColorPickerInput/index.js +0 -116
- package/lib/common/ColorPickerInput/index.less +0 -50
- package/lib/common/CountDown/index.js +0 -160
- package/lib/common/CountDown/index.less +0 -23
- package/lib/common/CropperModal/index.js +0 -126
- package/lib/common/CropperModal/index.less +0 -29
- package/lib/common/Field/index.js +0 -97
- package/lib/common/Field/index.less +0 -37
- package/lib/common/FontStyles/index.js +0 -197
- package/lib/common/FontStyles/index.less +0 -62
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +0 -216
- package/lib/common/GroupList/index.less +0 -88
- package/lib/common/IconPicker/index.js +0 -147
- package/lib/common/IconPicker/index.less +0 -46
- package/lib/common/Iconfont/index.js +0 -151
- package/lib/common/Iconfont/index.less +0 -20
- package/lib/common/ImageLazy/index.js +0 -172
- package/lib/common/ImageLazy/index.less +0 -0
- package/lib/common/ImageModal/CommonModal/const.js +0 -22
- package/lib/common/ImageModal/CommonModal/index.js +0 -48
- package/lib/common/ImageModal/CommonSelPicCard/index.js +0 -80
- package/lib/common/ImageModal/CommonSelPicCard/index.less +0 -40
- package/lib/common/ImageModal/const.js +0 -24
- package/lib/common/ImageModal/index.js +0 -825
- package/lib/common/ImageModal/index.less +0 -34
- package/lib/common/ImageModal/utils.js +0 -609
- package/lib/common/ImagePicker/index.js +0 -315
- package/lib/common/ImagePicker/index.less +0 -206
- package/lib/common/ImgArea/components/Crop.js +0 -270
- package/lib/common/ImgArea/components/Icons.js +0 -44
- package/lib/common/ImgArea/components/MultiCrops.js +0 -217
- package/lib/common/ImgArea/index.js +0 -11
- package/lib/common/InputNumber/index.js +0 -91
- package/lib/common/InputNumber/index.less +0 -38
- 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 +0 -111
- package/lib/common/LayoutSelector/index.less +0 -37
- package/lib/common/LinkModal/AffiliatePlatform/index.js +0 -325
- package/lib/common/LinkModal/AffiliateProductTable/index.js +0 -347
- package/lib/common/LinkModal/AffiliateStore/index.js +0 -331
- package/lib/common/LinkModal/BundleCampaign/index.js +0 -413
- package/lib/common/LinkModal/BundleCampaign/index.less +0 -22
- package/lib/common/LinkModal/CatgTable/index.js +0 -245
- package/lib/common/LinkModal/CouponTable/index.js +0 -316
- package/lib/common/LinkModal/CustomTable/index.js +0 -240
- package/lib/common/LinkModal/FilteredProductModal/index.js +0 -692
- package/lib/common/LinkModal/FilteredProductModal/index.less +0 -129
- package/lib/common/LinkModal/FunctionTable/index.js +0 -236
- package/lib/common/LinkModal/InterestedMerchants/index.js +0 -325
- package/lib/common/LinkModal/InterestedProducts/index.js +0 -325
- package/lib/common/LinkModal/MerchantStory/index.js +0 -327
- package/lib/common/LinkModal/MiniAppApi/const.js +0 -637
- package/lib/common/LinkModal/MiniAppApi/index.js +0 -63
- package/lib/common/LinkModal/MiniAppTable/index.js +0 -252
- package/lib/common/LinkModal/MissionDetail/index.js +0 -318
- package/lib/common/LinkModal/ProductDetailPage/index.js +0 -566
- package/lib/common/LinkModal/ProductDetailPage/index.less +0 -15
- package/lib/common/LinkModal/SelectVideoModal/index.js +0 -214
- package/lib/common/LinkModal/SelectVideoModal/index.less +0 -113
- package/lib/common/LinkModal/ShareUrl/index.js +0 -35
- package/lib/common/LinkModal/ShareUrl/index.less +0 -3
- package/lib/common/LinkModal/StoreCatgTable/index.js +0 -245
- package/lib/common/LinkModal/StoreTable/index.js +0 -327
- package/lib/common/LinkModal/index.js +0 -464
- package/lib/common/LinkModal/index.less +0 -137
- package/lib/common/MagicLink/index.js +0 -89
- package/lib/common/MagicLink/index.less +0 -0
- package/lib/common/MessageModal/index.js +0 -73
- package/lib/common/MessageModal/index.less +0 -86
- package/lib/common/MonpayCountDown/index.js +0 -160
- package/lib/common/MyModal/index.js +0 -417
- package/lib/common/MyModal/index.less +0 -74
- package/lib/common/NewImg/index.js +0 -165
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/PopUpModal/index.js +0 -143
- package/lib/common/PopUpModal/index.less +0 -93
- package/lib/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/index.js +0 -241
- package/lib/common/ProductFilterModal/components/FilterSearchModal/index.less +0 -144
- package/lib/common/ProductFilterModal/index.js +0 -362
- package/lib/common/ProductFilterModal/index.less +0 -113
- package/lib/common/ProductModal/SortableImageList/index.js +0 -118
- package/lib/common/ProductModal/SortableImageList/index.less +0 -3
- package/lib/common/ProductModal/index.js +0 -847
- package/lib/common/ProductModal/index.less +0 -152
- package/lib/common/ProductSource/index.js +0 -346
- package/lib/common/ProductSource/index.less +0 -14
- package/lib/common/RatingText/index.js +0 -105
- package/lib/common/RatingText/index.less +0 -12
- package/lib/common/RcCollapse/Collapse.js +0 -240
- package/lib/common/RcCollapse/Panel.js +0 -193
- package/lib/common/RcCollapse/PanelContent.js +0 -59
- package/lib/common/RcCollapse/index.js +0 -15
- package/lib/common/RcCollapse/index.less +0 -108
- package/lib/common/RcCollapse/interface.js +0 -1
- package/lib/common/RcCollapse/motion.less +0 -12
- package/lib/common/RcCollapse/motionUtil.js +0 -44
- package/lib/common/Slider/index.js +0 -151
- package/lib/common/Slider/index.less +0 -45
- package/lib/common/SwiperBan/index.js +0 -94
- package/lib/common/SwiperBan/index.less +0 -25
- package/lib/common/SwitchCollapse/index.js +0 -220
- package/lib/common/SwitchCollapse/index.less +0 -40
- package/lib/common/SystemNotification/Confirm/index.js +0 -263
- package/lib/common/SystemNotification/Confirm/index.less +0 -33
- package/lib/common/SystemNotification/index.js +0 -115
- package/lib/common/Tag/index.js +0 -46
- package/lib/common/Tag/index.less +0 -16
- package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
- package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
- package/lib/common/UrlPicker/index.js +0 -182
- package/lib/common/UrlPicker/index.less +0 -86
- package/lib/common/Video/QualityComponent/index.js +0 -169
- package/lib/common/Video/QualityComponent/index.less +0 -78
- package/lib/common/Video/RateComponent/index.js +0 -100
- package/lib/common/Video/RateComponent/index.less +0 -62
- 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 +0 -804
- package/lib/common/Video/index.less +0 -70
- package/lib/common/VideoUpload/index.js +0 -157
- package/lib/common/VideoUpload/index.less +0 -114
- package/lib/common/VideoUpload/video-upload-icon.png +0 -0
- package/lib/common/index.js +0 -231
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +0 -277
- package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Banner/index.js +0 -103
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +0 -305
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +0 -58
- package/lib/composite-comp/bol/components/Banner/pc/index.js +0 -357
- package/lib/composite-comp/bol/components/Banner/pc/index.less +0 -91
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +0 -94
- package/lib/composite-comp/bol/components/Button/index.js +0 -122
- package/lib/composite-comp/bol/components/Button/index.less +0 -47
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +0 -291
- 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 +0 -112
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +0 -309
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +0 -84
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +0 -362
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +0 -117
- package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +0 -39
- package/lib/composite-comp/bol/components/CustomCode/index.js +0 -138
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/lib/composite-comp/bol/components/Divider/index.js +0 -103
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -83
- 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 +0 -88
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -165
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -15
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +0 -185
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +0 -23
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +0 -431
- package/lib/composite-comp/bol/components/ImageText/index.js +0 -88
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +0 -243
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +0 -234
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +0 -338
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +0 -150
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +0 -60
- package/lib/composite-comp/bol/components/Location/index.js +0 -102
- package/lib/composite-comp/bol/components/Location/index.less +0 -15
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -149
- package/lib/composite-comp/bol/components/Newsletter/index.js +0 -141
- package/lib/composite-comp/bol/components/Newsletter/index.less +0 -75
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +0 -115
- package/lib/composite-comp/bol/components/Tag/index.js +0 -127
- package/lib/composite-comp/bol/components/Tag/index.less +0 -35
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +0 -151
- package/lib/composite-comp/bol/components/Text/index.js +0 -161
- package/lib/composite-comp/bol/components/Text/index.less +0 -58
- package/lib/composite-comp/bol/components/Text/slice.svg +0 -1
- 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 +0 -163
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +0 -51
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +0 -184
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +0 -88
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +0 -239
- 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 +0 -110
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +0 -186
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +0 -24
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +0 -226
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +0 -40
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +0 -194
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +0 -46
- package/lib/composite-comp/bol/components/Video/mobile/index.js +0 -79
- package/lib/composite-comp/bol/components/Video/mobile/index.less +0 -3
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +0 -186
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +0 -40
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +0 -243
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +0 -68
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +0 -188
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +0 -41
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +0 -196
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +0 -54
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +0 -196
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +0 -52
- package/lib/composite-comp/bol/components/Video/pc/index.js +0 -139
- package/lib/composite-comp/bol/components/Video/pc/index.less +0 -4
- package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +0 -248
- package/lib/composite-comp/bol/components/Wallet/index.js +0 -84
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +0 -613
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +0 -103
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +0 -359
- package/lib/composite-comp/bol/components/Wallet/pc/index.less +0 -1
- package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
- package/lib/composite-comp/bol/components/WalletNuri/index.js +0 -84
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -370
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -160
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -228
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +0 -48
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +0 -143
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +0 -16
- 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 +0 -69
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -148
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -201
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -71
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +0 -42
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +0 -111
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -100
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -179
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -91
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +0 -59
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -148
- 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 +0 -75
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -146
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -198
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +0 -149
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -113
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -59
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -101
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +0 -143
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +0 -16
- 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 +0 -64
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -101
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -142
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
- 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 +0 -71
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +0 -137
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +0 -131
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +0 -168
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +0 -93
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +0 -145
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +0 -77
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
- 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 +0 -61
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -153
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +0 -103
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -340
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -183
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -304
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +0 -8
- package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +0 -103
- package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -105
- 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 +0 -93
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +0 -377
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +0 -79
- package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +0 -188
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -9
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +0 -181
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +0 -159
- package/lib/composite-comp/common/components/ImageLabel/index.js +0 -90
- package/lib/composite-comp/common/components/ImageLabel/index.less +0 -51
- 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 +0 -288
- package/lib/composite-comp/common/components/MonpayProductItem/index.less +0 -278
- package/lib/composite-comp/common/components/ProductItem/index.js +0 -268
- package/lib/composite-comp/common/components/ProductItem/index.less +0 -196
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -119
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -316
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -27
- package/lib/composite-comp/common/config-panels/InputField/index.js +0 -195
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -184
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
- package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +0 -244
- package/lib/composite-comp/dito/components/Bargain/index.js +0 -86
- 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 +0 -373
- package/lib/composite-comp/dito/components/Bargain/mobile/index.less +0 -85
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
- package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -248
- package/lib/composite-comp/dito/components/FlashDeal/index.js +0 -100
- 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 +0 -456
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -117
- 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 +0 -568
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +0 -122
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -228
- package/lib/composite-comp/dito/components/GroupBuy/index.js +0 -86
- 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 +0 -341
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +0 -87
- package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
- package/lib/composite-comp/dito/components/HeadNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -114
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -27
- package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
- package/lib/composite-comp/dito/components/MenuNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
- package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +0 -93
- package/lib/composite-comp/dito/components/MobileNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -137
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +0 -21
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
- package/lib/composite-comp/dito/components/Orders/index.js +0 -84
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -352
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
- package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +0 -133
- package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +0 -6
- package/lib/composite-comp/dito/components/PcNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +0 -491
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +0 -127
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
- package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -594
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -136
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +0 -312
- package/lib/composite-comp/dito/components/Recommend/index.js +0 -90
- 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 +0 -700
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +0 -76
- 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 +0 -763
- package/lib/composite-comp/dito/components/Recommend/pc/index.less +0 -124
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -110
- package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
- package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
- package/lib/composite-comp/dito/components/SearchBar/index.js +0 -91
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +0 -455
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -65
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +0 -235
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +0 -65
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +0 -83
- package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
- package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +0 -4
- package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
- package/lib/composite-comp/dito/components/SignBoard/index.js +0 -91
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +0 -409
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -64
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +0 -413
- package/lib/composite-comp/dito/components/SignBoard/pc/index.less +0 -158
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +0 -157
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +0 -20
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +0 -126
- 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 +0 -73
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -157
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -20
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -135
- 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 +0 -69
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +0 -170
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +0 -40
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +0 -103
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +0 -73
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +0 -149
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +0 -182
- package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +0 -129
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +0 -128
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +0 -224
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +0 -191
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -120
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -149
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -141
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +0 -227
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +0 -7
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -105
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -104
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +0 -101
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +0 -178
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +0 -102
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +0 -431
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -258
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -15
- package/lib/composite-comp/monpay/components/Bundle/defaultJSON.js +0 -73
- package/lib/composite-comp/monpay/components/Bundle/index.js +0 -86
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.js +0 -113
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +0 -113
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.js +0 -61
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +0 -67
- package/lib/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +0 -499
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.less +0 -7
- package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +0 -80
- package/lib/composite-comp/monpay/components/InterestProducts/index.js +0 -86
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +0 -167
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +0 -154
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +0 -378
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.less +0 -21
- package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +0 -96
- package/lib/composite-comp/monpay/components/MerchantSales/index.js +0 -86
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.js +0 -124
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.less +0 -34
- 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 +0 -308
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +0 -14
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +0 -212
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +0 -21
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +0 -324
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +0 -90
- 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 +0 -464
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +0 -102
- 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 +0 -584
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +0 -388
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +0 -90
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +0 -166
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +0 -50
- 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 +0 -893
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -84
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
- package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +0 -113
- package/lib/composite-comp/monpay/components/MonpaySignBoard/index.js +0 -86
- package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.js +0 -442
- package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.less +0 -107
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +0 -114
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +0 -41
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +0 -95
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +0 -7
- package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +0 -73
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +0 -114
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +0 -41
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +0 -101
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +0 -7
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +0 -73
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +0 -112
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +0 -41
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +0 -95
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +0 -7
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +0 -73
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +0 -178
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +0 -41
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +0 -171
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +0 -7
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +0 -73
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +0 -131
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +0 -149
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +0 -93
- 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 +0 -150
- package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/ConfigContent/index.js +0 -155
- package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/index.js +0 -104
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +0 -435
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +0 -258
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +0 -15
- package/lib/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +0 -243
- package/lib/composite-comp/nuri/components/AffiliateRecommend/index.js +0 -90
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +0 -662
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +0 -84
- package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.js +0 -730
- package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.less +0 -124
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/index.js +0 -141
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
- package/lib/constants/component-types.js +0 -205
- package/lib/constants/index.js +0 -410
- package/lib/constants/layout.js +0 -374
- 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 +0 -74
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +0 -41
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +0 -43
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +0 -3
- package/lib/core/Designer/AiImageGenerator/History/index.js +0 -149
- package/lib/core/Designer/AiImageGenerator/History/index.less +0 -75
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +0 -31
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +0 -8
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +0 -57
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +0 -45
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +0 -754
- package/lib/core/Designer/AiImageGenerator/index.less +0 -136
- package/lib/core/Designer/AppointmentModal/index.js +0 -87
- package/lib/core/Designer/AppointmentModal/index.less +0 -23
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +0 -49
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -130
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
- package/lib/core/Designer/ChatRobot/index.js +0 -412
- package/lib/core/Designer/ChatRobot/index.less +0 -179
- package/lib/core/Designer/ChatRobot/markdown.less +0 -1
- package/lib/core/Designer/CompListPanel/CompCard/index.js +0 -50
- package/lib/core/Designer/CompListPanel/CompCard/index.less +0 -69
- package/lib/core/Designer/CompListPanel/index.js +0 -149
- package/lib/core/Designer/CompListPanel/index.less +0 -69
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +0 -76
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +0 -29
- package/lib/core/Designer/ConfigPanel/index.js +0 -396
- package/lib/core/Designer/ConfigPanel/index.less +0 -148
- package/lib/core/Designer/FonixtreeGpt/index.js +0 -353
- package/lib/core/Designer/History/index.js +0 -97
- package/lib/core/Designer/LeftTitle/index.js +0 -66
- package/lib/core/Designer/LeftTitle/index.less +0 -9
- package/lib/core/Designer/PageCompList/index.js +0 -331
- package/lib/core/Designer/PageCompList/index.less +0 -139
- package/lib/core/Designer/QuickMenuBar/index.js +0 -301
- package/lib/core/Designer/QuickMenuBar/index.less +0 -125
- package/lib/core/Designer/RenderHtml/index.js +0 -102
- package/lib/core/Designer/RenderHtml/index.less +0 -5
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +0 -99
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +0 -54
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +0 -96
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +0 -26
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +0 -101
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +0 -60
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +0 -52
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +0 -51
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +0 -58
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +0 -117
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +0 -10
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +0 -136
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +0 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +0 -101
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +0 -39
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +0 -93
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +0 -26
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +0 -133
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +0 -60
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +0 -46
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +0 -126
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +0 -10
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +0 -29
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +0 -29
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +0 -49
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +0 -29
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +0 -26
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +0 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +0 -31
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +0 -36
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +0 -41
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +0 -176
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +0 -26
- package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +0 -1
- package/lib/core/Designer/ToolBarModal/index.js +0 -416
- package/lib/core/Designer/ToolBarModal/index.less +0 -33
- package/lib/core/Designer/ViewArea/index.js +0 -195
- package/lib/core/Designer/ViewArea/index.less +0 -89
- package/lib/core/Designer/index.js +0 -852
- package/lib/core/Designer/index.less +0 -6
- package/lib/core/Renderer/index.js +0 -206
- package/lib/core/SelectUrl/index.js +0 -35
- package/lib/decorator/compositeDecorator.js +0 -303
- package/lib/decorator/index.js +0 -71
- package/lib/decorator/lazyLoadDecorator.js +0 -75
- package/lib/decorator/metaDecorator.js +0 -245
- package/lib/decorator/updateConfigDecorator.js +0 -76
- package/lib/locale/en/en.json +0 -346
- package/lib/locale/es/es.json +0 -346
- package/lib/locale/index.js +0 -50
- package/lib/locale/mn/mn.json +0 -346
- package/lib/meta-comp/components/Button/editable.js +0 -123
- package/lib/meta-comp/components/Button/editable.less +0 -6
- package/lib/meta-comp/components/Button/index.js +0 -183
- package/lib/meta-comp/components/Button/index.less +0 -21
- 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 +0 -266
- package/lib/meta-comp/components/Image/index.less +0 -25
- package/lib/meta-comp/components/Text/formats/fontFamily.js +0 -58
- package/lib/meta-comp/components/Text/formats/fontStyle.js +0 -58
- package/lib/meta-comp/components/Text/formats/fontWeight.js +0 -58
- package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +0 -58
- package/lib/meta-comp/components/Text/formats/textAlign.js +0 -58
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +0 -58
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +0 -58
- package/lib/meta-comp/components/Text/index.js +0 -308
- package/lib/meta-comp/components/Text/index.less +0 -103
- package/lib/meta-comp/components/index.js +0 -31
- package/lib/meta-comp/config-panels/BaseConfig.js +0 -85
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +0 -401
- package/lib/meta-comp/config-panels/ButtonConfig/index.less +0 -4
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +0 -164
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +0 -26
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +0 -133
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +0 -17
- package/lib/meta-comp/config-panels/ImageConfig/index.js +0 -450
- package/lib/meta-comp/config-panels/ImageConfig/index.less +0 -16
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +0 -3
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +0 -4
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +0 -3
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +0 -63
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +0 -211
- package/lib/meta-comp/config-panels/PlayIconConfig/index.less +0 -39
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +0 -100
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +0 -25
- package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +0 -92
- package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +0 -25
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +0 -108
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +0 -26
- package/lib/meta-comp/config-panels/TextConfig/index.js +0 -385
- package/lib/meta-comp/config-panels/TextConfig/index.less +0 -22
- package/lib/mobx/Frame.js +0 -85
- package/lib/mobx/Store.js +0 -99
- package/lib/mobx/UserState.js +0 -144
- package/lib/mobx/index.js +0 -48
- package/lib/utils/androidUtil.js +0 -150
- package/lib/utils/businessUtil.js +0 -563
- package/lib/utils/commonUtil.js +0 -1116
- package/lib/utils/compJsonUtil.js +0 -240
- package/lib/utils/coreUtil.js +0 -482
- package/lib/utils/currencyUtil.js +0 -229
- package/lib/utils/dataTreeUtils.js +0 -134
- package/lib/utils/dateUtil.js +0 -83
- package/lib/utils/storeUtil.js +0 -258
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.renderPreview = exports.parseUrl = exports.newParseUrl = exports.listToTree = exports.isPlatform = exports.getPromotionList = exports.computeStyle = exports.canNumber = void 0;
|
|
7
|
-
|
|
8
|
-
var _qs = _interopRequireDefault(require("qs"));
|
|
9
|
-
|
|
10
|
-
var _pickBy = _interopRequireDefault(require("lodash/pickBy"));
|
|
11
|
-
|
|
12
|
-
var _commonUtil = require("./commonUtil");
|
|
13
|
-
|
|
14
|
-
var _constants = require("../constants");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
/* eslint-disable import/no-cycle */
|
|
19
|
-
var isPlatform = function isPlatform() {
|
|
20
|
-
return window.magicDesign.partyType === 'P';
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
exports.isPlatform = isPlatform;
|
|
24
|
-
|
|
25
|
-
var newParseUrl = function newParseUrl(urlObj) {
|
|
26
|
-
var link = urlObj.value;
|
|
27
|
-
var params;
|
|
28
|
-
var type = urlObj.type,
|
|
29
|
-
value = urlObj.value,
|
|
30
|
-
offerId = urlObj.offerId,
|
|
31
|
-
productId = urlObj.productId,
|
|
32
|
-
name = urlObj.name;
|
|
33
|
-
|
|
34
|
-
switch (type) {
|
|
35
|
-
// 锚点跳转
|
|
36
|
-
case _constants.urlTypeMap.ANCHOR:
|
|
37
|
-
params = {
|
|
38
|
-
action: 'operation',
|
|
39
|
-
params: {
|
|
40
|
-
type: 'ANCHOR',
|
|
41
|
-
data: value
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
break;
|
|
45
|
-
// 商品详情
|
|
46
|
-
|
|
47
|
-
case _constants.urlTypeMap.PRODUCT_DETAIL_PAGE:
|
|
48
|
-
if (offerId) {
|
|
49
|
-
link = "/product/detail/" + offerId + "?productId=" + (productId !== null && productId !== void 0 ? productId : '');
|
|
50
|
-
} else {
|
|
51
|
-
link = "/product/detail/" + productId;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
params = {
|
|
55
|
-
action: 'jump',
|
|
56
|
-
params: {
|
|
57
|
-
type: 'PRODUCT_DETAIL',
|
|
58
|
-
offerId: offerId,
|
|
59
|
-
productId: productId
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
break;
|
|
63
|
-
|
|
64
|
-
case _constants.urlTypeMap.CATEGORY:
|
|
65
|
-
// 商品列表
|
|
66
|
-
link = "/product/list/" + value;
|
|
67
|
-
params = {
|
|
68
|
-
action: 'jump',
|
|
69
|
-
params: {
|
|
70
|
-
type: 'PRODUCT_LIST',
|
|
71
|
-
catgId: value
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
break;
|
|
75
|
-
|
|
76
|
-
case _constants.urlTypeMap.STORE_CATEGORY:
|
|
77
|
-
// 商品列表
|
|
78
|
-
link = "/product/list/" + value;
|
|
79
|
-
params = {
|
|
80
|
-
action: 'jump',
|
|
81
|
-
params: {
|
|
82
|
-
type: 'STORE_CATEGORY',
|
|
83
|
-
catgId: value
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
break;
|
|
87
|
-
// 海报页面
|
|
88
|
-
|
|
89
|
-
case _constants.urlTypeMap.CUSTOMIZED_PAGE:
|
|
90
|
-
link = "/poster/" + value;
|
|
91
|
-
params = {
|
|
92
|
-
action: 'jump',
|
|
93
|
-
data: {
|
|
94
|
-
type: 'WEBVIEW',
|
|
95
|
-
url: link
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
break;
|
|
99
|
-
// 商品列表
|
|
100
|
-
|
|
101
|
-
case _constants.urlTypeMap.FILTERED_PRODUCT:
|
|
102
|
-
link = "/product/list/?" + value;
|
|
103
|
-
params = {
|
|
104
|
-
action: 'jump',
|
|
105
|
-
params: {
|
|
106
|
-
type: 'PRODUCT_LIST',
|
|
107
|
-
params: (0, _pickBy["default"])(_qs["default"].parse(value), function (value) {
|
|
108
|
-
return value;
|
|
109
|
-
})
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
break;
|
|
113
|
-
|
|
114
|
-
case _constants.urlTypeMap.COUPONS:
|
|
115
|
-
// 领取优惠券
|
|
116
|
-
params = {
|
|
117
|
-
action: 'operation',
|
|
118
|
-
params: {
|
|
119
|
-
type: 'GET_COUPON',
|
|
120
|
-
couponId: value
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
break;
|
|
124
|
-
|
|
125
|
-
case _constants.urlTypeMap.VIDEO:
|
|
126
|
-
// 播放视频
|
|
127
|
-
params = {
|
|
128
|
-
action: 'operation',
|
|
129
|
-
params: {
|
|
130
|
-
type: 'VIDEO',
|
|
131
|
-
data: (0, _commonUtil.ensure)(function () {
|
|
132
|
-
return JSON.parse(value);
|
|
133
|
-
}, {})
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
break;
|
|
137
|
-
|
|
138
|
-
case _constants.urlTypeMap.SHARE_URL:
|
|
139
|
-
// 播放视频
|
|
140
|
-
params = {
|
|
141
|
-
action: 'operation',
|
|
142
|
-
params: {
|
|
143
|
-
type: 'SHARE_URL',
|
|
144
|
-
url: value
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
break;
|
|
148
|
-
|
|
149
|
-
case _constants.urlTypeMap.MINI_APP:
|
|
150
|
-
// 跳转小程序
|
|
151
|
-
link = '';
|
|
152
|
-
params = {
|
|
153
|
-
action: 'jump',
|
|
154
|
-
params: {
|
|
155
|
-
type: 'MINI_APP',
|
|
156
|
-
url: value
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
break;
|
|
160
|
-
|
|
161
|
-
case _constants.urlTypeMap.STORE:
|
|
162
|
-
// 跳转店铺
|
|
163
|
-
link = "/store-home/" + value;
|
|
164
|
-
params = {
|
|
165
|
-
action: 'jump',
|
|
166
|
-
params: {
|
|
167
|
-
type: 'STORE',
|
|
168
|
-
url: value
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
break;
|
|
172
|
-
|
|
173
|
-
case _constants.urlTypeMap.AFFILIATE_PRODUCT:
|
|
174
|
-
// 分销商品
|
|
175
|
-
link = '';
|
|
176
|
-
params = {
|
|
177
|
-
action: 'operation',
|
|
178
|
-
params: {
|
|
179
|
-
type: 'AFFILIATE_PRODUCT',
|
|
180
|
-
productName: value,
|
|
181
|
-
productId: productId
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
break;
|
|
185
|
-
|
|
186
|
-
case _constants.urlTypeMap.AFFILIATE_STORE:
|
|
187
|
-
// 分销店铺
|
|
188
|
-
link = "/storeDetail/" + value;
|
|
189
|
-
params = {
|
|
190
|
-
action: 'jump',
|
|
191
|
-
params: {
|
|
192
|
-
type: 'AFFILIATE_STORE',
|
|
193
|
-
url: value
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
break;
|
|
197
|
-
|
|
198
|
-
case _constants.urlTypeMap.MINI_API:
|
|
199
|
-
// 小程序API,演示使用
|
|
200
|
-
link = "mpaas://miniapp?api=" + value.replace('my.', '');
|
|
201
|
-
params = {
|
|
202
|
-
action: 'jump',
|
|
203
|
-
params: {
|
|
204
|
-
type: 'MINI_API',
|
|
205
|
-
url: value
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
break;
|
|
209
|
-
|
|
210
|
-
case _constants.urlTypeMap.AFFILIATE_PLATFORM:
|
|
211
|
-
// affiliate platform
|
|
212
|
-
link = "/platformDetail/" + value;
|
|
213
|
-
params = {
|
|
214
|
-
action: 'jump',
|
|
215
|
-
params: {
|
|
216
|
-
type: 'AFFILIATE_PLATFORM',
|
|
217
|
-
url: value
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
break;
|
|
221
|
-
|
|
222
|
-
case _constants.urlTypeMap.INTERESTED_MERCHANTS:
|
|
223
|
-
// 兴趣商家
|
|
224
|
-
link = "/store/list/" + value;
|
|
225
|
-
params = {
|
|
226
|
-
action: 'jump',
|
|
227
|
-
params: {
|
|
228
|
-
type: 'INTERESTED_MERCHANTS',
|
|
229
|
-
url: value
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
break;
|
|
233
|
-
|
|
234
|
-
case _constants.urlTypeMap.INTERESTED_PRODUCTS:
|
|
235
|
-
// 兴趣列表
|
|
236
|
-
link = "/product/recommend/" + value;
|
|
237
|
-
params = {
|
|
238
|
-
action: 'jump',
|
|
239
|
-
params: {
|
|
240
|
-
type: 'INTERESTED_PRODUCTS',
|
|
241
|
-
url: value
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
break;
|
|
245
|
-
|
|
246
|
-
case _constants.urlTypeMap.MERCHANT_STORY:
|
|
247
|
-
// 商家故事
|
|
248
|
-
link = "/merchant-story/" + value;
|
|
249
|
-
params = {
|
|
250
|
-
action: 'jump',
|
|
251
|
-
params: {
|
|
252
|
-
type: 'MERCHANT_STORY',
|
|
253
|
-
url: value
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
break;
|
|
257
|
-
|
|
258
|
-
case _constants.urlTypeMap.AFFILIATE_MISSION_DETAIL:
|
|
259
|
-
// affiliate mission detail
|
|
260
|
-
link = "/taskDetail/" + value;
|
|
261
|
-
params = {
|
|
262
|
-
action: 'jump',
|
|
263
|
-
params: {
|
|
264
|
-
type: 'AFFILIATE_MISSION_DETAIL',
|
|
265
|
-
url: value
|
|
266
|
-
}
|
|
267
|
-
};
|
|
268
|
-
break;
|
|
269
|
-
|
|
270
|
-
default:
|
|
271
|
-
var map = {
|
|
272
|
-
'/main/cart': 'CART',
|
|
273
|
-
'/main/account': 'ACCOUNT',
|
|
274
|
-
'/my-coupon': 'MY_COUPON',
|
|
275
|
-
'/coupon-center': 'COUPON_CENTER',
|
|
276
|
-
'/main/community': 'WEBVIEW',
|
|
277
|
-
'/message-center': 'MESSAGE',
|
|
278
|
-
'/spike': 'WEBVIEW',
|
|
279
|
-
'/check-in-gift': 'WEBVIEW',
|
|
280
|
-
'/invite': 'WEBVIEW',
|
|
281
|
-
'/special-mission': 'WEBVIEW',
|
|
282
|
-
'/main/category': 'CATEGORY',
|
|
283
|
-
'/main/social-commerce': 'WEBVIEW',
|
|
284
|
-
'/social-commerce/my-cashback': 'CASHBACK',
|
|
285
|
-
'/account/wallet': 'WEBVIEW',
|
|
286
|
-
'/product/GroupBuy': 'GROUP',
|
|
287
|
-
'/search-page': 'SEARCH_PAGE'
|
|
288
|
-
};
|
|
289
|
-
params = {
|
|
290
|
-
action: 'jump',
|
|
291
|
-
params: {
|
|
292
|
-
type: map[link] || name,
|
|
293
|
-
link: link,
|
|
294
|
-
url: link
|
|
295
|
-
}
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
return {
|
|
300
|
-
link: link,
|
|
301
|
-
data: params
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
exports.newParseUrl = newParseUrl;
|
|
306
|
-
|
|
307
|
-
var parseUrl = function parseUrl(url) {
|
|
308
|
-
var link = url;
|
|
309
|
-
var params;
|
|
310
|
-
|
|
311
|
-
var _a = url.split('-'),
|
|
312
|
-
type = _a[0],
|
|
313
|
-
arg1 = _a[1],
|
|
314
|
-
arg2 = _a[2];
|
|
315
|
-
|
|
316
|
-
switch (type) {
|
|
317
|
-
// 商品详情
|
|
318
|
-
case _constants.urlType.PRODUCT_DETAIL:
|
|
319
|
-
if (arg1 && arg1 !== 'undefined') {
|
|
320
|
-
link = "/product/detail/" + arg1 + "?productId=" + (arg2 !== null && arg2 !== void 0 ? arg2 : '');
|
|
321
|
-
} else {
|
|
322
|
-
link = "/product/detail/" + arg2;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
params = {
|
|
326
|
-
action: 'jump',
|
|
327
|
-
params: {
|
|
328
|
-
type: 'PRODUCT_DETAIL',
|
|
329
|
-
offerId: arg1,
|
|
330
|
-
productId: arg2
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
break;
|
|
334
|
-
|
|
335
|
-
case _constants.urlType.CATG_PROD_LIST:
|
|
336
|
-
// 商品列表
|
|
337
|
-
link = "/product/list/" + arg1;
|
|
338
|
-
params = {
|
|
339
|
-
action: 'jump',
|
|
340
|
-
params: {
|
|
341
|
-
type: 'PRODUCT_LIST',
|
|
342
|
-
catgId: arg1
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
break;
|
|
346
|
-
// 海报页面
|
|
347
|
-
|
|
348
|
-
case _constants.urlType.CUSTOMIZED:
|
|
349
|
-
link = "/poster/" + arg1;
|
|
350
|
-
params = {
|
|
351
|
-
action: 'jump',
|
|
352
|
-
data: {
|
|
353
|
-
type: 'WEBVIEW',
|
|
354
|
-
url: link
|
|
355
|
-
}
|
|
356
|
-
};
|
|
357
|
-
break;
|
|
358
|
-
// 商品列表
|
|
359
|
-
|
|
360
|
-
case _constants.urlType.PROD_FILTER:
|
|
361
|
-
link = "/product/list/?" + arg1;
|
|
362
|
-
params = {
|
|
363
|
-
action: 'jump',
|
|
364
|
-
params: {
|
|
365
|
-
type: 'PRODUCT_LIST',
|
|
366
|
-
params: (0, _pickBy["default"])(_qs["default"].parse(arg1), function (value) {
|
|
367
|
-
return value;
|
|
368
|
-
})
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
break;
|
|
372
|
-
// 锚点
|
|
373
|
-
|
|
374
|
-
case _constants.urlType.ANCHOR:
|
|
375
|
-
// document.getElementById(id) && document.getElementById(id).scrollIntoView({ behavior: 'smooth' });
|
|
376
|
-
params = {
|
|
377
|
-
action: 'ANCHOR',
|
|
378
|
-
data: {
|
|
379
|
-
id: arg1
|
|
380
|
-
}
|
|
381
|
-
};
|
|
382
|
-
break;
|
|
383
|
-
|
|
384
|
-
case _constants.urlType.GET_COUPON:
|
|
385
|
-
// 领取优惠券
|
|
386
|
-
params = {
|
|
387
|
-
action: 'operation',
|
|
388
|
-
params: {
|
|
389
|
-
type: 'GET_COUPON',
|
|
390
|
-
couponId: arg1
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
break;
|
|
394
|
-
|
|
395
|
-
case _constants.urlType.VIDEO:
|
|
396
|
-
// 播放视频
|
|
397
|
-
params = {
|
|
398
|
-
action: 'operation',
|
|
399
|
-
params: {
|
|
400
|
-
type: 'VIDEO',
|
|
401
|
-
data: (0, _commonUtil.ensure)(function () {
|
|
402
|
-
return JSON.parse(url.slice('video-'.length));
|
|
403
|
-
}, {})
|
|
404
|
-
}
|
|
405
|
-
};
|
|
406
|
-
break;
|
|
407
|
-
|
|
408
|
-
default:
|
|
409
|
-
var map = {
|
|
410
|
-
'/main/cart': 'CART',
|
|
411
|
-
'/main/account': 'ACCOUNT',
|
|
412
|
-
'/my-coupon': 'MY_COUPON',
|
|
413
|
-
'/coupon-center': 'COUPON_CENTER',
|
|
414
|
-
'/main/community': 'WEBVIEW',
|
|
415
|
-
'/message-center': 'MESSAGE',
|
|
416
|
-
'/spike': 'WEBVIEW',
|
|
417
|
-
'/check-in-gift': 'WEBVIEW',
|
|
418
|
-
'/invite': 'WEBVIEW',
|
|
419
|
-
'/special-mission': 'WEBVIEW',
|
|
420
|
-
'/main/category': 'CATEGORY',
|
|
421
|
-
'/main/social-commerce': 'WEBVIEW',
|
|
422
|
-
'/social-commerce/my-cashback': 'CASHBACK',
|
|
423
|
-
'/account/wallet': 'WEBVIEW',
|
|
424
|
-
'/product/GroupBuy': 'GROUP',
|
|
425
|
-
'/search-page': 'SEARCH_PAGE',
|
|
426
|
-
'/main/my-commission': 'WALLET'
|
|
427
|
-
};
|
|
428
|
-
link = url;
|
|
429
|
-
params = {
|
|
430
|
-
action: 'jump',
|
|
431
|
-
params: {
|
|
432
|
-
type: map[url],
|
|
433
|
-
link: link
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
return {
|
|
439
|
-
link: link,
|
|
440
|
-
data: params
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
/** 刷新预览区域 */
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
exports.parseUrl = parseUrl;
|
|
447
|
-
|
|
448
|
-
var renderPreview = function renderPreview() {
|
|
449
|
-
var evt = new Event('render-view', {
|
|
450
|
-
bubbles: false
|
|
451
|
-
});
|
|
452
|
-
window.document.dispatchEvent(evt);
|
|
453
|
-
}; // 分类列表 数组转换成树结构
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
exports.renderPreview = renderPreview;
|
|
457
|
-
|
|
458
|
-
var listToTree = function listToTree(list, idName) {
|
|
459
|
-
if (idName === void 0) {
|
|
460
|
-
idName = 'catgId';
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
var map = {};
|
|
464
|
-
var node;
|
|
465
|
-
var tree = [];
|
|
466
|
-
|
|
467
|
-
for (var i = 0; i < list.length; i++) {
|
|
468
|
-
map[list[i][idName]] = list[i];
|
|
469
|
-
list[i].children = list[i].isLeaf == 0 ? null : [];
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
for (var i = 0; i < list.length; i += 1) {
|
|
473
|
-
node = {
|
|
474
|
-
catgName: list[i].catgName,
|
|
475
|
-
title: list[i].catgName,
|
|
476
|
-
value: list[i][idName],
|
|
477
|
-
key: list[i][idName],
|
|
478
|
-
children: list[i].children
|
|
479
|
-
};
|
|
480
|
-
|
|
481
|
-
if (list[i].parentCatgId !== null) {
|
|
482
|
-
map[list[i].parentCatgId] && map[list[i].parentCatgId].children.push(node);
|
|
483
|
-
} else {
|
|
484
|
-
tree.push(node);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
return tree;
|
|
489
|
-
}; // 获取商品活动标签 包含秒杀、团规、满系
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
exports.listToTree = listToTree;
|
|
493
|
-
|
|
494
|
-
var getPromotionList = function getPromotionList(offer) {
|
|
495
|
-
var PROMOTION_TYPE_MAP = {
|
|
496
|
-
2: 'FLASH',
|
|
497
|
-
4: 'Group',
|
|
498
|
-
12: 'Bargain',
|
|
499
|
-
14: 'Discount',
|
|
500
|
-
C: 'Discount',
|
|
501
|
-
D: 'Discount',
|
|
502
|
-
G: 'Gift'
|
|
503
|
-
};
|
|
504
|
-
var promotType = offer.promotType,
|
|
505
|
-
sppType = offer.sppType;
|
|
506
|
-
var typeList = []; // 满系
|
|
507
|
-
|
|
508
|
-
if (promotType) {
|
|
509
|
-
typeList = promotType.match(/(C|G|D)/g) || [];
|
|
510
|
-
} // 秒杀团购
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
if (sppType) {
|
|
514
|
-
typeList = typeList.concat(sppType.split(','));
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
var promotNames = typeList.map(function (type) {
|
|
518
|
-
return PROMOTION_TYPE_MAP[type];
|
|
519
|
-
});
|
|
520
|
-
return Array.from(new Set(promotNames));
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
exports.getPromotionList = getPromotionList;
|
|
524
|
-
|
|
525
|
-
var canNumber = function canNumber(value) {
|
|
526
|
-
if (isNaN(Number(value))) {
|
|
527
|
-
return value;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
return Number(value);
|
|
531
|
-
};
|
|
532
|
-
/** 计算样式 */
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
exports.canNumber = canNumber;
|
|
536
|
-
|
|
537
|
-
var computeStyle = function computeStyle(_a, device) {
|
|
538
|
-
var background = _a.background,
|
|
539
|
-
spacing = _a.spacing;
|
|
540
|
-
var wrapStyle = {};
|
|
541
|
-
|
|
542
|
-
if (background) {
|
|
543
|
-
if (background.bgType === 'color') {
|
|
544
|
-
wrapStyle.backgroundColor = background.color;
|
|
545
|
-
wrapStyle.opacity = background.opacity ? background.opacity : 1;
|
|
546
|
-
} else {
|
|
547
|
-
wrapStyle.backgroundImage = "url(" + background.image + ")";
|
|
548
|
-
wrapStyle.backgroundPosition = 'center';
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
if (spacing) {
|
|
553
|
-
Object.keys(spacing[device]).forEach(function (key) {
|
|
554
|
-
if (!['', undefined].includes(spacing[device][key])) {
|
|
555
|
-
wrapStyle[key] = canNumber(spacing[device][key]);
|
|
556
|
-
}
|
|
557
|
-
});
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
return wrapStyle;
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
exports.computeStyle = computeStyle;
|