@fonixtree/magic-design 2.0.202 → 2.0.203

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 (311) hide show
  1. package/es/assets/fonts/AvenirNext-Bold.ttf +0 -0
  2. package/es/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
  3. package/es/assets/fonts/AvenirNext-Medium.ttf +0 -0
  4. package/es/assets/fonts/AvenirNext-Regular.ttf +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.css +27 -3
  6. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  7. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  8. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  10. package/es/assets/images/layout-icon/banner-slide-layout3.png +0 -0
  11. package/es/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
  12. package/es/assets/images/layout-icon/news-layout1.png +0 -0
  13. package/es/assets/images/layout-icon/search-dito-layout1.png +0 -0
  14. package/es/assets/images/layout-icon/slide-image-layout1.png +0 -0
  15. package/es/assets/less/font.less +30 -0
  16. package/es/assets/less/global.less +5 -0
  17. package/es/common/CountDown/index.js +29 -2
  18. package/es/common/CountDown/index.less +38 -5
  19. package/es/common/LinkModal/ProductList/index.js +484 -0
  20. package/es/common/LinkModal/ProductList/index.less +130 -0
  21. package/es/common/LinkModal/index.js +8 -1
  22. package/es/common/ProductCardModal/imgs/dot-icon.png +0 -0
  23. package/es/common/ProductCardModal/index.js +255 -0
  24. package/es/common/ProductCardModal/index.less +131 -0
  25. package/es/common/Toast/index.js +30 -0
  26. package/es/common/Toast/index.less +29 -0
  27. package/es/common/UrlPicker/index.js +1 -1
  28. package/es/common/Video/index.js +5 -3
  29. package/es/common/VideoPC/background.png +0 -0
  30. package/es/common/VideoPC/closeImg.png +0 -0
  31. package/es/common/VideoPC/components/index.js +100 -0
  32. package/es/common/VideoPC/components/index.less +62 -0
  33. package/es/common/VideoPC/cover.png +0 -0
  34. package/es/common/VideoPC/index.js +750 -0
  35. package/es/common/VideoPC/index.less +79 -0
  36. package/es/common/index.js +24 -0
  37. package/es/composite-comp/common/components/ProductItem/index.js +15 -8
  38. package/es/composite-comp/common/components/ProductItem/index.less +7 -0
  39. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +15 -73
  40. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
  41. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
  42. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  43. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  44. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +26 -12
  45. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
  46. package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
  47. package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
  48. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
  49. package/es/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
  50. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  51. package/es/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
  52. package/es/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
  53. package/es/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
  54. package/es/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
  55. package/es/composite-comp/dito/components/News/defaultJSON.js +172 -0
  56. package/{lib/composite-comp/dito/components/Orders → es/composite-comp/dito/components/News}/index.js +13 -13
  57. package/es/composite-comp/dito/components/News/pc/index.js +113 -0
  58. package/es/composite-comp/dito/components/News/pc/index.less +46 -0
  59. package/es/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
  60. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +56 -2
  61. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +147 -15
  62. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +100 -8
  63. package/es/composite-comp/dito/components/Recommend/mobile/index.js +130 -14
  64. package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +3 -11
  65. package/es/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
  66. package/es/composite-comp/dito/components/SearchDITO/index.js +86 -0
  67. package/es/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
  68. package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
  69. package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
  70. package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
  71. package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
  72. package/es/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
  73. package/es/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
  74. package/es/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
  75. package/es/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
  76. package/es/composite-comp/dito/components/SlideImage/index.js +86 -0
  77. package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
  78. package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
  79. package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
  80. package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
  81. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
  82. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
  83. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
  84. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
  85. package/es/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
  86. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
  87. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
  88. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
  89. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
  90. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
  91. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
  92. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
  93. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
  94. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
  95. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
  96. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
  97. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
  98. package/es/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
  99. package/{lib/composite-comp/dito/config-panels/OrdersConfig → es/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
  100. package/es/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
  101. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +14 -4
  102. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -4
  103. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
  104. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
  105. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
  106. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
  107. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
  108. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
  109. package/es/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
  110. package/es/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
  111. package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
  112. package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
  113. package/es/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
  114. package/es/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
  115. package/es/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
  116. package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
  117. package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
  118. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
  119. package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
  120. package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
  121. package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
  122. package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
  123. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
  124. package/es/constants/component-types.js +27 -9
  125. package/es/constants/index.js +40 -20
  126. package/es/constants/layout.js +46 -2
  127. package/es/core/Designer/ConfigPanel/index.js +17 -1
  128. package/es/core/Renderer/index.js +37 -2
  129. package/es/decorator/compositeDecorator.js +5 -1
  130. package/es/decorator/metaDecorator.js +1 -2
  131. package/es/locale/ar/ar.json +11 -1
  132. package/es/locale/en/en.json +11 -1
  133. package/es/locale/es/es.json +11 -1
  134. package/es/meta-comp/components/Button/editable.js +3 -1
  135. package/es/meta-comp/components/Button/index.js +13 -4
  136. package/es/meta-comp/components/Button/index.less +8 -1
  137. package/es/meta-comp/components/Image/index.js +7 -2
  138. package/es/meta-comp/components/Image/index.less +7 -0
  139. package/es/meta-comp/components/Text/index.js +6 -2
  140. package/es/meta-comp/components/Text/index.less +3 -0
  141. package/es/mobx/Frame.js +12 -1
  142. package/es/mobx/Store.js +12 -0
  143. package/es/utils/androidUtil.js +10 -2
  144. package/es/utils/businessUtil.js +218 -3
  145. package/es/utils/commonUtil.js +155 -4
  146. package/es/utils/coreUtil.js +59 -4
  147. package/es/utils/messageUtil.js +40 -0
  148. package/es/utils/pluginsUtil.js +1 -0
  149. package/lib/assets/fonts/AvenirNext-Bold.ttf +0 -0
  150. package/lib/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
  151. package/lib/assets/fonts/AvenirNext-Medium.ttf +0 -0
  152. package/lib/assets/fonts/AvenirNext-Regular.ttf +0 -0
  153. package/lib/assets/fonts/magic-box-iconfont.css +27 -3
  154. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  155. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  156. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  157. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  158. package/lib/assets/images/layout-icon/banner-slide-layout3.png +0 -0
  159. package/lib/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
  160. package/lib/assets/images/layout-icon/news-layout1.png +0 -0
  161. package/lib/assets/images/layout-icon/search-dito-layout1.png +0 -0
  162. package/lib/assets/images/layout-icon/slide-image-layout1.png +0 -0
  163. package/lib/assets/less/font.less +30 -0
  164. package/lib/assets/less/global.less +5 -0
  165. package/lib/common/CountDown/index.js +29 -2
  166. package/lib/common/CountDown/index.less +38 -5
  167. package/lib/common/LinkModal/ProductList/index.js +484 -0
  168. package/lib/common/LinkModal/ProductList/index.less +130 -0
  169. package/lib/common/LinkModal/index.js +8 -1
  170. package/lib/common/ProductCardModal/imgs/dot-icon.png +0 -0
  171. package/lib/common/ProductCardModal/index.js +255 -0
  172. package/lib/common/ProductCardModal/index.less +131 -0
  173. package/lib/common/Toast/index.js +30 -0
  174. package/lib/common/Toast/index.less +29 -0
  175. package/lib/common/UrlPicker/index.js +1 -1
  176. package/lib/common/Video/index.js +5 -3
  177. package/lib/common/VideoPC/background.png +0 -0
  178. package/lib/common/VideoPC/closeImg.png +0 -0
  179. package/lib/common/VideoPC/components/index.js +100 -0
  180. package/lib/common/VideoPC/components/index.less +62 -0
  181. package/lib/common/VideoPC/cover.png +0 -0
  182. package/lib/common/VideoPC/index.js +750 -0
  183. package/lib/common/VideoPC/index.less +79 -0
  184. package/lib/common/index.js +24 -0
  185. package/lib/composite-comp/common/components/ProductItem/index.js +15 -8
  186. package/lib/composite-comp/common/components/ProductItem/index.less +7 -0
  187. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +15 -73
  188. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
  189. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
  190. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  191. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  192. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +26 -12
  193. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
  194. package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
  195. package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
  196. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
  197. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
  198. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  199. package/lib/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
  200. package/lib/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
  201. package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
  202. package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
  203. package/lib/composite-comp/dito/components/News/defaultJSON.js +172 -0
  204. package/{es/composite-comp/dito/components/Orders → lib/composite-comp/dito/components/News}/index.js +13 -13
  205. package/lib/composite-comp/dito/components/News/pc/index.js +113 -0
  206. package/lib/composite-comp/dito/components/News/pc/index.less +46 -0
  207. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
  208. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +56 -2
  209. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +147 -15
  210. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +100 -8
  211. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +130 -14
  212. package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +3 -11
  213. package/lib/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
  214. package/lib/composite-comp/dito/components/SearchDITO/index.js +86 -0
  215. package/lib/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
  216. package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
  217. package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
  218. package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
  219. package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
  220. package/lib/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
  221. package/lib/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
  222. package/lib/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
  223. package/lib/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
  224. package/lib/composite-comp/dito/components/SlideImage/index.js +86 -0
  225. package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
  226. package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
  227. package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
  228. package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
  229. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
  230. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
  231. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
  232. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
  233. package/lib/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
  234. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
  235. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
  236. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
  237. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
  238. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
  239. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
  240. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
  241. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
  242. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
  243. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
  244. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
  245. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
  246. package/lib/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
  247. package/{es/composite-comp/dito/config-panels/OrdersConfig → lib/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
  248. package/lib/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
  249. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +14 -4
  250. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -4
  251. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
  252. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
  253. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
  254. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
  255. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
  256. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
  257. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
  258. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
  259. package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
  260. package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
  261. package/lib/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
  262. package/lib/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
  263. package/lib/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
  264. package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
  265. package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
  266. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
  267. package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
  268. package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
  269. package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
  270. package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
  271. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
  272. package/lib/constants/component-types.js +27 -9
  273. package/lib/constants/index.js +40 -20
  274. package/lib/constants/layout.js +46 -2
  275. package/lib/core/Designer/ConfigPanel/index.js +17 -1
  276. package/lib/core/Renderer/index.js +37 -2
  277. package/lib/decorator/compositeDecorator.js +5 -1
  278. package/lib/decorator/metaDecorator.js +1 -2
  279. package/lib/locale/ar/ar.json +11 -1
  280. package/lib/locale/en/en.json +11 -1
  281. package/lib/locale/es/es.json +11 -1
  282. package/lib/meta-comp/components/Button/editable.js +3 -1
  283. package/lib/meta-comp/components/Button/index.js +13 -4
  284. package/lib/meta-comp/components/Button/index.less +8 -1
  285. package/lib/meta-comp/components/Image/index.js +7 -2
  286. package/lib/meta-comp/components/Image/index.less +7 -0
  287. package/lib/meta-comp/components/Text/index.js +6 -2
  288. package/lib/meta-comp/components/Text/index.less +3 -0
  289. package/lib/mobx/Frame.js +12 -1
  290. package/lib/mobx/Store.js +12 -0
  291. package/lib/utils/androidUtil.js +10 -2
  292. package/lib/utils/businessUtil.js +218 -3
  293. package/lib/utils/commonUtil.js +155 -4
  294. package/lib/utils/coreUtil.js +59 -4
  295. package/lib/utils/messageUtil.js +40 -0
  296. package/lib/utils/pluginsUtil.js +1 -0
  297. package/package.json +5 -2
  298. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  299. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  300. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  301. package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -352
  302. package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  303. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  304. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  305. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  306. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  307. package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -352
  308. package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  309. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  310. /package/es/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
  311. /package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
@@ -0,0 +1,243 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _antd = require("antd4");
11
+
12
+ var _common = require("../../../../common");
13
+
14
+ var _coreUtil = require("../../../../utils/coreUtil");
15
+
16
+ var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
17
+
18
+ var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
19
+
20
+ var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
21
+
22
+ var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
23
+
24
+ var _locale = require("../../../../locale");
25
+
26
+ require("./index.less");
27
+
28
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
29
+
30
+ var __extends = void 0 && (void 0).__extends || function () {
31
+ var _extendStatics = function extendStatics(d, b) {
32
+ _extendStatics = Object.setPrototypeOf || {
33
+ __proto__: []
34
+ } instanceof Array && function (d, b) {
35
+ d.__proto__ = b;
36
+ } || function (d, b) {
37
+ for (var p in b) {
38
+ if (b.hasOwnProperty(p)) d[p] = b[p];
39
+ }
40
+ };
41
+
42
+ return _extendStatics(d, b);
43
+ };
44
+
45
+ return function (d, b) {
46
+ _extendStatics(d, b);
47
+
48
+ function __() {
49
+ this.constructor = d;
50
+ }
51
+
52
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
53
+ };
54
+ }();
55
+
56
+ var SlideImageSecondConfig =
57
+ /** @class */
58
+ function (_super) {
59
+ __extends(SlideImageSecondConfig, _super);
60
+
61
+ function SlideImageSecondConfig() {
62
+ var _this = _super !== null && _super.apply(this, arguments) || this;
63
+
64
+ _this.state = {};
65
+
66
+ _this.reRender = function () {
67
+ (0, _coreUtil.renderPreview)();
68
+
69
+ _this.setState({});
70
+ };
71
+
72
+ _this.getImageRecommendSize = function (customize) {
73
+ var _a;
74
+
75
+ var obj = null;
76
+
77
+ if ((0, _coreUtil.isPc)()) {
78
+ switch ((_a = customize === null || customize === void 0 ? void 0 : customize.layout) === null || _a === void 0 ? void 0 : _a.pcLayout) {
79
+ case 'layout1':
80
+ obj = {
81
+ width: 1280,
82
+ height: 600
83
+ };
84
+ break;
85
+
86
+ case 'layout2':
87
+ obj = {
88
+ width: 640,
89
+ height: 600
90
+ };
91
+ break;
92
+
93
+ case 'layout3':
94
+ obj = {
95
+ width: 410,
96
+ height: 300
97
+ };
98
+ break;
99
+
100
+ default:
101
+ obj = {
102
+ width: 440,
103
+ height: 272
104
+ };
105
+ break;
106
+ }
107
+ } else {
108
+ obj = {
109
+ width: 343,
110
+ height: 212
111
+ };
112
+ }
113
+
114
+ return obj;
115
+ };
116
+
117
+ _this.getVideoContent = function () {
118
+ var _a = _this.props,
119
+ panelProps = _a.panelProps,
120
+ parentNode = _a.parentNode;
121
+
122
+ var size = _this.getImageRecommendSize(parentNode.customize);
123
+
124
+ var source = [{
125
+ key: '1',
126
+ name: 'Overlay',
127
+ value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
128
+ data: panelProps.overilay,
129
+ needClickArea: false,
130
+ needHover: false,
131
+ needURL: false,
132
+ recommendImgSize: size
133
+ }),
134
+ metaOption: panelProps.overilay
135
+ }, {
136
+ key: panelProps.groupName.id,
137
+ name: (0, _locale.i18n)('TITLE'),
138
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
139
+ data: panelProps.groupName
140
+ }),
141
+ metaOption: panelProps.groupName
142
+ }];
143
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
144
+ title: "Select Video"
145
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
146
+ onChange: function onChange(v) {
147
+ panelProps.video.sourceType = v;
148
+
149
+ _this.reRender();
150
+ },
151
+ value: panelProps.video.sourceType
152
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
153
+ value: "Upload"
154
+ }, "Upload"), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
155
+ value: "URL"
156
+ }, "URL"))), panelProps.video.sourceType === 'URL' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
157
+ title: "URL"
158
+ }, /*#__PURE__*/_react["default"].createElement("div", {
159
+ className: "input-url"
160
+ }, /*#__PURE__*/_react["default"].createElement("input", {
161
+ onChange: function onChange(e) {
162
+ panelProps.video.sourceUrl = e.target.value;
163
+
164
+ _this.reRender();
165
+ },
166
+ placeholder: (0, _locale.i18n)('PLEASE_ADD_A_LINK'),
167
+ type: "text",
168
+ value: panelProps.video.sourceUrl
169
+ }), /*#__PURE__*/_react["default"].createElement("div", {
170
+ className: "icon-btns"
171
+ }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
172
+ color: "#FF4141",
173
+ onClick: function onClick() {
174
+ panelProps.video.sourceUrl = '';
175
+
176
+ _this.reRender();
177
+ },
178
+ size: "20px",
179
+ type: "icon-delete1"
180
+ })))), panelProps.video.sourceType === 'Upload' && /*#__PURE__*/_react["default"].createElement(_common.VideoUpload, {
181
+ onChange: function onChange(v) {
182
+ panelProps.video.sourceUrl = v;
183
+
184
+ _this.reRender();
185
+ },
186
+ value: panelProps.video.sourceUrl
187
+ }), /*#__PURE__*/_react["default"].createElement(_common.Field, {
188
+ title: "URL"
189
+ }, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
190
+ onChange: function onChange(v) {
191
+ panelProps.clickUrl = v;
192
+
193
+ _this.reRender();
194
+ },
195
+ value: panelProps.clickUrl
196
+ })), /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
197
+ headerSize: "middle",
198
+ onRefresh: function onRefresh() {
199
+ return (0, _coreUtil.renderPreview)();
200
+ },
201
+ showActiveColor: true,
202
+ source: source,
203
+ type: "switch"
204
+ }));
205
+ };
206
+
207
+ return _this;
208
+ }
209
+
210
+ SlideImageSecondConfig.prototype.render = function () {
211
+ var panelProps = this.props.panelProps;
212
+ return /*#__PURE__*/_react["default"].createElement("div", {
213
+ className: "slide_image_second_conf_wrap"
214
+ }, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
215
+ divider: "bold",
216
+ headerSize: "large",
217
+ onRefresh: function onRefresh() {
218
+ return (0, _coreUtil.renderPreview)();
219
+ },
220
+ source: [{
221
+ key: 'video1',
222
+ name: (0, _locale.i18n)('CONTENT'),
223
+ value: this.getVideoContent()
224
+ }, {
225
+ key: 'video2',
226
+ name: (0, _locale.i18n)('BACKGROUND'),
227
+ value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
228
+ data: panelProps.background,
229
+ name: "",
230
+ type: "image"
231
+ })
232
+ }]
233
+ }));
234
+ };
235
+
236
+ SlideImageSecondConfig.defaultProps = {
237
+ panelProps: {}
238
+ };
239
+ return SlideImageSecondConfig;
240
+ }(_react["default"].Component);
241
+
242
+ var _default = SlideImageSecondConfig;
243
+ exports["default"] = _default;
@@ -0,0 +1,71 @@
1
+ .slide_image_second_conf_wrap {
2
+ .input-url {
3
+ width: 100%;
4
+ height: 40px;
5
+ background: #FFFFFF;
6
+ border: 1px solid #D2D9E5;
7
+ border-radius: 8px;
8
+ display: flex;
9
+ padding: 9px 14px;
10
+ display: flex;
11
+ align-items: center;
12
+
13
+ input {
14
+ border: none;
15
+ outline: none;
16
+ height: 24px;
17
+ flex-grow: 1;
18
+ font-family: 'Open Sans';
19
+ font-style: normal;
20
+ font-weight: 400;
21
+ font-size: 14px;
22
+ color: #232F46;
23
+ }
24
+
25
+ /* 使用webkit内核的浏览器 */
26
+ input::-webkit-input-placeholder {
27
+ font-family: 'Open Sans';
28
+ font-style: normal;
29
+ font-weight: 400;
30
+ font-size: 14px;
31
+ color: #8493AF;
32
+ }
33
+
34
+ /* Firefox版本4-18 */
35
+ input:-moz-placeholder {
36
+ font-family: 'Open Sans';
37
+ font-style: normal;
38
+ font-weight: 400;
39
+ font-size: 14px;
40
+ color: #8493AF;
41
+ }
42
+
43
+ /* Firefox版本19+ */
44
+ input::-moz-placeholder {
45
+ font-family: 'Open Sans';
46
+ font-style: normal;
47
+ font-weight: 400;
48
+ font-size: 14px;
49
+ color: #8493AF;
50
+ }
51
+
52
+ /* IE浏览器 */
53
+ input:-ms-input-placeholder {
54
+ font-family: 'Open Sans';
55
+ font-style: normal;
56
+ font-weight: 400;
57
+ font-size: 14px;
58
+ color: #8493AF;
59
+ }
60
+
61
+ .icon-btns {
62
+ display: flex;
63
+ align-items: center;
64
+
65
+ &>span {
66
+ margin-left: 12px;
67
+ cursor: pointer;
68
+ }
69
+ }
70
+ }
71
+ }
@@ -834,7 +834,7 @@ function (_super) {
834
834
  });
835
835
  }
836
836
 
837
- (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
837
+ (0, _coreUtil.clickUrl)("/product/browse/" + item.offerId);
838
838
  },
839
839
  panelProps: panelProps.content,
840
840
  showProgress: false
@@ -868,9 +868,10 @@ function (_super) {
868
868
  /** PTO 定制GA */
869
869
  if (window.magicDesign.pushGA) {
870
870
  window.magicDesign.pushGA({}, 'select_item', item);
871
- }
871
+ } // clickUrl(`proDetail-${item.offerId}-${item.sppProductId || item.productId || ''}`);
872
+
872
873
 
873
- (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
874
+ (0, _coreUtil.clickUrl)("/product/browse/" + item.offerId);
874
875
  },
875
876
  panelProps: panelProps.content,
876
877
  showProgress: false
@@ -53,14 +53,20 @@ var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/com
53
53
 
54
54
  var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
55
55
 
56
- var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/Orders"));
57
-
58
56
  var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
59
57
 
60
58
  var _Bargain = _interopRequireDefault(require("../composite-comp/dito/components/Bargain"));
61
59
 
62
60
  var _SearchBanner = _interopRequireDefault(require("../composite-comp/dito/components/SearchBanner"));
63
61
 
62
+ var _GroupedCarousel = _interopRequireDefault(require("../composite-comp/dito/components/GroupedCarousel"));
63
+
64
+ var _SlideImage = _interopRequireDefault(require("../composite-comp/dito/components/SlideImage"));
65
+
66
+ var _SearchDITO = _interopRequireDefault(require("../composite-comp/dito/components/SearchDITO"));
67
+
68
+ var _News = _interopRequireDefault(require("../composite-comp/dito/components/News"));
69
+
64
70
  var _MonpayRecommend = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayRecommend"));
65
71
 
66
72
  var _MonpayFlashDeal = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayFlashDeal"));
@@ -127,14 +133,20 @@ var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/di
127
133
 
128
134
  var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
129
135
 
130
- var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/OrdersConfig"));
131
-
132
136
  var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
133
137
 
134
138
  var _BargainConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/BargainConfig"));
135
139
 
136
140
  var _SearchBannerConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBannerConfig"));
137
141
 
142
+ var _GroupedCarouselConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/GroupedCarouselConfig"));
143
+
144
+ var _SlideImageConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SlideImageConfig"));
145
+
146
+ var _SearchDITOConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchDITOConfig"));
147
+
148
+ var _NewsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/NewsConfig"));
149
+
138
150
  var _MonpayRecommendConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayRecommendConfig"));
139
151
 
140
152
  var _MonpayFlashDealConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayFlashDealConfig"));
@@ -187,12 +199,18 @@ var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-c
187
199
 
188
200
  var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
189
201
 
190
- var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/OrdersSecondConfig"));
191
-
192
202
  var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
193
203
 
194
204
  var _SearchBannerSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SearchBannerSecondConfig"));
195
205
 
206
+ var _GroupedCarouselSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig"));
207
+
208
+ var _SlideImageSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SlideImageSecondConfig"));
209
+
210
+ var _SearchDITOSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SearchDITOSecondConfig"));
211
+
212
+ var _NewsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/NewsSecondConfig"));
213
+
196
214
  var _MonpayRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig"));
197
215
 
198
216
  var _WalletSecondConfig = _interopRequireDefault(require("../composite-comp/public/second-config-panels/WalletSecondConfig"));
@@ -205,17 +223,17 @@ var _a, _b, _c; // 组件
205
223
  /**
206
224
  * 渲染组件索引
207
225
  */
208
- var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_WalletAshita["default"].type] = _WalletAshita["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Stores["default"].type] = _Stores["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a[_MonpaySignBoard["default"].type] = _MonpaySignBoard["default"], _a[_SearchBanner["default"].type] = _SearchBanner["default"], _a);
226
+ var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_WalletAshita["default"].type] = _WalletAshita["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Stores["default"].type] = _Stores["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a[_MonpaySignBoard["default"].type] = _MonpaySignBoard["default"], _a[_SearchBanner["default"].type] = _SearchBanner["default"], _a[_GroupedCarousel["default"].type] = _GroupedCarousel["default"], _a[_SlideImage["default"].type] = _SlideImage["default"], _a[_SearchDITO["default"].type] = _SearchDITO["default"], _a[_News["default"].type] = _News["default"], _a);
209
227
  /**
210
228
  * 一级配置面板索引
211
229
  */
212
230
 
213
231
  exports.componentMap = componentMap;
214
- var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_WalletAshita["default"].type] = _WalletAshitaConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Stores["default"].type] = _StoresConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b[_MonpaySignBoard["default"].type] = _MonpaySignBoardConfig["default"], _b[_SearchBanner["default"].type] = _SearchBannerConfig["default"], _b);
232
+ var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_WalletAshita["default"].type] = _WalletAshitaConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Stores["default"].type] = _StoresConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b[_MonpaySignBoard["default"].type] = _MonpaySignBoardConfig["default"], _b[_SearchBanner["default"].type] = _SearchBannerConfig["default"], _b[_GroupedCarousel["default"].type] = _GroupedCarouselConfig["default"], _b[_SlideImage["default"].type] = _SlideImageConfig["default"], _b[_SearchDITO["default"].type] = _SearchDITOConfig["default"], _b[_News["default"].type] = _NewsConfig["default"], _b);
215
233
  /**
216
234
  * 二级配置面板索引
217
235
  */
218
236
 
219
237
  exports.configPanelMap = configPanelMap;
220
- var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_WalletAshita["default"].type] = _WalletAshitaSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_SearchBanner["default"].type] = _SearchBannerSecondConfig["default"], _c);
238
+ var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_WalletAshita["default"].type] = _WalletAshitaSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_SearchBanner["default"].type] = _SearchBannerSecondConfig["default"], _c[_GroupedCarousel["default"].type] = _GroupedCarouselSecondConfig["default"], _c[_SlideImage["default"].type] = _SlideImageSecondConfig["default"], _c[_SearchDITO["default"].type] = _SearchDITOSecondConfig["default"], _c[_News["default"].type] = _NewsSecondConfig["default"], _c);
221
239
  exports.secondConfigPanelMap = secondConfigPanelMap;
@@ -4,9 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.sppTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.projectFontFamily = exports.projectCodes = exports.personalInfoType = exports.partyTypeMap = exports.pageStateMap = exports.otherFontWeightList = exports.orderStatusType = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.fontWeightList = exports.fontFamilyList = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.campaignTypes = exports.baseUrlMap = exports.STORE_KEY = exports.STORAGE_KEY = exports.ORDER_TYPE = exports.CREDIT_STATE = void 0;
7
-
8
- var _locale = require("../locale");
9
-
10
7
  var STORAGE_KEY = {
11
8
  FISHX_LOCALE: 'fishx_locale',
12
9
  LOCALE: 'ZSMART_LOCALE',
@@ -65,41 +62,47 @@ var personalInfoType = {
65
62
  };
66
63
  exports.personalInfoType = personalInfoType;
67
64
  var fontFamilyList = [{
68
- name: (0, _locale.i18n)('MONTSERRAT'),
65
+ name: 'Montserrat',
69
66
  value: 'Montserrat'
70
67
  }, {
71
- name: (0, _locale.i18n)('OPEN_SANS'),
68
+ name: 'Open Sans',
72
69
  value: 'Open Sans'
73
70
  }, {
74
- name: (0, _locale.i18n)('INTER'),
71
+ name: 'Inter',
75
72
  value: 'Inter'
76
73
  }, {
77
- name: (0, _locale.i18n)('ROBOTO'),
74
+ name: 'Roboto',
78
75
  value: 'Roboto'
76
+ }, {
77
+ name: 'Avenir Next',
78
+ value: 'AvenirNext'
79
+ }, {
80
+ name: 'Default',
81
+ value: ''
79
82
  }];
80
83
  exports.fontFamilyList = fontFamilyList;
81
84
  var fontWeightList = [{
82
- name: (0, _locale.i18n)('REGULAR'),
85
+ name: 'Regular',
83
86
  value: 400
84
87
  }, {
85
- name: (0, _locale.i18n)('MEDIUM'),
88
+ name: 'Medium',
86
89
  value: 500
87
90
  }, {
88
- name: (0, _locale.i18n)('SEMIBOLD'),
91
+ name: 'Semibold',
89
92
  value: 600
90
93
  }, {
91
- name: (0, _locale.i18n)('BOLD'),
94
+ name: 'Bold',
92
95
  value: 700
93
96
  }];
94
97
  exports.fontWeightList = fontWeightList;
95
98
  var otherFontWeightList = [{
96
- name: (0, _locale.i18n)('REGULAR'),
99
+ name: 'Regular',
97
100
  value: 400
98
101
  }, {
99
- name: (0, _locale.i18n)('SEMIBOLD'),
102
+ name: 'Semibold',
100
103
  value: 600
101
104
  }, {
102
- name: (0, _locale.i18n)('BOLD'),
105
+ name: 'Bold',
103
106
  value: 700
104
107
  }];
105
108
  exports.otherFontWeightList = otherFontWeightList;
@@ -168,7 +171,9 @@ var urlTypeMap = {
168
171
  INTERESTED_PRODUCTS: 'InterestedProducts',
169
172
  MERCHANT_STORY: 'MerchantStory',
170
173
  AFFILIATE_MISSION_DETAIL: 'AffiliateMissionDetail',
171
- BUSINESS_TYPE: 'Business Type'
174
+ BUSINESS_TYPE: 'Business Type',
175
+ PRODUCT_LIST: 'ProductList',
176
+ CARD_PRODUCT_LIST: 'ProductList'
172
177
  };
173
178
  exports.urlTypeMap = urlTypeMap;
174
179
  var respCodeMap = {
@@ -343,10 +348,6 @@ var compInfoMap = {
343
348
  name: 'Personal Information',
344
349
  icon: 'icon-account'
345
350
  },
346
- ORDERS: {
347
- name: 'Orders',
348
- icon: 'icon-orders'
349
- },
350
351
  COMMON_FUNCTIONS: {
351
352
  name: 'Common Functions',
352
353
  icon: 'icon-function'
@@ -354,6 +355,22 @@ var compInfoMap = {
354
355
  SEARCH_BANNER: {
355
356
  name: 'Search Banner',
356
357
  icon: 'icon-carousel'
358
+ },
359
+ GROUPED_CAROUSEL: {
360
+ name: 'Grouped Carousel',
361
+ icon: 'icon-image-gallery'
362
+ },
363
+ SLIDE_IMAGE: {
364
+ name: 'Slide Image',
365
+ icon: 'icon-three-column'
366
+ },
367
+ SEARCH_DITO: {
368
+ name: 'Search DITO',
369
+ icon: 'icon-carousel'
370
+ },
371
+ NEWS: {
372
+ name: 'News',
373
+ icon: 'icon-filled-image'
357
374
  }
358
375
  };
359
376
  /**
@@ -456,7 +473,10 @@ var STORE_KEY = {
456
473
 
457
474
  /** 确认订单商品信息 */
458
475
  CHECKOUT_ORDER: 'orderItems',
459
- IMAGE_MODAL_MENU_EXPANDED_INDEX: 'imageModalMenuExpandedIndex'
476
+ IMAGE_MODAL_MENU_EXPANDED_INDEX: 'imageModalMenuExpandedIndex',
477
+
478
+ /** 游客模式 临时购物车 */
479
+ TEMP_CART: 'TEMP_CART'
460
480
  };
461
481
  /** 订单来源 */
462
482
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
6
+ exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.slideImageLayout = exports.searchLayout = exports.searchDitoLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.pcFlashDealLayout = exports.newsletterLayout = exports.newsLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupedCarouselLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
7
7
 
8
8
  var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
9
9
 
@@ -95,6 +95,8 @@ var _bannerSlideLayout = _interopRequireDefault(require("../assets/images/layout
95
95
 
96
96
  var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout2.png"));
97
97
 
98
+ var _bannerSlideLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout3.png"));
99
+
98
100
  var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
99
101
 
100
102
  var _buttonLayout = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout1.png"));
@@ -125,6 +127,14 @@ var _center = _interopRequireDefault(require("../assets/images/layout-icon/cente
125
127
 
126
128
  var _right = _interopRequireDefault(require("../assets/images/layout-icon/right.png"));
127
129
 
130
+ var _groupedCarouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/grouped-carousel-layout1.png"));
131
+
132
+ var _slideImageLayout = _interopRequireDefault(require("../assets/images/layout-icon/slide-image-layout1.png"));
133
+
134
+ var _searchDitoLayout = _interopRequireDefault(require("../assets/images/layout-icon/search-dito-layout1.png"));
135
+
136
+ var _newsLayout = _interopRequireDefault(require("../assets/images/layout-icon/news-layout1.png"));
137
+
128
138
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
129
139
 
130
140
  var defaultLayout = [{
@@ -395,6 +405,10 @@ var bannerSlideLayout = [{
395
405
  id: 'layout2',
396
406
  name: 'layout2',
397
407
  image: _bannerSlideLayout2["default"]
408
+ }, {
409
+ id: 'layout3',
410
+ name: 'layout3',
411
+ image: _bannerSlideLayout3["default"]
398
412
  }];
399
413
  exports.bannerSlideLayout = bannerSlideLayout;
400
414
  var monpaySignBoardLayout = [{
@@ -480,4 +494,34 @@ var storesLayout = [{
480
494
  name: 'layout2',
481
495
  image: _storesLayout2["default"]
482
496
  }];
483
- exports.storesLayout = storesLayout;
497
+ exports.storesLayout = storesLayout;
498
+ var pcFlashDealLayout = [{
499
+ id: 'layout1',
500
+ name: 'layout1',
501
+ image: _flashDealLayout["default"]
502
+ }];
503
+ exports.pcFlashDealLayout = pcFlashDealLayout;
504
+ var groupedCarouselLayout = [{
505
+ id: 'layout1',
506
+ name: 'layout1',
507
+ image: _groupedCarouselLayout["default"]
508
+ }];
509
+ exports.groupedCarouselLayout = groupedCarouselLayout;
510
+ var slideImageLayout = [{
511
+ id: 'layout1',
512
+ name: 'layout1',
513
+ image: _slideImageLayout["default"]
514
+ }];
515
+ exports.slideImageLayout = slideImageLayout;
516
+ var searchDitoLayout = [{
517
+ id: 'layout1',
518
+ name: 'layout1',
519
+ image: _searchDitoLayout["default"]
520
+ }];
521
+ exports.searchDitoLayout = searchDitoLayout;
522
+ var newsLayout = [{
523
+ id: 'layout1',
524
+ name: 'layout1',
525
+ image: _newsLayout["default"]
526
+ }];
527
+ exports.newsLayout = newsLayout;