@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,353 +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 _components = require("../../../../../meta-comp/components");
|
|
11
|
-
|
|
12
|
-
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
13
|
-
|
|
14
|
-
var _ConfigPanel = require("../../../../../core/Designer/ConfigPanel");
|
|
15
|
-
|
|
16
|
-
require("./index.less");
|
|
17
|
-
|
|
18
|
-
var _base = require("../../../../../assets/images/base64");
|
|
19
|
-
|
|
20
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
21
|
-
|
|
22
|
-
var _mobx = require("../../../../../mobx");
|
|
23
|
-
|
|
24
|
-
var _currencyUtil = require("../../../../../utils/currencyUtil");
|
|
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 __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
71
|
-
function adopt(value) {
|
|
72
|
-
return value instanceof P ? value : new P(function (resolve) {
|
|
73
|
-
resolve(value);
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
78
|
-
function fulfilled(value) {
|
|
79
|
-
try {
|
|
80
|
-
step(generator.next(value));
|
|
81
|
-
} catch (e) {
|
|
82
|
-
reject(e);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function rejected(value) {
|
|
87
|
-
try {
|
|
88
|
-
step(generator["throw"](value));
|
|
89
|
-
} catch (e) {
|
|
90
|
-
reject(e);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function step(result) {
|
|
95
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
103
|
-
var _ = {
|
|
104
|
-
label: 0,
|
|
105
|
-
sent: function sent() {
|
|
106
|
-
if (t[0] & 1) throw t[1];
|
|
107
|
-
return t[1];
|
|
108
|
-
},
|
|
109
|
-
trys: [],
|
|
110
|
-
ops: []
|
|
111
|
-
},
|
|
112
|
-
f,
|
|
113
|
-
y,
|
|
114
|
-
t,
|
|
115
|
-
g;
|
|
116
|
-
return g = {
|
|
117
|
-
next: verb(0),
|
|
118
|
-
"throw": verb(1),
|
|
119
|
-
"return": verb(2)
|
|
120
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
121
|
-
return this;
|
|
122
|
-
}), g;
|
|
123
|
-
|
|
124
|
-
function verb(n) {
|
|
125
|
-
return function (v) {
|
|
126
|
-
return step([n, v]);
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function step(op) {
|
|
131
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
132
|
-
|
|
133
|
-
while (_) {
|
|
134
|
-
try {
|
|
135
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
136
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
137
|
-
|
|
138
|
-
switch (op[0]) {
|
|
139
|
-
case 0:
|
|
140
|
-
case 1:
|
|
141
|
-
t = op;
|
|
142
|
-
break;
|
|
143
|
-
|
|
144
|
-
case 4:
|
|
145
|
-
_.label++;
|
|
146
|
-
return {
|
|
147
|
-
value: op[1],
|
|
148
|
-
done: false
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
case 5:
|
|
152
|
-
_.label++;
|
|
153
|
-
y = op[1];
|
|
154
|
-
op = [0];
|
|
155
|
-
continue;
|
|
156
|
-
|
|
157
|
-
case 7:
|
|
158
|
-
op = _.ops.pop();
|
|
159
|
-
|
|
160
|
-
_.trys.pop();
|
|
161
|
-
|
|
162
|
-
continue;
|
|
163
|
-
|
|
164
|
-
default:
|
|
165
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
166
|
-
_ = 0;
|
|
167
|
-
continue;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
171
|
-
_.label = op[1];
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
176
|
-
_.label = t[1];
|
|
177
|
-
t = op;
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
if (t && _.label < t[2]) {
|
|
182
|
-
_.label = t[2];
|
|
183
|
-
|
|
184
|
-
_.ops.push(op);
|
|
185
|
-
|
|
186
|
-
break;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
if (t[2]) _.ops.pop();
|
|
190
|
-
|
|
191
|
-
_.trys.pop();
|
|
192
|
-
|
|
193
|
-
continue;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
op = body.call(thisArg, _);
|
|
197
|
-
} catch (e) {
|
|
198
|
-
op = [6, e];
|
|
199
|
-
y = 0;
|
|
200
|
-
} finally {
|
|
201
|
-
f = t = 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
if (op[0] & 5) throw op[1];
|
|
206
|
-
return {
|
|
207
|
-
value: op[0] ? op[1] : void 0,
|
|
208
|
-
done: true
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
var Mobile =
|
|
214
|
-
/** @class */
|
|
215
|
-
function (_super) {
|
|
216
|
-
__extends(Mobile, _super);
|
|
217
|
-
|
|
218
|
-
function Mobile() {
|
|
219
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
220
|
-
|
|
221
|
-
_this.carouselRef = /*#__PURE__*/_react["default"].createRef();
|
|
222
|
-
_this.state = {
|
|
223
|
-
balance: '',
|
|
224
|
-
cenduit: ''
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
_this.clickJump = function (index) {
|
|
228
|
-
if (index === 0) {
|
|
229
|
-
(0, _coreUtil.clickUrl)('social-commerce/my-earnings');
|
|
230
|
-
} else {
|
|
231
|
-
(0, _coreUtil.clickUrl)('my-points');
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
_this.openTip = function (e, img, title) {
|
|
236
|
-
if (!(0, _coreUtil.isDesignMode)()) {
|
|
237
|
-
e.stopPropagation();
|
|
238
|
-
|
|
239
|
-
_mobx.frameStore.setState({
|
|
240
|
-
modalState: {
|
|
241
|
-
visible: true,
|
|
242
|
-
title: title,
|
|
243
|
-
messageImg: img
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
_this.getMyWalletData = function () {
|
|
250
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
251
|
-
var _a, userBalance, userPoint;
|
|
252
|
-
|
|
253
|
-
return __generator(this, function (_b) {
|
|
254
|
-
switch (_b.label) {
|
|
255
|
-
case 0:
|
|
256
|
-
return [4
|
|
257
|
-
/*yield*/
|
|
258
|
-
, (0, _commonUtil.commonFetch)('/designer/v1/h5/mywallet/list', {}, 'GET')];
|
|
259
|
-
|
|
260
|
-
case 1:
|
|
261
|
-
_a = _b.sent(), userBalance = _a.userBalance, userPoint = _a.userPoint;
|
|
262
|
-
this.setState({
|
|
263
|
-
balance: userBalance === null ? '****' : (0, _currencyUtil.formatCurrencyWithSymbol)(userBalance),
|
|
264
|
-
cenduit: userPoint === null ? '****' : userPoint
|
|
265
|
-
});
|
|
266
|
-
return [2
|
|
267
|
-
/*return*/
|
|
268
|
-
];
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
return _this;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
Mobile.prototype.componentDidMount = function () {
|
|
278
|
-
this.getMyWalletData();
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
Mobile.prototype.render = function () {
|
|
282
|
-
var _this = this;
|
|
283
|
-
|
|
284
|
-
var data = this.props.data;
|
|
285
|
-
console.log('data: ', data);
|
|
286
|
-
var _a = this.state,
|
|
287
|
-
balance = _a.balance,
|
|
288
|
-
cenduit = _a.cenduit;
|
|
289
|
-
var GAData = (0, _commonUtil.getGAData)(data);
|
|
290
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
291
|
-
className: "m-wallet"
|
|
292
|
-
}, data.groupSource.map(function (group, index) {
|
|
293
|
-
var _a;
|
|
294
|
-
|
|
295
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
296
|
-
key: group.id,
|
|
297
|
-
className: "wallet-item",
|
|
298
|
-
onClick: function onClick() {
|
|
299
|
-
return _this.clickJump(index);
|
|
300
|
-
}
|
|
301
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
302
|
-
className: "item-head"
|
|
303
|
-
}, ((_a = group === null || group === void 0 ? void 0 : group.logo) === null || _a === void 0 ? void 0 : _a.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
304
|
-
data: group.logo,
|
|
305
|
-
GAData: GAData,
|
|
306
|
-
style: (0, _commonUtil.pxToRem)({
|
|
307
|
-
width: 16
|
|
308
|
-
})
|
|
309
|
-
}), group.title.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
310
|
-
className: "group-name"
|
|
311
|
-
}, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
312
|
-
data: group.title,
|
|
313
|
-
GAData: __assign(__assign({}, GAData), {
|
|
314
|
-
groupId: group.id,
|
|
315
|
-
groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
|
|
316
|
-
}),
|
|
317
|
-
readonly: true
|
|
318
|
-
})), group.tip.open && /*#__PURE__*/_react["default"].createElement("img", {
|
|
319
|
-
alt: "tip",
|
|
320
|
-
className: "tip",
|
|
321
|
-
onClick: function onClick(e) {
|
|
322
|
-
return _this.openTip(e, group.tip.url, group.title.text);
|
|
323
|
-
},
|
|
324
|
-
src: _base.tipIcon
|
|
325
|
-
})), /*#__PURE__*/_react["default"].createElement("div", null, group.amount.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
326
|
-
data: __assign(__assign({}, group.amount), {
|
|
327
|
-
text: index === 0 ? balance : cenduit
|
|
328
|
-
}),
|
|
329
|
-
GAData: __assign(__assign({}, GAData), {
|
|
330
|
-
groupId: group.id,
|
|
331
|
-
groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
|
|
332
|
-
}),
|
|
333
|
-
readonly: true
|
|
334
|
-
})), group.text.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
335
|
-
data: group.text,
|
|
336
|
-
GAData: __assign(__assign({}, GAData), {
|
|
337
|
-
groupId: group.id,
|
|
338
|
-
groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
|
|
339
|
-
})
|
|
340
|
-
}));
|
|
341
|
-
}));
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
Mobile.defaultProps = {
|
|
345
|
-
data: {
|
|
346
|
-
groupSource: []
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
return Mobile;
|
|
350
|
-
}(_react["default"].Component);
|
|
351
|
-
|
|
352
|
-
var _default = Mobile;
|
|
353
|
-
exports["default"] = _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.m-wallet {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
}
|
|
5
|
-
.m-wallet .wallet-item {
|
|
6
|
-
flex: 1;
|
|
7
|
-
margin-left: 0.2rem;
|
|
8
|
-
}
|
|
9
|
-
.m-wallet .wallet-item:first-of-type {
|
|
10
|
-
margin-left: 0;
|
|
11
|
-
}
|
|
12
|
-
.m-wallet .wallet-item .item-head {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
}
|
|
16
|
-
.m-wallet .wallet-item .item-head .group-name {
|
|
17
|
-
margin-left: 0.08rem;
|
|
18
|
-
}
|
|
19
|
-
.m-wallet .wallet-item .item-head .tip {
|
|
20
|
-
margin-left: 0.12rem;
|
|
21
|
-
width: 0.28rem;
|
|
22
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _common = require("../../../../../common");
|
|
13
|
-
|
|
14
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
15
|
-
|
|
16
|
-
var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
|
|
17
|
-
|
|
18
|
-
var _locale = require("../../../../../locale");
|
|
19
|
-
|
|
20
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
-
|
|
24
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
-
|
|
26
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
27
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
28
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
29
|
-
__proto__: []
|
|
30
|
-
} instanceof Array && function (d, b) {
|
|
31
|
-
d.__proto__ = b;
|
|
32
|
-
} || function (d, b) {
|
|
33
|
-
for (var p in b) {
|
|
34
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
return _extendStatics(d, b);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
return function (d, b) {
|
|
42
|
-
_extendStatics(d, b);
|
|
43
|
-
|
|
44
|
-
function __() {
|
|
45
|
-
this.constructor = d;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
49
|
-
};
|
|
50
|
-
}();
|
|
51
|
-
|
|
52
|
-
var SignBoardConfigContent =
|
|
53
|
-
/** @class */
|
|
54
|
-
function (_super) {
|
|
55
|
-
__extends(SignBoardConfigContent, _super);
|
|
56
|
-
|
|
57
|
-
function SignBoardConfigContent() {
|
|
58
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
59
|
-
|
|
60
|
-
_this.selfRender = function () {
|
|
61
|
-
(0, _coreUtil.renderPreview)();
|
|
62
|
-
|
|
63
|
-
_this.setState({});
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
return _this;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
SignBoardConfigContent.prototype.render = function () {
|
|
70
|
-
var _this = this;
|
|
71
|
-
|
|
72
|
-
var panelProps = this.props.panelProps;
|
|
73
|
-
var source = [{
|
|
74
|
-
key: '1',
|
|
75
|
-
name: (0, _locale.i18n)('LOCATION_LOGO'),
|
|
76
|
-
value: /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
|
-
className: "content"
|
|
78
|
-
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
79
|
-
className: "name"
|
|
80
|
-
}, (0, _locale.i18n)('COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
81
|
-
colorType: "rgba",
|
|
82
|
-
onChange: function onChange(v) {
|
|
83
|
-
panelProps.logo.color = v;
|
|
84
|
-
|
|
85
|
-
_this.selfRender();
|
|
86
|
-
},
|
|
87
|
-
value: panelProps.logo.color
|
|
88
|
-
})),
|
|
89
|
-
metaOption: panelProps.logo
|
|
90
|
-
}, {
|
|
91
|
-
key: '2',
|
|
92
|
-
name: (0, _locale.i18n)('ADDRESS'),
|
|
93
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
94
|
-
data: panelProps.address
|
|
95
|
-
}),
|
|
96
|
-
metaOption: panelProps.address
|
|
97
|
-
}, {
|
|
98
|
-
key: '3',
|
|
99
|
-
name: (0, _locale.i18n)('CUSTOMER'),
|
|
100
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
101
|
-
data: panelProps.customer
|
|
102
|
-
}),
|
|
103
|
-
metaOption: panelProps.customer
|
|
104
|
-
}, {
|
|
105
|
-
key: '4',
|
|
106
|
-
name: (0, _locale.i18n)('ARROW_ICON'),
|
|
107
|
-
value: /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
-
className: "content"
|
|
109
|
-
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
110
|
-
className: "name"
|
|
111
|
-
}, (0, _locale.i18n)('COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
112
|
-
colorType: "rgba",
|
|
113
|
-
onChange: function onChange(v) {
|
|
114
|
-
panelProps.arrowIcon.color = v;
|
|
115
|
-
|
|
116
|
-
_this.selfRender();
|
|
117
|
-
},
|
|
118
|
-
value: panelProps.arrowIcon.color
|
|
119
|
-
})),
|
|
120
|
-
metaOption: panelProps.arrowIcon
|
|
121
|
-
}, {
|
|
122
|
-
key: '5',
|
|
123
|
-
name: (0, _locale.i18n)('LOCATION_BACKGROUND'),
|
|
124
|
-
value: /*#__PURE__*/_react["default"].createElement("div", {
|
|
125
|
-
className: "content"
|
|
126
|
-
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
127
|
-
className: "name"
|
|
128
|
-
}, (0, _locale.i18n)('COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
129
|
-
colorType: "rgba",
|
|
130
|
-
onChange: function onChange(v) {
|
|
131
|
-
panelProps.locationBg.color = v;
|
|
132
|
-
|
|
133
|
-
_this.selfRender();
|
|
134
|
-
},
|
|
135
|
-
value: panelProps.locationBg.color
|
|
136
|
-
})),
|
|
137
|
-
metaOption: panelProps.locationBg
|
|
138
|
-
}];
|
|
139
|
-
return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
140
|
-
headerSize: "middle",
|
|
141
|
-
noChange: true,
|
|
142
|
-
onRefresh: this.selfRender,
|
|
143
|
-
showActiveColor: true,
|
|
144
|
-
source: source,
|
|
145
|
-
type: "switch"
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
return SignBoardConfigContent;
|
|
150
|
-
}(_react.Component);
|
|
151
|
-
|
|
152
|
-
var _default = SignBoardConfigContent;
|
|
153
|
-
exports["default"] = _default;
|