@fonixtree/magic-design 2.0.190 → 3.0.2

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 (291) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +3 -3
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +3 -3
  3. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  6. package/es/assets/images/base64/index.js +2 -8
  7. package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  8. package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  9. package/es/assets/images/layout-icon/bundleLayout1.png +0 -0
  10. package/es/assets/images/layout-icon/center.png +0 -0
  11. package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  12. package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  13. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  14. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  15. package/es/assets/images/layout-icon/interestLayout1.png +0 -0
  16. package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  17. package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  18. package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  19. package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  20. package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  21. package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  22. package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  23. package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  24. package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  25. package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
  26. package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
  27. package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
  28. package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
  29. package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  30. package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  31. package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  32. package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  33. package/es/assets/images/layout-icon/layout-search.png +0 -0
  34. package/es/assets/images/layout-icon/left.png +0 -0
  35. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  36. package/es/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
  37. package/es/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  38. package/es/assets/images/layout-icon/right.png +0 -0
  39. package/es/assets/images/layout-icon/textLayout1.png +0 -0
  40. package/es/assets/less/common.less +3 -40
  41. package/es/common/Field/index.js +2 -5
  42. package/es/common/Field/index.less +0 -5
  43. package/es/common/LinkModal/index.js +0 -7
  44. package/es/common/MyModal/index.less +4 -12
  45. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  46. package/{lib/composite-comp/public → es/composite-comp/bol}/components/Location/index.js +20 -4
  47. package/es/composite-comp/bol/components/Location/index.less +15 -0
  48. package/{lib/composite-comp/ashita/components/WalletAshita → es/composite-comp/bol/components/Wallet}/defaultJSON.js +1 -1
  49. package/{lib/composite-comp/public → es/composite-comp/bol}/config-panels/LocationConfig/index.js +52 -10
  50. package/{lib/composite-comp/ashita/config-panels/WalletAshitaConfig → es/composite-comp/bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.js +1 -1
  51. package/es/composite-comp/common/components/MonpayProductItem/index.js +3 -3
  52. package/es/composite-comp/common/components/MonpayProductItem/index.less +6 -6
  53. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +0 -1
  54. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
  55. package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +5 -1
  56. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  57. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  58. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  59. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  60. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +584 -0
  61. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
  62. package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
  63. package/es/composite-comp/monpay/components/MonpayRecommend/index.js +5 -1
  64. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -15
  65. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -11
  66. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
  67. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
  68. package/es/constants/component-types.js +13 -23
  69. package/es/constants/index.js +2 -12
  70. package/es/constants/layout.js +16 -29
  71. package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +1 -1
  72. package/es/core/Designer/QuickMenuBar/index.js +1 -1
  73. package/es/decorator/compositeDecorator.js +1 -27
  74. package/es/locale/en/en.json +1 -16
  75. package/es/locale/es/es.json +1 -16
  76. package/es/locale/index.js +1 -5
  77. package/es/locale/mn/mn.json +1 -16
  78. package/es/meta-comp/components/Text/index.less +0 -6
  79. package/es/meta-comp/config-panels/ButtonConfig/index.js +8 -7
  80. package/es/utils/androidUtil.js +1 -2
  81. package/es/utils/businessUtil.js +2 -27
  82. package/es/utils/commonUtil.js +10 -26
  83. package/es/utils/coreUtil.js +1 -3
  84. package/lib/assets/fonts/magic-box-iconfont.css +3 -3
  85. package/lib/assets/fonts/magic-box-iconfont.css.bak +3 -3
  86. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  87. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  88. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  89. package/lib/assets/images/base64/index.js +2 -8
  90. package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  91. package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  92. package/lib/assets/images/layout-icon/bundleLayout1.png +0 -0
  93. package/lib/assets/images/layout-icon/center.png +0 -0
  94. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  95. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  96. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  97. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  98. package/lib/assets/images/layout-icon/interestLayout1.png +0 -0
  99. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  100. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  101. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  102. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  103. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  104. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  105. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  106. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  107. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  108. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  109. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  110. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  111. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  112. package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  113. package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  114. package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  115. package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  116. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  117. package/lib/assets/images/layout-icon/left.png +0 -0
  118. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  119. package/lib/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
  120. package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  121. package/lib/assets/images/layout-icon/right.png +0 -0
  122. package/lib/assets/images/layout-icon/textLayout1.png +0 -0
  123. package/lib/assets/less/common.less +3 -40
  124. package/lib/common/Field/index.js +2 -5
  125. package/lib/common/Field/index.less +0 -5
  126. package/lib/common/LinkModal/index.js +0 -7
  127. package/lib/common/MyModal/index.less +4 -12
  128. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  129. package/{es/composite-comp/public → lib/composite-comp/bol}/components/Location/index.js +20 -4
  130. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  131. package/{es/composite-comp/ashita/components/WalletAshita → lib/composite-comp/bol/components/Wallet}/defaultJSON.js +1 -1
  132. package/{es/composite-comp/public → lib/composite-comp/bol}/config-panels/LocationConfig/index.js +52 -10
  133. package/{es/composite-comp/ashita/config-panels/WalletAshitaConfig → lib/composite-comp/bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.js +1 -1
  134. package/lib/composite-comp/common/components/MonpayProductItem/index.js +3 -3
  135. package/lib/composite-comp/common/components/MonpayProductItem/index.less +6 -6
  136. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -1
  137. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
  138. package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +5 -1
  139. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  140. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  141. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  142. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  143. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +584 -0
  144. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
  145. package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
  146. package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +5 -1
  147. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -15
  148. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +0 -11
  149. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +809 -0
  150. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +129 -0
  151. package/lib/constants/component-types.js +13 -23
  152. package/lib/constants/index.js +2 -12
  153. package/lib/constants/layout.js +16 -29
  154. package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +1 -1
  155. package/lib/core/Designer/QuickMenuBar/index.js +1 -1
  156. package/lib/decorator/compositeDecorator.js +1 -27
  157. package/lib/locale/en/en.json +1 -16
  158. package/lib/locale/es/es.json +1 -16
  159. package/lib/locale/index.js +1 -5
  160. package/lib/locale/mn/mn.json +1 -16
  161. package/lib/meta-comp/components/Text/index.less +0 -6
  162. package/lib/meta-comp/config-panels/ButtonConfig/index.js +8 -7
  163. package/lib/utils/androidUtil.js +1 -2
  164. package/lib/utils/businessUtil.js +2 -27
  165. package/lib/utils/commonUtil.js +10 -26
  166. package/lib/utils/coreUtil.js +1 -3
  167. package/package.json +1 -1
  168. package/es/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
  169. package/es/assets/images/layout-icon/storesLayout1.png +0 -0
  170. package/es/assets/images/layout-icon/storesLayout2.png +0 -0
  171. package/es/common/LinkModal/BizType/index.js +0 -274
  172. package/es/composite-comp/ashita/components/WalletAshita/index.js +0 -84
  173. package/es/composite-comp/public/components/Location/defaultJSON.js +0 -104
  174. package/es/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
  175. package/es/composite-comp/public/components/Location/mobile/index.js +0 -133
  176. package/es/composite-comp/public/components/Location/mobile/index.less +0 -21
  177. package/es/composite-comp/public/components/Stores/defaultJSON.js +0 -348
  178. package/es/composite-comp/public/components/Stores/index.js +0 -86
  179. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.js +0 -250
  180. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.less +0 -81
  181. package/es/composite-comp/public/components/Stores/mobile/index.js +0 -335
  182. package/es/composite-comp/public/components/Stores/mobile/index.less +0 -33
  183. package/es/composite-comp/public/components/Wallet/defaultJSON.js +0 -149
  184. package/es/composite-comp/public/components/Wallet/mobile/index.js +0 -353
  185. package/es/composite-comp/public/components/Wallet/mobile/index.less +0 -22
  186. package/es/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +0 -153
  187. package/es/composite-comp/public/config-panels/LocationConfig/index.less +0 -17
  188. package/es/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +0 -176
  189. package/es/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +0 -103
  190. package/es/composite-comp/public/config-panels/StoresConfig/index.js +0 -134
  191. package/es/composite-comp/public/config-panels/WalletConfig/index.js +0 -61
  192. package/es/locale/ar/ar.json +0 -362
  193. package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +0 -207
  194. package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +0 -81
  195. package/lib/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
  196. package/lib/assets/images/layout-icon/storesLayout1.png +0 -0
  197. package/lib/assets/images/layout-icon/storesLayout2.png +0 -0
  198. package/lib/common/LinkModal/BizType/index.js +0 -274
  199. package/lib/composite-comp/ashita/components/WalletAshita/index.js +0 -84
  200. package/lib/composite-comp/ashita/config-panels/WalletAshitaConfig/WalletConfigImageGroup/index.less +0 -0
  201. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  202. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
  203. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
  204. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
  205. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  206. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  207. package/lib/composite-comp/nuri/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
  208. package/lib/composite-comp/public/components/Location/defaultJSON.js +0 -104
  209. package/lib/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
  210. package/lib/composite-comp/public/components/Location/mobile/index.js +0 -133
  211. package/lib/composite-comp/public/components/Location/mobile/index.less +0 -21
  212. package/lib/composite-comp/public/components/Stores/defaultJSON.js +0 -348
  213. package/lib/composite-comp/public/components/Stores/index.js +0 -86
  214. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.js +0 -250
  215. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.less +0 -81
  216. package/lib/composite-comp/public/components/Stores/mobile/index.js +0 -335
  217. package/lib/composite-comp/public/components/Stores/mobile/index.less +0 -33
  218. package/lib/composite-comp/public/components/Wallet/defaultJSON.js +0 -149
  219. package/lib/composite-comp/public/components/Wallet/mobile/index.js +0 -353
  220. package/lib/composite-comp/public/components/Wallet/mobile/index.less +0 -22
  221. package/lib/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +0 -153
  222. package/lib/composite-comp/public/config-panels/LocationConfig/index.less +0 -17
  223. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +0 -176
  224. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.less +0 -0
  225. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +0 -103
  226. package/lib/composite-comp/public/config-panels/StoresConfig/index.js +0 -134
  227. package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/defaultImg.png +0 -0
  228. package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.js +0 -100
  229. package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.less +0 -72
  230. package/lib/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup/index.js +0 -123
  231. package/lib/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  232. package/lib/composite-comp/public/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
  233. package/lib/composite-comp/public/config-panels/WalletConfig/index.js +0 -61
  234. package/lib/composite-comp/public/second-config-panels/WalletSecondConfig/index.js +0 -152
  235. package/lib/locale/ar/ar.json +0 -362
  236. package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +0 -207
  237. package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +0 -81
  238. /package/es/composite-comp/{public → bol}/components/Wallet/index.js +0 -0
  239. /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.js +0 -0
  240. /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.less +0 -0
  241. /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.js +0 -0
  242. /package/es/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.less +0 -0
  243. /package/es/composite-comp/{nuri → bol}/components/WalletNuri/defaultJSON.js +0 -0
  244. /package/es/composite-comp/{nuri → bol}/components/WalletNuri/index.js +0 -0
  245. /package/es/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.js +0 -0
  246. /package/es/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.less +0 -0
  247. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.js +0 -0
  248. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.less +0 -0
  249. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigImageGroup/index.less +0 -0
  250. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.js +0 -0
  251. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.less +0 -0
  252. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/imgs/defaultImg.png +0 -0
  253. /package/es/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/index.js +0 -0
  254. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  255. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/index.js +0 -0
  256. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/GroupList/index.less +0 -0
  257. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -0
  258. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  259. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  260. /package/es/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/index.js +0 -0
  261. /package/es/composite-comp/{nuri → bol}/second-config-panels/WalletNuriSecondConfig/index.js +0 -0
  262. /package/es/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.js +0 -0
  263. /package/es/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.less +0 -0
  264. /package/es/{assets/images/common/product.png → composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png} +0 -0
  265. /package/lib/composite-comp/{public → bol}/components/Wallet/index.js +0 -0
  266. /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.js +0 -0
  267. /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/mobile/index.less +0 -0
  268. /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.js +0 -0
  269. /package/lib/composite-comp/{ashita/components/WalletAshita → bol/components/Wallet}/pc/index.less +0 -0
  270. /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/defaultJSON.js +0 -0
  271. /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/index.js +0 -0
  272. /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.js +0 -0
  273. /package/lib/composite-comp/{nuri → bol}/components/WalletNuri/mobile/index.less +0 -0
  274. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigContent/index.js +0 -0
  275. /package/{es/composite-comp/public/config-panels/StoresConfig/ConfigContent → lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent}/index.less +0 -0
  276. /package/{es/composite-comp/public → lib/composite-comp/bol}/config-panels/WalletConfig/WalletConfigImageGroup/index.less +0 -0
  277. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.js +0 -0
  278. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/WalletConfigSetting/index.less +0 -0
  279. /package/{es/composite-comp/public/config-panels/WalletConfig/GroupList → lib/composite-comp/bol/config-panels/WalletConfig/imgs}/defaultImg.png +0 -0
  280. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletConfig}/index.js +0 -0
  281. /package/{es/composite-comp/public/config-panels/WalletConfig/imgs → lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
  282. /package/{es/composite-comp/public/config-panels/WalletConfig → lib/composite-comp/bol/config-panels/WalletNuriConfig}/GroupList/index.js +0 -0
  283. /package/{es/composite-comp/public/config-panels/WalletConfig → lib/composite-comp/bol/config-panels/WalletNuriConfig}/GroupList/index.less +0 -0
  284. /package/{es/composite-comp/public/config-panels/WalletConfig/WalletConfigImageGroup → lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup}/index.js +0 -0
  285. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig/WalletConfigContent → bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup}/index.less +0 -0
  286. /package/lib/composite-comp/{ashita/config-panels/WalletAshitaConfig → bol/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
  287. /package/lib/composite-comp/{nuri → bol}/config-panels/WalletNuriConfig/index.js +0 -0
  288. /package/{es/composite-comp/public/second-config-panels/WalletSecondConfig → lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig}/index.js +0 -0
  289. /package/lib/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.js +0 -0
  290. /package/lib/composite-comp/{ashita/second-config-panels/WalletAshitaSecondConfig → bol/second-config-panels/WalletSecondConfig}/index.less +0 -0
  291. /package/lib/{assets/images/common/product.png → composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png} +0 -0
@@ -1,81 +0,0 @@
1
- .m-store-item-wrap {
2
- background: #FFFFFF;
3
- border: 0.02rem solid #E4E4E4;
4
- border-radius: 0.16rem;
5
- position: relative;
6
- margin-right: 0.32rem;
7
- margin-top: 0.32rem;
8
- width: 100%;
9
- display: flex;
10
- flex-direction: row;
11
- }
12
- .m-store-item-wrap .img-wrap .product-img {
13
- width: 2.1rem;
14
- height: 2.1rem;
15
- border-radius: 0.16rem 0 0 0.16rem;
16
- object-fit: cover;
17
- }
18
- .m-store-item-wrap .img-wrap .flag {
19
- position: absolute;
20
- top: 0.2rem;
21
- left: -0.04rem;
22
- }
23
- .m-store-item-wrap .content-wrap {
24
- padding: 0.12rem 0.2rem;
25
- width: 4.4rem;
26
- }
27
- .m-store-item-wrap .content-wrap .name {
28
- overflow: hidden;
29
- white-space: nowrap;
30
- text-overflow: ellipsis;
31
- }
32
- .m-store-item-wrap .content-wrap .desc {
33
- overflow: hidden;
34
- white-space: nowrap;
35
- text-overflow: ellipsis;
36
- margin-top: -0.02rem;
37
- margin-bottom: 0.1rem;
38
- }
39
- .m-store-item-wrap .content-wrap .minOrder {
40
- width: fit-content !important;
41
- }
42
- .m-store-item-wrap .content-wrap .sold {
43
- width: fit-content !important;
44
- }
45
- .m-store-item-wrap .content-wrap .row {
46
- display: flex;
47
- align-items: center;
48
- }
49
- .m-store-item-wrap .content-wrap .line1 {
50
- display: inline-block;
51
- width: 0.02rem;
52
- height: 0.32rem;
53
- background-color: #545454;
54
- margin: 0 0.1rem;
55
- }
56
- .m-store-item-wrap .content-wrap .line2 {
57
- display: inline-block;
58
- width: 0.02rem;
59
- height: 0.24rem;
60
- background-color: #D9D9D9;
61
- margin: 0 0.12rem;
62
- }
63
- .m-store-item-wrap.horizontal {
64
- flex-direction: column;
65
- width: 5.84rem;
66
- }
67
- .m-store-item-wrap.horizontal .img-wrap .product-img {
68
- width: 5.8rem;
69
- height: 2.4rem;
70
- border-radius: 0.16rem 0.16rem 0 0;
71
- object-fit: cover;
72
- }
73
- .m-store-item-wrap.horizontal .content-wrap {
74
- flex: auto;
75
- padding: 0.16rem;
76
- width: 100%;
77
- }
78
- .m-store-item-wrap.horizontal .content-wrap .sold,
79
- .m-store-item-wrap.horizontal .content-wrap .time {
80
- margin-right: 0.1rem;
81
- }
@@ -1,335 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- require("./index.less");
11
-
12
- var _classnames = _interopRequireDefault(require("classnames"));
13
-
14
- var _StoreItem = _interopRequireDefault(require("./StoreItem"));
15
-
16
- var _components = require("../../../../../meta-comp/components");
17
-
18
- var _commonUtil = require("../../../../../utils/commonUtil");
19
-
20
- var _coreUtil = require("../../../../../utils/coreUtil");
21
-
22
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
-
24
- var __extends = void 0 && (void 0).__extends || function () {
25
- var _extendStatics = function extendStatics(d, b) {
26
- _extendStatics = Object.setPrototypeOf || {
27
- __proto__: []
28
- } instanceof Array && function (d, b) {
29
- d.__proto__ = b;
30
- } || function (d, b) {
31
- for (var p in b) {
32
- if (b.hasOwnProperty(p)) d[p] = b[p];
33
- }
34
- };
35
-
36
- return _extendStatics(d, b);
37
- };
38
-
39
- return function (d, b) {
40
- _extendStatics(d, b);
41
-
42
- function __() {
43
- this.constructor = d;
44
- }
45
-
46
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
47
- };
48
- }();
49
-
50
- var __assign = void 0 && (void 0).__assign || function () {
51
- __assign = Object.assign || function (t) {
52
- for (var s, i = 1, n = arguments.length; i < n; i++) {
53
- s = arguments[i];
54
-
55
- for (var p in s) {
56
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
57
- }
58
- }
59
-
60
- return t;
61
- };
62
-
63
- return __assign.apply(this, arguments);
64
- };
65
-
66
- var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
67
- function adopt(value) {
68
- return value instanceof P ? value : new P(function (resolve) {
69
- resolve(value);
70
- });
71
- }
72
-
73
- return new (P || (P = Promise))(function (resolve, reject) {
74
- function fulfilled(value) {
75
- try {
76
- step(generator.next(value));
77
- } catch (e) {
78
- reject(e);
79
- }
80
- }
81
-
82
- function rejected(value) {
83
- try {
84
- step(generator["throw"](value));
85
- } catch (e) {
86
- reject(e);
87
- }
88
- }
89
-
90
- function step(result) {
91
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
92
- }
93
-
94
- step((generator = generator.apply(thisArg, _arguments || [])).next());
95
- });
96
- };
97
-
98
- var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
99
- var _ = {
100
- label: 0,
101
- sent: function sent() {
102
- if (t[0] & 1) throw t[1];
103
- return t[1];
104
- },
105
- trys: [],
106
- ops: []
107
- },
108
- f,
109
- y,
110
- t,
111
- g;
112
- return g = {
113
- next: verb(0),
114
- "throw": verb(1),
115
- "return": verb(2)
116
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
117
- return this;
118
- }), g;
119
-
120
- function verb(n) {
121
- return function (v) {
122
- return step([n, v]);
123
- };
124
- }
125
-
126
- function step(op) {
127
- if (f) throw new TypeError("Generator is already executing.");
128
-
129
- while (_) {
130
- try {
131
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
132
- if (y = 0, t) op = [op[0] & 2, t.value];
133
-
134
- switch (op[0]) {
135
- case 0:
136
- case 1:
137
- t = op;
138
- break;
139
-
140
- case 4:
141
- _.label++;
142
- return {
143
- value: op[1],
144
- done: false
145
- };
146
-
147
- case 5:
148
- _.label++;
149
- y = op[1];
150
- op = [0];
151
- continue;
152
-
153
- case 7:
154
- op = _.ops.pop();
155
-
156
- _.trys.pop();
157
-
158
- continue;
159
-
160
- default:
161
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
162
- _ = 0;
163
- continue;
164
- }
165
-
166
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
167
- _.label = op[1];
168
- break;
169
- }
170
-
171
- if (op[0] === 6 && _.label < t[1]) {
172
- _.label = t[1];
173
- t = op;
174
- break;
175
- }
176
-
177
- if (t && _.label < t[2]) {
178
- _.label = t[2];
179
-
180
- _.ops.push(op);
181
-
182
- break;
183
- }
184
-
185
- if (t[2]) _.ops.pop();
186
-
187
- _.trys.pop();
188
-
189
- continue;
190
- }
191
-
192
- op = body.call(thisArg, _);
193
- } catch (e) {
194
- op = [6, e];
195
- y = 0;
196
- } finally {
197
- f = t = 0;
198
- }
199
- }
200
-
201
- if (op[0] & 5) throw op[1];
202
- return {
203
- value: op[0] ? op[1] : void 0,
204
- done: true
205
- };
206
- }
207
- };
208
-
209
- var defaultData = [{
210
- storeId: 1,
211
- storeName: '落落彩虹的大超市',
212
- comments: '没有比我面积更大、性价比更高的商品了。',
213
- storeLogoUrl: '/get/resource/store6/conf/20240905/picture/3331831612826257207296_600.jpg',
214
- storePosterUrl: '/get/resource/store6/conf/20240905/picture/11111831612121177927680_600.png',
215
- freeShipping: null,
216
- distance: '0',
217
- deliveryTime: null,
218
- minOrderAmount: 5900,
219
- comEvalRate: null,
220
- salesCnt: null
221
- }, {
222
- storeId: 2,
223
- storeName: '落落彩虹的大超市',
224
- comments: '没有比我面积更大、性价比更高的商品了。',
225
- storeLogoUrl: '/get/resource/store6/conf/20240905/picture/3331831612826257207296_600.jpg',
226
- storePosterUrl: '/get/resource/store6/conf/20240905/picture/11111831612121177927680_600.png',
227
- freeShipping: 'Y',
228
- distance: '18',
229
- deliveryTime: null,
230
- minOrderAmount: 5900,
231
- comEvalRate: null,
232
- salesCnt: null
233
- }];
234
-
235
- var Mobile =
236
- /** @class */
237
- function (_super) {
238
- __extends(Mobile, _super);
239
-
240
- function Mobile() {
241
- var _this = _super !== null && _super.apply(this, arguments) || this;
242
-
243
- _this.state = {
244
- list: []
245
- };
246
-
247
- _this.getData = function () {
248
- return __awaiter(_this, void 0, void 0, function () {
249
- var params, res, list;
250
-
251
- var _a;
252
-
253
- return __generator(this, function (_b) {
254
- switch (_b.label) {
255
- case 0:
256
- params = {
257
- pageIndex: 1,
258
- pageSize: 10
259
- };
260
-
261
- if ((0, _commonUtil.isLogin)()) {
262
- params.longitude = '118.78344';
263
- params.latitude = '31.90613';
264
- }
265
-
266
- return [4
267
- /*yield*/
268
- , (0, _commonUtil.commonFetch)('/designer/v1/h5/store/es', params, 'POST')];
269
-
270
- case 1:
271
- res = _b.sent();
272
- list = ((_a = res.storePage) === null || _a === void 0 ? void 0 : _a.list) || [];
273
- this.setState({
274
- list: list
275
- });
276
- return [2
277
- /*return*/
278
- ];
279
- }
280
- });
281
- });
282
- };
283
-
284
- return _this;
285
- }
286
-
287
- Mobile.prototype.componentDidMount = function () {
288
- this.getData();
289
- };
290
-
291
- Mobile.prototype.render = function () {
292
- var _a;
293
-
294
- var panelProps = this.props.panelProps;
295
- var list = this.state.list;
296
-
297
- var _list = list.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : list;
298
-
299
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _list.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
300
- className: (0, _classnames["default"])('m-stores-mobile', (_a = {}, _a['reversed-layout'] = (0, _commonUtil.needReverse)(), _a))
301
- }, /*#__PURE__*/_react["default"].createElement("div", {
302
- className: "stores-title"
303
- }, /*#__PURE__*/_react["default"].createElement("div", {
304
- className: "left"
305
- }, panelProps.title.name.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
306
- data: panelProps.title.name
307
- })), /*#__PURE__*/_react["default"].createElement("div", {
308
- className: "right"
309
- }, panelProps.title.seeAll.open && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
310
- data: panelProps.title.seeAll
311
- }))), /*#__PURE__*/_react["default"].createElement("div", {
312
- className: (0, _classnames["default"])('stores-list', {
313
- horizontal: panelProps.customize.layout === 'layout1'
314
- })
315
- }, _list.map(function (item) {
316
- return /*#__PURE__*/_react["default"].createElement(_StoreItem["default"], {
317
- key: item.id,
318
- data: __assign({}, item),
319
- layout: panelProps.customize.layout,
320
- onItemClick: function onItemClick() {
321
- return (0, _coreUtil.clickUrl)("store-" + item.storeId);
322
- },
323
- panelProps: panelProps.content
324
- });
325
- }))));
326
- };
327
-
328
- Mobile.defaultProps = {
329
- panelProps: {}
330
- };
331
- return Mobile;
332
- }(_react["default"].Component);
333
-
334
- var _default = Mobile;
335
- exports["default"] = _default;
@@ -1,33 +0,0 @@
1
- .m-stores-mobile {
2
- margin-left: 0.4rem;
3
- }
4
- .m-stores-mobile .stores-title {
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- padding-right: 0.4rem;
9
- }
10
- .m-stores-mobile .stores-list {
11
- margin-right: 0.4rem;
12
- }
13
- .m-stores-mobile .stores-list.horizontal {
14
- overflow-x: auto;
15
- display: flex;
16
- margin-right: 0;
17
- }
18
- .m-stores-mobile.reversed-layout {
19
- margin-left: 0;
20
- margin-right: 0.4rem;
21
- }
22
- .m-stores-mobile.reversed-layout .stores-title {
23
- padding-right: 0;
24
- padding-left: 0.4rem;
25
- }
26
- .m-stores-mobile.reversed-layout .flag {
27
- right: -0.04rem !important;
28
- left: unset !important;
29
- }
30
- .m-stores-mobile.reversed-layout .m-store-item-wrap {
31
- margin-right: 0;
32
- margin-left: 0.32rem;
33
- }
@@ -1,149 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getDefaultJSON = void 0;
7
-
8
- var _uuid = require("uuid");
9
-
10
- var _base = require("../../../../assets/images/base64");
11
-
12
- var _constants = require("../../../../constants");
13
-
14
- var walletDataList = [{
15
- name: 'Saldo',
16
- icon: _base.walletSaldoIcon,
17
- text: 'Rincian Saldo'
18
- }, {
19
- name: 'Koin',
20
- icon: _base.walletKoinIcon,
21
- text: 'Rincian Koin'
22
- }];
23
-
24
- var getDefaultJSON = function getDefaultJSON() {
25
- var _a;
26
-
27
- var groupId = (0, _uuid.v4)();
28
- var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
29
- return {
30
- id: groupId,
31
- type: 'WALLET',
32
- groupSource: walletDataList.map(function (item) {
33
- var itemId = (0, _uuid.v4)();
34
- return {
35
- id: itemId,
36
- parentId: groupId,
37
- logo: {
38
- parentId: itemId,
39
- id: (0, _uuid.v4)(),
40
- open: true,
41
- content: {
42
- clickUrl: '',
43
- h5ImgSrc: item.icon,
44
- h5Name: ''
45
- }
46
- },
47
- title: {
48
- parentId: itemId,
49
- id: (0, _uuid.v4)(),
50
- open: true,
51
- type: 'TEXT',
52
- specialContent: [],
53
- text: item.name,
54
- content: {
55
- sizeType: 'Customize font styles',
56
- fontFamily: defaultFontFamily,
57
- fontWeight: 400,
58
- fontSize: 11,
59
- color: '#232F46',
60
- textAlign: 'center'
61
- },
62
- underline: {
63
- open: false,
64
- textDecorationColor: '',
65
- textDecorationStyle: 'solid'
66
- },
67
- vertical: {}
68
- },
69
- amount: {
70
- parentId: itemId,
71
- id: (0, _uuid.v4)(),
72
- open: true,
73
- type: 'TEXT',
74
- specialContent: [],
75
- text: '****',
76
- content: {
77
- sizeType: 'Customize font styles',
78
- fontFamily: defaultFontFamily,
79
- fontWeight: 700,
80
- fontSize: 14,
81
- color: '#232F46',
82
- textAlign: ''
83
- },
84
- underline: {
85
- open: false,
86
- textDecorationColor: '',
87
- textDecorationStyle: 'solid'
88
- },
89
- vertical: {}
90
- },
91
- text: {
92
- parentId: itemId,
93
- id: (0, _uuid.v4)(),
94
- open: true,
95
- type: 'TEXT',
96
- specialContent: [],
97
- text: item.text,
98
- content: {
99
- sizeType: 'Customize font styles',
100
- fontFamily: defaultFontFamily,
101
- fontWeight: 400,
102
- fontSize: 11,
103
- color: '#232F46',
104
- textAlign: ''
105
- },
106
- underline: {
107
- open: false,
108
- textDecorationColor: '',
109
- textDecorationStyle: 'solid'
110
- },
111
- vertical: {}
112
- },
113
- tip: {
114
- parentId: itemId,
115
- id: (0, _uuid.v4)(),
116
- open: true,
117
- url: ''
118
- }
119
- };
120
- }),
121
- spacing: {
122
- pc: {
123
- paddingTop: 12,
124
- paddingBottom: 12,
125
- paddingLeft: 10,
126
- paddingRight: 10,
127
- marginBottom: window.magicDesign.compSpacing * 1.5
128
- },
129
- mobile: {
130
- paddingTop: 12,
131
- paddingBottom: 12,
132
- paddingLeft: 10,
133
- paddingRight: 10,
134
- marginBottom: window.magicDesign.compSpacing
135
- }
136
- },
137
- customize: {
138
- layout: 'layout1'
139
- },
140
- background: {
141
- opacity: 100,
142
- color: '#FFF8F0',
143
- image: '',
144
- bgType: 'color'
145
- }
146
- };
147
- };
148
-
149
- exports.getDefaultJSON = getDefaultJSON;