@pisell/private-materials 6.3.17 → 6.3.18
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.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +1 -1
- package/package.json +2 -2
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -831
- package/es/components/booking/model.d.ts +0 -116
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/CashManual/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/es/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/hooks/usePaymentLogger.d.ts +0 -22
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -831
- package/lib/components/booking/model.d.ts +0 -116
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/CashManual/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/CustomPayment/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/lib/components/pay/toC/PaymentMethods/OfflinePayment/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/hooks/usePaymentLogger.d.ts +0 -22
@@ -1,116 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export interface FormState {
|
3
|
-
amountSymbol: string;
|
4
|
-
apis: {
|
5
|
-
getClients: (par?: any) => any;
|
6
|
-
getClientsEs: (par?: any) => any;
|
7
|
-
getServices: (par?: any) => any;
|
8
|
-
getResources: (par?: any) => any;
|
9
|
-
getProducts: (par?: any) => any;
|
10
|
-
getPets: (par?: any) => any;
|
11
|
-
getForms: (par?: any) => any;
|
12
|
-
getFormData: (par?: any) => any;
|
13
|
-
getAddonsByOrderId: (par?: any) => any;
|
14
|
-
saveAddonsByOrderId: (par?: any) => any;
|
15
|
-
getNotesByOrder: (par?: any) => any;
|
16
|
-
saveBookingFormData: (par?: any) => any;
|
17
|
-
getPetsData: (par?: any) => any;
|
18
|
-
};
|
19
|
-
client: {
|
20
|
-
showModal: boolean;
|
21
|
-
value: any;
|
22
|
-
clients: any[];
|
23
|
-
clientsParams: {
|
24
|
-
skip: number;
|
25
|
-
num: number;
|
26
|
-
search: string;
|
27
|
-
};
|
28
|
-
edit: boolean;
|
29
|
-
};
|
30
|
-
date: {
|
31
|
-
value: any;
|
32
|
-
end_date: any;
|
33
|
-
edit: boolean;
|
34
|
-
};
|
35
|
-
service: {
|
36
|
-
addModal: boolean;
|
37
|
-
editModal: boolean;
|
38
|
-
services: any[];
|
39
|
-
resources: any[];
|
40
|
-
resourcesOrigin: any[];
|
41
|
-
reloadResourceModal: false;
|
42
|
-
value: any[];
|
43
|
-
cacheItem: any;
|
44
|
-
edit: boolean;
|
45
|
-
addTimeModal: boolean;
|
46
|
-
changeService: any;
|
47
|
-
};
|
48
|
-
pet: {
|
49
|
-
showModal: boolean;
|
50
|
-
pets: any[];
|
51
|
-
value: any[];
|
52
|
-
formData: any;
|
53
|
-
originValue: any;
|
54
|
-
edit: boolean;
|
55
|
-
};
|
56
|
-
addons: {
|
57
|
-
showModal: boolean;
|
58
|
-
value: any[];
|
59
|
-
productList: any[];
|
60
|
-
originData: any[];
|
61
|
-
edit: boolean;
|
62
|
-
};
|
63
|
-
notes: {
|
64
|
-
orderNote: string;
|
65
|
-
internalNotes: any[];
|
66
|
-
edit: boolean;
|
67
|
-
};
|
68
|
-
form: {
|
69
|
-
value: any;
|
70
|
-
forms: any[];
|
71
|
-
edit: boolean;
|
72
|
-
};
|
73
|
-
setGlobalState: () => void;
|
74
|
-
disabledEdit: boolean;
|
75
|
-
bookingConfig: any;
|
76
|
-
action: any;
|
77
|
-
bookingId: string | number;
|
78
|
-
bookingDetail: any;
|
79
|
-
channelDisabledEdit: boolean;
|
80
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
81
|
-
modalOpen?: boolean;
|
82
|
-
isTerminal?: boolean;
|
83
|
-
isFranchisee?: boolean;
|
84
|
-
addTimeProducts: any[];
|
85
|
-
eventOtherParams?: {
|
86
|
-
relation_id: number;
|
87
|
-
number: number;
|
88
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
89
|
-
start_date: string;
|
90
|
-
start_time: string;
|
91
|
-
end_date: string;
|
92
|
-
end_time: string;
|
93
|
-
productIds: number[];
|
94
|
-
};
|
95
|
-
disableEventBookingEdit?: boolean;
|
96
|
-
/** 关闭自动打开选择服务弹窗 */
|
97
|
-
closeAutoOpenService?: boolean;
|
98
|
-
/** 是否terminal创建booking页面 */
|
99
|
-
isBookingCreatePage?: boolean;
|
100
|
-
loading: boolean;
|
101
|
-
isTerminalDayBookingPage?: boolean;
|
102
|
-
activeCartId?: any[];
|
103
|
-
isDayBooking: boolean;
|
104
|
-
}
|
105
|
-
export declare const walkInData: {
|
106
|
-
id: number;
|
107
|
-
nickname: string;
|
108
|
-
};
|
109
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
110
|
-
state: FormState;
|
111
|
-
} & {
|
112
|
-
dispatch: (params: {
|
113
|
-
type: string;
|
114
|
-
payload: any;
|
115
|
-
}) => void;
|
116
|
-
}>;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface ApplePayRef {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface ApplePayProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<ApplePayProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface BankDepositRef {
|
4
|
-
init: (res: any) => Promise<any>;
|
5
|
-
}
|
6
|
-
export interface BankDepositProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<BankDepositProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface CashManualRef {
|
4
|
-
init: (res: any) => Promise<any>;
|
5
|
-
}
|
6
|
-
export interface CashManualProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<CashManualProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface CustomPaymentRef {
|
4
|
-
init: (res: any) => Promise<any>;
|
5
|
-
}
|
6
|
-
export interface CustomPaymentProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<CustomPaymentProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface GlobePayAliPayH5Ref {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface GlobePayAliPayH5Props {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayAliPayH5Props & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface GlobePayPaypalH5Ref {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface GlobePayPaypalH5Props {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayPaypalH5Props & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface GlobePayQrcodeRef {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface GlobePayQrcodeProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayQrcodeProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface GlobePayWxH5Ref {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface GlobePayWxH5Props {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<GlobePayWxH5Props & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface GooglePayRef {
|
3
|
-
init: (res: any) => void;
|
4
|
-
}
|
5
|
-
export interface GooglePayProps {
|
6
|
-
onChange?: (values: any) => void;
|
7
|
-
}
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<GooglePayProps & React.RefAttributes<any>>;
|
9
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface OfflinePaymentRef {
|
4
|
-
init: (res: any) => Promise<any>;
|
5
|
-
}
|
6
|
-
export interface OfflinePaymentProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<OfflinePaymentProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface StripePayRef {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface StripePayProps {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<StripePayProps & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface SuperPayAliPayH5Ref {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface SuperPayAliPayH5Props {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface SuperPayWxPayH5Ref {
|
4
|
-
init: (res: any) => void;
|
5
|
-
}
|
6
|
-
export interface SuperPayWxPayH5Props {
|
7
|
-
onChange?: (values: any) => void;
|
8
|
-
}
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<SuperPayWxPayH5Props & React.RefAttributes<any>>;
|
10
|
-
export default _default;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface PaymentMethodsRef {
|
3
|
-
onPay: (props: any) => void;
|
4
|
-
}
|
5
|
-
interface PaymentMethodsProps {
|
6
|
-
payCallback: (props: any) => void;
|
7
|
-
}
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
9
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
interface LogData {
|
2
|
-
key: string;
|
3
|
-
value: any;
|
4
|
-
}
|
5
|
-
interface UsePaymentLoggerOptions {
|
6
|
-
orderId: string;
|
7
|
-
step?: string;
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* @title: 支付日志记录器 Hook
|
11
|
-
* @description: 用于记录支付过程中的关键信息
|
12
|
-
* @param {UsePaymentLoggerOptions} options - 配置选项
|
13
|
-
* @return {object} 返回日志记录相关方法
|
14
|
-
* @Author: AI Assistant
|
15
|
-
*/
|
16
|
-
declare const usePaymentLogger: (options: UsePaymentLoggerOptions) => {
|
17
|
-
logs: import("react").MutableRefObject<LogData[]>;
|
18
|
-
addLog: (logData: LogData) => void;
|
19
|
-
sendLogs: (title?: string, err?: any) => void;
|
20
|
-
};
|
21
|
-
export default usePaymentLogger;
|
22
|
-
export type { LogData, UsePaymentLoggerOptions };
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface EditServiceRef {
|
4
|
-
init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
|
5
|
-
}
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
7
|
-
export default _default;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { PisellDrawerProps } from '../../../components/drawer';
|
2
|
-
import '../../../info/service/addService/index.less';
|
3
|
-
interface AddServiceProps {
|
4
|
-
onEdit: any;
|
5
|
-
dispatch?: any;
|
6
|
-
state?: any;
|
7
|
-
drawerProps?: PisellDrawerProps;
|
8
|
-
renderMode?: 'current' | 'drawer';
|
9
|
-
}
|
10
|
-
declare const Info: (props: AddServiceProps) => JSX.Element;
|
11
|
-
export default Info;
|