@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/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
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 _mobxReact = require("mobx-react");
|
|
11
|
+
|
|
12
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
13
|
+
|
|
14
|
+
var _decorator = require("../../../../../decorator");
|
|
15
|
+
|
|
16
|
+
var _GroupList = _interopRequireDefault(require("../GroupList"));
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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 __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
49
|
+
var c = arguments.length,
|
|
50
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
51
|
+
d;
|
|
52
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
53
|
+
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
54
|
+
}
|
|
55
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var notice = 'error';
|
|
59
|
+
|
|
60
|
+
var WalletNuriConfigImageGroup =
|
|
61
|
+
/** @class */
|
|
62
|
+
function (_super) {
|
|
63
|
+
__extends(WalletNuriConfigImageGroup, _super);
|
|
64
|
+
|
|
65
|
+
function WalletNuriConfigImageGroup() {
|
|
66
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
67
|
+
|
|
68
|
+
_this.state = {};
|
|
69
|
+
|
|
70
|
+
_this.onClickItem = function (node) {
|
|
71
|
+
_this.props.store.setState({
|
|
72
|
+
clickedGroup: node.id
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
_this.reRender = function () {
|
|
77
|
+
(0, _coreUtil.renderPreview)();
|
|
78
|
+
|
|
79
|
+
_this.setState({});
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
return _this;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
WalletNuriConfigImageGroup.prototype.render = function () {
|
|
86
|
+
var _a = this.props.source,
|
|
87
|
+
source = _a === void 0 ? [] : _a;
|
|
88
|
+
|
|
89
|
+
var _renderCard = function renderCard(src) {
|
|
90
|
+
var _a;
|
|
91
|
+
|
|
92
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
+
className: "card_wrap"
|
|
94
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
95
|
+
className: "name"
|
|
96
|
+
}, (_a = src.title) === null || _a === void 0 ? void 0 : _a.text));
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
|
+
className: "WALLET_image"
|
|
101
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
102
|
+
className: "node_list"
|
|
103
|
+
}, source.length === 0 ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
104
|
+
className: "notice"
|
|
105
|
+
}, notice) : /*#__PURE__*/_react["default"].createElement(_GroupList["default"], {
|
|
106
|
+
onClickItem: this.onClickItem,
|
|
107
|
+
renderCard: function renderCard(v) {
|
|
108
|
+
return _renderCard(v);
|
|
109
|
+
},
|
|
110
|
+
reRender: this.reRender,
|
|
111
|
+
source: source
|
|
112
|
+
})));
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
WalletNuriConfigImageGroup.defaultProps = {
|
|
116
|
+
source: []
|
|
117
|
+
};
|
|
118
|
+
WalletNuriConfigImageGroup = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer, _decorator.updateConfigDecorator], WalletNuriConfigImageGroup);
|
|
119
|
+
return WalletNuriConfigImageGroup;
|
|
120
|
+
}(_react["default"].Component);
|
|
121
|
+
|
|
122
|
+
var _default = WalletNuriConfigImageGroup;
|
|
123
|
+
exports["default"] = _default;
|
package/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.less
ADDED
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = WalletNuriConfig;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _WalletNuriConfigImageGroup = _interopRequireDefault(require("./WalletNuriConfigImageGroup"));
|
|
11
|
+
|
|
12
|
+
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
13
|
+
|
|
14
|
+
var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
|
|
15
|
+
|
|
16
|
+
var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));
|
|
17
|
+
|
|
18
|
+
var _layout = require("../../../../constants/layout");
|
|
19
|
+
|
|
20
|
+
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
21
|
+
|
|
22
|
+
var _locale = require("../../../../locale");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function WalletNuriConfig(props) {
|
|
27
|
+
var data = props.data;
|
|
28
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
29
|
+
divider: "bold",
|
|
30
|
+
headerSize: "large",
|
|
31
|
+
source: [{
|
|
32
|
+
key: 'walletNuri1',
|
|
33
|
+
name: (0, _locale.i18n)('GROUP'),
|
|
34
|
+
value: /*#__PURE__*/_react["default"].createElement(_WalletNuriConfigImageGroup["default"], {
|
|
35
|
+
source: data.groupSource
|
|
36
|
+
})
|
|
37
|
+
}, {
|
|
38
|
+
key: 'walletNuri2',
|
|
39
|
+
name: (0, _locale.i18n)('SPACING'),
|
|
40
|
+
value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
|
|
41
|
+
data: data.spacing
|
|
42
|
+
})
|
|
43
|
+
}, {
|
|
44
|
+
key: 'walletNuri3',
|
|
45
|
+
name: (0, _locale.i18n)('CUSTOMIZE'),
|
|
46
|
+
value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
|
|
47
|
+
component: "wallet",
|
|
48
|
+
data: data.customize,
|
|
49
|
+
isHideAlign: true,
|
|
50
|
+
layoutSource: _layout.WalletNuriLayout
|
|
51
|
+
})
|
|
52
|
+
}, {
|
|
53
|
+
key: 'walletNuri4',
|
|
54
|
+
name: (0, _locale.i18n)('BACKGROUND'),
|
|
55
|
+
value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
|
|
56
|
+
data: data.background
|
|
57
|
+
})
|
|
58
|
+
}],
|
|
59
|
+
type: "triangle"
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
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 _locale = require("../../../../locale");
|
|
11
|
+
|
|
12
|
+
var _common = require("../../../../common");
|
|
13
|
+
|
|
14
|
+
var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
|
|
15
|
+
|
|
16
|
+
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
17
|
+
|
|
18
|
+
var _BaseConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/BaseConfig"));
|
|
19
|
+
|
|
20
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
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 WalletSecondConfig =
|
|
51
|
+
/** @class */
|
|
52
|
+
function (_super) {
|
|
53
|
+
__extends(WalletSecondConfig, _super);
|
|
54
|
+
|
|
55
|
+
function WalletSecondConfig() {
|
|
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
|
+
_this.getContentPanel = function () {
|
|
67
|
+
var panelProps = _this.props.panelProps;
|
|
68
|
+
|
|
69
|
+
var iconSetting = /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
70
|
+
title: ""
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.IconPicker, {
|
|
72
|
+
onChange: function onChange(icon) {
|
|
73
|
+
panelProps.tip.url = icon;
|
|
74
|
+
|
|
75
|
+
_this.reRender();
|
|
76
|
+
},
|
|
77
|
+
value: panelProps.tip.url
|
|
78
|
+
}));
|
|
79
|
+
|
|
80
|
+
var defaultSource = [{
|
|
81
|
+
key: panelProps.logo.id,
|
|
82
|
+
name: (0, _locale.i18n)('LOGO'),
|
|
83
|
+
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
84
|
+
data: panelProps.logo,
|
|
85
|
+
needHover: false
|
|
86
|
+
}),
|
|
87
|
+
metaOption: panelProps.logo
|
|
88
|
+
}, {
|
|
89
|
+
key: panelProps.title.id,
|
|
90
|
+
name: (0, _locale.i18n)('TITLE'),
|
|
91
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
92
|
+
data: panelProps.title
|
|
93
|
+
}),
|
|
94
|
+
metaOption: panelProps.title
|
|
95
|
+
}, {
|
|
96
|
+
key: panelProps.amount.id,
|
|
97
|
+
name: (0, _locale.i18n)('AMOUNT'),
|
|
98
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
99
|
+
data: panelProps.amount
|
|
100
|
+
}),
|
|
101
|
+
metaOption: panelProps.amount
|
|
102
|
+
}, {
|
|
103
|
+
key: panelProps.text.id,
|
|
104
|
+
name: (0, _locale.i18n)('TEXT'),
|
|
105
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
106
|
+
data: panelProps.text
|
|
107
|
+
}),
|
|
108
|
+
metaOption: panelProps.text
|
|
109
|
+
}, {
|
|
110
|
+
key: panelProps.tip.id,
|
|
111
|
+
name: (0, _locale.i18n)('TIPS'),
|
|
112
|
+
value: iconSetting,
|
|
113
|
+
metaOption: panelProps.tip
|
|
114
|
+
}];
|
|
115
|
+
return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
116
|
+
divider: "dashed",
|
|
117
|
+
headerSize: "middle",
|
|
118
|
+
onRefresh: function onRefresh() {
|
|
119
|
+
return (0, _coreUtil.renderPreview)();
|
|
120
|
+
},
|
|
121
|
+
showActiveColor: true,
|
|
122
|
+
source: defaultSource,
|
|
123
|
+
type: "switch"
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
return _this;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
WalletSecondConfig.prototype.render = function () {
|
|
131
|
+
var panelProps = this.props.panelProps;
|
|
132
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
133
|
+
className: "Wallet_second_conf_wrap"
|
|
134
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
135
|
+
divider: "bold",
|
|
136
|
+
headerSize: "large",
|
|
137
|
+
source: [{
|
|
138
|
+
key: panelProps.id || 'walletNuriContent',
|
|
139
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
140
|
+
value: this.getContentPanel()
|
|
141
|
+
}]
|
|
142
|
+
}));
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
WalletSecondConfig.defaultProps = {
|
|
146
|
+
panelProps: {}
|
|
147
|
+
};
|
|
148
|
+
return WalletSecondConfig;
|
|
149
|
+
}(_BaseConfig["default"]);
|
|
150
|
+
|
|
151
|
+
var _default = WalletSecondConfig;
|
|
152
|
+
exports["default"] = _default;
|
|
@@ -25,14 +25,12 @@ var _Tag = _interopRequireDefault(require("../composite-comp/bol/components/Tag"
|
|
|
25
25
|
|
|
26
26
|
var _Video = _interopRequireDefault(require("../composite-comp/bol/components/Video"));
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _WalletAshita = _interopRequireDefault(require("../composite-comp/ashita/components/WalletAshita"));
|
|
29
29
|
|
|
30
|
-
var _WalletNuri = _interopRequireDefault(require("../composite-comp/
|
|
30
|
+
var _WalletNuri = _interopRequireDefault(require("../composite-comp/nuri/components/WalletNuri"));
|
|
31
31
|
|
|
32
32
|
var _CustomCode = _interopRequireDefault(require("../composite-comp/bol/components/CustomCode"));
|
|
33
33
|
|
|
34
|
-
var _Location = _interopRequireDefault(require("../composite-comp/bol/components/Location"));
|
|
35
|
-
|
|
36
34
|
var _FlashDeal = _interopRequireDefault(require("../composite-comp/dito/components/FlashDeal"));
|
|
37
35
|
|
|
38
36
|
var _GroupBuy = _interopRequireDefault(require("../composite-comp/dito/components/GroupBuy"));
|
|
@@ -73,6 +71,12 @@ var _MerchantSales = _interopRequireDefault(require("../composite-comp/monpay/co
|
|
|
73
71
|
|
|
74
72
|
var _MonpaySignBoard = _interopRequireDefault(require("../composite-comp/monpay/components/MonpaySignBoard"));
|
|
75
73
|
|
|
74
|
+
var _Location = _interopRequireDefault(require("../composite-comp/public/components/Location"));
|
|
75
|
+
|
|
76
|
+
var _Stores = _interopRequireDefault(require("../composite-comp/public/components/Stores"));
|
|
77
|
+
|
|
78
|
+
var _Wallet = _interopRequireDefault(require("../composite-comp/public/components/Wallet"));
|
|
79
|
+
|
|
76
80
|
var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
|
|
77
81
|
|
|
78
82
|
var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
|
|
@@ -95,11 +99,9 @@ var _VideoConfig = _interopRequireDefault(require("../composite-comp/bol/config-
|
|
|
95
99
|
|
|
96
100
|
var _CustomCodeConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/CustomCodeConfig"));
|
|
97
101
|
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
var _WalletConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/WalletConfig"));
|
|
102
|
+
var _WalletAshitaConfig = _interopRequireDefault(require("../composite-comp/ashita/config-panels/WalletAshitaConfig"));
|
|
101
103
|
|
|
102
|
-
var _WalletNuriConfig = _interopRequireDefault(require("../composite-comp/
|
|
104
|
+
var _WalletNuriConfig = _interopRequireDefault(require("../composite-comp/nuri/config-panels/WalletNuriConfig"));
|
|
103
105
|
|
|
104
106
|
var _FlashDealConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/FlashDealConfig"));
|
|
105
107
|
|
|
@@ -141,6 +143,12 @@ var _MerchantSalesConfig = _interopRequireDefault(require("../composite-comp/mon
|
|
|
141
143
|
|
|
142
144
|
var _MonpaySignBoardConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpaySignBoardConfig"));
|
|
143
145
|
|
|
146
|
+
var _LocationConfig = _interopRequireDefault(require("../composite-comp/public/config-panels/LocationConfig"));
|
|
147
|
+
|
|
148
|
+
var _StoresConfig = _interopRequireDefault(require("../composite-comp/public/config-panels/StoresConfig"));
|
|
149
|
+
|
|
150
|
+
var _WalletConfig = _interopRequireDefault(require("../composite-comp/public/config-panels/WalletConfig"));
|
|
151
|
+
|
|
144
152
|
var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
|
|
145
153
|
|
|
146
154
|
var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
|
|
@@ -157,9 +165,9 @@ var _ButtonSecondConfig = _interopRequireDefault(require("../composite-comp/bol/
|
|
|
157
165
|
|
|
158
166
|
var _VideoSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/VideoSecondConfig"));
|
|
159
167
|
|
|
160
|
-
var
|
|
168
|
+
var _WalletAshitaSecondConfig = _interopRequireDefault(require("../composite-comp/ashita/second-config-panels/WalletAshitaSecondConfig"));
|
|
161
169
|
|
|
162
|
-
var _WalletNuriSecondConfig = _interopRequireDefault(require("../composite-comp/
|
|
170
|
+
var _WalletNuriSecondConfig = _interopRequireDefault(require("../composite-comp/nuri/second-config-panels/WalletNuriSecondConfig"));
|
|
163
171
|
|
|
164
172
|
var _RecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/RecommendSecondConfig"));
|
|
165
173
|
|
|
@@ -181,6 +189,8 @@ var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-
|
|
|
181
189
|
|
|
182
190
|
var _MonpayRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig"));
|
|
183
191
|
|
|
192
|
+
var _WalletSecondConfig = _interopRequireDefault(require("../composite-comp/public/second-config-panels/WalletSecondConfig"));
|
|
193
|
+
|
|
184
194
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
185
195
|
|
|
186
196
|
var _a, _b, _c; // 组件
|
|
@@ -189,17 +199,17 @@ var _a, _b, _c; // 组件
|
|
|
189
199
|
/**
|
|
190
200
|
* 渲染组件索引
|
|
191
201
|
*/
|
|
192
|
-
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[
|
|
202
|
+
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_WalletAshita["default"].type] = _WalletAshita["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Stores["default"].type] = _Stores["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a[_MonpaySignBoard["default"].type] = _MonpaySignBoard["default"], _a);
|
|
193
203
|
/**
|
|
194
204
|
* 一级配置面板索引
|
|
195
205
|
*/
|
|
196
206
|
|
|
197
207
|
exports.componentMap = componentMap;
|
|
198
|
-
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[
|
|
208
|
+
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_WalletAshita["default"].type] = _WalletAshitaConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Stores["default"].type] = _StoresConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b[_MonpaySignBoard["default"].type] = _MonpaySignBoardConfig["default"], _b);
|
|
199
209
|
/**
|
|
200
210
|
* 二级配置面板索引
|
|
201
211
|
*/
|
|
202
212
|
|
|
203
213
|
exports.configPanelMap = configPanelMap;
|
|
204
|
-
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[
|
|
214
|
+
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_WalletAshita["default"].type] = _WalletAshitaSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c);
|
|
205
215
|
exports.secondConfigPanelMap = secondConfigPanelMap;
|
package/lib/constants/index.js
CHANGED
|
@@ -257,6 +257,10 @@ var compInfoMap = {
|
|
|
257
257
|
name: 'Location',
|
|
258
258
|
icon: 'icon-location'
|
|
259
259
|
},
|
|
260
|
+
STORES: {
|
|
261
|
+
name: 'Stores',
|
|
262
|
+
icon: 'icon-Storefront'
|
|
263
|
+
},
|
|
260
264
|
CUSTOM_CODE: {
|
|
261
265
|
name: 'Custom Code',
|
|
262
266
|
icon: 'icon-html'
|
|
@@ -309,7 +313,7 @@ var compInfoMap = {
|
|
|
309
313
|
name: 'Video',
|
|
310
314
|
icon: 'icon-video'
|
|
311
315
|
},
|
|
312
|
-
|
|
316
|
+
WALLET_ASHITA: {
|
|
313
317
|
name: 'Wallet',
|
|
314
318
|
icon: 'icon-cards_fill'
|
|
315
319
|
},
|
|
@@ -317,6 +321,10 @@ var compInfoMap = {
|
|
|
317
321
|
name: 'Wallet',
|
|
318
322
|
icon: 'icon-Wallet'
|
|
319
323
|
},
|
|
324
|
+
WALLET: {
|
|
325
|
+
name: 'Wallet',
|
|
326
|
+
icon: 'icon-Wallet'
|
|
327
|
+
},
|
|
320
328
|
HEAD_NAVIGATION: {
|
|
321
329
|
name: 'Head Navigation',
|
|
322
330
|
icon: 'icon-header'
|