@fonixtree/magic-design 2.0.160 → 2.0.162

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 (883) hide show
  1. package/package.json +2 -4
  2. package/es/assets/fonts/.DS_Store +0 -0
  3. package/lib/assets/fonts/.DS_Store +0 -0
  4. package/lib/assets/fonts/Inter-Bold.ttf +0 -0
  5. package/lib/assets/fonts/Inter-Regular.ttf +0 -0
  6. package/lib/assets/fonts/Inter-SemiBold.ttf +0 -0
  7. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  8. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  9. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  10. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  11. package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
  12. package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
  13. package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  14. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  15. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  16. package/lib/assets/fonts/TruenoBd.otf +0 -0
  17. package/lib/assets/fonts/magic-box-iconfont.css +0 -603
  18. package/lib/assets/fonts/magic-box-iconfont.css.bak +0 -587
  19. package/lib/assets/fonts/magic-box-iconfont.js +0 -1
  20. package/lib/assets/fonts/magic-box-iconfont.js.bak +0 -1
  21. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  22. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  23. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  24. package/lib/assets/images/base64/index.js +0 -46
  25. package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  26. package/lib/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
  27. package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  28. package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
  29. package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
  30. package/lib/assets/images/layout-icon/carouselLayout3.png +0 -0
  31. package/lib/assets/images/layout-icon/dividerLayout.svg +0 -4
  32. package/lib/assets/images/layout-icon/flash-deal-layout1.png +0 -0
  33. package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
  34. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  35. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  36. package/lib/assets/images/layout-icon/imageTextLeft.svg +0 -6
  37. package/lib/assets/images/layout-icon/imageTextRight.svg +0 -6
  38. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  39. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  40. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  41. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  42. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
  43. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
  44. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  45. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  46. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  47. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  48. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  49. package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
  50. package/lib/assets/images/layout-icon/layout-navigation-normal.png +0 -0
  51. package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
  52. package/lib/assets/images/layout-icon/layout-recommend-1.png +0 -0
  53. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  54. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  55. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  56. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  57. package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  58. package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  59. package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  60. package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  61. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  62. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  63. package/lib/assets/images/layout-icon/layout-video-h5-2.png +0 -0
  64. package/lib/assets/images/layout-icon/layout-video-h5-3.png +0 -0
  65. package/lib/assets/images/layout-icon/layout-video-pc-1.png +0 -0
  66. package/lib/assets/images/layout-icon/layout-video-pc-2.png +0 -0
  67. package/lib/assets/images/layout-icon/layout-video-pc-3.png +0 -0
  68. package/lib/assets/images/layout-icon/layout-video-pc-4.png +0 -0
  69. package/lib/assets/images/layout-icon/layout-video-pc-5.png +0 -0
  70. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  71. package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  72. package/lib/assets/images/layout-icon/newsletter.svg +0 -7
  73. package/lib/assets/images/layout-icon/walletLayout1.png +0 -0
  74. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  75. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  76. package/lib/assets/less/button.less +0 -37
  77. package/lib/assets/less/common.less +0 -82
  78. package/lib/assets/less/cylon-antd.less +0 -32456
  79. package/lib/assets/less/datepicker.less +0 -13
  80. package/lib/assets/less/font.less +0 -91
  81. package/lib/assets/less/form.less +0 -10
  82. package/lib/assets/less/global.less +0 -8
  83. package/lib/assets/less/index.less +0 -13
  84. package/lib/assets/less/input.less +0 -26
  85. package/lib/assets/less/menu.less +0 -24
  86. package/lib/assets/less/modal.less +0 -25
  87. package/lib/assets/less/select.less +0 -32
  88. package/lib/assets/less/slider.less +0 -69
  89. package/lib/assets/less/switch.less +0 -20
  90. package/lib/assets/less/table.less +0 -52
  91. package/lib/assets/less/variables.less +0 -4
  92. package/lib/common/AffiliateProductModal/index.js +0 -582
  93. package/lib/common/AffiliateProductModal/index.less +0 -146
  94. package/lib/common/AlignSelector/index.js +0 -120
  95. package/lib/common/AlignSelector/index.less +0 -28
  96. package/lib/common/Button/index.js +0 -135
  97. package/lib/common/Button/index.less +0 -72
  98. package/lib/common/ButtonIconLayout/index.js +0 -105
  99. package/lib/common/ButtonIconLayout/index.less +0 -55
  100. package/lib/common/CardCarousel/index.js +0 -171
  101. package/lib/common/CardCarousel/index.less +0 -28
  102. package/lib/common/Carousel/index.js +0 -69
  103. package/lib/common/Carousel/index.less +0 -0
  104. package/lib/common/Collapse/index.js +0 -404
  105. package/lib/common/Collapse/index.less +0 -100
  106. package/lib/common/ColorPicker/imgs/no-color.png +0 -0
  107. package/lib/common/ColorPicker/index.js +0 -134
  108. package/lib/common/ColorPicker/index.less +0 -26
  109. package/lib/common/ColorPickerInput/imgs/code.png +0 -0
  110. package/lib/common/ColorPickerInput/index.js +0 -116
  111. package/lib/common/ColorPickerInput/index.less +0 -50
  112. package/lib/common/CountDown/index.js +0 -160
  113. package/lib/common/CountDown/index.less +0 -23
  114. package/lib/common/CropperModal/index.js +0 -126
  115. package/lib/common/CropperModal/index.less +0 -29
  116. package/lib/common/Field/index.js +0 -97
  117. package/lib/common/Field/index.less +0 -37
  118. package/lib/common/FontStyles/index.js +0 -197
  119. package/lib/common/FontStyles/index.less +0 -62
  120. package/lib/common/GroupList/defaultImg.png +0 -0
  121. package/lib/common/GroupList/index.js +0 -216
  122. package/lib/common/GroupList/index.less +0 -88
  123. package/lib/common/IconPicker/index.js +0 -147
  124. package/lib/common/IconPicker/index.less +0 -46
  125. package/lib/common/Iconfont/index.js +0 -151
  126. package/lib/common/Iconfont/index.less +0 -20
  127. package/lib/common/ImageLazy/index.js +0 -172
  128. package/lib/common/ImageLazy/index.less +0 -0
  129. package/lib/common/ImageModal/CommonModal/const.js +0 -22
  130. package/lib/common/ImageModal/CommonModal/index.js +0 -48
  131. package/lib/common/ImageModal/CommonSelPicCard/index.js +0 -80
  132. package/lib/common/ImageModal/CommonSelPicCard/index.less +0 -40
  133. package/lib/common/ImageModal/const.js +0 -24
  134. package/lib/common/ImageModal/index.js +0 -825
  135. package/lib/common/ImageModal/index.less +0 -34
  136. package/lib/common/ImageModal/utils.js +0 -609
  137. package/lib/common/ImagePicker/index.js +0 -315
  138. package/lib/common/ImagePicker/index.less +0 -206
  139. package/lib/common/ImgArea/components/Crop.js +0 -270
  140. package/lib/common/ImgArea/components/Icons.js +0 -44
  141. package/lib/common/ImgArea/components/MultiCrops.js +0 -217
  142. package/lib/common/ImgArea/index.js +0 -11
  143. package/lib/common/InputNumber/index.js +0 -91
  144. package/lib/common/InputNumber/index.less +0 -38
  145. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  146. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  147. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  148. package/lib/common/LayoutSelector/index.js +0 -111
  149. package/lib/common/LayoutSelector/index.less +0 -37
  150. package/lib/common/LinkModal/AffiliatePlatform/index.js +0 -325
  151. package/lib/common/LinkModal/AffiliateProductTable/index.js +0 -347
  152. package/lib/common/LinkModal/AffiliateStore/index.js +0 -331
  153. package/lib/common/LinkModal/BundleCampaign/index.js +0 -413
  154. package/lib/common/LinkModal/BundleCampaign/index.less +0 -22
  155. package/lib/common/LinkModal/CatgTable/index.js +0 -245
  156. package/lib/common/LinkModal/CouponTable/index.js +0 -316
  157. package/lib/common/LinkModal/CustomTable/index.js +0 -240
  158. package/lib/common/LinkModal/FilteredProductModal/index.js +0 -692
  159. package/lib/common/LinkModal/FilteredProductModal/index.less +0 -129
  160. package/lib/common/LinkModal/FunctionTable/index.js +0 -236
  161. package/lib/common/LinkModal/InterestedMerchants/index.js +0 -325
  162. package/lib/common/LinkModal/InterestedProducts/index.js +0 -325
  163. package/lib/common/LinkModal/MerchantStory/index.js +0 -327
  164. package/lib/common/LinkModal/MiniAppApi/const.js +0 -637
  165. package/lib/common/LinkModal/MiniAppApi/index.js +0 -63
  166. package/lib/common/LinkModal/MiniAppTable/index.js +0 -252
  167. package/lib/common/LinkModal/MissionDetail/index.js +0 -318
  168. package/lib/common/LinkModal/ProductDetailPage/index.js +0 -566
  169. package/lib/common/LinkModal/ProductDetailPage/index.less +0 -15
  170. package/lib/common/LinkModal/SelectVideoModal/index.js +0 -214
  171. package/lib/common/LinkModal/SelectVideoModal/index.less +0 -113
  172. package/lib/common/LinkModal/ShareUrl/index.js +0 -35
  173. package/lib/common/LinkModal/ShareUrl/index.less +0 -3
  174. package/lib/common/LinkModal/StoreCatgTable/index.js +0 -245
  175. package/lib/common/LinkModal/StoreTable/index.js +0 -327
  176. package/lib/common/LinkModal/index.js +0 -464
  177. package/lib/common/LinkModal/index.less +0 -137
  178. package/lib/common/MagicLink/index.js +0 -89
  179. package/lib/common/MagicLink/index.less +0 -0
  180. package/lib/common/MessageModal/index.js +0 -73
  181. package/lib/common/MessageModal/index.less +0 -86
  182. package/lib/common/MonpayCountDown/index.js +0 -160
  183. package/lib/common/MyModal/index.js +0 -417
  184. package/lib/common/MyModal/index.less +0 -74
  185. package/lib/common/NewImg/index.js +0 -165
  186. package/lib/common/NewImg/index.less +0 -0
  187. package/lib/common/PopUpModal/index.js +0 -143
  188. package/lib/common/PopUpModal/index.less +0 -93
  189. package/lib/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
  190. package/lib/common/ProductFilterModal/components/FilterSearchModal/index.js +0 -241
  191. package/lib/common/ProductFilterModal/components/FilterSearchModal/index.less +0 -144
  192. package/lib/common/ProductFilterModal/index.js +0 -362
  193. package/lib/common/ProductFilterModal/index.less +0 -113
  194. package/lib/common/ProductModal/SortableImageList/index.js +0 -118
  195. package/lib/common/ProductModal/SortableImageList/index.less +0 -3
  196. package/lib/common/ProductModal/index.js +0 -847
  197. package/lib/common/ProductModal/index.less +0 -152
  198. package/lib/common/ProductSource/index.js +0 -346
  199. package/lib/common/ProductSource/index.less +0 -14
  200. package/lib/common/RatingText/index.js +0 -105
  201. package/lib/common/RatingText/index.less +0 -12
  202. package/lib/common/RcCollapse/Collapse.js +0 -240
  203. package/lib/common/RcCollapse/Panel.js +0 -193
  204. package/lib/common/RcCollapse/PanelContent.js +0 -59
  205. package/lib/common/RcCollapse/index.js +0 -15
  206. package/lib/common/RcCollapse/index.less +0 -108
  207. package/lib/common/RcCollapse/interface.js +0 -1
  208. package/lib/common/RcCollapse/motion.less +0 -12
  209. package/lib/common/RcCollapse/motionUtil.js +0 -44
  210. package/lib/common/Slider/index.js +0 -151
  211. package/lib/common/Slider/index.less +0 -45
  212. package/lib/common/SwiperBan/index.js +0 -94
  213. package/lib/common/SwiperBan/index.less +0 -25
  214. package/lib/common/SwitchCollapse/index.js +0 -220
  215. package/lib/common/SwitchCollapse/index.less +0 -40
  216. package/lib/common/SystemNotification/Confirm/index.js +0 -263
  217. package/lib/common/SystemNotification/Confirm/index.less +0 -33
  218. package/lib/common/SystemNotification/index.js +0 -115
  219. package/lib/common/Tag/index.js +0 -46
  220. package/lib/common/Tag/index.less +0 -16
  221. package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
  222. package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
  223. package/lib/common/UrlPicker/index.js +0 -182
  224. package/lib/common/UrlPicker/index.less +0 -86
  225. package/lib/common/Video/QualityComponent/index.js +0 -169
  226. package/lib/common/Video/QualityComponent/index.less +0 -78
  227. package/lib/common/Video/RateComponent/index.js +0 -100
  228. package/lib/common/Video/RateComponent/index.less +0 -62
  229. package/lib/common/Video/background.png +0 -0
  230. package/lib/common/Video/closeImg.png +0 -0
  231. package/lib/common/Video/cover.png +0 -0
  232. package/lib/common/Video/index.js +0 -804
  233. package/lib/common/Video/index.less +0 -70
  234. package/lib/common/VideoUpload/index.js +0 -157
  235. package/lib/common/VideoUpload/index.less +0 -114
  236. package/lib/common/VideoUpload/video-upload-icon.png +0 -0
  237. package/lib/common/index.js +0 -231
  238. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +0 -277
  239. package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
  240. package/lib/composite-comp/bol/components/Banner/index.js +0 -103
  241. package/lib/composite-comp/bol/components/Banner/mobile/index.js +0 -305
  242. package/lib/composite-comp/bol/components/Banner/mobile/index.less +0 -58
  243. package/lib/composite-comp/bol/components/Banner/pc/index.js +0 -357
  244. package/lib/composite-comp/bol/components/Banner/pc/index.less +0 -91
  245. package/lib/composite-comp/bol/components/Button/defaultJSON.js +0 -94
  246. package/lib/composite-comp/bol/components/Button/index.js +0 -122
  247. package/lib/composite-comp/bol/components/Button/index.less +0 -47
  248. package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +0 -291
  249. package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
  250. package/lib/composite-comp/bol/components/Carousel/imgs/pcDefImg1.png +0 -0
  251. package/lib/composite-comp/bol/components/Carousel/index.js +0 -112
  252. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +0 -309
  253. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +0 -84
  254. package/lib/composite-comp/bol/components/Carousel/pc/index.js +0 -362
  255. package/lib/composite-comp/bol/components/Carousel/pc/index.less +0 -117
  256. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +0 -39
  257. package/lib/composite-comp/bol/components/CustomCode/index.js +0 -138
  258. package/lib/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
  259. package/lib/composite-comp/bol/components/Divider/index.js +0 -103
  260. package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -83
  261. package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
  262. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg1.png +0 -0
  263. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg2.png +0 -0
  264. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg3.png +0 -0
  265. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg4.png +0 -0
  266. package/lib/composite-comp/bol/components/ImageGallery/imgs/defImg5.png +0 -0
  267. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg1.png +0 -0
  268. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg2.png +0 -0
  269. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg3.png +0 -0
  270. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg4.png +0 -0
  271. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg5.png +0 -0
  272. package/lib/composite-comp/bol/components/ImageGallery/imgs/pcDefImg6.png +0 -0
  273. package/lib/composite-comp/bol/components/ImageGallery/index.js +0 -88
  274. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -165
  275. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -15
  276. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +0 -185
  277. package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +0 -23
  278. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +0 -431
  279. package/lib/composite-comp/bol/components/ImageText/index.js +0 -88
  280. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +0 -243
  281. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +0 -234
  282. package/lib/composite-comp/bol/components/ImageText/pc/index.js +0 -338
  283. package/lib/composite-comp/bol/components/ImageText/pc/index.less +0 -150
  284. package/lib/composite-comp/bol/components/Location/defaultJSON.js +0 -60
  285. package/lib/composite-comp/bol/components/Location/index.js +0 -102
  286. package/lib/composite-comp/bol/components/Location/index.less +0 -15
  287. package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -149
  288. package/lib/composite-comp/bol/components/Newsletter/index.js +0 -141
  289. package/lib/composite-comp/bol/components/Newsletter/index.less +0 -75
  290. package/lib/composite-comp/bol/components/Tag/defaultJSON.js +0 -115
  291. package/lib/composite-comp/bol/components/Tag/index.js +0 -127
  292. package/lib/composite-comp/bol/components/Tag/index.less +0 -35
  293. package/lib/composite-comp/bol/components/Text/defaultJSON.js +0 -151
  294. package/lib/composite-comp/bol/components/Text/index.js +0 -161
  295. package/lib/composite-comp/bol/components/Text/index.less +0 -58
  296. package/lib/composite-comp/bol/components/Text/slice.svg +0 -1
  297. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/arrow-right.png +0 -0
  298. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/facebook-icon.png +0 -0
  299. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/link-icon.png +0 -0
  300. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/linked-in-icon.png +0 -0
  301. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/twitter-icon.png +0 -0
  302. package/lib/composite-comp/bol/components/Video/components/ShareBtn/imgs/video-share.png +0 -0
  303. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.js +0 -163
  304. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +0 -51
  305. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +0 -184
  306. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +0 -88
  307. package/lib/composite-comp/bol/components/Video/defaultJSON.js +0 -239
  308. package/lib/composite-comp/bol/components/Video/imgs/banner.png +0 -0
  309. package/lib/composite-comp/bol/components/Video/imgs/play-circle.png +0 -0
  310. package/lib/composite-comp/bol/components/Video/index.js +0 -110
  311. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +0 -186
  312. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +0 -24
  313. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +0 -226
  314. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +0 -40
  315. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +0 -194
  316. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +0 -46
  317. package/lib/composite-comp/bol/components/Video/mobile/index.js +0 -79
  318. package/lib/composite-comp/bol/components/Video/mobile/index.less +0 -3
  319. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +0 -186
  320. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +0 -40
  321. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +0 -243
  322. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +0 -68
  323. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +0 -188
  324. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +0 -41
  325. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +0 -196
  326. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +0 -54
  327. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +0 -196
  328. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +0 -52
  329. package/lib/composite-comp/bol/components/Video/pc/index.js +0 -139
  330. package/lib/composite-comp/bol/components/Video/pc/index.less +0 -4
  331. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +0 -248
  332. package/lib/composite-comp/bol/components/Wallet/index.js +0 -84
  333. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +0 -613
  334. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +0 -103
  335. package/lib/composite-comp/bol/components/Wallet/pc/index.js +0 -359
  336. package/lib/composite-comp/bol/components/Wallet/pc/index.less +0 -1
  337. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
  338. package/lib/composite-comp/bol/components/WalletNuri/index.js +0 -84
  339. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -370
  340. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
  341. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -160
  342. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
  343. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -228
  344. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
  345. package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +0 -48
  346. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +0 -143
  347. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +0 -16
  348. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
  349. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  350. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
  351. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -69
  352. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -148
  353. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
  354. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -201
  355. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
  356. package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
  357. package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -71
  358. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +0 -42
  359. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +0 -111
  360. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -100
  361. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
  362. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -179
  363. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -91
  364. package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +0 -59
  365. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -148
  366. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
  367. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
  368. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -75
  369. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -146
  370. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -198
  371. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +0 -149
  372. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -113
  373. package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -59
  374. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -101
  375. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +0 -143
  376. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +0 -16
  377. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
  378. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  379. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  380. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -64
  381. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -101
  382. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
  383. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -142
  384. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
  385. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
  386. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  387. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -71
  388. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +0 -137
  389. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.less +0 -16
  390. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +0 -131
  391. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.less +0 -9
  392. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +0 -168
  393. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.js +0 -93
  394. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent/index.less +0 -0
  395. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +0 -145
  396. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  397. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
  398. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
  399. package/lib/composite-comp/bol/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  400. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +0 -77
  401. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  402. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
  403. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
  404. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
  405. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  406. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  407. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +0 -61
  408. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -153
  409. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
  410. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +0 -103
  411. package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +0 -3
  412. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -340
  413. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -183
  414. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -304
  415. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +0 -8
  416. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.js +0 -103
  417. package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +0 -3
  418. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -105
  419. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
  420. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -93
  421. package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
  422. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +0 -377
  423. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.less +0 -79
  424. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
  425. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +0 -188
  426. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -9
  427. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
  428. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
  429. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
  430. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +0 -181
  431. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +0 -159
  432. package/lib/composite-comp/common/components/ImageLabel/index.js +0 -90
  433. package/lib/composite-comp/common/components/ImageLabel/index.less +0 -51
  434. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange-big.png +0 -0
  435. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-orange.png +0 -0
  436. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red-big.png +0 -0
  437. package/lib/composite-comp/common/components/MonpayProductItem/imgs/coupon-red.png +0 -0
  438. package/lib/composite-comp/common/components/MonpayProductItem/index.js +0 -288
  439. package/lib/composite-comp/common/components/MonpayProductItem/index.less +0 -278
  440. package/lib/composite-comp/common/components/ProductItem/index.js +0 -268
  441. package/lib/composite-comp/common/components/ProductItem/index.less +0 -196
  442. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -119
  443. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -316
  444. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -27
  445. package/lib/composite-comp/common/config-panels/InputField/index.js +0 -195
  446. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -184
  447. package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
  448. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +0 -244
  449. package/lib/composite-comp/dito/components/Bargain/index.js +0 -86
  450. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  451. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  452. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  453. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  454. package/lib/composite-comp/dito/components/Bargain/mobile/index.js +0 -373
  455. package/lib/composite-comp/dito/components/Bargain/mobile/index.less +0 -85
  456. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
  457. package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
  458. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
  459. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
  460. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -248
  461. package/lib/composite-comp/dito/components/FlashDeal/index.js +0 -100
  462. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg.png +0 -0
  463. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
  464. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
  465. package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
  466. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -456
  467. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -117
  468. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg.png +0 -0
  469. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  470. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  471. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  472. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +0 -568
  473. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +0 -122
  474. package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -228
  475. package/lib/composite-comp/dito/components/GroupBuy/index.js +0 -86
  476. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
  477. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
  478. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
  479. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
  480. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +0 -341
  481. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +0 -87
  482. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
  483. package/lib/composite-comp/dito/components/HeadNavigation/index.js +0 -84
  484. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -114
  485. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
  486. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
  487. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -27
  488. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
  489. package/lib/composite-comp/dito/components/MenuNavigation/index.js +0 -84
  490. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
  491. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
  492. package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +0 -93
  493. package/lib/composite-comp/dito/components/MobileNavigation/index.js +0 -84
  494. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -137
  495. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +0 -21
  496. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
  497. package/lib/composite-comp/dito/components/Orders/index.js +0 -84
  498. package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -352
  499. package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  500. package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +0 -133
  501. package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +0 -6
  502. package/lib/composite-comp/dito/components/PcNavigation/index.js +0 -84
  503. package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +0 -491
  504. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +0 -127
  505. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
  506. package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
  507. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  508. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -594
  509. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -136
  510. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +0 -312
  511. package/lib/composite-comp/dito/components/Recommend/index.js +0 -90
  512. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
  513. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
  514. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
  515. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +0 -700
  516. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +0 -76
  517. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
  518. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
  519. package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
  520. package/lib/composite-comp/dito/components/Recommend/pc/index.js +0 -763
  521. package/lib/composite-comp/dito/components/Recommend/pc/index.less +0 -124
  522. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -110
  523. package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
  524. package/lib/composite-comp/dito/components/SearchBar/imgs/xt-logo.png +0 -0
  525. package/lib/composite-comp/dito/components/SearchBar/index.js +0 -91
  526. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +0 -455
  527. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -65
  528. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +0 -235
  529. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +0 -65
  530. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +0 -83
  531. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  532. package/lib/composite-comp/dito/components/SignBoard/imgs/star.svg +0 -4
  533. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  534. package/lib/composite-comp/dito/components/SignBoard/index.js +0 -91
  535. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +0 -409
  536. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -64
  537. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +0 -413
  538. package/lib/composite-comp/dito/components/SignBoard/pc/index.less +0 -158
  539. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +0 -157
  540. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +0 -20
  541. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +0 -126
  542. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  543. package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  544. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +0 -73
  545. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
  546. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
  547. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -157
  548. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -20
  549. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -135
  550. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
  551. package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
  552. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -69
  553. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +0 -170
  554. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +0 -40
  555. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +0 -103
  556. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
  557. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +0 -73
  558. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
  559. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
  560. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
  561. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
  562. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
  563. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
  564. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
  565. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
  566. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
  567. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
  568. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +0 -149
  569. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +0 -182
  570. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
  571. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
  572. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +0 -129
  573. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +0 -128
  574. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +0 -224
  575. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +0 -191
  576. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
  577. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
  578. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -120
  579. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
  580. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -149
  581. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
  582. package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
  583. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -141
  584. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +0 -227
  585. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +0 -7
  586. package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -105
  587. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -104
  588. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +0 -101
  589. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
  590. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
  591. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
  592. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +0 -178
  593. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
  594. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  595. package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +0 -102
  596. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
  597. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
  598. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +0 -431
  599. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -258
  600. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -15
  601. package/lib/composite-comp/monpay/components/Bundle/defaultJSON.js +0 -73
  602. package/lib/composite-comp/monpay/components/Bundle/index.js +0 -86
  603. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.js +0 -113
  604. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +0 -113
  605. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.js +0 -61
  606. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +0 -67
  607. package/lib/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
  608. package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +0 -499
  609. package/lib/composite-comp/monpay/components/Bundle/mobile/index.less +0 -7
  610. package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +0 -80
  611. package/lib/composite-comp/monpay/components/InterestProducts/index.js +0 -86
  612. package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +0 -167
  613. package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +0 -154
  614. package/lib/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
  615. package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +0 -378
  616. package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.less +0 -21
  617. package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +0 -96
  618. package/lib/composite-comp/monpay/components/MerchantSales/index.js +0 -86
  619. package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.js +0 -124
  620. package/lib/composite-comp/monpay/components/MerchantSales/mobile/StoreItem/index.less +0 -34
  621. package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/card.png +0 -0
  622. package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/sale.png +0 -0
  623. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +0 -308
  624. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +0 -14
  625. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +0 -212
  626. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +0 -21
  627. package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +0 -324
  628. package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +0 -90
  629. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
  630. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
  631. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
  632. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
  633. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +0 -464
  634. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +0 -102
  635. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  636. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  637. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  638. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  639. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
  640. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
  641. package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +0 -388
  642. package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +0 -90
  643. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +0 -166
  644. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +0 -50
  645. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/card.png +0 -0
  646. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/emptyImg.png +0 -0
  647. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +0 -893
  648. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -84
  649. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
  650. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
  651. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
  652. package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +0 -113
  653. package/lib/composite-comp/monpay/components/MonpaySignBoard/index.js +0 -86
  654. package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.js +0 -442
  655. package/lib/composite-comp/monpay/components/MonpaySignBoard/mobile/index.less +0 -107
  656. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +0 -114
  657. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +0 -41
  658. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +0 -95
  659. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +0 -7
  660. package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
  661. package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +0 -73
  662. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +0 -114
  663. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +0 -41
  664. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +0 -101
  665. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +0 -7
  666. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
  667. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +0 -73
  668. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +0 -112
  669. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +0 -41
  670. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +0 -95
  671. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +0 -7
  672. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
  673. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +0 -73
  674. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +0 -178
  675. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +0 -41
  676. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +0 -171
  677. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +0 -7
  678. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
  679. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +0 -73
  680. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +0 -131
  681. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
  682. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +0 -149
  683. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +0 -16
  684. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +0 -93
  685. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
  686. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
  687. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +0 -150
  688. package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/ConfigContent/index.js +0 -155
  689. package/lib/composite-comp/monpay/config-panels/MonpaySignBoardConfig/index.js +0 -104
  690. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +0 -435
  691. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +0 -258
  692. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +0 -15
  693. package/lib/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +0 -243
  694. package/lib/composite-comp/nuri/components/AffiliateRecommend/index.js +0 -90
  695. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +0 -662
  696. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +0 -84
  697. package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.js +0 -730
  698. package/lib/composite-comp/nuri/components/AffiliateRecommend/pc/index.less +0 -124
  699. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
  700. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  701. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
  702. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
  703. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  704. package/lib/composite-comp/nuri/config-panels/AffiliateRecommendConfig/index.js +0 -141
  705. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
  706. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
  707. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
  708. package/lib/constants/component-types.js +0 -205
  709. package/lib/constants/index.js +0 -410
  710. package/lib/constants/layout.js +0 -374
  711. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  712. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  713. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  714. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  715. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +0 -74
  716. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +0 -41
  717. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +0 -43
  718. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +0 -3
  719. package/lib/core/Designer/AiImageGenerator/History/index.js +0 -149
  720. package/lib/core/Designer/AiImageGenerator/History/index.less +0 -75
  721. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +0 -31
  722. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +0 -8
  723. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +0 -57
  724. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +0 -45
  725. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  726. package/lib/core/Designer/AiImageGenerator/index.js +0 -754
  727. package/lib/core/Designer/AiImageGenerator/index.less +0 -136
  728. package/lib/core/Designer/AppointmentModal/index.js +0 -87
  729. package/lib/core/Designer/AppointmentModal/index.less +0 -23
  730. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +0 -49
  731. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  732. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -130
  733. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
  734. package/lib/core/Designer/ChatRobot/index.js +0 -412
  735. package/lib/core/Designer/ChatRobot/index.less +0 -179
  736. package/lib/core/Designer/ChatRobot/markdown.less +0 -1
  737. package/lib/core/Designer/CompListPanel/CompCard/index.js +0 -50
  738. package/lib/core/Designer/CompListPanel/CompCard/index.less +0 -69
  739. package/lib/core/Designer/CompListPanel/index.js +0 -149
  740. package/lib/core/Designer/CompListPanel/index.less +0 -69
  741. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +0 -76
  742. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +0 -29
  743. package/lib/core/Designer/ConfigPanel/index.js +0 -396
  744. package/lib/core/Designer/ConfigPanel/index.less +0 -148
  745. package/lib/core/Designer/FonixtreeGpt/index.js +0 -353
  746. package/lib/core/Designer/History/index.js +0 -97
  747. package/lib/core/Designer/LeftTitle/index.js +0 -66
  748. package/lib/core/Designer/LeftTitle/index.less +0 -9
  749. package/lib/core/Designer/PageCompList/index.js +0 -331
  750. package/lib/core/Designer/PageCompList/index.less +0 -139
  751. package/lib/core/Designer/QuickMenuBar/index.js +0 -301
  752. package/lib/core/Designer/QuickMenuBar/index.less +0 -125
  753. package/lib/core/Designer/RenderHtml/index.js +0 -102
  754. package/lib/core/Designer/RenderHtml/index.less +0 -5
  755. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +0 -99
  756. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +0 -54
  757. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +0 -40
  758. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +0 -40
  759. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +0 -40
  760. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +0 -96
  761. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +0 -26
  762. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +0 -101
  763. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +0 -60
  764. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +0 -52
  765. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +0 -51
  766. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +0 -58
  767. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +0 -117
  768. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +0 -10
  769. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
  770. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
  771. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +0 -136
  772. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +0 -27
  773. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +0 -101
  774. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +0 -39
  775. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +0 -93
  776. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +0 -26
  777. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +0 -133
  778. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +0 -60
  779. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +0 -46
  780. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +0 -46
  781. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +0 -46
  782. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +0 -46
  783. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +0 -46
  784. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +0 -46
  785. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +0 -126
  786. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +0 -10
  787. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
  788. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
  789. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
  790. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +0 -29
  791. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +0 -29
  792. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +0 -49
  793. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +0 -29
  794. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +0 -26
  795. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +0 -27
  796. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +0 -31
  797. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +0 -36
  798. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +0 -41
  799. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +0 -176
  800. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +0 -26
  801. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +0 -1
  802. package/lib/core/Designer/ToolBarModal/index.js +0 -416
  803. package/lib/core/Designer/ToolBarModal/index.less +0 -33
  804. package/lib/core/Designer/ViewArea/index.js +0 -195
  805. package/lib/core/Designer/ViewArea/index.less +0 -89
  806. package/lib/core/Designer/index.js +0 -852
  807. package/lib/core/Designer/index.less +0 -6
  808. package/lib/core/Renderer/index.js +0 -206
  809. package/lib/core/SelectUrl/index.js +0 -35
  810. package/lib/decorator/compositeDecorator.js +0 -303
  811. package/lib/decorator/index.js +0 -71
  812. package/lib/decorator/lazyLoadDecorator.js +0 -75
  813. package/lib/decorator/metaDecorator.js +0 -245
  814. package/lib/decorator/updateConfigDecorator.js +0 -76
  815. package/lib/locale/en/en.json +0 -346
  816. package/lib/locale/es/es.json +0 -346
  817. package/lib/locale/index.js +0 -50
  818. package/lib/locale/mn/mn.json +0 -346
  819. package/lib/meta-comp/components/Button/editable.js +0 -123
  820. package/lib/meta-comp/components/Button/editable.less +0 -6
  821. package/lib/meta-comp/components/Button/index.js +0 -183
  822. package/lib/meta-comp/components/Button/index.less +0 -21
  823. package/lib/meta-comp/components/Image/image/default-img.png +0 -0
  824. package/lib/meta-comp/components/Image/image/h5DefImg.png +0 -0
  825. package/lib/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
  826. package/lib/meta-comp/components/Image/image/h5Img.png +0 -0
  827. package/lib/meta-comp/components/Image/image/pcDefImg.png +0 -0
  828. package/lib/meta-comp/components/Image/image/pcImg.png +0 -0
  829. package/lib/meta-comp/components/Image/index.js +0 -266
  830. package/lib/meta-comp/components/Image/index.less +0 -25
  831. package/lib/meta-comp/components/Text/formats/fontFamily.js +0 -58
  832. package/lib/meta-comp/components/Text/formats/fontStyle.js +0 -58
  833. package/lib/meta-comp/components/Text/formats/fontWeight.js +0 -58
  834. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +0 -58
  835. package/lib/meta-comp/components/Text/formats/textAlign.js +0 -58
  836. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +0 -58
  837. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +0 -58
  838. package/lib/meta-comp/components/Text/index.js +0 -308
  839. package/lib/meta-comp/components/Text/index.less +0 -103
  840. package/lib/meta-comp/components/index.js +0 -31
  841. package/lib/meta-comp/config-panels/BaseConfig.js +0 -85
  842. package/lib/meta-comp/config-panels/ButtonConfig/index.js +0 -401
  843. package/lib/meta-comp/config-panels/ButtonConfig/index.less +0 -4
  844. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +0 -164
  845. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +0 -26
  846. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +0 -133
  847. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +0 -17
  848. package/lib/meta-comp/config-panels/ImageConfig/index.js +0 -450
  849. package/lib/meta-comp/config-panels/ImageConfig/index.less +0 -16
  850. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +0 -4
  851. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +0 -4
  852. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +0 -4
  853. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +0 -4
  854. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +0 -3
  855. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +0 -4
  856. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +0 -4
  857. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +0 -4
  858. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +0 -4
  859. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +0 -3
  860. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +0 -63
  861. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +0 -211
  862. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +0 -39
  863. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +0 -100
  864. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +0 -25
  865. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.js +0 -92
  866. package/lib/meta-comp/config-panels/TextConfig/TextLabel/index.less +0 -25
  867. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +0 -108
  868. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +0 -26
  869. package/lib/meta-comp/config-panels/TextConfig/index.js +0 -385
  870. package/lib/meta-comp/config-panels/TextConfig/index.less +0 -22
  871. package/lib/mobx/Frame.js +0 -85
  872. package/lib/mobx/Store.js +0 -99
  873. package/lib/mobx/UserState.js +0 -144
  874. package/lib/mobx/index.js +0 -48
  875. package/lib/utils/androidUtil.js +0 -150
  876. package/lib/utils/businessUtil.js +0 -563
  877. package/lib/utils/commonUtil.js +0 -1116
  878. package/lib/utils/compJsonUtil.js +0 -240
  879. package/lib/utils/coreUtil.js +0 -482
  880. package/lib/utils/currencyUtil.js +0 -229
  881. package/lib/utils/dataTreeUtils.js +0 -134
  882. package/lib/utils/dateUtil.js +0 -83
  883. package/lib/utils/storeUtil.js +0 -258
@@ -1,229 +0,0 @@
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, initPercision) {
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 newPercision = initPercision || precision;
92
- var numVal = num;
93
-
94
- if (Number.isNaN(num) || !Number.isFinite(num)) {
95
- numVal = 0;
96
- }
97
-
98
- if (newPercision <= 0) {
99
- return addSeparators(numVal, ',', '.');
100
- }
101
-
102
- var displayNum = displayPrecision != null && displayPrecision !== '' ? displayPrecision : precision;
103
- var ret = numVal / Math.pow(10, newPercision);
104
- return addSeparators(ret.toFixed(displayNum), pricePrefix === "IDR" || pricePrefix === "Rp" ? '.' : ',', '.');
105
- };
106
-
107
- exports.formatCurrency = formatCurrency;
108
-
109
- var formatCurrencyWithSymbol = function formatCurrencyWithSymbol(num) {
110
- var _a;
111
-
112
- var ret = formatCurrency(num);
113
-
114
- if ((_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.isUnitBehind) {
115
- return ret + " " + getPricePrefix();
116
- }
117
-
118
- return getPricePrefix() + " " + ret;
119
- }; // Nuri项目使用
120
-
121
-
122
- exports.formatCurrencyWithSymbol = formatCurrencyWithSymbol;
123
-
124
- var formatCurrencyWithSymbolNotSpace = function formatCurrencyWithSymbolNotSpace(num) {
125
- var ret = formatCurrency(num);
126
- return "" + getPricePrefix() + ret;
127
- };
128
- /**
129
- * TODO 未兼容科学计数法(小数点后7位)
130
- * 计算浮点位数
131
- * @param {*} number 数字
132
- * @returns count
133
- */
134
-
135
-
136
- exports.formatCurrencyWithSymbolNotSpace = formatCurrencyWithSymbolNotSpace;
137
-
138
- var calcFloatCount = function calcFloatCount(number) {
139
- var numbString = String(number);
140
- var findIndex = numbString.indexOf('.');
141
- if (findIndex === -1) return 0;
142
- return numbString.length - findIndex - 1;
143
- };
144
- /**
145
- * 保留小数位
146
- * @param {number} number 数字
147
- * @param {int?} precision 位数 默认:2
148
- */
149
-
150
-
151
- exports.calcFloatCount = calcFloatCount;
152
-
153
- var numberToFixed = function numberToFixed(numb, precision) {
154
- if (precision === void 0) {
155
- precision = 2;
156
- }
157
-
158
- var multiple = Math.pow(10, precision);
159
- var floatCount = calcFloatCount(numb);
160
-
161
- if (floatCount <= precision) {
162
- if (floatCount === 0) {
163
- if (precision <= 0) {
164
- return "" + String(~~numb);
165
- }
166
-
167
- return String(~~numb) + "." + new Array(precision - floatCount).fill('0').join('');
168
- }
169
-
170
- return String(numb) + new Array(precision - floatCount).fill('0').join('');
171
- }
172
-
173
- var bigMultiple = multiple * 10;
174
- var tempNumb = ~~(numb * bigMultiple);
175
- var lastNumber = String(tempNumb).slice(-1);
176
- var resultNumber = ~~(numb * multiple);
177
- if (~~lastNumber >= 5) resultNumber += 1;
178
- var result = resultNumber / multiple;
179
- var resultFloatCount = calcFloatCount(result);
180
- return result + new Array(precision - resultFloatCount).fill('0').join('');
181
- };
182
- /**
183
- * 格式化数值,不加前缀 (前台使用) 例如:缩小100倍
184
- * @param {*} value 数值
185
- * @param {*} customPrecision 精度转换,默认读配置项
186
- * @param {*} customDisplayPrecision 保留小数位数,默认读配置项(传null,表示不作处理只转换精度)
187
- * @returns 格式化后的数值字符串
188
- */
189
-
190
-
191
- exports.numberToFixed = numberToFixed;
192
-
193
- var currencyToFont = function currencyToFont(value, customPrecision, customDisplayPrecision) {
194
- if (value === null || value === undefined || value === '' || Number.isNaN(Number(value))) {
195
- return value;
196
- }
197
-
198
- var precision; // 优先使用参数上的精度
199
-
200
- if (!(0, _isEmpty["default"])(customPrecision) && !Number.isNaN(Number(customPrecision))) {
201
- precision = Number(customPrecision);
202
- } else {
203
- precision = (0, _commonUtil.ensure)(function () {
204
- return window.systemParams.precision;
205
- }, '0');
206
- }
207
-
208
- var number = Number(value);
209
- var temp = (0, _divide["default"])(number, Math.pow(10, precision)); // 特殊处理,不需要格式化小数位
210
-
211
- if (customDisplayPrecision === null) {
212
- return "" + temp;
213
- } // 精度格式化
214
-
215
-
216
- var displayPrecision; // 优先使用参数上的精度
217
-
218
- if (!(0, _isEmpty["default"])(customDisplayPrecision) && !Number.isNaN(Number(customDisplayPrecision))) {
219
- displayPrecision = Number(customDisplayPrecision);
220
- } else {
221
- displayPrecision = (0, _commonUtil.ensure)(function () {
222
- return window.systemParams.displayCurrencyPrecision;
223
- }, 'Rp');
224
- }
225
-
226
- return temp.toFixed(Number(displayPrecision));
227
- };
228
-
229
- exports.currencyToFont = currencyToFont;
@@ -1,134 +0,0 @@
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;
@@ -1,83 +0,0 @@
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.formatDayMonthTime = formatDayMonthTime;
9
- exports.newDate = void 0;
10
-
11
- var _moment = _interopRequireDefault(require("moment"));
12
-
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
-
15
- var dateFmt = 'YYYY-MM-DD';
16
- var timeFmt = 'YYYY-MM-DD HH:mm:ss';
17
- var timeMinuteFmt = 'YYYY-MM-DD HH:mm';
18
- /**
19
- * new Date 解决ios 安卓兼容问题
20
- * @param {*} date 时间
21
- */
22
-
23
- var newDate = function newDate(date) {
24
- if (date instanceof Date) {
25
- return date;
26
- }
27
-
28
- if (date) {
29
- var reg = /^[0-9]+.?[0-9]*$/;
30
-
31
- if (reg.test(date)) {
32
- return new Date(Number(date));
33
- }
34
-
35
- return new Date(date.replace(/-/g, '/'));
36
- }
37
-
38
- return new Date();
39
- };
40
-
41
- exports.newDate = newDate;
42
-
43
- var formatDate = function formatDate(date) {
44
- return (0, _moment["default"])(date).format(dateFmt);
45
- };
46
-
47
- exports.formatDate = formatDate;
48
-
49
- var formatDateTime = function formatDateTime(time) {
50
- return (0, _moment["default"])(time).format(timeFmt);
51
- };
52
-
53
- exports.formatDateTime = formatDateTime;
54
-
55
- var formatDateMinute = function formatDateMinute(time) {
56
- return (0, _moment["default"])(time).format(timeMinuteFmt);
57
- };
58
-
59
- exports.formatDateMinute = formatDateMinute;
60
-
61
- function formatDayMonth(date, fmt) {
62
- if (fmt === void 0) {
63
- fmt = 'DD MMM';
64
- }
65
-
66
- if (!date) {
67
- return '';
68
- }
69
-
70
- return (0, _moment["default"])(newDate(date)).format(fmt);
71
- }
72
-
73
- function formatDayMonthTime(date, fmt) {
74
- if (fmt === void 0) {
75
- fmt = 'DD MMM HH:mm';
76
- }
77
-
78
- if (!date) {
79
- return '';
80
- }
81
-
82
- return (0, _moment["default"])(newDate(date)).format(fmt);
83
- }
@@ -1,258 +0,0 @@
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;