@fonixtree/magic-design 2.0.60 → 2.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1326) hide show
  1. package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
  2. package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
  3. package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
  4. package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  5. package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
  6. package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
  7. package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  8. package/es/assets/fonts/Trueno-Light.otf +0 -0
  9. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  10. package/es/assets/fonts/TruenoBd.otf +0 -0
  11. package/es/assets/fonts/magic-box-iconfont.css +507 -0
  12. package/es/assets/fonts/magic-box-iconfont.css.bak +516 -0
  13. package/es/assets/fonts/magic-box-iconfont.js +5 -0
  14. package/es/assets/fonts/magic-box-iconfont.js.bak +5 -0
  15. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  16. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  17. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  18. package/es/assets/images/base64/index.js +18 -0
  19. package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
  20. package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
  21. package/es/assets/images/layout-icon/carouselLayout3.png +0 -0
  22. package/es/assets/images/layout-icon/dividerLayout.svg +4 -0
  23. package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  24. package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  25. package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  26. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  27. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  28. package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  29. package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  30. package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  31. package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  32. package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  33. package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  34. package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  35. package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  36. package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  37. package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  38. package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  39. package/es/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  40. package/es/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  41. package/es/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  42. package/es/assets/images/layout-icon/layout-recommend-1.png +0 -0
  43. package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
  44. package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
  45. package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
  46. package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
  47. package/es/assets/images/layout-icon/layout-search.png +0 -0
  48. package/es/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  49. package/es/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  50. package/es/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  51. package/es/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  52. package/es/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  53. package/es/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  54. package/es/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  55. package/es/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  56. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  57. package/es/assets/images/layout-icon/newsletter.svg +7 -0
  58. package/es/assets/images/layout-icon/walletLayout1.png +0 -0
  59. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  60. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  61. package/es/assets/less/button.less +32 -0
  62. package/es/assets/less/common.less +82 -0
  63. package/es/assets/less/cylon-antd.less +32456 -0
  64. package/es/assets/less/datepicker.less +13 -0
  65. package/es/assets/less/font.less +70 -0
  66. package/es/assets/less/form.less +10 -0
  67. package/es/assets/less/global.less +8 -0
  68. package/es/assets/less/index.less +13 -0
  69. package/es/assets/less/input.less +26 -0
  70. package/es/assets/less/menu.less +21 -0
  71. package/es/assets/less/modal.less +25 -0
  72. package/es/assets/less/select.less +32 -0
  73. package/es/assets/less/slider.less +69 -0
  74. package/es/assets/less/switch.less +20 -0
  75. package/es/assets/less/table.less +52 -0
  76. package/es/assets/less/variables.less +4 -0
  77. package/es/common/AffiliateProductModal/index.js +582 -0
  78. package/es/common/AffiliateProductModal/index.less +146 -0
  79. package/es/common/AlignSelector/index.js +120 -0
  80. package/es/common/AlignSelector/index.less +28 -0
  81. package/es/common/Button/index.js +135 -0
  82. package/es/common/Button/index.less +73 -0
  83. package/es/common/ButtonIconLayout/index.js +105 -0
  84. package/es/common/ButtonIconLayout/index.less +55 -0
  85. package/es/common/CardCarousel/index.js +171 -0
  86. package/es/common/CardCarousel/index.less +28 -0
  87. package/es/common/Carousel/index.js +69 -0
  88. package/es/common/Carousel/index.less +0 -0
  89. package/es/common/Collapse/index.js +398 -0
  90. package/es/common/Collapse/index.less +100 -0
  91. package/es/common/ColorPicker/imgs/no-color.png +0 -0
  92. package/es/common/ColorPicker/index.js +134 -0
  93. package/es/common/ColorPicker/index.less +26 -0
  94. package/es/common/ColorPickerInput/imgs/code.png +0 -0
  95. package/es/common/ColorPickerInput/index.js +114 -0
  96. package/es/common/ColorPickerInput/index.less +50 -0
  97. package/es/common/CountDown/index.js +151 -0
  98. package/es/common/CountDown/index.less +23 -0
  99. package/es/common/Field/index.js +97 -0
  100. package/es/common/Field/index.less +37 -0
  101. package/es/common/FontStyles/index.js +197 -0
  102. package/es/common/FontStyles/index.less +64 -0
  103. package/es/common/GroupList/defaultImg.png +0 -0
  104. package/es/common/GroupList/index.js +211 -0
  105. package/es/common/GroupList/index.less +88 -0
  106. package/es/common/IconPicker/index.js +147 -0
  107. package/es/common/IconPicker/index.less +46 -0
  108. package/es/common/Iconfont/index.js +148 -0
  109. package/es/common/Iconfont/index.less +20 -0
  110. package/es/common/ImageLazy/index.js +172 -0
  111. package/es/common/ImageLazy/index.less +0 -0
  112. package/es/common/ImageModal/CommonModal/const.js +22 -0
  113. package/es/common/ImageModal/CommonModal/index.js +46 -0
  114. package/es/common/ImageModal/CommonSelPicCard/index.js +80 -0
  115. package/es/common/ImageModal/CommonSelPicCard/index.less +40 -0
  116. package/es/common/ImageModal/const.js +24 -0
  117. package/es/common/ImageModal/index.js +815 -0
  118. package/es/common/ImageModal/index.less +34 -0
  119. package/es/common/ImageModal/utils.js +609 -0
  120. package/es/common/ImagePicker/index.js +317 -0
  121. package/es/common/ImagePicker/index.less +206 -0
  122. package/es/common/ImgArea/components/Crop.js +270 -0
  123. package/es/common/ImgArea/components/Icons.js +44 -0
  124. package/es/common/ImgArea/components/MultiCrops.js +217 -0
  125. package/es/common/ImgArea/index.js +11 -0
  126. package/es/common/InputNumber/index.js +91 -0
  127. package/es/common/InputNumber/index.less +38 -0
  128. package/es/common/LayoutSelector/imgs/center.png +0 -0
  129. package/es/common/LayoutSelector/imgs/left.png +0 -0
  130. package/es/common/LayoutSelector/imgs/right.png +0 -0
  131. package/es/common/LayoutSelector/index.js +111 -0
  132. package/es/common/LayoutSelector/index.less +37 -0
  133. package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
  134. package/es/common/LinkModal/BundleCampaign/index.js +412 -0
  135. package/es/common/LinkModal/BundleCampaign/index.less +19 -0
  136. package/es/common/LinkModal/CatgTable/index.js +244 -0
  137. package/es/common/LinkModal/CouponTable/index.js +315 -0
  138. package/es/common/LinkModal/CustomTable/index.js +237 -0
  139. package/es/common/LinkModal/FilteredProductModal/index.js +706 -0
  140. package/es/common/LinkModal/FilteredProductModal/index.less +127 -0
  141. package/es/common/LinkModal/FunctionTable/index.js +233 -0
  142. package/es/common/LinkModal/MiniAppTable/index.js +250 -0
  143. package/es/common/LinkModal/ProductDetailPage/index.js +504 -0
  144. package/es/common/LinkModal/ProductDetailPage/index.less +10 -0
  145. package/es/common/LinkModal/SelectVideoModal/index.js +212 -0
  146. package/es/common/LinkModal/SelectVideoModal/index.less +112 -0
  147. package/es/common/LinkModal/ShareUrl/index.js +33 -0
  148. package/es/common/LinkModal/ShareUrl/index.less +3 -0
  149. package/es/common/LinkModal/StoreCatgTable/index.js +244 -0
  150. package/es/common/LinkModal/StoreTable/index.js +328 -0
  151. package/es/common/LinkModal/index.js +368 -0
  152. package/es/common/LinkModal/index.less +104 -0
  153. package/es/common/MagicLink/index.js +89 -0
  154. package/es/common/MagicLink/index.less +0 -0
  155. package/es/common/MessageModal/index.js +73 -0
  156. package/es/common/MessageModal/index.less +86 -0
  157. package/es/common/MyModal/index.js +417 -0
  158. package/es/common/MyModal/index.less +74 -0
  159. package/es/common/NewImg/index.js +165 -0
  160. package/es/common/NewImg/index.less +0 -0
  161. package/es/common/ProductModal/index.js +790 -0
  162. package/es/common/ProductModal/index.less +146 -0
  163. package/es/common/ProductSource/index.js +286 -0
  164. package/es/common/ProductSource/index.less +14 -0
  165. package/es/common/RcCollapse/Collapse.js +240 -0
  166. package/es/common/RcCollapse/Panel.js +193 -0
  167. package/es/common/RcCollapse/PanelContent.js +59 -0
  168. package/es/common/RcCollapse/index.js +15 -0
  169. package/es/common/RcCollapse/index.less +108 -0
  170. package/es/common/RcCollapse/interface.js +1 -0
  171. package/es/common/RcCollapse/motion.less +12 -0
  172. package/es/common/RcCollapse/motionUtil.js +44 -0
  173. package/es/common/Slider/index.js +151 -0
  174. package/es/common/Slider/index.less +45 -0
  175. package/es/common/SwiperBan/index.js +94 -0
  176. package/es/common/SwiperBan/index.less +25 -0
  177. package/es/common/SwitchCollapse/index.js +216 -0
  178. package/es/common/SwitchCollapse/index.less +40 -0
  179. package/es/common/SystemNotification/Confirm/index.js +263 -0
  180. package/es/common/SystemNotification/Confirm/index.less +33 -0
  181. package/es/common/SystemNotification/index.js +115 -0
  182. package/es/common/UrlPicker/index.js +135 -0
  183. package/es/common/UrlPicker/index.less +86 -0
  184. package/es/common/Video/background.png +0 -0
  185. package/es/common/Video/closeImg.png +0 -0
  186. package/es/common/Video/components/index.js +100 -0
  187. package/es/common/Video/components/index.less +62 -0
  188. package/es/common/Video/cover.png +0 -0
  189. package/es/common/Video/index.js +748 -0
  190. package/es/common/Video/index.less +70 -0
  191. package/es/common/VideoUpload/index.js +156 -0
  192. package/es/common/VideoUpload/index.less +114 -0
  193. package/es/common/VideoUpload/video-upload-icon.png +0 -0
  194. package/es/common/index.js +191 -0
  195. package/es/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  196. package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  197. package/es/composite-comp/bol/components/Banner/index.js +103 -0
  198. package/es/composite-comp/bol/components/Banner/mobile/index.js +302 -0
  199. package/es/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  200. package/es/composite-comp/bol/components/Banner/pc/index.js +356 -0
  201. package/es/composite-comp/bol/components/Banner/pc/index.less +85 -0
  202. package/es/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  203. package/es/composite-comp/bol/components/Button/index.js +122 -0
  204. package/es/composite-comp/bol/components/Button/index.less +47 -0
  205. package/es/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  206. package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  207. package/es/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  208. package/es/composite-comp/bol/components/Carousel/index.js +112 -0
  209. package/es/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  210. package/es/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  211. package/es/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  212. package/es/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  213. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  214. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  215. package/es/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  216. package/es/composite-comp/bol/components/Divider/index.js +103 -0
  217. package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  218. package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  219. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  220. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  221. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  222. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  223. package/es/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  224. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  225. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  226. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  227. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  228. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  229. package/es/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  230. package/es/composite-comp/bol/components/ImageGallery/index.js +88 -0
  231. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  232. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  233. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  234. package/es/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  235. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  236. package/es/composite-comp/bol/components/ImageText/index.js +88 -0
  237. package/es/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  238. package/es/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  239. package/es/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  240. package/es/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  241. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  242. package/es/composite-comp/bol/components/Location/index.js +100 -0
  243. package/es/composite-comp/bol/components/Location/index.less +15 -0
  244. package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  245. package/es/composite-comp/bol/components/Newsletter/index.js +141 -0
  246. package/es/composite-comp/bol/components/Newsletter/index.less +75 -0
  247. package/es/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  248. package/es/composite-comp/bol/components/Tag/index.js +127 -0
  249. package/es/composite-comp/bol/components/Tag/index.less +35 -0
  250. package/es/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  251. package/es/composite-comp/bol/components/Text/index.js +161 -0
  252. package/es/composite-comp/bol/components/Text/index.less +58 -0
  253. package/es/composite-comp/bol/components/Text/slice.svg +1 -0
  254. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  255. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  256. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  257. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  258. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  259. package/es/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  260. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  261. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  262. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  263. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  264. package/es/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  265. package/es/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  266. package/es/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  267. package/es/composite-comp/bol/components/Video/index.js +111 -0
  268. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  269. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  270. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  271. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  272. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  273. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  274. package/es/composite-comp/bol/components/Video/mobile/index.js +79 -0
  275. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -0
  276. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  277. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  278. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  279. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  280. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  281. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  282. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  283. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  284. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  285. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  286. package/es/composite-comp/bol/components/Video/pc/index.js +139 -0
  287. package/es/composite-comp/bol/components/Video/pc/index.less +4 -0
  288. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  289. package/es/composite-comp/bol/components/Wallet/index.js +84 -0
  290. package/es/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
  291. package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
  292. package/es/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  293. package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  294. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  295. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  296. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  297. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  298. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  299. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  300. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  301. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  302. package/es/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  303. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  304. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  305. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  306. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  307. package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  308. package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  309. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  310. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  311. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  312. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  313. package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  314. package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  315. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  316. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  317. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  318. package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  319. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  320. package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  321. package/es/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  322. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  323. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  324. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  325. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  326. package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  327. package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  328. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  329. package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  330. package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  331. package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  332. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  333. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  334. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  335. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  336. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  337. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  338. package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  339. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  340. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  341. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  342. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  343. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  344. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  345. package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  346. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  347. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  348. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  349. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  350. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  351. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  352. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  353. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  354. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  355. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  356. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  357. package/es/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  358. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  359. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  360. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  361. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  362. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  363. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  364. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  365. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  366. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  367. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  368. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  369. package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  370. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  371. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  372. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  373. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  374. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  375. package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  376. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  377. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  378. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  379. package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  380. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  381. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  382. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  383. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
  384. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  385. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  386. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  387. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  388. package/es/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  389. package/es/composite-comp/common/components/ImageLabel/index.js +90 -0
  390. package/es/composite-comp/common/components/ImageLabel/index.less +45 -0
  391. package/es/composite-comp/common/components/ProductItem/index.js +248 -0
  392. package/es/composite-comp/common/components/ProductItem/index.less +168 -0
  393. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  394. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  395. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  396. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  397. package/es/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  398. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  399. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  400. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  401. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  402. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  403. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  404. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  405. package/es/composite-comp/dito/components/FlashDeal/index.js +90 -0
  406. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  407. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  408. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  409. package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  410. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  411. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  412. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  413. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  414. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  415. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  416. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  417. package/es/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  418. package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  419. package/es/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  420. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  421. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  422. package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  423. package/es/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  424. package/es/composite-comp/dito/components/PcNavigation/index.js +84 -0
  425. package/es/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  426. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  427. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  428. package/es/composite-comp/dito/components/Recommend/index.js +90 -0
  429. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  430. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  431. package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  432. package/es/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  433. package/es/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  434. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  435. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  436. package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  437. package/es/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  438. package/es/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  439. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  440. package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  441. package/es/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  442. package/es/composite-comp/dito/components/SearchBar/index.js +91 -0
  443. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  444. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  445. package/es/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  446. package/es/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  447. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  448. package/es/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  449. package/es/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  450. package/es/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  451. package/es/composite-comp/dito/components/SignBoard/index.js +91 -0
  452. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  453. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  454. package/es/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  455. package/es/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  456. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  457. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  458. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  459. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  460. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  461. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  462. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  463. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  464. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  465. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  466. package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  467. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  468. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  469. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  470. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  471. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  472. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  473. package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  474. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  475. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  476. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  477. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  478. package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  479. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  480. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  481. package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  482. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  483. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  484. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  485. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  486. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  487. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  488. package/es/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  489. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  490. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  491. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  492. package/es/constants/component-types.js +141 -0
  493. package/es/constants/index.js +257 -0
  494. package/es/constants/layout.js +315 -0
  495. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  496. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  497. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  498. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  499. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  500. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  501. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  502. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  503. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  504. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  505. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  506. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  507. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  508. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  509. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  510. package/es/core/Designer/AiImageGenerator/index.js +752 -0
  511. package/es/core/Designer/AiImageGenerator/index.less +136 -0
  512. package/es/core/Designer/AppointmentModal/index.js +87 -0
  513. package/es/core/Designer/AppointmentModal/index.less +23 -0
  514. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  515. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  516. package/es/core/Designer/ChatRobot/index.js +343 -0
  517. package/es/core/Designer/ChatRobot/index.less +138 -0
  518. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  519. package/es/core/Designer/CompListPanel/CompCard/index.js +50 -0
  520. package/es/core/Designer/CompListPanel/CompCard/index.less +69 -0
  521. package/es/core/Designer/CompListPanel/index.js +149 -0
  522. package/es/core/Designer/CompListPanel/index.less +69 -0
  523. package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  524. package/es/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  525. package/es/core/Designer/ConfigPanel/index.js +390 -0
  526. package/es/core/Designer/ConfigPanel/index.less +148 -0
  527. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  528. package/es/core/Designer/History/index.js +97 -0
  529. package/es/core/Designer/LeftTitle/index.js +66 -0
  530. package/es/core/Designer/LeftTitle/index.less +9 -0
  531. package/es/core/Designer/PageCompList/index.js +328 -0
  532. package/es/core/Designer/PageCompList/index.less +139 -0
  533. package/es/core/Designer/QuickMenuBar/index.js +236 -0
  534. package/es/core/Designer/QuickMenuBar/index.less +121 -0
  535. package/es/core/Designer/RenderHtml/index.js +99 -0
  536. package/es/core/Designer/RenderHtml/index.less +5 -0
  537. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  538. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  539. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  540. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  541. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  542. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  543. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  544. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  545. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  546. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  547. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  548. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  549. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  550. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  551. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  552. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  553. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  554. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  555. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  556. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  557. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  558. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  559. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  560. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  561. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  562. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  563. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  564. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  565. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  566. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  567. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  568. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  569. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  570. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  571. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  572. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  573. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  574. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  575. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  576. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  577. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  578. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  579. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  580. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  581. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  582. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  583. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  584. package/es/core/Designer/ToolBarModal/index.js +411 -0
  585. package/es/core/Designer/ToolBarModal/index.less +33 -0
  586. package/es/core/Designer/ViewArea/index.js +191 -0
  587. package/es/core/Designer/ViewArea/index.less +89 -0
  588. package/es/core/Designer/index.js +812 -0
  589. package/es/core/Designer/index.less +6 -0
  590. package/es/core/Renderer/index.js +184 -0
  591. package/es/decorator/compositeDecorator.js +276 -0
  592. package/es/decorator/index.js +68 -0
  593. package/es/decorator/lazyLoadDecorator.js +75 -0
  594. package/es/decorator/metaDecorator.js +241 -0
  595. package/es/decorator/updateConfigDecorator.js +76 -0
  596. package/es/index.js +29 -0
  597. package/es/locale/en/en.json +184 -0
  598. package/es/locale/es/es.json +184 -0
  599. package/es/locale/id/id.json +184 -0
  600. package/es/locale/index.js +45 -0
  601. package/es/meta-comp/components/Button/editable.js +123 -0
  602. package/es/meta-comp/components/Button/editable.less +6 -0
  603. package/es/meta-comp/components/Button/index.js +183 -0
  604. package/es/meta-comp/components/Button/index.less +21 -0
  605. package/es/meta-comp/components/Image/image/default-img.png +0 -0
  606. package/es/meta-comp/components/Image/image/h5DefImg.png +0 -0
  607. package/es/meta-comp/components/Image/image/h5Img.png +0 -0
  608. package/es/meta-comp/components/Image/image/pcDefImg.png +0 -0
  609. package/es/meta-comp/components/Image/image/pcImg.png +0 -0
  610. package/es/meta-comp/components/Image/index.js +262 -0
  611. package/es/meta-comp/components/Image/index.less +25 -0
  612. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  613. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  614. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  615. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  616. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  617. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  618. package/es/meta-comp/components/Text/index.js +306 -0
  619. package/es/meta-comp/components/Text/index.less +103 -0
  620. package/es/meta-comp/components/index.js +31 -0
  621. package/es/meta-comp/config-panels/BaseConfig.js +85 -0
  622. package/es/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  623. package/es/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  624. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  625. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  626. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  627. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  628. package/es/meta-comp/config-panels/ImageConfig/index.js +448 -0
  629. package/es/meta-comp/config-panels/ImageConfig/index.less +16 -0
  630. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  631. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  632. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  633. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  634. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  635. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  636. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  637. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  638. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  639. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  640. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  641. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  642. package/es/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  643. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  644. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  645. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  646. package/es/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  647. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  648. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  649. package/es/meta-comp/config-panels/TextConfig/index.js +379 -0
  650. package/es/meta-comp/config-panels/TextConfig/index.less +20 -0
  651. package/es/mobx/Frame.js +85 -0
  652. package/es/mobx/Store.js +104 -0
  653. package/es/mobx/index.js +42 -0
  654. package/es/utils/androidUtil.js +134 -0
  655. package/es/utils/businessUtil.js +464 -0
  656. package/es/utils/commonUtil.js +951 -0
  657. package/es/utils/compJsonUtil.js +240 -0
  658. package/es/utils/coreUtil.js +394 -0
  659. package/es/utils/currencyUtil.js +216 -0
  660. package/es/utils/dataTreeUtils.js +134 -0
  661. package/es/utils/dateUtil.js +70 -0
  662. package/es/utils/storeUtil.js +258 -0
  663. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  664. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  665. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  666. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  667. package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
  668. package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
  669. package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  670. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  671. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  672. package/lib/assets/fonts/TruenoBd.otf +0 -0
  673. package/lib/assets/fonts/magic-box-iconfont.css +507 -0
  674. package/lib/assets/fonts/magic-box-iconfont.css.bak +516 -0
  675. package/lib/assets/fonts/magic-box-iconfont.js +5 -0
  676. package/lib/assets/fonts/magic-box-iconfont.js.bak +5 -0
  677. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  678. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  679. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  680. package/lib/assets/images/base64/index.js +18 -0
  681. package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
  682. package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
  683. package/lib/assets/images/layout-icon/carouselLayout3.png +0 -0
  684. package/lib/assets/images/layout-icon/dividerLayout.svg +4 -0
  685. package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  686. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  687. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  688. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  689. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  690. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  691. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  692. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  693. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  694. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +18 -0
  695. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +9 -0
  696. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  697. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  698. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  699. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  700. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  701. package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  702. package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  703. package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  704. package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
  705. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  706. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  707. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  708. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  709. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  710. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  711. package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  712. package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  713. package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  714. package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  715. package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  716. package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  717. package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  718. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  719. package/lib/assets/images/layout-icon/newsletter.svg +7 -0
  720. package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
  721. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  722. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  723. package/lib/assets/less/button.less +32 -0
  724. package/lib/assets/less/common.less +82 -0
  725. package/lib/assets/less/cylon-antd.less +32456 -0
  726. package/lib/assets/less/datepicker.less +13 -0
  727. package/lib/assets/less/font.less +70 -0
  728. package/lib/assets/less/form.less +10 -0
  729. package/lib/assets/less/global.less +8 -0
  730. package/lib/assets/less/index.less +13 -0
  731. package/lib/assets/less/input.less +26 -0
  732. package/lib/assets/less/menu.less +21 -0
  733. package/lib/assets/less/modal.less +25 -0
  734. package/lib/assets/less/select.less +32 -0
  735. package/lib/assets/less/slider.less +69 -0
  736. package/lib/assets/less/switch.less +20 -0
  737. package/lib/assets/less/table.less +52 -0
  738. package/lib/assets/less/variables.less +4 -0
  739. package/lib/common/AffiliateProductModal/index.js +582 -0
  740. package/lib/common/AffiliateProductModal/index.less +146 -0
  741. package/lib/common/AlignSelector/index.js +120 -0
  742. package/lib/common/AlignSelector/index.less +28 -0
  743. package/lib/common/Button/index.js +135 -0
  744. package/lib/common/Button/index.less +73 -0
  745. package/lib/common/ButtonIconLayout/index.js +105 -0
  746. package/lib/common/ButtonIconLayout/index.less +55 -0
  747. package/lib/common/CardCarousel/index.js +171 -0
  748. package/lib/common/CardCarousel/index.less +28 -0
  749. package/lib/common/Carousel/index.js +69 -0
  750. package/lib/common/Carousel/index.less +0 -0
  751. package/lib/common/Collapse/index.js +398 -0
  752. package/lib/common/Collapse/index.less +100 -0
  753. package/lib/common/ColorPicker/imgs/no-color.png +0 -0
  754. package/lib/common/ColorPicker/index.js +134 -0
  755. package/lib/common/ColorPicker/index.less +26 -0
  756. package/lib/common/ColorPickerInput/imgs/code.png +0 -0
  757. package/lib/common/ColorPickerInput/index.js +114 -0
  758. package/lib/common/ColorPickerInput/index.less +50 -0
  759. package/lib/common/CountDown/index.js +151 -0
  760. package/lib/common/CountDown/index.less +23 -0
  761. package/lib/common/Field/index.js +97 -0
  762. package/lib/common/Field/index.less +37 -0
  763. package/lib/common/FontStyles/index.js +197 -0
  764. package/lib/common/FontStyles/index.less +64 -0
  765. package/lib/common/GroupList/defaultImg.png +0 -0
  766. package/lib/common/GroupList/index.js +211 -0
  767. package/lib/common/GroupList/index.less +88 -0
  768. package/lib/common/IconPicker/index.js +147 -0
  769. package/lib/common/IconPicker/index.less +46 -0
  770. package/lib/common/Iconfont/index.js +148 -0
  771. package/lib/common/Iconfont/index.less +20 -0
  772. package/lib/common/ImageLazy/index.js +172 -0
  773. package/lib/common/ImageLazy/index.less +0 -0
  774. package/lib/common/ImageModal/CommonModal/const.js +22 -0
  775. package/lib/common/ImageModal/CommonModal/index.js +46 -0
  776. package/lib/common/ImageModal/CommonSelPicCard/index.js +80 -0
  777. package/lib/common/ImageModal/CommonSelPicCard/index.less +40 -0
  778. package/lib/common/ImageModal/const.js +24 -0
  779. package/lib/common/ImageModal/index.js +815 -0
  780. package/lib/common/ImageModal/index.less +34 -0
  781. package/lib/common/ImageModal/utils.js +609 -0
  782. package/lib/common/ImagePicker/index.js +317 -0
  783. package/lib/common/ImagePicker/index.less +206 -0
  784. package/lib/common/ImgArea/components/Crop.js +270 -0
  785. package/lib/common/ImgArea/components/Icons.js +44 -0
  786. package/lib/common/ImgArea/components/MultiCrops.js +217 -0
  787. package/lib/common/ImgArea/index.js +11 -0
  788. package/lib/common/InputNumber/index.js +91 -0
  789. package/lib/common/InputNumber/index.less +38 -0
  790. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  791. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  792. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  793. package/lib/common/LayoutSelector/index.js +111 -0
  794. package/lib/common/LayoutSelector/index.less +37 -0
  795. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  796. package/lib/common/LinkModal/BundleCampaign/index.js +412 -0
  797. package/lib/common/LinkModal/BundleCampaign/index.less +19 -0
  798. package/lib/common/LinkModal/CatgTable/index.js +244 -0
  799. package/lib/common/LinkModal/CouponTable/index.js +315 -0
  800. package/lib/common/LinkModal/CustomTable/index.js +237 -0
  801. package/lib/common/LinkModal/FilteredProductModal/index.js +706 -0
  802. package/lib/common/LinkModal/FilteredProductModal/index.less +127 -0
  803. package/lib/common/LinkModal/FunctionTable/index.js +233 -0
  804. package/lib/common/LinkModal/MiniAppTable/index.js +250 -0
  805. package/lib/common/LinkModal/ProductDetailPage/index.js +504 -0
  806. package/lib/common/LinkModal/ProductDetailPage/index.less +10 -0
  807. package/lib/common/LinkModal/SelectVideoModal/index.js +212 -0
  808. package/lib/common/LinkModal/SelectVideoModal/index.less +112 -0
  809. package/lib/common/LinkModal/ShareUrl/index.js +33 -0
  810. package/lib/common/LinkModal/ShareUrl/index.less +3 -0
  811. package/lib/common/LinkModal/StoreCatgTable/index.js +244 -0
  812. package/lib/common/LinkModal/StoreTable/index.js +328 -0
  813. package/lib/common/LinkModal/index.js +368 -0
  814. package/lib/common/LinkModal/index.less +104 -0
  815. package/lib/common/MagicLink/index.js +89 -0
  816. package/lib/common/MagicLink/index.less +0 -0
  817. package/lib/common/MessageModal/index.js +73 -0
  818. package/lib/common/MessageModal/index.less +86 -0
  819. package/lib/common/MyModal/index.js +417 -0
  820. package/lib/common/MyModal/index.less +74 -0
  821. package/lib/common/NewImg/index.js +165 -0
  822. package/lib/common/NewImg/index.less +0 -0
  823. package/lib/common/ProductModal/index.js +790 -0
  824. package/lib/common/ProductModal/index.less +146 -0
  825. package/lib/common/ProductSource/index.js +286 -0
  826. package/lib/common/ProductSource/index.less +14 -0
  827. package/lib/common/RcCollapse/Collapse.js +240 -0
  828. package/lib/common/RcCollapse/Panel.js +193 -0
  829. package/lib/common/RcCollapse/PanelContent.js +59 -0
  830. package/lib/common/RcCollapse/index.js +15 -0
  831. package/lib/common/RcCollapse/index.less +108 -0
  832. package/lib/common/RcCollapse/interface.js +1 -0
  833. package/lib/common/RcCollapse/motion.less +12 -0
  834. package/lib/common/RcCollapse/motionUtil.js +44 -0
  835. package/lib/common/Slider/index.js +151 -0
  836. package/lib/common/Slider/index.less +45 -0
  837. package/lib/common/SwiperBan/index.js +94 -0
  838. package/lib/common/SwiperBan/index.less +25 -0
  839. package/lib/common/SwitchCollapse/index.js +216 -0
  840. package/lib/common/SwitchCollapse/index.less +40 -0
  841. package/lib/common/SystemNotification/Confirm/index.js +263 -0
  842. package/lib/common/SystemNotification/Confirm/index.less +33 -0
  843. package/lib/common/SystemNotification/index.js +115 -0
  844. package/lib/common/UrlPicker/index.js +135 -0
  845. package/lib/common/UrlPicker/index.less +86 -0
  846. package/lib/common/Video/background.png +0 -0
  847. package/lib/common/Video/closeImg.png +0 -0
  848. package/lib/common/Video/components/index.js +100 -0
  849. package/lib/common/Video/components/index.less +62 -0
  850. package/lib/common/Video/cover.png +0 -0
  851. package/lib/common/Video/index.js +748 -0
  852. package/lib/common/Video/index.less +70 -0
  853. package/lib/common/VideoUpload/index.js +156 -0
  854. package/lib/common/VideoUpload/index.less +114 -0
  855. package/lib/common/VideoUpload/video-upload-icon.png +0 -0
  856. package/lib/common/index.js +191 -0
  857. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +276 -0
  858. package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  859. package/lib/composite-comp/bol/components/Banner/index.js +103 -0
  860. package/lib/composite-comp/bol/components/Banner/mobile/index.js +302 -0
  861. package/lib/composite-comp/bol/components/Banner/mobile/index.less +54 -0
  862. package/lib/composite-comp/bol/components/Banner/pc/index.js +356 -0
  863. package/lib/composite-comp/bol/components/Banner/pc/index.less +85 -0
  864. package/lib/composite-comp/bol/components/Button/defaultJSON.js +94 -0
  865. package/lib/composite-comp/bol/components/Button/index.js +122 -0
  866. package/lib/composite-comp/bol/components/Button/index.less +47 -0
  867. package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +291 -0
  868. package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  869. package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  870. package/lib/composite-comp/bol/components/Carousel/index.js +112 -0
  871. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +309 -0
  872. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +84 -0
  873. package/lib/composite-comp/bol/components/Carousel/pc/index.js +362 -0
  874. package/lib/composite-comp/bol/components/Carousel/pc/index.less +117 -0
  875. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  876. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  877. package/lib/composite-comp/bol/components/Divider/defaultJSON.js +47 -0
  878. package/lib/composite-comp/bol/components/Divider/index.js +103 -0
  879. package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +83 -0
  880. package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  881. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  882. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  883. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  884. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  885. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  886. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  887. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  888. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  889. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  890. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  891. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  892. package/lib/composite-comp/bol/components/ImageGallery/index.js +88 -0
  893. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +165 -0
  894. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -0
  895. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +185 -0
  896. package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +23 -0
  897. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +431 -0
  898. package/lib/composite-comp/bol/components/ImageText/index.js +88 -0
  899. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +243 -0
  900. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +234 -0
  901. package/lib/composite-comp/bol/components/ImageText/pc/index.js +338 -0
  902. package/lib/composite-comp/bol/components/ImageText/pc/index.less +150 -0
  903. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  904. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  905. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  906. package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +149 -0
  907. package/lib/composite-comp/bol/components/Newsletter/index.js +141 -0
  908. package/lib/composite-comp/bol/components/Newsletter/index.less +75 -0
  909. package/lib/composite-comp/bol/components/Tag/defaultJSON.js +115 -0
  910. package/lib/composite-comp/bol/components/Tag/index.js +127 -0
  911. package/lib/composite-comp/bol/components/Tag/index.less +35 -0
  912. package/lib/composite-comp/bol/components/Text/defaultJSON.js +151 -0
  913. package/lib/composite-comp/bol/components/Text/index.js +161 -0
  914. package/lib/composite-comp/bol/components/Text/index.less +58 -0
  915. package/lib/composite-comp/bol/components/Text/slice.svg +1 -0
  916. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  917. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  918. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  919. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  920. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  921. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  922. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +163 -0
  923. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +51 -0
  924. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +184 -0
  925. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +88 -0
  926. package/lib/composite-comp/bol/components/Video/defaultJSON.js +239 -0
  927. package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  928. package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  929. package/lib/composite-comp/bol/components/Video/index.js +111 -0
  930. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +186 -0
  931. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +24 -0
  932. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +226 -0
  933. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +40 -0
  934. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +194 -0
  935. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +46 -0
  936. package/lib/composite-comp/bol/components/Video/mobile/index.js +79 -0
  937. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -0
  938. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +186 -0
  939. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +40 -0
  940. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +243 -0
  941. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +68 -0
  942. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +188 -0
  943. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +41 -0
  944. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +196 -0
  945. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +54 -0
  946. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +196 -0
  947. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +52 -0
  948. package/lib/composite-comp/bol/components/Video/pc/index.js +139 -0
  949. package/lib/composite-comp/bol/components/Video/pc/index.less +4 -0
  950. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +248 -0
  951. package/lib/composite-comp/bol/components/Wallet/index.js +84 -0
  952. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +611 -0
  953. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -0
  954. package/lib/composite-comp/bol/components/Wallet/pc/index.js +361 -0
  955. package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -0
  956. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  957. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  958. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  959. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  960. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +160 -0
  961. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +16 -0
  962. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +228 -0
  963. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +9 -0
  964. package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +48 -0
  965. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +143 -0
  966. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
  967. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  968. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  969. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  970. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +69 -0
  971. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +148 -0
  972. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  973. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +201 -0
  974. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +9 -0
  975. package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  976. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +71 -0
  977. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  978. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  979. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +100 -0
  980. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +9 -0
  981. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +179 -0
  982. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +91 -0
  983. package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +59 -0
  984. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +148 -0
  985. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  986. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  987. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +75 -0
  988. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +146 -0
  989. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +198 -0
  990. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  991. package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +189 -0
  992. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +113 -0
  993. package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +59 -0
  994. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +101 -0
  995. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +143 -0
  996. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
  997. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  998. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  999. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  1000. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +64 -0
  1001. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +101 -0
  1002. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  1003. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +142 -0
  1004. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +16 -0
  1005. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  1006. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  1007. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +71 -0
  1008. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +137 -0
  1009. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +16 -0
  1010. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +131 -0
  1011. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +9 -0
  1012. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +168 -0
  1013. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +93 -0
  1014. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  1015. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +145 -0
  1016. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  1017. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  1018. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  1019. package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  1020. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +77 -0
  1021. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  1022. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  1023. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  1024. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  1025. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  1026. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  1027. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  1028. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +153 -0
  1029. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +3 -0
  1030. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
  1031. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
  1032. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +340 -0
  1033. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +183 -0
  1034. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +302 -0
  1035. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
  1036. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +103 -0
  1037. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
  1038. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +105 -0
  1039. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  1040. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +93 -0
  1041. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +3 -0
  1042. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +375 -0
  1043. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +79 -0
  1044. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  1045. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +188 -0
  1046. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +9 -0
  1047. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  1048. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  1049. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  1050. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +113 -0
  1051. package/lib/composite-comp/common/components/ImageLabel/index.js +90 -0
  1052. package/lib/composite-comp/common/components/ImageLabel/index.less +45 -0
  1053. package/lib/composite-comp/common/components/ProductItem/index.js +248 -0
  1054. package/lib/composite-comp/common/components/ProductItem/index.less +168 -0
  1055. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +119 -0
  1056. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +303 -0
  1057. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +27 -0
  1058. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +183 -0
  1059. package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +17 -0
  1060. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  1061. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  1062. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +659 -0
  1063. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +95 -0
  1064. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +727 -0
  1065. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  1066. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +244 -0
  1067. package/lib/composite-comp/dito/components/FlashDeal/index.js +90 -0
  1068. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  1069. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  1070. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  1071. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  1072. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +439 -0
  1073. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +86 -0
  1074. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  1075. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  1076. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  1077. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  1078. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +566 -0
  1079. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +122 -0
  1080. package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +93 -0
  1081. package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
  1082. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +126 -0
  1083. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +21 -0
  1084. package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +133 -0
  1085. package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
  1086. package/lib/composite-comp/dito/components/PcNavigation/index.js +84 -0
  1087. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +491 -0
  1088. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +127 -0
  1089. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +312 -0
  1090. package/lib/composite-comp/dito/components/Recommend/index.js +90 -0
  1091. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  1092. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  1093. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  1094. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +694 -0
  1095. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +76 -0
  1096. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  1097. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  1098. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  1099. package/lib/composite-comp/dito/components/Recommend/pc/index.js +762 -0
  1100. package/lib/composite-comp/dito/components/Recommend/pc/index.less +124 -0
  1101. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +87 -0
  1102. package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +6 -0
  1103. package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  1104. package/lib/composite-comp/dito/components/SearchBar/index.js +91 -0
  1105. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +363 -0
  1106. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +51 -0
  1107. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +150 -0
  1108. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +64 -0
  1109. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +83 -0
  1110. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  1111. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +4 -0
  1112. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  1113. package/lib/composite-comp/dito/components/SignBoard/index.js +91 -0
  1114. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +408 -0
  1115. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +64 -0
  1116. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +413 -0
  1117. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +158 -0
  1118. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  1119. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  1120. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  1121. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  1122. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  1123. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  1124. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +155 -0
  1125. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  1126. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +126 -0
  1127. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  1128. package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  1129. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +73 -0
  1130. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +128 -0
  1131. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +182 -0
  1132. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
  1133. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
  1134. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
  1135. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +191 -0
  1136. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +120 -0
  1137. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  1138. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +149 -0
  1139. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +16 -0
  1140. package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  1141. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +141 -0
  1142. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +172 -0
  1143. package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +105 -0
  1144. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +104 -0
  1145. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +101 -0
  1146. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  1147. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  1148. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  1149. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +178 -0
  1150. package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
  1151. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +431 -0
  1152. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +256 -0
  1153. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +15 -0
  1154. package/lib/constants/component-types.js +141 -0
  1155. package/lib/constants/index.js +257 -0
  1156. package/lib/constants/layout.js +315 -0
  1157. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  1158. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  1159. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  1160. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  1161. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  1162. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  1163. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  1164. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  1165. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  1166. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  1167. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  1168. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  1169. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
  1170. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
  1171. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  1172. package/lib/core/Designer/AiImageGenerator/index.js +752 -0
  1173. package/lib/core/Designer/AiImageGenerator/index.less +136 -0
  1174. package/lib/core/Designer/AppointmentModal/index.js +87 -0
  1175. package/lib/core/Designer/AppointmentModal/index.less +23 -0
  1176. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  1177. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  1178. package/lib/core/Designer/ChatRobot/index.js +343 -0
  1179. package/lib/core/Designer/ChatRobot/index.less +138 -0
  1180. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  1181. package/lib/core/Designer/CompListPanel/CompCard/index.js +50 -0
  1182. package/lib/core/Designer/CompListPanel/CompCard/index.less +69 -0
  1183. package/lib/core/Designer/CompListPanel/index.js +149 -0
  1184. package/lib/core/Designer/CompListPanel/index.less +69 -0
  1185. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
  1186. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
  1187. package/lib/core/Designer/ConfigPanel/index.js +390 -0
  1188. package/lib/core/Designer/ConfigPanel/index.less +148 -0
  1189. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  1190. package/lib/core/Designer/History/index.js +97 -0
  1191. package/lib/core/Designer/LeftTitle/index.js +66 -0
  1192. package/lib/core/Designer/LeftTitle/index.less +9 -0
  1193. package/lib/core/Designer/PageCompList/index.js +328 -0
  1194. package/lib/core/Designer/PageCompList/index.less +139 -0
  1195. package/lib/core/Designer/QuickMenuBar/index.js +236 -0
  1196. package/lib/core/Designer/QuickMenuBar/index.less +121 -0
  1197. package/lib/core/Designer/RenderHtml/index.js +99 -0
  1198. package/lib/core/Designer/RenderHtml/index.less +5 -0
  1199. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  1200. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  1201. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  1202. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  1203. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  1204. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  1205. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  1206. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  1207. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  1208. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  1209. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  1210. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  1211. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  1212. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  1213. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  1214. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  1215. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  1216. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  1217. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  1218. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  1219. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  1220. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  1221. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  1222. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  1223. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  1224. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  1225. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  1226. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  1227. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  1228. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  1229. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  1230. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  1231. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  1232. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  1233. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  1234. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  1235. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  1236. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  1237. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  1238. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  1239. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  1240. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  1241. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  1242. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  1243. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  1244. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  1245. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  1246. package/lib/core/Designer/ToolBarModal/index.js +411 -0
  1247. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  1248. package/lib/core/Designer/ViewArea/index.js +191 -0
  1249. package/lib/core/Designer/ViewArea/index.less +89 -0
  1250. package/lib/core/Designer/index.js +812 -0
  1251. package/lib/core/Designer/index.less +6 -0
  1252. package/lib/core/Renderer/index.js +184 -0
  1253. package/lib/decorator/compositeDecorator.js +276 -0
  1254. package/lib/decorator/index.js +68 -0
  1255. package/lib/decorator/lazyLoadDecorator.js +75 -0
  1256. package/lib/decorator/metaDecorator.js +241 -0
  1257. package/lib/decorator/updateConfigDecorator.js +76 -0
  1258. package/lib/index.js +29 -0
  1259. package/lib/locale/en/en.json +184 -0
  1260. package/lib/locale/es/es.json +184 -0
  1261. package/lib/locale/id/id.json +184 -0
  1262. package/lib/locale/index.js +45 -0
  1263. package/lib/meta-comp/components/Button/editable.js +123 -0
  1264. package/lib/meta-comp/components/Button/editable.less +6 -0
  1265. package/lib/meta-comp/components/Button/index.js +183 -0
  1266. package/lib/meta-comp/components/Button/index.less +21 -0
  1267. package/lib/meta-comp/components/Image/image/default-img.png +0 -0
  1268. package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
  1269. package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
  1270. package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
  1271. package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
  1272. package/lib/meta-comp/components/Image/index.js +262 -0
  1273. package/lib/meta-comp/components/Image/index.less +25 -0
  1274. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  1275. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  1276. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  1277. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  1278. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  1279. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  1280. package/lib/meta-comp/components/Text/index.js +306 -0
  1281. package/lib/meta-comp/components/Text/index.less +103 -0
  1282. package/lib/meta-comp/components/index.js +31 -0
  1283. package/lib/meta-comp/config-panels/BaseConfig.js +85 -0
  1284. package/lib/meta-comp/config-panels/ButtonConfig/index.js +397 -0
  1285. package/lib/meta-comp/config-panels/ButtonConfig/index.less +4 -0
  1286. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
  1287. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
  1288. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
  1289. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
  1290. package/lib/meta-comp/config-panels/ImageConfig/index.js +448 -0
  1291. package/lib/meta-comp/config-panels/ImageConfig/index.less +16 -0
  1292. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  1293. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  1294. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  1295. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  1296. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  1297. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  1298. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  1299. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  1300. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  1301. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  1302. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  1303. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  1304. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +39 -0
  1305. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  1306. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  1307. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +92 -0
  1308. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +25 -0
  1309. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  1310. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  1311. package/lib/meta-comp/config-panels/TextConfig/index.js +379 -0
  1312. package/lib/meta-comp/config-panels/TextConfig/index.less +20 -0
  1313. package/lib/mobx/Frame.js +85 -0
  1314. package/lib/mobx/Store.js +104 -0
  1315. package/lib/mobx/index.js +42 -0
  1316. package/lib/utils/androidUtil.js +134 -0
  1317. package/lib/utils/businessUtil.js +464 -0
  1318. package/lib/utils/commonUtil.js +951 -0
  1319. package/lib/utils/compJsonUtil.js +240 -0
  1320. package/lib/utils/coreUtil.js +394 -0
  1321. package/lib/utils/currencyUtil.js +216 -0
  1322. package/lib/utils/dataTreeUtils.js +134 -0
  1323. package/lib/utils/dateUtil.js +70 -0
  1324. package/lib/utils/storeUtil.js +258 -0
  1325. package/package.json +2 -86
  1326. package/README.md +0 -122
@@ -0,0 +1,216 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.numberToFixed = exports.getPricePrefix = exports.getPrecision = exports.formatCurrencyWithSymbolNotSpace = exports.formatCurrencyWithSymbol = exports.formatCurrency = exports.formatBackendCurrency = exports.currencyToFont = exports.calcFloatCount = exports.addSeparators = void 0;
7
+
8
+ var _divide = _interopRequireDefault(require("lodash/divide"));
9
+
10
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
11
+
12
+ var _commonUtil = require("./commonUtil");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ /* eslint-disable */
17
+ var precision = (0, _commonUtil.ensure)(function () {
18
+ return window.systemParams.precision;
19
+ }, '0'); // 千分位展示
20
+
21
+ var addSeparators = function addSeparators(nStr, thousandsSep, decimalSep) {
22
+ if (!Number(nStr)) {
23
+ return nStr;
24
+ }
25
+
26
+ var x1;
27
+ var x2;
28
+ nStr += '';
29
+ var x = nStr.split('.');
30
+ x1 = x[0];
31
+ x2 = x.length > 1 ? decimalSep + x[1] : '';
32
+ var rgx = /(\d+)(\d{3})/;
33
+
34
+ while (rgx.test(x1)) {
35
+ x1 = x1.replace(rgx, "$1" + thousandsSep + "$2");
36
+ }
37
+
38
+ return x1 + x2;
39
+ };
40
+
41
+ exports.addSeparators = addSeparators;
42
+
43
+ var getPricePrefix = function getPricePrefix() {
44
+ var pricePrefix = (0, _commonUtil.ensure)(function () {
45
+ return window.systemParams.prefix;
46
+ }, 'Rp');
47
+ return pricePrefix;
48
+ };
49
+
50
+ exports.getPricePrefix = getPricePrefix;
51
+
52
+ var getPrecision = function getPrecision() {
53
+ var ret = (0, _commonUtil.ensure)(function () {
54
+ return window.systemParams.precision;
55
+ }, '0');
56
+ return Number(ret);
57
+ };
58
+ /**
59
+ * 前端数值转换为后端数值
60
+ * @param num
61
+ */
62
+
63
+
64
+ exports.getPrecision = getPrecision;
65
+
66
+ var formatBackendCurrency = function formatBackendCurrency(num) {
67
+ var precision = (0, _commonUtil.ensure)(function () {
68
+ return window.systemParams.precision;
69
+ }, '0');
70
+
71
+ if (!num) {
72
+ return num;
73
+ }
74
+
75
+ return num * Math.pow(10, precision);
76
+ }; // 格式化金额
77
+
78
+
79
+ exports.formatBackendCurrency = formatBackendCurrency;
80
+
81
+ var formatCurrency = function formatCurrency(num) {
82
+ var displayPrecision = (0, _commonUtil.ensure)(function () {
83
+ return window.systemParams.displayCurrencyPrecision;
84
+ }, '0');
85
+ var precision = (0, _commonUtil.ensure)(function () {
86
+ return window.systemParams.precision;
87
+ }, '0');
88
+ var pricePrefix = (0, _commonUtil.ensure)(function () {
89
+ return window.systemParams.prefix;
90
+ }, 'Rp');
91
+ var numVal = num;
92
+
93
+ if (Number.isNaN(num) || !Number.isFinite(num)) {
94
+ numVal = 0;
95
+ }
96
+
97
+ var displayNum = displayPrecision != null && displayPrecision !== '' ? displayPrecision : precision;
98
+ var ret = numVal / Math.pow(10, precision);
99
+ return addSeparators(ret.toFixed(displayNum), pricePrefix === "IDR" || pricePrefix === "Rp" ? '.' : ',', '.');
100
+ };
101
+
102
+ exports.formatCurrency = formatCurrency;
103
+
104
+ var formatCurrencyWithSymbol = function formatCurrencyWithSymbol(num) {
105
+ var ret = formatCurrency(num);
106
+ return getPricePrefix() + " " + ret;
107
+ };
108
+
109
+ exports.formatCurrencyWithSymbol = formatCurrencyWithSymbol;
110
+
111
+ var formatCurrencyWithSymbolNotSpace = function formatCurrencyWithSymbolNotSpace(num) {
112
+ var ret = formatCurrency(num);
113
+ return "" + getPricePrefix() + ret;
114
+ };
115
+ /**
116
+ * TODO 未兼容科学计数法(小数点后7位)
117
+ * 计算浮点位数
118
+ * @param {*} number 数字
119
+ * @returns count
120
+ */
121
+
122
+
123
+ exports.formatCurrencyWithSymbolNotSpace = formatCurrencyWithSymbolNotSpace;
124
+
125
+ var calcFloatCount = function calcFloatCount(number) {
126
+ var numbString = String(number);
127
+ var findIndex = numbString.indexOf('.');
128
+ if (findIndex === -1) return 0;
129
+ return numbString.length - findIndex - 1;
130
+ };
131
+ /**
132
+ * 保留小数位
133
+ * @param {number} number 数字
134
+ * @param {int?} precision 位数 默认:2
135
+ */
136
+
137
+
138
+ exports.calcFloatCount = calcFloatCount;
139
+
140
+ var numberToFixed = function numberToFixed(numb, precision) {
141
+ if (precision === void 0) {
142
+ precision = 2;
143
+ }
144
+
145
+ var multiple = Math.pow(10, precision);
146
+ var floatCount = calcFloatCount(numb);
147
+
148
+ if (floatCount <= precision) {
149
+ if (floatCount === 0) {
150
+ if (precision <= 0) {
151
+ return "" + String(~~numb);
152
+ }
153
+
154
+ return String(~~numb) + "." + new Array(precision - floatCount).fill('0').join('');
155
+ }
156
+
157
+ return String(numb) + new Array(precision - floatCount).fill('0').join('');
158
+ }
159
+
160
+ var bigMultiple = multiple * 10;
161
+ var tempNumb = ~~(numb * bigMultiple);
162
+ var lastNumber = String(tempNumb).slice(-1);
163
+ var resultNumber = ~~(numb * multiple);
164
+ if (~~lastNumber >= 5) resultNumber += 1;
165
+ var result = resultNumber / multiple;
166
+ var resultFloatCount = calcFloatCount(result);
167
+ return result + new Array(precision - resultFloatCount).fill('0').join('');
168
+ };
169
+ /**
170
+ * 格式化数值,不加前缀 (前台使用) 例如:缩小100倍
171
+ * @param {*} value 数值
172
+ * @param {*} customPrecision 精度转换,默认读配置项
173
+ * @param {*} customDisplayPrecision 保留小数位数,默认读配置项(传null,表示不作处理只转换精度)
174
+ * @returns 格式化后的数值字符串
175
+ */
176
+
177
+
178
+ exports.numberToFixed = numberToFixed;
179
+
180
+ var currencyToFont = function currencyToFont(value, customPrecision, customDisplayPrecision) {
181
+ if (value === null || value === undefined || value === '' || Number.isNaN(Number(value))) {
182
+ return value;
183
+ }
184
+
185
+ var precision; // 优先使用参数上的精度
186
+
187
+ if (!(0, _isEmpty["default"])(customPrecision) && !Number.isNaN(Number(customPrecision))) {
188
+ precision = Number(customPrecision);
189
+ } else {
190
+ precision = (0, _commonUtil.ensure)(function () {
191
+ return window.systemParams.precision;
192
+ }, '0');
193
+ }
194
+
195
+ var number = Number(value);
196
+ var temp = (0, _divide["default"])(number, Math.pow(10, precision)); // 特殊处理,不需要格式化小数位
197
+
198
+ if (customDisplayPrecision === null) {
199
+ return "" + temp;
200
+ } // 精度格式化
201
+
202
+
203
+ var displayPrecision; // 优先使用参数上的精度
204
+
205
+ if (!(0, _isEmpty["default"])(customDisplayPrecision) && !Number.isNaN(Number(customDisplayPrecision))) {
206
+ displayPrecision = Number(customDisplayPrecision);
207
+ } else {
208
+ displayPrecision = (0, _commonUtil.ensure)(function () {
209
+ return window.systemParams.displayCurrencyPrecision;
210
+ }, 'Rp');
211
+ }
212
+
213
+ return temp.toFixed(Number(displayPrecision));
214
+ };
215
+
216
+ exports.currencyToFont = currencyToFont;
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
9
+
10
+ var _isObject = _interopRequireDefault(require("lodash/isObject"));
11
+
12
+ var _mapKeys = _interopRequireDefault(require("lodash/mapKeys"));
13
+
14
+ var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ 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); }
19
+
20
+ /**
21
+ * 处理树相关的工具
22
+ */
23
+ var _default = {
24
+ /** 将一维数组转换为树结构 */
25
+ translateDataToTree: function translateDataToTree(jsonData, id, pid, mapProps) {
26
+ var newData = (0, _cloneDeep["default"])(jsonData);
27
+ var result = [];
28
+ var temp = {};
29
+
30
+ for (var i = 0; i < newData.length; i += 1) {
31
+ temp[newData[i][id]] = newData[i]; // 以id作为索引存储元素,可以无需遍历直接定位元素
32
+ }
33
+
34
+ var _loop_1 = function _loop_1(j) {
35
+ var currentElement = newData[j]; // 添加需要的属性
36
+
37
+ if (mapProps && (0, _isObject["default"])(mapProps) && !(0, _isEmpty["default"])(mapProps)) {
38
+ (0, _mapKeys["default"])(mapProps, function (value, key) {
39
+ currentElement[key] = currentElement[value];
40
+ });
41
+ }
42
+
43
+ var tempCurrentElementParent = temp[currentElement[pid]]; // 临时变量里面的当前元素的父元素
44
+
45
+ if (tempCurrentElementParent) {
46
+ // 如果存在父元素
47
+ if (!tempCurrentElementParent.children) {
48
+ // 如果父元素没有chindren键
49
+ tempCurrentElementParent.children = []; // 设上父元素的children键
50
+ }
51
+
52
+ tempCurrentElementParent.children.push(currentElement); // 给父元素加上当前元素作为子元素
53
+ } else {
54
+ // 不存在父元素,意味着当前元素是一级元素
55
+ result.push(currentElement);
56
+ }
57
+ };
58
+
59
+ for (var j = 0; j < newData.length; j += 1) {
60
+ _loop_1(j);
61
+ }
62
+
63
+ return result;
64
+ },
65
+
66
+ /**
67
+ * jsonData 输入数据
68
+ * 需要查找的id
69
+ * pk 主键的名称
70
+ * childKeys返回值
71
+ */
72
+ findChildKeys: function findChildKeys(jsonData, id, pk, childKeys) {
73
+ var target = {};
74
+ this.dsFilter(jsonData, id, pk, target);
75
+
76
+ if (target && JSON.stringify(target) !== '{}') {
77
+ childKeys.push(target[pk]);
78
+
79
+ if (target.children && target.children.length) {
80
+ this.getChildKey(target.children, pk, childKeys);
81
+ }
82
+ }
83
+ },
84
+ dsFilter: function dsFilter(dealData, id, pk, target) {
85
+ for (var i = 0; i < dealData.length; i += 1) {
86
+ if (dealData[i].children && dealData[i].children.length) {
87
+ this.dsFilter(dealData[i].children, id, pk, target);
88
+ }
89
+
90
+ if (dealData[i][pk] === id) {
91
+ _extends(target, dealData[i]);
92
+ }
93
+ }
94
+ },
95
+ getChildKey: function getChildKey(dealData, pk, childKeys) {
96
+ for (var i = 0; i < dealData.length; i += 1) {
97
+ if (dealData[i].children && dealData[i].children.length) {
98
+ this.getChildKey(dealData[i].children, pk, childKeys);
99
+ }
100
+
101
+ childKeys.push(dealData[i][pk]);
102
+ }
103
+ },
104
+ listToTree: function listToTree(list) {
105
+ var map = {};
106
+ var node;
107
+ var tree = [];
108
+ var i;
109
+ var nList = [];
110
+
111
+ for (i = 0; i < list.length; i++) {
112
+ map[list[i].catgId] = list[i];
113
+ list[i].children = [];
114
+ }
115
+
116
+ for (i = 0; i < list.length; i += 1) {
117
+ node = {
118
+ title: list[i].catgName,
119
+ value: list[i].catgId,
120
+ key: list[i].catgId,
121
+ children: list[i].children
122
+ };
123
+
124
+ if (list[i].parentCatgId !== null) {
125
+ map[list[i].parentCatgId] && map[list[i].parentCatgId].children.push(node);
126
+ } else {
127
+ tree.push(node);
128
+ }
129
+ }
130
+
131
+ return tree;
132
+ }
133
+ };
134
+ exports["default"] = _default;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.formatDateTime = exports.formatDateMinute = exports.formatDate = void 0;
7
+ exports.formatDayMonth = formatDayMonth;
8
+ exports.newDate = void 0;
9
+
10
+ var _moment = _interopRequireDefault(require("moment"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+
14
+ var dateFmt = 'YYYY-MM-DD';
15
+ var timeFmt = 'YYYY-MM-DD HH:mm:ss';
16
+ var timeMinuteFmt = 'YYYY-MM-DD HH:mm';
17
+ /**
18
+ * new Date 解决ios 安卓兼容问题
19
+ * @param {*} date 时间
20
+ */
21
+
22
+ var newDate = function newDate(date) {
23
+ if (date instanceof Date) {
24
+ return date;
25
+ }
26
+
27
+ if (date) {
28
+ var reg = /^[0-9]+.?[0-9]*$/;
29
+
30
+ if (reg.test(date)) {
31
+ return new Date(Number(date));
32
+ }
33
+
34
+ return new Date(date.replace(/-/g, '/'));
35
+ }
36
+
37
+ return new Date();
38
+ };
39
+
40
+ exports.newDate = newDate;
41
+
42
+ var formatDate = function formatDate(date) {
43
+ return (0, _moment["default"])(date).format(dateFmt);
44
+ };
45
+
46
+ exports.formatDate = formatDate;
47
+
48
+ var formatDateTime = function formatDateTime(time) {
49
+ return (0, _moment["default"])(time).format(timeFmt);
50
+ };
51
+
52
+ exports.formatDateTime = formatDateTime;
53
+
54
+ var formatDateMinute = function formatDateMinute(time) {
55
+ return (0, _moment["default"])(time).format(timeMinuteFmt);
56
+ };
57
+
58
+ exports.formatDateMinute = formatDateMinute;
59
+
60
+ function formatDayMonth(date, fmt) {
61
+ if (fmt === void 0) {
62
+ fmt = 'DD MMM';
63
+ }
64
+
65
+ if (!date) {
66
+ return '';
67
+ }
68
+
69
+ return (0, _moment["default"])(newDate(date)).format(fmt);
70
+ }
@@ -0,0 +1,258 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.setStore = exports.setSessionStore = exports.setMagicStore = exports.setCache = exports.session = exports.persistence = exports.getStore = exports.getSessionStore = exports.getMagicStore = exports.getCache = exports.clearStore = exports.clearSessionStore = exports.clearMagicStore = exports.clearCache = void 0;
7
+
8
+ var _commonUtil = require("./commonUtil");
9
+
10
+ var _dateUtil = require("./dateUtil");
11
+
12
+ var debug = require('debug')('worker:store');
13
+ /** 持久化渠道 */
14
+
15
+
16
+ var CHANNEL = window.localStorage;
17
+ /** session storage */
18
+
19
+ var session = window.sessionStorage;
20
+ /**
21
+ * 设置临时缓存 window
22
+ * @param {string} key 键
23
+ * @param {any} value 值
24
+ * @param {boolean} temp 是否是临时缓存 默认 true
25
+ */
26
+
27
+ exports.session = session;
28
+
29
+ var setCache = function setCache(key, value, temp) {
30
+ if (temp === void 0) {
31
+ temp = true;
32
+ }
33
+
34
+ var _key = "_cache" + key;
35
+
36
+ window[_key] = value;
37
+ /** 临时数据清单 用于清空 */
38
+
39
+ if (temp) {
40
+ if (window._cache_list) {
41
+ window._cache_list.add(_key);
42
+ } else {
43
+ window._cache_list = new Set([_key]);
44
+ }
45
+ }
46
+ };
47
+ /**
48
+ * 清除缓存 window
49
+ * @param {string?} key 键,为空时清除所有临时缓存
50
+ */
51
+
52
+
53
+ exports.setCache = setCache;
54
+
55
+ var clearCache = function clearCache(key) {
56
+ if (key) {
57
+ var _key = "_cache" + key;
58
+
59
+ Reflect.deleteProperty(window, _key);
60
+ } else if (window._cache_list) {
61
+ window._cache_list.forEach(function (k) {
62
+ Reflect.deleteProperty(window, k);
63
+ });
64
+
65
+ window._cache_list = null;
66
+ }
67
+ };
68
+ /**
69
+ * 获取缓存 window
70
+ * @param {*} key 键
71
+ */
72
+
73
+
74
+ exports.clearCache = clearCache;
75
+
76
+ var getCache = function getCache(key) {
77
+ return window["_cache" + key] || null;
78
+ };
79
+ /**
80
+ * 获取缓存数据 localStorage
81
+ * @param {*} key
82
+ * @param {*} isJson 是否是json 默认是
83
+ */
84
+
85
+
86
+ exports.getCache = getCache;
87
+
88
+ var getStore = function getStore(key, channel) {
89
+ if (channel === void 0) {
90
+ channel = CHANNEL;
91
+ }
92
+
93
+ return (0, _commonUtil.ensure)(function () {
94
+ return JSON.parse(channel.getItem(key));
95
+ }, channel.getItem(key));
96
+ };
97
+ /**
98
+ * 设置缓存 localStorage
99
+ * @param {string} key 键
100
+ * @param {any} data 值
101
+ */
102
+
103
+
104
+ exports.getStore = getStore;
105
+
106
+ var setStore = function setStore(key, data, channel) {
107
+ if (channel === void 0) {
108
+ channel = CHANNEL;
109
+ }
110
+
111
+ if (data instanceof Object) {
112
+ channel.setItem(key, JSON.stringify(data));
113
+ } else {
114
+ channel.setItem(key, data);
115
+ }
116
+ };
117
+ /**
118
+ * 清空 localStorage
119
+ * @param {string} key 键
120
+ */
121
+
122
+
123
+ exports.setStore = setStore;
124
+
125
+ var clearStore = function clearStore(key, channel) {
126
+ if (channel === void 0) {
127
+ channel = CHANNEL;
128
+ }
129
+
130
+ if (key) {
131
+ channel.removeItem(key);
132
+ } else {
133
+ channel.clear();
134
+ }
135
+ };
136
+ /**
137
+ * 获取缓存数据 sessionStorage
138
+ * @param {*} key
139
+ * @param {*} isJson 是否是json 默认是
140
+ */
141
+
142
+
143
+ exports.clearStore = clearStore;
144
+
145
+ var getSessionStore = function getSessionStore(key) {
146
+ return getStore(key, window.sessionStorage);
147
+ };
148
+ /**
149
+ * 设置缓存 sessionStorage
150
+ * @param {string} key 键
151
+ * @param {any} data 值
152
+ */
153
+
154
+
155
+ exports.getSessionStore = getSessionStore;
156
+
157
+ var setSessionStore = function setSessionStore(key, data) {
158
+ setStore(key, data, window.sessionStorage);
159
+ };
160
+ /**
161
+ * 清空 sessionStorage
162
+ * @param {*} key 键
163
+ */
164
+
165
+
166
+ exports.setSessionStore = setSessionStore;
167
+
168
+ var clearSessionStore = function clearSessionStore(key) {
169
+ clearStore(key, window.sessionStorage);
170
+ };
171
+ /**
172
+ * 持久化方法
173
+ * @param {string} _key 键
174
+ * @param {any} state 值
175
+ * @param {array<string>} whiteList 白名单
176
+ */
177
+
178
+
179
+ exports.clearSessionStore = clearSessionStore;
180
+
181
+ var persistence = function persistence(_key, state, whiteList) {
182
+ if (whiteList === void 0) {
183
+ whiteList = [];
184
+ }
185
+ /* 持久化白名单 */
186
+
187
+
188
+ var persistenceData = {};
189
+ whiteList.forEach(function (key) {
190
+ persistenceData[key] = state[key];
191
+ });
192
+ setStore(_key, persistenceData);
193
+ };
194
+ /** 设计器定制的 一套缓存机制 */
195
+
196
+ /**
197
+ * 获取缓存数据 localStorage
198
+ * @param {*} key
199
+ * @param {*} isJson 是否是json 默认是
200
+ */
201
+ // export const getStore = key => ensure(() => JSON.parse(CHANNEL.getItem(key)), CHANNEL.getItem(key));
202
+
203
+
204
+ exports.persistence = persistence;
205
+ var localStorageKey = 'magicBoxCache';
206
+ /** 清楚缓存 */
207
+
208
+ var clearMagicStore = function clearMagicStore() {
209
+ clearStore(localStorageKey);
210
+ };
211
+ /**
212
+ * 设置缓存 localStorage
213
+ * @param {string} key 键
214
+ * @param {any} data 值
215
+ */
216
+
217
+
218
+ exports.clearMagicStore = clearMagicStore;
219
+
220
+ var setMagicStore = function setMagicStore(key, data) {
221
+ try {
222
+ var localStore = getStore(localStorageKey) || {
223
+ date: (0, _dateUtil.formatDate)(),
224
+ data: {}
225
+ };
226
+ localStore.data[key] = data;
227
+ setStore(localStorageKey, localStore);
228
+ } catch (error) {
229
+ debug(error);
230
+ clearMagicStore();
231
+ }
232
+ };
233
+ /** 获取设计器缓存 */
234
+
235
+
236
+ exports.setMagicStore = setMagicStore;
237
+
238
+ var getMagicStore = function getMagicStore(key) {
239
+ try {
240
+ var localStore = getStore(localStorageKey) || {
241
+ date: (0, _dateUtil.formatDate)(),
242
+ data: {}
243
+ };
244
+
245
+ if (localStore.date !== (0, _dateUtil.formatDate)()) {
246
+ throw new Error('清除设计器缓存');
247
+ }
248
+
249
+ return localStore.data[key];
250
+ } catch (error) {
251
+ debug(error);
252
+ clearMagicStore();
253
+ }
254
+
255
+ return null;
256
+ };
257
+
258
+ exports.getMagicStore = getMagicStore;