@fonixtree/magic-design 0.1.77 → 0.1.79
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/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/fonts/magic-box-iconfont.css +51 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +51 -3
- 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 +36 -2
- package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
- package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/images/layout-icon/walletLayout2.png +0 -0
- package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/es/assets/less/cylon-antd.less +7246 -1686
- package/es/assets/less/font.less +22 -0
- package/es/assets/less/modal.less +1 -1
- package/es/common/AffiliateProductModal/index.js +582 -0
- package/es/common/AffiliateProductModal/index.less +146 -0
- package/es/common/CardCarousel/index.js +171 -0
- package/es/common/CardCarousel/index.less +28 -0
- package/es/common/ColorPicker/index.js +4 -1
- package/es/common/Field/index.js +20 -3
- package/es/common/GroupList/index.less +3 -0
- package/es/common/ImageLazy/index.js +172 -0
- package/es/common/ImageLazy/index.less +0 -0
- package/es/common/ImagePicker/index.js +50 -7
- package/es/common/ImagePicker/index.less +1 -0
- package/es/common/LinkModal/BundleCampaign/index.js +2 -2
- package/es/common/LinkModal/CatgTable/index.js +1 -1
- package/es/common/LinkModal/CouponTable/index.js +10 -2
- package/es/common/LinkModal/FilteredProductModal/index.js +13 -10
- package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
- package/es/common/LinkModal/FunctionTable/index.js +2 -1
- package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/es/common/LinkModal/index.js +15 -3
- package/es/common/MyModal/index.js +417 -0
- package/es/common/MyModal/index.less +74 -0
- package/es/common/ProductModal/index.js +27 -35
- package/es/common/ProductSource/index.js +42 -10
- package/es/common/UrlPicker/index.js +3 -1
- package/es/common/Video/index.js +11 -3
- package/es/common/Video/index.less +11 -7
- package/es/common/index.js +16 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +9 -0
- package/es/composite-comp/bol/components/Carousel/index.js +27 -3
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
- package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
- package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/es/composite-comp/bol/components/ImageText/pc/index.js +97 -5
- package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/es/composite-comp/bol/components/Location/index.js +100 -0
- package/es/composite-comp/bol/components/Location/index.less +15 -0
- package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
- package/es/composite-comp/bol/components/Video/index.js +1 -2
- package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
- package/es/composite-comp/bol/components/Wallet/index.js +11 -15
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
- package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
- package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
- package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
- package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
- 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 +61 -0
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
- package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
- package/es/composite-comp/common/components/ImageLabel/index.less +9 -3
- package/es/composite-comp/common/components/ProductItem/index.js +32 -20
- package/es/composite-comp/common/components/ProductItem/index.less +43 -19
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
- package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
- package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
- package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
- package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
- package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
- package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
- package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
- package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
- package/es/composite-comp/dito/components/Recommend/pc/index.js +14 -12
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
- package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
- package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
- package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
- package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
- package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
- package/es/constants/component-types.js +35 -3
- package/es/constants/index.js +36 -2
- package/es/constants/layout.js +68 -1
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
- package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
- package/es/core/Designer/AiImageGenerator/index.js +364 -63
- package/es/core/Designer/AiImageGenerator/index.less +70 -46
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
- package/es/core/Designer/ChatRobot/index.js +84 -25
- package/es/core/Designer/ChatRobot/index.less +80 -28
- package/es/core/Designer/ConfigPanel/index.js +10 -4
- package/es/core/Designer/FonixtreeGpt/index.js +32 -171
- package/es/core/Designer/History/index.js +2 -2
- package/es/core/Designer/LeftTitle/index.js +1 -1
- package/es/core/Designer/PageCompList/index.js +8 -5
- package/es/core/Designer/QuickMenuBar/index.js +5 -3
- package/es/core/Designer/QuickMenuBar/index.less +4 -0
- package/es/core/Designer/RenderHtml/index.js +18 -15
- package/es/core/Designer/RenderHtml/index.less +1 -1
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/es/core/Designer/ToolBarModal/index.js +412 -0
- package/es/core/Designer/ToolBarModal/index.less +33 -0
- package/es/core/Designer/index.js +45 -11
- package/es/core/Renderer/index.js +75 -29
- package/es/decorator/compositeDecorator.js +23 -0
- package/es/decorator/index.js +38 -1
- package/es/decorator/lazyLoadDecorator.js +75 -0
- package/es/locale/en/en.json +12 -2
- package/es/locale/es/es.json +12 -2
- package/es/locale/id/id.json +12 -2
- package/es/meta-comp/components/Button/index.js +7 -0
- package/es/meta-comp/components/Image/index.js +48 -26
- package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/es/meta-comp/components/Text/index.js +123 -366
- package/es/meta-comp/components/Text/index.less +65 -0
- package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
- package/es/meta-comp/config-panels/ImageConfig/index.js +50 -44
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/es/mobx/Frame.js +22 -1
- package/es/utils/androidUtil.js +6 -0
- package/es/utils/businessUtil.js +17 -6
- package/es/utils/commonUtil.js +87 -9
- package/es/utils/coreUtil.js +15 -0
- package/es/utils/currencyUtil.js +37 -11
- 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/fonts/magic-box-iconfont.css +51 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +51 -3
- 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 +36 -2
- package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
- package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
- package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
- package/lib/assets/less/cylon-antd.less +7246 -1686
- package/lib/assets/less/font.less +22 -0
- package/lib/assets/less/modal.less +1 -1
- package/lib/common/AffiliateProductModal/index.js +582 -0
- package/lib/common/AffiliateProductModal/index.less +146 -0
- package/lib/common/CardCarousel/index.js +171 -0
- package/lib/common/CardCarousel/index.less +28 -0
- package/lib/common/ColorPicker/index.js +4 -1
- package/lib/common/Field/index.js +20 -3
- package/lib/common/GroupList/index.less +3 -0
- package/lib/common/ImageLazy/index.js +172 -0
- package/lib/common/ImageLazy/index.less +0 -0
- package/lib/common/ImagePicker/index.js +50 -7
- package/lib/common/ImagePicker/index.less +1 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
- package/lib/common/LinkModal/CatgTable/index.js +1 -1
- package/lib/common/LinkModal/CouponTable/index.js +10 -2
- package/lib/common/LinkModal/FilteredProductModal/index.js +13 -10
- package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
- package/lib/common/LinkModal/FunctionTable/index.js +2 -1
- package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/lib/common/LinkModal/index.js +15 -3
- package/lib/common/MyModal/index.js +417 -0
- package/lib/common/MyModal/index.less +74 -0
- package/lib/common/ProductModal/index.js +27 -35
- package/lib/common/ProductSource/index.js +42 -10
- package/lib/common/UrlPicker/index.js +3 -1
- package/lib/common/Video/index.js +11 -3
- package/lib/common/Video/index.less +11 -7
- package/lib/common/index.js +16 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +9 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
- package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +97 -5
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/lib/composite-comp/bol/components/Location/index.js +100 -0
- package/lib/composite-comp/bol/components/Location/index.less +15 -0
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
- package/lib/composite-comp/bol/components/Video/index.js +1 -2
- package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
- package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
- package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
- package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
- package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
- 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 +61 -0
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
- package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
- package/lib/composite-comp/common/components/ImageLabel/index.less +9 -3
- package/lib/composite-comp/common/components/ProductItem/index.js +32 -20
- package/lib/composite-comp/common/components/ProductItem/index.less +43 -19
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
- package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
- package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
- package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
- package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
- package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +14 -12
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
- package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
- package/lib/constants/component-types.js +35 -3
- package/lib/constants/index.js +36 -2
- package/lib/constants/layout.js +68 -1
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
- package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
- package/lib/core/Designer/AiImageGenerator/index.js +364 -63
- package/lib/core/Designer/AiImageGenerator/index.less +70 -46
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
- package/lib/core/Designer/ChatRobot/index.js +84 -25
- package/lib/core/Designer/ChatRobot/index.less +80 -28
- package/lib/core/Designer/ConfigPanel/index.js +10 -4
- package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
- package/lib/core/Designer/History/index.js +2 -2
- package/lib/core/Designer/LeftTitle/index.js +1 -1
- package/lib/core/Designer/PageCompList/index.js +8 -5
- package/lib/core/Designer/QuickMenuBar/index.js +5 -3
- package/lib/core/Designer/QuickMenuBar/index.less +4 -0
- package/lib/core/Designer/RenderHtml/index.js +18 -15
- package/lib/core/Designer/RenderHtml/index.less +1 -1
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/lib/core/Designer/ToolBarModal/index.js +412 -0
- package/lib/core/Designer/ToolBarModal/index.less +33 -0
- package/lib/core/Designer/index.js +45 -11
- package/lib/core/Renderer/index.js +75 -29
- package/lib/decorator/compositeDecorator.js +23 -0
- package/lib/decorator/index.js +38 -1
- package/lib/decorator/lazyLoadDecorator.js +75 -0
- package/lib/locale/en/en.json +12 -2
- package/lib/locale/es/es.json +12 -2
- package/lib/locale/id/id.json +12 -2
- package/lib/meta-comp/components/Button/index.js +7 -0
- package/lib/meta-comp/components/Image/index.js +48 -26
- package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/lib/meta-comp/components/Text/index.js +123 -366
- package/lib/meta-comp/components/Text/index.less +65 -0
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
- package/lib/meta-comp/config-panels/ImageConfig/index.js +50 -44
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/lib/mobx/Frame.js +22 -1
- package/lib/utils/androidUtil.js +6 -0
- package/lib/utils/businessUtil.js +17 -6
- package/lib/utils/commonUtil.js +87 -9
- package/lib/utils/coreUtil.js +15 -0
- package/lib/utils/currencyUtil.js +37 -11
- package/package.json +5 -2
|
@@ -0,0 +1,110 @@
|
|
|
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"] = SearchCondition;
|
|
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() {
|
|
27
|
+
var _a = (0, _react.useState)('Concise'),
|
|
28
|
+
tone = _a[0],
|
|
29
|
+
setTone = _a[1];
|
|
30
|
+
|
|
31
|
+
var _b = (0, _react.useState)('30'),
|
|
32
|
+
count = _b[0],
|
|
33
|
+
setCount = _b[1];
|
|
34
|
+
|
|
35
|
+
var _c = (0, _react.useState)(''),
|
|
36
|
+
features = _c[0],
|
|
37
|
+
setFeatures = _c[1];
|
|
38
|
+
|
|
39
|
+
var _d = (0, _react.useState)(''),
|
|
40
|
+
key = _d[0],
|
|
41
|
+
setKey = _d[1];
|
|
42
|
+
|
|
43
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
|
+
className: "condition_wrap"
|
|
45
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
46
|
+
className: "cond_title"
|
|
47
|
+
}, "Detailed description"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
48
|
+
className: "cond_item"
|
|
49
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
+
className: "item_label"
|
|
51
|
+
}, "Preferred tone of the description?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
52
|
+
className: "cond_value"
|
|
53
|
+
}, toneList.map(function (name) {
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
55
|
+
className: (0, _classnames["default"])('tone_item', {
|
|
56
|
+
tone_active: tone === name
|
|
57
|
+
}),
|
|
58
|
+
onClick: function onClick() {
|
|
59
|
+
return setTone(name);
|
|
60
|
+
}
|
|
61
|
+
}, name);
|
|
62
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
63
|
+
className: "cond_item"
|
|
64
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: "item_label"
|
|
66
|
+
}, "Desired word count range?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
+
className: "cond_value"
|
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
69
|
+
allowClear: true,
|
|
70
|
+
defaultValue: "30",
|
|
71
|
+
onChange: function onChange(e) {
|
|
72
|
+
return setCount(e);
|
|
73
|
+
},
|
|
74
|
+
options: [{
|
|
75
|
+
value: '30',
|
|
76
|
+
label: '30'
|
|
77
|
+
}, {
|
|
78
|
+
value: '50',
|
|
79
|
+
label: '50'
|
|
80
|
+
}, {
|
|
81
|
+
value: '70',
|
|
82
|
+
label: '70'
|
|
83
|
+
}],
|
|
84
|
+
style: {
|
|
85
|
+
width: '100%'
|
|
86
|
+
}
|
|
87
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
88
|
+
className: "cond_item"
|
|
89
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
90
|
+
className: "item_label"
|
|
91
|
+
}, "What are the key features?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
92
|
+
className: "cond_value"
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
94
|
+
onChange: function onChange(e) {
|
|
95
|
+
return setFeatures(e.target.value);
|
|
96
|
+
},
|
|
97
|
+
value: features
|
|
98
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
99
|
+
className: "cond_item"
|
|
100
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
|
+
className: "item_label"
|
|
102
|
+
}, "What key details should be emphasized?"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
+
className: "cond_value"
|
|
104
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
105
|
+
onChange: function onChange(e) {
|
|
106
|
+
return setKey(e.target.value);
|
|
107
|
+
},
|
|
108
|
+
value: key
|
|
109
|
+
}))));
|
|
110
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -11,18 +11,20 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _antd = require("antd");
|
|
13
13
|
|
|
14
|
-
var _marked = require("marked");
|
|
15
|
-
|
|
16
14
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
15
|
|
|
18
16
|
var _CopyBtn = _interopRequireDefault(require("./components/CopyBtn"));
|
|
19
17
|
|
|
20
|
-
var
|
|
18
|
+
var _SearchCondition = _interopRequireDefault(require("./components/SearchCondition"));
|
|
21
19
|
|
|
22
|
-
var
|
|
20
|
+
var _common = require("../../../common");
|
|
23
21
|
|
|
24
22
|
var _FonixtreeGpt = _interopRequireDefault(require("../FonixtreeGpt"));
|
|
25
23
|
|
|
24
|
+
var _AiImageGenerator = _interopRequireDefault(require("../AiImageGenerator"));
|
|
25
|
+
|
|
26
|
+
var _commonUtil = require("../../../utils/commonUtil");
|
|
27
|
+
|
|
26
28
|
require("./index.less");
|
|
27
29
|
|
|
28
30
|
require("./markdown.less");
|
|
@@ -59,6 +61,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
59
61
|
};
|
|
60
62
|
}();
|
|
61
63
|
|
|
64
|
+
var TextArea = _antd.Input.TextArea;
|
|
65
|
+
|
|
62
66
|
var ChatRobot =
|
|
63
67
|
/** @class */
|
|
64
68
|
function (_super) {
|
|
@@ -71,12 +75,15 @@ function (_super) {
|
|
|
71
75
|
open: false,
|
|
72
76
|
message: '',
|
|
73
77
|
context: [],
|
|
74
|
-
isGenerating: false
|
|
78
|
+
isGenerating: false,
|
|
79
|
+
aiImageVisible: false,
|
|
80
|
+
loading: true,
|
|
81
|
+
showCondition: true
|
|
75
82
|
};
|
|
76
83
|
|
|
77
84
|
_this.scrollBottom = function () {
|
|
78
85
|
var container = document.getElementById('content_wrap');
|
|
79
|
-
container.scrollTop = container.scrollHeight;
|
|
86
|
+
container.scrollTop = container.scrollHeight + 50;
|
|
80
87
|
};
|
|
81
88
|
|
|
82
89
|
_this.onMessageChage = function (e) {
|
|
@@ -86,7 +93,7 @@ function (_super) {
|
|
|
86
93
|
};
|
|
87
94
|
|
|
88
95
|
_this.getMarkText = function (text) {
|
|
89
|
-
return
|
|
96
|
+
return marked.parse(text);
|
|
90
97
|
};
|
|
91
98
|
|
|
92
99
|
_this.onEnter = function () {
|
|
@@ -105,6 +112,8 @@ function (_super) {
|
|
|
105
112
|
isGenerating: true,
|
|
106
113
|
context: context,
|
|
107
114
|
message: ''
|
|
115
|
+
}, function () {
|
|
116
|
+
_this.scrollBottom();
|
|
108
117
|
});
|
|
109
118
|
};
|
|
110
119
|
|
|
@@ -139,13 +148,13 @@ function (_super) {
|
|
|
139
148
|
open: false
|
|
140
149
|
});
|
|
141
150
|
|
|
142
|
-
|
|
143
|
-
|
|
151
|
+
_this.setState({
|
|
152
|
+
aiImageVisible: true
|
|
144
153
|
});
|
|
145
154
|
};
|
|
146
155
|
|
|
147
156
|
_this.copyToClipboard = function (text) {
|
|
148
|
-
|
|
157
|
+
(0, _commonUtil.copy2ClipBoard)(text);
|
|
149
158
|
};
|
|
150
159
|
|
|
151
160
|
_this.chatGpt = new _FonixtreeGpt["default"]({
|
|
@@ -169,11 +178,17 @@ function (_super) {
|
|
|
169
178
|
}
|
|
170
179
|
|
|
171
180
|
ChatRobot.prototype.componentDidMount = function () {
|
|
172
|
-
this
|
|
181
|
+
var _this = this;
|
|
182
|
+
|
|
173
183
|
var context = this.chatGpt.getContext();
|
|
174
184
|
this.setState({
|
|
175
185
|
context: context
|
|
176
186
|
});
|
|
187
|
+
(0, _commonUtil.importAsync)('https://cdn.jsdelivr.net/npm/marked/marked.min.js').then(function () {
|
|
188
|
+
return _this.setState({
|
|
189
|
+
loading: false
|
|
190
|
+
});
|
|
191
|
+
});
|
|
177
192
|
};
|
|
178
193
|
|
|
179
194
|
ChatRobot.prototype.render = function () {
|
|
@@ -183,7 +198,15 @@ function (_super) {
|
|
|
183
198
|
context = _a.context,
|
|
184
199
|
message = _a.message,
|
|
185
200
|
open = _a.open,
|
|
186
|
-
isGenerating = _a.isGenerating
|
|
201
|
+
isGenerating = _a.isGenerating,
|
|
202
|
+
aiImageVisible = _a.aiImageVisible,
|
|
203
|
+
loading = _a.loading,
|
|
204
|
+
showCondition = _a.showCondition;
|
|
205
|
+
|
|
206
|
+
if (loading) {
|
|
207
|
+
return null;
|
|
208
|
+
}
|
|
209
|
+
|
|
187
210
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
188
211
|
className: "chat_wrap"
|
|
189
212
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -201,14 +224,17 @@ function (_super) {
|
|
|
201
224
|
closable: false,
|
|
202
225
|
footer: /*#__PURE__*/_react["default"].createElement("div", {
|
|
203
226
|
className: "dialog_bottom"
|
|
204
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
227
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
228
|
+
className: "bottom_input"
|
|
229
|
+
}, /*#__PURE__*/_react["default"].createElement(TextArea, {
|
|
230
|
+
autoSize: true,
|
|
231
|
+
className: "text_area",
|
|
205
232
|
onChange: this.onMessageChage,
|
|
206
233
|
onPressEnter: this.onEnter,
|
|
207
234
|
placeholder: "Send a message",
|
|
208
235
|
value: message
|
|
209
|
-
}), /*#__PURE__*/_react["default"].createElement(
|
|
210
|
-
className: "
|
|
211
|
-
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
236
|
+
}), /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
237
|
+
className: "image_btn",
|
|
212
238
|
color: "#2F54EB",
|
|
213
239
|
onClick: this.generateImage,
|
|
214
240
|
size: 20,
|
|
@@ -217,14 +243,21 @@ function (_super) {
|
|
|
217
243
|
},
|
|
218
244
|
type: "icon-image"
|
|
219
245
|
}), /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
246
|
+
className: "toggle_btn",
|
|
247
|
+
color: "#2F54EB",
|
|
248
|
+
onClick: function onClick() {
|
|
249
|
+
return _this.setState({
|
|
250
|
+
showCondition: !showCondition
|
|
251
|
+
});
|
|
225
252
|
},
|
|
226
|
-
|
|
227
|
-
|
|
253
|
+
size: 24,
|
|
254
|
+
type: showCondition ? 'icon-circle-down' : 'icon-circle-up'
|
|
255
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
256
|
+
className: (0, _classnames["default"])('generate_btn', {
|
|
257
|
+
disable_btn: message.length === 0
|
|
258
|
+
}),
|
|
259
|
+
onClick: this.onEnter
|
|
260
|
+
}, "Generate")),
|
|
228
261
|
footerStyle: {
|
|
229
262
|
padding: 12
|
|
230
263
|
},
|
|
@@ -260,7 +293,15 @@ function (_super) {
|
|
|
260
293
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
261
294
|
className: "content_wrap markdown-body",
|
|
262
295
|
id: "content_wrap"
|
|
263
|
-
},
|
|
296
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
297
|
+
className: (0, _classnames["default"])('messageOuterWrap', {
|
|
298
|
+
assistantMessage: true
|
|
299
|
+
})
|
|
300
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
301
|
+
className: "messageWrap"
|
|
302
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
303
|
+
className: "messageContentWrap"
|
|
304
|
+
}, "What would like to create?"))), context.length > 0 && context.map(function (ctxNode) {
|
|
264
305
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
265
306
|
className: (0, _classnames["default"])('messageOuterWrap', {
|
|
266
307
|
userMessage: ctxNode.role === 'user',
|
|
@@ -286,6 +327,8 @@ function (_super) {
|
|
|
286
327
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Spin, {
|
|
287
328
|
spinning: true
|
|
288
329
|
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
330
|
+
className: "regenerate_btn_wrap"
|
|
331
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
289
332
|
className: "regenerate_btn",
|
|
290
333
|
onClick: this.onRegenarate
|
|
291
334
|
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
@@ -296,7 +339,23 @@ function (_super) {
|
|
|
296
339
|
marginRight: 5
|
|
297
340
|
},
|
|
298
341
|
type: "icon-refresh"
|
|
299
|
-
}), "Regenerate Response"))
|
|
342
|
+
}), "Regenerate Response")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
343
|
+
className: (0, _classnames["default"])('more_condition', {
|
|
344
|
+
more_condition_hide: !showCondition
|
|
345
|
+
})
|
|
346
|
+
}, /*#__PURE__*/_react["default"].createElement(_SearchCondition["default"], null)))), /*#__PURE__*/_react["default"].createElement(_AiImageGenerator["default"], {
|
|
347
|
+
onClose: function onClose() {
|
|
348
|
+
return _this.setState({
|
|
349
|
+
aiImageVisible: false
|
|
350
|
+
});
|
|
351
|
+
},
|
|
352
|
+
onConfirm: function onConfirm() {
|
|
353
|
+
return _this.setState({
|
|
354
|
+
aiImageVisible: false
|
|
355
|
+
});
|
|
356
|
+
},
|
|
357
|
+
visible: aiImageVisible
|
|
358
|
+
}));
|
|
300
359
|
};
|
|
301
360
|
|
|
302
361
|
return ChatRobot;
|
|
@@ -32,17 +32,27 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
.chat_content_wrap {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
35
37
|
position: relative;
|
|
36
|
-
padding-bottom: 40px;
|
|
37
38
|
height: 100%;
|
|
38
39
|
.content_wrap {
|
|
40
|
+
background: #F5F6F7;
|
|
41
|
+
flex: 1;
|
|
39
42
|
padding: 16px;
|
|
40
|
-
height: 100%;
|
|
43
|
+
// height: 100%;
|
|
41
44
|
overflow: scroll;
|
|
42
45
|
font-family: 'Open Sans';
|
|
43
46
|
font-size: 14px;
|
|
44
47
|
font-weight: 400;
|
|
45
48
|
line-height: 22px;
|
|
49
|
+
&::-webkit-scrollbar-track {
|
|
50
|
+
background: transparent;
|
|
51
|
+
}
|
|
52
|
+
&::-webkit-scrollbar-corner {
|
|
53
|
+
background:transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
46
56
|
.messageOuterWrap {
|
|
47
57
|
margin-bottom: 20px;
|
|
48
58
|
.messageWrap {
|
|
@@ -71,16 +81,18 @@
|
|
|
71
81
|
display: flex;
|
|
72
82
|
justify-content: flex-end;
|
|
73
83
|
.messageWrap {
|
|
84
|
+
border: 1px solid #E6EAF0;
|
|
74
85
|
border-radius: 4px;
|
|
75
|
-
background: #
|
|
76
|
-
color: #
|
|
86
|
+
background: #FFF;
|
|
87
|
+
color: #232F46;
|
|
77
88
|
}
|
|
78
89
|
}
|
|
79
90
|
.assistantMessage {
|
|
80
91
|
.messageWrap {
|
|
81
92
|
border-radius: 4px;
|
|
82
|
-
background: #
|
|
83
|
-
color: #
|
|
93
|
+
background: #E9F0FF;
|
|
94
|
+
color: #2F54EB;
|
|
95
|
+
border: 1px solid #D6E4FF;
|
|
84
96
|
}
|
|
85
97
|
}
|
|
86
98
|
.recent_response {
|
|
@@ -89,39 +101,79 @@
|
|
|
89
101
|
padding: 7px 14px;
|
|
90
102
|
background: #F5F6F7;
|
|
91
103
|
color: #232F46;
|
|
104
|
+
p {
|
|
105
|
+
margin-bottom: 0;
|
|
106
|
+
}
|
|
92
107
|
}
|
|
93
108
|
}
|
|
94
|
-
|
|
109
|
+
|
|
110
|
+
.regenerate_btn_wrap {
|
|
111
|
+
background: #F5F6F7;
|
|
95
112
|
display: flex;
|
|
96
113
|
align-items: center;
|
|
97
|
-
|
|
98
|
-
bottom:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
114
|
+
justify-content: center;
|
|
115
|
+
padding-bottom: 12px;
|
|
116
|
+
.regenerate_btn {
|
|
117
|
+
background-color: #FFF;
|
|
118
|
+
bottom: 10px;
|
|
119
|
+
border: 1px solid #E6EAF0;
|
|
120
|
+
border-radius: 4px;
|
|
121
|
+
padding: 4px 12px;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
font-family: 'Open Sans';
|
|
124
|
+
font-style: normal;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
font-size: 13px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.more_condition {
|
|
131
|
+
transition: all 0.4s;
|
|
132
|
+
max-height: 400px;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
box-shadow: 3px 3px 8px 0px #2D304008;
|
|
135
|
+
box-shadow: -3px -3px 8px 0px #2D304008;
|
|
136
|
+
}
|
|
137
|
+
.more_condition_hide {
|
|
138
|
+
max-height: 0;
|
|
109
139
|
}
|
|
110
140
|
}
|
|
111
141
|
.dialog_bottom {
|
|
112
142
|
position: relative;
|
|
113
|
-
|
|
114
|
-
|
|
143
|
+
font-size: 14px;
|
|
144
|
+
.bottom_input{
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: flex-start;
|
|
147
|
+
.text_area {
|
|
148
|
+
max-height: 200px;
|
|
149
|
+
padding-right: 30px;
|
|
150
|
+
}
|
|
151
|
+
.image_btn {
|
|
152
|
+
position: absolute;
|
|
153
|
+
right: 40px;
|
|
154
|
+
top: 6px;
|
|
155
|
+
}
|
|
156
|
+
.toggle_btn {
|
|
157
|
+
padding: 4px 0 4px 10px;
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
}
|
|
115
160
|
}
|
|
116
|
-
.
|
|
117
|
-
position: absolute;
|
|
118
|
-
right: 15px;
|
|
119
|
-
top: 0px;
|
|
120
|
-
width: 50px;
|
|
121
|
-
height: 36px;
|
|
161
|
+
.generate_btn {
|
|
122
162
|
display: flex;
|
|
123
163
|
align-items: center;
|
|
124
|
-
justify-content:
|
|
164
|
+
justify-content: center;
|
|
165
|
+
margin-top: 8px;
|
|
166
|
+
height: 36px;
|
|
167
|
+
background: #2F54EB;
|
|
168
|
+
border-radius: 6px;
|
|
169
|
+
color:#FFF;
|
|
170
|
+
font-family: Open Sans;
|
|
171
|
+
font-size: 14px;
|
|
172
|
+
font-weight: 600;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
}
|
|
175
|
+
.disable_btn {
|
|
176
|
+
background: #C1C9D7;
|
|
125
177
|
}
|
|
126
178
|
}
|
|
127
179
|
}
|
|
@@ -81,7 +81,6 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
81
81
|
|
|
82
82
|
switch (selectedNode.type) {
|
|
83
83
|
case 'IMAGE_GALLERY':
|
|
84
|
-
case 'WALLET':
|
|
85
84
|
case 'BANNER':
|
|
86
85
|
groupName = ''; // if (!groupName) {
|
|
87
86
|
// groupName = isPc() ? panelProps.image?.content?.pcName : panelProps.image?.content?.h5Name;
|
|
@@ -109,10 +108,13 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
109
108
|
break;
|
|
110
109
|
|
|
111
110
|
case 'TEXT':
|
|
111
|
+
case 'WALLET':
|
|
112
112
|
groupName = panelProps.title.text;
|
|
113
113
|
break;
|
|
114
114
|
|
|
115
115
|
case 'RECOMMEND':
|
|
116
|
+
case 'AFFILIATE_RECOMMEND':
|
|
117
|
+
// console.log('RECOMMEND ---panelProps.groupName.text', panelProps.groupName.text);
|
|
116
118
|
groupName = panelProps.groupName.text;
|
|
117
119
|
break;
|
|
118
120
|
|
|
@@ -285,7 +287,8 @@ function (_super) {
|
|
|
285
287
|
if (panelProps) {
|
|
286
288
|
var instance = Clazz ? /*#__PURE__*/_react["default"].createElement(Clazz, {
|
|
287
289
|
panelProps: panelProps,
|
|
288
|
-
outputType: outputType
|
|
290
|
+
outputType: outputType,
|
|
291
|
+
parentNode: selectedNode
|
|
289
292
|
}) : null;
|
|
290
293
|
return instance;
|
|
291
294
|
}
|
|
@@ -373,8 +376,11 @@ function (_super) {
|
|
|
373
376
|
onClick: this.onSecConfigBack,
|
|
374
377
|
type: "icon"
|
|
375
378
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
376
|
-
className: "title"
|
|
377
|
-
|
|
379
|
+
className: "title",
|
|
380
|
+
dangerouslySetInnerHTML: {
|
|
381
|
+
__html: getSecondConfigName(selectedNode, clickedGroup)
|
|
382
|
+
}
|
|
383
|
+
})), this.getSecondConfigInstance()));
|
|
378
384
|
};
|
|
379
385
|
|
|
380
386
|
return ConfigPanel;
|