@pisell/private-materials 6.3.40 → 6.3.41
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/pro/Login2.0/Login2.js +2 -1
- package/es/pro/Login2.0/Register2.js +2 -1
- package/lib/pro/Login2.0/Login2.js +2 -1
- package/lib/pro/Login2.0/Register2.js +2 -1
- package/package.json +4 -4
- package/es/components/Sales/Event/Detail.d.ts +0 -30
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/locales.d.ts +0 -363
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
- package/es/components/authentication/admin/AuthMethods/index.d.ts +0 -8
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/index.d.ts +0 -26
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/index.d.ts +0 -12
- package/es/components/booking/components/footer/utils.d.ts +0 -41
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/forms/footer.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -44
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -5
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -3
- package/es/components/booking/locales.d.ts +0 -843
- package/es/components/booking/model.d.ts +0 -112
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +0 -19
- 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/locales.d.ts +0 -298
- package/es/components/pay/toC/model.d.ts +0 -32
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/components/walletList/index.d.ts +0 -3
- package/es/components/walletList/serve.d.ts +0 -24
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/index.d.ts +0 -58
- package/es/plus/clientName/index.d.ts +0 -5
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/contactInfo/components/Avatar/index.d.ts +0 -10
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/index.d.ts +0 -6
- package/es/plus/contactInfo/locales.d.ts +0 -15
- package/es/plus/contactInfo/types.d.ts +0 -91
- package/es/plus/contactInfo/utils.d.ts +0 -7
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +0 -4
- package/es/plus/contactInfoModal/index.d.ts +0 -41
- package/es/plus/contactInfoModal/locales.d.ts +0 -66
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/index.d.ts +0 -32
- package/es/plus/productSelect/utils.d.ts +0 -39
- package/es/plus/walletEditor/WalletEditor.d.ts +0 -5
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +0 -8
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -6
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/es/plus/walletEditor/index.d.ts +0 -3
- package/es/plus/walletEditor/locales.d.ts +0 -126
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +0 -14
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -8
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/recharge/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -8
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +0 -9
- package/es/plus/walletPassGallery/index.d.ts +0 -6
- package/es/plus/walletPassGallery/locales.d.ts +0 -270
- package/es/plus/walletPassGallery/serve.d.ts +0 -218
- package/es/pro/pisellPaymentList/example.d.ts +0 -20
- package/lib/components/Sales/Event/Detail.d.ts +0 -30
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/locales.d.ts +0 -363
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
- package/lib/components/authentication/admin/AuthMethods/index.d.ts +0 -8
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/index.d.ts +0 -26
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/index.d.ts +0 -12
- package/lib/components/booking/components/footer/utils.d.ts +0 -41
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/forms/footer.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -44
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -5
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -3
- package/lib/components/booking/locales.d.ts +0 -843
- package/lib/components/booking/model.d.ts +0 -112
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +0 -19
- 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/locales.d.ts +0 -298
- package/lib/components/pay/toC/model.d.ts +0 -32
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/components/walletList/index.d.ts +0 -3
- package/lib/components/walletList/serve.d.ts +0 -24
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/index.d.ts +0 -58
- package/lib/plus/clientName/index.d.ts +0 -5
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/contactInfo/components/Avatar/index.d.ts +0 -10
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/index.d.ts +0 -6
- package/lib/plus/contactInfo/locales.d.ts +0 -15
- package/lib/plus/contactInfo/types.d.ts +0 -91
- package/lib/plus/contactInfo/utils.d.ts +0 -7
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +0 -4
- package/lib/plus/contactInfoModal/index.d.ts +0 -41
- package/lib/plus/contactInfoModal/locales.d.ts +0 -66
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/index.d.ts +0 -32
- package/lib/plus/productSelect/utils.d.ts +0 -39
- package/lib/plus/walletEditor/WalletEditor.d.ts +0 -5
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +0 -8
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -6
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/lib/plus/walletEditor/index.d.ts +0 -3
- package/lib/plus/walletEditor/locales.d.ts +0 -126
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +0 -14
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -8
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/recharge/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -8
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +0 -9
- package/lib/plus/walletPassGallery/index.d.ts +0 -6
- package/lib/plus/walletPassGallery/locales.d.ts +0 -270
- package/lib/plus/walletPassGallery/serve.d.ts +0 -218
- package/lib/pro/pisellPaymentList/example.d.ts +0 -20
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
-
'pisell2.text.add': string;
|
|
5
|
-
'pisell2.text.and': string;
|
|
6
|
-
'pisell2.text.or': string;
|
|
7
|
-
'pisell2.text.all': string;
|
|
8
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
-
'pisell2.text.rule-setting.staff': string;
|
|
13
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
-
};
|
|
17
|
-
'zh-CN': {
|
|
18
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
-
'pisell2.text.and': string;
|
|
20
|
-
'pisell2.text.or': string;
|
|
21
|
-
'pisell2.text.all': string;
|
|
22
|
-
'pisell2.text.add': string;
|
|
23
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
-
'pisell2.text.rule-setting.staff': string;
|
|
28
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
-
};
|
|
32
|
-
'zh-HK': {
|
|
33
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
-
'pisell2.text.and': string;
|
|
35
|
-
'pisell2.text.or': string;
|
|
36
|
-
'pisell2.text.all': string;
|
|
37
|
-
'pisell2.text.add': string;
|
|
38
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
-
'pisell2.text.rule-setting.staff': string;
|
|
43
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ITimeBarProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: any;
|
|
6
|
-
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
-
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
-
setIntervalTime: (value: boolean) => void;
|
|
9
|
-
locale: string;
|
|
10
|
-
}
|
|
11
|
-
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
12
|
-
export default TimeBar;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { WalletPass, WalletBalance } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* 获取 wallet 列表
|
|
4
|
-
* @param params
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
8
|
-
/**
|
|
9
|
-
* 获取钱包余额
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
13
|
-
/**
|
|
14
|
-
* 批量获取钱包余额信息
|
|
15
|
-
*/
|
|
16
|
-
export declare const batchGetWalletBalance: (walletIds: string[]) => Promise<Record<string, WalletBalance> | null>;
|
|
17
|
-
/**
|
|
18
|
-
* @title: 获取钱包店铺列表
|
|
19
|
-
* @description:
|
|
20
|
-
* @return {*}
|
|
21
|
-
* @Author: WangHan
|
|
22
|
-
* @Date: 2025-06-09 11:12
|
|
23
|
-
*/
|
|
24
|
-
export declare const getWalletShopList: (params: any) => Promise<any>;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MultiLanguageName {
|
|
3
|
-
original: string;
|
|
4
|
-
'zh-CN': string;
|
|
5
|
-
'zh-HK': string;
|
|
6
|
-
en: string;
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
}
|
|
9
|
-
declare type WalletPassType = 'rechargeable' | 'point' | 'voucher' | 'discount';
|
|
10
|
-
export interface WalletMetadata {
|
|
11
|
-
name: MultiLanguageName;
|
|
12
|
-
welcomeText?: string | MultiLanguageName;
|
|
13
|
-
customerName?: string;
|
|
14
|
-
coverImage?: string;
|
|
15
|
-
icon?: string;
|
|
16
|
-
showcaseWalletPassNew?: Array<{
|
|
17
|
-
type: WalletPassType;
|
|
18
|
-
custom_title?: string | MultiLanguageName;
|
|
19
|
-
display?: 0 | 1;
|
|
20
|
-
}>;
|
|
21
|
-
}
|
|
22
|
-
export interface Shop {
|
|
23
|
-
id: number;
|
|
24
|
-
name: string;
|
|
25
|
-
default_url: string;
|
|
26
|
-
}
|
|
27
|
-
export interface Wallet {
|
|
28
|
-
id: string | null;
|
|
29
|
-
shop_id: string | null;
|
|
30
|
-
shop?: Shop;
|
|
31
|
-
status: string | null;
|
|
32
|
-
name: MultiLanguageName;
|
|
33
|
-
valid_for: {
|
|
34
|
-
type: string;
|
|
35
|
-
unit?: string;
|
|
36
|
-
unit_type?: string;
|
|
37
|
-
custom_date?: string;
|
|
38
|
-
};
|
|
39
|
-
metadata: WalletMetadata;
|
|
40
|
-
created_at: string | null;
|
|
41
|
-
}
|
|
42
|
-
export interface WalletPass {
|
|
43
|
-
id: string | null;
|
|
44
|
-
shop_id: string | null;
|
|
45
|
-
code: string;
|
|
46
|
-
status: string | null;
|
|
47
|
-
wallet_id: string | null;
|
|
48
|
-
customer_id: string | null;
|
|
49
|
-
expired_at: string | null;
|
|
50
|
-
created_at: string;
|
|
51
|
-
shop: Shop;
|
|
52
|
-
wallet: Wallet;
|
|
53
|
-
icon?: string;
|
|
54
|
-
isLogin?: boolean;
|
|
55
|
-
showIcon?: boolean;
|
|
56
|
-
}
|
|
57
|
-
export interface WalletBalance {
|
|
58
|
-
gift_card_balance: number;
|
|
59
|
-
point_card_balance: number;
|
|
60
|
-
voucher_count: number;
|
|
61
|
-
discount_card_count: number;
|
|
62
|
-
}
|
|
63
|
-
export interface WalletCardItem {
|
|
64
|
-
type: WalletPassType;
|
|
65
|
-
custom_title?: string | MultiLanguageName;
|
|
66
|
-
display: 0 | 1;
|
|
67
|
-
value?: number;
|
|
68
|
-
}
|
|
69
|
-
export interface State {
|
|
70
|
-
list: WalletPass[];
|
|
71
|
-
balance: WalletBalance | null;
|
|
72
|
-
loading: boolean;
|
|
73
|
-
error: Error | null;
|
|
74
|
-
authError?: boolean;
|
|
75
|
-
hasAttempted: boolean;
|
|
76
|
-
isLoggedIn?: boolean;
|
|
77
|
-
}
|
|
78
|
-
export interface Action {
|
|
79
|
-
type: string;
|
|
80
|
-
payload: Partial<State>;
|
|
81
|
-
}
|
|
82
|
-
export interface Balance {
|
|
83
|
-
gift_card_balance: number;
|
|
84
|
-
point_card_balance: number;
|
|
85
|
-
voucher_count: number;
|
|
86
|
-
discount_card_count: number;
|
|
87
|
-
}
|
|
88
|
-
export interface IWallList {
|
|
89
|
-
tag?: string;
|
|
90
|
-
sales_status?: string;
|
|
91
|
-
machine_search?: string;
|
|
92
|
-
createdDate?: string;
|
|
93
|
-
limit_status?: string;
|
|
94
|
-
relation_id?: string;
|
|
95
|
-
relation_type?: string;
|
|
96
|
-
customer_id?: string;
|
|
97
|
-
sort?: string;
|
|
98
|
-
order_by?: string;
|
|
99
|
-
used_status?: string;
|
|
100
|
-
num?: number;
|
|
101
|
-
skip?: number;
|
|
102
|
-
}
|
|
103
|
-
export interface WalletListProps {
|
|
104
|
-
globalState?: {
|
|
105
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
106
|
-
mode?: 'dark' | 'light';
|
|
107
|
-
cardStyle?: 'normal' | 'full';
|
|
108
|
-
codeType?: 'barCode' | 'qrCode';
|
|
109
|
-
codeDirection?: 'bottom' | 'top';
|
|
110
|
-
shopName?: boolean;
|
|
111
|
-
showWalletName?: boolean;
|
|
112
|
-
showShopName?: boolean;
|
|
113
|
-
cardNo?: string;
|
|
114
|
-
showCardNo?: boolean;
|
|
115
|
-
showCode?: boolean;
|
|
116
|
-
points?: boolean;
|
|
117
|
-
balance?: boolean;
|
|
118
|
-
coupon?: boolean;
|
|
119
|
-
pointsValue?: number;
|
|
120
|
-
balanceValue?: number;
|
|
121
|
-
couponValue?: number;
|
|
122
|
-
symbol?: string;
|
|
123
|
-
showIcon?: boolean;
|
|
124
|
-
iconImg?: string;
|
|
125
|
-
customBackgroundImage?: string;
|
|
126
|
-
walletName?: string;
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
export interface WalletCardProps {
|
|
130
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
131
|
-
mode?: 'dark' | 'light';
|
|
132
|
-
cardStyle?: 'normal' | 'full';
|
|
133
|
-
codeType?: 'barCode' | 'qrCode';
|
|
134
|
-
codeDirection?: 'bottom' | 'top';
|
|
135
|
-
shopName?: boolean;
|
|
136
|
-
showIcon?: boolean;
|
|
137
|
-
iconImg?: string;
|
|
138
|
-
showWalletName?: boolean;
|
|
139
|
-
showShopName?: boolean;
|
|
140
|
-
cardNo?: string;
|
|
141
|
-
showCardNo?: boolean;
|
|
142
|
-
showCode?: boolean;
|
|
143
|
-
points?: boolean;
|
|
144
|
-
balance?: boolean;
|
|
145
|
-
coupon?: boolean;
|
|
146
|
-
pointsValue?: number;
|
|
147
|
-
balanceValue?: number;
|
|
148
|
-
couponValue?: number;
|
|
149
|
-
isLogin?: boolean;
|
|
150
|
-
items: WalletCardItem[];
|
|
151
|
-
}
|
|
152
|
-
export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
153
|
-
children?: React.ReactNode;
|
|
154
|
-
}
|
|
155
|
-
export interface WalletListContextType {
|
|
156
|
-
state: State;
|
|
157
|
-
dispatch: React.Dispatch<Action>;
|
|
158
|
-
}
|
|
159
|
-
export declare const DEFAULT_CARD_CONFIG: {
|
|
160
|
-
readonly mode: "light";
|
|
161
|
-
readonly cardStyle: "normal";
|
|
162
|
-
readonly codeDirection: "bottom";
|
|
163
|
-
readonly showShopName: true;
|
|
164
|
-
readonly showWalletName: true;
|
|
165
|
-
readonly showIcon: true;
|
|
166
|
-
readonly iconImg: "";
|
|
167
|
-
readonly showCardNo: true;
|
|
168
|
-
readonly showCode: true;
|
|
169
|
-
readonly points: true;
|
|
170
|
-
readonly balance: true;
|
|
171
|
-
readonly coupon: true;
|
|
172
|
-
};
|
|
173
|
-
export interface CarouselSettings {
|
|
174
|
-
className: string;
|
|
175
|
-
arrows: boolean;
|
|
176
|
-
infinite: boolean;
|
|
177
|
-
slidesToShow: number;
|
|
178
|
-
slidesToScroll: number;
|
|
179
|
-
centerMode: boolean;
|
|
180
|
-
centerPadding: string;
|
|
181
|
-
autoplay: boolean;
|
|
182
|
-
autoplaySpeed: number;
|
|
183
|
-
dots: boolean;
|
|
184
|
-
appendDots?: (dots: React.ReactNode) => React.ReactNode;
|
|
185
|
-
responsive?: Array<{
|
|
186
|
-
breakpoint: number;
|
|
187
|
-
settings: {
|
|
188
|
-
slidesToShow: number;
|
|
189
|
-
slidesToScroll: number;
|
|
190
|
-
centerPadding: string;
|
|
191
|
-
};
|
|
192
|
-
}>;
|
|
193
|
-
}
|
|
194
|
-
export {};
|
package/lib/index.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export { default as Login } from './components/login';
|
|
2
|
-
export type { LoginProps } from './components/login';
|
|
3
|
-
export { default as BookingInfo } from './components/booking/info/index';
|
|
4
|
-
export { default as BookingNotes } from './components/booking/notes';
|
|
5
|
-
export { default as BookingAddons } from './components/booking/addons';
|
|
6
|
-
export { default as BookingForms } from './components/booking/forms';
|
|
7
|
-
export { default as BookingPayment } from './components/booking/payments';
|
|
8
|
-
export { default as Booking } from './components/booking';
|
|
9
|
-
export { default as Schedules } from './components/schedules';
|
|
10
|
-
export { default as BookingResources } from './components/booking/materiels/resources';
|
|
11
|
-
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
|
12
|
-
export { default as BookingDuration } from './components/booking/materiels/duration';
|
|
13
|
-
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
|
14
|
-
export { VerticalClient } from './components/booking/info/clientVariant';
|
|
15
|
-
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
|
16
|
-
export { default as ProductExtension } from './components/productExtension';
|
|
17
|
-
export { default as BookingDeposit } from './components/booking/deposit';
|
|
18
|
-
export { default as WorkspaceList } from './components/workSpaceList';
|
|
19
|
-
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
|
20
|
-
export { default as RuleSetting } from './components/ruleSetting';
|
|
21
|
-
export { default as TaxSelect } from './components/taxSelect';
|
|
22
|
-
export { default as EftposPay } from './components/eftposPay';
|
|
23
|
-
export { default as ToCPay } from './components/pay/toC';
|
|
24
|
-
export { default as Eftpos } from './components/eftpos';
|
|
25
|
-
export { default as WalletList } from './components/walletList';
|
|
26
|
-
export { default as BookingDashboard } from './components/booking/dashboard';
|
|
27
|
-
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
|
28
|
-
export { default as EventBooking } from './components/eventBooking';
|
|
29
|
-
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
|
30
|
-
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
|
31
|
-
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
|
32
|
-
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
|
33
|
-
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
|
34
|
-
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
|
35
|
-
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
|
36
|
-
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
|
37
|
-
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
|
38
|
-
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
|
39
|
-
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
|
40
|
-
export { default as ShoppingCart } from './components/shoppingCart';
|
|
41
|
-
export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
42
|
-
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
43
|
-
export { default as TicketBooking } from './components/ticketBooking';
|
|
44
|
-
export { default as SubTotal } from './components/subTotal';
|
|
45
|
-
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
46
|
-
export { default as StepController } from './components/stepController';
|
|
47
|
-
export { default as SaasLogin } from './plus/saasLogin';
|
|
48
|
-
export { default as SaasRegister } from './plus/saasRegister';
|
|
49
|
-
export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
|
|
50
|
-
export { default as WalletEditor } from './plus/walletEditor';
|
|
51
|
-
export { default as WalletPassGallery } from './plus/walletPassGallery';
|
|
52
|
-
export { default as PinModal } from './components/pinModal';
|
|
53
|
-
export { default as PinVerifyModal } from './components/pinVerifyModal';
|
|
54
|
-
export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from './components/authentication/admin';
|
|
55
|
-
export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps } from './components/authentication/admin';
|
|
56
|
-
export { default as ContactInfo } from './plus/contactInfo';
|
|
57
|
-
export { default as ContactInfoModal } from './plus/contactInfoModal';
|
|
58
|
-
export { Login2, Register2, AuthModal } from './pro/Login2.0';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare type ClientData = {
|
|
3
|
-
display_name?: string;
|
|
4
|
-
nickname?: string;
|
|
5
|
-
first_name?: string;
|
|
6
|
-
last_name?: string;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
9
|
-
export interface IClientNameProps {
|
|
10
|
-
dataSource?: string | ClientData | null;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AvatarConfig } from '../../types';
|
|
3
|
-
import '../../index.less';
|
|
4
|
-
interface AvatarProps {
|
|
5
|
-
config?: AvatarConfig;
|
|
6
|
-
name: string;
|
|
7
|
-
cover?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const Avatar: React.FC<AvatarProps>;
|
|
10
|
-
export default Avatar;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare type NativeProps<S extends string = never> = {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
-
};
|
|
7
|
-
declare type PropagationEvent = 'click';
|
|
8
|
-
import './index.less';
|
|
9
|
-
declare type SideType = 'left' | 'right';
|
|
10
|
-
export declare type SwipeActionRef = {
|
|
11
|
-
close: () => void;
|
|
12
|
-
show: (side?: SideType) => void;
|
|
13
|
-
};
|
|
14
|
-
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
-
export declare type Action = {
|
|
16
|
-
key: string | number;
|
|
17
|
-
text: ReactNode;
|
|
18
|
-
color?: ActionColor | string;
|
|
19
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
};
|
|
22
|
-
export declare type SwipeActionProps = {
|
|
23
|
-
rightActions?: Action[];
|
|
24
|
-
leftActions?: Action[];
|
|
25
|
-
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
-
closeOnTouchOutside?: boolean;
|
|
27
|
-
closeOnAction?: boolean;
|
|
28
|
-
children: ReactNode;
|
|
29
|
-
stopPropagation?: PropagationEvent[];
|
|
30
|
-
onActionsReveal?: (side: SideType) => void;
|
|
31
|
-
onClose?: () => void;
|
|
32
|
-
escapeDom?: string;
|
|
33
|
-
} & NativeProps<'--background'>;
|
|
34
|
-
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
-
rightActions?: Action[] | undefined;
|
|
36
|
-
leftActions?: Action[] | undefined;
|
|
37
|
-
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
-
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
-
closeOnAction?: boolean | undefined;
|
|
40
|
-
children: ReactNode;
|
|
41
|
-
stopPropagation?: "click"[] | undefined;
|
|
42
|
-
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
-
onClose?: (() => void) | undefined;
|
|
44
|
-
escapeDom?: string | undefined;
|
|
45
|
-
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.contact-info.placeholder': string;
|
|
4
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
5
|
-
};
|
|
6
|
-
'zh-CN': {
|
|
7
|
-
'pisell2.text.contact-info.placeholder': string;
|
|
8
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
9
|
-
};
|
|
10
|
-
'zh-HK': {
|
|
11
|
-
'pisell2.text.contact-info.placeholder': string;
|
|
12
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 联系信息数据
|
|
4
|
-
*/
|
|
5
|
-
export interface ContactInfoData {
|
|
6
|
-
first_name?: string;
|
|
7
|
-
last_name?: string;
|
|
8
|
-
phone?: {
|
|
9
|
-
phone: string;
|
|
10
|
-
country_calling_code: string;
|
|
11
|
-
country_code?: string;
|
|
12
|
-
};
|
|
13
|
-
email?: string;
|
|
14
|
-
avatar?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 卡片布局类型
|
|
18
|
-
*/
|
|
19
|
-
export declare type Direction = 'horizontal' | 'vertical';
|
|
20
|
-
/**
|
|
21
|
-
* 头像尺寸类型
|
|
22
|
-
*/
|
|
23
|
-
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
24
|
-
/**
|
|
25
|
-
* 头像形状类型
|
|
26
|
-
*/
|
|
27
|
-
export declare type AvatarShape = 'circle' | 'square';
|
|
28
|
-
/**
|
|
29
|
-
* 头像配置
|
|
30
|
-
*/
|
|
31
|
-
export interface AvatarConfig {
|
|
32
|
-
shape?: AvatarShape;
|
|
33
|
-
borderRadius?: number;
|
|
34
|
-
size?: AvatarSize;
|
|
35
|
-
useTextAvatar?: boolean;
|
|
36
|
-
children?: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 姓名样式配置
|
|
40
|
-
*/
|
|
41
|
-
export interface NameStyle {
|
|
42
|
-
fontSize?: number | string;
|
|
43
|
-
fontWeight?: number | string;
|
|
44
|
-
color?: string;
|
|
45
|
-
textDecoration?: string;
|
|
46
|
-
}
|
|
47
|
-
export interface StyleConfig {
|
|
48
|
-
width?: number | string;
|
|
49
|
-
border?: 'solid' | 'unset';
|
|
50
|
-
borderWidth?: number | string;
|
|
51
|
-
borderColor?: string;
|
|
52
|
-
borderRadius?: number | string;
|
|
53
|
-
padding?: number | string;
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* 文本样式配置
|
|
58
|
-
*/
|
|
59
|
-
export interface TextStyle {
|
|
60
|
-
fontSize?: number | string;
|
|
61
|
-
fontWeight?: number | string;
|
|
62
|
-
color?: string;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* ContactInfo 组件属性接口
|
|
66
|
-
*/
|
|
67
|
-
export interface ContactInfoProps {
|
|
68
|
-
dataSource?: ContactInfoData;
|
|
69
|
-
defaultName?: string;
|
|
70
|
-
placeholder?: string | React.ReactNode;
|
|
71
|
-
isShowDelete?: boolean;
|
|
72
|
-
children?: React.ReactNode;
|
|
73
|
-
direction?: Direction;
|
|
74
|
-
horizontalGap?: number | string;
|
|
75
|
-
verticalGap?: number | string;
|
|
76
|
-
isShowAvatar?: boolean;
|
|
77
|
-
isShowPhone?: boolean;
|
|
78
|
-
isShowEmail?: boolean;
|
|
79
|
-
avatar?: AvatarConfig;
|
|
80
|
-
style?: StyleConfig;
|
|
81
|
-
nameStyle?: NameStyle;
|
|
82
|
-
textStyle?: TextStyle;
|
|
83
|
-
placeholderStyle?: CSSProperties;
|
|
84
|
-
button?: {
|
|
85
|
-
addButtonIcon?: string;
|
|
86
|
-
editButtonIcon?: string;
|
|
87
|
-
};
|
|
88
|
-
onSave?: (value: any) => void;
|
|
89
|
-
onDelete?: () => void;
|
|
90
|
-
onCancel?: () => void;
|
|
91
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface FieldMapping<T = any, R = any> {
|
|
2
|
-
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
-
}
|
|
4
|
-
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
-
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
-
export declare const getAvatarText: (name: string) => string;
|
|
7
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ContactInfoModalProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
onCancel: () => void;
|
|
7
|
-
onSave: (values: any) => void;
|
|
8
|
-
isShowDelete?: boolean;
|
|
9
|
-
onDelete: () => void;
|
|
10
|
-
dataSource?: {
|
|
11
|
-
first_name?: string;
|
|
12
|
-
last_name?: string;
|
|
13
|
-
display_name?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
phone?: {
|
|
16
|
-
phone: string;
|
|
17
|
-
country_calling_code: string;
|
|
18
|
-
country_code?: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
config?: {
|
|
22
|
-
first_name?: {
|
|
23
|
-
visible?: boolean;
|
|
24
|
-
required?: boolean;
|
|
25
|
-
};
|
|
26
|
-
last_name?: {
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
required?: boolean;
|
|
29
|
-
};
|
|
30
|
-
phone?: {
|
|
31
|
-
visible?: boolean;
|
|
32
|
-
required?: boolean;
|
|
33
|
-
};
|
|
34
|
-
email?: {
|
|
35
|
-
visible?: boolean;
|
|
36
|
-
required?: boolean;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
declare const ContactInfoModal: React.FC<ContactInfoModalProps>;
|
|
41
|
-
export default ContactInfoModal;
|