@pisell/private-materials 3.3.26 → 3.3.27
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/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +5 -5
- package/es/components/Sales/Customer/index.js +3 -1
- package/es/components/Sales/Event/Detail.js +5 -1
- package/es/components/Sales/Event/serve.d.ts +3 -0
- package/es/components/Sales/Init/index.d.ts +1 -0
- package/es/components/Sales/Init/index.js +3 -2
- package/es/components/Sales/Step/index.d.ts +2 -0
- package/es/components/Sales/Step/index.js +13 -4
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +5 -5
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Services/index.js +2 -0
- package/es/components/appointmentBooking/deposit/index.js +2 -2
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/utils.js +16 -15
- package/es/components/booking/hooks/useQuotation.d.ts +4 -0
- package/es/components/booking/hooks/useQuotation.js +256 -0
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.js +4 -4
- package/es/components/booking/info/service/editService/index.js +6 -3
- package/es/components/booking/info/service/index.js +4 -1
- package/es/components/booking/info/service2/Group/utils.js +1 -1
- package/es/components/booking/info/service2/hooks/useSelectPet.js +6 -4
- package/es/components/booking/info/service2/index.js +4 -1
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.js +29 -9
- package/es/components/booking/info2/service/editService/index.js +2 -0
- package/es/components/booking/info2/service/index.js +4 -1
- package/es/components/booking/locales.d.ts +6 -0
- package/es/components/booking/locales.js +9 -3
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +122 -31
- package/es/components/eventBooking/components/Provider/Event/index.js +20 -4
- package/es/components/eventBooking/components/Provider/Resource/index.js +26 -5
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +1 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.js +5 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.js +7 -2
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +60 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +59 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.js +30 -21
- package/es/components/eventBooking/components/scheduleCalendar/index.less +2 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/eventBooking/index.js +2 -2
- package/es/components/eventBooking/locales.d.ts +6 -0
- package/es/components/eventBooking/locales.js +166 -160
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +3 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +73 -20
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +60 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +98 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +34 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
- package/es/components/pay/toC/WalletPassBlock/index.js +119 -21
- package/es/components/pay/toC/WalletPassBlock/index.less +82 -13
- package/es/components/pay/toC/index.js +138 -89
- package/es/components/pay/toC/locales.d.ts +69 -3
- package/es/components/pay/toC/locales.js +132 -6
- package/es/components/pay/toC/model.d.ts +4 -0
- package/es/components/pay/toC/model.js +9 -0
- package/es/components/pay/toC/serve.d.ts +23 -0
- package/es/components/pay/toC/serve.js +34 -2
- package/es/components/pay/toC/utils.d.ts +3 -1
- package/es/components/pay/toC/utils.js +8 -3
- package/es/components/productSelect/components/productGroup/index.less +4 -12
- package/es/components/productSelect/index.less +1 -1
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +15 -20
- package/es/components/ticketBooking/components/menuBar/index.less +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.less +2 -4
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLocale.js +7 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/hooks/useLoginUser.js +19 -0
- package/lib/components/Sales/Customer/index.js +3 -1
- package/lib/components/Sales/Event/Detail.js +5 -1
- package/lib/components/Sales/Event/serve.d.ts +3 -0
- package/lib/components/Sales/Init/index.d.ts +1 -0
- package/lib/components/Sales/Init/index.js +3 -2
- package/lib/components/Sales/Step/index.d.ts +2 -0
- package/lib/components/Sales/Step/index.js +13 -4
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +2 -2
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Services/index.js +2 -0
- package/lib/components/appointmentBooking/deposit/index.js +2 -2
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.js +5 -4
- package/lib/components/booking/hooks/useQuotation.d.ts +4 -0
- package/lib/components/booking/hooks/useQuotation.js +210 -0
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.js +2 -3
- package/lib/components/booking/info/service/editService/index.js +5 -2
- package/lib/components/booking/info/service/index.js +3 -1
- package/lib/components/booking/info/service2/Group/utils.js +2 -2
- package/lib/components/booking/info/service2/hooks/useSelectPet.js +5 -3
- package/lib/components/booking/info/service2/index.js +3 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.js +25 -17
- package/lib/components/booking/info2/service/editService/index.js +2 -1
- package/lib/components/booking/info2/service/index.js +3 -1
- package/lib/components/booking/locales.d.ts +6 -0
- package/lib/components/booking/locales.js +9 -3
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +52 -4
- package/lib/components/eventBooking/components/Provider/Event/index.js +15 -3
- package/lib/components/eventBooking/components/Provider/Resource/index.js +16 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.js +7 -7
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.js +3 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.js +6 -5
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.js +75 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.less +63 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.js +64 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.less +7 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.js +17 -11
- package/lib/components/eventBooking/components/scheduleCalendar/index.less +2 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/eventBooking/index.js +2 -2
- package/lib/components/eventBooking/locales.d.ts +6 -0
- package/lib/components/eventBooking/locales.js +10 -4
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +52 -11
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.less +30 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.js +87 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.less +38 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.js +103 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.less +133 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +7 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.js +52 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.less +23 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +9 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +115 -20
- package/lib/components/pay/toC/WalletPassBlock/index.less +82 -13
- package/lib/components/pay/toC/index.js +35 -9
- package/lib/components/pay/toC/locales.d.ts +69 -3
- package/lib/components/pay/toC/locales.js +72 -6
- package/lib/components/pay/toC/model.d.ts +4 -0
- package/lib/components/pay/toC/model.js +10 -0
- package/lib/components/pay/toC/serve.d.ts +23 -0
- package/lib/components/pay/toC/serve.js +12 -6
- package/lib/components/pay/toC/utils.d.ts +3 -1
- package/lib/components/pay/toC/utils.js +8 -3
- package/lib/components/productSelect/components/productGroup/index.less +4 -12
- package/lib/components/productSelect/index.less +1 -1
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +13 -16
- package/lib/components/ticketBooking/components/menuBar/index.less +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.less +2 -4
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLocale.js +41 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/hooks/useLoginUser.js +50 -0
- package/package.json +3 -3
|
@@ -23,7 +23,7 @@ import PayAmount from "./PayAmount";
|
|
|
23
23
|
import WalletPassBlock from "./WalletPassBlock";
|
|
24
24
|
import PaymentList from "./PaymentList";
|
|
25
25
|
import PaymentMethods from "./PaymentMethods";
|
|
26
|
-
import { getPaymentsAndWalletPass, getPaymentInit } from "./serve";
|
|
26
|
+
import { getPaymentsAndWalletPass, getPaymentInit, getWalletNameAndPopupStatus } from "./serve";
|
|
27
27
|
import { Provider, Context } from "./model";
|
|
28
28
|
import useEngineContext from "../../../hooks/useEngineContext";
|
|
29
29
|
import { request } from "../../../utils";
|
|
@@ -41,7 +41,7 @@ import "./index.less";
|
|
|
41
41
|
* @Date: 2024-08-16 10:43
|
|
42
42
|
*/
|
|
43
43
|
var ToCPay = function ToCPay(props, ref) {
|
|
44
|
-
var _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _dvaStore$core, _state$payGroup6, _state$payGroup16, _state$order, _state$order2, _state$payGroup21, _state$payGroup22, _state$payGroup23;
|
|
44
|
+
var _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _dvaStore$core, _dvaStore$core2, _state$payGroup6, _state$payGroup16, _state$order, _state$order2, _state$payGroup21, _state$payGroup22, _state$payGroup23;
|
|
45
45
|
//@ts-ignore
|
|
46
46
|
var _useContext = useContext(Context),
|
|
47
47
|
state = _useContext.state,
|
|
@@ -70,6 +70,7 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
70
70
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
71
71
|
renderType = _useState8[0],
|
|
72
72
|
setRenderType = _useState8[1];
|
|
73
|
+
var walletPassBlockRef = useRef(null);
|
|
73
74
|
var context = useEngineContext();
|
|
74
75
|
|
|
75
76
|
// 退出提醒
|
|
@@ -89,8 +90,11 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
89
90
|
// 客户id
|
|
90
91
|
var customer_id = (_context$appHelper$ut3 = context.appHelper.utils) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.getStore()) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut4 = _context$appHelper$ut3.getState) === null || _context$appHelper$ut4 === void 0 || (_context$appHelper$ut4 = _context$appHelper$ut4.call(_context$appHelper$ut3)) === null || _context$appHelper$ut4 === void 0 || (_context$appHelper$ut4 = _context$appHelper$ut4.global) === null || _context$appHelper$ut4 === void 0 || (_context$appHelper$ut4 = _context$appHelper$ut4.userInfo) === null || _context$appHelper$ut4 === void 0 ? void 0 : _context$appHelper$ut4.id;
|
|
91
92
|
|
|
93
|
+
// 店铺名称
|
|
94
|
+
var shopName = (_dvaStore$core = dvaStore.core) === null || _dvaStore$core === void 0 || (_dvaStore$core = _dvaStore$core.core) === null || _dvaStore$core === void 0 || (_dvaStore$core = _dvaStore$core.shop) === null || _dvaStore$core === void 0 ? void 0 : _dvaStore$core.name;
|
|
95
|
+
|
|
92
96
|
// 注册多语言
|
|
93
|
-
locales.init(localeTexts, ((_dvaStore$
|
|
97
|
+
locales.init(localeTexts, ((_dvaStore$core2 = dvaStore.core) === null || _dvaStore$core2 === void 0 ? void 0 : _dvaStore$core2.translateLocale) || 'en');
|
|
94
98
|
|
|
95
99
|
// 注册请求
|
|
96
100
|
request.setRequest(utils === null || utils === void 0 ? void 0 : utils.request);
|
|
@@ -122,6 +126,46 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
122
126
|
})
|
|
123
127
|
});
|
|
124
128
|
};
|
|
129
|
+
var getWalletSetting = /*#__PURE__*/function () {
|
|
130
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(initProps) {
|
|
131
|
+
var _initProps$order4, _utils$translation, _wallet_setting$popup;
|
|
132
|
+
var sale_channel, _yield$getWalletNameA, wallet, wallet_setting, setting;
|
|
133
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
134
|
+
while (1) switch (_context.prev = _context.next) {
|
|
135
|
+
case 0:
|
|
136
|
+
sale_channel = (initProps === null || initProps === void 0 || (_initProps$order4 = initProps.order) === null || _initProps$order4 === void 0 ? void 0 : _initProps$order4.sale_channel) || 'online-store';
|
|
137
|
+
_context.next = 3;
|
|
138
|
+
return getWalletNameAndPopupStatus({
|
|
139
|
+
setting_type: "".concat(sale_channel, "-wallet-setting")
|
|
140
|
+
});
|
|
141
|
+
case 3:
|
|
142
|
+
_yield$getWalletNameA = _context.sent;
|
|
143
|
+
wallet = _yield$getWalletNameA.wallet;
|
|
144
|
+
wallet_setting = _yield$getWalletNameA.wallet_setting;
|
|
145
|
+
setting = {
|
|
146
|
+
name: (utils === null || utils === void 0 || (_utils$translation = utils.translation) === null || _utils$translation === void 0 ? void 0 : _utils$translation.call(utils, wallet === null || wallet === void 0 ? void 0 : wallet.name)) || locales.getText('tocPay.text.walletName')(shopName),
|
|
147
|
+
popup_status: (_wallet_setting$popup = wallet_setting === null || wallet_setting === void 0 ? void 0 : wallet_setting.popup_status) !== null && _wallet_setting$popup !== void 0 ? _wallet_setting$popup : 1
|
|
148
|
+
};
|
|
149
|
+
if (setting.popup_status === 1) {
|
|
150
|
+
setTimeout(function () {
|
|
151
|
+
var _walletPassBlockRef$c;
|
|
152
|
+
(_walletPassBlockRef$c = walletPassBlockRef.current) === null || _walletPassBlockRef$c === void 0 || _walletPassBlockRef$c.open();
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
dispatch({
|
|
156
|
+
type: 'setWalletSetting',
|
|
157
|
+
payload: setting
|
|
158
|
+
});
|
|
159
|
+
case 9:
|
|
160
|
+
case "end":
|
|
161
|
+
return _context.stop();
|
|
162
|
+
}
|
|
163
|
+
}, _callee);
|
|
164
|
+
}));
|
|
165
|
+
return function getWalletSetting(_x) {
|
|
166
|
+
return _ref.apply(this, arguments);
|
|
167
|
+
};
|
|
168
|
+
}();
|
|
125
169
|
|
|
126
170
|
/**
|
|
127
171
|
* @title: 全局唯一初始化方法
|
|
@@ -132,10 +176,10 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
132
176
|
* @Date: 2024-08-15 14:02
|
|
133
177
|
*/
|
|
134
178
|
var init = /*#__PURE__*/function () {
|
|
135
|
-
var
|
|
179
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(initProps) {
|
|
136
180
|
var renderType;
|
|
137
|
-
return _regeneratorRuntime().wrap(function
|
|
138
|
-
while (1) switch (
|
|
181
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
182
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
139
183
|
case 0:
|
|
140
184
|
renderType = initProps.renderType;
|
|
141
185
|
setRenderType(renderType !== null && renderType !== void 0 ? renderType : 'modal');
|
|
@@ -155,16 +199,19 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
155
199
|
removePayGroupFromStorage(initProps.order.order_id);
|
|
156
200
|
|
|
157
201
|
// 获取支付列表和钱包
|
|
158
|
-
|
|
202
|
+
_context2.next = 9;
|
|
159
203
|
return _getPaymentsAndWalletPass(initProps.order);
|
|
160
204
|
case 9:
|
|
205
|
+
_context2.next = 11;
|
|
206
|
+
return getWalletSetting(initProps);
|
|
207
|
+
case 11:
|
|
161
208
|
case "end":
|
|
162
|
-
return
|
|
209
|
+
return _context2.stop();
|
|
163
210
|
}
|
|
164
|
-
},
|
|
211
|
+
}, _callee2);
|
|
165
212
|
}));
|
|
166
|
-
return function init(
|
|
167
|
-
return
|
|
213
|
+
return function init(_x2) {
|
|
214
|
+
return _ref2.apply(this, arguments);
|
|
168
215
|
};
|
|
169
216
|
}();
|
|
170
217
|
|
|
@@ -177,21 +224,21 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
177
224
|
* @Date: 2024-08-15 13:51
|
|
178
225
|
*/
|
|
179
226
|
var _getPaymentsAndWalletPass = /*#__PURE__*/function () {
|
|
180
|
-
var
|
|
181
|
-
var _state$payGroup, _paymentListRef$curre, data,
|
|
182
|
-
return _regeneratorRuntime().wrap(function
|
|
183
|
-
while (1) switch (
|
|
227
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(order) {
|
|
228
|
+
var _state$payGroup, _paymentListRef$curre, data, _ref4, _ref4$remain_amount, remain_amount, wallet_pass_recommend_list, wallet_pass_amount, payment_list, walletPass;
|
|
229
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
230
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
184
231
|
case 0:
|
|
185
|
-
|
|
186
|
-
|
|
232
|
+
_context3.prev = 0;
|
|
233
|
+
_context3.next = 3;
|
|
187
234
|
return getPaymentsAndWalletPass({
|
|
188
235
|
order_id: order.order_id,
|
|
189
236
|
total_amount: order.amount,
|
|
190
237
|
sale_channel: order.sale_channel || 'online-store'
|
|
191
238
|
});
|
|
192
239
|
case 3:
|
|
193
|
-
data =
|
|
194
|
-
|
|
240
|
+
data = _context3.sent;
|
|
241
|
+
_ref4 = data || {}, _ref4$remain_amount = _ref4.remain_amount, remain_amount = _ref4$remain_amount === void 0 ? 0 : _ref4$remain_amount, wallet_pass_recommend_list = _ref4.wallet_pass_recommend_list, wallet_pass_amount = _ref4.wallet_pass_amount, payment_list = _ref4.payment_list, walletPass = _ref4.walletPass; // 设置交易组
|
|
195
242
|
dispatch({
|
|
196
243
|
type: 'setPayGroup',
|
|
197
244
|
payload: _objectSpread(_objectSpread({}, state.payGroup), {}, {
|
|
@@ -206,35 +253,35 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
206
253
|
});
|
|
207
254
|
|
|
208
255
|
// 初始化支付列表
|
|
209
|
-
|
|
256
|
+
_context3.next = 8;
|
|
210
257
|
return (_paymentListRef$curre = paymentListRef.current) === null || _paymentListRef$curre === void 0 ? void 0 : _paymentListRef$curre.init(payment_list);
|
|
211
258
|
case 8:
|
|
212
259
|
// 解除loading
|
|
213
260
|
setTimeout(function () {
|
|
214
261
|
setLoading(false);
|
|
215
262
|
}, 100);
|
|
216
|
-
|
|
263
|
+
_context3.next = 15;
|
|
217
264
|
break;
|
|
218
265
|
case 11:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
console.log('err',
|
|
266
|
+
_context3.prev = 11;
|
|
267
|
+
_context3.t0 = _context3["catch"](0);
|
|
268
|
+
console.log('err', _context3.t0);
|
|
222
269
|
payCallback({
|
|
223
270
|
key: 'fail',
|
|
224
271
|
data: {
|
|
225
|
-
err:
|
|
272
|
+
err: _context3.t0,
|
|
226
273
|
order: order,
|
|
227
274
|
fn: '_getPaymentsAndWalletPass'
|
|
228
275
|
}
|
|
229
276
|
});
|
|
230
277
|
case 15:
|
|
231
278
|
case "end":
|
|
232
|
-
return
|
|
279
|
+
return _context3.stop();
|
|
233
280
|
}
|
|
234
|
-
},
|
|
281
|
+
}, _callee3, null, [[0, 11]]);
|
|
235
282
|
}));
|
|
236
|
-
return function _getPaymentsAndWalletPass(
|
|
237
|
-
return
|
|
283
|
+
return function _getPaymentsAndWalletPass(_x3) {
|
|
284
|
+
return _ref3.apply(this, arguments);
|
|
238
285
|
};
|
|
239
286
|
}();
|
|
240
287
|
|
|
@@ -248,16 +295,16 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
248
295
|
* @Date: 2024-08-16 10:46
|
|
249
296
|
*/
|
|
250
297
|
var handlePaymentByType = /*#__PURE__*/function () {
|
|
251
|
-
var
|
|
298
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(type, payGroup) {
|
|
252
299
|
var _paymentMethodsRef$cu, _state$payGroup2;
|
|
253
|
-
return _regeneratorRuntime().wrap(function
|
|
254
|
-
while (1) switch (
|
|
300
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
301
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
255
302
|
case 0:
|
|
256
303
|
// 打开loading
|
|
257
304
|
setSubmitLoading(true);
|
|
258
305
|
|
|
259
306
|
// 根据不同的支付方式, 调用不同的支付方法
|
|
260
|
-
|
|
307
|
+
_context4.next = 3;
|
|
261
308
|
return (_paymentMethodsRef$cu = paymentMethodsRef.current) === null || _paymentMethodsRef$cu === void 0 ? void 0 : _paymentMethodsRef$cu.onPay({
|
|
262
309
|
type: type || ((_state$payGroup2 = state.payGroup) === null || _state$payGroup2 === void 0 || (_state$payGroup2 = _state$payGroup2.otherPayment) === null || _state$payGroup2 === void 0 ? void 0 : _state$payGroup2.service),
|
|
263
310
|
payGroup: payGroup || state.payGroup
|
|
@@ -267,12 +314,12 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
267
314
|
setSubmitLoading(false);
|
|
268
315
|
case 4:
|
|
269
316
|
case "end":
|
|
270
|
-
return
|
|
317
|
+
return _context4.stop();
|
|
271
318
|
}
|
|
272
|
-
},
|
|
319
|
+
}, _callee4);
|
|
273
320
|
}));
|
|
274
|
-
return function handlePaymentByType(
|
|
275
|
-
return
|
|
321
|
+
return function handlePaymentByType(_x4, _x5) {
|
|
322
|
+
return _ref5.apply(this, arguments);
|
|
276
323
|
};
|
|
277
324
|
}();
|
|
278
325
|
|
|
@@ -284,23 +331,23 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
284
331
|
* @Date: 2024-08-15 13:41
|
|
285
332
|
*/
|
|
286
333
|
var paymentInit = /*#__PURE__*/function () {
|
|
287
|
-
var
|
|
334
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(newOrderId) {
|
|
288
335
|
var _state$payGroup3;
|
|
289
336
|
var orderId, _state$payGroup4, data;
|
|
290
|
-
return _regeneratorRuntime().wrap(function
|
|
291
|
-
while (1) switch (
|
|
337
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
338
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
292
339
|
case 0:
|
|
293
340
|
// 默认使用store内的order_id, 如果传入了新的order_id, 则使用新的order_id
|
|
294
341
|
orderId = newOrderId || ((_state$payGroup3 = state.payGroup) === null || _state$payGroup3 === void 0 ? void 0 : _state$payGroup3.order_id);
|
|
295
342
|
setSubmitLoading(true);
|
|
296
|
-
|
|
297
|
-
|
|
343
|
+
_context5.prev = 2;
|
|
344
|
+
_context5.next = 5;
|
|
298
345
|
return getPaymentInit({
|
|
299
346
|
order_id: orderId,
|
|
300
347
|
amount: (_state$payGroup4 = state.payGroup) === null || _state$payGroup4 === void 0 ? void 0 : _state$payGroup4.total_amount
|
|
301
348
|
});
|
|
302
349
|
case 5:
|
|
303
|
-
data =
|
|
350
|
+
data = _context5.sent;
|
|
304
351
|
// 设置交易组
|
|
305
352
|
dispatch({
|
|
306
353
|
type: 'setPayGroup',
|
|
@@ -311,32 +358,32 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
311
358
|
payment_priority: data.payment_priority
|
|
312
359
|
}
|
|
313
360
|
});
|
|
314
|
-
return
|
|
361
|
+
return _context5.abrupt("return", _objectSpread(_objectSpread({}, state.payGroup), {}, {
|
|
315
362
|
order_id: orderId,
|
|
316
363
|
total_amount: data.amount,
|
|
317
364
|
payment_group_id: data.payment_group_id,
|
|
318
365
|
payment_priority: data.payment_priority
|
|
319
366
|
}));
|
|
320
367
|
case 10:
|
|
321
|
-
|
|
322
|
-
|
|
368
|
+
_context5.prev = 10;
|
|
369
|
+
_context5.t0 = _context5["catch"](2);
|
|
323
370
|
setSubmitLoading(false);
|
|
324
371
|
payCallback({
|
|
325
372
|
key: 'fail',
|
|
326
373
|
data: {
|
|
327
|
-
err:
|
|
374
|
+
err: _context5.t0,
|
|
328
375
|
orderId: orderId,
|
|
329
376
|
fn: 'paymentInit'
|
|
330
377
|
}
|
|
331
378
|
});
|
|
332
379
|
case 14:
|
|
333
380
|
case "end":
|
|
334
|
-
return
|
|
381
|
+
return _context5.stop();
|
|
335
382
|
}
|
|
336
|
-
},
|
|
383
|
+
}, _callee5, null, [[2, 10]]);
|
|
337
384
|
}));
|
|
338
|
-
return function paymentInit(
|
|
339
|
-
return
|
|
385
|
+
return function paymentInit(_x6) {
|
|
386
|
+
return _ref6.apply(this, arguments);
|
|
340
387
|
};
|
|
341
388
|
}();
|
|
342
389
|
|
|
@@ -395,25 +442,25 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
395
442
|
* @Date: 2024-08-30 10:23:48
|
|
396
443
|
*/
|
|
397
444
|
var getIsShowDetectIncognitoConfirm = /*#__PURE__*/function () {
|
|
398
|
-
var
|
|
445
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(payGroup) {
|
|
399
446
|
var _yield$detectIncognit, isPrivate;
|
|
400
|
-
return _regeneratorRuntime().wrap(function
|
|
401
|
-
while (1) switch (
|
|
447
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
448
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
402
449
|
case 0:
|
|
403
|
-
|
|
450
|
+
_context6.next = 2;
|
|
404
451
|
return detectIncognito();
|
|
405
452
|
case 2:
|
|
406
|
-
_yield$detectIncognit =
|
|
453
|
+
_yield$detectIncognit = _context6.sent;
|
|
407
454
|
isPrivate = _yield$detectIncognit.isPrivate;
|
|
408
|
-
return
|
|
455
|
+
return _context6.abrupt("return", ((payGroup === null || payGroup === void 0 ? void 0 : payGroup.wait_amount) || 0) > 0 && getIsWalletPassAndTripartitePayment(payGroup) && isPrivate);
|
|
409
456
|
case 5:
|
|
410
457
|
case "end":
|
|
411
|
-
return
|
|
458
|
+
return _context6.stop();
|
|
412
459
|
}
|
|
413
|
-
},
|
|
460
|
+
}, _callee6);
|
|
414
461
|
}));
|
|
415
|
-
return function getIsShowDetectIncognitoConfirm(
|
|
416
|
-
return
|
|
462
|
+
return function getIsShowDetectIncognitoConfirm(_x7) {
|
|
463
|
+
return _ref7.apply(this, arguments);
|
|
417
464
|
};
|
|
418
465
|
}();
|
|
419
466
|
|
|
@@ -425,43 +472,43 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
425
472
|
* @Date: 2024-08-15 13:25
|
|
426
473
|
*/
|
|
427
474
|
var onSubmit = /*#__PURE__*/function () {
|
|
428
|
-
var
|
|
475
|
+
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(newOrderId) {
|
|
429
476
|
var _state$payGroup9;
|
|
430
477
|
var newPayGroup, result;
|
|
431
|
-
return _regeneratorRuntime().wrap(function
|
|
432
|
-
while (1) switch (
|
|
478
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
479
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
433
480
|
case 0:
|
|
434
481
|
newPayGroup = state.payGroup; // 是否要展示无痕模式提示
|
|
435
|
-
|
|
482
|
+
_context7.next = 3;
|
|
436
483
|
return getIsShowDetectIncognitoConfirm(newPayGroup);
|
|
437
484
|
case 3:
|
|
438
|
-
result =
|
|
485
|
+
result = _context7.sent;
|
|
439
486
|
if (!result) {
|
|
440
|
-
|
|
487
|
+
_context7.next = 7;
|
|
441
488
|
break;
|
|
442
489
|
}
|
|
443
490
|
setShowDetectIncognitoConfirm(true);
|
|
444
|
-
return
|
|
491
|
+
return _context7.abrupt("return");
|
|
445
492
|
case 7:
|
|
446
493
|
if ((_state$payGroup9 = state.payGroup) !== null && _state$payGroup9 !== void 0 && _state$payGroup9.payment_group_id) {
|
|
447
|
-
|
|
494
|
+
_context7.next = 11;
|
|
448
495
|
break;
|
|
449
496
|
}
|
|
450
|
-
|
|
497
|
+
_context7.next = 10;
|
|
451
498
|
return paymentInit(newOrderId);
|
|
452
499
|
case 10:
|
|
453
|
-
newPayGroup =
|
|
500
|
+
newPayGroup = _context7.sent;
|
|
454
501
|
case 11:
|
|
455
502
|
// 调用支付
|
|
456
503
|
handlePaymentByType(undefined, newPayGroup);
|
|
457
504
|
case 12:
|
|
458
505
|
case "end":
|
|
459
|
-
return
|
|
506
|
+
return _context7.stop();
|
|
460
507
|
}
|
|
461
|
-
},
|
|
508
|
+
}, _callee7);
|
|
462
509
|
}));
|
|
463
|
-
return function onSubmit(
|
|
464
|
-
return
|
|
510
|
+
return function onSubmit(_x8) {
|
|
511
|
+
return _ref8.apply(this, arguments);
|
|
465
512
|
};
|
|
466
513
|
}();
|
|
467
514
|
|
|
@@ -518,10 +565,10 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
518
565
|
* @Date: 2024-08-09 14:25
|
|
519
566
|
*/
|
|
520
567
|
var payCallback = /*#__PURE__*/function () {
|
|
521
|
-
var
|
|
568
|
+
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(res) {
|
|
522
569
|
var _props$callback;
|
|
523
|
-
return _regeneratorRuntime().wrap(function
|
|
524
|
-
while (1) switch (
|
|
570
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
571
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
525
572
|
case 0:
|
|
526
573
|
// 取消支付,关闭弹窗
|
|
527
574
|
if (res.key === 'cancel') {
|
|
@@ -532,12 +579,12 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
532
579
|
(_props$callback = props.callback) === null || _props$callback === void 0 || _props$callback.call(props, res);
|
|
533
580
|
case 2:
|
|
534
581
|
case "end":
|
|
535
|
-
return
|
|
582
|
+
return _context8.stop();
|
|
536
583
|
}
|
|
537
|
-
},
|
|
584
|
+
}, _callee8);
|
|
538
585
|
}));
|
|
539
|
-
return function payCallback(
|
|
540
|
-
return
|
|
586
|
+
return function payCallback(_x9) {
|
|
587
|
+
return _ref9.apply(this, arguments);
|
|
541
588
|
};
|
|
542
589
|
}();
|
|
543
590
|
|
|
@@ -683,11 +730,11 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
683
730
|
onCancel: function onCancel() {
|
|
684
731
|
setShowDetectIncognitoConfirm(false);
|
|
685
732
|
},
|
|
686
|
-
onOk: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
687
|
-
return _regeneratorRuntime().wrap(function
|
|
688
|
-
while (1) switch (
|
|
733
|
+
onOk: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
734
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
735
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
689
736
|
case 0:
|
|
690
|
-
|
|
737
|
+
_context9.next = 2;
|
|
691
738
|
return copyToClipboard(window.location.href);
|
|
692
739
|
case 2:
|
|
693
740
|
PisellToast({
|
|
@@ -695,9 +742,9 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
695
742
|
});
|
|
696
743
|
case 3:
|
|
697
744
|
case "end":
|
|
698
|
-
return
|
|
745
|
+
return _context9.stop();
|
|
699
746
|
}
|
|
700
|
-
},
|
|
747
|
+
}, _callee9);
|
|
701
748
|
}))
|
|
702
749
|
}), /*#__PURE__*/React.createElement(PisellLoading, {
|
|
703
750
|
loading: loading,
|
|
@@ -710,7 +757,9 @@ var ToCPay = function ToCPay(props, ref) {
|
|
|
710
757
|
}), ((_state$payGroup22 = state.payGroup) === null || _state$payGroup22 === void 0 ? void 0 : _state$payGroup22.walletPass) && /*#__PURE__*/React.createElement(WalletPassBlock, {
|
|
711
758
|
customer_id: customer_id,
|
|
712
759
|
payGroup: state.payGroup,
|
|
713
|
-
onWalletPassChange: onWalletPassChange
|
|
760
|
+
onWalletPassChange: onWalletPassChange,
|
|
761
|
+
ref: walletPassBlockRef,
|
|
762
|
+
walletSetting: state.walletSetting
|
|
714
763
|
}), /*#__PURE__*/React.createElement(PaymentList, {
|
|
715
764
|
ref: paymentListRef,
|
|
716
765
|
handlePayment: function handlePayment(detail) {
|
|
@@ -60,7 +60,7 @@ declare const _default: {
|
|
|
60
60
|
'tocPay.text.scanBarQrCode': string;
|
|
61
61
|
'tocPay.text.enterCodes': string;
|
|
62
62
|
'tocPay.text.searchDescribe': string;
|
|
63
|
-
'tocPay.text.walletPassEmpty': string;
|
|
63
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
64
64
|
'tocPay.text.walletPassDisabled': string;
|
|
65
65
|
'tocPay.text.walletPassPermanent': string;
|
|
66
66
|
'tocPay.text.walletPassCompleteTitle': string;
|
|
@@ -71,6 +71,28 @@ declare const _default: {
|
|
|
71
71
|
'tocPay.text.detectIncognitoConfirm': string;
|
|
72
72
|
'tocPay.text.copyLink': string;
|
|
73
73
|
'tocPay.text.copySuccess': string;
|
|
74
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
75
|
+
'tocPay.text.bestValueFound': string;
|
|
76
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
77
|
+
'tocPay.text.totalSavings': string;
|
|
78
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
79
|
+
'tocPay.text.recommended': string;
|
|
80
|
+
'tocPay.text.edit': string;
|
|
81
|
+
'tocPay.text.confirm': string;
|
|
82
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
83
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
84
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
85
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
86
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
87
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
88
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
89
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
90
|
+
'tocPay.text.addPointsCard': string;
|
|
91
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
92
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
93
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
94
|
+
'tocPay.text.bestValueCombination': string;
|
|
95
|
+
'tocPay.text.viewDetail': string;
|
|
74
96
|
};
|
|
75
97
|
'zh-CN': {
|
|
76
98
|
'tocPay.text.checkout': string;
|
|
@@ -133,7 +155,7 @@ declare const _default: {
|
|
|
133
155
|
'tocPay.text.scanBarQrCode': string;
|
|
134
156
|
'tocPay.text.enterCodes': string;
|
|
135
157
|
'tocPay.text.searchDescribe': string;
|
|
136
|
-
'tocPay.text.walletPassEmpty': string;
|
|
158
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
137
159
|
'tocPay.text.walletPassDisabled': string;
|
|
138
160
|
'tocPay.text.walletPassPermanent': string;
|
|
139
161
|
'tocPay.text.walletPassCompleteTitle': string;
|
|
@@ -143,6 +165,28 @@ declare const _default: {
|
|
|
143
165
|
'tocPay.text.detectIncognitoConfirm': string;
|
|
144
166
|
'tocPay.text.copyLink': string;
|
|
145
167
|
'tocPay.text.copySuccess': string;
|
|
168
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
169
|
+
'tocPay.text.bestValueFound': string;
|
|
170
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
171
|
+
'tocPay.text.totalSavings': string;
|
|
172
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
173
|
+
'tocPay.text.recommended': string;
|
|
174
|
+
'tocPay.text.edit': string;
|
|
175
|
+
'tocPay.text.confirm': string;
|
|
176
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
177
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
178
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
179
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
180
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
181
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
182
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
183
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
184
|
+
'tocPay.text.addPointsCard': string;
|
|
185
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
186
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
187
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
188
|
+
'tocPay.text.bestValueCombination': string;
|
|
189
|
+
'tocPay.text.viewDetail': string;
|
|
146
190
|
};
|
|
147
191
|
'zh-HK': {
|
|
148
192
|
'tocPay.text.checkout': string;
|
|
@@ -205,7 +249,7 @@ declare const _default: {
|
|
|
205
249
|
'tocPay.text.scanBarQrCode': string;
|
|
206
250
|
'tocPay.text.enterCodes': string;
|
|
207
251
|
'tocPay.text.searchDescribe': string;
|
|
208
|
-
'tocPay.text.walletPassEmpty': string;
|
|
252
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
|
209
253
|
'tocPay.text.walletPassDisabled': string;
|
|
210
254
|
'tocPay.text.walletPassPermanent': string;
|
|
211
255
|
'tocPay.text.walletPassCompleteTitle': string;
|
|
@@ -215,6 +259,28 @@ declare const _default: {
|
|
|
215
259
|
'tocPay.text.detectIncognitoConfirm': string;
|
|
216
260
|
'tocPay.text.copyLink': string;
|
|
217
261
|
'tocPay.text.copySuccess': string;
|
|
262
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
|
263
|
+
'tocPay.text.bestValueFound': string;
|
|
264
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
|
265
|
+
'tocPay.text.totalSavings': string;
|
|
266
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
|
267
|
+
'tocPay.text.recommended': string;
|
|
268
|
+
'tocPay.text.edit': string;
|
|
269
|
+
'tocPay.text.confirm': string;
|
|
270
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
|
271
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
|
272
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
|
273
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
|
274
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
|
275
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
|
276
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
|
277
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
|
278
|
+
'tocPay.text.addPointsCard': string;
|
|
279
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
|
280
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
|
281
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
|
282
|
+
'tocPay.text.bestValueCombination': string;
|
|
283
|
+
'tocPay.text.viewDetail': string;
|
|
218
284
|
};
|
|
219
285
|
};
|
|
220
286
|
export default _default;
|