@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/constants/layout.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.flashDealLayout = exports.dividerLayout = exports.carouselLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
6
|
+
exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
7
7
|
|
|
8
8
|
var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
|
|
9
9
|
|
|
@@ -29,21 +29,21 @@ var _layoutImagetextM4 = _interopRequireDefault(require("../assets/images/layout
|
|
|
29
29
|
|
|
30
30
|
var _layoutImagetextM5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-m3.png"));
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _layoutImagetextP = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p1.png"));
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _layoutImagetextP2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p2.png"));
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _layoutImagetextP3 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p3.png"));
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _layoutImagetextP4 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p4.png"));
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _layoutImagetextP5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p5.png"));
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _carouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout1.png"));
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _carouselLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout2.png"));
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _carouselLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout3.png"));
|
|
47
47
|
|
|
48
48
|
var _newsletter = _interopRequireDefault(require("../assets/images/layout-icon/newsletter.svg"));
|
|
49
49
|
|
|
@@ -97,9 +97,50 @@ var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layou
|
|
|
97
97
|
|
|
98
98
|
var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
|
|
99
99
|
|
|
100
|
+
var _buttonLayout = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout1.png"));
|
|
101
|
+
|
|
102
|
+
var _buttonLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout2.png"));
|
|
103
|
+
|
|
104
|
+
var _tagLayout = _interopRequireDefault(require("../assets/images/layout-icon/tagLayout1.png"));
|
|
105
|
+
|
|
106
|
+
var _textLayout = _interopRequireDefault(require("../assets/images/layout-icon/textLayout1.png"));
|
|
107
|
+
|
|
108
|
+
var _bargainLayout = _interopRequireDefault(require("../assets/images/layout-icon/bargainLayout1.png"));
|
|
109
|
+
|
|
110
|
+
var _groupBuyLayout = _interopRequireDefault(require("../assets/images/layout-icon/groupBuyLayout1.png"));
|
|
111
|
+
|
|
112
|
+
var _bundleLayout = _interopRequireDefault(require("../assets/images/layout-icon/bundleLayout1.png"));
|
|
113
|
+
|
|
114
|
+
var _interestLayout = _interopRequireDefault(require("../assets/images/layout-icon/interestLayout1.png"));
|
|
115
|
+
|
|
116
|
+
var _merchantSalesLayout = _interopRequireDefault(require("../assets/images/layout-icon/merchantSalesLayout1.png"));
|
|
117
|
+
|
|
118
|
+
var _storesLayout = _interopRequireDefault(require("../assets/images/layout-icon/storesLayout1.png"));
|
|
119
|
+
|
|
120
|
+
var _storesLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/storesLayout2.png"));
|
|
121
|
+
|
|
122
|
+
var _left = _interopRequireDefault(require("../assets/images/layout-icon/left.png"));
|
|
123
|
+
|
|
124
|
+
var _center = _interopRequireDefault(require("../assets/images/layout-icon/center.png"));
|
|
125
|
+
|
|
126
|
+
var _right = _interopRequireDefault(require("../assets/images/layout-icon/right.png"));
|
|
127
|
+
|
|
100
128
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
101
129
|
|
|
102
|
-
|
|
130
|
+
var defaultLayout = [{
|
|
131
|
+
id: 'layout1',
|
|
132
|
+
name: 'left',
|
|
133
|
+
image: _left["default"]
|
|
134
|
+
}, {
|
|
135
|
+
id: 'layout2',
|
|
136
|
+
name: 'center',
|
|
137
|
+
image: _center["default"]
|
|
138
|
+
}, {
|
|
139
|
+
id: 'layout3',
|
|
140
|
+
name: 'right',
|
|
141
|
+
image: _right["default"]
|
|
142
|
+
}];
|
|
143
|
+
exports.defaultLayout = defaultLayout;
|
|
103
144
|
var dividerLayout = [{
|
|
104
145
|
id: 'layout1',
|
|
105
146
|
name: 'layout1',
|
|
@@ -113,8 +154,8 @@ var searchLayout = [{
|
|
|
113
154
|
}];
|
|
114
155
|
exports.searchLayout = searchLayout;
|
|
115
156
|
var locationLayout = [{
|
|
116
|
-
id: '
|
|
117
|
-
name: '
|
|
157
|
+
id: 'layout1',
|
|
158
|
+
name: 'layout1',
|
|
118
159
|
image: _locationLayout["default"]
|
|
119
160
|
}];
|
|
120
161
|
exports.locationLayout = locationLayout;
|
|
@@ -173,11 +214,11 @@ var imageTextLayoutPc = [{
|
|
|
173
214
|
}, {
|
|
174
215
|
id: 'layout4',
|
|
175
216
|
name: 'leftImage',
|
|
176
|
-
image:
|
|
217
|
+
image: _layoutImagetextP4["default"]
|
|
177
218
|
}, {
|
|
178
219
|
id: 'layout5',
|
|
179
220
|
name: 'rightImage',
|
|
180
|
-
image:
|
|
221
|
+
image: _layoutImagetextP5["default"]
|
|
181
222
|
}];
|
|
182
223
|
exports.imageTextLayoutPc = imageTextLayoutPc;
|
|
183
224
|
var imageTextLayoutMobile = [{
|
|
@@ -369,6 +410,74 @@ var flashDealLayout = [{
|
|
|
369
410
|
}, {
|
|
370
411
|
id: 'layout2',
|
|
371
412
|
name: 'layout2',
|
|
372
|
-
image:
|
|
413
|
+
image: _layoutRecommendMobile2["default"]
|
|
414
|
+
}];
|
|
415
|
+
exports.flashDealLayout = flashDealLayout;
|
|
416
|
+
var monpayFlashDealLayout = [{
|
|
417
|
+
id: 'layout1',
|
|
418
|
+
name: 'layout1',
|
|
419
|
+
image: _flashDealLayout["default"]
|
|
420
|
+
}];
|
|
421
|
+
exports.monpayFlashDealLayout = monpayFlashDealLayout;
|
|
422
|
+
var buttonLayout = [{
|
|
423
|
+
id: 'layout1',
|
|
424
|
+
name: 'layout1',
|
|
425
|
+
image: _buttonLayout["default"]
|
|
426
|
+
}, {
|
|
427
|
+
id: 'layout2',
|
|
428
|
+
name: 'layout2',
|
|
429
|
+
image: _buttonLayout2["default"]
|
|
430
|
+
}];
|
|
431
|
+
exports.buttonLayout = buttonLayout;
|
|
432
|
+
var tagLayout = [{
|
|
433
|
+
id: 'layout1',
|
|
434
|
+
name: 'layout1',
|
|
435
|
+
image: _tagLayout["default"]
|
|
436
|
+
}];
|
|
437
|
+
exports.tagLayout = tagLayout;
|
|
438
|
+
var textLayout = [{
|
|
439
|
+
id: 'layout1',
|
|
440
|
+
name: 'left',
|
|
441
|
+
image: _textLayout["default"]
|
|
442
|
+
}];
|
|
443
|
+
exports.textLayout = textLayout;
|
|
444
|
+
var bargainLayout = [{
|
|
445
|
+
id: 'layout1',
|
|
446
|
+
name: 'layout1',
|
|
447
|
+
image: _bargainLayout["default"]
|
|
448
|
+
}];
|
|
449
|
+
exports.bargainLayout = bargainLayout;
|
|
450
|
+
var groupBuyLayout = [{
|
|
451
|
+
id: 'layout1',
|
|
452
|
+
name: 'layout1',
|
|
453
|
+
image: _groupBuyLayout["default"]
|
|
454
|
+
}];
|
|
455
|
+
exports.groupBuyLayout = groupBuyLayout;
|
|
456
|
+
var bundleLayout = [{
|
|
457
|
+
id: 'layout1',
|
|
458
|
+
name: 'layout1',
|
|
459
|
+
image: _bundleLayout["default"]
|
|
460
|
+
}];
|
|
461
|
+
exports.bundleLayout = bundleLayout;
|
|
462
|
+
var interestLayout = [{
|
|
463
|
+
id: 'layout1',
|
|
464
|
+
name: 'layout1',
|
|
465
|
+
image: _interestLayout["default"]
|
|
466
|
+
}];
|
|
467
|
+
exports.interestLayout = interestLayout;
|
|
468
|
+
var merchantSalesLayout = [{
|
|
469
|
+
id: 'layout1',
|
|
470
|
+
name: 'layout1',
|
|
471
|
+
image: _merchantSalesLayout["default"]
|
|
472
|
+
}];
|
|
473
|
+
exports.merchantSalesLayout = merchantSalesLayout;
|
|
474
|
+
var storesLayout = [{
|
|
475
|
+
id: 'layout1',
|
|
476
|
+
name: 'layout1',
|
|
477
|
+
image: _storesLayout["default"]
|
|
478
|
+
}, {
|
|
479
|
+
id: 'layout2',
|
|
480
|
+
name: 'layout2',
|
|
481
|
+
image: _storesLayout2["default"]
|
|
373
482
|
}];
|
|
374
|
-
exports.
|
|
483
|
+
exports.storesLayout = storesLayout;
|
package/es/locale/en/en.json
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
+
"SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
|
|
3
|
+
"MIN_ORDER": "Min Order",
|
|
4
|
+
"FREE_SHIPPING_STORES": "Free shipping stores",
|
|
5
|
+
"SOURCE_OF_STORE": "Source of store",
|
|
6
|
+
"DISTANCE": "Distance",
|
|
7
|
+
"DELIVERY_TIME": "Delivery Time",
|
|
8
|
+
"EVALUATE_SCORE": "Evaluate Score",
|
|
9
|
+
"FREE_DELIVERY_LABEL": "Free Delivery Label",
|
|
10
|
+
"STORE_DESCRIPTION": "Store Description",
|
|
11
|
+
"STORE_NAME": "Store Name",
|
|
12
|
+
"MIXED": "Mixed",
|
|
13
|
+
"CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
|
|
14
|
+
"LOCATION_BACKGROUND": "Location Background",
|
|
15
|
+
"ARROW_ICON": "Arrow Icon",
|
|
16
|
+
"CUSTOMER": "Customer",
|
|
2
17
|
"BOLD": "Bold",
|
|
3
18
|
"SEMIBOLD": "Semibold",
|
|
4
19
|
"MEDIUM": "Medium",
|
|
@@ -88,7 +103,6 @@
|
|
|
88
103
|
"FOLLOWED": "Followed",
|
|
89
104
|
"VERIFIED": "Verified",
|
|
90
105
|
"RATING": "Rating",
|
|
91
|
-
"STORE_NAME": "Store Name",
|
|
92
106
|
"RATING_DETAILS": "Rating Details",
|
|
93
107
|
"FOLLOWERS": "Followers",
|
|
94
108
|
"FOLLOW_BUTTON": "Follow Button",
|
package/es/locale/es/es.json
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
+
"SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
|
|
3
|
+
"MIN_ORDER": "Min Order",
|
|
4
|
+
"FREE_SHIPPING_STORES": "Free shipping stores",
|
|
5
|
+
"SOURCE_OF_STORE": "Source of store",
|
|
6
|
+
"DISTANCE": "Distance",
|
|
7
|
+
"DELIVERY_TIME": "Delivery Time",
|
|
8
|
+
"EVALUATE_SCORE": "Evaluate Score",
|
|
9
|
+
"FREE_DELIVERY_LABEL": "Free Delivery Label",
|
|
10
|
+
"STORE_DESCRIPTION": "Store Description",
|
|
11
|
+
"STORE_NAME": "Store Name",
|
|
12
|
+
"MIXED": "Mixed",
|
|
13
|
+
"CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
|
|
14
|
+
"LOCATION_BACKGROUND": "Location Background",
|
|
15
|
+
"ARROW_ICON": "Arrow Icon",
|
|
16
|
+
"CUSTOMER": "Customer",
|
|
2
17
|
"BOLD": "Bold",
|
|
3
18
|
"SEMIBOLD": "Semibold",
|
|
4
19
|
"MEDIUM": "Medio",
|
|
@@ -88,7 +103,6 @@
|
|
|
88
103
|
"FOLLOWED": "Followed",
|
|
89
104
|
"VERIFIED": "Verified",
|
|
90
105
|
"RATING": "Rating",
|
|
91
|
-
"STORE_NAME": "Store Name",
|
|
92
106
|
"RATING_DETAILS": "Rating Details",
|
|
93
107
|
"FOLLOWERS": "Followers",
|
|
94
108
|
"FOLLOW_BUTTON": "Follow Button",
|
package/es/locale/index.js
CHANGED
|
@@ -11,6 +11,8 @@ var _es = _interopRequireDefault(require("./es/es.json"));
|
|
|
11
11
|
|
|
12
12
|
var _mn = _interopRequireDefault(require("./mn/mn.json"));
|
|
13
13
|
|
|
14
|
+
var _ba = _interopRequireDefault(require("./ba/ba.json"));
|
|
15
|
+
|
|
14
16
|
var _constants = require("../constants");
|
|
15
17
|
|
|
16
18
|
var _storeUtil = require("../utils/storeUtil");
|
|
@@ -21,7 +23,8 @@ var localeMap = {
|
|
|
21
23
|
en: _en["default"],
|
|
22
24
|
es: _es["default"],
|
|
23
25
|
mn: _mn["default"],
|
|
24
|
-
'id-ID': _mn["default"]
|
|
26
|
+
'id-ID': _mn["default"],
|
|
27
|
+
ba: _ba["default"]
|
|
25
28
|
};
|
|
26
29
|
/** 国际化 */
|
|
27
30
|
|
|
@@ -40,6 +43,7 @@ function i18n(key, args) {
|
|
|
40
43
|
var reg = new RegExp("{" + key + "}", 'g');
|
|
41
44
|
str_1 = tempString.replace(reg, args[key]);
|
|
42
45
|
});
|
|
46
|
+
if (locale === 'ba') return str_1.split(' ').reverse().join(' ');
|
|
43
47
|
return str_1;
|
|
44
48
|
} else {
|
|
45
49
|
console.log('未找到国际化KEY:' + key);
|
package/es/locale/mn/mn.json
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
+
"SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
|
|
3
|
+
"MIN_ORDER": "Min Order",
|
|
4
|
+
"FREE_SHIPPING_STORES": "Free shipping stores",
|
|
5
|
+
"SOURCE_OF_STORE": "Source of store",
|
|
6
|
+
"DISTANCE": "Distance",
|
|
7
|
+
"DELIVERY_TIME": "Delivery Time",
|
|
8
|
+
"EVALUATE_SCORE": "Evaluate Score",
|
|
9
|
+
"FREE_DELIVERY_LABEL": "Free Delivery Label",
|
|
10
|
+
"STORE_DESCRIPTION": "Store Description",
|
|
11
|
+
"STORE_NAME": "Дэлгүүрийн нэр",
|
|
12
|
+
"MIXED": "Mixed",
|
|
13
|
+
"CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
|
|
14
|
+
"LOCATION_BACKGROUND": "Location Background",
|
|
15
|
+
"ARROW_ICON": "Arrow Icon",
|
|
16
|
+
"CUSTOMER": "Customer",
|
|
2
17
|
"BOLD": "Зоригтой",
|
|
3
18
|
"SEMIBOLD": "Хагас хол",
|
|
4
19
|
"MEDIUM": "Дунд",
|
|
@@ -88,7 +103,6 @@
|
|
|
88
103
|
"FOLLOWED": "Дагасан",
|
|
89
104
|
"VERIFIED": "Баталгаажсан",
|
|
90
105
|
"RATING": "Үнэлгээ",
|
|
91
|
-
"STORE_NAME": "Дэлгүүрийн нэр",
|
|
92
106
|
"RATING_DETAILS": "Үнэлгээний дэлгэрэнгүй мэдээлэл",
|
|
93
107
|
"FOLLOWERS": "Дагагчид",
|
|
94
108
|
"FOLLOW_BUTTON": "Дагах товч",
|
|
@@ -0,0 +1,207 @@
|
|
|
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 _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
var _antd = require("antd4");
|
|
15
|
+
|
|
16
|
+
var _common = require("src/components/common");
|
|
17
|
+
|
|
18
|
+
var _locale = require("../../../../locale");
|
|
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 BorderRadiusInput =
|
|
49
|
+
/** @class */
|
|
50
|
+
function (_super) {
|
|
51
|
+
__extends(BorderRadiusInput, _super);
|
|
52
|
+
|
|
53
|
+
function BorderRadiusInput() {
|
|
54
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55
|
+
|
|
56
|
+
_this.state = {
|
|
57
|
+
open: false,
|
|
58
|
+
value1: 0,
|
|
59
|
+
value2: 0,
|
|
60
|
+
value3: 0,
|
|
61
|
+
value4: 0,
|
|
62
|
+
showValue: ''
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
_this.updateValue = function (v, e) {
|
|
66
|
+
var _a;
|
|
67
|
+
|
|
68
|
+
var onChange = _this.props.onChange;
|
|
69
|
+
|
|
70
|
+
_this.setState((_a = {}, _a[v] = e.target.value, _a), function () {
|
|
71
|
+
var _a = _this.state,
|
|
72
|
+
value1 = _a.value1,
|
|
73
|
+
value2 = _a.value2,
|
|
74
|
+
value3 = _a.value3,
|
|
75
|
+
value4 = _a.value4;
|
|
76
|
+
onChange((value1 || 0) + "px " + (value2 || 0) + "px " + (value4 || 0) + "px " + (value3 || 0) + "px");
|
|
77
|
+
|
|
78
|
+
_this.setState({
|
|
79
|
+
showValue: value1 == value2 && value1 == value3 && value1 == value4 ? value1 : (0, _locale.i18n)('MIXED')
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
return _this;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
BorderRadiusInput.prototype.componentDidMount = function () {
|
|
88
|
+
var value = this.props.value;
|
|
89
|
+
var arr = typeof value === 'number' ? [value] : value.split(' ');
|
|
90
|
+
var first = arr[0],
|
|
91
|
+
second = arr[1],
|
|
92
|
+
three = arr[2],
|
|
93
|
+
four = arr[3];
|
|
94
|
+
this.setState({
|
|
95
|
+
value1: parseInt(first),
|
|
96
|
+
value2: parseInt(second || first),
|
|
97
|
+
value3: parseInt(three || first),
|
|
98
|
+
value4: parseInt(four || first),
|
|
99
|
+
showValue: typeof value === 'number' || first == second && first == three && first == four ? parseInt(first) : (0, _locale.i18n)('MIXED')
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
BorderRadiusInput.prototype.render = function () {
|
|
104
|
+
var _this = this;
|
|
105
|
+
|
|
106
|
+
var _a = this.state,
|
|
107
|
+
open = _a.open,
|
|
108
|
+
showValue = _a.showValue,
|
|
109
|
+
value1 = _a.value1,
|
|
110
|
+
value2 = _a.value2,
|
|
111
|
+
value3 = _a.value3,
|
|
112
|
+
value4 = _a.value4;
|
|
113
|
+
|
|
114
|
+
var menu = /*#__PURE__*/_react["default"].createElement(_antd.Menu, {
|
|
115
|
+
onClick: function onClick() {}
|
|
116
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
117
|
+
color: "#848484",
|
|
118
|
+
size: 24,
|
|
119
|
+
type: "icon-border-radius"
|
|
120
|
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
|
121
|
+
onChange: function onChange(e) {
|
|
122
|
+
return _this.updateValue('value1', e);
|
|
123
|
+
},
|
|
124
|
+
type: "text",
|
|
125
|
+
value: value1
|
|
126
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
127
|
+
className: "border-radius-rotate2",
|
|
128
|
+
color: "#848484",
|
|
129
|
+
size: 24,
|
|
130
|
+
type: "icon-border-radius"
|
|
131
|
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
|
132
|
+
onChange: function onChange(e) {
|
|
133
|
+
return _this.updateValue('value2', e);
|
|
134
|
+
},
|
|
135
|
+
type: "text",
|
|
136
|
+
value: value2
|
|
137
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
138
|
+
className: "border-radius-rotate3",
|
|
139
|
+
color: "#848484",
|
|
140
|
+
size: 24,
|
|
141
|
+
type: "icon-border-radius"
|
|
142
|
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
|
143
|
+
onChange: function onChange(e) {
|
|
144
|
+
return _this.updateValue('value3', e);
|
|
145
|
+
},
|
|
146
|
+
type: "text",
|
|
147
|
+
value: value3
|
|
148
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
149
|
+
className: "border-radius-rotate4",
|
|
150
|
+
color: "#848484",
|
|
151
|
+
size: 24,
|
|
152
|
+
type: "icon-border-radius"
|
|
153
|
+
}), /*#__PURE__*/_react["default"].createElement("input", {
|
|
154
|
+
onChange: function onChange(e) {
|
|
155
|
+
return _this.updateValue('value4', e);
|
|
156
|
+
},
|
|
157
|
+
type: "text",
|
|
158
|
+
value: value4
|
|
159
|
+
})));
|
|
160
|
+
|
|
161
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Dropdown, {
|
|
162
|
+
open: open,
|
|
163
|
+
overlay: menu,
|
|
164
|
+
overlayClassName: "m-border-radius-dropdown",
|
|
165
|
+
placement: "bottomLeft"
|
|
166
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
167
|
+
className: (0, _classnames["default"])('m-border-radius-input')
|
|
168
|
+
}, open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
169
|
+
className: "common_mask",
|
|
170
|
+
onClick: function onClick() {
|
|
171
|
+
return _this.setState({
|
|
172
|
+
open: false
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
176
|
+
className: "input"
|
|
177
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
178
|
+
color: "#848484",
|
|
179
|
+
size: 24,
|
|
180
|
+
type: "icon-border-radius"
|
|
181
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
182
|
+
className: "value"
|
|
183
|
+
}, showValue)), /*#__PURE__*/_react["default"].createElement("span", {
|
|
184
|
+
className: (0, _classnames["default"])('m-icon-corner', {
|
|
185
|
+
active: open
|
|
186
|
+
}),
|
|
187
|
+
onClick: function onClick() {
|
|
188
|
+
_this.setState({
|
|
189
|
+
open: !open
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
193
|
+
color: "#000",
|
|
194
|
+
size: 32,
|
|
195
|
+
type: "icon-corner"
|
|
196
|
+
}))));
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
BorderRadiusInput.defaultProps = {
|
|
200
|
+
value: '',
|
|
201
|
+
onChange: function onChange() {}
|
|
202
|
+
};
|
|
203
|
+
return BorderRadiusInput;
|
|
204
|
+
}(_react["default"].Component);
|
|
205
|
+
|
|
206
|
+
var _default = BorderRadiusInput;
|
|
207
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.m-border-radius-input {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
|
|
6
|
+
.input {
|
|
7
|
+
height: 48px;
|
|
8
|
+
width: 83%;
|
|
9
|
+
background: #FFFFFF;
|
|
10
|
+
border: 1px solid #D2D9E5;
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
padding: 8px 16px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
|
|
15
|
+
.value {
|
|
16
|
+
font-family: 'Open Sans';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
color: #232F46;
|
|
21
|
+
margin-left: 10px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.m-icon-corner {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
width: 36px;
|
|
29
|
+
height: 36px;
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
padding: 2px;
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
|
|
34
|
+
&.active {
|
|
35
|
+
background-color: #ddd;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.m-border-radius-dropdown {
|
|
41
|
+
|
|
42
|
+
.cylon-dropdown-menu {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
|
|
46
|
+
.cylon-dropdown-menu-item-active {
|
|
47
|
+
background-color: transparent;
|
|
48
|
+
color: #232F46 !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
li {
|
|
52
|
+
width: 50%;
|
|
53
|
+
|
|
54
|
+
.cylon-dropdown-menu-title-content {
|
|
55
|
+
display: flex;
|
|
56
|
+
|
|
57
|
+
.border-radius-rotate2 {
|
|
58
|
+
transform: rotate(90deg);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.border-radius-rotate3 {
|
|
62
|
+
transform: rotate(270deg);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.border-radius-rotate4 {
|
|
66
|
+
transform: rotate(180deg);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
input {
|
|
70
|
+
width: 80%;
|
|
71
|
+
outline: none;
|
|
72
|
+
border: 1px solid #D2D9E5;
|
|
73
|
+
padding: 4px 8px;
|
|
74
|
+
border-radius: 8px;
|
|
75
|
+
margin-left: 10px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
@@ -13,6 +13,8 @@ require("./index.less");
|
|
|
13
13
|
|
|
14
14
|
var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
|
|
15
15
|
|
|
16
|
+
var _BorderRadiusInput = _interopRequireDefault(require("./BorderRadiusInput"));
|
|
17
|
+
|
|
16
18
|
var _locale = require("../../../locale");
|
|
17
19
|
|
|
18
20
|
var _SpacingConfig = _interopRequireDefault(require("../../../composite-comp/common/config-panels/SpacingConfig"));
|
|
@@ -251,16 +253,13 @@ function (_super) {
|
|
|
251
253
|
value: _data.borderColor
|
|
252
254
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
253
255
|
title: (0, _locale.i18n)('BORDER_RADIUS')
|
|
254
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
var count = _a.count;
|
|
256
|
+
}, /*#__PURE__*/_react["default"].createElement(_BorderRadiusInput["default"], {
|
|
257
|
+
onChange: function onChange(v) {
|
|
258
|
+
console.log(v);
|
|
258
259
|
|
|
259
|
-
_this.updateAttr(_data, 'borderRadius',
|
|
260
|
+
_this.updateAttr(_data, 'borderRadius', v);
|
|
260
261
|
},
|
|
261
|
-
value:
|
|
262
|
-
count: _data.borderRadius
|
|
263
|
-
}
|
|
262
|
+
value: _data.borderRadius
|
|
264
263
|
})));
|
|
265
264
|
};
|
|
266
265
|
|
package/es/utils/businessUtil.js
CHANGED
|
@@ -287,14 +287,40 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
287
287
|
'/search-page': 'SEARCH_PAGE',
|
|
288
288
|
'/commission': 'COMMISSION'
|
|
289
289
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
290
|
+
var typeTemp = map[link];
|
|
291
|
+
|
|
292
|
+
if (!typeTemp) {
|
|
293
|
+
if (type === _constants.urlTypeMap.FUNCTION_PAGE) {
|
|
294
|
+
params = {
|
|
295
|
+
action: 'jump',
|
|
296
|
+
params: {
|
|
297
|
+
type: 'WEBVIEW',
|
|
298
|
+
link: link,
|
|
299
|
+
url: link
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
} else if (!type) {
|
|
303
|
+
// 直接填的完整外链
|
|
304
|
+
params = {
|
|
305
|
+
action: 'jump',
|
|
306
|
+
params: {
|
|
307
|
+
type: 'NAVIGATE',
|
|
308
|
+
link: link,
|
|
309
|
+
url: link
|
|
310
|
+
}
|
|
311
|
+
};
|
|
296
312
|
}
|
|
297
|
-
}
|
|
313
|
+
} else {
|
|
314
|
+
params = {
|
|
315
|
+
action: 'jump',
|
|
316
|
+
params: {
|
|
317
|
+
type: typeTemp || name,
|
|
318
|
+
link: link,
|
|
319
|
+
url: link
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
|
|
298
324
|
}
|
|
299
325
|
|
|
300
326
|
return {
|