@pisell/private-materials 3.0.47 → 3.0.49
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.js +6 -6
- package/es/components/booking/addons/index.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +1 -2
- package/es/components/booking/components/footer/index.js +90 -8
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -0
- package/es/components/booking/deposit/DepositItem/index.js +8 -8
- package/es/components/booking/deposit/index.js +12 -1
- package/es/components/booking/forms/forms.d.ts +1 -1
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/model.d.ts +1 -2
- package/es/components/booking/index.d.ts +1 -1
- package/es/components/booking/info/index.d.ts +1 -1
- package/es/components/booking/info/model.d.ts +1 -2
- package/es/components/booking/info/service/addService/index.js +3 -3
- package/es/components/booking/locales.d.ts +9 -0
- package/es/components/booking/locales.js +12 -3
- package/es/components/booking/model.d.ts +1 -2
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +1 -2
- package/es/components/booking/payments/index.d.ts +1 -1
- package/es/components/booking/payments/model.d.ts +1 -2
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +1 -2
- package/lib/components/booking/addons/index.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +1 -2
- package/lib/components/booking/components/footer/index.js +75 -13
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -0
- package/lib/components/booking/deposit/DepositItem/index.js +8 -5
- package/lib/components/booking/deposit/index.js +12 -1
- package/lib/components/booking/forms/forms.d.ts +1 -1
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/model.d.ts +1 -2
- package/lib/components/booking/index.d.ts +1 -1
- package/lib/components/booking/info/index.d.ts +1 -1
- package/lib/components/booking/info/model.d.ts +1 -2
- package/lib/components/booking/info/service/addService/index.js +1 -1
- package/lib/components/booking/locales.d.ts +9 -0
- package/lib/components/booking/locales.js +12 -3
- package/lib/components/booking/model.d.ts +1 -2
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +1 -2
- package/lib/components/booking/payments/index.d.ts +1 -1
- package/lib/components/booking/payments/model.d.ts +1 -2
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +1 -2
- package/package.json +2 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -17,10 +17,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
17
17
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18
18
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
19
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
|
-
import React, { useMemo, useState } from "react";
|
|
20
|
+
import React, { useEffect, useMemo, useState } from "react";
|
|
21
21
|
import ChevronDown from "@pisell/icon/es/ChevronDown";
|
|
22
22
|
import classNames from "classnames";
|
|
23
|
-
import { Skeleton, message } from "antd";
|
|
23
|
+
import { Skeleton, message, Dropdown, Space } from "antd";
|
|
24
24
|
import { formatAmount, locales } from "@pisell/utils";
|
|
25
25
|
import { Button } from "antd";
|
|
26
26
|
import { formatProducts } from "../../addons";
|
|
@@ -29,6 +29,7 @@ import { getSumTotal, is_price_include_tax } from "./amount";
|
|
|
29
29
|
import FooterMenus from "./FooterMenus";
|
|
30
30
|
import "./index.less";
|
|
31
31
|
import useEngineContext from "../../../../hooks/useEngineContext";
|
|
32
|
+
import { DownOutlined } from "@ant-design/icons";
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* @title: 底部
|
|
@@ -39,7 +40,7 @@ import useEngineContext from "../../../../hooks/useEngineContext";
|
|
|
39
40
|
* @Date: 2024-01-30 16:51
|
|
40
41
|
*/
|
|
41
42
|
var Footer = function Footer(props) {
|
|
42
|
-
var _context$appHelper, _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$addons2, _state$addons4, _state$bookingDetail8;
|
|
43
|
+
var _context$appHelper, _store$getState, _store$getState$call, _store$getState$call$, _state$bookingConfig2, _state$bookingConfig3, _state$bookingConfig4, _state$addons2, _state$addons4, _state$bookingDetail8;
|
|
43
44
|
var state = props.state,
|
|
44
45
|
buttons = props.buttons,
|
|
45
46
|
dispatch = props.dispatch,
|
|
@@ -62,7 +63,14 @@ var Footer = function Footer(props) {
|
|
|
62
63
|
var context = useEngineContext();
|
|
63
64
|
var _context$appHelper$ut = (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils,
|
|
64
65
|
isTerminal = _context$appHelper$ut.isTerminal,
|
|
65
|
-
interaction = _context$appHelper$ut.interaction
|
|
66
|
+
interaction = _context$appHelper$ut.interaction,
|
|
67
|
+
store = _context$appHelper$ut.store;
|
|
68
|
+
var isShowPaymentLink = store === null || store === void 0 ? void 0 : (_store$getState = store.getState) === null || _store$getState === void 0 ? void 0 : (_store$getState$call = _store$getState.call(store)) === null || _store$getState$call === void 0 ? void 0 : (_store$getState$call$ = _store$getState$call.global) === null || _store$getState$call$ === void 0 ? void 0 : _store$getState$call$.paymentLinkBtnShow;
|
|
69
|
+
useEffect(function () {
|
|
70
|
+
store === null || store === void 0 ? void 0 : store.dispatch({
|
|
71
|
+
type: "global/_getPaymentLinkBtnShow"
|
|
72
|
+
});
|
|
73
|
+
}, []);
|
|
66
74
|
|
|
67
75
|
// board 配置
|
|
68
76
|
var params = useMemo(function () {
|
|
@@ -277,11 +285,11 @@ var Footer = function Footer(props) {
|
|
|
277
285
|
*/
|
|
278
286
|
var handleSave = /*#__PURE__*/function () {
|
|
279
287
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(_ref4) {
|
|
280
|
-
var type, _setLoading, editApi, createApi, saveOtherValue, _state$onSave, callbackData, values, api;
|
|
288
|
+
var type, _ref4$messageShow, messageShow, _setLoading, editApi, createApi, saveOtherValue, _state$onSave, callbackData, values, api;
|
|
281
289
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
282
290
|
while (1) switch (_context4.prev = _context4.next) {
|
|
283
291
|
case 0:
|
|
284
|
-
type = _ref4.type;
|
|
292
|
+
type = _ref4.type, _ref4$messageShow = _ref4.messageShow, messageShow = _ref4$messageShow === void 0 ? true : _ref4$messageShow;
|
|
285
293
|
// 区分loading, 是点击的checkout 还是save
|
|
286
294
|
_setLoading = type === "checkout" ? setCheckoutLoading : setLoading;
|
|
287
295
|
_setLoading(true);
|
|
@@ -323,7 +331,9 @@ var Footer = function Footer(props) {
|
|
|
323
331
|
return api(values);
|
|
324
332
|
case 23:
|
|
325
333
|
callbackData = _context4.sent;
|
|
326
|
-
|
|
334
|
+
if (messageShow) {
|
|
335
|
+
message.success(locales.getText(state.bookingId ? "pisell2.text.appointment-updated" : "pisell2.text.created-successfully"));
|
|
336
|
+
}
|
|
327
337
|
case 25:
|
|
328
338
|
// 回调关闭弹窗
|
|
329
339
|
state === null || state === void 0 ? void 0 : state.callback(callbackData);
|
|
@@ -432,6 +442,71 @@ var Footer = function Footer(props) {
|
|
|
432
442
|
disabled: isDisabled
|
|
433
443
|
}, locales.getText("pisell2.text.checkout"));
|
|
434
444
|
}, [isEdit, checkoutLoading, isDisabled, state, source]);
|
|
445
|
+
var handleMenuClick = /*#__PURE__*/function () {
|
|
446
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(e) {
|
|
447
|
+
var id, res;
|
|
448
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
449
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
450
|
+
case 0:
|
|
451
|
+
id = state.bookingId;
|
|
452
|
+
if (!isEdit) {
|
|
453
|
+
_context6.next = 6;
|
|
454
|
+
break;
|
|
455
|
+
}
|
|
456
|
+
_context6.next = 4;
|
|
457
|
+
return handleSave({
|
|
458
|
+
type: "checkout",
|
|
459
|
+
messageShow: false
|
|
460
|
+
});
|
|
461
|
+
case 4:
|
|
462
|
+
res = _context6.sent;
|
|
463
|
+
id = (res === null || res === void 0 ? void 0 : res.order_id) || state.bookingId;
|
|
464
|
+
case 6:
|
|
465
|
+
if (e.key === 'sendMail') {
|
|
466
|
+
state.action({
|
|
467
|
+
type: 'pisell1.sendPayLinkEmail',
|
|
468
|
+
data: {
|
|
469
|
+
id: id
|
|
470
|
+
},
|
|
471
|
+
callback: function callback() {}
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
if (e.key === 'copy') {
|
|
475
|
+
state.action({
|
|
476
|
+
type: 'pisell1.genClientPayLink',
|
|
477
|
+
data: {
|
|
478
|
+
id: id
|
|
479
|
+
},
|
|
480
|
+
callback: function callback() {}
|
|
481
|
+
});
|
|
482
|
+
}
|
|
483
|
+
case 8:
|
|
484
|
+
case "end":
|
|
485
|
+
return _context6.stop();
|
|
486
|
+
}
|
|
487
|
+
}, _callee6);
|
|
488
|
+
}));
|
|
489
|
+
return function handleMenuClick(_x5) {
|
|
490
|
+
return _ref7.apply(this, arguments);
|
|
491
|
+
};
|
|
492
|
+
}();
|
|
493
|
+
var paymentLinkButton = useMemo(function () {
|
|
494
|
+
var items = [{
|
|
495
|
+
label: locales.getText('pisell2.text.send-mail'),
|
|
496
|
+
key: 'sendMail'
|
|
497
|
+
}, {
|
|
498
|
+
label: locales.getText('pisell2.text.copy-to-clipboard'),
|
|
499
|
+
key: 'copy'
|
|
500
|
+
}];
|
|
501
|
+
return /*#__PURE__*/React.createElement(Dropdown, {
|
|
502
|
+
menu: {
|
|
503
|
+
items: items,
|
|
504
|
+
onClick: handleMenuClick
|
|
505
|
+
}
|
|
506
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
507
|
+
className: "pisell-lowcode__booking-footer-buttons-item"
|
|
508
|
+
}, /*#__PURE__*/React.createElement(Space, null, locales.getText('pisell2.text.payment-link'), /*#__PURE__*/React.createElement(DownOutlined, null))));
|
|
509
|
+
}, [handleMenuClick]);
|
|
435
510
|
|
|
436
511
|
/**
|
|
437
512
|
* @title: 保存按钮
|
|
@@ -491,7 +566,8 @@ var Footer = function Footer(props) {
|
|
|
491
566
|
checkout: checkoutButton,
|
|
492
567
|
save: saveButton,
|
|
493
568
|
complete: completeButton,
|
|
494
|
-
refund: refundButton
|
|
569
|
+
refund: refundButton,
|
|
570
|
+
paymentLink: paymentLinkButton
|
|
495
571
|
};
|
|
496
572
|
|
|
497
573
|
/**
|
|
@@ -539,6 +615,9 @@ var Footer = function Footer(props) {
|
|
|
539
615
|
// payment
|
|
540
616
|
if (source === "payment") {
|
|
541
617
|
var _arr2 = [];
|
|
618
|
+
if (state.bookingId && isShowPaymentLink) {
|
|
619
|
+
_arr2.push(buttonMap.paymentLink);
|
|
620
|
+
}
|
|
542
621
|
// 有已支付金额, 展示退款
|
|
543
622
|
if (total.paidAmount > 0) {
|
|
544
623
|
_arr2.push(buttonMap.refund);
|
|
@@ -553,6 +632,9 @@ var Footer = function Footer(props) {
|
|
|
553
632
|
// info
|
|
554
633
|
if (source === "info") {
|
|
555
634
|
var _arr3 = [];
|
|
635
|
+
if (state.bookingId && isShowPaymentLink) {
|
|
636
|
+
_arr3.push(buttonMap.paymentLink);
|
|
637
|
+
}
|
|
556
638
|
// 有未支付金额 展示checkout
|
|
557
639
|
if (isCheckout) {
|
|
558
640
|
_arr3.push(buttonMap.checkout);
|
|
@@ -26,7 +26,8 @@ var DepositItem = function DepositItem(props) {
|
|
|
26
26
|
amountSymbol = props.amountSymbol,
|
|
27
27
|
createdTime = props.createdTime,
|
|
28
28
|
isPaid = props.isPaid,
|
|
29
|
-
isBookingCancelled = props.isBookingCancelled
|
|
29
|
+
isBookingCancelled = props.isBookingCancelled,
|
|
30
|
+
sendEmail = props.sendEmail;
|
|
30
31
|
var statusText = {
|
|
31
32
|
unpaid: locales.getText("pisell2.text.deposit-item-status-unpaid"),
|
|
32
33
|
paid: locales.getText("pisell2.text.deposit-item-status-paid")
|
|
@@ -35,20 +36,19 @@ var DepositItem = function DepositItem(props) {
|
|
|
35
36
|
document.body.id = "body";
|
|
36
37
|
}, []);
|
|
37
38
|
var items = [{
|
|
39
|
+
key: "send",
|
|
40
|
+
label: /*#__PURE__*/React.createElement("div", null, locales.getText('pisell2.text.send-mail'))
|
|
41
|
+
}, {
|
|
38
42
|
key: "1",
|
|
39
43
|
disabled: isPaid || isBookingCancelled,
|
|
40
44
|
label: /*#__PURE__*/React.createElement("div", null, locales.getText("pisell2.text.deposit-generate-payment-link"))
|
|
41
|
-
}
|
|
42
|
-
// {
|
|
43
|
-
// key: "2",
|
|
44
|
-
// label: <div>发送邮件</div>,
|
|
45
|
-
// },
|
|
46
|
-
];
|
|
47
|
-
|
|
45
|
+
}];
|
|
48
46
|
var onClick = function onClick(_ref) {
|
|
49
47
|
var key = _ref.key;
|
|
50
48
|
if (key === '1') {
|
|
51
49
|
generatePaymentLink === null || generatePaymentLink === void 0 ? void 0 : generatePaymentLink(orderId);
|
|
50
|
+
} else if (key === 'send') {
|
|
51
|
+
sendEmail === null || sendEmail === void 0 ? void 0 : sendEmail(orderId);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -39,13 +39,23 @@ var Deposit = function Deposit(props) {
|
|
|
39
39
|
var context = useEngineContext();
|
|
40
40
|
var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
|
|
41
41
|
isTerminal = _ref.isTerminal,
|
|
42
|
-
interaction = _ref.interaction
|
|
42
|
+
interaction = _ref.interaction,
|
|
43
|
+
action = _ref.action;
|
|
43
44
|
request.setRequest(context.appHelper.utils.request);
|
|
44
45
|
var bookingDetail = globalState.bookingDetail,
|
|
45
46
|
bookingId = globalState.bookingId,
|
|
46
47
|
amountSymbol = globalState.amountSymbol,
|
|
47
48
|
generatePaymentLink = globalState.generatePaymentLink,
|
|
48
49
|
locale = globalState.locale;
|
|
50
|
+
var sendEmail = function sendEmail(id) {
|
|
51
|
+
action({
|
|
52
|
+
type: 'pisell1.sendPayLinkEmail',
|
|
53
|
+
data: {
|
|
54
|
+
id: id
|
|
55
|
+
},
|
|
56
|
+
callback: function callback() {}
|
|
57
|
+
});
|
|
58
|
+
};
|
|
49
59
|
var create = function create() {
|
|
50
60
|
var _editDepositModalRef$, _editDepositModalRef$2;
|
|
51
61
|
(_editDepositModalRef$ = editDepositModalRef.current) === null || _editDepositModalRef$ === void 0 ? void 0 : (_editDepositModalRef$2 = _editDepositModalRef$.handleOpen) === null || _editDepositModalRef$2 === void 0 ? void 0 : _editDepositModalRef$2.call(_editDepositModalRef$);
|
|
@@ -147,6 +157,7 @@ var Deposit = function Deposit(props) {
|
|
|
147
157
|
key: item.status
|
|
148
158
|
}, item, {
|
|
149
159
|
generatePaymentLink: generatePaymentLink,
|
|
160
|
+
sendEmail: sendEmail,
|
|
150
161
|
handleGoOrderDetail: handleGoOrderDetail,
|
|
151
162
|
onEdit: function onEdit(e) {
|
|
152
163
|
return handleEdit(e, item);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Booking: (props: any) =>
|
|
1
|
+
declare const Booking: (props: any) => JSX.Element;
|
|
2
2
|
export default Booking;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
2
|
export declare const walkInData: {
|
|
4
3
|
id: number;
|
|
5
4
|
nickname: string;
|
|
6
5
|
};
|
|
7
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
6
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
8
7
|
state: FormState;
|
|
9
8
|
} & {
|
|
10
9
|
dispatch: (params: {
|
|
@@ -31,7 +31,7 @@ import { getIsBundleOrCombination } from "../../utils";
|
|
|
31
31
|
import { formatProductListByCategory, getProductTotalPrice, request, getCacheParams, deleteCacheParams } from "../../../utils";
|
|
32
32
|
import { locales, getUniqueId } from "@pisell/utils";
|
|
33
33
|
import { useUpdateEffect } from "ahooks";
|
|
34
|
-
var shopList = [2886, 4422, 5538, 6930];
|
|
34
|
+
var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087];
|
|
35
35
|
var getCacheResourceId = function getCacheResourceId() {
|
|
36
36
|
var serviceParams = getCacheParams();
|
|
37
37
|
var resId = Number(serviceParams === null || serviceParams === void 0 ? void 0 : serviceParams.resource_id);
|
|
@@ -313,7 +313,7 @@ var Info = function Info() {
|
|
|
313
313
|
return;
|
|
314
314
|
}
|
|
315
315
|
// 如果弹窗打开,并且是创建, 则自动打开选择服务的弹窗
|
|
316
|
-
if (state.modalOpen && !state.bookingId && state.renderType !==
|
|
316
|
+
if (state.modalOpen && !state.bookingId && state.renderType !== "eventBooking") {
|
|
317
317
|
handleSelectService();
|
|
318
318
|
}
|
|
319
319
|
}, [state.modalOpen, state.bookingId]);
|
|
@@ -356,7 +356,7 @@ var Info = function Info() {
|
|
|
356
356
|
}
|
|
357
357
|
});
|
|
358
358
|
}, [state.renderType, showAddButton, isService, state.service.value, loading]);
|
|
359
|
-
console.log(state.service.addModal,
|
|
359
|
+
console.log(state.service.addModal, "state.service.addModal");
|
|
360
360
|
return /*#__PURE__*/React.createElement(React.Fragment, null, ((_state$service3 = state.service) === null || _state$service3 === void 0 ? void 0 : (_state$service3$cache = _state$service3.cacheItem) === null || _state$service3$cache === void 0 ? void 0 : _state$service3$cache.autoClose) && /*#__PURE__*/React.createElement(Skeleton, {
|
|
361
361
|
loading: true,
|
|
362
362
|
active: true,
|
|
@@ -142,6 +142,9 @@ declare const _default: {
|
|
|
142
142
|
'pisell2.text.deposit-delete-message': string;
|
|
143
143
|
'pisell2.text.deposit-paid': string;
|
|
144
144
|
"pisell2.text.stock": string;
|
|
145
|
+
'pisell2.text.payment-link': string;
|
|
146
|
+
'pisell2.text.send-mail': string;
|
|
147
|
+
'pisell2.text.copy-to-clipboard': string;
|
|
145
148
|
};
|
|
146
149
|
'zh-CN': {
|
|
147
150
|
'pisell2.text.refunded-amount': string;
|
|
@@ -286,6 +289,9 @@ declare const _default: {
|
|
|
286
289
|
'pisell2.text.deposit-delete-message': string;
|
|
287
290
|
'pisell2.text.deposit-paid': string;
|
|
288
291
|
"pisell2.text.stock": string;
|
|
292
|
+
'pisell2.text.payment-link': string;
|
|
293
|
+
'pisell2.text.send-mail': string;
|
|
294
|
+
'pisell2.text.copy-to-clipboard': string;
|
|
289
295
|
};
|
|
290
296
|
'zh-HK': {
|
|
291
297
|
'pisell2.text.refunded-amount': string;
|
|
@@ -430,6 +436,9 @@ declare const _default: {
|
|
|
430
436
|
'pisell2.text.deposit-delete-message': string;
|
|
431
437
|
'pisell2.text.deposit-paid': string;
|
|
432
438
|
"pisell2.text.stock": string;
|
|
439
|
+
'pisell2.text.payment-link': string;
|
|
440
|
+
'pisell2.text.send-mail': string;
|
|
441
|
+
'pisell2.text.copy-to-clipboard': string;
|
|
433
442
|
};
|
|
434
443
|
};
|
|
435
444
|
export default _default;
|
|
@@ -156,7 +156,10 @@ export default {
|
|
|
156
156
|
'pisell2.text.deposit-delete-message-title': "Prompt",
|
|
157
157
|
'pisell2.text.deposit-delete-message': "It cannot be restored after deletion. Please confirm the operation.",
|
|
158
158
|
'pisell2.text.deposit-paid': "Deposit paid",
|
|
159
|
-
"pisell2.text.stock": "Stock"
|
|
159
|
+
"pisell2.text.stock": "Stock",
|
|
160
|
+
'pisell2.text.payment-link': "Payment link",
|
|
161
|
+
'pisell2.text.send-mail': "Send mail",
|
|
162
|
+
'pisell2.text.copy-to-clipboard': "Copy to clipboard"
|
|
160
163
|
},
|
|
161
164
|
'zh-CN': {
|
|
162
165
|
'pisell2.text.refunded-amount': '已退金额',
|
|
@@ -320,7 +323,10 @@ export default {
|
|
|
320
323
|
'pisell2.text.deposit-delete-message-title': "提示",
|
|
321
324
|
'pisell2.text.deposit-delete-message': "删除后不可恢复,请确认操作",
|
|
322
325
|
'pisell2.text.deposit-paid': "已付定金",
|
|
323
|
-
"pisell2.text.stock": "库存"
|
|
326
|
+
"pisell2.text.stock": "库存",
|
|
327
|
+
'pisell2.text.payment-link': "付款链接",
|
|
328
|
+
'pisell2.text.send-mail': "发送邮件",
|
|
329
|
+
'pisell2.text.copy-to-clipboard': "复制到剪切板"
|
|
324
330
|
},
|
|
325
331
|
'zh-HK': {
|
|
326
332
|
'pisell2.text.refunded-amount': '已退金額',
|
|
@@ -484,6 +490,9 @@ export default {
|
|
|
484
490
|
'pisell2.text.deposit-delete-message-title': "提示",
|
|
485
491
|
'pisell2.text.deposit-delete-message': "刪除後不可恢復,請確認操作",
|
|
486
492
|
'pisell2.text.deposit-paid': "已付定金",
|
|
487
|
-
"pisell2.text.stock": "庫存"
|
|
493
|
+
"pisell2.text.stock": "庫存",
|
|
494
|
+
'pisell2.text.payment-link': "付款鏈接",
|
|
495
|
+
'pisell2.text.send-mail': "發送郵件",
|
|
496
|
+
'pisell2.text.copy-to-clipboard': "複製到剪切板"
|
|
488
497
|
}
|
|
489
498
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
amountSymbol: string;
|
|
4
3
|
apis: {
|
|
@@ -89,7 +88,7 @@ export declare const walkInData: {
|
|
|
89
88
|
id: number;
|
|
90
89
|
nickname: string;
|
|
91
90
|
};
|
|
92
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
91
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
93
92
|
state: FormState;
|
|
94
93
|
} & {
|
|
95
94
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,7 +68,7 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
71
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
73
72
|
state: FormState;
|
|
74
73
|
} & {
|
|
75
74
|
dispatch: (params: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
2
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
4
3
|
state: FormState;
|
|
5
4
|
} & {
|
|
6
5
|
dispatch: (params: {
|