@pisell/private-materials 6.6.44 → 6.6.46
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
- package/es/components/booking/addons/index.js +3 -2
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/amount.js +1 -1
- package/es/components/booking/components/footer/index.js +7 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +7 -5
- package/es/components/booking/components/voucher/index.js +6 -0
- package/es/components/booking/components/voucher/index.less +4 -1
- package/es/components/booking/components/voucherModal/index.less +1 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +8 -2
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/components/WalletPassModule/index.js +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +316 -192
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/es/components/pay/toC/index.js +66 -27
- package/es/components/pay/toC/model.d.ts +10 -1
- package/es/components/pay/toC/serve.d.ts +18 -0
- package/es/components/pay/toC/serve.js +29 -1
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +4 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
- package/lib/components/booking/addons/index.js +3 -2
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +9 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +5 -3
- package/lib/components/booking/components/voucher/index.js +6 -0
- package/lib/components/booking/components/voucher/index.less +4 -1
- package/lib/components/booking/components/voucherModal/index.less +1 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +24 -18
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +157 -108
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/lib/components/pay/toC/index.js +52 -11
- package/lib/components/pay/toC/model.d.ts +10 -1
- package/lib/components/pay/toC/serve.d.ts +18 -0
- package/lib/components/pay/toC/serve.js +6 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +4 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/locales.d.ts +0 -603
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/voucher/utils.d.ts +0 -5
- package/es/components/booking/editBookingModal/locales.d.ts +0 -33
- package/es/components/booking/editBookingModal/mock.d.ts +0 -991
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/es/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/es/components/booking/locales.d.ts +0 -1619
- package/es/components/checkout/PaymentModal.d.ts +0 -31
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/es/components/checkout/locales.d.ts +0 -853
- package/es/components/eftpos/locales.d.ts +0 -163
- package/es/components/eftposPay/locales.d.ts +0 -608
- package/es/components/eventBooking/locales.d.ts +0 -408
- package/es/components/list/locales.d.ts +0 -108
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/login/locales.d.ts +0 -38
- package/es/components/pay/toB/locales.d.ts +0 -88
- package/es/components/pay/toC/locales.d.ts +0 -511
- package/es/components/pinModal/locales.d.ts +0 -43
- package/es/components/pinVerifyModal/locales.d.ts +0 -38
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/es/components/productExtension/locales.d.ts +0 -78
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/locales.d.ts +0 -38
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/schedules/locales.d.ts +0 -143
- package/es/components/shoppingCart/locales.d.ts +0 -58
- package/es/components/stepController/locales.d.ts +0 -43
- package/es/components/subTotal/locales.d.ts +0 -68
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/locales.d.ts +0 -456
- package/es/components/systemSettings/registry/types.d.ts +0 -128
- package/es/components/taxSelect/locales.d.ts +0 -38
- package/es/components/ticketBooking/locales.d.ts +0 -328
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -43
- package/es/components/walletList/types/index.d.ts +0 -196
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/locales.d.ts +0 -28
- package/es/plus/clientCard/types.d.ts +0 -135
- package/es/plus/clinetSearch/locales.d.ts +0 -178
- package/es/plus/contactInfo/locales.d.ts +0 -23
- package/es/plus/contactInfoModal/locales.d.ts +0 -108
- package/es/plus/noteModal/locales.d.ts +0 -53
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/es/plus/productSelect/locales.d.ts +0 -38
- package/es/plus/saasAttendance/index.d.ts +0 -6
- package/es/plus/saasAttendance/locales.d.ts +0 -528
- package/es/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/es/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/es/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/es/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/es/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/index.d.ts +0 -18
- package/es/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/es/plus/saasAttendance/settings/types.d.ts +0 -130
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/es/plus/saasLogin/locales.d.ts +0 -83
- package/es/plus/saasRegister/locales.d.ts +0 -193
- package/es/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/es/plus/saasRole/index.d.ts +0 -14
- package/es/plus/saasRole/locales.d.ts +0 -319
- package/es/plus/saasRole/serve.d.ts +0 -72
- package/es/plus/saasRole/types.d.ts +0 -177
- package/es/plus/saasRole/utils.d.ts +0 -0
- package/es/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/es/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/es/plus/saasTeamMembers/index.d.ts +0 -5
- package/es/plus/saasTeamMembers/locales.d.ts +0 -546
- package/es/plus/saasTeamMembers/serve.d.ts +0 -95
- package/es/plus/saasTeamMembers/type.d.ts +0 -158
- package/es/plus/selectHolder/locales.d.ts +0 -38
- package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/es/plus/walletEditor/locales.d.ts +0 -223
- package/es/plus/walletEditor/types.d.ts +0 -54
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/es/plus/walletPassGallery/index.d.ts +0 -11
- package/es/plus/walletPassGallery/locales.d.ts +0 -473
- package/es/plus/walletPassGallery/serve.d.ts +0 -245
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/locales.d.ts +0 -903
- package/es/pro/Login2.0/shared/types.d.ts +0 -234
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/es/pro/numberKeyboard/locales.d.ts +0 -18
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/es/pro/skuDetailModal/locales.d.ts +0 -78
- package/es/pro/skuDetailModal/types.d.ts +0 -352
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/locales.d.ts +0 -603
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -413
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -138
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -118
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -35
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -43
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -108
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -28
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -63
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -108
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -178
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -93
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -148
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -88
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -78
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -88
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/voucher/utils.d.ts +0 -5
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -33
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -991
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -33
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -216
- package/lib/components/booking/info2/service/editService/DiscountChangeModal/index.d.ts +0 -25
- package/lib/components/booking/locales.d.ts +0 -1619
- package/lib/components/checkout/PaymentModal.d.ts +0 -31
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -58
- package/lib/components/checkout/locales.d.ts +0 -853
- package/lib/components/eftpos/locales.d.ts +0 -163
- package/lib/components/eftposPay/locales.d.ts +0 -608
- package/lib/components/eventBooking/locales.d.ts +0 -408
- package/lib/components/list/locales.d.ts +0 -108
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/login/locales.d.ts +0 -38
- package/lib/components/pay/toB/locales.d.ts +0 -88
- package/lib/components/pay/toC/locales.d.ts +0 -511
- package/lib/components/pinModal/locales.d.ts +0 -43
- package/lib/components/pinVerifyModal/locales.d.ts +0 -38
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -133
- package/lib/components/productExtension/locales.d.ts +0 -78
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/locales.d.ts +0 -38
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/schedules/locales.d.ts +0 -143
- package/lib/components/shoppingCart/locales.d.ts +0 -58
- package/lib/components/stepController/locales.d.ts +0 -43
- package/lib/components/subTotal/locales.d.ts +0 -68
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/locales.d.ts +0 -456
- package/lib/components/systemSettings/registry/types.d.ts +0 -128
- package/lib/components/taxSelect/locales.d.ts +0 -38
- package/lib/components/ticketBooking/locales.d.ts +0 -328
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -33
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -43
- package/lib/components/walletList/types/index.d.ts +0 -196
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/locales.d.ts +0 -28
- package/lib/plus/clientCard/types.d.ts +0 -135
- package/lib/plus/clinetSearch/locales.d.ts +0 -178
- package/lib/plus/contactInfo/locales.d.ts +0 -23
- package/lib/plus/contactInfoModal/locales.d.ts +0 -108
- package/lib/plus/noteModal/locales.d.ts +0 -53
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -164
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/lib/plus/productSelect/locales.d.ts +0 -38
- package/lib/plus/saasAttendance/index.d.ts +0 -6
- package/lib/plus/saasAttendance/locales.d.ts +0 -528
- package/lib/plus/saasAttendance/settings/BasicInfoTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/ClockInMethodTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/CorrectionPolicyTab.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/ShiftScheduleTab.d.ts +0 -5
- package/lib/plus/saasAttendance/settings/components/MapField.d.ts +0 -78
- package/lib/plus/saasAttendance/settings/components/index.d.ts +0 -3
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -8
- package/lib/plus/saasAttendance/settings/components/shiftModal/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/index.d.ts +0 -18
- package/lib/plus/saasAttendance/settings/serve.d.ts +0 -27
- package/lib/plus/saasAttendance/settings/types.d.ts +0 -130
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -23
- package/lib/plus/saasLogin/locales.d.ts +0 -83
- package/lib/plus/saasRegister/locales.d.ts +0 -193
- package/lib/plus/saasRole/components/PermissionManager/index.d.ts +0 -19
- package/lib/plus/saasRole/index.d.ts +0 -14
- package/lib/plus/saasRole/locales.d.ts +0 -319
- package/lib/plus/saasRole/serve.d.ts +0 -72
- package/lib/plus/saasRole/types.d.ts +0 -177
- package/lib/plus/saasRole/utils.d.ts +0 -0
- package/lib/plus/saasTeamMembers/components/MemberDrawer/ExtensionFormTabContent.d.ts +0 -31
- package/lib/plus/saasTeamMembers/components/MemberDrawer/index.d.ts +0 -23
- package/lib/plus/saasTeamMembers/index.d.ts +0 -5
- package/lib/plus/saasTeamMembers/locales.d.ts +0 -546
- package/lib/plus/saasTeamMembers/serve.d.ts +0 -95
- package/lib/plus/saasTeamMembers/type.d.ts +0 -158
- package/lib/plus/selectHolder/locales.d.ts +0 -38
- package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -39
- package/lib/plus/walletEditor/locales.d.ts +0 -223
- package/lib/plus/walletEditor/types.d.ts +0 -54
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -12
- package/lib/plus/walletPassGallery/index.d.ts +0 -11
- package/lib/plus/walletPassGallery/locales.d.ts +0 -473
- package/lib/plus/walletPassGallery/serve.d.ts +0 -245
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/locales.d.ts +0 -903
- package/lib/pro/Login2.0/shared/types.d.ts +0 -234
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +0 -23
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -23
- package/lib/pro/numberKeyboard/locales.d.ts +0 -18
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -18
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -63
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -68
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -73
- package/lib/pro/skuDetailModal/locales.d.ts +0 -78
- package/lib/pro/skuDetailModal/types.d.ts +0 -352
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from '../model';
|
|
1
3
|
export declare const walkInData: {
|
|
2
4
|
id: number;
|
|
3
5
|
nickname: string;
|
|
4
6
|
};
|
|
5
|
-
export declare const Provider: any, Context:
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
8
|
+
state: FormState;
|
|
9
|
+
} & {
|
|
10
|
+
dispatch: (params: {
|
|
11
|
+
type: string;
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
}>;
|
|
@@ -61,12 +61,13 @@ var import_EditTabs = __toESM(require("../../../info/service/editService/EditTab
|
|
|
61
61
|
var import_BookingList = __toESM(require("../../../info/service/editService/BookingList"));
|
|
62
62
|
var import_dayjs = __toESM(require("dayjs"));
|
|
63
63
|
var import_utils9 = require("../../../info/service2/Group/utils");
|
|
64
|
+
var import_useEngineContext = __toESM(require("../../../../../hooks/useEngineContext"));
|
|
64
65
|
var import_useShopDiscountModule = require("../../../../ticketBooking/hooks/pisellos/useShopDiscountModule");
|
|
65
66
|
var import_DiscountChangeModal = __toESM(require("./DiscountChangeModal"));
|
|
66
67
|
var import_decimal = __toESM(require("decimal.js"));
|
|
67
68
|
var submitLock = false;
|
|
68
69
|
var Info = (_, ref) => {
|
|
69
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K;
|
|
70
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L;
|
|
70
71
|
const [form] = import_antd.Form.useForm();
|
|
71
72
|
const useTotal = import_antd.Form.useWatch("total", form);
|
|
72
73
|
const useResource = import_antd.Form.useWatch("resource", form);
|
|
@@ -85,6 +86,10 @@ var Info = (_, ref) => {
|
|
|
85
86
|
const [noteModalOpen, setNoteModalOpen] = (0, import_react.useState)(false);
|
|
86
87
|
const [open, setOpen] = (0, import_react.useState)(false);
|
|
87
88
|
const [currentTab, setCurrentTab] = (0, import_react.useState)("batch_edit");
|
|
89
|
+
const context = (0, import_useEngineContext.default)();
|
|
90
|
+
const {
|
|
91
|
+
getData
|
|
92
|
+
} = (_a = context.appHelper) == null ? void 0 : _a.utils;
|
|
88
93
|
const valuesRef = (0, import_react.useRef)({});
|
|
89
94
|
const noInOriginalDiscountIdsRef = (0, import_react.useRef)([]);
|
|
90
95
|
const isEditedRef = (0, import_react.useRef)(false);
|
|
@@ -102,7 +107,7 @@ var Info = (_, ref) => {
|
|
|
102
107
|
return true;
|
|
103
108
|
}
|
|
104
109
|
return ((_b2 = state == null ? void 0 : state.service) == null ? void 0 : _b2.cacheItem) && (0, import_utils4.isNormalProductByDurationSchedule)((_c2 = state == null ? void 0 : state.service) == null ? void 0 : _c2.cacheItem);
|
|
105
|
-
}, [(
|
|
110
|
+
}, [(_b = state == null ? void 0 : state.service) == null ? void 0 : _b.cacheItem]);
|
|
106
111
|
const getCurrentCacheItem = (0, import_ahooks.useMemoizedFn)((_cacheItem) => {
|
|
107
112
|
let values = form.getFieldsValue();
|
|
108
113
|
let _item = _cacheItem || state.service.cacheItem;
|
|
@@ -132,7 +137,7 @@ var Info = (_, ref) => {
|
|
|
132
137
|
state.service.cacheItem,
|
|
133
138
|
useStartTime,
|
|
134
139
|
useResource,
|
|
135
|
-
(
|
|
140
|
+
(_e = (_d = (_c = state.bookingConfig) == null ? void 0 : _c.config) == null ? void 0 : _d.basic) == null ? void 0 : _e.service_time
|
|
136
141
|
]);
|
|
137
142
|
const flexibleOption = (0, import_react.useMemo)(() => {
|
|
138
143
|
const op = (0, import_utils7.getFlexibleOption)({
|
|
@@ -154,7 +159,7 @@ var Info = (_, ref) => {
|
|
|
154
159
|
durationProps,
|
|
155
160
|
useStartTime,
|
|
156
161
|
currentResource,
|
|
157
|
-
(
|
|
162
|
+
(_h = (_g = (_f = state.bookingConfig) == null ? void 0 : _f.config) == null ? void 0 : _g.basic) == null ? void 0 : _h.service_time,
|
|
158
163
|
useDuration
|
|
159
164
|
]);
|
|
160
165
|
(0, import_react.useEffect)(() => {
|
|
@@ -251,6 +256,7 @@ var Info = (_, ref) => {
|
|
|
251
256
|
}, 1500);
|
|
252
257
|
let _list = [...state.service.value];
|
|
253
258
|
let _item = {
|
|
259
|
+
is_price_include_tax: getData("is_price_include_tax"),
|
|
254
260
|
...cacheItem ?? state.service.cacheItem,
|
|
255
261
|
autoClose: false
|
|
256
262
|
};
|
|
@@ -430,7 +436,7 @@ var Info = (_, ref) => {
|
|
|
430
436
|
let oPrice = Number(((_a2 = state.service.cacheItem) == null ? void 0 : _a2._extend.origin_total) || 0);
|
|
431
437
|
let cPrice = Number(useTotal || 0);
|
|
432
438
|
return cPrice !== oPrice;
|
|
433
|
-
}, [useTotal, (
|
|
439
|
+
}, [useTotal, (_j = (_i = state.service.cacheItem) == null ? void 0 : _i._extend) == null ? void 0 : _j.origin_total]);
|
|
434
440
|
const getResources = () => {
|
|
435
441
|
var _a2, _b2;
|
|
436
442
|
let res = (0, import_utils7.formatResources)({
|
|
@@ -494,11 +500,11 @@ var Info = (_, ref) => {
|
|
|
494
500
|
}, [state.service.editModal, state.isBookingCreatePage]);
|
|
495
501
|
(0, import_react.useEffect)(() => {
|
|
496
502
|
getDiscount();
|
|
497
|
-
}, [useTotal, (
|
|
503
|
+
}, [useTotal, (_l = (_k = state.service.cacheItem) == null ? void 0 : _k._extend) == null ? void 0 : _l.origin_total]);
|
|
498
504
|
const bundles = (0, import_react.useMemo)(() => {
|
|
499
505
|
var _a2, _b2, _c2, _d2;
|
|
500
506
|
return ((_d2 = (_c2 = (_b2 = (_a2 = state.service) == null ? void 0 : _a2.cacheItem) == null ? void 0 : _b2._extend) == null ? void 0 : _c2.other) == null ? void 0 : _d2.bundle) || [];
|
|
501
|
-
}, [(
|
|
507
|
+
}, [(_p = (_o = (_n = (_m = state.service) == null ? void 0 : _m.cacheItem) == null ? void 0 : _n._extend) == null ? void 0 : _o.other) == null ? void 0 : _p.bundle]);
|
|
502
508
|
const handleEdit = (0, import_ahooks.useMemoizedFn)((e) => {
|
|
503
509
|
var _a2, _b2, _c2, _d2, _e2;
|
|
504
510
|
const item = state.service.cacheItem;
|
|
@@ -629,7 +635,7 @@ var Info = (_, ref) => {
|
|
|
629
635
|
}
|
|
630
636
|
return false;
|
|
631
637
|
}, [state.renderType, isNormalProduct]);
|
|
632
|
-
const SelectTime = (
|
|
638
|
+
const SelectTime = (_q = window.BaseMaterials) == null ? void 0 : _q.SelectTime;
|
|
633
639
|
const isNoSpecAndPackage = (0, import_utilsByBooking.getIsNoSpecAndPackage)(state.service.cacheItem);
|
|
634
640
|
const items = (0, import_react.useMemo)(() => {
|
|
635
641
|
var _a2, _b2;
|
|
@@ -666,7 +672,7 @@ var Info = (_, ref) => {
|
|
|
666
672
|
}
|
|
667
673
|
))));
|
|
668
674
|
}, [
|
|
669
|
-
(
|
|
675
|
+
(_t = (_s = (_r = state.service) == null ? void 0 : _r.cacheItem) == null ? void 0 : _s._extend) == null ? void 0 : _t.product_name,
|
|
670
676
|
bundles,
|
|
671
677
|
state.amountSymbol,
|
|
672
678
|
state.isBookingCreatePage
|
|
@@ -711,7 +717,7 @@ var Info = (_, ref) => {
|
|
|
711
717
|
));
|
|
712
718
|
}, [
|
|
713
719
|
useTotal,
|
|
714
|
-
(
|
|
720
|
+
(_v = (_u = state.service.cacheItem) == null ? void 0 : _u._extend) == null ? void 0 : _v.origin_total,
|
|
715
721
|
state.amountSymbol,
|
|
716
722
|
state.channelDisabledEdit
|
|
717
723
|
]);
|
|
@@ -759,7 +765,7 @@ var Info = (_, ref) => {
|
|
|
759
765
|
}
|
|
760
766
|
) : null
|
|
761
767
|
));
|
|
762
|
-
}, [SelectTime, (
|
|
768
|
+
}, [SelectTime, (_z = (_y = (_x = (_w = state.bookingConfig) == null ? void 0 : _w.config) == null ? void 0 : _x.basic) == null ? void 0 : _y.service_time) == null ? void 0 : _z.value, isEditGroup]);
|
|
763
769
|
const endTime = (0, import_react.useMemo)(() => {
|
|
764
770
|
if (!isEditGroup) {
|
|
765
771
|
return null;
|
|
@@ -798,8 +804,8 @@ var Info = (_, ref) => {
|
|
|
798
804
|
));
|
|
799
805
|
}, [
|
|
800
806
|
state.renderType,
|
|
801
|
-
(
|
|
802
|
-
(
|
|
807
|
+
(_B = (_A = state.service.cacheItem) == null ? void 0 : _A._data) == null ? void 0 : _B.resources,
|
|
808
|
+
(_D = (_C = state.service.cacheItem) == null ? void 0 : _C._data) == null ? void 0 : _D.resourceMaps
|
|
803
809
|
]);
|
|
804
810
|
const holder = (0, import_react.useMemo)(() => {
|
|
805
811
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
@@ -837,7 +843,7 @@ var Info = (_, ref) => {
|
|
|
837
843
|
}, [
|
|
838
844
|
state.locale,
|
|
839
845
|
state.isTerminal,
|
|
840
|
-
(
|
|
846
|
+
(_G = (_F = (_E = state.service) == null ? void 0 : _E.cacheItem) == null ? void 0 : _F._data) == null ? void 0 : _G.capacitys
|
|
841
847
|
]);
|
|
842
848
|
const hiddenQuantity = (0, import_react.useMemo)(() => {
|
|
843
849
|
return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { hidden: true, name: "quantity" }, /* @__PURE__ */ import_react.default.createElement(import_antd.InputNumber, null));
|
|
@@ -917,10 +923,10 @@ var Info = (_, ref) => {
|
|
|
917
923
|
import_utils.locales.getText("pisell2.text.apply")
|
|
918
924
|
)
|
|
919
925
|
);
|
|
920
|
-
}, [(
|
|
926
|
+
}, [(_H = state.service.resourcesOrigin) == null ? void 0 : _H.length, isNormalProduct]);
|
|
921
927
|
console.log("render edit");
|
|
922
928
|
console.log(
|
|
923
|
-
state.service.editModal && !((
|
|
929
|
+
state.service.editModal && !((_I = state.service.cacheItem) == null ? void 0 : _I.autoClose),
|
|
924
930
|
performance.now() - window.pp1,
|
|
925
931
|
"打开商品1"
|
|
926
932
|
);
|
|
@@ -1055,7 +1061,7 @@ var Info = (_, ref) => {
|
|
|
1055
1061
|
zIndex: state.service.changeService ? 999 : 1e3,
|
|
1056
1062
|
forceRender: true,
|
|
1057
1063
|
mask: state.drawerMask,
|
|
1058
|
-
open: !isNoSpecAndPackage && state.service.editModal && !((
|
|
1064
|
+
open: !isNoSpecAndPackage && state.service.editModal && !((_J = state.service.cacheItem) == null ? void 0 : _J.autoClose),
|
|
1059
1065
|
title: import_utils.locales.getText("pisell2.text.edit-service"),
|
|
1060
1066
|
onClose: () => {
|
|
1061
1067
|
var _a2;
|
|
@@ -1081,7 +1087,7 @@ var Info = (_, ref) => {
|
|
|
1081
1087
|
display: currentTab === "batch_edit" ? "block" : "none"
|
|
1082
1088
|
}
|
|
1083
1089
|
},
|
|
1084
|
-
/* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, endTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity, !(0, import_utils4.isNormalProductByDurationSchedule)(state.service.cacheItem) && !(0, import_utils6.isWalkIn)((
|
|
1090
|
+
/* @__PURE__ */ import_react.default.createElement(import_antd.Row, { style: { width: "100%" }, gutter: [16, 0] }, productName, price, reason, val && isShowTimeAndResource && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, startTime, endTime, duration, resource, capacity, hiddenQuantity), isNormalProduct && quantity, !(0, import_utils4.isNormalProductByDurationSchedule)(state.service.cacheItem) && !(0, import_utils6.isWalkIn)((_L = (_K = state.client) == null ? void 0 : _K.value) == null ? void 0 : _L.id) && holder),
|
|
1085
1091
|
/* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { noStyle: true, name: "note" }, noteModalOpen && /* @__PURE__ */ import_react.default.createElement(
|
|
1086
1092
|
import_noteModal.default,
|
|
1087
1093
|
{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
amountSymbol: string;
|
|
3
4
|
apis: {
|
|
@@ -109,4 +110,11 @@ export declare const walkInData: {
|
|
|
109
110
|
id: number;
|
|
110
111
|
nickname: string;
|
|
111
112
|
};
|
|
112
|
-
export declare const Provider: any, Context:
|
|
113
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
114
|
+
state: FormState;
|
|
115
|
+
} & {
|
|
116
|
+
dispatch: (params: {
|
|
117
|
+
type: string;
|
|
118
|
+
payload: any;
|
|
119
|
+
}) => void;
|
|
120
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from "../model";
|
|
3
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
+
state: FormState;
|
|
5
|
+
} & {
|
|
6
|
+
dispatch: (params: {
|
|
7
|
+
type: string;
|
|
8
|
+
payload: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
}>;
|
|
@@ -175,10 +175,10 @@ export declare const getProductOriginTotalPrice: (item: any) => number;
|
|
|
175
175
|
export declare const getDuration: (duration: number | {
|
|
176
176
|
type: string;
|
|
177
177
|
value: number;
|
|
178
|
-
}) => number |
|
|
178
|
+
}) => number | {
|
|
179
179
|
type: string;
|
|
180
180
|
value: number;
|
|
181
|
-
};
|
|
181
|
+
} | "flexible";
|
|
182
182
|
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
183
183
|
export declare const getIsEdit: (state: any) => boolean;
|
|
184
184
|
export {};
|
|
@@ -68,6 +68,7 @@ var WalletPassModule = (0, import_react.forwardRef)(
|
|
|
68
68
|
} = (0, import_useWalletPass.useWalletPass)({
|
|
69
69
|
onSelectChange,
|
|
70
70
|
customAmount,
|
|
71
|
+
totalAmount: Number(orderInfo == null ? void 0 : orderInfo.totalAmount) || 0,
|
|
71
72
|
clientId
|
|
72
73
|
});
|
|
73
74
|
const [expiredModalVisible, setExpiredModalVisible] = (0, import_react.useState)(false);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare type WalletPassDataType = Record<string, any>;
|
|
2
2
|
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => any;
|
|
3
3
|
export declare const voucherTime: (data: WalletPassDataType, key?: string) => any;
|
|
4
|
+
export declare const getVoucherAvailableStatus: (item: any) => boolean;
|
|
4
5
|
export declare const formatMachineCodeServer2CardList: (data: WalletPassDataType[], selectId?: number[], otherProps?: Record<string, any>) => any;
|
|
5
6
|
export declare const formatDiscountWalletData: (data: any, selectId?: number[]) => any;
|
|
6
7
|
export interface WalletPassUsageUnit {
|
|
@@ -33,6 +33,7 @@ __export(utils_exports, {
|
|
|
33
33
|
formatMachineCodeServer2CardList: () => formatMachineCodeServer2CardList,
|
|
34
34
|
getAvailableMaxAmount: () => getAvailableMaxAmount,
|
|
35
35
|
getPointCardAmount: () => getPointCardAmount,
|
|
36
|
+
getVoucherAvailableStatus: () => getVoucherAvailableStatus,
|
|
36
37
|
isSameContent: () => isSameContent,
|
|
37
38
|
voucherTime: () => voucherTime
|
|
38
39
|
});
|
|
@@ -43,6 +44,9 @@ var import_materials = require("@pisell/materials");
|
|
|
43
44
|
var import_decimal = __toESM(require("decimal.js"));
|
|
44
45
|
var Amount = import_materials.PisellText.Amount;
|
|
45
46
|
var getAvailableMaxAmount = (data) => {
|
|
47
|
+
if ((0, import_utils.isNumber)(data._available_max_amount)) {
|
|
48
|
+
return data._available_max_amount;
|
|
49
|
+
}
|
|
46
50
|
return data.tag !== "point_card" ? data.available_max_amount : data == null ? void 0 : data.recommended_usage_amount;
|
|
47
51
|
};
|
|
48
52
|
var voucherTime = (data, key = "expire_date") => {
|
|
@@ -55,9 +59,20 @@ var voucherTime = (data, key = "expire_date") => {
|
|
|
55
59
|
}
|
|
56
60
|
return import_utils.locales.getText("pisell2.text.walletPassPermanent");
|
|
57
61
|
};
|
|
62
|
+
var getVoucherAvailableStatus = (item) => {
|
|
63
|
+
return item.unified_available_status === 1 && ((0, import_utils.isNumber)(item._unified_available_status) ? !!item._unified_available_status : true);
|
|
64
|
+
};
|
|
58
65
|
var formatMachineCodeServer2CardList = (data, selectId = [], otherProps = {}) => {
|
|
59
66
|
return (data || []).map((item) => {
|
|
60
67
|
var _a, _b;
|
|
68
|
+
let disabled = false;
|
|
69
|
+
if (item.unified_available_status === 0) {
|
|
70
|
+
disabled = true;
|
|
71
|
+
} else {
|
|
72
|
+
if ((0, import_utils.isNumber)(item._unified_available_status)) {
|
|
73
|
+
disabled = !item._unified_available_status;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
61
76
|
return {
|
|
62
77
|
id: item.id,
|
|
63
78
|
name: item.product_name,
|
|
@@ -74,8 +89,8 @@ var formatMachineCodeServer2CardList = (data, selectId = [], otherProps = {}) =>
|
|
|
74
89
|
showQrCode: false,
|
|
75
90
|
showStatus: true,
|
|
76
91
|
code: item.code,
|
|
77
|
-
disabled
|
|
78
|
-
disabledReason: (_a = item.unified_messages) == null ? void 0 : _a.title,
|
|
92
|
+
disabled,
|
|
93
|
+
disabledReason: (0, import_utils.isNumber)(item._unified_available_status) && item._unified_available_status !== 1 ? item.reason : (_a = item.unified_messages) == null ? void 0 : _a.title,
|
|
79
94
|
cover: (_b = item.product) == null ? void 0 : _b.cover,
|
|
80
95
|
qrCode: item.code,
|
|
81
96
|
validDate: voucherTime(item),
|
|
@@ -153,6 +168,7 @@ var isSameContent = (arr1, arr2) => {
|
|
|
153
168
|
formatMachineCodeServer2CardList,
|
|
154
169
|
getAvailableMaxAmount,
|
|
155
170
|
getPointCardAmount,
|
|
171
|
+
getVoucherAvailableStatus,
|
|
156
172
|
isSameContent,
|
|
157
173
|
voucherTime
|
|
158
174
|
});
|
|
@@ -9,6 +9,7 @@ export declare const useWalletPass: (props: {
|
|
|
9
9
|
}[]) => void) | undefined;
|
|
10
10
|
customAmount?: string | undefined;
|
|
11
11
|
clientId?: number | undefined;
|
|
12
|
+
totalAmount?: number | undefined;
|
|
12
13
|
}) => {
|
|
13
14
|
walletRecommendList: any[];
|
|
14
15
|
userIdentificationCodes: any[];
|
|
@@ -29,7 +30,6 @@ export declare const useWalletPass: (props: {
|
|
|
29
30
|
selectedDiscountList: any;
|
|
30
31
|
handleSelectDiscount: (this: unknown, value: number[], option: any) => void;
|
|
31
32
|
customerName: any;
|
|
32
|
-
fetchWalletRecommendList: (this: unknown, params: any) => Promise<any>;
|
|
33
33
|
fetchUserIdentificationCodes: (this: unknown, params: any) => Promise<any>;
|
|
34
34
|
getCachedWalletRecommendList: (this: unknown) => any;
|
|
35
35
|
getCachedUserIdentificationCodes: (this: unknown) => any;
|