@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.
- package/es/common/ImageModal/index.js +12 -4
- package/es/common/LinkModal/BundleCampaign/index.js +5 -3
- package/es/common/LinkModal/SelectVideoModal/index.js +9 -9
- package/es/common/LinkModal/ShareUrl/index.js +3 -1
- package/es/common/LinkModal/index.js +3 -1
- package/es/common/VideoUpload/index.js +2 -2
- package/es/composite-comp/bol/components/Location/index.js +3 -1
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +16 -16
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +3 -1
- package/es/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/es/composite-comp/common/config-panels/InputField/index.js +2 -2
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +2 -2
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +3 -1
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +2 -2
- package/es/composite-comp/monpay/components/Bundle/index.js +10 -10
- package/es/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/index.js +1 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.js +11 -13
- package/es/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.less +6 -6
- package/es/composite-comp/monpay/components/MerchantSales/mobile/index.js +25 -17
- package/es/composite-comp/monpay/components/MerchantSales/mobile/index.less +2 -2
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +3 -2
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +2 -2
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +2 -2
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +4 -2
- package/es/constants/index.js +3 -2
- package/es/core/Designer/AiImageGenerator/History/index.js +4 -2
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +4 -2
- package/es/core/Designer/AiImageGenerator/index.js +4 -2
- package/es/core/Designer/AppointmentModal/index.js +1 -1
- package/es/core/Designer/ChatRobot/index.js +3 -1
- package/es/core/Designer/QuickMenuBar/index.js +5 -5
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +3 -1
- package/es/core/Designer/ViewArea/index.js +6 -2
- package/es/locale/en/en.json +51 -6
- package/es/locale/es/es.json +51 -6
- package/es/locale/id/id.json +51 -6
- package/es/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
- package/es/meta-comp/components/Image/index.js +7 -3
- package/es/meta-comp/config-panels/ButtonConfig/index.js +3 -3
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
- package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/es/meta-comp/config-panels/PlayIconConfig/index.js +3 -3
- package/es/meta-comp/config-panels/TextConfig/index.js +3 -3
- package/lib/common/ImageModal/index.js +12 -4
- package/lib/common/LinkModal/BundleCampaign/index.js +5 -3
- package/lib/common/LinkModal/SelectVideoModal/index.js +9 -9
- package/lib/common/LinkModal/ShareUrl/index.js +3 -1
- package/lib/common/LinkModal/index.js +3 -1
- package/lib/common/VideoUpload/index.js +2 -2
- package/lib/composite-comp/bol/components/Location/index.js +3 -1
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +16 -16
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +3 -1
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/lib/composite-comp/common/config-panels/InputField/index.js +2 -2
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +2 -2
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +3 -1
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +2 -2
- package/lib/composite-comp/monpay/components/Bundle/index.js +10 -10
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +1 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.js +11 -13
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/{ProductItem → StoreItem}/index.less +6 -6
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +25 -17
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +2 -2
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +3 -2
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +2 -2
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +2 -2
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +4 -2
- package/lib/constants/index.js +3 -2
- package/lib/core/Designer/AiImageGenerator/History/index.js +4 -2
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +4 -2
- package/lib/core/Designer/AiImageGenerator/index.js +4 -2
- package/lib/core/Designer/AppointmentModal/index.js +1 -1
- package/lib/core/Designer/ChatRobot/index.js +3 -1
- package/lib/core/Designer/QuickMenuBar/index.js +5 -5
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +3 -1
- package/lib/core/Designer/ViewArea/index.js +6 -2
- package/lib/locale/en/en.json +51 -6
- package/lib/locale/es/es.json +51 -6
- package/lib/locale/id/id.json +51 -6
- package/lib/meta-comp/components/Image/image/h5DefRectImg.png +0 -0
- package/lib/meta-comp/components/Image/index.js +7 -3
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +3 -3
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
- package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +3 -3
- package/lib/meta-comp/config-panels/TextConfig/index.js +3 -3
- package/package.json +1 -1
package/es/locale/id/id.json
CHANGED
|
@@ -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",
|
|
Binary file
|
|
@@ -11,6 +11,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
11
11
|
|
|
12
12
|
require("./index.less");
|
|
13
13
|
|
|
14
|
+
var _h5DefRectImg = _interopRequireDefault(require("./image/h5DefRectImg.png"));
|
|
15
|
+
|
|
14
16
|
var _h5DefImg = _interopRequireDefault(require("./image/h5DefImg.png"));
|
|
15
17
|
|
|
16
18
|
var _pcDefImg = _interopRequireDefault(require("./image/pcDefImg.png"));
|
|
@@ -174,7 +176,8 @@ function (_super) {
|
|
|
174
176
|
data = _e.data,
|
|
175
177
|
isBackground = _e.isBackground,
|
|
176
178
|
hoverState = _e.hoverState,
|
|
177
|
-
notNeedLazy = _e.notNeedLazy
|
|
179
|
+
notNeedLazy = _e.notNeedLazy,
|
|
180
|
+
isRect = _e.isRect;
|
|
178
181
|
var hoverImgSrc = this.state.hoverImgSrc; // const { hoverSrc } = this.state;
|
|
179
182
|
// console.log('--metaImage ', this.props);
|
|
180
183
|
|
|
@@ -188,7 +191,7 @@ function (_super) {
|
|
|
188
191
|
|
|
189
192
|
|
|
190
193
|
if (!srcImg) {
|
|
191
|
-
srcImg = (0, _coreUtil.isPc)() ? _pcDefImg["default"] : _h5DefImg["default"];
|
|
194
|
+
srcImg = (0, _coreUtil.isPc)() ? _pcDefImg["default"] : isRect ? _h5DefRectImg["default"] : _h5DefImg["default"];
|
|
192
195
|
}
|
|
193
196
|
|
|
194
197
|
var areas = data.content.openHotArea && ((0, _coreUtil.isPc)() ? data.content.pcAreas : data.content.h5Areas);
|
|
@@ -252,7 +255,8 @@ function (_super) {
|
|
|
252
255
|
hoverState: false,
|
|
253
256
|
limitWidthHeight: false,
|
|
254
257
|
scale: 1,
|
|
255
|
-
notNeedLazy: false
|
|
258
|
+
notNeedLazy: false,
|
|
259
|
+
isRect: false
|
|
256
260
|
};
|
|
257
261
|
Image = __decorate([_decorator.metaDecorator], Image);
|
|
258
262
|
return Image;
|
|
@@ -146,7 +146,7 @@ function (_super) {
|
|
|
146
146
|
|
|
147
147
|
var contentSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
148
148
|
split: true,
|
|
149
|
-
title:
|
|
149
|
+
title: (0, _locale.i18n)('URL')
|
|
150
150
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
151
151
|
onChange: function onChange(value) {
|
|
152
152
|
_this.updateAttr(data.content, 'url', value);
|
|
@@ -193,9 +193,9 @@ function (_super) {
|
|
|
193
193
|
value: _data.fontFamily
|
|
194
194
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
195
195
|
value: "Montserrat"
|
|
196
|
-
},
|
|
196
|
+
}, (0, _locale.i18n)('MONTSERRAT')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
197
197
|
value: "Open Sans"
|
|
198
|
-
},
|
|
198
|
+
}, (0, _locale.i18n)('OPEN_SANS')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
199
199
|
title: (0, _locale.i18n)('FONT_WEIGHT')
|
|
200
200
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
201
201
|
onChange: function onChange(v) {
|
|
@@ -117,7 +117,7 @@ function (_super) {
|
|
|
117
117
|
draggable: false,
|
|
118
118
|
onCancel: onCancel,
|
|
119
119
|
onOk: this.onOkClick,
|
|
120
|
-
title:
|
|
120
|
+
title: (0, _locale.i18n)('CLICKABLE_AREA'),
|
|
121
121
|
visible: visible,
|
|
122
122
|
width: "auto"
|
|
123
123
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -341,7 +341,7 @@ function (_super) {
|
|
|
341
341
|
},
|
|
342
342
|
option: data.content
|
|
343
343
|
}), needURL && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
344
|
-
title:
|
|
344
|
+
title: (0, _locale.i18n)('URL')
|
|
345
345
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
346
346
|
disabled: data.content.openHotArea,
|
|
347
347
|
onChange: function onChange(v) {
|
|
@@ -124,7 +124,7 @@ function (_super) {
|
|
|
124
124
|
className: "play-config"
|
|
125
125
|
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
126
126
|
split: true,
|
|
127
|
-
title:
|
|
127
|
+
title: (0, _locale.i18n)('PLAY_ICON_TYPE')
|
|
128
128
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
129
129
|
className: "icon-wrap"
|
|
130
130
|
}, iconList.map(function (item, i) {
|
|
@@ -154,7 +154,7 @@ function (_super) {
|
|
|
154
154
|
}));
|
|
155
155
|
}))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
156
156
|
split: true,
|
|
157
|
-
title:
|
|
157
|
+
title: (0, _locale.i18n)('PLAY_ICON_COLOR')
|
|
158
158
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
159
159
|
className: "icon-color-select",
|
|
160
160
|
onChange: function onChange(value) {
|
|
@@ -172,7 +172,7 @@ function (_super) {
|
|
|
172
172
|
value: v.key
|
|
173
173
|
}, v.value);
|
|
174
174
|
}))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
175
|
-
title:
|
|
175
|
+
title: (0, _locale.i18n)('PLAY_ICON_SIZE')
|
|
176
176
|
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
177
177
|
inputType: "int",
|
|
178
178
|
maxVal: 100,
|
|
@@ -230,9 +230,9 @@ function (_super) {
|
|
|
230
230
|
value: textData.fontFamily
|
|
231
231
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
232
232
|
value: "Montserrat"
|
|
233
|
-
},
|
|
233
|
+
}, (0, _locale.i18n)('MONTSERRAT')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
234
234
|
value: "Open Sans"
|
|
235
|
-
},
|
|
235
|
+
}, (0, _locale.i18n)('OPEN_SANS')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
236
236
|
title: (0, _locale.i18n)('FONT_WEIGHT')
|
|
237
237
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
238
238
|
onChange: function onChange(v) {
|
|
@@ -280,7 +280,7 @@ function (_super) {
|
|
|
280
280
|
value: textData
|
|
281
281
|
})), window.magicDesign.outputType != 'html' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
282
282
|
split: true,
|
|
283
|
-
title:
|
|
283
|
+
title: (0, _locale.i18n)('URL')
|
|
284
284
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
285
285
|
disabled: textData.urlDisabled,
|
|
286
286
|
onChange: function onChange(v) {
|
|
@@ -29,10 +29,14 @@ var _Iconfont = _interopRequireDefault(require("../Iconfont"));
|
|
|
29
29
|
|
|
30
30
|
var _commonUtil = require("../../utils/commonUtil");
|
|
31
31
|
|
|
32
|
+
var _storeUtil = require("../../utils/storeUtil");
|
|
33
|
+
|
|
32
34
|
var _dataTreeUtils = _interopRequireDefault(require("../../utils/dataTreeUtils"));
|
|
33
35
|
|
|
34
36
|
var _locale = require("../../locale");
|
|
35
37
|
|
|
38
|
+
var _constants = require("../../constants");
|
|
39
|
+
|
|
36
40
|
require("./index.less");
|
|
37
41
|
|
|
38
42
|
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); }
|
|
@@ -239,7 +243,7 @@ function ImageModal(_a) {
|
|
|
239
243
|
treeData = _e[0],
|
|
240
244
|
setTreeData = _e[1];
|
|
241
245
|
|
|
242
|
-
var _f = (0, _react.useState)(['
|
|
246
|
+
var _f = (0, _react.useState)(['']),
|
|
243
247
|
selectedKeys = _f[0],
|
|
244
248
|
setSelectedKeys = _f[1];
|
|
245
249
|
|
|
@@ -399,7 +403,7 @@ function ImageModal(_a) {
|
|
|
399
403
|
|
|
400
404
|
var getContentCatgs = function getContentCatgs() {
|
|
401
405
|
return __awaiter(_this, void 0, void 0, function () {
|
|
402
|
-
var data, mapProps, newData;
|
|
406
|
+
var data, mapProps, newData, defaultExpandedIndex;
|
|
403
407
|
return __generator(this, function (_a) {
|
|
404
408
|
switch (_a.label) {
|
|
405
409
|
case 0:
|
|
@@ -427,9 +431,11 @@ function ImageModal(_a) {
|
|
|
427
431
|
contentCatgName: 'Default'
|
|
428
432
|
});
|
|
429
433
|
setTreeData(newData);
|
|
430
|
-
|
|
434
|
+
defaultExpandedIndex = (0, _storeUtil.getStore)(_constants.STORE_KEY.IMAGE_MODAL_MENU_EXPANDED_INDEX);
|
|
435
|
+
setSelectedKeys(defaultExpandedIndex);
|
|
436
|
+
setExpandedKeys(defaultExpandedIndex);
|
|
431
437
|
qryImageContents({
|
|
432
|
-
contentCatgId:
|
|
438
|
+
contentCatgId: defaultExpandedIndex[0]
|
|
433
439
|
});
|
|
434
440
|
return [2
|
|
435
441
|
/*return*/
|
|
@@ -453,6 +459,7 @@ function ImageModal(_a) {
|
|
|
453
459
|
|
|
454
460
|
var selectFolder = function selectFolder(id) {
|
|
455
461
|
setSelectedKeys(["" + id]);
|
|
462
|
+
(0, _storeUtil.setStore)(_constants.STORE_KEY.IMAGE_MODAL_MENU_EXPANDED_INDEX, ["" + id]);
|
|
456
463
|
var filterArr = (expandedKeys || []).filter(function (val) {
|
|
457
464
|
return val === "" + id;
|
|
458
465
|
});
|
|
@@ -476,6 +483,7 @@ function ImageModal(_a) {
|
|
|
476
483
|
}
|
|
477
484
|
|
|
478
485
|
setSelectedKeys(record);
|
|
486
|
+
(0, _storeUtil.setStore)(_constants.STORE_KEY.IMAGE_MODAL_MENU_EXPANDED_INDEX, record);
|
|
479
487
|
setPageIndex(1);
|
|
480
488
|
qryImageContents({
|
|
481
489
|
contentCatgId: record[0],
|
|
@@ -15,6 +15,8 @@ var _businessUtil = require("../../../utils/businessUtil");
|
|
|
15
15
|
|
|
16
16
|
var _dateUtil = require("../../../utils/dateUtil");
|
|
17
17
|
|
|
18
|
+
var _locale = require("../../../locale");
|
|
19
|
+
|
|
18
20
|
require("./index.less");
|
|
19
21
|
|
|
20
22
|
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); }
|
|
@@ -325,7 +327,7 @@ var BundleCampaign = function BundleCampaign(props) {
|
|
|
325
327
|
}
|
|
326
328
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
327
329
|
className: "labelStyle"
|
|
328
|
-
},
|
|
330
|
+
}, (0, _locale.i18n)('CAMPAIGN_NAME')), /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
329
331
|
className: "inputStyle",
|
|
330
332
|
onChange: function onChange(e) {
|
|
331
333
|
setCampaignName(e.target.value);
|
|
@@ -339,7 +341,7 @@ var BundleCampaign = function BundleCampaign(props) {
|
|
|
339
341
|
}
|
|
340
342
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
341
343
|
className: "labelStyle"
|
|
342
|
-
},
|
|
344
|
+
}, (0, _locale.i18n)('CAMPAIGN_STATE')), /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
343
345
|
className: "inputStyle",
|
|
344
346
|
defaultValue: "A,B",
|
|
345
347
|
onChange: changeCamState,
|
|
@@ -362,7 +364,7 @@ var BundleCampaign = function BundleCampaign(props) {
|
|
|
362
364
|
}
|
|
363
365
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
364
366
|
className: "labelStyle"
|
|
365
|
-
},
|
|
367
|
+
}, (0, _locale.i18n)('STORE')), /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
366
368
|
className: "inputStyle",
|
|
367
369
|
onChange: function onChange(value) {
|
|
368
370
|
return setStoreId(value);
|
|
@@ -91,7 +91,7 @@ function (_super) {
|
|
|
91
91
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
92
92
|
className: "video-upload-wrap"
|
|
93
93
|
}, /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
94
|
-
title:
|
|
94
|
+
title: (0, _locale.i18n)('SELECT_VIDEO')
|
|
95
95
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
96
96
|
onChange: function onChange(v) {
|
|
97
97
|
_this.onFieldChange({
|
|
@@ -101,10 +101,10 @@ function (_super) {
|
|
|
101
101
|
value: this.videoSetting.sourceType
|
|
102
102
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
103
103
|
value: "Upload"
|
|
104
|
-
},
|
|
104
|
+
}, (0, _locale.i18n)('UPLOAD')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
105
105
|
value: "URL"
|
|
106
|
-
},
|
|
107
|
-
title:
|
|
106
|
+
}, (0, _locale.i18n)('URL')))), this.videoSetting.sourceType === 'URL' && /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
107
|
+
title: (0, _locale.i18n)('URL')
|
|
108
108
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
109
|
className: "input-url"
|
|
110
110
|
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
@@ -144,7 +144,7 @@ function (_super) {
|
|
|
144
144
|
}, /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
145
145
|
layout: "horizontal",
|
|
146
146
|
split: true,
|
|
147
|
-
title:
|
|
147
|
+
title: (0, _locale.i18n)('PROGRESS_BAR')
|
|
148
148
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
149
149
|
checked: this.videoSetting.progressBar,
|
|
150
150
|
onChange: function onChange(v) {
|
|
@@ -155,7 +155,7 @@ function (_super) {
|
|
|
155
155
|
})), /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
156
156
|
layout: "horizontal",
|
|
157
157
|
split: true,
|
|
158
|
-
title:
|
|
158
|
+
title: (0, _locale.i18n)('PLAY_IN_LOOP')
|
|
159
159
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
160
160
|
checked: this.videoSetting.loop,
|
|
161
161
|
onChange: function onChange(v) {
|
|
@@ -166,7 +166,7 @@ function (_super) {
|
|
|
166
166
|
})), /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
167
167
|
layout: "horizontal",
|
|
168
168
|
split: true,
|
|
169
|
-
title:
|
|
169
|
+
title: (0, _locale.i18n)('AUTOPLAYS')
|
|
170
170
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
171
171
|
checked: this.videoSetting.autoplay,
|
|
172
172
|
onChange: function onChange(v) {
|
|
@@ -177,7 +177,7 @@ function (_super) {
|
|
|
177
177
|
})), /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
178
178
|
layout: "horizontal",
|
|
179
179
|
split: true,
|
|
180
|
-
title:
|
|
180
|
+
title: (0, _locale.i18n)('VIDEO_SOUND')
|
|
181
181
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
182
182
|
checked: this.videoSetting.videoSound,
|
|
183
183
|
onChange: function onChange(v) {
|
|
@@ -186,7 +186,7 @@ function (_super) {
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
})), /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
189
|
-
title:
|
|
189
|
+
title: (0, _locale.i18n)('PLAY_SPEED')
|
|
190
190
|
}, /*#__PURE__*/_react["default"].createElement(_index.Slider, {
|
|
191
191
|
inputType: "float",
|
|
192
192
|
maxVal: 2,
|
|
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
require("./index.less");
|
|
11
11
|
|
|
12
|
+
var _locale = require("../../../locale");
|
|
13
|
+
|
|
12
14
|
var _antd = require("antd4");
|
|
13
15
|
|
|
14
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -27,7 +29,7 @@ function ShareUrl(_a) {
|
|
|
27
29
|
className: "shareWrap"
|
|
28
30
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
29
31
|
className: "label"
|
|
30
|
-
},
|
|
32
|
+
}, (0, _locale.i18n)('SHARE_URL')), /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
31
33
|
onChange: onChangeUrl
|
|
32
34
|
}));
|
|
33
35
|
}
|
|
@@ -429,7 +429,9 @@ var LinkModal = function LinkModal(props) {
|
|
|
429
429
|
className: "footer"
|
|
430
430
|
}, selected === 'FilteredProduct' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
431
431
|
className: "total"
|
|
432
|
-
},
|
|
432
|
+
}, (0, _locale.i18n)('PRODUCTS_IN_TOTAL', {
|
|
433
|
+
total: total
|
|
434
|
+
})) : /*#__PURE__*/_react["default"].createElement("div", null), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
433
435
|
className: "btn-cancel",
|
|
434
436
|
onClick: function onClick() {
|
|
435
437
|
return onClose && onClose();
|
|
@@ -129,9 +129,9 @@ function (_super) {
|
|
|
129
129
|
src: _videoUploadIcon["default"]
|
|
130
130
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
131
131
|
className: "title"
|
|
132
|
-
},
|
|
132
|
+
}, (0, _locale.i18n)('CLICK_OR_DRAG')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
133
133
|
className: "subtitle"
|
|
134
|
-
},
|
|
134
|
+
}, (0, _locale.i18n)('SUPPORT_FOR_A')))), visible && /*#__PURE__*/_react["default"].createElement(_ImageModal["default"], {
|
|
135
135
|
_fetch: this.props._fetch,
|
|
136
136
|
onCancel: function onCancel() {
|
|
137
137
|
_this.setState({
|
|
@@ -13,6 +13,8 @@ var _common = require("../../../../common");
|
|
|
13
13
|
|
|
14
14
|
var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
|
|
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 }; }
|
|
@@ -81,7 +83,7 @@ function (_super) {
|
|
|
81
83
|
type: "icon-MapPin"
|
|
82
84
|
}), nodeData.address.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
85
|
className: "address"
|
|
84
|
-
},
|
|
86
|
+
}, (0, _locale.i18n)('DISPLAY_LOCATION_ADDRESS')), nodeData.icon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
85
87
|
className: "logo",
|
|
86
88
|
color: nodeData.icon.color,
|
|
87
89
|
size: 16,
|
|
@@ -182,7 +182,7 @@ function (_super) {
|
|
|
182
182
|
metaOption: panelProps.playIcon
|
|
183
183
|
}];
|
|
184
184
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
185
|
-
title:
|
|
185
|
+
title: (0, _locale.i18n)('SELECT_VIDEO')
|
|
186
186
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
187
187
|
onChange: function onChange(v) {
|
|
188
188
|
panelProps.video.sourceType = v;
|
|
@@ -192,10 +192,10 @@ function (_super) {
|
|
|
192
192
|
value: panelProps.video.sourceType
|
|
193
193
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
194
194
|
value: "Upload"
|
|
195
|
-
},
|
|
195
|
+
}, (0, _locale.i18n)('UPLOAD')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
196
196
|
value: "URL"
|
|
197
|
-
},
|
|
198
|
-
title:
|
|
197
|
+
}, (0, _locale.i18n)('URL')))), panelProps.video.sourceType === 'URL' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
198
|
+
title: (0, _locale.i18n)('URL')
|
|
199
199
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
200
200
|
className: "input-url"
|
|
201
201
|
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
@@ -228,7 +228,7 @@ function (_super) {
|
|
|
228
228
|
},
|
|
229
229
|
value: panelProps.video.sourceUrl
|
|
230
230
|
}), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
231
|
-
title:
|
|
231
|
+
title: (0, _locale.i18n)('START_VIDEO_AT')
|
|
232
232
|
}, /*#__PURE__*/_react["default"].createElement(_antd.TimePicker, {
|
|
233
233
|
defaultValue: "00:00",
|
|
234
234
|
format: "mm:ss",
|
|
@@ -261,7 +261,7 @@ function (_super) {
|
|
|
261
261
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
262
262
|
layout: "horizontal",
|
|
263
263
|
split: true,
|
|
264
|
-
title:
|
|
264
|
+
title: (0, _locale.i18n)('PROGRESS_BAR')
|
|
265
265
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
266
266
|
checked: panelProps.video.progressBar,
|
|
267
267
|
onChange: function onChange(v) {
|
|
@@ -272,7 +272,7 @@ function (_super) {
|
|
|
272
272
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
273
273
|
layout: "horizontal",
|
|
274
274
|
split: true,
|
|
275
|
-
title:
|
|
275
|
+
title: (0, _locale.i18n)('PLAY_IN_LOOP')
|
|
276
276
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
277
277
|
checked: panelProps.video.loop,
|
|
278
278
|
onChange: function onChange(v) {
|
|
@@ -283,7 +283,7 @@ function (_super) {
|
|
|
283
283
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
284
284
|
layout: "horizontal",
|
|
285
285
|
split: true,
|
|
286
|
-
title:
|
|
286
|
+
title: (0, _locale.i18n)('AUTOPLAYS')
|
|
287
287
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
288
288
|
checked: panelProps.video.autoplay,
|
|
289
289
|
onChange: function onChange(v) {
|
|
@@ -294,7 +294,7 @@ function (_super) {
|
|
|
294
294
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
295
295
|
layout: "horizontal",
|
|
296
296
|
split: true,
|
|
297
|
-
title:
|
|
297
|
+
title: (0, _locale.i18n)('VIDEO_SOUND')
|
|
298
298
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
299
299
|
checked: panelProps.video.videoSound,
|
|
300
300
|
onChange: function onChange(v) {
|
|
@@ -303,7 +303,7 @@ function (_super) {
|
|
|
303
303
|
_this.reRender();
|
|
304
304
|
}
|
|
305
305
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
306
|
-
title:
|
|
306
|
+
title: (0, _locale.i18n)('PLAY_SPEED')
|
|
307
307
|
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
308
308
|
inputType: "float",
|
|
309
309
|
maxVal: 2,
|
|
@@ -318,7 +318,7 @@ function (_super) {
|
|
|
318
318
|
count: panelProps.video.speed
|
|
319
319
|
}
|
|
320
320
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
321
|
-
title:
|
|
321
|
+
title: (0, _locale.i18n)('PLAY_POSITION')
|
|
322
322
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
323
323
|
onChange: function onChange(v) {
|
|
324
324
|
panelProps.video.playPosition = v;
|
|
@@ -328,10 +328,10 @@ function (_super) {
|
|
|
328
328
|
value: panelProps.video.playPosition
|
|
329
329
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
330
330
|
value: "Play in Box"
|
|
331
|
-
},
|
|
331
|
+
}, (0, _locale.i18n)('PLAY_IN_BOX')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
332
332
|
value: "Popup"
|
|
333
|
-
},
|
|
334
|
-
title:
|
|
333
|
+
}, (0, _locale.i18n)('POPUP')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
334
|
+
title: (0, _locale.i18n)('PLAY_BUTTON_POSITION')
|
|
335
335
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
336
336
|
onChange: function onChange(v) {
|
|
337
337
|
panelProps.video.playButton = v;
|
|
@@ -341,9 +341,9 @@ function (_super) {
|
|
|
341
341
|
value: panelProps.video.playButton
|
|
342
342
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
343
343
|
value: "Bottom Left"
|
|
344
|
-
},
|
|
344
|
+
}, (0, _locale.i18n)('BOTTOM_LEFT')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
345
345
|
value: "Middle"
|
|
346
|
-
},
|
|
346
|
+
}, (0, _locale.i18n)('MIDDLE')))));
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
return _this;
|
|
@@ -19,6 +19,8 @@ var _components = require("../../../../meta-comp/components");
|
|
|
19
19
|
|
|
20
20
|
var _NewImg = _interopRequireDefault(require("../../../../common/NewImg"));
|
|
21
21
|
|
|
22
|
+
var _locale = require("../../../../locale");
|
|
23
|
+
|
|
22
24
|
require("./index.less");
|
|
23
25
|
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -153,7 +155,7 @@ function (_super) {
|
|
|
153
155
|
className: "cashBackBox_text " + (customFont ? 'custom_font' : '')
|
|
154
156
|
}, "Cashback s/d", /*#__PURE__*/_react["default"].createElement("span", null, (0, _currencyUtil.formatCurrencyWithSymbolNotSpace)(data.buyCommission || 0)))))), ((_g = data.rebateInfo) === null || _g === void 0 ? void 0 : _g.rebatesType) === 'Newcomers' && /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
157
|
className: "tip"
|
|
156
|
-
},
|
|
158
|
+
}, (0, _locale.i18n)('KHUSUS_PENGGUNA_BARU')), ((_h = data.rebateInfo) === null || _h === void 0 ? void 0 : _h.rebatesType) !== 'Newcomers' && panelProps.salesPrice.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
157
159
|
className: "producItemPrice",
|
|
158
160
|
data: __assign(__assign({}, panelProps.salesPrice), {
|
|
159
161
|
text: (0, _currencyUtil.formatCurrencyWithSymbolNotSpace)(data.productPrice || 0)
|
|
@@ -281,7 +281,7 @@ function (_super) {
|
|
|
281
281
|
className: (0, _classnames["default"])('item', m.discountMethod)
|
|
282
282
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
283
283
|
className: "name"
|
|
284
|
-
},
|
|
284
|
+
}, (0, _locale.i18n)('DISCOUNT')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
285
285
|
className: "num"
|
|
286
286
|
}, renderDiscount(m)));
|
|
287
287
|
})), showProgress && /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -141,9 +141,9 @@ function (_super) {
|
|
|
141
141
|
value: textData.fontFamily
|
|
142
142
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
143
143
|
value: "Montserrat"
|
|
144
|
-
},
|
|
144
|
+
}, (0, _locale.i18n)('MONTSERRAT')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
145
145
|
value: "Open Sans"
|
|
146
|
-
},
|
|
146
|
+
}, (0, _locale.i18n)('OPEN_SANS')))), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
147
147
|
title: (0, _locale.i18n)('FONT_WEIGHT')
|
|
148
148
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
149
149
|
onChange: function onChange(v) {
|
|
@@ -69,7 +69,7 @@ function (_super) {
|
|
|
69
69
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
70
|
className: "spacing-config-container"
|
|
71
71
|
}, configWidth && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
72
|
-
title:
|
|
72
|
+
title: (0, _locale.i18n)('WIDTH')
|
|
73
73
|
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
74
74
|
maxVal: window.magicDesign.device === 'pc' ? 1240 : 375,
|
|
75
75
|
minVal: window.magicDesign.device === 'pc' ? 806 : 348,
|
|
@@ -83,7 +83,7 @@ function (_super) {
|
|
|
83
83
|
}
|
|
84
84
|
})), fillUpWidth && window.magicDesign.device === 'pc' && /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
85
85
|
layout: "horizontal",
|
|
86
|
-
title:
|
|
86
|
+
title: (0, _locale.i18n)('FILL_THE_PAGE')
|
|
87
87
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Checkbox, {
|
|
88
88
|
checked: obj.fillUp,
|
|
89
89
|
onChange: function onChange(e) {
|