@pisell/private-materials 6.6.6 → 6.6.8
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/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/checkout/PaymentModal.js +15 -10
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/checkout/PaymentModal.js +5 -2
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/package.json +4 -4
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/pay/toC/locales.d.ts +0 -301
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/plus/selectHolder/types.d.ts +0 -104
- package/es/plus/selectHolder/utils.d.ts +0 -9
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/hooks/index.d.ts +0 -2
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/Header.d.ts +0 -11
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/Login2.0/types.d.ts +0 -167
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/pay/toC/locales.d.ts +0 -301
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/plus/selectHolder/types.d.ts +0 -104
- package/lib/plus/selectHolder/utils.d.ts +0 -9
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/hooks/index.d.ts +0 -2
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/Header.d.ts +0 -11
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/Login2.0/types.d.ts +0 -167
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormInstance } from 'antd';
|
|
3
|
-
export interface MultiLanguageTitle {
|
|
4
|
-
original?: string;
|
|
5
|
-
'zh-CN'?: string;
|
|
6
|
-
'zh-HK'?: string;
|
|
7
|
-
en?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ValidForConfig {
|
|
10
|
-
unit: string;
|
|
11
|
-
unit_type: 'day' | 'month' | 'year';
|
|
12
|
-
type: 'normal' | 'custom' | 'forever';
|
|
13
|
-
custom_date?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
|
|
16
|
-
export interface ShowcaseWalletPassItem {
|
|
17
|
-
type: WalletPassType;
|
|
18
|
-
display: 0 | 1;
|
|
19
|
-
name?: MultiLanguageTitle;
|
|
20
|
-
custom_title?: MultiLanguageTitle;
|
|
21
|
-
}
|
|
22
|
-
export interface SendConfig {
|
|
23
|
-
type: string;
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}
|
|
26
|
-
export interface WalletMetadata {
|
|
27
|
-
showcaseWalletPass?: string[];
|
|
28
|
-
showcaseWalletPassNew?: ShowcaseWalletPassItem[];
|
|
29
|
-
welcomeText?: string;
|
|
30
|
-
customerName?: string;
|
|
31
|
-
coverImage?: string;
|
|
32
|
-
send_config?: SendConfig;
|
|
33
|
-
}
|
|
34
|
-
export interface WalletEditorValue {
|
|
35
|
-
name?: MultiLanguageTitle;
|
|
36
|
-
status: 'enable' | 'disable';
|
|
37
|
-
valid_for: ValidForConfig;
|
|
38
|
-
metadata: WalletMetadata;
|
|
39
|
-
}
|
|
40
|
-
export interface WalletEditorRef {
|
|
41
|
-
form: FormInstance;
|
|
42
|
-
setInitialValues: (values: WalletEditorValue) => void;
|
|
43
|
-
getValues: () => WalletEditorValue;
|
|
44
|
-
}
|
|
45
|
-
export interface WalletEditorProps {
|
|
46
|
-
value?: WalletEditorValue;
|
|
47
|
-
onChange?: (value: WalletEditorValue) => void;
|
|
48
|
-
onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
className?: string;
|
|
51
|
-
style?: React.CSSProperties;
|
|
52
|
-
}
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
4
|
-
'wallet-pass-gallery.voucher': string;
|
|
5
|
-
'wallet-pass-gallery.pointCard': string;
|
|
6
|
-
'wallet-pass-gallery.discountCard': string;
|
|
7
|
-
'wallet-pass-gallery.unavailable': string;
|
|
8
|
-
'wallet-pass-gallery.available': string;
|
|
9
|
-
'wallet-pass-gallery.confirm': string;
|
|
10
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
11
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
12
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
13
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
14
|
-
'wallet-pass-gallery.add': string;
|
|
15
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
16
|
-
'wallet-pass-gallery.recharge': string;
|
|
17
|
-
'wallet-pass-gallery.wallet': string;
|
|
18
|
-
'wallet-pass-gallery.details': string;
|
|
19
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
20
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
21
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
22
|
-
'wallet-pass-gallery.points': string;
|
|
23
|
-
'wallet-pass-gallery.goodPass': string;
|
|
24
|
-
'wallet-pass-gallery.cardName': string;
|
|
25
|
-
'wallet-pass-gallery.carNumber': string;
|
|
26
|
-
'wallet-pass-gallery.balance': string;
|
|
27
|
-
'wallet-pass-gallery.discount': string;
|
|
28
|
-
'wallet-pass-gallery.validDate': string;
|
|
29
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
30
|
-
'wallet-pass-gallery.addError': string;
|
|
31
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
32
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
33
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
34
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
35
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
36
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
37
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
38
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
39
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
40
|
-
'wallet-pass-gallery.button.add': string;
|
|
41
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
42
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
43
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
44
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
45
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
46
|
-
'wallet-pass-gallery.copyButton': string;
|
|
47
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
48
|
-
'wallet-pass-gallery.detail': string;
|
|
49
|
-
'wallet-pass-gallery.activelog': string;
|
|
50
|
-
'wallet-pass-gallery.copyText': string;
|
|
51
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
52
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
53
|
-
'wallet-pass-gallery.date': string;
|
|
54
|
-
'wallet-pass-gallery.spending': string;
|
|
55
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
56
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
57
|
-
'wallet-pass-gallery.refund': string;
|
|
58
|
-
'wallet-pass-gallery.expire': string;
|
|
59
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
60
|
-
'wallet-pass-gallery.done': string;
|
|
61
|
-
'wallet-pass-gallery.addIos': string;
|
|
62
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
63
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
64
|
-
'wallet-pass-gallery.expireDate': string;
|
|
65
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
66
|
-
'wallet-pass-gallery.notIOS': string;
|
|
67
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
68
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
69
|
-
'wallet-pass-gallery.openFailed': string;
|
|
70
|
-
'wallet-pass-gallery.loading': string;
|
|
71
|
-
'wallet-pass-gallery.usageRules': string;
|
|
72
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
73
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
74
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
75
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
76
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
77
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
78
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
79
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
80
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
81
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
82
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
83
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
84
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
85
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
86
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
87
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
88
|
-
'wallet-pass-gallery.viewMore': string;
|
|
89
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
90
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
91
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
92
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
93
|
-
'page.wallet.notValidDate': string;
|
|
94
|
-
'page.wallet.includedDate': string;
|
|
95
|
-
};
|
|
96
|
-
'zh-CN': {
|
|
97
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
98
|
-
'wallet-pass-gallery.voucher': string;
|
|
99
|
-
'wallet-pass-gallery.pointCard': string;
|
|
100
|
-
'wallet-pass-gallery.discountCard': string;
|
|
101
|
-
'wallet-pass-gallery.unavailable': string;
|
|
102
|
-
'wallet-pass-gallery.available': string;
|
|
103
|
-
'wallet-pass-gallery.confirm': string;
|
|
104
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
105
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
106
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
107
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
108
|
-
'wallet-pass-gallery.add': string;
|
|
109
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
110
|
-
'wallet-pass-gallery.recharge': string;
|
|
111
|
-
'wallet-pass-gallery.wallet': string;
|
|
112
|
-
'wallet-pass-gallery.details': string;
|
|
113
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
114
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
115
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
116
|
-
'wallet-pass-gallery.points': string;
|
|
117
|
-
'wallet-pass-gallery.goodPass': string;
|
|
118
|
-
'wallet-pass-gallery.cardName': string;
|
|
119
|
-
'wallet-pass-gallery.carNumber': string;
|
|
120
|
-
'wallet-pass-gallery.balance': string;
|
|
121
|
-
'wallet-pass-gallery.discount': string;
|
|
122
|
-
'wallet-pass-gallery.validDate': string;
|
|
123
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
124
|
-
'wallet-pass-gallery.addError': string;
|
|
125
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
126
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
127
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
128
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
129
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
130
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
131
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
132
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
133
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
134
|
-
'wallet-pass-gallery.button.add': string;
|
|
135
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
136
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
137
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
138
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
139
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
140
|
-
'wallet-pass-gallery.copyButton': string;
|
|
141
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
142
|
-
'wallet-pass-gallery.detail': string;
|
|
143
|
-
'wallet-pass-gallery.activelog': string;
|
|
144
|
-
'wallet-pass-gallery.copyText': string;
|
|
145
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
146
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
147
|
-
'wallet-pass-gallery.date': string;
|
|
148
|
-
'wallet-pass-gallery.spending': string;
|
|
149
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
150
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
151
|
-
'wallet-pass-gallery.refund': string;
|
|
152
|
-
'wallet-pass-gallery.expire': string;
|
|
153
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
154
|
-
'wallet-pass-gallery.done': string;
|
|
155
|
-
'wallet-pass-gallery.addIos': string;
|
|
156
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
157
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
158
|
-
'wallet-pass-gallery.expireDate': string;
|
|
159
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
160
|
-
'wallet-pass-gallery.notIOS': string;
|
|
161
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
162
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
163
|
-
'wallet-pass-gallery.openFailed': string;
|
|
164
|
-
'wallet-pass-gallery.loading': string;
|
|
165
|
-
'wallet-pass-gallery.usageRules': string;
|
|
166
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
167
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
168
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
169
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
170
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
171
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
172
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
173
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
174
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
175
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
176
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
177
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
178
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
179
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
180
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
181
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
182
|
-
'wallet-pass-gallery.viewMore': string;
|
|
183
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
184
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
185
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
186
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
187
|
-
'page.wallet.notValidDate': string;
|
|
188
|
-
'page.wallet.includedDate': string;
|
|
189
|
-
};
|
|
190
|
-
'zh-HK': {
|
|
191
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
192
|
-
'wallet-pass-gallery.voucher': string;
|
|
193
|
-
'wallet-pass-gallery.pointCard': string;
|
|
194
|
-
'wallet-pass-gallery.discountCard': string;
|
|
195
|
-
'wallet-pass-gallery.unavailable': string;
|
|
196
|
-
'wallet-pass-gallery.available': string;
|
|
197
|
-
'wallet-pass-gallery.confirm': string;
|
|
198
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
199
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
200
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
201
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
202
|
-
'wallet-pass-gallery.add': string;
|
|
203
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
204
|
-
'wallet-pass-gallery.recharge': string;
|
|
205
|
-
'wallet-pass-gallery.wallet': string;
|
|
206
|
-
'wallet-pass-gallery.details': string;
|
|
207
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
208
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
209
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
210
|
-
'wallet-pass-gallery.points': string;
|
|
211
|
-
'wallet-pass-gallery.goodPass': string;
|
|
212
|
-
'wallet-pass-gallery.cardName': string;
|
|
213
|
-
'wallet-pass-gallery.carNumber': string;
|
|
214
|
-
'wallet-pass-gallery.balance': string;
|
|
215
|
-
'wallet-pass-gallery.discount': string;
|
|
216
|
-
'wallet-pass-gallery.validDate': string;
|
|
217
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
218
|
-
'wallet-pass-gallery.addError': string;
|
|
219
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
220
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
221
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
222
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
223
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
224
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
225
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
226
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
227
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
228
|
-
'wallet-pass-gallery.button.add': string;
|
|
229
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
230
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
231
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
232
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
233
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
234
|
-
'wallet-pass-gallery.copyButton': string;
|
|
235
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
236
|
-
'wallet-pass-gallery.detail': string;
|
|
237
|
-
'wallet-pass-gallery.activelog': string;
|
|
238
|
-
'wallet-pass-gallery.copyText': string;
|
|
239
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
240
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
241
|
-
'wallet-pass-gallery.date': string;
|
|
242
|
-
'wallet-pass-gallery.spending': string;
|
|
243
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
244
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
245
|
-
'wallet-pass-gallery.refund': string;
|
|
246
|
-
'wallet-pass-gallery.expire': string;
|
|
247
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
248
|
-
'wallet-pass-gallery.done': string;
|
|
249
|
-
'wallet-pass-gallery.addIos': string;
|
|
250
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
251
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
252
|
-
'wallet-pass-gallery.expireDate': string;
|
|
253
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
254
|
-
'wallet-pass-gallery.notIOS': string;
|
|
255
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
256
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
257
|
-
'wallet-pass-gallery.openFailed': string;
|
|
258
|
-
'wallet-pass-gallery.loading': string;
|
|
259
|
-
'wallet-pass-gallery.usageRules': string;
|
|
260
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
261
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
262
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
263
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
264
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
265
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
266
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
267
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
268
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
269
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
270
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
271
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
272
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
273
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
274
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
275
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
276
|
-
'wallet-pass-gallery.viewMore': string;
|
|
277
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
278
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
279
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
280
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
281
|
-
'page.wallet.notValidDate': string;
|
|
282
|
-
'page.wallet.includedDate': string;
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
interface ScheduleTextResult {
|
|
2
|
-
validityTexts: string[];
|
|
3
|
-
excluded_date: string[];
|
|
4
|
-
included_date: string[];
|
|
5
|
-
}
|
|
6
|
-
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
-
interface ScheduleItem {
|
|
8
|
-
id: number;
|
|
9
|
-
name: string | {
|
|
10
|
-
[key: string]: string;
|
|
11
|
-
};
|
|
12
|
-
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
-
start_time: string | null;
|
|
14
|
-
end_time: string | null;
|
|
15
|
-
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
-
repeat_rule: {
|
|
17
|
-
end: {
|
|
18
|
-
type: 'never' | 'date' | 'occurrence';
|
|
19
|
-
end_date: string | null;
|
|
20
|
-
occurrence: number | null;
|
|
21
|
-
};
|
|
22
|
-
frequency: number;
|
|
23
|
-
excluded_date: Array<{
|
|
24
|
-
start: string;
|
|
25
|
-
end: string;
|
|
26
|
-
}>;
|
|
27
|
-
included_date: any[];
|
|
28
|
-
frequency_date: number[];
|
|
29
|
-
} | null;
|
|
30
|
-
designation: Array<{
|
|
31
|
-
start_date: string;
|
|
32
|
-
start_time: string;
|
|
33
|
-
end_date: string;
|
|
34
|
-
end_time: string;
|
|
35
|
-
}> | null;
|
|
36
|
-
is_all: number;
|
|
37
|
-
time_slot: Array<{
|
|
38
|
-
start_time: string;
|
|
39
|
-
end_time: string;
|
|
40
|
-
}>;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* 根据scheduleList格式化文案展示
|
|
44
|
-
* @param scheduleList 日程列表
|
|
45
|
-
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
-
*/
|
|
47
|
-
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'antd/es/form';
|
|
2
|
-
export interface PasswordRuleConfig {
|
|
3
|
-
minLength?: number;
|
|
4
|
-
requireUppercase?: boolean;
|
|
5
|
-
requireLowercase?: boolean;
|
|
6
|
-
requireNumber?: boolean;
|
|
7
|
-
requireSpecialCharacters?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface PasswordRuleMessages {
|
|
10
|
-
required?: string;
|
|
11
|
-
minLength?: string;
|
|
12
|
-
requireUppercase?: string;
|
|
13
|
-
requireLowercase?: string;
|
|
14
|
-
requireNumber?: string;
|
|
15
|
-
requireSpecialCharacters?: string;
|
|
16
|
-
summary?: string;
|
|
17
|
-
}
|
|
18
|
-
interface UsePasswordValidationRulesOptions {
|
|
19
|
-
translate?: (key: string) => string;
|
|
20
|
-
fallbackMinLength?: number;
|
|
21
|
-
messageKeys?: PasswordRuleMessages;
|
|
22
|
-
}
|
|
23
|
-
export declare const usePasswordValidationRules: (passwordRules?: PasswordRuleConfig, options?: UsePasswordValidationRulesOptions) => Rule[];
|
|
24
|
-
export default usePasswordValidationRules;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { RegisterStep, RegisterFlowData, RegisterFlowConfig, getStepDefinition } from '../shared/registerFlow';
|
|
2
|
-
import type { AuthMethodType } from '../shared/types';
|
|
3
|
-
export interface UseRegisterFlowOptions {
|
|
4
|
-
/** 账号类型 */
|
|
5
|
-
accountType: AuthMethodType;
|
|
6
|
-
/** 邮箱配置 */
|
|
7
|
-
emailConfig?: {
|
|
8
|
-
enable_email?: boolean;
|
|
9
|
-
require_email_verification?: boolean;
|
|
10
|
-
};
|
|
11
|
-
/** 手机配置 */
|
|
12
|
-
phoneConfig?: {
|
|
13
|
-
enable_phone_number?: boolean;
|
|
14
|
-
require_phone_verification?: boolean;
|
|
15
|
-
};
|
|
16
|
-
/** 初始账号 */
|
|
17
|
-
initialAccount?: string;
|
|
18
|
-
/** 步骤变化回调 */
|
|
19
|
-
onStepChange?: (step: RegisterStep, data: RegisterFlowData) => void;
|
|
20
|
-
/** 完成回调 */
|
|
21
|
-
onComplete?: (data: RegisterFlowData) => void;
|
|
22
|
-
}
|
|
23
|
-
export interface UseRegisterFlowReturn {
|
|
24
|
-
/** 当前流程数据 */
|
|
25
|
-
flowData: RegisterFlowData;
|
|
26
|
-
/** 当前步骤定义 */
|
|
27
|
-
currentStepDef: ReturnType<typeof getStepDefinition>;
|
|
28
|
-
/** 流程配置 */
|
|
29
|
-
flowConfig: RegisterFlowConfig;
|
|
30
|
-
/** 跳转到指定步骤 */
|
|
31
|
-
goToStep: (step: RegisterStep, updates?: Partial<RegisterFlowData>) => void;
|
|
32
|
-
/** 更新流程数据 */
|
|
33
|
-
updateFlowData: (updates: Partial<RegisterFlowData>) => void;
|
|
34
|
-
/** 重置流程 */
|
|
35
|
-
resetFlow: () => void;
|
|
36
|
-
/** 处理错误 */
|
|
37
|
-
handleError: (code: string, message: string, targetStep?: RegisterStep) => void;
|
|
38
|
-
}
|
|
39
|
-
export declare function useRegisterFlow(options: UseRegisterFlowOptions): UseRegisterFlowReturn;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AuthMethodType } from '../shared/types';
|
|
2
|
-
/**
|
|
3
|
-
* 注册方式相关的逻辑hook
|
|
4
|
-
*/
|
|
5
|
-
export declare function useRegistrationMethods(isRegistrationMethodEnabled: (type: AuthMethodType) => boolean): {
|
|
6
|
-
enabledMethods: AuthMethodType[];
|
|
7
|
-
shouldShowDivider: boolean;
|
|
8
|
-
hasEmailAndPhone: boolean;
|
|
9
|
-
};
|