@pisell/private-materials 3.4.47 → 3.4.49
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/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +23 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -8
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/hooks.js +5 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/index.d.ts +8 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/index.d.ts +26 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/customSelect/index.js +22 -3
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/footer/utils.d.ts +41 -0
- package/es/components/booking/forms/footer.d.ts +6 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/main.d.ts +12 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/locales.d.ts +834 -0
- package/es/components/booking/model.d.ts +119 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/store/index.d.ts +3 -3
- package/es/components/index.d.ts +23 -0
- package/es/components/index.js +1 -1
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +298 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/components/walletList/index.d.ts +0 -25
- package/es/components/walletList/index.js +93 -61
- package/es/components/walletList/serve.d.ts +4 -0
- package/es/components/walletList/serve.js +46 -13
- package/es/components/walletList/types/index.d.ts +12 -12
- package/es/components/walletList/types/index.js +2 -2
- package/es/index.d.ts +58 -0
- package/es/index.js +3 -2
- package/es/plus/clientName/index.d.ts +4 -0
- package/es/plus/clientName/type.d.ts +13 -0
- package/es/plus/clientName/utils.d.ts +2 -0
- package/es/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/index.d.ts +6 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/es/plus/contactInfoModal/index.d.ts +41 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/es/plus/productSelect/CategoryTabs/index.js +6 -3
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/es/plus/productSelect/index.d.ts +32 -0
- package/es/plus/productSelect/utils.js +0 -1
- package/es/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/es/plus/walletEditor/WalletEditor.js +316 -0
- package/es/plus/walletEditor/WalletEditor.less +129 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/es/plus/walletEditor/components/ImageUpload/index.js +223 -0
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/JsonEditor/index.js +68 -0
- package/es/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.js +222 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/components/relationProduct/index.js +49 -0
- package/es/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +193 -0
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletEditor/index.js +3 -0
- package/es/plus/walletEditor/locales.d.ts +126 -0
- package/es/plus/walletEditor/locales.js +143 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletEditor/types.js +1 -0
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/es/plus/walletPassGallery/components/footerButton/index.js +247 -0
- package/es/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +274 -0
- package/es/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/passList/index.js +115 -0
- package/es/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/es/plus/walletPassGallery/components/recharge/index.js +134 -0
- package/es/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.js +176 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/es/plus/walletPassGallery/components/usageRule/index.js +248 -0
- package/es/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/es/plus/walletPassGallery/index.d.ts +6 -0
- package/es/plus/walletPassGallery/index.js +602 -0
- package/es/plus/walletPassGallery/index.less +115 -0
- package/es/plus/walletPassGallery/locales.d.ts +270 -0
- package/es/plus/walletPassGallery/locales.js +279 -0
- package/es/plus/walletPassGallery/serve.d.ts +218 -0
- package/es/plus/walletPassGallery/serve.js +289 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/hooks.js +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/index.d.ts +8 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/index.d.ts +26 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/customSelect/index.js +26 -3
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/footer/utils.d.ts +41 -0
- package/lib/components/booking/forms/footer.d.ts +6 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/main.d.ts +12 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/locales.d.ts +834 -0
- package/lib/components/booking/model.d.ts +119 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/store/index.d.ts +3 -3
- package/lib/components/index.d.ts +23 -0
- package/lib/components/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +9 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +298 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/components/walletList/index.d.ts +0 -25
- package/lib/components/walletList/index.js +88 -47
- package/lib/components/walletList/serve.d.ts +4 -0
- package/lib/components/walletList/serve.js +12 -0
- package/lib/components/walletList/types/index.d.ts +12 -12
- package/lib/index.d.ts +58 -0
- package/lib/index.js +6 -3
- package/lib/plus/clientName/index.d.ts +4 -0
- package/lib/plus/clientName/type.d.ts +13 -0
- package/lib/plus/clientName/utils.d.ts +2 -0
- package/lib/plus/contactInfo/components/Avatar/index.d.ts +10 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/index.d.ts +6 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +3 -0
- package/lib/plus/contactInfoModal/index.d.ts +41 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +2 -0
- package/lib/plus/productSelect/CategoryTabs/index.js +84 -69
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +0 -11
- package/lib/plus/productSelect/index.d.ts +32 -0
- package/lib/plus/productSelect/utils.js +0 -1
- package/lib/plus/walletEditor/WalletEditor.d.ts +5 -0
- package/lib/plus/walletEditor/WalletEditor.js +354 -0
- package/lib/plus/walletEditor/WalletEditor.less +129 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +8 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.js +201 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.js +89 -0
- package/lib/plus/walletEditor/components/JsonEditor/index.less +4 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.js +176 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.less +4 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/components/relationProduct/index.js +73 -0
- package/lib/plus/walletEditor/components/relationProduct/index.less +15 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +37 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +211 -0
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.less +110 -0
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletEditor/index.js +42 -0
- package/lib/plus/walletEditor/locales.d.ts +126 -0
- package/lib/plus/walletEditor/locales.js +167 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletEditor/types.js +17 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +14 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.js +187 -0
- package/lib/plus/walletPassGallery/components/footerButton/index.less +93 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +287 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.less +57 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +136 -0
- package/lib/plus/walletPassGallery/components/recharge/index.d.ts +11 -0
- package/lib/plus/walletPassGallery/components/recharge/index.js +146 -0
- package/lib/plus/walletPassGallery/components/recharge/index.less +16 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +8 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +212 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.less +67 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +9 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.js +209 -0
- package/lib/plus/walletPassGallery/components/usageRule/index.less +157 -0
- package/lib/plus/walletPassGallery/index.d.ts +6 -0
- package/lib/plus/walletPassGallery/index.js +498 -0
- package/lib/plus/walletPassGallery/index.less +115 -0
- package/lib/plus/walletPassGallery/locales.d.ts +270 -0
- package/lib/plus/walletPassGallery/locales.js +299 -0
- package/lib/plus/walletPassGallery/serve.d.ts +218 -0
- package/lib/plus/walletPassGallery/serve.js +98 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lowcode/sortable-wallet-pass-types/meta.ts +267 -0
- package/lowcode/wallet-editor/meta.ts +57 -0
- package/lowcode/wallet-editor/snippets.ts +13 -0
- package/lowcode/wallet-pass-gallery/meta.ts +35 -0
- package/package.json +3 -3
- package/lowcode/wallet/meta.ts +0 -79
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'org.admin.auth.title': string;
|
|
4
|
+
'org.admin.auth.description': string;
|
|
5
|
+
'org.admin.auth.methods.title': string;
|
|
6
|
+
'org.admin.auth.methods.description': string;
|
|
7
|
+
'org.admin.password.settings.title': string;
|
|
8
|
+
'org.admin.password.settings.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.save.success': string;
|
|
13
|
+
'auth.save.error': string;
|
|
14
|
+
'auth.oauth.config.message': string;
|
|
15
|
+
'auth.oauth.config.link': string;
|
|
16
|
+
'auth.category.general': string;
|
|
17
|
+
'auth.category.oauth': string;
|
|
18
|
+
};
|
|
19
|
+
'zh-CN': {
|
|
20
|
+
'org.admin.auth.title': string;
|
|
21
|
+
'org.admin.auth.description': string;
|
|
22
|
+
'org.admin.auth.methods.title': string;
|
|
23
|
+
'org.admin.auth.methods.description': string;
|
|
24
|
+
'org.admin.password.settings.title': string;
|
|
25
|
+
'org.admin.password.settings.description': string;
|
|
26
|
+
'auth.button.cancel': string;
|
|
27
|
+
'auth.button.save': string;
|
|
28
|
+
'auth.button.settings': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
'auth.oauth.config.message': string;
|
|
32
|
+
'auth.oauth.config.link': string;
|
|
33
|
+
'auth.category.general': string;
|
|
34
|
+
'auth.category.oauth': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-HK': {
|
|
37
|
+
'org.admin.auth.title': string;
|
|
38
|
+
'org.admin.auth.description': string;
|
|
39
|
+
'org.admin.auth.methods.title': string;
|
|
40
|
+
'org.admin.auth.methods.description': string;
|
|
41
|
+
'org.admin.password.settings.title': string;
|
|
42
|
+
'org.admin.password.settings.description': string;
|
|
43
|
+
'auth.button.cancel': string;
|
|
44
|
+
'auth.button.save': string;
|
|
45
|
+
'auth.button.settings': string;
|
|
46
|
+
'auth.save.success': string;
|
|
47
|
+
'auth.save.error': string;
|
|
48
|
+
'auth.oauth.config.message': string;
|
|
49
|
+
'auth.oauth.config.link': string;
|
|
50
|
+
'auth.category.general': string;
|
|
51
|
+
'auth.category.oauth': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface OrgAdminAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pos.operator.auth.title': string;
|
|
4
|
+
'pos.operator.auth.description': string;
|
|
5
|
+
'pos.operator.auth.methods.title': string;
|
|
6
|
+
'pos.operator.auth.methods.description': string;
|
|
7
|
+
'auth.method.digit_id_pin.title': string;
|
|
8
|
+
'auth.method.digit_id_pin.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.category.general': string;
|
|
13
|
+
'auth.category.passwordFree': string;
|
|
14
|
+
'auth.save.success': string;
|
|
15
|
+
'auth.save.error': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pos.operator.auth.title': string;
|
|
19
|
+
'pos.operator.auth.description': string;
|
|
20
|
+
'pos.operator.auth.methods.title': string;
|
|
21
|
+
'pos.operator.auth.methods.description': string;
|
|
22
|
+
'auth.method.digit_id_pin.title': string;
|
|
23
|
+
'auth.method.digit_id_pin.description': string;
|
|
24
|
+
'auth.button.cancel': string;
|
|
25
|
+
'auth.button.save': string;
|
|
26
|
+
'auth.button.settings': string;
|
|
27
|
+
'auth.category.general': string;
|
|
28
|
+
'auth.category.passwordFree': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pos.operator.auth.title': string;
|
|
34
|
+
'pos.operator.auth.description': string;
|
|
35
|
+
'pos.operator.auth.methods.title': string;
|
|
36
|
+
'pos.operator.auth.methods.description': string;
|
|
37
|
+
'auth.method.digit_id_pin.title': string;
|
|
38
|
+
'auth.method.digit_id_pin.description': string;
|
|
39
|
+
'auth.button.cancel': string;
|
|
40
|
+
'auth.button.save': string;
|
|
41
|
+
'auth.button.settings': string;
|
|
42
|
+
'auth.category.general': string;
|
|
43
|
+
'auth.category.passwordFree': string;
|
|
44
|
+
'auth.save.success': string;
|
|
45
|
+
'auth.save.error': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface POSOperatorAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[]) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'saas.admin.auth.title': string;
|
|
4
|
+
'saas.admin.auth.description': string;
|
|
5
|
+
'saas.admin.auth.methods.title': string;
|
|
6
|
+
'saas.admin.auth.methods.description': string;
|
|
7
|
+
'saas.admin.password.settings.title': string;
|
|
8
|
+
'saas.admin.password.settings.description': string;
|
|
9
|
+
'auth.button.cancel': string;
|
|
10
|
+
'auth.button.save': string;
|
|
11
|
+
'auth.button.settings': string;
|
|
12
|
+
'auth.save.success': string;
|
|
13
|
+
'auth.save.error': string;
|
|
14
|
+
'auth.oauth.config.message': string;
|
|
15
|
+
'auth.oauth.config.link': string;
|
|
16
|
+
'auth.category.general': string;
|
|
17
|
+
'auth.category.oauth': string;
|
|
18
|
+
};
|
|
19
|
+
'zh-CN': {
|
|
20
|
+
'saas.admin.auth.title': string;
|
|
21
|
+
'saas.admin.auth.description': string;
|
|
22
|
+
'saas.admin.auth.methods.title': string;
|
|
23
|
+
'saas.admin.auth.methods.description': string;
|
|
24
|
+
'saas.admin.password.settings.title': string;
|
|
25
|
+
'saas.admin.password.settings.description': string;
|
|
26
|
+
'auth.button.cancel': string;
|
|
27
|
+
'auth.button.save': string;
|
|
28
|
+
'auth.button.settings': string;
|
|
29
|
+
'auth.save.success': string;
|
|
30
|
+
'auth.save.error': string;
|
|
31
|
+
'auth.oauth.config.message': string;
|
|
32
|
+
'auth.oauth.config.link': string;
|
|
33
|
+
'auth.category.general': string;
|
|
34
|
+
'auth.category.oauth': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-HK': {
|
|
37
|
+
'saas.admin.auth.title': string;
|
|
38
|
+
'saas.admin.auth.description': string;
|
|
39
|
+
'saas.admin.auth.methods.title': string;
|
|
40
|
+
'saas.admin.auth.methods.description': string;
|
|
41
|
+
'saas.admin.password.settings.title': string;
|
|
42
|
+
'saas.admin.password.settings.description': string;
|
|
43
|
+
'auth.button.cancel': string;
|
|
44
|
+
'auth.button.save': string;
|
|
45
|
+
'auth.button.settings': string;
|
|
46
|
+
'auth.save.success': string;
|
|
47
|
+
'auth.save.error': string;
|
|
48
|
+
'auth.oauth.config.message': string;
|
|
49
|
+
'auth.oauth.config.link': string;
|
|
50
|
+
'auth.category.general': string;
|
|
51
|
+
'auth.category.oauth': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AuthMethod } from '../AuthMethods/types';
|
|
3
|
+
export interface SaaSAdminAuthProps {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义类名
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 自定义样式
|
|
10
|
+
*/
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* 保存回调
|
|
14
|
+
*/
|
|
15
|
+
onSave?: (authMethods: AuthMethod[], passwordRules: any) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type { AuthMethodsProps, AuthMethod } from './AuthMethods';
|
|
2
|
+
export { AuthMethodType, AuthMethodCategory } from './AuthMethods';
|
|
3
|
+
export { default as ChannelAuthSetting } from './ChannelAuthSetting';
|
|
4
|
+
export type { ChannelAuthSettingProps, ChannelAuthSettingValue, TabKey } from './ChannelAuthSetting';
|
|
5
|
+
export { default as PageSetting } from './ChannelAuthSetting/PageSetting';
|
|
6
|
+
export { default as PageSettingItem } from './ChannelAuthSetting/PageSettingItem';
|
|
7
|
+
export { default as AuthenticationMethods } from './ChannelAuthSetting/AuthenticationMethods';
|
|
8
|
+
export { default as CollectInfo } from './ChannelAuthSetting/CollectInfo';
|
|
9
|
+
export type { PageSettingProps, PageSettingValue, } from './ChannelAuthSetting/PageSetting/types';
|
|
10
|
+
export type { PageSettingItemProps, PageSettingItemValue, TermsCondition, TranslationValue as PageTranslationValue, } from './ChannelAuthSetting/PageSettingItem/types';
|
|
11
|
+
export type { AuthenticationMethodsProps, AuthenticationMethodsValue, GlobalAuthMethod, AuthenticationMethod, AuthenticationSettingsMode, } from './ChannelAuthSetting/AuthenticationMethods/types';
|
|
12
|
+
export type { CollectInfoProps, CollectInfoValue, AccountField, CustomerFormItem, TranslationValue as CollectInfoTranslationValue, } from './ChannelAuthSetting/CollectInfo/types';
|
|
13
|
+
export type { SaaSAdminAuthProps } from './SaaSAdminAuth';
|
|
14
|
+
export type { OrgAdminAuthProps } from './OrgAdminAuth';
|
|
15
|
+
export type { DeviceAuthProps } from './DeviceAuth';
|
|
16
|
+
export type { POSOperatorAuthProps } from './POSOperatorAuth';
|
|
17
|
+
export type { CustomerOAuthConfigProps } from './CustomerOAuthConfig';
|
|
18
|
+
export { default as SaaSAdminAuth } from './SaaSAdminAuth';
|
|
19
|
+
export { default as OrgAdminAuth } from './OrgAdminAuth';
|
|
20
|
+
export { default as OAuthConfig } from './OAuthConfig';
|
|
21
|
+
export { default as CustomerAuth } from './CustomerAuth';
|
|
22
|
+
export { default as CustomerOAuthConfig } from './CustomerOAuthConfig';
|
|
23
|
+
export { default as DeviceAuth } from './DeviceAuth';
|
|
24
|
+
export { default as POSOperatorAuth } from './POSOperatorAuth';
|
|
25
|
+
export { default as OnlineShopAuth } from './ChannelAuthSetting/OnlineShopAuth';
|
|
26
|
+
export { default as SaaSManagermentAuth } from './ChannelAuthSetting/SaaSManagermentAuth';
|
|
File without changes
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface CustomSelectProps {
|
|
4
|
+
options: any[];
|
|
5
|
+
onValueChange: (value: any[]) => void;
|
|
6
|
+
value: any[];
|
|
7
|
+
rowKey: string;
|
|
8
|
+
previewItemRender?: (item: any) => React.ReactNode;
|
|
9
|
+
previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
|
|
10
|
+
addButtonRender?: () => React.ReactNode;
|
|
11
|
+
optionRender: (item: any) => React.ReactNode;
|
|
12
|
+
addButtonProps?: any;
|
|
13
|
+
drawerProps?: any;
|
|
14
|
+
createItemText?: string;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
previewItemClassName?: string;
|
|
17
|
+
optionClassName?: string;
|
|
18
|
+
mode?: 'single' | 'multiple' | 'form';
|
|
19
|
+
filterItem?: (item: any, search: string) => boolean;
|
|
20
|
+
isPreview?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
handleCreateItem?: () => void;
|
|
23
|
+
handleViewItem?: (item: any) => void;
|
|
24
|
+
searchChange?: (e: string) => void;
|
|
25
|
+
loadMore?: any;
|
|
26
|
+
virtualListHeight?: number;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
searchValue?: string;
|
|
29
|
+
onVirtualListScroll?: any;
|
|
30
|
+
modalOpen?: boolean;
|
|
31
|
+
closeCallback?: () => any;
|
|
32
|
+
autoFocus?: boolean;
|
|
33
|
+
showDropDown?: boolean;
|
|
34
|
+
handleOpenModal?: () => void;
|
|
35
|
+
handleDayChange?: (value: any) => void;
|
|
36
|
+
}
|
|
37
|
+
declare const _default: React.ForwardRefExoticComponent<CustomSelectProps & React.RefAttributes<unknown>>;
|
|
38
|
+
export default _default;
|
|
@@ -165,14 +165,37 @@ var CustomSelect = (props, ref) => {
|
|
|
165
165
|
const renderList = (0, import_react.useMemo)(() => {
|
|
166
166
|
let _list = [...options];
|
|
167
167
|
if (search) {
|
|
168
|
-
const isIncludes = (
|
|
169
|
-
|
|
168
|
+
const isIncludes = (item) => {
|
|
169
|
+
try {
|
|
170
|
+
const q = search.toLowerCase();
|
|
171
|
+
const numericKeys = Object.keys(item).filter((k) => /^\d+$/.test(k));
|
|
172
|
+
const customerKeys = [
|
|
173
|
+
"customer_nickname",
|
|
174
|
+
"customer_first_name",
|
|
175
|
+
"customer_last_name",
|
|
176
|
+
"customer_phone",
|
|
177
|
+
"customer_email"
|
|
178
|
+
];
|
|
179
|
+
const allKeys = [...numericKeys, ...customerKeys];
|
|
180
|
+
return allKeys.some((k) => {
|
|
181
|
+
const val = item[k];
|
|
182
|
+
if (val === null || val === void 0) return false;
|
|
183
|
+
try {
|
|
184
|
+
const str = JSON.stringify(val);
|
|
185
|
+
return str.includes(q) || str.toLocaleLowerCase().includes(q);
|
|
186
|
+
} catch (error) {
|
|
187
|
+
return false;
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
} catch (e) {
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
170
193
|
};
|
|
171
194
|
_list = _list.filter((d) => {
|
|
172
195
|
if (filterItem) {
|
|
173
196
|
return filterItem(d, search);
|
|
174
197
|
}
|
|
175
|
-
return isIncludes(d
|
|
198
|
+
return isIncludes(d);
|
|
176
199
|
});
|
|
177
200
|
}
|
|
178
201
|
return _list;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 套餐单规格信息
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} option
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: zhiwei.Wang
|
|
7
|
+
* @Date: 2024-02-19 09:26
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatProductOption: (option: any) => any;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 套餐信息
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} bundle
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-02-19 09:26
|
|
17
|
+
*/
|
|
18
|
+
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
+
export interface ResourceItem {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
24
|
+
* @description:
|
|
25
|
+
* @param {object} resource
|
|
26
|
+
* @return {*}
|
|
27
|
+
* @Author: jinglin.tan
|
|
28
|
+
*/
|
|
29
|
+
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
30
|
+
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
31
|
+
/**
|
|
32
|
+
* @title: 格式化商品单价
|
|
33
|
+
* @description:
|
|
34
|
+
* @param {any} item
|
|
35
|
+
* @return {*}
|
|
36
|
+
* @Author: WangHan
|
|
37
|
+
* @Date: 2024-12-23 12:05
|
|
38
|
+
*/
|
|
39
|
+
export declare const formatProductPrice: (item: any) => number;
|
|
40
|
+
export declare const formatValues: (state: any) => any;
|
|
41
|
+
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormState } from '../../../model';
|
|
2
|
+
interface useClientFnParams {
|
|
3
|
+
state: any;
|
|
4
|
+
setGlobalState: (val: any) => void;
|
|
5
|
+
modalRef: any;
|
|
6
|
+
onRemoveClient?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const useClientFn: (_params: useClientFnParams) => {
|
|
9
|
+
setClient: (client: Partial<FormState['client']>) => void;
|
|
10
|
+
isWalkIn: boolean;
|
|
11
|
+
handleSelectClient: (value: any) => Promise<unknown>;
|
|
12
|
+
menuChange: (e: any) => void;
|
|
13
|
+
handleViewClient: () => void;
|
|
14
|
+
menus: {
|
|
15
|
+
key: string;
|
|
16
|
+
label: any;
|
|
17
|
+
}[];
|
|
18
|
+
handleCreateItem: (cb?: () => void) => void;
|
|
19
|
+
getClients: ({ customer_id, customer_ids, ...resetParams }: {
|
|
20
|
+
customer_id?: number | undefined;
|
|
21
|
+
skip?: number | undefined;
|
|
22
|
+
search?: string | undefined;
|
|
23
|
+
with?: string[] | undefined;
|
|
24
|
+
relation_form_id?: number | undefined;
|
|
25
|
+
num?: number | undefined;
|
|
26
|
+
customer_ids?: string[] | undefined;
|
|
27
|
+
}, returnResult?: boolean) => Promise<any>;
|
|
28
|
+
params: {
|
|
29
|
+
skip: number;
|
|
30
|
+
num: number;
|
|
31
|
+
total: number;
|
|
32
|
+
search: string;
|
|
33
|
+
with: string[];
|
|
34
|
+
relation_form_id: any;
|
|
35
|
+
};
|
|
36
|
+
searchChange: (search: string) => void;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
loadMore: JSX.Element | null;
|
|
39
|
+
handleOpenClientModal: (val?: string) => void;
|
|
40
|
+
getNickname: (item: any) => any;
|
|
41
|
+
franchiseeLoading: number;
|
|
42
|
+
};
|
|
43
|
+
export default useClientFn;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './SelectDrawer.less';
|
|
3
|
+
interface SelectDrawerProps {
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
handleSelectClient: (val: any) => void;
|
|
7
|
+
handleCreateItem: (cb: () => void) => void;
|
|
8
|
+
handleSelectPet: (val: any) => void;
|
|
9
|
+
childrenValue: any[];
|
|
10
|
+
formData: any;
|
|
11
|
+
searchChange: (val: string) => void;
|
|
12
|
+
options: any;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
client: any;
|
|
15
|
+
loadMore: any;
|
|
16
|
+
showPet: boolean;
|
|
17
|
+
holder: any;
|
|
18
|
+
handleAddPet: any;
|
|
19
|
+
modalOpen: boolean;
|
|
20
|
+
franchiseeLoading?: number;
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
showWalkIn?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<SelectDrawerProps & React.RefAttributes<unknown>>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface VerticalClientProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
}
|
|
7
|
+
declare const VerticalClient: React.ForwardRefExoticComponent<VerticalClientProps & React.RefAttributes<unknown>>;
|
|
8
|
+
export default VerticalClient;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from '../model';
|
|
3
|
+
export declare const walkInData: {
|
|
4
|
+
id: number;
|
|
5
|
+
nickname: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
8
|
+
state: FormState;
|
|
9
|
+
} & {
|
|
10
|
+
dispatch: (params: {
|
|
11
|
+
type: string;
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
}>;
|