@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
@@ -267,18 +267,6 @@ var newParseUrl = function newParseUrl(urlObj) {
267
267
  };
268
268
  break;
269
269
 
270
- case _constants.urlTypeMap.BUSINESS_TYPE:
271
- // 业态列表
272
- link = '';
273
- params = {
274
- action: 'jump',
275
- params: {
276
- type: 'SEARCH_STORE_LIST_PAGE',
277
- storeBizTypeId: value
278
- }
279
- };
280
- break;
281
-
282
270
  default:
283
271
  var map = {
284
272
  '/main/cart': 'CART',
@@ -297,8 +285,7 @@ var newParseUrl = function newParseUrl(urlObj) {
297
285
  '/account/wallet': 'WEBVIEW',
298
286
  '/product/GroupBuy': 'GROUP',
299
287
  '/search-page': 'SEARCH_PAGE',
300
- '/commission': 'COMMISSION',
301
- '/location': 'ADD_ADDRESS_PAGE'
288
+ '/commission': 'COMMISSION'
302
289
  };
303
290
  var typeTemp = map[link];
304
291
 
@@ -383,17 +370,6 @@ var parseUrl = function parseUrl(url) {
383
370
  }
384
371
  };
385
372
  break;
386
-
387
- case _constants.urlType.STORE:
388
- // 店铺详情
389
- params = {
390
- action: 'jump',
391
- params: {
392
- type: 'STORE',
393
- storeId: arg1
394
- }
395
- };
396
- break;
397
373
  // 海报页面
398
374
 
399
375
  case _constants.urlType.CUSTOMIZED:
@@ -475,8 +451,7 @@ var parseUrl = function parseUrl(url) {
475
451
  '/product/GroupBuy': 'GROUP',
476
452
  '/search-page': 'SEARCH_PAGE',
477
453
  '/main/my-commission': 'WALLET',
478
- '/commission': 'COMMISSION',
479
- '/location': 'ADD_ADDRESS_PAGE'
454
+ '/commission': 'COMMISSION'
480
455
  };
481
456
  link = url;
482
457
  params = {
@@ -21,9 +21,9 @@ exports.goLogin = goLogin;
21
21
  exports.importAsync = void 0;
22
22
  exports.isLogin = isLogin;
23
23
  exports.navigateBack = navigateBack;
24
- exports.onListenTouch = exports.nextTick = exports.needReverse = exports.navigateTo = void 0;
24
+ exports.onListenTouch = exports.nextTick = exports.navigateTo = void 0;
25
25
  exports.pushGA = pushGA;
26
- exports.setDefaultAddressFromIP = exports.reverseStrArr = exports.pxToRem = void 0;
26
+ exports.setDefaultAddressFromIP = exports.pxToRem = void 0;
27
27
  exports.shareFacebook = shareFacebook;
28
28
  exports.shareLinkedin = shareLinkedin;
29
29
  exports.shareTwitter = shareTwitter;
@@ -505,29 +505,13 @@ var getUrlParams = function getUrlParams(name) {
505
505
  if (r != null) return unescape(r[2]);
506
506
  return null;
507
507
  };
508
-
509
- exports.getUrlParams = getUrlParams;
510
-
511
- var needReverse = function needReverse() {
512
- return ((0, _storeUtil.getStore)(_constants.STORAGE_KEY.FISHX_LOCALE) || (0, _storeUtil.getStore)(_constants.STORAGE_KEY.LOCALE)) === 'ar';
513
- };
514
-
515
- exports.needReverse = needReverse;
516
-
517
- var reverseStrArr = function reverseStrArr(arr) {
518
- if (needReverse()) {
519
- return arr.reverse().join(' ').replace('+ ', '+').replace(': ', ':');
520
- }
521
-
522
- return arr.join(' ').replace(' +', '+').replace(' :', ':');
523
- };
524
508
  /**
525
509
  * 补0 函数
526
510
  * @param {*} num 数字
527
511
  */
528
512
 
529
513
 
530
- exports.reverseStrArr = reverseStrArr;
514
+ exports.getUrlParams = getUrlParams;
531
515
 
532
516
  var addZero = function addZero(num) {
533
517
  return String(num).length === 1 ? "0" + String(num) : String(num);
@@ -954,16 +938,16 @@ var pxToRem = function pxToRem(styleObj) {
954
938
  if (styleObj.hasOwnProperty(key)) {
955
939
  var value = styleObj[key];
956
940
 
957
- if ((key === 'padding' || key === 'margin' || key === 'borderRadius') && typeof value === 'string') {
958
- var values = value.split(' ');
959
- var remValues = values.map(function (value) {
960
- return value.endsWith('px') ? convertToRem(value) : value;
961
- });
962
- remObj[key] = remValues.join(' ');
963
- } else if (typeof value === 'string' && value.endsWith('px')) {
941
+ if (typeof value === 'string' && value.endsWith('px')) {
964
942
  remObj[key] = convertToRem(value.split('px')[0]);
965
943
  } else if (typeof value === 'number') {
966
944
  remObj[key] = ['opacity', 'lineHeight', 'zIndex', 'fontWeight'].includes(key) ? value : convertToRem(value);
945
+ } else if ((key === 'padding' || key === 'margin') && typeof value === 'string') {
946
+ var paddingValues = value.split(' ');
947
+ var remPaddingValues = paddingValues.map(function (paddingValue) {
948
+ return paddingValue.endsWith('px') ? convertToRem(paddingValue) : paddingValue;
949
+ });
950
+ remObj[key] = remPaddingValues.join(' ');
967
951
  } else {
968
952
  remObj[key] = value;
969
953
  }
@@ -335,9 +335,7 @@ var clickUrl = function clickUrl(url, state) {
335
335
  return;
336
336
  }
337
337
 
338
- console.log('sendToApp', data);
339
-
340
- if ((0, _androidUtil.browserVersion)().isAshitaApp || (0, _androidUtil.browserVersion)().flutterApp || (0, _androidUtil.browserVersion)().isDelivistaApp) {
338
+ if ((0, _androidUtil.browserVersion)().isAshitaApp || (0, _androidUtil.browserVersion)().flutterApp) {
341
339
  (0, _androidUtil.sendToApp)(data);
342
340
  } else if ((0, _androidUtil.browserVersion)().isApp && params.link && params.link.startsWith('http')) {
343
341
  // 跳转链接是个绝对路径
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "2.0.190",
4
+ "version": "3.0.2",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",
@@ -1,274 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = AffiliatePlatform;
9
-
10
- var _react = _interopRequireWildcard(require("react"));
11
-
12
- var _antd = require("antd4");
13
-
14
- var _locale = require("../../../locale");
15
-
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
-
20
- var __assign = void 0 && (void 0).__assign || function () {
21
- __assign = Object.assign || function (t) {
22
- for (var s, i = 1, n = arguments.length; i < n; i++) {
23
- s = arguments[i];
24
-
25
- for (var p in s) {
26
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
27
- }
28
- }
29
-
30
- return t;
31
- };
32
-
33
- return __assign.apply(this, arguments);
34
- };
35
-
36
- var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) {
38
- return value instanceof P ? value : new P(function (resolve) {
39
- resolve(value);
40
- });
41
- }
42
-
43
- return new (P || (P = Promise))(function (resolve, reject) {
44
- function fulfilled(value) {
45
- try {
46
- step(generator.next(value));
47
- } catch (e) {
48
- reject(e);
49
- }
50
- }
51
-
52
- function rejected(value) {
53
- try {
54
- step(generator["throw"](value));
55
- } catch (e) {
56
- reject(e);
57
- }
58
- }
59
-
60
- function step(result) {
61
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
62
- }
63
-
64
- step((generator = generator.apply(thisArg, _arguments || [])).next());
65
- });
66
- };
67
-
68
- var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
69
- var _ = {
70
- label: 0,
71
- sent: function sent() {
72
- if (t[0] & 1) throw t[1];
73
- return t[1];
74
- },
75
- trys: [],
76
- ops: []
77
- },
78
- f,
79
- y,
80
- t,
81
- g;
82
- return g = {
83
- next: verb(0),
84
- "throw": verb(1),
85
- "return": verb(2)
86
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
87
- return this;
88
- }), g;
89
-
90
- function verb(n) {
91
- return function (v) {
92
- return step([n, v]);
93
- };
94
- }
95
-
96
- function step(op) {
97
- if (f) throw new TypeError("Generator is already executing.");
98
-
99
- while (_) {
100
- try {
101
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
102
- if (y = 0, t) op = [op[0] & 2, t.value];
103
-
104
- switch (op[0]) {
105
- case 0:
106
- case 1:
107
- t = op;
108
- break;
109
-
110
- case 4:
111
- _.label++;
112
- return {
113
- value: op[1],
114
- done: false
115
- };
116
-
117
- case 5:
118
- _.label++;
119
- y = op[1];
120
- op = [0];
121
- continue;
122
-
123
- case 7:
124
- op = _.ops.pop();
125
-
126
- _.trys.pop();
127
-
128
- continue;
129
-
130
- default:
131
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
132
- _ = 0;
133
- continue;
134
- }
135
-
136
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
137
- _.label = op[1];
138
- break;
139
- }
140
-
141
- if (op[0] === 6 && _.label < t[1]) {
142
- _.label = t[1];
143
- t = op;
144
- break;
145
- }
146
-
147
- if (t && _.label < t[2]) {
148
- _.label = t[2];
149
-
150
- _.ops.push(op);
151
-
152
- break;
153
- }
154
-
155
- if (t[2]) _.ops.pop();
156
-
157
- _.trys.pop();
158
-
159
- continue;
160
- }
161
-
162
- op = body.call(thisArg, _);
163
- } catch (e) {
164
- op = [6, e];
165
- y = 0;
166
- } finally {
167
- f = t = 0;
168
- }
169
- }
170
-
171
- if (op[0] & 5) throw op[1];
172
- return {
173
- value: op[0] ? op[1] : void 0,
174
- done: true
175
- };
176
- }
177
- };
178
-
179
- var paginationParams = {
180
- pageSize: 50,
181
- pageIndex: 1
182
- };
183
-
184
- function AffiliatePlatform(props) {
185
- var _this = this;
186
-
187
- var _onChange = props.onChange,
188
- _fetch = props._fetch;
189
-
190
- var _a = (0, _react.useState)([]),
191
- list = _a[0],
192
- setList = _a[1];
193
-
194
- var _b = (0, _react.useState)(false),
195
- loading = _b[0],
196
- setLoading = _b[1];
197
-
198
- var queryBizType = function queryBizType(params) {
199
- return __awaiter(_this, void 0, void 0, function () {
200
- var res;
201
- return __generator(this, function (_a) {
202
- switch (_a.label) {
203
- case 0:
204
- setLoading(true);
205
- return [4
206
- /*yield*/
207
- , _fetch("/designer/v1/" + window.magicDesign.MBaseUrl + "/biztype/list", params, 'GET')];
208
-
209
- case 1:
210
- res = _a.sent();
211
- paginationParams.total = 50;
212
- setList(res || []);
213
- setLoading(false);
214
- return [2
215
- /*return*/
216
- ];
217
- }
218
- });
219
- });
220
- };
221
-
222
- (0, _react.useEffect)(function () {
223
- queryBizType(paginationParams);
224
- }, []);
225
- var columns = [{
226
- title: (0, _locale.i18n)('NAME'),
227
- dataIndex: 'bizTypeName'
228
- }, {
229
- title: (0, _locale.i18n)('LOGO'),
230
- dataIndex: 'logo',
231
- render: function render(val) {
232
- return /*#__PURE__*/_react["default"].createElement("img", {
233
- alt: "",
234
- src: (val === null || val === void 0 ? void 0 : val.url) || '',
235
- style: {
236
- maxWidth: '50px',
237
- maxHeight: '50px'
238
- }
239
- });
240
- }
241
- }];
242
- var rowSelection = {
243
- onChange: function onChange(selectedRowKeys, selectedRow) {
244
- _onChange({
245
- value: selectedRow[0].storeBizTypeId,
246
- name: selectedRow[0].bizTypeName
247
- });
248
- },
249
- type: 'radio'
250
- };
251
- return /*#__PURE__*/_react["default"].createElement("div", {
252
- style: {
253
- height: 450
254
- }
255
- }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
256
- bordered: false,
257
- columns: columns,
258
- dataSource: list,
259
- defaultExpandAllRows: true,
260
- loading: loading,
261
- pagination: __assign(__assign({}, paginationParams), {
262
- onChange: function onChange(page) {
263
- paginationParams.pageIndex = page;
264
- queryBizType(paginationParams);
265
- },
266
- showSizeChanger: false
267
- }),
268
- rowKey: "storeBizTypeId",
269
- rowSelection: rowSelection,
270
- scroll: {
271
- y: 350
272
- }
273
- }));
274
- }
@@ -1,84 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireWildcard(require("react"));
9
-
10
- var _mobile = _interopRequireDefault(require("./mobile"));
11
-
12
- var _defaultJSON = require("./defaultJSON");
13
-
14
- var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
-
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
-
22
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
23
-
24
- var __extends = void 0 && (void 0).__extends || function () {
25
- var _extendStatics = function extendStatics(d, b) {
26
- _extendStatics = Object.setPrototypeOf || {
27
- __proto__: []
28
- } instanceof Array && function (d, b) {
29
- d.__proto__ = b;
30
- } || function (d, b) {
31
- for (var p in b) {
32
- if (b.hasOwnProperty(p)) d[p] = b[p];
33
- }
34
- };
35
-
36
- return _extendStatics(d, b);
37
- };
38
-
39
- return function (d, b) {
40
- _extendStatics(d, b);
41
-
42
- function __() {
43
- this.constructor = d;
44
- }
45
-
46
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
47
- };
48
- }();
49
-
50
- var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
51
- var c = arguments.length,
52
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
53
- d;
54
- if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
55
- if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
56
- }
57
- return c > 3 && r && Object.defineProperty(target, key, r), r;
58
- };
59
-
60
- var Wallet =
61
- /** @class */
62
- function (_super) {
63
- __extends(Wallet, _super);
64
-
65
- function Wallet() {
66
- return _super !== null && _super.apply(this, arguments) || this;
67
- }
68
-
69
- Wallet.prototype.render = function () {
70
- var nodeData = this.props.nodeData;
71
- return /*#__PURE__*/_react["default"].createElement("div", null, window.magicDesign.device === 'pc' ? null : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
72
- data: nodeData
73
- }));
74
- };
75
-
76
- Wallet.defaultProps = {};
77
- Wallet.type = 'WALLET_ASHITA';
78
- Wallet.getDefaultJSON = _defaultJSON.getDefaultJSON;
79
- Wallet = __decorate([_compositeDecorator["default"]], Wallet);
80
- return Wallet;
81
- }(_react.Component);
82
-
83
- var _default = Wallet;
84
- exports["default"] = _default;
@@ -1,104 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getDefaultJSON = void 0;
7
-
8
- var _uuid = require("uuid");
9
-
10
- var _constants = require("../../../../constants");
11
-
12
- var getDefaultJSON = function getDefaultJSON() {
13
- var _a;
14
-
15
- var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
16
- var groupId = (0, _uuid.v4)();
17
- return {
18
- id: groupId,
19
- type: 'LOCATION',
20
- content: {
21
- logo: {
22
- id: (0, _uuid.v4)(),
23
- open: true,
24
- color: '#8C52FF'
25
- },
26
- address: {
27
- id: (0, _uuid.v4)(),
28
- open: true,
29
- type: 'TEXT',
30
- specialContent: [],
31
- text: '',
32
- content: {
33
- sizeType: 'Customize font styles',
34
- fontFamily: defaultFontFamily,
35
- fontWeight: 600,
36
- fontSize: 14,
37
- color: '#000',
38
- urlDisabled: true
39
- },
40
- underline: {
41
- open: false,
42
- textDecorationColor: '',
43
- textDecorationStyle: 'solid'
44
- },
45
- vertical: {
46
- open: false,
47
- lineHeight: 18
48
- }
49
- },
50
- customer: {
51
- id: (0, _uuid.v4)(),
52
- open: true,
53
- type: 'TEXT',
54
- specialContent: [],
55
- text: '',
56
- content: {
57
- sizeType: 'Customize font styles',
58
- fontFamily: defaultFontFamily,
59
- fontWeight: 400,
60
- fontSize: 12,
61
- color: '#848484',
62
- urlDisabled: true
63
- },
64
- underline: {
65
- open: false,
66
- textDecorationColor: '',
67
- textDecorationStyle: 'solid'
68
- },
69
- vertical: {
70
- open: false,
71
- lineHeight: 18
72
- }
73
- },
74
- arrowIcon: {
75
- id: (0, _uuid.v4)(),
76
- open: true,
77
- color: '#545454'
78
- },
79
- locationBg: {
80
- open: true,
81
- color: '#F2F2F2'
82
- }
83
- },
84
- spacing: {
85
- mobile: {
86
- paddingTop: 0,
87
- paddingBottom: 0,
88
- paddingLeft: 0,
89
- paddingRight: 0
90
- }
91
- },
92
- customize: {
93
- layout: 'layout1'
94
- },
95
- background: {
96
- opacity: 100,
97
- color: '#fff',
98
- image: '',
99
- bgType: 'color'
100
- }
101
- };
102
- };
103
-
104
- exports.getDefaultJSON = getDefaultJSON;