@fonixtree/magic-design 2.0.40 → 2.0.42

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 (1284) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
  3. package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
  4. package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
  5. package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  6. package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
  7. package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
  8. package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  9. package/es/assets/fonts/Trueno-Light.otf +0 -0
  10. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  11. package/es/assets/fonts/TruenoBd.otf +0 -0
  12. package/es/assets/fonts/magic-box-iconfont.css +491 -0
  13. package/es/assets/fonts/magic-box-iconfont.css.bak +491 -0
  14. package/es/assets/fonts/magic-box-iconfont.js +1 -0
  15. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -0
  16. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  17. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  18. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  19. package/es/assets/images/base64/index.js +10 -0
  20. package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
  21. package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
  22. package/es/assets/images/layout-icon/carouselLayout3.png +0 -0
  23. package/es/assets/images/layout-icon/dividerLayout.svg +4 -0
  24. package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  25. package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  26. package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  27. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  28. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  29. package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  30. package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  31. package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  32. package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  33. package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  34. package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  35. package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  36. package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  37. package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  38. package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  39. package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  40. package/es/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  41. package/es/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  42. package/es/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  43. package/es/assets/images/layout-icon/layout-recommend-1.png +0 -0
  44. package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
  45. package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
  46. package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
  47. package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
  48. package/es/assets/images/layout-icon/layout-search.png +0 -0
  49. package/es/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  50. package/es/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  51. package/es/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  52. package/es/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  53. package/es/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  54. package/es/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  55. package/es/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  56. package/es/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  57. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  58. package/es/assets/images/layout-icon/newsletter.svg +7 -0
  59. package/es/assets/images/layout-icon/walletLayout1.png +0 -0
  60. package/es/assets/images/layout-icon/walletLayout2.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/Carousel/index.js +69 -0
  86. package/es/common/Carousel/index.less +0 -0
  87. package/es/common/Collapse/index.js +398 -0
  88. package/es/common/Collapse/index.less +100 -0
  89. package/es/common/ColorPicker/imgs/no-color.png +0 -0
  90. package/es/common/ColorPicker/index.js +134 -0
  91. package/es/common/ColorPicker/index.less +26 -0
  92. package/es/common/ColorPickerInput/imgs/code.png +0 -0
  93. package/es/common/ColorPickerInput/index.js +114 -0
  94. package/es/common/ColorPickerInput/index.less +50 -0
  95. package/es/common/CountDown/index.js +151 -0
  96. package/es/common/CountDown/index.less +23 -0
  97. package/es/common/Field/index.js +97 -0
  98. package/es/common/Field/index.less +37 -0
  99. package/es/common/FontStyles/index.js +197 -0
  100. package/es/common/FontStyles/index.less +64 -0
  101. package/es/common/GroupList/defaultImg.png +0 -0
  102. package/es/common/GroupList/index.js +211 -0
  103. package/es/common/GroupList/index.less +88 -0
  104. package/es/common/IconPicker/index.js +147 -0
  105. package/es/common/IconPicker/index.less +46 -0
  106. package/es/common/Iconfont/index.js +148 -0
  107. package/es/common/Iconfont/index.less +20 -0
  108. package/es/common/ImageLazy/index.js +172 -0
  109. package/es/common/ImageLazy/index.less +0 -0
  110. package/es/common/ImageModal/CommonModal/const.js +22 -0
  111. package/es/common/ImageModal/CommonModal/index.js +46 -0
  112. package/es/common/ImageModal/CommonSelPicCard/index.js +80 -0
  113. package/es/common/ImageModal/CommonSelPicCard/index.less +40 -0
  114. package/es/common/ImageModal/const.js +24 -0
  115. package/es/common/ImageModal/index.js +815 -0
  116. package/es/common/ImageModal/index.less +34 -0
  117. package/es/common/ImageModal/utils.js +609 -0
  118. package/es/common/ImagePicker/index.js +317 -0
  119. package/es/common/ImagePicker/index.less +206 -0
  120. package/es/common/ImgArea/components/Crop.js +270 -0
  121. package/es/common/ImgArea/components/Icons.js +44 -0
  122. package/es/common/ImgArea/components/MultiCrops.js +217 -0
  123. package/es/common/ImgArea/index.js +11 -0
  124. package/es/common/InputNumber/index.js +91 -0
  125. package/es/common/InputNumber/index.less +38 -0
  126. package/es/common/LayoutSelector/imgs/center.png +0 -0
  127. package/es/common/LayoutSelector/imgs/left.png +0 -0
  128. package/es/common/LayoutSelector/imgs/right.png +0 -0
  129. package/es/common/LayoutSelector/index.js +111 -0
  130. package/es/common/LayoutSelector/index.less +37 -0
  131. package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
  132. package/es/common/LinkModal/BundleCampaign/index.js +412 -0
  133. package/es/common/LinkModal/BundleCampaign/index.less +19 -0
  134. package/es/common/LinkModal/CatgTable/index.js +244 -0
  135. package/es/common/LinkModal/CouponTable/index.js +315 -0
  136. package/es/common/LinkModal/CustomTable/index.js +237 -0
  137. package/es/common/LinkModal/FilteredProductModal/index.js +706 -0
  138. package/es/common/LinkModal/FilteredProductModal/index.less +127 -0
  139. package/es/common/LinkModal/FunctionTable/index.js +233 -0
  140. package/es/common/LinkModal/MiniAppTable/index.js +250 -0
  141. package/es/common/LinkModal/ProductDetailPage/index.js +504 -0
  142. package/es/common/LinkModal/ProductDetailPage/index.less +10 -0
  143. package/es/common/LinkModal/SelectVideoModal/index.js +212 -0
  144. package/es/common/LinkModal/SelectVideoModal/index.less +112 -0
  145. package/es/common/LinkModal/ShareUrl/index.js +33 -0
  146. package/es/common/LinkModal/ShareUrl/index.less +3 -0
  147. package/es/common/LinkModal/StoreCatgTable/index.js +244 -0
  148. package/es/common/LinkModal/StoreTable/index.js +328 -0
  149. package/es/common/LinkModal/index.js +368 -0
  150. package/es/common/LinkModal/index.less +104 -0
  151. package/es/common/MagicLink/index.js +89 -0
  152. package/es/common/MagicLink/index.less +0 -0
  153. package/es/common/MessageModal/index.js +73 -0
  154. package/es/common/MessageModal/index.less +86 -0
  155. package/es/common/NewImg/index.js +165 -0
  156. package/es/common/NewImg/index.less +0 -0
  157. package/es/common/ProductModal/index.js +790 -0
  158. package/es/common/ProductModal/index.less +146 -0
  159. package/es/common/ProductSource/index.js +286 -0
  160. package/es/common/ProductSource/index.less +14 -0
  161. package/es/common/RcCollapse/Collapse.js +240 -0
  162. package/es/common/RcCollapse/Panel.js +193 -0
  163. package/es/common/RcCollapse/PanelContent.js +59 -0
  164. package/es/common/RcCollapse/index.js +15 -0
  165. package/es/common/RcCollapse/index.less +108 -0
  166. package/es/common/RcCollapse/interface.js +1 -0
  167. package/es/common/RcCollapse/motion.less +12 -0
  168. package/es/common/RcCollapse/motionUtil.js +44 -0
  169. package/es/common/Slider/index.js +151 -0
  170. package/es/common/Slider/index.less +45 -0
  171. package/es/common/SwiperBan/index.js +94 -0
  172. package/es/common/SwiperBan/index.less +25 -0
  173. package/es/common/SwitchCollapse/index.js +216 -0
  174. package/es/common/SwitchCollapse/index.less +40 -0
  175. package/es/common/SystemNotification/Confirm/index.js +263 -0
  176. package/es/common/SystemNotification/Confirm/index.less +33 -0
  177. package/es/common/SystemNotification/index.js +115 -0
  178. package/es/common/UrlPicker/index.js +135 -0
  179. package/es/common/UrlPicker/index.less +86 -0
  180. package/es/common/Video/background.png +0 -0
  181. package/es/common/Video/closeImg.png +0 -0
  182. package/es/common/Video/components/index.js +100 -0
  183. package/es/common/Video/components/index.less +62 -0
  184. package/es/common/Video/cover.png +0 -0
  185. package/es/common/Video/index.js +748 -0
  186. package/es/common/Video/index.less +70 -0
  187. package/es/common/VideoUpload/index.js +156 -0
  188. package/es/common/VideoUpload/index.less +114 -0
  189. package/es/common/VideoUpload/video-upload-icon.png +0 -0
  190. package/es/common/index.js +175 -0
  191. package/es/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  192. package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  193. package/es/composite-comp/bol/components/Banner/index.js +103 -0
  194. package/es/composite-comp/bol/components/Banner/mobile/index.js +299 -0
  195. package/es/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  196. package/es/composite-comp/bol/components/Banner/pc/index.js +356 -0
  197. package/es/composite-comp/bol/components/Banner/pc/index.less +85 -0
  198. package/es/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  199. package/es/composite-comp/bol/components/Button/index.js +122 -0
  200. package/es/composite-comp/bol/components/Button/index.less +47 -0
  201. package/es/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  202. package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  203. package/es/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  204. package/es/composite-comp/bol/components/Carousel/index.js +112 -0
  205. package/es/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  206. package/es/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  207. package/es/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  208. package/es/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  209. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  210. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  211. package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  212. package/es/composite-comp/bol/components/Divider/index.js +103 -0
  213. package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  214. package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  215. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  216. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  217. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  218. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  219. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  220. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  221. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  222. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  223. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  224. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  225. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  226. package/es/composite-comp/bol/components/ImageGallery/index.js +88 -0
  227. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  228. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  229. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  230. package/es/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  231. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  232. package/es/composite-comp/bol/components/ImageText/index.js +88 -0
  233. package/es/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  234. package/es/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  235. package/es/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  236. package/es/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  237. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  238. package/es/composite-comp/bol/components/Location/index.js +100 -0
  239. package/es/composite-comp/bol/components/Location/index.less +15 -0
  240. package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  241. package/es/composite-comp/bol/components/Newsletter/index.js +141 -0
  242. package/es/composite-comp/bol/components/Newsletter/index.less +75 -0
  243. package/es/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  244. package/es/composite-comp/bol/components/Tag/index.js +127 -0
  245. package/es/composite-comp/bol/components/Tag/index.less +35 -0
  246. package/es/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  247. package/es/composite-comp/bol/components/Text/index.js +161 -0
  248. package/es/composite-comp/bol/components/Text/index.less +58 -0
  249. package/es/composite-comp/bol/components/Text/slice.svg +1 -0
  250. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  251. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  252. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  253. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  254. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  255. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  256. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  257. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  258. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  259. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  260. package/es/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  261. package/es/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  262. package/es/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  263. package/es/composite-comp/bol/components/Video/index.js +111 -0
  264. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  265. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  266. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  267. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  268. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  269. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  270. package/es/composite-comp/bol/components/Video/mobile/index.js +79 -0
  271. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -0
  272. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  273. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  274. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  275. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  276. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  277. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  278. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  279. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  280. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  281. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  282. package/es/composite-comp/bol/components/Video/pc/index.js +139 -0
  283. package/es/composite-comp/bol/components/Video/pc/index.less +4 -0
  284. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  285. package/es/composite-comp/bol/components/Wallet/index.js +84 -0
  286. package/es/composite-comp/bol/components/Wallet/mobile/index.js +637 -0
  287. package/es/composite-comp/bol/components/Wallet/mobile/index.less +96 -0
  288. package/es/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  289. package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  290. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  291. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  292. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  293. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  294. package/es/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  295. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  296. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  297. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  298. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  299. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  300. package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  301. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  302. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  303. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  304. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  305. package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  306. package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  307. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  308. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  309. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  310. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  311. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  312. package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  313. package/es/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  314. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  315. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  316. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  317. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  318. package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  319. package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  320. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  321. package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  322. package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  323. package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  324. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  325. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  326. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  327. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  328. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  329. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  330. package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  331. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  332. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  333. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  334. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  335. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  336. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  337. package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  338. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  339. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  340. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  341. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  342. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  343. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  344. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  345. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  346. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  347. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  348. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  349. package/es/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  350. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  351. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  352. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  353. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  354. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  355. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  356. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  357. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  358. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  359. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  360. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  361. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  362. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  363. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  364. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  365. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  366. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  367. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +183 -0
  368. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  369. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  370. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  371. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  372. package/es/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  373. package/es/composite-comp/common/components/ImageLabel/index.js +90 -0
  374. package/es/composite-comp/common/components/ImageLabel/index.less +45 -0
  375. package/es/composite-comp/common/components/ProductItem/index.js +248 -0
  376. package/es/composite-comp/common/components/ProductItem/index.less +168 -0
  377. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  378. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  379. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  380. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  381. package/es/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  382. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  383. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  384. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  385. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  386. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  387. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  388. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  389. package/es/composite-comp/dito/components/FlashDeal/index.js +90 -0
  390. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  391. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  392. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  393. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  394. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  395. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  396. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  397. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  398. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  399. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  400. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  401. package/es/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  402. package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  403. package/es/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  404. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  405. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  406. package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  407. package/es/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  408. package/es/composite-comp/dito/components/PcNavigation/index.js +84 -0
  409. package/es/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  410. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  411. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  412. package/es/composite-comp/dito/components/Recommend/index.js +90 -0
  413. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  414. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  415. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  416. package/es/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  417. package/es/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  418. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  419. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  420. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  421. package/es/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  422. package/es/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  423. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  424. package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  425. package/es/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  426. package/es/composite-comp/dito/components/SearchBar/index.js +91 -0
  427. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  428. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  429. package/es/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  430. package/es/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  431. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  432. package/es/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  433. package/es/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  434. package/es/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  435. package/es/composite-comp/dito/components/SignBoard/index.js +91 -0
  436. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  437. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  438. package/es/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  439. package/es/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  440. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  441. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  442. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  443. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  444. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  445. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  446. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  447. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  448. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  449. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  450. package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  451. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  452. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  453. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  454. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  455. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  456. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  457. package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  458. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  459. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  460. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  461. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  462. package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  463. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  464. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  465. package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  466. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  467. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  468. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  469. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  470. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  471. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  472. package/es/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  473. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  474. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  475. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  476. package/es/constants/component-types.js +135 -0
  477. package/es/constants/index.js +253 -0
  478. package/es/constants/layout.js +307 -0
  479. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  480. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  481. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  482. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  483. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  484. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  485. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  486. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  487. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  488. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  489. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  490. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  491. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  492. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  493. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  494. package/es/core/Designer/AiImageGenerator/index.js +752 -0
  495. package/es/core/Designer/AiImageGenerator/index.less +136 -0
  496. package/es/core/Designer/AppointmentModal/index.js +87 -0
  497. package/es/core/Designer/AppointmentModal/index.less +23 -0
  498. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  499. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  500. package/es/core/Designer/ChatRobot/index.js +343 -0
  501. package/es/core/Designer/ChatRobot/index.less +138 -0
  502. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  503. package/es/core/Designer/CompListPanel/CompCard/index.js +50 -0
  504. package/es/core/Designer/CompListPanel/CompCard/index.less +69 -0
  505. package/es/core/Designer/CompListPanel/index.js +149 -0
  506. package/es/core/Designer/CompListPanel/index.less +69 -0
  507. package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  508. package/es/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  509. package/es/core/Designer/ConfigPanel/index.js +390 -0
  510. package/es/core/Designer/ConfigPanel/index.less +148 -0
  511. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  512. package/es/core/Designer/History/index.js +97 -0
  513. package/es/core/Designer/LeftTitle/index.js +66 -0
  514. package/es/core/Designer/LeftTitle/index.less +9 -0
  515. package/es/core/Designer/PageCompList/index.js +328 -0
  516. package/es/core/Designer/PageCompList/index.less +139 -0
  517. package/es/core/Designer/QuickMenuBar/index.js +236 -0
  518. package/es/core/Designer/QuickMenuBar/index.less +121 -0
  519. package/es/core/Designer/RenderHtml/index.js +99 -0
  520. package/es/core/Designer/RenderHtml/index.less +5 -0
  521. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  522. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  523. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  524. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  525. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  526. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  527. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  528. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  529. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  530. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  531. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  532. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  533. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  534. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  535. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  536. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  537. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  538. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  539. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  540. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  541. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  542. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  543. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  544. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  545. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  546. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  547. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  548. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  549. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  550. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  551. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  552. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  553. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  554. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  555. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  556. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  557. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  558. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  559. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  560. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  561. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  562. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  563. package/es/core/Designer/ToolBarModal/index.js +366 -0
  564. package/es/core/Designer/ToolBarModal/index.less +32 -0
  565. package/es/core/Designer/ViewArea/index.js +191 -0
  566. package/es/core/Designer/ViewArea/index.less +89 -0
  567. package/es/core/Designer/index.js +812 -0
  568. package/es/core/Designer/index.less +6 -0
  569. package/es/core/Renderer/index.js +139 -0
  570. package/es/decorator/compositeDecorator.js +276 -0
  571. package/es/decorator/index.js +68 -0
  572. package/es/decorator/lazyLoadDecorator.js +75 -0
  573. package/es/decorator/metaDecorator.js +241 -0
  574. package/es/decorator/updateConfigDecorator.js +76 -0
  575. package/es/index.js +29 -0
  576. package/es/locale/en/en.json +183 -0
  577. package/es/locale/es/es.json +183 -0
  578. package/es/locale/id/id.json +183 -0
  579. package/es/locale/index.js +45 -0
  580. package/es/meta-comp/components/Button/editable.js +123 -0
  581. package/es/meta-comp/components/Button/editable.less +6 -0
  582. package/es/meta-comp/components/Button/index.js +183 -0
  583. package/es/meta-comp/components/Button/index.less +21 -0
  584. package/es/meta-comp/components/Image/image/default-img.png +0 -0
  585. package/es/meta-comp/components/Image/image/h5DefImg.png +0 -0
  586. package/es/meta-comp/components/Image/image/h5Img.png +0 -0
  587. package/es/meta-comp/components/Image/image/pcDefImg.png +0 -0
  588. package/es/meta-comp/components/Image/image/pcImg.png +0 -0
  589. package/es/meta-comp/components/Image/index.js +256 -0
  590. package/es/meta-comp/components/Image/index.less +25 -0
  591. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  592. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  593. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  594. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  595. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  596. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  597. package/es/meta-comp/components/Text/index.js +305 -0
  598. package/es/meta-comp/components/Text/index.less +95 -0
  599. package/es/meta-comp/components/index.js +31 -0
  600. package/es/meta-comp/config-panels/BaseConfig.js +85 -0
  601. package/es/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  602. package/es/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  603. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  604. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  605. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  606. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  607. package/es/meta-comp/config-panels/ImageConfig/index.js +446 -0
  608. package/es/meta-comp/config-panels/ImageConfig/index.less +16 -0
  609. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  610. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  611. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  612. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  613. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  614. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  615. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  616. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  617. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  618. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  619. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  620. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  621. package/es/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  622. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  623. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  624. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  625. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  626. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  627. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  628. package/es/meta-comp/config-panels/TextConfig/index.js +379 -0
  629. package/es/meta-comp/config-panels/TextConfig/index.less +20 -0
  630. package/es/mobx/Frame.js +70 -0
  631. package/es/mobx/Store.js +104 -0
  632. package/es/mobx/index.js +42 -0
  633. package/es/utils/androidUtil.js +134 -0
  634. package/es/utils/businessUtil.js +463 -0
  635. package/es/utils/commonUtil.js +901 -0
  636. package/es/utils/compJsonUtil.js +240 -0
  637. package/es/utils/coreUtil.js +394 -0
  638. package/es/utils/currencyUtil.js +216 -0
  639. package/es/utils/dataTreeUtils.js +134 -0
  640. package/es/utils/dateUtil.js +70 -0
  641. package/es/utils/storeUtil.js +258 -0
  642. package/lib/assets/fonts/.DS_Store +0 -0
  643. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  644. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  645. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  646. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  647. package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
  648. package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
  649. package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  650. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  651. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  652. package/lib/assets/fonts/TruenoBd.otf +0 -0
  653. package/lib/assets/fonts/magic-box-iconfont.css +491 -0
  654. package/lib/assets/fonts/magic-box-iconfont.css.bak +491 -0
  655. package/lib/assets/fonts/magic-box-iconfont.js +1 -0
  656. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -0
  657. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  658. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  659. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  660. package/lib/assets/images/base64/index.js +10 -0
  661. package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
  662. package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
  663. package/lib/assets/images/layout-icon/carouselLayout3.png +0 -0
  664. package/lib/assets/images/layout-icon/dividerLayout.svg +4 -0
  665. package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  666. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  667. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  668. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  669. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  670. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  671. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  672. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  673. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  674. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  675. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  676. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  677. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  678. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  679. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  680. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  681. package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  682. package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  683. package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  684. package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
  685. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  686. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  687. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  688. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  689. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  690. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  691. package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  692. package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  693. package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  694. package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  695. package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  696. package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  697. package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  698. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  699. package/lib/assets/images/layout-icon/newsletter.svg +7 -0
  700. package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
  701. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  702. package/lib/assets/less/button.less +32 -0
  703. package/lib/assets/less/common.less +82 -0
  704. package/lib/assets/less/cylon-antd.less +32456 -0
  705. package/lib/assets/less/datepicker.less +13 -0
  706. package/lib/assets/less/font.less +70 -0
  707. package/lib/assets/less/form.less +10 -0
  708. package/lib/assets/less/global.less +8 -0
  709. package/lib/assets/less/index.less +13 -0
  710. package/lib/assets/less/input.less +26 -0
  711. package/lib/assets/less/menu.less +21 -0
  712. package/lib/assets/less/modal.less +25 -0
  713. package/lib/assets/less/select.less +32 -0
  714. package/lib/assets/less/slider.less +69 -0
  715. package/lib/assets/less/switch.less +20 -0
  716. package/lib/assets/less/table.less +52 -0
  717. package/lib/assets/less/variables.less +4 -0
  718. package/lib/common/AffiliateProductModal/index.js +582 -0
  719. package/lib/common/AffiliateProductModal/index.less +146 -0
  720. package/lib/common/AlignSelector/index.js +120 -0
  721. package/lib/common/AlignSelector/index.less +28 -0
  722. package/lib/common/Button/index.js +135 -0
  723. package/lib/common/Button/index.less +73 -0
  724. package/lib/common/ButtonIconLayout/index.js +105 -0
  725. package/lib/common/ButtonIconLayout/index.less +55 -0
  726. package/lib/common/Carousel/index.js +69 -0
  727. package/lib/common/Carousel/index.less +0 -0
  728. package/lib/common/Collapse/index.js +398 -0
  729. package/lib/common/Collapse/index.less +100 -0
  730. package/lib/common/ColorPicker/imgs/no-color.png +0 -0
  731. package/lib/common/ColorPicker/index.js +134 -0
  732. package/lib/common/ColorPicker/index.less +26 -0
  733. package/lib/common/ColorPickerInput/imgs/code.png +0 -0
  734. package/lib/common/ColorPickerInput/index.js +114 -0
  735. package/lib/common/ColorPickerInput/index.less +50 -0
  736. package/lib/common/CountDown/index.js +151 -0
  737. package/lib/common/CountDown/index.less +23 -0
  738. package/lib/common/Field/index.js +97 -0
  739. package/lib/common/Field/index.less +37 -0
  740. package/lib/common/FontStyles/index.js +197 -0
  741. package/lib/common/FontStyles/index.less +64 -0
  742. package/lib/common/GroupList/defaultImg.png +0 -0
  743. package/lib/common/GroupList/index.js +211 -0
  744. package/lib/common/GroupList/index.less +88 -0
  745. package/lib/common/IconPicker/index.js +147 -0
  746. package/lib/common/IconPicker/index.less +46 -0
  747. package/lib/common/Iconfont/index.js +148 -0
  748. package/lib/common/Iconfont/index.less +20 -0
  749. package/lib/common/ImageLazy/index.js +172 -0
  750. package/lib/common/ImageLazy/index.less +0 -0
  751. package/lib/common/ImageModal/CommonModal/const.js +22 -0
  752. package/lib/common/ImageModal/CommonModal/index.js +46 -0
  753. package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
  754. package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
  755. package/lib/common/ImageModal/const.js +24 -0
  756. package/lib/common/ImageModal/index.js +815 -0
  757. package/lib/common/ImageModal/index.less +34 -0
  758. package/lib/common/ImageModal/utils.js +609 -0
  759. package/lib/common/ImagePicker/index.js +317 -0
  760. package/lib/common/ImagePicker/index.less +206 -0
  761. package/lib/common/ImgArea/components/Crop.js +270 -0
  762. package/lib/common/ImgArea/components/Icons.js +44 -0
  763. package/lib/common/ImgArea/components/MultiCrops.js +217 -0
  764. package/lib/common/ImgArea/index.js +11 -0
  765. package/lib/common/InputNumber/index.js +91 -0
  766. package/lib/common/InputNumber/index.less +38 -0
  767. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  768. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  769. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  770. package/lib/common/LayoutSelector/index.js +111 -0
  771. package/lib/common/LayoutSelector/index.less +37 -0
  772. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  773. package/lib/common/LinkModal/BundleCampaign/index.js +412 -0
  774. package/lib/common/LinkModal/BundleCampaign/index.less +19 -0
  775. package/lib/common/LinkModal/CatgTable/index.js +244 -0
  776. package/lib/common/LinkModal/CouponTable/index.js +315 -0
  777. package/lib/common/LinkModal/CustomTable/index.js +237 -0
  778. package/lib/common/LinkModal/FilteredProductModal/index.js +706 -0
  779. package/lib/common/LinkModal/FilteredProductModal/index.less +127 -0
  780. package/lib/common/LinkModal/FunctionTable/index.js +233 -0
  781. package/lib/common/LinkModal/MiniAppTable/index.js +250 -0
  782. package/lib/common/LinkModal/ProductDetailPage/index.js +504 -0
  783. package/lib/common/LinkModal/ProductDetailPage/index.less +10 -0
  784. package/lib/common/LinkModal/SelectVideoModal/index.js +212 -0
  785. package/lib/common/LinkModal/SelectVideoModal/index.less +112 -0
  786. package/lib/common/LinkModal/ShareUrl/index.js +33 -0
  787. package/lib/common/LinkModal/ShareUrl/index.less +3 -0
  788. package/lib/common/LinkModal/StoreCatgTable/index.js +244 -0
  789. package/lib/common/LinkModal/StoreTable/index.js +328 -0
  790. package/lib/common/LinkModal/index.js +368 -0
  791. package/lib/common/LinkModal/index.less +104 -0
  792. package/lib/common/MagicLink/index.js +89 -0
  793. package/lib/common/MagicLink/index.less +0 -0
  794. package/lib/common/MessageModal/index.js +73 -0
  795. package/lib/common/MessageModal/index.less +86 -0
  796. package/lib/common/NewImg/index.js +165 -0
  797. package/lib/common/NewImg/index.less +0 -0
  798. package/lib/common/ProductModal/index.js +790 -0
  799. package/lib/common/ProductModal/index.less +146 -0
  800. package/lib/common/ProductSource/index.js +286 -0
  801. package/lib/common/ProductSource/index.less +14 -0
  802. package/lib/common/RcCollapse/Collapse.js +240 -0
  803. package/lib/common/RcCollapse/Panel.js +193 -0
  804. package/lib/common/RcCollapse/PanelContent.js +59 -0
  805. package/lib/common/RcCollapse/index.js +15 -0
  806. package/lib/common/RcCollapse/index.less +108 -0
  807. package/lib/common/RcCollapse/interface.js +1 -0
  808. package/lib/common/RcCollapse/motion.less +12 -0
  809. package/lib/common/RcCollapse/motionUtil.js +44 -0
  810. package/lib/common/Slider/index.js +151 -0
  811. package/lib/common/Slider/index.less +45 -0
  812. package/lib/common/SwiperBan/index.js +94 -0
  813. package/lib/common/SwiperBan/index.less +25 -0
  814. package/lib/common/SwitchCollapse/index.js +216 -0
  815. package/lib/common/SwitchCollapse/index.less +40 -0
  816. package/lib/common/SystemNotification/Confirm/index.js +263 -0
  817. package/lib/common/SystemNotification/Confirm/index.less +33 -0
  818. package/lib/common/SystemNotification/index.js +115 -0
  819. package/lib/common/UrlPicker/index.js +135 -0
  820. package/lib/common/UrlPicker/index.less +86 -0
  821. package/lib/common/Video/background.png +0 -0
  822. package/lib/common/Video/closeImg.png +0 -0
  823. package/lib/common/Video/components/index.js +100 -0
  824. package/lib/common/Video/components/index.less +62 -0
  825. package/lib/common/Video/cover.png +0 -0
  826. package/lib/common/Video/index.js +748 -0
  827. package/lib/common/Video/index.less +70 -0
  828. package/lib/common/VideoUpload/index.js +156 -0
  829. package/lib/common/VideoUpload/index.less +114 -0
  830. package/lib/common/VideoUpload/video-upload-icon.png +0 -0
  831. package/lib/common/index.js +175 -0
  832. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  833. package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  834. package/lib/composite-comp/bol/components/Banner/index.js +103 -0
  835. package/lib/composite-comp/bol/components/Banner/mobile/index.js +299 -0
  836. package/lib/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  837. package/lib/composite-comp/bol/components/Banner/pc/index.js +356 -0
  838. package/lib/composite-comp/bol/components/Banner/pc/index.less +85 -0
  839. package/lib/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  840. package/lib/composite-comp/bol/components/Button/index.js +122 -0
  841. package/lib/composite-comp/bol/components/Button/index.less +47 -0
  842. package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  843. package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  844. package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  845. package/lib/composite-comp/bol/components/Carousel/index.js +112 -0
  846. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  847. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  848. package/lib/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  849. package/lib/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  850. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  851. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  852. package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  853. package/lib/composite-comp/bol/components/Divider/index.js +103 -0
  854. package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  855. package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  856. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  857. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  858. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  859. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  860. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  861. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  862. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  863. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  864. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  865. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  866. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  867. package/lib/composite-comp/bol/components/ImageGallery/index.js +88 -0
  868. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  869. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  870. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  871. package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  872. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  873. package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
  874. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  875. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  876. package/lib/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  877. package/lib/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  878. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  879. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  880. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  881. package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  882. package/lib/composite-comp/bol/components/Newsletter/index.js +141 -0
  883. package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
  884. package/lib/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  885. package/lib/composite-comp/bol/components/Tag/index.js +127 -0
  886. package/lib/composite-comp/bol/components/Tag/index.less +35 -0
  887. package/lib/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  888. package/lib/composite-comp/bol/components/Text/index.js +161 -0
  889. package/lib/composite-comp/bol/components/Text/index.less +58 -0
  890. package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
  891. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  892. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  893. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  894. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  895. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  896. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  897. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  898. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  899. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  900. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  901. package/lib/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  902. package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  903. package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  904. package/lib/composite-comp/bol/components/Video/index.js +111 -0
  905. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  906. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  907. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  908. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  909. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  910. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  911. package/lib/composite-comp/bol/components/Video/mobile/index.js +79 -0
  912. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -0
  913. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  914. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  915. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  916. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  917. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  918. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  919. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  920. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  921. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  922. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  923. package/lib/composite-comp/bol/components/Video/pc/index.js +139 -0
  924. package/lib/composite-comp/bol/components/Video/pc/index.less +4 -0
  925. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  926. package/lib/composite-comp/bol/components/Wallet/index.js +84 -0
  927. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +637 -0
  928. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +96 -0
  929. package/lib/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  930. package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  931. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  932. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  933. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  934. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  935. package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  936. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  937. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  938. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  939. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  940. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  941. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  942. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  943. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  944. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  945. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  946. package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  947. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  948. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  949. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  950. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  951. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  952. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  953. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  954. package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  955. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  956. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  957. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  958. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  959. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  960. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  961. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  962. package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  963. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  964. package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  965. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  966. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  967. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  968. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  969. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  970. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  971. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  972. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  973. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  974. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  975. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  976. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  977. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  978. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  979. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  980. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  981. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  982. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  983. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  984. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  985. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  986. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  987. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  988. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  989. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  990. package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  991. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  992. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  993. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  994. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  995. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  996. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  997. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  998. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  999. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  1000. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  1001. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  1002. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  1003. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  1004. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  1005. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  1006. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  1007. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  1008. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +183 -0
  1009. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  1010. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  1011. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  1012. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  1013. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  1014. package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
  1015. package/lib/composite-comp/common/components/ImageLabel/index.less +45 -0
  1016. package/lib/composite-comp/common/components/ProductItem/index.js +248 -0
  1017. package/lib/composite-comp/common/components/ProductItem/index.less +168 -0
  1018. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  1019. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  1020. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  1021. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  1022. package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  1023. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  1024. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  1025. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  1026. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  1027. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  1028. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  1029. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  1030. package/lib/composite-comp/dito/components/FlashDeal/index.js +90 -0
  1031. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  1032. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  1033. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  1034. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  1035. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  1036. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  1037. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  1038. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  1039. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  1040. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  1041. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  1042. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  1043. package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  1044. package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  1045. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  1046. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  1047. package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  1048. package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  1049. package/lib/composite-comp/dito/components/PcNavigation/index.js +84 -0
  1050. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  1051. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  1052. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  1053. package/lib/composite-comp/dito/components/Recommend/index.js +90 -0
  1054. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  1055. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  1056. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  1057. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  1058. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  1059. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  1060. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  1061. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  1062. package/lib/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  1063. package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  1064. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  1065. package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  1066. package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  1067. package/lib/composite-comp/dito/components/SearchBar/index.js +91 -0
  1068. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  1069. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  1070. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  1071. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  1072. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  1073. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  1074. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  1075. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  1076. package/lib/composite-comp/dito/components/SignBoard/index.js +91 -0
  1077. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  1078. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  1079. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  1080. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  1081. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  1082. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  1083. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  1084. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  1085. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  1086. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  1087. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  1088. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  1089. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  1090. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  1091. package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  1092. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  1093. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  1094. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  1095. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  1096. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  1097. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  1098. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  1099. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  1100. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  1101. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  1102. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  1103. package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  1104. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  1105. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  1106. package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  1107. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  1108. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  1109. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  1110. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  1111. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  1112. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  1113. package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  1114. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  1115. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  1116. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  1117. package/lib/constants/component-types.js +135 -0
  1118. package/lib/constants/index.js +253 -0
  1119. package/lib/constants/layout.js +307 -0
  1120. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  1121. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  1122. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  1123. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  1124. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  1125. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  1126. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  1127. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  1128. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  1129. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  1130. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  1131. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  1132. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  1133. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  1134. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  1135. package/lib/core/Designer/AiImageGenerator/index.js +752 -0
  1136. package/lib/core/Designer/AiImageGenerator/index.less +136 -0
  1137. package/lib/core/Designer/AppointmentModal/index.js +87 -0
  1138. package/lib/core/Designer/AppointmentModal/index.less +23 -0
  1139. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  1140. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  1141. package/lib/core/Designer/ChatRobot/index.js +343 -0
  1142. package/lib/core/Designer/ChatRobot/index.less +138 -0
  1143. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  1144. package/lib/core/Designer/CompListPanel/CompCard/index.js +50 -0
  1145. package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
  1146. package/lib/core/Designer/CompListPanel/index.js +149 -0
  1147. package/lib/core/Designer/CompListPanel/index.less +69 -0
  1148. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  1149. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  1150. package/lib/core/Designer/ConfigPanel/index.js +390 -0
  1151. package/lib/core/Designer/ConfigPanel/index.less +148 -0
  1152. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  1153. package/lib/core/Designer/History/index.js +97 -0
  1154. package/lib/core/Designer/LeftTitle/index.js +66 -0
  1155. package/lib/core/Designer/LeftTitle/index.less +9 -0
  1156. package/lib/core/Designer/PageCompList/index.js +328 -0
  1157. package/lib/core/Designer/PageCompList/index.less +139 -0
  1158. package/lib/core/Designer/QuickMenuBar/index.js +236 -0
  1159. package/lib/core/Designer/QuickMenuBar/index.less +121 -0
  1160. package/lib/core/Designer/RenderHtml/index.js +99 -0
  1161. package/lib/core/Designer/RenderHtml/index.less +5 -0
  1162. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  1163. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  1164. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  1165. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  1166. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  1167. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  1168. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  1169. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  1170. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  1171. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  1172. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  1173. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  1174. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  1175. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  1176. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  1177. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  1178. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  1179. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  1180. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  1181. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  1182. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  1183. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  1184. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  1185. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  1186. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  1187. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  1188. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  1189. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  1190. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  1191. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  1192. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  1193. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  1194. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  1195. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  1196. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  1197. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  1198. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  1199. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  1200. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  1201. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  1202. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  1203. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  1204. package/lib/core/Designer/ToolBarModal/index.js +366 -0
  1205. package/lib/core/Designer/ToolBarModal/index.less +32 -0
  1206. package/lib/core/Designer/ViewArea/index.js +191 -0
  1207. package/lib/core/Designer/ViewArea/index.less +89 -0
  1208. package/lib/core/Designer/index.js +812 -0
  1209. package/lib/core/Designer/index.less +6 -0
  1210. package/lib/core/Renderer/index.js +139 -0
  1211. package/lib/decorator/compositeDecorator.js +276 -0
  1212. package/lib/decorator/index.js +68 -0
  1213. package/lib/decorator/lazyLoadDecorator.js +75 -0
  1214. package/lib/decorator/metaDecorator.js +241 -0
  1215. package/lib/decorator/updateConfigDecorator.js +76 -0
  1216. package/lib/index.js +29 -0
  1217. package/lib/locale/en/en.json +183 -0
  1218. package/lib/locale/es/es.json +183 -0
  1219. package/lib/locale/id/id.json +183 -0
  1220. package/lib/locale/index.js +45 -0
  1221. package/lib/meta-comp/components/Button/editable.js +123 -0
  1222. package/lib/meta-comp/components/Button/editable.less +6 -0
  1223. package/lib/meta-comp/components/Button/index.js +183 -0
  1224. package/lib/meta-comp/components/Button/index.less +21 -0
  1225. package/lib/meta-comp/components/Image/image/default-img.png +0 -0
  1226. package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
  1227. package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
  1228. package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
  1229. package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
  1230. package/lib/meta-comp/components/Image/index.js +256 -0
  1231. package/lib/meta-comp/components/Image/index.less +25 -0
  1232. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  1233. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  1234. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  1235. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  1236. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  1237. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  1238. package/lib/meta-comp/components/Text/index.js +305 -0
  1239. package/lib/meta-comp/components/Text/index.less +95 -0
  1240. package/lib/meta-comp/components/index.js +31 -0
  1241. package/lib/meta-comp/config-panels/BaseConfig.js +85 -0
  1242. package/lib/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  1243. package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  1244. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  1245. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  1246. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  1247. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  1248. package/lib/meta-comp/config-panels/ImageConfig/index.js +446 -0
  1249. package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
  1250. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  1251. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  1252. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  1253. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  1254. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  1255. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  1256. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  1257. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  1258. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  1259. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  1260. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  1261. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  1262. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  1263. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  1264. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  1265. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  1266. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  1267. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  1268. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  1269. package/lib/meta-comp/config-panels/TextConfig/index.js +379 -0
  1270. package/lib/meta-comp/config-panels/TextConfig/index.less +20 -0
  1271. package/lib/mobx/Frame.js +70 -0
  1272. package/lib/mobx/Store.js +104 -0
  1273. package/lib/mobx/index.js +42 -0
  1274. package/lib/utils/androidUtil.js +134 -0
  1275. package/lib/utils/businessUtil.js +463 -0
  1276. package/lib/utils/commonUtil.js +901 -0
  1277. package/lib/utils/compJsonUtil.js +240 -0
  1278. package/lib/utils/coreUtil.js +394 -0
  1279. package/lib/utils/currencyUtil.js +216 -0
  1280. package/lib/utils/dataTreeUtils.js +134 -0
  1281. package/lib/utils/dateUtil.js +70 -0
  1282. package/lib/utils/storeUtil.js +258 -0
  1283. package/package.json +2 -86
  1284. package/README.md +0 -122
@@ -0,0 +1,815 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _antd = require("antd");
11
+
12
+ var _findIndex = _interopRequireDefault(require("lodash/findIndex"));
13
+
14
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
15
+
16
+ var _react = _interopRequireWildcard(require("react"));
17
+
18
+ var _CommonModal = _interopRequireDefault(require("./CommonModal"));
19
+
20
+ var _const = require("./CommonModal/const");
21
+
22
+ var _CommonSelPicCard = _interopRequireDefault(require("./CommonSelPicCard"));
23
+
24
+ var _const2 = require("./const");
25
+
26
+ var _utils = require("./utils");
27
+
28
+ var _Iconfont = _interopRequireDefault(require("../Iconfont"));
29
+
30
+ var _commonUtil = require("../../utils/commonUtil");
31
+
32
+ var _dataTreeUtils = _interopRequireDefault(require("../../utils/dataTreeUtils"));
33
+
34
+ var _locale = require("../../locale");
35
+
36
+ require("./index.less");
37
+
38
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
39
+
40
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
41
+
42
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
43
+
44
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
45
+
46
+ var __assign = void 0 && (void 0).__assign || function () {
47
+ __assign = Object.assign || function (t) {
48
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
49
+ s = arguments[i];
50
+
51
+ for (var p in s) {
52
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
53
+ }
54
+ }
55
+
56
+ return t;
57
+ };
58
+
59
+ return __assign.apply(this, arguments);
60
+ };
61
+
62
+ var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
63
+ function adopt(value) {
64
+ return value instanceof P ? value : new P(function (resolve) {
65
+ resolve(value);
66
+ });
67
+ }
68
+
69
+ return new (P || (P = Promise))(function (resolve, reject) {
70
+ function fulfilled(value) {
71
+ try {
72
+ step(generator.next(value));
73
+ } catch (e) {
74
+ reject(e);
75
+ }
76
+ }
77
+
78
+ function rejected(value) {
79
+ try {
80
+ step(generator["throw"](value));
81
+ } catch (e) {
82
+ reject(e);
83
+ }
84
+ }
85
+
86
+ function step(result) {
87
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
88
+ }
89
+
90
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
91
+ });
92
+ };
93
+
94
+ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
95
+ var _ = {
96
+ label: 0,
97
+ sent: function sent() {
98
+ if (t[0] & 1) throw t[1];
99
+ return t[1];
100
+ },
101
+ trys: [],
102
+ ops: []
103
+ },
104
+ f,
105
+ y,
106
+ t,
107
+ g;
108
+ return g = {
109
+ next: verb(0),
110
+ "throw": verb(1),
111
+ "return": verb(2)
112
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
113
+ return this;
114
+ }), g;
115
+
116
+ function verb(n) {
117
+ return function (v) {
118
+ return step([n, v]);
119
+ };
120
+ }
121
+
122
+ function step(op) {
123
+ if (f) throw new TypeError("Generator is already executing.");
124
+
125
+ while (_) {
126
+ try {
127
+ 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;
128
+ if (y = 0, t) op = [op[0] & 2, t.value];
129
+
130
+ switch (op[0]) {
131
+ case 0:
132
+ case 1:
133
+ t = op;
134
+ break;
135
+
136
+ case 4:
137
+ _.label++;
138
+ return {
139
+ value: op[1],
140
+ done: false
141
+ };
142
+
143
+ case 5:
144
+ _.label++;
145
+ y = op[1];
146
+ op = [0];
147
+ continue;
148
+
149
+ case 7:
150
+ op = _.ops.pop();
151
+
152
+ _.trys.pop();
153
+
154
+ continue;
155
+
156
+ default:
157
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
158
+ _ = 0;
159
+ continue;
160
+ }
161
+
162
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
163
+ _.label = op[1];
164
+ break;
165
+ }
166
+
167
+ if (op[0] === 6 && _.label < t[1]) {
168
+ _.label = t[1];
169
+ t = op;
170
+ break;
171
+ }
172
+
173
+ if (t && _.label < t[2]) {
174
+ _.label = t[2];
175
+
176
+ _.ops.push(op);
177
+
178
+ break;
179
+ }
180
+
181
+ if (t[2]) _.ops.pop();
182
+
183
+ _.trys.pop();
184
+
185
+ continue;
186
+ }
187
+
188
+ op = body.call(thisArg, _);
189
+ } catch (e) {
190
+ op = [6, e];
191
+ y = 0;
192
+ } finally {
193
+ f = t = 0;
194
+ }
195
+ }
196
+
197
+ if (op[0] & 5) throw op[1];
198
+ return {
199
+ value: op[0] ? op[1] : void 0,
200
+ done: true
201
+ };
202
+ }
203
+ };
204
+
205
+ var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
206
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
207
+ s += arguments[i].length;
208
+ }
209
+
210
+ for (var r = Array(s), k = 0, i = 0; i < il; i++) {
211
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
212
+ r[k] = a[j];
213
+ }
214
+ }
215
+
216
+ return r;
217
+ };
218
+
219
+ var TreeNode = _antd.Tree.TreeNode;
220
+ var modalSize = _const.size;
221
+ var Search = _antd.Input.Search;
222
+ var picAccept = '.gif,.jpg,.png,.svg';
223
+ var videoAccept = '.AVI,.mov,.rmvb,.rm,.FLV,.mp4,.3GP';
224
+
225
+ function ImageModal(_a) {
226
+ var _this = this;
227
+
228
+ var onCancel = _a.onCancel,
229
+ visible = _a.visible,
230
+ _onOk = _a.onOk,
231
+ _b = _a.maxCount,
232
+ maxCount = _b === void 0 ? 1 : _b,
233
+ _c = _a.type,
234
+ type = _c === void 0 ? _const2.contentCatgTypeMap.PICTURE : _c;
235
+
236
+ var _d = (0, _react.useState)([]),
237
+ treeData = _d[0],
238
+ setTreeData = _d[1];
239
+
240
+ var _e = (0, _react.useState)(['-1']),
241
+ selectedKeys = _e[0],
242
+ setSelectedKeys = _e[1];
243
+
244
+ var _f = (0, _react.useState)([]),
245
+ selectedPics = _f[0],
246
+ setSelectedPics = _f[1];
247
+
248
+ var _g = (0, _react.useState)(''),
249
+ wapUrl = _g[0],
250
+ setWapUrl = _g[1];
251
+
252
+ var _h = (0, _react.useState)([]),
253
+ contents = _h[0],
254
+ setContents = _h[1];
255
+
256
+ var _j = (0, _react.useState)(0),
257
+ total = _j[0],
258
+ setTotal = _j[1];
259
+
260
+ var _k = (0, _react.useState)(1),
261
+ pageIndex = _k[0],
262
+ setPageIndex = _k[1];
263
+
264
+ var _l = (0, _react.useState)(20),
265
+ pageSize = _l[0],
266
+ setPageSize = _l[1];
267
+
268
+ var _m = (0, _react.useState)(false),
269
+ spinning = _m[0],
270
+ setSpinning = _m[1];
271
+
272
+ var _o = (0, _react.useState)(null),
273
+ process = _o[0],
274
+ setProcess = _o[1];
275
+
276
+ var _p = (0, _react.useState)(''),
277
+ name = _p[0],
278
+ setName = _p[1];
279
+
280
+ var _q = (0, _react.useState)([]),
281
+ contentcatgsList = _q[0],
282
+ setContentcatgsList = _q[1];
283
+
284
+ var _r = (0, _react.useState)(''),
285
+ searchValue = _r[0],
286
+ setSearchValue = _r[1];
287
+
288
+ var _s = (0, _react.useState)([]),
289
+ expandedKeys = _s[0],
290
+ setExpandedKeys = _s[1];
291
+
292
+ var _t = (0, _react.useState)(true),
293
+ autoExpandParent = _t[0],
294
+ setAutoExpandParent = _t[1]; // const currentUser = sessionUtil.getUser() || {};
295
+ // const { _csrf } = currentUser;
296
+ // const headers = {};
297
+ // if (_csrf && _csrf.headerName) {
298
+ // headers[_csrf.headerName] = _csrf.token;
299
+ // }
300
+
301
+
302
+ var headers = {
303
+ credentials: localStorage.getItem('credentials')
304
+ }; // headers['X-CSRF-TOKEN'] = localStorage.getItem('X-CSRF-TOKEN') || '';
305
+ // headers.accessToken = localStorage.getItem('X-CSRF-TOKEN') || '';
306
+ // 查询图片库类目下的图片列表
307
+
308
+ var qryImageContents = function qryImageContents(data) {
309
+ return __awaiter(_this, void 0, void 0, function () {
310
+ var extreParams, res, newContentData_1;
311
+ return __generator(this, function (_a) {
312
+ switch (_a.label) {
313
+ case 0:
314
+ extreParams = {};
315
+
316
+ if (data && "" + data.contentCatgId === '-1') {
317
+ extreParams.contentType = 'File';
318
+ }
319
+
320
+ return [4
321
+ /*yield*/
322
+ , (0, _commonUtil.commonFetch)('/designer/v1/contents', __assign(__assign({
323
+ pageIndex: pageIndex,
324
+ pageSize: pageSize,
325
+ pageTotal: false,
326
+ name: name,
327
+ catgType: type === _const2.contentCatgTypeMap.PICTURE ? _const2.catgType.PICTURE : _const2.catgType.VIDEO
328
+ }, data), extreParams), 'GET')];
329
+
330
+ case 1:
331
+ res = _a.sent();
332
+
333
+ if (res) {
334
+ newContentData_1 = [];
335
+ (res.list || []).forEach(function (item) {
336
+ newContentData_1.push({
337
+ contentId: item.uid,
338
+ contentTitle: item.name,
339
+ url: item.oriUrl ? item.oriUrl : item.url,
340
+ imgUrl: item.imgUrl,
341
+ contentType: item.contentType
342
+ });
343
+ });
344
+ setTotal(res.total);
345
+ setContents(newContentData_1);
346
+ }
347
+
348
+ setSpinning(false);
349
+ return [2
350
+ /*return*/
351
+ ];
352
+ }
353
+ });
354
+ });
355
+ }; // const qryImageContents = useFetch(
356
+ // data => {
357
+ // const extreParams = {};
358
+ // if (data && `${data.contentCatgId}` === '-1') {
359
+ // extreParams.contentType = 'File';
360
+ // }
361
+ // return {
362
+ // url: `/designer/v1/contents`,
363
+ // params: {
364
+ // pageIndex,
365
+ // pageSize,
366
+ // pageTotal: false,
367
+ // name,
368
+ // catgType: type === contentCatgTypeMap.PICTURE ? catgType.PICTURE : catgType.VIDEO,
369
+ // ...data,
370
+ // ...extreParams,
371
+ // },
372
+ // };
373
+ // },
374
+ // {
375
+ // manual: true,
376
+ // onSuccess: data => {
377
+ // if (data) {
378
+ // const newContentData = [];
379
+ // (data.list || []).forEach(item => {
380
+ // newContentData.push({
381
+ // contentId: item.uid,
382
+ // contentTitle: item.name,
383
+ // url: item.url,
384
+ // imgUrl: item.imgUrl,
385
+ // contentType: item.contentType,
386
+ // });
387
+ // });
388
+ // setTotal(data.total);
389
+ // setContents(newContentData);
390
+ // }
391
+ // setSpinning(false);
392
+ // },
393
+ // }
394
+ // );
395
+ // 查询图片库类目
396
+
397
+
398
+ var getContentCatgs = function getContentCatgs() {
399
+ return __awaiter(_this, void 0, void 0, function () {
400
+ var data, mapProps, newData;
401
+ return __generator(this, function (_a) {
402
+ switch (_a.label) {
403
+ case 0:
404
+ return [4
405
+ /*yield*/
406
+ , (0, _commonUtil.commonFetch)('/designer/v1/contentcatgs', {
407
+ catgType: type === _const2.contentCatgTypeMap.PICTURE ? _const2.catgType.PICTURE : _const2.catgType.VIDEO
408
+ }, 'GET')];
409
+
410
+ case 1:
411
+ data = _a.sent();
412
+ mapProps = {
413
+ value: 'contentCatgId',
414
+ title: 'contentCatgName'
415
+ };
416
+ setContentcatgsList(__spreadArrays([{
417
+ value: '-1',
418
+ title: 'Default',
419
+ contentCatgName: 'Default'
420
+ }], data));
421
+ newData = _dataTreeUtils["default"].translateDataToTree(data || [], 'contentCatgId', 'parentCatgId', mapProps);
422
+ newData.unshift({
423
+ value: '-1',
424
+ title: 'Default',
425
+ contentCatgName: 'Default'
426
+ });
427
+ setTreeData(newData);
428
+ setSelectedKeys(['-1']);
429
+ qryImageContents({
430
+ contentCatgId: '-1'
431
+ });
432
+ return [2
433
+ /*return*/
434
+ ];
435
+ }
436
+ });
437
+ });
438
+ }; // const getPreConfig = async () => {
439
+ // try {
440
+ // const { wapUrl } = await commonFetch(`/designer/v1/${window.magicDesign.MBaseUrl}/pages/platforminfo`);
441
+ // setWapUrl(wapUrl);
442
+ // } catch (error) {
443
+ // console.error(error);
444
+ // }
445
+ // };
446
+
447
+
448
+ (0, _react.useEffect)(function () {
449
+ getContentCatgs(); // getPreConfig();
450
+ }, []);
451
+
452
+ var selectFolder = function selectFolder(id) {
453
+ setSelectedKeys(["" + id]);
454
+ var filterArr = (expandedKeys || []).filter(function (val) {
455
+ return val === "" + id;
456
+ });
457
+
458
+ if (!(filterArr && filterArr.length)) {
459
+ setAutoExpandParent(true);
460
+ setExpandedKeys(__spreadArrays(expandedKeys, ["" + id]));
461
+ }
462
+
463
+ setPageIndex(1);
464
+ qryImageContents({
465
+ contentCatgId: id,
466
+ pageIndex: 1
467
+ });
468
+ }; // 选择类目上某个节点
469
+
470
+
471
+ var onSelect = function onSelect(record) {
472
+ if (!(record && record.length)) {
473
+ return;
474
+ }
475
+
476
+ setSelectedKeys(record);
477
+ setPageIndex(1);
478
+ qryImageContents({
479
+ contentCatgId: record[0],
480
+ pageIndex: 1
481
+ });
482
+ };
483
+
484
+ var onUpload = function onUpload(data) {
485
+ return (0, _commonUtil.commonFetch)('/designer/v1/upload/contents', data, 'POST').then(function () {
486
+ setSpinning(false);
487
+ });
488
+ };
489
+
490
+ var handleUpload = function handleUpload(file) {
491
+ return __awaiter(_this, void 0, void 0, function () {
492
+ var config, result, form, result;
493
+ return __generator(this, function (_a) {
494
+ switch (_a.label) {
495
+ case 0:
496
+ if (_const2.catgType === _const2.contentCatgTypeMap.PICTURE) {
497
+ if (file.type.indexOf('image/') < 0) {
498
+ return [2
499
+ /*return*/
500
+ , false];
501
+ }
502
+ } else if (_const2.catgType === _const2.contentCatgTypeMap.VIDEO) {
503
+ if (file.type.indexOf('video/') < 0) {
504
+ return [2
505
+ /*return*/
506
+ , false];
507
+ }
508
+ }
509
+
510
+ console.log('file: ', file);
511
+ return [4
512
+ /*yield*/
513
+ , (0, _utils.getUploadParamCodeConfig)()];
514
+
515
+ case 1:
516
+ config = _a.sent();
517
+ if (!(file.size > config.maxSize)) return [3
518
+ /*break*/
519
+ , 3];
520
+ setSpinning(true);
521
+ setProcess(0);
522
+ return [4
523
+ /*yield*/
524
+ , (0, _utils.chunksUpload)({
525
+ file: file,
526
+ contentCatgId: selectedKeys[0]
527
+ }, function (process) {
528
+ // console.log('process', process);
529
+ setProcess(process);
530
+ })];
531
+
532
+ case 2:
533
+ result = _a.sent();
534
+ setProcess(null);
535
+ setSpinning(false);
536
+ return [2
537
+ /*return*/
538
+ , result];
539
+
540
+ case 3:
541
+ form = new FormData();
542
+ form.append('file', file); // 文件对象
543
+
544
+ form.append('path', file.path && file.path.indexOf('/') > -1 ? file.path : ''); // 文件路径
545
+
546
+ form.append('contentCatgId', selectedKeys[0]); // 文件对象
547
+
548
+ form.append('catgType', type); // 文件类型
549
+
550
+ return [4
551
+ /*yield*/
552
+ , onUpload(form)];
553
+
554
+ case 4:
555
+ result = _a.sent();
556
+ return [2
557
+ /*return*/
558
+ , result];
559
+ }
560
+ });
561
+ });
562
+ }; // 自定义上传
563
+
564
+
565
+ var beforeUpload = function beforeUpload(file) {
566
+ if (!(0, _commonUtil.checkFileName)(file.name)) {
567
+ _antd.message.error("File name cannot have '/' '\\' ',' special characters");
568
+
569
+ return false;
570
+ }
571
+
572
+ setSpinning(true);
573
+ handleUpload(file).then(function (result) {
574
+ if (result !== false) {
575
+ // 上传成功刷新表格
576
+ qryImageContents({
577
+ contentCatgId: selectedKeys[0],
578
+ name: '',
579
+ pageIndex: 1
580
+ });
581
+ }
582
+ });
583
+ return false;
584
+ };
585
+
586
+ var getParentKey = function getParentKey(key, tree) {
587
+ var parentKey;
588
+
589
+ for (var i = 0; i < tree.length; i += 1) {
590
+ var node = tree[i];
591
+
592
+ if (node.children) {
593
+ if (node.children.some(function (item) {
594
+ return "" + item.value === key;
595
+ })) {
596
+ parentKey = node.value;
597
+ } else if (getParentKey(key, node.children)) {
598
+ parentKey = getParentKey(key, node.children);
599
+ }
600
+ }
601
+ }
602
+
603
+ return parentKey;
604
+ };
605
+
606
+ var onChange = function onChange(e) {
607
+ var value = e.target.value;
608
+ var newKeys = (contentcatgsList || []).map(function (item) {
609
+ if ((item.contentCatgName || '').toLowerCase().indexOf((value || '').toLowerCase()) > -1) {
610
+ return getParentKey("" + item.contentCatgId, treeData);
611
+ }
612
+
613
+ return null;
614
+ }).filter(function (item, i, self) {
615
+ return item && self.indexOf(item) === i;
616
+ });
617
+ setSearchValue(value);
618
+ setExpandedKeys(newKeys);
619
+ setAutoExpandParent(true);
620
+ }; // 分页信息
621
+
622
+
623
+ var pagination = {
624
+ current: pageIndex,
625
+ pageSize: pageSize,
626
+ total: total,
627
+ onChange: function onChange(pageIndex, pageSize) {
628
+ setPageIndex(pageIndex);
629
+ setPageSize(pageSize);
630
+ qryImageContents({
631
+ contentCatgId: selectedKeys[0],
632
+ pageIndex: pageIndex,
633
+ pageSize: pageSize
634
+ });
635
+ }
636
+ };
637
+
638
+ var onSelectPic = function onSelectPic(e, content) {
639
+ var checked = e.target.checked; // 单选
640
+
641
+ if (maxCount === 1) {
642
+ if (checked) {
643
+ setSelectedPics([]);
644
+ } else {
645
+ setSelectedPics([content]);
646
+ }
647
+ }
648
+
649
+ setSelectedPics(function (pics) {
650
+ var newPics = []; // 多选
651
+
652
+ if (checked) {
653
+ newPics = __spreadArrays(pics, [content]);
654
+ } else {
655
+ newPics = pics.filter(function (pic) {
656
+ return pic.contentId !== content.contentId;
657
+ });
658
+ }
659
+
660
+ return newPics;
661
+ });
662
+ };
663
+
664
+ var handleSearch = function handleSearch(value) {
665
+ var newName = value ? value.trim() : '';
666
+ setName(newName);
667
+ setPageIndex(1);
668
+ qryImageContents({
669
+ name: newName,
670
+ pageIndex: 1,
671
+ contentCatgId: selectedKeys[0]
672
+ });
673
+ };
674
+
675
+ var handleExpand = function handleExpand(keys) {
676
+ // if not set autoExpandParent to false, if children expanded, parent can not collapse.
677
+ // or, you can remove all expanded children keys.
678
+ setAutoExpandParent(false);
679
+ setExpandedKeys(keys);
680
+ };
681
+
682
+ var treeOpts = {
683
+ blockNode: true,
684
+ autoExpandParent: autoExpandParent,
685
+ selectedKeys: selectedKeys,
686
+ expandedKeys: expandedKeys,
687
+ onSelect: onSelect,
688
+ onExpand: handleExpand
689
+ };
690
+
691
+ var renderTreeNodes = function renderTreeNodes(data) {
692
+ return (data || []).map(function (item) {
693
+ var index = (item.title || '').toLowerCase().indexOf((searchValue || '').toLowerCase());
694
+ var beforeStr = (item.title || '').substr(0, index);
695
+ var afterStr = (item.title || '').substr(index + searchValue.length);
696
+ var title = index > -1 ? /*#__PURE__*/_react["default"].createElement("span", null, beforeStr, /*#__PURE__*/_react["default"].createElement("span", {
697
+ style: {
698
+ color: '#f50'
699
+ }
700
+ }, searchValue), afterStr) : /*#__PURE__*/_react["default"].createElement("span", null, item.title);
701
+ var value = item.value,
702
+ children = item.children;
703
+
704
+ if (children) {
705
+ return /*#__PURE__*/_react["default"].createElement(TreeNode, {
706
+ key: value,
707
+ title: title
708
+ }, renderTreeNodes(children));
709
+ }
710
+
711
+ return /*#__PURE__*/_react["default"].createElement(TreeNode, {
712
+ key: value,
713
+ title: title,
714
+ value: value
715
+ });
716
+ });
717
+ };
718
+
719
+ return /*#__PURE__*/_react["default"].createElement(_CommonModal["default"], {
720
+ modalOpts: {
721
+ title: type === _const2.contentCatgTypeMap.VIDEO ? (0, _locale.i18n)('VIDEO') : (0, _locale.i18n)('IMAGE'),
722
+ width: modalSize.LARGE
723
+ },
724
+ onCancel: onCancel,
725
+ onOk: function onOk() {
726
+ return _onOk(selectedPics.map(function (item) {
727
+ return __assign(__assign({}, item), {
728
+ url: wapUrl + item.url
729
+ });
730
+ }));
731
+ },
732
+ visible: visible
733
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
734
+ style: {
735
+ marginBottom: 8
736
+ }
737
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
738
+ span: 3
739
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Upload, {
740
+ accept: type === _const2.contentCatgTypeMap.PICTURE ? picAccept : videoAccept,
741
+ action: "/ecommerce/upload/contents",
742
+ beforeUpload: beforeUpload,
743
+ fileList: [],
744
+ headers: headers
745
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Button, null, /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
746
+ type: "upload"
747
+ }), "Upload"))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
748
+ span: 8
749
+ }, /*#__PURE__*/_react["default"].createElement(Search, {
750
+ enterButton: true,
751
+ onSearch: function onSearch(value) {
752
+ return handleSearch(value);
753
+ },
754
+ placeholder: (0, _locale.i18n)('PLEASE_SEARCH')
755
+ })), process !== null && /*#__PURE__*/_react["default"].createElement("div", {
756
+ className: "image-modal-process-wrap"
757
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Progress, {
758
+ format: function format(percent) {
759
+ return "upload " + percent + "%";
760
+ },
761
+ percent: Number(process).toFixed(2),
762
+ size: "small",
763
+ status: "active"
764
+ }))), /*#__PURE__*/_react["default"].createElement(_antd.Row, null, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
765
+ span: 6
766
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Card, {
767
+ bodyStyle: {
768
+ height: 500,
769
+ overflowY: 'auto'
770
+ },
771
+ className: "catg_tree_container"
772
+ }, /*#__PURE__*/_react["default"].createElement("div", {
773
+ className: "search_container"
774
+ }, /*#__PURE__*/_react["default"].createElement(Search, {
775
+ onChange: onChange,
776
+ placeholder: (0, _locale.i18n)('KEYWRODS')
777
+ })), /*#__PURE__*/_react["default"].createElement(_antd.Tree, treeOpts, renderTreeNodes(treeData)))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
778
+ span: 18
779
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Card, {
780
+ bodyStyle: {
781
+ height: 500
782
+ },
783
+ className: "catg_img"
784
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Card, {
785
+ bodyStyle: {
786
+ height: 410,
787
+ overflowX: 'auto'
788
+ }
789
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Spin, {
790
+ spinning: spinning
791
+ }, !(0, _isEmpty["default"])(contents) && contents.map(function (content) {
792
+ return /*#__PURE__*/_react["default"].createElement(_CommonSelPicCard["default"], {
793
+ key: content.contentId,
794
+ checked: (0, _findIndex["default"])(selectedPics || [], function (val) {
795
+ return val.contentId === content.contentId;
796
+ }) > -1,
797
+ content: content,
798
+ onChange: function onChange(e) {
799
+ return onSelectPic(e, content);
800
+ },
801
+ onClick: selectFolder,
802
+ type: type
803
+ });
804
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
805
+ style: {
806
+ "float": 'right',
807
+ marginTop: '16px'
808
+ }
809
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Pagination, _extends({
810
+ size: "small"
811
+ }, pagination)))))));
812
+ }
813
+
814
+ var _default = ImageModal;
815
+ exports["default"] = _default;