@pisell/private-materials 3.3.9 → 3.3.11
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.js +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +42 -242
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +13 -5
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/index.js +5 -2
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/es/components/appointmentBooking/components/Cart/utils.js +4 -308
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +145 -4
- package/es/components/appointmentBooking/components/Content/index.js +35 -28
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/Date/index.js +67 -34
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Footer/index.js +12 -10
- package/es/components/appointmentBooking/components/Form/index.js +40 -13
- package/es/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Guest/index.js +10 -3
- package/es/components/appointmentBooking/components/Header/index.js +31 -23
- package/es/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/es/components/appointmentBooking/components/Resource/index.js +140 -46
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Services/index.js +17 -72
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +17 -4
- package/es/components/appointmentBooking/context.js +13 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +12 -9
- package/es/components/appointmentBooking/hooks.d.ts +2 -1
- package/es/components/appointmentBooking/hooks.js +71 -22
- package/es/components/appointmentBooking/utils.d.ts +114 -0
- package/es/components/appointmentBooking/utils.js +155 -175
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/payments/index.js +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/es/components/productSelect/index.d.ts +23 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/utils/tasks/index.js +114 -0
- package/es/utils/tasks/type.js +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +10 -123
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/index.js +2 -2
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/lib/components/appointmentBooking/components/Cart/utils.js +6 -184
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +65 -3
- package/lib/components/appointmentBooking/components/Content/index.js +36 -22
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/Date/index.js +13 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Footer/index.js +16 -12
- package/lib/components/appointmentBooking/components/Form/index.js +17 -11
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Guest/index.js +7 -2
- package/lib/components/appointmentBooking/components/Header/index.js +10 -10
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +86 -30
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Services/index.js +7 -6
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +14 -3
- package/lib/components/appointmentBooking/context.js +7 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +3 -1
- package/lib/components/appointmentBooking/hooks.d.ts +2 -1
- package/lib/components/appointmentBooking/hooks.js +29 -8
- package/lib/components/appointmentBooking/utils.d.ts +114 -0
- package/lib/components/appointmentBooking/utils.js +82 -82
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/payments/index.js +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/lib/components/productSelect/index.d.ts +23 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/utils/tasks/index.js +63 -0
- package/lib/utils/tasks/type.js +17 -0
- package/package.json +1 -1
- package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -4
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/serve.d.ts +0 -2
- package/es/components/Sales/Cart/types.d.ts +0 -19
- package/es/components/Sales/Checkout/index.d.ts +0 -33
- package/es/components/Sales/Checkout/serve.d.ts +0 -2
- package/es/components/Sales/Checkout/utils.d.ts +0 -27
- package/es/components/Sales/Customer/index.d.ts +0 -24
- package/es/components/Sales/Event/Detail.d.ts +0 -27
- package/es/components/Sales/Event/serve.d.ts +0 -26
- package/es/components/Sales/Holder/index.d.ts +0 -33
- package/es/components/Sales/Holder/serve.d.ts +0 -8
- package/es/components/Sales/Init/index.d.ts +0 -24
- package/es/components/Sales/Init/serve.d.ts +0 -3
- package/es/components/Sales/Resource/index.d.ts +0 -26
- package/es/components/Sales/Resource/serve.d.ts +0 -5
- package/es/components/Sales/Step/index.d.ts +0 -37
- package/es/components/Sales/Summary/index.d.ts +0 -25
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +0 -36
- package/es/components/Sales/hooks/index.d.ts +0 -1
- package/es/components/Sales/index.d.ts +0 -20
- package/es/components/Sales/utils/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/es/components/appointmentBooking/locales.d.ts +0 -345
- package/es/components/appointmentBooking/mock.d.ts +0 -627
- package/es/components/appointmentBooking/status.d.ts +0 -21
- package/es/components/appointmentBooking/type.d.ts +0 -17
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/amount.d.ts +0 -23
- package/es/components/booking/components/footer/serve.d.ts +0 -3
- package/es/components/booking/forms/index.d.ts +0 -9
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/service/addService/utils.d.ts +0 -71
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/es/components/booking/info/service/serve.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/index.d.ts +0 -6
- package/es/components/booking/info/service2/status.d.ts +0 -31
- package/es/components/booking/info/service2/utils.d.ts +0 -241
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/locales.d.ts +0 -786
- package/es/components/booking/materiels/contacts/index.d.ts +0 -16
- package/es/components/booking/model.d.ts +0 -115
- package/es/components/booking/payments/index.d.ts +0 -9
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/eventBooking/index.d.ts +0 -4
- package/es/components/eventBooking/locales.d.ts +0 -216
- package/es/components/eventBooking/mock.d.ts +0 -627
- package/es/components/eventBooking/status.d.ts +0 -21
- package/es/components/eventBooking/type.d.ts +0 -17
- package/es/components/eventBooking/utils.d.ts +0 -45
- package/es/components/login/index.d.ts +0 -9
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/serve.d.ts +0 -34
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/productExtension/index.d.ts +0 -8
- package/es/components/ruleSetting/index.d.ts +0 -10
- package/es/components/schedules/index.d.ts +0 -3
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/status.d.ts +0 -2
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/taxSelect/index.d.ts +0 -12
- package/es/components/wallet/Detail/locales.d.ts +0 -96
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/index.d.ts +0 -2
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/serve.d.ts +0 -143
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/walletList/model.d.ts +0 -6
- package/es/components/walletList/serve.d.ts +0 -12
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/utils/locales.d.ts +0 -1
- package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -4
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/serve.d.ts +0 -2
- package/lib/components/Sales/Cart/types.d.ts +0 -19
- package/lib/components/Sales/Checkout/index.d.ts +0 -33
- package/lib/components/Sales/Checkout/serve.d.ts +0 -2
- package/lib/components/Sales/Checkout/utils.d.ts +0 -27
- package/lib/components/Sales/Customer/index.d.ts +0 -24
- package/lib/components/Sales/Event/Detail.d.ts +0 -27
- package/lib/components/Sales/Event/serve.d.ts +0 -26
- package/lib/components/Sales/Holder/index.d.ts +0 -33
- package/lib/components/Sales/Holder/serve.d.ts +0 -8
- package/lib/components/Sales/Init/index.d.ts +0 -24
- package/lib/components/Sales/Init/serve.d.ts +0 -3
- package/lib/components/Sales/Resource/index.d.ts +0 -26
- package/lib/components/Sales/Resource/serve.d.ts +0 -5
- package/lib/components/Sales/Step/index.d.ts +0 -37
- package/lib/components/Sales/Summary/index.d.ts +0 -25
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +0 -36
- package/lib/components/Sales/hooks/index.d.ts +0 -1
- package/lib/components/Sales/index.d.ts +0 -20
- package/lib/components/Sales/utils/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/lib/components/appointmentBooking/locales.d.ts +0 -345
- package/lib/components/appointmentBooking/mock.d.ts +0 -627
- package/lib/components/appointmentBooking/status.d.ts +0 -21
- package/lib/components/appointmentBooking/type.d.ts +0 -17
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/amount.d.ts +0 -23
- package/lib/components/booking/components/footer/serve.d.ts +0 -3
- package/lib/components/booking/forms/index.d.ts +0 -9
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/service/addService/utils.d.ts +0 -71
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/lib/components/booking/info/service/serve.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/index.d.ts +0 -6
- package/lib/components/booking/info/service2/status.d.ts +0 -31
- package/lib/components/booking/info/service2/utils.d.ts +0 -241
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/locales.d.ts +0 -786
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -16
- package/lib/components/booking/model.d.ts +0 -115
- package/lib/components/booking/payments/index.d.ts +0 -9
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/eventBooking/index.d.ts +0 -4
- package/lib/components/eventBooking/locales.d.ts +0 -216
- package/lib/components/eventBooking/mock.d.ts +0 -627
- package/lib/components/eventBooking/status.d.ts +0 -21
- package/lib/components/eventBooking/type.d.ts +0 -17
- package/lib/components/eventBooking/utils.d.ts +0 -45
- package/lib/components/login/index.d.ts +0 -9
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/serve.d.ts +0 -34
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/productExtension/index.d.ts +0 -8
- package/lib/components/ruleSetting/index.d.ts +0 -10
- package/lib/components/schedules/index.d.ts +0 -3
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/status.d.ts +0 -2
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/taxSelect/index.d.ts +0 -12
- package/lib/components/wallet/Detail/locales.d.ts +0 -96
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/index.d.ts +0 -2
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/serve.d.ts +0 -143
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/walletList/model.d.ts +0 -6
- package/lib/components/walletList/serve.d.ts +0 -12
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/utils/locales.d.ts +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "./index.less";
|
|
3
|
-
declare type ContactType = {
|
|
4
|
-
country_calling_code: string;
|
|
5
|
-
first_name: string;
|
|
6
|
-
last_name: string;
|
|
7
|
-
phone: string;
|
|
8
|
-
email: string;
|
|
9
|
-
id?: string;
|
|
10
|
-
};
|
|
11
|
-
declare type ContactsPropsType = {
|
|
12
|
-
value: ContactType[];
|
|
13
|
-
onChange: (value: ContactType[]) => void;
|
|
14
|
-
};
|
|
15
|
-
declare const Contacts: (props: ContactsPropsType) => JSX.Element;
|
|
16
|
-
export default Contacts;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FormState {
|
|
3
|
-
amountSymbol: string;
|
|
4
|
-
apis: {
|
|
5
|
-
getClients: (par?: any) => any;
|
|
6
|
-
getClientsEs: (par?: any) => any;
|
|
7
|
-
getServices: (par?: any) => any;
|
|
8
|
-
getResources: (par?: any) => any;
|
|
9
|
-
getProducts: (par?: any) => any;
|
|
10
|
-
getPets: (par?: any) => any;
|
|
11
|
-
getForms: (par?: any) => any;
|
|
12
|
-
getFormData: (par?: any) => any;
|
|
13
|
-
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
-
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
-
getNotesByOrder: (par?: any) => any;
|
|
16
|
-
saveBookingFormData: (par?: any) => any;
|
|
17
|
-
getPetsData: (par?: any) => any;
|
|
18
|
-
};
|
|
19
|
-
client: {
|
|
20
|
-
showModal: boolean;
|
|
21
|
-
value: any;
|
|
22
|
-
clients: any[];
|
|
23
|
-
clientsParams: {
|
|
24
|
-
skip: number;
|
|
25
|
-
num: number;
|
|
26
|
-
search: string;
|
|
27
|
-
};
|
|
28
|
-
edit: boolean;
|
|
29
|
-
};
|
|
30
|
-
date: {
|
|
31
|
-
value: any;
|
|
32
|
-
end_date: any;
|
|
33
|
-
edit: boolean;
|
|
34
|
-
};
|
|
35
|
-
service: {
|
|
36
|
-
addModal: boolean;
|
|
37
|
-
editModal: boolean;
|
|
38
|
-
services: any[];
|
|
39
|
-
resources: any[];
|
|
40
|
-
resourcesOrigin: any[];
|
|
41
|
-
value: any[];
|
|
42
|
-
cacheItem: any;
|
|
43
|
-
edit: boolean;
|
|
44
|
-
addTimeModal: boolean;
|
|
45
|
-
changeService: any;
|
|
46
|
-
};
|
|
47
|
-
pet: {
|
|
48
|
-
showModal: boolean;
|
|
49
|
-
pets: any[];
|
|
50
|
-
value: any[];
|
|
51
|
-
formData: any;
|
|
52
|
-
originValue: any;
|
|
53
|
-
edit: boolean;
|
|
54
|
-
};
|
|
55
|
-
addons: {
|
|
56
|
-
showModal: boolean;
|
|
57
|
-
value: any[];
|
|
58
|
-
productList: any[];
|
|
59
|
-
originData: any[];
|
|
60
|
-
edit: boolean;
|
|
61
|
-
};
|
|
62
|
-
notes: {
|
|
63
|
-
orderNote: string;
|
|
64
|
-
internalNotes: any[];
|
|
65
|
-
edit: boolean;
|
|
66
|
-
};
|
|
67
|
-
form: {
|
|
68
|
-
value: any;
|
|
69
|
-
forms: any[];
|
|
70
|
-
edit: boolean;
|
|
71
|
-
};
|
|
72
|
-
setGlobalState: () => void;
|
|
73
|
-
disabledEdit: boolean;
|
|
74
|
-
bookingConfig: any;
|
|
75
|
-
action: any;
|
|
76
|
-
bookingId: string | number;
|
|
77
|
-
bookingDetail: any;
|
|
78
|
-
channelDisabledEdit: boolean;
|
|
79
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
|
80
|
-
modalOpen?: boolean;
|
|
81
|
-
isTerminal?: boolean;
|
|
82
|
-
isFranchisee?: boolean;
|
|
83
|
-
addTimeProducts: any[];
|
|
84
|
-
eventOtherParams?: {
|
|
85
|
-
relation_id: number;
|
|
86
|
-
number: number;
|
|
87
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
|
88
|
-
start_date: string;
|
|
89
|
-
start_time: string;
|
|
90
|
-
end_date: string;
|
|
91
|
-
end_time: string;
|
|
92
|
-
productIds: number[];
|
|
93
|
-
};
|
|
94
|
-
disableEventBookingEdit?: boolean;
|
|
95
|
-
/** 关闭自动打开选择服务弹窗 */
|
|
96
|
-
closeAutoOpenService?: boolean;
|
|
97
|
-
/** 是否terminal创建booking页面 */
|
|
98
|
-
isBookingCreatePage?: boolean;
|
|
99
|
-
loading: boolean;
|
|
100
|
-
isTerminalDayBookingPage?: boolean;
|
|
101
|
-
activeCartId?: any[];
|
|
102
|
-
isDayBooking: boolean;
|
|
103
|
-
}
|
|
104
|
-
export declare const walkInData: {
|
|
105
|
-
id: number;
|
|
106
|
-
nickname: string;
|
|
107
|
-
};
|
|
108
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
109
|
-
state: FormState;
|
|
110
|
-
} & {
|
|
111
|
-
dispatch: (params: {
|
|
112
|
-
type: string;
|
|
113
|
-
payload: any;
|
|
114
|
-
}) => void;
|
|
115
|
-
}>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Eftpos, DeviceStatus } from './const';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface PosProps {
|
|
5
|
-
/** 厂商类型 */
|
|
6
|
-
type: Eftpos;
|
|
7
|
-
/** 厂商名称 */
|
|
8
|
-
name: string;
|
|
9
|
-
/** 厂商额外信息 */
|
|
10
|
-
config: {
|
|
11
|
-
[key: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
/** 编辑页面zIndex */
|
|
14
|
-
zIndex?: number;
|
|
15
|
-
/** table 列表宽度 */
|
|
16
|
-
tableSize: number[];
|
|
17
|
-
/** tyro sdk url */
|
|
18
|
-
tyroUrl: string;
|
|
19
|
-
/** tyro sdk version */
|
|
20
|
-
tyroVersion: string;
|
|
21
|
-
/** tyro log 是否展示 */
|
|
22
|
-
useTyroLog?: boolean;
|
|
23
|
-
/** 获取字段匹配数据项 */
|
|
24
|
-
getComm: (params: {
|
|
25
|
-
field: string;
|
|
26
|
-
value?: unknown;
|
|
27
|
-
}, record?: any) => any;
|
|
28
|
-
/** 设备厂商默认数据 */
|
|
29
|
-
getField: (type: Eftpos, status?: DeviceStatus) => any;
|
|
30
|
-
/** 编辑设备数据 */
|
|
31
|
-
onEdit: (device: any, type: DeviceStatus) => Promise<any>;
|
|
32
|
-
/** 编辑厂商数据 */
|
|
33
|
-
onEditKey: () => {};
|
|
34
|
-
/** 设备列表数据 */
|
|
35
|
-
getList: (params: {
|
|
36
|
-
type: Eftpos;
|
|
37
|
-
num: number;
|
|
38
|
-
skip: number;
|
|
39
|
-
}) => any;
|
|
40
|
-
/** 删除列表数据 */
|
|
41
|
-
onDel: (id: string | number) => Promise<any>;
|
|
42
|
-
/** 获取pos刷卡机配置字段 */
|
|
43
|
-
getPosComm: (...agrn: unknown[]) => any;
|
|
44
|
-
savePos: (...agrn: unknown[]) => any;
|
|
45
|
-
}
|
|
46
|
-
declare const _default: (props: PosProps) => JSX.Element;
|
|
47
|
-
export default _default;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 获取包括今天的后七天日期
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {*}
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: 严文强
|
|
7
|
-
* @Date: 2024-02-01 11:00
|
|
8
|
-
*/
|
|
9
|
-
export declare const getNextSevenDaysList: (defaultDay: string) => string[];
|
|
10
|
-
/**
|
|
11
|
-
* @title: 将年月日信息只展示为天
|
|
12
|
-
* @description: 如果为今天 则返回ToDay
|
|
13
|
-
* @param {*}
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: 严文强
|
|
16
|
-
* @Date: 2024-02-01 11:00
|
|
17
|
-
*/
|
|
18
|
-
export declare const ShowDayOnly: (date: string) => string;
|
|
19
|
-
/**
|
|
20
|
-
* @title: 日历星期多语言
|
|
21
|
-
* @description:
|
|
22
|
-
* @param {*}
|
|
23
|
-
* @return {*}
|
|
24
|
-
* @Author: 严文强
|
|
25
|
-
* @Date: 2024-02-01 18:42
|
|
26
|
-
*/
|
|
27
|
-
export declare const weekListText: string[];
|
|
28
|
-
/**
|
|
29
|
-
* @title: 不同状态颜色值
|
|
30
|
-
* @description:
|
|
31
|
-
* @param {*}
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: xiangxiang.shao
|
|
34
|
-
* @Date: 2024-02-19 11:35
|
|
35
|
-
*/
|
|
36
|
-
export declare const statusColor: {
|
|
37
|
-
call_to_book: string;
|
|
38
|
-
lots_of_space: string;
|
|
39
|
-
filling_up_fast: string;
|
|
40
|
-
sold_out: string;
|
|
41
|
-
unavailable: string;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* @title: 根据预约量数据判断当前状态
|
|
45
|
-
* @description:
|
|
46
|
-
* @param {*}
|
|
47
|
-
* @return {*}
|
|
48
|
-
* @Author: xiangxiang.shao
|
|
49
|
-
* @Date: 2024-02-19 11:35
|
|
50
|
-
*/
|
|
51
|
-
export declare const getStatus: (dateLimit: any, currentDate: string, cutTime: any) => {
|
|
52
|
-
status: string;
|
|
53
|
-
disabled: boolean;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @title: 根据当前日期以设定判断当前是否是call_to_book状态
|
|
57
|
-
* @description:
|
|
58
|
-
* @param {*}
|
|
59
|
-
* @return {*}
|
|
60
|
-
* @Author: xiangxiang.shao
|
|
61
|
-
* @Date: 2024-02-21 10:10
|
|
62
|
-
*/
|
|
63
|
-
export declare const getCallToBookStatus: (currentDate: string, dateLimitData: any, cutTime: any) => boolean;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface BookingAvailabilityCalendarProps {
|
|
4
|
-
showCalendarPopup?: boolean;
|
|
5
|
-
onDateChange?: (date: string) => void;
|
|
6
|
-
detail?: any;
|
|
7
|
-
currentDate?: string;
|
|
8
|
-
cutTime?: any;
|
|
9
|
-
onCurrentDateChange?: (date: string) => void;
|
|
10
|
-
onCutTimeChange?: (date: string) => void;
|
|
11
|
-
onSurplusDisabledChange?: (date: boolean) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const BookingAvailabilityCalendar: React.FC<BookingAvailabilityCalendarProps>;
|
|
14
|
-
export default BookingAvailabilityCalendar;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from "dayjs";
|
|
2
|
-
/**
|
|
3
|
-
* @title: 格式化日期
|
|
4
|
-
* @description:
|
|
5
|
-
* @param {string} date
|
|
6
|
-
* @param {string} format
|
|
7
|
-
* @return {*}
|
|
8
|
-
* @Author: WangHan
|
|
9
|
-
* @Date: 2025-01-14 15:19
|
|
10
|
-
*/
|
|
11
|
-
export declare const formatDate: (date: Dayjs | string, format?: string) => string;
|
|
12
|
-
/**
|
|
13
|
-
* @title: 获取列表中包含了几个月
|
|
14
|
-
* @description:
|
|
15
|
-
* @param {Dayjs} date
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2025-01-14 15:25
|
|
19
|
-
*/
|
|
20
|
-
export declare const getMonthIndex: (lists: any[]) => number[];
|
|
21
|
-
/**
|
|
22
|
-
* @title: 获取当前状态
|
|
23
|
-
* @description:
|
|
24
|
-
* @param {any} dateLimitData
|
|
25
|
-
* @param {any} item
|
|
26
|
-
* @param {any} cutTime
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: WangHan
|
|
29
|
-
* @Date: 2025-01-14 15:33
|
|
30
|
-
*/
|
|
31
|
-
export declare const getCurrentStatus: (dateLimitData: any[], item: any, cutTime: any) => {
|
|
32
|
-
currentStatus: string;
|
|
33
|
-
disabled: boolean;
|
|
34
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare type Item = any;
|
|
4
|
-
interface ProductItemProps {
|
|
5
|
-
item?: Item;
|
|
6
|
-
onClickItem: (item: Item) => void;
|
|
7
|
-
layout?: 'day' | 'all';
|
|
8
|
-
}
|
|
9
|
-
declare const ProductItem: ({ item, onClickItem, layout, }: ProductItemProps) => JSX.Element;
|
|
10
|
-
export default ProductItem;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface EventResourceUsabilityProps {
|
|
4
|
-
data: any;
|
|
5
|
-
showScheduleName?: boolean;
|
|
6
|
-
showScheduleTime?: boolean;
|
|
7
|
-
renderItem?: (item: any) => React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
onChange?: (e: number) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const EventScheduleCalendar: React.FC<EventResourceUsabilityProps>;
|
|
13
|
-
export default EventScheduleCalendar;
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
4
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
5
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
6
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
7
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
8
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
9
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
10
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
11
|
-
'pisell2.event.close.title': string;
|
|
12
|
-
'pisell2.event.close.tip': string;
|
|
13
|
-
'pisell2.event.close.continue': string;
|
|
14
|
-
'pisell2.event.close.exit': string;
|
|
15
|
-
'pisell2.event.step': (step: number) => string;
|
|
16
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
17
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
18
|
-
'pisell2.event.select.event': string;
|
|
19
|
-
'pisell2.event.cart': string;
|
|
20
|
-
'pisell2.event.total': string;
|
|
21
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
22
|
-
'pisell2.event.continue': string;
|
|
23
|
-
'pisell2.event.details': string;
|
|
24
|
-
'pisell2.event.introduction': string;
|
|
25
|
-
'pisell2.event.schedule': string;
|
|
26
|
-
'pisell2.event.teacher': string;
|
|
27
|
-
'pisell2.event.campus': string;
|
|
28
|
-
'pisell2.event.resource': string;
|
|
29
|
-
'pisell2.event.booking.options': string;
|
|
30
|
-
'pisell2.event.add.to.cart': string;
|
|
31
|
-
'pisell2.event.description': string;
|
|
32
|
-
'pisell2.event.view.more': string;
|
|
33
|
-
'pisell2.event.view.less': string;
|
|
34
|
-
'pisell2.event.holder.modal.title': string;
|
|
35
|
-
'pisell2.event.confirm': string;
|
|
36
|
-
'pisell2.event.confirm.information': string;
|
|
37
|
-
'pisell2.event.confirm.information.tip': string;
|
|
38
|
-
'pisell2.event.confirm.information.other': string;
|
|
39
|
-
'pisell2.event.add.others': string;
|
|
40
|
-
'pisell2.event.checkout': string;
|
|
41
|
-
'pisell2.event.edit.event': string;
|
|
42
|
-
'pisell2.event.remove': string;
|
|
43
|
-
'pisell2.event.option': string;
|
|
44
|
-
'pisell2.event.order.items.error.title': string;
|
|
45
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
46
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
47
|
-
'pisell2.event.order.items.error.return': string;
|
|
48
|
-
'pisell2.event.order.items.error.back': string;
|
|
49
|
-
'pisell2.event.order.items.error.continue': string;
|
|
50
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
51
|
-
'pisell2.event.remove.title': string;
|
|
52
|
-
'pisell2.event.remove.tip': string;
|
|
53
|
-
'pisell2.event.remove.cancel': string;
|
|
54
|
-
'pisell2.event.create': string;
|
|
55
|
-
'pisell2.event.search': string;
|
|
56
|
-
'pisell2.event.empty.service': string;
|
|
57
|
-
'pisell2.event.title': (val: number) => string;
|
|
58
|
-
'pisell2.event.create.form': string;
|
|
59
|
-
'pisell2.event.empty.event': string;
|
|
60
|
-
'pisell2.event.error.holder': string;
|
|
61
|
-
'pisell2.event.price.from': string;
|
|
62
|
-
'pisell2.event.empty.holder.title': string;
|
|
63
|
-
'pisell2.event.empty.holder.tip': string;
|
|
64
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
65
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
66
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
67
|
-
'pisell2.event.event.full.title': string;
|
|
68
|
-
'pisell2.event.event.full.tip': string;
|
|
69
|
-
'pisell2.event.event.full.ok': string;
|
|
70
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
71
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
72
|
-
};
|
|
73
|
-
'zh-CN': {
|
|
74
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
75
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
76
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
77
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
78
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
79
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
80
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
81
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
82
|
-
'pisell2.event.close.title': string;
|
|
83
|
-
'pisell2.event.close.tip': string;
|
|
84
|
-
'pisell2.event.close.continue': string;
|
|
85
|
-
'pisell2.event.close.exit': string;
|
|
86
|
-
'pisell2.event.step': (step: number) => string;
|
|
87
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
88
|
-
'pisell2.event.select.event': string;
|
|
89
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
90
|
-
'pisell2.event.cart': string;
|
|
91
|
-
'pisell2.event.total': string;
|
|
92
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
93
|
-
'pisell2.event.continue': string;
|
|
94
|
-
'pisell2.event.details': string;
|
|
95
|
-
'pisell2.event.introduction': string;
|
|
96
|
-
'pisell2.event.schedule': string;
|
|
97
|
-
'pisell2.event.teacher': string;
|
|
98
|
-
'pisell2.event.campus': string;
|
|
99
|
-
'pisell2.event.resource': string;
|
|
100
|
-
'pisell2.event.booking.options': string;
|
|
101
|
-
'pisell2.event.add.to.cart': string;
|
|
102
|
-
'pisell2.event.description': string;
|
|
103
|
-
'pisell2.event.view.more': string;
|
|
104
|
-
'pisell2.event.view.less': string;
|
|
105
|
-
'pisell2.event.holder.modal.title': string;
|
|
106
|
-
'pisell2.event.confirm': string;
|
|
107
|
-
'pisell2.event.confirm.information': string;
|
|
108
|
-
'pisell2.event.confirm.information.tip': string;
|
|
109
|
-
'pisell2.event.confirm.information.other': string;
|
|
110
|
-
'pisell2.event.add.others': string;
|
|
111
|
-
'pisell2.event.checkout': string;
|
|
112
|
-
'pisell2.event.edit.event': string;
|
|
113
|
-
'pisell2.event.remove': string;
|
|
114
|
-
'pisell2.event.option': string;
|
|
115
|
-
'pisell2.event.order.items.error.title': string;
|
|
116
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
117
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
118
|
-
'pisell2.event.order.items.error.return': string;
|
|
119
|
-
'pisell2.event.order.items.error.back': string;
|
|
120
|
-
'pisell2.event.order.items.error.continue': string;
|
|
121
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
122
|
-
'pisell2.event.remove.title': string;
|
|
123
|
-
'pisell2.event.remove.tip': string;
|
|
124
|
-
'pisell2.event.remove.cancel': string;
|
|
125
|
-
'pisell2.event.create': string;
|
|
126
|
-
'pisell2.event.search': string;
|
|
127
|
-
'pisell2.event.empty.service': string;
|
|
128
|
-
'pisell2.event.title': (val: number) => string;
|
|
129
|
-
'pisell2.event.create.form': string;
|
|
130
|
-
'pisell2.event.empty.event': string;
|
|
131
|
-
'pisell2.event.error.holder': string;
|
|
132
|
-
'pisell2.event.price.from': string;
|
|
133
|
-
'pisell2.event.empty.holder.title': string;
|
|
134
|
-
'pisell2.event.empty.holder.tip': string;
|
|
135
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
136
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
137
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
138
|
-
'pisell2.event.event.full.title': string;
|
|
139
|
-
'pisell2.event.event.full.tip': string;
|
|
140
|
-
'pisell2.event.event.full.ok': string;
|
|
141
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
142
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
143
|
-
};
|
|
144
|
-
'zh-HK': {
|
|
145
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
146
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
147
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
148
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
149
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
150
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
151
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
152
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
153
|
-
'pisell2.event.close.title': string;
|
|
154
|
-
'pisell2.event.close.tip': string;
|
|
155
|
-
'pisell2.event.close.continue': string;
|
|
156
|
-
'pisell2.event.close.exit': string;
|
|
157
|
-
'pisell2.event.step': (step: number) => string;
|
|
158
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
159
|
-
'pisell2.event.select.event': string;
|
|
160
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
161
|
-
'pisell2.event.cart': string;
|
|
162
|
-
'pisell2.event.total': string;
|
|
163
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
164
|
-
'pisell2.event.continue': string;
|
|
165
|
-
'pisell2.event.details': string;
|
|
166
|
-
'pisell2.event.introduction': string;
|
|
167
|
-
'pisell2.event.schedule': string;
|
|
168
|
-
'pisell2.event.teacher': string;
|
|
169
|
-
'pisell2.event.campus': string;
|
|
170
|
-
'pisell2.event.resource': string;
|
|
171
|
-
'pisell2.event.booking.options': string;
|
|
172
|
-
'pisell2.event.add.to.cart': string;
|
|
173
|
-
'pisell2.event.description': string;
|
|
174
|
-
'pisell2.event.view.more': string;
|
|
175
|
-
'pisell2.event.view.less': string;
|
|
176
|
-
'pisell2.event.holder.modal.title': string;
|
|
177
|
-
'pisell2.event.confirm': string;
|
|
178
|
-
'pisell2.event.confirm.information': string;
|
|
179
|
-
'pisell2.event.confirm.information.tip': string;
|
|
180
|
-
'pisell2.event.confirm.information.other': string;
|
|
181
|
-
'pisell2.event.add.others': string;
|
|
182
|
-
'pisell2.event.checkout': string;
|
|
183
|
-
'pisell2.event.edit.event': string;
|
|
184
|
-
'pisell2.event.remove': string;
|
|
185
|
-
'pisell2.event.option': string;
|
|
186
|
-
'pisell2.event.order.items.error.title': string;
|
|
187
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
188
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
189
|
-
'pisell2.event.order.items.error.return': string;
|
|
190
|
-
'pisell2.event.order.items.error.back': string;
|
|
191
|
-
'pisell2.event.order.items.error.continue': string;
|
|
192
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
193
|
-
'pisell2.event.remove.title': string;
|
|
194
|
-
'pisell2.event.remove.tip': string;
|
|
195
|
-
'pisell2.event.remove.cancel': string;
|
|
196
|
-
'pisell2.event.create': string;
|
|
197
|
-
'pisell2.event.search': string;
|
|
198
|
-
'pisell2.event.empty.service': string;
|
|
199
|
-
'pisell2.event.title': (val: number) => string;
|
|
200
|
-
'pisell2.event.create.form': string;
|
|
201
|
-
'pisell2.event.empty.event': string;
|
|
202
|
-
'pisell2.event.error.holder': string;
|
|
203
|
-
'pisell2.event.price.from': string;
|
|
204
|
-
'pisell2.event.empty.holder.title': string;
|
|
205
|
-
'pisell2.event.empty.holder.tip': string;
|
|
206
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
207
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
208
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
209
|
-
'pisell2.event.event.full.title': string;
|
|
210
|
-
'pisell2.event.event.full.tip': string;
|
|
211
|
-
'pisell2.event.event.full.ok': string;
|
|
212
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
213
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
export default _default;
|