@fonixtree/magic-design 0.0.84 → 0.0.85
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/assets/less/button.less +23 -0
- package/es/assets/less/datepicker.less +11 -0
- package/es/assets/less/index.less +2 -1
- package/es/composite-comp/bol/components/Carousel/pc/index.js +17 -13
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +4 -1
- package/es/composite-comp/bol/components/ImageGallery/index.js +5 -1
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -1
- package/es/composite-comp/bol/components/ImageGallery/pc/index.js +138 -0
- package/es/composite-comp/bol/components/ImageGallery/pc/index.less +21 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +16 -1
- package/es/composite-comp/common/components/ProductItem/index.less +0 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -12
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +1 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/index.js +0 -42
- package/es/composite-comp/dito/components/FlashDeal/pc/index.less +1 -0
- package/es/constants/index.js +1 -0
- package/es/core/Designer/AppointmentModal/index.js +83 -0
- package/es/core/Designer/AppointmentModal/index.less +10 -0
- package/es/core/Designer/QuickMenuBar/index.js +34 -2
- package/es/core/Designer/QuickMenuBar/index.less +34 -0
- package/es/core/Designer/ViewArea/index.js +32 -2
- package/es/core/Designer/ViewArea/index.less +29 -0
- package/es/core/Designer/index.js +44 -4
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +4 -0
- package/es/locale/es/es.json +4 -0
- package/es/locale/id/id.json +4 -0
- package/lib/assets/less/button.less +23 -0
- package/lib/assets/less/datepicker.less +11 -0
- package/lib/assets/less/index.less +2 -1
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +17 -13
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +4 -1
- package/lib/composite-comp/bol/components/ImageGallery/index.js +5 -1
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -1
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +138 -0
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.less +21 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +16 -1
- package/lib/composite-comp/common/components/ProductItem/index.less +0 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -12
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +1 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +0 -42
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +1 -0
- package/lib/constants/index.js +1 -0
- package/lib/core/Designer/AppointmentModal/index.js +83 -0
- package/lib/core/Designer/AppointmentModal/index.less +10 -0
- package/lib/core/Designer/QuickMenuBar/index.js +34 -2
- package/lib/core/Designer/QuickMenuBar/index.less +34 -0
- package/lib/core/Designer/ViewArea/index.js +32 -2
- package/lib/core/Designer/ViewArea/index.less +29 -0
- package/lib/core/Designer/index.js +44 -4
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +4 -0
- package/lib/locale/es/es.json +4 -0
- package/lib/locale/id/id.json +4 -0
- package/package.json +1 -1
package/lib/constants/index.js
CHANGED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = AppointmentModal;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _antd = require("antd");
|
|
11
|
+
|
|
12
|
+
var _moment = _interopRequireDefault(require("moment"));
|
|
13
|
+
|
|
14
|
+
var _locale = require("../../../locale");
|
|
15
|
+
|
|
16
|
+
require("./index.less");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
// import { Button } from '../../../common';
|
|
21
|
+
function AppointmentModal(props) {
|
|
22
|
+
var visible = props.visible,
|
|
23
|
+
onClose = props.onClose,
|
|
24
|
+
onConfirm = props.onConfirm;
|
|
25
|
+
|
|
26
|
+
var form = _antd.Form.useForm()[0];
|
|
27
|
+
|
|
28
|
+
var onConfirmPublish = function onConfirmPublish() {
|
|
29
|
+
form.submit();
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var onFinish = function onFinish(values) {
|
|
33
|
+
console.log(values);
|
|
34
|
+
var dateString = values.date.format('YYYY-MM-DD HH:mm:ss');
|
|
35
|
+
onConfirm(dateString);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var disabledDate = function disabledDate(current) {
|
|
39
|
+
return current && current < (0, _moment["default"])().add(30, 'minutes');
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Modal, {
|
|
43
|
+
footer: /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
|
+
className: "footer"
|
|
45
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
46
|
+
onClick: function onClick() {
|
|
47
|
+
return onClose && onClose();
|
|
48
|
+
},
|
|
49
|
+
size: "small",
|
|
50
|
+
type: "light"
|
|
51
|
+
}, (0, _locale.i18n)('CANCEL')), /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
52
|
+
onClick: onConfirmPublish,
|
|
53
|
+
size: "small",
|
|
54
|
+
type: "primary"
|
|
55
|
+
}, (0, _locale.i18n)('CONFIRM'))),
|
|
56
|
+
maskClosable: false,
|
|
57
|
+
onCancel: onClose,
|
|
58
|
+
title: (0, _locale.i18n)('PUBLISH_LATER'),
|
|
59
|
+
visible: visible,
|
|
60
|
+
width: 500
|
|
61
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
|
|
62
|
+
autoComplete: "off",
|
|
63
|
+
form: form,
|
|
64
|
+
layout: "vertical",
|
|
65
|
+
onFinish: onFinish
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
67
|
+
label: (0, _locale.i18n)('PUBLISH_TIME'),
|
|
68
|
+
name: "date",
|
|
69
|
+
rules: [{
|
|
70
|
+
required: true
|
|
71
|
+
}]
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.DatePicker, {
|
|
73
|
+
disabledDate: disabledDate,
|
|
74
|
+
placeholder: "Select Time",
|
|
75
|
+
showNow: false,
|
|
76
|
+
showTime: true,
|
|
77
|
+
style: {
|
|
78
|
+
width: '100%'
|
|
79
|
+
}
|
|
80
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
|
+
className: "tips"
|
|
82
|
+
}, "Please select a time after 30 minutes and within 30 days")));
|
|
83
|
+
}
|
|
@@ -23,6 +23,8 @@ require("./index.less");
|
|
|
23
23
|
|
|
24
24
|
var _locale = require("../../../locale");
|
|
25
25
|
|
|
26
|
+
var _antd = require("antd");
|
|
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); }
|
|
27
29
|
|
|
28
30
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -95,6 +97,12 @@ function (_super) {
|
|
|
95
97
|
_this.props.onBtnClick(code);
|
|
96
98
|
};
|
|
97
99
|
|
|
100
|
+
_this.onPublishLater = function (e) {
|
|
101
|
+
_this.onBtnClick(e);
|
|
102
|
+
|
|
103
|
+
e.stopPropagation();
|
|
104
|
+
};
|
|
105
|
+
|
|
98
106
|
return _this;
|
|
99
107
|
}
|
|
100
108
|
|
|
@@ -170,13 +178,37 @@ function (_super) {
|
|
|
170
178
|
onClick: this.onBtnClick,
|
|
171
179
|
tip: "The page is in use. Please copy or create a new page",
|
|
172
180
|
type: "light"
|
|
173
|
-
}, (0, _locale.i18n)('SAVE')), /*#__PURE__*/_react["default"].createElement(
|
|
181
|
+
}, (0, _locale.i18n)('SAVE')), /*#__PURE__*/_react["default"].createElement("div", {
|
|
182
|
+
className: "publish_wrap"
|
|
183
|
+
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
174
184
|
"data-code": _constants.quickMenuCode.PUBLISH,
|
|
175
185
|
disabled: window.magicDesign.readOnly,
|
|
176
186
|
onClick: this.onBtnClick,
|
|
177
187
|
tip: "The page is in use. Please copy or create a new page",
|
|
178
188
|
type: "primary"
|
|
179
|
-
}, (0, _locale.i18n)('
|
|
189
|
+
}, (0, _locale.i18n)('PUBLISH_NOW'), /*#__PURE__*/_react["default"].createElement(_antd.Dropdown, {
|
|
190
|
+
getPopupContainer: function getPopupContainer() {
|
|
191
|
+
return document.querySelector('.publish_wrap');
|
|
192
|
+
},
|
|
193
|
+
overlay: /*#__PURE__*/_react["default"].createElement("div", {
|
|
194
|
+
className: "publish_later_wrap"
|
|
195
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
196
|
+
className: "publish_btn",
|
|
197
|
+
"data-code": _constants.quickMenuCode.PUBLISH_LATER,
|
|
198
|
+
onClick: this.onPublishLater
|
|
199
|
+
}, (0, _locale.i18n)('PUBLISH_LATER'))),
|
|
200
|
+
overlayClassName: "publish_later_drop",
|
|
201
|
+
trigger: "click"
|
|
202
|
+
}, /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
|
|
203
|
+
onClick: function onClick(e) {
|
|
204
|
+
return e.stopPropagation();
|
|
205
|
+
},
|
|
206
|
+
size: "14px",
|
|
207
|
+
style: {
|
|
208
|
+
padding: '8px 3px 8px 6px'
|
|
209
|
+
},
|
|
210
|
+
type: "icon-outlined-down"
|
|
211
|
+
}))))));
|
|
180
212
|
};
|
|
181
213
|
|
|
182
214
|
return QuickMenuBar;
|
|
@@ -72,5 +72,39 @@
|
|
|
72
72
|
|
|
73
73
|
.menu_right {
|
|
74
74
|
display: flex;
|
|
75
|
+
.publish_wrap {
|
|
76
|
+
position: relative;
|
|
77
|
+
margin-left: 12px;
|
|
78
|
+
}
|
|
79
|
+
.publish_later_drop {
|
|
80
|
+
width: 100%;
|
|
81
|
+
top: 56px !important;
|
|
82
|
+
left: 0 !important;
|
|
83
|
+
.publish_later_wrap {
|
|
84
|
+
box-shadow: 4px 4px 25px 4px rgba(35, 47, 70, 0.1);
|
|
85
|
+
border-radius: 10px;
|
|
86
|
+
padding: 4px 0;
|
|
87
|
+
background-color: #FFF;
|
|
88
|
+
position: absolute;
|
|
89
|
+
left: 0;
|
|
90
|
+
right: 0;
|
|
91
|
+
.publish_btn {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
font-family: 'Open Sans';
|
|
96
|
+
font-style: normal;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
font-size: 16px;
|
|
99
|
+
height: 48px;
|
|
100
|
+
background-color: #E9F0FF;
|
|
101
|
+
color: #2F54EB;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
&:hover {
|
|
104
|
+
background-color: #D6E4FF;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
75
109
|
}
|
|
76
110
|
}
|
|
@@ -13,6 +13,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
|
|
14
14
|
var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
15
15
|
|
|
16
|
+
var _antd = require("antd");
|
|
17
|
+
|
|
16
18
|
var _constants = require("../../../constants");
|
|
17
19
|
|
|
18
20
|
var _componentTypes = require("../../../constants/component-types");
|
|
@@ -106,6 +108,26 @@ function (_super) {
|
|
|
106
108
|
return source;
|
|
107
109
|
};
|
|
108
110
|
|
|
111
|
+
_this.onCancelClick = function () {
|
|
112
|
+
var onCancelPublish = _this.props.onCancelPublish;
|
|
113
|
+
|
|
114
|
+
_antd.Modal.confirm({
|
|
115
|
+
title: 'Cancel Publish Later',
|
|
116
|
+
content: 'Do you want to cancel publishing later?',
|
|
117
|
+
okText: 'Yes',
|
|
118
|
+
cancelText: 'No',
|
|
119
|
+
onOk: function onOk() {
|
|
120
|
+
return new Promise(function (resolve) {
|
|
121
|
+
if (onCancelPublish) {
|
|
122
|
+
onCancelPublish();
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
resolve();
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
|
|
109
131
|
return _this;
|
|
110
132
|
}
|
|
111
133
|
|
|
@@ -127,12 +149,20 @@ function (_super) {
|
|
|
127
149
|
var _a = this.props,
|
|
128
150
|
device = _a.device,
|
|
129
151
|
renderHeader = _a.renderHeader,
|
|
130
|
-
pageData = _a.pageData
|
|
152
|
+
pageData = _a.pageData,
|
|
153
|
+
appointmentDate = _a.appointmentDate;
|
|
131
154
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
155
|
className: (0, _classnames["default"])('design-area-wrap', {
|
|
133
156
|
'phone-edit': this.isPhoneEdit()
|
|
134
157
|
})
|
|
135
|
-
}, renderHeader(), /*#__PURE__*/_react["default"].createElement("div", {
|
|
158
|
+
}, renderHeader(), appointmentDate && /*#__PURE__*/_react["default"].createElement("div", {
|
|
159
|
+
className: "appointment_wrap"
|
|
160
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
|
+
className: "appointment_tip"
|
|
162
|
+
}, "This page will be published at " + appointmentDate + ", If you need to edit it, please cancel the publishing later"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
163
|
+
className: "cancel_btn",
|
|
164
|
+
onClick: this.onCancelClick
|
|
165
|
+
}, "Cancel Publish Later")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
136
166
|
className: device === _constants.deviceTypeMap.PC ? 'pc_view_area' : 'phone_view_area'
|
|
137
167
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
168
|
className: "device_border",
|
|
@@ -8,6 +8,35 @@
|
|
|
8
8
|
transition-property: all;
|
|
9
9
|
transition-duration: .3s;
|
|
10
10
|
transition-timing-function: ease;
|
|
11
|
+
.appointment_wrap {
|
|
12
|
+
height: 44px;
|
|
13
|
+
background-color: #FFF8F0;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
.appointment_tip{
|
|
18
|
+
font-family: 'Open Sans';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-size: 13px;
|
|
22
|
+
color:#FF8541;
|
|
23
|
+
}
|
|
24
|
+
.cancel_btn {
|
|
25
|
+
font-family: 'Open Sans';
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
margin-left: 10px;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
padding: 0 12px;
|
|
33
|
+
height: 22px;
|
|
34
|
+
background-color: #2F54EB;
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
color: #FFF;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
11
40
|
&.phone-edit {
|
|
12
41
|
margin-left: 355px;
|
|
13
42
|
}
|
|
@@ -27,6 +27,8 @@ var _ViewArea = _interopRequireDefault(require("./ViewArea"));
|
|
|
27
27
|
|
|
28
28
|
var _History = _interopRequireDefault(require("./History"));
|
|
29
29
|
|
|
30
|
+
var _AppointmentModal = _interopRequireDefault(require("./AppointmentModal"));
|
|
31
|
+
|
|
30
32
|
var _componentTypes = require("../../constants/component-types");
|
|
31
33
|
|
|
32
34
|
var _mobx = require("../../mobx");
|
|
@@ -317,6 +319,8 @@ function (_super) {
|
|
|
317
319
|
});
|
|
318
320
|
};
|
|
319
321
|
|
|
322
|
+
console.log(code);
|
|
323
|
+
|
|
320
324
|
switch (code) {
|
|
321
325
|
case _constants.quickMenuCode.UNDO:
|
|
322
326
|
_this.history.undo(callback);
|
|
@@ -332,6 +336,13 @@ function (_super) {
|
|
|
332
336
|
onPublish(handleParams);
|
|
333
337
|
break;
|
|
334
338
|
|
|
339
|
+
case _constants.quickMenuCode.PUBLISH_LATER:
|
|
340
|
+
_this.setState({
|
|
341
|
+
appointmentVisible: true
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
break;
|
|
345
|
+
|
|
335
346
|
case _constants.quickMenuCode.PREVIEW:
|
|
336
347
|
onPreviews(handleParams);
|
|
337
348
|
break;
|
|
@@ -362,6 +373,22 @@ function (_super) {
|
|
|
362
373
|
});
|
|
363
374
|
};
|
|
364
375
|
|
|
376
|
+
_this.onAppointmentConfirm = function (date) {
|
|
377
|
+
var onPublish = _this.props.onPublish;
|
|
378
|
+
var _a = _this.state,
|
|
379
|
+
device = _a.device,
|
|
380
|
+
MPageData = _a.MPageData;
|
|
381
|
+
var handleParams = {
|
|
382
|
+
pageData: {
|
|
383
|
+
id: (0, _uuid.v4)(),
|
|
384
|
+
childNodes: MPageData
|
|
385
|
+
},
|
|
386
|
+
device: device,
|
|
387
|
+
appointmentDete: date
|
|
388
|
+
};
|
|
389
|
+
onPublish(handleParams);
|
|
390
|
+
};
|
|
391
|
+
|
|
365
392
|
var pageData = props.pageData,
|
|
366
393
|
config = props.config,
|
|
367
394
|
locale = props.locale;
|
|
@@ -378,7 +405,8 @@ function (_super) {
|
|
|
378
405
|
|
|
379
406
|
_this.state = {
|
|
380
407
|
MPageData: MPageData,
|
|
381
|
-
device: _constants.deviceTypeMap.PHONE
|
|
408
|
+
device: _constants.deviceTypeMap.PHONE,
|
|
409
|
+
appointmentVisible: false
|
|
382
410
|
};
|
|
383
411
|
setDesignConfig(config);
|
|
384
412
|
return _this;
|
|
@@ -440,11 +468,13 @@ function (_super) {
|
|
|
440
468
|
|
|
441
469
|
var _a = this.state,
|
|
442
470
|
MPageData = _a.MPageData,
|
|
443
|
-
device = _a.device
|
|
471
|
+
device = _a.device,
|
|
472
|
+
appointmentVisible = _a.appointmentVisible;
|
|
444
473
|
var _b = this.props,
|
|
445
474
|
pagesManager = _b.pagesManager,
|
|
446
475
|
compSource = _b.compSource,
|
|
447
|
-
pageName = _b.pageName
|
|
476
|
+
pageName = _b.pageName,
|
|
477
|
+
onCancelPublish = _b.onCancelPublish;
|
|
448
478
|
return /*#__PURE__*/_react["default"].createElement(_mobxReact.Provider, {
|
|
449
479
|
store: _mobx.store
|
|
450
480
|
}, /*#__PURE__*/_react["default"].createElement(_antd.ConfigProvider, {
|
|
@@ -475,10 +505,20 @@ function (_super) {
|
|
|
475
505
|
pageData: MPageData
|
|
476
506
|
}), /*#__PURE__*/_react["default"].createElement(_ViewArea["default"] // ref={this.viewAreaRef}
|
|
477
507
|
, {
|
|
508
|
+
appointmentDate: this.props.appointmentDate,
|
|
478
509
|
device: device,
|
|
510
|
+
onCancelPublish: onCancelPublish,
|
|
479
511
|
pageData: MPageData,
|
|
480
512
|
renderHeader: this.renderHeader
|
|
481
|
-
}))
|
|
513
|
+
})), /*#__PURE__*/_react["default"].createElement(_AppointmentModal["default"], {
|
|
514
|
+
onClose: function onClose() {
|
|
515
|
+
return _this.setState({
|
|
516
|
+
appointmentVisible: false
|
|
517
|
+
});
|
|
518
|
+
},
|
|
519
|
+
onConfirm: this.onAppointmentConfirm,
|
|
520
|
+
visible: appointmentVisible
|
|
521
|
+
}))));
|
|
482
522
|
};
|
|
483
523
|
|
|
484
524
|
return Designer;
|
package/lib/locale/en/en.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"IMAGES": "Images",
|
|
3
|
+
"PUBLISH_TIME": "Publish Time",
|
|
4
|
+
"CONFIRM": "Confirm",
|
|
5
|
+
"PUBLISH_LATER": "Publish Later",
|
|
6
|
+
"PUBLISH_NOW": "Publish Now",
|
|
3
7
|
"SEARCH_BOX": "Search Box",
|
|
4
8
|
"PLEASE_INPUT_KEYWORDS": "Please input keywords",
|
|
5
9
|
"SHOPPING_CART": "Shopping Cart",
|
package/lib/locale/es/es.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"IMAGES": "Images",
|
|
3
|
+
"PUBLISH_TIME": "Publish Time",
|
|
4
|
+
"CONFIRM": "Confirm",
|
|
5
|
+
"PUBLISH_LATER": "Publish Later",
|
|
6
|
+
"PUBLISH_NOW": "Publish Now",
|
|
3
7
|
"SEARCH_BOX": "Search Box",
|
|
4
8
|
"PLEASE_INPUT_KEYWORDS": "Please input keywords",
|
|
5
9
|
"SHOPPING_CART": "Shopping Cart",
|
package/lib/locale/id/id.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"IMAGES": "Images",
|
|
3
|
+
"PUBLISH_TIME": "Publish Time",
|
|
4
|
+
"CONFIRM": "Confirm",
|
|
5
|
+
"PUBLISH_LATER": "Publish Later",
|
|
6
|
+
"PUBLISH_NOW": "Publish Now",
|
|
3
7
|
"SEARCH_BOX": "Search Box",
|
|
4
8
|
"PLEASE_INPUT_KEYWORDS": "Please input keywords",
|
|
5
9
|
"SHOPPING_CART": "Shopping Cart",
|