@pisell/private-materials 6.3.143 → 6.3.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +145 -153
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.js +10 -10
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/utils.d.ts +227 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/locales.d.ts +1489 -0
- package/es/components/booking/model.d.ts +120 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/es/components/ecocup/cupList/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +20 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/network.d.ts +8 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/component/manual/index.d.ts +9 -0
- package/es/components/eftposPay/component/signature/index.d.ts +8 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/tip.d.ts +9 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/locales.d.ts +48 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +631 -0
- package/es/components/pay/toC/payGroup.d.ts +59 -0
- package/es/components/pay/toC/serve.d.ts +87 -0
- package/es/components/pay/toC/utils.d.ts +65 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/scanOrder/components/Cart/index.d.ts +16 -0
- package/es/components/scanOrder/components/Footer/index.d.ts +12 -0
- package/es/components/scanOrder/components/Menu/index.d.ts +18 -0
- package/es/components/scanOrder/context.d.ts +4 -0
- package/es/components/scanOrder/context.js +16 -8
- package/es/components/scanOrder/types.d.ts +79 -0
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/services.d.ts +99 -0
- package/es/components/systemSettings/registry/types.d.ts +143 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/venueBooking/components/Addons/index.d.ts +3 -0
- package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/es/components/venueBooking/components/Checkout/index.d.ts +2 -0
- package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/es/components/venueBooking/components/Header/index.d.ts +2 -0
- package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
- package/es/components/venueBooking/context.d.ts +9 -0
- package/es/components/venueBooking/hooks.d.ts +72 -0
- package/es/components/venueBooking/index.d.ts +6 -0
- package/es/components/venueBooking/locales.d.ts +627 -0
- package/es/components/venueBooking/types.d.ts +204 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/index.d.ts +87 -0
- package/es/plus/orderList/components/HandleActions.d.ts +0 -1
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/es/plus/orderList/components/Reset.d.ts +0 -1
- package/es/plus/orderList/components/Toolbar.d.ts +0 -1
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/es/plus/skuOptionsSelection/types.d.ts +458 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/es/plus/walletPassGallery/locales.d.ts +5 -0
- package/es/plus/walletPassGallery/locales.js +14 -5
- package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/utils.d.ts +227 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/locales.d.ts +1489 -0
- package/lib/components/booking/model.d.ts +120 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/lib/components/ecocup/cupList/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +20 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/tip.d.ts +9 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +631 -0
- package/lib/components/pay/toC/payGroup.d.ts +59 -0
- package/lib/components/pay/toC/serve.d.ts +87 -0
- package/lib/components/pay/toC/utils.d.ts +65 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/scanOrder/components/Cart/index.d.ts +16 -0
- package/lib/components/scanOrder/components/Footer/index.d.ts +12 -0
- package/lib/components/scanOrder/components/Menu/index.d.ts +18 -0
- package/lib/components/scanOrder/context.d.ts +4 -0
- package/lib/components/scanOrder/context.js +6 -0
- package/lib/components/scanOrder/types.d.ts +79 -0
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/services.d.ts +99 -0
- package/lib/components/systemSettings/registry/types.d.ts +143 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/venueBooking/components/Addons/index.d.ts +3 -0
- package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -0
- package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/venueBooking/components/Header/index.d.ts +2 -0
- package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
- package/lib/components/venueBooking/context.d.ts +9 -0
- package/lib/components/venueBooking/hooks.d.ts +72 -0
- package/lib/components/venueBooking/index.d.ts +6 -0
- package/lib/components/venueBooking/locales.d.ts +627 -0
- package/lib/components/venueBooking/types.d.ts +204 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/index.d.ts +87 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/lib/plus/orderList/components/Reset.d.ts +0 -1
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/locales.d.ts +5 -0
- package/lib/plus/walletPassGallery/locales.js +14 -5
- package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
|
|
2
|
+
export interface CreateGroupParams {
|
|
3
|
+
section_code: string;
|
|
4
|
+
code: string;
|
|
5
|
+
title: MultiLanguageText;
|
|
6
|
+
sort: number;
|
|
7
|
+
description?: MultiLanguageText;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateGroupParams {
|
|
10
|
+
id: number;
|
|
11
|
+
code: string;
|
|
12
|
+
title: MultiLanguageText;
|
|
13
|
+
description?: MultiLanguageText;
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteGroupParams {
|
|
16
|
+
id: number;
|
|
17
|
+
}
|
|
18
|
+
export interface SortGroupParams {
|
|
19
|
+
section_code: string;
|
|
20
|
+
group_ids: number[];
|
|
21
|
+
}
|
|
22
|
+
export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
23
|
+
export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
24
|
+
export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
|
|
25
|
+
export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
|
|
26
|
+
export declare const getSectionList: (request: any, params: {
|
|
27
|
+
page?: number;
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
filter?: Record<string, any>;
|
|
30
|
+
}) => Promise<ApiResponse<Section>>;
|
|
31
|
+
export declare const getGroupList: (request: any, params: {
|
|
32
|
+
page?: number;
|
|
33
|
+
pageSize?: number;
|
|
34
|
+
filter?: Record<string, any>;
|
|
35
|
+
}) => Promise<ApiResponse<SettingGroup>>;
|
|
36
|
+
export interface CreateItemParams {
|
|
37
|
+
section_code: string;
|
|
38
|
+
group_id: number;
|
|
39
|
+
code: string;
|
|
40
|
+
title: MultiLanguageText;
|
|
41
|
+
description?: MultiLanguageText;
|
|
42
|
+
type: string;
|
|
43
|
+
interface?: string;
|
|
44
|
+
default?: string | null;
|
|
45
|
+
scopes?: string[];
|
|
46
|
+
schema?: any;
|
|
47
|
+
optionConfig?: {
|
|
48
|
+
sourceType?: string;
|
|
49
|
+
options?: Array<{
|
|
50
|
+
label: string;
|
|
51
|
+
value: string;
|
|
52
|
+
}>;
|
|
53
|
+
labelField?: string;
|
|
54
|
+
valueField?: string;
|
|
55
|
+
dataSource?: any;
|
|
56
|
+
};
|
|
57
|
+
sort?: number;
|
|
58
|
+
}
|
|
59
|
+
export interface UpdateItemParams {
|
|
60
|
+
id: number;
|
|
61
|
+
section_code: string;
|
|
62
|
+
group_id: number;
|
|
63
|
+
code: string;
|
|
64
|
+
title: MultiLanguageText;
|
|
65
|
+
description?: MultiLanguageText;
|
|
66
|
+
type: string;
|
|
67
|
+
interface?: string;
|
|
68
|
+
default?: string | null;
|
|
69
|
+
scopes?: string[];
|
|
70
|
+
schema?: any;
|
|
71
|
+
optionConfig?: {
|
|
72
|
+
sourceType?: string;
|
|
73
|
+
options?: Array<{
|
|
74
|
+
label: string;
|
|
75
|
+
value: string;
|
|
76
|
+
}>;
|
|
77
|
+
labelField?: string;
|
|
78
|
+
valueField?: string;
|
|
79
|
+
dataSource?: any;
|
|
80
|
+
};
|
|
81
|
+
sort?: number;
|
|
82
|
+
}
|
|
83
|
+
export interface DeleteItemParams {
|
|
84
|
+
id: number;
|
|
85
|
+
}
|
|
86
|
+
export interface SortItemParams {
|
|
87
|
+
id: number;
|
|
88
|
+
group_id: string;
|
|
89
|
+
item_ids: number[];
|
|
90
|
+
}
|
|
91
|
+
export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
92
|
+
export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
93
|
+
export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
|
|
94
|
+
export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
|
|
95
|
+
export declare const getItemList: (request: any, params: {
|
|
96
|
+
page?: number;
|
|
97
|
+
pageSize?: number;
|
|
98
|
+
filter?: Record<string, any>;
|
|
99
|
+
}) => Promise<ApiResponse<SettingItem>>;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface MultiLanguageText {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
'ja': string;
|
|
7
|
+
'pt': string;
|
|
8
|
+
original: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BaseItem {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string | MultiLanguageText;
|
|
13
|
+
code: string;
|
|
14
|
+
order?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SettingItem extends BaseItem {
|
|
17
|
+
key?: string;
|
|
18
|
+
scopes?: string[];
|
|
19
|
+
groupId?: number;
|
|
20
|
+
group_id?: number;
|
|
21
|
+
fieldType?: string;
|
|
22
|
+
type?: string;
|
|
23
|
+
interfaceType?: string;
|
|
24
|
+
interface?: string;
|
|
25
|
+
description?: string | MultiLanguageText;
|
|
26
|
+
systemDefaultValue?: string;
|
|
27
|
+
default?: string;
|
|
28
|
+
schema?: any;
|
|
29
|
+
title?: string | MultiLanguageText;
|
|
30
|
+
sort: number;
|
|
31
|
+
created_at?: string | null;
|
|
32
|
+
updated_at?: string | null;
|
|
33
|
+
deleted_at?: string | null;
|
|
34
|
+
}
|
|
35
|
+
export interface SettingGroup extends BaseItem {
|
|
36
|
+
items: SettingItem[];
|
|
37
|
+
expanded?: boolean;
|
|
38
|
+
sort: number;
|
|
39
|
+
description?: MultiLanguageText;
|
|
40
|
+
title?: MultiLanguageText;
|
|
41
|
+
}
|
|
42
|
+
export interface Section extends BaseItem {
|
|
43
|
+
icon?: string;
|
|
44
|
+
description?: string | MultiLanguageText;
|
|
45
|
+
groups: SettingGroup[];
|
|
46
|
+
created_at?: string | null;
|
|
47
|
+
updated_at?: string | null;
|
|
48
|
+
deleted_at?: string | null;
|
|
49
|
+
}
|
|
50
|
+
export interface TreeNode {
|
|
51
|
+
key: string;
|
|
52
|
+
type: 'group' | 'item';
|
|
53
|
+
data: SettingGroup | SettingItem;
|
|
54
|
+
children?: TreeNode[];
|
|
55
|
+
parentKey?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
58
|
+
export interface DragItem {
|
|
59
|
+
id: number;
|
|
60
|
+
type: 'group' | 'item';
|
|
61
|
+
groupId?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface RegistryProps {
|
|
64
|
+
className?: string;
|
|
65
|
+
style?: CSSProperties;
|
|
66
|
+
sections?: Section[];
|
|
67
|
+
selectedSectionId?: number;
|
|
68
|
+
onSectionSelect?: (sectionId: number) => void;
|
|
69
|
+
onDataChange?: (sections: Section[]) => void;
|
|
70
|
+
}
|
|
71
|
+
export interface SectionListProps {
|
|
72
|
+
sections: Section[];
|
|
73
|
+
selectedSectionId?: number;
|
|
74
|
+
onSectionSelect: (sectionId: number) => void;
|
|
75
|
+
loading?: boolean;
|
|
76
|
+
hasMore?: boolean;
|
|
77
|
+
onLoadMore?: () => void;
|
|
78
|
+
}
|
|
79
|
+
export interface SettingsTableProps {
|
|
80
|
+
section?: Section;
|
|
81
|
+
groupList?: SettingGroup[];
|
|
82
|
+
groupLoading?: boolean;
|
|
83
|
+
onDataChange?: (section: Section) => void;
|
|
84
|
+
onEditGroup?: (group: SettingGroup) => void;
|
|
85
|
+
onDeleteGroup?: (groupId: number) => void;
|
|
86
|
+
onAddItem?: (groupId: number) => void;
|
|
87
|
+
onEditItem?: (item: SettingItem) => void;
|
|
88
|
+
onDeleteItem?: (itemId: number) => void;
|
|
89
|
+
onGroupReorder?: (groupIds: number[]) => void;
|
|
90
|
+
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
91
|
+
}
|
|
92
|
+
export interface GroupFormData {
|
|
93
|
+
title: MultiLanguageText;
|
|
94
|
+
code: string;
|
|
95
|
+
description?: MultiLanguageText;
|
|
96
|
+
}
|
|
97
|
+
export interface ItemFormData {
|
|
98
|
+
name: MultiLanguageText;
|
|
99
|
+
key: string;
|
|
100
|
+
fieldType: string;
|
|
101
|
+
interfaceType?: string;
|
|
102
|
+
scopes: string[];
|
|
103
|
+
description?: MultiLanguageText;
|
|
104
|
+
default?: string | null;
|
|
105
|
+
schema?: Record<string, any>;
|
|
106
|
+
xDataSource?: {
|
|
107
|
+
type?: string;
|
|
108
|
+
options?: Array<{
|
|
109
|
+
id?: string;
|
|
110
|
+
label: string | MultiLanguageText;
|
|
111
|
+
value: string;
|
|
112
|
+
color?: string;
|
|
113
|
+
}>;
|
|
114
|
+
dataSource?: Record<string, any>;
|
|
115
|
+
extraParams?: string;
|
|
116
|
+
};
|
|
117
|
+
xCustomUiSchema?: string;
|
|
118
|
+
xRecordSchema?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface GroupModalProps {
|
|
121
|
+
open: boolean;
|
|
122
|
+
type: OperationType;
|
|
123
|
+
data?: SettingGroup;
|
|
124
|
+
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
125
|
+
onCancel: () => void;
|
|
126
|
+
}
|
|
127
|
+
export interface ItemModalProps {
|
|
128
|
+
open: boolean;
|
|
129
|
+
type: OperationType;
|
|
130
|
+
data?: SettingItem;
|
|
131
|
+
section?: Section;
|
|
132
|
+
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
133
|
+
onCancel: () => void;
|
|
134
|
+
}
|
|
135
|
+
export interface ApiResponse<T> {
|
|
136
|
+
data: T[];
|
|
137
|
+
meta: {
|
|
138
|
+
count: number;
|
|
139
|
+
page: number;
|
|
140
|
+
pageSize: number;
|
|
141
|
+
totalPage: number;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface ITimeBarProps {
|
|
4
|
+
globalState: any;
|
|
5
|
+
setGlobalState: any;
|
|
6
|
+
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
+
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
+
setIntervalTime: (value: boolean) => void;
|
|
9
|
+
locale: string;
|
|
10
|
+
}
|
|
11
|
+
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
12
|
+
export default TimeBar;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* venueBooking 购物车组件
|
|
3
|
+
* 参照 scanOrder/Cart 实现,使用系统内置 ShoppingCart + SubTotal 组件
|
|
4
|
+
* 支持两种模式:embedded(桌面端内嵌)和 drawer(移动端抽屉弹出)
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import './index.less';
|
|
8
|
+
/** Cart 组件 Props,与 scanOrder/Cart 对齐 */
|
|
9
|
+
interface CartProps {
|
|
10
|
+
/** 是否打开(drawer 模式生效) */
|
|
11
|
+
open: boolean;
|
|
12
|
+
/** 关闭回调(drawer 模式) */
|
|
13
|
+
onCancel: () => void;
|
|
14
|
+
/** 确认/下一步回调 */
|
|
15
|
+
onNext: () => void;
|
|
16
|
+
/** 购物车商品列表(从 OS 模块获取后由 toShoppingCartProducts 转换) */
|
|
17
|
+
items: any[];
|
|
18
|
+
/** 金额汇总(从 OS 模块 getSummary 获取) */
|
|
19
|
+
summary: Record<string, any>;
|
|
20
|
+
/** 是否内嵌模式(桌面端侧边栏使用) */
|
|
21
|
+
embedded?: boolean;
|
|
22
|
+
/** 确认按钮 loading 状态 */
|
|
23
|
+
confirmLoading?: boolean;
|
|
24
|
+
/** 购物车底部额外内容插槽 */
|
|
25
|
+
extraContent?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export default function Cart(props: CartProps): JSX.Element | null;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { VenueBookingContextValue, VenueBookingProviderProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* VenueBookingProvider -- 场地预订全局 Context
|
|
5
|
+
* 管理步骤导航、场地选择状态、OS 模块集成
|
|
6
|
+
*/
|
|
7
|
+
export declare function VenueBookingProvider({ entryContext, children }: VenueBookingProviderProps): JSX.Element;
|
|
8
|
+
/** 消费 venueBooking Context 的 hook */
|
|
9
|
+
export declare function useVenueBookingContext(): VenueBookingContextValue;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { VenueBookingProps, VenueBookingEntryContext, VenueBookingViewModel, VenueTimeSlotGrid, VenueDateSummaryItem } from './types';
|
|
2
|
+
/** 步骤定义常量 */
|
|
3
|
+
export declare const VENUE_BOOKING_STEPS: readonly ["select-venue", "addons", "checkout"];
|
|
4
|
+
/** 写死的场地商品 ID(后续改为从配置读取) */
|
|
5
|
+
export declare const VENUE_PRODUCT_IDS: number[];
|
|
6
|
+
/**
|
|
7
|
+
* 获取 PisellOS venueBooking 业务模块
|
|
8
|
+
* 使用 useRef 稳定模块引用,防止 getModule 返回值每次渲染变化时触发 bootstrap useEffect 重跑
|
|
9
|
+
*/
|
|
10
|
+
export declare function useVenueBookingModule(): any;
|
|
11
|
+
/** 统一获取货币前缀(优先引擎配置,兜底 '$') */
|
|
12
|
+
export declare function useVenueBookingSymbol(): string;
|
|
13
|
+
/** 获取引擎上下文中的 utils 工具集(action / token 等) */
|
|
14
|
+
export declare function contextUtils(): any;
|
|
15
|
+
/** 从 engine props 提取标准化的入口上下文 */
|
|
16
|
+
export declare function normalizeEntryContext(props: VenueBookingProps): VenueBookingEntryContext;
|
|
17
|
+
/**
|
|
18
|
+
* 安全调用模块异步方法
|
|
19
|
+
* 检查模块和方法是否存在,不存在时抛出友好错误
|
|
20
|
+
*/
|
|
21
|
+
export declare function safeRunModuleAction(module: any, actionName: string, ...args: any[]): Promise<any>;
|
|
22
|
+
/** 加载场地商品(初始化时调用一次) */
|
|
23
|
+
export declare function loadVenueProducts(module: any, productIds: number[]): Promise<any>;
|
|
24
|
+
/** 拉取资源可用性数据(按日期范围,翻周时调用) */
|
|
25
|
+
export declare function fetchResourceAvailability(module: any, startDate: string, endDate: string): Promise<any>;
|
|
26
|
+
/** 获取日期概览(纯计算不发请求,fetchResourceAvailability 后调用) */
|
|
27
|
+
export declare function getDateRangeSummary(module: any, startDate: string, endDate: string): VenueDateSummaryItem[];
|
|
28
|
+
/** 获取某天的时段网格(纯计算不发请求,切换日期时调用) */
|
|
29
|
+
export declare function getTimeSlotGrid(module: any, date: string): VenueTimeSlotGrid | null;
|
|
30
|
+
/** 切换选中/取消一个时段(同一资源下多商品场景必须携带 productId) */
|
|
31
|
+
export declare function toggleSlotAction(module: any, params: {
|
|
32
|
+
resourceId: number;
|
|
33
|
+
productId: number;
|
|
34
|
+
startTime: string;
|
|
35
|
+
endTime: string;
|
|
36
|
+
price: string;
|
|
37
|
+
}): Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
* 查询某个时段是否已被选中
|
|
40
|
+
* 不传 productId 时:该资源下任一商品选中即 true;传了则精确匹配
|
|
41
|
+
*/
|
|
42
|
+
export declare function isSlotSelected(module: any, resourceId: number, startTime: string, productId?: number): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* 询问 OS:该 (resourceId, productId, startTime) 格子是否因其它已选项而应禁用
|
|
45
|
+
* 覆盖:同场地多商品互斥、组合资源 ↔ 子资源联动
|
|
46
|
+
*/
|
|
47
|
+
export declare function isSlotDisabledBySelection(module: any, params: {
|
|
48
|
+
resourceId: number;
|
|
49
|
+
productId: number;
|
|
50
|
+
startTime: string;
|
|
51
|
+
}): boolean;
|
|
52
|
+
/** 获取全部已选时段(按资源分组) */
|
|
53
|
+
export declare function getAllSelectedSlots(module: any): any[];
|
|
54
|
+
/** 查询 otherParams */
|
|
55
|
+
export declare function getOtherParams(module: any): any;
|
|
56
|
+
/**
|
|
57
|
+
* 获取所有“已选时段”对应的日期 key(YYYY-MM-DD)
|
|
58
|
+
* 兼容 venueBooking 模块返回 Map 或数组结构
|
|
59
|
+
*/
|
|
60
|
+
export declare function getSelectedDateKeySet(module: any): Set<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 从 OS 模块快照构建 ViewModel(购物车部分)
|
|
63
|
+
* 购物车数据使用 toShoppingCartProducts 转换为 ShoppingCart 组件所需格式
|
|
64
|
+
*/
|
|
65
|
+
export declare function createVenueBookingViewModel(module: any): Partial<VenueBookingViewModel>;
|
|
66
|
+
/** 登录状态 hook(检查 token + 弹出登录弹窗) */
|
|
67
|
+
export declare function useVenueBookingLogin(): {
|
|
68
|
+
isLogin: boolean;
|
|
69
|
+
openLoginModal: (params: {
|
|
70
|
+
callback: any;
|
|
71
|
+
}) => void;
|
|
72
|
+
};
|