@fonixtree/magic-design 2.0.110 → 2.0.111

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 (187) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +14 -6
  2. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  3. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  6. package/es/assets/images/base64/index.js +3 -1
  7. package/es/common/AffiliateProductModal/index.js +1 -1
  8. package/es/common/Button/index.js +1 -1
  9. package/es/common/Collapse/index.js +1 -1
  10. package/es/common/ImageModal/CommonModal/index.js +1 -1
  11. package/es/common/ImageModal/CommonSelPicCard/index.js +1 -1
  12. package/es/common/ImageModal/utils.js +1 -1
  13. package/es/common/ImagePicker/index.js +1 -1
  14. package/es/common/InputNumber/index.js +1 -1
  15. package/es/common/LinkModal/AffiliatePlatform/index.js +325 -0
  16. package/es/common/LinkModal/index.js +7 -0
  17. package/es/common/ProductModal/index.js +1 -1
  18. package/es/common/Slider/index.js +1 -1
  19. package/es/common/SwitchCollapse/index.js +1 -1
  20. package/es/common/SystemNotification/Confirm/index.js +1 -1
  21. package/es/common/UrlPicker/AnchorModal/index.js +1 -1
  22. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  23. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -1
  24. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  25. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  26. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  27. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  28. package/es/composite-comp/common/components/ProductItem/index.js +1 -1
  29. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  30. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  31. package/es/composite-comp/common/config-panels/InputField/index.js +1 -1
  32. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  33. package/es/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  34. package/es/composite-comp/dito/components/Bargain/index.js +86 -0
  35. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  36. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  37. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  38. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  39. package/es/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  40. package/es/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  41. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  42. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +1 -1
  43. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  44. package/es/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  45. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  46. package/es/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  47. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  48. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  49. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  50. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  51. package/es/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  52. package/es/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  53. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  54. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  55. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  56. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  57. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  58. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  59. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  60. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  61. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  62. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  63. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  64. package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  65. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  66. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  67. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  68. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  69. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  70. package/es/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  71. package/es/constants/component-types.js +6 -2
  72. package/es/constants/index.js +6 -1
  73. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  74. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  75. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  76. package/es/core/Designer/AiImageGenerator/index.js +1 -1
  77. package/es/core/Designer/AppointmentModal/index.js +1 -1
  78. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  79. package/es/core/Designer/ChatRobot/index.js +1 -1
  80. package/es/core/Designer/PageCompList/index.js +1 -1
  81. package/es/core/Designer/QuickMenuBar/index.js +1 -1
  82. package/es/core/Designer/ToolBarModal/index.js +1 -1
  83. package/es/core/Designer/index.js +2 -2
  84. package/es/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  85. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  86. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  87. package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
  88. package/es/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  89. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  90. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  91. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  92. package/es/utils/businessUtil.js +18 -3
  93. package/es/utils/coreUtil.js +24 -24
  94. package/lib/assets/fonts/magic-box-iconfont.css +14 -6
  95. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  96. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  97. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  98. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  99. package/lib/assets/images/base64/index.js +3 -1
  100. package/lib/common/AffiliateProductModal/index.js +1 -1
  101. package/lib/common/Button/index.js +1 -1
  102. package/lib/common/Collapse/index.js +1 -1
  103. package/lib/common/ImageModal/CommonModal/index.js +1 -1
  104. package/lib/common/ImageModal/CommonSelPicCard/index.js +1 -1
  105. package/lib/common/ImageModal/utils.js +1 -1
  106. package/lib/common/ImagePicker/index.js +1 -1
  107. package/lib/common/InputNumber/index.js +1 -1
  108. package/lib/common/LinkModal/AffiliatePlatform/index.js +325 -0
  109. package/lib/common/LinkModal/index.js +7 -0
  110. package/lib/common/ProductModal/index.js +1 -1
  111. package/lib/common/Slider/index.js +1 -1
  112. package/lib/common/SwitchCollapse/index.js +1 -1
  113. package/lib/common/SystemNotification/Confirm/index.js +1 -1
  114. package/lib/common/UrlPicker/AnchorModal/index.js +1 -1
  115. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  116. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -1
  117. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  118. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  119. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  120. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  121. package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
  122. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  123. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  124. package/lib/composite-comp/common/config-panels/InputField/index.js +1 -1
  125. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  126. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  127. package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
  128. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  129. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  130. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  131. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  132. package/lib/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  133. package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  134. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  135. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +1 -1
  136. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  137. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  138. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  139. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  140. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  141. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  142. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  143. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  144. package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  145. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  146. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  147. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  148. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  149. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  150. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  151. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  152. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  153. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  154. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  155. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  156. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  157. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  158. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  159. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  160. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  161. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  162. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  163. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  164. package/lib/constants/component-types.js +6 -2
  165. package/lib/constants/index.js +6 -1
  166. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  167. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  168. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  169. package/lib/core/Designer/AiImageGenerator/index.js +1 -1
  170. package/lib/core/Designer/AppointmentModal/index.js +1 -1
  171. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  172. package/lib/core/Designer/ChatRobot/index.js +1 -1
  173. package/lib/core/Designer/PageCompList/index.js +1 -1
  174. package/lib/core/Designer/QuickMenuBar/index.js +1 -1
  175. package/lib/core/Designer/ToolBarModal/index.js +1 -1
  176. package/lib/core/Designer/index.js +2 -2
  177. package/lib/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  178. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  179. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  180. package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
  181. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  182. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  183. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  184. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  185. package/lib/utils/businessUtil.js +18 -3
  186. package/lib/utils/coreUtil.js +24 -24
  187. package/package.json +1 -1
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _coreUtil = require("../../../../../utils/coreUtil");
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
13
13
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _antd = require("antd");
8
+ var _antd = require("antd4");
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _AIRecommendation = _interopRequireDefault(require("./AIRecommendation"));
13
13
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _antd = require("antd");
8
+ var _antd = require("antd4");
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -59,6 +59,8 @@ var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/
59
59
 
60
60
  var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
61
61
 
62
+ var _Bargain = _interopRequireDefault(require("../composite-comp/dito/components/Bargain"));
63
+
62
64
  var _MonpayRecommend = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayRecommend"));
63
65
 
64
66
  var _MonpayFlashDeal = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayFlashDeal"));
@@ -123,6 +125,8 @@ var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/confi
123
125
 
124
126
  var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
125
127
 
128
+ var _BargainConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/BargainConfig"));
129
+
126
130
  var _MonpayRecommendConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayRecommendConfig"));
127
131
 
128
132
  var _MonpayFlashDealConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayFlashDealConfig"));
@@ -181,13 +185,13 @@ var _a, _b, _c; // 组件
181
185
  /**
182
186
  * 渲染组件索引
183
187
  */
184
- var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
188
+ var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a);
185
189
  /**
186
190
  * 一级配置面板索引
187
191
  */
188
192
 
189
193
  exports.componentMap = componentMap;
190
- var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
194
+ var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b);
191
195
  /**
192
196
  * 二级配置面板索引
193
197
  */
@@ -86,7 +86,8 @@ var urlTypeMap = {
86
86
  AFFILIATE_PRODUCT: 'AffiliateProduct',
87
87
  AFFILIATE_STORE: 'AffiliateStore',
88
88
  ANCHOR: 'Anchor',
89
- MINI_API: 'MiniApi'
89
+ MINI_API: 'MiniApi',
90
+ AFFILIATE_PLATFORM: 'AffiliatePlatform'
90
91
  };
91
92
  exports.urlTypeMap = urlTypeMap;
92
93
  var respCodeMap = {
@@ -149,6 +150,10 @@ var compInfoMap = {
149
150
  name: 'Flash Deal',
150
151
  icon: 'icon-flash-deal'
151
152
  },
153
+ BARGAIN: {
154
+ name: 'Bargain',
155
+ icon: 'icon-kanjia'
156
+ },
152
157
  MONPAY_FLASH_DEAL: {
153
158
  name: 'Monpay Flash Deal',
154
159
  icon: 'icon-flash-deal'
@@ -7,7 +7,7 @@ exports["default"] = GenerateSize;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  require("./index.less");
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = NumberSlider;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  require("./index.less");
13
13
 
@@ -9,7 +9,7 @@ exports["default"] = UploadReference;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _common = require("../../../../common");
15
15
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _uuid = require("uuid");
15
15
 
@@ -7,7 +7,7 @@ exports["default"] = AppointmentModal;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _moment = _interopRequireDefault(require("moment"));
13
13
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _classnames = _interopRequireDefault(require("classnames"));
15
15
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _classnames = _interopRequireDefault(require("classnames"));
15
15
 
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = PageCompList;
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
@@ -11,7 +11,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  var _mobx = require("../../../mobx");
17
17
 
@@ -7,7 +7,7 @@ exports.fontWeightList = exports.fontSizeList = exports.fontFamilyList = exports
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _ToolBtn = _interopRequireDefault(require("./ToolBtn"));
13
13
 
@@ -13,7 +13,7 @@ var _uuid = require("uuid");
13
13
 
14
14
  var _mobxReact = require("mobx-react");
15
15
 
16
- var _antd = require("antd");
16
+ var _antd = require("antd4");
17
17
 
18
18
  var _ChatRobot = _interopRequireDefault(require("./ChatRobot"));
19
19
 
@@ -618,13 +618,13 @@ function (_super) {
618
618
 
619
619
  _this.renderHeader = function () {
620
620
  return /*#__PURE__*/_react["default"].createElement(_QuickMenuBar["default"], {
621
- auditState: _this.props.auditState,
622
621
  device: _this.state.device,
623
622
  language: _this.props.language,
624
623
  onBtnClick: _this.onQuickMenuClick,
625
624
  onHtmlBack: _this.onHtmlBack,
626
625
  onHtmlSave: _this.onHtmlSave,
627
626
  outputType: _this.props.outputType,
627
+ pageState: _this.props.pageState,
628
628
  pageType: _this.props.pageType,
629
629
  redoDisable: !_this.history.redoAble(),
630
630
  undoDisable: !_this.history.undoAble()
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  require("./index.less");
13
13
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _common = require("../../../../common");
15
15
 
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  require("./index.less");
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  var _coreUtil = require("../../../../utils/coreUtil");
17
17
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  require("./index.less");
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
@@ -11,7 +11,7 @@ var _reactQuill = _interopRequireDefault(require("react-quill"));
11
11
 
12
12
  require("react-quill/dist/quill.snow.css");
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  require("./index.less");
17
17
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _antd = require("antd");
8
+ var _antd = require("antd4");
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -9,7 +9,7 @@ exports.sizeTypeList = exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _TextLabel = _interopRequireDefault(require("./TextLabel"));
15
15
 
@@ -28,7 +28,8 @@ var newParseUrl = function newParseUrl(urlObj) {
28
28
  var type = urlObj.type,
29
29
  value = urlObj.value,
30
30
  offerId = urlObj.offerId,
31
- productId = urlObj.productId;
31
+ productId = urlObj.productId,
32
+ name = urlObj.name;
32
33
 
33
34
  switch (type) {
34
35
  // 锚点跳转
@@ -206,6 +207,18 @@ var newParseUrl = function newParseUrl(urlObj) {
206
207
  };
207
208
  break;
208
209
 
210
+ case _constants.urlTypeMap.AFFILIATE_PLATFORM:
211
+ // affiliate platform
212
+ link = "/platformDetail/" + value;
213
+ params = {
214
+ action: 'jump',
215
+ params: {
216
+ type: 'AFFILIATE_PLATFORM',
217
+ url: value
218
+ }
219
+ };
220
+ break;
221
+
209
222
  default:
210
223
  var map = {
211
224
  '/main/cart': 'CART',
@@ -228,8 +241,9 @@ var newParseUrl = function newParseUrl(urlObj) {
228
241
  params = {
229
242
  action: 'jump',
230
243
  params: {
231
- type: map[link],
232
- link: link
244
+ type: map[link] || name,
245
+ link: link,
246
+ url: link
233
247
  }
234
248
  };
235
249
  }
@@ -433,6 +447,7 @@ var getPromotionList = function getPromotionList(offer) {
433
447
  var PROMOTION_TYPE_MAP = {
434
448
  2: 'FLASH',
435
449
  4: 'Group',
450
+ 12: 'Bargain',
436
451
  C: 'Discount',
437
452
  D: 'Discount',
438
453
  G: 'Gift'
@@ -310,10 +310,9 @@ var clickUrl = function clickUrl(url) {
310
310
  }
311
311
 
312
312
  console.log('clickUrl...', url); // 只读模式,设计模式,url为空,邮箱模版
313
-
314
- if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
315
- return;
316
- }
313
+ // if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
314
+ // return;
315
+ // }
317
316
 
318
317
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
319
318
  link = _b.link,
@@ -337,23 +336,21 @@ var clickUrl = function clickUrl(url) {
337
336
 
338
337
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
339
338
  (0, _androidUtil.sendToApp)(data);
340
- } else if ((0, _androidUtil.browserVersion)().isNuriApp && params.link && params.link.startsWith('http')) {
341
- // 兼容Nuri app的 绝对路径跳转
342
- var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "userToken=" + (localStorage.getItem('h5Token') || '');
343
- (0, _androidUtil.sendToApp)({
344
- type: 'jumpBrowser',
345
- params: {
346
- url: urlTemp
347
- }
348
- });
349
339
  } else if ((0, _androidUtil.browserVersion)().isApp && params.link && params.link.startsWith('http')) {
350
- // 别的app打开外链
351
- (0, _androidUtil.sendToAndroid)({
352
- type: 'jumpBrowser',
353
- params: {
354
- url: params.link
355
- }
356
- });
340
+ // 跳转链接是个绝对路径
341
+ if (params.type === 'Gamezop') {
342
+ // Nuri 对接 Gamezop 特殊情况
343
+ (0, _androidUtil.sendToApp)(data);
344
+ } else {
345
+ // Nuri 抽奖系统对接
346
+ var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "userToken=" + (localStorage.getItem('h5Token') || '');
347
+ (0, _androidUtil.sendToApp)({
348
+ type: 'jumpBrowser',
349
+ params: {
350
+ url: urlTemp
351
+ }
352
+ });
353
+ }
357
354
  } else {
358
355
  // 视频
359
356
  if (params.type === 'VIDEO') {
@@ -381,7 +378,10 @@ var clickUrl = function clickUrl(url) {
381
378
  if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'nuri') {
382
379
  // 输入的是完整的跳转地址
383
380
  if (isUrl(link)) {
384
- if (!link.includes(window.location.host)) {
381
+ if (params.type === 'Gamezop') {
382
+ // Nuri 对接游戏页面
383
+ window.open(link);
384
+ } else if (!link.includes(window.location.host)) {
385
385
  // 跳转外链 需要把userToken带上
386
386
  if (link.includes('?')) {
387
387
  var a = link + "&userToken=" + (localStorage.getItem('h5Token') || '');
@@ -396,9 +396,9 @@ var clickUrl = function clickUrl(url) {
396
396
  } else {
397
397
  (0, _commonUtil.navigateTo)(link);
398
398
  }
399
+ } else {
400
+ (0, _commonUtil.navigateTo)(link);
399
401
  }
400
-
401
- (0, _commonUtil.navigateTo)(link);
402
402
  }
403
403
  };
404
404
 
@@ -452,7 +452,7 @@ var copyNode = function copyNode(value, parentId) {
452
452
  exports.copyNode = copyNode;
453
453
 
454
454
  var isAutoAudit = function isAutoAudit() {
455
- return window.systemParams.autoAudit !== 'false' || window.partyType === _constants.partyTypeMap.PLATFORM;
455
+ return window.magicDesign.autoAudit || window.partyType === _constants.partyTypeMap.PLATFORM;
456
456
  };
457
457
 
458
458
  exports.isAutoAudit = isAutoAudit;
@@ -1,8 +1,9 @@
1
1
  @font-face {
2
- font-family: "magic-box-iconfont"; /* Project id 3317752 */
3
- src: url('magic-box-iconfont.woff2?t=1716881585254') format('woff2'),
4
- url('magic-box-iconfont.woff?t=1716881585254') format('woff'),
5
- url('magic-box-iconfont.ttf?t=1716881585254') format('truetype');
2
+ font-family: "magic-box-iconfont";
3
+ /* Project id 3317752 */
4
+ src: url('magic-box-iconfont.woff2?t=1717469468478') format('woff2'),
5
+ url('magic-box-iconfont.woff?t=1717469468478') format('woff'),
6
+ url('magic-box-iconfont.ttf?t=1717469468478') format('truetype');
6
7
  }
7
8
 
8
9
  .magic-box-iconfont {
@@ -13,6 +14,14 @@
13
14
  -moz-osx-font-smoothing: grayscale;
14
15
  }
15
16
 
17
+ .magic-box-icon-bargain:before {
18
+ content: "\e649";
19
+ }
20
+
21
+ .magic-box-icon-kanjia:before {
22
+ content: "\e688";
23
+ }
24
+
16
25
  .magic-box-icon-save:before {
17
26
  content: "\e646";
18
27
  }
@@ -583,5 +592,4 @@
583
592
 
584
593
  .magic-box-icon-image:before {
585
594
  content: "\e608";
586
- }
587
-
595
+ }