@pisell/private-materials 6.6.49 → 6.6.50
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
- package/es/components/booking/addons/index.js +3 -2
- package/es/components/booking/components/footer/amount.js +1 -1
- package/es/components/booking/components/footer/index.js +7 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +7 -5
- package/es/components/booking/components/voucher/index.js +6 -0
- package/es/components/booking/components/voucher/index.less +4 -1
- package/es/components/booking/components/voucherModal/index.less +1 -0
- package/es/components/booking/info2/service/editService/index.js +9 -3
- package/es/components/checkout/components/WalletPassModule/index.js +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +316 -192
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/es/components/pay/toC/index.js +66 -27
- package/es/components/pay/toC/model.d.ts +1 -0
- package/es/components/pay/toC/serve.d.ts +18 -0
- package/es/components/pay/toC/serve.js +29 -1
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +4 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
- package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
- package/lib/components/booking/addons/index.js +3 -2
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +9 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +5 -3
- package/lib/components/booking/components/voucher/index.js +6 -0
- package/lib/components/booking/components/voucher/index.less +4 -1
- package/lib/components/booking/components/voucherModal/index.less +1 -0
- package/lib/components/booking/info2/service/editService/index.js +25 -19
- package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +157 -108
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/lib/components/pay/toC/index.js +52 -11
- package/lib/components/pay/toC/model.d.ts +1 -0
- package/lib/components/pay/toC/serve.d.ts +18 -0
- package/lib/components/pay/toC/serve.js +6 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +4 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
- package/package.json +1 -1
|
@@ -61,12 +61,13 @@ var import_EditTabs = __toESM(require("../../../info/service/editService/EditTab
|
|
|
61
61
|
var import_BookingList = __toESM(require("../../../info/service/editService/BookingList"));
|
|
62
62
|
var import_dayjs = __toESM(require("dayjs"));
|
|
63
63
|
var import_utils9 = require("../../../info/service2/Group/utils");
|
|
64
|
+
var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
|
|
64
65
|
var import_useShopDiscountModule = require("../../../../ticketBooking/hooks/pisellos/useShopDiscountModule");
|
|
65
66
|
var import_DiscountChangeModal = __toESM(require("./DiscountChangeModal"));
|
|
66
67
|
var import_decimal = __toESM(require("decimal.js"));
|
|
67
68
|
var submitLock = false;
|
|
68
69
|
var Info = (_, ref) => {
|
|
69
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K;
|
|
70
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L;
|
|
70
71
|
const [form] = import_antd.Form.useForm();
|
|
71
72
|
const useTotal = import_antd.Form.useWatch("total", form);
|
|
72
73
|
const useResource = import_antd.Form.useWatch("resource", form);
|
|
@@ -85,6 +86,10 @@ var Info = (_, ref) => {
|
|
|
85
86
|
const [noteModalOpen, setNoteModalOpen] = (0, import_react.useState)(false);
|
|
86
87
|
const [open, setOpen] = (0, import_react.useState)(false);
|
|
87
88
|
const [currentTab, setCurrentTab] = (0, import_react.useState)("batch_edit");
|
|
89
|
+
const context = (0, import_useEngineContext.default)();
|
|
90
|
+
const {
|
|
91
|
+
getData
|
|
92
|
+
} = (_a = context.appHelper) == null ? void 0 : _a.utils;
|
|
88
93
|
const valuesRef = (0, import_react.useRef)({});
|
|
89
94
|
const noInOriginalDiscountIdsRef = (0, import_react.useRef)([]);
|
|
90
95
|
const isEditedRef = (0, import_react.useRef)(false);
|
|
@@ -102,7 +107,7 @@ var Info = (_, ref) => {
|
|
|
102
107
|
return true;
|
|
103
108
|
}
|
|
104
109
|
return ((_b2 = state == null ? void 0 : state.service) == null ? void 0 : _b2.cacheItem) && (0, import_utils4.isNormalProductByDurationSchedule)((_c2 = state == null ? void 0 : state.service) == null ? void 0 : _c2.cacheItem);
|
|
105
|
-
}, [(
|
|
110
|
+
}, [(_b = state == null ? void 0 : state.service) == null ? void 0 : _b.cacheItem]);
|
|
106
111
|
const getCurrentCacheItem = (0, import_ahooks.useMemoizedFn)((_cacheItem) => {
|
|
107
112
|
let values = form.getFieldsValue();
|
|
108
113
|
let _item = _cacheItem || state.service.cacheItem;
|
|
@@ -132,7 +137,7 @@ var Info = (_, ref) => {
|
|
|
132
137
|
state.service.cacheItem,
|
|
133
138
|
useStartTime,
|
|
134
139
|
useResource,
|
|
135
|
-
(
|
|
140
|
+
(_e = (_d = (_c = state.bookingConfig) == null ? void 0 : _c.config) == null ? void 0 : _d.basic) == null ? void 0 : _e.service_time
|
|
136
141
|
]);
|
|
137
142
|
const flexibleOption = (0, import_react.useMemo)(() => {
|
|
138
143
|
const op = (0, import_utils7.getFlexibleOption)({
|
|
@@ -154,7 +159,7 @@ var Info = (_, ref) => {
|
|
|
154
159
|
durationProps,
|
|
155
160
|
useStartTime,
|
|
156
161
|
currentResource,
|
|
157
|
-
(
|
|
162
|
+
(_h = (_g = (_f = state.bookingConfig) == null ? void 0 : _f.config) == null ? void 0 : _g.basic) == null ? void 0 : _h.service_time,
|
|
158
163
|
useDuration
|
|
159
164
|
]);
|
|
160
165
|
(0, import_react.useEffect)(() => {
|
|
@@ -251,6 +256,7 @@ var Info = (_, ref) => {
|
|
|
251
256
|
}, 1500);
|
|
252
257
|
let _list = [...state.service.value];
|
|
253
258
|
let _item = {
|
|
259
|
+
is_price_include_tax: getData("is_price_include_tax"),
|
|
254
260
|
...cacheItem ?? state.service.cacheItem,
|
|
255
261
|
autoClose: false
|
|
256
262
|
};
|
|
@@ -288,7 +294,7 @@ var Info = (_, ref) => {
|
|
|
288
294
|
const mainProductQuantity = ((_d2 = _extend.other) == null ? void 0 : _d2.quantity) || _extend.quantity || 1;
|
|
289
295
|
_extend.main_product_selling_price = mainProductTotal.div(mainProductQuantity).toNumber();
|
|
290
296
|
}
|
|
291
|
-
if (
|
|
297
|
+
if (_extend.bundle_edit !== void 0 || (cacheItem == null ? void 0 : cacheItem.edit)) {
|
|
292
298
|
_extend.bundle_edit = 1;
|
|
293
299
|
}
|
|
294
300
|
_item._extend = _extend;
|
|
@@ -430,7 +436,7 @@ var Info = (_, ref) => {
|
|
|
430
436
|
let oPrice = Number(((_a2 = state.service.cacheItem) == null ? void 0 : _a2._extend.origin_total) || 0);
|
|
431
437
|
let cPrice = Number(useTotal || 0);
|
|
432
438
|
return cPrice !== oPrice;
|
|
433
|
-
}, [useTotal, (
|
|
439
|
+
}, [useTotal, (_j = (_i = state.service.cacheItem) == null ? void 0 : _i._extend) == null ? void 0 : _j.origin_total]);
|
|
434
440
|
const getResources = () => {
|
|
435
441
|
var _a2, _b2;
|
|
436
442
|
let res = (0, import_utils7.formatResources)({
|
|
@@ -494,11 +500,11 @@ var Info = (_, ref) => {
|
|
|
494
500
|
}, [state.service.editModal, state.isBookingCreatePage]);
|
|
495
501
|
(0, import_react.useEffect)(() => {
|
|
496
502
|
getDiscount();
|
|
497
|
-
}, [useTotal, (
|
|
503
|
+
}, [useTotal, (_l = (_k = state.service.cacheItem) == null ? void 0 : _k._extend) == null ? void 0 : _l.origin_total]);
|
|
498
504
|
const bundles = (0, import_react.useMemo)(() => {
|
|
499
505
|
var _a2, _b2, _c2, _d2;
|
|
500
506
|
return ((_d2 = (_c2 = (_b2 = (_a2 = state.service) == null ? void 0 : _a2.cacheItem) == null ? void 0 : _b2._extend) == null ? void 0 : _c2.other) == null ? void 0 : _d2.bundle) || [];
|
|
501
|
-
}, [(
|
|
507
|
+
}, [(_p = (_o = (_n = (_m = state.service) == null ? void 0 : _m.cacheItem) == null ? void 0 : _n._extend) == null ? void 0 : _o.other) == null ? void 0 : _p.bundle]);
|
|
502
508
|
const handleEdit = (0, import_ahooks.useMemoizedFn)((e) => {
|
|
503
509
|
var _a2, _b2, _c2, _d2, _e2;
|
|
504
510
|
const item = state.service.cacheItem;
|
|
@@ -629,7 +635,7 @@ var Info = (_, ref) => {
|
|
|
629
635
|
}
|
|
630
636
|
return false;
|
|
631
637
|
}, [state.renderType, isNormalProduct]);
|
|
632
|
-
const SelectTime = (
|
|
638
|
+
const SelectTime = (_q = window.BaseMaterials) == null ? void 0 : _q.SelectTime;
|
|
633
639
|
const isNoSpecAndPackage = (0, import_utilsByBooking.getIsNoSpecAndPackage)(state.service.cacheItem);
|
|
634
640
|
const items = (0, import_react.useMemo)(() => {
|
|
635
641
|
var _a2, _b2;
|
|
@@ -666,7 +672,7 @@ var Info = (_, ref) => {
|
|
|
666
672
|
}
|
|
667
673
|
))));
|
|
668
674
|
}, [
|
|
669
|
-
(
|
|
675
|
+
(_t = (_s = (_r = state.service) == null ? void 0 : _r.cacheItem) == null ? void 0 : _s._extend) == null ? void 0 : _t.product_name,
|
|
670
676
|
bundles,
|
|
671
677
|
state.amountSymbol,
|
|
672
678
|
state.isBookingCreatePage
|
|
@@ -711,7 +717,7 @@ var Info = (_, ref) => {
|
|
|
711
717
|
));
|
|
712
718
|
}, [
|
|
713
719
|
useTotal,
|
|
714
|
-
(
|
|
720
|
+
(_v = (_u = state.service.cacheItem) == null ? void 0 : _u._extend) == null ? void 0 : _v.origin_total,
|
|
715
721
|
state.amountSymbol,
|
|
716
722
|
state.channelDisabledEdit
|
|
717
723
|
]);
|
|
@@ -759,7 +765,7 @@ var Info = (_, ref) => {
|
|
|
759
765
|
}
|
|
760
766
|
) : null
|
|
761
767
|
));
|
|
762
|
-
}, [SelectTime, (
|
|
768
|
+
}, [SelectTime, (_z = (_y = (_x = (_w = state.bookingConfig) == null ? void 0 : _w.config) == null ? void 0 : _x.basic) == null ? void 0 : _y.service_time) == null ? void 0 : _z.value, isEditGroup]);
|
|
763
769
|
const endTime = (0, import_react.useMemo)(() => {
|
|
764
770
|
if (!isEditGroup) {
|
|
765
771
|
return null;
|
|
@@ -798,8 +804,8 @@ var Info = (_, ref) => {
|
|
|
798
804
|
));
|
|
799
805
|
}, [
|
|
800
806
|
state.renderType,
|
|
801
|
-
(
|
|
802
|
-
(
|
|
807
|
+
(_B = (_A = state.service.cacheItem) == null ? void 0 : _A._data) == null ? void 0 : _B.resources,
|
|
808
|
+
(_D = (_C = state.service.cacheItem) == null ? void 0 : _C._data) == null ? void 0 : _D.resourceMaps
|
|
803
809
|
]);
|
|
804
810
|
const holder = (0, import_react.useMemo)(() => {
|
|
805
811
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
@@ -837,7 +843,7 @@ var Info = (_, ref) => {
|
|
|
837
843
|
}, [
|
|
838
844
|
state.locale,
|
|
839
845
|
state.isTerminal,
|
|
840
|
-
(
|
|
846
|
+
(_G = (_F = (_E = state.service) == null ? void 0 : _E.cacheItem) == null ? void 0 : _F._data) == null ? void 0 : _G.capacitys
|
|
841
847
|
]);
|
|
842
848
|
const hiddenQuantity = (0, import_react.useMemo)(() => {
|
|
843
849
|
return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { hidden: true, name: "quantity" }, /* @__PURE__ */ import_react.default.createElement(import_antd.InputNumber, null));
|
|
@@ -917,10 +923,10 @@ var Info = (_, ref) => {
|
|
|
917
923
|
import_utils.locales.getText("pisell2.text.apply")
|
|
918
924
|
)
|
|
919
925
|
);
|
|
920
|
-
}, [(
|
|
926
|
+
}, [(_H = state.service.resourcesOrigin) == null ? void 0 : _H.length, isNormalProduct]);
|
|
921
927
|
console.log("render edit");
|
|
922
928
|
console.log(
|
|
923
|
-
state.service.editModal && !((
|
|
929
|
+
state.service.editModal && !((_I = state.service.cacheItem) == null ? void 0 : _I.autoClose),
|
|
924
930
|
performance.now() - window.pp1,
|
|
925
931
|
"打开商品1"
|
|
926
932
|
);
|
|
@@ -1055,7 +1061,7 @@ var Info = (_, ref) => {
|
|
|
1055
1061
|
zIndex: state.service.changeService ? 999 : 1e3,
|
|
1056
1062
|
forceRender: true,
|
|
1057
1063
|
mask: state.drawerMask,
|
|
1058
|
-
open: !isNoSpecAndPackage && state.service.editModal && !((
|
|
1064
|
+
open: !isNoSpecAndPackage && state.service.editModal && !((_J = state.service.cacheItem) == null ? void 0 : _J.autoClose),
|
|
1059
1065
|
title: import_utils.locales.getText("pisell2.text.edit-service"),
|
|
1060
1066
|
onClose: () => {
|
|
1061
1067
|
var _a2;
|
|
@@ -1081,7 +1087,7 @@ var Info = (_, ref) => {
|
|
|
1081
1087
|
display: currentTab === "batch_edit" ? "block" : "none"
|
|
1082
1088
|
}
|
|
1083
1089
|
},
|
|
1084
|
-
/* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, endTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity, !(0, import_utils4.isNormalProductByDurationSchedule)(state.service.cacheItem) && !(0, import_utils6.isWalkIn)((
|
|
1090
|
+
/* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, endTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity, !(0, import_utils4.isNormalProductByDurationSchedule)(state.service.cacheItem) && !(0, import_utils6.isWalkIn)((_L = (_K = state.client) == null ? void 0 : _K.value) == null ? void 0 : _L.id) && holder),
|
|
1085
1091
|
/* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { noStyle: true, name: "note" }, noteModalOpen && /* @__PURE__ */ import_react.default.createElement(
|
|
1086
1092
|
import_noteModal.default,
|
|
1087
1093
|
{
|
|
@@ -68,6 +68,7 @@ var WalletPassModule = (0, import_react.forwardRef)(
|
|
|
68
68
|
} = (0, import_useWalletPass.useWalletPass)({
|
|
69
69
|
onSelectChange,
|
|
70
70
|
customAmount,
|
|
71
|
+
totalAmount: Number(orderInfo == null ? void 0 : orderInfo.totalAmount) || 0,
|
|
71
72
|
clientId
|
|
72
73
|
});
|
|
73
74
|
const [expiredModalVisible, setExpiredModalVisible] = (0, import_react.useState)(false);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare type WalletPassDataType = Record<string, any>;
|
|
2
2
|
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => any;
|
|
3
3
|
export declare const voucherTime: (data: WalletPassDataType, key?: string) => any;
|
|
4
|
+
export declare const getVoucherAvailableStatus: (item: any) => boolean;
|
|
4
5
|
export declare const formatMachineCodeServer2CardList: (data: WalletPassDataType[], selectId?: number[], otherProps?: Record<string, any>) => any;
|
|
5
6
|
export declare const formatDiscountWalletData: (data: any, selectId?: number[]) => any;
|
|
6
7
|
export interface WalletPassUsageUnit {
|
|
@@ -33,6 +33,7 @@ __export(utils_exports, {
|
|
|
33
33
|
formatMachineCodeServer2CardList: () => formatMachineCodeServer2CardList,
|
|
34
34
|
getAvailableMaxAmount: () => getAvailableMaxAmount,
|
|
35
35
|
getPointCardAmount: () => getPointCardAmount,
|
|
36
|
+
getVoucherAvailableStatus: () => getVoucherAvailableStatus,
|
|
36
37
|
isSameContent: () => isSameContent,
|
|
37
38
|
voucherTime: () => voucherTime
|
|
38
39
|
});
|
|
@@ -43,6 +44,9 @@ var import_materials = require("@pisell/materials");
|
|
|
43
44
|
var import_decimal = __toESM(require("decimal.js"));
|
|
44
45
|
var Amount = import_materials.PisellText.Amount;
|
|
45
46
|
var getAvailableMaxAmount = (data) => {
|
|
47
|
+
if ((0, import_utils.isNumber)(data._available_max_amount)) {
|
|
48
|
+
return data._available_max_amount;
|
|
49
|
+
}
|
|
46
50
|
return data.tag !== "point_card" ? data.available_max_amount : data == null ? void 0 : data.recommended_usage_amount;
|
|
47
51
|
};
|
|
48
52
|
var voucherTime = (data, key = "expire_date") => {
|
|
@@ -55,9 +59,20 @@ var voucherTime = (data, key = "expire_date") => {
|
|
|
55
59
|
}
|
|
56
60
|
return import_utils.locales.getText("pisell2.text.walletPassPermanent");
|
|
57
61
|
};
|
|
62
|
+
var getVoucherAvailableStatus = (item) => {
|
|
63
|
+
return item.unified_available_status === 1 && ((0, import_utils.isNumber)(item._unified_available_status) ? !!item._unified_available_status : true);
|
|
64
|
+
};
|
|
58
65
|
var formatMachineCodeServer2CardList = (data, selectId = [], otherProps = {}) => {
|
|
59
66
|
return (data || []).map((item) => {
|
|
60
67
|
var _a, _b;
|
|
68
|
+
let disabled = false;
|
|
69
|
+
if (item.unified_available_status === 0) {
|
|
70
|
+
disabled = true;
|
|
71
|
+
} else {
|
|
72
|
+
if ((0, import_utils.isNumber)(item._unified_available_status)) {
|
|
73
|
+
disabled = !item._unified_available_status;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
61
76
|
return {
|
|
62
77
|
id: item.id,
|
|
63
78
|
name: item.product_name,
|
|
@@ -74,8 +89,8 @@ var formatMachineCodeServer2CardList = (data, selectId = [], otherProps = {}) =>
|
|
|
74
89
|
showQrCode: false,
|
|
75
90
|
showStatus: true,
|
|
76
91
|
code: item.code,
|
|
77
|
-
disabled
|
|
78
|
-
disabledReason: (_a = item.unified_messages) == null ? void 0 : _a.title,
|
|
92
|
+
disabled,
|
|
93
|
+
disabledReason: (0, import_utils.isNumber)(item._unified_available_status) && item._unified_available_status !== 1 ? item.reason : (_a = item.unified_messages) == null ? void 0 : _a.title,
|
|
79
94
|
cover: (_b = item.product) == null ? void 0 : _b.cover,
|
|
80
95
|
qrCode: item.code,
|
|
81
96
|
validDate: voucherTime(item),
|
|
@@ -153,6 +168,7 @@ var isSameContent = (arr1, arr2) => {
|
|
|
153
168
|
formatMachineCodeServer2CardList,
|
|
154
169
|
getAvailableMaxAmount,
|
|
155
170
|
getPointCardAmount,
|
|
171
|
+
getVoucherAvailableStatus,
|
|
156
172
|
isSameContent,
|
|
157
173
|
voucherTime
|
|
158
174
|
});
|
|
@@ -9,6 +9,7 @@ export declare const useWalletPass: (props: {
|
|
|
9
9
|
}[]) => void) | undefined;
|
|
10
10
|
customAmount?: string | undefined;
|
|
11
11
|
clientId?: number | undefined;
|
|
12
|
+
totalAmount?: number | undefined;
|
|
12
13
|
}) => {
|
|
13
14
|
walletRecommendList: any[];
|
|
14
15
|
userIdentificationCodes: any[];
|
|
@@ -29,7 +30,6 @@ export declare const useWalletPass: (props: {
|
|
|
29
30
|
selectedDiscountList: any;
|
|
30
31
|
handleSelectDiscount: (this: unknown, value: number[], option: any) => void;
|
|
31
32
|
customerName: any;
|
|
32
|
-
fetchWalletRecommendList: (this: unknown, params: any) => Promise<any>;
|
|
33
33
|
fetchUserIdentificationCodes: (this: unknown, params: any) => Promise<any>;
|
|
34
34
|
getCachedWalletRecommendList: (this: unknown) => any;
|
|
35
35
|
getCachedUserIdentificationCodes: (this: unknown) => any;
|