@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
|
@@ -1,148 +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 _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
|
|
13
|
-
|
|
14
|
-
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
15
|
-
|
|
16
|
-
var _common = require("../../../../common");
|
|
17
|
-
|
|
18
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
19
|
-
|
|
20
|
-
var _index = require("../../../../constants/index");
|
|
21
|
-
|
|
22
|
-
var _locale = require("../../../../locale");
|
|
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 OrdersSecondConfig =
|
|
55
|
-
/** @class */
|
|
56
|
-
function (_super) {
|
|
57
|
-
__extends(OrdersSecondConfig, _super);
|
|
58
|
-
|
|
59
|
-
function OrdersSecondConfig() {
|
|
60
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
61
|
-
|
|
62
|
-
_this.state = {};
|
|
63
|
-
|
|
64
|
-
_this.selfRender = function () {
|
|
65
|
-
(0, _coreUtil.renderPreview)();
|
|
66
|
-
|
|
67
|
-
_this.setState({});
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
_this.getContentPanel = function (data) {
|
|
71
|
-
var source = [{
|
|
72
|
-
key: 'secondContent1',
|
|
73
|
-
name: (0, _locale.i18n)('Icon'),
|
|
74
|
-
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
75
|
-
data: data.image
|
|
76
|
-
}),
|
|
77
|
-
metaOption: data.image
|
|
78
|
-
}, {
|
|
79
|
-
key: 'secondContent2',
|
|
80
|
-
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
81
|
-
dangerouslySetInnerHTML: {
|
|
82
|
-
__html: data.title.text
|
|
83
|
-
}
|
|
84
|
-
}),
|
|
85
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
86
|
-
data: data.title
|
|
87
|
-
}),
|
|
88
|
-
metaOption: data.title
|
|
89
|
-
}];
|
|
90
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
91
|
-
headerSize: "middle",
|
|
92
|
-
onRefresh: function onRefresh() {
|
|
93
|
-
return (0, _coreUtil.renderPreview)();
|
|
94
|
-
},
|
|
95
|
-
showActiveColor: true,
|
|
96
|
-
source: source,
|
|
97
|
-
type: "switch"
|
|
98
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
99
|
-
className: "sourceOfAmount"
|
|
100
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
101
|
-
title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
|
|
102
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
103
|
-
onChange: function onChange(v) {
|
|
104
|
-
data.sourceType = v;
|
|
105
|
-
data.title.text = v;
|
|
106
|
-
|
|
107
|
-
_this.selfRender();
|
|
108
|
-
},
|
|
109
|
-
value: data.sourceType
|
|
110
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
111
|
-
value: _index.orderStatusType.PAY
|
|
112
|
-
}, (0, _locale.i18n)('TO_PAY')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
113
|
-
value: _index.orderStatusType.SHIP
|
|
114
|
-
}, (0, _locale.i18n)('TO_SHIP')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
115
|
-
value: _index.orderStatusType.RECEIVE
|
|
116
|
-
}, (0, _locale.i18n)('TO_RECEIVE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
117
|
-
value: _index.orderStatusType.DONE
|
|
118
|
-
}, (0, _locale.i18n)('DONE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
119
|
-
value: _index.orderStatusType.CANCELLED
|
|
120
|
-
}, (0, _locale.i18n)('CANCELLED'))))));
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
return _this;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
OrdersSecondConfig.prototype.render = function () {
|
|
127
|
-
var panelProps = this.props.panelProps;
|
|
128
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
129
|
-
className: "orders_second_conf_wrap"
|
|
130
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
131
|
-
divider: "bold",
|
|
132
|
-
headerSize: "large",
|
|
133
|
-
source: [{
|
|
134
|
-
key: 'secondConfig1',
|
|
135
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
136
|
-
value: this.getContentPanel(panelProps, true)
|
|
137
|
-
}]
|
|
138
|
-
}));
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
OrdersSecondConfig.defaultProps = {
|
|
142
|
-
panelProps: {}
|
|
143
|
-
};
|
|
144
|
-
return OrdersSecondConfig;
|
|
145
|
-
}(_react["default"].Component);
|
|
146
|
-
|
|
147
|
-
var _default = OrdersSecondConfig;
|
|
148
|
-
exports["default"] = _default;
|
package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js
DELETED
|
@@ -1,143 +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 _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
|
|
13
|
-
|
|
14
|
-
var _common = require("../../../../common");
|
|
15
|
-
|
|
16
|
-
var _coreUtil = require("../../../../utils/coreUtil");
|
|
17
|
-
|
|
18
|
-
var _locale = require("../../../../locale");
|
|
19
|
-
|
|
20
|
-
var _index = require("../../../../constants/index");
|
|
21
|
-
|
|
22
|
-
require("./index.less");
|
|
23
|
-
|
|
24
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
-
|
|
26
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
27
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
28
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
29
|
-
__proto__: []
|
|
30
|
-
} instanceof Array && function (d, b) {
|
|
31
|
-
d.__proto__ = b;
|
|
32
|
-
} || function (d, b) {
|
|
33
|
-
for (var p in b) {
|
|
34
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
return _extendStatics(d, b);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
return function (d, b) {
|
|
42
|
-
_extendStatics(d, b);
|
|
43
|
-
|
|
44
|
-
function __() {
|
|
45
|
-
this.constructor = d;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
49
|
-
};
|
|
50
|
-
}();
|
|
51
|
-
|
|
52
|
-
var PersonalInfoSecondConfig =
|
|
53
|
-
/** @class */
|
|
54
|
-
function (_super) {
|
|
55
|
-
__extends(PersonalInfoSecondConfig, _super);
|
|
56
|
-
|
|
57
|
-
function PersonalInfoSecondConfig() {
|
|
58
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
59
|
-
|
|
60
|
-
_this.state = {};
|
|
61
|
-
|
|
62
|
-
_this.selfRender = function () {
|
|
63
|
-
(0, _coreUtil.renderPreview)();
|
|
64
|
-
|
|
65
|
-
_this.setState({});
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
_this.getContentPanel = function (data) {
|
|
69
|
-
var source = [{
|
|
70
|
-
key: 'secondContent1',
|
|
71
|
-
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
72
|
-
dangerouslySetInnerHTML: {
|
|
73
|
-
__html: data.title.text
|
|
74
|
-
}
|
|
75
|
-
}),
|
|
76
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
77
|
-
data: data.title
|
|
78
|
-
}),
|
|
79
|
-
metaOption: data.title
|
|
80
|
-
}, {
|
|
81
|
-
key: 'secondContent2',
|
|
82
|
-
name: (0, _locale.i18n)('Number'),
|
|
83
|
-
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
84
|
-
data: data.number
|
|
85
|
-
}),
|
|
86
|
-
metaOption: data.number
|
|
87
|
-
}];
|
|
88
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
89
|
-
headerSize: "middle",
|
|
90
|
-
onRefresh: function onRefresh() {
|
|
91
|
-
return (0, _coreUtil.renderPreview)();
|
|
92
|
-
},
|
|
93
|
-
showActiveColor: true,
|
|
94
|
-
source: source,
|
|
95
|
-
type: "switch"
|
|
96
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
97
|
-
className: "sourceOfAmount"
|
|
98
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
99
|
-
title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
|
|
100
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
101
|
-
onChange: function onChange(v) {
|
|
102
|
-
data.sourceType = v;
|
|
103
|
-
|
|
104
|
-
_this.selfRender();
|
|
105
|
-
},
|
|
106
|
-
value: data.sourceType
|
|
107
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
108
|
-
value: _index.personalInfoType.WISHLIST
|
|
109
|
-
}, (0, _locale.i18n)('WISHLIST')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
110
|
-
value: _index.personalInfoType.STORES
|
|
111
|
-
}, (0, _locale.i18n)('STORES')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
112
|
-
value: _index.personalInfoType.VOUCHERS
|
|
113
|
-
}, (0, _locale.i18n)('VOUCHERS')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
114
|
-
value: _index.personalInfoType.VIEWED
|
|
115
|
-
}, (0, _locale.i18n)('RECENTLY_VIEWED'))))));
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
return _this;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
PersonalInfoSecondConfig.prototype.render = function () {
|
|
122
|
-
var panelProps = this.props.panelProps;
|
|
123
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
124
|
-
className: "personal_info_second_conf_wrap"
|
|
125
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
126
|
-
divider: "bold",
|
|
127
|
-
headerSize: "large",
|
|
128
|
-
source: [{
|
|
129
|
-
key: 'secondConfig1',
|
|
130
|
-
name: (0, _locale.i18n)('CONTENT'),
|
|
131
|
-
value: this.getContentPanel(panelProps, true)
|
|
132
|
-
}]
|
|
133
|
-
}));
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
PersonalInfoSecondConfig.defaultProps = {
|
|
137
|
-
panelProps: {}
|
|
138
|
-
};
|
|
139
|
-
return PersonalInfoSecondConfig;
|
|
140
|
-
}(_react["default"].Component);
|
|
141
|
-
|
|
142
|
-
var _default = PersonalInfoSecondConfig;
|
|
143
|
-
exports["default"] = _default;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _antd = require("antd");
|
|
13
|
-
|
|
14
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
-
|
|
16
|
-
require("./index.less");
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
-
|
|
22
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
-
|
|
24
|
-
var toneList = ['Concise', 'Formal', 'Youthful', 'Innovative', 'Enticing'];
|
|
25
|
-
|
|
26
|
-
function SearchCondition(_a) {
|
|
27
|
-
var onRef = _a.onRef;
|
|
28
|
-
|
|
29
|
-
var _b = (0, _react.useState)('Concise'),
|
|
30
|
-
tone = _b[0],
|
|
31
|
-
setTone = _b[1];
|
|
32
|
-
|
|
33
|
-
var _c = (0, _react.useState)('30'),
|
|
34
|
-
count = _c[0],
|
|
35
|
-
setCount = _c[1];
|
|
36
|
-
|
|
37
|
-
var _d = (0, _react.useState)(''),
|
|
38
|
-
features = _d[0],
|
|
39
|
-
setFeatures = _d[1];
|
|
40
|
-
|
|
41
|
-
var _e = (0, _react.useState)(''),
|
|
42
|
-
keyDetail = _e[0],
|
|
43
|
-
setKeyDetail = _e[1];
|
|
44
|
-
|
|
45
|
-
(0, _react.useImperativeHandle)(onRef, function () {
|
|
46
|
-
return {
|
|
47
|
-
getValues: function getValues() {
|
|
48
|
-
return {
|
|
49
|
-
tone: tone,
|
|
50
|
-
count: count,
|
|
51
|
-
features: features,
|
|
52
|
-
keyDetail: keyDetail
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
58
|
-
className: "condition_wrap"
|
|
59
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
-
className: "cond_title"
|
|
61
|
-
}, "Detailed description"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
-
className: "cond_item"
|
|
63
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
-
className: "item_label"
|
|
65
|
-
}, "Preferred tone of the description?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
className: "cond_value"
|
|
67
|
-
}, toneList.map(function (name) {
|
|
68
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
69
|
-
className: (0, _classnames["default"])('tone_item', {
|
|
70
|
-
tone_active: tone === name
|
|
71
|
-
}),
|
|
72
|
-
onClick: function onClick() {
|
|
73
|
-
return setTone(name);
|
|
74
|
-
}
|
|
75
|
-
}, name);
|
|
76
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
77
|
-
className: "cond_item"
|
|
78
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
-
className: "item_label"
|
|
80
|
-
}, "Desired word count range?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
|
-
className: "cond_value"
|
|
82
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
83
|
-
allowClear: true,
|
|
84
|
-
defaultValue: "30",
|
|
85
|
-
onChange: function onChange(e) {
|
|
86
|
-
return setCount(e);
|
|
87
|
-
},
|
|
88
|
-
options: [{
|
|
89
|
-
value: '30',
|
|
90
|
-
label: '30'
|
|
91
|
-
}, {
|
|
92
|
-
value: '50',
|
|
93
|
-
label: '50'
|
|
94
|
-
}, {
|
|
95
|
-
value: '70',
|
|
96
|
-
label: '70'
|
|
97
|
-
}],
|
|
98
|
-
style: {
|
|
99
|
-
width: '100%'
|
|
100
|
-
}
|
|
101
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
102
|
-
className: "cond_item"
|
|
103
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
|
-
className: "item_label"
|
|
105
|
-
}, "What are the key features?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
106
|
-
className: "cond_value"
|
|
107
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
108
|
-
onChange: function onChange(e) {
|
|
109
|
-
return setFeatures(e.target.value);
|
|
110
|
-
},
|
|
111
|
-
value: features
|
|
112
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
|
-
className: "cond_item"
|
|
114
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
115
|
-
className: "item_label"
|
|
116
|
-
}, "What key details should be emphasized?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
117
|
-
className: "cond_value"
|
|
118
|
-
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
119
|
-
onChange: function onChange(e) {
|
|
120
|
-
return setKeyDetail(e.target.value);
|
|
121
|
-
},
|
|
122
|
-
value: keyDetail
|
|
123
|
-
}))));
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
var _default = /*#__PURE__*/(0, _react.forwardRef)(SearchCondition);
|
|
127
|
-
|
|
128
|
-
exports["default"] = _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.condition_wrap {
|
|
2
|
-
padding: 12px 12px 0 12px;
|
|
3
|
-
.cond_title {
|
|
4
|
-
font-family: Open Sans;
|
|
5
|
-
font-size: 16px;
|
|
6
|
-
font-weight: 700;
|
|
7
|
-
margin-bottom: 16px;
|
|
8
|
-
}
|
|
9
|
-
.cond_item {
|
|
10
|
-
margin-bottom: 16px;
|
|
11
|
-
.item_label {
|
|
12
|
-
font-family: Open Sans;
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
margin-bottom: 8px;
|
|
16
|
-
}
|
|
17
|
-
.cond_value {
|
|
18
|
-
.tone_item {
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
margin-right: 8px;
|
|
21
|
-
padding: 7px 10px;
|
|
22
|
-
height: 32px;
|
|
23
|
-
border: 1px solid #D2D9E5;
|
|
24
|
-
border-radius: 100px;
|
|
25
|
-
}
|
|
26
|
-
.tone_active {
|
|
27
|
-
background-color: #E9F0FF;
|
|
28
|
-
color: #2F54EB;
|
|
29
|
-
border-color: #D6E4FF;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,77 +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 _UnderlineSelect = _interopRequireDefault(require("../../../../../../../meta-comp/config-panels/TextConfig/UnderlineSelect"));
|
|
11
|
-
|
|
12
|
-
require("./index.less");
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
16
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
17
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
18
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
19
|
-
__proto__: []
|
|
20
|
-
} instanceof Array && function (d, b) {
|
|
21
|
-
d.__proto__ = b;
|
|
22
|
-
} || function (d, b) {
|
|
23
|
-
for (var p in b) {
|
|
24
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return _extendStatics(d, b);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
return function (d, b) {
|
|
32
|
-
_extendStatics(d, b);
|
|
33
|
-
|
|
34
|
-
function __() {
|
|
35
|
-
this.constructor = d;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
39
|
-
};
|
|
40
|
-
}();
|
|
41
|
-
|
|
42
|
-
var UnderlineSelectPicker =
|
|
43
|
-
/** @class */
|
|
44
|
-
function (_super) {
|
|
45
|
-
__extends(UnderlineSelectPicker, _super);
|
|
46
|
-
|
|
47
|
-
function UnderlineSelectPicker() {
|
|
48
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
UnderlineSelectPicker.prototype.render = function () {
|
|
52
|
-
var _a = this.props,
|
|
53
|
-
value = _a.value,
|
|
54
|
-
onChange = _a.onChange;
|
|
55
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
-
className: "align-select-picker-panel"
|
|
57
|
-
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
58
|
-
className: "panel-bg"
|
|
59
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
-
className: "select-modal-content"
|
|
61
|
-
}, /*#__PURE__*/_react["default"].createElement(_UnderlineSelect["default"], {
|
|
62
|
-
onChange: onChange,
|
|
63
|
-
placeholder: "Underline Style",
|
|
64
|
-
repeatCount: 28,
|
|
65
|
-
size: "small",
|
|
66
|
-
style: {
|
|
67
|
-
width: '140px'
|
|
68
|
-
},
|
|
69
|
-
value: value
|
|
70
|
-
}))));
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
return UnderlineSelectPicker;
|
|
74
|
-
}(_react["default"].Component);
|
|
75
|
-
|
|
76
|
-
var _default = UnderlineSelectPicker;
|
|
77
|
-
exports["default"] = _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.align-select-picker-panel {
|
|
2
|
-
z-index: 999;
|
|
3
|
-
position: absolute;
|
|
4
|
-
top: 100%;
|
|
5
|
-
left: 0;
|
|
6
|
-
|
|
7
|
-
.panel-bg {
|
|
8
|
-
position: fixed;
|
|
9
|
-
z-index: 0;
|
|
10
|
-
top: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
right: 0;
|
|
13
|
-
bottom: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.select-modal-content {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
padding: 5px;
|
|
20
|
-
background-color: #fff;
|
|
21
|
-
border: 1px solid #E7E9E8;
|
|
22
|
-
box-shadow: 0 8px 16px 4px hsla(0, 0%, 0%, 0.04);
|
|
23
|
-
color: #262626;
|
|
24
|
-
border-radius: 6px;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,40 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default(_a) {
|
|
13
|
-
var onChange = _a.onChange;
|
|
14
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
-
fill: "none",
|
|
16
|
-
height: "10",
|
|
17
|
-
id: "ne-t-alignment-center",
|
|
18
|
-
onClick: onChange,
|
|
19
|
-
viewBox: "0 0 15 10",
|
|
20
|
-
width: "15",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
23
|
-
clipRule: "evenodd",
|
|
24
|
-
d: "M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H13.375C13.7892 0.25 14.125 0.585786 14.125 1C14.125 1.41421 13.7892 1.75 13.375 1.75H1C0.585786 1.75 0.25 1.41421 0.25 1Z",
|
|
25
|
-
fill: "#232F46",
|
|
26
|
-
fillRule: "evenodd"
|
|
27
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
28
|
-
clipRule: "evenodd",
|
|
29
|
-
d: "M0.25 4.9375C0.25 4.52329 0.585786 4.1875 1 4.1875H13.375C13.7892 4.1875 14.125 4.52329 14.125 4.9375C14.125 5.35171 13.7892 5.6875 13.375 5.6875H1C0.585786 5.6875 0.25 5.35171 0.25 4.9375Z",
|
|
30
|
-
fill: "#232F46",
|
|
31
|
-
fillRule: "evenodd"
|
|
32
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M0.25 8.875C0.25 8.46079 0.585786 8.125 1 8.125H13.375C13.7892 8.125 14.125 8.46079 14.125 8.875C14.125 9.28921 13.7892 9.625 13.375 9.625H1C0.585786 9.625 0.25 9.28921 0.25 8.875Z",
|
|
35
|
-
fill: "#232F46",
|
|
36
|
-
fillRule: "evenodd"
|
|
37
|
-
}));
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
exports["default"] = _default;
|
|
@@ -1,40 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default(_a) {
|
|
13
|
-
var onChange = _a.onChange;
|
|
14
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
15
|
-
fill: "none",
|
|
16
|
-
height: "10",
|
|
17
|
-
id: "ne-t-alignment-left",
|
|
18
|
-
onClick: onChange,
|
|
19
|
-
viewBox: "0 0 15 10",
|
|
20
|
-
width: "15",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
23
|
-
clipRule: "evenodd",
|
|
24
|
-
d: "M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H10C10.4142 0.25 10.75 0.585786 10.75 1C10.75 1.41421 10.4142 1.75 10 1.75H1C0.585786 1.75 0.25 1.41421 0.25 1Z",
|
|
25
|
-
fill: "#232F46",
|
|
26
|
-
fillRule: "evenodd"
|
|
27
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
28
|
-
clipRule: "evenodd",
|
|
29
|
-
d: "M0.25 4.9375C0.25 4.52329 0.585786 4.1875 1 4.1875H13.375C13.7892 4.1875 14.125 4.52329 14.125 4.9375C14.125 5.35171 13.7892 5.6875 13.375 5.6875H1C0.585786 5.6875 0.25 5.35171 0.25 4.9375Z",
|
|
30
|
-
fill: "#232F46",
|
|
31
|
-
fillRule: "evenodd"
|
|
32
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M0.25 8.875C0.25 8.46079 0.585786 8.125 1 8.125H10C10.4142 8.125 10.75 8.46079 10.75 8.875C10.75 9.28921 10.4142 9.625 10 9.625H1C0.585786 9.625 0.25 9.28921 0.25 8.875Z",
|
|
35
|
-
fill: "#232F46",
|
|
36
|
-
fillRule: "evenodd"
|
|
37
|
-
}));
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
exports["default"] = _default;
|