@pisell/private-materials 3.0.75 → 3.0.77
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 +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/booking/addons/index.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +2 -1
- package/es/components/booking/components/footer/amount.d.ts +1 -0
- package/es/components/booking/components/footer/amount.js +18 -2
- package/es/components/booking/components/footer/index.js +7 -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 +2 -1
- 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 +2 -1
- package/es/components/booking/info/service/addService/index.js +2 -2
- package/es/components/booking/locales.d.ts +3 -0
- package/es/components/booking/locales.js +3 -0
- package/es/components/booking/model.d.ts +2 -1
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +2 -1
- package/es/components/booking/payments/index.d.ts +1 -1
- package/es/components/booking/payments/model.d.ts +2 -1
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +2 -1
- package/lib/components/booking/addons/index.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +2 -1
- package/lib/components/booking/components/footer/amount.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.js +11 -2
- package/lib/components/booking/components/footer/index.js +5 -0
- 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 +2 -1
- 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 +2 -1
- package/lib/components/booking/info/service/addService/index.js +13 -1
- package/lib/components/booking/locales.d.ts +3 -0
- package/lib/components/booking/locales.js +3 -0
- package/lib/components/booking/model.d.ts +2 -1
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +2 -1
- package/lib/components/booking/payments/index.d.ts +1 -1
- package/lib/components/booking/payments/model.d.ts +2 -1
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -263,6 +263,15 @@ var getShopDiscount = function getShopDiscount(state) {
|
|
|
263
263
|
var _state$bookingDetail8;
|
|
264
264
|
return Number((_state$bookingDetail8 = state.bookingDetail) === null || _state$bookingDetail8 === void 0 ? void 0 : _state$bookingDetail8.shop_discount) || 0;
|
|
265
265
|
};
|
|
266
|
+
var getRoundingAmount = function getRoundingAmount(state) {
|
|
267
|
+
var _state$bookingDetail9;
|
|
268
|
+
return Number(state === null || state === void 0 ? void 0 : (_state$bookingDetail9 = state.bookingDetail) === null || _state$bookingDetail9 === void 0 ? void 0 : _state$bookingDetail9.rounding_amount) || 0;
|
|
269
|
+
};
|
|
270
|
+
var getSumTotalAmount = function getSumTotalAmount(_ref2) {
|
|
271
|
+
var expectAmount = _ref2.expectAmount,
|
|
272
|
+
roundingAmount = _ref2.roundingAmount;
|
|
273
|
+
return expectAmount + roundingAmount;
|
|
274
|
+
};
|
|
266
275
|
|
|
267
276
|
/**
|
|
268
277
|
* 总金额
|
|
@@ -275,6 +284,9 @@ export var getSumTotal = function getSumTotal(state, isEdit) {
|
|
|
275
284
|
price = _getProductAmount.price,
|
|
276
285
|
duration = _getProductAmount.duration;
|
|
277
286
|
|
|
287
|
+
// 舍入金额
|
|
288
|
+
var roundingAmount = getRoundingAmount(state);
|
|
289
|
+
|
|
278
290
|
// 税费
|
|
279
291
|
var tax = getTax(state, isEdit);
|
|
280
292
|
|
|
@@ -307,7 +319,10 @@ export var getSumTotal = function getSumTotal(state, isEdit) {
|
|
|
307
319
|
});
|
|
308
320
|
|
|
309
321
|
// 总支付金额 总计
|
|
310
|
-
var sumTotalAmount =
|
|
322
|
+
var sumTotalAmount = getSumTotalAmount({
|
|
323
|
+
expectAmount: expectAmount,
|
|
324
|
+
roundingAmount: roundingAmount
|
|
325
|
+
});
|
|
311
326
|
|
|
312
327
|
// 未支付的金额 负数代表着欠款
|
|
313
328
|
var notPaidAmount = Number(formatAmount(sumTotalAmount, 2, '')) - orderPaidAmount;
|
|
@@ -332,6 +347,7 @@ export var getSumTotal = function getSumTotal(state, isEdit) {
|
|
|
332
347
|
actualPaidAmount: actualPaidAmount,
|
|
333
348
|
orderPaidAmount: orderPaidAmount,
|
|
334
349
|
totalRefundAmount: totalRefundAmount,
|
|
335
|
-
dueAmount: dueAmount
|
|
350
|
+
dueAmount: dueAmount,
|
|
351
|
+
roundingAmount: roundingAmount
|
|
336
352
|
};
|
|
337
353
|
};
|
|
@@ -1083,7 +1083,13 @@ var Footer = function Footer(props) {
|
|
|
1083
1083
|
className: "order-total-item-label order-total-item-label-bold"
|
|
1084
1084
|
}, locales.getText("pisell1.text.total")), /*#__PURE__*/React.createElement("span", {
|
|
1085
1085
|
className: "order-total-item-value"
|
|
1086
|
-
}, formatAmount(total.expectAmount, 2, (state === null || state === void 0 ? void 0 : state.amountSymbol) || "$"))),
|
|
1086
|
+
}, formatAmount(total.expectAmount, 2, (state === null || state === void 0 ? void 0 : state.amountSymbol) || "$"))), !!total.roundingAmount && /*#__PURE__*/React.createElement("div", {
|
|
1087
|
+
className: "order-total-item"
|
|
1088
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1089
|
+
className: "order-total-item-label"
|
|
1090
|
+
}, locales.getText('pisell1.text.rounding')), /*#__PURE__*/React.createElement("span", {
|
|
1091
|
+
className: "order-total-item-value"
|
|
1092
|
+
}, formatAmount(total.roundingAmount, 2, (state === null || state === void 0 ? void 0 : state.amountSymbol) || "$"))), state.bookingId ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1087
1093
|
className: "order-total-item-border"
|
|
1088
1094
|
}), /*#__PURE__*/React.createElement("div", {
|
|
1089
1095
|
className: "order-total-item"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Booking: (props: any) =>
|
|
1
|
+
declare const Booking: (props: any) => any;
|
|
2
2
|
export default Booking;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
3
|
export declare const walkInData: {
|
|
3
4
|
id: number;
|
|
4
5
|
nickname: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
7
8
|
state: FormState;
|
|
8
9
|
} & {
|
|
9
10
|
dispatch: (params: {
|
|
@@ -32,7 +32,7 @@ import { getProductExtend } from "./utils";
|
|
|
32
32
|
import { formatProductListByCategory, getProductTotalPrice, request } from "../../../utils";
|
|
33
33
|
import { locales, getUniqueId } from "@pisell/utils";
|
|
34
34
|
import { useUpdateEffect } from "ahooks";
|
|
35
|
-
var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087, 6303, 6080];
|
|
35
|
+
var shopList = [2886, 4422, 5538, 6930, 6814, 6813, 6812, 6087, 6303, 6080, 6978];
|
|
36
36
|
var Info = function Info() {
|
|
37
37
|
var _state$service3, _state$service5, _state$service6, _state$service6$cache;
|
|
38
38
|
var _useState = useState(""),
|
|
@@ -247,7 +247,7 @@ var Info = function Info() {
|
|
|
247
247
|
cacheItem: cacheItem,
|
|
248
248
|
state: state
|
|
249
249
|
});
|
|
250
|
-
if (state.renderType ===
|
|
250
|
+
if (state.renderType === "eventBooking") {
|
|
251
251
|
cacheItem.autoClose = false;
|
|
252
252
|
} else {
|
|
253
253
|
var _state$service;
|
|
@@ -96,6 +96,7 @@ declare const _default: {
|
|
|
96
96
|
'pisell1.text.subtotal': string;
|
|
97
97
|
'pisell1.text.tax': string;
|
|
98
98
|
'pisell1.text.total': string;
|
|
99
|
+
'pisell1.text.rounding': string;
|
|
99
100
|
'pisell1.text.payment-fee': string;
|
|
100
101
|
'pisell1.text.tomorrow': string;
|
|
101
102
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
|
@@ -259,6 +260,7 @@ declare const _default: {
|
|
|
259
260
|
'pisell1.text.subtotal': string;
|
|
260
261
|
'pisell1.text.tax': string;
|
|
261
262
|
'pisell1.text.total': string;
|
|
263
|
+
'pisell1.text.rounding': string;
|
|
262
264
|
'pisell1.text.payment-fee': string;
|
|
263
265
|
'pisell1.text.tomorrow': string;
|
|
264
266
|
'pisell1.text.no-addons': string;
|
|
@@ -417,6 +419,7 @@ declare const _default: {
|
|
|
417
419
|
'pisell1.text.subtotal': string;
|
|
418
420
|
'pisell1.text.tax': string;
|
|
419
421
|
'pisell1.text.total': string;
|
|
422
|
+
'pisell1.text.rounding': string;
|
|
420
423
|
'pisell1.text.payment-fee': string;
|
|
421
424
|
'pisell1.text.tomorrow': string;
|
|
422
425
|
'pisell1.text.no-addons': string;
|
|
@@ -105,6 +105,7 @@ export default {
|
|
|
105
105
|
'pisell1.text.subtotal': 'Subtotal',
|
|
106
106
|
'pisell1.text.tax': 'Tax',
|
|
107
107
|
'pisell1.text.total': 'Total',
|
|
108
|
+
'pisell1.text.rounding': 'Rounding',
|
|
108
109
|
'pisell1.text.payment-fee': 'Payment fee',
|
|
109
110
|
'pisell1.text.tomorrow': 'Tomorrow ',
|
|
110
111
|
'pisell1.text.resource-error-message-1': function pisell1TextResourceErrorMessage1(x, y) {
|
|
@@ -288,6 +289,7 @@ export default {
|
|
|
288
289
|
'pisell1.text.subtotal': '小计',
|
|
289
290
|
'pisell1.text.tax': '税费',
|
|
290
291
|
'pisell1.text.total': '总计',
|
|
292
|
+
'pisell1.text.rounding': '舍入',
|
|
291
293
|
'pisell1.text.payment-fee': '支付手续费',
|
|
292
294
|
'pisell1.text.tomorrow': '明天',
|
|
293
295
|
'pisell1.text.no-addons': '没有添加商品',
|
|
@@ -466,6 +468,7 @@ export default {
|
|
|
466
468
|
'pisell1.text.subtotal': '小計',
|
|
467
469
|
'pisell1.text.tax': '稅費',
|
|
468
470
|
'pisell1.text.total': '總計',
|
|
471
|
+
'pisell1.text.rounding': '舍入',
|
|
469
472
|
'pisell1.text.payment-fee': '支付手續費',
|
|
470
473
|
'pisell1.text.tomorrow': '明天',
|
|
471
474
|
'pisell1.text.no-addons': '没有添加商品',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -93,7 +94,7 @@ export declare const walkInData: {
|
|
|
93
94
|
id: number;
|
|
94
95
|
nickname: string;
|
|
95
96
|
};
|
|
96
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
97
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
97
98
|
state: FormState;
|
|
98
99
|
} & {
|
|
99
100
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,7 +69,7 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
72
73
|
state: FormState;
|
|
73
74
|
} & {
|
|
74
75
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -154,8 +154,16 @@ var getShopDiscount = (state) => {
|
|
|
154
154
|
var _a;
|
|
155
155
|
return Number((_a = state.bookingDetail) == null ? void 0 : _a.shop_discount) || 0;
|
|
156
156
|
};
|
|
157
|
+
var getRoundingAmount = (state) => {
|
|
158
|
+
var _a;
|
|
159
|
+
return Number((_a = state == null ? void 0 : state.bookingDetail) == null ? void 0 : _a.rounding_amount) || 0;
|
|
160
|
+
};
|
|
161
|
+
var getSumTotalAmount = ({ expectAmount, roundingAmount }) => {
|
|
162
|
+
return expectAmount + roundingAmount;
|
|
163
|
+
};
|
|
157
164
|
var getSumTotal = (state, isEdit) => {
|
|
158
165
|
const { price, duration } = getProductAmount(state, isEdit);
|
|
166
|
+
const roundingAmount = getRoundingAmount(state);
|
|
159
167
|
const tax = getTax(state, isEdit);
|
|
160
168
|
const paySurchargeFee = getPaySurchargeFee(state);
|
|
161
169
|
const otherAmount = getOtherAmount(state);
|
|
@@ -164,7 +172,7 @@ var getSumTotal = (state, isEdit) => {
|
|
|
164
172
|
const totalRefundAmount = getTotalRefundAmount(state);
|
|
165
173
|
const shopDiscount = getShopDiscount(state);
|
|
166
174
|
const expectAmount = getExpectAmount({ price, tax, otherAmount, shopDiscount, state, isEdit });
|
|
167
|
-
const sumTotalAmount = expectAmount;
|
|
175
|
+
const sumTotalAmount = getSumTotalAmount({ expectAmount, roundingAmount });
|
|
168
176
|
const notPaidAmount = Number((0, import_utils2.formatAmount)(sumTotalAmount, 2, "")) - orderPaidAmount;
|
|
169
177
|
const actualPaidAmount = paidAmount;
|
|
170
178
|
const dueAmount = notPaidAmount < 0 ? Number((0, import_utils2.formatAmount)(notPaidAmount + totalRefundAmount, 2, "")) : 0;
|
|
@@ -183,7 +191,8 @@ var getSumTotal = (state, isEdit) => {
|
|
|
183
191
|
actualPaidAmount,
|
|
184
192
|
orderPaidAmount,
|
|
185
193
|
totalRefundAmount,
|
|
186
|
-
dueAmount
|
|
194
|
+
dueAmount,
|
|
195
|
+
roundingAmount
|
|
187
196
|
};
|
|
188
197
|
};
|
|
189
198
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -734,6 +734,11 @@ var Footer = (props) => {
|
|
|
734
734
|
state.bookingId ? /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item-label" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, import_utils.locales.getText("pisell1.text.tax")), /* @__PURE__ */ import_react.default.createElement("div", { className: "", style: { fontSize: 14 } }, taxText)), /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-value" }, (0, import_utils.formatAmount)(total.tax, 2, (state == null ? void 0 : state.amountSymbol) || "$"))) : null,
|
|
735
735
|
state.bookingId ? /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item-label" }, import_utils.locales.getText("pisell2.text.order-discount")), /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-value" }, (0, import_utils.formatAmount)(total.shopDiscount, 2, (state == null ? void 0 : state.amountSymbol) || "$"))) : null,
|
|
736
736
|
/* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-label order-total-item-label-bold" }, import_utils.locales.getText("pisell1.text.total")), /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-value" }, (0, import_utils.formatAmount)(total.expectAmount, 2, (state == null ? void 0 : state.amountSymbol) || "$"))),
|
|
737
|
+
!!total.roundingAmount && /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-label" }, import_utils.locales.getText("pisell1.text.rounding")), /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-value" }, (0, import_utils.formatAmount)(
|
|
738
|
+
total.roundingAmount,
|
|
739
|
+
2,
|
|
740
|
+
(state == null ? void 0 : state.amountSymbol) || "$"
|
|
741
|
+
))),
|
|
737
742
|
state.bookingId ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item-border" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "order-total-item" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-label order-total-item-label-bold" }, import_utils.locales.getText("pisell2.text.amount-paid-on-order")), /* @__PURE__ */ import_react.default.createElement("span", { className: "order-total-item-value" }, (0, import_utils.formatAmount)(
|
|
738
743
|
total.orderPaidAmount,
|
|
739
744
|
2,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Booking: (props: any) =>
|
|
1
|
+
declare const Booking: (props: any) => any;
|
|
2
2
|
export default Booking;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
3
|
export declare const walkInData: {
|
|
3
4
|
id: number;
|
|
4
5
|
nickname: string;
|
|
5
6
|
};
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
7
8
|
state: FormState;
|
|
8
9
|
} & {
|
|
9
10
|
dispatch: (params: {
|
|
@@ -47,7 +47,19 @@ var import_utils2 = require("./utils");
|
|
|
47
47
|
var import_utils3 = require("../../../utils");
|
|
48
48
|
var import_utils4 = require("@pisell/utils");
|
|
49
49
|
var import_ahooks = require("ahooks");
|
|
50
|
-
var shopList = [
|
|
50
|
+
var shopList = [
|
|
51
|
+
2886,
|
|
52
|
+
4422,
|
|
53
|
+
5538,
|
|
54
|
+
6930,
|
|
55
|
+
6814,
|
|
56
|
+
6813,
|
|
57
|
+
6812,
|
|
58
|
+
6087,
|
|
59
|
+
6303,
|
|
60
|
+
6080,
|
|
61
|
+
6978
|
|
62
|
+
];
|
|
51
63
|
var Info = () => {
|
|
52
64
|
var _a, _b, _c, _d;
|
|
53
65
|
const [search, setSearch] = (0, import_react.useState)("");
|
|
@@ -96,6 +96,7 @@ declare const _default: {
|
|
|
96
96
|
'pisell1.text.subtotal': string;
|
|
97
97
|
'pisell1.text.tax': string;
|
|
98
98
|
'pisell1.text.total': string;
|
|
99
|
+
'pisell1.text.rounding': string;
|
|
99
100
|
'pisell1.text.payment-fee': string;
|
|
100
101
|
'pisell1.text.tomorrow': string;
|
|
101
102
|
'pisell1.text.resource-error-message-1': (x: string, y: string) => string;
|
|
@@ -259,6 +260,7 @@ declare const _default: {
|
|
|
259
260
|
'pisell1.text.subtotal': string;
|
|
260
261
|
'pisell1.text.tax': string;
|
|
261
262
|
'pisell1.text.total': string;
|
|
263
|
+
'pisell1.text.rounding': string;
|
|
262
264
|
'pisell1.text.payment-fee': string;
|
|
263
265
|
'pisell1.text.tomorrow': string;
|
|
264
266
|
'pisell1.text.no-addons': string;
|
|
@@ -417,6 +419,7 @@ declare const _default: {
|
|
|
417
419
|
'pisell1.text.subtotal': string;
|
|
418
420
|
'pisell1.text.tax': string;
|
|
419
421
|
'pisell1.text.total': string;
|
|
422
|
+
'pisell1.text.rounding': string;
|
|
420
423
|
'pisell1.text.payment-fee': string;
|
|
421
424
|
'pisell1.text.tomorrow': string;
|
|
422
425
|
'pisell1.text.no-addons': string;
|
|
@@ -129,6 +129,7 @@ var locales_default = {
|
|
|
129
129
|
"pisell1.text.subtotal": "Subtotal",
|
|
130
130
|
"pisell1.text.tax": "Tax",
|
|
131
131
|
"pisell1.text.total": "Total",
|
|
132
|
+
"pisell1.text.rounding": "Rounding",
|
|
132
133
|
"pisell1.text.payment-fee": "Payment fee",
|
|
133
134
|
"pisell1.text.tomorrow": "Tomorrow ",
|
|
134
135
|
"pisell1.text.resource-error-message-1": (x, y) => `${x} doesn't provide ${y}, but your team member can still book appointments.`,
|
|
@@ -306,6 +307,7 @@ var locales_default = {
|
|
|
306
307
|
"pisell1.text.subtotal": "小计",
|
|
307
308
|
"pisell1.text.tax": "税费",
|
|
308
309
|
"pisell1.text.total": "总计",
|
|
310
|
+
"pisell1.text.rounding": "舍入",
|
|
309
311
|
"pisell1.text.payment-fee": "支付手续费",
|
|
310
312
|
"pisell1.text.tomorrow": "明天",
|
|
311
313
|
"pisell1.text.no-addons": "没有添加商品",
|
|
@@ -478,6 +480,7 @@ var locales_default = {
|
|
|
478
480
|
"pisell1.text.subtotal": "小計",
|
|
479
481
|
"pisell1.text.tax": "稅費",
|
|
480
482
|
"pisell1.text.total": "總計",
|
|
483
|
+
"pisell1.text.rounding": "舍入",
|
|
481
484
|
"pisell1.text.payment-fee": "支付手續費",
|
|
482
485
|
"pisell1.text.tomorrow": "明天",
|
|
483
486
|
"pisell1.text.no-addons": "没有添加商品",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -93,7 +94,7 @@ export declare const walkInData: {
|
|
|
93
94
|
id: number;
|
|
94
95
|
nickname: string;
|
|
95
96
|
};
|
|
96
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
97
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
97
98
|
state: FormState;
|
|
98
99
|
} & {
|
|
99
100
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FormState } from "../model";
|
|
2
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
3
4
|
state: FormState;
|
|
4
5
|
} & {
|
|
5
6
|
dispatch: (params: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,7 +69,7 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => any, Context: import("react").Context<{
|
|
72
73
|
state: FormState;
|
|
73
74
|
} & {
|
|
74
75
|
dispatch: (params: {
|