@pisell/private-materials 6.3.146 → 6.3.149
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 +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.js +12 -6
- package/es/components/appointmentBooking/components/Form/index.js +15 -2
- package/es/components/appointmentBooking/context.js +18 -11
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/appointmentBooking/index.js +6 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/venueBooking/context.d.ts +9 -0
- package/es/components/venueBooking/context.js +17 -12
- package/es/components/venueBooking/index.js +50 -12
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.js +5 -5
- package/lib/components/appointmentBooking/components/Form/index.js +9 -2
- package/lib/components/appointmentBooking/context.js +4 -1
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/appointmentBooking/index.js +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/venueBooking/context.d.ts +9 -0
- package/lib/components/venueBooking/context.js +4 -2
- package/lib/components/venueBooking/index.js +51 -7
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/es/components/appointmentBooking/context.d.ts +0 -35
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- 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/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- 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/WalletPass/List/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/es/plus/walletPassGallery/locales.d.ts +0 -488
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/Register2.d.ts +0 -65
- package/es/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -117
- package/es/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -3
- package/lib/components/appointmentBooking/context.d.ts +0 -35
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- 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/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- 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/WalletPass/List/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/locales.d.ts +0 -488
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/Register2.d.ts +0 -65
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -117
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
|
@@ -1,488 +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
|
-
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
96
|
-
'wallet-pass-gallery.rechargePayAmount': string;
|
|
97
|
-
'wallet-pass-gallery.rechargeToast.productUnavailable': string;
|
|
98
|
-
};
|
|
99
|
-
'zh-CN': {
|
|
100
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
101
|
-
'wallet-pass-gallery.voucher': string;
|
|
102
|
-
'wallet-pass-gallery.pointCard': string;
|
|
103
|
-
'wallet-pass-gallery.discountCard': string;
|
|
104
|
-
'wallet-pass-gallery.unavailable': string;
|
|
105
|
-
'wallet-pass-gallery.available': string;
|
|
106
|
-
'wallet-pass-gallery.confirm': string;
|
|
107
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
108
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
109
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
110
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
111
|
-
'wallet-pass-gallery.add': string;
|
|
112
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
113
|
-
'wallet-pass-gallery.recharge': string;
|
|
114
|
-
'wallet-pass-gallery.wallet': string;
|
|
115
|
-
'wallet-pass-gallery.details': string;
|
|
116
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
117
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
118
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
119
|
-
'wallet-pass-gallery.points': string;
|
|
120
|
-
'wallet-pass-gallery.goodPass': string;
|
|
121
|
-
'wallet-pass-gallery.cardName': string;
|
|
122
|
-
'wallet-pass-gallery.carNumber': string;
|
|
123
|
-
'wallet-pass-gallery.balance': string;
|
|
124
|
-
'wallet-pass-gallery.discount': string;
|
|
125
|
-
'wallet-pass-gallery.validDate': string;
|
|
126
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
127
|
-
'wallet-pass-gallery.addError': string;
|
|
128
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
129
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
130
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
131
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
132
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
133
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
134
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
135
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
136
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
137
|
-
'wallet-pass-gallery.button.add': string;
|
|
138
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
139
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
140
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
141
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
142
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
143
|
-
'wallet-pass-gallery.copyButton': string;
|
|
144
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
145
|
-
'wallet-pass-gallery.detail': string;
|
|
146
|
-
'wallet-pass-gallery.activelog': string;
|
|
147
|
-
'wallet-pass-gallery.copyText': string;
|
|
148
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
149
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
150
|
-
'wallet-pass-gallery.date': string;
|
|
151
|
-
'wallet-pass-gallery.spending': string;
|
|
152
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
153
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
154
|
-
'wallet-pass-gallery.refund': string;
|
|
155
|
-
'wallet-pass-gallery.expire': string;
|
|
156
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
157
|
-
'wallet-pass-gallery.done': string;
|
|
158
|
-
'wallet-pass-gallery.addIos': string;
|
|
159
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
160
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
161
|
-
'wallet-pass-gallery.expireDate': string;
|
|
162
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
163
|
-
'wallet-pass-gallery.notIOS': string;
|
|
164
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
165
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
166
|
-
'wallet-pass-gallery.openFailed': string;
|
|
167
|
-
'wallet-pass-gallery.loading': string;
|
|
168
|
-
'wallet-pass-gallery.usageRules': string;
|
|
169
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
170
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
171
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
172
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
173
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
174
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
175
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
176
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
177
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
178
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
179
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
180
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
181
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
182
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
183
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
184
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
185
|
-
'wallet-pass-gallery.viewMore': string;
|
|
186
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
187
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
188
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
189
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
190
|
-
'page.wallet.notValidDate': string;
|
|
191
|
-
'page.wallet.includedDate': string;
|
|
192
|
-
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
193
|
-
'wallet-pass-gallery.rechargePayAmount': string;
|
|
194
|
-
'wallet-pass-gallery.rechargeToast.productUnavailable': string;
|
|
195
|
-
};
|
|
196
|
-
'zh-HK': {
|
|
197
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
198
|
-
'wallet-pass-gallery.voucher': string;
|
|
199
|
-
'wallet-pass-gallery.pointCard': string;
|
|
200
|
-
'wallet-pass-gallery.discountCard': string;
|
|
201
|
-
'wallet-pass-gallery.unavailable': string;
|
|
202
|
-
'wallet-pass-gallery.available': string;
|
|
203
|
-
'wallet-pass-gallery.confirm': string;
|
|
204
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
205
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
206
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
207
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
208
|
-
'wallet-pass-gallery.add': string;
|
|
209
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
210
|
-
'wallet-pass-gallery.recharge': string;
|
|
211
|
-
'wallet-pass-gallery.wallet': string;
|
|
212
|
-
'wallet-pass-gallery.details': string;
|
|
213
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
214
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
215
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
216
|
-
'wallet-pass-gallery.points': string;
|
|
217
|
-
'wallet-pass-gallery.goodPass': string;
|
|
218
|
-
'wallet-pass-gallery.cardName': string;
|
|
219
|
-
'wallet-pass-gallery.carNumber': string;
|
|
220
|
-
'wallet-pass-gallery.balance': string;
|
|
221
|
-
'wallet-pass-gallery.discount': string;
|
|
222
|
-
'wallet-pass-gallery.validDate': string;
|
|
223
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
224
|
-
'wallet-pass-gallery.addError': string;
|
|
225
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
226
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
227
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
228
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
229
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
230
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
231
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
232
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
233
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
234
|
-
'wallet-pass-gallery.button.add': string;
|
|
235
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
236
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
237
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
238
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
239
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
240
|
-
'wallet-pass-gallery.copyButton': string;
|
|
241
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
242
|
-
'wallet-pass-gallery.detail': string;
|
|
243
|
-
'wallet-pass-gallery.activelog': string;
|
|
244
|
-
'wallet-pass-gallery.copyText': string;
|
|
245
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
246
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
247
|
-
'wallet-pass-gallery.date': string;
|
|
248
|
-
'wallet-pass-gallery.spending': string;
|
|
249
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
250
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
251
|
-
'wallet-pass-gallery.refund': string;
|
|
252
|
-
'wallet-pass-gallery.expire': string;
|
|
253
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
254
|
-
'wallet-pass-gallery.done': string;
|
|
255
|
-
'wallet-pass-gallery.addIos': string;
|
|
256
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
257
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
258
|
-
'wallet-pass-gallery.expireDate': string;
|
|
259
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
260
|
-
'wallet-pass-gallery.notIOS': string;
|
|
261
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
262
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
263
|
-
'wallet-pass-gallery.openFailed': string;
|
|
264
|
-
'wallet-pass-gallery.loading': string;
|
|
265
|
-
'wallet-pass-gallery.usageRules': string;
|
|
266
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
267
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
268
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
269
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
270
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
271
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
272
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
273
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
274
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
275
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
276
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
277
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
278
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
279
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
280
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
281
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
282
|
-
'wallet-pass-gallery.viewMore': string;
|
|
283
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
284
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
285
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
286
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
287
|
-
'page.wallet.notValidDate': string;
|
|
288
|
-
'page.wallet.includedDate': string;
|
|
289
|
-
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
290
|
-
'wallet-pass-gallery.rechargePayAmount': string;
|
|
291
|
-
'wallet-pass-gallery.rechargeToast.productUnavailable': string;
|
|
292
|
-
};
|
|
293
|
-
ja: {
|
|
294
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
295
|
-
'wallet-pass-gallery.voucher': string;
|
|
296
|
-
'wallet-pass-gallery.pointCard': string;
|
|
297
|
-
'wallet-pass-gallery.discountCard': string;
|
|
298
|
-
'wallet-pass-gallery.unavailable': string;
|
|
299
|
-
'wallet-pass-gallery.available': string;
|
|
300
|
-
'wallet-pass-gallery.confirm': string;
|
|
301
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
302
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
303
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
304
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
305
|
-
'wallet-pass-gallery.add': string;
|
|
306
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
307
|
-
'wallet-pass-gallery.recharge': string;
|
|
308
|
-
'wallet-pass-gallery.wallet': string;
|
|
309
|
-
'wallet-pass-gallery.details': string;
|
|
310
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
311
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
312
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
313
|
-
'wallet-pass-gallery.points': string;
|
|
314
|
-
'wallet-pass-gallery.goodPass': string;
|
|
315
|
-
'wallet-pass-gallery.cardName': string;
|
|
316
|
-
'wallet-pass-gallery.carNumber': string;
|
|
317
|
-
'wallet-pass-gallery.balance': string;
|
|
318
|
-
'wallet-pass-gallery.discount': string;
|
|
319
|
-
'wallet-pass-gallery.validDate': string;
|
|
320
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
321
|
-
'wallet-pass-gallery.addError': string;
|
|
322
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
323
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
324
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
325
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
326
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
327
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
328
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
329
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
330
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
331
|
-
'wallet-pass-gallery.button.add': string;
|
|
332
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
333
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
334
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
335
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
336
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
337
|
-
'wallet-pass-gallery.copyButton': string;
|
|
338
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
339
|
-
'wallet-pass-gallery.detail': string;
|
|
340
|
-
'wallet-pass-gallery.activelog': string;
|
|
341
|
-
'wallet-pass-gallery.copyText': string;
|
|
342
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
343
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
344
|
-
'wallet-pass-gallery.date': string;
|
|
345
|
-
'wallet-pass-gallery.spending': string;
|
|
346
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
347
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
348
|
-
'wallet-pass-gallery.refund': string;
|
|
349
|
-
'wallet-pass-gallery.expire': string;
|
|
350
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
351
|
-
'wallet-pass-gallery.done': string;
|
|
352
|
-
'wallet-pass-gallery.addIos': string;
|
|
353
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
354
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
355
|
-
'wallet-pass-gallery.expireDate': string;
|
|
356
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
357
|
-
'wallet-pass-gallery.notIOS': string;
|
|
358
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
359
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
360
|
-
'wallet-pass-gallery.openFailed': string;
|
|
361
|
-
'wallet-pass-gallery.loading': string;
|
|
362
|
-
'wallet-pass-gallery.usageRules': string;
|
|
363
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
364
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
365
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
366
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
367
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
368
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
369
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
370
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
371
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
372
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
373
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
374
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
375
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
376
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
377
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
378
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
379
|
-
'wallet-pass-gallery.viewMore': string;
|
|
380
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
381
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
382
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
383
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
384
|
-
'page.wallet.notValidDate': string;
|
|
385
|
-
'page.wallet.includedDate': string;
|
|
386
|
-
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
387
|
-
'wallet-pass-gallery.rechargePayAmount': string;
|
|
388
|
-
'wallet-pass-gallery.rechargeToast.productUnavailable': string;
|
|
389
|
-
};
|
|
390
|
-
pt: {
|
|
391
|
-
'wallet-pass-gallery.rechargeableCard': string;
|
|
392
|
-
'wallet-pass-gallery.voucher': string;
|
|
393
|
-
'wallet-pass-gallery.pointCard': string;
|
|
394
|
-
'wallet-pass-gallery.discountCard': string;
|
|
395
|
-
'wallet-pass-gallery.unavailable': string;
|
|
396
|
-
'wallet-pass-gallery.available': string;
|
|
397
|
-
'wallet-pass-gallery.confirm': string;
|
|
398
|
-
'wallet-pass-gallery.addModalTitle': string;
|
|
399
|
-
'wallet-pass-gallery.searchDescribe': string;
|
|
400
|
-
'wallet-pass-gallery.scanBarQrCode': string;
|
|
401
|
-
'wallet-pass-gallery.enterCodes': string;
|
|
402
|
-
'wallet-pass-gallery.add': string;
|
|
403
|
-
'wallet-pass-gallery.rechargeOptions': string;
|
|
404
|
-
'wallet-pass-gallery.recharge': string;
|
|
405
|
-
'wallet-pass-gallery.wallet': string;
|
|
406
|
-
'wallet-pass-gallery.details': string;
|
|
407
|
-
'wallet-pass-gallery.goodPass.usedCredit': (credit: number) => string;
|
|
408
|
-
'wallet-pass-gallery.cardBalance': string;
|
|
409
|
-
'wallet-pass-gallery.voucherBalance': string;
|
|
410
|
-
'wallet-pass-gallery.points': string;
|
|
411
|
-
'wallet-pass-gallery.goodPass': string;
|
|
412
|
-
'wallet-pass-gallery.cardName': string;
|
|
413
|
-
'wallet-pass-gallery.carNumber': string;
|
|
414
|
-
'wallet-pass-gallery.balance': string;
|
|
415
|
-
'wallet-pass-gallery.discount': string;
|
|
416
|
-
'wallet-pass-gallery.validDate': string;
|
|
417
|
-
'wallet-pass-gallery.addSuccess': string;
|
|
418
|
-
'wallet-pass-gallery.addError': string;
|
|
419
|
-
'wallet-pass-gallery.searchNoFound': string;
|
|
420
|
-
'wallet-pass-gallery.log.updateCurrentDetail': string;
|
|
421
|
-
'wallet-pass-gallery.log.getDetailFailed': string;
|
|
422
|
-
'wallet-pass-gallery.log.rechargeOrderFailed': string;
|
|
423
|
-
'wallet-pass-gallery.log.getWalletListFailed': string;
|
|
424
|
-
'wallet-pass-gallery.log.bindCustomerFailed': string;
|
|
425
|
-
'wallet-pass-gallery.log.getUnbindListFailed': string;
|
|
426
|
-
'wallet-pass-gallery.log.orderFailed': string;
|
|
427
|
-
'wallet-pass-gallery.log.unexpectedResponseFormat': string;
|
|
428
|
-
'wallet-pass-gallery.button.add': string;
|
|
429
|
-
'wallet-pass-gallery.button.addToAppleWallet': string;
|
|
430
|
-
'wallet-pass-gallery.button.addToGoogleWallet': string;
|
|
431
|
-
'wallet-pass-gallery.button.recharge': string;
|
|
432
|
-
'wallet-pass-gallery.error.addFailed': string;
|
|
433
|
-
'wallet-pass-gallery.copyTitle': string;
|
|
434
|
-
'wallet-pass-gallery.copyButton': string;
|
|
435
|
-
'wallet-pass-gallery.copySuccess': string;
|
|
436
|
-
'wallet-pass-gallery.detail': string;
|
|
437
|
-
'wallet-pass-gallery.activelog': string;
|
|
438
|
-
'wallet-pass-gallery.copyText': string;
|
|
439
|
-
'wallet-pass-gallery.spendingDetails': string;
|
|
440
|
-
'wallet-pass-gallery.rechargeDetails': string;
|
|
441
|
-
'wallet-pass-gallery.date': string;
|
|
442
|
-
'wallet-pass-gallery.spending': string;
|
|
443
|
-
'wallet-pass-gallery.pointsEarned': string;
|
|
444
|
-
'wallet-pass-gallery.pointsRedeemed': string;
|
|
445
|
-
'wallet-pass-gallery.refund': string;
|
|
446
|
-
'wallet-pass-gallery.expire': string;
|
|
447
|
-
'wallet-pass-gallery.viewOrder': string;
|
|
448
|
-
'wallet-pass-gallery.done': string;
|
|
449
|
-
'wallet-pass-gallery.addIos': string;
|
|
450
|
-
'wallet-pass-gallery.addGoogle': string;
|
|
451
|
-
'wallet-pass-gallery.viewDetails': string;
|
|
452
|
-
'wallet-pass-gallery.expireDate': string;
|
|
453
|
-
'wallet-pass-gallery.urlEmpty': string;
|
|
454
|
-
'wallet-pass-gallery.notIOS': string;
|
|
455
|
-
'wallet-pass-gallery.useAppleInstead': string;
|
|
456
|
-
'wallet-pass-gallery.openedInBrowser': string;
|
|
457
|
-
'wallet-pass-gallery.openFailed': string;
|
|
458
|
-
'wallet-pass-gallery.loading': string;
|
|
459
|
-
'wallet-pass-gallery.usageRules': string;
|
|
460
|
-
'wallet-pass-gallery.usageRulesSubtitle': string;
|
|
461
|
-
'wallet-pass-gallery.timeUsageLimits': string;
|
|
462
|
-
'wallet-pass-gallery.totalQuantityControl': string;
|
|
463
|
-
'wallet-pass-gallery.dailyLimit': string;
|
|
464
|
-
'wallet-pass-gallery.weeklyLimit': string;
|
|
465
|
-
'wallet-pass-gallery.monthlyLimit': string;
|
|
466
|
-
'wallet-pass-gallery.personalLimit': string;
|
|
467
|
-
'wallet-pass-gallery.dailyLimitDesc': string;
|
|
468
|
-
'wallet-pass-gallery.weeklyLimitDesc': string;
|
|
469
|
-
'wallet-pass-gallery.monthlyLimitDesc': string;
|
|
470
|
-
'wallet-pass-gallery.monthlyLimitUnlimited': string;
|
|
471
|
-
'wallet-pass-gallery.personalLimitDesc': string;
|
|
472
|
-
'wallet-pass-gallery.dailyReset': string;
|
|
473
|
-
'wallet-pass-gallery.weeklyReset': string;
|
|
474
|
-
'wallet-pass-gallery.monthlyReset': string;
|
|
475
|
-
'wallet-pass-gallery.voucherExpireNote': string;
|
|
476
|
-
'wallet-pass-gallery.viewMore': string;
|
|
477
|
-
'wallet-pass-gallery.allLoaded': string;
|
|
478
|
-
'page.wallet.tempHolderSelector.title': string;
|
|
479
|
-
'page.wallet.tempHolderSelector.create': string;
|
|
480
|
-
'page.wallet.tempHolderSelector.confirm': string;
|
|
481
|
-
'page.wallet.notValidDate': string;
|
|
482
|
-
'page.wallet.includedDate': string;
|
|
483
|
-
'wallet-pass-gallery.rechargeArrivalAmount': string;
|
|
484
|
-
'wallet-pass-gallery.rechargePayAmount': string;
|
|
485
|
-
'wallet-pass-gallery.rechargeToast.productUnavailable': string;
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
|
-
export default _default;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EmailAuthConfig, PhoneAuthConfig, OAuthConfig, UIConfig, RegisterFormData, AuthMethodType, RegistrationMethodItem, LegalTermsConfig } from './shared/types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
import './steps/steps.less';
|
|
5
|
-
/** 注册组件配置 */
|
|
6
|
-
export interface Register2Config {
|
|
7
|
-
/** 注册方式列表 - 数组顺序决定显示顺序,第一项为默认注册方式 */
|
|
8
|
-
registrationMethods?: RegistrationMethodItem[];
|
|
9
|
-
/** 邮箱认证配置(向后兼容,建议使用 registrationMethods) */
|
|
10
|
-
email?: EmailAuthConfig;
|
|
11
|
-
/** 手机认证配置(向后兼容,建议使用 registrationMethods) */
|
|
12
|
-
phone?: PhoneAuthConfig;
|
|
13
|
-
/** 三方 OAuth 配置(向后兼容,建议使用 registrationMethods) */
|
|
14
|
-
oauth?: OAuthConfig;
|
|
15
|
-
/** UI 配置 */
|
|
16
|
-
ui?: UIConfig;
|
|
17
|
-
/** 默认认证方式(向后兼容,建议使用 registrationMethods) */
|
|
18
|
-
defaultAuthMethod?: AuthMethodType;
|
|
19
|
-
/** 渠道标识 - 用于区分不同来源的注册请求 */
|
|
20
|
-
channel?: string;
|
|
21
|
-
/** 邮件链接验证模式 - 从邮件链接跳转过来 */
|
|
22
|
-
emailLinkVerification?: {
|
|
23
|
-
/** 是否启用邮件链接验证模式 */
|
|
24
|
-
enabled: boolean;
|
|
25
|
-
/** 验证码(从 URL 参数中获取,如 code=602ec2dc2ab8954b2b7bc63a5d920662) */
|
|
26
|
-
code: string;
|
|
27
|
-
};
|
|
28
|
-
/** 法律条款配置 */
|
|
29
|
-
legalTerms?: LegalTermsConfig;
|
|
30
|
-
}
|
|
31
|
-
/** 注册组件事件 */
|
|
32
|
-
export interface Register2Events {
|
|
33
|
-
/** 注册回调 */
|
|
34
|
-
onRegister?: (originResult: any, method: AuthMethodType, data: RegisterFormData, channel?: string) => Promise<void> | void;
|
|
35
|
-
/** 三方登录回调 */
|
|
36
|
-
onOAuthLogin?: (provider: 'google' | 'facebook' | 'apple', channel?: string) => Promise<void> | void;
|
|
37
|
-
/** 发送验证码回调 */
|
|
38
|
-
onSendVerificationCode?: (account: string, type: 'email' | 'phone', channel?: string) => Promise<void> | void;
|
|
39
|
-
/** 邮件链接过期 - 点击"Back to Registration"按钮回调 */
|
|
40
|
-
onEmailLinkExpired?: () => void;
|
|
41
|
-
/** 跳转到登录页回调 */
|
|
42
|
-
onGoToLogin?: () => void;
|
|
43
|
-
/** 错误处理回调 */
|
|
44
|
-
onError?: (error: any, method?: AuthMethodType) => void;
|
|
45
|
-
}
|
|
46
|
-
/** 注册组件属性 */
|
|
47
|
-
export interface Register2Props extends Register2Events {
|
|
48
|
-
/** 配置对象 */
|
|
49
|
-
config: Register2Config;
|
|
50
|
-
/** 是否显示 */
|
|
51
|
-
visible?: boolean;
|
|
52
|
-
/** 关闭回调 */
|
|
53
|
-
onClose?: () => void;
|
|
54
|
-
/** 自定义类名 */
|
|
55
|
-
className?: string;
|
|
56
|
-
/** 自定义样式 */
|
|
57
|
-
style?: React.CSSProperties;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* 注册 2.0 组件
|
|
61
|
-
* 支持邮箱、手机、三方注册
|
|
62
|
-
* 组件宽度固定 360px
|
|
63
|
-
*/
|
|
64
|
-
declare const Register2: React.FC<Register2Props>;
|
|
65
|
-
export default Register2;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './PhoneInput.less';
|
|
3
|
-
/** 国家/地区配置(后端返回格式) */
|
|
4
|
-
export interface CountryOption {
|
|
5
|
-
/** 国家/地区名称 */
|
|
6
|
-
name: string;
|
|
7
|
-
/** 国家/地区代码 */
|
|
8
|
-
code: string;
|
|
9
|
-
/** 区号(不带+号) */
|
|
10
|
-
calling_code: string;
|
|
11
|
-
/** 货币代码 */
|
|
12
|
-
currency_code: string;
|
|
13
|
-
}
|
|
14
|
-
/** 手机号对象格式 */
|
|
15
|
-
export interface PhoneValueObject {
|
|
16
|
-
/** 手机号(不含区号) */
|
|
17
|
-
phone: string;
|
|
18
|
-
/** 国家区号(不带+号) */
|
|
19
|
-
country_calling_code: string;
|
|
20
|
-
}
|
|
21
|
-
/** 值格式类型 */
|
|
22
|
-
export declare type ValueFormat = 'string' | 'object';
|
|
23
|
-
/** 手机号输入组件属性 */
|
|
24
|
-
export interface PhoneInputProps {
|
|
25
|
-
/** 完整的手机号值(包含区号),格式:+86138****,或 +1555****(字符串模式) */
|
|
26
|
-
value?: string | PhoneValueObject;
|
|
27
|
-
/** 值变化回调 */
|
|
28
|
-
onChange?: (value: string | PhoneValueObject) => void;
|
|
29
|
-
/** Placeholder */
|
|
30
|
-
placeholder?: string;
|
|
31
|
-
/** 大小 */
|
|
32
|
-
size?: 'large' | 'middle' | 'small';
|
|
33
|
-
/** 是否禁用 */
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
/** 自定义类名 */
|
|
36
|
-
className?: string;
|
|
37
|
-
/** 可用的国家/地区列表 */
|
|
38
|
-
countries?: CountryOption[];
|
|
39
|
-
/** 默认国家/地区代码 */
|
|
40
|
-
defaultCountry?: string;
|
|
41
|
-
/** 值格式:'string' 返回 "+8613800138000",'object' 返回 { phone: "13800138000", country_calling_code: "86" } */
|
|
42
|
-
valueFormat?: ValueFormat;
|
|
43
|
-
/** 键盘按键事件回调 */
|
|
44
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* 手机号输入组件
|
|
48
|
-
*
|
|
49
|
-
* 支持国际区号选择和手机号输入
|
|
50
|
-
* 值格式:+区号+手机号,例如:+8613800138000 或 +15551234567
|
|
51
|
-
*/
|
|
52
|
-
declare function PhoneInput({ value, onChange, placeholder, onKeyDown, size, disabled, className, countries, defaultCountry, valueFormat, }: PhoneInputProps): JSX.Element;
|
|
53
|
-
export default PhoneInput;
|