@pisell/private-materials 6.8.32 → 6.8.33
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 +1 -1
- package/build/lowcode/preview.js +164 -150
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/ticketBooking/utils/index.js +5 -1
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/ticketBooking/utils/index.js +4 -1
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/package.json +3 -3
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- 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/locales.d.ts +0 -249
- package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- 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/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/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- 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/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/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/locales.d.ts +0 -54
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- 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/locales.d.ts +0 -54
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/model.d.ts +0 -10
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/index.d.ts +0 -11
- package/es/components/booking/components/footer/utils.d.ts +0 -67
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/service/Lists.d.ts +0 -2
- package/es/components/booking/info/service/serve.d.ts +0 -34
- package/es/components/booking/info/service2/utils.d.ts +0 -219
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -106
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/es/components/booking/utils.d.ts +0 -182
- package/es/components/checkout/PaymentModal.d.ts +0 -39
- package/es/components/checkout/components/AdditionalModule/index.d.ts +0 -15
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -14
- package/es/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/es/components/eftposPay/utils/log/index.d.ts +0 -110
- package/es/components/kioskSkuDetail/index.d.ts +0 -36
- package/es/components/list/List.d.ts +0 -5
- package/es/components/list/hooks/useListState.d.ts +0 -45
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/es/components/pay/toB/types/index.d.ts +0 -72
- package/es/components/pay/toC/locales.d.ts +0 -301
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -14
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/serve.d.ts +0 -288
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/plus/clientName/index.d.ts +0 -4
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- 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/locales.d.ts +0 -66
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/utils.d.ts +0 -39
- 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 -7
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/webPosLogin/WebPosLogin.d.ts +0 -11
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +0 -12
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +0 -28
- package/es/plus/webPosLogin/components/SelectStore/index.d.ts +0 -24
- package/es/plus/webPosLogin/components/UserFooter/index.d.ts +0 -28
- package/es/plus/webPosLogin/index.d.ts +0 -12
- package/es/plus/webPosLogin/locales.d.ts +0 -49
- package/es/plus/webPosLogin/service.d.ts +0 -44
- package/es/plus/webPosLogin/types.d.ts +0 -286
- package/es/pro/Login2.0/Login2.d.ts +0 -61
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -8
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -7
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
- package/es/pro/Login2.0/types.d.ts +0 -167
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
- 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/locales.d.ts +0 -249
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- 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/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/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- 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/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/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/locales.d.ts +0 -54
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- 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/locales.d.ts +0 -54
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/model.d.ts +0 -10
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/index.d.ts +0 -11
- package/lib/components/booking/components/footer/utils.d.ts +0 -67
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/service/Lists.d.ts +0 -2
- package/lib/components/booking/info/service/serve.d.ts +0 -34
- package/lib/components/booking/info/service2/utils.d.ts +0 -219
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -106
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/lib/components/booking/utils.d.ts +0 -182
- package/lib/components/checkout/PaymentModal.d.ts +0 -39
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +0 -15
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -26
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +0 -38
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +0 -85
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -14
- package/lib/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
- package/lib/components/kioskSkuDetail/index.d.ts +0 -36
- package/lib/components/list/List.d.ts +0 -5
- package/lib/components/list/hooks/useListState.d.ts +0 -45
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/lib/components/pay/toB/types/index.d.ts +0 -72
- package/lib/components/pay/toC/locales.d.ts +0 -301
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -14
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/serve.d.ts +0 -288
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/plus/clientName/index.d.ts +0 -4
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- 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/locales.d.ts +0 -66
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/utils.d.ts +0 -39
- 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 -7
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +0 -11
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +0 -9
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +0 -9
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +0 -21
- package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +0 -12
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +0 -54
- package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +0 -28
- package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +0 -24
- package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +0 -28
- package/lib/plus/webPosLogin/index.d.ts +0 -12
- package/lib/plus/webPosLogin/locales.d.ts +0 -49
- package/lib/plus/webPosLogin/service.d.ts +0 -44
- package/lib/plus/webPosLogin/types.d.ts +0 -286
- package/lib/pro/Login2.0/Login2.d.ts +0 -61
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -8
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -7
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -18
- package/lib/pro/Login2.0/types.d.ts +0 -167
|
@@ -1,48 +0,0 @@
|
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ActionButtonsProps {
|
|
4
|
-
/** booking 状态对象,包含 service、addons 等数据 */
|
|
5
|
-
state: {
|
|
6
|
-
service?: {
|
|
7
|
-
value?: any[];
|
|
8
|
-
};
|
|
9
|
-
addons?: {
|
|
10
|
-
value?: any[];
|
|
11
|
-
};
|
|
12
|
-
disabledEdit?: boolean;
|
|
13
|
-
channelDisabledEdit?: boolean;
|
|
14
|
-
shop_discount?: string;
|
|
15
|
-
bookingDetail?: {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
/** dispatch 函数,用于触发状态更新 */
|
|
21
|
-
dispatch: (action: {
|
|
22
|
-
type: string;
|
|
23
|
-
payload?: any;
|
|
24
|
-
}) => void;
|
|
25
|
-
/** 是否禁用所有按钮 */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** 数据源,传递给 VoucherCard */
|
|
28
|
-
source?: any;
|
|
29
|
-
}
|
|
30
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
|
31
|
-
export default ActionButtons;
|
|
@@ -1,38 +0,0 @@
|
|
|
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;
|
|
@@ -1,67 +0,0 @@
|
|
|
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
|
-
/**
|
|
20
|
-
* 获取子商品折扣信息
|
|
21
|
-
* @param item
|
|
22
|
-
*/
|
|
23
|
-
export declare const getBundleDiscountList: (bundle: any[]) => any[];
|
|
24
|
-
export interface ResourceItem {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
29
|
-
* @description:
|
|
30
|
-
* @param {object} resource
|
|
31
|
-
* @return {*}
|
|
32
|
-
* @Author: jinglin.tan
|
|
33
|
-
*/
|
|
34
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
35
|
-
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
36
|
-
/**
|
|
37
|
-
* @title: 格式化商品单价
|
|
38
|
-
* @description:
|
|
39
|
-
* @param {any} item
|
|
40
|
-
* @return {*}
|
|
41
|
-
* @Author: WangHan
|
|
42
|
-
* @Date: 2024-12-23 12:05
|
|
43
|
-
*/
|
|
44
|
-
export declare const formatProductPrice: (item: any) => number;
|
|
45
|
-
/**
|
|
46
|
-
* checkout2.0: 单个数量商品总价(原价),包含所有套餐子商品金额、报价单等等
|
|
47
|
-
* @param item
|
|
48
|
-
* @returns
|
|
49
|
-
*/
|
|
50
|
-
export declare const formatOriginalPrice: (item: any) => number;
|
|
51
|
-
/**
|
|
52
|
-
* checkout2.0: 商品维度折扣后价格, original_price - 商品折扣金额(商品手动折扣等等)
|
|
53
|
-
* @param item
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
export declare const formatSellingPrice: (item: any) => number;
|
|
57
|
-
export declare const getSourceProductPrice: (item: any) => number;
|
|
58
|
-
export declare const getMainProductSellingPrice: (item: any) => number | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* @title: 是否包含跨日预约商品
|
|
61
|
-
* @description:
|
|
62
|
-
* @param {any} data
|
|
63
|
-
* @return {*}
|
|
64
|
-
*/
|
|
65
|
-
export declare const getHasMultiDayProduct: (data: any) => any;
|
|
66
|
-
export declare const formatValues: (state: any) => any;
|
|
67
|
-
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsBooking4Shop: (state: any) => any;
|
|
@@ -1,43 +0,0 @@
|
|
|
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;
|
|
@@ -1,25 +0,0 @@
|
|
|
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;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const getProductDetail: (id: string, params: any) => Promise<any>;
|
|
2
|
-
/**
|
|
3
|
-
* @title: 跨日预约获取预约商品报价单
|
|
4
|
-
* @description:
|
|
5
|
-
* @param {string} id
|
|
6
|
-
* @param {any} params
|
|
7
|
-
* @return {*}
|
|
8
|
-
* @Author: WangHan
|
|
9
|
-
* @Date: 2024-12-23 17:06
|
|
10
|
-
*/
|
|
11
|
-
export declare const postMultiDay: (id: string, params: any) => Promise<any>;
|
|
12
|
-
/**
|
|
13
|
-
* 批量查询指定商品的最新价格
|
|
14
|
-
* @param params
|
|
15
|
-
*/
|
|
16
|
-
export declare const getProductPrice: (params: {
|
|
17
|
-
ids: number[];
|
|
18
|
-
customer_id: number;
|
|
19
|
-
schedule_date: string;
|
|
20
|
-
}) => Promise<any>;
|
|
21
|
-
declare type MultiDayProductPriceParams = {
|
|
22
|
-
customer_id: number;
|
|
23
|
-
data: {
|
|
24
|
-
product_id: number;
|
|
25
|
-
schedule_date: string;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* 获取普通商品和跨日预约的价格
|
|
30
|
-
* @param params
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
33
|
-
export declare const getNormalAndMultiDayProductPrice: (params: MultiDayProductPriceParams) => Promise<any>;
|
|
34
|
-
export {};
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
|
|
3
|
-
/**
|
|
4
|
-
* @title: 获取资源名称
|
|
5
|
-
* @description:
|
|
6
|
-
* @param {any} id
|
|
7
|
-
* @param {any} state
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: WangHan
|
|
10
|
-
* @Date: 2024-11-29 18:02
|
|
11
|
-
*/
|
|
12
|
-
export declare const getResourceItem: (id: any, state: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @title: 错误提示
|
|
15
|
-
* @description:
|
|
16
|
-
* @param {any} service
|
|
17
|
-
* @param {any} resourceItem
|
|
18
|
-
* @return {*}
|
|
19
|
-
* @Author: WangHan
|
|
20
|
-
* @Date: 2024-11-29 18:41
|
|
21
|
-
*/
|
|
22
|
-
export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 格式化主体列表
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {any} lists
|
|
27
|
-
* @param {boolean} isOpenGroup
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2024-12-04 11:27
|
|
31
|
-
*/
|
|
32
|
-
export declare const formatHolderLists: (lists: any) => any;
|
|
33
|
-
export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* @title: 是否是预约商品
|
|
36
|
-
* @description:
|
|
37
|
-
* @return {*}
|
|
38
|
-
* @Author: WangHan
|
|
39
|
-
* @Date: 2024-12-06 11:24
|
|
40
|
-
*/
|
|
41
|
-
export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
|
|
42
|
-
export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
|
|
43
|
-
/**
|
|
44
|
-
* @title: 更新商品数据
|
|
45
|
-
* @description:
|
|
46
|
-
* @param {any} state
|
|
47
|
-
* @param currentItem
|
|
48
|
-
* @param {string} type
|
|
49
|
-
* @param {any} other
|
|
50
|
-
* @param actions
|
|
51
|
-
* @return {*}
|
|
52
|
-
* @Author: WangHan
|
|
53
|
-
* @Date: 2025-01-03 15:00
|
|
54
|
-
*/
|
|
55
|
-
export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
|
|
56
|
-
export declare const formItems: (items: any[]) => any[];
|
|
57
|
-
export declare const getIsSubjectRequire: (state: any) => boolean;
|
|
58
|
-
export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
|
|
59
|
-
export declare const isAllNormalProduct: (items: any[]) => boolean;
|
|
60
|
-
export declare const isAllNormalProductByState: (state: any) => boolean;
|
|
61
|
-
export declare const genRowKey: (key: string) => string;
|
|
62
|
-
/**
|
|
63
|
-
* @title: 格式化商品数据
|
|
64
|
-
* @description:
|
|
65
|
-
* @param {any} lists
|
|
66
|
-
* @return {*}
|
|
67
|
-
* @Author: WangHan
|
|
68
|
-
* @Date: 2024-11-29 17:36
|
|
69
|
-
*/
|
|
70
|
-
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => any[];
|
|
71
|
-
/**
|
|
72
|
-
* @title: 禁用日期
|
|
73
|
-
* @description:
|
|
74
|
-
* @param {any} current
|
|
75
|
-
* @param {string} position
|
|
76
|
-
* @param {any} startDate
|
|
77
|
-
* @return {*}
|
|
78
|
-
* @Author: WangHan
|
|
79
|
-
* @Date: 2024-12-03 17:51
|
|
80
|
-
*/
|
|
81
|
-
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
|
82
|
-
/**
|
|
83
|
-
* @title: 是否是跨日预约
|
|
84
|
-
* @description:
|
|
85
|
-
* @param {any} state
|
|
86
|
-
* @return {*}
|
|
87
|
-
* @Author: WangHan
|
|
88
|
-
* @Date: 2024-12-04 09:49
|
|
89
|
-
*/
|
|
90
|
-
export declare const isDayBooking: (state: any) => boolean;
|
|
91
|
-
export declare const isDaysBooking: (state: any) => boolean;
|
|
92
|
-
export declare const isEventBooking: (state: any) => boolean;
|
|
93
|
-
export declare const isAppointmentProduct: (item: any) => boolean;
|
|
94
|
-
/**
|
|
95
|
-
* @title: 是否是terminal上的跨日预约
|
|
96
|
-
* @description:
|
|
97
|
-
* @param {any} state
|
|
98
|
-
* @return {*}
|
|
99
|
-
* @Author: WangHan
|
|
100
|
-
* @Date: 2024-12-04 15:31
|
|
101
|
-
*/
|
|
102
|
-
export declare const isTerminalDayBooking: (state: any) => any;
|
|
103
|
-
export declare const formatDayDate: (_extend: any) => any;
|
|
104
|
-
/**
|
|
105
|
-
* @title: 根据营业日时间格式化时间
|
|
106
|
-
* @description:
|
|
107
|
-
* @param {any} state
|
|
108
|
-
* @return {*}
|
|
109
|
-
* @Author: WangHan
|
|
110
|
-
* @Date: 2024-12-04 12:07
|
|
111
|
-
*/
|
|
112
|
-
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
|
113
|
-
startDateTime: dayjs.Dayjs;
|
|
114
|
-
endDateTime: dayjs.Dayjs;
|
|
115
|
-
};
|
|
116
|
-
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
|
117
|
-
value: dayjs.Dayjs;
|
|
118
|
-
end_date: dayjs.Dayjs;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* @title: 初始化日期
|
|
122
|
-
* @description:
|
|
123
|
-
* @return {*}
|
|
124
|
-
* @Author: WangHan
|
|
125
|
-
* @Date: 2024-12-06 17:24
|
|
126
|
-
*/
|
|
127
|
-
export declare const initDate: () => {
|
|
128
|
-
value: dayjs.Dayjs;
|
|
129
|
-
end_date: dayjs.Dayjs;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* @title: 是否有预约商品
|
|
133
|
-
* @description:
|
|
134
|
-
* @return {*}
|
|
135
|
-
* @Author: WangHan
|
|
136
|
-
* @Date: 2024-12-12 15:47
|
|
137
|
-
*/
|
|
138
|
-
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
|
139
|
-
/**
|
|
140
|
-
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
|
141
|
-
* @description:
|
|
142
|
-
* @param {any} lists
|
|
143
|
-
* @return {*}
|
|
144
|
-
* @Author: WangHan
|
|
145
|
-
* @Date: 2024-12-13 16:44
|
|
146
|
-
*/
|
|
147
|
-
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
|
148
|
-
/**
|
|
149
|
-
* @title: 格式化表单数据
|
|
150
|
-
* @description:
|
|
151
|
-
* @param {any} state
|
|
152
|
-
* @return {*}
|
|
153
|
-
* @Author: WangHan
|
|
154
|
-
* @Date: 2024-12-30 22:19
|
|
155
|
-
*/
|
|
156
|
-
export declare const getPets: (state: any) => any;
|
|
157
|
-
/**
|
|
158
|
-
* @title: 得出预约商品
|
|
159
|
-
* @description:
|
|
160
|
-
* @param {any} state
|
|
161
|
-
* @return {*}
|
|
162
|
-
* @Author: WangHan
|
|
163
|
-
* @Date: 2024-12-30 22:26
|
|
164
|
-
*/
|
|
165
|
-
export declare const getAppointmentService: (state: any) => any;
|
|
166
|
-
/**
|
|
167
|
-
* @title: 判断是否打开删除宠物弹窗
|
|
168
|
-
* @description:
|
|
169
|
-
* @param {any} state
|
|
170
|
-
* @param {any} newVal
|
|
171
|
-
* @return {*}
|
|
172
|
-
* @Author: WangHan
|
|
173
|
-
* @Date: 2024-12-16 16:12
|
|
174
|
-
*/
|
|
175
|
-
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
|
176
|
-
ids: any;
|
|
177
|
-
lists: any;
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* @title: 当前选中的表单id
|
|
181
|
-
* @description:
|
|
182
|
-
* @param {any} state
|
|
183
|
-
* @return {*}
|
|
184
|
-
* @Author: WangHan
|
|
185
|
-
* @Date: 2024-12-17 14:40
|
|
186
|
-
*/
|
|
187
|
-
export declare const holderId: (state: any) => number;
|
|
188
|
-
/**
|
|
189
|
-
* @title: 更新套餐的价格
|
|
190
|
-
* @description:
|
|
191
|
-
* @param {any} currentValue
|
|
192
|
-
* @param {any} newBundleData
|
|
193
|
-
* @return {*}
|
|
194
|
-
* @Author: WangHan
|
|
195
|
-
* @Date: 2024-12-31 15:16
|
|
196
|
-
*/
|
|
197
|
-
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
|
198
|
-
/**
|
|
199
|
-
* @title: 更新预约商品报价单
|
|
200
|
-
* @description:
|
|
201
|
-
* @param {any} state
|
|
202
|
-
* @param {any} cacheItem
|
|
203
|
-
* @return {*}
|
|
204
|
-
* @Author: WangHan
|
|
205
|
-
* @Date: 2024-12-25 16:41
|
|
206
|
-
*/
|
|
207
|
-
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
|
208
|
-
multiDayPrices: any;
|
|
209
|
-
price: number;
|
|
210
|
-
}>;
|
|
211
|
-
/**
|
|
212
|
-
* @title: 更新普通商品报价单价格
|
|
213
|
-
* @description:
|
|
214
|
-
* @param {any} state
|
|
215
|
-
* @return {*}
|
|
216
|
-
* @Author: WangHan
|
|
217
|
-
* @Date: 2024-12-24 11:32
|
|
218
|
-
*/
|
|
219
|
-
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|