@fonixtree/magic-design 2.0.169 → 2.0.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +39 -3
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/base64/index.js +8 -2
- package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/es/assets/images/layout-icon/bundleLayout1.png +0 -0
- package/es/assets/images/layout-icon/center.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/es/assets/images/layout-icon/interestLayout1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/left.png +0 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
- package/es/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
- package/es/assets/images/layout-icon/right.png +0 -0
- package/es/assets/images/layout-icon/storesLayout1.png +0 -0
- package/es/assets/images/layout-icon/storesLayout2.png +0 -0
- package/es/assets/images/layout-icon/textLayout1.png +0 -0
- package/es/assets/less/common.less +40 -3
- package/es/common/Field/index.js +5 -2
- package/es/common/Field/index.less +5 -0
- package/es/common/LayoutSelector/index.js +3 -21
- package/es/common/MyModal/index.less +12 -4
- package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/defaultJSON.js +1 -1
- package/es/composite-comp/ashita/components/WalletAshita/index.js +84 -0
- package/{lib/composite-comp/bol/config-panels/WalletConfig → es/composite-comp/ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.js +1 -1
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
- package/es/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
- package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
- package/es/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
- package/es/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
- package/es/composite-comp/public/components/Location/defaultJSON.js +104 -0
- package/es/composite-comp/public/components/Location/index.js +86 -0
- package/es/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
- package/es/composite-comp/public/components/Location/mobile/index.js +353 -0
- package/es/composite-comp/public/components/Location/mobile/index.less +90 -0
- package/es/composite-comp/public/components/Stores/defaultJSON.js +348 -0
- package/es/composite-comp/public/components/Stores/index.js +86 -0
- package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.js +275 -0
- package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.less +81 -0
- package/es/composite-comp/public/components/Stores/mobile/index.js +198 -0
- package/es/composite-comp/public/components/Stores/mobile/index.less +37 -0
- package/es/composite-comp/public/components/Wallet/defaultJSON.js +149 -0
- package/es/composite-comp/public/components/Wallet/mobile/index.js +350 -0
- package/es/composite-comp/public/components/Wallet/mobile/index.less +22 -0
- package/es/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +153 -0
- package/{lib/composite-comp/bol → es/composite-comp/public}/config-panels/LocationConfig/index.js +10 -52
- package/es/composite-comp/public/config-panels/LocationConfig/index.less +17 -0
- package/es/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +176 -0
- package/es/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +103 -0
- package/es/composite-comp/public/config-panels/StoresConfig/index.js +134 -0
- package/es/constants/component-types.js +23 -13
- package/es/constants/index.js +9 -1
- package/es/constants/layout.js +125 -16
- package/es/locale/en/en.json +15 -1
- package/es/locale/es/es.json +15 -1
- package/es/locale/index.js +5 -1
- package/es/locale/mn/mn.json +15 -1
- package/es/meta-comp/components/Text/index.less +6 -0
- package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +207 -0
- package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +81 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +7 -8
- package/es/utils/businessUtil.js +33 -7
- package/es/utils/commonUtil.js +21 -9
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +39 -3
- package/lib/assets/fonts/magic-box-iconfont.js +1 -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 +8 -2
- package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/lib/assets/images/layout-icon/bundleLayout1.png +0 -0
- package/lib/assets/images/layout-icon/center.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/lib/assets/images/layout-icon/interestLayout1.png +0 -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.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-imagetext-p5.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/left.png +0 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
- package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
- package/lib/assets/images/layout-icon/right.png +0 -0
- package/lib/assets/images/layout-icon/storesLayout1.png +0 -0
- package/lib/assets/images/layout-icon/storesLayout2.png +0 -0
- package/lib/assets/images/layout-icon/textLayout1.png +0 -0
- package/lib/assets/less/common.less +40 -3
- package/lib/common/Field/index.js +5 -2
- package/lib/common/Field/index.less +5 -0
- package/lib/common/LayoutSelector/index.js +3 -21
- package/lib/common/MyModal/index.less +12 -4
- package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/defaultJSON.js +1 -1
- package/lib/composite-comp/ashita/components/WalletAshita/index.js +84 -0
- package/{es/composite-comp/bol/config-panels/WalletConfig → lib/composite-comp/ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/ashita/config-panels/WalletAshitaConfig/WalletConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
- package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/index.js +61 -0
- package/lib/composite-comp/nuri/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
- package/lib/composite-comp/public/components/Location/defaultJSON.js +104 -0
- package/lib/composite-comp/public/components/Location/index.js +86 -0
- package/lib/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
- package/lib/composite-comp/public/components/Location/mobile/index.js +353 -0
- package/lib/composite-comp/public/components/Location/mobile/index.less +90 -0
- package/lib/composite-comp/public/components/Stores/defaultJSON.js +348 -0
- package/lib/composite-comp/public/components/Stores/index.js +86 -0
- package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.js +275 -0
- package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.less +81 -0
- package/lib/composite-comp/public/components/Stores/mobile/index.js +198 -0
- package/lib/composite-comp/public/components/Stores/mobile/index.less +37 -0
- package/lib/composite-comp/public/components/Wallet/defaultJSON.js +149 -0
- package/lib/composite-comp/public/components/Wallet/mobile/index.js +350 -0
- package/lib/composite-comp/public/components/Wallet/mobile/index.less +22 -0
- package/lib/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +153 -0
- package/{es/composite-comp/bol → lib/composite-comp/public}/config-panels/LocationConfig/index.js +10 -52
- package/lib/composite-comp/public/config-panels/LocationConfig/index.less +17 -0
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +176 -0
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.less +0 -0
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +103 -0
- package/lib/composite-comp/public/config-panels/StoresConfig/index.js +134 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.js +100 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.js +123 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/index.js +61 -0
- package/lib/composite-comp/public/second-config-panels/WalletSecondConfig/index.js +152 -0
- package/lib/constants/component-types.js +23 -13
- package/lib/constants/index.js +9 -1
- package/lib/constants/layout.js +125 -16
- package/lib/locale/en/en.json +15 -1
- package/lib/locale/es/es.json +15 -1
- package/lib/locale/index.js +5 -1
- package/lib/locale/mn/mn.json +15 -1
- package/lib/meta-comp/components/Text/index.less +6 -0
- package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +207 -0
- package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +81 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +7 -8
- package/lib/utils/businessUtil.js +33 -7
- package/lib/utils/commonUtil.js +21 -9
- package/package.json +1 -1
- package/es/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
- package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/imageTextLeft.svg +0 -6
- package/es/assets/images/layout-icon/imageTextRight.svg +0 -6
- package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/es/common/LayoutSelector/imgs/center.png +0 -0
- package/es/common/LayoutSelector/imgs/left.png +0 -0
- package/es/common/LayoutSelector/imgs/right.png +0 -0
- package/es/composite-comp/bol/components/Location/defaultJSON.js +0 -60
- package/es/composite-comp/bol/components/Location/index.js +0 -102
- package/es/composite-comp/bol/components/Location/index.less +0 -15
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
- package/es/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
- 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-m3-1.svg +0 -18
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- 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/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/config-panels/ButtonCompConfig/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/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -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 +0 -584
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
- 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/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- /package/es/{composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png → assets/images/common/product.png} +0 -0
- /package/es/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png → assets/images/layout-icon/buttonLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
- /package/es/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
- /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.js +0 -0
- /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.less +0 -0
- /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.js +0 -0
- /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.js +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.js +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/ButtonCompConfig → ashita/config-panels/WalletAshitaConfig}/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/index.js +0 -0
- /package/es/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.js +0 -0
- /package/es/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.less +0 -0
- /package/es/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
- /package/es/composite-comp/{bol → nuri}/components/WalletNuri/defaultJSON.js +0 -0
- /package/es/composite-comp/{bol → nuri}/components/WalletNuri/index.js +0 -0
- /package/es/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.js +0 -0
- /package/es/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/TagCompConfig/imgs → nuri/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
- /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/GroupList/index.js +0 -0
- /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/GroupList/index.less +0 -0
- /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -0
- /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/TextCompConfig → nuri/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/index.js +0 -0
- /package/es/composite-comp/{bol → nuri}/second-config-panels/WalletNuriSecondConfig/index.js +0 -0
- /package/es/composite-comp/{bol → public}/components/Wallet/index.js +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent → es/composite-comp/public/config-panels/StoresConfig/ConfigContent}/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletConfig/imgs → public/config-panels/WalletConfig/GroupList}/defaultImg.png +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/GroupList/index.js +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/GroupList/index.less +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/WalletNuriConfigImageGroup/index.js +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup → es/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup}/index.less +0 -0
- /package/es/composite-comp/{bol/config-panels/WalletNuriConfig/GroupList → public/config-panels/WalletConfig/imgs}/defaultImg.png +0 -0
- /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/index.js +0 -0
- /package/{lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig → es/composite-comp/public/second-config-panels/WalletSecondConfig}/index.js +0 -0
- /package/lib/{composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png → assets/images/common/product.png} +0 -0
- /package/lib/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
- /package/{es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png → lib/assets/images/layout-icon/buttonLayout1.png} +0 -0
- /package/lib/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
- /package/lib/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
- /package/lib/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
- /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.js +0 -0
- /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.less +0 -0
- /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.js +0 -0
- /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.less +0 -0
- /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.js +0 -0
- /package/lib/composite-comp/{bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup → ashita/config-panels/WalletAshitaConfig/WalletConfigContent}/index.less +0 -0
- /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.js +0 -0
- /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.less +0 -0
- /package/{es/composite-comp/bol/config-panels/WalletNuriConfig → lib/composite-comp/ashita/config-panels/WalletAshitaConfig}/imgs/defaultImg.png +0 -0
- /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/index.js +0 -0
- /package/lib/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.js +0 -0
- /package/lib/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.less +0 -0
- /package/lib/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
- /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/defaultJSON.js +0 -0
- /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/index.js +0 -0
- /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.js +0 -0
- /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.less +0 -0
- /package/lib/composite-comp/{bol/config-panels/ButtonCompConfig/imgs → nuri/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
- /package/lib/composite-comp/{bol/config-panels/TagCompConfig → nuri/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
- /package/lib/composite-comp/{bol → public}/components/Wallet/index.js +0 -0
- /package/lib/composite-comp/{bol/config-panels/TextCompConfig/imgs → public/config-panels/WalletConfig/GroupList}/defaultImg.png +0 -0
- /package/lib/composite-comp/{bol → public}/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
package/{es/composite-comp/bol → lib/composite-comp/public}/config-panels/LocationConfig/index.js
RENAMED
|
@@ -7,9 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
10
|
+
var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
|
|
13
11
|
|
|
14
12
|
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
15
13
|
|
|
@@ -25,6 +23,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
|
|
|
25
23
|
|
|
26
24
|
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
27
25
|
|
|
26
|
+
require("./index.less");
|
|
27
|
+
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
29
|
|
|
30
30
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -59,64 +59,22 @@ function (_super) {
|
|
|
59
59
|
__extends(LocationConfig, _super);
|
|
60
60
|
|
|
61
61
|
function LocationConfig() {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
_this.getContentPanel = function () {
|
|
65
|
-
var data = _this.props.data;
|
|
66
|
-
var source = [{
|
|
67
|
-
key: data.logo.id,
|
|
68
|
-
name: (0, _locale.i18n)('LOCATION_LOGO'),
|
|
69
|
-
value: /*#__PURE__*/_react["default"].createElement(_common.Field, null, /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
70
|
-
colorType: "rgba",
|
|
71
|
-
onChange: function onChange(v) {
|
|
72
|
-
data.logo.color = v;
|
|
73
|
-
|
|
74
|
-
_this.selfRender();
|
|
75
|
-
},
|
|
76
|
-
value: data.logo.color
|
|
77
|
-
})),
|
|
78
|
-
metaOption: data.logo
|
|
79
|
-
}, {
|
|
80
|
-
key: data.address.id,
|
|
81
|
-
name: (0, _locale.i18n)('ADDRESS'),
|
|
82
|
-
metaOption: data.address
|
|
83
|
-
}, {
|
|
84
|
-
key: data.icon.id,
|
|
85
|
-
name: (0, _locale.i18n)('ICON'),
|
|
86
|
-
value: /*#__PURE__*/_react["default"].createElement(_common.Field, null, /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
87
|
-
colorType: "rgba",
|
|
88
|
-
onChange: function onChange(v) {
|
|
89
|
-
data.icon.color = v;
|
|
90
|
-
|
|
91
|
-
_this.selfRender();
|
|
92
|
-
},
|
|
93
|
-
value: data.icon.color
|
|
94
|
-
})),
|
|
95
|
-
metaOption: data.icon
|
|
96
|
-
}];
|
|
97
|
-
return /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
98
|
-
headerSize: "middle",
|
|
99
|
-
onRefresh: function onRefresh() {
|
|
100
|
-
return (0, _coreUtil.renderPreview)();
|
|
101
|
-
},
|
|
102
|
-
showActiveColor: true,
|
|
103
|
-
source: source,
|
|
104
|
-
type: "switch"
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
return _this;
|
|
62
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
109
63
|
}
|
|
110
64
|
|
|
111
65
|
LocationConfig.prototype.render = function () {
|
|
112
66
|
var data = this.props.data;
|
|
113
|
-
return /*#__PURE__*/_react["default"].createElement("div",
|
|
67
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
+
className: "location_config"
|
|
69
|
+
}, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
114
70
|
divider: "bold",
|
|
115
71
|
headerSize: "large",
|
|
116
72
|
source: [{
|
|
117
73
|
key: 'content',
|
|
118
74
|
name: (0, _locale.i18n)('CONTENT'),
|
|
119
|
-
value:
|
|
75
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigContent["default"], {
|
|
76
|
+
panelProps: data.content
|
|
77
|
+
})
|
|
120
78
|
}, {
|
|
121
79
|
key: 'spacing',
|
|
122
80
|
name: (0, _locale.i18n)('SPACING'),
|
|
@@ -0,0 +1,176 @@
|
|
|
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
|
+
var _antd = require("antd4");
|
|
11
|
+
|
|
12
|
+
var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
|
|
13
|
+
|
|
14
|
+
var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
|
|
15
|
+
|
|
16
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
17
|
+
|
|
18
|
+
var _common = require("../../../../../common");
|
|
19
|
+
|
|
20
|
+
var _locale = require("../../../../../locale");
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
+
__proto__: []
|
|
28
|
+
} instanceof Array && function (d, b) {
|
|
29
|
+
d.__proto__ = b;
|
|
30
|
+
} || function (d, b) {
|
|
31
|
+
for (var p in b) {
|
|
32
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
return _extendStatics(d, b);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return function (d, b) {
|
|
40
|
+
_extendStatics(d, b);
|
|
41
|
+
|
|
42
|
+
function __() {
|
|
43
|
+
this.constructor = d;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
+
};
|
|
48
|
+
}();
|
|
49
|
+
|
|
50
|
+
var AComponent =
|
|
51
|
+
/** @class */
|
|
52
|
+
function (_super) {
|
|
53
|
+
__extends(AComponent, _super);
|
|
54
|
+
|
|
55
|
+
function AComponent() {
|
|
56
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
+
|
|
58
|
+
_this.state = {};
|
|
59
|
+
|
|
60
|
+
_this.reRender = function () {
|
|
61
|
+
(0, _coreUtil.renderPreview)();
|
|
62
|
+
|
|
63
|
+
_this.setState({});
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
return _this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
AComponent.prototype.render = function () {
|
|
70
|
+
var _this = this;
|
|
71
|
+
|
|
72
|
+
var panelProps = this.props.panelProps;
|
|
73
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
+
className: "stores_content"
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
76
|
+
headerSize: "middle",
|
|
77
|
+
onRefresh: this.reRender,
|
|
78
|
+
source: [{
|
|
79
|
+
key: '1',
|
|
80
|
+
name: (0, _locale.i18n)('STORE_NAME'),
|
|
81
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
82
|
+
data: panelProps.storeName
|
|
83
|
+
}),
|
|
84
|
+
metaOption: panelProps.storeName
|
|
85
|
+
}, {
|
|
86
|
+
key: '2',
|
|
87
|
+
name: (0, _locale.i18n)('STORE_DESCRIPTION'),
|
|
88
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
89
|
+
data: panelProps.storeDesc
|
|
90
|
+
}),
|
|
91
|
+
metaOption: panelProps.storeDesc
|
|
92
|
+
}, {
|
|
93
|
+
key: '3',
|
|
94
|
+
name: (0, _locale.i18n)('FREE_DELIVERY_LABEL'),
|
|
95
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
96
|
+
data: panelProps.freeDeliveryLabel
|
|
97
|
+
}),
|
|
98
|
+
metaOption: panelProps.freeDeliveryLabel
|
|
99
|
+
}, {
|
|
100
|
+
key: '4',
|
|
101
|
+
name: (0, _locale.i18n)('MIN_ORDER'),
|
|
102
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
103
|
+
data: panelProps.minOrder
|
|
104
|
+
}),
|
|
105
|
+
metaOption: panelProps.minOrder
|
|
106
|
+
}, {
|
|
107
|
+
key: '5',
|
|
108
|
+
name: (0, _locale.i18n)('EVALUATE_SCORE'),
|
|
109
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
110
|
+
data: panelProps.evaluateScore
|
|
111
|
+
}),
|
|
112
|
+
metaOption: panelProps.evaluateScore
|
|
113
|
+
}, {
|
|
114
|
+
key: '6',
|
|
115
|
+
name: (0, _locale.i18n)('SOLD'),
|
|
116
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
117
|
+
data: panelProps.sold
|
|
118
|
+
}),
|
|
119
|
+
metaOption: panelProps.sold
|
|
120
|
+
}, {
|
|
121
|
+
key: '7',
|
|
122
|
+
name: (0, _locale.i18n)('DELIVERY_TIME'),
|
|
123
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
124
|
+
data: panelProps.deliveryTime
|
|
125
|
+
}),
|
|
126
|
+
metaOption: panelProps.deliveryTime
|
|
127
|
+
}, {
|
|
128
|
+
key: '8',
|
|
129
|
+
name: (0, _locale.i18n)('DISTANCE'),
|
|
130
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
131
|
+
data: panelProps.distance
|
|
132
|
+
}),
|
|
133
|
+
metaOption: panelProps.distance
|
|
134
|
+
}],
|
|
135
|
+
type: "switch"
|
|
136
|
+
}), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
137
|
+
title: (0, _locale.i18n)('SOURCE_OF_ACTIVITY'),
|
|
138
|
+
topSplit: true
|
|
139
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
140
|
+
onChange: function onChange(v) {
|
|
141
|
+
panelProps.sourceType = v;
|
|
142
|
+
|
|
143
|
+
_this.reRender();
|
|
144
|
+
},
|
|
145
|
+
value: panelProps.sourceType
|
|
146
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
147
|
+
value: "1"
|
|
148
|
+
}, (0, _locale.i18n)('FREE_SHIPPING_STORES')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
149
|
+
title: (0, _locale.i18n)('PRODUCT_QUANTITY'),
|
|
150
|
+
topSplit: true
|
|
151
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
|
|
152
|
+
onChange: function onChange(e) {
|
|
153
|
+
panelProps.maxProdNum = e.target.value;
|
|
154
|
+
|
|
155
|
+
_this.selfRender();
|
|
156
|
+
},
|
|
157
|
+
value: panelProps.maxProdNum
|
|
158
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio, {
|
|
159
|
+
value: 5
|
|
160
|
+
}, "5"), /*#__PURE__*/_react["default"].createElement(_antd.Radio, {
|
|
161
|
+
value: 10
|
|
162
|
+
}, "\u226410"), /*#__PURE__*/_react["default"].createElement(_antd.Radio, {
|
|
163
|
+
value: 20
|
|
164
|
+
}, "\u226420"), /*#__PURE__*/_react["default"].createElement(_antd.Radio, {
|
|
165
|
+
value: 50
|
|
166
|
+
}, "\u226450"))));
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
AComponent.defaultProps = {
|
|
170
|
+
panelProps: {}
|
|
171
|
+
};
|
|
172
|
+
return AComponent;
|
|
173
|
+
}(_react["default"].Component);
|
|
174
|
+
|
|
175
|
+
var _default = AComponent;
|
|
176
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
11
|
+
|
|
12
|
+
var _common = require("../../../../../common");
|
|
13
|
+
|
|
14
|
+
var _locale = require("../../../../../locale");
|
|
15
|
+
|
|
16
|
+
var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
|
|
17
|
+
|
|
18
|
+
var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
23
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
24
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
25
|
+
__proto__: []
|
|
26
|
+
} instanceof Array && function (d, b) {
|
|
27
|
+
d.__proto__ = b;
|
|
28
|
+
} || function (d, b) {
|
|
29
|
+
for (var p in b) {
|
|
30
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return _extendStatics(d, b);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return function (d, b) {
|
|
38
|
+
_extendStatics(d, b);
|
|
39
|
+
|
|
40
|
+
function __() {
|
|
41
|
+
this.constructor = d;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45
|
+
};
|
|
46
|
+
}();
|
|
47
|
+
|
|
48
|
+
var AComponent =
|
|
49
|
+
/** @class */
|
|
50
|
+
function (_super) {
|
|
51
|
+
__extends(AComponent, _super);
|
|
52
|
+
|
|
53
|
+
function AComponent() {
|
|
54
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55
|
+
|
|
56
|
+
_this.state = {};
|
|
57
|
+
|
|
58
|
+
_this.reRender = function () {
|
|
59
|
+
(0, _coreUtil.renderPreview)();
|
|
60
|
+
|
|
61
|
+
_this.setState({});
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
return _this;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
AComponent.prototype.render = function () {
|
|
68
|
+
var panelProps = this.props.panelProps;
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
+
className: "stores_title"
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
72
|
+
headerSize: "middle",
|
|
73
|
+
onRefresh: this.reRender,
|
|
74
|
+
source: [{
|
|
75
|
+
key: '1',
|
|
76
|
+
name: (0, _locale.i18n)('NAME'),
|
|
77
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
78
|
+
data: panelProps.name
|
|
79
|
+
}),
|
|
80
|
+
metaOption: panelProps.name
|
|
81
|
+
}, {
|
|
82
|
+
key: '2',
|
|
83
|
+
name: (0, _locale.i18n)('SEE_ALL'),
|
|
84
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
85
|
+
data: panelProps.seeAll
|
|
86
|
+
}),
|
|
87
|
+
metaOption: panelProps.seeAll
|
|
88
|
+
}],
|
|
89
|
+
type: "switch"
|
|
90
|
+
}));
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
AComponent.defaultProps = {
|
|
94
|
+
panelProps: {
|
|
95
|
+
name: {},
|
|
96
|
+
seeAll: {}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
return AComponent;
|
|
100
|
+
}(_react["default"].Component);
|
|
101
|
+
|
|
102
|
+
var _default = AComponent;
|
|
103
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
|
|
11
|
+
|
|
12
|
+
var _ConfigTitle = _interopRequireDefault(require("./ConfigTitle"));
|
|
13
|
+
|
|
14
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
15
|
+
|
|
16
|
+
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
17
|
+
|
|
18
|
+
var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
|
|
19
|
+
|
|
20
|
+
var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));
|
|
21
|
+
|
|
22
|
+
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
23
|
+
|
|
24
|
+
var _locale = require("../../../../locale");
|
|
25
|
+
|
|
26
|
+
var _layout = require("../../../../constants/layout");
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
|
+
|
|
30
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
31
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
32
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
33
|
+
__proto__: []
|
|
34
|
+
} instanceof Array && function (d, b) {
|
|
35
|
+
d.__proto__ = b;
|
|
36
|
+
} || function (d, b) {
|
|
37
|
+
for (var p in b) {
|
|
38
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return _extendStatics(d, b);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return function (d, b) {
|
|
46
|
+
_extendStatics(d, b);
|
|
47
|
+
|
|
48
|
+
function __() {
|
|
49
|
+
this.constructor = d;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53
|
+
};
|
|
54
|
+
}();
|
|
55
|
+
|
|
56
|
+
var RecommendConfig =
|
|
57
|
+
/** @class */
|
|
58
|
+
function (_super) {
|
|
59
|
+
__extends(RecommendConfig, _super);
|
|
60
|
+
|
|
61
|
+
function RecommendConfig() {
|
|
62
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
63
|
+
|
|
64
|
+
_this.selfRender = function () {
|
|
65
|
+
(0, _coreUtil.renderPreview)();
|
|
66
|
+
|
|
67
|
+
_this.setState({});
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
_this.getLayout = function (v) {
|
|
71
|
+
var data = _this.props.data;
|
|
72
|
+
|
|
73
|
+
if ((0, _coreUtil.isPc)()) {
|
|
74
|
+
data.customize.layout.pcLayout = v;
|
|
75
|
+
} else {
|
|
76
|
+
data.customize.layout.h5Layout = v;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
_this.selfRender();
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
return _this;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
RecommendConfig.prototype.render = function () {
|
|
86
|
+
var data = this.props.data;
|
|
87
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
88
|
+
divider: "bold",
|
|
89
|
+
headerSize: "large",
|
|
90
|
+
source: [{
|
|
91
|
+
key: '1',
|
|
92
|
+
name: (0, _locale.i18n)('TITLE'),
|
|
93
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigTitle["default"], {
|
|
94
|
+
panelProps: data.title
|
|
95
|
+
})
|
|
96
|
+
}, {
|
|
97
|
+
key: '2',
|
|
98
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
99
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigContent["default"], {
|
|
100
|
+
panelProps: data.content
|
|
101
|
+
})
|
|
102
|
+
}, {
|
|
103
|
+
key: '3',
|
|
104
|
+
name: (0, _locale.i18n)('SPACING'),
|
|
105
|
+
value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
|
|
106
|
+
configCompSpace: true,
|
|
107
|
+
data: data.spacing
|
|
108
|
+
})
|
|
109
|
+
}, {
|
|
110
|
+
key: '4',
|
|
111
|
+
name: (0, _locale.i18n)('CUSTOMIZE'),
|
|
112
|
+
value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
|
|
113
|
+
data: data.customize,
|
|
114
|
+
layoutSource: _layout.storesLayout
|
|
115
|
+
})
|
|
116
|
+
}, {
|
|
117
|
+
key: '5',
|
|
118
|
+
name: (0, _locale.i18n)('BACKGROUND'),
|
|
119
|
+
value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
|
|
120
|
+
data: data.background
|
|
121
|
+
})
|
|
122
|
+
}],
|
|
123
|
+
type: "triangle"
|
|
124
|
+
}));
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
RecommendConfig.defaultProps = {
|
|
128
|
+
data: {}
|
|
129
|
+
};
|
|
130
|
+
return RecommendConfig;
|
|
131
|
+
}(_react["default"].Component);
|
|
132
|
+
|
|
133
|
+
var _default = RecommendConfig;
|
|
134
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
var _common = require("../../../../../common");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
17
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
18
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
19
|
+
__proto__: []
|
|
20
|
+
} instanceof Array && function (d, b) {
|
|
21
|
+
d.__proto__ = b;
|
|
22
|
+
} || function (d, b) {
|
|
23
|
+
for (var p in b) {
|
|
24
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return _extendStatics(d, b);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return function (d, b) {
|
|
32
|
+
_extendStatics(d, b);
|
|
33
|
+
|
|
34
|
+
function __() {
|
|
35
|
+
this.constructor = d;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
39
|
+
};
|
|
40
|
+
}();
|
|
41
|
+
|
|
42
|
+
var GroupList =
|
|
43
|
+
/** @class */
|
|
44
|
+
function (_super) {
|
|
45
|
+
__extends(GroupList, _super);
|
|
46
|
+
|
|
47
|
+
function GroupList() {
|
|
48
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
49
|
+
|
|
50
|
+
_this.renderCard = function (src) {
|
|
51
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
52
|
+
className: "card_wrap"
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
54
|
+
className: "name"
|
|
55
|
+
}, src.title.text));
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
return _this;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
GroupList.prototype.render = function () {
|
|
62
|
+
var _this = this;
|
|
63
|
+
|
|
64
|
+
var _a = this.props,
|
|
65
|
+
source = _a.source,
|
|
66
|
+
onClickItem = _a.onClickItem;
|
|
67
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
+
className: "group_list"
|
|
69
|
+
}, source.length > 0 && source.map(function (src, index) {
|
|
70
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
|
+
key: "card" + src.id,
|
|
72
|
+
className: "group_item",
|
|
73
|
+
"data-nodeid": src.id,
|
|
74
|
+
id: "card" + src.id,
|
|
75
|
+
onClick: function onClick() {
|
|
76
|
+
return onClickItem(src);
|
|
77
|
+
}
|
|
78
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
+
className: "left"
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
81
|
+
className: "drag-icon",
|
|
82
|
+
color: "#C4C4C4",
|
|
83
|
+
size: "20px",
|
|
84
|
+
type: "icon-drag"
|
|
85
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
86
|
+
className: "middle_info ml8"
|
|
87
|
+
}, _this.renderCard(src, index) || 'image name')));
|
|
88
|
+
}));
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
GroupList.defaultProps = {
|
|
92
|
+
source: [],
|
|
93
|
+
onClickItem: function onClickItem() {},
|
|
94
|
+
reRender: function reRender() {}
|
|
95
|
+
};
|
|
96
|
+
return GroupList;
|
|
97
|
+
}(_react["default"].Component);
|
|
98
|
+
|
|
99
|
+
var _default = GroupList;
|
|
100
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.group_list {
|
|
2
|
+
margin-bottom: 12px;
|
|
3
|
+
|
|
4
|
+
.group_item {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
padding: 12px;
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
cursor: move;
|
|
11
|
+
|
|
12
|
+
&::after {
|
|
13
|
+
content: ' ';
|
|
14
|
+
position: absolute;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
height: 1px;
|
|
19
|
+
background-color: #EDF0F4;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.left {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
|
|
26
|
+
.middle_info {
|
|
27
|
+
width: 260px;
|
|
28
|
+
|
|
29
|
+
.card_wrap {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
height: 40px;
|
|
33
|
+
|
|
34
|
+
img {
|
|
35
|
+
height: 40px;
|
|
36
|
+
width: 40px;
|
|
37
|
+
border-radius: 8px;
|
|
38
|
+
object-fit: cover;
|
|
39
|
+
background-color: #EDF0F4;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.name {
|
|
43
|
+
margin-left: 8px;
|
|
44
|
+
font-family: 'Open Sans';
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
line-height: 24px;
|
|
49
|
+
color: #232F46;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
p {
|
|
54
|
+
margin-bottom: 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
&:hover {
|
|
63
|
+
background-color: #E9F0FF;
|
|
64
|
+
|
|
65
|
+
.left {
|
|
66
|
+
.middle_info {
|
|
67
|
+
width: 200px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|