@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,362 +0,0 @@
1
- {
2
- "CAN_BE_ADDED_AS_YOUR_ADDRESS": "Can be added as your address",
3
- "GIFT": "Gift",
4
- "SEARCH_FOR_PRODUCT_OR_SHOP": "Search for product or shop",
5
- "MIN_ORDER": "Min Order",
6
- "FREE_SHIPPING_STORES": "Free shipping stores",
7
- "SOURCE_OF_STORE": "Source of store",
8
- "DISTANCE": "Distance",
9
- "DELIVERY_TIME": "Delivery Time",
10
- "EVALUATE_SCORE": "Evaluate Score",
11
- "FREE_DELIVERY_LABEL": "Free Delivery Label",
12
- "STORE_DESCRIPTION": "Store Description",
13
- "STORE_NAME": "Store Name",
14
- "MIXED": "Mixed",
15
- "CUSTOMER_NAME_AND_PHONE_NUMBER": "Customer name and phone number",
16
- "LOCATION_BACKGROUND": "Location Background",
17
- "ARROW_ICON": "Arrow Icon",
18
- "CUSTOMER": "Customer",
19
- "BOLD": "Bold",
20
- "SEMIBOLD": "Semibold",
21
- "MEDIUM": "Medium",
22
- "REGULAR": "Regular",
23
- "OFF": "off",
24
- "ON_GOING": "On Going",
25
- "COMING_SOON": "Coming soon",
26
- "EXPDATE": "ExpDate",
27
- "EFFDATE": "EffDate",
28
- "MISSION_NAME": "Mission Name",
29
- "INTEREST_NAME": "Interest Name",
30
- "PLATFORM_NAME": "Platform Name",
31
- "API_NAME": "Api Name",
32
- "FEATURES": "Features",
33
- "CHANNEL": "Channel",
34
- "STORE_ID": "Store ID",
35
- "APP_NAME": "App Name",
36
- "CAMPAIGN_STATE": "Campaign State",
37
- "START_END_TIME": "Start/End time",
38
- "CAMPAIGN_NAME": "Campaign Name",
39
- "PROCESSING": "Processing",
40
- "HAS_NOT_STARTED": "Has not started",
41
- "ALL": "ALL",
42
- "PERIOD_OF_VAILDITY": "Period of Vaildity",
43
- "COUPON_VALUE": "Coupon Value",
44
- "COUPON_NAME": "Coupon Name",
45
- "OFFER_NAME": "Offer Name",
46
- "STORE": "Store",
47
- "PAGE_NAME": "Page Name",
48
- "CATEGORY": "Category",
49
- "CASHBACK": "Cashback",
50
- "CREDIT": "Credit",
51
- "BNPL": "BNPL",
52
- "CENDUIT": "CenDuit",
53
- "B2B_PAYLATER": "B2B PayLater",
54
- "BALANCE": "Balance",
55
- "CENDUIT_MALL": "CenDuit Mall",
56
- "SOCIAL_COMMERCE": "Social Commerce",
57
- "PROCURE_PRODUCT": "Procure Product",
58
- "ADD_MORE_PRODUCTS_TO_YOUR_SHOP": "Add more products to your shop!",
59
- "APPLY": "Apply",
60
- "LETS_GO": "Lets Go!",
61
- "MAKE_MONEY_AND_SHOP_ON_CENDOL": "Make money and shop on Cendol!",
62
- "MERCHANT_NAME": "Merchant Name",
63
- "SHOW_MORE": "Show More",
64
- "OK": "OK",
65
- "PRODUCT_CODE": "Product Code",
66
- "PROMOTIONS": "Promotions",
67
- "SPU_CODE": "SPU Code",
68
- "PRODUCT_NAME": "Product Name",
69
- "PRICE": "Price",
70
- "LABEL": "Label",
71
- "BRAND": "Brand",
72
- "CANCEL": "Cancel",
73
- "CONFIRM": "Confirm",
74
- "UPLOAD": "Upload",
75
- "SEND_A_MESSAGE": "Send a message",
76
- "WHAT_KEY_DETAILS_SHOULD_BE_EMPHASIZED": "What key details should be emphasized?",
77
- "WHAT_ARE_THE_KEY_FEATURES": "What are the key features?",
78
- "DESIRED_WORD_COUNT_RANGE": "Desired word count range?",
79
- "PREFERRED_TONE_OF_THE_DESCRIPTION": "Preferred tone of the description?",
80
- "DETAILED_DESCRIPTION": "Detailed description",
81
- "CONVERSATIONAL_EDITOR": "Conversational Editor",
82
- "GENERATE": "Generate",
83
- "CONCRETENESS": "Concreteness",
84
- "EXPECT": "Expect",
85
- "QUADRATIC_ELEMENT": "Quadratic element",
86
- "CREATIVITY": "Creativity",
87
- "REGENERATE_RESPONSE": "Regenerate Response",
88
- "DO_NOT_APPEAR": "Do not appear",
89
- "MODIFIER": "Modifier",
90
- "STYLE": "Style",
91
- "NUMBER": "Number",
92
- "SIZE": "Size",
93
- "UPLOAD_REFERENCE_IMAGES": "Upload reference images",
94
- "CHOOSE_AN_AI_ARTIST": "Choose an AI artist",
95
- "TEXT_TO_IMAGE": "Text to Image",
96
- "TRANSPARENT": "Transparent",
97
- "SEARCH_ALL_PAGES": "Search all pages...",
98
- "TYPE": "Type",
99
- "COUNT_DOWN": "Count Down",
100
- "SEARCH_BAR_PLACEHOLDER": "Search Bar Placeholder",
101
- "INTER": "Inter",
102
- "STORE_SERVICES": "Store services",
103
- "SHIP_ON_TIME": "Ship on time",
104
- "COMMODITY_QUALITY": "Commodity Quality",
105
- "FOLLOWED": "Followed",
106
- "VERIFIED": "Verified",
107
- "RATING": "Rating",
108
- "RATING_DETAILS": "Rating Details",
109
- "FOLLOWERS": "Followers",
110
- "FOLLOW_BUTTON": "Follow Button",
111
- "IN_STORE_SEARCH_BOX": "In Store Search Box",
112
- "THIS_PAGE_WILL": "This page will be published at {date}, If you need to edit it, please cancel the publishing later",
113
- "PRODUCTS_IN_TOTAL": "{total} Products In Total",
114
- "PLAY_ICON_COLOR": "Play Icon Color",
115
- "PLAY_ICON_TYPE": "Play Icon Type",
116
- "CLICKABLE_AREA": "Clickable Area",
117
- "FILL_THE_PAGE": "Fill the page",
118
- "VIDEO_SOUND": "Video Sound",
119
- "AUTOPLAYS": "Autoplays",
120
- "PLAY_IN_LOOP": "Play in loop",
121
- "PROGRESS_BAR": "Progress bar",
122
- "PLAY_ICON_SIZE": "Play Icon Size",
123
- "SOURCE_OF_ACTIVITY": "Source of Activity",
124
- "WIDTH": "Width",
125
- "PLAY_BUTTON_POSITION": "Play button position",
126
- "PLAY_POSITION": "Play Position",
127
- "START_VIDEO_AT": "Start video at",
128
- "SELECT_VIDEO": "Select Video",
129
- "PLAY_SPEED": "Play Speed",
130
- "POSTER": "Poster",
131
- "ADD_PAGE": "Add page",
132
- "HOMEPAGE": "Homepage",
133
- "WOMEN_S_HOME_PAGE": "Women's home page",
134
- "EDIT_PAGE": "Edit Page",
135
- "CANCEL_PUBLISH_LATER": "Cancel Publish Later",
136
- "TO_REVIEW": "To Review",
137
- "WHAT_WOULD_LIKE_TO_CREATE": "What would like to create?",
138
- "PLEASE_SELECT_A_TIME_AFTER_30_MINUTES_AND_WITHIN_30_DAYS": "Please select a time after 30 minutes and within 30 days",
139
- "BIG_NUMBERS_HAVE_BIG_EFFECTS": "Big numbers have big effects",
140
- "PROPORTION": "Proportion",
141
- "CUSTOMER_INTERESTS": "Customer interests",
142
- "HISTORY": "History",
143
- "SALES": "Sales",
144
- "DIRECT_FUNCTION": "Direct Function",
145
- "OPEN_SANS": "Open Sans",
146
- "MONTSERRAT": "Montserrat",
147
- "DISCOUNT": "DISCOUNT",
148
- "KHUSUS_PENGGUNA_BARU": "Khusus Pengguna Baru",
149
- "MIDDLE": "Middle",
150
- "BOTTOM_LEFT": "Bottom Left",
151
- "POPUP": "Popup",
152
- "PLAY_IN_BOX": "Play in Box",
153
- "DISPLAY_LOCATION_ADDRESS": "Display Location Address",
154
- "SUPPORT_FOR_A": "Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files",
155
- "CLICK_OR_DRAG": "Click or drag file to this area to upload",
156
- "SHARE_URL": "Share Url",
157
- "URL": "URL",
158
- "BRANDS": "Brands",
159
- "SERVICE": "Service",
160
- "RATINGS": "Ratings",
161
- "STAR": "Star",
162
- "SORT_BY": "Sort by",
163
- "HIGHEST_RATED": "Highest rated",
164
- "MOST_SOLD": "Most sold",
165
- "LOWEST_PRICE": "Lowest price",
166
- "EARLIEST": "Earliest",
167
- "FILTER": "Filter",
168
- "PROMOTION": "Promotion",
169
- "BUY_NOW": "Buy Now",
170
- "TOTAL": "Total",
171
- "RECENTLY": "Recently",
172
- "COUPON": "Coupon",
173
- "HEADER_IMAGE": "Header Image",
174
- "ACTIVITY_LABEL": "Activity Label",
175
- "STOCK": "Stock",
176
- "DISCOUNT_LABEL": "Discount Label",
177
- "SESSION_TIME": "Session Time",
178
- "COUNTDOWN": "Countdown",
179
- "SOLD": "Sold",
180
- "EVALUATION_SCORE": "Evaluation Score",
181
- "SEARCH_BAR_KEYWORD": "Search Bar Keyword",
182
- "BOX_BACKGROUND": "Box Background",
183
- "BOX_COLOR": "Box Color",
184
- "PROGRESS_BAR_COLOR": "Progress Bar Color",
185
- "GROUP_LABEL": "Group Label",
186
- "SUBMIT": "Submit",
187
- "CANCELLED": "Cancelled",
188
- "DONE": "Done",
189
- "TO_RECEIVE": "To Receive",
190
- "TO_SHIP": "To ship",
191
- "TO_PAY": "To Pay",
192
- "VIEW_ALL_ORDERS": "View All Orders",
193
- "ORDERS": "Orders",
194
- "RECENTLY_VIEWED": "Recently Viewed",
195
- "VOUCHERS": "Vouchers",
196
- "STORES": "Stores",
197
- "WISHLIST": "Wishlist",
198
- "IMAGE_NAME_IS_TOO_LONG": "Image name is too long",
199
- "ADD": "Add",
200
- "LOGIN_OR_REGISTER": "Login or Register",
201
- "ANCHOR": "Anchor",
202
- "PUSH": "Push",
203
- "SET_AS_TEMPLATE": "Set as Template",
204
- "DISPLAY_PAGE": "Display page",
205
- "NAME": "Name",
206
- "ADD_MENU": "Add Menu",
207
- "TIPS": "Tips",
208
- "AL": "AL",
209
- "PEEK": "Peek",
210
- "ADDRESS": "Address",
211
- "LOCATION_LOGO": "Location Logo",
212
- "MESSAGE_ICON": "Message icon",
213
- "CART_ICON": "Cart icon",
214
- "RECOMMENDED_SIZE": "Recommended Size",
215
- "DARK": "Dark",
216
- "LIGHT": "Light",
217
- "URL_IMAGE": "url image",
218
- "IMAGE_URL": "Image URL",
219
- "HOW_LONG_BETWEEN_SLIDES_(SECS)": "How long between slides (secs)",
220
- "CHAT": "Chat",
221
- "FOLLOW": "Follow",
222
- "FOLLOWING": "Following",
223
- "SEARCH_IN_SHOP": "Search in shop",
224
- "IMAGE_AND_TEXT_NAME": "Image and Text Name",
225
- "BANNER_GROUP_NAME": "Banner Group Name",
226
- "VIDEO": "Video",
227
- "BACK": "Back",
228
- "VIDEO_HEIGHT": "Video Height",
229
- "HEIGHT": "Height",
230
- "SOCIAL_IMAGE": "Social Image",
231
- "PLEASE_INPUT": "Please Input",
232
- "SOCIAL_DESCRIPTION": "Social Description",
233
- "SOCIAL_TITLE": "Social Title",
234
- "SUPPORT_SHARE": "Support Share",
235
- "SHARE": "Share",
236
- "ADD_VIDEO": "Add Video",
237
- "Wallet": "Wallet",
238
- "SOURCE_OF_AMOUNT": "Source of amount",
239
- "AMOUNT": "Amount",
240
- "IMAGES": "Images",
241
- "PUBLISH_TIME": "Publish Time",
242
- "PUBLISH_LATER": "Publish Later",
243
- "PUBLISH_NOW": "Publish Now",
244
- "SEARCH_BOX": "Search Box",
245
- "PLEASE_INPUT_KEYWORDS": "Please input keywords",
246
- "SHOPPING_CART": "Shopping Cart",
247
- "ADD_BUTTON": "Add Button",
248
- "BUTTON_TAG": "Button Tag",
249
- "ADD_TAG": "Add Tag",
250
- "LAST_CATEGORY": "Last Category",
251
- "SECONDARY_CATEGORY": "Secondary Category",
252
- "FIRST_CATEGORY": "First Category",
253
- "ALL_CATEGORY": "All Category",
254
- "HOME": "Home",
255
- "ADD_CLICKABLE_AREA": "Add Clickable Area",
256
- "ADD_AREA": "Add Area",
257
- "NAVIGATION_NAME": "Navigation Name",
258
- "ADD_NAVIGATION": "Add Navigation",
259
- "SAVE": "Save",
260
- "GROUP_NAME": "Group Name",
261
- "SEE_ALL": "See All",
262
- "ADD_GROUP": "Add Group",
263
- "CONTENT_WIDTH": "Content Width",
264
- "MAGNIFICATION": "Magnification",
265
- "RECOMMENDED_RULES": "Recommended Rules",
266
- "PRODUCT_SORT_BY": "Product Sort By",
267
- "PADDING": "Padding",
268
- "COMPONENT_SPACING": "Component spacing",
269
- "ALIGNMENT": "Alignment",
270
- "LAYOUT": "Layout",
271
- "BACKGROUND": "Background",
272
- "PLACEHOLDER": "Placeholder",
273
- "FONT_STYLE": "Font Style",
274
- "FONT_FAMILY": "Font Family",
275
- "FONT_WEIGHT": "Font Weight",
276
- "FONT_SIZE": "Font Size",
277
- "LINE_SPACING": "Line Spacing",
278
- "LINE_COLOR": "Line Color",
279
- "LINE_WEIGHT": "Line Weight",
280
- "LINE_STYLE": "Line Style",
281
- "LINE_WIDTH": "Line Width",
282
- "HEIGHT_AND_COLOR": "Height And Color",
283
- "NAVIGATION_ARROW": "Navigation arrow",
284
- "SELECTED_ARROW": "Selected arrow",
285
- "SLIDE_BUTTON": "Slide button",
286
- "SELECTED_BUTTON": "Selected button",
287
- "IMAGE": "Image",
288
- "SKU_CODE": "SKU Code",
289
- "SKU": "SKU",
290
- "PRODUCT_SELECT": "Product Select",
291
- "URL_SETUP": "URL Setup",
292
- "NEW_IMAGE": "New image",
293
- "ENLARGE": "Enlarge",
294
- "PUBLISH": "Publish",
295
- "PREVIEW": "Preview",
296
- "MOVE_UP": "Move Up",
297
- "MOVE_DOWN": "Move Down",
298
- "COPY": "Copy",
299
- "DELETE": "Delete",
300
- "ADD_COMPONENT": "Add Component",
301
- "HOT": "Hot",
302
- "GUESS_YOU_LIKE": "Guess you like",
303
- "UNDERLINE_STYLE": "Underline Style",
304
- "UNDERLINE_COLOR": "Underline Color",
305
- "UNDERLINE_SETTING": "Underline Setting",
306
- "BUTTON_COLOR": "Button Color",
307
- "BORDER_RADIUS": "Border Radius",
308
- "BORDER_COLOR": "Border Color",
309
- "ICON_PLACEMENT": "Icon Placement",
310
- "SOURCE_OF_PRODUCT": "Source Of Product",
311
- "AI_RECOMMENDATION": "AI Recommendation",
312
- "SELECT_PRODUCT": "Select Product",
313
- "PRODUCT_QUANTITY": "Product Quantity",
314
- "COLOR": "Color",
315
- "SHOW_NAVIGATION_ARROW": "Show navigation arrow",
316
- "SHOW_SLIDE_BUTTON": "Show slide button",
317
- "CONTENT": "Content",
318
- "SPACING": "Spacing",
319
- "CUSTOMIZE": "Customize",
320
- "BUTTON": "Button",
321
- "SECONDARY_BUTTON": "Secondary Button",
322
- "SETTING": "Setting",
323
- "SHOW_DIVIDER": "Show Divider",
324
- "SUBTITLE": "Subtitle",
325
- "HEADLINE": "Headline",
326
- "GROUP": "Group",
327
- "INPUT_FIELD": "Input Field",
328
- "CONFIRMATION": "Confirmation",
329
- "IMAGE_TAG": "Image Tag",
330
- "SECONDARY_BUTTON_TAG": "Secondary Button Tag",
331
- "TITLE": "Title",
332
- "HOVER": "Hover",
333
- "ICON": "Icon",
334
- "ACTIVITY_PRICE": "Activity Price",
335
- "SALES_PRICE": "Sales Price",
336
- "LOGO": "Logo",
337
- "BUTTON_TEXT_SETTING": "Button Text Setting",
338
- "BUTTON_BORDER_SETTING": "Button Border Setting",
339
- "BUTTON_ICON_SETTING": "Button Icon Setting",
340
- "SALES_PROGRESS": "Sales Progress",
341
- "NEXT": "Next",
342
- "ADD_IMAGE": "Add Image",
343
- "ADD_BANNER": "Add Banner",
344
- "TOTAL_PRODUCTS": "Total {count} products",
345
- "SELECTED": "Selected",
346
- "GROUP_BUY": "Group Buy",
347
- "RESET": "Reset",
348
- "QUERY": "Query",
349
- "SEARCH": "Search",
350
- "GROUP_BY": "Group By",
351
- "FLASH_SALE": "Flash Sale",
352
- "THE_PRODUCT_QUANTITY_WILL_BE_AUTOMATICALLY": "The product quantity will be automatically updated with the items that meet the category conditions",
353
- "LOOKS_LIKE_YOU_DO_NOT_HAVE_ANY_IMAGES": "Looks like you do not have any images in your gallery. Choose images to feature on this page.",
354
- "EDIT": "Edit",
355
- "MINIMUM": "Minimum",
356
- "MAXIMUM": "Maximum",
357
- "PLEASE_ADD_A_LINK": "Please add a link",
358
- "PLEASE_SELECT": "Please select",
359
- "PLEASE_SEARCH": "Please Search",
360
- "KEYWRODS": "Keywrods",
361
- "TEXT": "Text"
362
- }
@@ -1,207 +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 _antd = require("antd4");
15
-
16
- var _common = require("../../../../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;
@@ -1,81 +0,0 @@
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
- }