@fonixtree/magic-design 1.0.67 → 1.0.68

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 (419) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/Trueno-Light.otf +0 -0
  3. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  4. package/es/assets/fonts/TruenoBd.otf +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.css +62 -6
  6. package/es/assets/fonts/magic-box-iconfont.css.bak +35 -3
  7. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  8. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  9. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  10. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  11. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  12. package/es/assets/images/base64/index.js +36 -2
  13. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  14. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  15. package/es/assets/less/button.less +5 -0
  16. package/es/assets/less/cylon-antd.less +7246 -1686
  17. package/es/assets/less/font.less +22 -0
  18. package/es/common/AffiliateProductModal/index.js +582 -0
  19. package/es/common/AffiliateProductModal/index.less +146 -0
  20. package/es/common/Button/index.less +0 -1
  21. package/es/common/CardCarousel/index.js +171 -0
  22. package/es/common/CardCarousel/index.less +28 -0
  23. package/es/common/CountDown/index.js +20 -11
  24. package/es/common/CropperModal/index.js +126 -0
  25. package/es/common/CropperModal/index.less +29 -0
  26. package/es/common/GroupList/index.js +7 -2
  27. package/es/common/ImagePicker/index.js +1 -3
  28. package/es/common/LinkModal/CouponTable/index.js +3 -3
  29. package/es/common/LinkModal/CustomTable/index.js +1 -0
  30. package/es/common/LinkModal/FunctionTable/index.js +2 -1
  31. package/es/common/LinkModal/index.js +14 -2
  32. package/es/common/MagicLink/index.js +2 -2
  33. package/es/common/MyModal/index.js +417 -0
  34. package/es/common/MyModal/index.less +74 -0
  35. package/es/common/ProductModal/index.js +38 -3
  36. package/es/common/ProductSource/index.js +59 -18
  37. package/es/common/UrlPicker/AnchorModal/index.js +170 -0
  38. package/es/common/UrlPicker/AnchorModal/index.less +21 -0
  39. package/es/common/UrlPicker/index.js +52 -9
  40. package/es/common/index.js +24 -0
  41. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -2
  42. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  43. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  44. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  45. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  46. package/es/composite-comp/bol/components/Video/index.js +1 -2
  47. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  48. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  49. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
  50. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  51. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  52. package/es/composite-comp/bol/components/Wallet/index.js +11 -15
  53. package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  54. package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -40
  55. package/es/composite-comp/bol/components/Wallet/pc/index.js +0 -2
  56. package/es/composite-comp/bol/components/Wallet/pc/index.less +1 -40
  57. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  58. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  59. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  60. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  61. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  62. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  63. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  64. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  65. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  66. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  67. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  68. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  69. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  70. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  71. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  72. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
  73. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  74. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  75. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  76. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  77. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  78. package/es/composite-comp/common/components/AffiliateProductItem/index.js +168 -0
  79. package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  80. package/es/composite-comp/common/components/ProductItem/index.js +22 -20
  81. package/es/composite-comp/common/components/ProductItem/index.less +2 -12
  82. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  83. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  84. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
  85. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  86. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  87. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  88. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  89. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  90. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  91. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +92 -0
  92. package/es/composite-comp/dito/components/CommonFunctions/index.js +84 -0
  93. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +107 -0
  94. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
  95. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  96. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  97. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  98. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +102 -0
  99. package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  100. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  101. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  102. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  103. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  104. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  105. package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  106. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  107. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  108. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  109. package/es/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
  110. package/es/composite-comp/dito/components/Orders/index.js +84 -0
  111. package/es/composite-comp/dito/components/Orders/mobile/index.js +345 -0
  112. package/es/composite-comp/dito/components/Orders/mobile/index.less +82 -0
  113. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
  114. package/es/composite-comp/dito/components/PersonalInformation/index.js +84 -0
  115. package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  116. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +587 -0
  117. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -0
  118. package/es/composite-comp/dito/components/Recommend/mobile/index.js +6 -5
  119. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  120. package/es/composite-comp/dito/components/Recommend/pc/index.js +6 -5
  121. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  122. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +6 -9
  123. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
  124. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  125. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  126. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  127. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  128. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  129. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  130. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
  131. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
  132. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  133. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  134. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  135. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +121 -0
  136. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  137. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  138. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  139. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  140. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  141. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  142. package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +131 -0
  143. package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -0
  144. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +131 -0
  145. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -0
  146. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
  147. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  148. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  149. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  150. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +122 -0
  151. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  152. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  153. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  154. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
  155. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
  156. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
  157. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
  158. package/es/constants/component-types.js +45 -3
  159. package/es/constants/index.js +74 -5
  160. package/es/constants/layout.js +48 -1
  161. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +128 -0
  162. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  163. package/es/core/Designer/ChatRobot/index.js +84 -17
  164. package/es/core/Designer/ChatRobot/index.less +69 -28
  165. package/es/core/Designer/ConfigPanel/index.js +14 -3
  166. package/es/core/Designer/FonixtreeGpt/index.js +222 -29
  167. package/es/core/Designer/PageCompList/index.js +6 -5
  168. package/es/core/Designer/QuickMenuBar/index.js +11 -5
  169. package/es/core/Designer/QuickMenuBar/index.less +4 -0
  170. package/es/core/Designer/RenderHtml/index.js +18 -15
  171. package/es/core/Designer/RenderHtml/index.less +1 -1
  172. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +19 -6
  173. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +19 -6
  174. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +19 -6
  175. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +27 -6
  176. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +4 -20
  177. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  178. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  179. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +36 -5
  180. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +17 -16
  181. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +27 -6
  182. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +4 -20
  183. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  184. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  185. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  186. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +28 -3
  187. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +2 -1
  188. package/es/core/Designer/ToolBarModal/index.js +68 -22
  189. package/es/core/Designer/ToolBarModal/index.less +3 -2
  190. package/es/core/Designer/index.js +26 -2
  191. package/es/core/Renderer/index.js +74 -29
  192. package/es/decorator/compositeDecorator.js +33 -6
  193. package/es/decorator/metaDecorator.js +1 -1
  194. package/es/locale/en/en.json +17 -3
  195. package/es/locale/es/es.json +17 -3
  196. package/es/locale/id/id.json +17 -3
  197. package/es/meta-comp/components/Image/index.js +31 -25
  198. package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
  199. package/es/meta-comp/components/Text/index.js +4 -1
  200. package/es/meta-comp/components/Text/index.less +8 -0
  201. package/es/meta-comp/config-panels/ImageConfig/index.js +48 -44
  202. package/es/mobx/Frame.js +17 -2
  203. package/es/mobx/UserState.js +144 -0
  204. package/es/mobx/index.js +9 -3
  205. package/es/utils/androidUtil.js +13 -2
  206. package/es/utils/businessUtil.js +25 -3
  207. package/es/utils/commonUtil.js +177 -22
  208. package/es/utils/coreUtil.js +45 -2
  209. package/es/utils/currencyUtil.js +9 -2
  210. package/lib/assets/fonts/.DS_Store +0 -0
  211. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  212. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  213. package/lib/assets/fonts/TruenoBd.otf +0 -0
  214. package/lib/assets/fonts/magic-box-iconfont.css +62 -6
  215. package/lib/assets/fonts/magic-box-iconfont.css.bak +35 -3
  216. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  217. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  218. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  219. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  220. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  221. package/lib/assets/images/base64/index.js +36 -2
  222. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  223. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  224. package/lib/assets/less/button.less +5 -0
  225. package/lib/assets/less/cylon-antd.less +7246 -1686
  226. package/lib/assets/less/font.less +22 -0
  227. package/lib/common/AffiliateProductModal/index.js +582 -0
  228. package/lib/common/AffiliateProductModal/index.less +146 -0
  229. package/lib/common/Button/index.less +0 -1
  230. package/lib/common/CardCarousel/index.js +171 -0
  231. package/lib/common/CardCarousel/index.less +28 -0
  232. package/lib/common/CountDown/index.js +20 -11
  233. package/lib/common/CropperModal/index.js +126 -0
  234. package/lib/common/CropperModal/index.less +29 -0
  235. package/lib/common/GroupList/index.js +7 -2
  236. package/lib/common/ImagePicker/index.js +1 -3
  237. package/lib/common/LinkModal/CouponTable/index.js +3 -3
  238. package/lib/common/LinkModal/CustomTable/index.js +1 -0
  239. package/lib/common/LinkModal/FunctionTable/index.js +2 -1
  240. package/lib/common/LinkModal/index.js +14 -2
  241. package/lib/common/MagicLink/index.js +2 -2
  242. package/lib/common/MyModal/index.js +417 -0
  243. package/lib/common/MyModal/index.less +74 -0
  244. package/lib/common/ProductModal/index.js +38 -3
  245. package/lib/common/ProductSource/index.js +59 -18
  246. package/lib/common/UrlPicker/AnchorModal/index.js +170 -0
  247. package/lib/common/UrlPicker/AnchorModal/index.less +21 -0
  248. package/lib/common/UrlPicker/index.js +52 -9
  249. package/lib/common/index.js +24 -0
  250. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -2
  251. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  252. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  253. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  254. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  255. package/lib/composite-comp/bol/components/Video/index.js +1 -2
  256. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  257. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  258. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
  259. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  260. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  261. package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
  262. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  263. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -40
  264. package/lib/composite-comp/bol/components/Wallet/pc/index.js +0 -2
  265. package/lib/composite-comp/bol/components/Wallet/pc/index.less +1 -40
  266. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  267. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  268. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  269. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  270. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  271. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  272. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  273. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  274. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  275. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  276. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  277. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  278. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  279. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  280. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  281. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
  282. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  283. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  284. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  285. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  286. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  287. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +168 -0
  288. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  289. package/lib/composite-comp/common/components/ProductItem/index.js +22 -20
  290. package/lib/composite-comp/common/components/ProductItem/index.less +2 -12
  291. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  292. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  293. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
  294. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  295. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  296. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  297. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  298. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  299. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  300. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +92 -0
  301. package/lib/composite-comp/dito/components/CommonFunctions/index.js +84 -0
  302. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +107 -0
  303. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
  304. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  305. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  306. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  307. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +102 -0
  308. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  309. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  310. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  311. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  312. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  313. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  314. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  315. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  316. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  317. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  318. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
  319. package/lib/composite-comp/dito/components/Orders/index.js +84 -0
  320. package/lib/composite-comp/dito/components/Orders/mobile/index.js +345 -0
  321. package/lib/composite-comp/dito/components/Orders/mobile/index.less +82 -0
  322. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
  323. package/lib/composite-comp/dito/components/PersonalInformation/index.js +84 -0
  324. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  325. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +587 -0
  326. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -0
  327. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +6 -5
  328. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  329. package/lib/composite-comp/dito/components/Recommend/pc/index.js +6 -5
  330. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  331. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +6 -9
  332. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
  333. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  334. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  335. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  336. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  337. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  338. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  339. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
  340. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
  341. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  342. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  343. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  344. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +121 -0
  345. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  346. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  347. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  348. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  349. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  350. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  351. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +131 -0
  352. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -0
  353. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +131 -0
  354. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -0
  355. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
  356. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  357. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  358. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  359. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +122 -0
  360. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  361. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  362. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  363. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
  364. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
  365. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
  366. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
  367. package/lib/constants/component-types.js +45 -3
  368. package/lib/constants/index.js +74 -5
  369. package/lib/constants/layout.js +48 -1
  370. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +128 -0
  371. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  372. package/lib/core/Designer/ChatRobot/index.js +84 -17
  373. package/lib/core/Designer/ChatRobot/index.less +69 -28
  374. package/lib/core/Designer/ConfigPanel/index.js +14 -3
  375. package/lib/core/Designer/FonixtreeGpt/index.js +222 -29
  376. package/lib/core/Designer/PageCompList/index.js +6 -5
  377. package/lib/core/Designer/QuickMenuBar/index.js +11 -5
  378. package/lib/core/Designer/QuickMenuBar/index.less +4 -0
  379. package/lib/core/Designer/RenderHtml/index.js +18 -15
  380. package/lib/core/Designer/RenderHtml/index.less +1 -1
  381. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +19 -6
  382. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +19 -6
  383. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +19 -6
  384. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +27 -6
  385. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +4 -20
  386. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  387. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  388. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +36 -5
  389. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +17 -16
  390. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +27 -6
  391. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +4 -20
  392. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  393. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  394. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  395. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +28 -3
  396. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +2 -1
  397. package/lib/core/Designer/ToolBarModal/index.js +68 -22
  398. package/lib/core/Designer/ToolBarModal/index.less +3 -2
  399. package/lib/core/Designer/index.js +26 -2
  400. package/lib/core/Renderer/index.js +74 -29
  401. package/lib/decorator/compositeDecorator.js +33 -6
  402. package/lib/decorator/metaDecorator.js +1 -1
  403. package/lib/locale/en/en.json +17 -3
  404. package/lib/locale/es/es.json +17 -3
  405. package/lib/locale/id/id.json +17 -3
  406. package/lib/meta-comp/components/Image/index.js +31 -25
  407. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  408. package/lib/meta-comp/components/Text/index.js +4 -1
  409. package/lib/meta-comp/components/Text/index.less +8 -0
  410. package/lib/meta-comp/config-panels/ImageConfig/index.js +48 -44
  411. package/lib/mobx/Frame.js +17 -2
  412. package/lib/mobx/UserState.js +144 -0
  413. package/lib/mobx/index.js +9 -3
  414. package/lib/utils/androidUtil.js +13 -2
  415. package/lib/utils/businessUtil.js +25 -3
  416. package/lib/utils/commonUtil.js +177 -22
  417. package/lib/utils/coreUtil.js +45 -2
  418. package/lib/utils/currencyUtil.js +9 -2
  419. package/package.json +2 -1
@@ -27,6 +27,8 @@ var _Video = _interopRequireDefault(require("../composite-comp/bol/components/Vi
27
27
 
28
28
  var _Wallet = _interopRequireDefault(require("../composite-comp/bol/components/Wallet"));
29
29
 
30
+ var _WalletNuri = _interopRequireDefault(require("../composite-comp/bol/components/WalletNuri"));
31
+
30
32
  var _CustomCode = _interopRequireDefault(require("../composite-comp/bol/components/CustomCode"));
31
33
 
32
34
  var _Location = _interopRequireDefault(require("../composite-comp/bol/components/Location"));
@@ -39,10 +41,22 @@ var _SignBoard = _interopRequireDefault(require("../composite-comp/dito/componen
39
41
 
40
42
  var _Recommend = _interopRequireDefault(require("../composite-comp/dito/components/Recommend"));
41
43
 
44
+ var _AffiliateRecommend = _interopRequireDefault(require("../composite-comp/dito/components/AffiliateRecommend"));
45
+
42
46
  var _MobileNavigation = _interopRequireDefault(require("../composite-comp/dito/components/MobileNavigation"));
43
47
 
44
48
  var _PcNavigation = _interopRequireDefault(require("../composite-comp/dito/components/PcNavigation"));
45
49
 
50
+ var _MenuNavigation = _interopRequireDefault(require("../composite-comp/dito/components/MenuNavigation"));
51
+
52
+ var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/components/HeadNavigation"));
53
+
54
+ var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
55
+
56
+ var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/Orders"));
57
+
58
+ var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
59
+
46
60
  var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
47
61
 
48
62
  var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
@@ -69,6 +83,8 @@ var _LocationConfig = _interopRequireDefault(require("../composite-comp/bol/conf
69
83
 
70
84
  var _WalletConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/WalletConfig"));
71
85
 
86
+ var _WalletNuriConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/WalletNuriConfig"));
87
+
72
88
  var _FlashDealConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/FlashDealConfig"));
73
89
 
74
90
  var _SearchBarConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBarConfig"));
@@ -77,10 +93,22 @@ var _SignBoardConfig = _interopRequireDefault(require("../composite-comp/dito/co
77
93
 
78
94
  var _RecommendConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/RecommendConfig"));
79
95
 
96
+ var _AffiliateRecommendConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/AffiliateRecommendConfig"));
97
+
80
98
  var _MobileNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/MobileNavigationConfig"));
81
99
 
82
100
  var _PcNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PcNavigationConfig"));
83
101
 
102
+ var _MenuNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/MenuNavigationConfig"));
103
+
104
+ var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/HeadNavigationConfig"));
105
+
106
+ var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
107
+
108
+ var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/OrdersConfig"));
109
+
110
+ var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
111
+
84
112
  var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
85
113
 
86
114
  var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
@@ -99,12 +127,26 @@ var _VideoSecondConfig = _interopRequireDefault(require("../composite-comp/bol/s
99
127
 
100
128
  var _WalletSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/WalletSecondConfig"));
101
129
 
130
+ var _WalletNuriSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/WalletNuriSecondConfig"));
131
+
102
132
  var _RecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/RecommendSecondConfig"));
103
133
 
134
+ var _AffiliateRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig"));
135
+
104
136
  var _MobileNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/MobileNavigationSecondConfig"));
105
137
 
106
138
  var _PcNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PcNavigationSecondConfig"));
107
139
 
140
+ var _MenuNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/MenuNavigationSecondConfig"));
141
+
142
+ var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/HeadNavigationSecondConfig"));
143
+
144
+ var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
145
+
146
+ var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/OrdersSecondConfig"));
147
+
148
+ var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
149
+
108
150
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
109
151
 
110
152
  var _a, _b, _c; // 组件
@@ -113,17 +155,17 @@ var _a, _b, _c; // 组件
113
155
  /**
114
156
  * 渲染组件索引
115
157
  */
116
- var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
158
+ var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
117
159
  /**
118
160
  * 一级配置面板索引
119
161
  */
120
162
 
121
163
  exports.componentMap = componentMap;
122
- var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
164
+ var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
123
165
  /**
124
166
  * 二级配置面板索引
125
167
  */
126
168
 
127
169
  exports.configPanelMap = configPanelMap;
128
- var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c);
170
+ var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
129
171
  exports.secondConfigPanelMap = secondConfigPanelMap;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.urlTypeMap = exports.urlType = exports.respCodeMap = exports.quickMenuCode = exports.partyTypeMap = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
6
+ exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.personalInfoType = exports.partyTypeMap = exports.orderStatusType = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORE_KEY = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
7
7
  var STORAGE_KEY = {
8
8
  LOCALE: 'magicLocale',
9
9
  MAGIC_RENDER_HTML: 'MAGIC_RENDER_HTML',
@@ -36,6 +36,30 @@ var CREDIT_STATE = {
36
36
  }
37
37
  };
38
38
  exports.CREDIT_STATE = CREDIT_STATE;
39
+ var walletType = {
40
+ CASHBACK: 'Cashback',
41
+ CREDIT: 'Credit',
42
+ BNPL: 'BNPL',
43
+ B2B: 'B2B PayLater',
44
+ BALANCE: 'Balance',
45
+ CENDUIT: 'CenDuit'
46
+ };
47
+ exports.walletType = walletType;
48
+ var orderStatusType = {
49
+ PAY: 'To Pay',
50
+ SHIP: 'To Ship',
51
+ RECEIVE: 'To Receive',
52
+ DONE: 'Done',
53
+ CANCELLED: 'Cancelled'
54
+ };
55
+ exports.orderStatusType = orderStatusType;
56
+ var personalInfoType = {
57
+ WISHLIST: 'Wishlist',
58
+ STORES: 'Stores',
59
+ VOUCHERS: 'Vouchers',
60
+ VIEWED: 'Recently Viewed'
61
+ };
62
+ exports.personalInfoType = personalInfoType;
39
63
  var urlType = {
40
64
  PRODUCT_DETAIL: 'proDetail',
41
65
  CATG_PROD_LIST: 'catg',
@@ -59,7 +83,8 @@ var urlTypeMap = {
59
83
  SHARE_URL: 'ShareURL',
60
84
  MINI_APP: 'MiniApp',
61
85
  STORE: 'Store',
62
- AFFILIATE_PRODUCT: 'AffiliateProduct'
86
+ AFFILIATE_PRODUCT: 'AffiliateProduct',
87
+ ANCHOR: 'Anchor'
63
88
  };
64
89
  exports.urlTypeMap = urlTypeMap;
65
90
  var respCodeMap = {
@@ -89,7 +114,9 @@ var quickMenuCode = {
89
114
  PUBLISH: 'PUBLISH',
90
115
  PUBLISH_LATER: 'PUBLISH_LATER',
91
116
  MODE_PC: 'MODE_PC',
92
- MODE_PHONE: 'MODE_PHONE'
117
+ MODE_PHONE: 'MODE_PHONE',
118
+ PUSH: 'PUSH',
119
+ SET_AS_TEMPLATE: 'SET_AS_TEMPLATE'
93
120
  };
94
121
  exports.quickMenuCode = quickMenuCode;
95
122
  var compInfoMap = {
@@ -141,6 +168,10 @@ var compInfoMap = {
141
168
  name: 'Recommend',
142
169
  icon: 'icon-forms'
143
170
  },
171
+ AFFILIATE_RECOMMEND: {
172
+ name: 'Affiliate Recommend',
173
+ icon: 'icon-forms'
174
+ },
144
175
  DIVIDER: {
145
176
  name: 'Divider',
146
177
  icon: 'icon-divider-1'
@@ -167,7 +198,31 @@ var compInfoMap = {
167
198
  },
168
199
  WALLET: {
169
200
  name: 'Wallet',
170
- icon: 'icon-image-gallery'
201
+ icon: 'icon-cards_fill'
202
+ },
203
+ WALLET_NURI: {
204
+ name: 'Wallet',
205
+ icon: 'icon-Wallet'
206
+ },
207
+ HEAD_NAVIGATION: {
208
+ name: 'Head Navigation',
209
+ icon: 'icon-header'
210
+ },
211
+ MENU_NAVIGATION: {
212
+ name: 'Menu Navigation',
213
+ icon: 'icon-footer'
214
+ },
215
+ PERSONAL_INFOMATION: {
216
+ name: 'Personal Information',
217
+ icon: 'icon-account'
218
+ },
219
+ ORDERS: {
220
+ name: 'Orders',
221
+ icon: 'icon-orders'
222
+ },
223
+ COMMON_FUNCTIONS: {
224
+ name: 'Common Functions',
225
+ icon: 'icon-function'
171
226
  }
172
227
  };
173
228
  /**
@@ -237,4 +292,18 @@ var partyTypeMap = {
237
292
  'operation/v1': 'P',
238
293
  'trade/v1': 'S'
239
294
  };
240
- exports.partyTypeMap = partyTypeMap;
295
+ /** 模版类型 */
296
+
297
+ exports.partyTypeMap = partyTypeMap;
298
+ var tempTypeMap = {
299
+ PAGE: 'Page',
300
+ TEMPLATE: 'TemplateLibrary'
301
+ };
302
+ /** 持久化缓存 KEY */
303
+
304
+ exports.tempTypeMap = tempTypeMap;
305
+ var STORE_KEY = {
306
+ // 是否从sf app跳转
307
+ IS_FROM_SF: 'isFromSf'
308
+ };
309
+ exports.STORE_KEY = STORE_KEY;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.dividerLayout = exports.carouselLayout = exports.WalletLayout = void 0;
6
+ exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.dividerLayout = exports.carouselLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
7
7
 
8
8
  var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
9
9
 
@@ -13,8 +13,12 @@ var _imageGalleryLayout = _interopRequireDefault(require("../assets/images/layou
13
13
 
14
14
  var _imageGalleryLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/imageGalleryLayout2.png"));
15
15
 
16
+ var _walletNuriLayout = _interopRequireDefault(require("../assets/images/layout-icon/walletNuriLayout1.png"));
17
+
16
18
  var _walletLayout = _interopRequireDefault(require("../assets/images/layout-icon/walletLayout1.png"));
17
19
 
20
+ var _walletLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/walletLayout2.png"));
21
+
18
22
  var _layoutImagetextM = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-m1-1.png"));
19
23
 
20
24
  var _layoutImagetextM2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-m1-2.png"));
@@ -112,8 +116,18 @@ var WalletLayout = [{
112
116
  id: 'layout1',
113
117
  name: 'layout1',
114
118
  image: _walletLayout["default"]
119
+ }, {
120
+ id: 'layout2',
121
+ name: 'layout2',
122
+ image: _walletLayout2["default"]
115
123
  }];
116
124
  exports.WalletLayout = WalletLayout;
125
+ var WalletNuriLayout = [{
126
+ id: 'layout1',
127
+ name: 'layout1',
128
+ image: _walletNuriLayout["default"]
129
+ }];
130
+ exports.WalletNuriLayout = WalletNuriLayout;
117
131
  var carouselLayout = [{
118
132
  id: 'layout1',
119
133
  name: 'layout1',
@@ -214,6 +228,39 @@ var recommendLayoutPc = [{
214
228
  image: _layoutRecommend5["default"]
215
229
  }];
216
230
  exports.recommendLayoutPc = recommendLayoutPc;
231
+ var affiliateLayoutMobile = [{
232
+ id: 'layout1',
233
+ name: 'layout1',
234
+ image: _layoutRecommend["default"]
235
+ }, {
236
+ id: 'layout2',
237
+ name: 'layout2',
238
+ image: _layoutRecommend2["default"]
239
+ }, // { id: 'layout3', name: 'layout3', image: recommendLayout3 },
240
+ {
241
+ id: 'layout4',
242
+ name: 'layout4',
243
+ image: _layoutRecommend4["default"]
244
+ }, {
245
+ id: 'layout5',
246
+ name: 'layout5',
247
+ image: _layoutRecommend5["default"]
248
+ }];
249
+ exports.affiliateLayoutMobile = affiliateLayoutMobile;
250
+ var affiliateLayoutPc = [{
251
+ id: 'layout1',
252
+ name: 'layout1',
253
+ image: _layoutRecommend3["default"]
254
+ }, {
255
+ id: 'layout2',
256
+ name: 'layout2',
257
+ image: _layoutRecommend4["default"]
258
+ }, {
259
+ id: 'layout3',
260
+ name: 'layout3',
261
+ image: _layoutRecommend5["default"]
262
+ }];
263
+ exports.affiliateLayoutPc = affiliateLayoutPc;
217
264
  var videoPCLayout = [{
218
265
  id: 'layout1',
219
266
  name: 'layout1',
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _antd = require("antd");
13
+
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
16
+ require("./index.less");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ 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); }
21
+
22
+ 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; }
23
+
24
+ var toneList = ['Concise', 'Formal', 'Youthful', 'Innovative', 'Enticing'];
25
+
26
+ function SearchCondition(_a) {
27
+ var onRef = _a.onRef;
28
+
29
+ var _b = (0, _react.useState)('Concise'),
30
+ tone = _b[0],
31
+ setTone = _b[1];
32
+
33
+ var _c = (0, _react.useState)('30'),
34
+ count = _c[0],
35
+ setCount = _c[1];
36
+
37
+ var _d = (0, _react.useState)(''),
38
+ features = _d[0],
39
+ setFeatures = _d[1];
40
+
41
+ var _e = (0, _react.useState)(''),
42
+ keyDetail = _e[0],
43
+ setKeyDetail = _e[1];
44
+
45
+ (0, _react.useImperativeHandle)(onRef, function () {
46
+ return {
47
+ getValues: function getValues() {
48
+ return {
49
+ tone: tone,
50
+ count: count,
51
+ features: features,
52
+ keyDetail: keyDetail
53
+ };
54
+ }
55
+ };
56
+ });
57
+ return /*#__PURE__*/_react["default"].createElement("div", {
58
+ className: "condition_wrap"
59
+ }, /*#__PURE__*/_react["default"].createElement("div", {
60
+ className: "cond_title"
61
+ }, "Detailed description"), /*#__PURE__*/_react["default"].createElement("div", {
62
+ className: "cond_item"
63
+ }, /*#__PURE__*/_react["default"].createElement("div", {
64
+ className: "item_label"
65
+ }, "Preferred tone of the description?"), /*#__PURE__*/_react["default"].createElement("div", {
66
+ className: "cond_value"
67
+ }, toneList.map(function (name) {
68
+ return /*#__PURE__*/_react["default"].createElement("span", {
69
+ className: (0, _classnames["default"])('tone_item', {
70
+ tone_active: tone === name
71
+ }),
72
+ onClick: function onClick() {
73
+ return setTone(name);
74
+ }
75
+ }, name);
76
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
77
+ className: "cond_item"
78
+ }, /*#__PURE__*/_react["default"].createElement("div", {
79
+ className: "item_label"
80
+ }, "Desired word count range?"), /*#__PURE__*/_react["default"].createElement("div", {
81
+ className: "cond_value"
82
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
83
+ allowClear: true,
84
+ defaultValue: "30",
85
+ onChange: function onChange(e) {
86
+ return setCount(e);
87
+ },
88
+ options: [{
89
+ value: '30',
90
+ label: '30'
91
+ }, {
92
+ value: '50',
93
+ label: '50'
94
+ }, {
95
+ value: '70',
96
+ label: '70'
97
+ }],
98
+ style: {
99
+ width: '100%'
100
+ }
101
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
102
+ className: "cond_item"
103
+ }, /*#__PURE__*/_react["default"].createElement("div", {
104
+ className: "item_label"
105
+ }, "What are the key features?"), /*#__PURE__*/_react["default"].createElement("div", {
106
+ className: "cond_value"
107
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
108
+ onChange: function onChange(e) {
109
+ return setFeatures(e.target.value);
110
+ },
111
+ value: features
112
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
113
+ className: "cond_item"
114
+ }, /*#__PURE__*/_react["default"].createElement("div", {
115
+ className: "item_label"
116
+ }, "What key details should be emphasized?"), /*#__PURE__*/_react["default"].createElement("div", {
117
+ className: "cond_value"
118
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
119
+ onChange: function onChange(e) {
120
+ return setKeyDetail(e.target.value);
121
+ },
122
+ value: keyDetail
123
+ }))));
124
+ }
125
+
126
+ var _default = /*#__PURE__*/(0, _react.forwardRef)(SearchCondition);
127
+
128
+ exports["default"] = _default;
@@ -0,0 +1,33 @@
1
+ .condition_wrap {
2
+ padding: 12px 12px 0 12px;
3
+ .cond_title {
4
+ font-family: Open Sans;
5
+ font-size: 16px;
6
+ font-weight: 700;
7
+ margin-bottom: 16px;
8
+ }
9
+ .cond_item {
10
+ margin-bottom: 16px;
11
+ .item_label {
12
+ font-family: Open Sans;
13
+ font-size: 14px;
14
+ font-weight: 600;
15
+ margin-bottom: 8px;
16
+ }
17
+ .cond_value {
18
+ .tone_item {
19
+ cursor: pointer;
20
+ margin-right: 8px;
21
+ padding: 7px 10px;
22
+ height: 32px;
23
+ border: 1px solid #D2D9E5;
24
+ border-radius: 100px;
25
+ }
26
+ .tone_active {
27
+ background-color: #E9F0FF;
28
+ color: #2F54EB;
29
+ border-color: #D6E4FF;
30
+ }
31
+ }
32
+ }
33
+ }