@fonixtree/magic-design 2.0.189 → 3.0.2
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 +12 -8
- 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 +30 -5
- 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 +0 -29
- 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 +2 -17
- 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/es/utils/dateUtil.js +14 -0
- 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 +12 -8
- 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 +30 -5
- 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 +0 -29
- 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 +2 -17
- 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/lib/utils/dateUtil.js +14 -0
- package/package.json +2 -2
- 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 -350
- 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 -350
- 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
|
@@ -0,0 +1,60 @@
|
|
|
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 getDefaultJSON = function getDefaultJSON() {
|
|
11
|
+
var groupId = (0, _uuid.v4)();
|
|
12
|
+
return {
|
|
13
|
+
id: groupId,
|
|
14
|
+
type: 'LOCATION',
|
|
15
|
+
logo: {
|
|
16
|
+
parentId: groupId,
|
|
17
|
+
id: (0, _uuid.v4)(),
|
|
18
|
+
open: true,
|
|
19
|
+
color: '#fff'
|
|
20
|
+
},
|
|
21
|
+
address: {
|
|
22
|
+
parentId: groupId,
|
|
23
|
+
id: (0, _uuid.v4)(),
|
|
24
|
+
open: true
|
|
25
|
+
},
|
|
26
|
+
icon: {
|
|
27
|
+
parentId: groupId,
|
|
28
|
+
id: (0, _uuid.v4)(),
|
|
29
|
+
open: true,
|
|
30
|
+
color: '#fff'
|
|
31
|
+
},
|
|
32
|
+
spacing: {
|
|
33
|
+
pc: {
|
|
34
|
+
paddingTop: 10,
|
|
35
|
+
paddingBottom: 10,
|
|
36
|
+
marginBottom: 0
|
|
37
|
+
},
|
|
38
|
+
mobile: {
|
|
39
|
+
paddingTop: 12,
|
|
40
|
+
paddingBottom: 12,
|
|
41
|
+
paddingLeft: 12,
|
|
42
|
+
marginBottom: 0
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
customize: {
|
|
46
|
+
layout: {
|
|
47
|
+
pcLayout: 'top',
|
|
48
|
+
h5Layout: 'top'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
background: {
|
|
52
|
+
opacity: 100,
|
|
53
|
+
color: '#597EF7',
|
|
54
|
+
image: '',
|
|
55
|
+
bgType: 'color'
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
exports.getDefaultJSON = getDefaultJSON;
|
|
@@ -9,10 +9,14 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _defaultJSON = require("./defaultJSON");
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _common = require("../../../../common");
|
|
13
13
|
|
|
14
14
|
var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
|
|
15
15
|
|
|
16
|
+
var _locale = require("../../../../locale");
|
|
17
|
+
|
|
18
|
+
require("./index.less");
|
|
19
|
+
|
|
16
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
21
|
|
|
18
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); }
|
|
@@ -70,9 +74,21 @@ function (_super) {
|
|
|
70
74
|
|
|
71
75
|
CustomCode.prototype.render = function () {
|
|
72
76
|
var nodeData = this.props.nodeData;
|
|
73
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, window.magicDesign.device === 'pc' ? null : /*#__PURE__*/_react["default"].createElement(
|
|
74
|
-
|
|
75
|
-
}
|
|
77
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
|
+
className: "location-mobile"
|
|
79
|
+
}, nodeData.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
80
|
+
className: "logo",
|
|
81
|
+
color: nodeData.logo.color,
|
|
82
|
+
size: 20,
|
|
83
|
+
type: "icon-MapPin"
|
|
84
|
+
}), nodeData.address.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
85
|
+
className: "address"
|
|
86
|
+
}, (0, _locale.i18n)('DISPLAY_LOCATION_ADDRESS')), nodeData.icon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
87
|
+
className: "logo",
|
|
88
|
+
color: nodeData.icon.color,
|
|
89
|
+
size: 16,
|
|
90
|
+
type: "icon-outlined-right"
|
|
91
|
+
})));
|
|
76
92
|
};
|
|
77
93
|
|
|
78
94
|
CustomCode.defaultProps = {};
|
|
@@ -166,7 +166,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
166
166
|
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
167
167
|
return {
|
|
168
168
|
id: groupId,
|
|
169
|
-
type: '
|
|
169
|
+
type: 'WALLET',
|
|
170
170
|
title: {
|
|
171
171
|
headline: {
|
|
172
172
|
id: (0, _uuid.v4)(),
|
package/{es/composite-comp/public → lib/composite-comp/bol}/config-panels/LocationConfig/index.js
RENAMED
|
@@ -7,7 +7,9 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _common = require("../../../../common");
|
|
11
|
+
|
|
12
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
11
13
|
|
|
12
14
|
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
13
15
|
|
|
@@ -23,8 +25,6 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
|
|
|
23
25
|
|
|
24
26
|
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
25
27
|
|
|
26
|
-
require("./index.less");
|
|
27
|
-
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
29
|
|
|
30
30
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -59,22 +59,64 @@ function (_super) {
|
|
|
59
59
|
__extends(LocationConfig, _super);
|
|
60
60
|
|
|
61
61
|
function LocationConfig() {
|
|
62
|
-
|
|
62
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
63
|
+
|
|
64
|
+
_this.getContentPanel = function () {
|
|
65
|
+
var data = _this.props.data;
|
|
66
|
+
var source = [{
|
|
67
|
+
key: data.logo.id,
|
|
68
|
+
name: (0, _locale.i18n)('LOCATION_LOGO'),
|
|
69
|
+
value: /*#__PURE__*/_react["default"].createElement(_common.Field, null, /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
70
|
+
colorType: "rgba",
|
|
71
|
+
onChange: function onChange(v) {
|
|
72
|
+
data.logo.color = v;
|
|
73
|
+
|
|
74
|
+
_this.selfRender();
|
|
75
|
+
},
|
|
76
|
+
value: data.logo.color
|
|
77
|
+
})),
|
|
78
|
+
metaOption: data.logo
|
|
79
|
+
}, {
|
|
80
|
+
key: data.address.id,
|
|
81
|
+
name: (0, _locale.i18n)('ADDRESS'),
|
|
82
|
+
metaOption: data.address
|
|
83
|
+
}, {
|
|
84
|
+
key: data.icon.id,
|
|
85
|
+
name: (0, _locale.i18n)('ICON'),
|
|
86
|
+
value: /*#__PURE__*/_react["default"].createElement(_common.Field, null, /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
87
|
+
colorType: "rgba",
|
|
88
|
+
onChange: function onChange(v) {
|
|
89
|
+
data.icon.color = v;
|
|
90
|
+
|
|
91
|
+
_this.selfRender();
|
|
92
|
+
},
|
|
93
|
+
value: data.icon.color
|
|
94
|
+
})),
|
|
95
|
+
metaOption: data.icon
|
|
96
|
+
}];
|
|
97
|
+
return /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
98
|
+
headerSize: "middle",
|
|
99
|
+
onRefresh: function onRefresh() {
|
|
100
|
+
return (0, _coreUtil.renderPreview)();
|
|
101
|
+
},
|
|
102
|
+
showActiveColor: true,
|
|
103
|
+
source: source,
|
|
104
|
+
type: "switch"
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
return _this;
|
|
63
109
|
}
|
|
64
110
|
|
|
65
111
|
LocationConfig.prototype.render = function () {
|
|
66
112
|
var data = this.props.data;
|
|
67
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
-
className: "location_config"
|
|
69
|
-
}, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
113
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
70
114
|
divider: "bold",
|
|
71
115
|
headerSize: "large",
|
|
72
116
|
source: [{
|
|
73
117
|
key: 'content',
|
|
74
118
|
name: (0, _locale.i18n)('CONTENT'),
|
|
75
|
-
value:
|
|
76
|
-
panelProps: data.content
|
|
77
|
-
})
|
|
119
|
+
value: this.getContentPanel()
|
|
78
120
|
}, {
|
|
79
121
|
key: 'spacing',
|
|
80
122
|
name: (0, _locale.i18n)('SPACING'),
|
|
@@ -15,7 +15,7 @@ var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList
|
|
|
15
15
|
|
|
16
16
|
var _Button = _interopRequireDefault(require("../../../../../common/Button"));
|
|
17
17
|
|
|
18
|
-
var _defaultJSON = require("../../../components/
|
|
18
|
+
var _defaultJSON = require("../../../components/Wallet/defaultJSON");
|
|
19
19
|
|
|
20
20
|
var _locale = require("../../../../../locale");
|
|
21
21
|
|
|
@@ -164,7 +164,7 @@ function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var _discountPercent = isRecommend ? data.sppDiscountPercent
|
|
167
|
+
var _discountPercent = isRecommend ? data.sppDiscountPercent : data.discountPercent;
|
|
168
168
|
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
170
170
|
className: (0, _classnames["default"])('monpay-product-item-wrap', {
|
|
@@ -246,10 +246,10 @@ function (_super) {
|
|
|
246
246
|
})), ((_b = panelProps.evaluationScore) === null || _b === void 0 ? void 0 : _b.open) && ((_c = panelProps.sold) === null || _c === void 0 ? void 0 : _c.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
247
247
|
className: "line"
|
|
248
248
|
}), ((_d = panelProps.sold) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
249
|
-
className: "sold
|
|
249
|
+
className: "sold"
|
|
250
250
|
}, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
251
251
|
data: __assign(__assign({}, panelProps.sold), {
|
|
252
|
-
text: (0,
|
|
252
|
+
text: (0, _locale.i18n)('SOLD') + " " + soldNumber
|
|
253
253
|
}),
|
|
254
254
|
readonly: true
|
|
255
255
|
}))), intelligentType === 'Coupon' && data.coupons && data.coupons.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -7,30 +7,32 @@
|
|
|
7
7
|
position: relative;
|
|
8
8
|
margin-right: 16px;
|
|
9
9
|
border-radius: 8px;
|
|
10
|
+
border: 1px solid #E4E4E4;
|
|
10
11
|
|
|
11
12
|
.img-wrap {
|
|
12
13
|
position: relative;
|
|
13
|
-
border-radius: 8px;
|
|
14
|
+
border-radius: 8px 8px 0 0;
|
|
14
15
|
// overflow: hidden;
|
|
15
16
|
|
|
16
17
|
.product-img {
|
|
17
18
|
width: 140px;
|
|
18
19
|
height: 140px;
|
|
19
|
-
border-radius: 8px;
|
|
20
|
+
border-radius: 8px 8px 0 0;
|
|
20
21
|
object-fit: cover;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
.discount-tag {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
color: #fff;
|
|
28
|
+
background-color: #ff8650;
|
|
29
|
+
padding: 5px;
|
|
30
|
+
border-radius: 0 5px 5px 0;
|
|
30
31
|
position: absolute;
|
|
31
32
|
top: 15px;
|
|
32
33
|
left: 0;
|
|
33
34
|
}
|
|
35
|
+
|
|
34
36
|
.giftL-tag {
|
|
35
37
|
font-size: 12px;
|
|
36
38
|
font-weight: 700;
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
border-radius: 0 5px 5px 0;
|
|
41
43
|
display: flex;
|
|
42
44
|
align-items: center;
|
|
45
|
+
|
|
43
46
|
.icon {
|
|
44
47
|
margin-right: 4px;
|
|
45
48
|
}
|
|
@@ -47,6 +50,7 @@
|
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
.content-wrap {
|
|
53
|
+
padding: 0 0 8px 10px;
|
|
50
54
|
|
|
51
55
|
.promotions-wrap {
|
|
52
56
|
display: flex;
|
|
@@ -7,7 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _antd = require("
|
|
10
|
+
var _antd = require("antd");
|
|
11
11
|
|
|
12
12
|
var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
|
|
13
13
|
|
|
@@ -9,6 +9,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _mobile = _interopRequireDefault(require("./mobile"));
|
|
11
11
|
|
|
12
|
+
var _pc = _interopRequireDefault(require("./pc"));
|
|
13
|
+
|
|
12
14
|
var _defaultJSON = require("./defaultJSON");
|
|
13
15
|
|
|
14
16
|
var _coreUtil = require("../../../../utils/coreUtil");
|
|
@@ -70,7 +72,9 @@ function (_super) {
|
|
|
70
72
|
|
|
71
73
|
FlashDeal.prototype.render = function () {
|
|
72
74
|
var nodeData = this.props.nodeData;
|
|
73
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ?
|
|
75
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
|
|
76
|
+
panelProps: nodeData
|
|
77
|
+
}) : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
|
|
74
78
|
panelProps: nodeData
|
|
75
79
|
}));
|
|
76
80
|
};
|
|
@@ -11,8 +11,6 @@ require("./index.less");
|
|
|
11
11
|
|
|
12
12
|
var _defImg = _interopRequireDefault(require("./imgs/defImg.png"));
|
|
13
13
|
|
|
14
|
-
var _locale = require("../../../../../locale");
|
|
15
|
-
|
|
16
14
|
var _MonpayProductItem = _interopRequireDefault(require("../../../../common/components/MonpayProductItem"));
|
|
17
15
|
|
|
18
16
|
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
@@ -23,6 +21,8 @@ var _commonUtil = require("../../../../../utils/commonUtil");
|
|
|
23
21
|
|
|
24
22
|
var _storeUtil = require("../../../../../utils/storeUtil");
|
|
25
23
|
|
|
24
|
+
var _constants = require("../../../../../constants");
|
|
25
|
+
|
|
26
26
|
var _dateUtil = require("../../../../../utils/dateUtil");
|
|
27
27
|
|
|
28
28
|
var _MonpayCountDown = _interopRequireDefault(require("../MonpayCountDown"));
|
|
@@ -364,6 +364,31 @@ function (_super) {
|
|
|
364
364
|
});
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
+
_this.toLocale = function (value) {
|
|
368
|
+
var locale = (0, _storeUtil.getStore)(_constants.STORAGE_KEY.FISHX_LOCALE) || (0, _storeUtil.getStore)(_constants.STORAGE_KEY.LOCALE);
|
|
369
|
+
|
|
370
|
+
if (locale == 'mn') {
|
|
371
|
+
// const time = newDate('2024-10-13 10:11:00');
|
|
372
|
+
var time = (0, _dateUtil.newDate)(value);
|
|
373
|
+
|
|
374
|
+
var _hour = time.getHours() < 10 ? '0' + time.getHours() : time.getHours();
|
|
375
|
+
|
|
376
|
+
var _minutes = time.getMinutes() < 10 ? '0' + time.getMinutes() : time.getMinutes();
|
|
377
|
+
|
|
378
|
+
if ((0, _dateUtil.isTomorrow)(time)) {
|
|
379
|
+
return "\u041C\u0430\u0440\u0433\u0430\u0430\u0448, " + _hour + ":" + _minutes;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
if ((0, _dateUtil.isToday)(time)) {
|
|
383
|
+
return "\u04E8\u043D\u04E9\u04E9\u0434\u04E9\u0440, " + _hour + ":" + _minutes;
|
|
384
|
+
} else {
|
|
385
|
+
return time.getMonth() + 1 + " \u0441\u0430\u0440\u044B\u043D " + time.getDate() + "-\u043D\u044B " + _hour + ":" + _minutes;
|
|
386
|
+
}
|
|
387
|
+
} else {
|
|
388
|
+
return (0, _dateUtil.formatDayMonthTime)(value);
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
367
392
|
return _this;
|
|
368
393
|
}
|
|
369
394
|
|
|
@@ -380,6 +405,8 @@ function (_super) {
|
|
|
380
405
|
};
|
|
381
406
|
|
|
382
407
|
FlashDealMobile.prototype.render = function () {
|
|
408
|
+
var _this = this;
|
|
409
|
+
|
|
383
410
|
var panelProps = this.props.panelProps;
|
|
384
411
|
var _a = this.state,
|
|
385
412
|
times = _a.times,
|
|
@@ -426,9 +453,7 @@ function (_super) {
|
|
|
426
453
|
}
|
|
427
454
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
428
455
|
className: "time"
|
|
429
|
-
},
|
|
430
|
-
className: "status"
|
|
431
|
-
}, item.cmpState === 'A' ? (0, _locale.i18n)('COMING_SOON') : (0, _locale.i18n)('ON_GOING')));
|
|
456
|
+
}, _this.toLocale(item.effDate)));
|
|
432
457
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
433
458
|
className: "flash-deal-list"
|
|
434
459
|
}, _list.map(function (item) {
|