@pisell/private-materials 6.3.69 → 6.3.71
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 +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +3 -3
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/voucher/index.js +8 -7
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/hooks/useQuotation.js +2 -2
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/index.js +531 -0
- package/es/components/kioskSkuDetail/index.less +196 -0
- package/es/components/kioskSkuDetail/locales.d.ts +27 -0
- package/es/components/kioskSkuDetail/locales.js +26 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- 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/shoppingCart/components/Cart/Product.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/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/walletList/index.js +7 -2
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.js +30 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/es/plus/skuOptionsSelection/locales.js +3 -0
- package/es/plus/skuOptionsSelection/store/actions.js +17 -2
- package/es/plus/skuOptionsSelection/types.d.ts +5 -0
- package/es/plus/skuOptionsSelection/types.js +2 -1
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +70 -3
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.js +2 -2
- package/es/pro/numberKeyboard/index.d.ts +28 -0
- package/es/pro/numberKeyboard/index.js +155 -0
- package/es/pro/numberKeyboard/index.less +25 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/numberKeyboard/locales.js +11 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellNumberSelector/example.js +68 -0
- package/es/pro/pisellNumberSelector/index.d.ts +29 -0
- package/es/pro/pisellNumberSelector/index.js +257 -0
- package/es/pro/pisellNumberSelector/index.less +235 -0
- package/es/pro/skuDetailModal/index.d.ts +4 -0
- package/es/pro/skuDetailModal/index.js +1031 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/voucher/index.js +0 -1
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/hooks/useQuotation.js +3 -3
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/index.js +393 -0
- package/lib/components/kioskSkuDetail/index.less +196 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
- package/lib/components/kioskSkuDetail/locales.js +50 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- 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/shoppingCart/components/Cart/Product.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/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/walletList/index.js +5 -1
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +7 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +32 -3
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/locales.js +3 -0
- package/lib/plus/skuOptionsSelection/store/actions.js +25 -1
- package/lib/plus/skuOptionsSelection/types.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/types.js +2 -1
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +51 -5
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.js +2 -2
- package/lib/pro/numberKeyboard/index.d.ts +28 -0
- package/lib/pro/numberKeyboard/index.js +182 -0
- package/lib/pro/numberKeyboard/index.less +25 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/numberKeyboard/locales.js +35 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellNumberSelector/example.js +93 -0
- package/lib/pro/pisellNumberSelector/index.d.ts +29 -0
- package/lib/pro/pisellNumberSelector/index.js +275 -0
- package/lib/pro/pisellNumberSelector/index.less +235 -0
- package/lib/pro/skuDetailModal/index.d.ts +4 -0
- package/lib/pro/skuDetailModal/index.js +736 -0
- package/lowcode/kiosk-sku-detail/meta.ts +264 -0
- package/package.json +4 -4
- package/es/components/Sales/Cart/utils.d.ts +0 -63
- package/es/components/Sales/Summary/utils.d.ts +0 -51
- package/es/components/appointmentBooking/locales.d.ts +0 -363
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- 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/client/serve.d.ts +0 -2
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/locales.d.ts +0 -843
- package/es/components/eftposPay/const.d.ts +0 -184
- package/es/components/eftposPay/locales.d.ts +0 -330
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/es/components/pay/toC/locales.d.ts +0 -307
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/es/components/ticketBooking/locales.d.ts +0 -174
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/selectHolder/locales.d.ts +0 -21
- package/es/plus/selectHolder/types.d.ts +0 -104
- package/es/plus/selectHolder/utils.d.ts +0 -9
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumericStepper/index.d.ts +0 -43
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Item.d.ts +0 -14
- package/es/pro/Selector/Selector.stories.d.ts +0 -78
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Card/types.d.ts +0 -1
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/components/Media/types.d.ts +0 -47
- package/es/pro/Selector/components/index.d.ts +0 -4
- package/es/pro/Selector/demo.d.ts +0 -2
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/index.d.ts +0 -11
- package/es/pro/Selector/locales.d.ts +0 -36
- package/es/pro/Selector/types.d.ts +0 -173
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/test/setup.d.ts +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -63
- package/lib/components/Sales/Summary/utils.d.ts +0 -51
- package/lib/components/appointmentBooking/locales.d.ts +0 -363
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- 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/client/serve.d.ts +0 -2
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/locales.d.ts +0 -843
- package/lib/components/eftposPay/const.d.ts +0 -184
- package/lib/components/eftposPay/locales.d.ts +0 -330
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
- package/lib/components/pay/toC/locales.d.ts +0 -307
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/lib/components/ticketBooking/locales.d.ts +0 -174
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
- package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/selectHolder/locales.d.ts +0 -21
- package/lib/plus/selectHolder/types.d.ts +0 -104
- package/lib/plus/selectHolder/utils.d.ts +0 -9
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumericStepper/index.d.ts +0 -43
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Item.d.ts +0 -14
- package/lib/pro/Selector/Selector.stories.d.ts +0 -78
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Card/types.d.ts +0 -1
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/components/Media/types.d.ts +0 -47
- package/lib/pro/Selector/components/index.d.ts +0 -4
- package/lib/pro/Selector/demo.d.ts +0 -2
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/index.d.ts +0 -11
- package/lib/pro/Selector/locales.d.ts +0 -36
- package/lib/pro/Selector/types.d.ts +0 -173
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/test/setup.d.ts +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { SelectionValue, GroupItem } from '../types';
|
|
2
|
-
export declare type OptionEffects = Record<string, {
|
|
3
|
-
allowOnly?: Set<any>;
|
|
4
|
-
requireOneOf?: {
|
|
5
|
-
values: Set<any>;
|
|
6
|
-
message?: string;
|
|
7
|
-
};
|
|
8
|
-
}>;
|
|
9
|
-
export interface Cond {
|
|
10
|
-
groupId: string;
|
|
11
|
-
in?: any[];
|
|
12
|
-
op?: 'in' | 'notIn' | 'eq' | 'neq' | 'contains' | 'range' | 'exists';
|
|
13
|
-
value?: any;
|
|
14
|
-
values?: any[];
|
|
15
|
-
min?: number;
|
|
16
|
-
max?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface Expr {
|
|
19
|
-
allOf?: Array<Cond | Expr>;
|
|
20
|
-
anyOf?: Array<Cond | Expr>;
|
|
21
|
-
noneOf?: Array<Cond | Expr>;
|
|
22
|
-
and?: Array<Cond | Expr>;
|
|
23
|
-
or?: Array<Cond | Expr>;
|
|
24
|
-
not?: Array<Cond | Expr>;
|
|
25
|
-
}
|
|
26
|
-
export interface Action {
|
|
27
|
-
type: 'show' | 'allowOnly' | 'requireOneOf';
|
|
28
|
-
groupId: string;
|
|
29
|
-
values?: any[];
|
|
30
|
-
message?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface Rule {
|
|
33
|
-
type?: 'expr';
|
|
34
|
-
when?: Expr;
|
|
35
|
-
then?: Action[];
|
|
36
|
-
elseThen?: Action[];
|
|
37
|
-
priority?: number;
|
|
38
|
-
stopAfterApply?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare const normalizeRules: (linkageRules: any) => Rule[];
|
|
41
|
-
export declare const getSelectedSet: (val: SelectionValue) => Set<any>;
|
|
42
|
-
export declare const evaluateExpr: (expr: Expr | undefined, valuesMap: Record<string, SelectionValue>) => boolean;
|
|
43
|
-
export declare const computeAutoHiddenGroups: (rules: Rule[]) => Set<string>;
|
|
44
|
-
export declare const computeEffects: (dataSource?: GroupItem[], rawRules?: Rule[], valuesMap?: Record<string, SelectionValue>) => {
|
|
45
|
-
visibleGroups: Record<string, boolean>;
|
|
46
|
-
optionEffects: OptionEffects;
|
|
47
|
-
};
|
|
48
|
-
export declare const pruneValuesByAllowOnly: (valuesMap: Record<string, SelectionValue>, effects: OptionEffects) => Record<string, SelectionValue>;
|
|
49
|
-
export declare const generateSimpleUUID: () => string;
|
package/es/test/setup.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
import { ICalculatePriceParams } from './types';
|
|
3
|
-
export declare const handleProductInfo: (eventDetail: any, num: number) => {
|
|
4
|
-
totalPrice: number;
|
|
5
|
-
originTotal: any;
|
|
6
|
-
is_charge_tax: any;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 获取商品总价
|
|
10
|
-
* @description 当前总价计算基于商品数量为1
|
|
11
|
-
* @param item 商品
|
|
12
|
-
* @returns 商品总价
|
|
13
|
-
*/
|
|
14
|
-
export declare const getTotalPrice: (params: ICalculatePriceParams) => number;
|
|
15
|
-
/**
|
|
16
|
-
* 获取商品原始总价
|
|
17
|
-
* @description 当前总价计算基于商品数量为1
|
|
18
|
-
* @param item 商品
|
|
19
|
-
* @returns 商品原始总价
|
|
20
|
-
*/
|
|
21
|
-
export declare const getOriginTotalPrice: (params: ICalculatePriceParams) => number | undefined;
|
|
22
|
-
export declare const handleCartItemOrigin: (cartItem: any, eventDetail: any) => any;
|
|
23
|
-
export declare const formatBundleToOrigin: (bundle: any) => any;
|
|
24
|
-
export declare const formatOptionsToOrigin: (options: any) => any;
|
|
25
|
-
export declare const handleProductDeposit: (cartItem: any, eventDetail: any, num: number) => {
|
|
26
|
-
total: number;
|
|
27
|
-
protocols: any;
|
|
28
|
-
} | null;
|
|
29
|
-
/**
|
|
30
|
-
* 获取商品定金
|
|
31
|
-
* @description 定金基于商品售价来算,最终乘商品数量
|
|
32
|
-
* 1、如果套餐主商品有定金规则,则定金为:(套餐商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
33
|
-
* 2、如果套餐主商品没有定金规则,子商品有定金规则,则定金为:(套餐子商品售价 * 套餐子商品定金百分比 + 套餐子商品定金固定金额)* 商品数量,最终将所有子商品定金相加
|
|
34
|
-
* 3、普通商品/单规格商品/组合规则商品,定金规则:(商品总售价 * 定金百分比 + 定金固定金额)* 商品数量
|
|
35
|
-
* @param params 参数
|
|
36
|
-
* @returns 商品定金
|
|
37
|
-
*/
|
|
38
|
-
export declare const getProductDeposit: (params: {
|
|
39
|
-
cartItem: any;
|
|
40
|
-
product: any;
|
|
41
|
-
bundle?: any;
|
|
42
|
-
options?: any;
|
|
43
|
-
num?: number;
|
|
44
|
-
}) => {
|
|
45
|
-
total: number;
|
|
46
|
-
protocols: any;
|
|
47
|
-
} | null;
|
|
48
|
-
/**
|
|
49
|
-
* 计算商品定金
|
|
50
|
-
* @param params 参数
|
|
51
|
-
* @returns 商品定金
|
|
52
|
-
*/
|
|
53
|
-
export declare const calculateProductDeposit: (params: {
|
|
54
|
-
depositData: {
|
|
55
|
-
deposit_fixed?: string;
|
|
56
|
-
deposit_percentage?: string;
|
|
57
|
-
};
|
|
58
|
-
total: string | number;
|
|
59
|
-
num: number;
|
|
60
|
-
}) => {
|
|
61
|
-
result: boolean;
|
|
62
|
-
depositTotal: Decimal;
|
|
63
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import Decimal from 'decimal.js';
|
|
2
|
-
interface CartItem {
|
|
3
|
-
price: number | string;
|
|
4
|
-
quantity?: number;
|
|
5
|
-
[k: string]: any;
|
|
6
|
-
}
|
|
7
|
-
interface PriceDetail {
|
|
8
|
-
subtotal: string;
|
|
9
|
-
total: string;
|
|
10
|
-
taxTitle?: string;
|
|
11
|
-
totalTaxFee?: string;
|
|
12
|
-
isPriceIncludeTax?: 0 | 1;
|
|
13
|
-
deposit?: {
|
|
14
|
-
total: string;
|
|
15
|
-
protocols: any[];
|
|
16
|
-
hasDeposit: boolean;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* 计算商品小计(不含其他费用)
|
|
21
|
-
* @param items - 购物车商品数组
|
|
22
|
-
* @returns 商品总价字符串,保留2位小数
|
|
23
|
-
*/
|
|
24
|
-
export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
25
|
-
/**
|
|
26
|
-
* @title: 单个商品的税费
|
|
27
|
-
* @description:
|
|
28
|
-
* 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
|
|
29
|
-
* $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
|
|
30
|
-
* @return {*}
|
|
31
|
-
* @Author: xiangfeng.xue
|
|
32
|
-
*/
|
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
|
|
34
|
-
/**
|
|
35
|
-
* 计算所有价格明细
|
|
36
|
-
* @param items - 购物车商品数组
|
|
37
|
-
* @param options - 其他费用配置
|
|
38
|
-
* @returns 价格明细对象
|
|
39
|
-
*/
|
|
40
|
-
export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
|
|
41
|
-
/**
|
|
42
|
-
* @title: 计算定金
|
|
43
|
-
* @param items - 购物车商品数组
|
|
44
|
-
* @returns 定金字符串,保留2位小数
|
|
45
|
-
*/
|
|
46
|
-
export declare const calculateDeposit: (items: CartItem[]) => {
|
|
47
|
-
total: string;
|
|
48
|
-
protocols: any[];
|
|
49
|
-
hasDeposit: never;
|
|
50
|
-
} | undefined;
|
|
51
|
-
export {};
|
|
@@ -1,363 +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.appointment.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
|
-
'pisell2.appointment.booking.empty.service': string;
|
|
73
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
74
|
-
'pisell2.appointment.booking.empty.time': string;
|
|
75
|
-
'pisell2.appointment.service.title': (val: number) => string;
|
|
76
|
-
'pisell2.appointment.add.guest': string;
|
|
77
|
-
'pisell2.appointment.edit.service': string;
|
|
78
|
-
'pisell2.appointment.remove.guest': string;
|
|
79
|
-
'pisell2.appointment.no.available.service': string;
|
|
80
|
-
'pisell2.appointment.max.guest': string;
|
|
81
|
-
'pisell2.appointment.no.available.time': string;
|
|
82
|
-
'pisell2.appointment.monday': string;
|
|
83
|
-
'pisell2.appointment.tuesday': string;
|
|
84
|
-
'pisell2.appointment.wednesday': string;
|
|
85
|
-
'pisell2.appointment.thursday': string;
|
|
86
|
-
'pisell2.appointment.friday': string;
|
|
87
|
-
'pisell2.appointment.saturday': string;
|
|
88
|
-
'pisell2.appointment.sunday': string;
|
|
89
|
-
'pisell2.appointment.any.professional': string;
|
|
90
|
-
'pisell2.appointment.for.maximum.availability': string;
|
|
91
|
-
'pisell2.appointment.deposit': string;
|
|
92
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
93
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
94
|
-
'pisell2.appointment.deposit.and': string;
|
|
95
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
96
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
97
|
-
'pisell2.appointment.deposit.close': string;
|
|
98
|
-
'pisell2.appointment.tips': string;
|
|
99
|
-
'pisell2.appointment.tips.content': string;
|
|
100
|
-
'pisell2.appointment.fill-form': string;
|
|
101
|
-
'pisell2.appointment.select.holder': (val: string) => string;
|
|
102
|
-
'pisell2.appointment.select.time': string;
|
|
103
|
-
'pisell2.appointment.unselect.time': string;
|
|
104
|
-
'pisell2.appointment.unselect.date': string;
|
|
105
|
-
'pisell2.appointment.unuse.date': string;
|
|
106
|
-
'pisell2.appointment.add-guests': string;
|
|
107
|
-
'pisell2.appointment.policy': string;
|
|
108
|
-
'pisell2.appointment.policy.confirm': string;
|
|
109
|
-
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
110
|
-
'pisell2.text.apply': string;
|
|
111
|
-
'pisell2.text.goodpass': string;
|
|
112
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
113
|
-
'pisell2.text.goodpass.view-more': string;
|
|
114
|
-
'pisell2.text.goodpass.code': string;
|
|
115
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
116
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
117
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
118
|
-
'pisell2.text.goodpass.login': string;
|
|
119
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
120
|
-
'pisell2.text.contact-info.title': string;
|
|
121
|
-
};
|
|
122
|
-
'zh-CN': {
|
|
123
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
124
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
125
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
126
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
127
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
128
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
129
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
130
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
131
|
-
'pisell2.event.close.title': string;
|
|
132
|
-
'pisell2.event.close.tip': string;
|
|
133
|
-
'pisell2.event.close.continue': string;
|
|
134
|
-
'pisell2.event.close.exit': string;
|
|
135
|
-
'pisell2.appointment.step': (step: number) => string;
|
|
136
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
137
|
-
'pisell2.event.select.event': string;
|
|
138
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
139
|
-
'pisell2.event.cart': string;
|
|
140
|
-
'pisell2.event.total': string;
|
|
141
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
142
|
-
'pisell2.event.continue': string;
|
|
143
|
-
'pisell2.event.details': string;
|
|
144
|
-
'pisell2.event.introduction': string;
|
|
145
|
-
'pisell2.event.schedule': string;
|
|
146
|
-
'pisell2.event.teacher': string;
|
|
147
|
-
'pisell2.event.campus': string;
|
|
148
|
-
'pisell2.event.resource': string;
|
|
149
|
-
'pisell2.event.booking.options': string;
|
|
150
|
-
'pisell2.event.add.to.cart': string;
|
|
151
|
-
'pisell2.event.description': string;
|
|
152
|
-
'pisell2.event.view.more': string;
|
|
153
|
-
'pisell2.event.view.less': string;
|
|
154
|
-
'pisell2.event.holder.modal.title': string;
|
|
155
|
-
'pisell2.event.confirm': string;
|
|
156
|
-
'pisell2.event.confirm.information': string;
|
|
157
|
-
'pisell2.event.confirm.information.tip': string;
|
|
158
|
-
'pisell2.event.confirm.information.other': string;
|
|
159
|
-
'pisell2.event.add.others': string;
|
|
160
|
-
'pisell2.event.checkout': string;
|
|
161
|
-
'pisell2.event.edit.event': string;
|
|
162
|
-
'pisell2.event.remove': string;
|
|
163
|
-
'pisell2.event.option': string;
|
|
164
|
-
'pisell2.event.order.items.error.title': string;
|
|
165
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
166
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
167
|
-
'pisell2.event.order.items.error.return': string;
|
|
168
|
-
'pisell2.event.order.items.error.back': string;
|
|
169
|
-
'pisell2.event.order.items.error.continue': string;
|
|
170
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
171
|
-
'pisell2.event.remove.title': string;
|
|
172
|
-
'pisell2.event.remove.tip': string;
|
|
173
|
-
'pisell2.event.remove.cancel': string;
|
|
174
|
-
'pisell2.event.create': string;
|
|
175
|
-
'pisell2.event.search': string;
|
|
176
|
-
'pisell2.event.empty.service': string;
|
|
177
|
-
'pisell2.event.title': (val: number) => string;
|
|
178
|
-
'pisell2.event.create.form': string;
|
|
179
|
-
'pisell2.event.empty.event': string;
|
|
180
|
-
'pisell2.event.error.holder': string;
|
|
181
|
-
'pisell2.event.price.from': string;
|
|
182
|
-
'pisell2.event.empty.holder.title': string;
|
|
183
|
-
'pisell2.event.empty.holder.tip': string;
|
|
184
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
185
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
186
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
187
|
-
'pisell2.event.event.full.title': string;
|
|
188
|
-
'pisell2.event.event.full.tip': string;
|
|
189
|
-
'pisell2.event.event.full.ok': string;
|
|
190
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
191
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
192
|
-
'pisell2.appointment.booking.empty.service': string;
|
|
193
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
194
|
-
'pisell2.appointment.booking.empty.time': string;
|
|
195
|
-
'pisell2.appointment.service.title': (val: number) => string;
|
|
196
|
-
'pisell2.appointment.add.guest': string;
|
|
197
|
-
'pisell2.appointment.edit.service': string;
|
|
198
|
-
'pisell2.appointment.remove.guest': string;
|
|
199
|
-
'pisell2.appointment.no.available.service': string;
|
|
200
|
-
'pisell2.appointment.max.guest': string;
|
|
201
|
-
'pisell2.appointment.no.available.time': string;
|
|
202
|
-
'pisell2.appointment.monday': string;
|
|
203
|
-
'pisell2.appointment.tuesday': string;
|
|
204
|
-
'pisell2.appointment.wednesday': string;
|
|
205
|
-
'pisell2.appointment.thursday': string;
|
|
206
|
-
'pisell2.appointment.friday': string;
|
|
207
|
-
'pisell2.appointment.saturday': string;
|
|
208
|
-
'pisell2.appointment.sunday': string;
|
|
209
|
-
'pisell2.appointment.any.professional': string;
|
|
210
|
-
'pisell2.appointment.for.maximum.availability': string;
|
|
211
|
-
'pisell2.appointment.deposit': string;
|
|
212
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
213
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
214
|
-
'pisell2.appointment.deposit.and': string;
|
|
215
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
216
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
217
|
-
'pisell2.appointment.deposit.close': string;
|
|
218
|
-
'pisell2.appointment.tips': string;
|
|
219
|
-
'pisell2.appointment.tips.content': string;
|
|
220
|
-
'pisell2.appointment.fill-form': string;
|
|
221
|
-
'pisell2.appointment.select.holder': (val: string) => string;
|
|
222
|
-
'pisell2.appointment.select.time': string;
|
|
223
|
-
'pisell2.appointment.unselect.time': string;
|
|
224
|
-
'pisell2.appointment.unselect.date': string;
|
|
225
|
-
'pisell2.appointment.unuse.date': string;
|
|
226
|
-
'pisell2.appointment.add-guests': string;
|
|
227
|
-
'pisell2.appointment.policy': string;
|
|
228
|
-
'pisell2.appointment.policy.confirm': string;
|
|
229
|
-
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
230
|
-
'pisell2.text.apply': string;
|
|
231
|
-
'pisell2.text.goodpass': string;
|
|
232
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
233
|
-
'pisell2.text.goodpass.view-more': string;
|
|
234
|
-
'pisell2.text.goodpass.code': string;
|
|
235
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
236
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
237
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
238
|
-
'pisell2.text.goodpass.login': string;
|
|
239
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
240
|
-
'pisell2.text.contact-info.title': string;
|
|
241
|
-
};
|
|
242
|
-
'zh-HK': {
|
|
243
|
-
'pisell2.event.calendar.limit.unavailable': string;
|
|
244
|
-
'pisell2.event.calendar.limit.sold.out': string;
|
|
245
|
-
'pisell2.event.calendar.limit.call.to.book': string;
|
|
246
|
-
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
247
|
-
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
248
|
-
'pisell2.event.calendar.booking-closed': string;
|
|
249
|
-
'pisell2.event.calendar.call-to-book': string;
|
|
250
|
-
'pisell2.event.calendar.email-to-book': string;
|
|
251
|
-
'pisell2.event.close.title': string;
|
|
252
|
-
'pisell2.event.close.tip': string;
|
|
253
|
-
'pisell2.event.close.continue': string;
|
|
254
|
-
'pisell2.event.close.exit': string;
|
|
255
|
-
'pisell2.appointment.step': (step: number) => string;
|
|
256
|
-
'pisell2.event.select.category': (val: string) => string;
|
|
257
|
-
'pisell2.event.select.event': string;
|
|
258
|
-
'pisell2.event.select.campus': (val: string) => string;
|
|
259
|
-
'pisell2.event.cart': string;
|
|
260
|
-
'pisell2.event.total': string;
|
|
261
|
-
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
262
|
-
'pisell2.event.continue': string;
|
|
263
|
-
'pisell2.event.details': string;
|
|
264
|
-
'pisell2.event.introduction': string;
|
|
265
|
-
'pisell2.event.schedule': string;
|
|
266
|
-
'pisell2.event.teacher': string;
|
|
267
|
-
'pisell2.event.campus': string;
|
|
268
|
-
'pisell2.event.resource': string;
|
|
269
|
-
'pisell2.event.booking.options': string;
|
|
270
|
-
'pisell2.event.add.to.cart': string;
|
|
271
|
-
'pisell2.event.description': string;
|
|
272
|
-
'pisell2.event.view.more': string;
|
|
273
|
-
'pisell2.event.view.less': string;
|
|
274
|
-
'pisell2.event.holder.modal.title': string;
|
|
275
|
-
'pisell2.event.confirm': string;
|
|
276
|
-
'pisell2.event.confirm.information': string;
|
|
277
|
-
'pisell2.event.confirm.information.tip': string;
|
|
278
|
-
'pisell2.event.confirm.information.other': string;
|
|
279
|
-
'pisell2.event.add.others': string;
|
|
280
|
-
'pisell2.event.checkout': string;
|
|
281
|
-
'pisell2.event.edit.event': string;
|
|
282
|
-
'pisell2.event.remove': string;
|
|
283
|
-
'pisell2.event.option': string;
|
|
284
|
-
'pisell2.event.order.items.error.title': string;
|
|
285
|
-
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
286
|
-
'pisell2.event.order.items.error.proceed': string;
|
|
287
|
-
'pisell2.event.order.items.error.return': string;
|
|
288
|
-
'pisell2.event.order.items.error.back': string;
|
|
289
|
-
'pisell2.event.order.items.error.continue': string;
|
|
290
|
-
'pisell2.event.order.items.error.all.tip': string;
|
|
291
|
-
'pisell2.event.remove.title': string;
|
|
292
|
-
'pisell2.event.remove.tip': string;
|
|
293
|
-
'pisell2.event.remove.cancel': string;
|
|
294
|
-
'pisell2.event.create': string;
|
|
295
|
-
'pisell2.event.search': string;
|
|
296
|
-
'pisell2.event.empty.service': string;
|
|
297
|
-
'pisell2.event.title': (val: number) => string;
|
|
298
|
-
'pisell2.event.create.form': string;
|
|
299
|
-
'pisell2.event.empty.event': string;
|
|
300
|
-
'pisell2.event.error.holder': string;
|
|
301
|
-
'pisell2.event.price.from': string;
|
|
302
|
-
'pisell2.event.empty.holder.title': string;
|
|
303
|
-
'pisell2.event.empty.holder.tip': string;
|
|
304
|
-
'pisell2.event.empty.holder.continue.tip': string;
|
|
305
|
-
'pisell2.event.empty.holder.go.back': string;
|
|
306
|
-
'pisell2.event.empty.holder.continue.anyway': string;
|
|
307
|
-
'pisell2.event.event.full.title': string;
|
|
308
|
-
'pisell2.event.event.full.tip': string;
|
|
309
|
-
'pisell2.event.event.full.ok': string;
|
|
310
|
-
'pisell2.event.capacity.limit.reached.title': string;
|
|
311
|
-
'pisell2.event.capacity.limit.reached.tip': string;
|
|
312
|
-
'pisell2.appointment.booking.empty.service': string;
|
|
313
|
-
'pisell2.appointment.booking.empty.data': string;
|
|
314
|
-
'pisell2.appointment.booking.empty.time': string;
|
|
315
|
-
'pisell2.appointment.service.title': (val: number) => string;
|
|
316
|
-
'pisell2.appointment.add.guest': string;
|
|
317
|
-
'pisell2.appointment.edit.service': string;
|
|
318
|
-
'pisell2.appointment.remove.guest': string;
|
|
319
|
-
'pisell2.appointment.no.available.service': string;
|
|
320
|
-
'pisell2.appointment.max.guest': string;
|
|
321
|
-
'pisell2.appointment.no.available.time': string;
|
|
322
|
-
'pisell2.appointment.monday': string;
|
|
323
|
-
'pisell2.appointment.tuesday': string;
|
|
324
|
-
'pisell2.appointment.wednesday': string;
|
|
325
|
-
'pisell2.appointment.thursday': string;
|
|
326
|
-
'pisell2.appointment.friday': string;
|
|
327
|
-
'pisell2.appointment.saturday': string;
|
|
328
|
-
'pisell2.appointment.sunday': string;
|
|
329
|
-
'pisell2.appointment.any.professional': string;
|
|
330
|
-
'pisell2.appointment.for.maximum.availability': string;
|
|
331
|
-
'pisell2.appointment.deposit': string;
|
|
332
|
-
'pisell2.appointment.deposit.agreed': string;
|
|
333
|
-
'pisell2.appointment.deposit.agree.policy': string;
|
|
334
|
-
'pisell2.appointment.deposit.and': string;
|
|
335
|
-
'pisell2.appointment.deposit.amount.tip1': string;
|
|
336
|
-
'pisell2.appointment.deposit.amount.tip2': string;
|
|
337
|
-
'pisell2.appointment.deposit.close': string;
|
|
338
|
-
'pisell2.appointment.tips': string;
|
|
339
|
-
'pisell2.appointment.tips.content': string;
|
|
340
|
-
'pisell2.appointment.fill-form': string;
|
|
341
|
-
'pisell2.appointment.select.holder': (val: string) => string;
|
|
342
|
-
'pisell2.appointment.select.time': string;
|
|
343
|
-
'pisell2.appointment.unselect.time': string;
|
|
344
|
-
'pisell2.appointment.unselect.date': string;
|
|
345
|
-
'pisell2.appointment.unuse.date': string;
|
|
346
|
-
'pisell2.appointment.add-guests': string;
|
|
347
|
-
'pisell2.appointment.policy': string;
|
|
348
|
-
'pisell2.appointment.policy.confirm': string;
|
|
349
|
-
'pisell2.appointment.resource.tip': (val: string) => string;
|
|
350
|
-
'pisell2.text.apply': string;
|
|
351
|
-
'pisell2.text.goodpass': string;
|
|
352
|
-
'pisell2.text.goodpass.product-vouchers': string;
|
|
353
|
-
'pisell2.text.goodpass.view-more': string;
|
|
354
|
-
'pisell2.text.goodpass.code': string;
|
|
355
|
-
'pisell2.text.goodpass.enter-code': string;
|
|
356
|
-
'pisell2.text.goodpass.code-invalid': string;
|
|
357
|
-
'pisell2.text.goodpass.code-invalid-cart': string;
|
|
358
|
-
'pisell2.text.goodpass.login': string;
|
|
359
|
-
'pisell2.text.goodpass.login-tip': string;
|
|
360
|
-
'pisell2.text.contact-info.title': string;
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getBookingList: (params: any) => Promise<any>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ResourceItem {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
6
|
-
* @description:
|
|
7
|
-
* @param {object} resource
|
|
8
|
-
* @return {*}
|
|
9
|
-
* @Author: jinglin.tan
|
|
10
|
-
*/
|
|
11
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
12
|
-
export declare const formatValues: (data: any, values: any) => any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取表单数据
|
|
3
|
-
*/
|
|
4
|
-
export declare const getFormData: (params: {
|
|
5
|
-
form_id: number;
|
|
6
|
-
form_record_ids: number[];
|
|
7
|
-
num: number;
|
|
8
|
-
skip: number;
|
|
9
|
-
}) => Promise<any>;
|
|
10
|
-
/**
|
|
11
|
-
* 发送表单填写提醒
|
|
12
|
-
*/
|
|
13
|
-
export declare const sendFormReminder: (params: {
|
|
14
|
-
email?: string;
|
|
15
|
-
phone?: string;
|
|
16
|
-
order_id: number;
|
|
17
|
-
country_calling_code?: string;
|
|
18
|
-
}) => Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsBooking4Shop: (state: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getFormDetail: (id: number) => Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIsPartyRoomResourceShop: (id: number) => boolean;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const getProductDetail: (id: string, params: any) => Promise<any>;
|
|
2
|
-
/**
|
|
3
|
-
* @title: 跨日预约获取预约商品报价单
|
|
4
|
-
* @description:
|
|
5
|
-
* @param {string} id
|
|
6
|
-
* @param {any} params
|
|
7
|
-
* @return {*}
|
|
8
|
-
* @Author: WangHan
|
|
9
|
-
* @Date: 2024-12-23 17:06
|
|
10
|
-
*/
|
|
11
|
-
export declare const postMultiDay: (id: string, params: any) => Promise<any>;
|
|
12
|
-
/**
|
|
13
|
-
* 批量查询指定商品的最新价格
|
|
14
|
-
* @param params
|
|
15
|
-
*/
|
|
16
|
-
export declare const getProductPrice: (params: {
|
|
17
|
-
ids: number[];
|
|
18
|
-
customer_id: number;
|
|
19
|
-
schedule_date: string;
|
|
20
|
-
}) => Promise<any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const getResourceList: (params: any, bookingId?: number[]) => Promise<{
|
|
2
|
-
list: any[];
|
|
3
|
-
listMap: any;
|
|
4
|
-
}>;
|
|
5
|
-
export declare const createBookings: (params: any) => Promise<any>;
|
|
6
|
-
export declare const editBookings: (params: any, id?: number) => Promise<any>;
|