@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/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _locale = require("../../../../locale");
|
|
11
|
-
|
|
12
|
-
var _common = require("../../../../common");
|
|
13
|
-
|
|
14
|
-
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
15
|
-
|
|
16
|
-
var _ButtonConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ButtonConfig"));
|
|
17
|
-
|
|
18
|
-
var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
|
|
19
|
-
|
|
20
|
-
var _BaseConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/BaseConfig"));
|
|
21
|
-
|
|
22
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
23
|
-
|
|
24
|
-
require("./index.less");
|
|
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 RecommendSecondConfig =
|
|
71
|
-
/** @class */
|
|
72
|
-
function (_super) {
|
|
73
|
-
__extends(RecommendSecondConfig, _super);
|
|
74
|
-
|
|
75
|
-
function RecommendSecondConfig() {
|
|
76
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
|
|
78
|
-
_this.state = {};
|
|
79
|
-
|
|
80
|
-
_this.hasSource = function (type) {
|
|
81
|
-
if (!window.systemParams || !window.systemParams.recommendSource) {
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
if (window.systemParams.recommendSource && window.systemParams.recommendSource.includes(type)) {
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return false;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
_this.getContentPanel = function () {
|
|
93
|
-
var panelProps = _this.props.panelProps;
|
|
94
|
-
|
|
95
|
-
var productSource = /*#__PURE__*/_react["default"].createElement("div", {
|
|
96
|
-
className: "sourceOfProduct"
|
|
97
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
98
|
-
title: (0, _locale.i18n)('SOURCE_OF_PRODUCT')
|
|
99
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
|
-
className: "greyBg"
|
|
101
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.ProductSource, {
|
|
102
|
-
isAffiliate: true,
|
|
103
|
-
onChange: function onChange(v) {
|
|
104
|
-
panelProps.prodIds = v;
|
|
105
|
-
|
|
106
|
-
_this.selfRender();
|
|
107
|
-
},
|
|
108
|
-
value: panelProps.prodIds
|
|
109
|
-
})));
|
|
110
|
-
|
|
111
|
-
var defaultSource = [{
|
|
112
|
-
key: 'defaultSource_1',
|
|
113
|
-
name: (0, _locale.i18n)('IMAGE'),
|
|
114
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
115
|
-
data: panelProps.image
|
|
116
|
-
}),
|
|
117
|
-
metaOption: panelProps.image
|
|
118
|
-
}, {
|
|
119
|
-
key: 'defaultSource_2',
|
|
120
|
-
name: (0, _locale.i18n)('GROUP_NAME'),
|
|
121
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
122
|
-
data: panelProps.groupName
|
|
123
|
-
}),
|
|
124
|
-
metaOption: panelProps.groupName
|
|
125
|
-
}, {
|
|
126
|
-
key: 'defaultSource_3',
|
|
127
|
-
name: (0, _locale.i18n)('SEE_ALL'),
|
|
128
|
-
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
129
|
-
data: panelProps.seeAll
|
|
130
|
-
}),
|
|
131
|
-
metaOption: panelProps.seeAll
|
|
132
|
-
}];
|
|
133
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
134
|
-
headerSize: "middle",
|
|
135
|
-
onRefresh: function onRefresh() {
|
|
136
|
-
return (0, _coreUtil.renderPreview)();
|
|
137
|
-
},
|
|
138
|
-
showActiveColor: true,
|
|
139
|
-
source: defaultSource,
|
|
140
|
-
type: "switch"
|
|
141
|
-
}), productSource);
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
_this.resetHover = function () {
|
|
145
|
-
var panelProps = _this.props.panelProps;
|
|
146
|
-
|
|
147
|
-
if (panelProps.hover.open) {
|
|
148
|
-
panelProps.hover.image = __assign(__assign({}, panelProps.hover.image), JSON.parse(JSON.stringify(panelProps.image)));
|
|
149
|
-
panelProps.hover.groupName = __assign(__assign({}, panelProps.hover.groupName), JSON.parse(JSON.stringify(panelProps.groupName)));
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
return _this;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
RecommendSecondConfig.prototype.render = function () {
|
|
157
|
-
var _this = this;
|
|
158
|
-
|
|
159
|
-
var panelProps = this.props.panelProps;
|
|
160
|
-
|
|
161
|
-
var hoverPanel = /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
162
|
-
divider: "dashed",
|
|
163
|
-
noChange: true,
|
|
164
|
-
onRefresh: function onRefresh() {
|
|
165
|
-
return (0, _coreUtil.renderPreview)();
|
|
166
|
-
},
|
|
167
|
-
source: [{
|
|
168
|
-
key: 'hoverSetting_1',
|
|
169
|
-
name: (0, _locale.i18n)('IMAGE'),
|
|
170
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
171
|
-
data: panelProps.hover.image
|
|
172
|
-
}),
|
|
173
|
-
metaOption: panelProps.hover.image
|
|
174
|
-
}, {
|
|
175
|
-
key: 'hoverSetting_2',
|
|
176
|
-
name: (0, _locale.i18n)('GROUP_NAME'),
|
|
177
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
178
|
-
data: panelProps.hover.groupName
|
|
179
|
-
}),
|
|
180
|
-
metaOption: panelProps.hover.groupName
|
|
181
|
-
}],
|
|
182
|
-
type: "switch"
|
|
183
|
-
});
|
|
184
|
-
|
|
185
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
186
|
-
className: "recommend_second_conf_wrap"
|
|
187
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
188
|
-
divider: "bold",
|
|
189
|
-
headerSize: "large",
|
|
190
|
-
onRefresh: function onRefresh() {
|
|
191
|
-
return _this.resetHover();
|
|
192
|
-
},
|
|
193
|
-
source: [{
|
|
194
|
-
key: '1',
|
|
195
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
196
|
-
value: this.getContentPanel()
|
|
197
|
-
}, {
|
|
198
|
-
key: '2',
|
|
199
|
-
name: (0, _locale.i18n)('HOVER'),
|
|
200
|
-
value: hoverPanel,
|
|
201
|
-
metaOption: panelProps.hover,
|
|
202
|
-
toggleType: 'checkbox'
|
|
203
|
-
}]
|
|
204
|
-
}));
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
RecommendSecondConfig.defaultProps = {
|
|
208
|
-
panelProps: {}
|
|
209
|
-
};
|
|
210
|
-
return RecommendSecondConfig;
|
|
211
|
-
}(_BaseConfig["default"]);
|
|
212
|
-
|
|
213
|
-
var _default = RecommendSecondConfig;
|
|
214
|
-
exports["default"] = _default;
|
|
@@ -1,122 +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 _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
|
|
11
|
-
|
|
12
|
-
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
13
|
-
|
|
14
|
-
var _common = require("../../../../common");
|
|
15
|
-
|
|
16
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
17
|
-
|
|
18
|
-
var _locale = require("../../../../locale");
|
|
19
|
-
|
|
20
|
-
require("./index.less");
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
-
__proto__: []
|
|
28
|
-
} instanceof Array && function (d, b) {
|
|
29
|
-
d.__proto__ = b;
|
|
30
|
-
} || function (d, b) {
|
|
31
|
-
for (var p in b) {
|
|
32
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
return _extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return function (d, b) {
|
|
40
|
-
_extendStatics(d, b);
|
|
41
|
-
|
|
42
|
-
function __() {
|
|
43
|
-
this.constructor = d;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
-
};
|
|
48
|
-
}();
|
|
49
|
-
|
|
50
|
-
var CommonFunctionsSecondConfig =
|
|
51
|
-
/** @class */
|
|
52
|
-
function (_super) {
|
|
53
|
-
__extends(CommonFunctionsSecondConfig, _super);
|
|
54
|
-
|
|
55
|
-
function CommonFunctionsSecondConfig() {
|
|
56
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
-
|
|
58
|
-
_this.state = {};
|
|
59
|
-
|
|
60
|
-
_this.selfRender = function () {
|
|
61
|
-
(0, _coreUtil.renderPreview)();
|
|
62
|
-
|
|
63
|
-
_this.setState({});
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
_this.getContentPanel = function (data) {
|
|
67
|
-
var source = [{
|
|
68
|
-
key: 'secondContent1',
|
|
69
|
-
name: (0, _locale.i18n)('Icon'),
|
|
70
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
71
|
-
data: data.image
|
|
72
|
-
}),
|
|
73
|
-
metaOption: data.image
|
|
74
|
-
}, {
|
|
75
|
-
key: 'secondContent2',
|
|
76
|
-
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
77
|
-
dangerouslySetInnerHTML: {
|
|
78
|
-
__html: data.title.text
|
|
79
|
-
}
|
|
80
|
-
}),
|
|
81
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
82
|
-
data: data.title
|
|
83
|
-
}),
|
|
84
|
-
metaOption: data.title
|
|
85
|
-
}];
|
|
86
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
87
|
-
headerSize: "middle",
|
|
88
|
-
onRefresh: function onRefresh() {
|
|
89
|
-
return (0, _coreUtil.renderPreview)();
|
|
90
|
-
},
|
|
91
|
-
showActiveColor: true,
|
|
92
|
-
source: source,
|
|
93
|
-
type: "switch"
|
|
94
|
-
}));
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
return _this;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
CommonFunctionsSecondConfig.prototype.render = function () {
|
|
101
|
-
var panelProps = this.props.panelProps;
|
|
102
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
-
className: "common_functions_second_conf_wrap"
|
|
104
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
105
|
-
divider: "bold",
|
|
106
|
-
headerSize: "large",
|
|
107
|
-
source: [{
|
|
108
|
-
key: 'secondConfig1',
|
|
109
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
110
|
-
value: this.getContentPanel(panelProps, true)
|
|
111
|
-
}]
|
|
112
|
-
}));
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
CommonFunctionsSecondConfig.defaultProps = {
|
|
116
|
-
panelProps: {}
|
|
117
|
-
};
|
|
118
|
-
return CommonFunctionsSecondConfig;
|
|
119
|
-
}(_react["default"].Component);
|
|
120
|
-
|
|
121
|
-
var _default = CommonFunctionsSecondConfig;
|
|
122
|
-
exports["default"] = _default;
|
|
File without changes
|
|
@@ -1,127 +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 _antd = require("antd");
|
|
11
|
-
|
|
12
|
-
var _locale = require("../../../../locale");
|
|
13
|
-
|
|
14
|
-
var _common = require("../../../../common");
|
|
15
|
-
|
|
16
|
-
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
17
|
-
|
|
18
|
-
var _BaseConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/BaseConfig"));
|
|
19
|
-
|
|
20
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
-
__proto__: []
|
|
28
|
-
} instanceof Array && function (d, b) {
|
|
29
|
-
d.__proto__ = b;
|
|
30
|
-
} || function (d, b) {
|
|
31
|
-
for (var p in b) {
|
|
32
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
return _extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return function (d, b) {
|
|
40
|
-
_extendStatics(d, b);
|
|
41
|
-
|
|
42
|
-
function __() {
|
|
43
|
-
this.constructor = d;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
-
};
|
|
48
|
-
}();
|
|
49
|
-
|
|
50
|
-
var WalletSecondConfig =
|
|
51
|
-
/** @class */
|
|
52
|
-
function (_super) {
|
|
53
|
-
__extends(WalletSecondConfig, _super);
|
|
54
|
-
|
|
55
|
-
function WalletSecondConfig() {
|
|
56
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
-
|
|
58
|
-
_this.state = {};
|
|
59
|
-
|
|
60
|
-
_this.reRender = function () {
|
|
61
|
-
(0, _coreUtil.renderPreview)();
|
|
62
|
-
|
|
63
|
-
_this.setState({});
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
_this.getContentPanel = function () {
|
|
67
|
-
var panelProps = _this.props.panelProps;
|
|
68
|
-
var defaultSource = [{
|
|
69
|
-
key: panelProps.image.id,
|
|
70
|
-
name: (0, _locale.i18n)('IMAGE'),
|
|
71
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
72
|
-
data: panelProps.image,
|
|
73
|
-
needHover: false,
|
|
74
|
-
onlySpecificCode: "FunctionPage"
|
|
75
|
-
}),
|
|
76
|
-
metaOption: panelProps.image
|
|
77
|
-
}];
|
|
78
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
79
|
-
title: (0, _locale.i18n)('NAME')
|
|
80
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
81
|
-
className: "inputStyle",
|
|
82
|
-
onChange: function onChange(e) {
|
|
83
|
-
panelProps.type = e.target.value;
|
|
84
|
-
|
|
85
|
-
_this.setState({});
|
|
86
|
-
},
|
|
87
|
-
placeholder: (0, _locale.i18n)('PLEASE_INPUT'),
|
|
88
|
-
size: "middle",
|
|
89
|
-
value: panelProps.type
|
|
90
|
-
})), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
91
|
-
divider: "dashed",
|
|
92
|
-
headerSize: "middle",
|
|
93
|
-
onRefresh: function onRefresh() {
|
|
94
|
-
return (0, _coreUtil.renderPreview)();
|
|
95
|
-
},
|
|
96
|
-
showActiveColor: true,
|
|
97
|
-
source: defaultSource,
|
|
98
|
-
type: "switch"
|
|
99
|
-
}));
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
return _this;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
WalletSecondConfig.prototype.render = function () {
|
|
106
|
-
var panelProps = this.props.panelProps;
|
|
107
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
-
className: "Wallet_second_conf_wrap"
|
|
109
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
110
|
-
divider: "bold",
|
|
111
|
-
headerSize: "large",
|
|
112
|
-
source: [{
|
|
113
|
-
key: panelProps.id || 'walletNuriContent',
|
|
114
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
115
|
-
value: this.getContentPanel()
|
|
116
|
-
}]
|
|
117
|
-
}));
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
WalletSecondConfig.defaultProps = {
|
|
121
|
-
panelProps: {}
|
|
122
|
-
};
|
|
123
|
-
return WalletSecondConfig;
|
|
124
|
-
}(_BaseConfig["default"]);
|
|
125
|
-
|
|
126
|
-
var _default = WalletSecondConfig;
|
|
127
|
-
exports["default"] = _default;
|
|
@@ -1,127 +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 _antd = require("antd");
|
|
11
|
-
|
|
12
|
-
var _locale = require("../../../../locale");
|
|
13
|
-
|
|
14
|
-
var _common = require("../../../../common");
|
|
15
|
-
|
|
16
|
-
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
17
|
-
|
|
18
|
-
var _BaseConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/BaseConfig"));
|
|
19
|
-
|
|
20
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
-
__proto__: []
|
|
28
|
-
} instanceof Array && function (d, b) {
|
|
29
|
-
d.__proto__ = b;
|
|
30
|
-
} || function (d, b) {
|
|
31
|
-
for (var p in b) {
|
|
32
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
return _extendStatics(d, b);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return function (d, b) {
|
|
40
|
-
_extendStatics(d, b);
|
|
41
|
-
|
|
42
|
-
function __() {
|
|
43
|
-
this.constructor = d;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
-
};
|
|
48
|
-
}();
|
|
49
|
-
|
|
50
|
-
var WalletSecondConfig =
|
|
51
|
-
/** @class */
|
|
52
|
-
function (_super) {
|
|
53
|
-
__extends(WalletSecondConfig, _super);
|
|
54
|
-
|
|
55
|
-
function WalletSecondConfig() {
|
|
56
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
-
|
|
58
|
-
_this.state = {};
|
|
59
|
-
|
|
60
|
-
_this.reRender = function () {
|
|
61
|
-
(0, _coreUtil.renderPreview)();
|
|
62
|
-
|
|
63
|
-
_this.setState({});
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
_this.getContentPanel = function () {
|
|
67
|
-
var panelProps = _this.props.panelProps;
|
|
68
|
-
var defaultSource = [{
|
|
69
|
-
key: panelProps.image.id,
|
|
70
|
-
name: (0, _locale.i18n)('IMAGE'),
|
|
71
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
72
|
-
data: panelProps.image,
|
|
73
|
-
needClickArea: false,
|
|
74
|
-
onlySpecificCode: "FunctionPage"
|
|
75
|
-
}),
|
|
76
|
-
metaOption: panelProps.image
|
|
77
|
-
}];
|
|
78
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
79
|
-
title: (0, _locale.i18n)('NAME')
|
|
80
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
81
|
-
className: "inputStyle",
|
|
82
|
-
onChange: function onChange(e) {
|
|
83
|
-
panelProps.type = e.target.value;
|
|
84
|
-
|
|
85
|
-
_this.setState({});
|
|
86
|
-
},
|
|
87
|
-
placeholder: (0, _locale.i18n)('PLEASE_INPUT'),
|
|
88
|
-
size: "middle",
|
|
89
|
-
value: panelProps.type
|
|
90
|
-
})), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
91
|
-
divider: "dashed",
|
|
92
|
-
headerSize: "middle",
|
|
93
|
-
onRefresh: function onRefresh() {
|
|
94
|
-
return (0, _coreUtil.renderPreview)();
|
|
95
|
-
},
|
|
96
|
-
showActiveColor: true,
|
|
97
|
-
source: defaultSource,
|
|
98
|
-
type: "switch"
|
|
99
|
-
}));
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
return _this;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
WalletSecondConfig.prototype.render = function () {
|
|
106
|
-
var panelProps = this.props.panelProps;
|
|
107
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
-
className: "Wallet_second_conf_wrap"
|
|
109
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
110
|
-
divider: "bold",
|
|
111
|
-
headerSize: "large",
|
|
112
|
-
source: [{
|
|
113
|
-
key: panelProps.id || 'walletNuriContent',
|
|
114
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
115
|
-
value: this.getContentPanel()
|
|
116
|
-
}]
|
|
117
|
-
}));
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
WalletSecondConfig.defaultProps = {
|
|
121
|
-
panelProps: {}
|
|
122
|
-
};
|
|
123
|
-
return WalletSecondConfig;
|
|
124
|
-
}(_BaseConfig["default"]);
|
|
125
|
-
|
|
126
|
-
var _default = WalletSecondConfig;
|
|
127
|
-
exports["default"] = _default;
|