@fonixtree/magic-design 2.0.110 → 2.0.113

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 (191) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +14 -6
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  7. package/es/assets/images/base64/index.js +3 -1
  8. package/es/common/AffiliateProductModal/index.js +1 -1
  9. package/es/common/Button/index.js +1 -1
  10. package/es/common/Collapse/index.js +1 -1
  11. package/es/common/ImageModal/CommonModal/index.js +1 -1
  12. package/es/common/ImageModal/CommonSelPicCard/index.js +1 -1
  13. package/es/common/ImageModal/utils.js +1 -1
  14. package/es/common/ImagePicker/index.js +1 -1
  15. package/es/common/InputNumber/index.js +1 -1
  16. package/es/common/LinkModal/AffiliatePlatform/index.js +325 -0
  17. package/es/common/LinkModal/StoreCatgTable/index.js +3 -4
  18. package/es/common/LinkModal/index.js +8 -0
  19. package/es/common/ProductModal/index.js +1 -1
  20. package/es/common/Slider/index.js +1 -1
  21. package/es/common/SwitchCollapse/index.js +1 -1
  22. package/es/common/SystemNotification/Confirm/index.js +1 -1
  23. package/es/common/UrlPicker/AnchorModal/index.js +1 -1
  24. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  25. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -1
  26. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  27. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  28. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  29. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  30. package/es/composite-comp/common/components/ProductItem/index.js +1 -1
  31. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  32. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  33. package/es/composite-comp/common/config-panels/InputField/index.js +1 -1
  34. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  35. package/es/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  36. package/es/composite-comp/dito/components/Bargain/index.js +86 -0
  37. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  38. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  39. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  40. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  41. package/es/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  42. package/es/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  43. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  44. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +1 -1
  45. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  46. package/es/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  47. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  48. package/es/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  49. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  50. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  51. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  52. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  53. package/es/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  54. package/es/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  55. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  56. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  57. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  58. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  59. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  60. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  61. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  62. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  63. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  64. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  65. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  66. package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  67. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  68. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  69. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  70. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  71. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  72. package/es/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  73. package/es/constants/component-types.js +6 -2
  74. package/es/constants/index.js +6 -1
  75. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  76. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  77. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  78. package/es/core/Designer/AiImageGenerator/index.js +1 -1
  79. package/es/core/Designer/AppointmentModal/index.js +1 -1
  80. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  81. package/es/core/Designer/ChatRobot/index.js +1 -1
  82. package/es/core/Designer/PageCompList/index.js +1 -1
  83. package/es/core/Designer/QuickMenuBar/index.js +1 -1
  84. package/es/core/Designer/ToolBarModal/index.js +1 -1
  85. package/es/core/Designer/index.js +2 -2
  86. package/es/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  87. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  88. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  89. package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
  90. package/es/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  91. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  92. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  93. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  94. package/es/utils/businessUtil.js +18 -3
  95. package/es/utils/coreUtil.js +24 -24
  96. package/lib/assets/fonts/.DS_Store +0 -0
  97. package/lib/assets/fonts/magic-box-iconfont.css +14 -6
  98. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  99. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  100. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  101. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  102. package/lib/assets/images/base64/index.js +3 -1
  103. package/lib/common/AffiliateProductModal/index.js +1 -1
  104. package/lib/common/Button/index.js +1 -1
  105. package/lib/common/Collapse/index.js +1 -1
  106. package/lib/common/ImageModal/CommonModal/index.js +1 -1
  107. package/lib/common/ImageModal/CommonSelPicCard/index.js +1 -1
  108. package/lib/common/ImageModal/utils.js +1 -1
  109. package/lib/common/ImagePicker/index.js +1 -1
  110. package/lib/common/InputNumber/index.js +1 -1
  111. package/lib/common/LinkModal/AffiliatePlatform/index.js +325 -0
  112. package/lib/common/LinkModal/StoreCatgTable/index.js +3 -4
  113. package/lib/common/LinkModal/index.js +8 -0
  114. package/lib/common/ProductModal/index.js +1 -1
  115. package/lib/common/Slider/index.js +1 -1
  116. package/lib/common/SwitchCollapse/index.js +1 -1
  117. package/lib/common/SystemNotification/Confirm/index.js +1 -1
  118. package/lib/common/UrlPicker/AnchorModal/index.js +1 -1
  119. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  120. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -1
  121. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  122. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  123. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  124. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  125. package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
  126. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  127. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  128. package/lib/composite-comp/common/config-panels/InputField/index.js +1 -1
  129. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  130. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  131. package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
  132. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  133. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  134. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  135. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  136. package/lib/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  137. package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  138. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  139. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +1 -1
  140. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  141. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  142. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  143. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  144. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  145. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  146. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  147. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  148. package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  149. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  150. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  151. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  152. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  153. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  154. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  155. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  156. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  157. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  158. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  159. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  160. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  161. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  162. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  163. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  164. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  165. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  166. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  167. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  168. package/lib/constants/component-types.js +6 -2
  169. package/lib/constants/index.js +6 -1
  170. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  171. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  172. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  173. package/lib/core/Designer/AiImageGenerator/index.js +1 -1
  174. package/lib/core/Designer/AppointmentModal/index.js +1 -1
  175. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  176. package/lib/core/Designer/ChatRobot/index.js +1 -1
  177. package/lib/core/Designer/PageCompList/index.js +1 -1
  178. package/lib/core/Designer/QuickMenuBar/index.js +1 -1
  179. package/lib/core/Designer/ToolBarModal/index.js +1 -1
  180. package/lib/core/Designer/index.js +2 -2
  181. package/lib/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  182. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  183. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  184. package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
  185. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  186. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  187. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  188. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  189. package/lib/utils/businessUtil.js +18 -3
  190. package/lib/utils/coreUtil.js +24 -24
  191. package/package.json +1 -1
@@ -3,11 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.walletVoucherIcon = exports.walletSaldoIcon = exports.walletKoinIcon = exports.tipIcon = exports.pcNavIcon = exports.menuHomeSelectedIcon = exports.menuHomeIcon = exports.menuCommunitySelectedIcon = exports.menuCommunityIcon = exports.menuCategorySelectedIcon = exports.menuCategoryIcon = exports.menuCartSelectedIcon = exports.menuCartIcon = exports.menuAccountSelectedIcon = exports.menuAccountIcon = exports.headInboxIcon = exports.headHomeIcon = exports.headAccountIcon = exports.flashIcon = void 0;
6
+ exports.walletVoucherIcon = exports.walletSaldoIcon = exports.walletKoinIcon = exports.tipIcon = exports.pcNavIcon = exports.menuHomeSelectedIcon = exports.menuHomeIcon = exports.menuCommunitySelectedIcon = exports.menuCommunityIcon = exports.menuCategorySelectedIcon = exports.menuCategoryIcon = exports.menuCartSelectedIcon = exports.menuCartIcon = exports.menuAccountSelectedIcon = exports.menuAccountIcon = exports.headInboxIcon = exports.headHomeIcon = exports.headAccountIcon = exports.flashIcon = exports.bargainIcon = void 0;
7
7
  var pcNavIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABRSURBVHgB7dWxFUBQEAXR91YidERicmXIVYRSdKIUJWjA+VRhA3M7mGjcj9Nia9X3znCZq7YbDuVoiqOOt35Tjsu6dwFANvMCXgDg93hB+gsemfAbHEJkq40AAAAASUVORK5CYII=';
8
8
  exports.pcNavIcon = pcNavIcon;
9
9
  var flashIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAlCAYAAAAqXEs9AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU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NSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJsSURBVHgB3VZRctowEH2SRb7JDcgN0hMUblBPeoBwAAh8JwQzlG+S+ADJf9sRPQHkBOUG4QZ1f4ktZeUEDyaWbMJf3ozG0nq1TyvtrgR8drB9lIOprHtImhysbsYKapVALIO+H1W1UUpoSGoCFxpo4rUVYam0ur3unj3gEMJx+Osbg3dP3ToqgDGsEqVGLmJu+zEJ/wyJTFYlM9AaDc74/SSUQ5sOs5FpqAAHgAwHlx1/VCDfIbv7fa5plXAZ01hp4zlze6+R+IPO99m27P2Wcj502FgQUeuy659cdf3jOMYJyZY2ZXP+Jui2ZWJ7kHpH51A4mbwiopbpj6c/mySpD/r+jAy2hMCcxKcF0+oeVz36Bpk/23815xewQLG4nS4qlJIJMWfCkz9COTc5SF73bfMY519z403HuE4r/WebSNt3XAMaWuBv3uJRI35e0xrw5Jq7KQ7ZlnrFW5JBeKDILTD2vP6fLsQx1xNpwUiDJ9tS7qkGXGDopW0DjYjG/XTlnnIuVmuVBY7AB6BjtChgFqY/mcpTzTCtOjcjVExHVSs5qx09bdVY47UzHxlTq3eESewtRFV/1bpHZ4o3slIkschyNeeUCXPYb4SPYnnV8b9sBvk8VHhEBZBnI2q3VXSVzuvlCBOFG/qUXaaLQccPqJmoXboUTXW67voPOdmu0jiUdAdCOuxElMjpFtVqmNtKoQF51y4lfCMN6IeriJeCrrfRoHMW7MqtmXAIqY3MSWgwuZPn9BlSYjdQjSki3Tad78ymUinXDTEZMjeJrYSZe/IxiXFT9oLb/5kocMr1a91VjEdEstjnmfj58QKjX/BG7f7XlQAAAABJRU5ErkJggg==';
12
14
  exports.tipIcon = tipIcon;
13
15
  var walletSaldoIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOtSURBVHgB7ZhNbBNHFMf/bzebKqhRf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3iWQR+8DVT4HYKa5/pJd9qbDT9pmB0uhK/TX4TOyOWEYfK5cKuVreFHYKWQTAcwpVskXJH0WsF5yCg4y+xncNqEUnC58wx0hRKcreGijngjZY8bzUlf8mg4awKCvZikRCQkJCQsIqeAVyQiD1CWbbAgAAAABJRU5ErkJggg==';
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
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 _Iconfont = _interopRequireDefault(require("../Iconfont"));
17
17
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _mobx = require("../../mobx");
15
15
 
@@ -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
 
@@ -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
 
@@ -12,7 +12,7 @@ exports.sliceFn = sliceFn;
12
12
  exports.tellBackendMergeFn = tellBackendMergeFn;
13
13
  exports.uploadFileCheck = void 0;
14
14
 
15
- var _antd = require("antd");
15
+ var _antd = require("antd4");
16
16
 
17
17
  var _sparkMd = _interopRequireDefault(require("spark-md5"));
18
18
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  require("./index.less");
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _locale = require("../../locale");
15
15
 
@@ -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
 
@@ -0,0 +1,325 @@
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"] = AffiliatePlatform;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _antd = require("antd4");
13
+
14
+ var _locale = require("../../../locale");
15
+
16
+ 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); }
17
+
18
+ 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; }
19
+
20
+ var __assign = void 0 && (void 0).__assign || function () {
21
+ __assign = Object.assign || function (t) {
22
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
23
+ s = arguments[i];
24
+
25
+ for (var p in s) {
26
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
27
+ }
28
+ }
29
+
30
+ return t;
31
+ };
32
+
33
+ return __assign.apply(this, arguments);
34
+ };
35
+
36
+ var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) {
38
+ return value instanceof P ? value : new P(function (resolve) {
39
+ resolve(value);
40
+ });
41
+ }
42
+
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) {
45
+ try {
46
+ step(generator.next(value));
47
+ } catch (e) {
48
+ reject(e);
49
+ }
50
+ }
51
+
52
+ function rejected(value) {
53
+ try {
54
+ step(generator["throw"](value));
55
+ } catch (e) {
56
+ reject(e);
57
+ }
58
+ }
59
+
60
+ function step(result) {
61
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
62
+ }
63
+
64
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
65
+ });
66
+ };
67
+
68
+ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
69
+ var _ = {
70
+ label: 0,
71
+ sent: function sent() {
72
+ if (t[0] & 1) throw t[1];
73
+ return t[1];
74
+ },
75
+ trys: [],
76
+ ops: []
77
+ },
78
+ f,
79
+ y,
80
+ t,
81
+ g;
82
+ return g = {
83
+ next: verb(0),
84
+ "throw": verb(1),
85
+ "return": verb(2)
86
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
87
+ return this;
88
+ }), g;
89
+
90
+ function verb(n) {
91
+ return function (v) {
92
+ return step([n, v]);
93
+ };
94
+ }
95
+
96
+ function step(op) {
97
+ if (f) throw new TypeError("Generator is already executing.");
98
+
99
+ while (_) {
100
+ try {
101
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
102
+ if (y = 0, t) op = [op[0] & 2, t.value];
103
+
104
+ switch (op[0]) {
105
+ case 0:
106
+ case 1:
107
+ t = op;
108
+ break;
109
+
110
+ case 4:
111
+ _.label++;
112
+ return {
113
+ value: op[1],
114
+ done: false
115
+ };
116
+
117
+ case 5:
118
+ _.label++;
119
+ y = op[1];
120
+ op = [0];
121
+ continue;
122
+
123
+ case 7:
124
+ op = _.ops.pop();
125
+
126
+ _.trys.pop();
127
+
128
+ continue;
129
+
130
+ default:
131
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
132
+ _ = 0;
133
+ continue;
134
+ }
135
+
136
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
137
+ _.label = op[1];
138
+ break;
139
+ }
140
+
141
+ if (op[0] === 6 && _.label < t[1]) {
142
+ _.label = t[1];
143
+ t = op;
144
+ break;
145
+ }
146
+
147
+ if (t && _.label < t[2]) {
148
+ _.label = t[2];
149
+
150
+ _.ops.push(op);
151
+
152
+ break;
153
+ }
154
+
155
+ if (t[2]) _.ops.pop();
156
+
157
+ _.trys.pop();
158
+
159
+ continue;
160
+ }
161
+
162
+ op = body.call(thisArg, _);
163
+ } catch (e) {
164
+ op = [6, e];
165
+ y = 0;
166
+ } finally {
167
+ f = t = 0;
168
+ }
169
+ }
170
+
171
+ if (op[0] & 5) throw op[1];
172
+ return {
173
+ value: op[0] ? op[1] : void 0,
174
+ done: true
175
+ };
176
+ }
177
+ };
178
+
179
+ var paginationParams = {
180
+ pageSize: 20,
181
+ pageIndex: 1
182
+ };
183
+
184
+ function AffiliatePlatform(props) {
185
+ var _this = this;
186
+
187
+ var _onChange = props.onChange,
188
+ _fetch = props._fetch;
189
+
190
+ var _a = (0, _react.useState)([]),
191
+ platformList = _a[0],
192
+ setPlatformList = _a[1];
193
+
194
+ var _b = (0, _react.useState)(false),
195
+ loading = _b[0],
196
+ setLoading = _b[1];
197
+
198
+ var _c = (0, _react.useState)(''),
199
+ platformName = _c[0],
200
+ setPlatformName = _c[1];
201
+
202
+ var queryPlatform = function queryPlatform(params) {
203
+ return __awaiter(_this, void 0, void 0, function () {
204
+ var res;
205
+ return __generator(this, function (_a) {
206
+ switch (_a.label) {
207
+ case 0:
208
+ setLoading(true);
209
+ return [4
210
+ /*yield*/
211
+ , _fetch("/designer/v1/" + window.magicDesign.MBaseUrl + "/distribution/platform/page", params, 'GET')];
212
+
213
+ case 1:
214
+ res = _a.sent();
215
+ paginationParams.total = res.total;
216
+ setPlatformList(res.list);
217
+ setLoading(false);
218
+ return [2
219
+ /*return*/
220
+ ];
221
+ }
222
+ });
223
+ });
224
+ };
225
+
226
+ (0, _react.useEffect)(function () {
227
+ queryPlatform(paginationParams);
228
+ }, []);
229
+ var columns = [{
230
+ title: 'Platform Name',
231
+ dataIndex: 'platformName'
232
+ }, {
233
+ title: 'Logo',
234
+ dataIndex: 'logo',
235
+ render: function render(val) {
236
+ return /*#__PURE__*/_react["default"].createElement("img", {
237
+ alt: "",
238
+ src: val,
239
+ style: {
240
+ maxWidth: '50px',
241
+ maxHeight: '50px'
242
+ }
243
+ });
244
+ }
245
+ }];
246
+ var rowSelection = {
247
+ onChange: function onChange(selectedRowKeys, selectedRow) {
248
+ _onChange({
249
+ value: selectedRow[0].distributionPlatformId,
250
+ name: selectedRow[0].platformName
251
+ });
252
+ },
253
+ type: 'radio'
254
+ };
255
+
256
+ var reset = function reset() {
257
+ setPlatformName('');
258
+ queryPlatform(__assign({
259
+ platformName: ''
260
+ }, paginationParams));
261
+ };
262
+
263
+ return /*#__PURE__*/_react["default"].createElement("div", {
264
+ style: {
265
+ height: 550
266
+ }
267
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
268
+ labelCol: {
269
+ span: 6
270
+ },
271
+ layout: "horizontal"
272
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
273
+ gutter: 24
274
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
275
+ span: 16
276
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
277
+ label: "Platform Name"
278
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
279
+ onChange: function onChange(e) {
280
+ return setPlatformName(e.target.value);
281
+ },
282
+ size: "small",
283
+ value: platformName
284
+ }))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
285
+ span: 6
286
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
287
+ onClick: function onClick() {
288
+ setLoading(true);
289
+ paginationParams.pageIndex = 1;
290
+ queryPlatform(__assign({
291
+ platformName: platformName
292
+ }, paginationParams));
293
+ },
294
+ size: "small",
295
+ style: {
296
+ marginRight: 10
297
+ },
298
+ type: "primary"
299
+ }, (0, _locale.i18n)('QUERY')), /*#__PURE__*/_react["default"].createElement(_antd.Button, {
300
+ onClick: function onClick() {
301
+ reset();
302
+ },
303
+ size: "small"
304
+ }, (0, _locale.i18n)('CANCEL'))))), /*#__PURE__*/_react["default"].createElement(_antd.Table, {
305
+ bordered: false,
306
+ columns: columns,
307
+ dataSource: platformList,
308
+ defaultExpandAllRows: true,
309
+ loading: loading,
310
+ pagination: __assign(__assign({}, paginationParams), {
311
+ onChange: function onChange(page) {
312
+ paginationParams.pageIndex = page;
313
+ queryPlatform(__assign(__assign({}, paginationParams), {
314
+ platformName: platformName
315
+ }));
316
+ },
317
+ showSizeChanger: false
318
+ }),
319
+ rowKey: "distributionPlatformId",
320
+ rowSelection: rowSelection,
321
+ scroll: {
322
+ y: 400
323
+ }
324
+ }));
325
+ }
@@ -11,8 +11,6 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _antd = require("antd4");
13
13
 
14
- var _commonUtil = require("../../../utils/commonUtil");
15
-
16
14
  var _businessUtil = require("../../../utils/businessUtil");
17
15
 
18
16
  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); }
@@ -165,7 +163,8 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
165
163
  function StoreCatgTable(props) {
166
164
  var _this = this;
167
165
 
168
- var _onChange = props.onChange;
166
+ var _onChange = props.onChange,
167
+ _fetch = props._fetch;
169
168
 
170
169
  var _a = (0, _react.useState)([]),
171
170
  catgList = _a[0],
@@ -184,7 +183,7 @@ function StoreCatgTable(props) {
184
183
  setLoading(true);
185
184
  return [4
186
185
  /*yield*/
187
- , (0, _commonUtil.commonFetch)("/designer/v1/" + window.magicDesign.MBaseUrl + "/storeoffercatgs", {}, 'GET')];
186
+ , _fetch("/designer/v1/" + window.magicDesign.MBaseUrl + "/storeoffercatgs", {}, 'GET')];
188
187
 
189
188
  case 1:
190
189
  res = _a.sent();
@@ -41,6 +41,8 @@ var _AffiliateStore = _interopRequireDefault(require("./AffiliateStore"));
41
41
 
42
42
  var _MiniAppApi = _interopRequireDefault(require("./MiniAppApi"));
43
43
 
44
+ var _AffiliatePlatform = _interopRequireDefault(require("./AffiliatePlatform"));
45
+
44
46
  var _locale = require("../../locale");
45
47
 
46
48
  var _commonUtil = require("../../utils/commonUtil");
@@ -321,6 +323,7 @@ var LinkModal = function LinkModal(props) {
321
323
  key: item.linkTypeCode,
322
324
  tab: item.linkTypeName
323
325
  }, item.linkTypeCode === 'StoreCategory' && /*#__PURE__*/_react["default"].createElement(_StoreCatgTable["default"], {
326
+ _fetch: _fetch,
324
327
  onChange: function onChange(value) {
325
328
  setLinkUrl(value);
326
329
  }
@@ -395,6 +398,11 @@ var LinkModal = function LinkModal(props) {
395
398
  onChange: function onChange(value) {
396
399
  return setLinkUrl(value);
397
400
  }
401
+ }), item.linkTypeCode === 'AffiliatePlatform' && /*#__PURE__*/_react["default"].createElement(_AffiliatePlatform["default"], {
402
+ _fetch: _fetch,
403
+ onChange: function onChange(value) {
404
+ return setLinkUrl(value);
405
+ }
398
406
  }));
399
407
  })), /*#__PURE__*/_react["default"].createElement("div", {
400
408
  className: "footer"
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.formatData = exports["default"] = void 0;
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  require("./index.less");
15
15
 
@@ -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"] = Confirm;
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 _Button = _interopRequireDefault(require("../../Button"));
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 _locale = require("../../../locale");
13
13
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  require("./index.less");
15
15
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  require("./index.less");
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 _common = require("../../../../../common");
15
15
 
@@ -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 _common = require("../../../../../common");
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 _moment = _interopRequireDefault(require("moment"));
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 _mobx = require("../../../../mobx");
13
13
 
@@ -222,7 +222,7 @@ function (_super) {
222
222
  }, /*#__PURE__*/_react["default"].createElement("div", {
223
223
  className: "old-price-wrap"
224
224
  }, !!discount && /*#__PURE__*/_react["default"].createElement("span", {
225
- className: type === 'groupBuy' ? 'discount2' : 'discount'
225
+ className: type === 'groupBuy' || type === 'bargain' ? 'discount2' : 'discount'
226
226
  }, "-", discount, "%"), oldPrice && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
227
227
  className: "old-price",
228
228
  data: __assign(__assign({}, panelProps.salesPrice), {
@@ -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 _locale = require("../../../../locale");
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 _mobxReact = require("mobx-react");
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 _FontStyles = _interopRequireDefault(require("../../../../common/FontStyles"));
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 _common = require("../../../../common");
13
13