@fonixtree/magic-design 2.0.169 → 2.0.171

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 (325) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +39 -3
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  7. package/es/assets/images/base64/index.js +8 -2
  8. package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  9. package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  10. package/es/assets/images/layout-icon/bundleLayout1.png +0 -0
  11. package/es/assets/images/layout-icon/center.png +0 -0
  12. package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  13. package/es/assets/images/layout-icon/interestLayout1.png +0 -0
  14. package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  15. package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  16. package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  17. package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  18. package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  19. package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  20. package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  21. package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  22. package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  23. package/es/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
  24. package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
  25. package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
  26. package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
  27. package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
  28. package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  29. package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  30. package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  31. package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  32. package/es/assets/images/layout-icon/layout-search.png +0 -0
  33. package/es/assets/images/layout-icon/left.png +0 -0
  34. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  35. package/es/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
  36. package/es/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  37. package/es/assets/images/layout-icon/right.png +0 -0
  38. package/es/assets/images/layout-icon/storesLayout1.png +0 -0
  39. package/es/assets/images/layout-icon/storesLayout2.png +0 -0
  40. package/es/assets/images/layout-icon/textLayout1.png +0 -0
  41. package/es/assets/less/common.less +40 -3
  42. package/es/common/Field/index.js +5 -2
  43. package/es/common/Field/index.less +5 -0
  44. package/es/common/LayoutSelector/index.js +3 -21
  45. package/es/common/MyModal/index.less +12 -4
  46. package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/defaultJSON.js +1 -1
  47. package/es/composite-comp/ashita/components/WalletAshita/index.js +84 -0
  48. package/{lib/composite-comp/bol/config-panels/WalletConfig → es/composite-comp/ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.js +1 -1
  49. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
  50. package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
  51. package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
  52. package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
  53. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
  54. package/es/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
  55. package/es/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
  56. package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
  57. package/es/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
  58. package/es/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
  59. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
  60. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
  61. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
  62. package/es/composite-comp/public/components/Location/defaultJSON.js +104 -0
  63. package/es/composite-comp/public/components/Location/index.js +86 -0
  64. package/es/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
  65. package/es/composite-comp/public/components/Location/mobile/index.js +353 -0
  66. package/es/composite-comp/public/components/Location/mobile/index.less +90 -0
  67. package/es/composite-comp/public/components/Stores/defaultJSON.js +348 -0
  68. package/es/composite-comp/public/components/Stores/index.js +86 -0
  69. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.js +275 -0
  70. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.less +81 -0
  71. package/es/composite-comp/public/components/Stores/mobile/index.js +198 -0
  72. package/es/composite-comp/public/components/Stores/mobile/index.less +37 -0
  73. package/es/composite-comp/public/components/Wallet/defaultJSON.js +149 -0
  74. package/es/composite-comp/public/components/Wallet/mobile/index.js +350 -0
  75. package/es/composite-comp/public/components/Wallet/mobile/index.less +22 -0
  76. package/es/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +153 -0
  77. package/{lib/composite-comp/bol → es/composite-comp/public}/config-panels/LocationConfig/index.js +10 -52
  78. package/es/composite-comp/public/config-panels/LocationConfig/index.less +17 -0
  79. package/es/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +176 -0
  80. package/es/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +103 -0
  81. package/es/composite-comp/public/config-panels/StoresConfig/index.js +134 -0
  82. package/es/constants/component-types.js +23 -13
  83. package/es/constants/index.js +9 -1
  84. package/es/constants/layout.js +125 -16
  85. package/es/locale/en/en.json +15 -1
  86. package/es/locale/es/es.json +15 -1
  87. package/es/locale/index.js +5 -1
  88. package/es/locale/mn/mn.json +15 -1
  89. package/es/meta-comp/components/Text/index.less +6 -0
  90. package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +207 -0
  91. package/es/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +81 -0
  92. package/es/meta-comp/config-panels/ButtonConfig/index.js +7 -8
  93. package/es/utils/businessUtil.js +33 -7
  94. package/es/utils/commonUtil.js +21 -9
  95. package/lib/assets/fonts/.DS_Store +0 -0
  96. package/lib/assets/fonts/magic-box-iconfont.css +39 -3
  97. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  98. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  99. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  100. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  101. package/lib/assets/images/base64/index.js +8 -2
  102. package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  103. package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  104. package/lib/assets/images/layout-icon/bundleLayout1.png +0 -0
  105. package/lib/assets/images/layout-icon/center.png +0 -0
  106. package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
  107. package/lib/assets/images/layout-icon/interestLayout1.png +0 -0
  108. package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
  109. package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
  110. package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
  111. package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
  112. package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
  113. package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
  114. package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
  115. package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
  116. package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
  117. package/lib/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
  118. package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
  119. package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
  120. package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
  121. package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
  122. package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  123. package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  124. package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  125. package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  126. package/lib/assets/images/layout-icon/layout-search.png +0 -0
  127. package/lib/assets/images/layout-icon/left.png +0 -0
  128. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  129. package/lib/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
  130. package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
  131. package/lib/assets/images/layout-icon/right.png +0 -0
  132. package/lib/assets/images/layout-icon/storesLayout1.png +0 -0
  133. package/lib/assets/images/layout-icon/storesLayout2.png +0 -0
  134. package/lib/assets/images/layout-icon/textLayout1.png +0 -0
  135. package/lib/assets/less/common.less +40 -3
  136. package/lib/common/Field/index.js +5 -2
  137. package/lib/common/Field/index.less +5 -0
  138. package/lib/common/LayoutSelector/index.js +3 -21
  139. package/lib/common/MyModal/index.less +12 -4
  140. package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/defaultJSON.js +1 -1
  141. package/lib/composite-comp/ashita/components/WalletAshita/index.js +84 -0
  142. package/{es/composite-comp/bol/config-panels/WalletConfig → lib/composite-comp/ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.js +1 -1
  143. package/lib/composite-comp/ashita/config-panels/WalletAshitaConfig/WalletConfigImageGroup/index.less +0 -0
  144. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
  145. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
  146. package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
  147. package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
  148. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +1 -1
  149. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
  150. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
  151. package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
  152. package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
  153. package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
  154. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
  155. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
  156. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
  157. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  158. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  159. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  160. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  161. package/lib/composite-comp/nuri/config-panels/WalletNuriConfig/index.js +61 -0
  162. package/lib/composite-comp/nuri/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  163. package/lib/composite-comp/public/components/Location/defaultJSON.js +104 -0
  164. package/lib/composite-comp/public/components/Location/index.js +86 -0
  165. package/lib/composite-comp/public/components/Location/mobile/img/img-circle.png +0 -0
  166. package/lib/composite-comp/public/components/Location/mobile/index.js +353 -0
  167. package/lib/composite-comp/public/components/Location/mobile/index.less +90 -0
  168. package/lib/composite-comp/public/components/Stores/defaultJSON.js +348 -0
  169. package/lib/composite-comp/public/components/Stores/index.js +86 -0
  170. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.js +275 -0
  171. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.less +81 -0
  172. package/lib/composite-comp/public/components/Stores/mobile/index.js +198 -0
  173. package/lib/composite-comp/public/components/Stores/mobile/index.less +37 -0
  174. package/lib/composite-comp/public/components/Wallet/defaultJSON.js +149 -0
  175. package/lib/composite-comp/public/components/Wallet/mobile/index.js +350 -0
  176. package/lib/composite-comp/public/components/Wallet/mobile/index.less +22 -0
  177. package/lib/composite-comp/public/config-panels/LocationConfig/ConfigContent/index.js +153 -0
  178. package/{es/composite-comp/bol → lib/composite-comp/public}/config-panels/LocationConfig/index.js +10 -52
  179. package/lib/composite-comp/public/config-panels/LocationConfig/index.less +17 -0
  180. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.js +176 -0
  181. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigContent/index.less +0 -0
  182. package/lib/composite-comp/public/config-panels/StoresConfig/ConfigTitle/index.js +103 -0
  183. package/lib/composite-comp/public/config-panels/StoresConfig/index.js +134 -0
  184. package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.js +100 -0
  185. package/lib/composite-comp/public/config-panels/WalletConfig/GroupList/index.less +72 -0
  186. package/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.js +123 -0
  187. package/lib/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup/index.less +0 -0
  188. package/lib/composite-comp/public/config-panels/WalletConfig/index.js +61 -0
  189. package/lib/composite-comp/public/second-config-panels/WalletSecondConfig/index.js +152 -0
  190. package/lib/constants/component-types.js +23 -13
  191. package/lib/constants/index.js +9 -1
  192. package/lib/constants/layout.js +125 -16
  193. package/lib/locale/en/en.json +15 -1
  194. package/lib/locale/es/es.json +15 -1
  195. package/lib/locale/index.js +5 -1
  196. package/lib/locale/mn/mn.json +15 -1
  197. package/lib/meta-comp/components/Text/index.less +6 -0
  198. package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.js +207 -0
  199. package/lib/meta-comp/config-panels/ButtonConfig/BorderRadiusInput/index.less +81 -0
  200. package/lib/meta-comp/config-panels/ButtonConfig/index.js +7 -8
  201. package/lib/utils/businessUtil.js +33 -7
  202. package/lib/utils/commonUtil.js +21 -9
  203. package/package.json +1 -1
  204. package/es/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
  205. package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  206. package/es/assets/images/layout-icon/imageTextLeft.svg +0 -6
  207. package/es/assets/images/layout-icon/imageTextRight.svg +0 -6
  208. package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
  209. package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
  210. package/es/common/LayoutSelector/imgs/center.png +0 -0
  211. package/es/common/LayoutSelector/imgs/left.png +0 -0
  212. package/es/common/LayoutSelector/imgs/right.png +0 -0
  213. package/es/composite-comp/bol/components/Location/defaultJSON.js +0 -60
  214. package/es/composite-comp/bol/components/Location/index.js +0 -102
  215. package/es/composite-comp/bol/components/Location/index.less +0 -15
  216. package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  217. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  218. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  219. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  220. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  221. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
  222. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
  223. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
  224. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
  225. package/es/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
  226. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
  227. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
  228. package/lib/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
  229. package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
  230. package/lib/assets/images/layout-icon/imageTextLeft.svg +0 -6
  231. package/lib/assets/images/layout-icon/imageTextRight.svg +0 -6
  232. package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
  233. package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
  234. package/lib/common/LayoutSelector/imgs/center.png +0 -0
  235. package/lib/common/LayoutSelector/imgs/left.png +0 -0
  236. package/lib/common/LayoutSelector/imgs/right.png +0 -0
  237. package/lib/composite-comp/bol/components/Location/defaultJSON.js +0 -60
  238. package/lib/composite-comp/bol/components/Location/index.js +0 -102
  239. package/lib/composite-comp/bol/components/Location/index.less +0 -15
  240. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
  241. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
  242. package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
  243. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  244. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  245. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  246. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  247. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  248. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  249. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
  250. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
  251. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
  252. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
  253. package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
  254. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
  255. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
  256. /package/es/{composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png → assets/images/common/product.png} +0 -0
  257. /package/es/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
  258. /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png → assets/images/layout-icon/buttonLayout1.png} +0 -0
  259. /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
  260. /package/es/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
  261. /package/es/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
  262. /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.js +0 -0
  263. /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.less +0 -0
  264. /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.js +0 -0
  265. /package/es/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.less +0 -0
  266. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.js +0 -0
  267. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.less +0 -0
  268. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigImageGroup/index.less +0 -0
  269. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.js +0 -0
  270. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.less +0 -0
  271. /package/es/composite-comp/{bol/config-panels/ButtonCompConfig → ashita/config-panels/WalletAshitaConfig}/imgs/defaultImg.png +0 -0
  272. /package/es/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/index.js +0 -0
  273. /package/es/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.js +0 -0
  274. /package/es/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.less +0 -0
  275. /package/es/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
  276. /package/es/composite-comp/{bol → nuri}/components/WalletNuri/defaultJSON.js +0 -0
  277. /package/es/composite-comp/{bol → nuri}/components/WalletNuri/index.js +0 -0
  278. /package/es/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.js +0 -0
  279. /package/es/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.less +0 -0
  280. /package/es/composite-comp/{bol/config-panels/TagCompConfig/imgs → nuri/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
  281. /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/GroupList/index.js +0 -0
  282. /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/GroupList/index.less +0 -0
  283. /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -0
  284. /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  285. /package/es/composite-comp/{bol/config-panels/TextCompConfig → nuri/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
  286. /package/es/composite-comp/{bol → nuri}/config-panels/WalletNuriConfig/index.js +0 -0
  287. /package/es/composite-comp/{bol → nuri}/second-config-panels/WalletNuriSecondConfig/index.js +0 -0
  288. /package/es/composite-comp/{bol → public}/components/Wallet/index.js +0 -0
  289. /package/{lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigContent → es/composite-comp/public/config-panels/StoresConfig/ConfigContent}/index.less +0 -0
  290. /package/es/composite-comp/{bol/config-panels/WalletConfig/imgs → public/config-panels/WalletConfig/GroupList}/defaultImg.png +0 -0
  291. /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/GroupList/index.js +0 -0
  292. /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/GroupList/index.less +0 -0
  293. /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/WalletNuriConfigImageGroup/index.js +0 -0
  294. /package/{lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup → es/composite-comp/public/config-panels/WalletConfig/WalletNuriConfigImageGroup}/index.less +0 -0
  295. /package/es/composite-comp/{bol/config-panels/WalletNuriConfig/GroupList → public/config-panels/WalletConfig/imgs}/defaultImg.png +0 -0
  296. /package/{lib/composite-comp/bol/config-panels/WalletNuriConfig → es/composite-comp/public/config-panels/WalletConfig}/index.js +0 -0
  297. /package/{lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig → es/composite-comp/public/second-config-panels/WalletSecondConfig}/index.js +0 -0
  298. /package/lib/{composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png → assets/images/common/product.png} +0 -0
  299. /package/lib/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
  300. /package/{es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png → lib/assets/images/layout-icon/buttonLayout1.png} +0 -0
  301. /package/lib/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
  302. /package/lib/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
  303. /package/lib/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
  304. /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.js +0 -0
  305. /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/mobile/index.less +0 -0
  306. /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.js +0 -0
  307. /package/lib/composite-comp/{bol/components/Wallet → ashita/components/WalletAshita}/pc/index.less +0 -0
  308. /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigContent/index.js +0 -0
  309. /package/lib/composite-comp/{bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup → ashita/config-panels/WalletAshitaConfig/WalletConfigContent}/index.less +0 -0
  310. /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.js +0 -0
  311. /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/WalletConfigSetting/index.less +0 -0
  312. /package/{es/composite-comp/bol/config-panels/WalletNuriConfig → lib/composite-comp/ashita/config-panels/WalletAshitaConfig}/imgs/defaultImg.png +0 -0
  313. /package/lib/composite-comp/{bol/config-panels/WalletConfig → ashita/config-panels/WalletAshitaConfig}/index.js +0 -0
  314. /package/lib/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.js +0 -0
  315. /package/lib/composite-comp/{bol/second-config-panels/WalletSecondConfig → ashita/second-config-panels/WalletAshitaSecondConfig}/index.less +0 -0
  316. /package/lib/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
  317. /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/defaultJSON.js +0 -0
  318. /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/index.js +0 -0
  319. /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.js +0 -0
  320. /package/lib/composite-comp/{bol → nuri}/components/WalletNuri/mobile/index.less +0 -0
  321. /package/lib/composite-comp/{bol/config-panels/ButtonCompConfig/imgs → nuri/config-panels/WalletNuriConfig/GroupList}/defaultImg.png +0 -0
  322. /package/lib/composite-comp/{bol/config-panels/TagCompConfig → nuri/config-panels/WalletNuriConfig}/imgs/defaultImg.png +0 -0
  323. /package/lib/composite-comp/{bol → public}/components/Wallet/index.js +0 -0
  324. /package/lib/composite-comp/{bol/config-panels/TextCompConfig/imgs → public/config-panels/WalletConfig/GroupList}/defaultImg.png +0 -0
  325. /package/lib/composite-comp/{bol → public}/config-panels/WalletConfig/imgs/defaultImg.png +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.flashDealLayout = exports.dividerLayout = exports.carouselLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
6
+ exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
7
7
 
8
8
  var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
9
9
 
@@ -29,21 +29,21 @@ var _layoutImagetextM4 = _interopRequireDefault(require("../assets/images/layout
29
29
 
30
30
  var _layoutImagetextM5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-m3.png"));
31
31
 
32
- var _carouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout1.png"));
32
+ var _layoutImagetextP = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p1.png"));
33
33
 
34
- var _carouselLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout2.png"));
34
+ var _layoutImagetextP2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p2.png"));
35
35
 
36
- var _carouselLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout3.png"));
36
+ var _layoutImagetextP3 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p3.png"));
37
37
 
38
- var _layoutImagetextP = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p1.png"));
38
+ var _layoutImagetextP4 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p4.png"));
39
39
 
40
- var _layoutImagetextP2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p2.png"));
40
+ var _layoutImagetextP5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p5.png"));
41
41
 
42
- var _layoutImagetextP3 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p4.png"));
42
+ var _carouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout1.png"));
43
43
 
44
- var _imageTextLeft = _interopRequireDefault(require("../assets/images/layout-icon/imageTextLeft.svg"));
44
+ var _carouselLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout2.png"));
45
45
 
46
- var _imageTextRight = _interopRequireDefault(require("../assets/images/layout-icon/imageTextRight.svg"));
46
+ var _carouselLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout3.png"));
47
47
 
48
48
  var _newsletter = _interopRequireDefault(require("../assets/images/layout-icon/newsletter.svg"));
49
49
 
@@ -97,9 +97,50 @@ var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layou
97
97
 
98
98
  var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
99
99
 
100
+ var _buttonLayout = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout1.png"));
101
+
102
+ var _buttonLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout2.png"));
103
+
104
+ var _tagLayout = _interopRequireDefault(require("../assets/images/layout-icon/tagLayout1.png"));
105
+
106
+ var _textLayout = _interopRequireDefault(require("../assets/images/layout-icon/textLayout1.png"));
107
+
108
+ var _bargainLayout = _interopRequireDefault(require("../assets/images/layout-icon/bargainLayout1.png"));
109
+
110
+ var _groupBuyLayout = _interopRequireDefault(require("../assets/images/layout-icon/groupBuyLayout1.png"));
111
+
112
+ var _bundleLayout = _interopRequireDefault(require("../assets/images/layout-icon/bundleLayout1.png"));
113
+
114
+ var _interestLayout = _interopRequireDefault(require("../assets/images/layout-icon/interestLayout1.png"));
115
+
116
+ var _merchantSalesLayout = _interopRequireDefault(require("../assets/images/layout-icon/merchantSalesLayout1.png"));
117
+
118
+ var _storesLayout = _interopRequireDefault(require("../assets/images/layout-icon/storesLayout1.png"));
119
+
120
+ var _storesLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/storesLayout2.png"));
121
+
122
+ var _left = _interopRequireDefault(require("../assets/images/layout-icon/left.png"));
123
+
124
+ var _center = _interopRequireDefault(require("../assets/images/layout-icon/center.png"));
125
+
126
+ var _right = _interopRequireDefault(require("../assets/images/layout-icon/right.png"));
127
+
100
128
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
101
129
 
102
- // import p3 from '../assets/images/layout-icon/layout-imagetext-p3.png';
130
+ var defaultLayout = [{
131
+ id: 'layout1',
132
+ name: 'left',
133
+ image: _left["default"]
134
+ }, {
135
+ id: 'layout2',
136
+ name: 'center',
137
+ image: _center["default"]
138
+ }, {
139
+ id: 'layout3',
140
+ name: 'right',
141
+ image: _right["default"]
142
+ }];
143
+ exports.defaultLayout = defaultLayout;
103
144
  var dividerLayout = [{
104
145
  id: 'layout1',
105
146
  name: 'layout1',
@@ -113,8 +154,8 @@ var searchLayout = [{
113
154
  }];
114
155
  exports.searchLayout = searchLayout;
115
156
  var locationLayout = [{
116
- id: 'top',
117
- name: 'top',
157
+ id: 'layout1',
158
+ name: 'layout1',
118
159
  image: _locationLayout["default"]
119
160
  }];
120
161
  exports.locationLayout = locationLayout;
@@ -173,11 +214,11 @@ var imageTextLayoutPc = [{
173
214
  }, {
174
215
  id: 'layout4',
175
216
  name: 'leftImage',
176
- image: _imageTextLeft["default"]
217
+ image: _layoutImagetextP4["default"]
177
218
  }, {
178
219
  id: 'layout5',
179
220
  name: 'rightImage',
180
- image: _imageTextRight["default"]
221
+ image: _layoutImagetextP5["default"]
181
222
  }];
182
223
  exports.imageTextLayoutPc = imageTextLayoutPc;
183
224
  var imageTextLayoutMobile = [{
@@ -369,6 +410,74 @@ var flashDealLayout = [{
369
410
  }, {
370
411
  id: 'layout2',
371
412
  name: 'layout2',
372
- image: _layoutImagetextM4["default"]
413
+ image: _layoutRecommendMobile2["default"]
414
+ }];
415
+ exports.flashDealLayout = flashDealLayout;
416
+ var monpayFlashDealLayout = [{
417
+ id: 'layout1',
418
+ name: 'layout1',
419
+ image: _flashDealLayout["default"]
420
+ }];
421
+ exports.monpayFlashDealLayout = monpayFlashDealLayout;
422
+ var buttonLayout = [{
423
+ id: 'layout1',
424
+ name: 'layout1',
425
+ image: _buttonLayout["default"]
426
+ }, {
427
+ id: 'layout2',
428
+ name: 'layout2',
429
+ image: _buttonLayout2["default"]
430
+ }];
431
+ exports.buttonLayout = buttonLayout;
432
+ var tagLayout = [{
433
+ id: 'layout1',
434
+ name: 'layout1',
435
+ image: _tagLayout["default"]
436
+ }];
437
+ exports.tagLayout = tagLayout;
438
+ var textLayout = [{
439
+ id: 'layout1',
440
+ name: 'left',
441
+ image: _textLayout["default"]
442
+ }];
443
+ exports.textLayout = textLayout;
444
+ var bargainLayout = [{
445
+ id: 'layout1',
446
+ name: 'layout1',
447
+ image: _bargainLayout["default"]
448
+ }];
449
+ exports.bargainLayout = bargainLayout;
450
+ var groupBuyLayout = [{
451
+ id: 'layout1',
452
+ name: 'layout1',
453
+ image: _groupBuyLayout["default"]
454
+ }];
455
+ exports.groupBuyLayout = groupBuyLayout;
456
+ var bundleLayout = [{
457
+ id: 'layout1',
458
+ name: 'layout1',
459
+ image: _bundleLayout["default"]
460
+ }];
461
+ exports.bundleLayout = bundleLayout;
462
+ var interestLayout = [{
463
+ id: 'layout1',
464
+ name: 'layout1',
465
+ image: _interestLayout["default"]
466
+ }];
467
+ exports.interestLayout = interestLayout;
468
+ var merchantSalesLayout = [{
469
+ id: 'layout1',
470
+ name: 'layout1',
471
+ image: _merchantSalesLayout["default"]
472
+ }];
473
+ exports.merchantSalesLayout = merchantSalesLayout;
474
+ var storesLayout = [{
475
+ id: 'layout1',
476
+ name: 'layout1',
477
+ image: _storesLayout["default"]
478
+ }, {
479
+ id: 'layout2',
480
+ name: 'layout2',
481
+ image: _storesLayout2["default"]
373
482
  }];
374
- exports.flashDealLayout = flashDealLayout;
483
+ exports.storesLayout = storesLayout;
@@ -1,4 +1,19 @@
1
1
  {
2
+ "SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
3
+ "MIN_ORDER": "Min Order",
4
+ "FREE_SHIPPING_STORES": "Free shipping stores",
5
+ "SOURCE_OF_STORE": "Source of store",
6
+ "DISTANCE": "Distance",
7
+ "DELIVERY_TIME": "Delivery Time",
8
+ "EVALUATE_SCORE": "Evaluate Score",
9
+ "FREE_DELIVERY_LABEL": "Free Delivery Label",
10
+ "STORE_DESCRIPTION": "Store Description",
11
+ "STORE_NAME": "Store Name",
12
+ "MIXED": "Mixed",
13
+ "CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
14
+ "LOCATION_BACKGROUND": "Location Background",
15
+ "ARROW_ICON": "Arrow Icon",
16
+ "CUSTOMER": "Customer",
2
17
  "BOLD": "Bold",
3
18
  "SEMIBOLD": "Semibold",
4
19
  "MEDIUM": "Medium",
@@ -88,7 +103,6 @@
88
103
  "FOLLOWED": "Followed",
89
104
  "VERIFIED": "Verified",
90
105
  "RATING": "Rating",
91
- "STORE_NAME": "Store Name",
92
106
  "RATING_DETAILS": "Rating Details",
93
107
  "FOLLOWERS": "Followers",
94
108
  "FOLLOW_BUTTON": "Follow Button",
@@ -1,4 +1,19 @@
1
1
  {
2
+ "SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
3
+ "MIN_ORDER": "Min Order",
4
+ "FREE_SHIPPING_STORES": "Free shipping stores",
5
+ "SOURCE_OF_STORE": "Source of store",
6
+ "DISTANCE": "Distance",
7
+ "DELIVERY_TIME": "Delivery Time",
8
+ "EVALUATE_SCORE": "Evaluate Score",
9
+ "FREE_DELIVERY_LABEL": "Free Delivery Label",
10
+ "STORE_DESCRIPTION": "Store Description",
11
+ "STORE_NAME": "Store Name",
12
+ "MIXED": "Mixed",
13
+ "CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
14
+ "LOCATION_BACKGROUND": "Location Background",
15
+ "ARROW_ICON": "Arrow Icon",
16
+ "CUSTOMER": "Customer",
2
17
  "BOLD": "Bold",
3
18
  "SEMIBOLD": "Semibold",
4
19
  "MEDIUM": "Medio",
@@ -88,7 +103,6 @@
88
103
  "FOLLOWED": "Followed",
89
104
  "VERIFIED": "Verified",
90
105
  "RATING": "Rating",
91
- "STORE_NAME": "Store Name",
92
106
  "RATING_DETAILS": "Rating Details",
93
107
  "FOLLOWERS": "Followers",
94
108
  "FOLLOW_BUTTON": "Follow Button",
@@ -11,6 +11,8 @@ var _es = _interopRequireDefault(require("./es/es.json"));
11
11
 
12
12
  var _mn = _interopRequireDefault(require("./mn/mn.json"));
13
13
 
14
+ var _ba = _interopRequireDefault(require("./ba/ba.json"));
15
+
14
16
  var _constants = require("../constants");
15
17
 
16
18
  var _storeUtil = require("../utils/storeUtil");
@@ -21,7 +23,8 @@ var localeMap = {
21
23
  en: _en["default"],
22
24
  es: _es["default"],
23
25
  mn: _mn["default"],
24
- 'id-ID': _mn["default"]
26
+ 'id-ID': _mn["default"],
27
+ ba: _ba["default"]
25
28
  };
26
29
  /** 国际化 */
27
30
 
@@ -40,6 +43,7 @@ function i18n(key, args) {
40
43
  var reg = new RegExp("{" + key + "}", 'g');
41
44
  str_1 = tempString.replace(reg, args[key]);
42
45
  });
46
+ if (locale === 'ba') return str_1.split(' ').reverse().join(' ');
43
47
  return str_1;
44
48
  } else {
45
49
  console.log('未找到国际化KEY:' + key);
@@ -1,4 +1,19 @@
1
1
  {
2
+ "SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
3
+ "MIN_ORDER": "Min Order",
4
+ "FREE_SHIPPING_STORES": "Free shipping stores",
5
+ "SOURCE_OF_STORE": "Source of store",
6
+ "DISTANCE": "Distance",
7
+ "DELIVERY_TIME": "Delivery Time",
8
+ "EVALUATE_SCORE": "Evaluate Score",
9
+ "FREE_DELIVERY_LABEL": "Free Delivery Label",
10
+ "STORE_DESCRIPTION": "Store Description",
11
+ "STORE_NAME": "Дэлгүүрийн нэр",
12
+ "MIXED": "Mixed",
13
+ "CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
14
+ "LOCATION_BACKGROUND": "Location Background",
15
+ "ARROW_ICON": "Arrow Icon",
16
+ "CUSTOMER": "Customer",
2
17
  "BOLD": "Зоригтой",
3
18
  "SEMIBOLD": "Хагас хол",
4
19
  "MEDIUM": "Дунд",
@@ -88,7 +103,6 @@
88
103
  "FOLLOWED": "Дагасан",
89
104
  "VERIFIED": "Баталгаажсан",
90
105
  "RATING": "Үнэлгээ",
91
- "STORE_NAME": "Дэлгүүрийн нэр",
92
106
  "RATING_DETAILS": "Үнэлгээний дэлгэрэнгүй мэдээлэл",
93
107
  "FOLLOWERS": "Дагагчид",
94
108
  "FOLLOW_BUTTON": "Дагах товч",
@@ -100,4 +100,10 @@
100
100
  // }
101
101
  // }
102
102
  }
103
+ }
104
+
105
+ .one_row .m-meta-text {
106
+ overflow: hidden;
107
+ white-space: nowrap;
108
+ text-overflow: ellipsis;
103
109
  }
@@ -0,0 +1,207 @@
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 _antd = require("antd4");
15
+
16
+ var _common = require("src/components/common");
17
+
18
+ var _locale = require("../../../../locale");
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ var __extends = void 0 && (void 0).__extends || function () {
23
+ var _extendStatics = function extendStatics(d, b) {
24
+ _extendStatics = Object.setPrototypeOf || {
25
+ __proto__: []
26
+ } instanceof Array && function (d, b) {
27
+ d.__proto__ = b;
28
+ } || function (d, b) {
29
+ for (var p in b) {
30
+ if (b.hasOwnProperty(p)) d[p] = b[p];
31
+ }
32
+ };
33
+
34
+ return _extendStatics(d, b);
35
+ };
36
+
37
+ return function (d, b) {
38
+ _extendStatics(d, b);
39
+
40
+ function __() {
41
+ this.constructor = d;
42
+ }
43
+
44
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
45
+ };
46
+ }();
47
+
48
+ var BorderRadiusInput =
49
+ /** @class */
50
+ function (_super) {
51
+ __extends(BorderRadiusInput, _super);
52
+
53
+ function BorderRadiusInput() {
54
+ var _this = _super !== null && _super.apply(this, arguments) || this;
55
+
56
+ _this.state = {
57
+ open: false,
58
+ value1: 0,
59
+ value2: 0,
60
+ value3: 0,
61
+ value4: 0,
62
+ showValue: ''
63
+ };
64
+
65
+ _this.updateValue = function (v, e) {
66
+ var _a;
67
+
68
+ var onChange = _this.props.onChange;
69
+
70
+ _this.setState((_a = {}, _a[v] = e.target.value, _a), function () {
71
+ var _a = _this.state,
72
+ value1 = _a.value1,
73
+ value2 = _a.value2,
74
+ value3 = _a.value3,
75
+ value4 = _a.value4;
76
+ onChange((value1 || 0) + "px " + (value2 || 0) + "px " + (value4 || 0) + "px " + (value3 || 0) + "px");
77
+
78
+ _this.setState({
79
+ showValue: value1 == value2 && value1 == value3 && value1 == value4 ? value1 : (0, _locale.i18n)('MIXED')
80
+ });
81
+ });
82
+ };
83
+
84
+ return _this;
85
+ }
86
+
87
+ BorderRadiusInput.prototype.componentDidMount = function () {
88
+ var value = this.props.value;
89
+ var arr = typeof value === 'number' ? [value] : value.split(' ');
90
+ var first = arr[0],
91
+ second = arr[1],
92
+ three = arr[2],
93
+ four = arr[3];
94
+ this.setState({
95
+ value1: parseInt(first),
96
+ value2: parseInt(second || first),
97
+ value3: parseInt(three || first),
98
+ value4: parseInt(four || first),
99
+ showValue: typeof value === 'number' || first == second && first == three && first == four ? parseInt(first) : (0, _locale.i18n)('MIXED')
100
+ });
101
+ };
102
+
103
+ BorderRadiusInput.prototype.render = function () {
104
+ var _this = this;
105
+
106
+ var _a = this.state,
107
+ open = _a.open,
108
+ showValue = _a.showValue,
109
+ value1 = _a.value1,
110
+ value2 = _a.value2,
111
+ value3 = _a.value3,
112
+ value4 = _a.value4;
113
+
114
+ var menu = /*#__PURE__*/_react["default"].createElement(_antd.Menu, {
115
+ onClick: function onClick() {}
116
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
117
+ color: "#848484",
118
+ size: 24,
119
+ type: "icon-border-radius"
120
+ }), /*#__PURE__*/_react["default"].createElement("input", {
121
+ onChange: function onChange(e) {
122
+ return _this.updateValue('value1', e);
123
+ },
124
+ type: "text",
125
+ value: value1
126
+ })), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
127
+ className: "border-radius-rotate2",
128
+ color: "#848484",
129
+ size: 24,
130
+ type: "icon-border-radius"
131
+ }), /*#__PURE__*/_react["default"].createElement("input", {
132
+ onChange: function onChange(e) {
133
+ return _this.updateValue('value2', e);
134
+ },
135
+ type: "text",
136
+ value: value2
137
+ })), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
138
+ className: "border-radius-rotate3",
139
+ color: "#848484",
140
+ size: 24,
141
+ type: "icon-border-radius"
142
+ }), /*#__PURE__*/_react["default"].createElement("input", {
143
+ onChange: function onChange(e) {
144
+ return _this.updateValue('value3', e);
145
+ },
146
+ type: "text",
147
+ value: value3
148
+ })), /*#__PURE__*/_react["default"].createElement(_antd.Menu.Item, null, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
149
+ className: "border-radius-rotate4",
150
+ color: "#848484",
151
+ size: 24,
152
+ type: "icon-border-radius"
153
+ }), /*#__PURE__*/_react["default"].createElement("input", {
154
+ onChange: function onChange(e) {
155
+ return _this.updateValue('value4', e);
156
+ },
157
+ type: "text",
158
+ value: value4
159
+ })));
160
+
161
+ return /*#__PURE__*/_react["default"].createElement(_antd.Dropdown, {
162
+ open: open,
163
+ overlay: menu,
164
+ overlayClassName: "m-border-radius-dropdown",
165
+ placement: "bottomLeft"
166
+ }, /*#__PURE__*/_react["default"].createElement("div", {
167
+ className: (0, _classnames["default"])('m-border-radius-input')
168
+ }, open && /*#__PURE__*/_react["default"].createElement("div", {
169
+ className: "common_mask",
170
+ onClick: function onClick() {
171
+ return _this.setState({
172
+ open: false
173
+ });
174
+ }
175
+ }), /*#__PURE__*/_react["default"].createElement("div", {
176
+ className: "input"
177
+ }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
178
+ color: "#848484",
179
+ size: 24,
180
+ type: "icon-border-radius"
181
+ }), /*#__PURE__*/_react["default"].createElement("span", {
182
+ className: "value"
183
+ }, showValue)), /*#__PURE__*/_react["default"].createElement("span", {
184
+ className: (0, _classnames["default"])('m-icon-corner', {
185
+ active: open
186
+ }),
187
+ onClick: function onClick() {
188
+ _this.setState({
189
+ open: !open
190
+ });
191
+ }
192
+ }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
193
+ color: "#000",
194
+ size: 32,
195
+ type: "icon-corner"
196
+ }))));
197
+ };
198
+
199
+ BorderRadiusInput.defaultProps = {
200
+ value: '',
201
+ onChange: function onChange() {}
202
+ };
203
+ return BorderRadiusInput;
204
+ }(_react["default"].Component);
205
+
206
+ var _default = BorderRadiusInput;
207
+ exports["default"] = _default;
@@ -0,0 +1,81 @@
1
+ .m-border-radius-input {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+
6
+ .input {
7
+ height: 48px;
8
+ width: 83%;
9
+ background: #FFFFFF;
10
+ border: 1px solid #D2D9E5;
11
+ border-radius: 8px;
12
+ padding: 8px 16px;
13
+ align-items: center;
14
+
15
+ .value {
16
+ font-family: 'Open Sans';
17
+ font-style: normal;
18
+ font-weight: 400;
19
+ font-size: 16px;
20
+ color: #232F46;
21
+ margin-left: 10px;
22
+ }
23
+ }
24
+
25
+ .m-icon-corner {
26
+ cursor: pointer;
27
+ display: inline-block;
28
+ width: 36px;
29
+ height: 36px;
30
+ border-radius: 8px;
31
+ padding: 2px;
32
+ background-color: transparent;
33
+
34
+ &.active {
35
+ background-color: #ddd;
36
+ }
37
+ }
38
+ }
39
+
40
+ .m-border-radius-dropdown {
41
+
42
+ .cylon-dropdown-menu {
43
+ display: flex;
44
+ flex-wrap: wrap;
45
+
46
+ .cylon-dropdown-menu-item-active {
47
+ background-color: transparent;
48
+ color: #232F46 !important;
49
+ }
50
+
51
+ li {
52
+ width: 50%;
53
+
54
+ .cylon-dropdown-menu-title-content {
55
+ display: flex;
56
+
57
+ .border-radius-rotate2 {
58
+ transform: rotate(90deg);
59
+ }
60
+
61
+ .border-radius-rotate3 {
62
+ transform: rotate(270deg);
63
+ }
64
+
65
+ .border-radius-rotate4 {
66
+ transform: rotate(180deg);
67
+ }
68
+
69
+ input {
70
+ width: 80%;
71
+ outline: none;
72
+ border: 1px solid #D2D9E5;
73
+ padding: 4px 8px;
74
+ border-radius: 8px;
75
+ margin-left: 10px;
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ }
@@ -13,6 +13,8 @@ require("./index.less");
13
13
 
14
14
  var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
15
15
 
16
+ var _BorderRadiusInput = _interopRequireDefault(require("./BorderRadiusInput"));
17
+
16
18
  var _locale = require("../../../locale");
17
19
 
18
20
  var _SpacingConfig = _interopRequireDefault(require("../../../composite-comp/common/config-panels/SpacingConfig"));
@@ -251,16 +253,13 @@ function (_super) {
251
253
  value: _data.borderColor
252
254
  })), /*#__PURE__*/_react["default"].createElement(_common.Field, {
253
255
  title: (0, _locale.i18n)('BORDER_RADIUS')
254
- }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
255
- maxVal: 20,
256
- onChange: function onChange(_a) {
257
- var count = _a.count;
256
+ }, /*#__PURE__*/_react["default"].createElement(_BorderRadiusInput["default"], {
257
+ onChange: function onChange(v) {
258
+ console.log(v);
258
259
 
259
- _this.updateAttr(_data, 'borderRadius', count);
260
+ _this.updateAttr(_data, 'borderRadius', v);
260
261
  },
261
- value: {
262
- count: _data.borderRadius
263
- }
262
+ value: _data.borderRadius
264
263
  })));
265
264
  };
266
265
 
@@ -287,14 +287,40 @@ var newParseUrl = function newParseUrl(urlObj) {
287
287
  '/search-page': 'SEARCH_PAGE',
288
288
  '/commission': 'COMMISSION'
289
289
  };
290
- params = {
291
- action: 'jump',
292
- params: {
293
- type: map[link] || name,
294
- link: link,
295
- url: link
290
+ var typeTemp = map[link];
291
+
292
+ if (!typeTemp) {
293
+ if (type === _constants.urlTypeMap.FUNCTION_PAGE) {
294
+ params = {
295
+ action: 'jump',
296
+ params: {
297
+ type: 'WEBVIEW',
298
+ link: link,
299
+ url: link
300
+ }
301
+ };
302
+ } else if (!type) {
303
+ // 直接填的完整外链
304
+ params = {
305
+ action: 'jump',
306
+ params: {
307
+ type: 'NAVIGATE',
308
+ link: link,
309
+ url: link
310
+ }
311
+ };
296
312
  }
297
- };
313
+ } else {
314
+ params = {
315
+ action: 'jump',
316
+ params: {
317
+ type: typeTemp || name,
318
+ link: link,
319
+ url: link
320
+ }
321
+ };
322
+ }
323
+
298
324
  }
299
325
 
300
326
  return {