@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
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3
8
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
9
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
10
|
import { request } from "../../../utils";
|
|
@@ -10,7 +15,12 @@ export var getAddTimeProducts = /*#__PURE__*/function () {
|
|
|
10
15
|
while (1) switch (_context.prev = _context.next) {
|
|
11
16
|
case 0:
|
|
12
17
|
_context.next = 2;
|
|
13
|
-
return request.getRequest().post("/shop/product/query", params, config)
|
|
18
|
+
return request.getRequest().post("/shop/product/query", params, _objectSpread(_objectSpread({}, config), {}, {
|
|
19
|
+
cache: {
|
|
20
|
+
mode: "remote_local",
|
|
21
|
+
type: "indexDB"
|
|
22
|
+
}
|
|
23
|
+
}));
|
|
14
24
|
case 2:
|
|
15
25
|
_yield$request$getReq = _context.sent;
|
|
16
26
|
data = _yield$request$getReq.data;
|
|
@@ -8,7 +8,12 @@ export var getProductDetail = /*#__PURE__*/function () {
|
|
|
8
8
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9
9
|
while (1) switch (_context.prev = _context.next) {
|
|
10
10
|
case 0:
|
|
11
|
-
return _context.abrupt("return", request.getRequest().get("/shop/product/query/".concat(id), params
|
|
11
|
+
return _context.abrupt("return", request.getRequest().get("/shop/product/query/".concat(id), params, {
|
|
12
|
+
cache: {
|
|
13
|
+
mode: "remote_local",
|
|
14
|
+
type: "indexDB"
|
|
15
|
+
}
|
|
16
|
+
}));
|
|
12
17
|
case 1:
|
|
13
18
|
case "end":
|
|
14
19
|
return _context.stop();
|
|
@@ -35,7 +40,11 @@ export var postMultiDay = /*#__PURE__*/function () {
|
|
|
35
40
|
while (1) switch (_context2.prev = _context2.next) {
|
|
36
41
|
case 0:
|
|
37
42
|
return _context2.abrupt("return", request.getRequest().post("/shop/product/multi-day/detail/".concat(id), params, {
|
|
38
|
-
useCache: true
|
|
43
|
+
useCache: true,
|
|
44
|
+
cache: {
|
|
45
|
+
mode: "remote_local",
|
|
46
|
+
type: "indexDB"
|
|
47
|
+
}
|
|
39
48
|
}));
|
|
40
49
|
case 1:
|
|
41
50
|
case "end":
|
|
@@ -57,7 +66,12 @@ export var getProductPrice = /*#__PURE__*/function () {
|
|
|
57
66
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
58
67
|
while (1) switch (_context3.prev = _context3.next) {
|
|
59
68
|
case 0:
|
|
60
|
-
return _context3.abrupt("return", request.getRequest().post("/shop/product/query/price", params
|
|
69
|
+
return _context3.abrupt("return", request.getRequest().post("/shop/product/query/price", params, {
|
|
70
|
+
cache: {
|
|
71
|
+
mode: "remote_local",
|
|
72
|
+
type: "indexDB"
|
|
73
|
+
}
|
|
74
|
+
}));
|
|
61
75
|
case 1:
|
|
62
76
|
case "end":
|
|
63
77
|
return _context3.stop();
|
|
@@ -568,12 +568,17 @@ var getGeneralParams = function getGeneralParams(item, state, isParallelResource
|
|
|
568
568
|
var parallelResourceOtherParams = {};
|
|
569
569
|
var multiResources;
|
|
570
570
|
if (isParallelResource) {
|
|
571
|
-
var hasDataItem =
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
571
|
+
var hasDataItem = item;
|
|
572
|
+
|
|
573
|
+
// 预约商品 没有_data时 使用getProductExtend生成数据
|
|
574
|
+
if (!isNormalProductByDurationSchedule(hasDataItem) && !hasDataItem._data) {
|
|
575
|
+
hasDataItem = getProductExtend({
|
|
576
|
+
cacheItem: _objectSpread(_objectSpread({}, item), {}, {
|
|
577
|
+
new: 0
|
|
578
|
+
}),
|
|
579
|
+
state: state
|
|
580
|
+
});
|
|
581
|
+
}
|
|
577
582
|
var _ref9 = hasDataItem._data || {},
|
|
578
583
|
resourceMaps = _ref9.resourceMaps,
|
|
579
584
|
resources = _ref9.resources;
|
|
@@ -666,14 +671,21 @@ export var formatProducts = function formatProducts(lists, state) {
|
|
|
666
671
|
var bundle = formatBundle(item === null || item === void 0 || (_item$_extend12 = item._extend) === null || _item$_extend12 === void 0 || (_item$_extend12 = _item$_extend12.other) === null || _item$_extend12 === void 0 ? void 0 : _item$_extend12.bundle);
|
|
667
672
|
// 是否是普通商品
|
|
668
673
|
var isNormalProduct = !appointmentTypes.includes(item === null || item === void 0 ? void 0 : item.extension_type) || (state === null || state === void 0 ? void 0 : state.renderType) === 'eventBooking';
|
|
674
|
+
var isNormalProductByDurationScheduleVal = isNormalProductByDurationSchedule(item);
|
|
669
675
|
var resourceItem = {};
|
|
670
676
|
var errorMessage = '';
|
|
671
|
-
|
|
677
|
+
// 普通商品没有
|
|
678
|
+
if ((_isDayBookingProduct || isGeneral) && !isNormalProductByDurationScheduleVal) {
|
|
672
679
|
var _item$_extend13;
|
|
673
680
|
resourceItem = getResourceItem(item === null || item === void 0 || (_item$_extend13 = item._extend) === null || _item$_extend13 === void 0 ? void 0 : _item$_extend13.resource, state);
|
|
674
681
|
errorMessage = getErrorMessage(item, resourceItem, isDayBooking(state));
|
|
675
682
|
}
|
|
676
|
-
|
|
683
|
+
|
|
684
|
+
// 普通商品没有
|
|
685
|
+
var generalParams = {};
|
|
686
|
+
if (isGeneral && !isNormalProductByDurationScheduleVal) {
|
|
687
|
+
generalParams = getGeneralParams(item, state, !!isParallelResource);
|
|
688
|
+
}
|
|
677
689
|
return _objectSpread(_objectSpread({
|
|
678
690
|
id: item === null || item === void 0 ? void 0 : item.id,
|
|
679
691
|
_id: item === null || item === void 0 ? void 0 : item._id,
|
|
@@ -15,7 +15,12 @@ export var getResourceList = /*#__PURE__*/function () {
|
|
|
15
15
|
case 0:
|
|
16
16
|
bookingId = _args.length > 1 && _args[1] !== undefined ? _args[1] : [];
|
|
17
17
|
_context.next = 3;
|
|
18
|
-
return request.getRequest().get("/shop/schedule/resource/list", params
|
|
18
|
+
return request.getRequest().get("/shop/schedule/resource/list", params, {
|
|
19
|
+
cache: {
|
|
20
|
+
mode: "remote_local",
|
|
21
|
+
type: "indexDB"
|
|
22
|
+
}
|
|
23
|
+
});
|
|
19
24
|
case 3:
|
|
20
25
|
_yield$request$getReq = _context.sent;
|
|
21
26
|
data = _yield$request$getReq.data;
|
|
@@ -133,6 +133,8 @@ export var getTimeObj = function getTimeObj(_ref4) {
|
|
|
133
133
|
durationProps: durationProps
|
|
134
134
|
});
|
|
135
135
|
var obj = sliceDayIntoFiveMinutes((_state$bookingConfig2 = state.bookingConfig) === null || _state$bookingConfig2 === void 0 || (_state$bookingConfig2 = _state$bookingConfig2.config) === null || _state$bookingConfig2 === void 0 || (_state$bookingConfig2 = _state$bookingConfig2.basic) === null || _state$bookingConfig2 === void 0 ? void 0 : _state$bookingConfig2.service_time, locales.locale);
|
|
136
|
+
// 80ms -> 0ms
|
|
137
|
+
|
|
136
138
|
var timeSlices = _toConsumableArray(obj.timeSlices);
|
|
137
139
|
var durationSlicesBasedOnTime = _toConsumableArray(obj.durationSlicesBasedOnTime);
|
|
138
140
|
|
|
@@ -532,6 +534,7 @@ export var getProductExtend = function getProductExtend(_ref11) {
|
|
|
532
534
|
var cacheItem = _ref11.cacheItem,
|
|
533
535
|
state = _ref11.state,
|
|
534
536
|
isDisabledTime = _ref11.isDisabledTime;
|
|
537
|
+
console.time('console.time getProductExtend');
|
|
535
538
|
// 有endDate 说明是在编辑已经保存过的商品, 没有则是编辑还没保存过的商品
|
|
536
539
|
var isNew = cacheItem.new || !cacheItem._extend.endDate;
|
|
537
540
|
var _cacheItem = _objectSpread({}, cacheItem);
|
|
@@ -586,10 +589,6 @@ export var getProductExtend = function getProductExtend(_ref11) {
|
|
|
586
589
|
resources: _cacheItem._data.resources
|
|
587
590
|
});
|
|
588
591
|
|
|
589
|
-
// let currentResource = _cacheItem._resources.find(
|
|
590
|
-
// (d: any) => d.form_record_id == cacheItem._extend.resource
|
|
591
|
-
// );
|
|
592
|
-
|
|
593
592
|
// 再次计算, 灵活时长
|
|
594
593
|
if (getDuration(_cacheItem === null || _cacheItem === void 0 ? void 0 : _cacheItem.duration)) {
|
|
595
594
|
_cacheItem._data.timeObj = getTimeObj({
|
|
@@ -675,7 +674,8 @@ export var getProductExtend = function getProductExtend(_ref11) {
|
|
|
675
674
|
});
|
|
676
675
|
// }
|
|
677
676
|
}
|
|
678
|
-
console.
|
|
677
|
+
console.timeEnd('console.time getProductExtend');
|
|
678
|
+
// 100ms -> 45ms
|
|
679
679
|
return _cacheItem;
|
|
680
680
|
};
|
|
681
681
|
|
|
@@ -2,6 +2,7 @@ import React, { forwardRef, useContext, useImperativeHandle, useRef } from 'reac
|
|
|
2
2
|
import { useMemoizedFn } from 'ahooks';
|
|
3
3
|
import SkuDetailModal from "../../../../../pro/skuDetailModal";
|
|
4
4
|
import { Context } from "../../../info/model";
|
|
5
|
+
import { setProductPrice } from "../editService/utils";
|
|
5
6
|
var EditNormalService = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
6
7
|
var _useContext = useContext(Context),
|
|
7
8
|
state = _useContext.state,
|
|
@@ -33,6 +34,11 @@ var EditNormalService = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
33
34
|
var _ref2, _state$service2;
|
|
34
35
|
var newProducts = (_ref2 = (state === null || state === void 0 || (_state$service2 = state.service) === null || _state$service2 === void 0 ? void 0 : _state$service2.value) || []) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (item) {
|
|
35
36
|
if (item._id == data._id) {
|
|
37
|
+
var _data$_extend, _data$_extend2;
|
|
38
|
+
data = setProductPrice(data, {
|
|
39
|
+
newTotal: (_data$_extend = data._extend) === null || _data$_extend === void 0 ? void 0 : _data$_extend.total,
|
|
40
|
+
origin_total: (_data$_extend2 = data._extend) === null || _data$_extend2 === void 0 ? void 0 : _data$_extend2.origin_total
|
|
41
|
+
});
|
|
36
42
|
return data;
|
|
37
43
|
}
|
|
38
44
|
return item;
|
|
@@ -37,6 +37,7 @@ import { editSessionProduct } from "../../../info/utils";
|
|
|
37
37
|
import { deleteCacheParams, getProductTotalPrice, getServiceTimes, isSessionProduct } from "../../../utils";
|
|
38
38
|
import { getErrorList, getIsNoSpecAndPackage } from "../../utilsByBooking";
|
|
39
39
|
import { formatResources, getDurationProps, getFlexibleOption, getTimeObj, setDefaultCapacitys } from "../addService/utils";
|
|
40
|
+
import { setProductPrice } from "./utils";
|
|
40
41
|
import NoteModal from "../../../../../plus/noteModal";
|
|
41
42
|
import { DiscountKeyboard } from "../../../../../pro/priceKeyboard";
|
|
42
43
|
var submitLock = false;
|
|
@@ -240,7 +241,7 @@ var Info = function Info(_, ref) {
|
|
|
240
241
|
* @Date: 2024-01-09 14:04
|
|
241
242
|
*/
|
|
242
243
|
var onFinish = function onFinish(values) {
|
|
243
|
-
var _resourcesRef$current, _item$_extend, _state$service$cacheI3, _window$closeBookingE2, _window2;
|
|
244
|
+
var _resourcesRef$current, _item$_extend, _item2, _item$_extend2, _state$service$cacheI3, _window$closeBookingE2, _window2;
|
|
244
245
|
var isSuccess = (_resourcesRef$current = resourcesRef.current) === null || _resourcesRef$current === void 0 ? void 0 : _resourcesRef$current.check();
|
|
245
246
|
if (isShowTimeAndResource && !isSuccess) {
|
|
246
247
|
return;
|
|
@@ -277,7 +278,11 @@ var Info = function Info(_, ref) {
|
|
|
277
278
|
_item._extend = _extend;
|
|
278
279
|
_item._time = new Date().getTime();
|
|
279
280
|
_item._serviceKey = genServiceKey(_item);
|
|
280
|
-
var _id = _item === null ||
|
|
281
|
+
var _id = (_item2 = _item) === null || _item2 === void 0 ? void 0 : _item2._id;
|
|
282
|
+
_item = setProductPrice(_item, {
|
|
283
|
+
newTotal: values.total,
|
|
284
|
+
origin_total: (_item$_extend2 = _item._extend) === null || _item$_extend2 === void 0 ? void 0 : _item$_extend2.origin_total
|
|
285
|
+
});
|
|
281
286
|
|
|
282
287
|
// 判断是新增还是编辑
|
|
283
288
|
if (!_list.some(function (d) {
|
|
@@ -288,7 +293,12 @@ var Info = function Info(_, ref) {
|
|
|
288
293
|
} else {
|
|
289
294
|
// 手动改价时移除优惠券使用
|
|
290
295
|
if (isChangeTotal.current) {
|
|
296
|
+
var _item$_extend3;
|
|
291
297
|
delete _item.discount_list;
|
|
298
|
+
_item = setProductPrice(_item, {
|
|
299
|
+
newTotal: values.total,
|
|
300
|
+
origin_total: (_item$_extend3 = _item._extend) === null || _item$_extend3 === void 0 ? void 0 : _item$_extend3.origin_total
|
|
301
|
+
});
|
|
292
302
|
}
|
|
293
303
|
_list = _list.map(function (d) {
|
|
294
304
|
return d._id === _id ? _objectSpread(_objectSpread({}, _item), {}, {
|
|
@@ -483,11 +493,11 @@ var Info = function Info(_, ref) {
|
|
|
483
493
|
var isSession = isSessionProduct(item);
|
|
484
494
|
var sessionValue = {};
|
|
485
495
|
if (isSession) {
|
|
486
|
-
var _item$
|
|
496
|
+
var _item$_extend4, _item$_extend5, _item$_extend6;
|
|
487
497
|
sessionValue.startEndTime = {
|
|
488
|
-
startDate: item === null || item === void 0 || (_item$
|
|
489
|
-
endDate: item === null || item === void 0 || (_item$
|
|
490
|
-
duration: item === null || item === void 0 || (_item$
|
|
498
|
+
startDate: item === null || item === void 0 || (_item$_extend4 = item._extend) === null || _item$_extend4 === void 0 ? void 0 : _item$_extend4.start_date,
|
|
499
|
+
endDate: item === null || item === void 0 || (_item$_extend5 = item._extend) === null || _item$_extend5 === void 0 ? void 0 : _item$_extend5.end_date,
|
|
500
|
+
duration: item === null || item === void 0 || (_item$_extend6 = item._extend) === null || _item$_extend6 === void 0 ? void 0 : _item$_extend6.duration
|
|
491
501
|
};
|
|
492
502
|
}
|
|
493
503
|
|
|
@@ -11,3 +11,18 @@ export declare const getAutoAllocationStorage: (id: string | number) => any;
|
|
|
11
11
|
export declare const setAutoAllocationStorage: (data: {
|
|
12
12
|
[key: string]: boolean;
|
|
13
13
|
}) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 手动折扣后给商品价格和子商品价格重新计算
|
|
16
|
+
*
|
|
17
|
+
* 计算逻辑:
|
|
18
|
+
* 1. 子商品(bundle + option)按折扣比例计算,直接截取两位小数(不四舍五入)
|
|
19
|
+
* 2. 主商品价格 = newTotal - 所有子商品价格总和(确保总价精确等于 newTotal)
|
|
20
|
+
*
|
|
21
|
+
* @param cacheItem - 缓存的商品项
|
|
22
|
+
* @param newTotal - 折扣后的新总价
|
|
23
|
+
* @param origin_total - 原始总价
|
|
24
|
+
*/
|
|
25
|
+
export declare const setProductPrice: (cacheItem: any, { newTotal, origin_total }: {
|
|
26
|
+
newTotal: number;
|
|
27
|
+
origin_total: number;
|
|
28
|
+
}) => any;
|
|
@@ -14,7 +14,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
14
14
|
判断是否需要进入编辑服务页
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import { isArr } from "@pisell/utils";
|
|
17
18
|
import { isBoolean } from "@pisell/utils";
|
|
19
|
+
import Decimal from "decimal.js";
|
|
18
20
|
var isNewService = function isNewService(service) {
|
|
19
21
|
return !service.new && service._extend.endDate;
|
|
20
22
|
};
|
|
@@ -52,4 +54,68 @@ export var setAutoAllocationStorage = function setAutoAllocationStorage(data) {
|
|
|
52
54
|
} else {
|
|
53
55
|
localStorage.setItem('resource-auto-allocation', JSON.stringify(_objectSpread({}, data)));
|
|
54
56
|
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* 手动折扣后给商品价格和子商品价格重新计算
|
|
61
|
+
*
|
|
62
|
+
* 计算逻辑:
|
|
63
|
+
* 1. 子商品(bundle + option)按折扣比例计算,直接截取两位小数(不四舍五入)
|
|
64
|
+
* 2. 主商品价格 = newTotal - 所有子商品价格总和(确保总价精确等于 newTotal)
|
|
65
|
+
*
|
|
66
|
+
* @param cacheItem - 缓存的商品项
|
|
67
|
+
* @param newTotal - 折扣后的新总价
|
|
68
|
+
* @param origin_total - 原始总价
|
|
69
|
+
*/
|
|
70
|
+
export var setProductPrice = function setProductPrice(cacheItem, _ref2) {
|
|
71
|
+
var _cacheItem$_extend$ot, _cacheItem$_extend$ot2, _cacheItem$_extend$ot4, _cacheItem$_extend$ot5;
|
|
72
|
+
var newTotal = _ref2.newTotal,
|
|
73
|
+
origin_total = _ref2.origin_total;
|
|
74
|
+
// 计算折扣比例
|
|
75
|
+
var discountRatio = new Decimal(newTotal).div(new Decimal(origin_total));
|
|
76
|
+
|
|
77
|
+
// 用于累加子商品总价c
|
|
78
|
+
var subTotal = new Decimal(0);
|
|
79
|
+
|
|
80
|
+
// 处理 bundle 子商品
|
|
81
|
+
if ((_cacheItem$_extend$ot = cacheItem._extend.other) !== null && _cacheItem$_extend$ot !== void 0 && _cacheItem$_extend$ot.bundle && isArr((_cacheItem$_extend$ot2 = cacheItem._extend.other) === null || _cacheItem$_extend$ot2 === void 0 ? void 0 : _cacheItem$_extend$ot2.bundle)) {
|
|
82
|
+
var _cacheItem$_extend$ot3;
|
|
83
|
+
(_cacheItem$_extend$ot3 = cacheItem._extend.other) === null || _cacheItem$_extend$ot3 === void 0 || (_cacheItem$_extend$ot3 = _cacheItem$_extend$ot3.bundle) === null || _cacheItem$_extend$ot3 === void 0 || _cacheItem$_extend$ot3.forEach(function (bundle) {
|
|
84
|
+
var _ref3, _bundle$num;
|
|
85
|
+
// 计算新价格,直接截取两位小数(不四舍五入)
|
|
86
|
+
var newPrice = new Decimal(bundle.original_price || bundle.price).mul(discountRatio).toDecimalPlaces(2, Decimal.ROUND_DOWN).toNumber();
|
|
87
|
+
|
|
88
|
+
// 获取数量,优先取 num,再取 quantity,默认为 1
|
|
89
|
+
var quantity = (_ref3 = (_bundle$num = bundle.num) !== null && _bundle$num !== void 0 ? _bundle$num : bundle.quantity) !== null && _ref3 !== void 0 ? _ref3 : 1;
|
|
90
|
+
|
|
91
|
+
// 累加到子商品总价
|
|
92
|
+
subTotal = subTotal.add(new Decimal(newPrice).mul(quantity));
|
|
93
|
+
|
|
94
|
+
// 设置新价格
|
|
95
|
+
bundle.price = newPrice;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// 处理 option 子商品
|
|
100
|
+
if ((_cacheItem$_extend$ot4 = cacheItem._extend.other) !== null && _cacheItem$_extend$ot4 !== void 0 && _cacheItem$_extend$ot4.option && isArr((_cacheItem$_extend$ot5 = cacheItem._extend.other) === null || _cacheItem$_extend$ot5 === void 0 ? void 0 : _cacheItem$_extend$ot5.option)) {
|
|
101
|
+
var _cacheItem$_extend$ot6;
|
|
102
|
+
(_cacheItem$_extend$ot6 = cacheItem._extend.other) === null || _cacheItem$_extend$ot6 === void 0 || (_cacheItem$_extend$ot6 = _cacheItem$_extend$ot6.option) === null || _cacheItem$_extend$ot6 === void 0 || _cacheItem$_extend$ot6.forEach(function (option) {
|
|
103
|
+
var _ref4, _option$num;
|
|
104
|
+
// 计算新价格,直接截取两位小数(不四舍五入)
|
|
105
|
+
var newPrice = new Decimal(option.price).mul(discountRatio).toDecimalPlaces(2, Decimal.ROUND_DOWN).toNumber();
|
|
106
|
+
|
|
107
|
+
// 获取数量,优先取 num,再取 quantity,默认为 1
|
|
108
|
+
var quantity = (_ref4 = (_option$num = option.num) !== null && _option$num !== void 0 ? _option$num : option.quantity) !== null && _ref4 !== void 0 ? _ref4 : 1;
|
|
109
|
+
|
|
110
|
+
// 累加到子商品总价
|
|
111
|
+
subTotal = subTotal.add(new Decimal(newPrice).mul(quantity));
|
|
112
|
+
|
|
113
|
+
// 设置新价格
|
|
114
|
+
option.price = newPrice;
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 主商品价格 = newTotal - 子商品总价(让主商品吸收精度误差,确保总价精确)
|
|
119
|
+
cacheItem._extend.price = new Decimal(newTotal).sub(subTotal).toNumber();
|
|
120
|
+
return cacheItem;
|
|
55
121
|
};
|
|
@@ -10,6 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
10
10
|
import dayjs from 'dayjs';
|
|
11
11
|
import { locales } from "@pisell/utils";
|
|
12
12
|
import { getCacheParams, getServeStartTime, getLastServer, flexibleObj, getServiceTimes, findNextDuration, getDays, isSessionProduct } from "../utils";
|
|
13
|
+
import { isNormalProductByDurationSchedule } from "../info/service2/utils";
|
|
13
14
|
import { isOption } from "../../ticketBooking/components/addServiceVariant/utils";
|
|
14
15
|
|
|
15
16
|
// 获取当前剩余量
|
|
@@ -331,7 +332,7 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
331
332
|
|
|
332
333
|
// 获取上一个服务商品(过滤掉自定义商品)
|
|
333
334
|
var lastServer = getLastServer((_state$service$value = state.service.value) === null || _state$service$value === void 0 ? void 0 : _state$service$value.filter(function (item) {
|
|
334
|
-
return !item.isCustomItem;
|
|
335
|
+
return !item.isCustomItem && !isNormalProductByDurationSchedule(item);
|
|
335
336
|
}));
|
|
336
337
|
|
|
337
338
|
// 下一个商品的扩展参数
|
|
@@ -399,11 +400,14 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
399
400
|
_extend.endDate = endDate;
|
|
400
401
|
var session = cacheItem === null || cacheItem === void 0 || (_cacheItem$_extend2 = cacheItem._extend) === null || _cacheItem$_extend2 === void 0 || (_cacheItem$_extend2 = _cacheItem$_extend2.other) === null || _cacheItem$_extend2 === void 0 ? void 0 : _cacheItem$_extend2.session;
|
|
401
402
|
if (isSessionProduct(cacheItem) && session) {
|
|
402
|
-
|
|
403
|
-
|
|
403
|
+
var startAt = dayjs("".concat(state.date.value.format('YYYY-MM-DD'), " ").concat(session.start_at.format('HH:mm:ss')));
|
|
404
|
+
var endAt = dayjs("".concat(state.date.value.format('YYYY-MM-DD'), " ").concat(session.end_at.format('HH:mm:ss')));
|
|
405
|
+
_extend.start_date = startAt;
|
|
406
|
+
_extend.startDate = startAt;
|
|
404
407
|
_extend.start_time = session.start_time;
|
|
405
|
-
_extend.end_date =
|
|
406
|
-
_extend.endDate =
|
|
408
|
+
_extend.end_date = endAt;
|
|
409
|
+
_extend.endDate = endAt;
|
|
410
|
+
_extend.end_time = session.end_time;
|
|
407
411
|
_extend.duration = getDays({
|
|
408
412
|
_extend: _extend
|
|
409
413
|
}, 'minutes');
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 高阶函数结果缓存(Memoization)
|
|
4
|
+
*/
|
|
5
|
+
export declare function memoize<T extends (...args: any[]) => any>(fn: T): T;
|
|
2
6
|
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
|
3
7
|
declare class Request {
|
|
4
8
|
private request;
|
|
@@ -23,13 +27,8 @@ export declare const request: Request;
|
|
|
23
27
|
*/
|
|
24
28
|
export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
|
|
25
29
|
/**
|
|
26
|
-
* @title:
|
|
27
|
-
* @description:
|
|
28
|
-
* @param {any} config
|
|
29
|
-
* @param {string} locale
|
|
30
|
-
* @return {*}
|
|
31
|
-
* @Author: zhiwei.Wang
|
|
32
|
-
* @Date: 2024-04-26 13:59
|
|
30
|
+
* @title: 时间切片(带缓存版本)
|
|
31
|
+
* @description: 使用 memoize 高阶函数包裹 sliceDayIntoFiveMinutes,相同参数时直接返回缓存结果
|
|
33
32
|
*/
|
|
34
33
|
export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
|
|
35
34
|
timeSlices: {
|
|
@@ -19,6 +19,31 @@ import { isDayBooking, formatDayDate } from "./info/service2/utils";
|
|
|
19
19
|
import { intersectionBy } from 'lodash';
|
|
20
20
|
import { getAppointmentTimingPreference } from "./info2/utilsByBooking";
|
|
21
21
|
import Decimal from "decimal.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @title: 高阶函数结果缓存(Memoization)
|
|
25
|
+
*/
|
|
26
|
+
export function memoize(fn) {
|
|
27
|
+
// 使用 Map 存储缓存,支持任意类型的 key
|
|
28
|
+
var cache = new Map();
|
|
29
|
+
return function () {
|
|
30
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
31
|
+
args[_key] = arguments[_key];
|
|
32
|
+
}
|
|
33
|
+
// 将参数序列化为字符串作为缓存的 key
|
|
34
|
+
var key = JSON.stringify(args);
|
|
35
|
+
|
|
36
|
+
// 如果缓存中存在该 key,直接返回缓存的结果
|
|
37
|
+
if (cache.has(key)) {
|
|
38
|
+
return cache.get(key);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// 否则执行函数并缓存结果
|
|
42
|
+
var result = fn.apply(this, args);
|
|
43
|
+
cache.set(key, result);
|
|
44
|
+
return result;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
22
47
|
var Request = /*#__PURE__*/function () {
|
|
23
48
|
function Request() {
|
|
24
49
|
_classCallCheck(this, Request);
|
|
@@ -79,7 +104,7 @@ export var getDiscountTime = function getDiscountTime(service_times, isDay) {
|
|
|
79
104
|
* @Author: zhiwei.Wang
|
|
80
105
|
* @Date: 2024-04-26 13:59
|
|
81
106
|
*/
|
|
82
|
-
|
|
107
|
+
var _sliceDayIntoFiveMinutes = function _sliceDayIntoFiveMinutes(config, locale, isDay) {
|
|
83
108
|
var _locale = locale;
|
|
84
109
|
var dayjsLocale = _locale === 'en-US' || _locale === 'en' ? 'en' : 'zh-cn';
|
|
85
110
|
dayjs.locale(dayjsLocale);
|
|
@@ -142,6 +167,12 @@ export var sliceDayIntoFiveMinutes = function sliceDayIntoFiveMinutes(config, lo
|
|
|
142
167
|
};
|
|
143
168
|
};
|
|
144
169
|
|
|
170
|
+
/**
|
|
171
|
+
* @title: 时间切片(带缓存版本)
|
|
172
|
+
* @description: 使用 memoize 高阶函数包裹 sliceDayIntoFiveMinutes,相同参数时直接返回缓存结果
|
|
173
|
+
*/
|
|
174
|
+
export var sliceDayIntoFiveMinutes = memoize(_sliceDayIntoFiveMinutes);
|
|
175
|
+
|
|
145
176
|
// 获取当前时间
|
|
146
177
|
export var getNowTime = function getNowTime() {
|
|
147
178
|
return dayjs().format('HH:mm');
|
|
@@ -204,12 +235,15 @@ export var findNextSlice = function findNextSlice(_ref) {
|
|
|
204
235
|
return timeSlices[index].value;
|
|
205
236
|
};
|
|
206
237
|
export var findNextDuration = function findNextDuration(current, array, defaultValue) {
|
|
238
|
+
if (defaultValue) {
|
|
239
|
+
return defaultValue;
|
|
240
|
+
}
|
|
207
241
|
for (var i = 0; i < array.length; i++) {
|
|
208
242
|
if (array[i].value == (current === null || current === void 0 ? void 0 : current.value)) {
|
|
209
243
|
return array[i].value;
|
|
210
244
|
}
|
|
211
245
|
}
|
|
212
|
-
return
|
|
246
|
+
return array[0].value;
|
|
213
247
|
};
|
|
214
248
|
export var formatProductListByCategory = function formatProductListByCategory(list, filterItem) {
|
|
215
249
|
var _list = list || [];
|
|
@@ -600,7 +634,7 @@ export var formatResource = function formatResource(resourceItem, cacheItem, for
|
|
|
600
634
|
|
|
601
635
|
// 获取最后一个服务商品
|
|
602
636
|
export var getLastServer = function getLastServer(list) {
|
|
603
|
-
return list
|
|
637
|
+
return list === null || list === void 0 ? void 0 : list[0];
|
|
604
638
|
};
|
|
605
639
|
export var getCacheParams = function getCacheParams() {
|
|
606
640
|
// 从缓存里读默认参数, 如果有 则需要默认选中某些参数, 添加完商品后则删除
|
|
@@ -16,7 +16,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
16
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
17
|
import React, { useRef, useState, useEffect, useCallback, useMemo, useImperativeHandle, forwardRef } from 'react';
|
|
18
18
|
import Decimal from 'decimal.js';
|
|
19
|
-
import { locales
|
|
19
|
+
import { locales } from '@pisell/utils';
|
|
20
20
|
import { getLocale } from "../../utils/locales";
|
|
21
21
|
import { useMemoizedFn } from 'ahooks';
|
|
22
22
|
import { createPortal } from 'react-dom';
|
|
@@ -44,6 +44,7 @@ import { cloneDeep } from 'lodash';
|
|
|
44
44
|
import { getShopWalletPassId, reorderPaymentMethodList } from "./utils";
|
|
45
45
|
import usePaymentLogger from "./hooks/usePaymentLogger";
|
|
46
46
|
import { Button } from 'antd';
|
|
47
|
+
import usePrinter from "../../hooks/printer";
|
|
47
48
|
import { DiscountKeyboard, PaymentKeyboard } from "../../pro/priceKeyboard";
|
|
48
49
|
import { useActiveExecute } from "../ticketBooking/hooks/pisellos";
|
|
49
50
|
|
|
@@ -163,6 +164,8 @@ var PaymentContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
163
164
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
164
165
|
walletPassData = _useState20[0],
|
|
165
166
|
setWalletPassData = _useState20[1];
|
|
167
|
+
var _usePrinter = usePrinter(),
|
|
168
|
+
nativePrint = _usePrinter.nativePrint;
|
|
166
169
|
var _useState21 = useState(false),
|
|
167
170
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
168
171
|
syncingLock = _useState22[0],
|
|
@@ -824,11 +827,12 @@ var PaymentContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
824
827
|
data: {
|
|
825
828
|
order_id: responseData.order_id,
|
|
826
829
|
machine_code_print_info: responseData === null || responseData === void 0 ? void 0 : responseData.machine_code_print_info,
|
|
827
|
-
small_ticket_data: responseData === null || responseData === void 0 || (_responseData$payment = responseData.payment_info) === null || _responseData$payment === void 0 ? void 0 : _responseData$payment.small_ticket_data
|
|
830
|
+
small_ticket_data: responseData === null || responseData === void 0 || (_responseData$payment = responseData.payment_info) === null || _responseData$payment === void 0 ? void 0 : _responseData$payment.small_ticket_data,
|
|
831
|
+
machine_code_print_info_v2: responseData === null || responseData === void 0 ? void 0 : responseData.machine_code_print_info_v2
|
|
828
832
|
}
|
|
829
833
|
};
|
|
830
834
|
console.log('print_order_onOrderSynced_params>>>>', params);
|
|
831
|
-
|
|
835
|
+
nativePrint(params, function (res) {
|
|
832
836
|
console.log('print_order_onOrderSynced_res>>>>', res);
|
|
833
837
|
});
|
|
834
838
|
} catch (error) {
|
|
@@ -1054,7 +1058,7 @@ var PaymentContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
1054
1058
|
}
|
|
1055
1059
|
};
|
|
1056
1060
|
try {
|
|
1057
|
-
|
|
1061
|
+
nativePrint(params, function (res) {
|
|
1058
1062
|
console.log('handleButtonClick_print-receipt_res>>>>', res);
|
|
1059
1063
|
if (!(res !== null && res !== void 0 && res.result)) {
|
|
1060
1064
|
Toast === null || Toast === void 0 || Toast.error((res === null || res === void 0 ? void 0 : res.msg) || '');
|
|
@@ -1435,6 +1439,8 @@ var PaymentModal = function PaymentModal(_ref18) {
|
|
|
1435
1439
|
var _useActiveExecute2 = useActiveExecute(),
|
|
1436
1440
|
executeIfActive = _useActiveExecute2.executeIfActive;
|
|
1437
1441
|
var Toast = useToast();
|
|
1442
|
+
var _usePrinter2 = usePrinter(),
|
|
1443
|
+
nativePrint = _usePrinter2.nativePrint;
|
|
1438
1444
|
|
|
1439
1445
|
// 重试处理函数(逻辑由用户自己实现)
|
|
1440
1446
|
var handleRetry = /*#__PURE__*/function () {
|
|
@@ -2147,7 +2153,8 @@ var PaymentModal = function PaymentModal(_ref18) {
|
|
|
2147
2153
|
data: {
|
|
2148
2154
|
order_id: responseData.order_id,
|
|
2149
2155
|
machine_code_print_info: responseData === null || responseData === void 0 ? void 0 : responseData.machine_code_print_info,
|
|
2150
|
-
small_ticket_data: responseData === null || responseData === void 0 || (_responseData$payment3 = responseData.payment_info) === null || _responseData$payment3 === void 0 ? void 0 : _responseData$payment3.small_ticket_data
|
|
2156
|
+
small_ticket_data: responseData === null || responseData === void 0 || (_responseData$payment3 = responseData.payment_info) === null || _responseData$payment3 === void 0 ? void 0 : _responseData$payment3.small_ticket_data,
|
|
2157
|
+
machine_code_print_info_v2: responseData === null || responseData === void 0 ? void 0 : responseData.machine_code_print_info_v2
|
|
2151
2158
|
}
|
|
2152
2159
|
};
|
|
2153
2160
|
console.log('print_order_onOrderSynced_params>>>>', params);
|
|
@@ -2158,7 +2165,7 @@ var PaymentModal = function PaymentModal(_ref18) {
|
|
|
2158
2165
|
params: params
|
|
2159
2166
|
}
|
|
2160
2167
|
});
|
|
2161
|
-
|
|
2168
|
+
nativePrint(params, function (res) {
|
|
2162
2169
|
console.log('print_order_onOrderSynced_res>>>>', res);
|
|
2163
2170
|
logger === null || logger === void 0 || logger.addLog({
|
|
2164
2171
|
type: 'info',
|
|
@@ -2447,7 +2454,7 @@ var PaymentModal = function PaymentModal(_ref18) {
|
|
|
2447
2454
|
}
|
|
2448
2455
|
};
|
|
2449
2456
|
try {
|
|
2450
|
-
|
|
2457
|
+
nativePrint(params, function (res) {
|
|
2451
2458
|
console.log('handleButtonClick_print-receipt_res>>>>', res);
|
|
2452
2459
|
if (!(res !== null && res !== void 0 && res.result)) {
|
|
2453
2460
|
Toast === null || Toast === void 0 || Toast.error((res === null || res === void 0 ? void 0 : res.msg) || '');
|
|
@@ -108,6 +108,8 @@ function AdditionalModule(_ref) {
|
|
|
108
108
|
} else {
|
|
109
109
|
Toast.fail(locales.getText('pisell2.text.order-no-payment-cannot-send-link'));
|
|
110
110
|
}
|
|
111
|
+
} else if (key === 'print-receipt') {
|
|
112
|
+
handleButtonClick('print-receipt');
|
|
111
113
|
} else if (key === 'split-payment') {
|
|
112
114
|
handleButtonClick('split-payment');
|
|
113
115
|
} else if (key === 'print-receipt') {
|
|
@@ -248,7 +248,6 @@
|
|
|
248
248
|
|
|
249
249
|
.balance-due-label {
|
|
250
250
|
font-size: 16px;
|
|
251
|
-
color: #7f56da;
|
|
252
251
|
font-weight: 400;
|
|
253
252
|
line-height: 1.5;
|
|
254
253
|
margin-bottom: 4px;
|
|
@@ -256,7 +255,7 @@
|
|
|
256
255
|
|
|
257
256
|
.balance-due-amount {
|
|
258
257
|
font-size: 14px;
|
|
259
|
-
font-weight:
|
|
258
|
+
font-weight: 600;
|
|
260
259
|
color: #7f56da;
|
|
261
260
|
line-height: 0.75;
|
|
262
261
|
text-decoration: underline;
|
|
@@ -272,13 +271,13 @@
|
|
|
272
271
|
.pay-text {
|
|
273
272
|
font-size: 16px;
|
|
274
273
|
font-weight: 500;
|
|
275
|
-
color: #7f56da;
|
|
276
274
|
letter-spacing: 0.09375em;
|
|
275
|
+
margin-top: 12px;
|
|
277
276
|
}
|
|
278
277
|
|
|
279
278
|
.pay-amount {
|
|
280
|
-
font-size:
|
|
281
|
-
font-weight:
|
|
279
|
+
font-size: 36px;
|
|
280
|
+
font-weight: 600;
|
|
282
281
|
color: #1e1830;
|
|
283
282
|
line-height: 0.75;
|
|
284
283
|
}
|