@fonixtree/magic-design 1.0.65 → 1.0.67

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 (421) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +6 -62
  3. package/es/assets/fonts/magic-box-iconfont.css.bak +3 -35
  4. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  6. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  8. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  9. package/es/assets/images/base64/index.js +2 -36
  10. package/es/assets/less/button.less +0 -5
  11. package/es/assets/less/cylon-antd.less +1686 -7246
  12. package/es/assets/less/font.less +0 -22
  13. package/es/common/Button/index.less +1 -0
  14. package/es/common/CountDown/index.js +11 -20
  15. package/es/common/GroupList/index.js +2 -7
  16. package/es/common/ImagePicker/index.js +3 -1
  17. package/es/common/LinkModal/CouponTable/index.js +3 -3
  18. package/es/common/LinkModal/CustomTable/index.js +0 -1
  19. package/es/common/LinkModal/FunctionTable/index.js +1 -2
  20. package/es/common/LinkModal/index.js +2 -14
  21. package/es/common/MagicLink/index.js +2 -2
  22. package/es/common/ProductModal/index.js +3 -38
  23. package/es/common/ProductSource/index.js +18 -59
  24. package/es/common/UrlPicker/index.js +10 -62
  25. package/es/common/index.js +0 -24
  26. package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -1
  27. package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  28. package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  29. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  30. package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  31. package/es/composite-comp/bol/components/Video/index.js +2 -1
  32. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  33. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  34. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  35. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
  36. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +88 -112
  37. package/es/composite-comp/bol/components/Wallet/index.js +15 -11
  38. package/es/composite-comp/bol/components/Wallet/mobile/index.js +64 -314
  39. package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -103
  40. package/es/composite-comp/bol/components/Wallet/pc/index.js +2 -0
  41. package/es/composite-comp/bol/components/Wallet/pc/index.less +40 -1
  42. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +6 -1
  43. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +2 -11
  44. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
  45. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +82 -58
  46. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -2
  47. package/es/composite-comp/common/components/ProductItem/index.js +20 -22
  48. package/es/composite-comp/common/components/ProductItem/index.less +12 -2
  49. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -13
  50. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -3
  51. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
  52. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +6 -8
  53. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  54. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +6 -8
  55. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  56. package/es/composite-comp/dito/components/Recommend/mobile/index.js +5 -6
  57. package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  58. package/es/composite-comp/dito/components/Recommend/pc/index.js +5 -6
  59. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  60. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +9 -6
  61. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
  62. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +9 -10
  63. package/es/constants/component-types.js +3 -45
  64. package/es/constants/index.js +5 -74
  65. package/es/constants/layout.js +1 -48
  66. package/es/core/Designer/ChatRobot/index.js +17 -84
  67. package/es/core/Designer/ChatRobot/index.less +28 -69
  68. package/es/core/Designer/ConfigPanel/index.js +3 -14
  69. package/es/core/Designer/FonixtreeGpt/index.js +29 -222
  70. package/es/core/Designer/PageCompList/index.js +5 -6
  71. package/es/core/Designer/QuickMenuBar/index.js +5 -11
  72. package/es/core/Designer/QuickMenuBar/index.less +0 -4
  73. package/es/core/Designer/RenderHtml/index.js +15 -18
  74. package/es/core/Designer/RenderHtml/index.less +1 -1
  75. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +6 -19
  76. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +6 -19
  77. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +6 -19
  78. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +6 -27
  79. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +20 -4
  80. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +5 -36
  81. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +16 -17
  82. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +6 -27
  83. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +20 -4
  84. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +3 -28
  85. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +1 -2
  86. package/es/core/Designer/ToolBarModal/index.js +27 -69
  87. package/es/core/Designer/ToolBarModal/index.less +2 -3
  88. package/es/core/Designer/index.js +2 -26
  89. package/es/core/Renderer/index.js +29 -74
  90. package/es/decorator/compositeDecorator.js +6 -33
  91. package/es/decorator/metaDecorator.js +1 -1
  92. package/es/locale/en/en.json +3 -17
  93. package/es/locale/es/es.json +3 -17
  94. package/es/locale/id/id.json +3 -17
  95. package/es/meta-comp/components/Image/index.js +25 -31
  96. package/es/meta-comp/components/Text/index.js +1 -4
  97. package/es/meta-comp/components/Text/index.less +0 -8
  98. package/es/meta-comp/config-panels/ImageConfig/index.js +44 -48
  99. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  100. package/es/mobx/Frame.js +2 -17
  101. package/es/mobx/index.js +3 -9
  102. package/es/utils/androidUtil.js +2 -13
  103. package/es/utils/businessUtil.js +3 -25
  104. package/es/utils/commonUtil.js +22 -177
  105. package/es/utils/coreUtil.js +2 -45
  106. package/es/utils/currencyUtil.js +2 -9
  107. package/lib/assets/fonts/.DS_Store +0 -0
  108. package/lib/assets/fonts/magic-box-iconfont.css +6 -62
  109. package/lib/assets/fonts/magic-box-iconfont.css.bak +3 -35
  110. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  111. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  112. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  113. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  114. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  115. package/lib/assets/images/base64/index.js +2 -36
  116. package/lib/assets/less/button.less +0 -5
  117. package/lib/assets/less/cylon-antd.less +1686 -7246
  118. package/lib/assets/less/font.less +0 -22
  119. package/lib/common/Button/index.less +1 -0
  120. package/lib/common/CountDown/index.js +11 -20
  121. package/lib/common/GroupList/index.js +2 -7
  122. package/lib/common/ImagePicker/index.js +3 -1
  123. package/lib/common/LinkModal/CouponTable/index.js +3 -3
  124. package/lib/common/LinkModal/CustomTable/index.js +0 -1
  125. package/lib/common/LinkModal/FunctionTable/index.js +1 -2
  126. package/lib/common/LinkModal/index.js +2 -14
  127. package/lib/common/MagicLink/index.js +2 -2
  128. package/lib/common/ProductModal/index.js +3 -38
  129. package/lib/common/ProductSource/index.js +18 -59
  130. package/lib/common/UrlPicker/index.js +10 -62
  131. package/lib/common/index.js +0 -24
  132. package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -1
  133. package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  134. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  135. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  136. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  137. package/lib/composite-comp/bol/components/Video/index.js +2 -1
  138. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  139. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  140. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  141. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
  142. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +88 -112
  143. package/lib/composite-comp/bol/components/Wallet/index.js +15 -11
  144. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +64 -314
  145. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -103
  146. package/lib/composite-comp/bol/components/Wallet/pc/index.js +2 -0
  147. package/lib/composite-comp/bol/components/Wallet/pc/index.less +40 -1
  148. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +6 -1
  149. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +2 -11
  150. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +2 -2
  151. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +82 -58
  152. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +0 -2
  153. package/lib/composite-comp/common/components/ProductItem/index.js +20 -22
  154. package/lib/composite-comp/common/components/ProductItem/index.less +12 -2
  155. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -13
  156. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +2 -3
  157. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
  158. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +6 -8
  159. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  160. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +6 -8
  161. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  162. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +5 -6
  163. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  164. package/lib/composite-comp/dito/components/Recommend/pc/index.js +5 -6
  165. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  166. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +9 -6
  167. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
  168. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +9 -10
  169. package/lib/constants/component-types.js +3 -45
  170. package/lib/constants/index.js +5 -74
  171. package/lib/constants/layout.js +1 -48
  172. package/lib/core/Designer/ChatRobot/index.js +17 -84
  173. package/lib/core/Designer/ChatRobot/index.less +28 -69
  174. package/lib/core/Designer/ConfigPanel/index.js +3 -14
  175. package/lib/core/Designer/FonixtreeGpt/index.js +29 -222
  176. package/lib/core/Designer/PageCompList/index.js +5 -6
  177. package/lib/core/Designer/QuickMenuBar/index.js +5 -11
  178. package/lib/core/Designer/QuickMenuBar/index.less +0 -4
  179. package/lib/core/Designer/RenderHtml/index.js +15 -18
  180. package/lib/core/Designer/RenderHtml/index.less +1 -1
  181. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +6 -19
  182. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +6 -19
  183. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +6 -19
  184. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +6 -27
  185. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +20 -4
  186. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +5 -36
  187. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +16 -17
  188. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +6 -27
  189. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +20 -4
  190. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +3 -28
  191. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +1 -2
  192. package/lib/core/Designer/ToolBarModal/index.js +27 -69
  193. package/lib/core/Designer/ToolBarModal/index.less +2 -3
  194. package/lib/core/Designer/index.js +2 -26
  195. package/lib/core/Renderer/index.js +29 -74
  196. package/lib/decorator/compositeDecorator.js +6 -33
  197. package/lib/decorator/metaDecorator.js +1 -1
  198. package/lib/locale/en/en.json +3 -17
  199. package/lib/locale/es/es.json +3 -17
  200. package/lib/locale/id/id.json +3 -17
  201. package/lib/meta-comp/components/Image/index.js +25 -31
  202. package/lib/meta-comp/components/Text/index.js +1 -4
  203. package/lib/meta-comp/components/Text/index.less +0 -8
  204. package/lib/meta-comp/config-panels/ImageConfig/index.js +44 -48
  205. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  206. package/lib/mobx/Frame.js +2 -17
  207. package/lib/mobx/index.js +3 -9
  208. package/lib/utils/androidUtil.js +2 -13
  209. package/lib/utils/businessUtil.js +3 -25
  210. package/lib/utils/commonUtil.js +22 -177
  211. package/lib/utils/coreUtil.js +2 -45
  212. package/lib/utils/currencyUtil.js +2 -9
  213. package/package.json +1 -2
  214. package/es/assets/fonts/Trueno-Light.otf +0 -0
  215. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  216. package/es/assets/fonts/TruenoBd.otf +0 -0
  217. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  218. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  219. package/es/common/AffiliateProductModal/index.js +0 -582
  220. package/es/common/AffiliateProductModal/index.less +0 -146
  221. package/es/common/CardCarousel/index.js +0 -171
  222. package/es/common/CardCarousel/index.less +0 -28
  223. package/es/common/CropperModal/index.js +0 -126
  224. package/es/common/CropperModal/index.less +0 -29
  225. package/es/common/MyModal/index.js +0 -417
  226. package/es/common/MyModal/index.less +0 -74
  227. package/es/common/UrlPicker/AnchorModal/index.js +0 -170
  228. package/es/common/UrlPicker/AnchorModal/index.less +0 -21
  229. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
  230. package/es/composite-comp/bol/components/WalletNuri/index.js +0 -84
  231. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -366
  232. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
  233. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
  234. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
  235. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  236. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
  237. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
  238. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
  239. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  240. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  241. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +0 -61
  242. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
  243. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
  244. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
  245. package/es/composite-comp/common/components/AffiliateProductItem/index.js +0 -168
  246. package/es/composite-comp/common/components/AffiliateProductItem/index.less +0 -129
  247. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +0 -243
  248. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +0 -90
  249. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +0 -660
  250. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +0 -84
  251. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +0 -728
  252. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +0 -124
  253. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
  254. package/es/composite-comp/dito/components/CommonFunctions/index.js +0 -84
  255. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -107
  256. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
  257. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
  258. package/es/composite-comp/dito/components/HeadNavigation/index.js +0 -84
  259. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -112
  260. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
  261. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
  262. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -25
  263. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
  264. package/es/composite-comp/dito/components/MenuNavigation/index.js +0 -84
  265. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
  266. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
  267. package/es/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
  268. package/es/composite-comp/dito/components/Orders/index.js +0 -84
  269. package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -345
  270. package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -82
  271. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
  272. package/es/composite-comp/dito/components/PersonalInformation/index.js +0 -84
  273. package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  274. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -568
  275. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -133
  276. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
  277. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  278. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
  279. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
  280. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  281. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +0 -141
  282. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
  283. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
  284. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
  285. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
  286. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
  287. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
  288. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
  289. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
  290. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
  291. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
  292. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
  293. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
  294. package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
  295. package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
  296. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
  297. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
  298. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
  299. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
  300. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
  301. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -122
  302. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  303. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
  304. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
  305. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
  306. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  307. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
  308. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
  309. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -128
  310. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
  311. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
  312. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
  313. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
  314. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
  315. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
  316. package/es/meta-comp/components/Text/formats/textAlign.js +0 -58
  317. package/es/mobx/UserState.js +0 -144
  318. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  319. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  320. package/lib/assets/fonts/TruenoBd.otf +0 -0
  321. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  322. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  323. package/lib/common/AffiliateProductModal/index.js +0 -582
  324. package/lib/common/AffiliateProductModal/index.less +0 -146
  325. package/lib/common/CardCarousel/index.js +0 -171
  326. package/lib/common/CardCarousel/index.less +0 -28
  327. package/lib/common/CropperModal/index.js +0 -126
  328. package/lib/common/CropperModal/index.less +0 -29
  329. package/lib/common/MyModal/index.js +0 -417
  330. package/lib/common/MyModal/index.less +0 -74
  331. package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
  332. package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
  333. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +0 -148
  334. package/lib/composite-comp/bol/components/WalletNuri/index.js +0 -84
  335. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +0 -366
  336. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +0 -22
  337. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +0 -201
  338. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +0 -9
  339. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  340. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +0 -100
  341. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +0 -72
  342. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +0 -123
  343. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  344. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  345. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +0 -61
  346. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +0 -152
  347. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +0 -9
  348. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +0 -40
  349. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +0 -168
  350. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +0 -129
  351. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +0 -243
  352. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +0 -90
  353. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +0 -660
  354. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +0 -84
  355. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +0 -728
  356. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +0 -124
  357. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
  358. package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
  359. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -107
  360. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
  361. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +0 -102
  362. package/lib/composite-comp/dito/components/HeadNavigation/index.js +0 -84
  363. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +0 -112
  364. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +0 -34
  365. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +0 -206
  366. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +0 -25
  367. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +0 -107
  368. package/lib/composite-comp/dito/components/MenuNavigation/index.js +0 -84
  369. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +0 -87
  370. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +0 -8
  371. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
  372. package/lib/composite-comp/dito/components/Orders/index.js +0 -84
  373. package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -345
  374. package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -82
  375. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
  376. package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
  377. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  378. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -568
  379. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -133
  380. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -102
  381. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  382. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +0 -148
  383. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -16
  384. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  385. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +0 -141
  386. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
  387. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
  388. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +0 -203
  389. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +0 -72
  390. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +0 -142
  391. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +0 -121
  392. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +0 -23
  393. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +0 -203
  394. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +0 -72
  395. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +0 -137
  396. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +0 -6
  397. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +0 -40
  398. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
  399. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
  400. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
  401. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
  402. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -431
  403. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -214
  404. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -15
  405. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -122
  406. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  407. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +0 -127
  408. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +0 -127
  409. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
  410. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  411. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
  412. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
  413. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +0 -128
  414. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +0 -33
  415. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +0 -77
  416. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +0 -27
  417. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +0 -40
  418. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +0 -40
  419. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +0 -40
  420. package/lib/meta-comp/components/Text/formats/textAlign.js +0 -58
  421. package/lib/mobx/UserState.js +0 -144
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addZero = exports.addUrlQuery = void 0;
7
7
  exports.asyncDataURLtoImage = asyncDataURLtoImage;
8
- exports.checkLogin = exports.checkFileName = exports.calcLastTime = exports.asyncNextTick = void 0;
8
+ exports.checkFileName = exports.calcLastTime = exports.asyncNextTick = void 0;
9
9
  exports.commonFetch = commonFetch;
10
10
  exports.convertCount = exports.compatibleNewPageData = void 0;
11
11
  exports.convertImageUrl = convertImageUrl;
@@ -16,13 +16,11 @@ exports.dragSource = exports.downloadBase64Image = void 0;
16
16
  exports.ensure = ensure;
17
17
  exports.getGAData = exports.getColorRgba = void 0;
18
18
  exports.getPageDataMap = getPageDataMap;
19
- exports.getUrlParams = void 0;
20
- exports.goLogin = goLogin;
21
- exports.importAsync = void 0;
22
- exports.isLogin = isLogin;
23
- exports.onListenTouch = exports.nextTick = exports.navigateTo = void 0;
19
+ exports.navigateTo = exports.importAsync = exports.getUrlParams = void 0;
20
+ exports.navigateToWithSearch = navigateToWithSearch;
21
+ exports.nextTick = void 0;
24
22
  exports.pushGA = pushGA;
25
- exports.setDefaultAddressFromIP = exports.pxToRem = void 0;
23
+ exports.pxToRem = void 0;
26
24
  exports.shareFacebook = shareFacebook;
27
25
  exports.shareLinkedin = shareLinkedin;
28
26
  exports.shareTwitter = shareTwitter;
@@ -37,14 +35,8 @@ var _uuid = require("uuid");
37
35
 
38
36
  var _qs = _interopRequireDefault(require("qs"));
39
37
 
40
- var _androidUtil = require("./androidUtil");
41
-
42
- var _storeUtil = require("./storeUtil");
43
-
44
38
  var _constants = require("../constants");
45
39
 
46
- var _mobx = require("../mobx");
47
-
48
40
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
49
41
 
50
42
  var __assign = void 0 && (void 0).__assign || function () {
@@ -296,29 +288,20 @@ function commonFetch(url, data, method) {
296
288
  });
297
289
  }
298
290
 
299
- var navigateTo = function navigateTo(url, state) {
300
- console.log(url);
301
-
291
+ var navigateTo = function navigateTo(url) {
302
292
  if (!url) {
303
293
  return;
304
294
  }
305
295
 
306
296
  var _a = url.split(';'),
307
297
  h5Url = _a[0],
308
- appUrl = _a[1];
309
-
310
- if (appUrl && (0, _androidUtil.browserVersion)().isApp) {
311
- window.location.href = appUrl;
312
- } // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
298
+ appUrl = _a[1]; // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
313
299
 
314
300
 
315
301
  if (!appUrl && !h5Url.startsWith('/')) {
316
302
  window.location.href = h5Url;
317
303
  } else if (window.magicDesign.history) {
318
- window.magicDesign.history.push({
319
- pathname: h5Url,
320
- state: state
321
- });
304
+ window.magicDesign.history.push(url);
322
305
  } else if (window.magicDesign.navigatePreUrl) {
323
306
  // 预览模式跳转
324
307
  if (h5Url.startsWith('/')) {
@@ -328,110 +311,20 @@ var navigateTo = function navigateTo(url, state) {
328
311
  }
329
312
  }
330
313
  };
331
- /** 判断是否登录状态 */
314
+ /** 携带search 跳转 */
332
315
 
333
316
 
334
317
  exports.navigateTo = navigateTo;
335
318
 
336
- function isLogin() {
337
- return localStorage.getItem('isLogin') === 'Y';
338
- }
339
- /**
340
- * 跳转登陆页面
341
- * SF打开的页面,需要跳转到手机验证码登陆页面
342
- * @param {*} state
343
- */
344
-
345
-
346
- function goLogin(state, replaceFlag) {
347
- if (state === void 0) {
348
- state = {};
349
- }
350
-
351
- if (replaceFlag === void 0) {
352
- replaceFlag = false;
353
- }
354
-
355
- var isFromSf = (0, _storeUtil.getStore)(_constants.STORE_KEY.IS_FROM_SF);
356
- var signUrl = isFromSf === 'Y' ? '/sign-in-opt' : '/sign-in';
319
+ function navigateToWithSearch(url, search, state) {
320
+ var _a;
357
321
 
358
- if (replaceFlag) {
359
- window.magicDesign.history.replace({
360
- pathname: signUrl,
361
- state: state
362
- });
363
- } else {
364
- navigateTo(signUrl, state);
365
- }
322
+ (_a = window.magicDesign) === null || _a === void 0 ? void 0 : _a.history.push({
323
+ pathname: url,
324
+ search: search,
325
+ state: state
326
+ });
366
327
  }
367
- /**
368
- * 检查是否登录 未登录返回登录页
369
- * @param {boolean?} isLead 是否引导登录
370
- * @returns boolean
371
- */
372
-
373
-
374
- var checkLogin = function checkLogin(isLead, redirectUrl, replaceFlag) {
375
- if (isLead === void 0) {
376
- isLead = true;
377
- }
378
-
379
- if (!isLogin()) {
380
- if (isLead) {
381
- if ((0, _androidUtil.browserVersion)().isApp) {
382
- goToLoginApp();
383
- } else {
384
- var _a = window.location,
385
- pathname = _a.pathname,
386
- search = _a.search,
387
- hash = _a.hash;
388
-
389
- var _redirectUrl = pathname + search + hash;
390
-
391
- goLogin({
392
- redirectUrl: redirectUrl || _redirectUrl
393
- }, replaceFlag);
394
- }
395
- }
396
-
397
- return false;
398
- }
399
-
400
- return true;
401
- };
402
- /**
403
- * TODO 根据IP获取地址信息
404
- */
405
-
406
-
407
- exports.checkLogin = checkLogin;
408
-
409
- var setDefaultAddressFromIP = function setDefaultAddressFromIP() {
410
- /** 设置初始地址 */
411
-
412
- /** 接口返回数据addrPath: "1|2|137088|137089|137090" 保留后两个再拼上contactStdId
413
- * 未登陆造数据和真实数据一致使用countryId占位
414
- */
415
-
416
- /** 138375,138376,126065,126066 */
417
- if (!_mobx.userState.state.userAddress) {
418
- _mobx.userState.setState({
419
- userAddress: {
420
- _FROM: 'ip',
421
- addrPath: 'countryId|countryId1T|countryId2T|138375|138376|126065',
422
- city: 'CITY OF MANILA',
423
- contactStdId: 126066,
424
- // country: 'CITY OF MANILA',
425
- district: 'SAN MIGUEL',
426
- street: 'Barangay 637',
427
- province: 'NCR, CITY OF MANILA, FIRST DISTRICT',
428
- type: 'address'
429
- }
430
- });
431
- }
432
- };
433
-
434
- exports.setDefaultAddressFromIP = setDefaultAddressFromIP;
435
328
 
436
329
  var addUrlQuery = function addUrlQuery(url, queryObj) {
437
330
  if (/\?/.test(url)) {
@@ -759,7 +652,7 @@ function pushGA(data, eventName) {
759
652
  elementName: data.elementName
760
653
  };
761
654
  console.log('GA push', eventName, eventData);
762
- if (window.gtag) window.gtag('event', eventName, eventData);
655
+ window.gtag('event', eventName, eventData);
763
656
  }
764
657
  } catch (error) {
765
658
  console.error(error);
@@ -872,7 +765,8 @@ var asyncNextTick = function asyncNextTick(asyncFunc, interval, count) {
872
765
  exports.asyncNextTick = asyncNextTick;
873
766
 
874
767
  var convertToRem = function convertToRem(value) {
875
- // return value; // PTO项目 解开注释
768
+ return value; // PTO项目 解开注释
769
+
876
770
  if (window.magicDesign.device === 'pc') {
877
771
  return value + "px";
878
772
  }
@@ -891,7 +785,8 @@ var convertToRem = function convertToRem(value) {
891
785
  exports.convertToRem = convertToRem;
892
786
 
893
787
  var pxToRem = function pxToRem(styleObj) {
894
- // return styleObj; // PTO项目 解开注释
788
+ return styleObj; // PTO项目 解开注释
789
+
895
790
  if (window.magicDesign.device === 'pc') {
896
791
  return styleObj;
897
792
  }
@@ -1027,54 +922,4 @@ var convertCount = function convertCount(value) {
1027
922
  return newValue;
1028
923
  };
1029
924
 
1030
- exports.convertCount = convertCount;
1031
-
1032
- var onListenTouch = function onListenTouch(cls, leftFunc, rightFunc) {
1033
- var box = document.querySelector(cls); // 监听对象
1034
-
1035
- var startTime = ''; // 触摸开始时间
1036
-
1037
- var startDistanceX = ''; // 触摸开始X轴位置
1038
-
1039
- var startDistanceY = ''; // 触摸开始Y轴位置
1040
-
1041
- var endTime = ''; // 触摸结束时间
1042
-
1043
- var endDistanceX = ''; // 触摸结束X轴位置
1044
-
1045
- var endDistanceY = ''; // 触摸结束Y轴位置
1046
-
1047
- var moveTime = ''; // 触摸时间
1048
-
1049
- var moveDistanceX = ''; // 触摸移动X轴距离
1050
-
1051
- var moveDistanceY = ''; // 触摸移动Y轴距离
1052
-
1053
- box.addEventListener('touchstart', function (e) {
1054
- startTime = new Date().getTime();
1055
- startDistanceX = e.touches[0].screenX;
1056
- startDistanceY = e.touches[0].screenY;
1057
- });
1058
- box.addEventListener('touchend', function (e) {
1059
- endTime = new Date().getTime();
1060
- endDistanceX = e.changedTouches[0].screenX;
1061
- endDistanceY = e.changedTouches[0].screenY;
1062
- moveTime = endTime - startTime;
1063
- moveDistanceX = startDistanceX - endDistanceX;
1064
- moveDistanceY = startDistanceY - endDistanceY; // 判断滑动距离超过40 且 时间小于500毫秒
1065
-
1066
- if ((Math.abs(moveDistanceX) > 40 || Math.abs(moveDistanceY) > 40) && moveTime < 500) {
1067
- // 判断X轴移动的距离是否大于Y轴移动的距离
1068
- if (Math.abs(moveDistanceX) > Math.abs(moveDistanceY)) {
1069
- // 左右
1070
- if (moveDistanceX > 0) leftFunc();else rightFunc();
1071
- } else {
1072
- // 上下
1073
- return moveDistanceY > 0 ? 'top' : 'bottom';
1074
- }
1075
- }
1076
- });
1077
- return null;
1078
- };
1079
-
1080
- exports.onListenTouch = onListenTouch;
925
+ exports.convertCount = convertCount;
@@ -286,22 +286,6 @@ var getCoupon = function getCoupon(couponId) {
286
286
  });
287
287
  };
288
288
 
289
- function isUrl(string) {
290
- // var pattern = new RegExp('^(https?:\\/\\/)?' + // 协议
291
- // '((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // 域名
292
- // '((\\d{1,3}\\.){3}\\d{1,3}))' + // 或者 IP (v4) 地址
293
- // '(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // 端口和路径
294
- // '(\\?[;&a-z\\d%_.~+=-]*)?' + // 查询字符串
295
- // '(\\#[-a-z\\d_]*)?$', 'i'); // fragment locator
296
- // return !!pattern.test(string);
297
- try {
298
- new URL(string);
299
- return true;
300
- } catch (_) {
301
- return false;
302
- }
303
- }
304
-
305
289
  var clickUrl = function clickUrl(url) {
306
290
  if (url === void 0) {
307
291
  url = '';
@@ -326,17 +310,6 @@ var clickUrl = function clickUrl(url) {
326
310
  url: params.link
327
311
  }
328
312
  });
329
- /** 锚点跳转 */
330
-
331
- if (params.type === 'ANCHOR') {
332
- (0, _commonUtil.ensure)(function () {
333
- var nodeId = isPc() ? params.data.pcNodeId : params.data.mobileNodeId;
334
- document.querySelector("#node-" + nodeId).scrollIntoView({
335
- behavior: 'smooth'
336
- });
337
- });
338
- return;
339
- }
340
313
 
341
314
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
342
315
  (0, _androidUtil.sendToApp)(data);
@@ -369,25 +342,9 @@ var clickUrl = function clickUrl(url) {
369
342
  }
370
343
 
371
344
  return;
372
- } // 输入的是完整的跳转地址
373
-
374
-
375
- if (isUrl(link)) {
376
- if (!link.includes(window.location.host)) {
377
- // 跳转外链 需要把userToken带上
378
- if (link.includes('?')) {
379
- var a = link + "&userToken=" + (localStorage.getItem('h5Token') || '');
380
- window.open(a);
381
- } else {
382
- var a = link + "?userToken=" + (localStorage.getItem('h5Token') || '');
383
- window.open(a);
384
- }
385
- } else {
386
- window.open(link);
387
- }
388
- } else {
389
- (0, _commonUtil.navigateTo)(link);
390
345
  }
346
+
347
+ (0, _commonUtil.navigateTo)(link);
391
348
  }
392
349
  };
393
350
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.numberToFixed = exports.getPricePrefix = exports.getPrecision = exports.formatCurrencyWithSymbolNotSpace = exports.formatCurrencyWithSymbol = exports.formatCurrency = exports.formatBackendCurrency = exports.currencyToFont = exports.calcFloatCount = exports.addSeparators = void 0;
6
+ exports.numberToFixed = exports.getPricePrefix = exports.getPrecision = exports.formatCurrencyWithSymbol = exports.formatCurrency = exports.formatBackendCurrency = exports.currencyToFont = exports.calcFloatCount = exports.addSeparators = void 0;
7
7
 
8
8
  var _divide = _interopRequireDefault(require("lodash/divide"));
9
9
 
@@ -105,13 +105,6 @@ var formatCurrencyWithSymbol = function formatCurrencyWithSymbol(num) {
105
105
  var ret = formatCurrency(num);
106
106
  return getPricePrefix() + " " + ret;
107
107
  };
108
-
109
- exports.formatCurrencyWithSymbol = formatCurrencyWithSymbol;
110
-
111
- var formatCurrencyWithSymbolNotSpace = function formatCurrencyWithSymbolNotSpace(num) {
112
- var ret = formatCurrency(num);
113
- return "" + getPricePrefix() + ret;
114
- };
115
108
  /**
116
109
  * TODO 未兼容科学计数法(小数点后7位)
117
110
  * 计算浮点位数
@@ -120,7 +113,7 @@ var formatCurrencyWithSymbolNotSpace = function formatCurrencyWithSymbolNotSpace
120
113
  */
121
114
 
122
115
 
123
- exports.formatCurrencyWithSymbolNotSpace = formatCurrencyWithSymbolNotSpace;
116
+ exports.formatCurrencyWithSymbol = formatCurrencyWithSymbol;
124
117
 
125
118
  var calcFloatCount = function calcFloatCount(number) {
126
119
  var numbString = String(number);
Binary file
@@ -1,9 +1,8 @@
1
1
  @font-face {
2
- font-family: "magic-box-iconfont";
3
- /* Project id 3317752 */
4
- src: url('magic-box-iconfont.woff2?t=1709712007938') format('woff2'),
5
- url('magic-box-iconfont.woff?t=1709712007938') format('woff'),
6
- url('magic-box-iconfont.ttf?t=1709712007938') format('truetype');
2
+ font-family: "magic-box-iconfont"; /* Project id 3317752 */
3
+ src: url('magic-box-iconfont.woff2?t=1691480393512') format('woff2'),
4
+ url('magic-box-iconfont.woff?t=1691480393512') format('woff'),
5
+ url('magic-box-iconfont.ttf?t=1691480393512') format('truetype');
7
6
  }
8
7
 
9
8
  .magic-box-iconfont {
@@ -14,62 +13,6 @@
14
13
  -moz-osx-font-smoothing: grayscale;
15
14
  }
16
15
 
17
- .magic-box-icon-orders:before {
18
- content: "\e64c";
19
- }
20
-
21
- .magic-box-icon-function:before {
22
- content: "\e6d1";
23
- }
24
-
25
- .magic-box-icon-messages:before {
26
- content: "\e600";
27
- }
28
-
29
- .magic-box-icon-set:before {
30
- content: "\e601";
31
- }
32
-
33
- .magic-box-icon-cards_fill:before {
34
- content: "\e7a6";
35
- }
36
-
37
- .magic-box-icon-account:before {
38
- content: "\e655";
39
- }
40
-
41
- .magic-box-icon-anchor:before {
42
- content: "\e642";
43
- }
44
-
45
- .magic-box-icon-circle-down:before {
46
- content: "\e686";
47
- }
48
-
49
- .magic-box-icon-circle-up:before {
50
- content: "\e687";
51
- }
52
-
53
- .magic-box-icon-template:before {
54
- content: "\e685";
55
- }
56
-
57
- .magic-box-icon-text-align-center:before {
58
- content: "\e682";
59
- }
60
-
61
- .magic-box-icon-text-align-left:before {
62
- content: "\e683";
63
- }
64
-
65
- .magic-box-icon-text-align-right:before {
66
- content: "\e684";
67
- }
68
-
69
- .magic-box-icon-Wallet:before {
70
- content: "\e681";
71
- }
72
-
73
16
  .magic-box-icon-ShoppingCartSimple1:before {
74
17
  content: "\e680";
75
18
  }
@@ -544,4 +487,5 @@
544
487
 
545
488
  .magic-box-icon-image:before {
546
489
  content: "\e608";
547
- }
490
+ }
491
+
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "magic-box-iconfont"; /* Project id 3317752 */
3
- src: url('magic-box-iconfont.woff2?t=1704245006151') format('woff2'),
4
- url('magic-box-iconfont.woff?t=1704245006151') format('woff'),
5
- url('magic-box-iconfont.ttf?t=1704245006151') format('truetype');
3
+ src: url('magic-box-iconfont.woff2?t=1691480393512') format('woff2'),
4
+ url('magic-box-iconfont.woff?t=1691480393512') format('woff'),
5
+ url('magic-box-iconfont.ttf?t=1691480393512') format('truetype');
6
6
  }
7
7
 
8
8
  .magic-box-iconfont {
@@ -13,38 +13,6 @@
13
13
  -moz-osx-font-smoothing: grayscale;
14
14
  }
15
15
 
16
- .icon-anchor:before {
17
- content: "\e642";
18
- }
19
-
20
- .icon-circle-down:before {
21
- content: "\e686";
22
- }
23
-
24
- .icon-circle-up:before {
25
- content: "\e687";
26
- }
27
-
28
- .icon-template:before {
29
- content: "\e685";
30
- }
31
-
32
- .icon-text-align-center:before {
33
- content: "\e682";
34
- }
35
-
36
- .icon-text-align-left:before {
37
- content: "\e683";
38
- }
39
-
40
- .icon-text-align-right:before {
41
- content: "\e684";
42
- }
43
-
44
- .icon-Wallet:before {
45
- content: "\e681";
46
- }
47
-
48
16
  .icon-ShoppingCartSimple1:before {
49
17
  content: "\e680";
50
18
  }