@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
@@ -11,8 +11,6 @@ var _FlashDealConfigTitle = _interopRequireDefault(require("./FlashDealConfigTit
11
11
 
12
12
  var _FlashDealConfigContent = _interopRequireDefault(require("./FlashDealConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function FlashDealConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.bargainLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -11,8 +11,6 @@ var _GroupBuyConfigTitle = _interopRequireDefault(require("./GroupBuyConfigTitle
11
11
 
12
12
  var _GroupBuyConfigContent = _interopRequireDefault(require("./GroupBuyConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function GroupBuyConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.groupBuyLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -9,8 +9,6 @@ var _react = _interopRequireWildcard(require("react"));
9
9
 
10
10
  var _mobile = _interopRequireDefault(require("./mobile"));
11
11
 
12
- var _pc = _interopRequireDefault(require("./pc"));
13
-
14
12
  var _defaultJSON = require("./defaultJSON");
15
13
 
16
14
  var _coreUtil = require("../../../../utils/coreUtil");
@@ -72,9 +70,7 @@ function (_super) {
72
70
 
73
71
  FlashDeal.prototype.render = function () {
74
72
  var nodeData = this.props.nodeData;
75
- return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
76
- panelProps: nodeData
77
- }) : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
73
+ return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? null : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
78
74
  panelProps: nodeData
79
75
  }));
80
76
  };
@@ -9,8 +9,6 @@ var _react = _interopRequireWildcard(require("react"));
9
9
 
10
10
  var _mobile = _interopRequireDefault(require("./mobile"));
11
11
 
12
- var _pc = _interopRequireDefault(require("./pc"));
13
-
14
12
  var _defaultJSON = require("./defaultJSON");
15
13
 
16
14
  var _coreUtil = require("../../../../utils/coreUtil");
@@ -72,9 +70,7 @@ function (_super) {
72
70
 
73
71
  Recommend.prototype.render = function () {
74
72
  var nodeData = this.props.nodeData;
75
- return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
76
- panelProps: nodeData
77
- }) : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
73
+ return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? null : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
78
74
  panelProps: nodeData
79
75
  }));
80
76
  };
@@ -11,8 +11,6 @@ var _ConfigTitle = _interopRequireDefault(require("./ConfigTitle"));
11
11
 
12
12
  var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function InterestProductsConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.bundleLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -11,8 +11,6 @@ var _ConfigTitle = _interopRequireDefault(require("./ConfigTitle"));
11
11
 
12
12
  var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function InterestProductsConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.interestLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -11,8 +11,6 @@ var _ConfigTitle = _interopRequireDefault(require("./ConfigTitle"));
11
11
 
12
12
  var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function MerchantSalesConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.merchantSalesLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -11,8 +11,6 @@ var _FlashDealConfigTitle = _interopRequireDefault(require("./FlashDealConfigTit
11
11
 
12
12
  var _FlashDealConfigContent = _interopRequireDefault(require("./FlashDealConfigContent"));
13
13
 
14
- var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
15
-
16
14
  var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
15
 
18
16
  var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
@@ -21,6 +19,8 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
19
 
22
20
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
21
 
22
+ var _layout = require("../../../../constants/layout");
23
+
24
24
  var _locale = require("../../../../locale");
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -55,11 +55,7 @@ function FlashDealConfig(props) {
55
55
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
56
  data: data.customize,
57
57
  isHideAlign: true,
58
- layoutSource: [{
59
- id: 'layout1',
60
- name: 'layout1',
61
- image: _layout["default"]
62
- }]
58
+ layoutSource: _layout.monpayFlashDealLayout
63
59
  })
64
60
  }, {
65
61
  key: '5',
@@ -0,0 +1,104 @@
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;
@@ -0,0 +1,86 @@
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 _defaultJSON = require("./defaultJSON");
11
+
12
+ var _mobile = _interopRequireDefault(require("./mobile"));
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 CustomCode =
61
+ /** @class */
62
+ function (_super) {
63
+ __extends(CustomCode, _super);
64
+
65
+ function CustomCode() {
66
+ return _super !== null && _super.apply(this, arguments) || this;
67
+ }
68
+
69
+ CustomCode.prototype.componentDidMount = function () {};
70
+
71
+ CustomCode.prototype.render = function () {
72
+ var nodeData = this.props.nodeData;
73
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, window.magicDesign.device === 'pc' ? null : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
74
+ panelProps: nodeData
75
+ }));
76
+ };
77
+
78
+ CustomCode.defaultProps = {};
79
+ CustomCode.type = 'LOCATION';
80
+ CustomCode.getDefaultJSON = _defaultJSON.getDefaultJSON;
81
+ CustomCode = __decorate([_compositeDecorator["default"]], CustomCode);
82
+ return CustomCode;
83
+ }(_react.Component);
84
+
85
+ var _default = CustomCode;
86
+ exports["default"] = _default;