@fonixtree/magic-design 2.0.60 → 2.0.61

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 (1326) hide show
  1. package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
  2. package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
  3. package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
  4. package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  5. package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
  6. package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
  7. package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  8. package/es/assets/fonts/Trueno-Light.otf +0 -0
  9. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  10. package/es/assets/fonts/TruenoBd.otf +0 -0
  11. package/es/assets/fonts/magic-box-iconfont.css +507 -0
  12. package/es/assets/fonts/magic-box-iconfont.css.bak +516 -0
  13. package/es/assets/fonts/magic-box-iconfont.js +5 -0
  14. package/es/assets/fonts/magic-box-iconfont.js.bak +5 -0
  15. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  16. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  17. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  18. package/es/assets/images/base64/index.js +18 -0
  19. package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
  20. package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
  21. package/es/assets/images/layout-icon/carouselLayout3.png +0 -0
  22. package/es/assets/images/layout-icon/dividerLayout.svg +4 -0
  23. package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  24. package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  25. package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  26. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  27. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  28. package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  29. package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  30. package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  31. package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  32. package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  33. package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  34. package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  35. package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  36. package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  37. package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  38. package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  39. package/es/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  40. package/es/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  41. package/es/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  42. package/es/assets/images/layout-icon/layout-recommend-1.png +0 -0
  43. package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
  44. package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
  45. package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
  46. package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
  47. package/es/assets/images/layout-icon/layout-search.png +0 -0
  48. package/es/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  49. package/es/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  50. package/es/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  51. package/es/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  52. package/es/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  53. package/es/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  54. package/es/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  55. package/es/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  56. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  57. package/es/assets/images/layout-icon/newsletter.svg +7 -0
  58. package/es/assets/images/layout-icon/walletLayout1.png +0 -0
  59. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  60. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  61. package/es/assets/less/button.less +32 -0
  62. package/es/assets/less/common.less +82 -0
  63. package/es/assets/less/cylon-antd.less +32456 -0
  64. package/es/assets/less/datepicker.less +13 -0
  65. package/es/assets/less/font.less +70 -0
  66. package/es/assets/less/form.less +10 -0
  67. package/es/assets/less/global.less +8 -0
  68. package/es/assets/less/index.less +13 -0
  69. package/es/assets/less/input.less +26 -0
  70. package/es/assets/less/menu.less +21 -0
  71. package/es/assets/less/modal.less +25 -0
  72. package/es/assets/less/select.less +32 -0
  73. package/es/assets/less/slider.less +69 -0
  74. package/es/assets/less/switch.less +20 -0
  75. package/es/assets/less/table.less +52 -0
  76. package/es/assets/less/variables.less +4 -0
  77. package/es/common/AffiliateProductModal/index.js +582 -0
  78. package/es/common/AffiliateProductModal/index.less +146 -0
  79. package/es/common/AlignSelector/index.js +120 -0
  80. package/es/common/AlignSelector/index.less +28 -0
  81. package/es/common/Button/index.js +135 -0
  82. package/es/common/Button/index.less +73 -0
  83. package/es/common/ButtonIconLayout/index.js +105 -0
  84. package/es/common/ButtonIconLayout/index.less +55 -0
  85. package/es/common/CardCarousel/index.js +171 -0
  86. package/es/common/CardCarousel/index.less +28 -0
  87. package/es/common/Carousel/index.js +69 -0
  88. package/es/common/Carousel/index.less +0 -0
  89. package/es/common/Collapse/index.js +398 -0
  90. package/es/common/Collapse/index.less +100 -0
  91. package/es/common/ColorPicker/imgs/no-color.png +0 -0
  92. package/es/common/ColorPicker/index.js +134 -0
  93. package/es/common/ColorPicker/index.less +26 -0
  94. package/es/common/ColorPickerInput/imgs/code.png +0 -0
  95. package/es/common/ColorPickerInput/index.js +114 -0
  96. package/es/common/ColorPickerInput/index.less +50 -0
  97. package/es/common/CountDown/index.js +151 -0
  98. package/es/common/CountDown/index.less +23 -0
  99. package/es/common/Field/index.js +97 -0
  100. package/es/common/Field/index.less +37 -0
  101. package/es/common/FontStyles/index.js +197 -0
  102. package/es/common/FontStyles/index.less +64 -0
  103. package/es/common/GroupList/defaultImg.png +0 -0
  104. package/es/common/GroupList/index.js +211 -0
  105. package/es/common/GroupList/index.less +88 -0
  106. package/es/common/IconPicker/index.js +147 -0
  107. package/es/common/IconPicker/index.less +46 -0
  108. package/es/common/Iconfont/index.js +148 -0
  109. package/es/common/Iconfont/index.less +20 -0
  110. package/es/common/ImageLazy/index.js +172 -0
  111. package/es/common/ImageLazy/index.less +0 -0
  112. package/es/common/ImageModal/CommonModal/const.js +22 -0
  113. package/es/common/ImageModal/CommonModal/index.js +46 -0
  114. package/es/common/ImageModal/CommonSelPicCard/index.js +80 -0
  115. package/es/common/ImageModal/CommonSelPicCard/index.less +40 -0
  116. package/es/common/ImageModal/const.js +24 -0
  117. package/es/common/ImageModal/index.js +815 -0
  118. package/es/common/ImageModal/index.less +34 -0
  119. package/es/common/ImageModal/utils.js +609 -0
  120. package/es/common/ImagePicker/index.js +317 -0
  121. package/es/common/ImagePicker/index.less +206 -0
  122. package/es/common/ImgArea/components/Crop.js +270 -0
  123. package/es/common/ImgArea/components/Icons.js +44 -0
  124. package/es/common/ImgArea/components/MultiCrops.js +217 -0
  125. package/es/common/ImgArea/index.js +11 -0
  126. package/es/common/InputNumber/index.js +91 -0
  127. package/es/common/InputNumber/index.less +38 -0
  128. package/es/common/LayoutSelector/imgs/center.png +0 -0
  129. package/es/common/LayoutSelector/imgs/left.png +0 -0
  130. package/es/common/LayoutSelector/imgs/right.png +0 -0
  131. package/es/common/LayoutSelector/index.js +111 -0
  132. package/es/common/LayoutSelector/index.less +37 -0
  133. package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
  134. package/es/common/LinkModal/BundleCampaign/index.js +412 -0
  135. package/es/common/LinkModal/BundleCampaign/index.less +19 -0
  136. package/es/common/LinkModal/CatgTable/index.js +244 -0
  137. package/es/common/LinkModal/CouponTable/index.js +315 -0
  138. package/es/common/LinkModal/CustomTable/index.js +237 -0
  139. package/es/common/LinkModal/FilteredProductModal/index.js +706 -0
  140. package/es/common/LinkModal/FilteredProductModal/index.less +127 -0
  141. package/es/common/LinkModal/FunctionTable/index.js +233 -0
  142. package/es/common/LinkModal/MiniAppTable/index.js +250 -0
  143. package/es/common/LinkModal/ProductDetailPage/index.js +504 -0
  144. package/es/common/LinkModal/ProductDetailPage/index.less +10 -0
  145. package/es/common/LinkModal/SelectVideoModal/index.js +212 -0
  146. package/es/common/LinkModal/SelectVideoModal/index.less +112 -0
  147. package/es/common/LinkModal/ShareUrl/index.js +33 -0
  148. package/es/common/LinkModal/ShareUrl/index.less +3 -0
  149. package/es/common/LinkModal/StoreCatgTable/index.js +244 -0
  150. package/es/common/LinkModal/StoreTable/index.js +328 -0
  151. package/es/common/LinkModal/index.js +368 -0
  152. package/es/common/LinkModal/index.less +104 -0
  153. package/es/common/MagicLink/index.js +89 -0
  154. package/es/common/MagicLink/index.less +0 -0
  155. package/es/common/MessageModal/index.js +73 -0
  156. package/es/common/MessageModal/index.less +86 -0
  157. package/es/common/MyModal/index.js +417 -0
  158. package/es/common/MyModal/index.less +74 -0
  159. package/es/common/NewImg/index.js +165 -0
  160. package/es/common/NewImg/index.less +0 -0
  161. package/es/common/ProductModal/index.js +790 -0
  162. package/es/common/ProductModal/index.less +146 -0
  163. package/es/common/ProductSource/index.js +286 -0
  164. package/es/common/ProductSource/index.less +14 -0
  165. package/es/common/RcCollapse/Collapse.js +240 -0
  166. package/es/common/RcCollapse/Panel.js +193 -0
  167. package/es/common/RcCollapse/PanelContent.js +59 -0
  168. package/es/common/RcCollapse/index.js +15 -0
  169. package/es/common/RcCollapse/index.less +108 -0
  170. package/es/common/RcCollapse/interface.js +1 -0
  171. package/es/common/RcCollapse/motion.less +12 -0
  172. package/es/common/RcCollapse/motionUtil.js +44 -0
  173. package/es/common/Slider/index.js +151 -0
  174. package/es/common/Slider/index.less +45 -0
  175. package/es/common/SwiperBan/index.js +94 -0
  176. package/es/common/SwiperBan/index.less +25 -0
  177. package/es/common/SwitchCollapse/index.js +216 -0
  178. package/es/common/SwitchCollapse/index.less +40 -0
  179. package/es/common/SystemNotification/Confirm/index.js +263 -0
  180. package/es/common/SystemNotification/Confirm/index.less +33 -0
  181. package/es/common/SystemNotification/index.js +115 -0
  182. package/es/common/UrlPicker/index.js +135 -0
  183. package/es/common/UrlPicker/index.less +86 -0
  184. package/es/common/Video/background.png +0 -0
  185. package/es/common/Video/closeImg.png +0 -0
  186. package/es/common/Video/components/index.js +100 -0
  187. package/es/common/Video/components/index.less +62 -0
  188. package/es/common/Video/cover.png +0 -0
  189. package/es/common/Video/index.js +748 -0
  190. package/es/common/Video/index.less +70 -0
  191. package/es/common/VideoUpload/index.js +156 -0
  192. package/es/common/VideoUpload/index.less +114 -0
  193. package/es/common/VideoUpload/video-upload-icon.png +0 -0
  194. package/es/common/index.js +191 -0
  195. package/es/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  196. package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  197. package/es/composite-comp/bol/components/Banner/index.js +103 -0
  198. package/es/composite-comp/bol/components/Banner/mobile/index.js +302 -0
  199. package/es/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  200. package/es/composite-comp/bol/components/Banner/pc/index.js +356 -0
  201. package/es/composite-comp/bol/components/Banner/pc/index.less +85 -0
  202. package/es/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  203. package/es/composite-comp/bol/components/Button/index.js +122 -0
  204. package/es/composite-comp/bol/components/Button/index.less +47 -0
  205. package/es/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  206. package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  207. package/es/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  208. package/es/composite-comp/bol/components/Carousel/index.js +112 -0
  209. package/es/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  210. package/es/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  211. package/es/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  212. package/es/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  213. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  214. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  215. package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  216. package/es/composite-comp/bol/components/Divider/index.js +103 -0
  217. package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  218. package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  219. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  220. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  221. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  222. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  223. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  224. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  225. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  226. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  227. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  228. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  229. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  230. package/es/composite-comp/bol/components/ImageGallery/index.js +88 -0
  231. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  232. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  233. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  234. package/es/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  235. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  236. package/es/composite-comp/bol/components/ImageText/index.js +88 -0
  237. package/es/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  238. package/es/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  239. package/es/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  240. package/es/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  241. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  242. package/es/composite-comp/bol/components/Location/index.js +100 -0
  243. package/es/composite-comp/bol/components/Location/index.less +15 -0
  244. package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  245. package/es/composite-comp/bol/components/Newsletter/index.js +141 -0
  246. package/es/composite-comp/bol/components/Newsletter/index.less +75 -0
  247. package/es/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  248. package/es/composite-comp/bol/components/Tag/index.js +127 -0
  249. package/es/composite-comp/bol/components/Tag/index.less +35 -0
  250. package/es/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  251. package/es/composite-comp/bol/components/Text/index.js +161 -0
  252. package/es/composite-comp/bol/components/Text/index.less +58 -0
  253. package/es/composite-comp/bol/components/Text/slice.svg +1 -0
  254. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  255. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  256. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  257. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  258. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  259. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  260. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  261. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  262. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  263. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  264. package/es/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  265. package/es/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  266. package/es/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  267. package/es/composite-comp/bol/components/Video/index.js +111 -0
  268. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  269. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  270. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  271. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  272. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  273. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  274. package/es/composite-comp/bol/components/Video/mobile/index.js +79 -0
  275. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -0
  276. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  277. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  278. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  279. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  280. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  281. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  282. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  283. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  284. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  285. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  286. package/es/composite-comp/bol/components/Video/pc/index.js +139 -0
  287. package/es/composite-comp/bol/components/Video/pc/index.less +4 -0
  288. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  289. package/es/composite-comp/bol/components/Wallet/index.js +84 -0
  290. package/es/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
  291. package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
  292. package/es/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  293. package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  294. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  295. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  296. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  297. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  298. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  299. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  300. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  301. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  302. package/es/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  303. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  304. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  305. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  306. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  307. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  308. package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  309. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  310. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  311. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  312. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  313. package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  314. package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  315. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  316. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  317. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  318. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  319. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  320. package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  321. package/es/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  322. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  323. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  324. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  325. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  326. package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  327. package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  328. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  329. package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  330. package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  331. package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  332. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  333. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  334. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  335. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  336. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  337. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  338. package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  339. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  340. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  341. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  342. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  343. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  344. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  345. package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  346. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  347. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  348. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  349. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  350. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  351. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  352. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  353. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  354. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  355. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  356. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  357. package/es/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  358. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  359. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  360. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  361. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  362. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  363. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  364. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  365. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  366. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  367. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  368. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  369. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  370. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  371. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  372. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  373. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  374. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  375. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  376. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  377. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  378. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  379. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  380. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  381. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  382. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  383. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
  384. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  385. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  386. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  387. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  388. package/es/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  389. package/es/composite-comp/common/components/ImageLabel/index.js +90 -0
  390. package/es/composite-comp/common/components/ImageLabel/index.less +45 -0
  391. package/es/composite-comp/common/components/ProductItem/index.js +248 -0
  392. package/es/composite-comp/common/components/ProductItem/index.less +168 -0
  393. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  394. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  395. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  396. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  397. package/es/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  398. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  399. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  400. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  401. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  402. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  403. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  404. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  405. package/es/composite-comp/dito/components/FlashDeal/index.js +90 -0
  406. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  407. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  408. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  409. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  410. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  411. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  412. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  413. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  414. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  415. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  416. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  417. package/es/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  418. package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  419. package/es/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  420. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  421. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  422. package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  423. package/es/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  424. package/es/composite-comp/dito/components/PcNavigation/index.js +84 -0
  425. package/es/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  426. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  427. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  428. package/es/composite-comp/dito/components/Recommend/index.js +90 -0
  429. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  430. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  431. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  432. package/es/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  433. package/es/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  434. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  435. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  436. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  437. package/es/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  438. package/es/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  439. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  440. package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  441. package/es/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  442. package/es/composite-comp/dito/components/SearchBar/index.js +91 -0
  443. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  444. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  445. package/es/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  446. package/es/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  447. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  448. package/es/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  449. package/es/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  450. package/es/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  451. package/es/composite-comp/dito/components/SignBoard/index.js +91 -0
  452. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  453. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  454. package/es/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  455. package/es/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  456. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  457. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  458. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  459. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  460. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  461. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  462. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  463. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  464. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  465. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  466. package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  467. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  468. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  469. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  470. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  471. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  472. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  473. package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  474. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  475. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  476. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  477. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  478. package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  479. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  480. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  481. package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  482. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  483. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  484. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  485. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  486. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  487. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  488. package/es/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  489. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  490. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  491. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  492. package/es/constants/component-types.js +141 -0
  493. package/es/constants/index.js +257 -0
  494. package/es/constants/layout.js +315 -0
  495. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  496. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  497. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  498. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  499. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  500. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  501. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  502. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  503. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  504. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  505. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  506. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  507. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  508. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  509. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  510. package/es/core/Designer/AiImageGenerator/index.js +752 -0
  511. package/es/core/Designer/AiImageGenerator/index.less +136 -0
  512. package/es/core/Designer/AppointmentModal/index.js +87 -0
  513. package/es/core/Designer/AppointmentModal/index.less +23 -0
  514. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  515. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  516. package/es/core/Designer/ChatRobot/index.js +343 -0
  517. package/es/core/Designer/ChatRobot/index.less +138 -0
  518. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  519. package/es/core/Designer/CompListPanel/CompCard/index.js +50 -0
  520. package/es/core/Designer/CompListPanel/CompCard/index.less +69 -0
  521. package/es/core/Designer/CompListPanel/index.js +149 -0
  522. package/es/core/Designer/CompListPanel/index.less +69 -0
  523. package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  524. package/es/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  525. package/es/core/Designer/ConfigPanel/index.js +390 -0
  526. package/es/core/Designer/ConfigPanel/index.less +148 -0
  527. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  528. package/es/core/Designer/History/index.js +97 -0
  529. package/es/core/Designer/LeftTitle/index.js +66 -0
  530. package/es/core/Designer/LeftTitle/index.less +9 -0
  531. package/es/core/Designer/PageCompList/index.js +328 -0
  532. package/es/core/Designer/PageCompList/index.less +139 -0
  533. package/es/core/Designer/QuickMenuBar/index.js +236 -0
  534. package/es/core/Designer/QuickMenuBar/index.less +121 -0
  535. package/es/core/Designer/RenderHtml/index.js +99 -0
  536. package/es/core/Designer/RenderHtml/index.less +5 -0
  537. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  538. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  539. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  540. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  541. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  542. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  543. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  544. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  545. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  546. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  547. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  548. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  549. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  550. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  551. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  552. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  553. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  554. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  555. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  556. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  557. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  558. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  559. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  560. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  561. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  562. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  563. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  564. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  565. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  566. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  567. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  568. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  569. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  570. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  571. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  572. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  573. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  574. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  575. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  576. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  577. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  578. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  579. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  580. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  581. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  582. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  583. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  584. package/es/core/Designer/ToolBarModal/index.js +411 -0
  585. package/es/core/Designer/ToolBarModal/index.less +33 -0
  586. package/es/core/Designer/ViewArea/index.js +191 -0
  587. package/es/core/Designer/ViewArea/index.less +89 -0
  588. package/es/core/Designer/index.js +812 -0
  589. package/es/core/Designer/index.less +6 -0
  590. package/es/core/Renderer/index.js +184 -0
  591. package/es/decorator/compositeDecorator.js +276 -0
  592. package/es/decorator/index.js +68 -0
  593. package/es/decorator/lazyLoadDecorator.js +75 -0
  594. package/es/decorator/metaDecorator.js +241 -0
  595. package/es/decorator/updateConfigDecorator.js +76 -0
  596. package/es/index.js +29 -0
  597. package/es/locale/en/en.json +184 -0
  598. package/es/locale/es/es.json +184 -0
  599. package/es/locale/id/id.json +184 -0
  600. package/es/locale/index.js +45 -0
  601. package/es/meta-comp/components/Button/editable.js +123 -0
  602. package/es/meta-comp/components/Button/editable.less +6 -0
  603. package/es/meta-comp/components/Button/index.js +183 -0
  604. package/es/meta-comp/components/Button/index.less +21 -0
  605. package/es/meta-comp/components/Image/image/default-img.png +0 -0
  606. package/es/meta-comp/components/Image/image/h5DefImg.png +0 -0
  607. package/es/meta-comp/components/Image/image/h5Img.png +0 -0
  608. package/es/meta-comp/components/Image/image/pcDefImg.png +0 -0
  609. package/es/meta-comp/components/Image/image/pcImg.png +0 -0
  610. package/es/meta-comp/components/Image/index.js +262 -0
  611. package/es/meta-comp/components/Image/index.less +25 -0
  612. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  613. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  614. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  615. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  616. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  617. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  618. package/es/meta-comp/components/Text/index.js +306 -0
  619. package/es/meta-comp/components/Text/index.less +103 -0
  620. package/es/meta-comp/components/index.js +31 -0
  621. package/es/meta-comp/config-panels/BaseConfig.js +85 -0
  622. package/es/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  623. package/es/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  624. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  625. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  626. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  627. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  628. package/es/meta-comp/config-panels/ImageConfig/index.js +448 -0
  629. package/es/meta-comp/config-panels/ImageConfig/index.less +16 -0
  630. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  631. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  632. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  633. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  634. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  635. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  636. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  637. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  638. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  639. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  640. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  641. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  642. package/es/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  643. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  644. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  645. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  646. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  647. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  648. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  649. package/es/meta-comp/config-panels/TextConfig/index.js +379 -0
  650. package/es/meta-comp/config-panels/TextConfig/index.less +20 -0
  651. package/es/mobx/Frame.js +85 -0
  652. package/es/mobx/Store.js +104 -0
  653. package/es/mobx/index.js +42 -0
  654. package/es/utils/androidUtil.js +134 -0
  655. package/es/utils/businessUtil.js +464 -0
  656. package/es/utils/commonUtil.js +951 -0
  657. package/es/utils/compJsonUtil.js +240 -0
  658. package/es/utils/coreUtil.js +394 -0
  659. package/es/utils/currencyUtil.js +216 -0
  660. package/es/utils/dataTreeUtils.js +134 -0
  661. package/es/utils/dateUtil.js +70 -0
  662. package/es/utils/storeUtil.js +258 -0
  663. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  664. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  665. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  666. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  667. package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
  668. package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
  669. package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  670. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  671. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  672. package/lib/assets/fonts/TruenoBd.otf +0 -0
  673. package/lib/assets/fonts/magic-box-iconfont.css +507 -0
  674. package/lib/assets/fonts/magic-box-iconfont.css.bak +516 -0
  675. package/lib/assets/fonts/magic-box-iconfont.js +5 -0
  676. package/lib/assets/fonts/magic-box-iconfont.js.bak +5 -0
  677. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  678. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  679. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  680. package/lib/assets/images/base64/index.js +18 -0
  681. package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
  682. package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
  683. package/lib/assets/images/layout-icon/carouselLayout3.png +0 -0
  684. package/lib/assets/images/layout-icon/dividerLayout.svg +4 -0
  685. package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  686. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  687. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  688. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  689. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  690. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  691. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  692. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  693. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  694. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  695. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  696. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  697. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  698. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  699. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  700. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  701. package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  702. package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  703. package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  704. package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
  705. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  706. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  707. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  708. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  709. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  710. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  711. package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  712. package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  713. package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  714. package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  715. package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  716. package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  717. package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  718. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  719. package/lib/assets/images/layout-icon/newsletter.svg +7 -0
  720. package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
  721. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  722. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  723. package/lib/assets/less/button.less +32 -0
  724. package/lib/assets/less/common.less +82 -0
  725. package/lib/assets/less/cylon-antd.less +32456 -0
  726. package/lib/assets/less/datepicker.less +13 -0
  727. package/lib/assets/less/font.less +70 -0
  728. package/lib/assets/less/form.less +10 -0
  729. package/lib/assets/less/global.less +8 -0
  730. package/lib/assets/less/index.less +13 -0
  731. package/lib/assets/less/input.less +26 -0
  732. package/lib/assets/less/menu.less +21 -0
  733. package/lib/assets/less/modal.less +25 -0
  734. package/lib/assets/less/select.less +32 -0
  735. package/lib/assets/less/slider.less +69 -0
  736. package/lib/assets/less/switch.less +20 -0
  737. package/lib/assets/less/table.less +52 -0
  738. package/lib/assets/less/variables.less +4 -0
  739. package/lib/common/AffiliateProductModal/index.js +582 -0
  740. package/lib/common/AffiliateProductModal/index.less +146 -0
  741. package/lib/common/AlignSelector/index.js +120 -0
  742. package/lib/common/AlignSelector/index.less +28 -0
  743. package/lib/common/Button/index.js +135 -0
  744. package/lib/common/Button/index.less +73 -0
  745. package/lib/common/ButtonIconLayout/index.js +105 -0
  746. package/lib/common/ButtonIconLayout/index.less +55 -0
  747. package/lib/common/CardCarousel/index.js +171 -0
  748. package/lib/common/CardCarousel/index.less +28 -0
  749. package/lib/common/Carousel/index.js +69 -0
  750. package/lib/common/Carousel/index.less +0 -0
  751. package/lib/common/Collapse/index.js +398 -0
  752. package/lib/common/Collapse/index.less +100 -0
  753. package/lib/common/ColorPicker/imgs/no-color.png +0 -0
  754. package/lib/common/ColorPicker/index.js +134 -0
  755. package/lib/common/ColorPicker/index.less +26 -0
  756. package/lib/common/ColorPickerInput/imgs/code.png +0 -0
  757. package/lib/common/ColorPickerInput/index.js +114 -0
  758. package/lib/common/ColorPickerInput/index.less +50 -0
  759. package/lib/common/CountDown/index.js +151 -0
  760. package/lib/common/CountDown/index.less +23 -0
  761. package/lib/common/Field/index.js +97 -0
  762. package/lib/common/Field/index.less +37 -0
  763. package/lib/common/FontStyles/index.js +197 -0
  764. package/lib/common/FontStyles/index.less +64 -0
  765. package/lib/common/GroupList/defaultImg.png +0 -0
  766. package/lib/common/GroupList/index.js +211 -0
  767. package/lib/common/GroupList/index.less +88 -0
  768. package/lib/common/IconPicker/index.js +147 -0
  769. package/lib/common/IconPicker/index.less +46 -0
  770. package/lib/common/Iconfont/index.js +148 -0
  771. package/lib/common/Iconfont/index.less +20 -0
  772. package/lib/common/ImageLazy/index.js +172 -0
  773. package/lib/common/ImageLazy/index.less +0 -0
  774. package/lib/common/ImageModal/CommonModal/const.js +22 -0
  775. package/lib/common/ImageModal/CommonModal/index.js +46 -0
  776. package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
  777. package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
  778. package/lib/common/ImageModal/const.js +24 -0
  779. package/lib/common/ImageModal/index.js +815 -0
  780. package/lib/common/ImageModal/index.less +34 -0
  781. package/lib/common/ImageModal/utils.js +609 -0
  782. package/lib/common/ImagePicker/index.js +317 -0
  783. package/lib/common/ImagePicker/index.less +206 -0
  784. package/lib/common/ImgArea/components/Crop.js +270 -0
  785. package/lib/common/ImgArea/components/Icons.js +44 -0
  786. package/lib/common/ImgArea/components/MultiCrops.js +217 -0
  787. package/lib/common/ImgArea/index.js +11 -0
  788. package/lib/common/InputNumber/index.js +91 -0
  789. package/lib/common/InputNumber/index.less +38 -0
  790. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  791. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  792. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  793. package/lib/common/LayoutSelector/index.js +111 -0
  794. package/lib/common/LayoutSelector/index.less +37 -0
  795. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  796. package/lib/common/LinkModal/BundleCampaign/index.js +412 -0
  797. package/lib/common/LinkModal/BundleCampaign/index.less +19 -0
  798. package/lib/common/LinkModal/CatgTable/index.js +244 -0
  799. package/lib/common/LinkModal/CouponTable/index.js +315 -0
  800. package/lib/common/LinkModal/CustomTable/index.js +237 -0
  801. package/lib/common/LinkModal/FilteredProductModal/index.js +706 -0
  802. package/lib/common/LinkModal/FilteredProductModal/index.less +127 -0
  803. package/lib/common/LinkModal/FunctionTable/index.js +233 -0
  804. package/lib/common/LinkModal/MiniAppTable/index.js +250 -0
  805. package/lib/common/LinkModal/ProductDetailPage/index.js +504 -0
  806. package/lib/common/LinkModal/ProductDetailPage/index.less +10 -0
  807. package/lib/common/LinkModal/SelectVideoModal/index.js +212 -0
  808. package/lib/common/LinkModal/SelectVideoModal/index.less +112 -0
  809. package/lib/common/LinkModal/ShareUrl/index.js +33 -0
  810. package/lib/common/LinkModal/ShareUrl/index.less +3 -0
  811. package/lib/common/LinkModal/StoreCatgTable/index.js +244 -0
  812. package/lib/common/LinkModal/StoreTable/index.js +328 -0
  813. package/lib/common/LinkModal/index.js +368 -0
  814. package/lib/common/LinkModal/index.less +104 -0
  815. package/lib/common/MagicLink/index.js +89 -0
  816. package/lib/common/MagicLink/index.less +0 -0
  817. package/lib/common/MessageModal/index.js +73 -0
  818. package/lib/common/MessageModal/index.less +86 -0
  819. package/lib/common/MyModal/index.js +417 -0
  820. package/lib/common/MyModal/index.less +74 -0
  821. package/lib/common/NewImg/index.js +165 -0
  822. package/lib/common/NewImg/index.less +0 -0
  823. package/lib/common/ProductModal/index.js +790 -0
  824. package/lib/common/ProductModal/index.less +146 -0
  825. package/lib/common/ProductSource/index.js +286 -0
  826. package/lib/common/ProductSource/index.less +14 -0
  827. package/lib/common/RcCollapse/Collapse.js +240 -0
  828. package/lib/common/RcCollapse/Panel.js +193 -0
  829. package/lib/common/RcCollapse/PanelContent.js +59 -0
  830. package/lib/common/RcCollapse/index.js +15 -0
  831. package/lib/common/RcCollapse/index.less +108 -0
  832. package/lib/common/RcCollapse/interface.js +1 -0
  833. package/lib/common/RcCollapse/motion.less +12 -0
  834. package/lib/common/RcCollapse/motionUtil.js +44 -0
  835. package/lib/common/Slider/index.js +151 -0
  836. package/lib/common/Slider/index.less +45 -0
  837. package/lib/common/SwiperBan/index.js +94 -0
  838. package/lib/common/SwiperBan/index.less +25 -0
  839. package/lib/common/SwitchCollapse/index.js +216 -0
  840. package/lib/common/SwitchCollapse/index.less +40 -0
  841. package/lib/common/SystemNotification/Confirm/index.js +263 -0
  842. package/lib/common/SystemNotification/Confirm/index.less +33 -0
  843. package/lib/common/SystemNotification/index.js +115 -0
  844. package/lib/common/UrlPicker/index.js +135 -0
  845. package/lib/common/UrlPicker/index.less +86 -0
  846. package/lib/common/Video/background.png +0 -0
  847. package/lib/common/Video/closeImg.png +0 -0
  848. package/lib/common/Video/components/index.js +100 -0
  849. package/lib/common/Video/components/index.less +62 -0
  850. package/lib/common/Video/cover.png +0 -0
  851. package/lib/common/Video/index.js +748 -0
  852. package/lib/common/Video/index.less +70 -0
  853. package/lib/common/VideoUpload/index.js +156 -0
  854. package/lib/common/VideoUpload/index.less +114 -0
  855. package/lib/common/VideoUpload/video-upload-icon.png +0 -0
  856. package/lib/common/index.js +191 -0
  857. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  858. package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  859. package/lib/composite-comp/bol/components/Banner/index.js +103 -0
  860. package/lib/composite-comp/bol/components/Banner/mobile/index.js +302 -0
  861. package/lib/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  862. package/lib/composite-comp/bol/components/Banner/pc/index.js +356 -0
  863. package/lib/composite-comp/bol/components/Banner/pc/index.less +85 -0
  864. package/lib/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  865. package/lib/composite-comp/bol/components/Button/index.js +122 -0
  866. package/lib/composite-comp/bol/components/Button/index.less +47 -0
  867. package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  868. package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  869. package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  870. package/lib/composite-comp/bol/components/Carousel/index.js +112 -0
  871. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  872. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  873. package/lib/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  874. package/lib/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  875. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  876. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  877. package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  878. package/lib/composite-comp/bol/components/Divider/index.js +103 -0
  879. package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  880. package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  881. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  882. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  883. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  884. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  885. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  886. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  887. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  888. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  889. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  890. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  891. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  892. package/lib/composite-comp/bol/components/ImageGallery/index.js +88 -0
  893. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  894. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  895. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  896. package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  897. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  898. package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
  899. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  900. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  901. package/lib/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  902. package/lib/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  903. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  904. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  905. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  906. package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  907. package/lib/composite-comp/bol/components/Newsletter/index.js +141 -0
  908. package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
  909. package/lib/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  910. package/lib/composite-comp/bol/components/Tag/index.js +127 -0
  911. package/lib/composite-comp/bol/components/Tag/index.less +35 -0
  912. package/lib/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  913. package/lib/composite-comp/bol/components/Text/index.js +161 -0
  914. package/lib/composite-comp/bol/components/Text/index.less +58 -0
  915. package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
  916. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  917. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  918. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  919. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  920. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  921. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  922. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  923. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  924. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  925. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  926. package/lib/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  927. package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  928. package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  929. package/lib/composite-comp/bol/components/Video/index.js +111 -0
  930. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  931. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  932. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  933. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  934. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  935. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  936. package/lib/composite-comp/bol/components/Video/mobile/index.js +79 -0
  937. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -0
  938. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  939. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  940. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  941. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  942. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  943. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  944. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  945. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  946. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  947. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  948. package/lib/composite-comp/bol/components/Video/pc/index.js +139 -0
  949. package/lib/composite-comp/bol/components/Video/pc/index.less +4 -0
  950. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  951. package/lib/composite-comp/bol/components/Wallet/index.js +84 -0
  952. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
  953. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
  954. package/lib/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  955. package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  956. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  957. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  958. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  959. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  960. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  961. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  962. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  963. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  964. package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  965. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  966. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  967. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  968. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  969. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  970. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  971. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  972. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  973. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  974. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  975. package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  976. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  977. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  978. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  979. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  980. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  981. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  982. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  983. package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  984. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  985. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  986. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  987. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  988. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  989. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  990. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  991. package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  992. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  993. package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  994. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  995. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  996. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  997. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  998. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  999. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  1000. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  1001. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  1002. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  1003. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  1004. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  1005. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  1006. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  1007. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  1008. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  1009. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  1010. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  1011. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  1012. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  1013. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  1014. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  1015. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  1016. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  1017. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  1018. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  1019. package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  1020. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  1021. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  1022. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  1023. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  1024. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  1025. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  1026. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  1027. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  1028. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  1029. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  1030. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  1031. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  1032. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  1033. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  1034. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  1035. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  1036. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  1037. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  1038. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  1039. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  1040. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  1041. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  1042. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  1043. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  1044. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  1045. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
  1046. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  1047. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  1048. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  1049. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  1050. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  1051. package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
  1052. package/lib/composite-comp/common/components/ImageLabel/index.less +45 -0
  1053. package/lib/composite-comp/common/components/ProductItem/index.js +248 -0
  1054. package/lib/composite-comp/common/components/ProductItem/index.less +168 -0
  1055. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  1056. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  1057. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  1058. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  1059. package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  1060. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  1061. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  1062. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  1063. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  1064. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  1065. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  1066. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  1067. package/lib/composite-comp/dito/components/FlashDeal/index.js +90 -0
  1068. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  1069. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  1070. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  1071. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  1072. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  1073. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  1074. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  1075. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  1076. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  1077. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  1078. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  1079. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  1080. package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  1081. package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  1082. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  1083. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  1084. package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  1085. package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  1086. package/lib/composite-comp/dito/components/PcNavigation/index.js +84 -0
  1087. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  1088. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  1089. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  1090. package/lib/composite-comp/dito/components/Recommend/index.js +90 -0
  1091. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  1092. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  1093. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  1094. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  1095. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  1096. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  1097. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  1098. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  1099. package/lib/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  1100. package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  1101. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  1102. package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  1103. package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  1104. package/lib/composite-comp/dito/components/SearchBar/index.js +91 -0
  1105. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  1106. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  1107. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  1108. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  1109. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  1110. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  1111. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  1112. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  1113. package/lib/composite-comp/dito/components/SignBoard/index.js +91 -0
  1114. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  1115. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  1116. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  1117. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  1118. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  1119. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  1120. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  1121. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  1122. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  1123. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  1124. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  1125. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  1126. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  1127. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  1128. package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  1129. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  1130. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  1131. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  1132. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  1133. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  1134. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  1135. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  1136. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  1137. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  1138. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  1139. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  1140. package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  1141. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  1142. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  1143. package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  1144. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  1145. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  1146. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  1147. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  1148. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  1149. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  1150. package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  1151. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  1152. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  1153. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  1154. package/lib/constants/component-types.js +141 -0
  1155. package/lib/constants/index.js +257 -0
  1156. package/lib/constants/layout.js +315 -0
  1157. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  1158. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  1159. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  1160. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  1161. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  1162. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  1163. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  1164. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  1165. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  1166. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  1167. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  1168. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  1169. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  1170. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  1171. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  1172. package/lib/core/Designer/AiImageGenerator/index.js +752 -0
  1173. package/lib/core/Designer/AiImageGenerator/index.less +136 -0
  1174. package/lib/core/Designer/AppointmentModal/index.js +87 -0
  1175. package/lib/core/Designer/AppointmentModal/index.less +23 -0
  1176. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  1177. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  1178. package/lib/core/Designer/ChatRobot/index.js +343 -0
  1179. package/lib/core/Designer/ChatRobot/index.less +138 -0
  1180. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  1181. package/lib/core/Designer/CompListPanel/CompCard/index.js +50 -0
  1182. package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
  1183. package/lib/core/Designer/CompListPanel/index.js +149 -0
  1184. package/lib/core/Designer/CompListPanel/index.less +69 -0
  1185. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  1186. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  1187. package/lib/core/Designer/ConfigPanel/index.js +390 -0
  1188. package/lib/core/Designer/ConfigPanel/index.less +148 -0
  1189. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  1190. package/lib/core/Designer/History/index.js +97 -0
  1191. package/lib/core/Designer/LeftTitle/index.js +66 -0
  1192. package/lib/core/Designer/LeftTitle/index.less +9 -0
  1193. package/lib/core/Designer/PageCompList/index.js +328 -0
  1194. package/lib/core/Designer/PageCompList/index.less +139 -0
  1195. package/lib/core/Designer/QuickMenuBar/index.js +236 -0
  1196. package/lib/core/Designer/QuickMenuBar/index.less +121 -0
  1197. package/lib/core/Designer/RenderHtml/index.js +99 -0
  1198. package/lib/core/Designer/RenderHtml/index.less +5 -0
  1199. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  1200. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  1201. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  1202. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  1203. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  1204. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  1205. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  1206. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  1207. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  1208. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  1209. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  1210. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  1211. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  1212. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  1213. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  1214. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  1215. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  1216. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  1217. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  1218. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  1219. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  1220. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  1221. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  1222. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  1223. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  1224. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  1225. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  1226. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  1227. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  1228. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  1229. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  1230. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  1231. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  1232. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  1233. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  1234. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  1235. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  1236. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  1237. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  1238. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  1239. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  1240. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  1241. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  1242. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  1243. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  1244. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  1245. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  1246. package/lib/core/Designer/ToolBarModal/index.js +411 -0
  1247. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  1248. package/lib/core/Designer/ViewArea/index.js +191 -0
  1249. package/lib/core/Designer/ViewArea/index.less +89 -0
  1250. package/lib/core/Designer/index.js +812 -0
  1251. package/lib/core/Designer/index.less +6 -0
  1252. package/lib/core/Renderer/index.js +184 -0
  1253. package/lib/decorator/compositeDecorator.js +276 -0
  1254. package/lib/decorator/index.js +68 -0
  1255. package/lib/decorator/lazyLoadDecorator.js +75 -0
  1256. package/lib/decorator/metaDecorator.js +241 -0
  1257. package/lib/decorator/updateConfigDecorator.js +76 -0
  1258. package/lib/index.js +29 -0
  1259. package/lib/locale/en/en.json +184 -0
  1260. package/lib/locale/es/es.json +184 -0
  1261. package/lib/locale/id/id.json +184 -0
  1262. package/lib/locale/index.js +45 -0
  1263. package/lib/meta-comp/components/Button/editable.js +123 -0
  1264. package/lib/meta-comp/components/Button/editable.less +6 -0
  1265. package/lib/meta-comp/components/Button/index.js +183 -0
  1266. package/lib/meta-comp/components/Button/index.less +21 -0
  1267. package/lib/meta-comp/components/Image/image/default-img.png +0 -0
  1268. package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
  1269. package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
  1270. package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
  1271. package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
  1272. package/lib/meta-comp/components/Image/index.js +262 -0
  1273. package/lib/meta-comp/components/Image/index.less +25 -0
  1274. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  1275. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  1276. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  1277. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  1278. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  1279. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  1280. package/lib/meta-comp/components/Text/index.js +306 -0
  1281. package/lib/meta-comp/components/Text/index.less +103 -0
  1282. package/lib/meta-comp/components/index.js +31 -0
  1283. package/lib/meta-comp/config-panels/BaseConfig.js +85 -0
  1284. package/lib/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  1285. package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  1286. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  1287. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  1288. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  1289. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  1290. package/lib/meta-comp/config-panels/ImageConfig/index.js +448 -0
  1291. package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
  1292. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  1293. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  1294. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  1295. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  1296. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  1297. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  1298. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  1299. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  1300. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  1301. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  1302. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  1303. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  1304. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  1305. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  1306. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  1307. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  1308. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  1309. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  1310. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  1311. package/lib/meta-comp/config-panels/TextConfig/index.js +379 -0
  1312. package/lib/meta-comp/config-panels/TextConfig/index.less +20 -0
  1313. package/lib/mobx/Frame.js +85 -0
  1314. package/lib/mobx/Store.js +104 -0
  1315. package/lib/mobx/index.js +42 -0
  1316. package/lib/utils/androidUtil.js +134 -0
  1317. package/lib/utils/businessUtil.js +464 -0
  1318. package/lib/utils/commonUtil.js +951 -0
  1319. package/lib/utils/compJsonUtil.js +240 -0
  1320. package/lib/utils/coreUtil.js +394 -0
  1321. package/lib/utils/currencyUtil.js +216 -0
  1322. package/lib/utils/dataTreeUtils.js +134 -0
  1323. package/lib/utils/dateUtil.js +70 -0
  1324. package/lib/utils/storeUtil.js +258 -0
  1325. package/package.json +2 -86
  1326. package/README.md +0 -122
@@ -0,0 +1,951 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.addZero = exports.addUrlQuery = void 0;
7
+ exports.asyncDataURLtoImage = asyncDataURLtoImage;
8
+ exports.checkFileName = exports.calcLastTime = exports.asyncNextTick = void 0;
9
+ exports.commonFetch = commonFetch;
10
+ exports.convertCount = exports.compatibleNewPageData = void 0;
11
+ exports.convertImageUrl = convertImageUrl;
12
+ exports.convertToRem = void 0;
13
+ exports.copy2ClipBoard = copy2ClipBoard;
14
+ exports.covertKey = covertKey;
15
+ exports.dragSource = exports.downloadBase64Image = void 0;
16
+ exports.ensure = ensure;
17
+ exports.getGAData = exports.getColorRgba = void 0;
18
+ exports.getPageDataMap = getPageDataMap;
19
+ exports.onListenTouch = exports.nextTick = exports.navigateTo = exports.importAsync = exports.getUrlParams = void 0;
20
+ exports.pushGA = pushGA;
21
+ exports.pxToRem = void 0;
22
+ exports.shareFacebook = shareFacebook;
23
+ exports.shareLinkedin = shareLinkedin;
24
+ exports.shareTwitter = shareTwitter;
25
+ exports.sleep = sleep;
26
+ exports.styleStringify = void 0;
27
+
28
+ var _axios = _interopRequireDefault(require("axios"));
29
+
30
+ var _lodash = require("lodash");
31
+
32
+ var _uuid = require("uuid");
33
+
34
+ var _qs = _interopRequireDefault(require("qs"));
35
+
36
+ var _constants = require("../constants");
37
+
38
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
39
+
40
+ var __assign = void 0 && (void 0).__assign || function () {
41
+ __assign = Object.assign || function (t) {
42
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
43
+ s = arguments[i];
44
+
45
+ for (var p in s) {
46
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
47
+ }
48
+ }
49
+
50
+ return t;
51
+ };
52
+
53
+ return __assign.apply(this, arguments);
54
+ };
55
+
56
+ var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
57
+ function adopt(value) {
58
+ return value instanceof P ? value : new P(function (resolve) {
59
+ resolve(value);
60
+ });
61
+ }
62
+
63
+ return new (P || (P = Promise))(function (resolve, reject) {
64
+ function fulfilled(value) {
65
+ try {
66
+ step(generator.next(value));
67
+ } catch (e) {
68
+ reject(e);
69
+ }
70
+ }
71
+
72
+ function rejected(value) {
73
+ try {
74
+ step(generator["throw"](value));
75
+ } catch (e) {
76
+ reject(e);
77
+ }
78
+ }
79
+
80
+ function step(result) {
81
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
82
+ }
83
+
84
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
85
+ });
86
+ };
87
+
88
+ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
89
+ var _ = {
90
+ label: 0,
91
+ sent: function sent() {
92
+ if (t[0] & 1) throw t[1];
93
+ return t[1];
94
+ },
95
+ trys: [],
96
+ ops: []
97
+ },
98
+ f,
99
+ y,
100
+ t,
101
+ g;
102
+ return g = {
103
+ next: verb(0),
104
+ "throw": verb(1),
105
+ "return": verb(2)
106
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
107
+ return this;
108
+ }), g;
109
+
110
+ function verb(n) {
111
+ return function (v) {
112
+ return step([n, v]);
113
+ };
114
+ }
115
+
116
+ function step(op) {
117
+ if (f) throw new TypeError("Generator is already executing.");
118
+
119
+ while (_) {
120
+ try {
121
+ 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;
122
+ if (y = 0, t) op = [op[0] & 2, t.value];
123
+
124
+ switch (op[0]) {
125
+ case 0:
126
+ case 1:
127
+ t = op;
128
+ break;
129
+
130
+ case 4:
131
+ _.label++;
132
+ return {
133
+ value: op[1],
134
+ done: false
135
+ };
136
+
137
+ case 5:
138
+ _.label++;
139
+ y = op[1];
140
+ op = [0];
141
+ continue;
142
+
143
+ case 7:
144
+ op = _.ops.pop();
145
+
146
+ _.trys.pop();
147
+
148
+ continue;
149
+
150
+ default:
151
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
152
+ _ = 0;
153
+ continue;
154
+ }
155
+
156
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
157
+ _.label = op[1];
158
+ break;
159
+ }
160
+
161
+ if (op[0] === 6 && _.label < t[1]) {
162
+ _.label = t[1];
163
+ t = op;
164
+ break;
165
+ }
166
+
167
+ if (t && _.label < t[2]) {
168
+ _.label = t[2];
169
+
170
+ _.ops.push(op);
171
+
172
+ break;
173
+ }
174
+
175
+ if (t[2]) _.ops.pop();
176
+
177
+ _.trys.pop();
178
+
179
+ continue;
180
+ }
181
+
182
+ op = body.call(thisArg, _);
183
+ } catch (e) {
184
+ op = [6, e];
185
+ y = 0;
186
+ } finally {
187
+ f = t = 0;
188
+ }
189
+ }
190
+
191
+ if (op[0] & 5) throw op[1];
192
+ return {
193
+ value: op[0] ? op[1] : void 0,
194
+ done: true
195
+ };
196
+ }
197
+ };
198
+ /* eslint-disable no-restricted-syntax */
199
+
200
+
201
+ /**
202
+ * 安全获取数据
203
+ * @param {function} func 获取函数
204
+ * @param {any} defaults 默认值
205
+ */
206
+ function ensure(func, defaults) {
207
+ try {
208
+ return func() || defaults;
209
+ } catch (error) {
210
+ return defaults;
211
+ }
212
+ }
213
+ /**
214
+ * fish fetch
215
+ * @param {*} url 请求地址
216
+ * @param {*} data 入参
217
+ * @param {*} method 请求方法
218
+ */
219
+
220
+
221
+ function commonFetch(url, data, method) {
222
+ if (data === void 0) {
223
+ data = {};
224
+ }
225
+
226
+ if (method === void 0) {
227
+ method = 'GET';
228
+ }
229
+
230
+ var _method = method.toUpperCase();
231
+
232
+ return new Promise(function (resolve, reject) {
233
+ var _a, _b;
234
+
235
+ var credentials = localStorage.getItem('credentials');
236
+ var headers = {
237
+ 'Content-Type': 'application/json; charset=UTF-8',
238
+ credentials: credentials,
239
+ accessToken: credentials
240
+ };
241
+
242
+ if (_method === 'GET') {
243
+ if ((_a = window.magicDesign) === null || _a === void 0 ? void 0 : _a.fetch) {
244
+ window.magicDesign.fetch(url, {
245
+ method: 'GET',
246
+ params: data
247
+ }).then(function (res) {
248
+ resolve(res);
249
+ })["catch"](function (err) {
250
+ reject(err);
251
+ });
252
+ return;
253
+ }
254
+
255
+ _axios["default"].get(url, {
256
+ params: data,
257
+ headers: headers
258
+ }).then(function (res) {
259
+ resolve(res.data);
260
+ })["catch"](function (err) {
261
+ reject(err.response.data);
262
+ });
263
+ }
264
+
265
+ if (_method === 'POST') {
266
+ if ((_b = window.magicDesign) === null || _b === void 0 ? void 0 : _b.fetch) {
267
+ window.magicDesign.fetch(url, {
268
+ method: 'POST',
269
+ data: data
270
+ }).then(function (res) {
271
+ resolve(res);
272
+ })["catch"](function (err) {
273
+ reject(err);
274
+ });
275
+ return;
276
+ }
277
+
278
+ _axios["default"].post(url, data, {
279
+ headers: headers
280
+ }).then(function (res) {
281
+ resolve(res.data);
282
+ })["catch"](function (err) {
283
+ reject(err.response.data);
284
+ });
285
+ }
286
+ });
287
+ }
288
+
289
+ var navigateTo = function navigateTo(url) {
290
+ if (!url) {
291
+ return;
292
+ }
293
+
294
+ if (url.startsWith('/')) {
295
+ if (window.magicDesign.history && !window.magicDesign.navigatePreUrl) {
296
+ window.magicDesign.history.push(url);
297
+ } else {
298
+ window.location.href = "" + window.magicDesign.navigatePreUrl + url;
299
+ }
300
+ } else {
301
+ window.location.href = url;
302
+ }
303
+ };
304
+
305
+ exports.navigateTo = navigateTo;
306
+
307
+ var addUrlQuery = function addUrlQuery(url, queryObj) {
308
+ if (/\?/.test(url)) {
309
+ return url + '&' + _qs["default"].stringify(queryObj);
310
+ } else {
311
+ return url + '?' + _qs["default"].stringify(queryObj);
312
+ }
313
+ };
314
+
315
+ exports.addUrlQuery = addUrlQuery;
316
+
317
+ var dragSource = function dragSource(source, from, to) {
318
+ var out = source.splice(from, 1);
319
+
320
+ if (from > to) {
321
+ source.splice(to, 0, out[0]);
322
+ } else {
323
+ source.splice(to, 0, out[0]);
324
+ }
325
+
326
+ return source;
327
+ }; // 校验文件名称,不能存在 / \ ,
328
+
329
+
330
+ exports.dragSource = dragSource;
331
+
332
+ var checkFileName = function checkFileName(fileName) {
333
+ if (fileName === undefined || fileName === null || fileName === '') {
334
+ return false;
335
+ }
336
+
337
+ var reg = /[\\,/]+/;
338
+
339
+ if (reg.test(fileName)) {
340
+ return false;
341
+ }
342
+
343
+ return true;
344
+ }; // 获取浏览器参数
345
+
346
+
347
+ exports.checkFileName = checkFileName;
348
+
349
+ var getUrlParams = function getUrlParams(name) {
350
+ var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", 'i'); // 定义正则表达式
351
+
352
+ var r = ensure(function () {
353
+ return window.location.href.split('?')[1].match(reg);
354
+ }, null);
355
+ if (r != null) return unescape(r[2]);
356
+ return null;
357
+ };
358
+ /**
359
+ * 补0 函数
360
+ * @param {*} num 数字
361
+ */
362
+
363
+
364
+ exports.getUrlParams = getUrlParams;
365
+
366
+ var addZero = function addZero(num) {
367
+ return String(num).length === 1 ? "0" + String(num) : String(num);
368
+ };
369
+ /**
370
+ * 计算倒计时
371
+ * @param {number} lastTime 剩余时间 单位:毫秒
372
+ * @param {string?} type 'day' 以日为单位
373
+ * @returns
374
+ */
375
+
376
+
377
+ exports.addZero = addZero;
378
+
379
+ var calcLastTime = function calcLastTime(lastTime, type) {
380
+ if (lastTime <= 0) {
381
+ return 0;
382
+ }
383
+
384
+ var day = ~~(lastTime / 1000 / 60 / 60 / 24);
385
+ var hours = ~~(lastTime / 1000 / 60 / 60);
386
+ var mines = ~~(lastTime / 1000 / 60 % 60);
387
+ var second = ~~(lastTime / 1000 % 60);
388
+
389
+ if (type === 'day') {
390
+ hours = ~~(lastTime / 1000 / 60 / 60 % 24);
391
+ return day + "DAYS " + addZero(hours) + ":" + addZero(mines) + ":" + addZero(second);
392
+ }
393
+
394
+ if (type === '_hour') {
395
+ return hours;
396
+ }
397
+
398
+ if (type === '_mines') {
399
+ return mines;
400
+ }
401
+
402
+ return addZero(hours) + ":" + addZero(mines) + ":" + addZero(second);
403
+ };
404
+ /**
405
+ * 获取图片URL
406
+ * @param {object} imageObj 图片对象
407
+ * @param {string?} type small | big
408
+ */
409
+
410
+
411
+ exports.calcLastTime = calcLastTime;
412
+
413
+ function convertImageUrl(imageObj, type) {
414
+ if (imageObj === void 0) {
415
+ imageObj = {};
416
+ }
417
+
418
+ if (!imageObj) return '';
419
+ var typeMap = {
420
+ small: 'smallImgUrl',
421
+ big: 'bigImgUrl'
422
+ }[type];
423
+ return ensure(function () {
424
+ return encodeURI(imageObj[typeMap] || imageObj.url);
425
+ }, '');
426
+ }
427
+ /** 序列化 style对象 */
428
+
429
+
430
+ var styleStringify = function styleStringify(style, _a) {
431
+ var _b = (_a === void 0 ? {} : _a).suffix,
432
+ suffix = _b === void 0 ? 'px' : _b;
433
+ var numericProperties = ['height', 'width', 'top', 'left', 'right', 'bottom', 'fontSize', 'maxHeight', 'maxWidth', 'lineHeight', 'margin', 'marginTop', 'marginLeft', 'marginRight', 'marginBottom', 'padding', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom'];
434
+ return Object.keys(style).reduce(function (styleStr, key) {
435
+ var value = style[key];
436
+ if (value == null) return styleStr;
437
+ var needSuffix = numericProperties.includes(key) && typeof value === 'number';
438
+ var newName = key.replace(/([A-Z])/g, '-$1').toLowerCase();
439
+ return "" + styleStr + newName + ": " + value + (needSuffix ? suffix : '') + "; ";
440
+ }, '');
441
+ };
442
+ /** 十六进制色值转换成rgba */
443
+
444
+
445
+ exports.styleStringify = styleStringify;
446
+
447
+ var getColorRgba = function getColorRgba(sHex, alpha) {
448
+ if (alpha === void 0) {
449
+ alpha = 1;
450
+ }
451
+
452
+ var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
453
+ var sColor = sHex.toLowerCase();
454
+
455
+ if (sColor && reg.test(sColor)) {
456
+ if (sColor.length === 4) {
457
+ var sColorNew = '#';
458
+
459
+ for (var i = 1; i < 4; i += 1) {
460
+ sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
461
+ }
462
+
463
+ sColor = sColorNew;
464
+ }
465
+
466
+ var sColorChange = [];
467
+
468
+ for (var i = 1; i < 7; i += 2) {
469
+ sColorChange.push(parseInt('0x' + sColor.slice(i, i + 2)));
470
+ }
471
+
472
+ return 'rgba(' + sColorChange.join(',') + ',' + alpha + ')';
473
+ } else {
474
+ return sColor;
475
+ }
476
+ };
477
+ /** url to image */
478
+
479
+
480
+ exports.getColorRgba = getColorRgba;
481
+
482
+ function asyncDataURLtoImage(dataUrl) {
483
+ return new Promise(function (resolve) {
484
+ var img = new Image();
485
+
486
+ img.onload = function () {
487
+ resolve(img);
488
+ };
489
+
490
+ img.onerror = function () {
491
+ console.error(dataUrl + ' img error');
492
+ resolve({});
493
+ };
494
+
495
+ img.src = dataUrl;
496
+ });
497
+ }
498
+
499
+ var importAsync = function importAsync(fileUrl, type) {
500
+ return new Promise(function (resolve, reject) {
501
+ if (/\.js/.test(fileUrl) || type == 'js') {
502
+ var domNode = document.createElement('script');
503
+ domNode.src = fileUrl;
504
+ domNode.addEventListener('load', resolve);
505
+ domNode.addEventListener('error', reject);
506
+ document.body.appendChild(domNode);
507
+ }
508
+
509
+ if (/\.css/.test(fileUrl) || type == 'css') {
510
+ var domNode = document.createElement('link');
511
+ domNode.rel = 'stylesheet';
512
+ domNode.type = 'text/css';
513
+ domNode.href = fileUrl;
514
+ domNode.addEventListener('load', resolve);
515
+ domNode.addEventListener('error', reject);
516
+ document.body.appendChild(domNode);
517
+ }
518
+ });
519
+ };
520
+
521
+ exports.importAsync = importAsync;
522
+
523
+ function shareFacebook(_a) {
524
+ var url = _a.url,
525
+ image = _a.image,
526
+ title = _a.title,
527
+ description = _a.description;
528
+ window.open('http://www.facebook.com/sharer.php' + _qs["default"].stringify({
529
+ u: url,
530
+ t: title
531
+ }, {
532
+ addQueryPrefix: true
533
+ }));
534
+ }
535
+
536
+ function shareTwitter(_a) {
537
+ var url = _a.url,
538
+ image = _a.image,
539
+ title = _a.title,
540
+ description = _a.description;
541
+ window.open('http://twitter.com/share' + _qs["default"].stringify({
542
+ url: url,
543
+ text: title
544
+ }, {
545
+ addQueryPrefix: true
546
+ }));
547
+ } // export function sharewhatsApp({ url, image, title, description }) {
548
+ // window.open(`https://api.whatsapp.com/send?text=${encodeURIComponent(url)}`, '_self');
549
+ // }
550
+
551
+
552
+ function shareLinkedin(_a) {
553
+ var url = _a.url,
554
+ image = _a.image,
555
+ title = _a.title,
556
+ description = _a.description;
557
+ window.open('http://www.linkedin.com/shareArticle' + _qs["default"].stringify({
558
+ mini: true,
559
+ url: url,
560
+ title: title
561
+ }, {
562
+ addQueryPrefix: true
563
+ }));
564
+ }
565
+ /**
566
+ * 复制到剪切板
567
+ * @param {*} text 复制内容
568
+ */
569
+
570
+
571
+ function copy2ClipBoard(text) {
572
+ var tag = document.createElement('input');
573
+ tag.setAttribute('id', 'cp_hgz_input');
574
+ tag.value = text;
575
+ document.getElementsByTagName('body')[0].appendChild(tag);
576
+ document.getElementById('cp_hgz_input').select();
577
+ document.execCommand('copy');
578
+ document.getElementById('cp_hgz_input').remove();
579
+ }
580
+
581
+ function getPageDataMap() {
582
+ var elelmentMap = {};
583
+ window.magicDesignPageData.childNodes.forEach(function (item) {
584
+ Object.keys(item).forEach(function (key) {
585
+ var obj = item[key];
586
+
587
+ if (key === 'groupSource') {
588
+ obj.forEach(function (group) {
589
+ Object.keys(group).forEach(function (groupKey) {
590
+ var groupObj = group[groupKey];
591
+ });
592
+ });
593
+ } else {
594
+ if (obj.id) {
595
+ elelmentMap[obj.id] = {
596
+ tempName: '设计器',
597
+ pageId: window.magicDesignPageData.id,
598
+ moduleName: obj.type,
599
+ moduleId: obj.id,
600
+ groupName: '组名称',
601
+ groupId: '组id',
602
+ elementName: '元素名称',
603
+ elementId: '元素id'
604
+ };
605
+ }
606
+ }
607
+ });
608
+ });
609
+ }
610
+ /** GA上报 */
611
+
612
+
613
+ function pushGA(data, eventName) {
614
+ if (eventName === void 0) {
615
+ eventName = 'designer_click';
616
+ }
617
+
618
+ try {
619
+ if (window.magicDesign.mode == 'renderer') {
620
+ var pageId = window.magicDesign.pageId || '';
621
+ var pageName = window.magicDesign.pageName || '';
622
+ var eventData = {
623
+ pageId: pageId,
624
+ pageName: pageName,
625
+ moduleId: data.moduleId,
626
+ moduleName: data.moduleName,
627
+ groupId: data.groupId,
628
+ groupName: data.groupName,
629
+ elementId: data.elementId,
630
+ elementName: data.elementName
631
+ };
632
+ console.log('GA push', eventName, eventData);
633
+ window.gtag('event', eventName, eventData);
634
+ }
635
+ } catch (error) {
636
+ console.error(error);
637
+ }
638
+ }
639
+ /** react key 计算 */
640
+
641
+
642
+ function covertKey(data, func) {
643
+ var newData = (0, _lodash.cloneDeep)(data);
644
+ func(newData);
645
+ return JSON.stringify(newData);
646
+ }
647
+
648
+ var nextTick = function nextTick(func, interval, count) {
649
+ if (interval === void 0) {
650
+ interval = 100;
651
+ }
652
+
653
+ if (count === void 0) {
654
+ count = 5;
655
+ }
656
+
657
+ try {
658
+ func();
659
+ } catch (error) {
660
+ if (count == 0) {
661
+ console.error('nextTick 失败');
662
+ return;
663
+ }
664
+
665
+ setTimeout(function () {
666
+ nextTick(func, interval, count - 1);
667
+ }, interval);
668
+ }
669
+ };
670
+
671
+ exports.nextTick = nextTick;
672
+
673
+ function sleep(timeout) {
674
+ if (timeout === void 0) {
675
+ timeout = 3000;
676
+ }
677
+
678
+ return new Promise(function (resolve) {
679
+ return setTimeout(resolve, timeout);
680
+ });
681
+ }
682
+
683
+ var asyncNextTick = function asyncNextTick(asyncFunc, interval, count) {
684
+ if (interval === void 0) {
685
+ interval = 100;
686
+ }
687
+
688
+ if (count === void 0) {
689
+ count = 5;
690
+ }
691
+
692
+ return __awaiter(void 0, void 0, void 0, function () {
693
+ var error_1;
694
+ return __generator(this, function (_a) {
695
+ switch (_a.label) {
696
+ case 0:
697
+ _a.trys.push([0, 2,, 5]);
698
+
699
+ return [4
700
+ /*yield*/
701
+ , asyncFunc()];
702
+
703
+ case 1:
704
+ return [2
705
+ /*return*/
706
+ , _a.sent()];
707
+
708
+ case 2:
709
+ error_1 = _a.sent();
710
+
711
+ if (count == 0) {
712
+ console.error('nextTick 失败');
713
+ return [2
714
+ /*return*/
715
+ , null];
716
+ }
717
+
718
+ return [4
719
+ /*yield*/
720
+ , sleep(100)];
721
+
722
+ case 3:
723
+ _a.sent();
724
+
725
+ return [4
726
+ /*yield*/
727
+ , asyncNextTick(asyncFunc, interval, count - 1)];
728
+
729
+ case 4:
730
+ return [2
731
+ /*return*/
732
+ , _a.sent()];
733
+
734
+ case 5:
735
+ return [2
736
+ /*return*/
737
+ ];
738
+ }
739
+ });
740
+ });
741
+ };
742
+
743
+ exports.asyncNextTick = asyncNextTick;
744
+
745
+ var convertToRem = function convertToRem(value) {
746
+ // return value; // PTO项目 解开注释
747
+ if (window.magicDesign.device === 'pc') {
748
+ return value + "px";
749
+ }
750
+
751
+ var baseFont = ensure(function () {
752
+ return window.getComputedStyle(document.getElementsByTagName('html')[0]).fontSize.replace('px', '');
753
+ }, 50);
754
+ var pxValue = parseFloat(value);
755
+ var remValue = pxValue / baseFont; // 假设1rem = 50px
756
+
757
+ return remValue + "rem";
758
+ };
759
+ /** px to rem */
760
+
761
+
762
+ exports.convertToRem = convertToRem;
763
+
764
+ var pxToRem = function pxToRem(styleObj) {
765
+ // return styleObj; // PTO项目 解开注释
766
+ if (window.magicDesign.device === 'pc') {
767
+ return styleObj;
768
+ }
769
+
770
+ var remObj = {};
771
+
772
+ for (var key in styleObj) {
773
+ if (styleObj.hasOwnProperty(key)) {
774
+ var value = styleObj[key];
775
+
776
+ if (typeof value === 'string' && value.endsWith('px')) {
777
+ remObj[key] = convertToRem(value.split('px')[0]);
778
+ } else if (typeof value === 'number') {
779
+ remObj[key] = ['opacity', 'lineHeight', 'zIndex', 'fontWeight'].includes(key) ? value : convertToRem(value);
780
+ } else if ((key === 'padding' || key === 'margin') && typeof value === 'string') {
781
+ var paddingValues = value.split(' ');
782
+ var remPaddingValues = paddingValues.map(function (paddingValue) {
783
+ return paddingValue.endsWith('px') ? convertToRem(paddingValue) : paddingValue;
784
+ });
785
+ remObj[key] = remPaddingValues.join(' ');
786
+ } else {
787
+ remObj[key] = value;
788
+ }
789
+ }
790
+ }
791
+
792
+ return remObj;
793
+ };
794
+ /**
795
+ * 处理新老数据兼容问题
796
+ * @param pageData 大JSON
797
+ */
798
+
799
+
800
+ exports.pxToRem = pxToRem;
801
+
802
+ var compatibleNewPageData = function compatibleNewPageData(pageData) {
803
+ if (pageData.childNodes && pageData.childNodes.length > 0) {
804
+ pageData.childNodes.forEach(function (child) {
805
+ // 兼容新功能:banner 轮播的 dots 点 区分pc 移动
806
+ if (child.type === 'BANNER') {
807
+ if (!child.setting.dots.color.pc || !child.setting.dots.hoverColor.pc || !child.setting.dots.size.pc) {
808
+ child.setting.dots = __assign(__assign({}, child.setting.dots), {
809
+ color: {
810
+ pc: '#fff',
811
+ mobile: '#fff'
812
+ },
813
+ hoverColor: {
814
+ pc: '#fff',
815
+ mobile: '#fff'
816
+ },
817
+ size: {
818
+ pc: 16,
819
+ mobile: 8
820
+ },
821
+ hoverSize: {
822
+ pc: 16,
823
+ mobile: 8
824
+ }
825
+ });
826
+ }
827
+ } // 兼容新开发的功能: video新增播放按钮 的设置
828
+
829
+
830
+ if (child.type === 'VIDEO') {
831
+ // console.log('--compatibleNewPageData -- video ');
832
+ child.groupSource.forEach(function (group) {
833
+ if (!group.playIcon) {
834
+ group.playIcon = {
835
+ open: true,
836
+ parentId: group.id,
837
+ id: (0, _uuid.v4)(),
838
+ type: 'PLAY',
839
+ size: 48,
840
+ pcSize: 60,
841
+ iconType: 'light-playicon-01',
842
+ iconColor: 'Light'
843
+ };
844
+ }
845
+ }); // console.log('--compatibleNewPageData -- video add group.playIcon ', child.groupSource);
846
+ } // 兼容新功能:SEARCH 新增控制购物车和消息图标的开关
847
+
848
+
849
+ if (child.type === 'SEARCH') {
850
+ if (!child.content.icon.cartIcon || !child.content.icon.messageIcon) {
851
+ child.content.icon.cartIcon = {
852
+ pc: true,
853
+ mobile: false
854
+ };
855
+ child.content.icon.messageIcon = {
856
+ pc: false,
857
+ mobile: true
858
+ };
859
+ }
860
+ }
861
+ });
862
+ }
863
+ };
864
+
865
+ exports.compatibleNewPageData = compatibleNewPageData;
866
+
867
+ var getGAData = function getGAData(data) {
868
+ var _a;
869
+
870
+ return {
871
+ moduleId: data.id,
872
+ moduleName: data.moduleIndex + '.' + ((_a = _constants.compInfoMap[data.type]) === null || _a === void 0 ? void 0 : _a.name)
873
+ };
874
+ };
875
+
876
+ exports.getGAData = getGAData;
877
+
878
+ var downloadBase64Image = function downloadBase64Image(base64String, filename) {
879
+ // 创建一个虚拟的链接元素
880
+ var link = document.createElement('a');
881
+ link.href = base64String;
882
+ link.download = filename; // 模拟点击下载
883
+
884
+ link.click();
885
+ };
886
+
887
+ exports.downloadBase64Image = downloadBase64Image;
888
+
889
+ var convertCount = function convertCount(value) {
890
+ var newValue = value;
891
+
892
+ if (value >= 1000000) {
893
+ newValue = Number(value / 1000000).toFixed(1) + "M";
894
+ } else if (value >= 1000) {
895
+ newValue = Number(value / 1000).toFixed(1) + "K";
896
+ }
897
+
898
+ return newValue;
899
+ };
900
+
901
+ exports.convertCount = convertCount;
902
+
903
+ var onListenTouch = function onListenTouch(cls, leftFunc, rightFunc) {
904
+ var box = document.querySelector(cls); // 监听对象
905
+
906
+ var startTime = ''; // 触摸开始时间
907
+
908
+ var startDistanceX = ''; // 触摸开始X轴位置
909
+
910
+ var startDistanceY = ''; // 触摸开始Y轴位置
911
+
912
+ var endTime = ''; // 触摸结束时间
913
+
914
+ var endDistanceX = ''; // 触摸结束X轴位置
915
+
916
+ var endDistanceY = ''; // 触摸结束Y轴位置
917
+
918
+ var moveTime = ''; // 触摸时间
919
+
920
+ var moveDistanceX = ''; // 触摸移动X轴距离
921
+
922
+ var moveDistanceY = ''; // 触摸移动Y轴距离
923
+
924
+ box.addEventListener('touchstart', function (e) {
925
+ startTime = new Date().getTime();
926
+ startDistanceX = e.touches[0].screenX;
927
+ startDistanceY = e.touches[0].screenY;
928
+ });
929
+ box.addEventListener('touchend', function (e) {
930
+ endTime = new Date().getTime();
931
+ endDistanceX = e.changedTouches[0].screenX;
932
+ endDistanceY = e.changedTouches[0].screenY;
933
+ moveTime = endTime - startTime;
934
+ moveDistanceX = startDistanceX - endDistanceX;
935
+ moveDistanceY = startDistanceY - endDistanceY; // 判断滑动距离超过40 且 时间小于500毫秒
936
+
937
+ if ((Math.abs(moveDistanceX) > 40 || Math.abs(moveDistanceY) > 40) && moveTime < 500) {
938
+ // 判断X轴移动的距离是否大于Y轴移动的距离
939
+ if (Math.abs(moveDistanceX) > Math.abs(moveDistanceY)) {
940
+ // 左右
941
+ if (moveDistanceX > 0) leftFunc();else rightFunc();
942
+ } else {
943
+ // 上下
944
+ return moveDistanceY > 0 ? 'top' : 'bottom';
945
+ }
946
+ }
947
+ });
948
+ return null;
949
+ };
950
+
951
+ exports.onListenTouch = onListenTouch;