@fonixtree/magic-design 0.1.78 → 0.1.80

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 (317) hide show
  1. package/es/assets/fonts/Trueno-Light.otf +0 -0
  2. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  3. package/es/assets/fonts/TruenoBd.otf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.css +31 -3
  5. package/es/assets/fonts/magic-box-iconfont.css.bak +31 -3
  6. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  7. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  8. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  10. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  11. package/es/assets/images/base64/index.js +36 -2
  12. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  13. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  14. package/es/assets/less/cylon-antd.less +7246 -1686
  15. package/es/assets/less/font.less +22 -0
  16. package/es/common/AffiliateProductModal/index.js +582 -0
  17. package/es/common/AffiliateProductModal/index.less +146 -0
  18. package/es/common/CardCarousel/index.js +171 -0
  19. package/es/common/CardCarousel/index.less +28 -0
  20. package/es/common/GroupList/index.less +3 -0
  21. package/es/common/ImagePicker/index.js +1 -3
  22. package/es/common/LinkModal/FilteredProductModal/index.js +1 -1
  23. package/es/common/LinkModal/FunctionTable/index.js +2 -1
  24. package/es/common/LinkModal/index.js +14 -2
  25. package/es/common/MyModal/index.js +417 -0
  26. package/es/common/MyModal/index.less +74 -0
  27. package/es/common/ProductModal/index.js +2 -3
  28. package/es/common/ProductSource/index.js +42 -10
  29. package/es/common/UrlPicker/index.js +3 -1
  30. package/es/common/index.js +16 -0
  31. package/es/composite-comp/bol/components/Banner/mobile/index.js +4 -1
  32. package/es/composite-comp/bol/components/ImageText/pc/index.js +2 -2
  33. package/es/composite-comp/bol/components/Video/index.js +1 -2
  34. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  35. package/es/composite-comp/bol/components/Wallet/index.js +11 -15
  36. package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  37. package/es/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  38. package/es/composite-comp/bol/components/Wallet/pc/index.js +0 -2
  39. package/es/composite-comp/bol/components/Wallet/pc/index.less +1 -40
  40. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  41. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  42. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  43. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  44. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  45. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  46. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  47. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  48. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  49. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  50. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  51. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  52. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  53. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  54. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  55. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +8 -6
  56. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  57. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  58. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  59. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  60. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  61. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  62. package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  63. package/es/composite-comp/common/components/ImageLabel/index.less +9 -3
  64. package/es/composite-comp/common/components/ProductItem/index.js +25 -17
  65. package/es/composite-comp/common/components/ProductItem/index.less +17 -8
  66. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  67. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  68. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  69. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  70. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  71. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  72. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  73. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  74. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  75. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  76. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  77. package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  78. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  79. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  80. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  81. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  82. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  83. package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  84. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  85. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  86. package/es/composite-comp/dito/components/Recommend/mobile/index.js +10 -9
  87. package/es/composite-comp/dito/components/Recommend/pc/index.js +12 -11
  88. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  89. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  90. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  91. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  92. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  93. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  94. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  95. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  96. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  97. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  98. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  99. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  100. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  101. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  102. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  103. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  104. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  105. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  106. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  107. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  108. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  109. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  110. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  111. package/es/constants/component-types.js +27 -3
  112. package/es/constants/index.js +26 -1
  113. package/es/constants/layout.js +48 -1
  114. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  115. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  116. package/es/core/Designer/ChatRobot/index.js +36 -14
  117. package/es/core/Designer/ChatRobot/index.less +69 -28
  118. package/es/core/Designer/ConfigPanel/index.js +8 -3
  119. package/es/core/Designer/History/index.js +2 -2
  120. package/es/core/Designer/PageCompList/index.js +8 -5
  121. package/es/core/Designer/QuickMenuBar/index.js +5 -3
  122. package/es/core/Designer/QuickMenuBar/index.less +4 -0
  123. package/es/core/Designer/RenderHtml/index.js +18 -15
  124. package/es/core/Designer/RenderHtml/index.less +1 -1
  125. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +19 -6
  126. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +19 -6
  127. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +19 -6
  128. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +27 -6
  129. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +4 -20
  130. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  131. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  132. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +36 -5
  133. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +17 -16
  134. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +27 -6
  135. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +4 -20
  136. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  137. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  138. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  139. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +28 -3
  140. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +2 -1
  141. package/es/core/Designer/ToolBarModal/index.js +68 -22
  142. package/es/core/Designer/ToolBarModal/index.less +3 -2
  143. package/es/core/Designer/index.js +12 -1
  144. package/es/core/Renderer/index.js +55 -8
  145. package/es/decorator/compositeDecorator.js +23 -0
  146. package/es/locale/en/en.json +6 -1
  147. package/es/locale/es/es.json +6 -1
  148. package/es/locale/id/id.json +6 -1
  149. package/es/meta-comp/components/Image/index.js +31 -25
  150. package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
  151. package/es/meta-comp/components/Text/index.js +20 -1
  152. package/es/meta-comp/components/Text/index.less +8 -0
  153. package/es/meta-comp/config-panels/ButtonConfig/index.js +5 -5
  154. package/es/meta-comp/config-panels/ImageConfig/index.js +48 -44
  155. package/es/mobx/Frame.js +17 -2
  156. package/es/utils/businessUtil.js +17 -6
  157. package/es/utils/commonUtil.js +54 -4
  158. package/es/utils/currencyUtil.js +9 -2
  159. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  160. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  161. package/lib/assets/fonts/TruenoBd.otf +0 -0
  162. package/lib/assets/fonts/magic-box-iconfont.css +31 -3
  163. package/lib/assets/fonts/magic-box-iconfont.css.bak +31 -3
  164. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  165. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  166. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  167. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  168. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  169. package/lib/assets/images/base64/index.js +36 -2
  170. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  171. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  172. package/lib/assets/less/cylon-antd.less +7246 -1686
  173. package/lib/assets/less/font.less +22 -0
  174. package/lib/common/AffiliateProductModal/index.js +582 -0
  175. package/lib/common/AffiliateProductModal/index.less +146 -0
  176. package/lib/common/CardCarousel/index.js +171 -0
  177. package/lib/common/CardCarousel/index.less +28 -0
  178. package/lib/common/GroupList/index.less +3 -0
  179. package/lib/common/ImagePicker/index.js +1 -3
  180. package/lib/common/LinkModal/FilteredProductModal/index.js +1 -1
  181. package/lib/common/LinkModal/FunctionTable/index.js +2 -1
  182. package/lib/common/LinkModal/index.js +14 -2
  183. package/lib/common/MyModal/index.js +417 -0
  184. package/lib/common/MyModal/index.less +74 -0
  185. package/lib/common/ProductModal/index.js +2 -3
  186. package/lib/common/ProductSource/index.js +42 -10
  187. package/lib/common/UrlPicker/index.js +3 -1
  188. package/lib/common/index.js +16 -0
  189. package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -1
  190. package/lib/composite-comp/bol/components/ImageText/pc/index.js +2 -2
  191. package/lib/composite-comp/bol/components/Video/index.js +1 -2
  192. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  193. package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
  194. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  195. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  196. package/lib/composite-comp/bol/components/Wallet/pc/index.js +0 -2
  197. package/lib/composite-comp/bol/components/Wallet/pc/index.less +1 -40
  198. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  199. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  200. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  201. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  202. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  203. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  204. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  205. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  206. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  207. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  208. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  209. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  210. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  211. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  212. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  213. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +8 -6
  214. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  215. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  216. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  217. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  218. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  219. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  220. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  221. package/lib/composite-comp/common/components/ImageLabel/index.less +9 -3
  222. package/lib/composite-comp/common/components/ProductItem/index.js +25 -17
  223. package/lib/composite-comp/common/components/ProductItem/index.less +17 -8
  224. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  225. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  226. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  227. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  228. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  229. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  230. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  231. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  232. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  233. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  234. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  235. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  236. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  237. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  238. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  239. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  240. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  241. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  242. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  243. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  244. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +10 -9
  245. package/lib/composite-comp/dito/components/Recommend/pc/index.js +12 -11
  246. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  247. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  248. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  249. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  250. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  251. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  252. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  253. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  254. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  255. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  256. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  257. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  258. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  259. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  260. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  261. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  262. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  263. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  264. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  265. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  266. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  267. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  268. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  269. package/lib/constants/component-types.js +27 -3
  270. package/lib/constants/index.js +26 -1
  271. package/lib/constants/layout.js +48 -1
  272. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  273. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  274. package/lib/core/Designer/ChatRobot/index.js +36 -14
  275. package/lib/core/Designer/ChatRobot/index.less +69 -28
  276. package/lib/core/Designer/ConfigPanel/index.js +8 -3
  277. package/lib/core/Designer/History/index.js +2 -2
  278. package/lib/core/Designer/PageCompList/index.js +8 -5
  279. package/lib/core/Designer/QuickMenuBar/index.js +5 -3
  280. package/lib/core/Designer/QuickMenuBar/index.less +4 -0
  281. package/lib/core/Designer/RenderHtml/index.js +18 -15
  282. package/lib/core/Designer/RenderHtml/index.less +1 -1
  283. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +19 -6
  284. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +19 -6
  285. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +19 -6
  286. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +27 -6
  287. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +4 -20
  288. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  289. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  290. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +36 -5
  291. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +17 -16
  292. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +27 -6
  293. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +4 -20
  294. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  295. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  296. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  297. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +28 -3
  298. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +2 -1
  299. package/lib/core/Designer/ToolBarModal/index.js +68 -22
  300. package/lib/core/Designer/ToolBarModal/index.less +3 -2
  301. package/lib/core/Designer/index.js +12 -1
  302. package/lib/core/Renderer/index.js +55 -8
  303. package/lib/decorator/compositeDecorator.js +23 -0
  304. package/lib/locale/en/en.json +6 -1
  305. package/lib/locale/es/es.json +6 -1
  306. package/lib/locale/id/id.json +6 -1
  307. package/lib/meta-comp/components/Image/index.js +31 -25
  308. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  309. package/lib/meta-comp/components/Text/index.js +20 -1
  310. package/lib/meta-comp/components/Text/index.less +8 -0
  311. package/lib/meta-comp/config-panels/ButtonConfig/index.js +5 -5
  312. package/lib/meta-comp/config-panels/ImageConfig/index.js +48 -44
  313. package/lib/mobx/Frame.js +17 -2
  314. package/lib/utils/businessUtil.js +17 -6
  315. package/lib/utils/commonUtil.js +54 -4
  316. package/lib/utils/currencyUtil.js +9 -2
  317. package/package.json +1 -1
@@ -0,0 +1,148 @@
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 _base = require("../../../../assets/images/base64");
11
+
12
+ var walletDataList = [{
13
+ name: 'Saldo',
14
+ icon: _base.walletSaldoIcon,
15
+ text: 'Rincian Saldo'
16
+ }, {
17
+ name: 'Koin',
18
+ icon: _base.walletKoinIcon,
19
+ text: 'Rincian Koin'
20
+ }, {
21
+ name: 'Voucher',
22
+ icon: _base.walletVoucherIcon,
23
+ text: 'Diskon sd 50%'
24
+ }];
25
+
26
+ var getDefaultJSON = function getDefaultJSON() {
27
+ var groupId = (0, _uuid.v4)();
28
+ return {
29
+ id: groupId,
30
+ type: 'WALLET_NURI',
31
+ groupSource: walletDataList.map(function (item) {
32
+ var itemId = (0, _uuid.v4)();
33
+ return {
34
+ id: itemId,
35
+ parentId: groupId,
36
+ logo: {
37
+ parentId: itemId,
38
+ id: (0, _uuid.v4)(),
39
+ open: true,
40
+ content: {
41
+ clickUrl: '',
42
+ h5ImgSrc: item.icon,
43
+ h5Name: ''
44
+ }
45
+ },
46
+ title: {
47
+ parentId: itemId,
48
+ id: (0, _uuid.v4)(),
49
+ open: true,
50
+ type: 'TEXT',
51
+ specialContent: [],
52
+ text: item.name,
53
+ content: {
54
+ sizeType: 'Customize font styles',
55
+ fontFamily: 'Open Sans',
56
+ fontWeight: 400,
57
+ fontSize: 11,
58
+ color: '#232F46',
59
+ textAlign: 'center'
60
+ },
61
+ underline: {
62
+ open: false,
63
+ textDecorationColor: '',
64
+ textDecorationStyle: 'solid'
65
+ },
66
+ vertical: {}
67
+ },
68
+ amount: {
69
+ parentId: itemId,
70
+ id: (0, _uuid.v4)(),
71
+ open: true,
72
+ type: 'TEXT',
73
+ specialContent: [],
74
+ text: '****',
75
+ content: {
76
+ sizeType: 'Customize font styles',
77
+ fontFamily: 'Open Sans',
78
+ fontWeight: 700,
79
+ fontSize: 14,
80
+ color: '#232F46',
81
+ textAlign: ''
82
+ },
83
+ underline: {
84
+ open: false,
85
+ textDecorationColor: '',
86
+ textDecorationStyle: 'solid'
87
+ },
88
+ vertical: {}
89
+ },
90
+ text: {
91
+ parentId: itemId,
92
+ id: (0, _uuid.v4)(),
93
+ open: true,
94
+ type: 'TEXT',
95
+ specialContent: [],
96
+ text: item.text,
97
+ content: {
98
+ sizeType: 'Customize font styles',
99
+ fontFamily: 'Open Sans',
100
+ fontWeight: 400,
101
+ fontSize: 11,
102
+ color: '#232F46',
103
+ textAlign: ''
104
+ },
105
+ underline: {
106
+ open: false,
107
+ textDecorationColor: '',
108
+ textDecorationStyle: 'solid'
109
+ },
110
+ vertical: {}
111
+ },
112
+ tip: {
113
+ parentId: itemId,
114
+ id: (0, _uuid.v4)(),
115
+ open: true,
116
+ url: ''
117
+ }
118
+ };
119
+ }),
120
+ spacing: {
121
+ pc: {
122
+ paddingTop: 12,
123
+ paddingBottom: 12,
124
+ paddingLeft: 10,
125
+ paddingRight: 10,
126
+ marginBottom: window.magicDesign.compSpacing * 1.5
127
+ },
128
+ mobile: {
129
+ paddingTop: 12,
130
+ paddingBottom: 12,
131
+ paddingLeft: 10,
132
+ paddingRight: 10,
133
+ marginBottom: window.magicDesign.compSpacing
134
+ }
135
+ },
136
+ customize: {
137
+ layout: 'layout1'
138
+ },
139
+ background: {
140
+ opacity: 100,
141
+ color: '#FFF8F0',
142
+ image: '',
143
+ bgType: 'color'
144
+ }
145
+ };
146
+ };
147
+
148
+ exports.getDefaultJSON = getDefaultJSON;
@@ -0,0 +1,84 @@
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_NURI';
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;
@@ -0,0 +1,366 @@
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 _components = require("../../../../../meta-comp/components");
11
+
12
+ var _commonUtil = require("../../../../../utils/commonUtil");
13
+
14
+ var _ConfigPanel = require("../../../../../core/Designer/ConfigPanel");
15
+
16
+ require("./index.less");
17
+
18
+ var _base = require("../../../../../assets/images/base64");
19
+
20
+ var _currencyUtil = require("../../../../../utils/currencyUtil");
21
+
22
+ var _coreUtil = require("../../../../../utils/coreUtil");
23
+
24
+ var _mobx = require("../../../../../mobx");
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
+
28
+ var __extends = void 0 && (void 0).__extends || function () {
29
+ var _extendStatics = function extendStatics(d, b) {
30
+ _extendStatics = Object.setPrototypeOf || {
31
+ __proto__: []
32
+ } instanceof Array && function (d, b) {
33
+ d.__proto__ = b;
34
+ } || function (d, b) {
35
+ for (var p in b) {
36
+ if (b.hasOwnProperty(p)) d[p] = b[p];
37
+ }
38
+ };
39
+
40
+ return _extendStatics(d, b);
41
+ };
42
+
43
+ return function (d, b) {
44
+ _extendStatics(d, b);
45
+
46
+ function __() {
47
+ this.constructor = d;
48
+ }
49
+
50
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
+ };
52
+ }();
53
+
54
+ var __assign = void 0 && (void 0).__assign || function () {
55
+ __assign = Object.assign || function (t) {
56
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
57
+ s = arguments[i];
58
+
59
+ for (var p in s) {
60
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
61
+ }
62
+ }
63
+
64
+ return t;
65
+ };
66
+
67
+ return __assign.apply(this, arguments);
68
+ };
69
+
70
+ var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
71
+ function adopt(value) {
72
+ return value instanceof P ? value : new P(function (resolve) {
73
+ resolve(value);
74
+ });
75
+ }
76
+
77
+ return new (P || (P = Promise))(function (resolve, reject) {
78
+ function fulfilled(value) {
79
+ try {
80
+ step(generator.next(value));
81
+ } catch (e) {
82
+ reject(e);
83
+ }
84
+ }
85
+
86
+ function rejected(value) {
87
+ try {
88
+ step(generator["throw"](value));
89
+ } catch (e) {
90
+ reject(e);
91
+ }
92
+ }
93
+
94
+ function step(result) {
95
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
96
+ }
97
+
98
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
99
+ });
100
+ };
101
+
102
+ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
103
+ var _ = {
104
+ label: 0,
105
+ sent: function sent() {
106
+ if (t[0] & 1) throw t[1];
107
+ return t[1];
108
+ },
109
+ trys: [],
110
+ ops: []
111
+ },
112
+ f,
113
+ y,
114
+ t,
115
+ g;
116
+ return g = {
117
+ next: verb(0),
118
+ "throw": verb(1),
119
+ "return": verb(2)
120
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
121
+ return this;
122
+ }), g;
123
+
124
+ function verb(n) {
125
+ return function (v) {
126
+ return step([n, v]);
127
+ };
128
+ }
129
+
130
+ function step(op) {
131
+ if (f) throw new TypeError("Generator is already executing.");
132
+
133
+ while (_) {
134
+ try {
135
+ 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;
136
+ if (y = 0, t) op = [op[0] & 2, t.value];
137
+
138
+ switch (op[0]) {
139
+ case 0:
140
+ case 1:
141
+ t = op;
142
+ break;
143
+
144
+ case 4:
145
+ _.label++;
146
+ return {
147
+ value: op[1],
148
+ done: false
149
+ };
150
+
151
+ case 5:
152
+ _.label++;
153
+ y = op[1];
154
+ op = [0];
155
+ continue;
156
+
157
+ case 7:
158
+ op = _.ops.pop();
159
+
160
+ _.trys.pop();
161
+
162
+ continue;
163
+
164
+ default:
165
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
166
+ _ = 0;
167
+ continue;
168
+ }
169
+
170
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
171
+ _.label = op[1];
172
+ break;
173
+ }
174
+
175
+ if (op[0] === 6 && _.label < t[1]) {
176
+ _.label = t[1];
177
+ t = op;
178
+ break;
179
+ }
180
+
181
+ if (t && _.label < t[2]) {
182
+ _.label = t[2];
183
+
184
+ _.ops.push(op);
185
+
186
+ break;
187
+ }
188
+
189
+ if (t[2]) _.ops.pop();
190
+
191
+ _.trys.pop();
192
+
193
+ continue;
194
+ }
195
+
196
+ op = body.call(thisArg, _);
197
+ } catch (e) {
198
+ op = [6, e];
199
+ y = 0;
200
+ } finally {
201
+ f = t = 0;
202
+ }
203
+ }
204
+
205
+ if (op[0] & 5) throw op[1];
206
+ return {
207
+ value: op[0] ? op[1] : void 0,
208
+ done: true
209
+ };
210
+ }
211
+ };
212
+
213
+ var WalletNuriMobile =
214
+ /** @class */
215
+ function (_super) {
216
+ __extends(WalletNuriMobile, _super);
217
+
218
+ function WalletNuriMobile() {
219
+ var _this = _super !== null && _super.apply(this, arguments) || this;
220
+
221
+ _this.carouselRef = /*#__PURE__*/_react["default"].createRef();
222
+ _this.state = {
223
+ infoObj: null
224
+ };
225
+
226
+ _this.getInfo = function () {
227
+ return __awaiter(_this, void 0, void 0, function () {
228
+ var infoObj;
229
+ return __generator(this, function (_a) {
230
+ switch (_a.label) {
231
+ case 0:
232
+ return [4
233
+ /*yield*/
234
+ , (0, _commonUtil.commonFetch)('/designer/v1//h5/nuri/distribute/commission')];
235
+
236
+ case 1:
237
+ infoObj = _a.sent();
238
+ this.setState({
239
+ infoObj: infoObj
240
+ });
241
+ return [2
242
+ /*return*/
243
+ ];
244
+ }
245
+ });
246
+ });
247
+ };
248
+
249
+ _this.formatAmount = function (info) {
250
+ var infoObj = _this.state.infoObj;
251
+ var amountTxt = '';
252
+
253
+ switch (info.title.text) {
254
+ case 'Saldo':
255
+ amountTxt = (0, _currencyUtil.formatCurrencyWithSymbolNotSpace)(infoObj.balance);
256
+ break;
257
+
258
+ case 'Koin':
259
+ amountTxt = (0, _currencyUtil.addSeparators)(infoObj.lockedPool, '.', '.');
260
+ break;
261
+
262
+ case 'Voucher':
263
+ amountTxt = infoObj.couponCnt + " Kupon";
264
+ break;
265
+ }
266
+
267
+ return amountTxt;
268
+ };
269
+
270
+ _this.clickJump = function (title) {
271
+ if (title !== 'Voucher') {
272
+ (0, _coreUtil.clickUrl)('/main/my-commission');
273
+ }
274
+ };
275
+
276
+ _this.openTip = function (e, img, title) {
277
+ if (!(0, _coreUtil.isDesignMode)()) {
278
+ e.stopPropagation();
279
+
280
+ _mobx.frameStore.setState({
281
+ modalState: {
282
+ visible: true,
283
+ title: title,
284
+ messageImg: img
285
+ }
286
+ });
287
+ }
288
+ };
289
+
290
+ return _this;
291
+ }
292
+
293
+ WalletNuriMobile.prototype.componentDidMount = function () {
294
+ if (localStorage.getItem('isLogin') === 'Y') {
295
+ this.getInfo();
296
+ }
297
+ };
298
+
299
+ WalletNuriMobile.prototype.render = function () {
300
+ var _this = this;
301
+
302
+ var data = this.props.data;
303
+ var infoObj = this.state.infoObj;
304
+ var GAData = (0, _commonUtil.getGAData)(data);
305
+ return /*#__PURE__*/_react["default"].createElement("div", {
306
+ className: "m-wallet-nuri"
307
+ }, data.groupSource.map(function (group) {
308
+ return /*#__PURE__*/_react["default"].createElement("div", {
309
+ key: group.id,
310
+ className: "wallet-item",
311
+ onClick: function onClick() {
312
+ return _this.clickJump(group.title.text);
313
+ }
314
+ }, /*#__PURE__*/_react["default"].createElement("div", {
315
+ className: "item-head"
316
+ }, group.logo.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
317
+ data: group.logo,
318
+ GAData: GAData,
319
+ style: (0, _commonUtil.pxToRem)({
320
+ width: 16
321
+ })
322
+ }), group.title.open && /*#__PURE__*/_react["default"].createElement("div", {
323
+ className: "group-name"
324
+ }, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
325
+ data: group.title,
326
+ GAData: __assign(__assign({}, GAData), {
327
+ groupId: group.id,
328
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
329
+ }),
330
+ readonly: true
331
+ })), group.tip.open && /*#__PURE__*/_react["default"].createElement("img", {
332
+ alt: "tip",
333
+ className: "tip",
334
+ onClick: function onClick(e) {
335
+ return _this.openTip(e, group.tip.url, group.title.text);
336
+ },
337
+ src: _base.tipIcon
338
+ })), /*#__PURE__*/_react["default"].createElement("div", null, group.amount.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
339
+ data: __assign(__assign({}, group.amount), {
340
+ text: infoObj ? _this.formatAmount(group) : '****'
341
+ }),
342
+ GAData: __assign(__assign({}, GAData), {
343
+ groupId: group.id,
344
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
345
+ }),
346
+ readonly: true
347
+ })), group.text.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
348
+ data: group.text,
349
+ GAData: __assign(__assign({}, GAData), {
350
+ groupId: group.id,
351
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
352
+ })
353
+ }));
354
+ }));
355
+ };
356
+
357
+ WalletNuriMobile.defaultProps = {
358
+ data: {
359
+ groupSource: []
360
+ }
361
+ };
362
+ return WalletNuriMobile;
363
+ }(_react["default"].Component);
364
+
365
+ var _default = WalletNuriMobile;
366
+ exports["default"] = _default;
@@ -0,0 +1,22 @@
1
+ .m-wallet-nuri {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ }
5
+ .m-wallet-nuri .wallet-item {
6
+ flex: 1;
7
+ margin-left: 0.2rem;
8
+ }
9
+ .m-wallet-nuri .wallet-item:first-of-type {
10
+ margin-left: 0;
11
+ }
12
+ .m-wallet-nuri .wallet-item .item-head {
13
+ display: flex;
14
+ align-items: center;
15
+ }
16
+ .m-wallet-nuri .wallet-item .item-head .group-name {
17
+ margin-left: 0.08rem;
18
+ }
19
+ .m-wallet-nuri .wallet-item .item-head .tip {
20
+ margin-left: 0.12rem;
21
+ width: 0.28rem;
22
+ }
@@ -17,8 +17,6 @@ var _Button = _interopRequireDefault(require("../../../../../common/Button"));
17
17
 
18
18
  var _defaultJSON = require("../../../components/Wallet/defaultJSON");
19
19
 
20
- var _defaultImg = _interopRequireDefault(require("../imgs/defaultImg.png"));
21
-
22
20
  var _locale = require("../../../../../locale");
23
21
 
24
22
  var _decorator = require("../../../../../decorator");
@@ -109,10 +107,7 @@ function (_super) {
109
107
 
110
108
  return /*#__PURE__*/_react["default"].createElement("div", {
111
109
  className: "card_wrap"
112
- }, /*#__PURE__*/_react["default"].createElement("img", {
113
- alt: "",
114
- src: ((0, _coreUtil.isPc)() ? src.image.content.pcImgSrc : src.image.content.h5ImgSrc) || _defaultImg["default"]
115
- }), /*#__PURE__*/_react["default"].createElement("div", {
110
+ }, /*#__PURE__*/_react["default"].createElement("div", {
116
111
  className: "name"
117
112
  }, (_a = src.title) === null || _a === void 0 ? void 0 : _a.text));
118
113
  };