@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.
Files changed (523) hide show
  1. package/es/assets/fonts/Trueno-Light.otf +0 -0
  2. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  3. package/es/assets/fonts/TruenoBd.otf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.css +51 -3
  5. package/es/assets/fonts/magic-box-iconfont.css.bak +51 -3
  6. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  7. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  8. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  10. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  11. package/es/assets/images/base64/index.js +36 -2
  12. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  13. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  14. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  15. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  16. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  17. package/es/assets/less/cylon-antd.less +7246 -1686
  18. package/es/assets/less/font.less +22 -0
  19. package/es/assets/less/modal.less +1 -1
  20. package/es/common/AffiliateProductModal/index.js +582 -0
  21. package/es/common/AffiliateProductModal/index.less +146 -0
  22. package/es/common/CardCarousel/index.js +171 -0
  23. package/es/common/CardCarousel/index.less +28 -0
  24. package/es/common/ColorPicker/index.js +4 -1
  25. package/es/common/Field/index.js +20 -3
  26. package/es/common/GroupList/index.less +3 -0
  27. package/es/common/ImageLazy/index.js +172 -0
  28. package/es/common/ImageLazy/index.less +0 -0
  29. package/es/common/ImagePicker/index.js +50 -7
  30. package/es/common/ImagePicker/index.less +1 -0
  31. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  32. package/es/common/LinkModal/CatgTable/index.js +1 -1
  33. package/es/common/LinkModal/CouponTable/index.js +10 -2
  34. package/es/common/LinkModal/FilteredProductModal/index.js +13 -10
  35. package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
  36. package/es/common/LinkModal/FunctionTable/index.js +2 -1
  37. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  38. package/es/common/LinkModal/index.js +15 -3
  39. package/es/common/MyModal/index.js +417 -0
  40. package/es/common/MyModal/index.less +74 -0
  41. package/es/common/ProductModal/index.js +27 -35
  42. package/es/common/ProductSource/index.js +42 -10
  43. package/es/common/UrlPicker/index.js +3 -1
  44. package/es/common/Video/index.js +11 -3
  45. package/es/common/Video/index.less +11 -7
  46. package/es/common/index.js +16 -0
  47. package/es/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  48. package/es/composite-comp/bol/components/Carousel/index.js +27 -3
  49. package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  50. package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  51. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  52. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  53. package/es/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  54. package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  55. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  56. package/es/composite-comp/bol/components/Location/index.js +100 -0
  57. package/es/composite-comp/bol/components/Location/index.less +15 -0
  58. package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  59. package/es/composite-comp/bol/components/Video/index.js +1 -2
  60. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  61. package/es/composite-comp/bol/components/Wallet/index.js +11 -15
  62. package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  63. package/es/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  64. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  65. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  66. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  67. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  68. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  69. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  70. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  71. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  72. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  73. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  74. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  75. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  76. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  77. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  78. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  79. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  80. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  81. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  82. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  83. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  84. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  85. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  86. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  87. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  88. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  89. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  90. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  91. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  92. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  93. package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  94. package/es/composite-comp/common/components/ImageLabel/index.less +9 -3
  95. package/es/composite-comp/common/components/ProductItem/index.js +32 -20
  96. package/es/composite-comp/common/components/ProductItem/index.less +43 -19
  97. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  98. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  99. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  100. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  101. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  102. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  103. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  104. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  105. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  106. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  107. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  108. package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  109. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  110. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  111. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  112. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  113. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  114. package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  115. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  116. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  117. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  118. package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  119. package/es/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  120. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  121. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  122. package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  123. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  124. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  125. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  126. package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  127. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  128. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  129. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  130. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  131. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  132. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  133. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  134. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  135. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  136. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  137. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  138. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  139. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  140. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  141. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  142. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  143. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  144. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  145. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  146. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  147. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  148. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  149. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  150. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  151. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  152. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  153. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  154. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  155. package/es/constants/component-types.js +35 -3
  156. package/es/constants/index.js +36 -2
  157. package/es/constants/layout.js +68 -1
  158. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  159. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  160. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  161. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  162. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  163. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  164. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  165. package/es/core/Designer/AiImageGenerator/index.js +364 -63
  166. package/es/core/Designer/AiImageGenerator/index.less +70 -46
  167. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  168. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  169. package/es/core/Designer/ChatRobot/index.js +84 -25
  170. package/es/core/Designer/ChatRobot/index.less +80 -28
  171. package/es/core/Designer/ConfigPanel/index.js +10 -4
  172. package/es/core/Designer/FonixtreeGpt/index.js +32 -171
  173. package/es/core/Designer/History/index.js +2 -2
  174. package/es/core/Designer/LeftTitle/index.js +1 -1
  175. package/es/core/Designer/PageCompList/index.js +8 -5
  176. package/es/core/Designer/QuickMenuBar/index.js +5 -3
  177. package/es/core/Designer/QuickMenuBar/index.less +4 -0
  178. package/es/core/Designer/RenderHtml/index.js +18 -15
  179. package/es/core/Designer/RenderHtml/index.less +1 -1
  180. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  181. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  182. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  183. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  184. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  185. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  186. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  187. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  188. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  189. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  190. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  191. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  192. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  193. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  194. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  195. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  196. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  197. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  198. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  199. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  200. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  201. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  202. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  203. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  204. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  205. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  206. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  207. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  208. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  209. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  210. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  211. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  212. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  213. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  214. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  215. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  216. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  217. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  218. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  219. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  220. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  221. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  222. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  223. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  224. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  225. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  226. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  227. package/es/core/Designer/ToolBarModal/index.js +412 -0
  228. package/es/core/Designer/ToolBarModal/index.less +33 -0
  229. package/es/core/Designer/index.js +45 -11
  230. package/es/core/Renderer/index.js +75 -29
  231. package/es/decorator/compositeDecorator.js +23 -0
  232. package/es/decorator/index.js +38 -1
  233. package/es/decorator/lazyLoadDecorator.js +75 -0
  234. package/es/locale/en/en.json +12 -2
  235. package/es/locale/es/es.json +12 -2
  236. package/es/locale/id/id.json +12 -2
  237. package/es/meta-comp/components/Button/index.js +7 -0
  238. package/es/meta-comp/components/Image/index.js +48 -26
  239. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  240. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  241. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  242. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  243. package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
  244. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  245. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  246. package/es/meta-comp/components/Text/index.js +123 -366
  247. package/es/meta-comp/components/Text/index.less +65 -0
  248. package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  249. package/es/meta-comp/config-panels/ImageConfig/index.js +50 -44
  250. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  251. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  252. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  253. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  254. package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
  255. package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
  256. package/es/mobx/Frame.js +22 -1
  257. package/es/utils/androidUtil.js +6 -0
  258. package/es/utils/businessUtil.js +17 -6
  259. package/es/utils/commonUtil.js +87 -9
  260. package/es/utils/coreUtil.js +15 -0
  261. package/es/utils/currencyUtil.js +37 -11
  262. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  263. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  264. package/lib/assets/fonts/TruenoBd.otf +0 -0
  265. package/lib/assets/fonts/magic-box-iconfont.css +51 -3
  266. package/lib/assets/fonts/magic-box-iconfont.css.bak +51 -3
  267. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  268. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  269. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  270. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  271. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  272. package/lib/assets/images/base64/index.js +36 -2
  273. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  274. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  275. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  276. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  277. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  278. package/lib/assets/less/cylon-antd.less +7246 -1686
  279. package/lib/assets/less/font.less +22 -0
  280. package/lib/assets/less/modal.less +1 -1
  281. package/lib/common/AffiliateProductModal/index.js +582 -0
  282. package/lib/common/AffiliateProductModal/index.less +146 -0
  283. package/lib/common/CardCarousel/index.js +171 -0
  284. package/lib/common/CardCarousel/index.less +28 -0
  285. package/lib/common/ColorPicker/index.js +4 -1
  286. package/lib/common/Field/index.js +20 -3
  287. package/lib/common/GroupList/index.less +3 -0
  288. package/lib/common/ImageLazy/index.js +172 -0
  289. package/lib/common/ImageLazy/index.less +0 -0
  290. package/lib/common/ImagePicker/index.js +50 -7
  291. package/lib/common/ImagePicker/index.less +1 -0
  292. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  293. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  294. package/lib/common/LinkModal/CouponTable/index.js +10 -2
  295. package/lib/common/LinkModal/FilteredProductModal/index.js +13 -10
  296. package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
  297. package/lib/common/LinkModal/FunctionTable/index.js +2 -1
  298. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  299. package/lib/common/LinkModal/index.js +15 -3
  300. package/lib/common/MyModal/index.js +417 -0
  301. package/lib/common/MyModal/index.less +74 -0
  302. package/lib/common/ProductModal/index.js +27 -35
  303. package/lib/common/ProductSource/index.js +42 -10
  304. package/lib/common/UrlPicker/index.js +3 -1
  305. package/lib/common/Video/index.js +11 -3
  306. package/lib/common/Video/index.less +11 -7
  307. package/lib/common/index.js +16 -0
  308. package/lib/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  309. package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
  310. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  311. package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  312. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  313. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  314. package/lib/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  315. package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  316. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  317. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  318. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  319. package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  320. package/lib/composite-comp/bol/components/Video/index.js +1 -2
  321. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  322. package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
  323. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  324. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  325. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  326. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  327. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  328. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  329. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  330. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  331. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  332. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  333. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  334. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  335. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  336. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  337. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  338. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  339. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  340. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  341. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  342. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  343. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  344. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  345. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  346. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  347. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  348. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  349. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  350. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  351. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  352. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  353. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  354. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  355. package/lib/composite-comp/common/components/ImageLabel/index.less +9 -3
  356. package/lib/composite-comp/common/components/ProductItem/index.js +32 -20
  357. package/lib/composite-comp/common/components/ProductItem/index.less +43 -19
  358. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  359. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  360. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  361. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  362. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  363. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  364. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  365. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  366. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  367. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  368. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  369. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  370. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  371. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  372. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  373. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  374. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  375. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  376. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  377. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  378. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  379. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  380. package/lib/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  381. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  382. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  383. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  384. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  385. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  386. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  387. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  388. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  389. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  390. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  391. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  392. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  393. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  394. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  395. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  396. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  397. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  398. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  399. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  400. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  401. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  402. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  403. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  404. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  405. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  406. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  407. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  408. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  409. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  410. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  411. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  412. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  413. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  414. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  415. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  416. package/lib/constants/component-types.js +35 -3
  417. package/lib/constants/index.js +36 -2
  418. package/lib/constants/layout.js +68 -1
  419. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  420. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  421. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  422. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  423. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  424. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  425. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  426. package/lib/core/Designer/AiImageGenerator/index.js +364 -63
  427. package/lib/core/Designer/AiImageGenerator/index.less +70 -46
  428. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  429. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  430. package/lib/core/Designer/ChatRobot/index.js +84 -25
  431. package/lib/core/Designer/ChatRobot/index.less +80 -28
  432. package/lib/core/Designer/ConfigPanel/index.js +10 -4
  433. package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
  434. package/lib/core/Designer/History/index.js +2 -2
  435. package/lib/core/Designer/LeftTitle/index.js +1 -1
  436. package/lib/core/Designer/PageCompList/index.js +8 -5
  437. package/lib/core/Designer/QuickMenuBar/index.js +5 -3
  438. package/lib/core/Designer/QuickMenuBar/index.less +4 -0
  439. package/lib/core/Designer/RenderHtml/index.js +18 -15
  440. package/lib/core/Designer/RenderHtml/index.less +1 -1
  441. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  442. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  443. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  444. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  445. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  446. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  447. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  448. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  449. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  450. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  451. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  452. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  453. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  454. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  455. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  456. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  457. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  458. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  459. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  460. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  461. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  462. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  463. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  464. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  465. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  466. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  467. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  468. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  469. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  470. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  471. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  472. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  473. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  474. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  475. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  476. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  477. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  478. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  479. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  480. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  481. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  482. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  483. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  484. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  485. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  486. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  487. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  488. package/lib/core/Designer/ToolBarModal/index.js +412 -0
  489. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  490. package/lib/core/Designer/index.js +45 -11
  491. package/lib/core/Renderer/index.js +75 -29
  492. package/lib/decorator/compositeDecorator.js +23 -0
  493. package/lib/decorator/index.js +38 -1
  494. package/lib/decorator/lazyLoadDecorator.js +75 -0
  495. package/lib/locale/en/en.json +12 -2
  496. package/lib/locale/es/es.json +12 -2
  497. package/lib/locale/id/id.json +12 -2
  498. package/lib/meta-comp/components/Button/index.js +7 -0
  499. package/lib/meta-comp/components/Image/index.js +48 -26
  500. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  501. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  502. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  503. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  504. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  505. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  506. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  507. package/lib/meta-comp/components/Text/index.js +123 -366
  508. package/lib/meta-comp/components/Text/index.less +65 -0
  509. package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  510. package/lib/meta-comp/config-panels/ImageConfig/index.js +50 -44
  511. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  512. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  513. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  514. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  515. package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
  516. package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
  517. package/lib/mobx/Frame.js +22 -1
  518. package/lib/utils/androidUtil.js +6 -0
  519. package/lib/utils/businessUtil.js +17 -6
  520. package/lib/utils/commonUtil.js +87 -9
  521. package/lib/utils/coreUtil.js +15 -0
  522. package/lib/utils/currencyUtil.js +37 -11
  523. package/package.json +5 -2
@@ -0,0 +1,412 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.fontWeightList = exports.fontSizeList = exports.fontFamilyList = exports["default"] = exports.OpenSansFontWeightList = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _antd = require("antd");
11
+
12
+ var _ToolBtn = _interopRequireDefault(require("./ToolBtn"));
13
+
14
+ var _coreUtil = require("../../../utils/coreUtil");
15
+
16
+ require("./index.less");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ var __extends = void 0 && (void 0).__extends || function () {
21
+ var _extendStatics = function extendStatics(d, b) {
22
+ _extendStatics = Object.setPrototypeOf || {
23
+ __proto__: []
24
+ } instanceof Array && function (d, b) {
25
+ d.__proto__ = b;
26
+ } || function (d, b) {
27
+ for (var p in b) {
28
+ if (b.hasOwnProperty(p)) d[p] = b[p];
29
+ }
30
+ };
31
+
32
+ return _extendStatics(d, b);
33
+ };
34
+
35
+ return function (d, b) {
36
+ _extendStatics(d, b);
37
+
38
+ function __() {
39
+ this.constructor = d;
40
+ }
41
+
42
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
43
+ };
44
+ }();
45
+
46
+ var fontSizeList = [12, 13, 14, 15, 16, 19, 22, 24, 29, 32, 40, 48];
47
+ exports.fontSizeList = fontSizeList;
48
+ var fontFamilyList = [{
49
+ name: 'Montserrat',
50
+ value: 'Montserrat'
51
+ }, {
52
+ name: 'Open Sans',
53
+ value: 'OpenSans'
54
+ }];
55
+ exports.fontFamilyList = fontFamilyList;
56
+ var fontWeightList = [{
57
+ name: 'Regular',
58
+ value: '400'
59
+ }, {
60
+ name: 'Medium',
61
+ value: '500'
62
+ }, {
63
+ name: 'Semibold',
64
+ value: '600'
65
+ }, {
66
+ name: 'Bold',
67
+ value: '700'
68
+ }];
69
+ exports.fontWeightList = fontWeightList;
70
+ var OpenSansFontWeightList = [{
71
+ name: 'Regular',
72
+ value: '400'
73
+ }, {
74
+ name: 'Semibold',
75
+ value: '600'
76
+ }, {
77
+ name: 'Bold',
78
+ value: '700'
79
+ }];
80
+ exports.OpenSansFontWeightList = OpenSansFontWeightList;
81
+
82
+ var ToolBarModal =
83
+ /** @class */
84
+ function (_super) {
85
+ __extends(ToolBarModal, _super);
86
+
87
+ function ToolBarModal() {
88
+ var _this = _super !== null && _super.apply(this, arguments) || this;
89
+
90
+ _this.state = {
91
+ quillFormat: {}
92
+ };
93
+ _this.toolBarRef = /*#__PURE__*/_react["default"].createRef();
94
+ _this.selectedTextLength = 0;
95
+
96
+ _this.setToolBarPosition = function () {
97
+ var _a = _this.props.quillRef.container.getBoundingClientRect(),
98
+ top = _a.top,
99
+ left = _a.left;
100
+
101
+ var minTop = document.querySelector('.device_border').getBoundingClientRect().top;
102
+ _this.toolBarRef.current.style.top = (top > minTop ? top : minTop) + window.scrollY + 'px';
103
+ _this.toolBarRef.current.style.left = left + window.scrollX + 'px';
104
+ };
105
+
106
+ _this.onContainerScroll = function () {
107
+ _this.setToolBarPosition();
108
+ };
109
+
110
+ _this.onSelectionChange = function () {
111
+ var range = _this.props.quillRef.getSelection();
112
+
113
+ if (range) {
114
+ _this.selectedTextLength = range.length;
115
+
116
+ var quillFormat = _this.props.quillRef.getFormat();
117
+
118
+ console.log('quillFormat: ', quillFormat);
119
+
120
+ _this.setState({
121
+ quillFormat: quillFormat
122
+ });
123
+ } else {
124
+ if (_this.selectedTextLength === 0) _this.props.quillRef.setSelection(0, _this.props.quillRef.getLength());
125
+ }
126
+ };
127
+
128
+ _this.onToolBtnClick = function (type, value) {
129
+ console.log('type: ', type, value);
130
+ window._maginc_clickUrl = _coreUtil.clickUrl;
131
+ var quillFormat = _this.state.quillFormat;
132
+
133
+ if (type == 'bold') {
134
+ _this.props.quillRef.format('bold', !quillFormat['bold']);
135
+ } else if (type == 'italic') {
136
+ _this.props.quillRef.format('italic', !quillFormat['italic']);
137
+ } else if (type == 'strike') {
138
+ _this.props.quillRef.format('strike', !quillFormat['strike']);
139
+ } else if (type == 'underline') {
140
+ _this.props.quillRef.format('underline', !quillFormat['underline']);
141
+ } else if (type == 'color') {
142
+ _this.props.quillRef.format('color', value);
143
+ } else if (type == 'background') {
144
+ _this.props.quillRef.format('background', value);
145
+ } else if (type == 'align') {
146
+ _this.props.quillRef.format('align', value);
147
+ } else if (type == 'listOrder') {
148
+ var currentListType = quillFormat['list'];
149
+
150
+ _this.props.quillRef.format('list', currentListType == 'ordered' ? '' : 'ordered');
151
+ } else if (type == 'listUnOrder') {
152
+ var currentListType = quillFormat['list'];
153
+
154
+ _this.props.quillRef.format('list', currentListType == 'bullet' ? '' : 'bullet');
155
+ } else if (type == 'link') {
156
+ _this.props.quillRef.format('link', JSON.stringify(value));
157
+ } else if (type == 'size') {
158
+ _this.props.quillRef.format('size', value + 'px');
159
+ } else if (type == 'font') {
160
+ _this.props.quillRef.format('font', value);
161
+ } else if (type == 'font-weight') {
162
+ _this.props.quillRef.format('font-weight', value);
163
+ } else if (type == 'text-align') {
164
+ _this.props.quillRef.format('text-align', value);
165
+ } else if (type == 'font-style') {
166
+ _this.props.quillRef.format('font-style', 'italic' === quillFormat['font-style'] ? '' : 'italic');
167
+ } else if (type == 'font-family') {
168
+ _this.props.quillRef.format('font-family', value);
169
+ } else if (type == 'text-decoration-style') {
170
+ _this.props.quillRef.format('underline', true);
171
+
172
+ _this.props.quillRef.format('text-decoration-style', value);
173
+ } else if (type == 'bullet') {
174
+ _this.props.quillRef.setSelection(0, _this.props.quillRef.getLength());
175
+
176
+ if (!value || value === quillFormat['list-style-type']) {
177
+ _this.props.quillRef.format('list-style-type', '');
178
+
179
+ _this.props.quillRef.format('list', '');
180
+ } else {
181
+ _this.props.quillRef.format('list-style-type', value);
182
+
183
+ _this.props.quillRef.format('list', 'bullet');
184
+ }
185
+ } else if (type == 'ordered') {
186
+ _this.props.quillRef.setSelection(0, _this.props.quillRef.getLength());
187
+
188
+ if (!value || value === quillFormat['list-style-type']) {
189
+ _this.props.quillRef.format('list-style-type', '');
190
+
191
+ _this.props.quillRef.format('list', '');
192
+ } else {
193
+ _this.props.quillRef.format('list-style-type', value);
194
+
195
+ _this.props.quillRef.format('list', 'ordered');
196
+ }
197
+ } else if (type == 'text-decoration-color') {
198
+ _this.props.quillRef.setSelection(0, _this.props.quillRef.getLength());
199
+
200
+ if (value) {
201
+ _this.props.quillRef.format('underline', true);
202
+ } else {
203
+ _this.props.quillRef.format('underline', false);
204
+
205
+ _this.props.quillRef.format('text-decoration-style', '');
206
+ }
207
+
208
+ _this.props.quillRef.format('text-decoration-color', value);
209
+ }
210
+
211
+ _this.onSelectionChange();
212
+ };
213
+
214
+ return _this;
215
+ }
216
+
217
+ ToolBarModal.prototype.componentDidMount = function () {
218
+ var _a;
219
+
220
+ this.props.quillRef.on('selection-change', this.onSelectionChange);
221
+ (_a = document.querySelector('.device_border')) === null || _a === void 0 ? void 0 : _a.addEventListener('scroll', this.onContainerScroll);
222
+ this.setToolBarPosition();
223
+ };
224
+
225
+ ToolBarModal.prototype.componentWillUnmount = function () {
226
+ var _a;
227
+
228
+ this.props.quillRef.off('selection-change', this.onSelectionChange);
229
+ (_a = document.querySelector('.device_border')) === null || _a === void 0 ? void 0 : _a.removeEventListener('scroll', this.onContainerScroll);
230
+ };
231
+
232
+ ToolBarModal.prototype.render = function () {
233
+ var _this = this;
234
+
235
+ var quillFormat = this.state.quillFormat;
236
+
237
+ var _fontWeightList = quillFormat['font-family'] === 'OpenSans' ? OpenSansFontWeightList : fontWeightList;
238
+
239
+ return /*#__PURE__*/_react["default"].createElement("div", {
240
+ ref: this.toolBarRef,
241
+ className: "toolbar-wrap"
242
+ }, /*#__PURE__*/_react["default"].createElement("div", {
243
+ className: "toolbar-row"
244
+ }, /*#__PURE__*/_react["default"].createElement("div", {
245
+ className: "tool-item"
246
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
247
+ onChange: function onChange(v) {
248
+ _this.onToolBtnClick('font-family', v);
249
+ },
250
+ placeholder: "Font Family",
251
+ size: "small",
252
+ style: {
253
+ width: '150px'
254
+ },
255
+ value: quillFormat['font-family']
256
+ }, fontFamilyList.map(function (v) {
257
+ return /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
258
+ label: v.name,
259
+ value: v.value
260
+ }, v.name);
261
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
262
+ className: "tool-item"
263
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
264
+ onChange: function onChange(v) {
265
+ _this.onToolBtnClick('font-weight', v);
266
+ },
267
+ placeholder: "Font Weight",
268
+ size: "small",
269
+ style: {
270
+ width: '150px'
271
+ },
272
+ value: quillFormat['font-weight']
273
+ }, _fontWeightList.map(function (v) {
274
+ return /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
275
+ label: v.name,
276
+ value: v.value
277
+ }, v.name);
278
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
279
+ className: "tool-item"
280
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
281
+ onChange: function onChange(v) {
282
+ _this.onToolBtnClick('size', v);
283
+ },
284
+ placeholder: "Font Size",
285
+ size: "small",
286
+ style: {
287
+ width: '120px'
288
+ },
289
+ value: quillFormat['size']
290
+ }, fontSizeList.map(function (v) {
291
+ return /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
292
+ label: v.name,
293
+ value: v
294
+ }, v, "px");
295
+ })))), /*#__PURE__*/_react["default"].createElement("div", {
296
+ className: "toolbar-row"
297
+ }, /*#__PURE__*/_react["default"].createElement("div", {
298
+ className: "tool-item"
299
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
300
+ active: quillFormat['font-style'] === 'italic',
301
+ onChange: function onChange() {
302
+ _this.onToolBtnClick('font-style');
303
+ },
304
+ type: "italic"
305
+ })), /*#__PURE__*/_react["default"].createElement("div", {
306
+ className: "tool-item"
307
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
308
+ active: quillFormat['strike'],
309
+ onChange: function onChange() {
310
+ _this.onToolBtnClick('strike');
311
+ },
312
+ type: "strike"
313
+ })), /*#__PURE__*/_react["default"].createElement("div", {
314
+ className: "tool-item"
315
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
316
+ onChange: function onChange(value) {
317
+ _this.onToolBtnClick('text-decoration-color', value);
318
+ },
319
+ type: "text-decoration-color",
320
+ underlineOnChange: function underlineOnChange(value) {
321
+ return _this.onToolBtnClick('text-decoration-style', value);
322
+ },
323
+ underlineValue: quillFormat['text-decoration-style'],
324
+ value: {
325
+ color: quillFormat['text-decoration-color']
326
+ }
327
+ })), /*#__PURE__*/_react["default"].createElement("div", {
328
+ className: "tooll-line"
329
+ }), /*#__PURE__*/_react["default"].createElement("div", {
330
+ className: "tool-item"
331
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
332
+ onChange: function onChange(value) {
333
+ _this.onToolBtnClick('color', value);
334
+ },
335
+ type: "color",
336
+ value: {
337
+ color: quillFormat['color']
338
+ }
339
+ })), /*#__PURE__*/_react["default"].createElement("div", {
340
+ className: "tool-item"
341
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
342
+ onChange: function onChange(value) {
343
+ _this.onToolBtnClick('background', value);
344
+ },
345
+ type: "background",
346
+ value: {
347
+ color: quillFormat['background']
348
+ }
349
+ })), /*#__PURE__*/_react["default"].createElement("div", {
350
+ className: "tool-item"
351
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
352
+ onChange: function onChange(value) {
353
+ _this.onToolBtnClick('bullet', value);
354
+ },
355
+ type: "bullet",
356
+ value: {
357
+ list: quillFormat['list-style-type']
358
+ }
359
+ })), /*#__PURE__*/_react["default"].createElement("div", {
360
+ className: "tool-item"
361
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
362
+ onChange: function onChange(value) {
363
+ _this.onToolBtnClick('ordered', value);
364
+ },
365
+ type: "ordered",
366
+ value: {
367
+ list: quillFormat['list-style-type']
368
+ }
369
+ })), /*#__PURE__*/_react["default"].createElement("div", {
370
+ className: "tooll-line"
371
+ }), /*#__PURE__*/_react["default"].createElement("div", {
372
+ className: "tool-item"
373
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
374
+ active: quillFormat['text-align'] === 'left',
375
+ onChange: function onChange() {
376
+ _this.onToolBtnClick('text-align', 'left');
377
+ },
378
+ type: "alignLeft"
379
+ })), /*#__PURE__*/_react["default"].createElement("div", {
380
+ className: "tool-item"
381
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
382
+ active: quillFormat['text-align'] === 'center',
383
+ onChange: function onChange() {
384
+ _this.onToolBtnClick('text-align', 'center');
385
+ },
386
+ type: "alignCenter"
387
+ })), /*#__PURE__*/_react["default"].createElement("div", {
388
+ className: "tool-item"
389
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
390
+ active: quillFormat['text-align'] === 'right',
391
+ onChange: function onChange() {
392
+ _this.onToolBtnClick('text-align', 'right');
393
+ },
394
+ type: "alignRight"
395
+ })), /*#__PURE__*/_react["default"].createElement("div", {
396
+ className: "tooll-line"
397
+ }), /*#__PURE__*/_react["default"].createElement("div", {
398
+ className: "tool-item"
399
+ }, /*#__PURE__*/_react["default"].createElement(_ToolBtn["default"], {
400
+ onChange: function onChange(value) {
401
+ _this.onToolBtnClick('link', value);
402
+ },
403
+ type: "link"
404
+ }))));
405
+ };
406
+
407
+ ToolBarModal.defaultProps = {};
408
+ return ToolBarModal;
409
+ }(_react["default"].Component);
410
+
411
+ var _default = ToolBarModal;
412
+ exports["default"] = _default;
@@ -0,0 +1,33 @@
1
+ .toolbar-wrap {
2
+ display: flex;
3
+ border-bottom: 1px solid rgba(0, 0, 0, .04);
4
+ border-top: 1px solid rgba(0, 0, 0, .04);
5
+ position: absolute;
6
+ border-radius: 6px;
7
+ top: 0;
8
+ left: 0;
9
+ z-index: 999;
10
+ background: #fff;
11
+ transform: translateY(calc(-100% - 1px));
12
+ flex-direction: column;
13
+ padding: 3px 0;
14
+
15
+ .tool-item {
16
+ margin: 0 5px;
17
+ display: flex;
18
+ }
19
+
20
+ .tooll-line {
21
+ display: inline-flex;
22
+ width: 1px;
23
+ height: 16px;
24
+ background-color: #C1C9D7;
25
+ margin: 0 5px;
26
+ }
27
+
28
+ .toolbar-row {
29
+ display: flex;
30
+ align-items: center;
31
+ height: 35px;
32
+ }
33
+ }
@@ -35,7 +35,7 @@ var _LeftTitle = _interopRequireDefault(require("./LeftTitle"));
35
35
 
36
36
  var _RenderHtml = _interopRequireDefault(require("./RenderHtml"));
37
37
 
38
- var _AiImageGenerator = _interopRequireDefault(require("./AiImageGenerator"));
38
+ var _ToolBarModal = _interopRequireDefault(require("./ToolBarModal"));
39
39
 
40
40
  var _componentTypes = require("../../constants/component-types");
41
41
 
@@ -43,14 +43,14 @@ var _mobx = require("../../mobx");
43
43
 
44
44
  var _constants = require("../../constants");
45
45
 
46
- require("./index.less");
47
-
48
46
  var _common = require("../../common");
49
47
 
50
48
  var _storeUtil = require("../../utils/storeUtil");
51
49
 
52
50
  var _commonUtil = require("../../utils/commonUtil");
53
51
 
52
+ require("./index.less");
53
+
54
54
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
55
55
 
56
56
  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); }
@@ -263,6 +263,7 @@ window.magicDesign = {
263
263
 
264
264
  var setDesignConfig = function setDesignConfig(data) {
265
265
  window.magicDesign = __assign(__assign(__assign({}, window.magicDesign), data), {
266
+ designMode: true,
266
267
  compWidth: Number(data.compWidth),
267
268
  compSpacing: Number(data.compSpacing),
268
269
  MBaseUrl: data.MBaseUrl || 'operation/v1',
@@ -271,6 +272,13 @@ var setDesignConfig = function setDesignConfig(data) {
271
272
  };
272
273
 
273
274
  var debug = require('debug')('worker:Designer');
275
+
276
+ _antd.message.config({
277
+ getContainer: function getContainer() {
278
+ return document.querySelector('[magic_design]');
279
+ },
280
+ prefixCls: 'cylon-message'
281
+ });
274
282
  /**
275
283
  * @class Designer
276
284
  * 主入口。
@@ -510,6 +518,9 @@ function (_super) {
510
518
  break;
511
519
 
512
520
  case _constants.quickMenuCode.SAVE:
521
+ /** 如果保存则重置为mobile,同一移动端截图 #10504010 */
522
+ _this.onSwitchDevice(_constants.deviceTypeMap.PHONE);
523
+
513
524
  onSave(handleParams);
514
525
  break;
515
526
 
@@ -583,6 +594,7 @@ function (_super) {
583
594
  onHtmlBack: _this.onHtmlBack,
584
595
  onHtmlSave: _this.onHtmlSave,
585
596
  outputType: _this.props.outputType,
597
+ pageType: _this.props.pageType,
586
598
  redoDisable: !_this.history.redoAble(),
587
599
  undoDisable: !_this.history.undoAble()
588
600
  });
@@ -608,6 +620,18 @@ function (_super) {
608
620
  });
609
621
  };
610
622
 
623
+ _this.onEditModalOk = function (html) {
624
+ var _a;
625
+
626
+ (_a = _mobx.frameStore.textModalState) === null || _a === void 0 ? void 0 : _a.onOk(html);
627
+
628
+ _mobx.frameStore.setState({
629
+ textModalState: {
630
+ visible: false
631
+ }
632
+ });
633
+ };
634
+
611
635
  (0, _commonUtil.ensure)(function () {
612
636
  return window._MAGIC_VERSION = '0.1.49';
613
637
  });
@@ -630,7 +654,11 @@ function (_super) {
630
654
  _this.state = {
631
655
  MPageData: MPageData,
632
656
  device: _constants.deviceTypeMap.PHONE,
633
- appointmentVisible: false
657
+ appointmentVisible: false,
658
+ showEditModal: false,
659
+ textModalState: {
660
+ quillRef: null
661
+ }
634
662
  };
635
663
  setDesignConfig(__assign(__assign({}, config), {
636
664
  outputType: outputType
@@ -658,7 +686,8 @@ function (_super) {
658
686
 
659
687
  this.destory = (0, _mobx.autorun)(function () {
660
688
  var stateObj = {
661
- imgGenVisible: _mobx.store.imgGenVisible
689
+ imgGenVisible: _mobx.store.imgGenVisible,
690
+ textModalState: _mobx.frameStore.textModalState
662
691
  };
663
692
 
664
693
  if (_this.state.locale != _mobx.store.locale) {
@@ -716,14 +745,16 @@ function (_super) {
716
745
  var _a = this.state,
717
746
  MPageData = _a.MPageData,
718
747
  device = _a.device,
719
- appointmentVisible = _a.appointmentVisible;
748
+ appointmentVisible = _a.appointmentVisible,
749
+ textModalState = _a.textModalState;
720
750
  var _b = this.props,
721
751
  pagesManager = _b.pagesManager,
722
752
  compSource = _b.compSource,
723
753
  pageName = _b.pageName,
724
754
  onCancelPublish = _b.onCancelPublish,
725
755
  leftTitle = _b.leftTitle,
726
- outputType = _b.outputType;
756
+ outputType = _b.outputType,
757
+ pageType = _b.pageType;
727
758
  var renderPagesManage = pagesManager;
728
759
 
729
760
  if (outputType == 'html') {
@@ -735,18 +766,19 @@ function (_super) {
735
766
  return /*#__PURE__*/_react["default"].createElement(_mobxReact.Provider, {
736
767
  store: _mobx.store
737
768
  }, /*#__PURE__*/_react["default"].createElement(_antd.ConfigProvider, {
738
- getPopupContainer: function getPopupContainer(triggerNode) {
739
- return triggerNode ? triggerNode.parentNode : document.querySelector('[magic_design]');
769
+ getPopupContainer: function getPopupContainer() {
770
+ return document.querySelector('[magic_design]');
740
771
  },
741
772
  prefixCls: "cylon"
742
773
  }, /*#__PURE__*/_react["default"].createElement("div", {
743
774
  magic_design: ""
744
775
  }, /*#__PURE__*/_react["default"].createElement("div", {
745
776
  className: "designer-wrap"
746
- }, /*#__PURE__*/_react["default"].createElement(_ChatRobot["default"], null), /*#__PURE__*/_react["default"].createElement(_PageCompList["default"], {
777
+ }, window.magicDesign.needAi && /*#__PURE__*/_react["default"].createElement(_ChatRobot["default"], null), /*#__PURE__*/_react["default"].createElement(_PageCompList["default"], {
747
778
  onAdd: this.onAdd,
748
779
  pageData: MPageData,
749
780
  pageName: pageName,
781
+ pageType: pageType,
750
782
  renderPagesManage: renderPagesManage,
751
783
  setPageData: this.setPageData
752
784
  }), /*#__PURE__*/_react["default"].createElement(_CompListPanel["default"], {
@@ -777,7 +809,9 @@ function (_super) {
777
809
  },
778
810
  onConfirm: this.onAppointmentConfirm,
779
811
  visible: appointmentVisible
780
- }), /*#__PURE__*/_react["default"].createElement(_AiImageGenerator["default"], null)), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.SystemNotification, null))), /*#__PURE__*/_react["default"].createElement(_RenderHtml["default"], {
812
+ })), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.SystemNotification, null)), textModalState.quillRef && /*#__PURE__*/_react["default"].createElement(_ToolBarModal["default"], {
813
+ quillRef: textModalState.quillRef
814
+ })), /*#__PURE__*/_react["default"].createElement(_RenderHtml["default"], {
781
815
  ref: this.renderHtmlRef
782
816
  }));
783
817
  };