@pisell/private-materials 6.3.96 → 6.3.97
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/Sales/Cart/index.d.ts +53 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/footer/amount.d.ts +25 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +3 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +12 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/es/components/booking/info/service2/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +846 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +175 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +11 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/device.d.ts +24 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/es/components/ticketBooking/index.d.ts +8 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/index.d.ts +25 -0
- package/es/plus/clientCard/types.d.ts +135 -0
- package/es/plus/orderList/config.d.ts +2 -2
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/pro/Selector/Selector.d.ts +1 -1
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/footer/amount.d.ts +25 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +3 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
- package/lib/components/booking/info/service2/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +846 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +175 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +11 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/device.d.ts +24 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
- package/lib/components/ticketBooking/index.d.ts +8 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/index.d.ts +25 -0
- package/lib/plus/clientCard/types.d.ts +135 -0
- package/lib/plus/orderList/config.d.ts +2 -2
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/pro/Selector/Selector.d.ts +1 -1
- package/lowcode/eco-cup-list/meta.ts +1 -1
- package/lowcode/eco-customer-list/meta.ts +1 -1
- package/package.json +1 -1
- package/es/components/ecocup/cupList/const.d.ts +0 -133
- package/es/components/ecocup/hooks.d.ts +0 -49
- package/es/components/ecocup/locales.d.ts +0 -339
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/plus/saasAttendance/locales.d.ts +0 -381
- package/es/plus/saasAttendance/settings/types.d.ts +0 -134
- package/lib/components/ecocup/cupList/const.d.ts +0 -133
- package/lib/components/ecocup/hooks.d.ts +0 -49
- package/lib/components/ecocup/locales.d.ts +0 -339
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/plus/saasAttendance/locales.d.ts +0 -381
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -134
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { TCallback } from './utils/scanListener';
|
|
2
|
-
/**
|
|
3
|
-
* 获取当前语言
|
|
4
|
-
*/
|
|
5
|
-
export declare const useLanguage: () => any;
|
|
6
|
-
/**
|
|
7
|
-
* 扫码监听
|
|
8
|
-
*/
|
|
9
|
-
export declare const useScanListener: () => {
|
|
10
|
-
addListener: (key: string, callback: TCallback) => void;
|
|
11
|
-
removeListener: (key: string) => void;
|
|
12
|
-
setActiveListener: (key: string) => void;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* 获取app
|
|
16
|
-
*/
|
|
17
|
-
export declare const useGetApp: () => any;
|
|
18
|
-
/**
|
|
19
|
-
* 获取modal
|
|
20
|
-
*/
|
|
21
|
-
export declare const useModal: (key: string) => {
|
|
22
|
-
modalProps: any;
|
|
23
|
-
visible: any;
|
|
24
|
-
open: (props?: any) => void;
|
|
25
|
-
close: () => void;
|
|
26
|
-
};
|
|
27
|
-
export declare const useRequest: () => {
|
|
28
|
-
get: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
|
|
29
|
-
post: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
|
|
30
|
-
put: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
|
|
31
|
-
remove: (url: string, data?: Record<string, any>, config?: Record<string, any>) => any;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @description: 获取goal_shop_id和是否是普通店铺
|
|
35
|
-
* @return {*}
|
|
36
|
-
*/
|
|
37
|
-
export declare const useGetGoalShopInfo: () => {
|
|
38
|
-
goalShopId: number | undefined;
|
|
39
|
-
isNormalShop: boolean;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* 获取当前店铺id
|
|
43
|
-
*/
|
|
44
|
-
export declare const useGetShopId: () => any;
|
|
45
|
-
/**
|
|
46
|
-
* @description: 是否是app端
|
|
47
|
-
* @return {*}
|
|
48
|
-
*/
|
|
49
|
-
export declare const useIsApp: () => boolean;
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.ecocup.cup-id': string;
|
|
4
|
-
'pisell2.text.ecocup.button.return': string;
|
|
5
|
-
'pisell2.text.ecocup.button.others': string;
|
|
6
|
-
'pisell2.text.ecocup.button.missing': string;
|
|
7
|
-
'pisell2.text.ecocup.button.broken': string;
|
|
8
|
-
'pisell2.text.ecocup.button.clear-all': string;
|
|
9
|
-
'pisell2.text.ecocup.button.mark-as-return': string;
|
|
10
|
-
'pisell2.text.ecocup.button.mark-as-missing': string;
|
|
11
|
-
'pisell2.text.ecocup.button.mark-as-broken': string;
|
|
12
|
-
'pisell2.text.ecocup.button.cancel': string;
|
|
13
|
-
'pisell2.text.ecocup.button.confirm': string;
|
|
14
|
-
'pisell2.text.ecocup.button.remove': string;
|
|
15
|
-
'pisell2.text.ecocup.button.dismiss': string;
|
|
16
|
-
'pisell2.text.ecocup.button.transfer': string;
|
|
17
|
-
'pisell2.text.ecocup.toast.success-return': string;
|
|
18
|
-
'pisell2.text.ecocup.toast.success-missing': string;
|
|
19
|
-
'pisell2.text.ecocup.toast.success-broken': string;
|
|
20
|
-
'pisell2.text.ecocup.toast.success-transfer': string;
|
|
21
|
-
'pisell2.text.ecocup.toast.fail-no-match-customer': string;
|
|
22
|
-
'pisell2.text.cup-project.title': string;
|
|
23
|
-
'pisell2.text.cup-project.search-bar.placeholder': string;
|
|
24
|
-
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
25
|
-
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
26
|
-
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
27
|
-
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
28
|
-
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
29
|
-
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
30
|
-
'pisell2.text.cup-project.search-bar.result.header.phone': string;
|
|
31
|
-
'pisell2.text.cup-project.search-bar.result.header.email': string;
|
|
32
|
-
'pisell2.text.cup-project.search-bar.result.header.membership': string;
|
|
33
|
-
'pisell2.text.ecocup.title': string;
|
|
34
|
-
'pisell2.text.ecocup.status.placeholder': string;
|
|
35
|
-
'pisell2.text.ecocup.status.shop.placeholder': string;
|
|
36
|
-
'pisell2.text.ecocup.scan-or-search': string;
|
|
37
|
-
'pisell2.text.ecocup.available-to-rent': string;
|
|
38
|
-
'pisell2.text.ecocup.rent': string;
|
|
39
|
-
'pisell2.text.ecocup.broken': string;
|
|
40
|
-
'pisell2.text.ecocup.cup-rent': string;
|
|
41
|
-
'pisell2.text.ecocup.cup-returned': string;
|
|
42
|
-
'pisell2.text.ecocup.eco.cup-rent': string;
|
|
43
|
-
'pisell2.text.ecocup.eco.cup-returned': string;
|
|
44
|
-
'pisell2.text.ecocup.table.cup-code': string;
|
|
45
|
-
'pisell2.text.ecocup.table.customer': string;
|
|
46
|
-
'pisell2.text.ecocup.table.status': string;
|
|
47
|
-
'pisell2.text.ecocup.table.shop-of-rent': string;
|
|
48
|
-
'pisell2.text.ecocup.table.time-of-rent': string;
|
|
49
|
-
'pisell2.text.ecocup.table.shop-of-return': string;
|
|
50
|
-
'pisell2.text.ecocup.table.time-of-return': string;
|
|
51
|
-
'pisell2.text.ecocup.table.operated-at': string;
|
|
52
|
-
'pisell2.text.ecocup.table.actions': string;
|
|
53
|
-
'pisell2.text.ecocup.status.rent': string;
|
|
54
|
-
'pisell2.text.ecocup.status.in-stock': string;
|
|
55
|
-
'pisell2.text.ecocup.status.all': string;
|
|
56
|
-
'pisell2.text.ecocup.status.shop-changed': string;
|
|
57
|
-
'pisell2.text.ecocup.status.overtime': string;
|
|
58
|
-
'pisell2.text.ecocup.status.expire-soon': string;
|
|
59
|
-
'pisell2.text.ecocup.status.borrowing': string;
|
|
60
|
-
'pisell2.text.ecocup.status.returned': string;
|
|
61
|
-
'pisell2.text.ecocup.action.return': string;
|
|
62
|
-
'pisell2.text.ecocup.action.more': string;
|
|
63
|
-
'pisell2.text.ecocup.action.more.missing': string;
|
|
64
|
-
'pisell2.text.ecocup.action.more.broken': string;
|
|
65
|
-
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
66
|
-
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
67
|
-
'pisell2.text.ecocup.customer.list.title': string;
|
|
68
|
-
'pisell2.text.ecocup.customer.list.customer': string;
|
|
69
|
-
'pisell2.text.ecocup.customer.list.registed': string;
|
|
70
|
-
'pisell2.text.ecocup.customer.list.email': string;
|
|
71
|
-
'pisell2.text.ecocup.customer.list.mobile': string;
|
|
72
|
-
'pisell2.text.ecocup.customer.list.cup.borrowed': string;
|
|
73
|
-
'pisell2.text.ecocup.customer.list.cup.returned': string;
|
|
74
|
-
'pisell2.text.ecocup.customer.list.customer.profile': string;
|
|
75
|
-
'pisell2.text.ecocup.customer.list.search.placeholder': string;
|
|
76
|
-
'pisell2.text.ecocup.add-customer-modal.title': string;
|
|
77
|
-
'pisell2.text.ecocup.add-customer-modal.first-name': string;
|
|
78
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-placeholder': string;
|
|
79
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-required': string;
|
|
80
|
-
'pisell2.text.ecocup.add-customer-modal.last-name': string;
|
|
81
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-placeholder': string;
|
|
82
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-required': string;
|
|
83
|
-
'pisell2.text.ecocup.add-customer-modal.phone': string;
|
|
84
|
-
'pisell2.text.ecocup.add-customer-modal.phone-placeholder': string;
|
|
85
|
-
'pisell2.text.ecocup.add-customer-modal.phone-error': string;
|
|
86
|
-
'pisell2.text.ecocup.add-customer-modal.phone-required': string;
|
|
87
|
-
'pisell2.text.ecocup.add-customer-modal.email': string;
|
|
88
|
-
'pisell2.text.ecocup.add-customer-modal.email-placeholder': string;
|
|
89
|
-
'pisell2.text.ecocup.add-customer-modal.email-required': string;
|
|
90
|
-
'pisell2.text.ecocup.add-customer-modal.membership': string;
|
|
91
|
-
'pisell2.text.ecocup.add-customer-modal.success': string;
|
|
92
|
-
'pisell2.text.ecocup.cup-action-modal.title-return': string;
|
|
93
|
-
'pisell2.text.ecocup.cup-action-modal.title-missing': string;
|
|
94
|
-
'pisell2.text.ecocup.cup-action-modal.title-broken': string;
|
|
95
|
-
'pisell2.text.ecocup.cup-action-modal.cup-id': string;
|
|
96
|
-
'pisell2.text.ecocup.cup-action-modal.cup-tip': string;
|
|
97
|
-
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
98
|
-
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
99
|
-
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
100
|
-
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
101
|
-
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
102
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
103
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder-cup': string;
|
|
104
|
-
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
105
|
-
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
106
|
-
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
107
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
108
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
109
|
-
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
110
|
-
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
111
|
-
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
112
|
-
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
113
|
-
};
|
|
114
|
-
'zh-CN': {
|
|
115
|
-
'pisell2.text.ecocup.cup-id': string;
|
|
116
|
-
'pisell2.text.ecocup.button.return': string;
|
|
117
|
-
'pisell2.text.ecocup.button.others': string;
|
|
118
|
-
'pisell2.text.ecocup.button.missing': string;
|
|
119
|
-
'pisell2.text.ecocup.button.broken': string;
|
|
120
|
-
'pisell2.text.ecocup.button.clear-all': string;
|
|
121
|
-
'pisell2.text.ecocup.button.mark-as-return': string;
|
|
122
|
-
'pisell2.text.ecocup.button.mark-as-missing': string;
|
|
123
|
-
'pisell2.text.ecocup.button.mark-as-broken': string;
|
|
124
|
-
'pisell2.text.ecocup.button.cancel': string;
|
|
125
|
-
'pisell2.text.ecocup.button.confirm': string;
|
|
126
|
-
'pisell2.text.ecocup.button.remove': string;
|
|
127
|
-
'pisell2.text.ecocup.button.dismiss': string;
|
|
128
|
-
'pisell2.text.ecocup.button.transfer': string;
|
|
129
|
-
'pisell2.text.ecocup.toast.success-return': string;
|
|
130
|
-
'pisell2.text.ecocup.toast.success-missing': string;
|
|
131
|
-
'pisell2.text.ecocup.toast.success-broken': string;
|
|
132
|
-
'pisell2.text.ecocup.toast.success-transfer': string;
|
|
133
|
-
'pisell2.text.ecocup.toast.fail-no-match-customer': string;
|
|
134
|
-
'pisell2.text.cup-project.title': string;
|
|
135
|
-
'pisell2.text.cup-project.search-bar.placeholder': string;
|
|
136
|
-
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
137
|
-
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
138
|
-
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
139
|
-
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
140
|
-
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
141
|
-
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
142
|
-
'pisell2.text.cup-project.search-bar.result.header.phone': string;
|
|
143
|
-
'pisell2.text.cup-project.search-bar.result.header.email': string;
|
|
144
|
-
'pisell2.text.cup-project.search-bar.result.header.membership': string;
|
|
145
|
-
'pisell2.text.ecocup.title': string;
|
|
146
|
-
'pisell2.text.ecocup.status.placeholder': string;
|
|
147
|
-
'pisell2.text.ecocup.status.shop.placeholder': string;
|
|
148
|
-
'pisell2.text.ecocup.scan-or-search': string;
|
|
149
|
-
'pisell2.text.ecocup.available-to-rent': string;
|
|
150
|
-
'pisell2.text.ecocup.rent': string;
|
|
151
|
-
'pisell2.text.ecocup.broken': string;
|
|
152
|
-
'pisell2.text.ecocup.cup-rent': string;
|
|
153
|
-
'pisell2.text.ecocup.cup-returned': string;
|
|
154
|
-
'pisell2.text.ecocup.eco.cup-rent': string;
|
|
155
|
-
'pisell2.text.ecocup.eco.cup-returned': string;
|
|
156
|
-
'pisell2.text.ecocup.table.cup-code': string;
|
|
157
|
-
'pisell2.text.ecocup.table.customer': string;
|
|
158
|
-
'pisell2.text.ecocup.table.status': string;
|
|
159
|
-
'pisell2.text.ecocup.table.shop-of-rent': string;
|
|
160
|
-
'pisell2.text.ecocup.table.time-of-rent': string;
|
|
161
|
-
'pisell2.text.ecocup.table.shop-of-return': string;
|
|
162
|
-
'pisell2.text.ecocup.table.time-of-return': string;
|
|
163
|
-
'pisell2.text.ecocup.table.operated-at': string;
|
|
164
|
-
'pisell2.text.ecocup.table.actions': string;
|
|
165
|
-
'pisell2.text.ecocup.status.rent': string;
|
|
166
|
-
'pisell2.text.ecocup.status.in-stock': string;
|
|
167
|
-
'pisell2.text.ecocup.status.all': string;
|
|
168
|
-
'pisell2.text.ecocup.status.shop-changed': string;
|
|
169
|
-
'pisell2.text.ecocup.status.overtime': string;
|
|
170
|
-
'pisell2.text.ecocup.status.expire-soon': string;
|
|
171
|
-
'pisell2.text.ecocup.status.borrowing': string;
|
|
172
|
-
'pisell2.text.ecocup.status.returned': string;
|
|
173
|
-
'pisell2.text.ecocup.action.return': string;
|
|
174
|
-
'pisell2.text.ecocup.action.more': string;
|
|
175
|
-
'pisell2.text.ecocup.action.more.missing': string;
|
|
176
|
-
'pisell2.text.ecocup.action.more.broken': string;
|
|
177
|
-
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
178
|
-
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
179
|
-
'pisell2.text.ecocup.customer.list.title': string;
|
|
180
|
-
'pisell2.text.ecocup.customer.list.customer': string;
|
|
181
|
-
'pisell2.text.ecocup.customer.list.registed': string;
|
|
182
|
-
'pisell2.text.ecocup.customer.list.email': string;
|
|
183
|
-
'pisell2.text.ecocup.customer.list.mobile': string;
|
|
184
|
-
'pisell2.text.ecocup.customer.list.cup.borrowed': string;
|
|
185
|
-
'pisell2.text.ecocup.customer.list.cup.returned': string;
|
|
186
|
-
'pisell2.text.ecocup.customer.list.customer.profile': string;
|
|
187
|
-
'pisell2.text.ecocup.customer.list.search.placeholder': string;
|
|
188
|
-
'pisell2.text.ecocup.add-customer-modal.title': string;
|
|
189
|
-
'pisell2.text.ecocup.add-customer-modal.first-name': string;
|
|
190
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-placeholder': string;
|
|
191
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-required': string;
|
|
192
|
-
'pisell2.text.ecocup.add-customer-modal.last-name': string;
|
|
193
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-placeholder': string;
|
|
194
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-required': string;
|
|
195
|
-
'pisell2.text.ecocup.add-customer-modal.phone': string;
|
|
196
|
-
'pisell2.text.ecocup.add-customer-modal.phone-placeholder': string;
|
|
197
|
-
'pisell2.text.ecocup.add-customer-modal.phone-required': string;
|
|
198
|
-
'pisell2.text.ecocup.add-customer-modal.phone-error': string;
|
|
199
|
-
'pisell2.text.ecocup.add-customer-modal.email': string;
|
|
200
|
-
'pisell2.text.ecocup.add-customer-modal.email-placeholder': string;
|
|
201
|
-
'pisell2.text.ecocup.add-customer-modal.email-required': string;
|
|
202
|
-
'pisell2.text.ecocup.add-customer-modal.membership': string;
|
|
203
|
-
'pisell2.text.ecocup.add-customer-modal.success': string;
|
|
204
|
-
'pisell2.text.ecocup.cup-action-modal.title-return': string;
|
|
205
|
-
'pisell2.text.ecocup.cup-action-modal.title-missing': string;
|
|
206
|
-
'pisell2.text.ecocup.cup-action-modal.title-broken': string;
|
|
207
|
-
'pisell2.text.ecocup.cup-action-modal.cup-id': string;
|
|
208
|
-
'pisell2.text.ecocup.cup-action-modal.cup-tip': string;
|
|
209
|
-
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
210
|
-
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
211
|
-
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
212
|
-
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
213
|
-
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
214
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
215
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder-cup': string;
|
|
216
|
-
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
217
|
-
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
218
|
-
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
219
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
220
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
221
|
-
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
222
|
-
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
223
|
-
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
224
|
-
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
225
|
-
};
|
|
226
|
-
'zh-HK': {
|
|
227
|
-
'pisell2.text.ecocup.cup-id': string;
|
|
228
|
-
'pisell2.text.ecocup.button.return': string;
|
|
229
|
-
'pisell2.text.ecocup.button.others': string;
|
|
230
|
-
'pisell2.text.ecocup.button.missing': string;
|
|
231
|
-
'pisell2.text.ecocup.button.broken': string;
|
|
232
|
-
'pisell2.text.ecocup.button.clear-all': string;
|
|
233
|
-
'pisell2.text.ecocup.button.mark-as-return': string;
|
|
234
|
-
'pisell2.text.ecocup.button.mark-as-missing': string;
|
|
235
|
-
'pisell2.text.ecocup.button.mark-as-broken': string;
|
|
236
|
-
'pisell2.text.ecocup.button.cancel': string;
|
|
237
|
-
'pisell2.text.ecocup.button.confirm': string;
|
|
238
|
-
'pisell2.text.ecocup.button.remove': string;
|
|
239
|
-
'pisell2.text.ecocup.button.dismiss': string;
|
|
240
|
-
'pisell2.text.ecocup.button.transfer': string;
|
|
241
|
-
'pisell2.text.ecocup.toast.success-return': string;
|
|
242
|
-
'pisell2.text.ecocup.toast.success-missing': string;
|
|
243
|
-
'pisell2.text.ecocup.toast.success-broken': string;
|
|
244
|
-
'pisell2.text.ecocup.toast.success-transfer': string;
|
|
245
|
-
'pisell2.text.ecocup.toast.fail-no-match-customer': string;
|
|
246
|
-
'pisell2.text.cup-project.title': string;
|
|
247
|
-
'pisell2.text.cup-project.search-bar.placeholder': string;
|
|
248
|
-
'pisell2.text.cup-project.footer.button.new-customer': string;
|
|
249
|
-
'pisell2.text.cup-project.footer.button.customer-list': string;
|
|
250
|
-
'pisell2.text.cup-project.footer.button.cup-list': string;
|
|
251
|
-
'pisell2.text.cup-project.footer.button.register-cups': string;
|
|
252
|
-
'pisell2.text.cup-project.search-bar.result.header.name': string;
|
|
253
|
-
'pisell2.text.cup-project.search-bar.result.header.registrationTime': string;
|
|
254
|
-
'pisell2.text.cup-project.search-bar.result.header.phone': string;
|
|
255
|
-
'pisell2.text.cup-project.search-bar.result.header.email': string;
|
|
256
|
-
'pisell2.text.cup-project.search-bar.result.header.membership': string;
|
|
257
|
-
'pisell2.text.ecocup.title': string;
|
|
258
|
-
'pisell2.text.ecocup.status.placeholder': string;
|
|
259
|
-
'pisell2.text.ecocup.status.shop.placeholder': string;
|
|
260
|
-
'pisell2.text.ecocup.scan-or-search': string;
|
|
261
|
-
'pisell2.text.ecocup.available-to-rent': string;
|
|
262
|
-
'pisell2.text.ecocup.rent': string;
|
|
263
|
-
'pisell2.text.ecocup.broken': string;
|
|
264
|
-
'pisell2.text.ecocup.cup-rent': string;
|
|
265
|
-
'pisell2.text.ecocup.cup-returned': string;
|
|
266
|
-
'pisell2.text.ecocup.eco.cup-rent': string;
|
|
267
|
-
'pisell2.text.ecocup.eco.cup-returned': string;
|
|
268
|
-
'pisell2.text.ecocup.table.cup-code': string;
|
|
269
|
-
'pisell2.text.ecocup.table.customer': string;
|
|
270
|
-
'pisell2.text.ecocup.table.status': string;
|
|
271
|
-
'pisell2.text.ecocup.table.shop-of-rent': string;
|
|
272
|
-
'pisell2.text.ecocup.table.time-of-rent': string;
|
|
273
|
-
'pisell2.text.ecocup.table.shop-of-return': string;
|
|
274
|
-
'pisell2.text.ecocup.table.time-of-return': string;
|
|
275
|
-
'pisell2.text.ecocup.table.operated-at': string;
|
|
276
|
-
'pisell2.text.ecocup.table.actions': string;
|
|
277
|
-
'pisell2.text.ecocup.status.rent': string;
|
|
278
|
-
'pisell2.text.ecocup.status.in-stock': string;
|
|
279
|
-
'pisell2.text.ecocup.status.all': string;
|
|
280
|
-
'pisell2.text.ecocup.status.shop-changed': string;
|
|
281
|
-
'pisell2.text.ecocup.status.overtime': string;
|
|
282
|
-
'pisell2.text.ecocup.status.expire-soon': string;
|
|
283
|
-
'pisell2.text.ecocup.status.borrowing': string;
|
|
284
|
-
'pisell2.text.ecocup.status.returned': string;
|
|
285
|
-
'pisell2.text.ecocup.action.return': string;
|
|
286
|
-
'pisell2.text.ecocup.action.more': string;
|
|
287
|
-
'pisell2.text.ecocup.action.more.missing': string;
|
|
288
|
-
'pisell2.text.ecocup.action.more.broken': string;
|
|
289
|
-
'pisell2.text.ecocup.table.time-of-rent.relative': (num: number) => string;
|
|
290
|
-
'pisell2.text.ecocup.table.time-of-return.today': string;
|
|
291
|
-
'pisell2.text.ecocup.customer.list.title': string;
|
|
292
|
-
'pisell2.text.ecocup.customer.list.customer': string;
|
|
293
|
-
'pisell2.text.ecocup.customer.list.registed': string;
|
|
294
|
-
'pisell2.text.ecocup.customer.list.email': string;
|
|
295
|
-
'pisell2.text.ecocup.customer.list.mobile': string;
|
|
296
|
-
'pisell2.text.ecocup.customer.list.cup.borrowed': string;
|
|
297
|
-
'pisell2.text.ecocup.customer.list.cup.returned': string;
|
|
298
|
-
'pisell2.text.ecocup.customer.list.customer.profile': string;
|
|
299
|
-
'pisell2.text.ecocup.customer.list.search.placeholder': string;
|
|
300
|
-
'pisell2.text.ecocup.add-customer-modal.title': string;
|
|
301
|
-
'pisell2.text.ecocup.add-customer-modal.first-name': string;
|
|
302
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-placeholder': string;
|
|
303
|
-
'pisell2.text.ecocup.add-customer-modal.first-name-required': string;
|
|
304
|
-
'pisell2.text.ecocup.add-customer-modal.last-name': string;
|
|
305
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-placeholder': string;
|
|
306
|
-
'pisell2.text.ecocup.add-customer-modal.last-name-required': string;
|
|
307
|
-
'pisell2.text.ecocup.add-customer-modal.phone': string;
|
|
308
|
-
'pisell2.text.ecocup.add-customer-modal.phone-placeholder': string;
|
|
309
|
-
'pisell2.text.ecocup.add-customer-modal.phone-required': string;
|
|
310
|
-
'pisell2.text.ecocup.add-customer-modal.phone-error': string;
|
|
311
|
-
'pisell2.text.ecocup.add-customer-modal.email': string;
|
|
312
|
-
'pisell2.text.ecocup.add-customer-modal.email-placeholder': string;
|
|
313
|
-
'pisell2.text.ecocup.add-customer-modal.email-required': string;
|
|
314
|
-
'pisell2.text.ecocup.add-customer-modal.membership': string;
|
|
315
|
-
'pisell2.text.ecocup.add-customer-modal.success': string;
|
|
316
|
-
'pisell2.text.ecocup.cup-action-modal.title-return': string;
|
|
317
|
-
'pisell2.text.ecocup.cup-action-modal.title-missing': string;
|
|
318
|
-
'pisell2.text.ecocup.cup-action-modal.title-broken': string;
|
|
319
|
-
'pisell2.text.ecocup.cup-action-modal.cup-id': string;
|
|
320
|
-
'pisell2.text.ecocup.cup-action-modal.cup-tip': string;
|
|
321
|
-
'pisell2.text.ecocup.cup-info-card.title.rentInfo': string;
|
|
322
|
-
'pisell2.text.ecocup.cup-info-card.title.markInfo': string;
|
|
323
|
-
'pisell2.text.ecocup.cup-info-card.title.belongInfo': string;
|
|
324
|
-
'pisell2.text.ecocup.customer-first-modal.title': string;
|
|
325
|
-
'pisell2.text.ecocup.customer-first-modal.search-tip': string;
|
|
326
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder': string;
|
|
327
|
-
'pisell2.text.ecocup.customer-first-modal.search-bar.placeholder-cup': string;
|
|
328
|
-
'pisell2.text.ecocup.customer-first-modal.over-max': string;
|
|
329
|
-
'pisell2.text.ecocup.customer-first-modal.no-customer': string;
|
|
330
|
-
'pisell2.text.ecocup.search-bar.search-tip': string;
|
|
331
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_rent': string;
|
|
332
|
-
'pisell2.text.ecocup.cup-status-modal.title-other_in_stock': string;
|
|
333
|
-
'pisell2.text.ecocup.cup-status-modal.title-missing': string;
|
|
334
|
-
'pisell2.text.ecocup.cup-status-modal.title-broken': string;
|
|
335
|
-
'pisell2.text.ecocup.cup-status-modal.title-not_found': string;
|
|
336
|
-
'pisell2.text.ecocup.cup-status-modal.tip': string;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
export default _default;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Eftpos, DeviceStatus } from './const';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface PosProps {
|
|
5
|
-
/** 厂商类型 */
|
|
6
|
-
type: Eftpos;
|
|
7
|
-
/** 厂商名称 */
|
|
8
|
-
name: string;
|
|
9
|
-
/** 厂商额外信息 */
|
|
10
|
-
config: {
|
|
11
|
-
[key: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
/** 编辑页面zIndex */
|
|
14
|
-
zIndex?: number;
|
|
15
|
-
/** table 列表宽度 */
|
|
16
|
-
tableSize: number[];
|
|
17
|
-
/** tyro sdk url */
|
|
18
|
-
tyroUrl: string;
|
|
19
|
-
/** tyro sdk version */
|
|
20
|
-
tyroVersion: string;
|
|
21
|
-
/** tyro log 是否展示 */
|
|
22
|
-
useTyroLog?: boolean;
|
|
23
|
-
/** 获取字段匹配数据项 */
|
|
24
|
-
getComm: (params: {
|
|
25
|
-
field: string;
|
|
26
|
-
value?: unknown;
|
|
27
|
-
}, record?: any) => any;
|
|
28
|
-
/** 设备厂商默认数据 */
|
|
29
|
-
getField: (type: Eftpos, status?: DeviceStatus) => any;
|
|
30
|
-
/** 编辑设备数据 */
|
|
31
|
-
onEdit: (device: any, type: DeviceStatus) => Promise<any>;
|
|
32
|
-
/** 编辑厂商数据 */
|
|
33
|
-
onEditKey: () => {};
|
|
34
|
-
/** 设备列表数据 */
|
|
35
|
-
getList: (params: {
|
|
36
|
-
type: Eftpos;
|
|
37
|
-
num: number;
|
|
38
|
-
skip: number;
|
|
39
|
-
}) => any;
|
|
40
|
-
/** 删除列表数据 */
|
|
41
|
-
onDel: (id: string | number) => Promise<any>;
|
|
42
|
-
/** 获取pos刷卡机配置字段 */
|
|
43
|
-
getPosComm: (...agrn: unknown[]) => any;
|
|
44
|
-
savePos: (...agrn: unknown[]) => any;
|
|
45
|
-
}
|
|
46
|
-
declare const _default: (props: PosProps) => React.JSX.Element;
|
|
47
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ActionProps } from '../../const';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 支付状态未知页面
|
|
5
|
-
* @description:
|
|
6
|
-
* @Author: hongbing.wang
|
|
7
|
-
* @Date: 2024-08-20 11:42
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: ({ onChange, className }: ActionProps) => React.JSX.Element;
|
|
10
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { State } from '../store';
|
|
2
|
-
import { ModeEnum } from '../const';
|
|
3
|
-
export declare const getStep: (mode?: ModeEnum) => State['steps'];
|
|
4
|
-
declare const _default: (params: any) => State;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare enum EVisibleButtonType {
|
|
7
|
-
/** 取消按钮 */
|
|
8
|
-
CancelButton = "CancelButton",
|
|
9
|
-
/** 等待按钮 */
|
|
10
|
-
WaitButton = "WaitButton"
|
|
11
|
-
}
|
|
12
|
-
export declare enum LinklyActionStatus {
|
|
13
|
-
/** 空 */
|
|
14
|
-
Empty = "Empty",
|
|
15
|
-
/** 取消 */
|
|
16
|
-
Cancel = "Cancel",
|
|
17
|
-
/** 取消中 */
|
|
18
|
-
CancelWaiting = "CancelWaiting",
|
|
19
|
-
/** 签名 */
|
|
20
|
-
Signature = "Signature",
|
|
21
|
-
/** 签名等待中 */
|
|
22
|
-
SignatureWaiting = "SignatureWaiting"
|
|
23
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StatusEnum } from '../const';
|
|
3
|
-
export declare const POS: ({ api, onChange, }: {
|
|
4
|
-
api: {
|
|
5
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
6
|
-
};
|
|
7
|
-
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
8
|
-
[keys: string]: unknown;
|
|
9
|
-
} | undefined) => void;
|
|
10
|
-
}) => React.JSX.Element;
|
|
11
|
-
export declare const Action: ({ onChange }: {
|
|
12
|
-
onChange: any;
|
|
13
|
-
}) => React.JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Amount, ModeEnum } from '../const';
|
|
2
|
-
import { State } from '../store';
|
|
3
|
-
/**
|
|
4
|
-
* @title: payo 步骤信息
|
|
5
|
-
* @description:
|
|
6
|
-
* @return {*}
|
|
7
|
-
* @Author: hongbing.wang
|
|
8
|
-
* @Date: 2024-08-12 10:19
|
|
9
|
-
*/
|
|
10
|
-
export declare const getStep: (mode?: ModeEnum) => State['steps'];
|
|
11
|
-
/**
|
|
12
|
-
* @title: 初始化 payo 数据
|
|
13
|
-
* @description:
|
|
14
|
-
* @Author: hongbing.wang
|
|
15
|
-
* @Date: 2024-08-12 10:19
|
|
16
|
-
*/
|
|
17
|
-
declare const _default: (params: any) => State;
|
|
18
|
-
export default _default;
|
|
19
|
-
/**
|
|
20
|
-
* @title: payo 金额信息
|
|
21
|
-
* @description: 在 amount 页面设置则使用 pay ,如果有 setting 则使用 setting 信息 ,都没有则设置0
|
|
22
|
-
* @param {State} store : 全局store数据管理
|
|
23
|
-
* @Author: hongbing.wang
|
|
24
|
-
* @Date: 2024-08-12 10:24
|
|
25
|
-
*/
|
|
26
|
-
export declare function getAmonunt(store: State): Amount;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../const';
|
|
2
|
-
import { State } from '../store';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 初始化 tyro 数据
|
|
5
|
-
* @Author: hongbing.wang
|
|
6
|
-
* @Date: 2024-08-20 13:50
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: (params: any) => State;
|
|
9
|
-
export default _default;
|
|
10
|
-
/**
|
|
11
|
-
* @title: tyro 金额信息
|
|
12
|
-
* @description: 在 amount 页面设置则使用 pay ,如果有 setting 则使用 setting 信息 ,都没有则设置0
|
|
13
|
-
* @param {State} store : 全局store数据管理
|
|
14
|
-
* @Author: hongbing.wang
|
|
15
|
-
* @Date: 2024-08-12 10:24
|
|
16
|
-
*/
|
|
17
|
-
export declare function getAmonunt(store: State): Amount;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { Amount } from '../const';
|
|
2
|
-
import { State } from '../store';
|
|
3
|
-
/**
|
|
4
|
-
* @title: 初始化 windcave 数据
|
|
5
|
-
* @return store 全局数据管理
|
|
6
|
-
* @Author: hongbing.wang
|
|
7
|
-
* @Date: 2024-08-12 10:42
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: (params: any) => State;
|
|
10
|
-
export default _default;
|
|
11
|
-
/**
|
|
12
|
-
* @title: windcave 金额信息
|
|
13
|
-
* @description:
|
|
14
|
-
* @param {State} store : 全局store数据管理
|
|
15
|
-
* @return 金额信息
|
|
16
|
-
* @Author: hongbing.wang
|
|
17
|
-
* @Date: 2024-08-12 10:43
|
|
18
|
-
*/
|
|
19
|
-
export declare function getAmonunt(store: State): Amount;
|
|
20
|
-
export declare enum StepStatusEnum {
|
|
21
|
-
/** 空闲 */
|
|
22
|
-
Free = 1,
|
|
23
|
-
/** 提交或插入卡 */
|
|
24
|
-
Card = 2,
|
|
25
|
-
/** 选择账户 */
|
|
26
|
-
Account = 3,
|
|
27
|
-
/** 选择应用 */
|
|
28
|
-
Application = 4,
|
|
29
|
-
/** 输入PIN码 */
|
|
30
|
-
Pin = 5,
|
|
31
|
-
/** 处理中 */
|
|
32
|
-
Processing = 6,
|
|
33
|
-
/** 验证签名 */
|
|
34
|
-
Receipt = 7,
|
|
35
|
-
/** 显示结果 */
|
|
36
|
-
Wait = 8
|
|
37
|
-
}
|
|
38
|
-
export declare enum StemTypeEnum {
|
|
39
|
-
/** 主动查询 */
|
|
40
|
-
Active = "active",
|
|
41
|
-
/** 被动提交 */
|
|
42
|
-
Passive = "passive"
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @title: windcave 步骤信息
|
|
46
|
-
* @description: 步骤对应配置信息
|
|
47
|
-
* @return 步骤配置信息
|
|
48
|
-
* @Author: hongbing.wang
|
|
49
|
-
* @Date: 2024-08-12 10:44
|
|
50
|
-
*/
|
|
51
|
-
export declare const getStepMapping: (type: StepStatusEnum, { money, mode }: {
|
|
52
|
-
money?: string | undefined;
|
|
53
|
-
mode?: string | undefined;
|
|
54
|
-
}) => {
|
|
55
|
-
type: StemTypeEnum;
|
|
56
|
-
status: string;
|
|
57
|
-
pedding: any;
|
|
58
|
-
resolve: string;
|
|
59
|
-
index: StepStatusEnum.Free;
|
|
60
|
-
peddingStyle: {};
|
|
61
|
-
reject?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
type: StemTypeEnum;
|
|
64
|
-
status: string;
|
|
65
|
-
pedding: any;
|
|
66
|
-
resolve: string;
|
|
67
|
-
index: StepStatusEnum.Card;
|
|
68
|
-
peddingStyle: {};
|
|
69
|
-
reject?: undefined;
|
|
70
|
-
} | {
|
|
71
|
-
type: StemTypeEnum;
|
|
72
|
-
status: string;
|
|
73
|
-
pedding: any;
|
|
74
|
-
resolve: string;
|
|
75
|
-
index: StepStatusEnum.Account;
|
|
76
|
-
peddingStyle: {};
|
|
77
|
-
reject?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
type: StemTypeEnum;
|
|
80
|
-
status: string;
|
|
81
|
-
pedding: any;
|
|
82
|
-
resolve: string;
|
|
83
|
-
index: StepStatusEnum.Application;
|
|
84
|
-
peddingStyle: {};
|
|
85
|
-
reject?: undefined;
|
|
86
|
-
} | {
|
|
87
|
-
type: StemTypeEnum;
|
|
88
|
-
status: string;
|
|
89
|
-
pedding: any;
|
|
90
|
-
resolve: string;
|
|
91
|
-
index: StepStatusEnum.Pin;
|
|
92
|
-
peddingStyle: {};
|
|
93
|
-
reject?: undefined;
|
|
94
|
-
} | {
|
|
95
|
-
type: StemTypeEnum;
|
|
96
|
-
status: string;
|
|
97
|
-
pedding: any;
|
|
98
|
-
resolve: string;
|
|
99
|
-
index: StepStatusEnum.Processing;
|
|
100
|
-
peddingStyle: {};
|
|
101
|
-
reject?: undefined;
|
|
102
|
-
} | {
|
|
103
|
-
type: StemTypeEnum;
|
|
104
|
-
status: string;
|
|
105
|
-
pedding: string;
|
|
106
|
-
resolve: any;
|
|
107
|
-
reject: any;
|
|
108
|
-
index: StepStatusEnum.Receipt;
|
|
109
|
-
peddingStyle: {};
|
|
110
|
-
} | {
|
|
111
|
-
type: StemTypeEnum;
|
|
112
|
-
status: string;
|
|
113
|
-
pedding: any;
|
|
114
|
-
resolve: any;
|
|
115
|
-
index: StepStatusEnum.Wait;
|
|
116
|
-
peddingStyle: {};
|
|
117
|
-
reject?: undefined;
|
|
118
|
-
} | null;
|
|
119
|
-
export declare type StepType = NonNullable<ReturnType<typeof getStepMapping>>;
|