@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,152 +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
- var _locale = require("../../../../locale");
11
-
12
- var _common = require("../../../../common");
13
-
14
- var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
15
-
16
- var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
17
-
18
- var _BaseConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/BaseConfig"));
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 WalletSecondConfig =
51
- /** @class */
52
- function (_super) {
53
- __extends(WalletSecondConfig, _super);
54
-
55
- function WalletSecondConfig() {
56
- var _this = _super !== null && _super.apply(this, arguments) || this;
57
-
58
- _this.state = {};
59
-
60
- _this.reRender = function () {
61
- (0, _coreUtil.renderPreview)();
62
-
63
- _this.setState({});
64
- };
65
-
66
- _this.getContentPanel = function () {
67
- var panelProps = _this.props.panelProps;
68
-
69
- var iconSetting = /*#__PURE__*/_react["default"].createElement(_common.Field, {
70
- title: ""
71
- }, /*#__PURE__*/_react["default"].createElement(_common.IconPicker, {
72
- onChange: function onChange(icon) {
73
- panelProps.tip.url = icon;
74
-
75
- _this.reRender();
76
- },
77
- value: panelProps.tip.url
78
- }));
79
-
80
- var defaultSource = [{
81
- key: panelProps.logo.id,
82
- name: (0, _locale.i18n)('LOGO'),
83
- value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
84
- data: panelProps.logo,
85
- needHover: false
86
- }),
87
- metaOption: panelProps.logo
88
- }, {
89
- key: panelProps.title.id,
90
- name: (0, _locale.i18n)('TITLE'),
91
- value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
92
- data: panelProps.title
93
- }),
94
- metaOption: panelProps.title
95
- }, {
96
- key: panelProps.amount.id,
97
- name: (0, _locale.i18n)('AMOUNT'),
98
- value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
99
- data: panelProps.amount
100
- }),
101
- metaOption: panelProps.amount
102
- }, {
103
- key: panelProps.text.id,
104
- name: (0, _locale.i18n)('TEXT'),
105
- value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
106
- data: panelProps.text
107
- }),
108
- metaOption: panelProps.text
109
- }, {
110
- key: panelProps.tip.id,
111
- name: (0, _locale.i18n)('TIPS'),
112
- value: iconSetting,
113
- metaOption: panelProps.tip
114
- }];
115
- return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
116
- divider: "dashed",
117
- headerSize: "middle",
118
- onRefresh: function onRefresh() {
119
- return (0, _coreUtil.renderPreview)();
120
- },
121
- showActiveColor: true,
122
- source: defaultSource,
123
- type: "switch"
124
- });
125
- };
126
-
127
- return _this;
128
- }
129
-
130
- WalletSecondConfig.prototype.render = function () {
131
- var panelProps = this.props.panelProps;
132
- return /*#__PURE__*/_react["default"].createElement("div", {
133
- className: "Wallet_second_conf_wrap"
134
- }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
135
- divider: "bold",
136
- headerSize: "large",
137
- source: [{
138
- key: panelProps.id || 'walletNuriContent',
139
- name: (0, _locale.i18n)('CONTENT'),
140
- value: this.getContentPanel()
141
- }]
142
- }));
143
- };
144
-
145
- WalletSecondConfig.defaultProps = {
146
- panelProps: {}
147
- };
148
- return WalletSecondConfig;
149
- }(_BaseConfig["default"]);
150
-
151
- var _default = WalletSecondConfig;
152
- exports["default"] = _default;
@@ -1,104 +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 _constants = require("../../../../constants");
11
-
12
- var getDefaultJSON = function getDefaultJSON() {
13
- var _a;
14
-
15
- var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
16
- var groupId = (0, _uuid.v4)();
17
- return {
18
- id: groupId,
19
- type: 'LOCATION',
20
- content: {
21
- logo: {
22
- id: (0, _uuid.v4)(),
23
- open: true,
24
- color: '#8C52FF'
25
- },
26
- address: {
27
- id: (0, _uuid.v4)(),
28
- open: true,
29
- type: 'TEXT',
30
- specialContent: [],
31
- text: '',
32
- content: {
33
- sizeType: 'Customize font styles',
34
- fontFamily: defaultFontFamily,
35
- fontWeight: 600,
36
- fontSize: 14,
37
- color: '#000',
38
- urlDisabled: true
39
- },
40
- underline: {
41
- open: false,
42
- textDecorationColor: '',
43
- textDecorationStyle: 'solid'
44
- },
45
- vertical: {
46
- open: false,
47
- lineHeight: 18
48
- }
49
- },
50
- customer: {
51
- id: (0, _uuid.v4)(),
52
- open: true,
53
- type: 'TEXT',
54
- specialContent: [],
55
- text: '',
56
- content: {
57
- sizeType: 'Customize font styles',
58
- fontFamily: defaultFontFamily,
59
- fontWeight: 400,
60
- fontSize: 12,
61
- color: '#848484',
62
- urlDisabled: true
63
- },
64
- underline: {
65
- open: false,
66
- textDecorationColor: '',
67
- textDecorationStyle: 'solid'
68
- },
69
- vertical: {
70
- open: false,
71
- lineHeight: 18
72
- }
73
- },
74
- arrowIcon: {
75
- id: (0, _uuid.v4)(),
76
- open: true,
77
- color: '#545454'
78
- },
79
- locationBg: {
80
- open: true,
81
- color: '#F2F2F2'
82
- }
83
- },
84
- spacing: {
85
- mobile: {
86
- paddingTop: 0,
87
- paddingBottom: 0,
88
- paddingLeft: 0,
89
- paddingRight: 0
90
- }
91
- },
92
- customize: {
93
- layout: 'layout1'
94
- },
95
- background: {
96
- opacity: 100,
97
- color: '#fff',
98
- image: '',
99
- bgType: 'color'
100
- }
101
- };
102
- };
103
-
104
- exports.getDefaultJSON = getDefaultJSON;
@@ -1,133 +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
- var _classnames = _interopRequireDefault(require("classnames"));
11
-
12
- require("./index.less");
13
-
14
- var _components = require("../../../../../meta-comp/components");
15
-
16
- var _commonUtil = require("../../../../../utils/commonUtil");
17
-
18
- var _common = require("../../../../../common");
19
-
20
- var _locale = require("../../../../../locale");
21
-
22
- var _storeUtil = require("../../../../../utils/storeUtil");
23
-
24
- var _coreUtil = require("../../../../../utils/coreUtil");
25
-
26
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
-
28
- var __extends = void 0 && (void 0).__extends || function () {
29
- var _extendStatics = function extendStatics(d, b) {
30
- _extendStatics = Object.setPrototypeOf || {
31
- __proto__: []
32
- } instanceof Array && function (d, b) {
33
- d.__proto__ = b;
34
- } || function (d, b) {
35
- for (var p in b) {
36
- if (b.hasOwnProperty(p)) d[p] = b[p];
37
- }
38
- };
39
-
40
- return _extendStatics(d, b);
41
- };
42
-
43
- return function (d, b) {
44
- _extendStatics(d, b);
45
-
46
- function __() {
47
- this.constructor = d;
48
- }
49
-
50
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
- };
52
- }();
53
-
54
- var __assign = void 0 && (void 0).__assign || function () {
55
- __assign = Object.assign || function (t) {
56
- for (var s, i = 1, n = arguments.length; i < n; i++) {
57
- s = arguments[i];
58
-
59
- for (var p in s) {
60
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
61
- }
62
- }
63
-
64
- return t;
65
- };
66
-
67
- return __assign.apply(this, arguments);
68
- };
69
-
70
- var MerchantSalesMobile =
71
- /** @class */
72
- function (_super) {
73
- __extends(MerchantSalesMobile, _super);
74
-
75
- function MerchantSalesMobile() {
76
- var _this = _super !== null && _super.apply(this, arguments) || this;
77
-
78
- _this.state = {};
79
- return _this;
80
- }
81
-
82
- MerchantSalesMobile.prototype.componentDidMount = function () {};
83
-
84
- MerchantSalesMobile.prototype.render = function () {
85
- var _a;
86
-
87
- var panelProps = this.props.panelProps;
88
- var info = (0, _storeUtil.getStore)('USER_ADDRESS_INFO') || {};
89
- var customerInfo = info.customer ? info.customer + " " + info.tel : (0, _locale.i18n)('CAN_BE_ADDED_AS_YOUR_ADDRESS');
90
- return /*#__PURE__*/_react["default"].createElement("div", {
91
- className: (0, _classnames["default"])('m-location-mobile', (_a = {}, _a['reversed-layout'] = (0, _commonUtil.needReverse)(), _a))
92
- }, /*#__PURE__*/_react["default"].createElement("div", {
93
- className: "address-wrap",
94
- onClick: function onClick() {
95
- return (0, _coreUtil.clickUrl)('/location');
96
- }
97
- }, /*#__PURE__*/_react["default"].createElement("div", {
98
- className: "address-bg",
99
- style: {
100
- backgroundColor: panelProps.content.locationBg.open ? panelProps.content.locationBg.color : 'transparent'
101
- }
102
- }, panelProps.content.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
103
- color: panelProps.content.logo.color,
104
- size: 22,
105
- type: "icon-map-marker-star"
106
- }), /*#__PURE__*/_react["default"].createElement("div", {
107
- className: "text"
108
- }, panelProps.content.address.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
109
- className: "address one_row",
110
- data: __assign(__assign({}, panelProps.content.address), {
111
- text: (0, _coreUtil.isDesignMode)() ? (0, _locale.i18n)('DISPLAY_LOCATION_ADDRESS') : info.address
112
- })
113
- }), panelProps.content.customer.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
114
- className: "customer one_row",
115
- data: __assign(__assign({}, panelProps.content.customer), {
116
- text: (0, _coreUtil.isDesignMode)() ? (0, _locale.i18n)('CUSTOMER_NAME_AND_PHONE_NUMBER') : customerInfo
117
- })
118
- })), panelProps.content.arrowIcon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
119
- className: "reversed-icon",
120
- color: panelProps.content.arrowIcon.color,
121
- size: 18,
122
- type: "icon-chevron-right"
123
- }))));
124
- };
125
-
126
- MerchantSalesMobile.defaultProps = {
127
- panelProps: {}
128
- };
129
- return MerchantSalesMobile;
130
- }(_react["default"].Component);
131
-
132
- var _default = MerchantSalesMobile;
133
- exports["default"] = _default;
@@ -1,21 +0,0 @@
1
- .m-location-mobile {
2
- text-align: center;
3
- }
4
- .m-location-mobile .address-wrap {
5
- border-top: 0.02rem solid #F0F0F0;
6
- }
7
- .m-location-mobile .address-wrap .address-bg {
8
- background-color: #F2F2F2;
9
- display: flex;
10
- padding: 0.16rem;
11
- border-radius: 0.08rem;
12
- }
13
- .m-location-mobile .address-wrap .text {
14
- flex: auto;
15
- margin: 0 0.2rem;
16
- text-align: left;
17
- max-width: 80%;
18
- }
19
- .m-location-mobile.reversed-layout .address-wrap .text {
20
- text-align: right;
21
- }