@fonixtree/magic-design 2.0.190 → 3.0.3
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/magic-box-iconfont.css +3 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +3 -3
- 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 +2 -8
- 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/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
- package/es/assets/images/layout-icon/imageTextRight.svg +6 -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-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/textLayout1.png +0 -0
- package/es/assets/less/common.less +3 -40
- package/es/common/Field/index.js +2 -5
- package/es/common/Field/index.less +0 -5
- package/es/common/LinkModal/index.js +0 -7
- package/es/common/MyModal/index.less +4 -12
- package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/{lib/composite-comp/public → es/composite-comp/bol}/components/Location/index.js +20 -4
- package/es/composite-comp/bol/components/Location/index.less +15 -0
- package/{lib/composite-comp/ashita/components/WalletAshita → es/composite-comp/bol/components/Wallet}/defaultJSON.js +1 -1
- package/{lib/composite-comp/public → es/composite-comp/bol}/config-panels/LocationConfig/index.js +52 -10
- package/{lib/composite-comp/ashita/config-panels/WalletAshitaConfig → es/composite-comp/bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.js +1 -1
- package/es/composite-comp/common/components/MonpayProductItem/index.js +3 -3
- package/es/composite-comp/common/components/MonpayProductItem/index.less +6 -6
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +0 -1
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
- package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +5 -1
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +1 -2
- 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 +584 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
- package/es/composite-comp/monpay/components/MonpayRecommend/index.js +5 -1
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -15
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -11
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
- package/es/constants/component-types.js +13 -23
- package/es/constants/index.js +2 -12
- package/es/constants/layout.js +16 -29
- package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +1 -1
- package/es/core/Designer/QuickMenuBar/index.js +1 -1
- package/es/decorator/compositeDecorator.js +1 -27
- package/es/locale/en/en.json +1 -16
- package/es/locale/es/es.json +1 -16
- package/es/locale/index.js +1 -5
- package/es/locale/mn/mn.json +1 -16
- package/es/meta-comp/components/Text/index.less +0 -6
- package/es/meta-comp/config-panels/ButtonConfig/index.js +8 -7
- package/es/utils/androidUtil.js +1 -2
- package/es/utils/businessUtil.js +2 -27
- package/es/utils/commonUtil.js +10 -26
- package/es/utils/coreUtil.js +1 -3
- package/lib/assets/fonts/magic-box-iconfont.css +3 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +3 -3
- 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 +2 -8
- 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/imageGalleryLayout3.png +0 -0
- package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
- package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/lib/assets/images/layout-icon/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-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/textLayout1.png +0 -0
- package/lib/assets/less/common.less +3 -40
- package/lib/common/Field/index.js +2 -5
- package/lib/common/Field/index.less +0 -5
- package/lib/common/LinkModal/index.js +0 -7
- package/lib/common/MyModal/index.less +4 -12
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/{es/composite-comp/public → lib/composite-comp/bol}/components/Location/index.js +20 -4
- package/lib/composite-comp/bol/components/Location/index.less +15 -0
- package/{es/composite-comp/ashita/components/WalletAshita → lib/composite-comp/bol/components/Wallet}/defaultJSON.js +1 -1
- package/{es/composite-comp/public → lib/composite-comp/bol}/config-panels/LocationConfig/index.js +52 -10
- package/{es/composite-comp/ashita/config-panels/WalletAshitaConfig → lib/composite-comp/bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +3 -3
- package/lib/composite-comp/common/components/MonpayProductItem/index.less +6 -6
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -1
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +5 -1
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +1 -2
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +584 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +5 -1
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -15
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -11
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
- package/lib/constants/component-types.js +13 -23
- package/lib/constants/index.js +2 -12
- package/lib/constants/layout.js +16 -29
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +1 -1
- package/lib/core/Designer/QuickMenuBar/index.js +1 -1
- package/lib/decorator/compositeDecorator.js +1 -27
- package/lib/locale/en/en.json +1 -16
- package/lib/locale/es/es.json +1 -16
- package/lib/locale/index.js +1 -5
- package/lib/locale/mn/mn.json +1 -16
- package/lib/meta-comp/components/Text/index.less +0 -6
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +8 -7
- package/lib/utils/androidUtil.js +1 -2
- package/lib/utils/businessUtil.js +2 -27
- package/lib/utils/commonUtil.js +10 -26
- package/lib/utils/coreUtil.js +1 -3
- package/package.json +1 -1
- package/es/assets/images/layout-icon/layout-imagetext-p5.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/common/LinkModal/BizType/index.js +0 -274
- package/es/composite-comp/ashita/components/WalletAshita/index.js +0 -84
- package/es/composite-comp/public/components/Location/defaultJSON.js +0 -104
- package/es/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
- package/es/composite-comp/public/components/Location/mobile/index.js +0 -133
- package/es/composite-comp/public/components/Location/mobile/index.less +0 -21
- package/es/composite-comp/public/components/Stores/defaultJSON.js +0 -348
- package/es/composite-comp/public/components/Stores/index.js +0 -86
- package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.js +0 -250
- package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.less +0 -81
- package/es/composite-comp/public/components/Stores/mobile/index.js +0 -335
- package/es/composite-comp/public/components/Stores/mobile/index.less +0 -33
- package/es/composite-comp/public/components/Wallet/defaultJSON.js +0 -149
- package/es/composite-comp/public/components/Wallet/mobile/index.js +0 -353
- package/es/composite-comp/public/components/Wallet/mobile/index.less +0 -22
- package/es/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +0 -153
- package/es/composite-comp/public/config-panels/LocationConfig/index.less +0 -17
- package/es/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +0 -176
- package/es/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +0 -103
- package/es/composite-comp/public/config-panels/StoresConfig/index.js +0 -134
- package/es/composite-comp/public/config-panels/WalletConfig/index.js +0 -61
- package/es/locale/ar/ar.json +0 -362
- package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +0 -207
- package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +0 -81
- package/lib/assets/images/layout-icon/layout-imagetext-p5.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/common/LinkModal/BizType/index.js +0 -274
- package/lib/composite-comp/ashita/components/WalletAshita/index.js +0 -84
- package/lib/composite-comp/ashita/config-panels/WalletAshitaConfig/WalletConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/nuri/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
- package/lib/composite-comp/public/components/Location/defaultJSON.js +0 -104
- package/lib/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
- package/lib/composite-comp/public/components/Location/mobile/index.js +0 -133
- package/lib/composite-comp/public/components/Location/mobile/index.less +0 -21
- package/lib/composite-comp/public/components/Stores/defaultJSON.js +0 -348
- package/lib/composite-comp/public/components/Stores/index.js +0 -86
- package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.js +0 -250
- package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.less +0 -81
- package/lib/composite-comp/public/components/Stores/mobile/index.js +0 -335
- package/lib/composite-comp/public/components/Stores/mobile/index.less +0 -33
- package/lib/composite-comp/public/components/Wallet/defaultJSON.js +0 -149
- package/lib/composite-comp/public/components/Wallet/mobile/index.js +0 -353
- package/lib/composite-comp/public/components/Wallet/mobile/index.less +0 -22
- package/lib/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +0 -153
- package/lib/composite-comp/public/config-panels/LocationConfig/index.less +0 -17
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +0 -176
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.less +0 -0
- package/lib/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +0 -103
- package/lib/composite-comp/public/config-panels/StoresConfig/index.js +0 -134
- package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.js +0 -100
- package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup/index.js +0 -123
- package/lib/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/public/config-panels/WalletConfig/index.js +0 -61
- package/lib/composite-comp/public/second-config-panels/WalletSecondConfig/index.js +0 -152
- package/lib/locale/ar/ar.json +0 -362
- package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +0 -207
- package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +0 -81
- /package/es/composite-comp/{public → bol}/components/Wallet/index.js +0 -0
- /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.js +0 -0
- /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.less +0 -0
- /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.js +0 -0
- /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.less +0 -0
- /package/es/composite-comp/{nuri → bol}/components/WalletNuri/defaultJSON.js +0 -0
- /package/es/composite-comp/{nuri → bol}/components/WalletNuri/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.less +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.js +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.less +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.less +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.js +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.less +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/index.less +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/index.js +0 -0
- /package/es/composite-comp/{nuri → bol}/second-config-panels/WalletNuriSecondConfig/index.js +0 -0
- /package/es/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.js +0 -0
- /package/es/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.less +0 -0
- /package/es/{assets/images/common/product.png → composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png} +0 -0
- /package/lib/composite-comp/{public → bol}/components/Wallet/index.js +0 -0
- /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.js +0 -0
- /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.less +0 -0
- /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.js +0 -0
- /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.less +0 -0
- /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/defaultJSON.js +0 -0
- /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/index.js +0 -0
- /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.js +0 -0
- /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.less +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.js +0 -0
- /package/{es/composite-comp/public/config-panels/StoresConfig/ConfigContent → lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent}/index.less +0 -0
- /package/{es/composite-comp/public → lib/composite-comp/bol}/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.js +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.less +0 -0
- /package/{es/composite-comp/public/config-panels/WalletConfig/GroupList → lib/composite-comp/bol/config-panels/WalletConfig/imgs}/defaultImg.png +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/index.js +0 -0
- /package/{es/composite-comp/public/config-panels/WalletConfig/imgs → lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
- /package/{es/composite-comp/public/config-panels/WalletConfig → lib/composite-comp/bol/config-panels/WalletNuriConfig}/GroupList/index.js +0 -0
- /package/{es/composite-comp/public/config-panels/WalletConfig → lib/composite-comp/bol/config-panels/WalletNuriConfig}/GroupList/index.less +0 -0
- /package/{es/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup → lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup}/index.js +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig/WalletConfigContent → bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup}/index.less +0 -0
- /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
- /package/lib/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/index.js +0 -0
- /package/{es/composite-comp/public/second-config-panels/WalletSecondConfig → lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig}/index.js +0 -0
- /package/lib/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.js +0 -0
- /package/lib/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.less +0 -0
- /package/lib/{assets/images/common/product.png → composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png} +0 -0
|
@@ -1,152 +0,0 @@
|
|
|
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;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getDefaultJSON = void 0;
|
|
7
|
-
|
|
8
|
-
var _uuid = require("uuid");
|
|
9
|
-
|
|
10
|
-
var _constants = require("../../../../constants");
|
|
11
|
-
|
|
12
|
-
var getDefaultJSON = function getDefaultJSON() {
|
|
13
|
-
var _a;
|
|
14
|
-
|
|
15
|
-
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
16
|
-
var groupId = (0, _uuid.v4)();
|
|
17
|
-
return {
|
|
18
|
-
id: groupId,
|
|
19
|
-
type: 'LOCATION',
|
|
20
|
-
content: {
|
|
21
|
-
logo: {
|
|
22
|
-
id: (0, _uuid.v4)(),
|
|
23
|
-
open: true,
|
|
24
|
-
color: '#8C52FF'
|
|
25
|
-
},
|
|
26
|
-
address: {
|
|
27
|
-
id: (0, _uuid.v4)(),
|
|
28
|
-
open: true,
|
|
29
|
-
type: 'TEXT',
|
|
30
|
-
specialContent: [],
|
|
31
|
-
text: '',
|
|
32
|
-
content: {
|
|
33
|
-
sizeType: 'Customize font styles',
|
|
34
|
-
fontFamily: defaultFontFamily,
|
|
35
|
-
fontWeight: 600,
|
|
36
|
-
fontSize: 14,
|
|
37
|
-
color: '#000',
|
|
38
|
-
urlDisabled: true
|
|
39
|
-
},
|
|
40
|
-
underline: {
|
|
41
|
-
open: false,
|
|
42
|
-
textDecorationColor: '',
|
|
43
|
-
textDecorationStyle: 'solid'
|
|
44
|
-
},
|
|
45
|
-
vertical: {
|
|
46
|
-
open: false,
|
|
47
|
-
lineHeight: 18
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
customer: {
|
|
51
|
-
id: (0, _uuid.v4)(),
|
|
52
|
-
open: true,
|
|
53
|
-
type: 'TEXT',
|
|
54
|
-
specialContent: [],
|
|
55
|
-
text: '',
|
|
56
|
-
content: {
|
|
57
|
-
sizeType: 'Customize font styles',
|
|
58
|
-
fontFamily: defaultFontFamily,
|
|
59
|
-
fontWeight: 400,
|
|
60
|
-
fontSize: 12,
|
|
61
|
-
color: '#848484',
|
|
62
|
-
urlDisabled: true
|
|
63
|
-
},
|
|
64
|
-
underline: {
|
|
65
|
-
open: false,
|
|
66
|
-
textDecorationColor: '',
|
|
67
|
-
textDecorationStyle: 'solid'
|
|
68
|
-
},
|
|
69
|
-
vertical: {
|
|
70
|
-
open: false,
|
|
71
|
-
lineHeight: 18
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
arrowIcon: {
|
|
75
|
-
id: (0, _uuid.v4)(),
|
|
76
|
-
open: true,
|
|
77
|
-
color: '#545454'
|
|
78
|
-
},
|
|
79
|
-
locationBg: {
|
|
80
|
-
open: true,
|
|
81
|
-
color: '#F2F2F2'
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
spacing: {
|
|
85
|
-
mobile: {
|
|
86
|
-
paddingTop: 0,
|
|
87
|
-
paddingBottom: 0,
|
|
88
|
-
paddingLeft: 0,
|
|
89
|
-
paddingRight: 0
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
customize: {
|
|
93
|
-
layout: 'layout1'
|
|
94
|
-
},
|
|
95
|
-
background: {
|
|
96
|
-
opacity: 100,
|
|
97
|
-
color: '#fff',
|
|
98
|
-
image: '',
|
|
99
|
-
bgType: 'color'
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
exports.getDefaultJSON = getDefaultJSON;
|
|
Binary file
|
|
@@ -1,133 +0,0 @@
|
|
|
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 _components = require("../../../../../meta-comp/components");
|
|
15
|
-
|
|
16
|
-
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
17
|
-
|
|
18
|
-
var _common = require("../../../../../common");
|
|
19
|
-
|
|
20
|
-
var _locale = require("../../../../../locale");
|
|
21
|
-
|
|
22
|
-
var _storeUtil = require("../../../../../utils/storeUtil");
|
|
23
|
-
|
|
24
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
25
|
-
|
|
26
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
-
|
|
28
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
29
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
30
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
31
|
-
__proto__: []
|
|
32
|
-
} instanceof Array && function (d, b) {
|
|
33
|
-
d.__proto__ = b;
|
|
34
|
-
} || function (d, b) {
|
|
35
|
-
for (var p in b) {
|
|
36
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
return _extendStatics(d, b);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return function (d, b) {
|
|
44
|
-
_extendStatics(d, b);
|
|
45
|
-
|
|
46
|
-
function __() {
|
|
47
|
-
this.constructor = d;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
51
|
-
};
|
|
52
|
-
}();
|
|
53
|
-
|
|
54
|
-
var __assign = void 0 && (void 0).__assign || function () {
|
|
55
|
-
__assign = Object.assign || function (t) {
|
|
56
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
57
|
-
s = arguments[i];
|
|
58
|
-
|
|
59
|
-
for (var p in s) {
|
|
60
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return t;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return __assign.apply(this, arguments);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var MerchantSalesMobile =
|
|
71
|
-
/** @class */
|
|
72
|
-
function (_super) {
|
|
73
|
-
__extends(MerchantSalesMobile, _super);
|
|
74
|
-
|
|
75
|
-
function MerchantSalesMobile() {
|
|
76
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
|
|
78
|
-
_this.state = {};
|
|
79
|
-
return _this;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
MerchantSalesMobile.prototype.componentDidMount = function () {};
|
|
83
|
-
|
|
84
|
-
MerchantSalesMobile.prototype.render = function () {
|
|
85
|
-
var _a;
|
|
86
|
-
|
|
87
|
-
var panelProps = this.props.panelProps;
|
|
88
|
-
var info = (0, _storeUtil.getStore)('USER_ADDRESS_INFO') || {};
|
|
89
|
-
var customerInfo = info.customer ? info.customer + " " + info.tel : (0, _locale.i18n)('CAN_BE_ADDED_AS_YOUR_ADDRESS');
|
|
90
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
91
|
-
className: (0, _classnames["default"])('m-location-mobile', (_a = {}, _a['reversed-layout'] = (0, _commonUtil.needReverse)(), _a))
|
|
92
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
-
className: "address-wrap",
|
|
94
|
-
onClick: function onClick() {
|
|
95
|
-
return (0, _coreUtil.clickUrl)('/location');
|
|
96
|
-
}
|
|
97
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
98
|
-
className: "address-bg",
|
|
99
|
-
style: {
|
|
100
|
-
backgroundColor: panelProps.content.locationBg.open ? panelProps.content.locationBg.color : 'transparent'
|
|
101
|
-
}
|
|
102
|
-
}, panelProps.content.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
103
|
-
color: panelProps.content.logo.color,
|
|
104
|
-
size: 22,
|
|
105
|
-
type: "icon-map-marker-star"
|
|
106
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
107
|
-
className: "text"
|
|
108
|
-
}, panelProps.content.address.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
109
|
-
className: "address one_row",
|
|
110
|
-
data: __assign(__assign({}, panelProps.content.address), {
|
|
111
|
-
text: (0, _coreUtil.isDesignMode)() ? (0, _locale.i18n)('DISPLAY_LOCATION_ADDRESS') : info.address
|
|
112
|
-
})
|
|
113
|
-
}), panelProps.content.customer.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
114
|
-
className: "customer one_row",
|
|
115
|
-
data: __assign(__assign({}, panelProps.content.customer), {
|
|
116
|
-
text: (0, _coreUtil.isDesignMode)() ? (0, _locale.i18n)('CUSTOMER_NAME_AND_PHONE_NUMBER') : customerInfo
|
|
117
|
-
})
|
|
118
|
-
})), panelProps.content.arrowIcon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
119
|
-
className: "reversed-icon",
|
|
120
|
-
color: panelProps.content.arrowIcon.color,
|
|
121
|
-
size: 18,
|
|
122
|
-
type: "icon-chevron-right"
|
|
123
|
-
}))));
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
MerchantSalesMobile.defaultProps = {
|
|
127
|
-
panelProps: {}
|
|
128
|
-
};
|
|
129
|
-
return MerchantSalesMobile;
|
|
130
|
-
}(_react["default"].Component);
|
|
131
|
-
|
|
132
|
-
var _default = MerchantSalesMobile;
|
|
133
|
-
exports["default"] = _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.m-location-mobile {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
.m-location-mobile .address-wrap {
|
|
5
|
-
border-top: 0.02rem solid #F0F0F0;
|
|
6
|
-
}
|
|
7
|
-
.m-location-mobile .address-wrap .address-bg {
|
|
8
|
-
background-color: #F2F2F2;
|
|
9
|
-
display: flex;
|
|
10
|
-
padding: 0.16rem;
|
|
11
|
-
border-radius: 0.08rem;
|
|
12
|
-
}
|
|
13
|
-
.m-location-mobile .address-wrap .text {
|
|
14
|
-
flex: auto;
|
|
15
|
-
margin: 0 0.2rem;
|
|
16
|
-
text-align: left;
|
|
17
|
-
max-width: 80%;
|
|
18
|
-
}
|
|
19
|
-
.m-location-mobile.reversed-layout .address-wrap .text {
|
|
20
|
-
text-align: right;
|
|
21
|
-
}
|