@fonixtree/magic-design 2.0.162 → 2.0.164

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 (920) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/composite-comp/bol/components/Banner/defaultJSON.js +11 -6
  3. package/es/composite-comp/bol/components/Button/defaultJSON.js +6 -1
  4. package/es/composite-comp/bol/components/Carousel/defaultJSON.js +11 -6
  5. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +17 -12
  6. package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +14 -3
  7. package/es/composite-comp/bol/components/Tag/defaultJSON.js +6 -1
  8. package/es/composite-comp/bol/components/Text/defaultJSON.js +16 -5
  9. package/es/composite-comp/bol/components/Video/defaultJSON.js +9 -4
  10. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +14 -6
  11. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +8 -3
  12. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +2 -6
  13. package/es/composite-comp/common/config-panels/InputField/index.js +17 -12
  14. package/es/composite-comp/dito/components/Bargain/defaultJSON.js +11 -6
  15. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +6 -1
  16. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +11 -6
  17. package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +11 -6
  18. package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +6 -1
  19. package/es/composite-comp/dito/components/Orders/defaultJSON.js +6 -1
  20. package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +10 -5
  21. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +7 -2
  22. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +15 -7
  23. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +6 -1
  24. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +6 -5
  25. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +20 -32
  26. package/es/composite-comp/monpay/components/InterestProducts/defaultJSON.js +6 -1
  27. package/es/composite-comp/monpay/components/MerchantSales/defaultJSON.js +6 -1
  28. package/es/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +13 -8
  29. package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +17 -9
  30. package/es/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +7 -2
  31. package/es/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +13 -5
  32. package/es/constants/index.js +48 -2
  33. package/es/core/Designer/ToolBarModal/index.js +11 -40
  34. package/es/locale/en/en.json +4 -4
  35. package/es/locale/es/es.json +4 -4
  36. package/es/locale/mn/mn.json +4 -4
  37. package/es/meta-comp/config-panels/ButtonConfig/index.js +21 -15
  38. package/es/meta-comp/config-panels/TextConfig/index.js +16 -17
  39. package/lib/assets/fonts/.DS_Store +0 -0
  40. package/lib/assets/fonts/Inter-Bold.ttf +0 -0
  41. package/lib/assets/fonts/Inter-Regular.ttf +0 -0
  42. package/lib/assets/fonts/Inter-SemiBold.ttf +0 -0
  43. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  44. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  45. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  46. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  47. package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
  48. package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
  49. package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  50. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  51. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  52. package/lib/assets/fonts/TruenoBd.otf +0 -0
  53. package/lib/assets/fonts/magic-box-iconfont.css +603 -0
  54. package/lib/assets/fonts/magic-box-iconfont.css.bak +587 -0
  55. package/lib/assets/fonts/magic-box-iconfont.js +1 -0
  56. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -0
  57. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  58. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  59. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  60. package/lib/assets/images/base64/index.js +46 -0
  61. package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  62. package/lib/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
  63. package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  64. package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
  65. package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
  66. package/lib/assets/images/layout-icon/carouselLayout3.png +0 -0
  67. package/lib/assets/images/layout-icon/dividerLayout.svg +4 -0
  68. package/lib/assets/images/layout-icon/flash-deal-layout1.png +0 -0
  69. package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  70. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  71. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  72. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  73. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  74. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  75. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  76. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  77. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  78. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  79. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  80. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  81. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  82. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  83. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  84. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  85. package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  86. package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  87. package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  88. package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
  89. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  90. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  91. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  92. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  93. package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  94. package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  95. package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  96. package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  97. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  98. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  99. package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  100. package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  101. package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  102. package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  103. package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  104. package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  105. package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  106. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  107. package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  108. package/lib/assets/images/layout-icon/newsletter.svg +7 -0
  109. package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
  110. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  111. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  112. package/lib/assets/less/button.less +37 -0
  113. package/lib/assets/less/common.less +82 -0
  114. package/lib/assets/less/cylon-antd.less +32456 -0
  115. package/lib/assets/less/datepicker.less +13 -0
  116. package/lib/assets/less/font.less +91 -0
  117. package/lib/assets/less/form.less +10 -0
  118. package/lib/assets/less/global.less +8 -0
  119. package/lib/assets/less/index.less +13 -0
  120. package/lib/assets/less/input.less +26 -0
  121. package/lib/assets/less/menu.less +24 -0
  122. package/lib/assets/less/modal.less +25 -0
  123. package/lib/assets/less/select.less +32 -0
  124. package/lib/assets/less/slider.less +69 -0
  125. package/lib/assets/less/switch.less +20 -0
  126. package/lib/assets/less/table.less +52 -0
  127. package/lib/assets/less/variables.less +4 -0
  128. package/lib/common/AffiliateProductModal/index.js +582 -0
  129. package/lib/common/AffiliateProductModal/index.less +146 -0
  130. package/lib/common/AlignSelector/index.js +120 -0
  131. package/lib/common/AlignSelector/index.less +28 -0
  132. package/lib/common/Button/index.js +135 -0
  133. package/lib/common/Button/index.less +72 -0
  134. package/lib/common/ButtonIconLayout/index.js +105 -0
  135. package/lib/common/ButtonIconLayout/index.less +55 -0
  136. package/lib/common/CardCarousel/index.js +171 -0
  137. package/lib/common/CardCarousel/index.less +28 -0
  138. package/lib/common/Carousel/index.js +69 -0
  139. package/lib/common/Carousel/index.less +0 -0
  140. package/lib/common/Collapse/index.js +404 -0
  141. package/lib/common/Collapse/index.less +100 -0
  142. package/lib/common/ColorPicker/imgs/no-color.png +0 -0
  143. package/lib/common/ColorPicker/index.js +134 -0
  144. package/lib/common/ColorPicker/index.less +26 -0
  145. package/lib/common/ColorPickerInput/imgs/code.png +0 -0
  146. package/lib/common/ColorPickerInput/index.js +116 -0
  147. package/lib/common/ColorPickerInput/index.less +50 -0
  148. package/lib/common/CountDown/index.js +160 -0
  149. package/lib/common/CountDown/index.less +23 -0
  150. package/lib/common/CropperModal/index.js +126 -0
  151. package/lib/common/CropperModal/index.less +29 -0
  152. package/lib/common/Field/index.js +97 -0
  153. package/lib/common/Field/index.less +37 -0
  154. package/lib/common/FontStyles/index.js +197 -0
  155. package/lib/common/FontStyles/index.less +62 -0
  156. package/lib/common/GroupList/defaultImg.png +0 -0
  157. package/lib/common/GroupList/index.js +216 -0
  158. package/lib/common/GroupList/index.less +88 -0
  159. package/lib/common/IconPicker/index.js +147 -0
  160. package/lib/common/IconPicker/index.less +46 -0
  161. package/lib/common/Iconfont/index.js +151 -0
  162. package/lib/common/Iconfont/index.less +20 -0
  163. package/lib/common/ImageLazy/index.js +172 -0
  164. package/lib/common/ImageLazy/index.less +0 -0
  165. package/lib/common/ImageModal/CommonModal/const.js +22 -0
  166. package/lib/common/ImageModal/CommonModal/index.js +48 -0
  167. package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
  168. package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
  169. package/lib/common/ImageModal/const.js +24 -0
  170. package/lib/common/ImageModal/index.js +825 -0
  171. package/lib/common/ImageModal/index.less +34 -0
  172. package/lib/common/ImageModal/utils.js +609 -0
  173. package/lib/common/ImagePicker/index.js +315 -0
  174. package/lib/common/ImagePicker/index.less +206 -0
  175. package/lib/common/ImgArea/components/Crop.js +270 -0
  176. package/lib/common/ImgArea/components/Icons.js +44 -0
  177. package/lib/common/ImgArea/components/MultiCrops.js +217 -0
  178. package/lib/common/ImgArea/index.js +11 -0
  179. package/lib/common/InputNumber/index.js +91 -0
  180. package/lib/common/InputNumber/index.less +38 -0
  181. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  182. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  183. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  184. package/lib/common/LayoutSelector/index.js +111 -0
  185. package/lib/common/LayoutSelector/index.less +37 -0
  186. package/lib/common/LinkModal/AffiliatePlatform/index.js +325 -0
  187. package/lib/common/LinkModal/AffiliateProductTable/index.js +347 -0
  188. package/lib/common/LinkModal/AffiliateStore/index.js +331 -0
  189. package/lib/common/LinkModal/BundleCampaign/index.js +413 -0
  190. package/lib/common/LinkModal/BundleCampaign/index.less +22 -0
  191. package/lib/common/LinkModal/CatgTable/index.js +245 -0
  192. package/lib/common/LinkModal/CouponTable/index.js +316 -0
  193. package/lib/common/LinkModal/CustomTable/index.js +240 -0
  194. package/lib/common/LinkModal/FilteredProductModal/index.js +692 -0
  195. package/lib/common/LinkModal/FilteredProductModal/index.less +129 -0
  196. package/lib/common/LinkModal/FunctionTable/index.js +236 -0
  197. package/lib/common/LinkModal/InterestedMerchants/index.js +325 -0
  198. package/lib/common/LinkModal/InterestedProducts/index.js +325 -0
  199. package/lib/common/LinkModal/MerchantStory/index.js +327 -0
  200. package/lib/common/LinkModal/MiniAppApi/const.js +637 -0
  201. package/lib/common/LinkModal/MiniAppApi/index.js +63 -0
  202. package/lib/common/LinkModal/MiniAppTable/index.js +252 -0
  203. package/lib/common/LinkModal/MissionDetail/index.js +318 -0
  204. package/lib/common/LinkModal/ProductDetailPage/index.js +566 -0
  205. package/lib/common/LinkModal/ProductDetailPage/index.less +15 -0
  206. package/lib/common/LinkModal/SelectVideoModal/index.js +214 -0
  207. package/lib/common/LinkModal/SelectVideoModal/index.less +113 -0
  208. package/lib/common/LinkModal/ShareUrl/index.js +35 -0
  209. package/lib/common/LinkModal/ShareUrl/index.less +3 -0
  210. package/lib/common/LinkModal/StoreCatgTable/index.js +245 -0
  211. package/lib/common/LinkModal/StoreTable/index.js +327 -0
  212. package/lib/common/LinkModal/index.js +464 -0
  213. package/lib/common/LinkModal/index.less +137 -0
  214. package/lib/common/MagicLink/index.js +89 -0
  215. package/lib/common/MagicLink/index.less +0 -0
  216. package/lib/common/MessageModal/index.js +73 -0
  217. package/lib/common/MessageModal/index.less +86 -0
  218. package/lib/common/MonpayCountDown/index.js +160 -0
  219. package/lib/common/MyModal/index.js +417 -0
  220. package/lib/common/MyModal/index.less +74 -0
  221. package/lib/common/NewImg/index.js +165 -0
  222. package/lib/common/NewImg/index.less +0 -0
  223. package/lib/common/PopUpModal/index.js +143 -0
  224. package/lib/common/PopUpModal/index.less +93 -0
  225. package/lib/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
  226. package/lib/common/ProductFilterModal/components/FilterSearchModal/index.js +241 -0
  227. package/lib/common/ProductFilterModal/components/FilterSearchModal/index.less +144 -0
  228. package/lib/common/ProductFilterModal/index.js +362 -0
  229. package/lib/common/ProductFilterModal/index.less +113 -0
  230. package/lib/common/ProductModal/SortableImageList/index.js +118 -0
  231. package/lib/common/ProductModal/SortableImageList/index.less +3 -0
  232. package/lib/common/ProductModal/index.js +847 -0
  233. package/lib/common/ProductModal/index.less +152 -0
  234. package/lib/common/ProductSource/index.js +346 -0
  235. package/lib/common/ProductSource/index.less +14 -0
  236. package/lib/common/RatingText/index.js +105 -0
  237. package/lib/common/RatingText/index.less +12 -0
  238. package/lib/common/RcCollapse/Collapse.js +240 -0
  239. package/lib/common/RcCollapse/Panel.js +193 -0
  240. package/lib/common/RcCollapse/PanelContent.js +59 -0
  241. package/lib/common/RcCollapse/index.js +15 -0
  242. package/lib/common/RcCollapse/index.less +108 -0
  243. package/lib/common/RcCollapse/interface.js +1 -0
  244. package/lib/common/RcCollapse/motion.less +12 -0
  245. package/lib/common/RcCollapse/motionUtil.js +44 -0
  246. package/lib/common/Slider/index.js +151 -0
  247. package/lib/common/Slider/index.less +45 -0
  248. package/lib/common/SwiperBan/index.js +94 -0
  249. package/lib/common/SwiperBan/index.less +25 -0
  250. package/lib/common/SwitchCollapse/index.js +220 -0
  251. package/lib/common/SwitchCollapse/index.less +40 -0
  252. package/lib/common/SystemNotification/Confirm/index.js +263 -0
  253. package/lib/common/SystemNotification/Confirm/index.less +33 -0
  254. package/lib/common/SystemNotification/index.js +115 -0
  255. package/lib/common/Tag/index.js +46 -0
  256. package/lib/common/Tag/index.less +16 -0
  257. package/lib/common/UrlPicker/AnchorModal/index.js +170 -0
  258. package/lib/common/UrlPicker/AnchorModal/index.less +21 -0
  259. package/lib/common/UrlPicker/index.js +182 -0
  260. package/lib/common/UrlPicker/index.less +86 -0
  261. package/lib/common/Video/QualityComponent/index.js +169 -0
  262. package/lib/common/Video/QualityComponent/index.less +78 -0
  263. package/lib/common/Video/RateComponent/index.js +100 -0
  264. package/lib/common/Video/RateComponent/index.less +62 -0
  265. package/lib/common/Video/background.png +0 -0
  266. package/lib/common/Video/closeImg.png +0 -0
  267. package/lib/common/Video/cover.png +0 -0
  268. package/lib/common/Video/index.js +804 -0
  269. package/lib/common/Video/index.less +70 -0
  270. package/lib/common/VideoUpload/index.js +157 -0
  271. package/lib/common/VideoUpload/index.less +114 -0
  272. package/lib/common/VideoUpload/video-upload-icon.png +0 -0
  273. package/lib/common/index.js +231 -0
  274. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +282 -0
  275. package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  276. package/lib/composite-comp/bol/components/Banner/index.js +103 -0
  277. package/lib/composite-comp/bol/components/Banner/mobile/index.js +305 -0
  278. package/lib/composite-comp/bol/components/Banner/mobile/index.less +58 -0
  279. package/lib/composite-comp/bol/components/Banner/pc/index.js +357 -0
  280. package/lib/composite-comp/bol/components/Banner/pc/index.less +91 -0
  281. package/lib/composite-comp/bol/components/Button/defaultJSON.js +99 -0
  282. package/lib/composite-comp/bol/components/Button/index.js +122 -0
  283. package/lib/composite-comp/bol/components/Button/index.less +47 -0
  284. package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +296 -0
  285. package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  286. package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  287. package/lib/composite-comp/bol/components/Carousel/index.js +112 -0
  288. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  289. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  290. package/lib/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  291. package/lib/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  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/Divider/defaultJSON.js +47 -0
  295. package/lib/composite-comp/bol/components/Divider/index.js +103 -0
  296. package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  297. package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  298. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  299. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  300. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  301. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  302. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  303. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  304. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  305. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  306. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  307. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  308. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  309. package/lib/composite-comp/bol/components/ImageGallery/index.js +88 -0
  310. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  311. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  312. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  313. package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  314. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +436 -0
  315. package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
  316. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  317. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  318. package/lib/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  319. package/lib/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  320. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  321. package/lib/composite-comp/bol/components/Location/index.js +102 -0
  322. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  323. package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +160 -0
  324. package/lib/composite-comp/bol/components/Newsletter/index.js +141 -0
  325. package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
  326. package/lib/composite-comp/bol/components/Tag/defaultJSON.js +120 -0
  327. package/lib/composite-comp/bol/components/Tag/index.js +127 -0
  328. package/lib/composite-comp/bol/components/Tag/index.less +35 -0
  329. package/lib/composite-comp/bol/components/Text/defaultJSON.js +162 -0
  330. package/lib/composite-comp/bol/components/Text/index.js +161 -0
  331. package/lib/composite-comp/bol/components/Text/index.less +58 -0
  332. package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
  333. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  334. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  335. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  336. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  337. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  338. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  339. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  340. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  341. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  342. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  343. package/lib/composite-comp/bol/components/Video/defaultJSON.js +244 -0
  344. package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  345. package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  346. package/lib/composite-comp/bol/components/Video/index.js +110 -0
  347. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  348. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  349. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  350. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  351. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  352. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  353. package/lib/composite-comp/bol/components/Video/mobile/index.js +79 -0
  354. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -0
  355. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  356. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  357. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  358. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  359. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  360. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  361. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  362. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  363. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  364. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  365. package/lib/composite-comp/bol/components/Video/pc/index.js +139 -0
  366. package/lib/composite-comp/bol/components/Video/pc/index.less +4 -0
  367. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +256 -0
  368. package/lib/composite-comp/bol/components/Wallet/index.js +84 -0
  369. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +613 -0
  370. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
  371. package/lib/composite-comp/bol/components/Wallet/pc/index.js +359 -0
  372. package/lib/composite-comp/bol/components/Wallet/pc/index.less +1 -0
  373. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +153 -0
  374. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  375. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  376. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  377. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  378. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  379. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  380. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  381. package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  382. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  383. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  384. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  385. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  386. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  387. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  388. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  389. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  390. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  391. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  392. package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  393. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  394. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  395. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  396. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  397. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  398. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  399. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  400. package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  401. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  402. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  403. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  404. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  405. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  406. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  407. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  408. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  409. package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  410. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  411. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  412. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  413. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  414. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  415. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  416. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  417. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  418. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  419. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  420. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  421. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  422. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  423. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  424. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  425. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  426. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  427. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  428. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  429. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  430. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  431. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  432. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  433. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  434. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  435. package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  436. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  437. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  438. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  439. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  440. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  441. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  442. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  443. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  444. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  445. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  446. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  447. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  448. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  449. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  450. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +304 -0
  451. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  452. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  453. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  454. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  455. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  456. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  457. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  458. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +377 -0
  459. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  460. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  461. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
  462. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  463. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  464. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  465. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +9 -0
  466. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +181 -0
  467. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +159 -0
  468. package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
  469. package/lib/composite-comp/common/components/ImageLabel/index.less +51 -0
  470. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange-big.png +0 -0
  471. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange.png +0 -0
  472. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red-big.png +0 -0
  473. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red.png +0 -0
  474. package/lib/composite-comp/common/components/MonpayProductItem/index.js +288 -0
  475. package/lib/composite-comp/common/components/MonpayProductItem/index.less +278 -0
  476. package/lib/composite-comp/common/components/ProductItem/index.js +268 -0
  477. package/lib/composite-comp/common/components/ProductItem/index.less +196 -0
  478. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  479. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +316 -0
  480. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  481. package/lib/composite-comp/common/config-panels/InputField/index.js +200 -0
  482. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +184 -0
  483. package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  484. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +249 -0
  485. package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
  486. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  487. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  488. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  489. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  490. package/lib/composite-comp/dito/components/Bargain/mobile/index.js +373 -0
  491. package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  492. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +97 -0
  493. package/lib/composite-comp/dito/components/CommonFunctions/index.js +84 -0
  494. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +113 -0
  495. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
  496. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +253 -0
  497. package/lib/composite-comp/dito/components/FlashDeal/index.js +100 -0
  498. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  499. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  500. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  501. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  502. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +456 -0
  503. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +117 -0
  504. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  505. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  506. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  507. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  508. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +568 -0
  509. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  510. package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +233 -0
  511. package/lib/composite-comp/dito/components/GroupBuy/index.js +86 -0
  512. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
  513. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
  514. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
  515. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
  516. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
  517. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
  518. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +102 -0
  519. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  520. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +114 -0
  521. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  522. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  523. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +27 -0
  524. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  525. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  526. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  527. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  528. package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +98 -0
  529. package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  530. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +137 -0
  531. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  532. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +94 -0
  533. package/lib/composite-comp/dito/components/Orders/index.js +84 -0
  534. package/lib/composite-comp/dito/components/Orders/mobile/index.js +352 -0
  535. package/lib/composite-comp/dito/components/Orders/mobile/index.less +86 -0
  536. package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +138 -0
  537. package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  538. package/lib/composite-comp/dito/components/PcNavigation/index.js +84 -0
  539. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  540. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  541. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +100 -0
  542. package/lib/composite-comp/dito/components/PersonalInformation/index.js +84 -0
  543. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  544. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +594 -0
  545. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +136 -0
  546. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +320 -0
  547. package/lib/composite-comp/dito/components/Recommend/index.js +90 -0
  548. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  549. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  550. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  551. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +700 -0
  552. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  553. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  554. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  555. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  556. package/lib/composite-comp/dito/components/Recommend/pc/index.js +763 -0
  557. package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  558. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +115 -0
  559. package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  560. package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  561. package/lib/composite-comp/dito/components/SearchBar/index.js +91 -0
  562. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +455 -0
  563. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +65 -0
  564. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +235 -0
  565. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +65 -0
  566. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +84 -0
  567. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  568. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  569. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  570. package/lib/composite-comp/dito/components/SignBoard/index.js +91 -0
  571. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +409 -0
  572. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  573. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  574. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  575. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  576. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  577. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  578. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  579. package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  580. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  581. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
  582. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
  583. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +157 -0
  584. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  585. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +135 -0
  586. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  587. package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  588. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +69 -0
  589. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +170 -0
  590. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +40 -0
  591. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
  592. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
  593. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
  594. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  595. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  596. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  597. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +121 -0
  598. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  599. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  600. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  601. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  602. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  603. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  604. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +149 -0
  605. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  606. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +131 -0
  607. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -0
  608. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  609. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  610. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +212 -0
  611. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  612. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +131 -0
  613. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -0
  614. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  615. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  616. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  617. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  618. package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  619. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  620. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +227 -0
  621. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -0
  622. package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  623. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  624. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  625. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +121 -0
  626. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  627. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  628. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  629. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
  630. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
  631. package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  632. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
  633. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
  634. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  635. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +258 -0
  636. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  637. package/lib/composite-comp/monpay/components/Bundle/defaultJSON.js +73 -0
  638. package/lib/composite-comp/monpay/components/Bundle/index.js +86 -0
  639. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.js +113 -0
  640. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +113 -0
  641. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.js +61 -0
  642. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +67 -0
  643. package/lib/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
  644. package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +499 -0
  645. package/lib/composite-comp/monpay/components/Bundle/mobile/index.less +7 -0
  646. package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +85 -0
  647. package/lib/composite-comp/monpay/components/InterestProducts/index.js +86 -0
  648. package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +167 -0
  649. package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +154 -0
  650. package/lib/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
  651. package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +378 -0
  652. package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.less +21 -0
  653. package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +101 -0
  654. package/lib/composite-comp/monpay/components/MerchantSales/index.js +86 -0
  655. package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.js +124 -0
  656. package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.less +34 -0
  657. package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/card.png +0 -0
  658. package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/sale.png +0 -0
  659. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +308 -0
  660. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +14 -0
  661. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
  662. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
  663. package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +329 -0
  664. package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
  665. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
  666. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
  667. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
  668. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
  669. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +464 -0
  670. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +102 -0
  671. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  672. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  673. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  674. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  675. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +584 -0
  676. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
  677. package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +396 -0
  678. package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
  679. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +166 -0
  680. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +50 -0
  681. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/card.png +0 -0
  682. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/emptyImg.png +0 -0
  683. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +893 -0
  684. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +84 -0
  685. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
  686. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
  687. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
  688. package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +118 -0
  689. package/lib/composite-comp/monpay/components/MonpaySignBoard/index.js +86 -0
  690. package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.js +442 -0
  691. package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.less +107 -0
  692. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +114 -0
  693. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +41 -0
  694. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +95 -0
  695. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +7 -0
  696. package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
  697. package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +73 -0
  698. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +114 -0
  699. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +41 -0
  700. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +101 -0
  701. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +7 -0
  702. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
  703. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +73 -0
  704. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +112 -0
  705. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +41 -0
  706. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +95 -0
  707. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +7 -0
  708. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
  709. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +73 -0
  710. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +178 -0
  711. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
  712. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
  713. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
  714. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
  715. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
  716. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +131 -0
  717. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
  718. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
  719. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
  720. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
  721. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
  722. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
  723. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
  724. package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/ConfigContent/index.js +155 -0
  725. package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/index.js +104 -0
  726. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +435 -0
  727. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
  728. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
  729. package/lib/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +251 -0
  730. package/lib/composite-comp/nuri/components/AffiliateRecommend/index.js +90 -0
  731. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +662 -0
  732. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +84 -0
  733. package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.js +730 -0
  734. package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.less +124 -0
  735. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  736. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  737. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  738. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  739. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  740. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/index.js +141 -0
  741. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  742. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  743. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  744. package/lib/constants/component-types.js +205 -0
  745. package/lib/constants/index.js +456 -0
  746. package/lib/constants/layout.js +374 -0
  747. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  748. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  749. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  750. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  751. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +74 -0
  752. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  753. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  754. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  755. package/lib/core/Designer/AiImageGenerator/History/index.js +149 -0
  756. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  757. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  758. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  759. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +57 -0
  760. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  761. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  762. package/lib/core/Designer/AiImageGenerator/index.js +754 -0
  763. package/lib/core/Designer/AiImageGenerator/index.less +136 -0
  764. package/lib/core/Designer/AppointmentModal/index.js +87 -0
  765. package/lib/core/Designer/AppointmentModal/index.less +23 -0
  766. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  767. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  768. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +130 -0
  769. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  770. package/lib/core/Designer/ChatRobot/index.js +412 -0
  771. package/lib/core/Designer/ChatRobot/index.less +179 -0
  772. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  773. package/lib/core/Designer/CompListPanel/CompCard/index.js +50 -0
  774. package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
  775. package/lib/core/Designer/CompListPanel/index.js +149 -0
  776. package/lib/core/Designer/CompListPanel/index.less +69 -0
  777. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +76 -0
  778. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  779. package/lib/core/Designer/ConfigPanel/index.js +396 -0
  780. package/lib/core/Designer/ConfigPanel/index.less +148 -0
  781. package/lib/core/Designer/FonixtreeGpt/index.js +353 -0
  782. package/lib/core/Designer/History/index.js +97 -0
  783. package/lib/core/Designer/LeftTitle/index.js +66 -0
  784. package/lib/core/Designer/LeftTitle/index.less +9 -0
  785. package/lib/core/Designer/PageCompList/index.js +331 -0
  786. package/lib/core/Designer/PageCompList/index.less +139 -0
  787. package/lib/core/Designer/QuickMenuBar/index.js +301 -0
  788. package/lib/core/Designer/QuickMenuBar/index.less +125 -0
  789. package/lib/core/Designer/RenderHtml/index.js +102 -0
  790. package/lib/core/Designer/RenderHtml/index.less +5 -0
  791. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  792. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  793. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  794. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  795. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  796. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  797. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  798. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  799. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  800. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  801. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  802. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  803. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  804. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  805. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  806. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  807. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  808. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  809. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +101 -0
  810. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  811. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  812. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  813. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  814. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  815. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  816. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  817. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  818. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  819. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  820. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  821. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  822. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  823. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  824. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  825. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  826. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  827. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  828. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  829. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  830. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  831. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  832. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  833. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  834. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  835. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  836. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  837. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  838. package/lib/core/Designer/ToolBarModal/index.js +387 -0
  839. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  840. package/lib/core/Designer/ViewArea/index.js +195 -0
  841. package/lib/core/Designer/ViewArea/index.less +89 -0
  842. package/lib/core/Designer/index.js +852 -0
  843. package/lib/core/Designer/index.less +6 -0
  844. package/lib/core/Renderer/index.js +206 -0
  845. package/lib/core/SelectUrl/index.js +35 -0
  846. package/lib/decorator/compositeDecorator.js +303 -0
  847. package/lib/decorator/index.js +71 -0
  848. package/lib/decorator/lazyLoadDecorator.js +75 -0
  849. package/lib/decorator/metaDecorator.js +245 -0
  850. package/lib/decorator/updateConfigDecorator.js +76 -0
  851. package/lib/locale/en/en.json +346 -0
  852. package/lib/locale/es/es.json +346 -0
  853. package/lib/locale/index.js +50 -0
  854. package/lib/locale/mn/mn.json +346 -0
  855. package/lib/meta-comp/components/Button/editable.js +123 -0
  856. package/lib/meta-comp/components/Button/editable.less +6 -0
  857. package/lib/meta-comp/components/Button/index.js +183 -0
  858. package/lib/meta-comp/components/Button/index.less +21 -0
  859. package/lib/meta-comp/components/Image/image/default-img.png +0 -0
  860. package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
  861. package/lib/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
  862. package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
  863. package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
  864. package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
  865. package/lib/meta-comp/components/Image/index.js +266 -0
  866. package/lib/meta-comp/components/Image/index.less +25 -0
  867. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  868. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  869. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  870. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  871. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  872. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  873. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  874. package/lib/meta-comp/components/Text/index.js +308 -0
  875. package/lib/meta-comp/components/Text/index.less +103 -0
  876. package/lib/meta-comp/components/index.js +31 -0
  877. package/lib/meta-comp/config-panels/BaseConfig.js +85 -0
  878. package/lib/meta-comp/config-panels/ButtonConfig/index.js +407 -0
  879. package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  880. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  881. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  882. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  883. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  884. package/lib/meta-comp/config-panels/ImageConfig/index.js +450 -0
  885. package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
  886. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  887. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  888. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  889. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  890. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  891. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  892. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  893. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  894. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  895. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  896. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  897. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  898. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  899. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  900. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  901. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  902. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  903. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  904. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  905. package/lib/meta-comp/config-panels/TextConfig/index.js +384 -0
  906. package/lib/meta-comp/config-panels/TextConfig/index.less +22 -0
  907. package/lib/mobx/Frame.js +85 -0
  908. package/lib/mobx/Store.js +99 -0
  909. package/lib/mobx/UserState.js +144 -0
  910. package/lib/mobx/index.js +48 -0
  911. package/lib/utils/androidUtil.js +150 -0
  912. package/lib/utils/businessUtil.js +563 -0
  913. package/lib/utils/commonUtil.js +1116 -0
  914. package/lib/utils/compJsonUtil.js +240 -0
  915. package/lib/utils/coreUtil.js +482 -0
  916. package/lib/utils/currencyUtil.js +229 -0
  917. package/lib/utils/dataTreeUtils.js +134 -0
  918. package/lib/utils/dateUtil.js +83 -0
  919. package/lib/utils/storeUtil.js +258 -0
  920. package/package.json +4 -2
@@ -0,0 +1,893 @@
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 _macy = _interopRequireDefault(require("macy"));
11
+
12
+ require("./index.less");
13
+
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
16
+ var _card = _interopRequireDefault(require("./imgs/card.png"));
17
+
18
+ var _emptyImg = _interopRequireDefault(require("./imgs/emptyImg.png"));
19
+
20
+ var _SearchCondition = _interopRequireDefault(require("./SearchCondition"));
21
+
22
+ var _mobx = require("../../../../../mobx");
23
+
24
+ var _MonpayProductItem = _interopRequireDefault(require("../../../../common/components/MonpayProductItem"));
25
+
26
+ var _components = require("../../../../../meta-comp/components");
27
+
28
+ var _storeUtil = require("../../../../../utils/storeUtil");
29
+
30
+ var _commonUtil = require("../../../../../utils/commonUtil");
31
+
32
+ var _coreUtil = require("../../../../../utils/coreUtil");
33
+
34
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
35
+
36
+ var __extends = void 0 && (void 0).__extends || function () {
37
+ var _extendStatics = function extendStatics(d, b) {
38
+ _extendStatics = Object.setPrototypeOf || {
39
+ __proto__: []
40
+ } instanceof Array && function (d, b) {
41
+ d.__proto__ = b;
42
+ } || function (d, b) {
43
+ for (var p in b) {
44
+ if (b.hasOwnProperty(p)) d[p] = b[p];
45
+ }
46
+ };
47
+
48
+ return _extendStatics(d, b);
49
+ };
50
+
51
+ return function (d, b) {
52
+ _extendStatics(d, b);
53
+
54
+ function __() {
55
+ this.constructor = d;
56
+ }
57
+
58
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
59
+ };
60
+ }();
61
+
62
+ var __assign = void 0 && (void 0).__assign || function () {
63
+ __assign = Object.assign || function (t) {
64
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
65
+ s = arguments[i];
66
+
67
+ for (var p in s) {
68
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
69
+ }
70
+ }
71
+
72
+ return t;
73
+ };
74
+
75
+ return __assign.apply(this, arguments);
76
+ };
77
+
78
+ var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
79
+ function adopt(value) {
80
+ return value instanceof P ? value : new P(function (resolve) {
81
+ resolve(value);
82
+ });
83
+ }
84
+
85
+ return new (P || (P = Promise))(function (resolve, reject) {
86
+ function fulfilled(value) {
87
+ try {
88
+ step(generator.next(value));
89
+ } catch (e) {
90
+ reject(e);
91
+ }
92
+ }
93
+
94
+ function rejected(value) {
95
+ try {
96
+ step(generator["throw"](value));
97
+ } catch (e) {
98
+ reject(e);
99
+ }
100
+ }
101
+
102
+ function step(result) {
103
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
104
+ }
105
+
106
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
107
+ });
108
+ };
109
+
110
+ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
111
+ var _ = {
112
+ label: 0,
113
+ sent: function sent() {
114
+ if (t[0] & 1) throw t[1];
115
+ return t[1];
116
+ },
117
+ trys: [],
118
+ ops: []
119
+ },
120
+ f,
121
+ y,
122
+ t,
123
+ g;
124
+ return g = {
125
+ next: verb(0),
126
+ "throw": verb(1),
127
+ "return": verb(2)
128
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
129
+ return this;
130
+ }), g;
131
+
132
+ function verb(n) {
133
+ return function (v) {
134
+ return step([n, v]);
135
+ };
136
+ }
137
+
138
+ function step(op) {
139
+ if (f) throw new TypeError("Generator is already executing.");
140
+
141
+ while (_) {
142
+ try {
143
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
144
+ if (y = 0, t) op = [op[0] & 2, t.value];
145
+
146
+ switch (op[0]) {
147
+ case 0:
148
+ case 1:
149
+ t = op;
150
+ break;
151
+
152
+ case 4:
153
+ _.label++;
154
+ return {
155
+ value: op[1],
156
+ done: false
157
+ };
158
+
159
+ case 5:
160
+ _.label++;
161
+ y = op[1];
162
+ op = [0];
163
+ continue;
164
+
165
+ case 7:
166
+ op = _.ops.pop();
167
+
168
+ _.trys.pop();
169
+
170
+ continue;
171
+
172
+ default:
173
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
174
+ _ = 0;
175
+ continue;
176
+ }
177
+
178
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
179
+ _.label = op[1];
180
+ break;
181
+ }
182
+
183
+ if (op[0] === 6 && _.label < t[1]) {
184
+ _.label = t[1];
185
+ t = op;
186
+ break;
187
+ }
188
+
189
+ if (t && _.label < t[2]) {
190
+ _.label = t[2];
191
+
192
+ _.ops.push(op);
193
+
194
+ break;
195
+ }
196
+
197
+ if (t[2]) _.ops.pop();
198
+
199
+ _.trys.pop();
200
+
201
+ continue;
202
+ }
203
+
204
+ op = body.call(thisArg, _);
205
+ } catch (e) {
206
+ op = [6, e];
207
+ y = 0;
208
+ } finally {
209
+ f = t = 0;
210
+ }
211
+ }
212
+
213
+ if (op[0] & 5) throw op[1];
214
+ return {
215
+ value: op[0] ? op[1] : void 0,
216
+ done: true
217
+ };
218
+ }
219
+ };
220
+
221
+ var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
222
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
223
+ s += arguments[i].length;
224
+ }
225
+
226
+ for (var r = Array(s), k = 0, i = 0; i < il; i++) {
227
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
228
+ r[k] = a[j];
229
+ }
230
+ }
231
+
232
+ return r;
233
+ };
234
+
235
+ var defaultData = [{
236
+ imgUrlContent: {
237
+ url: _card["default"]
238
+ },
239
+ offerName: 'Product Name Long Long Long Long Long',
240
+ salesPrice: 10000,
241
+ specialPrice: null,
242
+ marketPrice: 20000,
243
+ salePercent: 500,
244
+ discountPercent: 90,
245
+ coupons: [{
246
+ couponId: '1',
247
+ discountMethod: 'DISC',
248
+ discountAmount: 3000
249
+ }, {
250
+ couponId: '2',
251
+ discountMethod: 'AMT',
252
+ discountAmount: 100
253
+ }, {
254
+ couponId: '3',
255
+ discountMethod: 'AMT',
256
+ discountAmount: 1000
257
+ }, {
258
+ couponId: '4',
259
+ discountMethod: 'AMT',
260
+ discountAmount: 10000
261
+ }, {
262
+ couponId: '5',
263
+ discountMethod: 'AMT',
264
+ discountAmount: 100000
265
+ }]
266
+ }, {
267
+ imgUrlContent: {
268
+ url: _card["default"]
269
+ },
270
+ offerName: 'Product Name',
271
+ salesPrice: 10000,
272
+ specialPrice: null,
273
+ marketPrice: 20000,
274
+ salePercent: 500
275
+ }, {
276
+ imgUrlContent: {
277
+ url: _card["default"]
278
+ },
279
+ offerName: 'Product Name Long Long Long Long Long',
280
+ salesPrice: 18000000,
281
+ specialPrice: 18000000,
282
+ marketPrice: 19000000,
283
+ discountPercent: 10,
284
+ salePercent: 500
285
+ }, {
286
+ imgUrlContent: {
287
+ url: _card["default"]
288
+ },
289
+ offerName: 'Product Name',
290
+ salesPrice: 18000000,
291
+ specialPrice: 18000000,
292
+ marketPrice: 19000000,
293
+ salePercent: 500
294
+ }];
295
+ var LAYOUT_IMAGE_SIZE = {
296
+ 'layout1-2': {
297
+ w: '100%',
298
+ h: ''
299
+ },
300
+ 'layout1-3': {
301
+ w: '100%',
302
+ h: ''
303
+ },
304
+ layout2: {
305
+ w: 126,
306
+ h: 126
307
+ },
308
+ 'layout3-2': {
309
+ w: 130,
310
+ h: 130
311
+ },
312
+ 'layout3-3': {
313
+ w: 90,
314
+ h: 90
315
+ },
316
+ layout4: {
317
+ w: 110,
318
+ h: 110
319
+ }
320
+ };
321
+
322
+ var RecommendMobile =
323
+ /** @class */
324
+ function (_super) {
325
+ __extends(RecommendMobile, _super);
326
+
327
+ function RecommendMobile() {
328
+ var _this = _super !== null && _super.apply(this, arguments) || this;
329
+
330
+ _this.preData = {};
331
+ _this.preLayout = '';
332
+ _this.preRowNum = '';
333
+ _this.preContent = '';
334
+ _this.preSpacing = '';
335
+ _this._cache = (0, _coreUtil.isDesignMode)() ? {} : (0, _commonUtil.ensure)(function () {
336
+ return (0, _storeUtil.getMagicStore)("recommend_" + (window.magicDesign.pageId || '') + "_" + _this.props.panelProps.id);
337
+ }, {});
338
+ _this.state = __assign({
339
+ contentWidth: 0,
340
+ tabIndex: 0,
341
+ tabLeft: 0,
342
+ tabWidth: 0,
343
+ groupSource: [],
344
+ hideTabs: false,
345
+ filterObj: {},
346
+ searchParams: {}
347
+ }, _this._cache);
348
+
349
+ _this.listenWidth = function () {
350
+ setTimeout(function () {
351
+ var renderContainer = document.querySelector(".macyContainer_" + _this.props.panelProps.id);
352
+ if (renderContainer) _this.setState({
353
+ contentWidth: renderContainer.offsetWidth
354
+ });
355
+ });
356
+ };
357
+
358
+ _this.initTab = function (index, hideTabs) {
359
+ var selectedTabDom = document.querySelector(".recommend_" + _this.props.panelProps.id + " .tab-select-wrap .tabTitle:nth-child(" + (index + 1) + ")");
360
+ var tabLeft = 0;
361
+ var tabWidth = 0;
362
+
363
+ if (selectedTabDom && !hideTabs) {
364
+ tabLeft = selectedTabDom.offsetLeft;
365
+ tabWidth = selectedTabDom.offsetWidth;
366
+ }
367
+
368
+ _this.setState({
369
+ tabLeft: tabLeft,
370
+ tabWidth: tabWidth
371
+ });
372
+ };
373
+
374
+ _this.getTabBarActiveColor = function (_panelProps) {
375
+ var tabIndex = _this.state.tabIndex;
376
+ var activeHoverGroupName = _panelProps.groupSource[tabIndex].hover;
377
+ return activeHoverGroupName.open ? (0, _commonUtil.ensure)(function () {
378
+ return activeHoverGroupName.groupName.content.color;
379
+ }, '#CE1126') : '#CE1126';
380
+ };
381
+
382
+ _this.getProductList = function (index, filterParams) {
383
+ return __awaiter(_this, void 0, void 0, function () {
384
+ var panelProps, groupSource, recommendId, pageId, cache, _a, _b, sourceType, _c, prodIds, _d, prodType, _e, intelligentType, _f, intelligentValue, _g, maxProdNum, newData, params, res, _h, list, serviceIds, brandIds, catgIds, offerAttrValues, _j, pageInfo, serviceIds, brandIds, catgIds, offerAttrValues, _k, pageInfo, serviceIds, brandIds, catgIds, offerAttrValues, e_1, _cache;
385
+
386
+ var _l, _m, _o;
387
+
388
+ var _this = this;
389
+
390
+ return __generator(this, function (_p) {
391
+ switch (_p.label) {
392
+ case 0:
393
+ panelProps = this.props.panelProps;
394
+ groupSource = this.state.groupSource;
395
+ recommendId = panelProps.id;
396
+ pageId = window.magicDesign.pageId || '';
397
+
398
+ if (!(0, _coreUtil.isDesignMode)()) {
399
+ cache = (0, _storeUtil.getMagicStore)("recommend_" + pageId + "_" + recommendId);
400
+
401
+ if (cache) {
402
+ if ("products" + index in cache) {
403
+ this.setState((_l = {}, _l["products" + index] = cache["products" + index], _l), function () {
404
+ _this.resetLayout();
405
+ });
406
+ /** 如果数据未过期 */
407
+ // if (cache.endTime > Date.now()) return;
408
+ }
409
+ }
410
+ }
411
+
412
+ _a = groupSource[index] || {}, _b = _a.sourceType, sourceType = _b === void 0 ? '' : _b, _c = _a.prodIds, prodIds = _c === void 0 ? '' : _c, _d = _a.prodType, prodType = _d === void 0 ? '' : _d, _e = _a.intelligentType, intelligentType = _e === void 0 ? '' : _e, _f = _a.intelligentValue, intelligentValue = _f === void 0 ? [] : _f, _g = _a.maxProdNum, maxProdNum = _g === void 0 ? 10 : _g;
413
+ newData = [];
414
+ _p.label = 1;
415
+
416
+ case 1:
417
+ _p.trys.push([1, 18,, 19]);
418
+
419
+ if (!(groupSource.length > 0)) return [3
420
+ /*break*/
421
+ , 16];
422
+ if (!(sourceType === 'select')) return [3
423
+ /*break*/
424
+ , 3];
425
+ if (!prodIds) return [2
426
+ /*return*/
427
+ ];
428
+ params = {
429
+ state: 'A'
430
+ };
431
+
432
+ if (prodType === 'spu') {
433
+ params.offers = prodIds;
434
+ } else {
435
+ params.products = prodIds;
436
+ }
437
+
438
+ return [4
439
+ /*yield*/
440
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/products', params, 'GET')];
441
+
442
+ case 2:
443
+ res = _p.sent();
444
+ newData = __spreadArrays(res.list);
445
+ return [3
446
+ /*break*/
447
+ , 15];
448
+
449
+ case 3:
450
+ if (!(sourceType === 'recommend')) return [3
451
+ /*break*/
452
+ , 14];
453
+ if (!(intelligentType === 'Recently')) return [3
454
+ /*break*/
455
+ , 7];
456
+ if (!!(0, _coreUtil.isDesignMode)()) return [3
457
+ /*break*/
458
+ , 5];
459
+ return [4
460
+ /*yield*/
461
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/viewlog/recent/list', __assign({
462
+ pageIndex: 1,
463
+ pageSize: maxProdNum
464
+ }, filterParams), 'GET')];
465
+
466
+ case 4:
467
+ _h = _p.sent(), list = _h.list, serviceIds = _h.serviceIds, brandIds = _h.brandIds, catgIds = _h.catgIds, offerAttrValues = _h.offerAttrValues;
468
+ this.setState({
469
+ filterObj: {
470
+ serviceIds: serviceIds,
471
+ brandIds: brandIds,
472
+ catgIds: catgIds,
473
+ offerAttrValues: offerAttrValues
474
+ }
475
+ });
476
+ newData = __spreadArrays(list);
477
+ return [3
478
+ /*break*/
479
+ , 6];
480
+
481
+ case 5:
482
+ newData = defaultData;
483
+ _p.label = 6;
484
+
485
+ case 6:
486
+ return [3
487
+ /*break*/
488
+ , 13];
489
+
490
+ case 7:
491
+ if (!(intelligentType === 'Coupon')) return [3
492
+ /*break*/
493
+ , 11];
494
+ if (!!(0, _coreUtil.isDesignMode)()) return [3
495
+ /*break*/
496
+ , 9];
497
+ return [4
498
+ /*yield*/
499
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/offers', __assign({
500
+ pageIndex: 1,
501
+ pageSize: maxProdNum,
502
+ qryUserCoupon: true
503
+ }, filterParams), 'POST')];
504
+
505
+ case 8:
506
+ _j = _p.sent(), pageInfo = _j.pageInfo, serviceIds = _j.serviceIds, brandIds = _j.brandIds, catgIds = _j.catgIds, offerAttrValues = _j.offerAttrValues;
507
+ this.setState({
508
+ filterObj: {
509
+ serviceIds: serviceIds,
510
+ brandIds: brandIds,
511
+ catgIds: catgIds,
512
+ offerAttrValues: offerAttrValues
513
+ }
514
+ });
515
+ newData = __spreadArrays(pageInfo.list);
516
+ return [3
517
+ /*break*/
518
+ , 10];
519
+
520
+ case 9:
521
+ newData = defaultData;
522
+ _p.label = 10;
523
+
524
+ case 10:
525
+ return [3
526
+ /*break*/
527
+ , 13];
528
+
529
+ case 11:
530
+ return [4
531
+ /*yield*/
532
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/offers', __assign({
533
+ pageIndex: 1,
534
+ pageSize: maxProdNum,
535
+ sortType: '1',
536
+ intelligentType: intelligentType,
537
+ intelligentValue: intelligentValue.join(','),
538
+ aggregation: false,
539
+ storeId: window.magicDesign.storeId >= 0 ? window.magicDesign.storeId : ''
540
+ }, filterParams), 'POST')];
541
+
542
+ case 12:
543
+ _k = _p.sent(), pageInfo = _k.pageInfo, serviceIds = _k.serviceIds, brandIds = _k.brandIds, catgIds = _k.catgIds, offerAttrValues = _k.offerAttrValues;
544
+ this.setState({
545
+ filterObj: {
546
+ serviceIds: serviceIds,
547
+ brandIds: brandIds,
548
+ catgIds: catgIds,
549
+ offerAttrValues: offerAttrValues
550
+ }
551
+ });
552
+ newData = __spreadArrays(pageInfo.list);
553
+ _p.label = 13;
554
+
555
+ case 13:
556
+ return [3
557
+ /*break*/
558
+ , 15];
559
+
560
+ case 14:
561
+ newData = [];
562
+ _p.label = 15;
563
+
564
+ case 15:
565
+ return [3
566
+ /*break*/
567
+ , 17];
568
+
569
+ case 16:
570
+ newData = [];
571
+ _p.label = 17;
572
+
573
+ case 17:
574
+ return [3
575
+ /*break*/
576
+ , 19];
577
+
578
+ case 18:
579
+ e_1 = _p.sent();
580
+ newData = [];
581
+ return [3
582
+ /*break*/
583
+ , 19];
584
+
585
+ case 19:
586
+ if (!(0, _coreUtil.isDesignMode)()) {
587
+ _cache = (0, _storeUtil.getMagicStore)("recommend_" + pageId + "_" + recommendId);
588
+ (0, _storeUtil.setMagicStore)("recommend_" + pageId + "_" + recommendId, __assign(__assign({}, _cache), (_m = {}, _m["products" + index] = newData, _m.endTime = Date.now() + 3 * 60 * 1000, _m)));
589
+ }
590
+
591
+ this.setState((_o = {}, _o["products" + index] = newData, _o), function () {
592
+ _this.resetLayout();
593
+ });
594
+ return [2
595
+ /*return*/
596
+ ];
597
+ }
598
+ });
599
+ });
600
+ };
601
+
602
+ _this.resetLayout = function () {
603
+ var layout = _this.props.panelProps.customize.layout.h5Layout;
604
+ var rowNum = _this.props.panelProps.customize.rowNum;
605
+
606
+ var _layout = layout === 'layout1' || layout === 'layout3' ? layout + "-" + rowNum : layout;
607
+
608
+ var LAYOUT_COLUMN = {
609
+ 'layout1-2': 2,
610
+ 'layout1-3': 3,
611
+ layout2: 1
612
+ };
613
+ if (!LAYOUT_COLUMN[_layout]) return;
614
+ setTimeout(function () {
615
+ if (document.querySelector(".macyContainer_" + _this.props.panelProps.id)) {
616
+ _this.getMacy(".macyContainer_" + _this.props.panelProps.id, LAYOUT_COLUMN[_layout]);
617
+ }
618
+ });
619
+ };
620
+
621
+ _this.getMacy = function (container, columns) {
622
+ var masonryNew = new _macy["default"]({
623
+ container: container,
624
+ trueOrder: false,
625
+ waitForImages: false,
626
+ useOwnImageLoader: false,
627
+ margin: {
628
+ x: 16,
629
+ y: 16
630
+ },
631
+ columns: columns
632
+ });
633
+ masonryNew.runOnImageLoad(function () {
634
+ masonryNew.recalculate(true);
635
+ }, true);
636
+ };
637
+
638
+ _this.onTabClick = function (e, index) {
639
+ var tabIndex = _this.state.tabIndex;
640
+ if (tabIndex === index) return; // e.currentTarget.scrollIntoView(false);
641
+
642
+ _this.setState({
643
+ tabIndex: index
644
+ }, function () {
645
+ _this.resetLayout();
646
+
647
+ _this.initTab(index);
648
+ });
649
+
650
+ _this.getProductList(index);
651
+ };
652
+
653
+ _this.onSearchCondChange = function (cond) {
654
+ _this.setState({
655
+ searchParams: cond
656
+ });
657
+
658
+ var tabIndex = _this.state.tabIndex;
659
+
660
+ _this.getProductList(tabIndex, cond);
661
+ };
662
+
663
+ return _this;
664
+ }
665
+
666
+ RecommendMobile.prototype.componentDidMount = function () {};
667
+
668
+ RecommendMobile.prototype.componentWillReceiveProps = function (nextProps) {
669
+ var _this = this;
670
+
671
+ var tabIndex = this.state.tabIndex;
672
+ var panelProps = nextProps.panelProps;
673
+ var source = [];
674
+ var hideTabs = false;
675
+ panelProps.groupSource.map(function (m) {
676
+ var show = m.image.open || m.groupName.open;
677
+ if (show) source.push(m);
678
+ });
679
+
680
+ if (source.length === 0) {
681
+ if (panelProps.groupSource.length > 0) source.push(panelProps.groupSource[0]);
682
+ hideTabs = true;
683
+ }
684
+
685
+ this.setState({
686
+ groupSource: source
687
+ }, function () {
688
+ var groupSource = _this.state.groupSource;
689
+
690
+ if (JSON.stringify(groupSource) === _this.preData) {
691
+ return;
692
+ }
693
+
694
+ _this.preData = JSON.stringify(groupSource);
695
+ var newTabIndex = tabIndex;
696
+ if (tabIndex >= source.length) newTabIndex = 0;
697
+
698
+ _this.initTab(newTabIndex, hideTabs);
699
+
700
+ _this.getProductList(newTabIndex);
701
+
702
+ _this.setState({
703
+ tabIndex: newTabIndex,
704
+ hideTabs: hideTabs
705
+ });
706
+ });
707
+ var curLayout = panelProps.customize.layout.h5Layout;
708
+ var curRowNum = panelProps.customize.rowNum;
709
+ var curContent = JSON.stringify(panelProps.content);
710
+ var curSpacing = JSON.stringify(panelProps.spacing);
711
+
712
+ if (curLayout !== this.preLayout || curSpacing !== this.preSpacing || curRowNum !== this.preRowNum) {
713
+ this.listenWidth();
714
+ }
715
+
716
+ if (curLayout !== this.preLayout || curContent !== this.preContent || curSpacing !== this.preSpacing || curRowNum !== this.preRowNum) {
717
+ this.resetLayout();
718
+ }
719
+
720
+ this.preLayout = curLayout;
721
+ this.preContent = curContent;
722
+ this.preSpacing = curSpacing;
723
+ this.preRowNum = curRowNum;
724
+ };
725
+
726
+ RecommendMobile.prototype.render = function () {
727
+ var _this = this;
728
+
729
+ var _a;
730
+
731
+ var panelProps = this.props.panelProps;
732
+ var _b = this.state,
733
+ tabIndex = _b.tabIndex,
734
+ tabLeft = _b.tabLeft,
735
+ tabWidth = _b.tabWidth,
736
+ groupSource = _b.groupSource,
737
+ hideTabs = _b.hideTabs,
738
+ contentWidth = _b.contentWidth,
739
+ filterObj = _b.filterObj,
740
+ searchParams = _b.searchParams;
741
+ var products = this.state["products" + tabIndex] || [];
742
+
743
+ var _products = products.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : products;
744
+
745
+ var isDivide = groupSource.length <= 4;
746
+
747
+ var _seeAll = (0, _commonUtil.ensure)(function () {
748
+ return groupSource[tabIndex].seeAll;
749
+ }, '');
750
+
751
+ var layout = panelProps.customize.layout.h5Layout;
752
+ var rowNum = panelProps.customize.rowNum;
753
+
754
+ var _layout = layout === 'layout1' || layout === 'layout3' ? layout + "-" + rowNum : layout;
755
+
756
+ var imgWidth = (0, _commonUtil.ensure)(function () {
757
+ return LAYOUT_IMAGE_SIZE[_layout].w;
758
+ }, 140);
759
+ var imgHeight = (0, _commonUtil.ensure)(function () {
760
+ return LAYOUT_IMAGE_SIZE[_layout].h;
761
+ }, 140);
762
+ if (_layout === 'layout1-2' && contentWidth) imgHeight = (contentWidth - 12) / 2;
763
+ if (_layout === 'layout1-3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
764
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (groupSource.length === 1 && _products.length > 0 || groupSource.length > 1) && /*#__PURE__*/_react["default"].createElement("div", {
765
+ className: "monpay-recommend-mobile recommend_" + panelProps.id
766
+ }, panelProps.title.headerImage.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
767
+ className: "headerImg",
768
+ data: panelProps.title.headerImage,
769
+ isRect: true
770
+ }), !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
771
+ className: "tab-select-wrap"
772
+ }, groupSource.map(function (tab, index) {
773
+ var _image = index == tabIndex && tab.hover.open && tab.hover.image.open ? tab.hover.image : tab.image;
774
+
775
+ var _groupName = index == tabIndex && tab.hover.open && tab.hover.groupName.open ? tab.hover.groupName : tab.groupName;
776
+
777
+ return /*#__PURE__*/_react["default"].createElement("div", {
778
+ key: tab.id,
779
+ className: "tabTitle",
780
+ onClick: function onClick(e) {
781
+ _this.onTabClick(e, index);
782
+
783
+ _mobx.store.setState({
784
+ clickedGroup: tab.id,
785
+ clickedFloor: _mobx.store.getFloorIdByGroupId(tab.id)
786
+ });
787
+ },
788
+ style: {
789
+ flex: ~~isDivide
790
+ }
791
+ }, tab.image.open && _image && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
792
+ data: _image
793
+ }), tab.groupName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
794
+ data: _groupName,
795
+ onTextInput: function onTextInput(text) {
796
+ tab.hover.groupName.text = text;
797
+ tab.groupName.text = text;
798
+ }
799
+ }));
800
+ }), groupSource.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
801
+ className: "active-line",
802
+ style: {
803
+ width: tabWidth,
804
+ transform: "translateX(" + tabLeft + "px)",
805
+ background: this.getTabBarActiveColor(panelProps)
806
+ }
807
+ })), ((_a = panelProps.content.filter) === null || _a === void 0 ? void 0 : _a.open) && /*#__PURE__*/_react["default"].createElement(_SearchCondition["default"], {
808
+ filterObj: filterObj,
809
+ onChange: this.onSearchCondChange,
810
+ value: searchParams
811
+ }), ['layout1', 'layout2'].includes(layout) ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
812
+ key: "macyContainer",
813
+ className: "macyContainer macyContainer_" + panelProps.id
814
+ }, _products.map(function (item) {
815
+ var _a;
816
+
817
+ return /*#__PURE__*/_react["default"].createElement(_MonpayProductItem["default"], {
818
+ key: item.productId,
819
+ data: item,
820
+ imgHeight: imgHeight,
821
+ imgWidth: imgWidth,
822
+ intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
823
+ layout: layout === 'layout2' ? 'horizontal' : 'vertical',
824
+ onItemClick: function onItemClick() {
825
+ /** PTO 定制GA */
826
+ if (window.magicDesign.pushGA) {
827
+ window.magicDesign.pushGA(item, 'GA_SENSOR_select_item', {
828
+ event_action: 'Select Item',
829
+ event_section: 'Recommend',
830
+ promotion_name: item === null || item === void 0 ? void 0 : item.offerName
831
+ });
832
+ }
833
+
834
+ (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
835
+ },
836
+ panelProps: panelProps.content,
837
+ showDiscountTag: true,
838
+ showProgress: false
839
+ });
840
+ })), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
841
+ className: "btnSeeAll",
842
+ data: _seeAll
843
+ }), _products.length === 0 && /*#__PURE__*/_react["default"].createElement("img", {
844
+ alt: "",
845
+ className: "emptyImg",
846
+ src: _emptyImg["default"]
847
+ })) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
848
+ key: "scrollContainer",
849
+ className: (0, _classnames["default"])('scrollContainer', {
850
+ pl: layout === 'layout4'
851
+ })
852
+ }, /*#__PURE__*/_react["default"].createElement("div", {
853
+ className: "scrollProductList"
854
+ }, _products.map(function (item) {
855
+ var _a;
856
+
857
+ return /*#__PURE__*/_react["default"].createElement(_MonpayProductItem["default"], {
858
+ key: "scroll_" + item.productId,
859
+ data: item,
860
+ fixHeight: true,
861
+ imgHeight: imgHeight,
862
+ imgWidth: imgWidth,
863
+ intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
864
+ onItemClick: function onItemClick() {
865
+ /** PTO 定制GA */
866
+ if (window.magicDesign.pushGA) {
867
+ window.magicDesign.pushGA({}, 'select_item', item);
868
+ }
869
+
870
+ (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
871
+ },
872
+ panelProps: panelProps.content,
873
+ showDiscountTag: true,
874
+ showProgress: false
875
+ });
876
+ })), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
877
+ className: "btnSeeAll",
878
+ data: _seeAll
879
+ })), _products.length === 0 && /*#__PURE__*/_react["default"].createElement("img", {
880
+ alt: "",
881
+ className: "emptyImg",
882
+ src: _emptyImg["default"]
883
+ }))));
884
+ };
885
+
886
+ RecommendMobile.defaultProps = {
887
+ panelProps: {}
888
+ };
889
+ return RecommendMobile;
890
+ }(_react["default"].Component);
891
+
892
+ var _default = RecommendMobile;
893
+ exports["default"] = _default;