@pisell/private-materials 6.4.83 → 6.4.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/booking/addons/index.js +1 -1
- package/es/components/booking/components/actionButtons/index.js +4 -2
- package/es/components/booking/components/footer/amount.js +48 -34
- package/es/components/booking/components/footer/utils.js +52 -48
- package/es/components/booking/components/voucher/index.js +4 -2
- package/es/components/booking/dashboard/serve.js +6 -1
- package/es/components/booking/forms/serve.js +12 -2
- package/es/components/booking/hooks/useQuotation.js +4 -1
- package/es/components/booking/info/client/serve.js +11 -2
- package/es/components/booking/info/pet/serve.js +6 -1
- package/es/components/booking/info/service/Lists.js +2 -2
- package/es/components/booking/info/service/addTimeModal/serve.js +11 -1
- package/es/components/booking/info/service/serve.js +17 -3
- package/es/components/booking/info/service2/utils.js +20 -8
- package/es/components/booking/info2/serve.js +6 -1
- package/es/components/booking/info2/service/addService/utils.js +5 -5
- package/es/components/booking/info2/service/editNormalService/index.js +6 -0
- package/es/components/booking/info2/service/editService/index.js +16 -6
- package/es/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/es/components/booking/info2/service/editService/utils.js +66 -0
- package/es/components/booking/info2/utilsByBooking.js +9 -5
- package/es/components/booking/utils.d.ts +6 -7
- package/es/components/booking/utils.js +37 -3
- package/es/components/checkout/PaymentModal.js +14 -7
- package/es/components/checkout/components/AdditionalModule/index.js +2 -0
- package/es/components/checkout/components/AmountSummary/index.less +4 -5
- package/es/components/checkout/components/CashPaymentModule/index.js +7 -1
- package/es/components/checkout/components/ScrollableList/index.js +1 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/es/components/list/List.js +56 -43
- package/es/components/list/hooks/useListState.d.ts +5 -3
- package/es/components/list/hooks/useListState.js +17 -2
- package/es/components/list/styles/header.less +3 -3
- package/es/components/list/utils/index.d.ts +13 -1
- package/es/components/list/utils/index.js +43 -1
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/es/components/pay/toB/components/MX51/index.js +44 -14
- package/es/components/pay/toB/types/index.d.ts +12 -0
- package/es/components/pay/toB/types/index.js +4 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.js +5 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +12 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +139 -36
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +703 -212
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -0
- package/es/components/ticketBooking/components/addServiceVariant/utils.js +2 -1
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -2
- package/es/components/ticketBooking/components/ticketBooking/index.js +50 -18
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.js +4 -1
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +169 -110
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/index.js +2 -0
- package/es/components/ticketBooking/serve.js +119 -17
- package/es/components/ticketBooking/utils/index.js +23 -7
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/printer.js +35 -0
- package/es/hooks/useEngineContext.d.ts +1 -0
- package/es/hooks/useEngineContext.js +7 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
- package/es/plus/productSelect/ProductCard/index.js +4 -5
- package/es/plus/webPosLogin/WebPosLogin.d.ts +11 -0
- package/es/plus/webPosLogin/WebPosLogin.js +548 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.js +170 -0
- package/es/plus/webPosLogin/WebPosLoginCpt.less +170 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.js +22 -0
- package/es/plus/webPosLogin/components/BrandPanel/index.less +58 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.js +73 -0
- package/es/plus/webPosLogin/components/LoginPanel/index.less +43 -0
- package/es/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
- package/es/plus/webPosLogin/components/MediaDisplay/index.js +220 -0
- package/es/plus/webPosLogin/components/MediaDisplay/index.less +141 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.js +1 -0
- package/es/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
- package/es/plus/webPosLogin/components/SelectDevice/index.js +258 -0
- package/es/plus/webPosLogin/components/SelectDevice/index.less +167 -0
- package/es/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
- package/es/plus/webPosLogin/components/SelectStore/index.js +198 -0
- package/es/plus/webPosLogin/components/SelectStore/index.less +157 -0
- package/es/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
- package/es/plus/webPosLogin/components/UserFooter/index.js +110 -0
- package/es/plus/webPosLogin/components/UserFooter/index.less +70 -0
- package/es/plus/webPosLogin/index.d.ts +12 -0
- package/es/plus/webPosLogin/index.js +15 -0
- package/es/plus/webPosLogin/locales.d.ts +49 -0
- package/es/plus/webPosLogin/locales.js +57 -0
- package/es/plus/webPosLogin/service.d.ts +44 -0
- package/es/plus/webPosLogin/service.js +198 -0
- package/es/plus/webPosLogin/types.d.ts +286 -0
- package/es/plus/webPosLogin/types.js +1 -0
- package/es/pro/Login2.0/Login2.js +9 -3
- package/es/pro/Login2.0/index.less +0 -12
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +35 -30
- package/lib/components/booking/components/actionButtons/index.js +2 -2
- package/lib/components/booking/components/footer/amount.js +29 -15
- package/lib/components/booking/components/footer/utils.js +37 -17
- package/lib/components/booking/components/voucher/index.js +5 -3
- package/lib/components/booking/dashboard/serve.js +6 -1
- package/lib/components/booking/forms/serve.js +12 -2
- package/lib/components/booking/hooks/useQuotation.js +2 -1
- package/lib/components/booking/info/client/serve.js +13 -2
- package/lib/components/booking/info/pet/serve.js +6 -1
- package/lib/components/booking/info/service/Lists.js +1 -1
- package/lib/components/booking/info/service/addTimeModal/serve.js +7 -1
- package/lib/components/booking/info/service/serve.js +17 -3
- package/lib/components/booking/info/service2/utils.js +13 -6
- package/lib/components/booking/info2/serve.js +6 -1
- package/lib/components/booking/info2/service/addService/utils.js +2 -1
- package/lib/components/booking/info2/service/editNormalService/index.js +6 -0
- package/lib/components/booking/info2/service/editService/index.js +12 -3
- package/lib/components/booking/info2/service/editService/utils.d.ts +15 -0
- package/lib/components/booking/info2/service/editService/utils.js +40 -3
- package/lib/components/booking/info2/utilsByBooking.js +11 -7
- package/lib/components/booking/utils.d.ts +6 -7
- package/lib/components/booking/utils.js +21 -3
- package/lib/components/checkout/PaymentModal.js +11 -6
- package/lib/components/checkout/components/AdditionalModule/index.js +2 -0
- package/lib/components/checkout/components/AmountSummary/index.less +4 -5
- package/lib/components/checkout/components/CashPaymentModule/index.js +7 -1
- package/lib/components/checkout/components/ScrollableList/index.js +1 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/lib/components/list/List.js +34 -19
- package/lib/components/list/hooks/useListState.d.ts +5 -3
- package/lib/components/list/hooks/useListState.js +14 -1
- package/lib/components/list/styles/header.less +3 -3
- package/lib/components/list/utils/index.d.ts +13 -1
- package/lib/components/list/utils/index.js +27 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/lib/components/pay/toB/components/MX51/index.js +37 -12
- package/lib/components/pay/toB/types/index.d.ts +12 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.js +8 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +1 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +12 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +33 -2
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +84 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +2 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +337 -215
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -1
- package/lib/components/ticketBooking/components/addServiceVariant/utils.js +2 -1
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -2
- package/lib/components/ticketBooking/components/ticketBooking/index.js +33 -12
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.js +3 -1
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +98 -65
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.js +2 -0
- package/lib/components/ticketBooking/serve.js +117 -15
- package/lib/components/ticketBooking/utils/index.js +21 -4
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/printer.js +60 -0
- package/lib/hooks/useEngineContext.d.ts +1 -0
- package/lib/hooks/useEngineContext.js +10 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +1 -1
- package/lib/plus/productSelect/ProductCard/index.js +3 -0
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +11 -0
- package/lib/plus/webPosLogin/WebPosLogin.js +327 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.d.ts +9 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.js +170 -0
- package/lib/plus/webPosLogin/WebPosLoginCpt.less +170 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.d.ts +9 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.js +43 -0
- package/lib/plus/webPosLogin/components/BrandPanel/index.less +58 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.d.ts +21 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.js +98 -0
- package/lib/plus/webPosLogin/components/LoginPanel/index.less +43 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/index.d.ts +12 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/index.js +160 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/index.less +141 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.js +17 -0
- package/lib/plus/webPosLogin/components/SelectDevice/index.d.ts +28 -0
- package/lib/plus/webPosLogin/components/SelectDevice/index.js +158 -0
- package/lib/plus/webPosLogin/components/SelectDevice/index.less +167 -0
- package/lib/plus/webPosLogin/components/SelectStore/index.d.ts +24 -0
- package/lib/plus/webPosLogin/components/SelectStore/index.js +123 -0
- package/lib/plus/webPosLogin/components/SelectStore/index.less +157 -0
- package/lib/plus/webPosLogin/components/UserFooter/index.d.ts +28 -0
- package/lib/plus/webPosLogin/components/UserFooter/index.js +91 -0
- package/lib/plus/webPosLogin/components/UserFooter/index.less +70 -0
- package/lib/plus/webPosLogin/index.d.ts +12 -0
- package/lib/plus/webPosLogin/index.js +56 -0
- package/lib/plus/webPosLogin/locales.d.ts +49 -0
- package/lib/plus/webPosLogin/locales.js +77 -0
- package/lib/plus/webPosLogin/service.d.ts +44 -0
- package/lib/plus/webPosLogin/service.js +94 -0
- package/lib/plus/webPosLogin/types.d.ts +286 -0
- package/lib/plus/webPosLogin/types.js +17 -0
- package/lib/pro/Login2.0/Login2.js +19 -9
- package/lib/pro/Login2.0/index.less +0 -12
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +34 -39
- package/lowcode/web-pos-login/meta.ts +71 -0
- package/package.json +4 -4
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/locales.d.ts +0 -363
- 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/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/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/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/admin/index.d.ts +0 -26
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/forms/footer.d.ts +0 -6
- package/es/components/booking/forms/sendModal/index.d.ts +0 -27
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/es/components/booking/info/model.d.ts +0 -5
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -2
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -18
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -2
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/locales.d.ts +0 -921
- package/es/components/booking/model.d.ts +0 -112
- package/es/components/booking/notes/addNote/index.d.ts +0 -3
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/es/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -31
- package/es/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -10
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
- package/es/components/checkout/components/WalletPassModule/components/WalletModal/index.d.ts +0 -5
- package/es/components/checkout/components/WalletPassModule/components/WalletPassCardDisplay/index.d.ts +0 -5
- package/es/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.d.ts +0 -5
- package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
- package/es/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +0 -23
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/locales.d.ts +0 -513
- package/es/components/checkout/payment-modal-utils.d.ts +0 -30
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/checkout/types.d.ts +0 -130
- package/es/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/es/components/checkout/utils.d.ts +0 -3
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/es/components/eftposPay/const.d.ts +0 -190
- package/es/components/eftposPay/device.d.ts +0 -25
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -12
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/serve.d.ts +0 -16
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/log/index.d.ts +0 -110
- package/es/components/eftposPay/windcave/helper.d.ts +0 -23
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/index.d.ts +0 -24
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/Pagination/index.d.ts +0 -1
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/index.d.ts +0 -10
- package/es/components/list/locales.d.ts +0 -66
- package/es/components/list/types.d.ts +0 -177
- package/es/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/es/components/pay/toB/locales.d.ts +0 -54
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/es/components/pay/toC/locales.d.ts +0 -301
- package/es/components/pay/toC/model.d.ts +0 -32
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/ruleSetting/server.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -3
- package/es/components/shoppingCart/locales.d.ts +0 -36
- package/es/components/shoppingCart/type.d.ts +0 -49
- package/es/components/subTotal/index.d.ts +0 -22
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/es/components/systemSettings/registry/components/SectionList.d.ts +0 -4
- package/es/components/systemSettings/registry/components/index.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/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/es/components/ticketBooking/locales.d.ts +0 -198
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/wallet/Detail/locales.d.ts +0 -153
- package/es/components/wallet/Detail/model.d.ts +0 -1
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DiscountCard/model.d.ts +0 -1
- package/es/components/wallet/PointCard/model.d.ts +0 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -1
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/index.d.ts +0 -12
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -1
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/es/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/es/components/wallet/components/WalletCard.d.ts +0 -11
- package/es/components/wallet/components/index.d.ts +0 -3
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -29
- package/es/components/wallet/serve.d.ts +0 -150
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/locales.d.ts +0 -18
- package/es/components/walletList/serve.d.ts +0 -24
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/components/workSpaceList/components/EditableString/index.d.ts +0 -21
- package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
- package/es/hooks/useModal.d.ts +0 -35
- package/es/hooks/useModal.example.d.ts +0 -12
- package/es/hooks/useModal.integration.example.d.ts +0 -15
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/clientCard/line/index.d.ts +0 -9
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clientCard/types.d.ts +0 -134
- package/es/plus/clientCard/utils.d.ts +0 -8
- 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/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/locales.d.ts +0 -105
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/types.d.ts +0 -61
- package/es/plus/contactInfo/components/Avatar/index.d.ts +0 -10
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/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/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- 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/relationProduct/index.d.ts +0 -6
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/es/plus/walletEditor/index.d.ts +0 -3
- package/es/plus/walletEditor/locales.d.ts +0 -126
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/components/footerButton/index.d.ts +0 -14
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -8
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +0 -9
- package/es/plus/walletPassGallery/locales.d.ts +0 -270
- package/es/plus/walletPassGallery/serve.d.ts +0 -221
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +0 -31
- package/es/pro/Login2.0/components/LegalTerms.d.ts +0 -8
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +0 -27
- package/es/pro/Login2.0/components/OAuthButtonGroup.d.ts +0 -22
- package/es/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/es/pro/Login2.0/hooks/index.d.ts +0 -2
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/Header.d.ts +0 -11
- package/es/pro/Login2.0/shared/OAuthButtons.d.ts +0 -11
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +0 -7
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +0 -9
- package/es/pro/Login2.0/steps/SetPassword.d.ts +0 -19
- 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/steps/index.d.ts +0 -19
- package/es/pro/Login2.0/types.d.ts +0 -167
- package/es/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/es/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/types.d.ts +0 -32
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellNumberSelector/index.d.ts +0 -29
- package/es/pro/pisellPaymentList/example.d.ts +0 -19
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellPriceRadio/index.d.ts +0 -26
- package/es/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +0 -13
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +0 -27
- package/es/pro/priceKeyboard/index.d.ts +0 -3
- package/es/pro/priceKeyboard/utils.d.ts +0 -31
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/types.d.ts +0 -347
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/locales.d.ts +0 -363
- 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/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/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/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/admin/index.d.ts +0 -26
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/forms/footer.d.ts +0 -6
- package/lib/components/booking/forms/sendModal/index.d.ts +0 -27
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/lib/components/booking/info/model.d.ts +0 -5
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -2
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -18
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -2
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/locales.d.ts +0 -921
- package/lib/components/booking/model.d.ts +0 -112
- package/lib/components/booking/notes/addNote/index.d.ts +0 -3
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/lib/components/checkout/components/PaymentOptionsModule/PaymentMethodItem.d.ts +0 -31
- package/lib/components/checkout/components/PaymentResultToast/index.d.ts +0 -9
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -10
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +0 -7
- package/lib/components/checkout/components/WalletPassModule/components/WalletModal/index.d.ts +0 -5
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassCardDisplay/index.d.ts +0 -5
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassHeader/index.d.ts +0 -5
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +0 -5
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +0 -134
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +0 -23
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/locales.d.ts +0 -513
- package/lib/components/checkout/payment-modal-utils.d.ts +0 -30
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/checkout/types.d.ts +0 -130
- package/lib/components/checkout/utils/PaymentResultToastUtils.d.ts +0 -32
- package/lib/components/checkout/utils.d.ts +0 -3
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -9
- package/lib/components/eftposPay/const.d.ts +0 -190
- package/lib/components/eftposPay/device.d.ts +0 -25
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -12
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/serve.d.ts +0 -16
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
- package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/index.d.ts +0 -24
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/Pagination/index.d.ts +0 -1
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/index.d.ts +0 -10
- package/lib/components/list/locales.d.ts +0 -66
- package/lib/components/list/types.d.ts +0 -177
- package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/lib/components/pay/toB/locales.d.ts +0 -54
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +0 -15
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/lib/components/pay/toC/locales.d.ts +0 -301
- package/lib/components/pay/toC/model.d.ts +0 -32
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/ruleSetting/server.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -3
- package/lib/components/shoppingCart/locales.d.ts +0 -36
- package/lib/components/shoppingCart/type.d.ts +0 -49
- package/lib/components/subTotal/index.d.ts +0 -22
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/index.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/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +0 -6
- package/lib/components/ticketBooking/locales.d.ts +0 -198
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/wallet/Detail/locales.d.ts +0 -153
- package/lib/components/wallet/Detail/model.d.ts +0 -1
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -1
- package/lib/components/wallet/PointCard/model.d.ts +0 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -1
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/index.d.ts +0 -12
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -1
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/lib/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/lib/components/wallet/components/WalletCard.d.ts +0 -11
- package/lib/components/wallet/components/index.d.ts +0 -3
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -33
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -29
- package/lib/components/wallet/serve.d.ts +0 -150
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/locales.d.ts +0 -18
- package/lib/components/walletList/serve.d.ts +0 -24
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/components/workSpaceList/components/EditableString/index.d.ts +0 -21
- package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
- package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
- package/lib/hooks/useModal.d.ts +0 -35
- package/lib/hooks/useModal.example.d.ts +0 -12
- package/lib/hooks/useModal.integration.example.d.ts +0 -15
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/clientCard/line/index.d.ts +0 -9
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clientCard/types.d.ts +0 -134
- package/lib/plus/clientCard/utils.d.ts +0 -8
- 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/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/locales.d.ts +0 -105
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/types.d.ts +0 -61
- package/lib/plus/contactInfo/components/Avatar/index.d.ts +0 -10
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/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/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -20
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- 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/relationProduct/index.d.ts +0 -6
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/lib/plus/walletEditor/index.d.ts +0 -3
- package/lib/plus/walletEditor/locales.d.ts +0 -126
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/components/footerButton/index.d.ts +0 -14
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -8
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +0 -9
- package/lib/plus/walletPassGallery/locales.d.ts +0 -270
- package/lib/plus/walletPassGallery/serve.d.ts +0 -221
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +0 -31
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +0 -8
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +0 -27
- package/lib/pro/Login2.0/components/OAuthButtonGroup.d.ts +0 -22
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +0 -53
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/pro/Login2.0/hooks/index.d.ts +0 -2
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +0 -39
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +0 -9
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/Header.d.ts +0 -11
- package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +0 -11
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +0 -24
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -12
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +0 -7
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +0 -9
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +0 -19
- 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/steps/index.d.ts +0 -19
- package/lib/pro/Login2.0/types.d.ts +0 -167
- package/lib/pro/NumberKeyboardPopover/index.d.ts +0 -36
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/comprehensiveSearch/components/deviceIconGroup/index.d.ts +0 -11
- package/lib/pro/comprehensiveSearch/components/index.d.ts +0 -2
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -32
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellNumberSelector/index.d.ts +0 -29
- package/lib/pro/pisellPaymentList/example.d.ts +0 -19
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
- package/lib/pro/pisellSimplePriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +0 -5
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +0 -2
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +0 -13
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +0 -27
- package/lib/pro/priceKeyboard/index.d.ts +0 -3
- package/lib/pro/priceKeyboard/utils.d.ts +0 -31
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/types.d.ts +0 -347
|
@@ -63,15 +63,18 @@ var productListSetting = {
|
|
|
63
63
|
isStock: 0
|
|
64
64
|
};
|
|
65
65
|
var AddSerivce = (props) => {
|
|
66
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
66
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
67
67
|
const {
|
|
68
68
|
onEdit,
|
|
69
69
|
state,
|
|
70
70
|
dispatch,
|
|
71
71
|
renderMode = "current",
|
|
72
|
+
onPrerenderComplete,
|
|
73
|
+
onGetProductsReady,
|
|
72
74
|
productDisplayConfig
|
|
73
75
|
} = props;
|
|
74
76
|
const context = (0, import_useEngineContext.default)();
|
|
77
|
+
const platform = (0, import_useEngineContext.usePlatform)();
|
|
75
78
|
const notAvailableRef = (0, import_react.useRef)(null);
|
|
76
79
|
import_utils2.request.setRequest(context.appHelper.utils.request);
|
|
77
80
|
const isActive = (0, import_IsActiveContext.useIsActive)();
|
|
@@ -91,7 +94,29 @@ var AddSerivce = (props) => {
|
|
|
91
94
|
const [firstLoading, setFirstLoading] = (0, import_react.useState)(true);
|
|
92
95
|
const stateRef = (0, import_react.useRef)(state);
|
|
93
96
|
stateRef.current = state;
|
|
94
|
-
const
|
|
97
|
+
const prerenderCompletedRef = (0, import_react.useRef)(false);
|
|
98
|
+
const latestServiceValueRef = (0, import_react.useRef)(((_j = state == null ? void 0 : state.service) == null ? void 0 : _j.value) || []);
|
|
99
|
+
const lastOperationTimeRef = (0, import_react.useRef)(0);
|
|
100
|
+
const isInFastClickMode = () => {
|
|
101
|
+
const now = Date.now();
|
|
102
|
+
return now - lastOperationTimeRef.current < 2e3;
|
|
103
|
+
};
|
|
104
|
+
const getCurrentServiceValue = () => {
|
|
105
|
+
var _a2, _b2, _c2;
|
|
106
|
+
if (isInFastClickMode()) {
|
|
107
|
+
return latestServiceValueRef.current || ((_b2 = (_a2 = stateRef.current) == null ? void 0 : _a2.service) == null ? void 0 : _b2.value) || [];
|
|
108
|
+
} else {
|
|
109
|
+
const stateValue = ((_c2 = state == null ? void 0 : state.service) == null ? void 0 : _c2.value) || [];
|
|
110
|
+
latestServiceValueRef.current = null;
|
|
111
|
+
return stateValue;
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
const { getProducts, products, loading, getScheduleTimePoints } = (0, import_pisellos.useProducts)(notAvailableRef);
|
|
115
|
+
(0, import_react.useEffect)(() => {
|
|
116
|
+
if (onGetProductsReady && getProducts) {
|
|
117
|
+
onGetProductsReady(getProducts);
|
|
118
|
+
}
|
|
119
|
+
}, []);
|
|
95
120
|
(0, import_react.useEffect)(() => {
|
|
96
121
|
const timer = setTimeout(() => {
|
|
97
122
|
setFirstLoading(false);
|
|
@@ -108,6 +133,12 @@ var AddSerivce = (props) => {
|
|
|
108
133
|
debounceTimersRef.current = {};
|
|
109
134
|
};
|
|
110
135
|
}, []);
|
|
136
|
+
(0, import_react.useEffect)(() => {
|
|
137
|
+
if (!loading && !prerenderCompletedRef.current) {
|
|
138
|
+
onPrerenderComplete == null ? void 0 : onPrerenderComplete();
|
|
139
|
+
prerenderCompletedRef.current = true;
|
|
140
|
+
}
|
|
141
|
+
}, [loading]);
|
|
111
142
|
(0, import_react.useEffect)(() => {
|
|
112
143
|
const handler = (event) => {
|
|
113
144
|
var _a2;
|
|
@@ -127,30 +158,37 @@ var AddSerivce = (props) => {
|
|
|
127
158
|
const menuList = (0, import_react.useMemo)(() => {
|
|
128
159
|
var _a2, _b2, _c2;
|
|
129
160
|
return ((_c2 = (_b2 = (_a2 = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _a2.config) == null ? void 0 : _b2.menu_list_tab) == null ? void 0 : _c2.menu_list) || [];
|
|
130
|
-
}, [(
|
|
161
|
+
}, [(_k = state == null ? void 0 : state.bookingConfig) == null ? void 0 : _k.config]);
|
|
131
162
|
const customerId = (0, import_react.useMemo)(() => {
|
|
132
163
|
var _a2, _b2;
|
|
133
164
|
return ((_b2 = (_a2 = state.client) == null ? void 0 : _a2.value) == null ? void 0 : _b2.id) || void 0;
|
|
134
|
-
}, [(
|
|
165
|
+
}, [(_m = (_l = state.client) == null ? void 0 : _l.value) == null ? void 0 : _m.id]);
|
|
135
166
|
const scanAddService = (0, import_ahooks.useMemoizedFn)((list, code) => {
|
|
136
|
-
let newService = [...
|
|
167
|
+
let newService = [...stateRef.current.service.value || []];
|
|
137
168
|
list.forEach((item) => {
|
|
138
169
|
if ((0, import_utils7.isBundle)(item) || (0, import_utils7.isOption)(item)) {
|
|
139
170
|
handleSelectProduct(item);
|
|
140
171
|
return;
|
|
141
172
|
}
|
|
142
173
|
const values = (0, import_utils7.genValues)(item, code);
|
|
143
|
-
let cacheItem = (0, import_utils7.createCacheItem)(item, values,
|
|
174
|
+
let cacheItem = (0, import_utils7.createCacheItem)(item, values, stateRef.current);
|
|
144
175
|
cacheItem._serviceKey = (0, import_utils6.genServiceKey)(cacheItem);
|
|
145
176
|
cacheItem.autoClose = false;
|
|
146
177
|
let { list: _list, quantity } = (0, import_utils6.addService)(
|
|
147
178
|
[...newService],
|
|
148
179
|
cacheItem,
|
|
149
|
-
|
|
180
|
+
stateRef.current
|
|
150
181
|
);
|
|
151
182
|
handleAddToast(cacheItem.title, quantity);
|
|
152
183
|
newService = _list;
|
|
153
184
|
});
|
|
185
|
+
stateRef.current = {
|
|
186
|
+
...stateRef.current,
|
|
187
|
+
service: {
|
|
188
|
+
...stateRef.current.service,
|
|
189
|
+
value: newService
|
|
190
|
+
}
|
|
191
|
+
};
|
|
154
192
|
dispatch({
|
|
155
193
|
type: "setService",
|
|
156
194
|
payload: {
|
|
@@ -182,6 +220,7 @@ var AddSerivce = (props) => {
|
|
|
182
220
|
delete clickCountRef.current[productId];
|
|
183
221
|
delete debounceTimersRef.current[productId];
|
|
184
222
|
originalCallback(finalCacheValues, "", item, true);
|
|
223
|
+
lastOperationTimeRef.current = Date.now();
|
|
185
224
|
}
|
|
186
225
|
);
|
|
187
226
|
const debouncedExecuteCacheValues = (0, import_ahooks.useMemoizedFn)(
|
|
@@ -189,225 +228,295 @@ var AddSerivce = (props) => {
|
|
|
189
228
|
if (debounceTimersRef.current[productId]) {
|
|
190
229
|
clearTimeout(debounceTimersRef.current[productId]);
|
|
191
230
|
}
|
|
231
|
+
const debounceTime = Number(localStorage.getItem("pisell_service_add_debounce_time")) || 0;
|
|
192
232
|
debounceTimersRef.current[productId] = setTimeout(() => {
|
|
193
233
|
executeCacheValues(productId, cacheValues, item, callback);
|
|
194
|
-
},
|
|
234
|
+
}, debounceTime);
|
|
195
235
|
}
|
|
196
236
|
);
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
});
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
237
|
+
const checkResourceAvailability = (0, import_ahooks.useMemoizedFn)((item) => {
|
|
238
|
+
var _a2;
|
|
239
|
+
if (!(0, import_utils4.isNormalProductByDurationSchedule)(item)) {
|
|
240
|
+
if (!Array.isArray((_a2 = state.service) == null ? void 0 : _a2.resourcesOrigin) || !state.service.resourcesOrigin.length) {
|
|
241
|
+
dispatch({
|
|
242
|
+
type: "setService",
|
|
243
|
+
payload: {
|
|
244
|
+
...stateRef.current.service,
|
|
245
|
+
reloadResourceModal: true
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
return false;
|
|
212
249
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
250
|
+
}
|
|
251
|
+
return true;
|
|
252
|
+
});
|
|
253
|
+
const createCacheItemFromParams = (0, import_ahooks.useMemoizedFn)((item, params, detail) => {
|
|
254
|
+
var _a2;
|
|
255
|
+
const _detail = detail || item;
|
|
256
|
+
const other = JSON.parse(JSON.stringify(params));
|
|
257
|
+
other.session = params.session;
|
|
258
|
+
let cacheItem = {
|
|
259
|
+
..._detail,
|
|
260
|
+
product_id: item.id,
|
|
261
|
+
_id: (0, import_utils.getUniqueId)(),
|
|
262
|
+
_key: params.key,
|
|
263
|
+
_extend: {
|
|
264
|
+
start_date: state.date.value,
|
|
265
|
+
quantity: (params == null ? void 0 : params.quantity) || 1,
|
|
266
|
+
price: _detail.price,
|
|
267
|
+
product_name: item.title,
|
|
268
|
+
other
|
|
269
|
+
},
|
|
270
|
+
new: 1
|
|
271
|
+
};
|
|
272
|
+
let _total = (0, import_utils2.getProductTotalPrice)(cacheItem);
|
|
273
|
+
cacheItem._extend.total = _total;
|
|
274
|
+
cacheItem._extend.origin_total = _total;
|
|
275
|
+
const _isEdit = !!state.service.cacheItem;
|
|
276
|
+
if (_isEdit) {
|
|
277
|
+
cacheItem._id = (_a2 = state.service.cacheItem) == null ? void 0 : _a2._id;
|
|
278
|
+
cacheItem.new = 0;
|
|
279
|
+
}
|
|
280
|
+
if (renderMode === "current") {
|
|
281
|
+
cacheItem.currentDefaultTime = state.date.value.format("HH:mm");
|
|
282
|
+
}
|
|
283
|
+
const isNormalProduct = (0, import_utils4.isNormalProductByDurationSchedule)(item);
|
|
284
|
+
cacheItem = isNormalProduct ? { ...cacheItem, autoClose: true } : (0, import_utils3.getProductExtend)({
|
|
285
|
+
cacheItem,
|
|
286
|
+
state,
|
|
287
|
+
isDisabledTime: true
|
|
288
|
+
});
|
|
289
|
+
if (state.renderType === "eventBooking") {
|
|
290
|
+
cacheItem.autoClose = false;
|
|
291
|
+
}
|
|
292
|
+
return cacheItem;
|
|
293
|
+
});
|
|
294
|
+
const getProductKey = (0, import_ahooks.useMemoizedFn)((item, cacheItem) => {
|
|
295
|
+
return cacheItem._serviceKey || `${item.id}_${cacheItem._key}`;
|
|
296
|
+
});
|
|
297
|
+
const getServiceQuantity = (0, import_ahooks.useMemoizedFn)((cacheItem) => {
|
|
298
|
+
var _a2, _b2;
|
|
299
|
+
const existingService = (_a2 = stateRef.current.service.value) == null ? void 0 : _a2.find(
|
|
300
|
+
(val) => (0, import_utils6.isSameProduct)(val, cacheItem)
|
|
301
|
+
);
|
|
302
|
+
return ((_b2 = existingService == null ? void 0 : existingService._extend) == null ? void 0 : _b2.quantity) || 0;
|
|
303
|
+
});
|
|
304
|
+
const processAutoCloseService = (0, import_ahooks.useMemoizedFn)((cacheItem, item, detail, notShowToast) => {
|
|
305
|
+
console.time("processAutoCloseService2");
|
|
306
|
+
cacheItem.autoClose = false;
|
|
307
|
+
cacheItem._serviceKey = (0, import_utils6.genServiceKey)(cacheItem);
|
|
308
|
+
const productKey = getProductKey(item, cacheItem);
|
|
309
|
+
if (pendingCacheValuesRef.current[productKey]) {
|
|
310
|
+
clickCountRef.current[productKey] = (clickCountRef.current[productKey] || 1) + 1;
|
|
311
|
+
} else {
|
|
312
|
+
pendingCacheValuesRef.current[productKey] = { cacheItem, item, detail, notShowToast };
|
|
313
|
+
clickCountRef.current[productKey] = 1;
|
|
314
|
+
}
|
|
315
|
+
if (!notShowToast) {
|
|
316
|
+
const originalQuantity = getServiceQuantity(cacheItem);
|
|
317
|
+
const currentClickCount = clickCountRef.current[productKey] || 1;
|
|
318
|
+
const totalQuantity = originalQuantity + currentClickCount;
|
|
319
|
+
handleAddToast(cacheItem.title, totalQuantity);
|
|
320
|
+
}
|
|
321
|
+
if (debounceTimersRef.current[productKey]) {
|
|
322
|
+
clearTimeout(debounceTimersRef.current[productKey]);
|
|
323
|
+
}
|
|
324
|
+
const debounceTime = Number(localStorage.getItem("pisell_service_add_debounce_time")) || 0;
|
|
325
|
+
debounceTimersRef.current[productKey] = setTimeout(() => {
|
|
326
|
+
executeServiceDispatch(productKey);
|
|
327
|
+
}, debounceTime);
|
|
328
|
+
console.timeEnd("processAutoCloseService2");
|
|
329
|
+
});
|
|
330
|
+
const executeServiceDispatch = (0, import_ahooks.useMemoizedFn)((productKey) => {
|
|
331
|
+
console.time("executeServiceDispatch");
|
|
332
|
+
console.time("executeServiceDispatch1");
|
|
333
|
+
const pendingData = pendingCacheValuesRef.current[productKey];
|
|
334
|
+
if (!pendingData) return;
|
|
335
|
+
const { cacheItem, item, detail } = pendingData;
|
|
336
|
+
const clickCount = clickCountRef.current[productKey] || 1;
|
|
337
|
+
const finalCacheItem = {
|
|
338
|
+
...cacheItem,
|
|
339
|
+
_extend: {
|
|
340
|
+
...cacheItem._extend,
|
|
341
|
+
quantity: clickCount
|
|
237
342
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
createBooking({ booking: data });
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
const _detail = detail || item;
|
|
256
|
-
const other = JSON.parse(JSON.stringify(e));
|
|
257
|
-
other.session = e.session;
|
|
258
|
-
let cacheItem = {
|
|
259
|
-
..._detail,
|
|
260
|
-
product_id: item.id,
|
|
261
|
-
_id: (0, import_utils.getUniqueId)(),
|
|
262
|
-
_key: e.key,
|
|
263
|
-
_extend: {
|
|
264
|
-
start_date: state.date.value,
|
|
265
|
-
quantity: (e == null ? void 0 : e.quantity) || 1,
|
|
266
|
-
product_name: item.title,
|
|
267
|
-
other
|
|
268
|
-
},
|
|
269
|
-
new: 1
|
|
270
|
-
};
|
|
271
|
-
cacheItem._extend.price = (0, import_utils2.getMainPrice)(cacheItem, _detail.price);
|
|
272
|
-
let _total = (0, import_utils2.getProductTotalPrice)(cacheItem);
|
|
273
|
-
cacheItem._extend.total = _total;
|
|
274
|
-
cacheItem._extend.origin_total = _total;
|
|
275
|
-
const _isEdit = !!state.service.cacheItem;
|
|
276
|
-
if (_isEdit) {
|
|
277
|
-
cacheItem._id = (_a3 = state.service.cacheItem) == null ? void 0 : _a3._id;
|
|
278
|
-
cacheItem.new = 0;
|
|
279
|
-
}
|
|
280
|
-
if (renderMode === "current") {
|
|
281
|
-
cacheItem.currentDefaultTime = state.date.value.format("HH:mm");
|
|
343
|
+
};
|
|
344
|
+
console.timeEnd("executeServiceDispatch1");
|
|
345
|
+
console.time("executeServiceDispatch addService");
|
|
346
|
+
let { list: _list, quantity } = (0, import_utils6.addService)(
|
|
347
|
+
[...stateRef.current.service.value || []],
|
|
348
|
+
finalCacheItem,
|
|
349
|
+
stateRef.current
|
|
350
|
+
);
|
|
351
|
+
console.timeEnd("executeServiceDispatch addService");
|
|
352
|
+
console.time("executeServiceDispatch2");
|
|
353
|
+
window.dispatchEvent(
|
|
354
|
+
new CustomEvent("onAddNewService", {
|
|
355
|
+
detail: {
|
|
356
|
+
cacheItem: finalCacheItem
|
|
282
357
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
358
|
+
})
|
|
359
|
+
);
|
|
360
|
+
console.timeEnd("executeServiceDispatch2");
|
|
361
|
+
console.time("executeServiceDispatch3");
|
|
362
|
+
logServiceForSpecificShop(item, detail, _list);
|
|
363
|
+
stateRef.current = {
|
|
364
|
+
...stateRef.current,
|
|
365
|
+
service: {
|
|
366
|
+
...stateRef.current.service,
|
|
367
|
+
value: _list
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
dispatch({
|
|
371
|
+
type: "setService",
|
|
372
|
+
payload: {
|
|
373
|
+
addModal: false,
|
|
374
|
+
value: _list,
|
|
375
|
+
edit: true,
|
|
376
|
+
changeService: false
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
console.timeEnd("executeServiceDispatch3");
|
|
380
|
+
console.timeEnd("executeServiceDispatch");
|
|
381
|
+
delete pendingCacheValuesRef.current[productKey];
|
|
382
|
+
delete clickCountRef.current[productKey];
|
|
383
|
+
delete debounceTimersRef.current[productKey];
|
|
384
|
+
});
|
|
385
|
+
const processManualEditService = (0, import_ahooks.useMemoizedFn)((cacheItem) => {
|
|
386
|
+
var _a2;
|
|
387
|
+
(_a2 = window.openBookingEditModal) == null ? void 0 : _a2.call(window);
|
|
388
|
+
dispatch({
|
|
389
|
+
type: "setService",
|
|
390
|
+
payload: {
|
|
391
|
+
editModal: true,
|
|
392
|
+
cacheItem,
|
|
393
|
+
addModal: !cacheItem.autoClose,
|
|
394
|
+
changeService: false
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
onEdit == null ? void 0 : onEdit(cacheItem);
|
|
398
|
+
});
|
|
399
|
+
const logServiceForSpecificShop = (0, import_ahooks.useMemoizedFn)((item, detail, _list) => {
|
|
400
|
+
var _a2, _b2, _c2, _d2, _e2;
|
|
401
|
+
try {
|
|
402
|
+
if (((_e2 = (_d2 = (_c2 = (_b2 = (_a2 = context.appHelper.utils.store) == null ? void 0 : _a2.getState) == null ? void 0 : _b2.call(_a2)) == null ? void 0 : _c2.global) == null ? void 0 : _d2.globalConfig) == null ? void 0 : _e2.id) === 2155) {
|
|
403
|
+
const val = _list == null ? void 0 : _list.map((s) => {
|
|
404
|
+
return {
|
|
405
|
+
product_id: s == null ? void 0 : s.product_id,
|
|
406
|
+
detailId: s == null ? void 0 : s.id,
|
|
407
|
+
detailProductId: s == null ? void 0 : s.product_id,
|
|
408
|
+
product_name: s == null ? void 0 : s.title,
|
|
409
|
+
price: s == null ? void 0 : s.price,
|
|
410
|
+
_id: s == null ? void 0 : s._id,
|
|
411
|
+
_key: s == null ? void 0 : s._key,
|
|
412
|
+
_serviceKey: s == null ? void 0 : s._serviceKey
|
|
413
|
+
};
|
|
287
414
|
});
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
new CustomEvent("onAddNewService", {
|
|
304
|
-
detail: {
|
|
305
|
-
cacheItem
|
|
306
|
-
}
|
|
307
|
-
})
|
|
308
|
-
);
|
|
309
|
-
try {
|
|
310
|
-
if (((_f2 = (_e2 = (_d3 = (_c3 = (_b3 = context.appHelper.utils.store) == null ? void 0 : _b3.getState) == null ? void 0 : _c3.call(_b3)) == null ? void 0 : _d3.global) == null ? void 0 : _e2.globalConfig) == null ? void 0 : _f2.id) === 2155) {
|
|
311
|
-
const val = _list == null ? void 0 : _list.map((s) => {
|
|
312
|
-
return {
|
|
313
|
-
product_id: s == null ? void 0 : s.product_id,
|
|
314
|
-
detailId: s == null ? void 0 : s.id,
|
|
315
|
-
detailProductId: s == null ? void 0 : s.product_id,
|
|
316
|
-
product_name: s == null ? void 0 : s.title,
|
|
317
|
-
price: s == null ? void 0 : s.price,
|
|
318
|
-
_id: s == null ? void 0 : s._id,
|
|
319
|
-
_key: s == null ? void 0 : s._key,
|
|
320
|
-
_serviceKey: s == null ? void 0 : s._serviceKey
|
|
321
|
-
};
|
|
322
|
-
});
|
|
323
|
-
const sendData = {
|
|
324
|
-
product_id: item == null ? void 0 : item.id,
|
|
325
|
-
detailId: _detail == null ? void 0 : _detail.id,
|
|
326
|
-
detailProductId: _detail == null ? void 0 : _detail.product_id,
|
|
327
|
-
product_name: item == null ? void 0 : item.title,
|
|
328
|
-
price: _detail == null ? void 0 : _detail.price,
|
|
329
|
-
serviceVal: val
|
|
330
|
-
};
|
|
331
|
-
(0, import_utils.sendWarningLog)({
|
|
332
|
-
title: "addService",
|
|
333
|
-
content: [
|
|
334
|
-
{ key: "添加数据", value: JSON.stringify(sendData) },
|
|
335
|
-
{
|
|
336
|
-
key: "日期",
|
|
337
|
-
value: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm:ss")
|
|
338
|
-
}
|
|
339
|
-
]
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
} catch (error) {
|
|
343
|
-
}
|
|
344
|
-
dispatch({
|
|
345
|
-
type: "setService",
|
|
346
|
-
payload: {
|
|
347
|
-
addModal: false,
|
|
348
|
-
value: _list,
|
|
349
|
-
edit: true,
|
|
350
|
-
changeService: false
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
} else {
|
|
354
|
-
(_g2 = window.openBookingEditModal) == null ? void 0 : _g2.call(window);
|
|
355
|
-
dispatch({
|
|
356
|
-
type: "setService",
|
|
357
|
-
payload: {
|
|
358
|
-
editModal: true,
|
|
359
|
-
cacheItem,
|
|
360
|
-
addModal: !cacheItem.autoClose,
|
|
361
|
-
changeService: false
|
|
415
|
+
const sendData = {
|
|
416
|
+
product_id: item == null ? void 0 : item.id,
|
|
417
|
+
detailId: detail == null ? void 0 : detail.id,
|
|
418
|
+
detailProductId: detail == null ? void 0 : detail.product_id,
|
|
419
|
+
product_name: item == null ? void 0 : item.title,
|
|
420
|
+
price: detail == null ? void 0 : detail.price,
|
|
421
|
+
serviceVal: val
|
|
422
|
+
};
|
|
423
|
+
(0, import_utils.sendWarningLog)({
|
|
424
|
+
title: "addService",
|
|
425
|
+
content: [
|
|
426
|
+
{ key: "添加数据", value: JSON.stringify(sendData) },
|
|
427
|
+
{
|
|
428
|
+
key: "日期",
|
|
429
|
+
value: (0, import_dayjs.default)().format("YYYY-MM-DD HH:mm:ss")
|
|
362
430
|
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
431
|
+
]
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
} catch (error) {
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
const handleBookingCreation = (0, import_ahooks.useMemoizedFn)(async (item, params, detail) => {
|
|
438
|
+
const data = await createBookingData({
|
|
439
|
+
product: { ...detail || item, _params: params }
|
|
440
|
+
});
|
|
441
|
+
createBooking({ booking: data });
|
|
442
|
+
});
|
|
443
|
+
const handleBooking4Service = (0, import_ahooks.useMemoizedFn)((item, params, detail, notShowToast) => {
|
|
444
|
+
const cacheItem = createCacheItemFromParams(item, params, detail);
|
|
445
|
+
if (cacheItem.autoClose) {
|
|
446
|
+
processAutoCloseService(cacheItem, item, detail, notShowToast);
|
|
447
|
+
} else {
|
|
448
|
+
processManualEditService(cacheItem);
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
const handleDirectAddService = (0, import_ahooks.useMemoizedFn)(async (item) => {
|
|
452
|
+
console.log(item, "handleSelectProduct33", "_list_list");
|
|
453
|
+
if (!isBooking4) {
|
|
454
|
+
await handleBookingCreation(item, item.cartDetailValue);
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
console.time("createCacheItemFromParams");
|
|
458
|
+
const cacheItem = createCacheItemFromParams(item, item.cartDetailValue);
|
|
459
|
+
console.timeEnd("createCacheItemFromParams");
|
|
460
|
+
if (cacheItem.autoClose) {
|
|
461
|
+
console.time("processAutoCloseService");
|
|
462
|
+
processAutoCloseService(cacheItem, item, item, false);
|
|
463
|
+
console.timeEnd("processAutoCloseService");
|
|
464
|
+
} else {
|
|
465
|
+
processManualEditService(cacheItem);
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
const createProductModalCallback = (0, import_ahooks.useMemoizedFn)((item) => {
|
|
469
|
+
return async (e, extension_type, detail, notShowToast) => {
|
|
470
|
+
setCurrentProduct(null);
|
|
471
|
+
if (!isBooking4) {
|
|
472
|
+
await handleBookingCreation(item, e, detail);
|
|
387
473
|
return;
|
|
388
474
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
475
|
+
handleBooking4Service(item, e, detail, notShowToast);
|
|
476
|
+
};
|
|
477
|
+
});
|
|
478
|
+
const openProductModal = (0, import_ahooks.useMemoizedFn)((item, type = "select") => {
|
|
479
|
+
const isSession = (0, import_utils2.isSessionProduct)(item);
|
|
480
|
+
const isOnlySession = (0, import_utils2.getIsOnlySession)(item);
|
|
481
|
+
const isEject = (0, import_utils2.getIsEject)(item, type);
|
|
482
|
+
state.action({
|
|
483
|
+
type: "pisell1.handleOpenProductModal",
|
|
484
|
+
data: {
|
|
485
|
+
id: item.id,
|
|
486
|
+
date: state.date.value.format("YYYY-MM-DD"),
|
|
487
|
+
productDetail: item,
|
|
488
|
+
showConfig: {
|
|
489
|
+
option: true,
|
|
490
|
+
session: isSession,
|
|
491
|
+
variant: true,
|
|
492
|
+
package: true,
|
|
493
|
+
number: (0, import_utils6.getIsShowNumber)(item, state)
|
|
408
494
|
},
|
|
409
|
-
|
|
410
|
-
|
|
495
|
+
isOnlySession,
|
|
496
|
+
is_eject: isEject ? 1 : 0,
|
|
497
|
+
customer_id: customerId,
|
|
498
|
+
isOS: isSession
|
|
499
|
+
},
|
|
500
|
+
onCancel: () => {
|
|
501
|
+
setCurrentProduct(null);
|
|
502
|
+
},
|
|
503
|
+
callback: createProductModalCallback(item)
|
|
504
|
+
});
|
|
505
|
+
});
|
|
506
|
+
const handleSelectProduct = (0, import_ahooks.useMemoizedFn)(
|
|
507
|
+
async (item, type = "select") => {
|
|
508
|
+
console.time("handleSelectProduct2");
|
|
509
|
+
console.log(item, "handleSelectProduct");
|
|
510
|
+
console.time("checkResourceAvailability");
|
|
511
|
+
if (!checkResourceAvailability(item)) {
|
|
512
|
+
return;
|
|
513
|
+
}
|
|
514
|
+
console.timeEnd("checkResourceAvailability");
|
|
515
|
+
if (!item.isOpenDetailModal && item.cartDetailValue) {
|
|
516
|
+
await handleDirectAddService(item);
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
openProductModal(item, type);
|
|
411
520
|
}
|
|
412
521
|
);
|
|
413
522
|
const renderList = (0, import_react.useMemo)(() => {
|
|
@@ -428,7 +537,20 @@ var AddSerivce = (props) => {
|
|
|
428
537
|
return state.date.value.format("YYYY-MM-DD HH:mm:ss");
|
|
429
538
|
}, [state.date.value]);
|
|
430
539
|
(0, import_react.useEffect)(() => {
|
|
431
|
-
if (renderMode === "current" && state.bookingConfig) {
|
|
540
|
+
if (renderMode === "current" && state.bookingConfig && platform !== "shop") {
|
|
541
|
+
getProducts({
|
|
542
|
+
schedule_date: currentDate,
|
|
543
|
+
customer_id: customerId,
|
|
544
|
+
menu_list_ids: menuList,
|
|
545
|
+
schedule_datetime: currentDatetime
|
|
546
|
+
});
|
|
547
|
+
getScheduleTimePoints({
|
|
548
|
+
menu_list_ids: menuList
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
}, [renderMode, customerId, menuList]);
|
|
552
|
+
(0, import_react.useEffect)(() => {
|
|
553
|
+
if (renderMode === "current" && state.bookingConfig && platform === "shop") {
|
|
432
554
|
getProducts({
|
|
433
555
|
schedule_date: currentDate,
|
|
434
556
|
customer_id: customerId,
|
|
@@ -2,6 +2,8 @@ import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplay
|
|
|
2
2
|
interface AddServiceVariantProps {
|
|
3
3
|
globalState: any;
|
|
4
4
|
setGlobalState: any;
|
|
5
|
+
onPrerenderComplete?: () => void;
|
|
6
|
+
onGetProductsReady?: (getProducts: any) => void;
|
|
5
7
|
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
6
8
|
}
|
|
7
9
|
declare const AddServiceVariant: (props: AddServiceVariantProps) => JSX.Element;
|
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(addServiceVariant_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_addService = __toESM(require("./addService"));
|
|
37
37
|
var AddServiceVariant = (props) => {
|
|
38
|
-
const { globalState, setGlobalState, productDisplayConfig } = props;
|
|
38
|
+
const { globalState, setGlobalState, onPrerenderComplete, onGetProductsReady, productDisplayConfig } = props;
|
|
39
39
|
const stateRef = (0, import_react.useRef)(globalState);
|
|
40
40
|
stateRef.current = globalState;
|
|
41
41
|
const dispatch = ({ type, payload }) => {
|
|
@@ -50,6 +50,8 @@ var AddServiceVariant = (props) => {
|
|
|
50
50
|
{
|
|
51
51
|
state: globalState,
|
|
52
52
|
dispatch,
|
|
53
|
+
onPrerenderComplete,
|
|
54
|
+
onGetProductsReady,
|
|
53
55
|
productDisplayConfig
|
|
54
56
|
}
|
|
55
57
|
);
|