@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
|
@@ -374,18 +374,14 @@ var getDiscountAmount = (discounts) => {
|
|
|
374
374
|
}, new import_decimal.default(0)).toNumber();
|
|
375
375
|
};
|
|
376
376
|
var getMainProductTotal = (item) => {
|
|
377
|
-
var _a, _b, _c, _d;
|
|
378
|
-
let total = new import_decimal.default(item._extend.main_product_selling_price
|
|
379
|
-
if (
|
|
380
|
-
|
|
381
|
-
total = total.minus(discountAmount);
|
|
382
|
-
}
|
|
383
|
-
if (((_a = item._extend.other) == null ? void 0 : _a.option) && Array.isArray((_b = item._extend.other) == null ? void 0 : _b.option)) {
|
|
384
|
-
total = total.add((_c = item._extend.other) == null ? void 0 : _c.option.reduce((t, option) => {
|
|
377
|
+
var _a, _b, _c, _d, _e, _f;
|
|
378
|
+
let total = new import_decimal.default(((_a = item._extend) == null ? void 0 : _a.main_product_selling_price) ?? ((_b = item == null ? void 0 : item.metadata) == null ? void 0 : _b.main_product_selling_price) ?? item._extend.price ?? 0);
|
|
379
|
+
if (((_c = item._extend.other) == null ? void 0 : _c.option) && Array.isArray((_d = item._extend.other) == null ? void 0 : _d.option)) {
|
|
380
|
+
total = total.add((_e = item._extend.other) == null ? void 0 : _e.option.reduce((t, option) => {
|
|
385
381
|
return t.add(new import_decimal.default(option.price || 0).mul(option.num || 1));
|
|
386
382
|
}, new import_decimal.default(0)));
|
|
387
383
|
}
|
|
388
|
-
for (let bundleItem of ((
|
|
384
|
+
for (let bundleItem of ((_f = item._extend.other) == null ? void 0 : _f.bundle) || []) {
|
|
389
385
|
if (getBundleItemIsMarkupOrDiscountPrice(bundleItem)) {
|
|
390
386
|
const discountAmount = getDiscountAmount(bundleItem.discount_list);
|
|
391
387
|
const bundleItemPrice = new import_decimal.default(bundleItem.bundle_selling_price ?? bundleItem.price ?? 0);
|
|
@@ -572,8 +568,12 @@ var getSurcharge = (state, options) => {
|
|
|
572
568
|
}
|
|
573
569
|
}, 0);
|
|
574
570
|
let fixedTotal = new import_decimal.default(0);
|
|
571
|
+
let productTotalSurcharge = new import_decimal.default(0);
|
|
575
572
|
if (matchedItems.length > 0) {
|
|
576
573
|
let configTotal = new import_decimal.default(0);
|
|
574
|
+
if (fixed && new import_decimal.default(fixed).gt(0)) {
|
|
575
|
+
configTotal = configTotal.plus(fixed);
|
|
576
|
+
}
|
|
577
577
|
if (percentage && new import_decimal.default(percentage).gt(0) || fixed) {
|
|
578
578
|
const percentageRate = new import_decimal.default(percentage);
|
|
579
579
|
for (let [index, item] of matchedItems.entries()) {
|
|
@@ -582,6 +582,7 @@ var getSurcharge = (state, options) => {
|
|
|
582
582
|
const itemQuantity = new import_decimal.default(item.isMain ? item.quantity || 1 : item.quantity * item.mainQuantity || 1);
|
|
583
583
|
const addTimeTotal = new import_decimal.default(item.addTimeTotal || 0);
|
|
584
584
|
const itemTotalSurcharge = itemPrice.times(itemQuantity).plus(addTimeTotal).times(percentageRate);
|
|
585
|
+
configTotal = configTotal.plus(itemTotalSurcharge);
|
|
585
586
|
const itemSurcharge = itemPrice.times(percentageRate);
|
|
586
587
|
const fixedSurcharge = new import_decimal.default(1).div(productCount).times(fixed).times(100).floor().div(100).toFixed(2);
|
|
587
588
|
const quantity = item.isMain ? item.quantity : item.quantity * item.mainQuantity;
|
|
@@ -589,6 +590,7 @@ var getSurcharge = (state, options) => {
|
|
|
589
590
|
if (isLast && fixedTotal.gt(0)) {
|
|
590
591
|
const remaining = new import_decimal.default(fixed).minus(fixedTotal).toNumber();
|
|
591
592
|
if (remaining > 0) {
|
|
593
|
+
productTotalSurcharge = productTotalSurcharge.plus(remaining);
|
|
592
594
|
if (item.isMain) {
|
|
593
595
|
item.item._extend.surcharge_rounding_remainder = remaining;
|
|
594
596
|
} else {
|
|
@@ -599,20 +601,32 @@ var getSurcharge = (state, options) => {
|
|
|
599
601
|
if (open_product !== 0) {
|
|
600
602
|
if (item.isMain) {
|
|
601
603
|
const originSurchargeFee = new import_decimal.default(item.item._extend.surcharge_fee || 0);
|
|
602
|
-
|
|
604
|
+
const surchargeFee = originSurchargeFee.plus(itemSurcharge).plus(fixedSurcharge).toDecimalPlaces(2, import_decimal.default.ROUND_DOWN).toNumber();
|
|
605
|
+
productTotalSurcharge = productTotalSurcharge.plus(new import_decimal.default(surchargeFee).times(itemQuantity).toNumber());
|
|
606
|
+
item.item._extend.surcharge_fee = surchargeFee;
|
|
603
607
|
item.item._extend.relation_surcharge_ids = [...((_d = item.item._extend) == null ? void 0 : _d.relation_surcharge_ids) || [], id];
|
|
604
608
|
} else {
|
|
605
609
|
const originSurchargeFee = new import_decimal.default(item.item.surcharge_fee || 0);
|
|
606
|
-
|
|
610
|
+
const surchargeFee = originSurchargeFee.plus(itemSurcharge).plus(fixedSurcharge).toDecimalPlaces(2, import_decimal.default.ROUND_DOWN).toNumber();
|
|
611
|
+
productTotalSurcharge = productTotalSurcharge.plus(new import_decimal.default(surchargeFee).times(itemQuantity).toNumber());
|
|
612
|
+
item.item.surcharge_fee = surchargeFee;
|
|
607
613
|
item.item.relation_surcharge_ids = [...((_e = item.item) == null ? void 0 : _e.relation_surcharge_ids) || [], id];
|
|
608
614
|
}
|
|
609
615
|
}
|
|
610
|
-
|
|
616
|
+
if (isLast && configTotal.minus(productTotalSurcharge).gt(0)) {
|
|
617
|
+
const configTotalRounded = configTotal.toDecimalPlaces(2, import_decimal.default.ROUND_HALF_UP);
|
|
618
|
+
if (item.isMain) {
|
|
619
|
+
let newRoundingRemainder = new import_decimal.default(item.item._extend.surcharge_rounding_remainder || 0);
|
|
620
|
+
newRoundingRemainder = newRoundingRemainder.plus(configTotalRounded.minus(productTotalSurcharge));
|
|
621
|
+
item.item._extend.surcharge_rounding_remainder = newRoundingRemainder.toNumber();
|
|
622
|
+
} else {
|
|
623
|
+
let newRoundingRemainder = new import_decimal.default(item.item.surcharge_rounding_remainder || 0);
|
|
624
|
+
newRoundingRemainder = newRoundingRemainder.plus(configTotalRounded.minus(productTotalSurcharge));
|
|
625
|
+
item.item.surcharge_rounding_remainder = newRoundingRemainder.toNumber();
|
|
626
|
+
}
|
|
627
|
+
}
|
|
611
628
|
}
|
|
612
629
|
}
|
|
613
|
-
if (fixed && new import_decimal.default(fixed).gt(0)) {
|
|
614
|
-
configTotal = configTotal.plus(fixed);
|
|
615
|
-
}
|
|
616
630
|
finalAmount = configTotal.toDecimalPlaces(2, import_decimal.default.ROUND_HALF_UP).toNumber();
|
|
617
631
|
}
|
|
618
632
|
const name = surchargeConfig.name || {};
|
|
@@ -129,8 +129,8 @@ var formatProductBundle = (bundle) => {
|
|
|
129
129
|
"custom_price": (d == null ? void 0 : d.custom_price) || Math.abs(new import_decimal.default((d == null ? void 0 : d.original_price) || (d == null ? void 0 : d.product_price)).sub(option_price).toNumber()).toFixed(2),
|
|
130
130
|
"custom_price_type": d == null ? void 0 : d.price_type,
|
|
131
131
|
"option": option,
|
|
132
|
-
"bundle_selling_price": d == null ? void 0 : d.price,
|
|
133
|
-
"bundle_sum_price":
|
|
132
|
+
"bundle_selling_price": Math.abs(d == null ? void 0 : d.price),
|
|
133
|
+
// "bundle_sum_price": d?.original_price || d?.original_total,
|
|
134
134
|
"metadata": {
|
|
135
135
|
custom_product_bundle_map_id: d._id,
|
|
136
136
|
// 子商品单数量附加费
|
|
@@ -246,7 +246,7 @@ var formatHolders = (state, item, values) => {
|
|
|
246
246
|
var formatProductPrice = (item) => {
|
|
247
247
|
var _a, _b, _c, _d;
|
|
248
248
|
const other = (_a = item._extend) == null ? void 0 : _a.other;
|
|
249
|
-
let price = Number((_b = item._extend) == null ? void 0 : _b.price);
|
|
249
|
+
let price = Number((item == null ? void 0 : item.price) ?? ((_b = item == null ? void 0 : item._extend) == null ? void 0 : _b.price));
|
|
250
250
|
if ((other == null ? void 0 : other.product_variant_id) > 0 && ((_c = item == null ? void 0 : item.variant) == null ? void 0 : _c.length) > 0) {
|
|
251
251
|
const variant = item.variant.find(
|
|
252
252
|
(d) => d.id === (other == null ? void 0 : other.product_variant_id)
|
|
@@ -325,19 +325,19 @@ var getSourceProductPrice = (item) => {
|
|
|
325
325
|
return price;
|
|
326
326
|
};
|
|
327
327
|
var getMainProductSellingPrice = (item) => {
|
|
328
|
-
var _a, _b, _c, _d, _e;
|
|
329
|
-
if (!(0, import_utils5.isNumber)((_a = item._extend) == null ? void 0 : _a.main_product_selling_price)) {
|
|
328
|
+
var _a, _b, _c, _d, _e, _f;
|
|
329
|
+
if (!(0, import_utils5.isNumber)((_a = item._extend) == null ? void 0 : _a.main_product_selling_price) && !(0, import_utils5.isString)((_b = item._extend) == null ? void 0 : _b.main_product_selling_price)) {
|
|
330
330
|
return void 0;
|
|
331
331
|
}
|
|
332
332
|
let optionPrice = new import_decimal.default(0);
|
|
333
|
-
if (((
|
|
334
|
-
optionPrice = (
|
|
333
|
+
if (((_c = item._extend.other) == null ? void 0 : _c.option) && Array.isArray((_d = item._extend.other) == null ? void 0 : _d.option)) {
|
|
334
|
+
optionPrice = (_e = item._extend.other) == null ? void 0 : _e.option.reduce((accumulator, currentValue) => {
|
|
335
335
|
const currentPrice = new import_decimal.default(currentValue.price || 0);
|
|
336
336
|
const currentNum = new import_decimal.default(currentValue.num || 0);
|
|
337
337
|
return accumulator.add(currentPrice.mul(currentNum));
|
|
338
338
|
}, optionPrice);
|
|
339
339
|
}
|
|
340
|
-
return new import_decimal.default((
|
|
340
|
+
return new import_decimal.default((_f = item._extend) == null ? void 0 : _f.main_product_selling_price).add(optionPrice).toNumber();
|
|
341
341
|
};
|
|
342
342
|
var formatProducts = (item, quantity) => {
|
|
343
343
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
@@ -450,7 +450,7 @@ var formatBookings = (data, values) => {
|
|
|
450
450
|
let bookings = [];
|
|
451
451
|
let obj = {};
|
|
452
452
|
list.forEach((item) => {
|
|
453
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
453
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
454
454
|
if (item.isCustomItem) {
|
|
455
455
|
bookings.push({
|
|
456
456
|
...item._extend,
|
|
@@ -485,12 +485,15 @@ var formatBookings = (data, values) => {
|
|
|
485
485
|
"minutes"
|
|
486
486
|
);
|
|
487
487
|
}
|
|
488
|
-
|
|
489
|
-
|
|
488
|
+
if (!((_e = item._extend) == null ? void 0 : _e.unique_identification_number)) {
|
|
489
|
+
const unique_identification_number = (0, import_utils5.getUniqueId)();
|
|
490
|
+
item._extend.unique_identification_number = unique_identification_number;
|
|
491
|
+
}
|
|
492
|
+
const isSetGroupId = obj[(_f = item == null ? void 0 : item._extend) == null ? void 0 : _f.groupId];
|
|
493
|
+
if (!((_g = item._extend) == null ? void 0 : _g.unique_identification_number)) {
|
|
490
494
|
const unique_identification_number = (0, import_utils5.getUniqueId)();
|
|
491
495
|
item._extend.unique_identification_number = unique_identification_number;
|
|
492
496
|
}
|
|
493
|
-
debugger;
|
|
494
497
|
const booking = {
|
|
495
498
|
schedule_event_id: item == null ? void 0 : item.booking_id,
|
|
496
499
|
product: formatProducts(item),
|
|
@@ -512,6 +515,23 @@ var formatBookings = (data, values) => {
|
|
|
512
515
|
resources: formatResource(item),
|
|
513
516
|
note: item._extend.note,
|
|
514
517
|
"metadata": formatMetaData(item, !isSetGroupId),
|
|
518
|
+
"relation_products": formatRelationDetails(item._extend.relation_details),
|
|
519
|
+
"id": item.booking_id || 0,
|
|
520
|
+
"relation_id": item._extend.relation_id || 0,
|
|
521
|
+
"like_status": item._extend.like_status || "common",
|
|
522
|
+
"relation_type": item._extend.relation_type || "",
|
|
523
|
+
"is_all": false,
|
|
524
|
+
"schedule_id": item._extend.schedule_id || 0,
|
|
525
|
+
"end_time": end_time,
|
|
526
|
+
"sub_type": isDay ? "days" : getSubType(item),
|
|
527
|
+
"select_date": start_date,
|
|
528
|
+
"start_time": start_time,
|
|
529
|
+
"end_date": end_date,
|
|
530
|
+
"start_date": start_date,
|
|
531
|
+
"duration": isDay ? 0 : import_utils.flexibleObj.getValue(item._extend.duration),
|
|
532
|
+
"number": item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: item }) : item._extend.number || 1,
|
|
533
|
+
"resources": formatResource(item),
|
|
534
|
+
"note": item._extend.note,
|
|
515
535
|
...eventOtherParams || {},
|
|
516
536
|
...dayParams
|
|
517
537
|
};
|
|
@@ -527,7 +547,7 @@ var formatBookings = (data, values) => {
|
|
|
527
547
|
newItem._extend.unique_identification_number = `${item._extend.unique_identification_number}_${i}`;
|
|
528
548
|
if (i > 0) {
|
|
529
549
|
newItem._extend.surcharge_rounding_remainder = void 0;
|
|
530
|
-
if (((
|
|
550
|
+
if (((_j = (_i = (_h = newItem._extend) == null ? void 0 : _h.other) == null ? void 0 : _i.bundle) == null ? void 0 : _j.length) > 0) {
|
|
531
551
|
newItem._extend.other.bundle.forEach((bundleItem) => {
|
|
532
552
|
bundleItem.surcharge_rounding_remainder = void 0;
|
|
533
553
|
});
|
|
@@ -535,10 +555,10 @@ var formatBookings = (data, values) => {
|
|
|
535
555
|
}
|
|
536
556
|
bookings.push({
|
|
537
557
|
...booking,
|
|
538
|
-
product: formatProducts(newItem, 1),
|
|
539
|
-
number: item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: newItem }, false) : newItem._extend.number || 1,
|
|
540
|
-
holder: getHolderByIndex(booking.holder, i),
|
|
541
|
-
metadata: formatMetaData(newItem, false)
|
|
558
|
+
"product": formatProducts(newItem, 1),
|
|
559
|
+
"number": item._extend.capacity ? (0, import_utilsByBooking.getSumCapacity)({ cacheItem: newItem }, false) : newItem._extend.number || 1,
|
|
560
|
+
"holder": getHolderByIndex(booking.holder, i),
|
|
561
|
+
"metadata": formatMetaData(newItem, false)
|
|
542
562
|
});
|
|
543
563
|
}
|
|
544
564
|
});
|
|
@@ -60,6 +60,8 @@ var VoucherCard = (props) => {
|
|
|
60
60
|
const isBooking4Shop = (0, import_useIsBooking4Shop.useIsBooking4Shop)(state);
|
|
61
61
|
const shopDiscount = (0, import_useShopDiscountModule.useShopDiscountModule)();
|
|
62
62
|
const { executeIfActive } = (0, import_pisellos.useActiveExecute)();
|
|
63
|
+
const stateRef = (0, import_react.useRef)(state);
|
|
64
|
+
stateRef.current = state;
|
|
63
65
|
services = state.service;
|
|
64
66
|
const changeCustomerToGlobalState = (0, import_ahooks.useMemoizedFn)((value) => {
|
|
65
67
|
dispatch({
|
|
@@ -161,15 +163,15 @@ var VoucherCard = (props) => {
|
|
|
161
163
|
}
|
|
162
164
|
if (isBooking4Shop) {
|
|
163
165
|
const val = shopDiscount.calcDiscount([
|
|
164
|
-
...
|
|
165
|
-
...
|
|
166
|
+
...stateRef.current.service.value,
|
|
167
|
+
...stateRef.current.addons.value
|
|
166
168
|
]);
|
|
167
169
|
console.log("input: ", state.service.value);
|
|
168
170
|
console.log("output: ", val);
|
|
169
171
|
productListToValue(val.productList);
|
|
170
172
|
}
|
|
171
173
|
},
|
|
172
|
-
{ wait:
|
|
174
|
+
{ wait: 1e3 }
|
|
173
175
|
);
|
|
174
176
|
(0, import_react.useEffect)(() => {
|
|
175
177
|
run();
|
|
@@ -24,7 +24,12 @@ __export(serve_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(serve_exports);
|
|
25
25
|
var import_utils = require("../utils");
|
|
26
26
|
var getBookingList = async (params) => {
|
|
27
|
-
let { data } = await import_utils.request.getRequest().get(`/shop/schedule/booking`, params
|
|
27
|
+
let { data } = await import_utils.request.getRequest().get(`/shop/schedule/booking`, params, {
|
|
28
|
+
cache: {
|
|
29
|
+
mode: "remote_local",
|
|
30
|
+
type: "indexDB"
|
|
31
|
+
}
|
|
32
|
+
});
|
|
28
33
|
return data;
|
|
29
34
|
};
|
|
30
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -24,8 +24,18 @@ __export(serve_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(serve_exports);
|
|
26
26
|
var import_utils = require("../utils");
|
|
27
|
-
var getFormData = async (params) => import_utils.request.getRequest().get(`/shop/form/data/v1`, params
|
|
28
|
-
|
|
27
|
+
var getFormData = async (params) => import_utils.request.getRequest().get(`/shop/form/data/v1`, params, {
|
|
28
|
+
cache: {
|
|
29
|
+
mode: "remote_local",
|
|
30
|
+
type: "indexDB"
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var sendFormReminder = async (params) => import_utils.request.getRequest().post(`/shop/form/form-reminder`, params, {
|
|
34
|
+
cache: {
|
|
35
|
+
mode: "remote_local",
|
|
36
|
+
type: "indexDB"
|
|
37
|
+
}
|
|
38
|
+
});
|
|
29
39
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30
40
|
0 && (module.exports = {
|
|
31
41
|
getFormData,
|
|
@@ -95,10 +95,11 @@ var setNewCartValue = (cartValue, newProducts) => {
|
|
|
95
95
|
}
|
|
96
96
|
const selectBundleInfo = item._extend.other.bundle.find((item2) => item2.id === bundle.id);
|
|
97
97
|
const optionPrice = calculateTotalPrice((selectBundleInfo == null ? void 0 : selectBundleInfo.option) || []);
|
|
98
|
+
const isEditDiscount = item.booking_id && (bundle.discount_list || []).length;
|
|
98
99
|
return {
|
|
99
100
|
...bundle,
|
|
100
101
|
base_price: bundleItemMap[bundle.id].base_price,
|
|
101
|
-
price: new import_decimal.default(bundleItemMap[bundle.id].price || 0).add(optionPrice).toNumber()
|
|
102
|
+
price: isEditDiscount ? bundle.price : new import_decimal.default(bundleItemMap[bundle.id].price || 0).add(optionPrice).toNumber()
|
|
102
103
|
// product_price: bundleItemMap[item.id].product_price,
|
|
103
104
|
};
|
|
104
105
|
});
|
|
@@ -25,11 +25,22 @@ __export(serve_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(serve_exports);
|
|
26
26
|
var import_utils = require("../../utils");
|
|
27
27
|
var getFranchiseeCustomerInfo = async (params) => {
|
|
28
|
-
let { data } = await import_utils.request.getRequest().get(`/shop/franchisee/customer/id`, params
|
|
28
|
+
let { data } = await import_utils.request.getRequest().get(`/shop/franchisee/customer/id`, params, {
|
|
29
|
+
cache: {
|
|
30
|
+
mode: "remote_local",
|
|
31
|
+
type: "indexDB"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
29
34
|
return data;
|
|
30
35
|
};
|
|
31
36
|
var getFranchiseeCustomerList = async (params) => {
|
|
32
|
-
let { data } = await import_utils.request.getRequest().get(`/shop/franchisee/customer/select-list`, params, {
|
|
37
|
+
let { data } = await import_utils.request.getRequest().get(`/shop/franchisee/customer/select-list`, params, {
|
|
38
|
+
abort: true,
|
|
39
|
+
cache: {
|
|
40
|
+
mode: "remote_local",
|
|
41
|
+
type: "indexDB"
|
|
42
|
+
}
|
|
43
|
+
});
|
|
33
44
|
return data;
|
|
34
45
|
};
|
|
35
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -24,7 +24,12 @@ __export(serve_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(serve_exports);
|
|
25
25
|
var import_utils = require("../../utils");
|
|
26
26
|
var getFormDetail = async (id) => {
|
|
27
|
-
let { data } = await import_utils.request.getRequest().get(`/shop/form/${id}
|
|
27
|
+
let { data } = await import_utils.request.getRequest().get(`/shop/form/${id}`, {
|
|
28
|
+
cache: {
|
|
29
|
+
mode: "remote_local",
|
|
30
|
+
type: "indexDB"
|
|
31
|
+
}
|
|
32
|
+
});
|
|
28
33
|
return data;
|
|
29
34
|
};
|
|
30
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -60,7 +60,7 @@ var Lists = ({ onEdit, onChange, onAction, isParallelResource }) => {
|
|
|
60
60
|
if (type === "view" || type === "edit_product") {
|
|
61
61
|
let product = currentItem._origin;
|
|
62
62
|
let cacheItem = { ...product, new: 0 };
|
|
63
|
-
if (isParallelResource) {
|
|
63
|
+
if (isParallelResource && !(0, import_utils.isNormalProductByDurationSchedule)(product)) {
|
|
64
64
|
cacheItem = (0, import_utils2.getProductExtend)({
|
|
65
65
|
cacheItem,
|
|
66
66
|
state
|
|
@@ -25,7 +25,13 @@ __export(serve_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(serve_exports);
|
|
26
26
|
var import_utils = require("../../../utils");
|
|
27
27
|
var getAddTimeProducts = async (params, config) => {
|
|
28
|
-
let { data } = await import_utils.request.getRequest().post(`/shop/product/query`, params,
|
|
28
|
+
let { data } = await import_utils.request.getRequest().post(`/shop/product/query`, params, {
|
|
29
|
+
...config,
|
|
30
|
+
cache: {
|
|
31
|
+
mode: "remote_local",
|
|
32
|
+
type: "indexDB"
|
|
33
|
+
}
|
|
34
|
+
});
|
|
29
35
|
return data;
|
|
30
36
|
};
|
|
31
37
|
var saveAddTimeProduct = async ({ orderId, params }) => {
|
|
@@ -25,11 +25,25 @@ __export(serve_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(serve_exports);
|
|
27
27
|
var import_utils = require("../../utils");
|
|
28
|
-
var getProductDetail = async (id, params) => import_utils.request.getRequest().get(`/shop/product/query/${id}`, params
|
|
28
|
+
var getProductDetail = async (id, params) => import_utils.request.getRequest().get(`/shop/product/query/${id}`, params, {
|
|
29
|
+
cache: {
|
|
30
|
+
mode: "remote_local",
|
|
31
|
+
type: "indexDB"
|
|
32
|
+
}
|
|
33
|
+
});
|
|
29
34
|
var postMultiDay = async (id, params) => import_utils.request.getRequest().post(`/shop/product/multi-day/detail/${id}`, params, {
|
|
30
|
-
useCache: true
|
|
35
|
+
useCache: true,
|
|
36
|
+
cache: {
|
|
37
|
+
mode: "remote_local",
|
|
38
|
+
type: "indexDB"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
var getProductPrice = async (params) => import_utils.request.getRequest().post(`/shop/product/query/price`, params, {
|
|
42
|
+
cache: {
|
|
43
|
+
mode: "remote_local",
|
|
44
|
+
type: "indexDB"
|
|
45
|
+
}
|
|
31
46
|
});
|
|
32
|
-
var getProductPrice = async (params) => import_utils.request.getRequest().post(`/shop/product/query/price`, params);
|
|
33
47
|
// Annotate the CommonJS export names for ESM import in node:
|
|
34
48
|
0 && (module.exports = {
|
|
35
49
|
getProductDetail,
|
|
@@ -476,10 +476,13 @@ var getGeneralParams = (item, state, isParallelResource) => {
|
|
|
476
476
|
const parallelResourceOtherParams = {};
|
|
477
477
|
let multiResources;
|
|
478
478
|
if (isParallelResource) {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
479
|
+
let hasDataItem = item;
|
|
480
|
+
if (!isNormalProductByDurationSchedule(hasDataItem) && !hasDataItem._data) {
|
|
481
|
+
hasDataItem = (0, import_utils6.getProductExtend)({
|
|
482
|
+
cacheItem: { ...item, new: 0 },
|
|
483
|
+
state
|
|
484
|
+
});
|
|
485
|
+
}
|
|
483
486
|
const { resourceMaps, resources } = hasDataItem._data || {};
|
|
484
487
|
parallelResourceOtherParams.errorMessage = getErrorMessageInfo2(getAllErrorList(hasDataItem));
|
|
485
488
|
multiResources = resources.map((resource) => {
|
|
@@ -556,13 +559,17 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
|
|
|
556
559
|
const options = formatOptions((_c = (_b = item == null ? void 0 : item._extend) == null ? void 0 : _b.other) == null ? void 0 : _c.option);
|
|
557
560
|
const bundle = formatBundle((_e = (_d = item == null ? void 0 : item._extend) == null ? void 0 : _d.other) == null ? void 0 : _e.bundle);
|
|
558
561
|
const isNormalProduct = !import_status.appointmentTypes.includes(item == null ? void 0 : item.extension_type) || (state == null ? void 0 : state.renderType) === "eventBooking";
|
|
562
|
+
const isNormalProductByDurationScheduleVal = isNormalProductByDurationSchedule(item);
|
|
559
563
|
let resourceItem = {};
|
|
560
564
|
let errorMessage = "";
|
|
561
|
-
if (_isDayBookingProduct || isGeneral) {
|
|
565
|
+
if ((_isDayBookingProduct || isGeneral) && !isNormalProductByDurationScheduleVal) {
|
|
562
566
|
resourceItem = getResourceItem((_f = item == null ? void 0 : item._extend) == null ? void 0 : _f.resource, state);
|
|
563
567
|
errorMessage = getErrorMessage(item, resourceItem, isDayBooking(state));
|
|
564
568
|
}
|
|
565
|
-
|
|
569
|
+
let generalParams = {};
|
|
570
|
+
if (isGeneral && !isNormalProductByDurationScheduleVal) {
|
|
571
|
+
generalParams = getGeneralParams(item, state, !!isParallelResource);
|
|
572
|
+
}
|
|
566
573
|
return {
|
|
567
574
|
id: item == null ? void 0 : item.id,
|
|
568
575
|
_id: item == null ? void 0 : item._id,
|
|
@@ -27,7 +27,12 @@ module.exports = __toCommonJS(serve_exports);
|
|
|
27
27
|
var import_utils = require("../utils");
|
|
28
28
|
var import_utils2 = require("./utils");
|
|
29
29
|
var getResourceList = async (params, bookingId = []) => {
|
|
30
|
-
let { data } = await import_utils.request.getRequest().get(`/shop/schedule/resource/list`, params
|
|
30
|
+
let { data } = await import_utils.request.getRequest().get(`/shop/schedule/resource/list`, params, {
|
|
31
|
+
cache: {
|
|
32
|
+
mode: "remote_local",
|
|
33
|
+
type: "indexDB"
|
|
34
|
+
}
|
|
35
|
+
});
|
|
31
36
|
return (0, import_utils2.getFormatResourceListAndMap)(data, bookingId);
|
|
32
37
|
};
|
|
33
38
|
var createBookings = async (params) => {
|
|
@@ -397,6 +397,7 @@ var getIsAutoClose = (cacheItem) => {
|
|
|
397
397
|
};
|
|
398
398
|
var getProductExtend = ({ cacheItem, state, isDisabledTime }) => {
|
|
399
399
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
400
|
+
console.time("console.time getProductExtend");
|
|
400
401
|
const isNew = cacheItem.new || !cacheItem._extend.endDate;
|
|
401
402
|
let _cacheItem = { ...cacheItem };
|
|
402
403
|
const resourcesOriginMap = state.service.resourcesOriginMap || {};
|
|
@@ -498,7 +499,7 @@ var getProductExtend = ({ cacheItem, state, isDisabledTime }) => {
|
|
|
498
499
|
state
|
|
499
500
|
});
|
|
500
501
|
}
|
|
501
|
-
console.
|
|
502
|
+
console.timeEnd("console.time getProductExtend");
|
|
502
503
|
return _cacheItem;
|
|
503
504
|
};
|
|
504
505
|
var transServiceList = (list) => {
|
|
@@ -36,6 +36,7 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_ahooks = require("ahooks");
|
|
37
37
|
var import_skuDetailModal = __toESM(require("../../../../../pro/skuDetailModal"));
|
|
38
38
|
var import_model = require("../../../info/model");
|
|
39
|
+
var import_utils = require("../editService/utils");
|
|
39
40
|
var EditNormalService = (0, import_react.forwardRef)((props, ref) => {
|
|
40
41
|
const { state, dispatch } = (0, import_react.useContext)(import_model.Context);
|
|
41
42
|
const modalRef = (0, import_react.useRef)(null);
|
|
@@ -62,7 +63,12 @@ var EditNormalService = (0, import_react.forwardRef)((props, ref) => {
|
|
|
62
63
|
const handleConfirm = (0, import_ahooks.useMemoizedFn)((data) => {
|
|
63
64
|
var _a, _b;
|
|
64
65
|
const newProducts = (_b = ((_a = state == null ? void 0 : state.service) == null ? void 0 : _a.value) || []) == null ? void 0 : _b.map((item) => {
|
|
66
|
+
var _a2, _b2;
|
|
65
67
|
if (item._id == data._id) {
|
|
68
|
+
data = (0, import_utils.setProductPrice)(data, {
|
|
69
|
+
newTotal: (_a2 = data._extend) == null ? void 0 : _a2.total,
|
|
70
|
+
origin_total: (_b2 = data._extend) == null ? void 0 : _b2.origin_total
|
|
71
|
+
});
|
|
66
72
|
return data;
|
|
67
73
|
}
|
|
68
74
|
return item;
|
|
@@ -53,6 +53,7 @@ var import_utils5 = require("../../../info/utils");
|
|
|
53
53
|
var import_utils6 = require("../../../utils");
|
|
54
54
|
var import_utilsByBooking = require("../../utilsByBooking");
|
|
55
55
|
var import_utils7 = require("../addService/utils");
|
|
56
|
+
var import_utils8 = require("./utils");
|
|
56
57
|
var import_noteModal = __toESM(require("../../../../../plus/noteModal"));
|
|
57
58
|
var import_priceKeyboard = require("../../../../../pro/priceKeyboard");
|
|
58
59
|
var submitLock = false;
|
|
@@ -187,7 +188,7 @@ var Info = (_, ref) => {
|
|
|
187
188
|
form.setFieldsValue({ discount });
|
|
188
189
|
};
|
|
189
190
|
const onFinish = (values) => {
|
|
190
|
-
var _a2, _b2, _c2, _d2;
|
|
191
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
191
192
|
let isSuccess = (_a2 = resourcesRef.current) == null ? void 0 : _a2.check();
|
|
192
193
|
if (isShowTimeAndResource && !isSuccess) {
|
|
193
194
|
return;
|
|
@@ -222,19 +223,27 @@ var Info = (_, ref) => {
|
|
|
222
223
|
_item._time = (/* @__PURE__ */ new Date()).getTime();
|
|
223
224
|
_item._serviceKey = (0, import_utils3.genServiceKey)(_item);
|
|
224
225
|
let _id = _item == null ? void 0 : _item._id;
|
|
226
|
+
_item = (0, import_utils8.setProductPrice)(_item, {
|
|
227
|
+
newTotal: values.total,
|
|
228
|
+
origin_total: (_c2 = _item._extend) == null ? void 0 : _c2.origin_total
|
|
229
|
+
});
|
|
225
230
|
if (!_list.some((d) => d._id === _id)) {
|
|
226
231
|
const detail = (0, import_utils3.addService)(_list, _item, state);
|
|
227
232
|
_list = detail.list;
|
|
228
233
|
} else {
|
|
229
234
|
if (isChangeTotal.current) {
|
|
230
235
|
delete _item.discount_list;
|
|
236
|
+
_item = (0, import_utils8.setProductPrice)(_item, {
|
|
237
|
+
newTotal: values.total,
|
|
238
|
+
origin_total: (_d2 = _item._extend) == null ? void 0 : _d2.origin_total
|
|
239
|
+
});
|
|
231
240
|
}
|
|
232
241
|
_list = _list.map((d) => d._id === _id ? { ..._item, new: 0 } : d);
|
|
233
242
|
}
|
|
234
243
|
(0, import_utils6.deleteCacheParams)();
|
|
235
244
|
console.log("_onFinish", _list);
|
|
236
245
|
form.resetFields();
|
|
237
|
-
if (!!((
|
|
246
|
+
if (!!((_e2 = state.service.cacheItem) == null ? void 0 : _e2.new)) {
|
|
238
247
|
window.dispatchEvent(
|
|
239
248
|
new CustomEvent("onAddNewService", {
|
|
240
249
|
detail: {
|
|
@@ -243,7 +252,7 @@ var Info = (_, ref) => {
|
|
|
243
252
|
})
|
|
244
253
|
);
|
|
245
254
|
}
|
|
246
|
-
(
|
|
255
|
+
(_f2 = window.closeBookingEditModal) == null ? void 0 : _f2.call(window);
|
|
247
256
|
dispatch({
|
|
248
257
|
type: "setService",
|
|
249
258
|
payload: {
|
|
@@ -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;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,21 +16,32 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
|
|
19
29
|
// src/components/booking/info2/service/editService/utils.tsx
|
|
20
30
|
var utils_exports = {};
|
|
21
31
|
__export(utils_exports, {
|
|
22
32
|
getAutoAllocationStorage: () => getAutoAllocationStorage,
|
|
23
|
-
setAutoAllocationStorage: () => setAutoAllocationStorage
|
|
33
|
+
setAutoAllocationStorage: () => setAutoAllocationStorage,
|
|
34
|
+
setProductPrice: () => setProductPrice
|
|
24
35
|
});
|
|
25
36
|
module.exports = __toCommonJS(utils_exports);
|
|
26
37
|
var import_utils = require("@pisell/utils");
|
|
38
|
+
var import_utils2 = require("@pisell/utils");
|
|
39
|
+
var import_decimal = __toESM(require("decimal.js"));
|
|
27
40
|
var getAutoAllocationStorage = (id) => {
|
|
28
41
|
const value = localStorage.getItem("resource-auto-allocation");
|
|
29
42
|
if (value) {
|
|
30
43
|
const valueObj = JSON.parse(value);
|
|
31
|
-
return (0,
|
|
44
|
+
return (0, import_utils2.isBoolean)(valueObj[id]) ? valueObj[id] : true;
|
|
32
45
|
}
|
|
33
46
|
return true;
|
|
34
47
|
};
|
|
@@ -41,8 +54,32 @@ var setAutoAllocationStorage = (data) => {
|
|
|
41
54
|
localStorage.setItem("resource-auto-allocation", JSON.stringify({ ...data }));
|
|
42
55
|
}
|
|
43
56
|
};
|
|
57
|
+
var setProductPrice = (cacheItem, { newTotal, origin_total }) => {
|
|
58
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
59
|
+
const discountRatio = new import_decimal.default(newTotal).div(new import_decimal.default(origin_total));
|
|
60
|
+
let subTotal = new import_decimal.default(0);
|
|
61
|
+
if (((_a = cacheItem._extend.other) == null ? void 0 : _a.bundle) && (0, import_utils.isArr)((_b = cacheItem._extend.other) == null ? void 0 : _b.bundle)) {
|
|
62
|
+
(_d = (_c = cacheItem._extend.other) == null ? void 0 : _c.bundle) == null ? void 0 : _d.forEach((bundle) => {
|
|
63
|
+
const newPrice = new import_decimal.default(bundle.original_price || bundle.price).mul(discountRatio).toDecimalPlaces(2, import_decimal.default.ROUND_DOWN).toNumber();
|
|
64
|
+
const quantity = bundle.num ?? bundle.quantity ?? 1;
|
|
65
|
+
subTotal = subTotal.add(new import_decimal.default(newPrice).mul(quantity));
|
|
66
|
+
bundle.price = newPrice;
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
if (((_e = cacheItem._extend.other) == null ? void 0 : _e.option) && (0, import_utils.isArr)((_f = cacheItem._extend.other) == null ? void 0 : _f.option)) {
|
|
70
|
+
(_h = (_g = cacheItem._extend.other) == null ? void 0 : _g.option) == null ? void 0 : _h.forEach((option) => {
|
|
71
|
+
const newPrice = new import_decimal.default(option.price).mul(discountRatio).toDecimalPlaces(2, import_decimal.default.ROUND_DOWN).toNumber();
|
|
72
|
+
const quantity = option.num ?? option.quantity ?? 1;
|
|
73
|
+
subTotal = subTotal.add(new import_decimal.default(newPrice).mul(quantity));
|
|
74
|
+
option.price = newPrice;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
cacheItem._extend.price = new import_decimal.default(newTotal).sub(subTotal).toNumber();
|
|
78
|
+
return cacheItem;
|
|
79
|
+
};
|
|
44
80
|
// Annotate the CommonJS export names for ESM import in node:
|
|
45
81
|
0 && (module.exports = {
|
|
46
82
|
getAutoAllocationStorage,
|
|
47
|
-
setAutoAllocationStorage
|
|
83
|
+
setAutoAllocationStorage,
|
|
84
|
+
setProductPrice
|
|
48
85
|
});
|