@pisell/private-materials 6.3.137 → 6.3.139
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 +153 -426
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- 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.js +24 -5
- package/es/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -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/single/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- 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/service/like/index.d.ts +1 -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/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/locales.d.ts +1489 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +120 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +21 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -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 +9 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +9 -0
- package/es/components/eftposPay/component/signature/index.d.ts +9 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/hooks.d.ts +2 -2
- 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 +13 -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/store/index.d.ts +5 -5
- package/es/components/eftposPay/tip.d.ts +10 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -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 +23 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/locales.d.ts +48 -0
- package/es/components/login/index.d.ts +1 -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/MWCreditCard/tds2.js +7 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- 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/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/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/scanOrder/components/Cart/index.d.ts +2 -0
- package/es/components/scanOrder/components/Cart/index.js +58 -24
- package/es/components/scanOrder/components/Cart/index.less +61 -8
- package/es/components/scanOrder/components/Check/index.js +232 -51
- package/es/components/scanOrder/components/Check/index.less +30 -0
- package/es/components/scanOrder/components/Content/index.js +358 -121
- package/es/components/scanOrder/components/Footer/index.d.ts +2 -0
- package/es/components/scanOrder/components/Footer/index.js +4 -2
- package/es/components/scanOrder/components/Footer/index.less +16 -7
- package/es/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
- package/es/components/scanOrder/components/FulfillmentMode/index.js +90 -0
- package/es/components/scanOrder/components/FulfillmentMode/index.less +40 -0
- package/es/components/scanOrder/components/ManualPickupRefModal/index.d.ts +16 -0
- package/es/components/scanOrder/components/ManualPickupRefModal/index.js +87 -0
- package/es/components/scanOrder/components/ManualPickupRefModal/index.less +61 -0
- package/es/components/scanOrder/context.js +104 -21
- package/es/components/scanOrder/locales.d.ts +55 -0
- package/es/components/scanOrder/locales.js +55 -0
- package/es/components/scanOrder/types.d.ts +23 -0
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
- package/es/components/scanOrder/utils/toShoppingCartProducts.js +15 -9
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
- package/es/components/scanOrder/utils/transformProductDetail.js +7 -6
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/systemSettings/registry/components/GroupModal.js +8 -1
- package/es/components/systemSettings/registry/components/ItemModal.js +3 -0
- package/es/components/systemSettings/registry/index.js +3 -1
- package/es/components/systemSettings/registry/services.d.ts +2 -0
- package/es/components/systemSettings/registry/types.d.ts +3 -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/VenueSelection/components/TimeGrid.js +130 -18
- package/es/components/venueBooking/context.js +38 -12
- package/es/components/venueBooking/hooks.d.ts +16 -3
- package/es/components/venueBooking/hooks.js +16 -4
- package/es/components/venueBooking/types.d.ts +19 -2
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/index.d.ts +87 -0
- package/es/index.js +1 -1
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +6 -6
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/es/plus/pisellSalesProductCard/index.js +16 -1
- package/es/plus/pisellSalesProductCard/types.d.ts +21 -1
- package/es/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- 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/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- 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/NumericStepper/index.d.ts +19 -0
- package/es/pro/NumericStepper/index.js +37 -6
- package/es/pro/Selector/demo.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- 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.js +19 -4
- package/lib/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -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/single/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- 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/service/like/index.d.ts +1 -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/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/locales.d.ts +1489 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +120 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +21 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -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 +9 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- 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 +13 -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/store/index.d.ts +5 -5
- package/lib/components/eftposPay/tip.d.ts +10 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -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 +23 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
- package/lib/components/login/index.d.ts +1 -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/MWCreditCard/tds2.js +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- 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/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/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Cart/index.d.ts +2 -0
- package/lib/components/scanOrder/components/Cart/index.js +43 -9
- package/lib/components/scanOrder/components/Cart/index.less +61 -8
- package/lib/components/scanOrder/components/Check/index.js +97 -8
- package/lib/components/scanOrder/components/Check/index.less +30 -0
- package/lib/components/scanOrder/components/Content/index.js +215 -69
- package/lib/components/scanOrder/components/Footer/index.d.ts +2 -0
- package/lib/components/scanOrder/components/Footer/index.js +2 -2
- package/lib/components/scanOrder/components/Footer/index.less +16 -7
- package/lib/components/scanOrder/components/FulfillmentMode/index.d.ts +11 -0
- package/lib/components/scanOrder/components/FulfillmentMode/index.js +96 -0
- package/lib/components/scanOrder/components/FulfillmentMode/index.less +40 -0
- package/lib/components/scanOrder/components/ManualPickupRefModal/index.d.ts +16 -0
- package/lib/components/scanOrder/components/ManualPickupRefModal/index.js +116 -0
- package/lib/components/scanOrder/components/ManualPickupRefModal/index.less +61 -0
- package/lib/components/scanOrder/context.js +80 -12
- package/lib/components/scanOrder/locales.d.ts +55 -0
- package/lib/components/scanOrder/locales.js +55 -0
- package/lib/components/scanOrder/types.d.ts +23 -0
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +2 -1
- package/lib/components/scanOrder/utils/toShoppingCartProducts.js +8 -5
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +2 -1
- package/lib/components/scanOrder/utils/transformProductDetail.js +1 -9
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/components/GroupModal.js +71 -72
- package/lib/components/systemSettings/registry/components/ItemModal.js +2 -1
- package/lib/components/systemSettings/registry/index.js +3 -1
- package/lib/components/systemSettings/registry/services.d.ts +2 -0
- package/lib/components/systemSettings/registry/types.d.ts +3 -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/VenueSelection/components/TimeGrid.js +119 -19
- package/lib/components/venueBooking/context.js +16 -7
- package/lib/components/venueBooking/hooks.d.ts +16 -3
- package/lib/components/venueBooking/hooks.js +8 -2
- package/lib/components/venueBooking/types.d.ts +19 -2
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/index.d.ts +87 -0
- package/lib/index.js +2 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +1 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +6 -6
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/lib/plus/pisellSalesProductCard/index.js +10 -0
- package/lib/plus/pisellSalesProductCard/types.d.ts +21 -1
- package/lib/plus/productSelect/ProductCard/ProductCardV2.js +6 -2
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- 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/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- 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/NumericStepper/index.d.ts +19 -0
- package/lib/pro/NumericStepper/index.js +21 -4
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lowcode/admin-auth-channel-auth/meta.ts +116 -0
- package/lowcode/admin-auth-online-shop-auth/meta.ts +81 -5
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export declare const useAppointmentBooking: () => any;
|
|
2
|
+
export declare const useShopDiscount: () => any;
|
|
3
|
+
export declare const contextUtils: () => any;
|
|
4
|
+
/**
|
|
5
|
+
* @title: 监听步骤发生变化
|
|
6
|
+
* @description:
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @Author: WangHan
|
|
9
|
+
* @Date: 2025-04-15 11:11
|
|
10
|
+
*/
|
|
11
|
+
export declare const useAppointmentBookingStep: () => {
|
|
12
|
+
getStepIndex: (type: string, skipNumber?: number) => any;
|
|
13
|
+
stepList: any;
|
|
14
|
+
removeStep: (key: string) => any;
|
|
15
|
+
addStep: (props: any, stepKey?: string) => any;
|
|
16
|
+
updateStep: (key: string, step: any) => void;
|
|
17
|
+
nextStep: (isLog?: boolean) => any;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取商品数据
|
|
21
|
+
* @description:
|
|
22
|
+
* @return {*}
|
|
23
|
+
* @Author: WangHan
|
|
24
|
+
* @Date: 2025-04-15 11:12
|
|
25
|
+
*/
|
|
26
|
+
export declare const useAppointmentBookingProduct: () => {
|
|
27
|
+
checkProductType: (productId: number) => Promise<any>;
|
|
28
|
+
getProducts: () => Promise<any>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @title: 更新购物车数据
|
|
32
|
+
* @description:
|
|
33
|
+
* @return {*}
|
|
34
|
+
* @Author: WangHan
|
|
35
|
+
* @Date: 2025-04-15 11:12
|
|
36
|
+
*/
|
|
37
|
+
export declare const useAppointmentBookingCart: () => void;
|
|
38
|
+
/**
|
|
39
|
+
* @title: 获取登录状态
|
|
40
|
+
* @description:
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: WangHan
|
|
43
|
+
* @Date: 2025-04-15 11:14
|
|
44
|
+
*/
|
|
45
|
+
export declare const useAppointmentBookingLogin: () => {
|
|
46
|
+
isLogin: boolean;
|
|
47
|
+
openLoginModal: (params: {
|
|
48
|
+
callback: any;
|
|
49
|
+
}) => void;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @title: 获取账户
|
|
53
|
+
* @description:
|
|
54
|
+
* @return {*}
|
|
55
|
+
* @Author: WangHan
|
|
56
|
+
* @Date: 2025-04-15 11:15
|
|
57
|
+
*/
|
|
58
|
+
export declare const useAppointmentBookingAccount: () => {
|
|
59
|
+
accountLists: any;
|
|
60
|
+
getHolders: () => Promise<any>;
|
|
61
|
+
form_id: any;
|
|
62
|
+
addAccount: (val: any, type?: string) => Promise<any>;
|
|
63
|
+
checkAccount: (type: any) => any;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取资源数据
|
|
67
|
+
* @description:
|
|
68
|
+
* @return {*}
|
|
69
|
+
* @Author: WangHan
|
|
70
|
+
* @Date: 2025-04-15 11:29
|
|
71
|
+
*/
|
|
72
|
+
export declare const useAppointmentBookingResource: () => {
|
|
73
|
+
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
74
|
+
getResourceList: () => {
|
|
75
|
+
resources: any[];
|
|
76
|
+
resourceCodes: any;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @title: 是否跳过资源选择步骤
|
|
81
|
+
* @description:
|
|
82
|
+
* @return {*}
|
|
83
|
+
* @Author: WangHan
|
|
84
|
+
* @Date: 2025-04-21 11:47
|
|
85
|
+
*/
|
|
86
|
+
export declare const useIsSkipResourceStep: () => {
|
|
87
|
+
checkSkipResourceStep: () => Promise<boolean>;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* @title: 获取预约配置
|
|
91
|
+
* @description:
|
|
92
|
+
* @return {*}
|
|
93
|
+
* @Author: WangHan
|
|
94
|
+
* @Date: 2025-04-24 18:15
|
|
95
|
+
*/
|
|
96
|
+
export declare const useAppointmentBookingSetting: () => {
|
|
97
|
+
isDateSelectedFirst: boolean;
|
|
98
|
+
isFormSubject: boolean;
|
|
99
|
+
isRetailTemplate: any;
|
|
100
|
+
customPageId: any;
|
|
101
|
+
channel: any;
|
|
102
|
+
bookingSubject: any;
|
|
103
|
+
setOtherData: (key: string, val: any) => any;
|
|
104
|
+
getOtherData: (key: string) => any;
|
|
105
|
+
formName: any;
|
|
106
|
+
bookingSetting: any;
|
|
107
|
+
};
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 格式化holder表数据
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} data
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2025-05-07 21:22
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatHolder: (data: any[]) => any[];
|
|
10
|
+
export declare const formatGuest: (data: any[], products: any) => any[];
|
|
11
|
+
/**
|
|
12
|
+
* @title: 格式化购物车中资源上挂接的表单数据
|
|
13
|
+
* @description:
|
|
14
|
+
* @param {any} data
|
|
15
|
+
* @param {any} resources
|
|
16
|
+
* @return {*}
|
|
17
|
+
* @Author: WangHan
|
|
18
|
+
* @Date: 2025-05-06 22:22
|
|
19
|
+
*/
|
|
20
|
+
export declare const formatCartsResources: (carts: any[], resources: any[], setPolicyIds: any) => any[];
|
|
21
|
+
/**
|
|
22
|
+
* @title: 格式化购物车数据
|
|
23
|
+
* @description:
|
|
24
|
+
* @param {any} data
|
|
25
|
+
* @param {any} resources
|
|
26
|
+
* @param {any} accountLists
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: WangHan
|
|
29
|
+
* @Date: 2025-05-07 21:22
|
|
30
|
+
*/
|
|
31
|
+
export declare const formatCarts: (data: any[], resources: any[], utils: any, accountLists?: any) => any[];
|
|
32
|
+
/**
|
|
33
|
+
* @title: 对资源进行排序
|
|
34
|
+
* @description:
|
|
35
|
+
* @param {any} currentResourcesMap
|
|
36
|
+
* @param {any} resourceSort
|
|
37
|
+
* @return {*}
|
|
38
|
+
* @Author: WangHan
|
|
39
|
+
* @Date: 2025-04-14 11:16
|
|
40
|
+
*/
|
|
41
|
+
export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* @title: 处理资源列表并提取资源代码
|
|
44
|
+
* @description: 对资源列表进行排序,并提取 resourceCodes
|
|
45
|
+
* @param {any[]} resources - 原始资源列表
|
|
46
|
+
* @param {any[]} resourceSort - 资源排序配置
|
|
47
|
+
* @return {*} 返回处理后的资源列表和资源代码数组
|
|
48
|
+
* @Author: WangHan
|
|
49
|
+
* @Date: 2025-11-21 15:33
|
|
50
|
+
*/
|
|
51
|
+
export declare const processResourceList: (resources: any[], resourceSort: any[]) => {
|
|
52
|
+
resources: any[];
|
|
53
|
+
resourceCodes: any;
|
|
54
|
+
};
|
|
55
|
+
export declare const getMeAccount: (val: any[]) => any;
|
|
56
|
+
export declare const getCustomer: (utils: any) => any;
|
|
57
|
+
export declare const formatCustomer: (val: any) => {
|
|
58
|
+
id: any;
|
|
59
|
+
username: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const formatCurrentUser: (utils: any) => {
|
|
62
|
+
id: any;
|
|
63
|
+
username: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @title: 定金合并的标点符号
|
|
67
|
+
* @description:
|
|
68
|
+
* @return {*}
|
|
69
|
+
* @Author: WangHan
|
|
70
|
+
* @Date: 2025-04-21 17:52
|
|
71
|
+
*/
|
|
72
|
+
export declare const getPunctuationMark: (index: number, totalLength: number, isEn: boolean) => any;
|
|
73
|
+
/**
|
|
74
|
+
* @title: 判断当前选中的资源中是否有 resource_form_id 表单id,如果有表单则下一步是选择表单
|
|
75
|
+
* @description:
|
|
76
|
+
* @param {any} array
|
|
77
|
+
* @param {any} resources
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: WangHan
|
|
80
|
+
* @Date: 2025-04-25 19:05
|
|
81
|
+
*/
|
|
82
|
+
export declare const hasResourceFormId: (array: any[]) => boolean | undefined;
|
|
83
|
+
export declare const formatForms: (array: any[]) => ({
|
|
84
|
+
form_id: any;
|
|
85
|
+
policy_id: any;
|
|
86
|
+
id: any;
|
|
87
|
+
cart_id: any;
|
|
88
|
+
} | null)[];
|
|
89
|
+
/**
|
|
90
|
+
* @title: 打开表单
|
|
91
|
+
* @description:
|
|
92
|
+
* @param {string} title
|
|
93
|
+
* @param {any} callback
|
|
94
|
+
* @return {*}
|
|
95
|
+
* @Author: WangHan
|
|
96
|
+
* @Date: 2025-04-26 15:26
|
|
97
|
+
*/
|
|
98
|
+
export declare const openForm: ({ form_id, title, callback, utils }: any) => void;
|
|
99
|
+
/**
|
|
100
|
+
* @title: 更新数组
|
|
101
|
+
* @description:
|
|
102
|
+
* @return {*}
|
|
103
|
+
* @Author: WangHan
|
|
104
|
+
* @Date: 2025-04-26 18:13
|
|
105
|
+
*/
|
|
106
|
+
export declare function updateLists<T extends Record<string, any>>(list: T[], key: string, value: any, newData: Partial<T>): T[];
|
|
107
|
+
/**
|
|
108
|
+
* @title: 更新表单存储
|
|
109
|
+
* @description:
|
|
110
|
+
* @param {any} bookingForm
|
|
111
|
+
* @param {number} id
|
|
112
|
+
* @param {any} newData
|
|
113
|
+
* @return {*}
|
|
114
|
+
* @Author: WangHan
|
|
115
|
+
* @Date: 2025-04-27 17:27
|
|
116
|
+
*/
|
|
117
|
+
export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
|
|
118
|
+
export declare const Toast: (text: string) => void;
|
|
119
|
+
/**
|
|
120
|
+
* @title: 添加或移除表单步骤
|
|
121
|
+
* @description:
|
|
122
|
+
* @param {any} param1
|
|
123
|
+
* @return {*}
|
|
124
|
+
* @Author: WangHan
|
|
125
|
+
* @Date: 2025-05-06 21:51
|
|
126
|
+
*/
|
|
127
|
+
export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
|
|
128
|
+
export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
|
|
129
|
+
/**
|
|
130
|
+
* @title: 获取购物车资源列表
|
|
131
|
+
* @description:
|
|
132
|
+
* @return {*}
|
|
133
|
+
* @Author: WangHan
|
|
134
|
+
* @Date: 2025-05-25 13:56
|
|
135
|
+
*/
|
|
136
|
+
export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
|
|
137
|
+
export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
|
|
138
|
+
/**
|
|
139
|
+
* @title:
|
|
140
|
+
* @description: 根据资源code获取资源标题
|
|
141
|
+
* @param {any} appointmentBooking
|
|
142
|
+
* @param {string} code
|
|
143
|
+
* @return {*}
|
|
144
|
+
* @Author: WangHan
|
|
145
|
+
* @Date: 2025-05-24 18:51
|
|
146
|
+
*/
|
|
147
|
+
export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
|
|
148
|
+
/**
|
|
149
|
+
* @title: 监测购物车中是否有没有选择资源的
|
|
150
|
+
* @description:
|
|
151
|
+
* @param {any} carts
|
|
152
|
+
* @return {*}
|
|
153
|
+
* @Author: WangHan
|
|
154
|
+
* @Date: 2025-05-24 18:47
|
|
155
|
+
*/
|
|
156
|
+
export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
|
|
157
|
+
hasError: boolean;
|
|
158
|
+
updatedCartList: any;
|
|
159
|
+
} | {
|
|
160
|
+
hasError?: undefined;
|
|
161
|
+
updatedCartList?: undefined;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @title: 查表表单步骤插入到哪个步骤的后面的key
|
|
165
|
+
* @description:
|
|
166
|
+
* @param {string} currentKey
|
|
167
|
+
* @param {any} stepList
|
|
168
|
+
* @return {*}
|
|
169
|
+
* @Author: WangHan
|
|
170
|
+
* @Date: 2025-05-24 19:05
|
|
171
|
+
*/
|
|
172
|
+
export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
|
|
173
|
+
/**
|
|
174
|
+
* @title: 监测holder数据
|
|
175
|
+
* @description:
|
|
176
|
+
* @param {any} isFormSubject
|
|
177
|
+
* @param {any} checkAccount
|
|
178
|
+
* @param {any} carts
|
|
179
|
+
* @return {*}
|
|
180
|
+
* @Author: WangHan
|
|
181
|
+
* @Date: 2025-05-24 22:46
|
|
182
|
+
*/
|
|
183
|
+
export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
|
|
184
|
+
hasError: boolean;
|
|
185
|
+
updatedCartList: any[];
|
|
186
|
+
};
|
|
187
|
+
export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
|
|
188
|
+
isRequired: boolean;
|
|
189
|
+
isSystem: boolean;
|
|
190
|
+
isSkip: boolean;
|
|
191
|
+
form_id: number;
|
|
192
|
+
form_code: any;
|
|
193
|
+
cart_id: string;
|
|
194
|
+
resource_form_id: string;
|
|
195
|
+
policy_id: string;
|
|
196
|
+
} | {
|
|
197
|
+
isRequired?: undefined;
|
|
198
|
+
isSystem?: undefined;
|
|
199
|
+
isSkip?: undefined;
|
|
200
|
+
form_id?: undefined;
|
|
201
|
+
form_code?: undefined;
|
|
202
|
+
cart_id?: undefined;
|
|
203
|
+
resource_form_id?: undefined;
|
|
204
|
+
policy_id?: undefined;
|
|
205
|
+
};
|
|
206
|
+
export declare const currentRenderLists: (resources: any[], code: any) => any;
|
|
207
|
+
/**
|
|
208
|
+
* @title: 更新购物车
|
|
209
|
+
* @description:
|
|
210
|
+
* @param {any} carts
|
|
211
|
+
* @param {any} value
|
|
212
|
+
* @return {*}
|
|
213
|
+
* @Author: WangHan
|
|
214
|
+
* @Date: 2025-05-25 23:17
|
|
215
|
+
*/
|
|
216
|
+
export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
|
|
217
|
+
/**
|
|
218
|
+
* @title: 根据步骤key清空数据
|
|
219
|
+
* @param {string} key - 当前步骤的key
|
|
220
|
+
* @param {any} appointmentBooking - 预约预订实例
|
|
221
|
+
* @param {(times: any[]) => void} setTimes - 设置时间列表的回调函数
|
|
222
|
+
* @return {string[]} 返回需要清空的数据类型数组
|
|
223
|
+
* @Author: WangHan
|
|
224
|
+
* @Date: 2025-11-21 15:40
|
|
225
|
+
*/
|
|
226
|
+
export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
|
|
227
|
+
export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
|
|
@@ -37,8 +37,10 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
|
|
|
37
37
|
onSave = _ref.onSave;
|
|
38
38
|
var context = useEngineContext();
|
|
39
39
|
var useParams = context.appHelper.utils.getApp().history.useParams;
|
|
40
|
+
var channel = new URLSearchParams(window.location.search).get('channel') || '';
|
|
40
41
|
var _useParams = useParams(),
|
|
41
|
-
|
|
42
|
+
_channel = _useParams.channel;
|
|
43
|
+
channel = channel || _channel;
|
|
42
44
|
var _context$appHelper$ut = context.appHelper.utils.getApp(),
|
|
43
45
|
request = _context$appHelper$ut.request;
|
|
44
46
|
var _useState = useState(true),
|
|
@@ -83,6 +85,9 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
|
|
|
83
85
|
}
|
|
84
86
|
}).then(function (res) {
|
|
85
87
|
if (res !== null && res !== void 0 && res.data) {
|
|
88
|
+
try {
|
|
89
|
+
delete res.data.deleted_at;
|
|
90
|
+
} catch (error) {}
|
|
86
91
|
setChannelData(res === null || res === void 0 ? void 0 : res.data);
|
|
87
92
|
}
|
|
88
93
|
console.log('res_online_shop_auth', res);
|
|
@@ -94,13 +99,27 @@ var Onlineshopauth = function Onlineshopauth(_ref) {
|
|
|
94
99
|
}
|
|
95
100
|
}, [request, channel]);
|
|
96
101
|
|
|
97
|
-
//
|
|
102
|
+
// 第一步:根据 visibleTabs 初步筛选可见 Tab
|
|
103
|
+
var filteredTabsByVisibleTabs = useMemo(function () {
|
|
104
|
+
if (visibleTabs && visibleTabs.length > 0) {
|
|
105
|
+
return allTabs.filter(function (tab) {
|
|
106
|
+
return visibleTabs.includes(tab);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
return allTabs;
|
|
110
|
+
}, [visibleTabs]);
|
|
111
|
+
|
|
112
|
+
// 第二步:叠加渠道业务规则,得到最终显示的 Tab
|
|
98
113
|
var displayTabs = useMemo(function () {
|
|
99
114
|
if (channel === 'management') {
|
|
100
|
-
|
|
115
|
+
// management 渠道仅展示页面设置;若被上层过滤掉则降级到第一个可见 Tab
|
|
116
|
+
if (filteredTabsByVisibleTabs.includes('pageSetting')) {
|
|
117
|
+
return ['pageSetting'];
|
|
118
|
+
}
|
|
119
|
+
return [];
|
|
101
120
|
}
|
|
102
|
-
return
|
|
103
|
-
}, [channel]);
|
|
121
|
+
return filteredTabsByVisibleTabs;
|
|
122
|
+
}, [channel, filteredTabsByVisibleTabs]);
|
|
104
123
|
|
|
105
124
|
// 确定初始激活的Tab
|
|
106
125
|
var initialActiveTab = useMemo(function () {
|
|
@@ -42,7 +42,7 @@ var ChannelAuthSetting = function ChannelAuthSetting(_ref) {
|
|
|
42
42
|
console.log('ChannelAuthSetting', params);
|
|
43
43
|
|
|
44
44
|
// 所有可用的Tab
|
|
45
|
-
var allTabs = ['pageSetting'];
|
|
45
|
+
var allTabs = ['pageSetting', 'authenticationMethods', 'collectInfo'];
|
|
46
46
|
|
|
47
47
|
// 确定实际显示的Tab
|
|
48
48
|
var displayTabs = useMemo(function () {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 套餐单规格信息
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} option
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: zhiwei.Wang
|
|
7
|
+
* @Date: 2024-02-19 09:26
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatProductOption: (option: any) => any;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 套餐信息
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} bundle
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-02-19 09:26
|
|
17
|
+
*/
|
|
18
|
+
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
+
/**
|
|
20
|
+
* 获取子商品折扣信息
|
|
21
|
+
* @param item
|
|
22
|
+
*/
|
|
23
|
+
export declare const getBundleDiscountList: (bundle: any[]) => any[];
|
|
24
|
+
export interface ResourceItem {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
29
|
+
* @description:
|
|
30
|
+
* @param {object} resource
|
|
31
|
+
* @return {*}
|
|
32
|
+
* @Author: jinglin.tan
|
|
33
|
+
*/
|
|
34
|
+
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
35
|
+
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
36
|
+
/**
|
|
37
|
+
* @title: 格式化商品单价
|
|
38
|
+
* @description:
|
|
39
|
+
* @param {any} item
|
|
40
|
+
* @return {*}
|
|
41
|
+
* @Author: WangHan
|
|
42
|
+
* @Date: 2024-12-23 12:05
|
|
43
|
+
*/
|
|
44
|
+
export declare const formatProductPrice: (item: any) => number;
|
|
45
|
+
export declare const getMainProductSellingPrice: (item: any) => number | undefined;
|
|
46
|
+
export declare const formatValues: (state: any) => any;
|
|
47
|
+
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IProps {
|
|
4
|
+
modal: any;
|
|
5
|
+
onReload: () => Promise<any>;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
|
|
9
|
+
export default ReloadResourceModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface EditServiceRef {
|
|
4
|
+
init: (cacheItem?: any, open?: boolean, openEditProduct?: boolean) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
+
export default _default;
|