@pisell/private-materials 3.2.1 → 3.2.2
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 +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +3 -3
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/wallet/Detail/index.js +57 -28
- package/es/components/wallet/Detail/locales.d.ts +6 -0
- package/es/components/wallet/Detail/locales.js +6 -0
- package/es/components/wallet/Detail/serve.js +3 -1
- package/es/components/wallet/components/FooterButtons/index.js +1 -1
- package/es/components/wallet/index.js +2 -1
- package/es/components/wallet/locales.js +1 -1
- package/es/components/walletList/index.less +0 -1
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/wallet/Detail/index.js +34 -21
- package/lib/components/wallet/Detail/locales.d.ts +6 -0
- package/lib/components/wallet/Detail/locales.js +6 -0
- package/lib/components/wallet/Detail/serve.js +1 -1
- package/lib/components/wallet/components/FooterButtons/index.js +2 -1
- package/lib/components/wallet/index.js +2 -1
- package/lib/components/wallet/locales.js +1 -1
- package/lib/components/walletList/index.less +0 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ import { PosProps } from './const';
|
|
|
8
8
|
*/
|
|
9
9
|
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
|
-
onChange?: ((status: "
|
|
11
|
+
onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
|
|
12
12
|
[keys: string]: unknown;
|
|
13
13
|
} | undefined, other?: any) => void) | undefined;
|
|
14
14
|
onClose: () => void;
|
|
@@ -10,7 +10,7 @@ import './device.less';
|
|
|
10
10
|
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
|
|
11
11
|
api: PayProps['api'];
|
|
12
12
|
className?: string | undefined;
|
|
13
|
-
onChange?: ((status: "
|
|
13
|
+
onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
|
|
14
14
|
[keys: string]: unknown;
|
|
15
15
|
} | undefined, other?: any) => void) | undefined;
|
|
16
16
|
onClose: () => void;
|
|
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
|
|
|
15
15
|
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
16
|
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
17
|
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
-
readonly statusRef: React.MutableRefObject<"
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
19
|
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
20
|
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
21
|
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
-
readonly eftposRef: React.MutableRefObject<"
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"tyro" | "stripe" | "payo" | "windcave">;
|
|
23
23
|
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
24
|
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
25
|
};
|
|
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
|
|
|
174
174
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
175
175
|
type: EActionTypes;
|
|
176
176
|
payload: {
|
|
177
|
-
status: "
|
|
177
|
+
status: "success" | "loading" | "warn" | "fail" | "question";
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
/**
|
|
@@ -297,18 +297,18 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
297
297
|
amount?: string | number | undefined;
|
|
298
298
|
mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
|
|
299
299
|
order_id?: string | number | undefined;
|
|
300
|
-
eftpos?: "
|
|
300
|
+
eftpos?: "tyro" | "stripe" | "payo" | "windcave" | undefined;
|
|
301
301
|
action?: "amount" | "pay" | "deviceList" | undefined;
|
|
302
302
|
key?: number | undefined;
|
|
303
303
|
step?: number | undefined;
|
|
304
304
|
title?: string | undefined;
|
|
305
305
|
subTitle?: string | undefined;
|
|
306
|
-
type?: "
|
|
306
|
+
type?: "unset" | "step" | undefined;
|
|
307
307
|
render?: boolean | undefined;
|
|
308
308
|
net?: boolean | undefined;
|
|
309
309
|
component?: string | undefined;
|
|
310
310
|
form?: string | undefined;
|
|
311
|
-
status?: "
|
|
311
|
+
status?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
312
312
|
warn?: string | undefined;
|
|
313
313
|
steps?: {
|
|
314
314
|
/** 用于重置当前步骤 */
|
|
@@ -82,6 +82,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
82
82
|
const [timeLineDetail, setTimeLineDetail] = (0, import_react.useState)({});
|
|
83
83
|
const [wechatModalOpen, setWechatModalOpen] = (0, import_react.useState)(false);
|
|
84
84
|
const [copyUrl, setCopyUrl] = (0, import_react.useState)("");
|
|
85
|
+
const [isLoading, setIsLoading] = (0, import_react.useState)(false);
|
|
85
86
|
const [apple_wallet_url, setAppleWalletUrl] = (0, import_react.useState)("");
|
|
86
87
|
const [google_wallet_url, setGoogleWalletUrl] = (0, import_react.useState)("");
|
|
87
88
|
const stateTimeUnix = 1723255863;
|
|
@@ -142,6 +143,11 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
142
143
|
label: import_utils.locales.getText("page.wallet.discount"),
|
|
143
144
|
value: balance ? `${Number(balance)}%` : ""
|
|
144
145
|
});
|
|
146
|
+
} else if (tag === "point_card") {
|
|
147
|
+
data.splice(2, 0, {
|
|
148
|
+
label: import_utils.locales.getText("page.wallet.points"),
|
|
149
|
+
value: balance ? `${balance}` : ""
|
|
150
|
+
});
|
|
145
151
|
} else {
|
|
146
152
|
data.splice(2, 0, {
|
|
147
153
|
label: import_utils.locales.getText("page.wallet.balance"),
|
|
@@ -212,26 +218,33 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
212
218
|
};
|
|
213
219
|
const getTimeTreeList = async () => {
|
|
214
220
|
var _a2, _b2, _c2, _d2;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
221
|
+
setIsLoading(true);
|
|
222
|
+
try {
|
|
223
|
+
const { list = [] } = await (0, import_serve.getAssetList)({
|
|
224
|
+
num: "99",
|
|
225
|
+
skip: "1",
|
|
226
|
+
card_id: code,
|
|
227
|
+
sourceType: tag,
|
|
228
|
+
tag,
|
|
229
|
+
business_object: "customer"
|
|
230
|
+
});
|
|
231
|
+
let filterList = list.filter(
|
|
232
|
+
(item) => !!assetActionEnum[item.action || ""]
|
|
233
|
+
);
|
|
234
|
+
for (let i = filterList.length - 1; i >= 0; i--) {
|
|
235
|
+
if (((_a2 = filterList[i]) == null ? void 0 : _a2.action) === "order_expend" && import_dayjs.default.tz((_b2 = filterList[i]) == null ? void 0 : _b2.created_at, timezone2).unix() < stateTimeUnix) {
|
|
236
|
+
filterList.splice(i, 1);
|
|
237
|
+
}
|
|
238
|
+
if (((_c2 = filterList[i]) == null ? void 0 : _c2.tag) === "point_card" && import_dayjs.default.tz((_d2 = filterList[i]) == null ? void 0 : _d2.created_at, timezone2).unix() < stateTimeUnix) {
|
|
239
|
+
filterList.splice(i, 1);
|
|
240
|
+
}
|
|
232
241
|
}
|
|
242
|
+
setTimeLineData(formatTimeLineDta(filterList));
|
|
243
|
+
} catch (error) {
|
|
244
|
+
console.error("Failed to fetch asset list:", error);
|
|
245
|
+
} finally {
|
|
246
|
+
setIsLoading(false);
|
|
233
247
|
}
|
|
234
|
-
setTimeLineData(formatTimeLineDta(filterList));
|
|
235
248
|
};
|
|
236
249
|
(0, import_react.useEffect)(() => {
|
|
237
250
|
if (code) {
|
|
@@ -490,8 +503,8 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
490
503
|
const assetActionEnum = {
|
|
491
504
|
recharge: tag === "point_card" ? import_utils.locales.getText("page.wallet.pointsEarned") : import_utils.locales.getText("page.wallet.recharge"),
|
|
492
505
|
order_expend: tag === "point_card" ? import_utils.locales.getText("page.wallet.pointsRedeemed") : import_utils.locales.getText("page.wallet.spending"),
|
|
493
|
-
order_refund: "
|
|
494
|
-
expire: "
|
|
506
|
+
order_refund: import_utils.locales.getText("page.wallet.refund"),
|
|
507
|
+
expire: import_utils.locales.getText("page.wallet.expire")
|
|
495
508
|
};
|
|
496
509
|
const handleRecharge = () => {
|
|
497
510
|
if (props.buttonGroupList && props.buttonGroupList[0] && props.buttonGroupList[0][0]) {
|
|
@@ -577,7 +590,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
577
590
|
className: "wallet-detail-card-content-section wallet-detail-card-content-section-timeline",
|
|
578
591
|
"data-section": "activityLog"
|
|
579
592
|
},
|
|
580
|
-
tag !== "product_discount_card" && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-card-content-section-subtitle" }, import_utils.locales.getText("page.wallet.activelog")), TimeLineData.length > 0 ? /* @__PURE__ */ import_react.default.createElement(
|
|
593
|
+
tag !== "product_discount_card" && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-card-content-section-subtitle" }, import_utils.locales.getText("page.wallet.activelog")), isLoading ? /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-timeline-loading" }, /* @__PURE__ */ import_react.default.createElement(import_materials.Skeleton, { active: true, paragraph: { rows: 6 }, round: true })) : TimeLineData.length > 0 ? /* @__PURE__ */ import_react.default.createElement(
|
|
581
594
|
import_materials.Timeline,
|
|
582
595
|
{
|
|
583
596
|
items: TimeLineData,
|
|
@@ -13,6 +13,8 @@ declare const _default: {
|
|
|
13
13
|
'page.wallet.recharge': string;
|
|
14
14
|
'page.wallet.pointsEarned': string;
|
|
15
15
|
'page.wallet.pointsRedeemed': string;
|
|
16
|
+
'page.wallet.refund': string;
|
|
17
|
+
'page.wallet.expire': string;
|
|
16
18
|
'page.wallet.viewOrder': string;
|
|
17
19
|
'page.wallet.done': string;
|
|
18
20
|
'page.wallet.addIos': string;
|
|
@@ -34,6 +36,8 @@ declare const _default: {
|
|
|
34
36
|
'page.wallet.recharge': string;
|
|
35
37
|
'page.wallet.pointsEarned': string;
|
|
36
38
|
'page.wallet.pointsRedeemed': string;
|
|
39
|
+
'page.wallet.refund': string;
|
|
40
|
+
'page.wallet.expire': string;
|
|
37
41
|
'page.wallet.viewOrder': string;
|
|
38
42
|
'page.wallet.done': string;
|
|
39
43
|
'page.wallet.addIos': string;
|
|
@@ -55,6 +59,8 @@ declare const _default: {
|
|
|
55
59
|
'page.wallet.recharge': string;
|
|
56
60
|
'page.wallet.pointsEarned': string;
|
|
57
61
|
'page.wallet.pointsRedeemed': string;
|
|
62
|
+
'page.wallet.refund': string;
|
|
63
|
+
'page.wallet.expire': string;
|
|
58
64
|
'page.wallet.viewOrder': string;
|
|
59
65
|
'page.wallet.done': string;
|
|
60
66
|
'page.wallet.addIos': string;
|
|
@@ -40,6 +40,8 @@ var locales_default = {
|
|
|
40
40
|
"page.wallet.recharge": "Recharge",
|
|
41
41
|
"page.wallet.pointsEarned": "Points Earned",
|
|
42
42
|
"page.wallet.pointsRedeemed": "Points Redeemed",
|
|
43
|
+
"page.wallet.refund": "Refund",
|
|
44
|
+
"page.wallet.expire": "Expire",
|
|
43
45
|
"page.wallet.viewOrder": "View order",
|
|
44
46
|
"page.wallet.done": "Done",
|
|
45
47
|
"page.wallet.addIos": "Add to Apple Wallet",
|
|
@@ -64,6 +66,8 @@ var locales_default = {
|
|
|
64
66
|
"page.wallet.recharge": "充值",
|
|
65
67
|
"page.wallet.pointsEarned": "获得积分",
|
|
66
68
|
"page.wallet.pointsRedeemed": "使用积分",
|
|
69
|
+
"page.wallet.refund": "退款",
|
|
70
|
+
"page.wallet.expire": "过期",
|
|
67
71
|
"page.wallet.viewOrder": "浏览订单",
|
|
68
72
|
"page.wallet.done": "完成",
|
|
69
73
|
"page.wallet.addIos": "添加到苹果钱包",
|
|
@@ -88,6 +92,8 @@ var locales_default = {
|
|
|
88
92
|
"page.wallet.recharge": "充值",
|
|
89
93
|
"page.wallet.pointsEarned": "獲得積分",
|
|
90
94
|
"page.wallet.pointsRedeemed": "使用積分",
|
|
95
|
+
"page.wallet.refund": "退款",
|
|
96
|
+
"page.wallet.expire": "過期",
|
|
91
97
|
"page.wallet.viewOrder": "瀏覽訂單",
|
|
92
98
|
"page.wallet.done": "完成",
|
|
93
99
|
"page.wallet.addIos": "添加到蘋果錢包",
|
|
@@ -25,7 +25,7 @@ __export(serve_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(serve_exports);
|
|
26
26
|
var import_utils = require("./../../../utils");
|
|
27
27
|
var getAssetList = async (params) => {
|
|
28
|
-
const { data } = await import_utils.request.getRequest().get(`/h5/pay/asset/lowcode/list`, params);
|
|
28
|
+
const { data } = await import_utils.request.getRequest().get(`/h5/pay/asset/lowcode/list`, params, { abort: true });
|
|
29
29
|
return data;
|
|
30
30
|
};
|
|
31
31
|
var getDetailApi = async (params) => {
|
|
@@ -451,6 +451,7 @@ var Wallet = (0, import_model.Provider)(() => {
|
|
|
451
451
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
452
452
|
import_materials.PisellWalletPassCard,
|
|
453
453
|
{
|
|
454
|
+
balanceTitle: global_wallet.currentTag === "point_card" ? import_utils.locales.getText("page.wallet.points") : void 0,
|
|
454
455
|
showDetail: false,
|
|
455
456
|
showRedeem: false,
|
|
456
457
|
showQrCode: false,
|
|
@@ -459,7 +460,7 @@ var Wallet = (0, import_model.Provider)(() => {
|
|
|
459
460
|
showDisabledReason: !isEnabled,
|
|
460
461
|
disabledReason: title,
|
|
461
462
|
propStyle: { marginBottom: 10 },
|
|
462
|
-
showBalanceSymbol:
|
|
463
|
+
showBalanceSymbol: global_wallet.currentTag !== "point_card",
|
|
463
464
|
showBalance: global_wallet.currentTag !== "product_discount_card",
|
|
464
465
|
active: isActive,
|
|
465
466
|
name: product_name,
|
|
@@ -27,7 +27,7 @@ var locales_default = {
|
|
|
27
27
|
// English translations
|
|
28
28
|
"page.wallet.rechargeableCard": "Rechargeable card",
|
|
29
29
|
"page.wallet.voucher": "Voucher",
|
|
30
|
-
"page.wallet.pointCard": "Points
|
|
30
|
+
"page.wallet.pointCard": "Points",
|
|
31
31
|
"page.wallet.discountCard": "Discount card",
|
|
32
32
|
"page.wallet.unavailable": "Unavailable",
|
|
33
33
|
"page.wallet.available": "Available",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "1.0.42",
|
|
63
|
-
"@pisell/materials": "3.2.1",
|
|
64
63
|
"@pisell/icon": "0.0.11",
|
|
64
|
+
"@pisell/materials": "3.2.2",
|
|
65
65
|
"@pisell/date-picker": "1.0.100"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|