@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,201 @@
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 _common = require("../../../../../common");
11
+
12
+ require("./index.less");
13
+
14
+ var _coreUtil = require("../../../../../utils/coreUtil");
15
+
16
+ var _locale = require("../../../../../locale");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ var __extends = void 0 && (void 0).__extends || function () {
21
+ var _extendStatics = function extendStatics(d, b) {
22
+ _extendStatics = Object.setPrototypeOf || {
23
+ __proto__: []
24
+ } instanceof Array && function (d, b) {
25
+ d.__proto__ = b;
26
+ } || function (d, b) {
27
+ for (var p in b) {
28
+ if (b.hasOwnProperty(p)) d[p] = b[p];
29
+ }
30
+ };
31
+
32
+ return _extendStatics(d, b);
33
+ };
34
+
35
+ return function (d, b) {
36
+ _extendStatics(d, b);
37
+
38
+ function __() {
39
+ this.constructor = d;
40
+ }
41
+
42
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
43
+ };
44
+ }();
45
+
46
+ var WalletConfigSetting =
47
+ /** @class */
48
+ function (_super) {
49
+ __extends(WalletConfigSetting, _super);
50
+
51
+ function WalletConfigSetting() {
52
+ var _this = _super !== null && _super.apply(this, arguments) || this;
53
+
54
+ _this.reRender = function () {
55
+ (0, _coreUtil.renderPreview)();
56
+
57
+ _this.setState({});
58
+ };
59
+
60
+ return _this;
61
+ }
62
+
63
+ WalletConfigSetting.prototype.render = function () {
64
+ var _this = this;
65
+
66
+ var setting = this.props.setting;
67
+
68
+ var autoplaySetting = /*#__PURE__*/_react["default"].createElement(_common.Field, {
69
+ title: (0, _locale.i18n)('HOW_LONG_BETWEEN_SLIDES_(SECS)')
70
+ }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
71
+ maxVal: 60,
72
+ minVal: 1,
73
+ onChange: function onChange(value) {
74
+ setting.autoplay.interval = value.count;
75
+
76
+ _this.reRender();
77
+ },
78
+ unit: "s",
79
+ value: {
80
+ count: setting.autoplay.interval
81
+ }
82
+ }));
83
+
84
+ var navigationSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
85
+ title: (0, _locale.i18n)('NAVIGATION_ARROW')
86
+ }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
87
+ needColor: true,
88
+ onChange: function onChange(value) {
89
+ setting.navigation.size = value.count;
90
+ setting.navigation.color = value.color;
91
+
92
+ _this.reRender();
93
+ },
94
+ unit: "px",
95
+ value: {
96
+ count: setting.navigation.size,
97
+ color: setting.navigation.color
98
+ }
99
+ })), /*#__PURE__*/_react["default"].createElement(_common.Field, {
100
+ title: (0, _locale.i18n)('SELECTED_ARROW')
101
+ }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
102
+ needColor: true,
103
+ onChange: function onChange(value) {
104
+ setting.navigation.hoverSize = value.count;
105
+ setting.navigation.hoverColor = value.color;
106
+
107
+ _this.reRender();
108
+ },
109
+ unit: "px",
110
+ value: {
111
+ count: setting.navigation.hoverSize,
112
+ color: setting.navigation.hoverColor
113
+ }
114
+ })));
115
+
116
+ var dotsSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
117
+ title: (0, _locale.i18n)('SLIDE_BUTTON')
118
+ }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
119
+ needColor: true,
120
+ onChange: function onChange(value) {
121
+ setting.dots.size = value.count;
122
+ setting.dots.color = value.color;
123
+
124
+ _this.reRender();
125
+ },
126
+ unit: "px",
127
+ value: {
128
+ count: setting.dots.size,
129
+ color: setting.dots.color
130
+ }
131
+ })), /*#__PURE__*/_react["default"].createElement(_common.Field, {
132
+ title: (0, _locale.i18n)('SELECTED_BUTTON')
133
+ }, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
134
+ needColor: true,
135
+ onChange: function onChange(value) {
136
+ setting.dots.hoverSize = value.count;
137
+ setting.dots.hoverColor = value.color;
138
+
139
+ _this.reRender();
140
+ },
141
+ unit: "px",
142
+ value: {
143
+ count: setting.dots.hoverSize,
144
+ color: setting.dots.hoverColor
145
+ }
146
+ })));
147
+
148
+ return /*#__PURE__*/_react["default"].createElement("div", {
149
+ className: "carousel_setting"
150
+ }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
151
+ divider: "dashed",
152
+ onRefresh: this.reRender,
153
+ source: [{
154
+ key: '1',
155
+ name: (0, _locale.i18n)('AUTOPLAYS'),
156
+ value: autoplaySetting,
157
+ metaOption: setting.autoplay,
158
+ toggleType: 'switch'
159
+ }, {
160
+ key: '2',
161
+ name: (0, _locale.i18n)('SHOW_NAVIGATION_ARROW'),
162
+ value: navigationSetting,
163
+ metaOption: setting.navigation,
164
+ toggleType: 'switch'
165
+ }, {
166
+ key: '3',
167
+ name: (0, _locale.i18n)('SHOW_SLIDE_BUTTON'),
168
+ value: dotsSetting,
169
+ metaOption: setting.dots,
170
+ toggleType: 'switch'
171
+ }]
172
+ }));
173
+ };
174
+
175
+ WalletConfigSetting.defaultProps = {
176
+ setting: {
177
+ autoplay: {
178
+ open: true,
179
+ interval: 3
180
+ },
181
+ navigation: {
182
+ open: true,
183
+ size: 16,
184
+ color: '#384966',
185
+ hoverSize: 16,
186
+ hoverColor: '#384966'
187
+ },
188
+ dots: {
189
+ open: true,
190
+ size: 16,
191
+ color: '#fff',
192
+ hoverSize: 16,
193
+ hoverColor: '#fff'
194
+ }
195
+ }
196
+ };
197
+ return WalletConfigSetting;
198
+ }(_react["default"].Component);
199
+
200
+ var _default = WalletConfigSetting;
201
+ exports["default"] = _default;
@@ -0,0 +1,9 @@
1
+ .carousel_setting {
2
+
3
+ .collapse_wrap {
4
+ .header_wrap {
5
+ font-weight: 600 !important;
6
+ }
7
+ }
8
+
9
+ }
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _WalletConfigImageGroup = _interopRequireDefault(require("./WalletConfigImageGroup"));
11
11
 
12
+ var _WalletConfigSetting = _interopRequireDefault(require("./WalletConfigSetting"));
13
+
12
14
  var _WalletConfigContent = _interopRequireDefault(require("./WalletConfigContent"));
13
15
 
14
16
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
@@ -44,20 +46,27 @@ function WalletConfig(props) {
44
46
  })
45
47
  }, {
46
48
  key: '3',
49
+ name: (0, _locale.i18n)('SETTING'),
50
+ value: /*#__PURE__*/_react["default"].createElement(_WalletConfigSetting["default"], {
51
+ setting: data.setting
52
+ })
53
+ }, {
54
+ key: '4',
47
55
  name: (0, _locale.i18n)('SPACING'),
48
56
  value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
49
57
  data: data.spacing
50
58
  })
51
59
  }, {
52
- key: '4',
60
+ key: '5',
53
61
  name: (0, _locale.i18n)('CUSTOMIZE'),
54
62
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
63
+ component: "wallet",
55
64
  data: data.customize,
56
65
  isHideAlign: true,
57
66
  layoutSource: _layout.WalletLayout
58
67
  })
59
68
  }, {
60
- key: '5',
69
+ key: '6',
61
70
  name: (0, _locale.i18n)('BACKGROUND'),
62
71
  value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
63
72
  data: data.background
@@ -0,0 +1,100 @@
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
+ require("./index.less");
11
+
12
+ var _common = require("../../../../../common");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ var __extends = void 0 && (void 0).__extends || function () {
17
+ var _extendStatics = function extendStatics(d, b) {
18
+ _extendStatics = Object.setPrototypeOf || {
19
+ __proto__: []
20
+ } instanceof Array && function (d, b) {
21
+ d.__proto__ = b;
22
+ } || function (d, b) {
23
+ for (var p in b) {
24
+ if (b.hasOwnProperty(p)) d[p] = b[p];
25
+ }
26
+ };
27
+
28
+ return _extendStatics(d, b);
29
+ };
30
+
31
+ return function (d, b) {
32
+ _extendStatics(d, b);
33
+
34
+ function __() {
35
+ this.constructor = d;
36
+ }
37
+
38
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
39
+ };
40
+ }();
41
+
42
+ var GroupList =
43
+ /** @class */
44
+ function (_super) {
45
+ __extends(GroupList, _super);
46
+
47
+ function GroupList() {
48
+ var _this = _super !== null && _super.apply(this, arguments) || this;
49
+
50
+ _this.renderCard = function (src) {
51
+ return /*#__PURE__*/_react["default"].createElement("div", {
52
+ className: "card_wrap"
53
+ }, /*#__PURE__*/_react["default"].createElement("div", {
54
+ className: "name"
55
+ }, src.title.text));
56
+ };
57
+
58
+ return _this;
59
+ }
60
+
61
+ GroupList.prototype.render = function () {
62
+ var _this = this;
63
+
64
+ var _a = this.props,
65
+ source = _a.source,
66
+ onClickItem = _a.onClickItem;
67
+ return /*#__PURE__*/_react["default"].createElement("div", {
68
+ className: "group_list"
69
+ }, source.length > 0 && source.map(function (src, index) {
70
+ return /*#__PURE__*/_react["default"].createElement("div", {
71
+ key: "card" + src.id,
72
+ className: "group_item",
73
+ "data-nodeid": src.id,
74
+ id: "card" + src.id,
75
+ onClick: function onClick() {
76
+ return onClickItem(src);
77
+ }
78
+ }, /*#__PURE__*/_react["default"].createElement("div", {
79
+ className: "left"
80
+ }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
81
+ className: "drag-icon",
82
+ color: "#C4C4C4",
83
+ size: "20px",
84
+ type: "icon-drag"
85
+ }), /*#__PURE__*/_react["default"].createElement("span", {
86
+ className: "middle_info ml8"
87
+ }, _this.renderCard(src, index) || 'image name')));
88
+ }));
89
+ };
90
+
91
+ GroupList.defaultProps = {
92
+ source: [],
93
+ onClickItem: function onClickItem() {},
94
+ reRender: function reRender() {}
95
+ };
96
+ return GroupList;
97
+ }(_react["default"].Component);
98
+
99
+ var _default = GroupList;
100
+ exports["default"] = _default;
@@ -0,0 +1,72 @@
1
+ .group_list {
2
+ margin-bottom: 12px;
3
+
4
+ .group_item {
5
+ position: relative;
6
+ display: flex;
7
+ padding: 12px;
8
+ border-radius: 8px;
9
+ justify-content: space-between;
10
+ cursor: move;
11
+
12
+ &::after {
13
+ content: ' ';
14
+ position: absolute;
15
+ bottom: 0;
16
+ right: 0;
17
+ left: 0;
18
+ height: 1px;
19
+ background-color: #EDF0F4;
20
+ }
21
+
22
+ .left {
23
+ display: flex;
24
+ align-items: center;
25
+
26
+ .middle_info {
27
+ width: 260px;
28
+
29
+ .card_wrap {
30
+ display: flex;
31
+ align-items: center;
32
+ height: 40px;
33
+
34
+ img {
35
+ height: 40px;
36
+ width: 40px;
37
+ border-radius: 8px;
38
+ object-fit: cover;
39
+ background-color: #EDF0F4;
40
+ }
41
+
42
+ .name {
43
+ margin-left: 8px;
44
+ font-family: 'Open Sans';
45
+ font-style: normal;
46
+ font-weight: 600;
47
+ font-size: 16px;
48
+ line-height: 24px;
49
+ color: #232F46;
50
+ overflow: hidden;
51
+ text-overflow: ellipsis;
52
+ white-space: nowrap;
53
+ p {
54
+ margin-bottom: 0;
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+
62
+ &:hover {
63
+ background-color: #E9F0FF;
64
+
65
+ .left {
66
+ .middle_info {
67
+ width: 200px;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,123 @@
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 _mobxReact = require("mobx-react");
11
+
12
+ var _coreUtil = require("../../../../../utils/coreUtil");
13
+
14
+ var _decorator = require("../../../../../decorator");
15
+
16
+ var _GroupList = _interopRequireDefault(require("../GroupList"));
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ 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); }
21
+
22
+ var __extends = void 0 && (void 0).__extends || function () {
23
+ var _extendStatics = function extendStatics(d, b) {
24
+ _extendStatics = Object.setPrototypeOf || {
25
+ __proto__: []
26
+ } instanceof Array && function (d, b) {
27
+ d.__proto__ = b;
28
+ } || function (d, b) {
29
+ for (var p in b) {
30
+ if (b.hasOwnProperty(p)) d[p] = b[p];
31
+ }
32
+ };
33
+
34
+ return _extendStatics(d, b);
35
+ };
36
+
37
+ return function (d, b) {
38
+ _extendStatics(d, b);
39
+
40
+ function __() {
41
+ this.constructor = d;
42
+ }
43
+
44
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
45
+ };
46
+ }();
47
+
48
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
49
+ var c = arguments.length,
50
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
51
+ d;
52
+ 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--) {
53
+ if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
54
+ }
55
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
56
+ };
57
+
58
+ var notice = 'error';
59
+
60
+ var WalletNuriConfigImageGroup =
61
+ /** @class */
62
+ function (_super) {
63
+ __extends(WalletNuriConfigImageGroup, _super);
64
+
65
+ function WalletNuriConfigImageGroup() {
66
+ var _this = _super !== null && _super.apply(this, arguments) || this;
67
+
68
+ _this.state = {};
69
+
70
+ _this.onClickItem = function (node) {
71
+ _this.props.store.setState({
72
+ clickedGroup: node.id
73
+ });
74
+ };
75
+
76
+ _this.reRender = function () {
77
+ (0, _coreUtil.renderPreview)();
78
+
79
+ _this.setState({});
80
+ };
81
+
82
+ return _this;
83
+ }
84
+
85
+ WalletNuriConfigImageGroup.prototype.render = function () {
86
+ var _a = this.props.source,
87
+ source = _a === void 0 ? [] : _a;
88
+
89
+ var _renderCard = function renderCard(src) {
90
+ var _a;
91
+
92
+ return /*#__PURE__*/_react["default"].createElement("div", {
93
+ className: "card_wrap"
94
+ }, /*#__PURE__*/_react["default"].createElement("div", {
95
+ className: "name"
96
+ }, (_a = src.title) === null || _a === void 0 ? void 0 : _a.text));
97
+ };
98
+
99
+ return /*#__PURE__*/_react["default"].createElement("div", {
100
+ className: "WALLET_image"
101
+ }, /*#__PURE__*/_react["default"].createElement("div", {
102
+ className: "node_list"
103
+ }, source.length === 0 ? /*#__PURE__*/_react["default"].createElement("span", {
104
+ className: "notice"
105
+ }, notice) : /*#__PURE__*/_react["default"].createElement(_GroupList["default"], {
106
+ onClickItem: this.onClickItem,
107
+ renderCard: function renderCard(v) {
108
+ return _renderCard(v);
109
+ },
110
+ reRender: this.reRender,
111
+ source: source
112
+ })));
113
+ };
114
+
115
+ WalletNuriConfigImageGroup.defaultProps = {
116
+ source: []
117
+ };
118
+ WalletNuriConfigImageGroup = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer, _decorator.updateConfigDecorator], WalletNuriConfigImageGroup);
119
+ return WalletNuriConfigImageGroup;
120
+ }(_react["default"].Component);
121
+
122
+ var _default = WalletNuriConfigImageGroup;
123
+ exports["default"] = _default;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = WalletNuriConfig;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _WalletNuriConfigImageGroup = _interopRequireDefault(require("./WalletNuriConfigImageGroup"));
11
+
12
+ var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
13
+
14
+ var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
15
+
16
+ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));
17
+
18
+ var _layout = require("../../../../constants/layout");
19
+
20
+ var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
21
+
22
+ var _locale = require("../../../../locale");
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
+
26
+ function WalletNuriConfig(props) {
27
+ var data = props.data;
28
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
29
+ divider: "bold",
30
+ headerSize: "large",
31
+ source: [{
32
+ key: 'walletNuri1',
33
+ name: (0, _locale.i18n)('GROUP'),
34
+ value: /*#__PURE__*/_react["default"].createElement(_WalletNuriConfigImageGroup["default"], {
35
+ source: data.groupSource
36
+ })
37
+ }, {
38
+ key: 'walletNuri2',
39
+ name: (0, _locale.i18n)('SPACING'),
40
+ value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
41
+ data: data.spacing
42
+ })
43
+ }, {
44
+ key: 'walletNuri3',
45
+ name: (0, _locale.i18n)('CUSTOMIZE'),
46
+ value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
47
+ component: "wallet",
48
+ data: data.customize,
49
+ isHideAlign: true,
50
+ layoutSource: _layout.WalletNuriLayout
51
+ })
52
+ }, {
53
+ key: 'walletNuri4',
54
+ name: (0, _locale.i18n)('BACKGROUND'),
55
+ value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
56
+ data: data.background
57
+ })
58
+ }],
59
+ type: "triangle"
60
+ }));
61
+ }
@@ -7,7 +7,9 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _lodash = require("lodash");
10
+ var _pick = _interopRequireDefault(require("lodash/pick"));
11
+
12
+ var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
11
13
 
12
14
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
13
15
 
@@ -252,15 +254,15 @@ function (_super) {
252
254
 
253
255
  if (panelProps.hover.open) {
254
256
  var tempObj = {};
255
- tempObj = (0, _lodash.cloneDeep)((0, _lodash.pick)(panelProps.button, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
257
+ tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.button, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
256
258
  panelProps.hover.button = __assign(__assign({}, panelProps.hover.button), tempObj);
257
- tempObj = (0, _lodash.cloneDeep)((0, _lodash.pick)(panelProps.secondButton, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
259
+ tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.secondButton, ['buttonBorder', 'buttonIcon', 'buttonText', 'spacing', 'content', 'open', 'text']));
258
260
  panelProps.hover.secondButton = __assign(__assign({}, panelProps.hover.secondButton), tempObj);
259
- tempObj = (0, _lodash.cloneDeep)((0, _lodash.pick)(panelProps.image, ['content', 'open']));
261
+ tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.image, ['content', 'open']));
260
262
  panelProps.hover.image = __assign(__assign({}, panelProps.hover.image), tempObj);
261
- tempObj = (0, _lodash.cloneDeep)((0, _lodash.pick)(panelProps.text, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
263
+ tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.text, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
262
264
  panelProps.hover.text = __assign(__assign({}, panelProps.hover.text), tempObj);
263
- tempObj = (0, _lodash.cloneDeep)((0, _lodash.pick)(panelProps.title, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
265
+ tempObj = (0, _cloneDeep["default"])((0, _pick["default"])(panelProps.title, ['content', 'open', 'spacing', 'specialContent', 'text', 'underline', 'vertical']));
264
266
  panelProps.hover.title = __assign(__assign({}, panelProps.hover.title), tempObj);
265
267
  panelProps.hover.background = __assign(__assign({}, panelProps.hover.background), panelProps.background); // console.log(buttonTemp.buttonBorder == panelProps.button.buttonBorder);
266
268
  }