@fonixtree/magic-design 2.0.117 → 2.0.119

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 (89) hide show
  1. package/es/common/ImageModal/index.js +12 -4
  2. package/es/common/LinkModal/BundleCampaign/index.js +5 -3
  3. package/es/common/LinkModal/SelectVideoModal/index.js +9 -9
  4. package/es/common/LinkModal/ShareUrl/index.js +3 -1
  5. package/es/common/LinkModal/index.js +3 -1
  6. package/es/common/VideoUpload/index.js +2 -2
  7. package/es/composite-comp/bol/components/Location/index.js +3 -1
  8. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +16 -16
  9. package/es/composite-comp/common/components/AffiliateProductItem/index.js +3 -1
  10. package/es/composite-comp/common/components/MonpayProductItem/index.js +1 -1
  11. package/es/composite-comp/common/config-panels/InputField/index.js +2 -2
  12. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +2 -2
  13. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +3 -1
  14. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +2 -2
  15. package/es/composite-comp/monpay/components/Bundle/index.js +10 -10
  16. package/es/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
  17. package/es/composite-comp/monpay/components/Bundle/mobile/index.js +1 -0
  18. package/es/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.js +11 -13
  19. package/es/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.less +6 -6
  20. package/es/composite-comp/monpay/components/MerchantSales/mobile/index.js +25 -17
  21. package/es/composite-comp/monpay/components/MerchantSales/mobile/index.less +2 -2
  22. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +3 -2
  23. package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +2 -2
  24. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +2 -2
  25. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +4 -2
  26. package/es/constants/index.js +3 -2
  27. package/es/core/Designer/AiImageGenerator/History/index.js +4 -2
  28. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +4 -2
  29. package/es/core/Designer/AiImageGenerator/index.js +4 -2
  30. package/es/core/Designer/AppointmentModal/index.js +1 -1
  31. package/es/core/Designer/ChatRobot/index.js +3 -1
  32. package/es/core/Designer/QuickMenuBar/index.js +5 -5
  33. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +3 -1
  34. package/es/core/Designer/ViewArea/index.js +6 -2
  35. package/es/locale/en/en.json +51 -6
  36. package/es/locale/es/es.json +51 -6
  37. package/es/locale/id/id.json +51 -6
  38. package/es/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
  39. package/es/meta-comp/components/Image/index.js +7 -3
  40. package/es/meta-comp/config-panels/ButtonConfig/index.js +3 -3
  41. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  42. package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
  43. package/es/meta-comp/config-panels/PlayIconConfig/index.js +3 -3
  44. package/es/meta-comp/config-panels/TextConfig/index.js +3 -3
  45. package/lib/common/ImageModal/index.js +12 -4
  46. package/lib/common/LinkModal/BundleCampaign/index.js +5 -3
  47. package/lib/common/LinkModal/SelectVideoModal/index.js +9 -9
  48. package/lib/common/LinkModal/ShareUrl/index.js +3 -1
  49. package/lib/common/LinkModal/index.js +3 -1
  50. package/lib/common/VideoUpload/index.js +2 -2
  51. package/lib/composite-comp/bol/components/Location/index.js +3 -1
  52. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +16 -16
  53. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +3 -1
  54. package/lib/composite-comp/common/components/MonpayProductItem/index.js +1 -1
  55. package/lib/composite-comp/common/config-panels/InputField/index.js +2 -2
  56. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +2 -2
  57. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +3 -1
  58. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +2 -2
  59. package/lib/composite-comp/monpay/components/Bundle/index.js +10 -10
  60. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
  61. package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +1 -0
  62. package/lib/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.js +11 -13
  63. package/lib/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.less +6 -6
  64. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +25 -17
  65. package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +2 -2
  66. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +3 -2
  67. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +2 -2
  68. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +2 -2
  69. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +4 -2
  70. package/lib/constants/index.js +3 -2
  71. package/lib/core/Designer/AiImageGenerator/History/index.js +4 -2
  72. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +4 -2
  73. package/lib/core/Designer/AiImageGenerator/index.js +4 -2
  74. package/lib/core/Designer/AppointmentModal/index.js +1 -1
  75. package/lib/core/Designer/ChatRobot/index.js +3 -1
  76. package/lib/core/Designer/QuickMenuBar/index.js +5 -5
  77. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +3 -1
  78. package/lib/core/Designer/ViewArea/index.js +6 -2
  79. package/lib/locale/en/en.json +51 -6
  80. package/lib/locale/es/es.json +51 -6
  81. package/lib/locale/id/id.json +51 -6
  82. package/lib/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
  83. package/lib/meta-comp/components/Image/index.js +7 -3
  84. package/lib/meta-comp/config-panels/ButtonConfig/index.js +3 -3
  85. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  86. package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
  87. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +3 -3
  88. package/lib/meta-comp/config-panels/TextConfig/index.js +3 -3
  89. package/package.json +1 -1
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  require("./index.less");
11
11
 
12
- var _ProductItem = _interopRequireDefault(require("./ProductItem"));
12
+ var _StoreItem = _interopRequireDefault(require("./StoreItem"));
13
13
 
14
14
  var _card = _interopRequireDefault(require("./img/card.png"));
15
15
 
@@ -193,20 +193,25 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
193
193
  };
194
194
 
195
195
  var defaultData = [{
196
- imgUrlContent: {
197
- url: _card["default"]
198
- },
199
- offerName: 'Product Name'
196
+ storeId: 1,
197
+ storeLogoUrl: _card["default"],
198
+ storeName: 'Store Name'
200
199
  }, {
201
- imgUrlContent: {
202
- url: _card["default"]
203
- },
204
- offerName: 'Product Name'
200
+ storeId: 2,
201
+ storeLogoUrl: _card["default"],
202
+ storeName: 'Store Name'
205
203
  }, {
206
- imgUrlContent: {
207
- url: _card["default"]
208
- },
209
- offerName: 'Product Name'
204
+ storeId: 3,
205
+ storeLogoUrl: _card["default"],
206
+ storeName: 'Store Name'
207
+ }, {
208
+ storeId: 4,
209
+ storeLogoUrl: _card["default"],
210
+ storeName: 'Store Name'
211
+ }, {
212
+ storeId: 5,
213
+ storeLogoUrl: _card["default"],
214
+ storeName: 'Store Name'
210
215
  }];
211
216
 
212
217
  var MerchantSalesMobile =
@@ -241,7 +246,9 @@ function (_super) {
241
246
 
242
247
  case 1:
243
248
  res = _a.sent();
244
- list = res.pageInfo.list;
249
+ list = (0, _commonUtil.ensure)(function () {
250
+ return res.storePage.list;
251
+ }, []);
245
252
  this.setState({
246
253
  list: list
247
254
  });
@@ -275,15 +282,16 @@ function (_super) {
275
282
  className: "monpay-merchant-sales-mobile"
276
283
  }, panelProps.title.headerImage.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
277
284
  className: "headerImg",
285
+ isRect: true,
278
286
  data: panelProps.title.headerImage
279
287
  }), /*#__PURE__*/_react["default"].createElement("div", {
280
288
  className: "merchant-sales-list"
281
289
  }, _list.map(function (item) {
282
- return /*#__PURE__*/_react["default"].createElement(_ProductItem["default"], {
283
- key: item.productId,
290
+ return /*#__PURE__*/_react["default"].createElement(_StoreItem["default"], {
291
+ key: item.storeId,
284
292
  data: item,
285
293
  onItemClick: function onItemClick() {
286
- (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
294
+ (0, _coreUtil.clickUrl)('/main/discount');
287
295
  },
288
296
  panelProps: panelProps.content
289
297
  });
@@ -1,5 +1,5 @@
1
1
  .monpay-merchant-sales-mobile {
2
- padding: 0.4rem;
2
+ padding: 0.36rem;
3
3
  }
4
4
  .monpay-merchant-sales-mobile .headerImg {
5
5
  display: block;
@@ -9,6 +9,6 @@
9
9
  margin-top: 0.32rem;
10
10
  display: flex;
11
11
  align-items: center;
12
- justify-content: space-between;
12
+ gap: 0.2rem;
13
13
  flex-wrap: wrap;
14
14
  }
@@ -754,10 +754,11 @@ function (_super) {
754
754
  }, 140);
755
755
  if (_layout === 'layout1-2' && contentWidth) imgHeight = (contentWidth - 12) / 2;
756
756
  if (_layout === 'layout1-3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
757
- return /*#__PURE__*/_react["default"].createElement("div", {
757
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _products.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
758
758
  className: "monpay-recommend-mobile recommend_" + panelProps.id
759
759
  }, panelProps.title.headerImage.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
760
760
  className: "headerImg",
761
+ isRect: true,
761
762
  data: panelProps.title.headerImage
762
763
  }), !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
763
764
  className: "tab-select-wrap"
@@ -855,7 +856,7 @@ function (_super) {
855
856
  })), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
856
857
  className: "btnSeeAll",
857
858
  data: _seeAll
858
- })));
859
+ }))));
859
860
  };
860
861
 
861
862
  RecommendMobile.defaultProps = {
@@ -71,7 +71,7 @@ function (_super) {
71
71
  return /*#__PURE__*/_react["default"].createElement("div", {
72
72
  className: "monpay_bundle_content"
73
73
  }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
74
- title: "Source of Activity"
74
+ title: (0, _locale.i18n)('SOURCE_OF_ACTIVITY')
75
75
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
76
76
  onChange: function onChange(v) {
77
77
  panelProps.sourceType = v;
@@ -81,7 +81,7 @@ function (_super) {
81
81
  value: panelProps.sourceType
82
82
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
83
83
  value: "1"
84
- }, "Al Recommendation"))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
84
+ }, (0, _locale.i18n)('AI_RECOMMENDATION')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
85
85
  title: (0, _locale.i18n)('PRODUCT_QUANTITY')
86
86
  }, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
87
87
  onChange: function onChange(e) {
@@ -71,7 +71,7 @@ function (_super) {
71
71
  return /*#__PURE__*/_react["default"].createElement("div", {
72
72
  className: "monpay_flash_sale_content"
73
73
  }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
74
- title: "Source of Activity"
74
+ title: (0, _locale.i18n)('SOURCE_OF_ACTIVITY')
75
75
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
76
76
  onChange: function onChange(v) {
77
77
  panelProps.sourceType = v;
@@ -81,7 +81,7 @@ function (_super) {
81
81
  value: panelProps.sourceType
82
82
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
83
83
  value: "1"
84
- }, "Customer interests"))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
84
+ }, (0, _locale.i18n)('CUSTOMER_INTERESTS')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
85
85
  title: (0, _locale.i18n)('PRODUCT_QUANTITY')
86
86
  }, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
87
87
  onChange: function onChange(e) {
@@ -15,6 +15,8 @@ var _common = require("../../../../../common");
15
15
 
16
16
  var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
17
17
 
18
+ var _locale = require("../../../../../locale");
19
+
18
20
  require("./index.less");
19
21
 
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -71,7 +73,7 @@ function (_super) {
71
73
  return /*#__PURE__*/_react["default"].createElement("div", {
72
74
  className: "monpay_merchant_sales_content"
73
75
  }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
74
- title: "Source of Activity"
76
+ title: (0, _locale.i18n)('SOURCE_OF_ACTIVITY')
75
77
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
76
78
  onChange: function onChange(v) {
77
79
  panelProps.sourceType = v;
@@ -81,7 +83,7 @@ function (_super) {
81
83
  value: panelProps.sourceType
82
84
  }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
83
85
  value: "1"
84
- }, "Sales"))), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
86
+ }, (0, _locale.i18n)('SALES')))), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
85
87
  divider: "bold",
86
88
  headerSize: "middle",
87
89
  onRefresh: this.reRender,
@@ -190,7 +190,7 @@ var compInfoMap = {
190
190
  icon: 'icon-forms'
191
191
  },
192
192
  AFFILIATE_RECOMMEND: {
193
- name: 'Affiliate Recommend',
193
+ name: 'Recommend',
194
194
  icon: 'icon-forms'
195
195
  },
196
196
  MONPAY_RECOMMEND: {
@@ -361,7 +361,8 @@ var STORE_KEY = {
361
361
  SOURCE_TYPE: 'SOURCE_TYPE',
362
362
 
363
363
  /** 确认订单商品信息 */
364
- CHECKOUT_ORDER: 'orderItems'
364
+ CHECKOUT_ORDER: 'orderItems',
365
+ IMAGE_MODAL_MENU_EXPANDED_INDEX: 'imageModalMenuExpandedIndex'
365
366
  };
366
367
  /** 订单来源 */
367
368
 
@@ -13,6 +13,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
14
  var _common = require("../../../../common");
15
15
 
16
+ var _locale = require("../../../../locale");
17
+
16
18
  require("./index.less");
17
19
 
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -95,7 +97,7 @@ function History(_a) {
95
97
  className: "history_header"
96
98
  }, /*#__PURE__*/_react["default"].createElement("div", {
97
99
  className: "title"
98
- }, "History"), /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
100
+ }, (0, _locale.i18n)('HISTORY')), /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
99
101
  color: "#2F54EB",
100
102
  onClick: historyConfig,
101
103
  size: 20,
@@ -140,7 +142,7 @@ function History(_a) {
140
142
  cursor: 'pointer'
141
143
  },
142
144
  type: "icon-delete1"
143
- }), /*#__PURE__*/_react["default"].createElement("span", null, "Delete"), " "));
145
+ }), /*#__PURE__*/_react["default"].createElement("span", null, (0, _locale.i18n)('DELETE')), " "));
144
146
  }
145
147
 
146
148
  var _default = History;
@@ -13,6 +13,8 @@ var _antd = require("antd4");
13
13
 
14
14
  var _common = require("../../../../common");
15
15
 
16
+ var _locale = require("../../../../locale");
17
+
16
18
  require("./index.less");
17
19
 
18
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -36,9 +38,9 @@ function UploadReference() {
36
38
  className: "proportion_wrap"
37
39
  }, /*#__PURE__*/_react["default"].createElement("div", {
38
40
  className: "title"
39
- }, "Proportion"), /*#__PURE__*/_react["default"].createElement("div", {
41
+ }, (0, _locale.i18n)('PROPORTION')), /*#__PURE__*/_react["default"].createElement("div", {
40
42
  className: "desc"
41
- }, "Big numbers have big effects"), /*#__PURE__*/_react["default"].createElement("div", {
43
+ }, (0, _locale.i18n)('BIG_NUMBERS_HAVE_BIG_EFFECTS')), /*#__PURE__*/_react["default"].createElement("div", {
42
44
  className: "slider_wrap"
43
45
  }, /*#__PURE__*/_react["default"].createElement("span", {
44
46
  className: "slider_value"
@@ -33,6 +33,8 @@ var _storeUtil = require("../../../utils/storeUtil");
33
33
 
34
34
  var _constants = require("../../../constants");
35
35
 
36
+ var _locale = require("../../../locale");
37
+
36
38
  require("./index.less");
37
39
 
38
40
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -659,12 +661,12 @@ function (_super) {
659
661
  onClick: this.onCloseDrawer,
660
662
  size: "small",
661
663
  type: "light"
662
- }, "Cancel"), /*#__PURE__*/_react["default"].createElement(_common.Button, {
664
+ }, (0, _locale.i18n)('CANCEL')), /*#__PURE__*/_react["default"].createElement(_common.Button, {
663
665
  className: "ml8",
664
666
  onClick: this.onConfirm,
665
667
  size: "small",
666
668
  type: "primary"
667
- }, "Confirm"))),
669
+ }, (0, _locale.i18n)('CONFIRM')))),
668
670
  width: 1084
669
671
  }, /*#__PURE__*/_react["default"].createElement(_antd.Spin, {
670
672
  spinning: loading
@@ -83,5 +83,5 @@ function AppointmentModal(props) {
83
83
  }
84
84
  })), /*#__PURE__*/_react["default"].createElement("div", {
85
85
  className: "tips"
86
- }, "Please select a time after 30 minutes and within 30 days")));
86
+ }, (0, _locale.i18n)('PLEASE_SELECT_A_TIME_AFTER_30_MINUTES_AND_WITHIN_30_DAYS'))));
87
87
  }
@@ -25,6 +25,8 @@ var _AiImageGenerator = _interopRequireDefault(require("../AiImageGenerator"));
25
25
 
26
26
  var _commonUtil = require("../../../utils/commonUtil");
27
27
 
28
+ var _locale = require("../../../locale");
29
+
28
30
  require("./index.less");
29
31
 
30
32
  require("./markdown.less");
@@ -344,7 +346,7 @@ function (_super) {
344
346
  className: "messageWrap"
345
347
  }, /*#__PURE__*/_react["default"].createElement("div", {
346
348
  className: "messageContentWrap"
347
- }, "What would like to create?"))), context.length > 0 && context.map(function (ctxNode) {
349
+ }, (0, _locale.i18n)('WHAT_WOULD_LIKE_TO_CREATE')))), context.length > 0 && context.map(function (ctxNode) {
348
350
  return /*#__PURE__*/_react["default"].createElement("div", {
349
351
  className: (0, _classnames["default"])('messageOuterWrap', {
350
352
  userMessage: ctxNode.role === 'user',
@@ -130,15 +130,15 @@ function (_super) {
130
130
  _this.isShowSetTemplate = function () {
131
131
  return _constants.pageStateMap.DRAFT === _this.props.pageState;
132
132
  }; // 拒绝审核 和 草稿状态展示保存按钮
133
- // isShowSave = () => [pageStateMap.REJECTED, pageStateMap.DRAFT].includes(this.props.pageState)
134
133
 
135
134
 
136
135
  _this.isShowSave = function () {
137
- return true;
136
+ return [_constants.pageStateMap.REJECTED, _constants.pageStateMap.DRAFT].includes(_this.props.pageState);
138
137
  };
139
138
 
140
139
  return _this;
141
- }
140
+ } // isShowSave = () => true
141
+
142
142
 
143
143
  QuickMenuBar.prototype.render = function () {
144
144
  var _a = this.props,
@@ -273,11 +273,11 @@ function (_super) {
273
273
  "data-code": _constants.quickMenuCode.TO_REVIEW,
274
274
  onClick: this.onBtnClick,
275
275
  type: "primary"
276
- }, "To Review"), this.isShowCancelReview() && /*#__PURE__*/_react["default"].createElement(_Button["default"], {
276
+ }, (0, _locale.i18n)('TO_REVIEW')), this.isShowCancelReview() && /*#__PURE__*/_react["default"].createElement(_Button["default"], {
277
277
  "data-code": _constants.quickMenuCode.CANCEL_REVIEW,
278
278
  onClick: this.onBtnClick,
279
279
  type: "primary"
280
- }, "Cancel"))));
280
+ }, (0, _locale.i18n)('CANCEL')))));
281
281
  };
282
282
 
283
283
  return QuickMenuBar;
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _common = require("../../../../../../../common");
11
11
 
12
+ var _locale = require("../../../../../../../locale");
13
+
12
14
  require("./index.less");
13
15
 
14
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -89,7 +91,7 @@ function (_super) {
89
91
  }), /*#__PURE__*/_react["default"].createElement("span", {
90
92
  className: "commit-btn",
91
93
  onClick: this.onCommit
92
- }, "Confirm"))));
94
+ }, (0, _locale.i18n)('CONFIRM')))));
93
95
  };
94
96
 
95
97
  return LinkInputPicker;
@@ -21,6 +21,8 @@ var _mobx = require("../../../mobx");
21
21
 
22
22
  var _coreUtil = require("../../../utils/coreUtil");
23
23
 
24
+ var _locale = require("../../../locale");
25
+
24
26
  require("./index.less");
25
27
 
26
28
  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); }
@@ -155,10 +157,12 @@ function (_super) {
155
157
  className: "appointment_wrap"
156
158
  }, /*#__PURE__*/_react["default"].createElement("div", {
157
159
  className: "appointment_tip"
158
- }, "This page will be published at " + appointmentDate + ", If you need to edit it, please cancel the publishing later"), /*#__PURE__*/_react["default"].createElement("div", {
160
+ }, (0, _locale.i18n)('THIS_PAGE_WILL', {
161
+ date: appointmentDate
162
+ })), /*#__PURE__*/_react["default"].createElement("div", {
159
163
  className: "cancel_btn",
160
164
  onClick: this.onCancelClick
161
- }, "Cancel Publish Later")), /*#__PURE__*/_react["default"].createElement("div", {
165
+ }, (0, _locale.i18n)('CANCEL_PUBLISH_LATER'))), /*#__PURE__*/_react["default"].createElement("div", {
162
166
  className: device === _constants.deviceTypeMap.PC ? 'pc_view_area' : 'phone_view_area'
163
167
  }, /*#__PURE__*/_react["default"].createElement("div", {
164
168
  className: "device_border",
@@ -1,4 +1,55 @@
1
1
  {
2
+ "THIS_PAGE_WILL": "This page will be published at {date}, If you need to edit it, please cancel the publishing later",
3
+ "PRODUCTS_IN_TOTAL": "{total} Products In Total",
4
+ "PLAY_ICON_COLOR": "Play Icon Color",
5
+ "PLAY_ICON_TYPE": "Play Icon Type",
6
+ "CLICKABLE_AREA": "Clickable Area",
7
+ "FILL_THE_PAGE": "Fill the page",
8
+ "VIDEO_SOUND": "Video Sound",
9
+ "AUTOPLAYS": "Autoplays",
10
+ "PLAY_IN_LOOP": "Play in loop",
11
+ "PROGRESS_BAR": "Progress bar",
12
+ "PLAY_ICON_SIZE": "Play Icon Size",
13
+ "SOURCE_OF_ACTIVITY": "Source of Activity",
14
+ "WIDTH": "Width",
15
+ "PLAY_BUTTON_POSITION": "Play button position",
16
+ "PLAY_POSITION": "Play Position",
17
+ "START_VIDEO_AT": "Start video at",
18
+ "SELECT_VIDEO": "Select Video",
19
+ "PLAY_SPEED": "Play Speed",
20
+ "POSTER": "Poster",
21
+ "ADD_PAGE": "Add page",
22
+ "HOMEPAGE": "Homepage",
23
+ "WOMEN_S_HOME_PAGE": "Women's home page",
24
+ "EDIT_PAGE": "Edit Page",
25
+ "CANCEL_PUBLISH_LATER": "Cancel Publish Later",
26
+ "TO_REVIEW": "To Review",
27
+ "WHAT_WOULD_LIKE_TO_CREATE": "What would like to create?",
28
+ "PLEASE_SELECT_A_TIME_AFTER_30_MINUTES_AND_WITHIN_30_DAYS": "Please select a time after 30 minutes and within 30 days",
29
+ "BIG_NUMBERS_HAVE_BIG_EFFECTS": "Big numbers have big effects",
30
+ "PROPORTION": "Proportion",
31
+ "CUSTOMER_INTERESTS": "Customer interests",
32
+ "HISTORY": "History",
33
+ "CANCEL": "Cancel",
34
+ "SALES": "Sales",
35
+ "DIRECT_FUNCTION": "Direct Function",
36
+ "OPEN_SANS": "Open Sans",
37
+ "MONTSERRAT": "Montserrat",
38
+ "DISCOUNT": "DISCOUNT",
39
+ "KHUSUS_PENGGUNA_BARU": "Khusus Pengguna Baru",
40
+ "MIDDLE": "Middle",
41
+ "BOTTOM_LEFT": "Bottom Left",
42
+ "POPUP": "Popup",
43
+ "PLAY_IN_BOX": "Play in Box",
44
+ "DISPLAY_LOCATION_ADDRESS": "Display Location Address",
45
+ "SUPPORT_FOR_A": "Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files",
46
+ "CLICK_OR_DRAG": "Click or drag file to this area to upload",
47
+ "SHARE_URL": "Share Url",
48
+ "URL": "URL",
49
+ "UPLOAD": "Upload",
50
+ "STORE": "Store",
51
+ "CAMPAIGN_STATE": "Campaign State",
52
+ "CAMPAIGN_NAME": "Campaign Name",
2
53
  "OK": "OK",
3
54
  "BRANDS": "Brands",
4
55
  "CATEGORY": "Category",
@@ -66,7 +117,6 @@
66
117
  "LIGHT": "Light",
67
118
  "URL_IMAGE": "url image",
68
119
  "IMAGE_URL": "Image URL",
69
- "UPLOAD": "Upload",
70
120
  "HOW_LONG_BETWEEN_SLIDES_(SECS)": "How long between slides (secs)",
71
121
  "CHAT": "Chat",
72
122
  "FOLLOW": "Follow",
@@ -108,7 +158,6 @@
108
158
  "HOME": "Home",
109
159
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
110
160
  "ADD_AREA": "Add Area",
111
- "CLICKABLE_AREA": "Clickable Area",
112
161
  "VOUCHER_SUCCESS": "Coupon received successfully!",
113
162
  "NAVIGATION_NAME": "Navigation Name",
114
163
  "ADD_NAVIGATION": "Add Navigation",
@@ -150,7 +199,6 @@
150
199
  "SKU": "SKU",
151
200
  "PRICE": "Price",
152
201
  "BRAND": "Brand",
153
- "STORE": "Store",
154
202
  "PRODUCT_SELECT": "Product Select",
155
203
  "URL_SETUP": "URL Setup",
156
204
  "NEW_IMAGE": "New image",
@@ -178,7 +226,6 @@
178
226
  "SELECT_PRODUCT": "Select Product",
179
227
  "PRODUCT_QUANTITY": "Product Quantity",
180
228
  "COLOR": "Color",
181
- "AUTOPLAYS": "Autoplays",
182
229
  "SHOW_NAVIGATION_ARROW": "Show navigation arrow",
183
230
  "SHOW_SLIDE_BUTTON": "Show slide button",
184
231
  "CONTENT": "Content",
@@ -205,7 +252,6 @@
205
252
  "BUTTON_BORDER_SETTING": "Button Border Setting",
206
253
  "BUTTON_ICON_SETTING": "Button Icon Setting",
207
254
  "SALES_PROGRESS": "Sales Progress",
208
- "SALES": "Sales",
209
255
  "NEXT": "Next",
210
256
  "REGULAR": "Regular",
211
257
  "MEDIUM": "Medium",
@@ -220,7 +266,6 @@
220
266
  "GROUP_BY": "Group By",
221
267
  "FLASH_SALE": "Flash Sale",
222
268
  "THE_PRODUCT_QUANTITY_WILL_BE_AUTOMATICALLY_UPDATED_WITH_THE_ITEMS_THAT_MEET_THE_CATEGORY_CONDITIONS": "The product quantity will be automatically updated with the items that meet the category conditions",
223
- "CANCEL": "Cancel",
224
269
  "LINK_TYPE": "Link Type",
225
270
  "LOOKS_LIKE_YOU_DO_NOT_HAVE_ANY_IMAGES_IN_YOUR_GALLERY__CHOOSE_IMAGES_TO_FEATURE_ON_THIS_PAGE_": "Looks like you do not have any images in your gallery. Choose images to feature on this page.",
226
271
  "EDIT": "Edit",
@@ -1,4 +1,55 @@
1
1
  {
2
+ "THIS_PAGE_WILL": "This page will be published at {date}, If you need to edit it, please cancel the publishing later",
3
+ "PRODUCTS_IN_TOTAL": "{total} Products In Total",
4
+ "PLAY_ICON_COLOR": "Play Icon Color",
5
+ "PLAY_ICON_TYPE": "Play Icon Type",
6
+ "CLICKABLE_AREA": "Clickable Area",
7
+ "FILL_THE_PAGE": "Fill the page",
8
+ "VIDEO_SOUND": "Video Sound",
9
+ "AUTOPLAYS": "Reproducciones automáticas",
10
+ "PLAY_IN_LOOP": "Play in loop",
11
+ "PROGRESS_BAR": "Progress bar",
12
+ "PLAY_ICON_SIZE": "Play Icon Size",
13
+ "SOURCE_OF_ACTIVITY": "Source of Activity",
14
+ "WIDTH": "Width",
15
+ "PLAY_BUTTON_POSITION": "Play button position",
16
+ "PLAY_POSITION": "Play Position",
17
+ "START_VIDEO_AT": "Start video at",
18
+ "SELECT_VIDEO": "Select Video",
19
+ "PLAY_SPEED": "Play Speed",
20
+ "POSTER": "Poster",
21
+ "ADD_PAGE": "Add page",
22
+ "HOMEPAGE": "Homepage",
23
+ "WOMEN_S_HOME_PAGE": "Women's home page",
24
+ "EDIT_PAGE": "Edit Page",
25
+ "CANCEL_PUBLISH_LATER": "Cancel Publish Later",
26
+ "TO_REVIEW": "To Review",
27
+ "WHAT_WOULD_LIKE_TO_CREATE": "What would like to create?",
28
+ "PLEASE_SELECT_A_TIME_AFTER_30_MINUTES_AND_WITHIN_30_DAYS": "Please select a time after 30 minutes and within 30 days",
29
+ "BIG_NUMBERS_HAVE_BIG_EFFECTS": "Big numbers have big effects",
30
+ "PROPORTION": "Proportion",
31
+ "CUSTOMER_INTERESTS": "Customer interests",
32
+ "HISTORY": "History",
33
+ "CANCEL": "Cancelar",
34
+ "SALES": "Ventas",
35
+ "DIRECT_FUNCTION": "Direct Function",
36
+ "OPEN_SANS": "Open Sans",
37
+ "MONTSERRAT": "Montserrat",
38
+ "DISCOUNT": "DISCOUNT",
39
+ "KHUSUS_PENGGUNA_BARU": "Khusus Pengguna Baru",
40
+ "MIDDLE": "Middle",
41
+ "BOTTOM_LEFT": "Bottom Left",
42
+ "POPUP": "Popup",
43
+ "PLAY_IN_BOX": "Play in Box",
44
+ "DISPLAY_LOCATION_ADDRESS": "Display Location Address",
45
+ "SUPPORT_FOR_A": "Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files",
46
+ "CLICK_OR_DRAG": "Click or drag file to this area to upload",
47
+ "SHARE_URL": "Share Url",
48
+ "URL": "URL",
49
+ "UPLOAD": "Upload",
50
+ "STORE": "Tienda",
51
+ "CAMPAIGN_STATE": "Campaign State",
52
+ "CAMPAIGN_NAME": "Campaign Name",
2
53
  "OK": "OK",
3
54
  "BRANDS": "Brands",
4
55
  "CATEGORY": "Categoría",
@@ -66,7 +117,6 @@
66
117
  "LIGHT": "Light",
67
118
  "URL_IMAGE": "url image",
68
119
  "IMAGE_URL": "Image URL",
69
- "UPLOAD": "Upload",
70
120
  "HOW_LONG_BETWEEN_SLIDES_(SECS)": "How long between slides (secs)",
71
121
  "CHAT": "Chat",
72
122
  "FOLLOW": "Follow",
@@ -108,7 +158,6 @@
108
158
  "HOME": "Home",
109
159
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
110
160
  "ADD_AREA": "Add Area",
111
- "CLICKABLE_AREA": "Clickable Area",
112
161
  "VOUCHER_SUCCESS": "Coupon received successfully!",
113
162
  "NAVIGATION_NAME": "Navigation Name",
114
163
  "ADD_NAVIGATION": "Add Navigation",
@@ -150,7 +199,6 @@
150
199
  "SKU": "SKU",
151
200
  "PRICE": "Precio",
152
201
  "BRAND": "Marca",
153
- "STORE": "Tienda",
154
202
  "PRODUCT_SELECT": "Selección de producto",
155
203
  "URL_SETUP": "Configuración de URL",
156
204
  "NEW_IMAGE": "Nueva imagen",
@@ -178,7 +226,6 @@
178
226
  "SELECT_PRODUCT": "Seleccionar Producto",
179
227
  "PRODUCT_QUANTITY": "Cantidad del producto",
180
228
  "COLOR": "Color",
181
- "AUTOPLAYS": "Reproducciones automáticas",
182
229
  "SHOW_NAVIGATION_ARROW": "Mostrar flecha de navegación",
183
230
  "SHOW_SLIDE_BUTTON": "Mostrar botón deslizante",
184
231
  "CONTENT": "Contenido",
@@ -205,7 +252,6 @@
205
252
  "BUTTON_BORDER_SETTING": "Configuración del borde del botón",
206
253
  "BUTTON_ICON_SETTING": "Configuración de icono de botón",
207
254
  "SALES_PROGRESS": "Progreso de Ventas",
208
- "SALES": "Ventas",
209
255
  "NEXT": "Siguiente",
210
256
  "REGULAR": "Normal",
211
257
  "MEDIUM": "Medio",
@@ -220,7 +266,6 @@
220
266
  "GROUP_BY": "Agrupar por",
221
267
  "FLASH_SALE": "Oferta relámpago",
222
268
  "THE_PRODUCT_QUANTITY_WILL_BE_AUTOMATICALLY_UPDATED_WITH_THE_ITEMS_THAT_MEET_THE_CATEGORY_CONDITIONS": "La cantidad del producto se actualizará automáticamente con los artículos que cumplan con las condiciones de la categoría",
223
- "CANCEL": "Cancelar",
224
269
  "LINK_TYPE": "Tipo de enlace",
225
270
  "LOOKS_LIKE_YOU_DO_NOT_HAVE_ANY_IMAGES_IN_YOUR_GALLERY__CHOOSE_IMAGES_TO_FEATURE_ON_THIS_PAGE_": "Parece que no tiene ninguna imagen en su galería. Elija imágenes para mostrar en esta página.",
226
271
  "EDIT": "Editar",