@fonixtree/magic-design 0.1.77 → 0.1.79

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 (523) hide show
  1. package/es/assets/fonts/Trueno-Light.otf +0 -0
  2. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  3. package/es/assets/fonts/TruenoBd.otf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.css +51 -3
  5. package/es/assets/fonts/magic-box-iconfont.css.bak +51 -3
  6. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  7. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  8. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  10. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  11. package/es/assets/images/base64/index.js +36 -2
  12. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  13. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  14. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  15. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  16. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  17. package/es/assets/less/cylon-antd.less +7246 -1686
  18. package/es/assets/less/font.less +22 -0
  19. package/es/assets/less/modal.less +1 -1
  20. package/es/common/AffiliateProductModal/index.js +582 -0
  21. package/es/common/AffiliateProductModal/index.less +146 -0
  22. package/es/common/CardCarousel/index.js +171 -0
  23. package/es/common/CardCarousel/index.less +28 -0
  24. package/es/common/ColorPicker/index.js +4 -1
  25. package/es/common/Field/index.js +20 -3
  26. package/es/common/GroupList/index.less +3 -0
  27. package/es/common/ImageLazy/index.js +172 -0
  28. package/es/common/ImageLazy/index.less +0 -0
  29. package/es/common/ImagePicker/index.js +50 -7
  30. package/es/common/ImagePicker/index.less +1 -0
  31. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  32. package/es/common/LinkModal/CatgTable/index.js +1 -1
  33. package/es/common/LinkModal/CouponTable/index.js +10 -2
  34. package/es/common/LinkModal/FilteredProductModal/index.js +13 -10
  35. package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
  36. package/es/common/LinkModal/FunctionTable/index.js +2 -1
  37. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  38. package/es/common/LinkModal/index.js +15 -3
  39. package/es/common/MyModal/index.js +417 -0
  40. package/es/common/MyModal/index.less +74 -0
  41. package/es/common/ProductModal/index.js +27 -35
  42. package/es/common/ProductSource/index.js +42 -10
  43. package/es/common/UrlPicker/index.js +3 -1
  44. package/es/common/Video/index.js +11 -3
  45. package/es/common/Video/index.less +11 -7
  46. package/es/common/index.js +16 -0
  47. package/es/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  48. package/es/composite-comp/bol/components/Carousel/index.js +27 -3
  49. package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  50. package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  51. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  52. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  53. package/es/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  54. package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  55. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  56. package/es/composite-comp/bol/components/Location/index.js +100 -0
  57. package/es/composite-comp/bol/components/Location/index.less +15 -0
  58. package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  59. package/es/composite-comp/bol/components/Video/index.js +1 -2
  60. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  61. package/es/composite-comp/bol/components/Wallet/index.js +11 -15
  62. package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  63. package/es/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  64. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  65. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  66. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  67. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  68. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  69. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  70. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  71. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  72. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  73. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  74. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  75. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  76. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  77. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  78. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  79. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  80. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  81. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  82. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  83. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  84. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  85. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  86. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  87. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  88. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  89. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  90. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  91. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  92. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  93. package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  94. package/es/composite-comp/common/components/ImageLabel/index.less +9 -3
  95. package/es/composite-comp/common/components/ProductItem/index.js +32 -20
  96. package/es/composite-comp/common/components/ProductItem/index.less +43 -19
  97. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  98. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  99. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  100. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  101. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  102. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  103. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  104. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  105. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  106. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  107. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  108. package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  109. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  110. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  111. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  112. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  113. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  114. package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  115. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  116. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  117. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  118. package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  119. package/es/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  120. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  121. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  122. package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  123. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  124. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  125. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  126. package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  127. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  128. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  129. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  130. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  131. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  132. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  133. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  134. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  135. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  136. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  137. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  138. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  139. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  140. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  141. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  142. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  143. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  144. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  145. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  146. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  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/HeadNavigationSecondConfig/index.js +127 -0
  151. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  152. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  153. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  154. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  155. package/es/constants/component-types.js +35 -3
  156. package/es/constants/index.js +36 -2
  157. package/es/constants/layout.js +68 -1
  158. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  159. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  160. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  161. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  162. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  163. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  164. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  165. package/es/core/Designer/AiImageGenerator/index.js +364 -63
  166. package/es/core/Designer/AiImageGenerator/index.less +70 -46
  167. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  168. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  169. package/es/core/Designer/ChatRobot/index.js +84 -25
  170. package/es/core/Designer/ChatRobot/index.less +80 -28
  171. package/es/core/Designer/ConfigPanel/index.js +10 -4
  172. package/es/core/Designer/FonixtreeGpt/index.js +32 -171
  173. package/es/core/Designer/History/index.js +2 -2
  174. package/es/core/Designer/LeftTitle/index.js +1 -1
  175. package/es/core/Designer/PageCompList/index.js +8 -5
  176. package/es/core/Designer/QuickMenuBar/index.js +5 -3
  177. package/es/core/Designer/QuickMenuBar/index.less +4 -0
  178. package/es/core/Designer/RenderHtml/index.js +18 -15
  179. package/es/core/Designer/RenderHtml/index.less +1 -1
  180. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  181. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  182. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  183. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  184. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  185. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  186. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  187. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  188. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  189. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  190. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  191. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  192. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  193. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  194. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  195. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  196. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  197. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  198. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  199. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  200. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  201. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  202. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  203. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  204. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  205. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  206. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  207. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  208. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  209. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  210. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  211. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  212. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  213. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  214. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  215. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  216. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  217. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  218. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  219. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  220. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  221. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  222. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  223. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  224. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  225. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  226. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  227. package/es/core/Designer/ToolBarModal/index.js +412 -0
  228. package/es/core/Designer/ToolBarModal/index.less +33 -0
  229. package/es/core/Designer/index.js +45 -11
  230. package/es/core/Renderer/index.js +75 -29
  231. package/es/decorator/compositeDecorator.js +23 -0
  232. package/es/decorator/index.js +38 -1
  233. package/es/decorator/lazyLoadDecorator.js +75 -0
  234. package/es/locale/en/en.json +12 -2
  235. package/es/locale/es/es.json +12 -2
  236. package/es/locale/id/id.json +12 -2
  237. package/es/meta-comp/components/Button/index.js +7 -0
  238. package/es/meta-comp/components/Image/index.js +48 -26
  239. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  240. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  241. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  242. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  243. package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
  244. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  245. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  246. package/es/meta-comp/components/Text/index.js +123 -366
  247. package/es/meta-comp/components/Text/index.less +65 -0
  248. package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  249. package/es/meta-comp/config-panels/ImageConfig/index.js +50 -44
  250. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  251. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  252. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  253. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  254. package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
  255. package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
  256. package/es/mobx/Frame.js +22 -1
  257. package/es/utils/androidUtil.js +6 -0
  258. package/es/utils/businessUtil.js +17 -6
  259. package/es/utils/commonUtil.js +87 -9
  260. package/es/utils/coreUtil.js +15 -0
  261. package/es/utils/currencyUtil.js +37 -11
  262. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  263. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  264. package/lib/assets/fonts/TruenoBd.otf +0 -0
  265. package/lib/assets/fonts/magic-box-iconfont.css +51 -3
  266. package/lib/assets/fonts/magic-box-iconfont.css.bak +51 -3
  267. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  268. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  269. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  270. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  271. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  272. package/lib/assets/images/base64/index.js +36 -2
  273. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  274. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  275. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  276. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  277. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  278. package/lib/assets/less/cylon-antd.less +7246 -1686
  279. package/lib/assets/less/font.less +22 -0
  280. package/lib/assets/less/modal.less +1 -1
  281. package/lib/common/AffiliateProductModal/index.js +582 -0
  282. package/lib/common/AffiliateProductModal/index.less +146 -0
  283. package/lib/common/CardCarousel/index.js +171 -0
  284. package/lib/common/CardCarousel/index.less +28 -0
  285. package/lib/common/ColorPicker/index.js +4 -1
  286. package/lib/common/Field/index.js +20 -3
  287. package/lib/common/GroupList/index.less +3 -0
  288. package/lib/common/ImageLazy/index.js +172 -0
  289. package/lib/common/ImageLazy/index.less +0 -0
  290. package/lib/common/ImagePicker/index.js +50 -7
  291. package/lib/common/ImagePicker/index.less +1 -0
  292. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  293. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  294. package/lib/common/LinkModal/CouponTable/index.js +10 -2
  295. package/lib/common/LinkModal/FilteredProductModal/index.js +13 -10
  296. package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
  297. package/lib/common/LinkModal/FunctionTable/index.js +2 -1
  298. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  299. package/lib/common/LinkModal/index.js +15 -3
  300. package/lib/common/MyModal/index.js +417 -0
  301. package/lib/common/MyModal/index.less +74 -0
  302. package/lib/common/ProductModal/index.js +27 -35
  303. package/lib/common/ProductSource/index.js +42 -10
  304. package/lib/common/UrlPicker/index.js +3 -1
  305. package/lib/common/Video/index.js +11 -3
  306. package/lib/common/Video/index.less +11 -7
  307. package/lib/common/index.js +16 -0
  308. package/lib/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  309. package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
  310. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  311. package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  312. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  313. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  314. package/lib/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  315. package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  316. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  317. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  318. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  319. package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  320. package/lib/composite-comp/bol/components/Video/index.js +1 -2
  321. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  322. package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
  323. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  324. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  325. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  326. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  327. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  328. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  329. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  330. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  331. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  332. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  333. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  334. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  335. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  336. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  337. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  338. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  339. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  340. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  341. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  342. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  343. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  344. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  345. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  346. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  347. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  348. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  349. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  350. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  351. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  352. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  353. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  354. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  355. package/lib/composite-comp/common/components/ImageLabel/index.less +9 -3
  356. package/lib/composite-comp/common/components/ProductItem/index.js +32 -20
  357. package/lib/composite-comp/common/components/ProductItem/index.less +43 -19
  358. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  359. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  360. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  361. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  362. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  363. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  364. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  365. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  366. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  367. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  368. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  369. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  370. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  371. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  372. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  373. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  374. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  375. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  376. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  377. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  378. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  379. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  380. package/lib/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  381. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  382. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  383. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  384. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  385. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  386. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  387. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  388. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  389. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  390. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  391. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  392. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  393. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  394. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  395. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  396. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  397. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  398. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  399. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  400. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  401. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  402. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  403. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  404. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  405. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  406. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  407. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  408. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  409. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  410. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  411. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  412. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  413. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  414. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  415. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  416. package/lib/constants/component-types.js +35 -3
  417. package/lib/constants/index.js +36 -2
  418. package/lib/constants/layout.js +68 -1
  419. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  420. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  421. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  422. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  423. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  424. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  425. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  426. package/lib/core/Designer/AiImageGenerator/index.js +364 -63
  427. package/lib/core/Designer/AiImageGenerator/index.less +70 -46
  428. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  429. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  430. package/lib/core/Designer/ChatRobot/index.js +84 -25
  431. package/lib/core/Designer/ChatRobot/index.less +80 -28
  432. package/lib/core/Designer/ConfigPanel/index.js +10 -4
  433. package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
  434. package/lib/core/Designer/History/index.js +2 -2
  435. package/lib/core/Designer/LeftTitle/index.js +1 -1
  436. package/lib/core/Designer/PageCompList/index.js +8 -5
  437. package/lib/core/Designer/QuickMenuBar/index.js +5 -3
  438. package/lib/core/Designer/QuickMenuBar/index.less +4 -0
  439. package/lib/core/Designer/RenderHtml/index.js +18 -15
  440. package/lib/core/Designer/RenderHtml/index.less +1 -1
  441. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  442. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  443. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  444. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  445. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  446. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  447. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  448. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  449. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  450. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  451. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  452. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  453. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  454. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  455. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  456. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  457. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  458. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  459. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  460. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  461. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  462. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  463. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  464. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  465. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  466. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  467. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  468. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  469. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  470. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  471. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  472. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  473. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  474. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  475. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  476. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  477. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  478. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  479. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  480. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  481. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  482. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  483. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  484. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  485. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  486. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  487. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  488. package/lib/core/Designer/ToolBarModal/index.js +412 -0
  489. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  490. package/lib/core/Designer/index.js +45 -11
  491. package/lib/core/Renderer/index.js +75 -29
  492. package/lib/decorator/compositeDecorator.js +23 -0
  493. package/lib/decorator/index.js +38 -1
  494. package/lib/decorator/lazyLoadDecorator.js +75 -0
  495. package/lib/locale/en/en.json +12 -2
  496. package/lib/locale/es/es.json +12 -2
  497. package/lib/locale/id/id.json +12 -2
  498. package/lib/meta-comp/components/Button/index.js +7 -0
  499. package/lib/meta-comp/components/Image/index.js +48 -26
  500. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  501. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  502. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  503. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  504. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  505. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  506. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  507. package/lib/meta-comp/components/Text/index.js +123 -366
  508. package/lib/meta-comp/components/Text/index.less +65 -0
  509. package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  510. package/lib/meta-comp/config-panels/ImageConfig/index.js +50 -44
  511. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  512. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  513. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  514. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  515. package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
  516. package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
  517. package/lib/mobx/Frame.js +22 -1
  518. package/lib/utils/androidUtil.js +6 -0
  519. package/lib/utils/businessUtil.js +17 -6
  520. package/lib/utils/commonUtil.js +87 -9
  521. package/lib/utils/coreUtil.js +15 -0
  522. package/lib/utils/currencyUtil.js +37 -11
  523. package/package.json +5 -2
@@ -0,0 +1,146 @@
1
+ .modalCot {
2
+ width: 1200px;
3
+ right: unset !important;
4
+ left: unset !important;
5
+
6
+ .proModalWrap {
7
+ thead .cylon-checkbox {
8
+ visibility: hidden;
9
+ }
10
+
11
+ .content {
12
+ display: flex;
13
+ margin-bottom: 8px;
14
+
15
+ .rightCot {
16
+ width: calc(100% - 260px);
17
+ margin-left: 16px;
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: space-between;
21
+
22
+ .prodImg {
23
+ display: inline-block;
24
+ width: 36px;
25
+ height: 36px;
26
+ background-size: cover;
27
+ background-position: 50% 50%;
28
+ background-repeat: no-repeat;
29
+ }
30
+
31
+ .selectedCot {
32
+ padding-right: 18px;
33
+ margin-left: 4px;
34
+ height: 78px;
35
+ background: #f8f8f8;
36
+ border: 1px solid #e0e0e0;
37
+ border-radius: 2px;
38
+ display: flex;
39
+ flex-direction: row;
40
+ // flex-wrap: wrap;
41
+ overflow-x: auto;
42
+
43
+ .selectedItem {
44
+ box-sizing: border-box;
45
+ margin-top: 12px;
46
+ margin-left: 18px;
47
+ height: 52px;
48
+ position: relative;
49
+
50
+ &:hover {
51
+ .selectedItemImg {
52
+ width: 52px;
53
+ height: 52px;
54
+ border: 1px solid #4477ee !important;
55
+ box-shadow: 0 0 0 2px rgba(68, 119, 238, 0.15);
56
+ border-radius: 2px;
57
+ }
58
+
59
+ .selectedItemClose {
60
+ display: flex;
61
+ }
62
+ }
63
+
64
+ .selectedItemClose {
65
+ display: none;
66
+ border: 1px solid #000;
67
+ width: 16px;
68
+ height: 16px;
69
+ border-radius: 50%;
70
+ padding: 2px;
71
+ position: absolute;
72
+ top: -9px;
73
+ right: -8px;
74
+ z-index: 400;
75
+ cursor: pointer;
76
+ }
77
+
78
+ // &:nth-child(n + 11) {
79
+ // margin-top: 5px !important;
80
+ // }
81
+
82
+ .selectedItemImg {
83
+ height: 52px;
84
+ width: 52px;
85
+ border: 1px solid #e0e0e0;
86
+ border-radius: 2px;
87
+
88
+ &.invalid {
89
+ border: 1px solid red;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ .leftCot {
97
+ width: 260px;
98
+ padding-right: 14px;
99
+ box-sizing: border-box;
100
+ border-right: 1px solid #e0e0e0;
101
+
102
+ .divider {
103
+ width: 10%;
104
+ display: inline-block;
105
+ text-align: center;
106
+ height: 32px;
107
+ line-height: 32px;
108
+ }
109
+
110
+ .buttonStyle {
111
+ margin-top: 10px;
112
+ display: flex;
113
+ flex-direction: row-reverse;
114
+ align-items: center;
115
+ }
116
+ }
117
+ }
118
+
119
+ .footer {
120
+ padding-top: 12px;
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: space-between;
124
+ border-top: 1px solid #e0e0e0;
125
+ }
126
+
127
+ .total {
128
+ font-size: 16px;
129
+ color: #2d3040;
130
+ letter-spacing: 0;
131
+
132
+ .totalNum {
133
+ color: #4477ee;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .cylon-modal-root {
140
+ display: flex;
141
+ justify-content: center;
142
+ position: absolute;
143
+ left: 0;
144
+ right: 0;
145
+ z-index: 1001;
146
+ }
@@ -0,0 +1,171 @@
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"] = exports.CardCarousel = void 0;
9
+
10
+ var _classnames = _interopRequireDefault(require("classnames"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _commonUtil = require("../../utils/commonUtil");
17
+
18
+ require("./index.less");
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
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
+
26
+ var __extends = void 0 && (void 0).__extends || function () {
27
+ var _extendStatics = function extendStatics(d, b) {
28
+ _extendStatics = Object.setPrototypeOf || {
29
+ __proto__: []
30
+ } instanceof Array && function (d, b) {
31
+ d.__proto__ = b;
32
+ } || function (d, b) {
33
+ for (var p in b) {
34
+ if (b.hasOwnProperty(p)) d[p] = b[p];
35
+ }
36
+ };
37
+
38
+ return _extendStatics(d, b);
39
+ };
40
+
41
+ return function (d, b) {
42
+ _extendStatics(d, b);
43
+
44
+ function __() {
45
+ this.constructor = d;
46
+ }
47
+
48
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
49
+ };
50
+ }();
51
+
52
+ var CardCarousel =
53
+ /** @class */
54
+ function (_super) {
55
+ __extends(CardCarousel, _super);
56
+
57
+ function CardCarousel() {
58
+ var _this = _super !== null && _super.apply(this, arguments) || this;
59
+
60
+ _this.state = {
61
+ index: 0
62
+ };
63
+ _this.carouselRef = /*#__PURE__*/_react["default"].createRef();
64
+ _this.inter = null;
65
+
66
+ _this.toPrev = function () {
67
+ var children = _this.props.children;
68
+ var index = _this.state.index;
69
+ var preIndex = index > 0 ? index : children.length;
70
+
71
+ _this.slideTo(preIndex - 1);
72
+ };
73
+
74
+ _this.toNext = function () {
75
+ var children = _this.props.children;
76
+ var index = _this.state.index;
77
+ var nextIndex = index < children.length - 1 ? index + 1 : 0;
78
+
79
+ _this.slideTo(nextIndex);
80
+ };
81
+
82
+ _this.startPlay = function () {
83
+ var _a = _this.props,
84
+ delay = _a.delay,
85
+ autoplay = _a.autoplay;
86
+
87
+ if (!_this.inter && autoplay) {
88
+ _this.inter = setInterval(function () {
89
+ _this.toNext();
90
+ }, delay);
91
+ }
92
+ };
93
+
94
+ _this.stopPlay = function () {
95
+ if (_this.inter) {
96
+ clearInterval(_this.inter);
97
+ _this.inter = null;
98
+ }
99
+ };
100
+
101
+ _this.slideTo = function (index) {
102
+ var onChange = _this.props.onChange;
103
+
104
+ _this.stopPlay();
105
+
106
+ _this.setState({
107
+ index: index
108
+ }, function () {
109
+ onChange(index);
110
+
111
+ _this.startPlay();
112
+ });
113
+ };
114
+
115
+ return _this;
116
+ }
117
+
118
+ CardCarousel.prototype.componentDidMount = function () {
119
+ (0, _commonUtil.onListenTouch)('.cardCarousel', this.toPrev, this.toNext);
120
+ };
121
+
122
+ CardCarousel.prototype.componentWillReceiveProps = function (nextProps) {
123
+ if (nextProps.autoplay) {
124
+ this.startPlay();
125
+ } else {
126
+ this.stopPlay();
127
+ }
128
+ };
129
+
130
+ CardCarousel.prototype.render = function () {
131
+ var index = this.state.index;
132
+ var children = this.props.children;
133
+ return /*#__PURE__*/_react["default"].createElement("div", {
134
+ ref: this.carouselRef,
135
+ className: "cardCarousel"
136
+ }, /*#__PURE__*/_react["default"].createElement("div", {
137
+ className: "content"
138
+ }, _react["default"].Children.map(children, function (child, i) {
139
+ var zIndex = i >= index ? children.length - i + index : index - i;
140
+ var space = children.length - zIndex === 1 ? 5 : children.length - zIndex === 2 ? 10 : 0;
141
+ return /*#__PURE__*/_react["default"].createElement("div", {
142
+ className: (0, _classnames["default"])('cardItem', {
143
+ active: i === index
144
+ }),
145
+ style: {
146
+ zIndex: zIndex,
147
+ transform: "translate(" + space + "px, " + space + "px)"
148
+ }
149
+ }, child);
150
+ })));
151
+ };
152
+
153
+ return CardCarousel;
154
+ }(_react.Component);
155
+
156
+ exports.CardCarousel = CardCarousel;
157
+ CardCarousel.propTypes = {
158
+ /** 外层容器 */
159
+ onChange: _propTypes["default"].func,
160
+ autoplay: _propTypes["default"].bool,
161
+ delay: _propTypes["default"].number
162
+ };
163
+ CardCarousel.defaultProps = {
164
+ onChange: function onChange() {
165
+ return null;
166
+ },
167
+ autoplay: false,
168
+ delay: 3000
169
+ };
170
+ var _default = CardCarousel;
171
+ exports["default"] = _default;
@@ -0,0 +1,28 @@
1
+ .cardCarousel {
2
+ width: 100%;
3
+ margin: 0 auto;
4
+
5
+ .content {
6
+
7
+ .cardItem {
8
+ width: 100%;
9
+ border-radius: 10px;
10
+ background-color: #fff;
11
+ position: absolute;
12
+
13
+ &.active {
14
+ transition: transform 0.3s;
15
+ }
16
+
17
+ }
18
+ }
19
+
20
+ .btn-left,
21
+ .btn-right {
22
+ width: 120px;
23
+ height: 40px;
24
+ background-color: #fff;
25
+ color: #000;
26
+ margin: 10px;
27
+ }
28
+ }
@@ -81,7 +81,10 @@ function (_super) {
81
81
  right: 0,
82
82
  top: '100%'
83
83
  },
84
- bottomRight: {},
84
+ bottomRight: {
85
+ left: 0,
86
+ top: '100%'
87
+ },
85
88
  leftTop: {},
86
89
  leftBottom: {},
87
90
  rightTop: {},
@@ -13,6 +13,8 @@ require("./index.less");
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
 
16
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
+
16
18
  var __extends = void 0 && (void 0).__extends || function () {
17
19
  var _extendStatics = function extendStatics(d, b) {
18
20
  _extendStatics = Object.setPrototypeOf || {
@@ -39,6 +41,19 @@ var __extends = void 0 && (void 0).__extends || function () {
39
41
  };
40
42
  }();
41
43
 
44
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
45
+ var t = {};
46
+
47
+ for (var p in s) {
48
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
49
+ }
50
+
51
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
52
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
56
+
42
57
  var Field =
43
58
  /** @class */
44
59
  function (_super) {
@@ -53,13 +68,15 @@ function (_super) {
53
68
  title = _a.title,
54
69
  children = _a.children,
55
70
  layout = _a.layout,
56
- split = _a.split;
57
- return /*#__PURE__*/_react["default"].createElement("div", {
71
+ split = _a.split,
72
+ rest = __rest(_a, ["title", "children", "layout", "split"]);
73
+
74
+ return /*#__PURE__*/_react["default"].createElement("div", _extends({
58
75
  className: (0, _classnames["default"])('m-field', {
59
76
  split: split,
60
77
  bold: split === 'bold'
61
78
  })
62
- }, /*#__PURE__*/_react["default"].createElement("div", {
79
+ }, rest), /*#__PURE__*/_react["default"].createElement("div", {
63
80
  className: (0, _classnames["default"])('field-item', {
64
81
  horizontal: layout === 'horizontal'
65
82
  })
@@ -50,6 +50,9 @@
50
50
  overflow: hidden;
51
51
  text-overflow: ellipsis;
52
52
  white-space: nowrap;
53
+ p {
54
+ margin-bottom: 0;
55
+ }
53
56
  }
54
57
  }
55
58
  }
@@ -0,0 +1,172 @@
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 _classnames = _interopRequireDefault(require("classnames"));
13
+
14
+ var _propTypes = _interopRequireDefault(require("prop-types"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
+
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+
22
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
+
24
+ var __extends = void 0 && (void 0).__extends || function () {
25
+ var _extendStatics = function extendStatics(d, b) {
26
+ _extendStatics = Object.setPrototypeOf || {
27
+ __proto__: []
28
+ } instanceof Array && function (d, b) {
29
+ d.__proto__ = b;
30
+ } || function (d, b) {
31
+ for (var p in b) {
32
+ if (b.hasOwnProperty(p)) d[p] = b[p];
33
+ }
34
+ };
35
+
36
+ return _extendStatics(d, b);
37
+ };
38
+
39
+ return function (d, b) {
40
+ _extendStatics(d, b);
41
+
42
+ function __() {
43
+ this.constructor = d;
44
+ }
45
+
46
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
47
+ };
48
+ }();
49
+
50
+ var __assign = void 0 && (void 0).__assign || function () {
51
+ __assign = Object.assign || function (t) {
52
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
53
+ s = arguments[i];
54
+
55
+ for (var p in s) {
56
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
57
+ }
58
+ }
59
+
60
+ return t;
61
+ };
62
+
63
+ return __assign.apply(this, arguments);
64
+ };
65
+
66
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
67
+ var t = {};
68
+
69
+ for (var p in s) {
70
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
71
+ }
72
+
73
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
74
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
75
+ }
76
+ return t;
77
+ };
78
+
79
+ // import styles from './index.less';
80
+ var ImageLazy =
81
+ /** @class */
82
+ function (_super) {
83
+ __extends(ImageLazy, _super);
84
+
85
+ function ImageLazy() {
86
+ var _this = _super !== null && _super.apply(this, arguments) || this;
87
+
88
+ _this.state = {
89
+ show: false
90
+ };
91
+ _this.imageRef = /*#__PURE__*/_react["default"].createRef();
92
+ _this.intersectionObserver = null;
93
+ return _this;
94
+ }
95
+
96
+ ImageLazy.prototype.componentDidMount = function () {
97
+ var _this = this;
98
+
99
+ var _a;
100
+
101
+ this.intersectionObserver = new IntersectionObserver(function (entries) {
102
+ if (entries[0].isIntersecting) {
103
+ if (!_this.state.show) {
104
+ _this.setState({
105
+ show: true
106
+ });
107
+ }
108
+ }
109
+ }, {
110
+ root: (_a = this.props) === null || _a === void 0 ? void 0 : _a.rootContainer(),
111
+ // threshold: 0.8,
112
+ rootMargin: '0px 0px 100px 0px'
113
+ });
114
+ this.intersectionObserver.observe(this.imageRef.current);
115
+ };
116
+
117
+ ImageLazy.prototype.componentWillUnmount = function () {
118
+ this.intersectionObserver.disconnect(this.imageRef.current);
119
+ };
120
+
121
+ ImageLazy.prototype.render = function () {
122
+ var _this = this;
123
+
124
+ var _a = this.props,
125
+ _b = _a.lazy,
126
+ lazy = _b === void 0 ? true : _b,
127
+ src = _a.src,
128
+ onLoadFunc = _a.onLoadFunc,
129
+ style = _a.style,
130
+ className = _a.className,
131
+ rest = __rest(_a, ["lazy", "src", "onLoadFunc", "style", "className"]);
132
+
133
+ var show = this.state.show;
134
+ var isShow = lazy ? show : true;
135
+ return /*#__PURE__*/_react["default"].createElement("img", _extends({
136
+ ref: this.imageRef,
137
+ alt: "",
138
+ className: (0, _classnames["default"])(className),
139
+ onLoad: function onLoad() {
140
+ if (onLoadFunc) {
141
+ onLoadFunc(_this.imageRef.current.clientWidth);
142
+ }
143
+ },
144
+ src: isShow ? src : '',
145
+ style: __assign({
146
+ opacity: ~~isShow
147
+ }, style)
148
+ }, rest));
149
+ };
150
+
151
+ return ImageLazy;
152
+ }(_react.Component);
153
+
154
+ ImageLazy.propTypes = {
155
+ /** 外层容器 */
156
+ rootContainer: _propTypes["default"].func,
157
+
158
+ /** src */
159
+ src: _propTypes["default"].string,
160
+
161
+ /** 懒加载 */
162
+ lazy: _propTypes["default"].bool
163
+ };
164
+ ImageLazy.defaultProps = {
165
+ rootContainer: function rootContainer() {
166
+ return null;
167
+ },
168
+ lazy: true,
169
+ src: ''
170
+ };
171
+ var _default = ImageLazy;
172
+ exports["default"] = _default;
File without changes