@fonixtree/magic-design 1.0.65 → 1.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +6 -62
- package/es/assets/fonts/magic-box-iconfont.css.bak +3 -35
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/base64/index.js +2 -36
- package/es/assets/less/button.less +0 -5
- package/es/assets/less/cylon-antd.less +1686 -7246
- package/es/assets/less/font.less +0 -22
- package/es/common/Button/index.less +1 -0
- package/es/common/CountDown/index.js +11 -20
- package/es/common/GroupList/index.js +2 -7
- package/es/common/ImagePicker/index.js +3 -1
- package/es/common/LinkModal/CouponTable/index.js +3 -3
- package/es/common/LinkModal/CustomTable/index.js +0 -1
- package/es/common/LinkModal/FunctionTable/index.js +1 -2
- package/es/common/LinkModal/index.js +2 -14
- package/es/common/MagicLink/index.js +2 -2
- package/es/common/ProductModal/index.js +3 -38
- package/es/common/ProductSource/index.js +18 -59
- package/es/common/UrlPicker/index.js +10 -62
- package/es/common/index.js +0 -24
- package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -1
- package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/es/composite-comp/bol/components/Video/index.js +2 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/es/composite-comp/bol/components/Wallet/defaultJSON.js +88 -112
- package/es/composite-comp/bol/components/Wallet/index.js +15 -11
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +64 -314
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -103
- package/es/composite-comp/bol/components/Wallet/pc/index.js +2 -0
- package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -1
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +6 -1
- package/es/composite-comp/bol/config-panels/WalletConfig/index.js +2 -11
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +82 -58
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -2
- package/es/composite-comp/common/components/ProductItem/index.js +20 -22
- package/es/composite-comp/common/components/ProductItem/index.less +12 -2
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -13
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -3
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +6 -8
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/es/composite-comp/dito/components/FlashDeal/pc/index.js +6 -8
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +5 -6
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/es/composite-comp/dito/components/Recommend/pc/index.js +5 -6
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +9 -6
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +9 -10
- package/es/constants/component-types.js +3 -45
- package/es/constants/index.js +5 -74
- package/es/constants/layout.js +1 -48
- package/es/core/Designer/ChatRobot/index.js +17 -84
- package/es/core/Designer/ChatRobot/index.less +28 -69
- package/es/core/Designer/ConfigPanel/index.js +3 -14
- package/es/core/Designer/FonixtreeGpt/index.js +29 -222
- package/es/core/Designer/PageCompList/index.js +5 -6
- package/es/core/Designer/QuickMenuBar/index.js +5 -11
- package/es/core/Designer/QuickMenuBar/index.less +0 -4
- package/es/core/Designer/RenderHtml/index.js +15 -18
- package/es/core/Designer/RenderHtml/index.less +1 -1
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +6 -19
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +6 -19
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +6 -19
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +6 -27
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +20 -4
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +5 -36
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +16 -17
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +6 -27
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +20 -4
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +3 -28
- package/es/core/Designer/ToolBarModal/ToolBtn/index.less +1 -2
- package/es/core/Designer/ToolBarModal/index.js +27 -69
- package/es/core/Designer/ToolBarModal/index.less +2 -3
- package/es/core/Designer/index.js +2 -26
- package/es/core/Renderer/index.js +29 -74
- package/es/decorator/compositeDecorator.js +6 -33
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +3 -17
- package/es/locale/es/es.json +3 -17
- package/es/locale/id/id.json +3 -17
- package/es/meta-comp/components/Image/index.js +25 -31
- package/es/meta-comp/components/Text/index.js +1 -4
- package/es/meta-comp/components/Text/index.less +0 -8
- package/es/meta-comp/config-panels/ImageConfig/index.js +44 -48
- package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/es/mobx/Frame.js +2 -17
- package/es/mobx/index.js +3 -9
- package/es/utils/androidUtil.js +2 -13
- package/es/utils/businessUtil.js +3 -25
- package/es/utils/commonUtil.js +22 -177
- package/es/utils/coreUtil.js +2 -45
- package/es/utils/currencyUtil.js +2 -9
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +6 -62
- package/lib/assets/fonts/magic-box-iconfont.css.bak +3 -35
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/base64/index.js +2 -36
- package/lib/assets/less/button.less +0 -5
- package/lib/assets/less/cylon-antd.less +1686 -7246
- package/lib/assets/less/font.less +0 -22
- package/lib/common/Button/index.less +1 -0
- package/lib/common/CountDown/index.js +11 -20
- package/lib/common/GroupList/index.js +2 -7
- package/lib/common/ImagePicker/index.js +3 -1
- package/lib/common/LinkModal/CouponTable/index.js +3 -3
- package/lib/common/LinkModal/CustomTable/index.js +0 -1
- package/lib/common/LinkModal/FunctionTable/index.js +1 -2
- package/lib/common/LinkModal/index.js +2 -14
- package/lib/common/MagicLink/index.js +2 -2
- package/lib/common/ProductModal/index.js +3 -38
- package/lib/common/ProductSource/index.js +18 -59
- package/lib/common/UrlPicker/index.js +10 -62
- package/lib/common/index.js +0 -24
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -1
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/lib/composite-comp/bol/components/Video/index.js +2 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +88 -112
- package/lib/composite-comp/bol/components/Wallet/index.js +15 -11
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +64 -314
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -103
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +2 -0
- package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -1
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +6 -1
- package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +2 -11
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +82 -58
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -2
- package/lib/composite-comp/common/components/ProductItem/index.js +20 -22
- package/lib/composite-comp/common/components/ProductItem/index.less +12 -2
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -13
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -3
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +6 -8
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +6 -8
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +5 -6
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +5 -6
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +9 -6
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +9 -10
- package/lib/constants/component-types.js +3 -45
- package/lib/constants/index.js +5 -74
- package/lib/constants/layout.js +1 -48
- package/lib/core/Designer/ChatRobot/index.js +17 -84
- package/lib/core/Designer/ChatRobot/index.less +28 -69
- package/lib/core/Designer/ConfigPanel/index.js +3 -14
- package/lib/core/Designer/FonixtreeGpt/index.js +29 -222
- package/lib/core/Designer/PageCompList/index.js +5 -6
- package/lib/core/Designer/QuickMenuBar/index.js +5 -11
- package/lib/core/Designer/QuickMenuBar/index.less +0 -4
- package/lib/core/Designer/RenderHtml/index.js +15 -18
- package/lib/core/Designer/RenderHtml/index.less +1 -1
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +6 -19
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +6 -19
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +6 -19
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +6 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +20 -4
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +5 -36
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +16 -17
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +6 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +20 -4
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +3 -28
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +1 -2
- package/lib/core/Designer/ToolBarModal/index.js +27 -69
- package/lib/core/Designer/ToolBarModal/index.less +2 -3
- package/lib/core/Designer/index.js +2 -26
- package/lib/core/Renderer/index.js +29 -74
- package/lib/decorator/compositeDecorator.js +6 -33
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +3 -17
- package/lib/locale/es/es.json +3 -17
- package/lib/locale/id/id.json +3 -17
- package/lib/meta-comp/components/Image/index.js +25 -31
- package/lib/meta-comp/components/Text/index.js +1 -4
- package/lib/meta-comp/components/Text/index.less +0 -8
- package/lib/meta-comp/config-panels/ImageConfig/index.js +44 -48
- package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/lib/mobx/Frame.js +2 -17
- package/lib/mobx/index.js +3 -9
- package/lib/utils/androidUtil.js +2 -13
- package/lib/utils/businessUtil.js +3 -25
- package/lib/utils/commonUtil.js +22 -177
- package/lib/utils/coreUtil.js +2 -45
- package/lib/utils/currencyUtil.js +2 -9
- package/package.json +1 -2
- package/es/assets/fonts/Trueno-Light.otf +0 -0
- package/es/assets/fonts/Trueno-Regular.otf +0 -0
- package/es/assets/fonts/TruenoBd.otf +0 -0
- package/es/assets/images/layout-icon/walletLayout2.png +0 -0
- package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/es/common/AffiliateProductModal/index.js +0 -582
- package/es/common/AffiliateProductModal/index.less +0 -146
- package/es/common/CardCarousel/index.js +0 -171
- package/es/common/CardCarousel/index.less +0 -28
- package/es/common/CropperModal/index.js +0 -126
- package/es/common/CropperModal/index.less +0 -29
- package/es/common/MyModal/index.js +0 -417
- package/es/common/MyModal/index.less +0 -74
- package/es/common/UrlPicker/AnchorModal/index.js +0 -170
- package/es/common/UrlPicker/AnchorModal/index.less +0 -21
- package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
- package/es/composite-comp/bol/components/WalletNuri/index.js +0 -84
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -366
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +0 -61
- package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +0 -168
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +0 -129
- package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +0 -243
- package/es/composite-comp/dito/components/AffiliateRecommend/index.js +0 -90
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +0 -660
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +0 -84
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +0 -728
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +0 -124
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
- package/es/composite-comp/dito/components/CommonFunctions/index.js +0 -84
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -107
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
- package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
- package/es/composite-comp/dito/components/HeadNavigation/index.js +0 -84
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -112
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
- package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
- package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -25
- package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
- package/es/composite-comp/dito/components/MenuNavigation/index.js +0 -84
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
- package/es/composite-comp/dito/components/Orders/index.js +0 -84
- package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -345
- package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -82
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
- package/es/composite-comp/dito/components/PersonalInformation/index.js +0 -84
- package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -568
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -133
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +0 -141
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
- package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
- package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -122
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
- package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
- package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -128
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
- package/es/meta-comp/components/Text/formats/textAlign.js +0 -58
- package/es/mobx/UserState.js +0 -144
- package/lib/assets/fonts/Trueno-Light.otf +0 -0
- package/lib/assets/fonts/Trueno-Regular.otf +0 -0
- package/lib/assets/fonts/TruenoBd.otf +0 -0
- package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
- package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/lib/common/AffiliateProductModal/index.js +0 -582
- package/lib/common/AffiliateProductModal/index.less +0 -146
- package/lib/common/CardCarousel/index.js +0 -171
- package/lib/common/CardCarousel/index.less +0 -28
- package/lib/common/CropperModal/index.js +0 -126
- package/lib/common/CropperModal/index.less +0 -29
- package/lib/common/MyModal/index.js +0 -417
- package/lib/common/MyModal/index.less +0 -74
- package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
- package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
- package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
- package/lib/composite-comp/bol/components/WalletNuri/index.js +0 -84
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -366
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +0 -61
- package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +0 -168
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +0 -129
- package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +0 -243
- package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +0 -90
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +0 -660
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +0 -84
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +0 -728
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +0 -124
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
- package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -107
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
- package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
- package/lib/composite-comp/dito/components/HeadNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -112
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -25
- package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
- package/lib/composite-comp/dito/components/MenuNavigation/index.js +0 -84
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
- package/lib/composite-comp/dito/components/Orders/index.js +0 -84
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -345
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -82
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
- package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -568
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -133
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +0 -141
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
- package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -122
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -128
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
- package/lib/meta-comp/components/Text/formats/textAlign.js +0 -58
- package/lib/mobx/UserState.js +0 -144
package/es/locale/id/id.json
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"SUBMIT": "Submit",
|
|
3
|
-
"CANCELLED": "Cancelled",
|
|
4
|
-
"DONE": "Done",
|
|
5
|
-
"TO_RECEIVE": "To Receive",
|
|
6
|
-
"TO_SHIP": "To ship",
|
|
7
|
-
"TO_PAY": "To Pay",
|
|
8
|
-
"VIEW_ALL_ORDERS": "View All Orders",
|
|
9
|
-
"ORDERS": "Orders",
|
|
10
|
-
"RECENTLY_VIEWED": "Recently Viewed",
|
|
11
|
-
"VOUCHERS": "Vouchers",
|
|
12
|
-
"STORES": "Stores",
|
|
13
|
-
"WISHLIST": "Wishlist",
|
|
14
|
-
"IMAGE_NAME_IS_TOO_LONG": "Image name is too long",
|
|
15
|
-
"ADD": "Add",
|
|
16
|
-
"LOGIN_OR_REGISTER": "Login or Register",
|
|
17
|
-
"ANCHOR": "Anchor",
|
|
18
2
|
"PUSH": "Push",
|
|
19
3
|
"SET_AS_TEMPLATE": "Set as Template",
|
|
20
4
|
"DISPLAY_PAGE": "Display page",
|
|
@@ -33,6 +17,7 @@
|
|
|
33
17
|
"DARK": "Dark",
|
|
34
18
|
"LIGHT": "Light",
|
|
35
19
|
"URL_IMAGE": "url image",
|
|
20
|
+
"AI_IMAGE": "AI Image",
|
|
36
21
|
"IMAGE_URL": "Image URL",
|
|
37
22
|
"UPLOAD": "Upload",
|
|
38
23
|
"HOW_LONG_BETWEEN_SLIDES_(SECS)": "How long between slides (secs)",
|
|
@@ -77,7 +62,7 @@
|
|
|
77
62
|
"ADD_CLICKABLE_AREA": "Add Clickable Area",
|
|
78
63
|
"ADD_AREA": "Add Area",
|
|
79
64
|
"CLICKABLE_AREA": "Clickable Area",
|
|
80
|
-
"VOUCHER_SUCCESS": "
|
|
65
|
+
"VOUCHER_SUCCESS": "Voucher received successfully!",
|
|
81
66
|
"NAVIGATION_NAME": "Navigation Name",
|
|
82
67
|
"ADD_NAVIGATION": "Add Navigation",
|
|
83
68
|
"SAVE": "Save",
|
|
@@ -129,6 +114,7 @@
|
|
|
129
114
|
"MOVE_DOWN": "Move Down",
|
|
130
115
|
"COPY": "Copy",
|
|
131
116
|
"DELETE": "Delete",
|
|
117
|
+
"DONE": "Done",
|
|
132
118
|
"ADD_COMPONENT": "Add Component",
|
|
133
119
|
"ALL": "ALL",
|
|
134
120
|
"HOT": "Hot",
|
|
@@ -79,21 +79,19 @@ function (_super) {
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
_this.getStyle = function () {
|
|
82
|
-
var _a,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
limitWidthHeight = _c.limitWidthHeight,
|
|
92
|
-
scale = _c.scale;
|
|
82
|
+
var _a = _this.props,
|
|
83
|
+
data = _a.data,
|
|
84
|
+
hoverState = _a.hoverState,
|
|
85
|
+
maxHeight = _a.maxHeight,
|
|
86
|
+
maxWidth = _a.maxWidth,
|
|
87
|
+
minHeight = _a.minHeight,
|
|
88
|
+
minWidth = _a.minWidth,
|
|
89
|
+
limitWidthHeight = _a.limitWidthHeight,
|
|
90
|
+
scale = _a.scale;
|
|
93
91
|
var hoverImgSrc = _this.state.hoverImgSrc;
|
|
94
92
|
var obj = {};
|
|
95
93
|
|
|
96
|
-
if (
|
|
94
|
+
if (data.hover.open && data.hover.backgroundType === 'enlarge' && (hoverState || hoverImgSrc)) {
|
|
97
95
|
// return { transform: `scale(${data.hover.magnification})` };
|
|
98
96
|
obj.transform = "scale(" + data.hover.magnification + ")";
|
|
99
97
|
obj.zIndex = '1';
|
|
@@ -135,13 +133,11 @@ function (_super) {
|
|
|
135
133
|
};
|
|
136
134
|
|
|
137
135
|
_this.mouseEnterImg = function () {
|
|
138
|
-
var _a
|
|
136
|
+
var _a = _this.props,
|
|
137
|
+
data = _a.data,
|
|
138
|
+
isBackground = _a.isBackground;
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
data = _b.data,
|
|
142
|
-
isBackground = _b.isBackground;
|
|
143
|
-
|
|
144
|
-
if (((_a = data === null || data === void 0 ? void 0 : data.hover) === null || _a === void 0 ? void 0 : _a.open) && !isBackground) {
|
|
140
|
+
if (data.hover.open && !isBackground) {
|
|
145
141
|
_this.setState({
|
|
146
142
|
hoverImgSrc: true
|
|
147
143
|
});
|
|
@@ -149,13 +145,11 @@ function (_super) {
|
|
|
149
145
|
};
|
|
150
146
|
|
|
151
147
|
_this.mouseLeaveImg = function () {
|
|
152
|
-
var _a
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
data = _b.data,
|
|
156
|
-
isBackground = _b.isBackground;
|
|
148
|
+
var _a = _this.props,
|
|
149
|
+
data = _a.data,
|
|
150
|
+
isBackground = _a.isBackground;
|
|
157
151
|
|
|
158
|
-
if (
|
|
152
|
+
if (data.hover.open && !isBackground) {
|
|
159
153
|
_this.setState({
|
|
160
154
|
hoverImgSrc: false
|
|
161
155
|
});
|
|
@@ -168,19 +162,19 @@ function (_super) {
|
|
|
168
162
|
Image.prototype.render = function () {
|
|
169
163
|
var _this = this;
|
|
170
164
|
|
|
171
|
-
var _a, _b
|
|
165
|
+
var _a, _b;
|
|
172
166
|
|
|
173
|
-
var
|
|
174
|
-
data =
|
|
175
|
-
isBackground =
|
|
176
|
-
hoverState =
|
|
177
|
-
notNeedLazy =
|
|
167
|
+
var _c = this.props,
|
|
168
|
+
data = _c.data,
|
|
169
|
+
isBackground = _c.isBackground,
|
|
170
|
+
hoverState = _c.hoverState,
|
|
171
|
+
notNeedLazy = _c.notNeedLazy;
|
|
178
172
|
var hoverImgSrc = this.state.hoverImgSrc; // const { hoverSrc } = this.state;
|
|
179
173
|
// console.log('--metaImage ', this.props);
|
|
180
174
|
|
|
181
175
|
var srcImg = (0, _coreUtil.isPc)() ? (_a = data.content) === null || _a === void 0 ? void 0 : _a.pcImgSrc : (_b = data.content) === null || _b === void 0 ? void 0 : _b.h5ImgSrc;
|
|
182
176
|
|
|
183
|
-
if (
|
|
177
|
+
if (data.hover.open && data.hover.backgroundType === 'new' && (hoverState || hoverImgSrc)) {
|
|
184
178
|
srcImg = (0, _coreUtil.isPc)() ? data.hover.pcImgHoverUrl : data.hover.h5ImgHoverUrl;
|
|
185
179
|
} // if (window.magicDesign.isShop && srcImg?.includes('ecommerce/static')) {
|
|
186
180
|
// srcImg = srcImg.replace('ecommerce/static', 'static');
|
|
@@ -19,8 +19,6 @@ require("./formats/textDecorationColor");
|
|
|
19
19
|
|
|
20
20
|
require("./formats/fontStyle");
|
|
21
21
|
|
|
22
|
-
require("./formats/textAlign");
|
|
23
|
-
|
|
24
22
|
require("./formats/listStyleTypeStyle");
|
|
25
23
|
|
|
26
24
|
require("./formats/textDecorationStyle");
|
|
@@ -171,8 +169,7 @@ function (_super) {
|
|
|
171
169
|
setTimeout(function () {
|
|
172
170
|
_mobx.frameStore.setState({
|
|
173
171
|
textModalState: {
|
|
174
|
-
quillRef: _this.quillRef
|
|
175
|
-
close: _this.onEditorClose
|
|
172
|
+
quillRef: _this.quillRef
|
|
176
173
|
}
|
|
177
174
|
});
|
|
178
175
|
}, 100);
|
|
@@ -202,7 +202,7 @@ function (_super) {
|
|
|
202
202
|
function ImageConfig() {
|
|
203
203
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
204
204
|
|
|
205
|
-
_this.onClick = function () {// console.log(event);
|
|
205
|
+
_this.onClick = function (event) {// console.log(event);
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
_this.getImg = function (v, way) {
|
|
@@ -320,8 +320,7 @@ function (_super) {
|
|
|
320
320
|
needHover = _a.needHover,
|
|
321
321
|
needClickArea = _a.needClickArea,
|
|
322
322
|
needURL = _a.needURL,
|
|
323
|
-
recommendImgSize = _a.recommendImgSize
|
|
324
|
-
onlySpecificCode = _a.onlySpecificCode;
|
|
323
|
+
recommendImgSize = _a.recommendImgSize;
|
|
325
324
|
var selectImg = this.getSelectedImg(data);
|
|
326
325
|
|
|
327
326
|
var ContentSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
@@ -349,10 +348,51 @@ function (_super) {
|
|
|
349
348
|
|
|
350
349
|
_this.selfRender();
|
|
351
350
|
},
|
|
352
|
-
onlySpecificCode: onlySpecificCode,
|
|
353
351
|
value: data.content.clickUrl
|
|
354
352
|
})));
|
|
355
353
|
|
|
354
|
+
var HoverSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
355
|
+
split: data.hover.backgroundType === 'new',
|
|
356
|
+
title: (0, _locale.i18n)('IMAGE')
|
|
357
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
358
|
+
className: "hoverSelect",
|
|
359
|
+
onChange: function onChange(v) {
|
|
360
|
+
data.hover.backgroundType = v;
|
|
361
|
+
|
|
362
|
+
_this.selfRender();
|
|
363
|
+
},
|
|
364
|
+
size: "large",
|
|
365
|
+
value: data.hover.backgroundType
|
|
366
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
367
|
+
value: "enlarge"
|
|
368
|
+
}, (0, _locale.i18n)('ENLARGE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
369
|
+
value: "new"
|
|
370
|
+
}, (0, _locale.i18n)('NEW_IMAGE')))), data.hover.backgroundType === 'enlarge' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
371
|
+
title: (0, _locale.i18n)('MAGNIFICATION')
|
|
372
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
373
|
+
inputType: "float",
|
|
374
|
+
maxVal: 3,
|
|
375
|
+
minVal: 1,
|
|
376
|
+
onChange: function onChange(v) {
|
|
377
|
+
data.hover.magnification = v.count;
|
|
378
|
+
|
|
379
|
+
_this.selfRender();
|
|
380
|
+
},
|
|
381
|
+
step: 0.25,
|
|
382
|
+
value: {
|
|
383
|
+
count: data.hover.magnification
|
|
384
|
+
}
|
|
385
|
+
})), data.hover.backgroundType === 'new' && /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
386
|
+
imageSelectedWay: data.hover.imageSelectedWay || {
|
|
387
|
+
pc: '',
|
|
388
|
+
mobile: ''
|
|
389
|
+
},
|
|
390
|
+
onChange: function onChange(v, way) {
|
|
391
|
+
return _this.getImgHoverUrl(v, way);
|
|
392
|
+
},
|
|
393
|
+
value: (0, _coreUtil.isPc)() ? data.hover.pcImgHoverUrl : data.hover.h5ImgHoverUrl
|
|
394
|
+
}));
|
|
395
|
+
|
|
356
396
|
var imageSource = [{
|
|
357
397
|
key: '1',
|
|
358
398
|
name: (0, _locale.i18n)('CONTENT'),
|
|
@@ -360,50 +400,6 @@ function (_super) {
|
|
|
360
400
|
}];
|
|
361
401
|
|
|
362
402
|
if (needHover) {
|
|
363
|
-
console.log('needHover', needHover);
|
|
364
|
-
|
|
365
|
-
var HoverSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
366
|
-
split: data.hover.backgroundType === 'new',
|
|
367
|
-
title: (0, _locale.i18n)('IMAGE')
|
|
368
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
369
|
-
className: "hoverSelect",
|
|
370
|
-
onChange: function onChange(v) {
|
|
371
|
-
data.hover.backgroundType = v;
|
|
372
|
-
|
|
373
|
-
_this.selfRender();
|
|
374
|
-
},
|
|
375
|
-
size: "large",
|
|
376
|
-
value: data.hover.backgroundType
|
|
377
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
378
|
-
value: "enlarge"
|
|
379
|
-
}, (0, _locale.i18n)('ENLARGE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
380
|
-
value: "new"
|
|
381
|
-
}, (0, _locale.i18n)('NEW_IMAGE')))), data.hover.backgroundType === 'enlarge' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
382
|
-
title: (0, _locale.i18n)('MAGNIFICATION')
|
|
383
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
384
|
-
inputType: "float",
|
|
385
|
-
maxVal: 3,
|
|
386
|
-
minVal: 1,
|
|
387
|
-
onChange: function onChange(v) {
|
|
388
|
-
data.hover.magnification = v.count;
|
|
389
|
-
|
|
390
|
-
_this.selfRender();
|
|
391
|
-
},
|
|
392
|
-
step: 0.25,
|
|
393
|
-
value: {
|
|
394
|
-
count: data.hover.magnification
|
|
395
|
-
}
|
|
396
|
-
})), data.hover.backgroundType === 'new' && /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
397
|
-
imageSelectedWay: data.hover.imageSelectedWay || {
|
|
398
|
-
pc: '',
|
|
399
|
-
mobile: ''
|
|
400
|
-
},
|
|
401
|
-
onChange: function onChange(v, way) {
|
|
402
|
-
return _this.getImgHoverUrl(v, way);
|
|
403
|
-
},
|
|
404
|
-
value: (0, _coreUtil.isPc)() ? data.hover.pcImgHoverUrl : data.hover.h5ImgHoverUrl
|
|
405
|
-
}));
|
|
406
|
-
|
|
407
403
|
imageSource.push({
|
|
408
404
|
key: '5',
|
|
409
405
|
name: (0, _locale.i18n)('HOVER'),
|
|
@@ -278,7 +278,7 @@ function (_super) {
|
|
|
278
278
|
showBgColor: true,
|
|
279
279
|
showTextAlign: true,
|
|
280
280
|
value: textData
|
|
281
|
-
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
281
|
+
})), window.magicDesign.outputType != 'html' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
282
282
|
split: true,
|
|
283
283
|
title: "URL"
|
|
284
284
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
package/es/mobx/Frame.js
CHANGED
|
@@ -42,28 +42,13 @@ function () {
|
|
|
42
42
|
onOk: function onOk() {},
|
|
43
43
|
onCancel: function onCancel() {}
|
|
44
44
|
};
|
|
45
|
-
/* 移动端 Modal弹窗 */
|
|
46
|
-
|
|
47
|
-
this.modalState = {
|
|
48
|
-
visible: false,
|
|
49
|
-
hideCancel: true,
|
|
50
|
-
title: '',
|
|
51
|
-
message: '',
|
|
52
|
-
messageImg: '',
|
|
53
|
-
confirmText: 'YES',
|
|
54
|
-
cancelText: 'NO',
|
|
55
|
-
onConfirm: function onConfirm() {},
|
|
56
|
-
onCancel: function onCancel() {}
|
|
57
|
-
};
|
|
58
45
|
this.textModalState = {
|
|
59
46
|
visible: false,
|
|
60
|
-
onOk: function onOk() {}
|
|
61
|
-
close: function close() {}
|
|
47
|
+
onOk: function onOk() {}
|
|
62
48
|
};
|
|
63
49
|
(0, _mobx.makeObservable)(this, {
|
|
64
50
|
confirmState: _mobx.observable,
|
|
65
|
-
textModalState: _mobx.observable
|
|
66
|
-
modalState: _mobx.observable
|
|
51
|
+
textModalState: _mobx.observable
|
|
67
52
|
});
|
|
68
53
|
}
|
|
69
54
|
/** 修改状态 */
|
package/es/mobx/index.js
CHANGED
|
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
store: true,
|
|
8
|
-
frameStore: true
|
|
9
|
-
userState: true
|
|
8
|
+
frameStore: true
|
|
10
9
|
};
|
|
11
|
-
exports.
|
|
10
|
+
exports.store = exports.frameStore = exports["default"] = void 0;
|
|
12
11
|
|
|
13
12
|
var _mobx = require("mobx");
|
|
14
13
|
|
|
@@ -28,8 +27,6 @@ var _Store = require("./Store");
|
|
|
28
27
|
|
|
29
28
|
var _Frame = require("./Frame");
|
|
30
29
|
|
|
31
|
-
var _UserState = require("./UserState");
|
|
32
|
-
|
|
33
30
|
/* 开启严格模式 */
|
|
34
31
|
(0, _mobx.configure)({
|
|
35
32
|
enforceActions: 'observed'
|
|
@@ -38,11 +35,8 @@ var store = new _Store.Store();
|
|
|
38
35
|
exports.store = store;
|
|
39
36
|
var frameStore = new _Frame.Frame();
|
|
40
37
|
exports.frameStore = frameStore;
|
|
41
|
-
var userState = new _UserState.UserState();
|
|
42
|
-
exports.userState = userState;
|
|
43
38
|
var _default = {
|
|
44
39
|
store: store,
|
|
45
|
-
frameStore: frameStore
|
|
46
|
-
userState: userState
|
|
40
|
+
frameStore: frameStore
|
|
47
41
|
};
|
|
48
42
|
exports["default"] = _default;
|
package/es/utils/androidUtil.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.sendToJs = exports.sendToIos = exports.sendToApp = exports.sendToAndroid = exports.iosSendToJs = exports.
|
|
6
|
+
exports.sendToJs = exports.sendToIos = exports.sendToApp = exports.sendToAndroid = exports.iosSendToJs = exports.connectWebViewJavascriptBridge = exports.browserVersion = void 0;
|
|
7
7
|
|
|
8
8
|
// 判断访问终端
|
|
9
9
|
var browserVersion = function browserVersion() {
|
|
@@ -129,17 +129,6 @@ var sendToApp = function sendToApp(params) {
|
|
|
129
129
|
if (AlipayJSBridge) {
|
|
130
130
|
AlipayJSBridge.call('mpaasAction', params);
|
|
131
131
|
}
|
|
132
|
-
}; // 拉起APP登录
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
exports.sendToApp = sendToApp;
|
|
136
|
-
|
|
137
|
-
var goToLoginApp = function goToLoginApp() {
|
|
138
|
-
if (browserVersion().androidApp) {
|
|
139
|
-
window.dito.goToLogin();
|
|
140
|
-
} else if (browserVersion().iosApp) {
|
|
141
|
-
window.dito.goToLogin();
|
|
142
|
-
}
|
|
143
132
|
};
|
|
144
133
|
|
|
145
|
-
exports.
|
|
134
|
+
exports.sendToApp = sendToApp;
|
package/es/utils/businessUtil.js
CHANGED
|
@@ -31,25 +31,9 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
31
31
|
productId = urlObj.productId;
|
|
32
32
|
|
|
33
33
|
switch (type) {
|
|
34
|
-
// 锚点跳转
|
|
35
|
-
case _constants.urlTypeMap.ANCHOR:
|
|
36
|
-
params = {
|
|
37
|
-
action: 'operation',
|
|
38
|
-
params: {
|
|
39
|
-
type: 'ANCHOR',
|
|
40
|
-
data: value
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
break;
|
|
44
34
|
// 商品详情
|
|
45
|
-
|
|
46
35
|
case _constants.urlTypeMap.PRODUCT_DETAIL_PAGE:
|
|
47
|
-
|
|
48
|
-
link = "/product/detail/" + offerId + "?productId=" + (productId !== null && productId !== void 0 ? productId : '');
|
|
49
|
-
} else {
|
|
50
|
-
link = "/product/detail/" + productId;
|
|
51
|
-
}
|
|
52
|
-
|
|
36
|
+
link = "/product/detail/" + offerId + "?productId=" + (productId !== null && productId !== void 0 ? productId : '');
|
|
53
37
|
params = {
|
|
54
38
|
action: 'jump',
|
|
55
39
|
params: {
|
|
@@ -230,12 +214,7 @@ var parseUrl = function parseUrl(url) {
|
|
|
230
214
|
switch (type) {
|
|
231
215
|
// 商品详情
|
|
232
216
|
case _constants.urlType.PRODUCT_DETAIL:
|
|
233
|
-
|
|
234
|
-
link = "/product/detail/" + arg1 + "?productId=" + (arg2 !== null && arg2 !== void 0 ? arg2 : '');
|
|
235
|
-
} else {
|
|
236
|
-
link = "/product/detail/" + arg2;
|
|
237
|
-
}
|
|
238
|
-
|
|
217
|
+
link = "/product/detail/" + arg1 + "?productId=" + (arg2 !== null && arg2 !== void 0 ? arg2 : '');
|
|
239
218
|
params = {
|
|
240
219
|
action: 'jump',
|
|
241
220
|
params: {
|
|
@@ -336,8 +315,7 @@ var parseUrl = function parseUrl(url) {
|
|
|
336
315
|
'/social-commerce/my-cashback': 'CASHBACK',
|
|
337
316
|
'/account/wallet': 'WEBVIEW',
|
|
338
317
|
'/product/GroupBuy': 'GROUP',
|
|
339
|
-
'/search-page': 'SEARCH_PAGE'
|
|
340
|
-
'/main/my-commission': 'WALLET'
|
|
318
|
+
'/search-page': 'SEARCH_PAGE'
|
|
341
319
|
};
|
|
342
320
|
link = url;
|
|
343
321
|
params = {
|