@fonixtree/magic-design 1.0.4 → 1.0.6

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 (509) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +67 -3
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +67 -3
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  8. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  9. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  10. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  11. package/es/assets/less/slider.less +49 -1
  12. package/es/common/ColorPicker/index.js +4 -1
  13. package/es/common/Field/index.js +20 -3
  14. package/es/common/ImageLazy/index.js +172 -0
  15. package/es/common/ImageLazy/index.less +0 -0
  16. package/es/common/ImageModal/index.js +35 -2
  17. package/es/common/ImagePicker/index.js +76 -12
  18. package/es/common/ImagePicker/index.less +1 -0
  19. package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
  20. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  21. package/es/common/LinkModal/CatgTable/index.js +1 -1
  22. package/es/common/LinkModal/CouponTable/index.js +10 -2
  23. package/es/common/LinkModal/FilteredProductModal/index.js +5 -6
  24. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  25. package/es/common/LinkModal/index.js +6 -0
  26. package/es/common/ProductModal/index.js +2 -2
  27. package/es/common/Video/index.js +11 -3
  28. package/es/common/Video/index.less +11 -7
  29. package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  30. package/es/composite-comp/bol/components/Banner/index.js +15 -1
  31. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  32. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  33. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -4
  34. package/es/composite-comp/bol/components/Button/index.js +3 -4
  35. package/es/composite-comp/bol/components/Carousel/index.js +27 -3
  36. package/es/composite-comp/bol/components/Carousel/mobile/index.js +12 -24
  37. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  38. package/es/composite-comp/bol/components/Carousel/pc/index.js +5 -6
  39. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  40. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  41. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  42. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  43. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  44. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  45. package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  46. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  47. package/es/composite-comp/bol/components/ImageText/pc/index.js +98 -7
  48. package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  49. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  50. package/es/composite-comp/bol/components/Location/index.js +100 -0
  51. package/es/composite-comp/bol/components/Location/index.less +15 -0
  52. package/es/composite-comp/bol/components/Newsletter/index.js +1 -4
  53. package/es/composite-comp/bol/components/Tag/index.js +3 -4
  54. package/es/composite-comp/bol/components/Text/index.js +3 -4
  55. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  56. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  57. package/es/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  58. package/es/composite-comp/bol/components/Video/index.js +23 -1
  59. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  60. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  61. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  62. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  63. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  64. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  65. package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
  66. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  67. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  68. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  69. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  70. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  71. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  72. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  73. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  74. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  75. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  76. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  77. package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  78. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  79. package/es/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  80. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  81. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  82. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  83. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  84. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  85. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  86. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  87. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  88. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  89. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  90. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
  91. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +64 -3
  92. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  93. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  94. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  95. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  96. package/es/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
  97. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  98. package/es/composite-comp/dito/components/Recommend/pc/index.js +2 -1
  99. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  100. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  101. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  102. package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  103. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +21 -37
  104. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +35 -24
  105. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +71 -80
  106. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  107. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -48
  108. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  109. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  110. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  111. package/es/constants/component-types.js +10 -2
  112. package/es/constants/index.js +12 -2
  113. package/es/constants/layout.js +21 -1
  114. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  115. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  116. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  117. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  118. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  119. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  120. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  121. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  122. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  123. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  124. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  125. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  126. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  127. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  128. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  129. package/es/core/Designer/AiImageGenerator/index.js +752 -0
  130. package/es/core/Designer/AiImageGenerator/index.less +136 -0
  131. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  132. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  133. package/es/core/Designer/ChatRobot/index.js +343 -0
  134. package/es/core/Designer/ChatRobot/index.less +138 -0
  135. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  136. package/es/core/Designer/ConfigPanel/index.js +2 -1
  137. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  138. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  139. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  140. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  141. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  142. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  143. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.js +96 -0
  144. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.less +26 -0
  145. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +101 -0
  146. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  147. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  148. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  149. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.js +93 -0
  150. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.less +26 -0
  151. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
  152. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BoldSVG.js +29 -0
  153. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/FontColorSVG.js +49 -0
  154. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/ItalicSVG.js +29 -0
  155. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/LinkSVG.js +26 -0
  156. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/OrderSVG.js +27 -0
  157. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/StrikeSVG.js +31 -0
  158. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnderlineSVG.js +34 -0
  159. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnorderSVG.js +41 -0
  160. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +136 -0
  161. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/index.less +25 -0
  162. package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/type.js +1 -0
  163. package/es/core/Designer/TextEditModal/ToolBar/index.js +219 -0
  164. package/es/core/Designer/TextEditModal/ToolBar/index.less +19 -0
  165. package/es/core/Designer/TextEditModal/index.js +100 -0
  166. package/es/core/Designer/TextEditModal/index.less +4 -0
  167. package/es/core/Designer/TextEditModal_old/index.js +142 -0
  168. package/es/core/Designer/TextEditModal_old/index.less +25 -0
  169. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  170. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  171. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  172. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  173. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  174. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  175. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  176. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  177. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  178. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  179. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  180. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  181. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  182. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  183. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  184. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  185. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  186. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  187. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  188. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  189. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  190. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  191. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  192. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  193. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  194. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  195. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  196. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  197. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  198. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  199. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  200. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  201. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  202. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  203. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  204. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  205. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  206. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  207. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  208. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  209. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  210. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  211. package/es/core/Designer/ToolBarModal/index.js +354 -0
  212. package/es/core/Designer/ToolBarModal/index.less +32 -0
  213. package/es/core/Designer/index.js +56 -15
  214. package/es/decorator/index.js +14 -0
  215. package/es/decorator/lazyLoadDecorator.js +75 -0
  216. package/es/decorator/metaDecorator.js +1 -1
  217. package/es/locale/en/en.json +10 -0
  218. package/es/locale/es/es.json +10 -0
  219. package/es/locale/id/id.json +10 -0
  220. package/es/meta-comp/components/Image/index.js +19 -3
  221. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  222. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  223. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  224. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  225. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  226. package/es/meta-comp/components/Text/index.js +103 -374
  227. package/es/meta-comp/components/Text/index.less +57 -0
  228. package/es/meta-comp/config-panels/ImageConfig/index.js +35 -12
  229. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  230. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  231. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  232. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  233. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  234. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  235. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  236. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  237. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  238. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  239. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  240. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  241. package/es/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  242. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  243. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  244. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  245. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  246. package/es/meta-comp/config-panels/TextConfig/index.js +14 -31
  247. package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
  248. package/es/mobx/Frame.js +7 -1
  249. package/es/mobx/Store.js +3 -0
  250. package/es/utils/androidUtil.js +8 -1
  251. package/es/utils/businessUtil.js +13 -0
  252. package/es/utils/commonUtil.js +156 -34
  253. package/es/utils/coreUtil.js +18 -4
  254. package/lib/assets/fonts/magic-box-iconfont.css +67 -3
  255. package/lib/assets/fonts/magic-box-iconfont.css.bak +67 -3
  256. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  257. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  258. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  259. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  260. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  261. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  262. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  263. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  264. package/lib/assets/less/slider.less +49 -1
  265. package/lib/common/ColorPicker/index.js +4 -1
  266. package/lib/common/Field/index.js +20 -3
  267. package/lib/common/ImageLazy/index.js +172 -0
  268. package/lib/common/ImageLazy/index.less +0 -0
  269. package/lib/common/ImageModal/index.js +35 -2
  270. package/lib/common/ImagePicker/index.js +76 -12
  271. package/lib/common/ImagePicker/index.less +1 -0
  272. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  273. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  274. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  275. package/lib/common/LinkModal/CouponTable/index.js +10 -2
  276. package/lib/common/LinkModal/FilteredProductModal/index.js +5 -6
  277. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  278. package/lib/common/LinkModal/index.js +6 -0
  279. package/lib/common/ProductModal/index.js +2 -2
  280. package/lib/common/Video/index.js +11 -3
  281. package/lib/common/Video/index.less +11 -7
  282. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  283. package/lib/composite-comp/bol/components/Banner/index.js +15 -1
  284. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  285. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  286. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -4
  287. package/lib/composite-comp/bol/components/Button/index.js +3 -4
  288. package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
  289. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +12 -24
  290. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  291. package/lib/composite-comp/bol/components/Carousel/pc/index.js +5 -6
  292. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  293. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  294. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  295. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  296. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  297. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  298. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  299. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  300. package/lib/composite-comp/bol/components/ImageText/pc/index.js +98 -7
  301. package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  302. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  303. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  304. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  305. package/lib/composite-comp/bol/components/Newsletter/index.js +1 -4
  306. package/lib/composite-comp/bol/components/Tag/index.js +3 -4
  307. package/lib/composite-comp/bol/components/Text/index.js +3 -4
  308. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  309. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  310. package/lib/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  311. package/lib/composite-comp/bol/components/Video/index.js +23 -1
  312. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  313. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  314. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  315. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  316. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  317. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  318. package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
  319. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  320. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  321. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  322. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  323. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  324. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  325. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  326. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  327. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  328. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  329. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  330. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  331. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  332. package/lib/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  333. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  334. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  335. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  336. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  337. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  338. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  339. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  340. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  341. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  342. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  343. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
  344. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +64 -3
  345. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  346. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  347. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  348. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  349. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
  350. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  351. package/lib/composite-comp/dito/components/Recommend/pc/index.js +2 -1
  352. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  353. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  354. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  355. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  356. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +21 -37
  357. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +35 -24
  358. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +71 -80
  359. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  360. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -48
  361. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  362. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  363. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  364. package/lib/constants/component-types.js +10 -2
  365. package/lib/constants/index.js +12 -2
  366. package/lib/constants/layout.js +21 -1
  367. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  368. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  369. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  370. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  371. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  372. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  373. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  374. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  375. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  376. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  377. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  378. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  379. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  380. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  381. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  382. package/lib/core/Designer/AiImageGenerator/index.js +752 -0
  383. package/lib/core/Designer/AiImageGenerator/index.less +136 -0
  384. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  385. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  386. package/lib/core/Designer/ChatRobot/index.js +343 -0
  387. package/lib/core/Designer/ChatRobot/index.less +138 -0
  388. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  389. package/lib/core/Designer/ConfigPanel/index.js +2 -1
  390. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  391. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  392. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  393. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  394. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  395. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  396. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.js +96 -0
  397. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.less +26 -0
  398. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +101 -0
  399. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  400. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  401. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  402. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.js +93 -0
  403. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.less +26 -0
  404. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
  405. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BoldSVG.js +29 -0
  406. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/FontColorSVG.js +49 -0
  407. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/ItalicSVG.js +29 -0
  408. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/LinkSVG.js +26 -0
  409. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/OrderSVG.js +27 -0
  410. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/StrikeSVG.js +31 -0
  411. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnderlineSVG.js +34 -0
  412. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnorderSVG.js +41 -0
  413. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +136 -0
  414. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/index.less +25 -0
  415. package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/type.js +1 -0
  416. package/lib/core/Designer/TextEditModal/ToolBar/index.js +219 -0
  417. package/lib/core/Designer/TextEditModal/ToolBar/index.less +19 -0
  418. package/lib/core/Designer/TextEditModal/index.js +100 -0
  419. package/lib/core/Designer/TextEditModal/index.less +4 -0
  420. package/lib/core/Designer/TextEditModal_old/index.js +142 -0
  421. package/lib/core/Designer/TextEditModal_old/index.less +25 -0
  422. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  423. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  424. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  425. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  426. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  427. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  428. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  429. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  430. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  431. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  432. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  433. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  434. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  435. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  436. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  437. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  438. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  439. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  440. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  441. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  442. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  443. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  444. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  445. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  446. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  447. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  448. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  449. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  450. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  451. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  452. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  453. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  454. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  455. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  456. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  457. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  458. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  459. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  460. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  461. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  462. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  463. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  464. package/lib/core/Designer/ToolBarModal/index.js +354 -0
  465. package/lib/core/Designer/ToolBarModal/index.less +32 -0
  466. package/lib/core/Designer/index.js +56 -15
  467. package/lib/decorator/index.js +14 -0
  468. package/lib/decorator/lazyLoadDecorator.js +75 -0
  469. package/lib/decorator/metaDecorator.js +1 -1
  470. package/lib/locale/en/en.json +10 -0
  471. package/lib/locale/es/es.json +10 -0
  472. package/lib/locale/id/id.json +10 -0
  473. package/lib/meta-comp/components/Image/index.js +19 -3
  474. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  475. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  476. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  477. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  478. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  479. package/lib/meta-comp/components/Text/index.js +103 -374
  480. package/lib/meta-comp/components/Text/index.less +57 -0
  481. package/lib/meta-comp/config-panels/ImageConfig/index.js +35 -12
  482. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  483. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  484. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  485. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  486. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  487. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  488. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  489. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  490. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  491. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  492. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  493. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  494. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  495. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  496. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  497. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  498. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  499. package/lib/meta-comp/config-panels/TextConfig/index.js +14 -31
  500. package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
  501. package/lib/mobx/Frame.js +7 -1
  502. package/lib/mobx/Store.js +3 -0
  503. package/lib/utils/androidUtil.js +8 -1
  504. package/lib/utils/businessUtil.js +13 -0
  505. package/lib/utils/commonUtil.js +156 -34
  506. package/lib/utils/coreUtil.js +18 -4
  507. package/package.json +5 -1
  508. package/es/assets/fonts/.DS_Store +0 -0
  509. package/lib/assets/fonts/.DS_Store +0 -0
@@ -116,3 +116,35 @@
116
116
  }
117
117
  }
118
118
  }
119
+
120
+
121
+ .leftImage .group-wrap .one-card {
122
+ flex-direction: row;
123
+ .card-image-wrap .card-image {
124
+ margin: 0 32px 0 0;
125
+ }
126
+ }
127
+ .rightImage .group-wrap .one-card {
128
+ flex-direction: row-reverse;
129
+ .card-image-wrap .card-image {
130
+ margin: 0 0 0 32px;
131
+ }
132
+ }
133
+
134
+ .leftImage, .rightImage {
135
+ padding: 48px 108px;
136
+ .group-wrap {
137
+ flex-direction: column;
138
+ .one-card {
139
+ // flex-direction: row;
140
+ .card-image-wrap {
141
+ width: fit-content;
142
+ }
143
+ .content-wrap {
144
+ flex: 1;
145
+ display: flex;
146
+ flex-direction: column;
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getDefaultJSON = void 0;
7
+
8
+ var _uuid = require("uuid");
9
+
10
+ var getDefaultJSON = function getDefaultJSON() {
11
+ var groupId = (0, _uuid.v4)();
12
+ return {
13
+ id: groupId,
14
+ type: 'LOCATION',
15
+ logo: {
16
+ parentId: groupId,
17
+ id: (0, _uuid.v4)(),
18
+ open: true,
19
+ color: '#fff'
20
+ },
21
+ address: {
22
+ parentId: groupId,
23
+ id: (0, _uuid.v4)(),
24
+ open: true
25
+ },
26
+ icon: {
27
+ parentId: groupId,
28
+ id: (0, _uuid.v4)(),
29
+ open: true,
30
+ color: '#fff'
31
+ },
32
+ spacing: {
33
+ pc: {
34
+ paddingTop: 10,
35
+ paddingBottom: 10,
36
+ marginBottom: 0
37
+ },
38
+ mobile: {
39
+ paddingTop: 12,
40
+ paddingBottom: 12,
41
+ paddingLeft: 12,
42
+ marginBottom: 0
43
+ }
44
+ },
45
+ customize: {
46
+ layout: {
47
+ pcLayout: 'top',
48
+ h5Layout: 'top'
49
+ }
50
+ },
51
+ background: {
52
+ opacity: 100,
53
+ color: '#597EF7',
54
+ image: '',
55
+ bgType: 'color'
56
+ }
57
+ };
58
+ };
59
+
60
+ exports.getDefaultJSON = getDefaultJSON;
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireWildcard(require("react"));
9
+
10
+ var _defaultJSON = require("./defaultJSON");
11
+
12
+ var _common = require("../../../../common");
13
+
14
+ var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
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
+ 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); }
25
+
26
+ var __extends = void 0 && (void 0).__extends || function () {
27
+ var _extendStatics = function extendStatics(d, b) {
28
+ _extendStatics = Object.setPrototypeOf || {
29
+ __proto__: []
30
+ } instanceof Array && function (d, b) {
31
+ d.__proto__ = b;
32
+ } || function (d, b) {
33
+ for (var p in b) {
34
+ if (b.hasOwnProperty(p)) d[p] = b[p];
35
+ }
36
+ };
37
+
38
+ return _extendStatics(d, b);
39
+ };
40
+
41
+ return function (d, b) {
42
+ _extendStatics(d, b);
43
+
44
+ function __() {
45
+ this.constructor = d;
46
+ }
47
+
48
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
49
+ };
50
+ }();
51
+
52
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
53
+ var c = arguments.length,
54
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
55
+ d;
56
+ if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
57
+ if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
58
+ }
59
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
60
+ };
61
+
62
+ var CustomCode =
63
+ /** @class */
64
+ function (_super) {
65
+ __extends(CustomCode, _super);
66
+
67
+ function CustomCode() {
68
+ return _super !== null && _super.apply(this, arguments) || this;
69
+ }
70
+
71
+ CustomCode.prototype.componentDidMount = function () {};
72
+
73
+ CustomCode.prototype.render = function () {
74
+ var nodeData = this.props.nodeData;
75
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : /*#__PURE__*/_react["default"].createElement("div", {
76
+ className: "location-mobile"
77
+ }, nodeData.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
78
+ className: "logo",
79
+ color: nodeData.logo.color,
80
+ size: 20,
81
+ type: "icon-MapPin"
82
+ }), nodeData.address.open && /*#__PURE__*/_react["default"].createElement("div", {
83
+ className: "address"
84
+ }, "Display Location Address"), nodeData.icon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
85
+ className: "logo",
86
+ color: nodeData.icon.color,
87
+ size: 16,
88
+ type: "icon-outlined-right"
89
+ })));
90
+ };
91
+
92
+ CustomCode.defaultProps = {};
93
+ CustomCode.type = 'LOCATION';
94
+ CustomCode.getDefaultJSON = _defaultJSON.getDefaultJSON;
95
+ CustomCode = __decorate([_compositeDecorator["default"]], CustomCode);
96
+ return CustomCode;
97
+ }(_react.Component);
98
+
99
+ var _default = CustomCode;
100
+ exports["default"] = _default;
@@ -0,0 +1,15 @@
1
+ .location-mobile {
2
+ display: flex;
3
+ align-items: center;
4
+ .logo {
5
+ margin-right: 6px;
6
+ }
7
+ .address {
8
+ font-family: Open Sans;
9
+ font-size: 14px;
10
+ font-weight: 400;
11
+ line-height: 18px;
12
+ color: #fff;
13
+ }
14
+
15
+ }
@@ -102,10 +102,7 @@ function (_super) {
102
102
  // wrapStyle.backgroundPosition = 'center';
103
103
  // }
104
104
 
105
- var GAData = {
106
- moduleId: nodeData.id,
107
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
108
- };
105
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
109
106
 
110
107
  var style = __assign({}, (0, _Text.contentStyle)(nodeData.content.inputField.content));
111
108
 
@@ -17,6 +17,8 @@ var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/
17
17
 
18
18
  var _ConfigPanel = require("../../../../core/Designer/ConfigPanel");
19
19
 
20
+ var _commonUtil = require("../../../../utils/commonUtil");
21
+
20
22
  require("./index.less");
21
23
 
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -92,10 +94,7 @@ function (_super) {
92
94
  var _a;
93
95
 
94
96
  var nodeData = this.props.nodeData;
95
- var GAData = {
96
- moduleId: nodeData.id,
97
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
98
- };
97
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
99
98
  return /*#__PURE__*/_react["default"].createElement("div", {
100
99
  className: (0, _classnames["default"])('tag-comp-wrap', (_a = {}, _a[nodeData.customize.layout] = true, _a[nodeData.customize.align] = true, _a)),
101
100
  onClick: this.onComponentClick
@@ -17,6 +17,8 @@ var _components = require("../../../../meta-comp/components");
17
17
 
18
18
  var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
19
19
 
20
+ var _commonUtil = require("../../../../utils/commonUtil");
21
+
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
23
 
22
24
  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); }
@@ -93,10 +95,7 @@ function (_super) {
93
95
  nodeData = _b.nodeData,
94
96
  mode = _b.mode,
95
97
  outputType = _b.outputType;
96
- var GAData = {
97
- moduleId: nodeData.id,
98
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
99
- };
98
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
100
99
  var groupWrapContainerStyle = window.magicDesign.device === 'pc' ? 'padding: 16px 20px;' : 'padding: 12px 20px;';
101
100
  var style = ".m-text{word-break: break-word;}.m-text .title-wrap{font-weight:500;font-size:20px;}.m-text .sub-title-text{font-size:15px;color:#b7b7b7;margin-top:10px;}.m-text .group-content-wrap{width:100%;}.m-text .group-content-wrap .group-wrap-container{" + groupWrapContainerStyle + "}.m-text .group-content-wrap .group-wrap{display:flex;flex-direction:column;width:100%;}.m-text .group-content-wrap .group-wrap .group-title{font-size:14px;}.m-text .group-content-wrap.col-1 .group-wrap{width:100%;}.m-text .group-content-wrap.col-2{display:grid;grid-template-columns:50% 50%;}.m-text .group-content-wrap.col-3{display:grid;grid-template-columns:33.3% 33.3% 33.3%;}.m-text .group-content-wrap.mobile{display:block;}";
102
101
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -13,14 +13,16 @@ var _components = require("../../../../../../meta-comp/components");
13
13
 
14
14
  var _commonUtil = require("../../../../../../utils/commonUtil");
15
15
 
16
- var _playCircle = _interopRequireDefault(require("../../imgs/play-circle.png"));
17
-
18
16
  var _index = _interopRequireDefault(require("../ShareBtn/index"));
19
17
 
20
18
  require("./index.less");
21
19
 
22
20
  var _AlignSelector = require("../../../../../../common/AlignSelector");
23
21
 
22
+ var _coreUtil = require("../../../../../../utils/coreUtil");
23
+
24
+ var _PlaySvg = _interopRequireDefault(require("../../../../../../meta-comp/config-panels/PlayIconConfig/PlaySvg"));
25
+
24
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
27
 
26
28
  var __extends = void 0 && (void 0).__extends || function () {
@@ -49,6 +51,22 @@ var __extends = void 0 && (void 0).__extends || function () {
49
51
  };
50
52
  }();
51
53
 
54
+ var __assign = void 0 && (void 0).__assign || function () {
55
+ __assign = Object.assign || function (t) {
56
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
57
+ s = arguments[i];
58
+
59
+ for (var p in s) {
60
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
61
+ }
62
+ }
63
+
64
+ return t;
65
+ };
66
+
67
+ return __assign.apply(this, arguments);
68
+ };
69
+
52
70
  var debug = require('debug')('worker:VideoTag');
53
71
 
54
72
  var VideoTag =
@@ -73,23 +91,43 @@ function (_super) {
73
91
  padding = _a.padding,
74
92
  share = _a.share,
75
93
  layout = _a.layout,
76
- align = _a.align,
77
- GAData = _a.GAData;
94
+ customize = _a.customize,
95
+ GAData = _a.GAData,
96
+ _c = _a.notVertical,
97
+ notVertical = _c === void 0 ? false : _c;
98
+ var align = customize.align,
99
+ vertical = customize.vertical;
78
100
  var showBtn = data.video.playButton == 'Bottom Left' && !['h5-layout3', 'pc-layout4', 'pc-layout5'].includes(layout);
101
+ var distanceObj = {};
102
+
103
+ if (!notVertical) {
104
+ if (vertical === 'top') {
105
+ distanceObj.top = (0, _coreUtil.isPc)() ? 40 : 12;
106
+ distanceObj.bottom = 'unset';
107
+ } else if (vertical === 'center') {
108
+ distanceObj.top = '50%';
109
+ distanceObj.bottom = 'unset';
110
+ distanceObj.transform = 'translateY(-50%)';
111
+ } else {
112
+ // if (vertical === 'bottom')
113
+ distanceObj.bottom = (0, _coreUtil.isPc)() ? 40 : 12;
114
+ }
115
+ }
116
+
79
117
  return /*#__PURE__*/_react["default"].createElement("div", {
80
118
  className: "video-tag-container",
81
- style: (0, _commonUtil.pxToRem)({
119
+ style: (0, _commonUtil.pxToRem)(__assign({
82
120
  position: position,
83
121
  padding: padding
84
- })
122
+ }, distanceObj))
85
123
  }, showBtn && /*#__PURE__*/_react["default"].createElement("div", {
86
124
  className: "left-wrap"
87
125
  }, /*#__PURE__*/_react["default"].createElement("div", {
88
126
  className: "play-btn center",
89
127
  onClick: onPlayClick
90
- }, /*#__PURE__*/_react["default"].createElement("img", {
91
- alt: "",
92
- src: _playCircle["default"]
128
+ }, /*#__PURE__*/_react["default"].createElement(_PlaySvg["default"], {
129
+ imgName: data.playIcon.iconType,
130
+ imgWidth: (0, _coreUtil.isPc)() ? data.playIcon.pcSize : data.playIcon.size
93
131
  }))), /*#__PURE__*/_react["default"].createElement("div", {
94
132
  className: "right-wrap"
95
133
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -136,7 +174,8 @@ function (_super) {
136
174
 
137
175
  VideoTag.defaultProps = {
138
176
  data: {},
139
- noShare: false
177
+ noShare: false,
178
+ notVertical: false
140
179
  };
141
180
  return VideoTag;
142
181
  }(_react["default"].Component);
@@ -3,7 +3,7 @@
3
3
  bottom: 0;
4
4
  left: 0;
5
5
  right: 0;
6
- padding-bottom: 10px;
6
+ // padding-bottom: 10px;
7
7
  display: flex;
8
8
  align-items: center;
9
9
 
@@ -20,8 +20,8 @@
20
20
  top: 50%;
21
21
  left: 50%;
22
22
  transform: translate(-50%, -50%);
23
- width: 60px;
24
- height: 60px;
23
+ // width: 60px;
24
+ // height: 60px;
25
25
  z-index: 1;
26
26
  cursor: pointer;
27
27
  transform: translateX(-50%) !important;
@@ -53,11 +53,11 @@
53
53
  }
54
54
 
55
55
  .first-button {
56
- margin: 5px;
56
+ margin: 0 5px;
57
57
  }
58
58
 
59
59
  .secondary-button {
60
- margin: 5px;
60
+ margin: 0 5px;
61
61
  }
62
62
  }
63
63
 
@@ -154,6 +154,16 @@ var videoGroupSourceJSON = function videoGroupSourceJSON(parentId) {
154
154
  speed: 1,
155
155
  playPosition: 'Play in Box',
156
156
  playButton: 'Middle'
157
+ },
158
+ playIcon: {
159
+ open: true,
160
+ parentId: groupId,
161
+ id: (0, _uuid.v4)(),
162
+ type: 'PLAY',
163
+ size: 48,
164
+ pcSize: 60,
165
+ iconType: 'light-playicon-01',
166
+ iconColor: 'Light'
157
167
  }
158
168
  };
159
169
  };
@@ -66,7 +66,29 @@ function (_super) {
66
66
 
67
67
  function Video() {
68
68
  return _super !== null && _super.apply(this, arguments) || this;
69
- }
69
+ } // componentWillMount() {
70
+ // console.log('--video WillMount');
71
+ // // 兼容新开发的功能: video新增播放按钮 的设置
72
+ // const { nodeData } = this.props;
73
+ // if (nodeData.groupSource && nodeData.groupSource.length > 0) {
74
+ // nodeData.groupSource.forEach(group => {
75
+ // if (!group.playIcon) {
76
+ // console.log('--video add group.playIcon ');
77
+ // group.playIcon = {
78
+ // open: true,
79
+ // parentId: group.id,
80
+ // id: uuidv4(),
81
+ // type: 'PLAY',
82
+ // size: 48,
83
+ // pcSize: 60,
84
+ // iconType: 'light-playicon-01',
85
+ // iconColor: 'Light',
86
+ // };
87
+ // }
88
+ // });
89
+ // }
90
+ // }
91
+
70
92
 
71
93
  Video.prototype.render = function () {
72
94
  var nodeData = this.props.nodeData; // console.log('---Video', nodeData);
@@ -11,8 +11,6 @@ var _index = _interopRequireDefault(require("../../components/ShareBtn/index"));
11
11
 
12
12
  var _common = require("../../../../../../common");
13
13
 
14
- var _playCircle = _interopRequireDefault(require("../../imgs/play-circle.png"));
15
-
16
14
  var _commonUtil = require("../../../../../../utils/commonUtil");
17
15
 
18
16
  var _VideoTag = _interopRequireDefault(require("../../components/VideoTag"));
@@ -23,6 +21,8 @@ var _ConfigPanel = require("../../../../../../core/Designer/ConfigPanel");
23
21
 
24
22
  require("./index.less");
25
23
 
24
+ var _PlaySvg = _interopRequireDefault(require("../../../../../../meta-comp/config-panels/PlayIconConfig/PlaySvg"));
25
+
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
27
 
28
28
  var __extends = void 0 && (void 0).__extends || function () {
@@ -111,14 +111,11 @@ function (_super) {
111
111
  var _this = this;
112
112
 
113
113
  var data = this.props.data;
114
- var GAData = {
115
- moduleId: data.id,
116
- moduleName: data.moduleIndex + '.' + data.type
117
- };
114
+ var GAData = (0, _commonUtil.getGAData)(data);
118
115
  return /*#__PURE__*/_react["default"].createElement("div", {
119
116
  className: "video-layout1-wrap"
120
117
  }, data.groupSource.map(function (group) {
121
- var _a, _b;
118
+ var _a, _b, _c;
122
119
  /** 当前是否在播放 */
123
120
 
124
121
 
@@ -151,18 +148,18 @@ function (_super) {
151
148
  }),
152
149
  play: (_b = _this.videoRefMap[group.id]) === null || _b === void 0 ? void 0 : _b.playing,
153
150
  videoId: group.id
154
- }), !isPlaying && group.video.playButton == 'Middle' && /*#__PURE__*/_react["default"].createElement("div", {
151
+ }), !isPlaying && group.video.playButton == 'Middle' && ((_c = group === null || group === void 0 ? void 0 : group.playIcon) === null || _c === void 0 ? void 0 : _c.open) && /*#__PURE__*/_react["default"].createElement("div", {
155
152
  className: "play-btn center",
156
153
  onClick: function onClick() {
157
154
  _this.playOrPause(group);
158
155
  }
159
- }, /*#__PURE__*/_react["default"].createElement("img", {
160
- alt: "",
161
- src: _playCircle["default"]
156
+ }, /*#__PURE__*/_react["default"].createElement(_PlaySvg["default"], {
157
+ imgName: group.playIcon.iconType,
158
+ imgWidth: group === null || group === void 0 ? void 0 : group.playIcon.size
162
159
  })), data.share.open && !isPlaying && /*#__PURE__*/_react["default"].createElement(_index["default"], {
163
160
  data: data
164
161
  }), !isPlaying && /*#__PURE__*/_react["default"].createElement(_VideoTag["default"], {
165
- align: data.customize.align,
162
+ customize: data.customize,
166
163
  data: group,
167
164
  GAData: __assign(__assign({}, GAData), {
168
165
  groupId: group.id,
@@ -1,30 +1,24 @@
1
1
  .video-layout1-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
-
5
- .video-item-wrap {
6
- height: 212px;
7
- position: relative;
8
- margin-bottom: 10px;
9
-
10
- &:last-child{
11
- margin-bottom: 0;
12
- }
13
-
14
- .play-btn {
15
- position: absolute;
16
- top: 50%;
17
- left: 50%;
18
- transform: translate(-50%, -50%);
19
- width: 60px;
20
- height: 60px;
21
- z-index: 1;
22
- cursor: pointer;
23
-
24
- img {
25
- width: 100%;
26
- height: 100%;
27
- }
28
- }
29
- }
30
- }
4
+ }
5
+ .video-layout1-wrap .video-item-wrap {
6
+ height: 4.24rem;
7
+ position: relative;
8
+ margin-bottom: 0.2rem;
9
+ }
10
+ .video-layout1-wrap .video-item-wrap:last-child {
11
+ margin-bottom: 0;
12
+ }
13
+ .video-layout1-wrap .video-item-wrap .play-btn {
14
+ position: absolute;
15
+ top: 50%;
16
+ left: 50%;
17
+ transform: translate(-50%, -50%);
18
+ z-index: 1;
19
+ cursor: pointer;
20
+ }
21
+ .video-layout1-wrap .video-item-wrap .play-btn img {
22
+ width: 100%;
23
+ height: 100%;
24
+ }
@@ -11,8 +11,6 @@ var _index = _interopRequireDefault(require("../../components/ShareBtn/index"));
11
11
 
12
12
  var _common = require("../../../../../../common");
13
13
 
14
- var _playCircle = _interopRequireDefault(require("../../imgs/play-circle.png"));
15
-
16
14
  var _commonUtil = require("../../../../../../utils/commonUtil");
17
15
 
18
16
  var _coreUtil = require("../../../../../../utils/coreUtil");
@@ -23,6 +21,8 @@ var _ConfigPanel = require("../../../../../../core/Designer/ConfigPanel");
23
21
 
24
22
  require("./index.less");
25
23
 
24
+ var _PlaySvg = _interopRequireDefault(require("../../../../../../meta-comp/config-panels/PlayIconConfig/PlaySvg"));
25
+
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
27
 
28
28
  var __extends = void 0 && (void 0).__extends || function () {
@@ -136,10 +136,7 @@ function (_super) {
136
136
 
137
137
  var sliderIndex = this.state.sliderIndex;
138
138
  var data = this.props.data;
139
- var GAData = {
140
- moduleId: data.id,
141
- moduleName: data.moduleIndex + '.' + data.type
142
- };
139
+ var GAData = (0, _commonUtil.getGAData)(data);
143
140
  return /*#__PURE__*/_react["default"].createElement("div", {
144
141
  className: "video-layout2-wrap"
145
142
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -183,16 +180,16 @@ function (_super) {
183
180
  }),
184
181
  play: (_b = _this.videoRefMap[group.id]) === null || _b === void 0 ? void 0 : _b.playing,
185
182
  videoId: group.id
186
- }), !isPlaying && group.video.playButton == 'Middle' && /*#__PURE__*/_react["default"].createElement("div", {
183
+ }), !isPlaying && group.video.playButton == 'Middle' && group.playIcon.open && /*#__PURE__*/_react["default"].createElement("div", {
187
184
  className: "play-btn center",
188
185
  onClick: function onClick() {
189
186
  _this.playOrPause(group);
190
187
  }
191
- }, /*#__PURE__*/_react["default"].createElement("img", {
192
- alt: "",
193
- src: _playCircle["default"]
188
+ }, /*#__PURE__*/_react["default"].createElement(_PlaySvg["default"], {
189
+ imgName: group.playIcon.iconType,
190
+ imgWidth: group.playIcon.size
194
191
  })), !isPlaying && /*#__PURE__*/_react["default"].createElement(_VideoTag["default"], {
195
- align: data.customize.align,
192
+ customize: data.customize,
196
193
  data: group,
197
194
  GAData: __assign(__assign({}, GAData), {
198
195
  groupId: group.id,