@fonixtree/magic-design 2.0.162 → 2.0.163

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