@fonixtree/magic-design 0.1.85 → 0.1.87

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 (219) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +30 -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/common/CountDown/index.js +20 -11
  8. package/es/common/CropperModal/index.js +126 -0
  9. package/es/common/CropperModal/index.less +29 -0
  10. package/es/common/GroupList/index.js +7 -2
  11. package/es/common/LinkModal/AffiliateStore/index.js +332 -0
  12. package/es/common/LinkModal/SelectVideoModal/index.js +3 -2
  13. package/es/common/LinkModal/index.js +14 -5
  14. package/es/common/ProductModal/SortableImageList/index.js +118 -0
  15. package/es/common/ProductModal/SortableImageList/index.less +3 -0
  16. package/es/common/ProductModal/index.js +40 -27
  17. package/es/common/UrlPicker/index.js +1 -10
  18. package/es/common/Video/QualityComponent/index.js +169 -0
  19. package/es/common/Video/QualityComponent/index.less +78 -0
  20. package/es/common/Video/index.js +142 -86
  21. package/es/common/VideoUpload/index.js +1 -1
  22. package/es/common/index.js +8 -0
  23. package/es/composite-comp/bol/components/Banner/mobile/index.js +4 -2
  24. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +3 -4
  25. package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +3 -4
  26. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +3 -4
  27. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +3 -4
  28. package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +3 -4
  29. package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +3 -4
  30. package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +3 -4
  31. package/es/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +3 -3
  32. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +3 -4
  33. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +3 -4
  34. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +3 -1
  35. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +9 -0
  36. package/es/composite-comp/common/components/AffiliateProductItem/index.js +25 -14
  37. package/es/composite-comp/common/components/AffiliateProductItem/index.less +31 -1
  38. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +2 -15
  39. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
  40. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +92 -0
  41. package/es/composite-comp/dito/components/CommonFunctions/index.js +84 -0
  42. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +113 -0
  43. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
  44. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
  45. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
  46. package/es/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
  47. package/es/composite-comp/dito/components/Orders/index.js +84 -0
  48. package/es/composite-comp/dito/components/Orders/mobile/index.js +350 -0
  49. package/es/composite-comp/dito/components/Orders/mobile/index.less +86 -0
  50. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
  51. package/es/composite-comp/dito/components/PersonalInformation/index.js +84 -0
  52. package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  53. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +592 -0
  54. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +135 -0
  55. package/es/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
  56. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
  57. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +127 -0
  58. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
  59. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +3 -4
  60. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +3 -4
  61. package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +3 -4
  62. package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +130 -0
  63. package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -0
  64. package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +3 -4
  65. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +130 -0
  66. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -0
  67. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +2 -16
  68. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +121 -0
  69. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  70. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  71. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
  72. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
  73. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
  74. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
  75. package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.js +12 -10
  76. package/{lib/composite-comp/dito → es/composite-comp/nuri}/components/AffiliateRecommend/pc/index.js +12 -10
  77. package/{lib/composite-comp/dito → es/composite-comp/nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +3 -17
  78. package/es/constants/component-types.js +24 -6
  79. package/es/constants/index.js +38 -3
  80. package/es/core/Designer/ConfigPanel/index.js +6 -0
  81. package/es/core/Designer/ToolBarModal/index.js +5 -1
  82. package/es/core/Renderer/index.js +6 -2
  83. package/es/decorator/compositeDecorator.js +10 -6
  84. package/es/decorator/index.js +4 -1
  85. package/es/decorator/metaDecorator.js +6 -2
  86. package/es/locale/en/en.json +15 -1
  87. package/es/locale/es/es.json +15 -1
  88. package/es/locale/id/id.json +15 -1
  89. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  90. package/es/mobx/UserState.js +144 -0
  91. package/es/mobx/index.js +9 -3
  92. package/es/utils/androidUtil.js +14 -2
  93. package/es/utils/businessUtil.js +12 -0
  94. package/es/utils/commonUtil.js +138 -8
  95. package/es/utils/coreUtil.js +39 -28
  96. package/lib/assets/fonts/.DS_Store +0 -0
  97. package/lib/assets/fonts/magic-box-iconfont.css +30 -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/common/CountDown/index.js +20 -11
  103. package/lib/common/CropperModal/index.js +126 -0
  104. package/lib/common/CropperModal/index.less +29 -0
  105. package/lib/common/GroupList/index.js +7 -2
  106. package/lib/common/LinkModal/AffiliateStore/index.js +332 -0
  107. package/lib/common/LinkModal/SelectVideoModal/index.js +3 -2
  108. package/lib/common/LinkModal/index.js +14 -5
  109. package/lib/common/ProductModal/SortableImageList/index.js +118 -0
  110. package/lib/common/ProductModal/SortableImageList/index.less +3 -0
  111. package/lib/common/ProductModal/index.js +40 -27
  112. package/lib/common/UrlPicker/index.js +1 -10
  113. package/lib/common/Video/QualityComponent/index.js +169 -0
  114. package/lib/common/Video/QualityComponent/index.less +78 -0
  115. package/lib/common/Video/index.js +142 -86
  116. package/lib/common/VideoUpload/index.js +1 -1
  117. package/lib/common/index.js +8 -0
  118. package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -2
  119. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +3 -4
  120. package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +3 -4
  121. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +3 -4
  122. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +3 -4
  123. package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +3 -4
  124. package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +3 -4
  125. package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +3 -4
  126. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoConfigGroup/index.js +3 -3
  127. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +3 -4
  128. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +3 -4
  129. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +3 -1
  130. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +9 -0
  131. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +25 -14
  132. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +31 -1
  133. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +2 -15
  134. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
  135. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +92 -0
  136. package/lib/composite-comp/dito/components/CommonFunctions/index.js +84 -0
  137. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +113 -0
  138. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +30 -0
  139. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
  140. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
  141. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
  142. package/lib/composite-comp/dito/components/Orders/index.js +84 -0
  143. package/lib/composite-comp/dito/components/Orders/mobile/index.js +350 -0
  144. package/lib/composite-comp/dito/components/Orders/mobile/index.less +86 -0
  145. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
  146. package/lib/composite-comp/dito/components/PersonalInformation/index.js +84 -0
  147. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  148. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +592 -0
  149. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +135 -0
  150. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
  151. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
  152. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +127 -0
  153. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
  154. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +3 -4
  155. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +3 -4
  156. package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +3 -4
  157. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +130 -0
  158. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +114 -0
  159. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +3 -4
  160. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +130 -0
  161. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +118 -0
  162. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +2 -16
  163. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +121 -0
  164. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  165. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  166. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
  167. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
  168. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
  169. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
  170. package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.js +12 -10
  171. package/{es/composite-comp/dito → lib/composite-comp/nuri}/components/AffiliateRecommend/pc/index.js +12 -10
  172. package/{es/composite-comp/dito → lib/composite-comp/nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +3 -17
  173. package/lib/constants/component-types.js +24 -6
  174. package/lib/constants/index.js +38 -3
  175. package/lib/core/Designer/ConfigPanel/index.js +6 -0
  176. package/lib/core/Designer/ToolBarModal/index.js +5 -1
  177. package/lib/core/Renderer/index.js +6 -2
  178. package/lib/decorator/compositeDecorator.js +10 -6
  179. package/lib/decorator/index.js +4 -1
  180. package/lib/decorator/metaDecorator.js +6 -2
  181. package/lib/locale/en/en.json +15 -1
  182. package/lib/locale/es/es.json +15 -1
  183. package/lib/locale/id/id.json +15 -1
  184. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  185. package/lib/mobx/UserState.js +144 -0
  186. package/lib/mobx/index.js +9 -3
  187. package/lib/utils/androidUtil.js +14 -2
  188. package/lib/utils/businessUtil.js +12 -0
  189. package/lib/utils/commonUtil.js +138 -8
  190. package/lib/utils/coreUtil.js +39 -28
  191. package/package.json +2 -1
  192. /package/es/common/Video/{components → RateComponent}/index.js +0 -0
  193. /package/es/common/Video/{components → RateComponent}/index.less +0 -0
  194. /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/defaultJSON.js +0 -0
  195. /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/index.js +0 -0
  196. /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.less +0 -0
  197. /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.less +0 -0
  198. /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
  199. /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  200. /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
  201. /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  202. /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/index.js +0 -0
  203. /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
  204. /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
  205. /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
  206. /package/lib/common/Video/{components → RateComponent}/index.js +0 -0
  207. /package/lib/common/Video/{components → RateComponent}/index.less +0 -0
  208. /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/defaultJSON.js +0 -0
  209. /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/index.js +0 -0
  210. /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.less +0 -0
  211. /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.less +0 -0
  212. /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
  213. /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  214. /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
  215. /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  216. /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/index.js +0 -0
  217. /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
  218. /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
  219. /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _antd = require("antd");
11
+
12
+ var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
13
+
14
+ var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
15
+
16
+ var _common = require("../../../../common");
17
+
18
+ var _coreUtil = require("../../../../utils/coreUtil");
19
+
20
+ var _index = require("../../../../constants/index");
21
+
22
+ var _locale = require("../../../../locale");
23
+
24
+ require("./index.less");
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
+
28
+ var __extends = void 0 && (void 0).__extends || function () {
29
+ var _extendStatics = function extendStatics(d, b) {
30
+ _extendStatics = Object.setPrototypeOf || {
31
+ __proto__: []
32
+ } instanceof Array && function (d, b) {
33
+ d.__proto__ = b;
34
+ } || function (d, b) {
35
+ for (var p in b) {
36
+ if (b.hasOwnProperty(p)) d[p] = b[p];
37
+ }
38
+ };
39
+
40
+ return _extendStatics(d, b);
41
+ };
42
+
43
+ return function (d, b) {
44
+ _extendStatics(d, b);
45
+
46
+ function __() {
47
+ this.constructor = d;
48
+ }
49
+
50
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
+ };
52
+ }();
53
+
54
+ var OrdersSecondConfig =
55
+ /** @class */
56
+ function (_super) {
57
+ __extends(OrdersSecondConfig, _super);
58
+
59
+ function OrdersSecondConfig() {
60
+ var _this = _super !== null && _super.apply(this, arguments) || this;
61
+
62
+ _this.state = {};
63
+
64
+ _this.selfRender = function () {
65
+ (0, _coreUtil.renderPreview)();
66
+
67
+ _this.setState({});
68
+ };
69
+
70
+ _this.getContentPanel = function (data) {
71
+ var source = [{
72
+ key: 'secondContent1',
73
+ name: (0, _locale.i18n)('Icon'),
74
+ value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
75
+ data: data.image
76
+ }),
77
+ metaOption: data.image
78
+ }, {
79
+ key: 'secondContent2',
80
+ name: /*#__PURE__*/_react["default"].createElement("span", {
81
+ dangerouslySetInnerHTML: {
82
+ __html: data.title.text
83
+ }
84
+ }),
85
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
86
+ data: data.title
87
+ }),
88
+ metaOption: data.title
89
+ }];
90
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
91
+ headerSize: "middle",
92
+ onRefresh: function onRefresh() {
93
+ return (0, _coreUtil.renderPreview)();
94
+ },
95
+ showActiveColor: true,
96
+ source: source,
97
+ type: "switch"
98
+ }), /*#__PURE__*/_react["default"].createElement("div", {
99
+ className: "sourceOfAmount"
100
+ }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
101
+ title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
102
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
103
+ onChange: function onChange(v) {
104
+ data.sourceType = v;
105
+ data.title.text = v;
106
+
107
+ _this.selfRender();
108
+ },
109
+ value: data.sourceType
110
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
111
+ value: _index.orderStatusType.PAY
112
+ }, (0, _locale.i18n)('TO_PAY')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
113
+ value: _index.orderStatusType.SHIP
114
+ }, (0, _locale.i18n)('TO_SHIP')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
115
+ value: _index.orderStatusType.RECEIVE
116
+ }, (0, _locale.i18n)('TO_RECEIVE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
117
+ value: _index.orderStatusType.DONE
118
+ }, (0, _locale.i18n)('DONE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
119
+ value: _index.orderStatusType.CANCELLED
120
+ }, (0, _locale.i18n)('CANCELLED'))))));
121
+ };
122
+
123
+ return _this;
124
+ }
125
+
126
+ OrdersSecondConfig.prototype.render = function () {
127
+ var panelProps = this.props.panelProps;
128
+ return /*#__PURE__*/_react["default"].createElement("div", {
129
+ className: "orders_second_conf_wrap"
130
+ }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
131
+ divider: "bold",
132
+ headerSize: "large",
133
+ source: [{
134
+ key: 'secondConfig1',
135
+ name: (0, _locale.i18n)('CONTENT'),
136
+ value: this.getContentPanel(panelProps, true)
137
+ }]
138
+ }));
139
+ };
140
+
141
+ OrdersSecondConfig.defaultProps = {
142
+ panelProps: {}
143
+ };
144
+ return OrdersSecondConfig;
145
+ }(_react["default"].Component);
146
+
147
+ var _default = OrdersSecondConfig;
148
+ exports["default"] = _default;
@@ -0,0 +1,9 @@
1
+ .orders_second_conf_wrap {
2
+
3
+ .sourceOfAmount {
4
+ border-top: 1px dashed #D2D9E5;
5
+ border-bottom: 1px dashed #D2D9E5;
6
+ padding-top: 20px;
7
+ padding-bottom: 10px;
8
+ }
9
+ }
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _antd = require("antd");
11
+
12
+ var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
13
+
14
+ var _common = require("../../../../common");
15
+
16
+ var _coreUtil = require("../../../../utils/coreUtil");
17
+
18
+ var _locale = require("../../../../locale");
19
+
20
+ var _index = require("../../../../constants/index");
21
+
22
+ require("./index.less");
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 PersonalInfoSecondConfig =
53
+ /** @class */
54
+ function (_super) {
55
+ __extends(PersonalInfoSecondConfig, _super);
56
+
57
+ function PersonalInfoSecondConfig() {
58
+ var _this = _super !== null && _super.apply(this, arguments) || this;
59
+
60
+ _this.state = {};
61
+
62
+ _this.selfRender = function () {
63
+ (0, _coreUtil.renderPreview)();
64
+
65
+ _this.setState({});
66
+ };
67
+
68
+ _this.getContentPanel = function (data) {
69
+ var source = [{
70
+ key: 'secondContent1',
71
+ name: /*#__PURE__*/_react["default"].createElement("span", {
72
+ dangerouslySetInnerHTML: {
73
+ __html: data.title.text
74
+ }
75
+ }),
76
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
77
+ data: data.title
78
+ }),
79
+ metaOption: data.title
80
+ }, {
81
+ key: 'secondContent2',
82
+ name: (0, _locale.i18n)('Number'),
83
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
84
+ data: data.number
85
+ }),
86
+ metaOption: data.number
87
+ }];
88
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
89
+ headerSize: "middle",
90
+ onRefresh: function onRefresh() {
91
+ return (0, _coreUtil.renderPreview)();
92
+ },
93
+ showActiveColor: true,
94
+ source: source,
95
+ type: "switch"
96
+ }), /*#__PURE__*/_react["default"].createElement("div", {
97
+ className: "sourceOfAmount"
98
+ }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
99
+ title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
100
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
101
+ onChange: function onChange(v) {
102
+ data.sourceType = v;
103
+
104
+ _this.selfRender();
105
+ },
106
+ value: data.sourceType
107
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
108
+ value: _index.personalInfoType.WISHLIST
109
+ }, (0, _locale.i18n)('WISHLIST')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
110
+ value: _index.personalInfoType.STORES
111
+ }, (0, _locale.i18n)('STORES')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
112
+ value: _index.personalInfoType.VOUCHERS
113
+ }, (0, _locale.i18n)('VOUCHERS')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
114
+ value: _index.personalInfoType.VIEWED
115
+ }, (0, _locale.i18n)('RECENTLY_VIEWED'))))));
116
+ };
117
+
118
+ return _this;
119
+ }
120
+
121
+ PersonalInfoSecondConfig.prototype.render = function () {
122
+ var panelProps = this.props.panelProps;
123
+ return /*#__PURE__*/_react["default"].createElement("div", {
124
+ className: "personal_info_second_conf_wrap"
125
+ }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
126
+ divider: "bold",
127
+ headerSize: "large",
128
+ source: [{
129
+ key: 'secondConfig1',
130
+ name: (0, _locale.i18n)('CONTENT'),
131
+ value: this.getContentPanel(panelProps, true)
132
+ }]
133
+ }));
134
+ };
135
+
136
+ PersonalInfoSecondConfig.defaultProps = {
137
+ panelProps: {}
138
+ };
139
+ return PersonalInfoSecondConfig;
140
+ }(_react["default"].Component);
141
+
142
+ var _default = PersonalInfoSecondConfig;
143
+ exports["default"] = _default;
@@ -0,0 +1,9 @@
1
+ .personal_info_second_conf_wrap {
2
+
3
+ .sourceOfAmount {
4
+ border-top: 1px dashed #D2D9E5;
5
+ border-bottom: 1px dashed #D2D9E5;
6
+ padding-top: 20px;
7
+ padding-bottom: 10px;
8
+ }
9
+ }
@@ -314,8 +314,10 @@ function (_super) {
314
314
 
315
315
  var _this = this;
316
316
 
317
- return __generator(this, function (_e) {
318
- switch (_e.label) {
317
+ var _e;
318
+
319
+ return __generator(this, function (_f) {
320
+ switch (_f.label) {
319
321
  case 0:
320
322
  panelProps = this.props.panelProps;
321
323
  groupSource = this.state.groupSource;
@@ -341,10 +343,10 @@ function (_super) {
341
343
 
342
344
  _a = (groupSource[index] || {}).prodIds, prodIds = _a === void 0 ? '' : _a;
343
345
  newData = [];
344
- _e.label = 1;
346
+ _f.label = 1;
345
347
 
346
348
  case 1:
347
- _e.trys.push([1, 5,, 6]);
349
+ _f.trys.push([1, 5,, 6]);
348
350
 
349
351
  if (!(groupSource.length > 0)) return [3
350
352
  /*break*/
@@ -358,22 +360,22 @@ function (_super) {
358
360
 
359
361
  return [4
360
362
  /*yield*/
361
- , (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product', {
363
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product/es/page', {
362
364
  affiliateProductIds: prodIds,
363
365
  pageIndex: 1,
364
366
  pageSize: prodIds.split(',').length || 20
365
- }, 'GET')];
367
+ }, 'POST')];
366
368
 
367
369
  case 2:
368
- res = _e.sent();
369
- newData = __spreadArrays(res.list);
370
+ res = _f.sent();
371
+ newData = __spreadArrays((_e = res.pageInfo) === null || _e === void 0 ? void 0 : _e.list);
370
372
  return [3
371
373
  /*break*/
372
374
  , 4];
373
375
 
374
376
  case 3:
375
377
  newData = [];
376
- _e.label = 4;
378
+ _f.label = 4;
377
379
 
378
380
  case 4:
379
381
  return [3
@@ -381,7 +383,7 @@ function (_super) {
381
383
  , 6];
382
384
 
383
385
  case 5:
384
- e_1 = _e.sent();
386
+ e_1 = _f.sent();
385
387
  newData = [];
386
388
  return [3
387
389
  /*break*/
@@ -309,8 +309,10 @@ function (_super) {
309
309
 
310
310
  var _this = this;
311
311
 
312
- return __generator(this, function (_e) {
313
- switch (_e.label) {
312
+ var _e;
313
+
314
+ return __generator(this, function (_f) {
315
+ switch (_f.label) {
314
316
  case 0:
315
317
  panelProps = this.props.panelProps;
316
318
  groupSource = this.state.groupSource;
@@ -336,10 +338,10 @@ function (_super) {
336
338
 
337
339
  _a = (groupSource[index] || {}).prodIds, prodIds = _a === void 0 ? '' : _a;
338
340
  newData = [];
339
- _e.label = 1;
341
+ _f.label = 1;
340
342
 
341
343
  case 1:
342
- _e.trys.push([1, 5,, 6]);
344
+ _f.trys.push([1, 5,, 6]);
343
345
 
344
346
  if (!(groupSource.length > 0)) return [3
345
347
  /*break*/
@@ -353,22 +355,22 @@ function (_super) {
353
355
 
354
356
  return [4
355
357
  /*yield*/
356
- , (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product', {
358
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product/es/page', {
357
359
  affiliateProductIds: prodIds,
358
360
  pageIndex: 1,
359
361
  pageSize: prodIds.split(',').length || 20
360
- }, 'GET')];
362
+ }, 'POST')];
361
363
 
362
364
  case 2:
363
- res = _e.sent();
364
- newData = __spreadArrays(res.list);
365
+ res = _f.sent();
366
+ newData = __spreadArrays((_e = res.pageInfo) === null || _e === void 0 ? void 0 : _e.list);
365
367
  return [3
366
368
  /*break*/
367
369
  , 4];
368
370
 
369
371
  case 3:
370
372
  newData = [];
371
- _e.label = 4;
373
+ _f.label = 4;
372
374
 
373
375
  case 4:
374
376
  return [3
@@ -376,7 +378,7 @@ function (_super) {
376
378
  , 6];
377
379
 
378
380
  case 5:
379
- e_1 = _e.sent();
381
+ e_1 = _f.sent();
380
382
  newData = [];
381
383
  return [3
382
384
  /*break*/
@@ -7,15 +7,13 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _mobxReact = require("mobx-react");
11
-
12
10
  var _defaultImg = _interopRequireDefault(require("../imgs/defaultImg.png"));
13
11
 
14
12
  var _Button = _interopRequireDefault(require("../../../../../common/Button"));
15
13
 
16
14
  var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList"));
17
15
 
18
- var _defaultJSON = require("../../../components/Recommend/defaultJSON");
16
+ var _defaultJSON = require("../../../../dito/components/Recommend/defaultJSON");
19
17
 
20
18
  var _coreUtil = require("../../../../../utils/coreUtil");
21
19
 
@@ -25,8 +23,6 @@ var _locale = require("../../../../../locale");
25
23
 
26
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
25
 
28
- 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); }
29
-
30
26
  var __extends = void 0 && (void 0).__extends || function () {
31
27
  var _extendStatics = function extendStatics(d, b) {
32
28
  _extendStatics = Object.setPrototypeOf || {
@@ -53,17 +49,8 @@ var __extends = void 0 && (void 0).__extends || function () {
53
49
  };
54
50
  }();
55
51
 
56
- var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
57
- var c = arguments.length,
58
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
59
- d;
60
- if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
61
- if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
62
- }
63
- return c > 3 && r && Object.defineProperty(target, key, r), r;
64
- };
65
-
66
- var notice = '';
52
+ var notice = ''; // @inject('store')
53
+ // @observer
67
54
 
68
55
  var AComponent =
69
56
  /** @class */
@@ -140,7 +127,6 @@ function (_super) {
140
127
  AComponent.defaultProps = {
141
128
  source: []
142
129
  };
143
- AComponent = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer], AComponent);
144
130
  return AComponent;
145
131
  }(_react["default"].Component);
146
132
 
@@ -41,7 +41,7 @@ var _SignBoard = _interopRequireDefault(require("../composite-comp/dito/componen
41
41
 
42
42
  var _Recommend = _interopRequireDefault(require("../composite-comp/dito/components/Recommend"));
43
43
 
44
- var _AffiliateRecommend = _interopRequireDefault(require("../composite-comp/dito/components/AffiliateRecommend"));
44
+ var _AffiliateRecommend = _interopRequireDefault(require("../composite-comp/nuri/components/AffiliateRecommend"));
45
45
 
46
46
  var _MobileNavigation = _interopRequireDefault(require("../composite-comp/dito/components/MobileNavigation"));
47
47
 
@@ -51,6 +51,12 @@ var _MenuNavigation = _interopRequireDefault(require("../composite-comp/dito/com
51
51
 
52
52
  var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/components/HeadNavigation"));
53
53
 
54
+ var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
55
+
56
+ var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/Orders"));
57
+
58
+ var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
59
+
54
60
  var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
55
61
 
56
62
  var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
@@ -87,7 +93,7 @@ var _SignBoardConfig = _interopRequireDefault(require("../composite-comp/dito/co
87
93
 
88
94
  var _RecommendConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/RecommendConfig"));
89
95
 
90
- var _AffiliateRecommendConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/AffiliateRecommendConfig"));
96
+ var _AffiliateRecommendConfig = _interopRequireDefault(require("../composite-comp/nuri/config-panels/AffiliateRecommendConfig"));
91
97
 
92
98
  var _MobileNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/MobileNavigationConfig"));
93
99
 
@@ -97,6 +103,12 @@ var _MenuNavigationConfig = _interopRequireDefault(require("../composite-comp/di
97
103
 
98
104
  var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/HeadNavigationConfig"));
99
105
 
106
+ var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
107
+
108
+ var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/OrdersConfig"));
109
+
110
+ var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
111
+
100
112
  var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
101
113
 
102
114
  var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
@@ -119,7 +131,7 @@ var _WalletNuriSecondConfig = _interopRequireDefault(require("../composite-comp/
119
131
 
120
132
  var _RecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/RecommendSecondConfig"));
121
133
 
122
- var _AffiliateRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig"));
134
+ var _AffiliateRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig"));
123
135
 
124
136
  var _MobileNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/MobileNavigationSecondConfig"));
125
137
 
@@ -129,6 +141,12 @@ var _MenuNavigationSecondConfig = _interopRequireDefault(require("../composite-c
129
141
 
130
142
  var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/HeadNavigationSecondConfig"));
131
143
 
144
+ var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
145
+
146
+ var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/OrdersSecondConfig"));
147
+
148
+ var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
149
+
132
150
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
133
151
 
134
152
  var _a, _b, _c; // 组件
@@ -137,17 +155,17 @@ var _a, _b, _c; // 组件
137
155
  /**
138
156
  * 渲染组件索引
139
157
  */
140
- var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
158
+ var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
141
159
  /**
142
160
  * 一级配置面板索引
143
161
  */
144
162
 
145
163
  exports.componentMap = componentMap;
146
- var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
164
+ var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
147
165
  /**
148
166
  * 二级配置面板索引
149
167
  */
150
168
 
151
169
  exports.configPanelMap = configPanelMap;
152
- var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
170
+ var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
153
171
  exports.secondConfigPanelMap = secondConfigPanelMap;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.partyTypeMap = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
6
+ exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.personalInfoType = exports.partyTypeMap = exports.orderStatusType = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORE_KEY = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
7
7
  var STORAGE_KEY = {
8
8
  LOCALE: 'magicLocale',
9
9
  MAGIC_RENDER_HTML: 'MAGIC_RENDER_HTML',
@@ -45,6 +45,21 @@ var walletType = {
45
45
  CENDUIT: 'CenDuit'
46
46
  };
47
47
  exports.walletType = walletType;
48
+ var orderStatusType = {
49
+ PAY: 'To Pay',
50
+ SHIP: 'To Ship',
51
+ RECEIVE: 'To Receive',
52
+ DONE: 'Done',
53
+ CANCELLED: 'Cancelled'
54
+ };
55
+ exports.orderStatusType = orderStatusType;
56
+ var personalInfoType = {
57
+ WISHLIST: 'Wishlist',
58
+ STORES: 'Stores',
59
+ VOUCHERS: 'Vouchers',
60
+ VIEWED: 'Recently Viewed'
61
+ };
62
+ exports.personalInfoType = personalInfoType;
48
63
  var urlType = {
49
64
  PRODUCT_DETAIL: 'proDetail',
50
65
  CATG_PROD_LIST: 'catg',
@@ -69,6 +84,7 @@ var urlTypeMap = {
69
84
  MINI_APP: 'MiniApp',
70
85
  STORE: 'Store',
71
86
  AFFILIATE_PRODUCT: 'AffiliateProduct',
87
+ AFFILIATE_STORE: 'AffiliateStore',
72
88
  ANCHOR: 'Anchor'
73
89
  };
74
90
  exports.urlTypeMap = urlTypeMap;
@@ -183,7 +199,7 @@ var compInfoMap = {
183
199
  },
184
200
  WALLET: {
185
201
  name: 'Wallet',
186
- icon: 'icon-image-gallery'
202
+ icon: 'icon-cards_fill'
187
203
  },
188
204
  WALLET_NURI: {
189
205
  name: 'Wallet',
@@ -196,6 +212,18 @@ var compInfoMap = {
196
212
  MENU_NAVIGATION: {
197
213
  name: 'Menu Navigation',
198
214
  icon: 'icon-footer'
215
+ },
216
+ PERSONAL_INFOMATION: {
217
+ name: 'Personal Information',
218
+ icon: 'icon-account'
219
+ },
220
+ ORDERS: {
221
+ name: 'Orders',
222
+ icon: 'icon-orders'
223
+ },
224
+ COMMON_FUNCTIONS: {
225
+ name: 'Common Functions',
226
+ icon: 'icon-function'
199
227
  }
200
228
  };
201
229
  /**
@@ -272,4 +300,11 @@ var tempTypeMap = {
272
300
  PAGE: 'Page',
273
301
  TEMPLATE: 'TemplateLibrary'
274
302
  };
275
- exports.tempTypeMap = tempTypeMap;
303
+ /** 持久化缓存 KEY */
304
+
305
+ exports.tempTypeMap = tempTypeMap;
306
+ var STORE_KEY = {
307
+ // 是否从sf app跳转
308
+ IS_FROM_SF: 'isFromSf'
309
+ };
310
+ exports.STORE_KEY = STORE_KEY;