@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,7 +0,0 @@
|
|
|
1
|
-
interface FieldMapping<T = any, R = any> {
|
|
2
|
-
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
-
}
|
|
4
|
-
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
-
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
-
export declare const getAvatarText: (name: string) => string;
|
|
7
|
-
export {};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.button.save': string;
|
|
4
|
-
'pisell2.text.button.delete': string;
|
|
5
|
-
'pisell2.text.button.cancel': string;
|
|
6
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
7
|
-
'pisell2.text.contact-info.modal.title': string;
|
|
8
|
-
'pisell2.text.contact-info.modal.first-name': string;
|
|
9
|
-
'pisell2.text.contact-info.modal.first-name-placeholder': string;
|
|
10
|
-
'pisell2.text.contact-info.modal.first-name-required': string;
|
|
11
|
-
'pisell2.text.contact-info.modal.last-name': string;
|
|
12
|
-
'pisell2.text.contact-info.modal.last-name-placeholder': string;
|
|
13
|
-
'pisell2.text.contact-info.modal.last-name-required': string;
|
|
14
|
-
'pisell2.text.contact-info.modal.mobile': string;
|
|
15
|
-
'pisell2.text.contact-info.modal.mobile-placeholder': string;
|
|
16
|
-
'pisell2.text.contact-info.modal.mobile-required': string;
|
|
17
|
-
'pisell2.text.contact-info.modal.mobile-error': string;
|
|
18
|
-
'pisell2.text.contact-info.modal.email': string;
|
|
19
|
-
'pisell2.text.contact-info.modal.email-placeholder': string;
|
|
20
|
-
'pisell2.text.contact-info.modal.email-required': string;
|
|
21
|
-
'pisell2.text.contact-info.modal.email-error': string;
|
|
22
|
-
};
|
|
23
|
-
'zh-CN': {
|
|
24
|
-
'pisell2.text.button.save': string;
|
|
25
|
-
'pisell2.text.button.delete': string;
|
|
26
|
-
'pisell2.text.button.cancel': string;
|
|
27
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
28
|
-
'pisell2.text.contact-info.modal.title': string;
|
|
29
|
-
'pisell2.text.contact-info.modal.first-name': string;
|
|
30
|
-
'pisell2.text.contact-info.modal.first-name-placeholder': string;
|
|
31
|
-
'pisell2.text.contact-info.modal.first-name-required': string;
|
|
32
|
-
'pisell2.text.contact-info.modal.last-name': string;
|
|
33
|
-
'pisell2.text.contact-info.modal.last-name-placeholder': string;
|
|
34
|
-
'pisell2.text.contact-info.modal.last-name-required': string;
|
|
35
|
-
'pisell2.text.contact-info.modal.mobile': string;
|
|
36
|
-
'pisell2.text.contact-info.modal.mobile-placeholder': string;
|
|
37
|
-
'pisell2.text.contact-info.modal.mobile-required': string;
|
|
38
|
-
'pisell2.text.contact-info.modal.mobile-error': string;
|
|
39
|
-
'pisell2.text.contact-info.modal.email': string;
|
|
40
|
-
'pisell2.text.contact-info.modal.email-placeholder': string;
|
|
41
|
-
'pisell2.text.contact-info.modal.email-required': string;
|
|
42
|
-
'pisell2.text.contact-info.modal.email-error': string;
|
|
43
|
-
};
|
|
44
|
-
'zh-HK': {
|
|
45
|
-
'pisell2.text.button.save': string;
|
|
46
|
-
'pisell2.text.button.delete': string;
|
|
47
|
-
'pisell2.text.button.cancel': string;
|
|
48
|
-
'pisell2.text.contact-info.actions.delete': string;
|
|
49
|
-
'pisell2.text.contact-info.modal.title': string;
|
|
50
|
-
'pisell2.text.contact-info.modal.first-name': string;
|
|
51
|
-
'pisell2.text.contact-info.modal.first-name-placeholder': string;
|
|
52
|
-
'pisell2.text.contact-info.modal.first-name-required': string;
|
|
53
|
-
'pisell2.text.contact-info.modal.last-name': string;
|
|
54
|
-
'pisell2.text.contact-info.modal.last-name-placeholder': string;
|
|
55
|
-
'pisell2.text.contact-info.modal.last-name-required': string;
|
|
56
|
-
'pisell2.text.contact-info.modal.mobile': string;
|
|
57
|
-
'pisell2.text.contact-info.modal.mobile-placeholder': string;
|
|
58
|
-
'pisell2.text.contact-info.modal.mobile-required': string;
|
|
59
|
-
'pisell2.text.contact-info.modal.mobile-error': string;
|
|
60
|
-
'pisell2.text.contact-info.modal.email': string;
|
|
61
|
-
'pisell2.text.contact-info.modal.email-placeholder': string;
|
|
62
|
-
'pisell2.text.contact-info.modal.email-required': string;
|
|
63
|
-
'pisell2.text.contact-info.modal.email-error': string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export default _default;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ProductCardSkeleton from './ProductCardSkeleton';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare type BoolConfigVal = 0 | 1;
|
|
5
|
-
export interface ProductCardConfig {
|
|
6
|
-
isProductCover?: BoolConfigVal;
|
|
7
|
-
imgWidth?: string;
|
|
8
|
-
imgHeight?: string;
|
|
9
|
-
radius?: number;
|
|
10
|
-
isTitle?: BoolConfigVal;
|
|
11
|
-
isSubtitle?: BoolConfigVal;
|
|
12
|
-
showSpec?: boolean;
|
|
13
|
-
isTag?: BoolConfigVal;
|
|
14
|
-
isPrice?: BoolConfigVal;
|
|
15
|
-
isOriginPrice?: BoolConfigVal;
|
|
16
|
-
showZeroPrice?: boolean;
|
|
17
|
-
showMarketingTag?: boolean;
|
|
18
|
-
showRemark?: boolean;
|
|
19
|
-
isStock?: BoolConfigVal;
|
|
20
|
-
}
|
|
21
|
-
export interface ProductCardProps {
|
|
22
|
-
item: any;
|
|
23
|
-
index: number;
|
|
24
|
-
context?: {
|
|
25
|
-
onItemIntersectionIn: (item: any) => void;
|
|
26
|
-
onItemIntersectionOut: (item: any) => void;
|
|
27
|
-
};
|
|
28
|
-
className?: string;
|
|
29
|
-
onSelectProduct?: (item: any) => void;
|
|
30
|
-
currentProductId?: number;
|
|
31
|
-
onSelect?: (item: any) => void;
|
|
32
|
-
onSelectCover?: (item: any) => void;
|
|
33
|
-
onSelectInfo?: (item: any) => void;
|
|
34
|
-
isSelected?: boolean;
|
|
35
|
-
decorateConfig?: ProductCardConfig;
|
|
36
|
-
}
|
|
37
|
-
export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => JSX.Element>;
|
|
38
|
-
export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
|
|
39
|
-
item: any;
|
|
40
|
-
index: number;
|
|
41
|
-
context?: {
|
|
42
|
-
onItemIntersectionIn: (item: any) => void;
|
|
43
|
-
onItemIntersectionOut: (item: any) => void;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}) => JSX.Element>;
|
|
46
|
-
export default ProductCard;
|
|
47
|
-
export { ProductCardSkeleton };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
interface Product {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
sort?: number;
|
|
5
|
-
category: Array<{
|
|
6
|
-
id: number;
|
|
7
|
-
name: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
sort: number;
|
|
11
|
-
}>;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
interface CategoryItem {
|
|
15
|
-
__typename: 'category';
|
|
16
|
-
id: number;
|
|
17
|
-
name: string;
|
|
18
|
-
icon?: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
sort: number;
|
|
21
|
-
}
|
|
22
|
-
interface ProductItem extends Product {
|
|
23
|
-
__typename?: 'product';
|
|
24
|
-
}
|
|
25
|
-
declare type ListItem = CategoryItem | ProductItem;
|
|
26
|
-
/**
|
|
27
|
-
* 按目录对商品进行分组,产出平级的数据结构用于虚拟列表渲染
|
|
28
|
-
* @param products 商品列表
|
|
29
|
-
* @returns 包含目录项和商品项的平级数组
|
|
30
|
-
*/
|
|
31
|
-
export declare function groupProductsByCategory(products: Product[]): ListItem[];
|
|
32
|
-
/**
|
|
33
|
-
* 根据传入的元素标识符获取DOM元素
|
|
34
|
-
* @param elementIdentifier 元素标识符,可以是HTMLElement、带'#'的id、带'.'的类名或CSS选择器
|
|
35
|
-
* @returns 找到的DOM元素或null
|
|
36
|
-
*/
|
|
37
|
-
export declare function getElementByIdentifier(elementIdentifier: HTMLElement | string | null | undefined): HTMLElement | null;
|
|
38
|
-
export declare const getOffsetTopRelativeToScrollContainer: (targetElement: HTMLElement, scrollContainer: HTMLElement) => number;
|
|
39
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface JsonEditorProps {
|
|
3
|
-
value?: any;
|
|
4
|
-
onChange?: (value: any) => void;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
rows?: number;
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
}
|
|
10
|
-
declare const JsonEditor: React.FC<JsonEditorProps>;
|
|
11
|
-
export default JsonEditor;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type ValidityPeriodValue = {
|
|
3
|
-
type: 'normal';
|
|
4
|
-
unit: string;
|
|
5
|
-
unit_type: 'day' | 'month' | 'year';
|
|
6
|
-
} | {
|
|
7
|
-
type: 'custom';
|
|
8
|
-
custom_date?: string;
|
|
9
|
-
} | {
|
|
10
|
-
type: 'forever';
|
|
11
|
-
};
|
|
12
|
-
export interface ValidityPeriodSelectorProps {
|
|
13
|
-
value?: ValidityPeriodValue;
|
|
14
|
-
onChange?: (value: ValidityPeriodValue) => void;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
options?: readonly ValidityPeriodValue[];
|
|
18
|
-
}
|
|
19
|
-
declare const ValidityPeriodSelector: React.FC<ValidityPeriodSelectorProps>;
|
|
20
|
-
export default ValidityPeriodSelector;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormInstance } from 'antd';
|
|
3
|
-
export interface MultiLanguageTitle {
|
|
4
|
-
original?: string;
|
|
5
|
-
'zh-CN'?: string;
|
|
6
|
-
'zh-HK'?: string;
|
|
7
|
-
en?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ValidForConfig {
|
|
10
|
-
unit: string;
|
|
11
|
-
unit_type: 'day' | 'month' | 'year';
|
|
12
|
-
type: 'normal' | 'custom' | 'forever';
|
|
13
|
-
custom_date?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type WalletPassType = 'balance' | 'point' | 'voucher' | 'discount' | 'rechargeable';
|
|
16
|
-
export interface ShowcaseWalletPassItem {
|
|
17
|
-
type: WalletPassType;
|
|
18
|
-
display: 0 | 1;
|
|
19
|
-
name?: MultiLanguageTitle;
|
|
20
|
-
custom_title?: MultiLanguageTitle;
|
|
21
|
-
}
|
|
22
|
-
export interface SendConfig {
|
|
23
|
-
type: string;
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}
|
|
26
|
-
export interface WalletMetadata {
|
|
27
|
-
showcaseWalletPass?: string[];
|
|
28
|
-
showcaseWalletPassNew?: ShowcaseWalletPassItem[];
|
|
29
|
-
welcomeText?: string;
|
|
30
|
-
customerName?: string;
|
|
31
|
-
coverImage?: string;
|
|
32
|
-
send_config?: SendConfig;
|
|
33
|
-
}
|
|
34
|
-
export interface WalletEditorValue {
|
|
35
|
-
name?: MultiLanguageTitle;
|
|
36
|
-
status: 'enable' | 'disable';
|
|
37
|
-
valid_for: ValidForConfig;
|
|
38
|
-
metadata: WalletMetadata;
|
|
39
|
-
}
|
|
40
|
-
export interface WalletEditorRef {
|
|
41
|
-
form: FormInstance;
|
|
42
|
-
setInitialValues: (values: WalletEditorValue) => void;
|
|
43
|
-
getValues: () => WalletEditorValue;
|
|
44
|
-
}
|
|
45
|
-
export interface WalletEditorProps {
|
|
46
|
-
value?: WalletEditorValue;
|
|
47
|
-
onChange?: (value: WalletEditorValue) => void;
|
|
48
|
-
onValuesChange?: (changedValue: any, values: WalletEditorValue) => void;
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
className?: string;
|
|
51
|
-
style?: React.CSSProperties;
|
|
52
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LoginStep } from './types';
|
|
3
|
-
export interface WebPosLoginProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
step?: LoginStep;
|
|
7
|
-
backgroundImage?: string;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
declare const WebPosLogin: (props: WebPosLoginProps) => JSX.Element;
|
|
11
|
-
export default WebPosLogin;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WebPosLoginCptProps } from './types';
|
|
3
|
-
import './WebPosLoginCpt.less';
|
|
4
|
-
/**
|
|
5
|
-
* WebPosLoginCpt 主组件
|
|
6
|
-
* @description WebPOS 登录流程组件,包含登录、店铺选择、设备选择三个步骤
|
|
7
|
-
*/
|
|
8
|
-
declare const WebPosLoginCpt: React.FC<WebPosLoginCptProps>;
|
|
9
|
-
export default WebPosLoginCpt;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BrandPanelProps } from '../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* BrandPanel 品牌区组件
|
|
6
|
-
* @description 登录页面左侧品牌展示区域,支持轮播图片/视频(预留),当前仅展示 Logo
|
|
7
|
-
*/
|
|
8
|
-
declare const BrandPanel: React.FC<BrandPanelProps>;
|
|
9
|
-
export default BrandPanel;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* LoginPanel 组件 Props
|
|
5
|
-
*/
|
|
6
|
-
export interface LoginPanelProps {
|
|
7
|
-
/** 自定义类名 */
|
|
8
|
-
className?: string;
|
|
9
|
-
/** 子元素 */
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
/** 登录成功回调 */
|
|
12
|
-
onLoginSuccess?: (data: any) => void;
|
|
13
|
-
/** 登录配置 */
|
|
14
|
-
config?: any;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* LoginPanel 登录面板组件
|
|
18
|
-
* @description 登录表单容器,由用户自行实现具体登录逻辑
|
|
19
|
-
*/
|
|
20
|
-
declare const LoginPanel: React.FC<LoginPanelProps>;
|
|
21
|
-
export default LoginPanel;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MediaDisplayProps } from "./type";
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* MediaDisplay 媒体组件
|
|
6
|
-
* @description 通用媒体展示组件,支持图片/视频展示
|
|
7
|
-
* - 支持单个媒体或轮播(预留)
|
|
8
|
-
* - 支持全屏模式
|
|
9
|
-
* - 支持视频播放控制和状态回调
|
|
10
|
-
*/
|
|
11
|
-
declare const MediaDisplay: React.FC<MediaDisplayProps>;
|
|
12
|
-
export default MediaDisplay;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* 媒体轮播项
|
|
4
|
-
* @description 媒体展示区的轮播内容配置
|
|
5
|
-
*/
|
|
6
|
-
export interface CarouselItem {
|
|
7
|
-
/** 内容类型:图片或视频 */
|
|
8
|
-
type: 'image' | 'video' | 'logo';
|
|
9
|
-
/** 资源URL */
|
|
10
|
-
url: string;
|
|
11
|
-
/** 背景颜色 */
|
|
12
|
-
backgroundColor?: string;
|
|
13
|
-
/** logo样式 */
|
|
14
|
-
logoStyle?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 媒体配置
|
|
18
|
-
* @description 媒体展示区域的配置
|
|
19
|
-
*/
|
|
20
|
-
export interface MediaConfig {
|
|
21
|
-
/** 轮播内容列表(图片/视频) */
|
|
22
|
-
carouselItems?: CarouselItem[];
|
|
23
|
-
/** 默认Logo(当无轮播时显示) */
|
|
24
|
-
logo?: string;
|
|
25
|
-
/** 品牌标语 */
|
|
26
|
-
slogan?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* 视频播放状态
|
|
30
|
-
*/
|
|
31
|
-
export declare type VideoPlayState = 'idle' | 'playing' | 'paused' | 'ended' | 'error';
|
|
32
|
-
/**
|
|
33
|
-
* MediaDisplay 媒体展示组件 Props
|
|
34
|
-
*/
|
|
35
|
-
export interface MediaDisplayProps {
|
|
36
|
-
/** 品牌配置 */
|
|
37
|
-
config?: MediaConfig;
|
|
38
|
-
/** 自定义类名 */
|
|
39
|
-
className?: string;
|
|
40
|
-
/** 是否全屏模式 */
|
|
41
|
-
fullscreen?: boolean;
|
|
42
|
-
/** 视频是否静音,默认 true */
|
|
43
|
-
muted?: boolean;
|
|
44
|
-
/** 视频是否循环播放,默认 false */
|
|
45
|
-
loop?: boolean;
|
|
46
|
-
/** 视频播放结束回调 */
|
|
47
|
-
onVideoEnded?: () => void;
|
|
48
|
-
/** 视频播放状态变化回调 */
|
|
49
|
-
onVideoStateChange?: (state: VideoPlayState) => void;
|
|
50
|
-
/** 是否可以关闭(用于控制视频结束后是否允许关闭) */
|
|
51
|
-
canClose?: boolean;
|
|
52
|
-
/** 关闭回调(视频结束且 canClose 为 true 时触发) */
|
|
53
|
-
onClose?: () => void;
|
|
54
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DeviceItem, LocaleType } from '../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* SelectDevice 组件 Props
|
|
6
|
-
*/
|
|
7
|
-
export interface SelectDeviceProps {
|
|
8
|
-
/** 设备列表 */
|
|
9
|
-
deviceList?: DeviceItem[];
|
|
10
|
-
/** 语言 */
|
|
11
|
-
locale?: LocaleType;
|
|
12
|
-
/** 加载状态(列表加载) */
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
/** 上次使用的设备ID */
|
|
15
|
-
lastUsedDeviceId?: number;
|
|
16
|
-
/** 选择设备回调 */
|
|
17
|
-
onSelect?: (device: DeviceItem) => void;
|
|
18
|
-
/** 确认按钮文本 */
|
|
19
|
-
confirmOkText?: string;
|
|
20
|
-
/** 取消按钮文本 */
|
|
21
|
-
confirmCancelText?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* SelectDevice 设备选择组件
|
|
25
|
-
* @description 展示设备列表,支持搜索过滤和选择,已被使用的设备需确认后选择
|
|
26
|
-
*/
|
|
27
|
-
declare const SelectDevice: React.FC<SelectDeviceProps>;
|
|
28
|
-
export default SelectDevice;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StoreItem, LocaleType } from '../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* SelectStore 组件 Props
|
|
6
|
-
*/
|
|
7
|
-
export interface SelectStoreProps {
|
|
8
|
-
/** 店铺列表 */
|
|
9
|
-
storeList?: StoreItem[];
|
|
10
|
-
/** 语言 */
|
|
11
|
-
locale?: LocaleType;
|
|
12
|
-
/** 加载状态(列表加载) */
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
/** 上次使用的店铺ID */
|
|
15
|
-
lastUsedStoreId?: number;
|
|
16
|
-
/** 选择店铺回调 */
|
|
17
|
-
onSelect?: (store: StoreItem) => void;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* SelectStore 店铺选择组件
|
|
21
|
-
* @description 展示店铺列表,支持搜索过滤和选择
|
|
22
|
-
*/
|
|
23
|
-
declare const SelectStore: React.FC<SelectStoreProps>;
|
|
24
|
-
export default SelectStore;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UserInfo, StoreItem, LoginStep, LocaleType } from '../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
/**
|
|
5
|
-
* UserFooter 组件 Props
|
|
6
|
-
*/
|
|
7
|
-
export interface UserFooterProps {
|
|
8
|
-
/** 是否显示切换店铺 */
|
|
9
|
-
isShowChangeStore?: boolean;
|
|
10
|
-
/** 用户信息 */
|
|
11
|
-
userInfo?: UserInfo;
|
|
12
|
-
/** 当前选中的店铺 */
|
|
13
|
-
selectedStore?: StoreItem;
|
|
14
|
-
/** 当前步骤 */
|
|
15
|
-
step?: LoginStep;
|
|
16
|
-
/** 语言 */
|
|
17
|
-
locale?: LocaleType;
|
|
18
|
-
/** 切换账号回调 */
|
|
19
|
-
onChangeAccount?: () => void;
|
|
20
|
-
/** 切换店铺回调 */
|
|
21
|
-
onChangeStore?: () => void;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* UserFooter 底部用户信息组件
|
|
25
|
-
* @description 展示当前用户和店铺信息,支持切换账号和切换店铺
|
|
26
|
-
*/
|
|
27
|
-
declare const UserFooter: React.FC<UserFooterProps>;
|
|
28
|
-
export default UserFooter;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WebPosLogin 组件导出
|
|
3
|
-
* @description WebPOS 登录流程组件
|
|
4
|
-
*/
|
|
5
|
-
export { default } from './WebPosLogin';
|
|
6
|
-
export { default as WebPosLogin } from './WebPosLogin';
|
|
7
|
-
export { default as BrandPanel } from './components/BrandPanel';
|
|
8
|
-
export { default as LoginPanel } from './components/LoginPanel';
|
|
9
|
-
export { default as SelectStore } from './components/SelectStore';
|
|
10
|
-
export { default as SelectDevice } from './components/SelectDevice';
|
|
11
|
-
export { default as UserFooter } from './components/UserFooter';
|
|
12
|
-
export type { WebPosLoginCptProps, StoreItem, DeviceItem, DeviceClient, UserInfo, BrandConfig, CarouselItem, LoginStep, LocaleType, BrandPanelProps, SelectStoreProps, SelectDeviceProps, UserFooterProps, } from './types';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WebPosLogin 组件国际化文本
|
|
3
|
-
* @description 支持 en、zh-CN、zh-HK 三种语言
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: {
|
|
6
|
-
en: {
|
|
7
|
-
'webpos-login-search': string;
|
|
8
|
-
'webpos-login-back': string;
|
|
9
|
-
'webpos-login-last-used': string;
|
|
10
|
-
'webpos-login-select-store-title': string;
|
|
11
|
-
'webpos-login-select-store-empty': string;
|
|
12
|
-
'webpos-login-change-account': string;
|
|
13
|
-
'webpos-login-store-data-missing': string;
|
|
14
|
-
'webpos-login-select-device-title': string;
|
|
15
|
-
'webpos-login-select-device-empty': string;
|
|
16
|
-
'webpos-login-change-store': string;
|
|
17
|
-
'webpos-login-device-not-in-use': string;
|
|
18
|
-
'webpos-login-device-currently-used-by': string;
|
|
19
|
-
};
|
|
20
|
-
'zh-CN': {
|
|
21
|
-
'webpos-login-search': string;
|
|
22
|
-
'webpos-login-back': string;
|
|
23
|
-
'webpos-login-last-used': string;
|
|
24
|
-
'webpos-login-select-store-title': string;
|
|
25
|
-
'webpos-login-select-store-empty': string;
|
|
26
|
-
'webpos-login-change-account': string;
|
|
27
|
-
'webpos-login-store-data-missing': string;
|
|
28
|
-
'webpos-login-select-device-title': string;
|
|
29
|
-
'webpos-login-select-device-empty': string;
|
|
30
|
-
'webpos-login-change-store': string;
|
|
31
|
-
'webpos-login-device-not-in-use': string;
|
|
32
|
-
'webpos-login-device-currently-used-by': string;
|
|
33
|
-
};
|
|
34
|
-
'zh-HK': {
|
|
35
|
-
'webpos-login-search': string;
|
|
36
|
-
'webpos-login-back': string;
|
|
37
|
-
'webpos-login-last-used': string;
|
|
38
|
-
'webpos-login-select-store-title': string;
|
|
39
|
-
'webpos-login-select-store-empty': string;
|
|
40
|
-
'webpos-login-change-account': string;
|
|
41
|
-
'webpos-login-store-data-missing': string;
|
|
42
|
-
'webpos-login-select-device-title': string;
|
|
43
|
-
'webpos-login-select-device-empty': string;
|
|
44
|
-
'webpos-login-change-store': string;
|
|
45
|
-
'webpos-login-device-not-in-use': string;
|
|
46
|
-
'webpos-login-device-currently-used-by': string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { StoreItem } from './types';
|
|
2
|
-
interface IGetDeviceListParams {
|
|
3
|
-
type: string;
|
|
4
|
-
with: string[];
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* 获取设备列表
|
|
8
|
-
* @param params 查询参数
|
|
9
|
-
* @returns Promise<{list: any[], count: number}> 设备列表和总数
|
|
10
|
-
*/
|
|
11
|
-
export declare const getDeviceList: (parmas: IGetDeviceListParams) => Promise<any[]>;
|
|
12
|
-
/**
|
|
13
|
-
* 选择店铺
|
|
14
|
-
* @param shopId 店铺ID
|
|
15
|
-
* @returns Promise<any> 选择店铺结果
|
|
16
|
-
*/
|
|
17
|
-
export declare const selectShop: (shopId: string) => Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
* 获取租户详情
|
|
20
|
-
* @param deviceId 设备ID
|
|
21
|
-
* @returns Promise<any> 租户详情
|
|
22
|
-
*/
|
|
23
|
-
export declare const getTenantDetail: () => Promise<any>;
|
|
24
|
-
/**
|
|
25
|
-
* 获取租户列表
|
|
26
|
-
* @returns Promise<any> 租户列表
|
|
27
|
-
*/
|
|
28
|
-
export declare const getTenant: () => Promise<StoreItem[]>;
|
|
29
|
-
/**
|
|
30
|
-
* 选择设备
|
|
31
|
-
* @param deviceNumber 设备编号
|
|
32
|
-
* @returns Promise<any> 设备详情
|
|
33
|
-
*/
|
|
34
|
-
export declare const selectDevice: (params: Record<string, any>) => Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* 解除设备绑定
|
|
37
|
-
* @param deviceNumber 设备编号
|
|
38
|
-
* @returns Promise<any> 解除设备绑定结果
|
|
39
|
-
*/
|
|
40
|
-
export declare const dissociateDevice: (params: {
|
|
41
|
-
number: string;
|
|
42
|
-
dissociateDeviceNumber: string;
|
|
43
|
-
}) => Promise<any>;
|
|
44
|
-
export {};
|