@pisell/private-materials 6.8.7 → 6.8.9
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 +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/index.js +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.js +16 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/actionButtons/index.js +34 -16
- package/es/components/booking/components/footer/amount.js +25 -8
- package/es/components/booking/components/footer/index.js +67 -35
- package/es/components/booking/components/footer/utils.d.ts +7 -0
- package/es/components/booking/components/footer/utils.js +66 -42
- package/es/components/booking/components/voucher/index.js +58 -14
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.js +69 -21
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
- package/es/components/booking/info/hooks/useHolderConfig.js +9 -2
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/Lists.d.ts +1 -1
- package/es/components/booking/info/service/Lists.js +8 -2
- package/es/components/booking/info/service/serve.d.ts +14 -0
- package/es/components/booking/info/service/serve.js +21 -0
- package/es/components/booking/info/service2/Group/utils.js +2 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -33
- package/es/components/booking/info/service2/utils.js +84 -36
- package/es/components/booking/info/utils.js +5 -0
- package/es/components/booking/info2/cartClientCard/index.js +23 -5
- package/es/components/booking/info2/service/addService/index.js +146 -88
- package/es/components/booking/info2/service/addService/utils.d.ts +8 -0
- package/es/components/booking/info2/service/addService/utils.js +78 -9
- package/es/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
- package/es/components/booking/info2/service/editService/Holder/index.js +193 -0
- package/es/components/booking/info2/service/editService/Holder/index.less +63 -0
- package/es/components/booking/info2/service/editService/index.js +332 -76
- package/es/components/booking/info2/utilsByBooking.js +14 -5
- package/es/components/booking/locales.d.ts +30 -0
- package/es/components/booking/locales.js +39 -3
- 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/booking/utils/confirmHolderModal.d.ts +13 -0
- package/es/components/booking/utils/confirmHolderModal.js +318 -0
- package/es/components/booking/utils/confirmHolderModal.less +40 -0
- package/es/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/es/components/booking/utils/selectHolderModal.js +407 -0
- package/es/components/booking/utils.d.ts +11 -3
- package/es/components/booking/utils.js +24 -1
- package/es/components/checkout/PaymentModal.js +15 -10
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/components/Cart/Product.js +6 -3
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/type.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
- package/es/components/{wallet/Detail/serve.js → ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js} +112 -57
- package/es/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +19 -15
- package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +14 -11
- package/es/components/ticketBooking/utils/index.d.ts +10 -2
- package/es/components/ticketBooking/utils/index.js +37 -7
- package/es/components/walletList/index.d.ts +0 -24
- package/es/components/walletList/index.js +173 -41
- package/es/components/walletList/locales.d.ts +9 -0
- package/es/components/walletList/locales.js +12 -3
- package/es/components/walletList/serve.d.ts +19 -0
- package/es/components/walletList/serve.js +94 -5
- package/es/components/walletList/tempHolderSelector/index.d.ts +14 -0
- package/es/components/walletList/tempHolderSelector/index.js +196 -0
- package/es/components/walletList/tempHolderSelector/index.less +63 -0
- package/es/hooks/usePaymentLogger.d.ts +0 -1
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
- package/es/plus/selectHolder/components/ErrorTip/index.js +14 -0
- package/es/plus/selectHolder/components/ErrorTip/index.less +51 -0
- package/es/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
- package/es/plus/selectHolder/components/HolderItem/index.js +77 -0
- package/es/plus/selectHolder/components/HolderItem/index.less +105 -0
- package/es/plus/selectHolder/components/HolderList/index.d.ts +30 -0
- package/es/plus/selectHolder/components/HolderList/index.js +43 -0
- package/es/plus/selectHolder/index.d.ts +7 -0
- package/es/plus/selectHolder/index.js +273 -0
- package/es/plus/selectHolder/index.less +137 -0
- package/es/plus/selectHolder/locales.d.ts +24 -0
- package/es/plus/selectHolder/locales.js +29 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/types.js +1 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/selectHolder/utils.js +16 -0
- package/es/plus/walletEditor/WalletEditor.js +60 -2
- package/es/plus/walletEditor/locales.d.ts +9 -0
- package/es/plus/walletEditor/locales.js +12 -3
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passList/index.js +17 -5
- package/es/plus/walletPassGallery/index.js +223 -41
- package/es/plus/walletPassGallery/locales.d.ts +15 -0
- package/es/plus/walletPassGallery/locales.js +29 -5
- package/es/plus/walletPassGallery/serve.d.ts +15 -1
- package/es/plus/walletPassGallery/serve.js +59 -2
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/plus/walletPassGallery/utils.js +342 -0
- package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
- package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.js +355 -0
- package/es/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
- package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/multiDayTimeSelect/index.js +1 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/multiDayTimeSelect/types.js +1 -0
- package/es/pro/skuDetailModal/types.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +17 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/actionButtons/index.js +11 -0
- package/lib/components/booking/components/footer/amount.js +23 -6
- package/lib/components/booking/components/footer/index.js +25 -4
- package/lib/components/booking/components/footer/utils.d.ts +7 -0
- package/lib/components/booking/components/footer/utils.js +41 -29
- package/lib/components/booking/components/voucher/index.js +48 -6
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.js +45 -13
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +1 -0
- package/lib/components/booking/info/hooks/useHolderConfig.js +8 -3
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/Lists.d.ts +1 -1
- package/lib/components/booking/info/service/Lists.js +4 -2
- package/lib/components/booking/info/service/serve.d.ts +14 -0
- package/lib/components/booking/info/service/serve.js +5 -0
- package/lib/components/booking/info/service2/Group/utils.js +2 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -33
- package/lib/components/booking/info/service2/utils.js +32 -16
- package/lib/components/booking/info/utils.js +4 -0
- package/lib/components/booking/info2/cartClientCard/index.js +11 -0
- package/lib/components/booking/info2/service/addService/index.js +22 -2
- package/lib/components/booking/info2/service/addService/utils.d.ts +8 -0
- package/lib/components/booking/info2/service/addService/utils.js +47 -9
- package/lib/components/booking/info2/service/editService/Holder/index.d.ts +12 -0
- package/lib/components/booking/info2/service/editService/Holder/index.js +199 -0
- package/lib/components/booking/info2/service/editService/Holder/index.less +63 -0
- package/lib/components/booking/info2/service/editService/index.js +273 -38
- package/lib/components/booking/info2/utilsByBooking.js +19 -8
- package/lib/components/booking/locales.d.ts +30 -0
- package/lib/components/booking/locales.js +33 -3
- 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/booking/utils/confirmHolderModal.d.ts +13 -0
- package/lib/components/booking/utils/confirmHolderModal.js +253 -0
- package/lib/components/booking/utils/confirmHolderModal.less +40 -0
- package/lib/components/booking/utils/selectHolderModal.d.ts +24 -0
- package/lib/components/booking/utils/selectHolderModal.js +319 -0
- package/lib/components/booking/utils.d.ts +11 -3
- package/lib/components/booking/utils.js +15 -0
- package/lib/components/checkout/PaymentModal.js +5 -2
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/components/Cart/Product.js +7 -3
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/type.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.d.ts +18 -0
- package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.js +118 -0
- package/lib/components/ticketBooking/components/addServiceVariant/MultiDayTimeSelectModal.less +0 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +10 -9
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +0 -16
- package/lib/components/ticketBooking/utils/index.d.ts +10 -2
- package/lib/components/ticketBooking/utils/index.js +31 -6
- package/lib/components/walletList/index.d.ts +0 -24
- package/lib/components/walletList/index.js +100 -4
- package/lib/components/walletList/locales.d.ts +9 -0
- package/lib/components/walletList/locales.js +12 -3
- package/lib/components/walletList/serve.d.ts +19 -0
- package/lib/components/walletList/serve.js +26 -3
- package/lib/components/walletList/tempHolderSelector/index.d.ts +14 -0
- package/lib/components/walletList/tempHolderSelector/index.js +166 -0
- package/lib/components/walletList/tempHolderSelector/index.less +63 -0
- package/lib/hooks/usePaymentLogger.d.ts +0 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +6 -3
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +3 -0
- package/lib/{components/wallet/PointCard/model.js → plus/selectHolder/components/ErrorTip/index.js} +10 -23
- package/lib/plus/selectHolder/components/ErrorTip/index.less +51 -0
- package/lib/plus/selectHolder/components/HolderItem/index.d.ts +6 -0
- package/lib/plus/selectHolder/components/HolderItem/index.js +101 -0
- package/lib/plus/selectHolder/components/HolderItem/index.less +105 -0
- package/lib/plus/selectHolder/components/HolderList/index.d.ts +30 -0
- package/lib/{components/wallet/components/WalletBar → plus/selectHolder/components/HolderList}/index.js +29 -15
- package/lib/plus/selectHolder/index.d.ts +7 -0
- package/lib/plus/selectHolder/index.js +223 -0
- package/lib/plus/selectHolder/index.less +137 -0
- package/lib/plus/selectHolder/locales.d.ts +24 -0
- package/lib/{components/wallet/Voucher → plus/selectHolder}/locales.js +17 -14
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/types.js +17 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/{components/wallet/RechargeableCard/serve.js → plus/selectHolder/utils.js} +11 -10
- package/lib/plus/walletEditor/WalletEditor.js +53 -0
- package/lib/plus/walletEditor/locales.d.ts +9 -0
- package/lib/plus/walletEditor/locales.js +12 -3
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passList/index.js +16 -4
- package/lib/plus/walletPassGallery/index.js +154 -27
- package/lib/plus/walletPassGallery/locales.d.ts +15 -0
- package/lib/plus/walletPassGallery/locales.js +32 -5
- package/lib/plus/walletPassGallery/serve.d.ts +15 -1
- package/lib/plus/walletPassGallery/serve.js +17 -5
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/plus/walletPassGallery/utils.js +287 -0
- package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.d.ts +9 -0
- package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.js +290 -0
- package/lib/pro/multiDayTimeSelect/MultiDayTimeSelect.less +8 -0
- package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/{components/wallet/components → pro/multiDayTimeSelect}/index.js +6 -16
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/multiDayTimeSelect/types.js +17 -0
- package/lib/pro/skuDetailModal/types.d.ts +1 -0
- package/lowcode/event-select-holder/meta.ts +2 -2
- package/lowcode/select-holder/meta.ts +220 -0
- package/lowcode/select-holder/snippets.ts +41 -0
- package/package.json +4 -4
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/es/components/wallet/Detail/index.d.ts +0 -42
- package/es/components/wallet/Detail/index.js +0 -1182
- package/es/components/wallet/Detail/index.less +0 -386
- package/es/components/wallet/Detail/locales.d.ts +0 -153
- package/es/components/wallet/Detail/locales.js +0 -170
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/model.js +0 -22
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DetailContext.js +0 -162
- package/es/components/wallet/DiscountCard/index.d.ts +0 -3
- package/es/components/wallet/DiscountCard/index.js +0 -218
- package/es/components/wallet/DiscountCard/index.less +0 -9
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/DiscountCard/model.js +0 -22
- package/es/components/wallet/PointCard/index.d.ts +0 -3
- package/es/components/wallet/PointCard/index.js +0 -169
- package/es/components/wallet/PointCard/index.less +0 -9
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/PointCard/model.js +0 -22
- package/es/components/wallet/RechargeableCard/index.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/index.js +0 -463
- package/es/components/wallet/RechargeableCard/index.less +0 -108
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/model.js +0 -28
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/RechargeableCard/serve.js +0 -32
- package/es/components/wallet/Voucher/index.d.ts +0 -12
- package/es/components/wallet/Voucher/index.js +0 -131
- package/es/components/wallet/Voucher/index.less +0 -9
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/locales.js +0 -20
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/Voucher/model.js +0 -22
- package/es/components/wallet/carouselArrow.png +0 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/FooterButtons/index.js +0 -81
- package/es/components/wallet/components/FooterButtons/index.less +0 -91
- package/es/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/es/components/wallet/components/UsageRules/index.js +0 -147
- package/es/components/wallet/components/UsageRules/index.less +0 -157
- package/es/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/es/components/wallet/components/WalletBar/index.js +0 -19
- package/es/components/wallet/components/WalletBar/index.less +0 -36
- package/es/components/wallet/components/WalletCard.d.ts +0 -11
- package/es/components/wallet/components/WalletCard.js +0 -91
- package/es/components/wallet/components/index.d.ts +0 -3
- package/es/components/wallet/components/index.js +0 -4
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/es/components/wallet/hooks/useWalletCard.js +0 -147
- package/es/components/wallet/index.d.ts +0 -10
- package/es/components/wallet/index.js +0 -807
- package/es/components/wallet/index.less +0 -151
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/locales.js +0 -139
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/model.js +0 -86
- package/es/components/wallet/serve.d.ts +0 -150
- package/es/components/wallet/serve.js +0 -205
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/wallet/utils/formatUtils.js +0 -73
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/lib/components/wallet/Detail/index.d.ts +0 -42
- package/lib/components/wallet/Detail/index.js +0 -874
- package/lib/components/wallet/Detail/index.less +0 -386
- package/lib/components/wallet/Detail/locales.d.ts +0 -153
- package/lib/components/wallet/Detail/locales.js +0 -194
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/model.js +0 -43
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/Detail/serve.js +0 -44
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DetailContext.js +0 -118
- package/lib/components/wallet/DiscountCard/index.d.ts +0 -3
- package/lib/components/wallet/DiscountCard/index.js +0 -209
- package/lib/components/wallet/DiscountCard/index.less +0 -9
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/DiscountCard/model.js +0 -43
- package/lib/components/wallet/PointCard/index.d.ts +0 -3
- package/lib/components/wallet/PointCard/index.js +0 -190
- package/lib/components/wallet/PointCard/index.less +0 -9
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/index.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/index.js +0 -380
- package/lib/components/wallet/RechargeableCard/index.less +0 -108
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/model.js +0 -49
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/index.d.ts +0 -12
- package/lib/components/wallet/Voucher/index.js +0 -146
- package/lib/components/wallet/Voucher/index.less +0 -9
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/Voucher/model.js +0 -43
- package/lib/components/wallet/carouselArrow.png +0 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/FooterButtons/index.js +0 -109
- package/lib/components/wallet/components/FooterButtons/index.less +0 -91
- package/lib/components/wallet/components/UsageRules/index.d.ts +0 -23
- package/lib/components/wallet/components/UsageRules/index.js +0 -113
- package/lib/components/wallet/components/UsageRules/index.less +0 -157
- package/lib/components/wallet/components/WalletBar/index.d.ts +0 -8
- package/lib/components/wallet/components/WalletBar/index.less +0 -36
- package/lib/components/wallet/components/WalletCard.d.ts +0 -11
- package/lib/components/wallet/components/WalletCard.js +0 -97
- package/lib/components/wallet/components/index.d.ts +0 -3
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/lib/components/wallet/hooks/useWalletCard.js +0 -111
- package/lib/components/wallet/index.d.ts +0 -10
- package/lib/components/wallet/index.js +0 -580
- package/lib/components/wallet/index.less +0 -151
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/locales.js +0 -163
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/model.js +0 -91
- package/lib/components/wallet/serve.d.ts +0 -150
- package/lib/components/wallet/serve.js +0 -85
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/wallet/utils/formatUtils.js +0 -73
|
@@ -12,6 +12,7 @@ import { locales } from "@pisell/utils";
|
|
|
12
12
|
import { getCacheParams, getServeStartTime, getLastServer, flexibleObj, getServiceTimes, findNextDuration, getDays, isSessionProduct } from "../utils";
|
|
13
13
|
import { isNormalProductByDurationSchedule } from "../info/service2/utils";
|
|
14
14
|
import { isOption } from "../../ticketBooking/components/addServiceVariant/utils";
|
|
15
|
+
import { isMultiDayProduct } from "./service/addService/utils";
|
|
15
16
|
|
|
16
17
|
// 获取当前剩余量
|
|
17
18
|
var getUseableEventCount = function getUseableEventCount(eventList, current) {
|
|
@@ -321,7 +322,7 @@ export var getAppointmentTimingPreference = function getAppointmentTimingPrefere
|
|
|
321
322
|
* @Date: 2024-01-26 14:09
|
|
322
323
|
*/
|
|
323
324
|
export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTime(state, cacheItem, timeObj) {
|
|
324
|
-
var _state$service$value, _cacheItem$
|
|
325
|
+
var _state$service$value, _cacheItem$_extend2;
|
|
325
326
|
// 自定义商品不需要时间相关处理,直接返回基础扩展参数
|
|
326
327
|
if (cacheItem !== null && cacheItem !== void 0 && cacheItem.isCustomItem) {
|
|
327
328
|
return {
|
|
@@ -334,11 +335,18 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
334
335
|
var lastServer = getLastServer((_state$service$value = state.service.value) === null || _state$service$value === void 0 ? void 0 : _state$service$value.filter(function (item) {
|
|
335
336
|
return !item.isCustomItem && !isNormalProductByDurationSchedule(item);
|
|
336
337
|
}));
|
|
338
|
+
var getDuration = function getDuration(cacheItem) {
|
|
339
|
+
var _cacheItem$duration;
|
|
340
|
+
if (isMultiDayProduct(cacheItem)) {
|
|
341
|
+
return getDays(cacheItem, 'days');
|
|
342
|
+
}
|
|
343
|
+
return findNextDuration(cacheItem.duration, timeObj === null || timeObj === void 0 ? void 0 : timeObj.durationSlicesBasedOnTime, cacheItem === null || cacheItem === void 0 || (_cacheItem$duration = cacheItem.duration) === null || _cacheItem$duration === void 0 ? void 0 : _cacheItem$duration.value);
|
|
344
|
+
};
|
|
337
345
|
|
|
338
346
|
// 下一个商品的扩展参数
|
|
339
347
|
var _extend = {
|
|
340
348
|
// 时长: 当前商品时长 > 第一个时长
|
|
341
|
-
duration:
|
|
349
|
+
duration: getDuration(cacheItem)
|
|
342
350
|
};
|
|
343
351
|
|
|
344
352
|
// 如果有上一个商品, 将上一个商品的某些参数 设置到新商品上
|
|
@@ -355,7 +363,8 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
355
363
|
var _timeObj$timeSlices;
|
|
356
364
|
_extend.start_time = timeObj === null || timeObj === void 0 ? void 0 : timeObj.timeSlices[(timeObj === null || timeObj === void 0 || (_timeObj$timeSlices = timeObj.timeSlices) === null || _timeObj$timeSlices === void 0 ? void 0 : _timeObj$timeSlices.length) - 1].value;
|
|
357
365
|
} else {
|
|
358
|
-
|
|
366
|
+
var _ref2;
|
|
367
|
+
_extend.start_time = (_ref2 = lastServerEndDate || dayjs()) === null || _ref2 === void 0 ? void 0 : _ref2.format("HH:mm");
|
|
359
368
|
}
|
|
360
369
|
}
|
|
361
370
|
} else {
|
|
@@ -391,9 +400,9 @@ export var getServiceStartTimeAndEndTime = function getServiceStartTimeAndEndTim
|
|
|
391
400
|
_extend = _objectSpread(_objectSpread({}, _extend), cacheItem._extend);
|
|
392
401
|
|
|
393
402
|
// 计算服务的开始和结束时间
|
|
394
|
-
var _getServiceTimes2 = getServiceTimes({
|
|
403
|
+
var _getServiceTimes2 = getServiceTimes(_objectSpread(_objectSpread({}, cacheItem), {}, {
|
|
395
404
|
_extend: _extend
|
|
396
|
-
}),
|
|
405
|
+
})),
|
|
397
406
|
startDate = _getServiceTimes2.startDate,
|
|
398
407
|
endDate = _getServiceTimes2.endDate;
|
|
399
408
|
_extend.startDate = startDate;
|
|
@@ -44,6 +44,9 @@ declare const _default: {
|
|
|
44
44
|
'pisell2.text.order-notes': string;
|
|
45
45
|
'pisell2.text.add-order-notes': string;
|
|
46
46
|
'pisell2.text.add-internal-notes': string;
|
|
47
|
+
'pisell2.text.holder-unassigned': (count: number) => string;
|
|
48
|
+
'pisell2.text.press-card-assign-holder': string;
|
|
49
|
+
'pisell2.text.skip-for-now': string;
|
|
47
50
|
'pisell2.text.add-notes': string;
|
|
48
51
|
'pisell2.text.notes': string;
|
|
49
52
|
'pisell2.text.new-appointment': string;
|
|
@@ -198,6 +201,7 @@ declare const _default: {
|
|
|
198
201
|
'page.booking.text.refund': string;
|
|
199
202
|
'page.booking.text.confirm': string;
|
|
200
203
|
'page.booking.text.go-back': string;
|
|
204
|
+
'page.booking.text.undo': string;
|
|
201
205
|
'page.booking.text.cancel-booking': string;
|
|
202
206
|
'page.booking.text.cancel-booking.msg': string;
|
|
203
207
|
'page.booking.text.disabled-tickets': string;
|
|
@@ -207,6 +211,7 @@ declare const _default: {
|
|
|
207
211
|
'page.booking.text.please-choose-an-option-2': string;
|
|
208
212
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
|
209
213
|
'page.booking.text.resource.check-auto-allocation-tip': string;
|
|
214
|
+
'page.booking.text.holder.length-error': string;
|
|
210
215
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
|
211
216
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
|
212
217
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
|
@@ -228,6 +233,8 @@ declare const _default: {
|
|
|
228
233
|
'pisell2.booking.info.text.clear': string;
|
|
229
234
|
'pisell2.booking.info.text.clear-cart': string;
|
|
230
235
|
'pisell2.booking.info.text.clear-all': string;
|
|
236
|
+
'pisell2.booking.info.text.add-holder': string;
|
|
237
|
+
'pisell2.booking.info.text.select-holder-title': string;
|
|
231
238
|
'pisell2.booking.info.text.create-new': string;
|
|
232
239
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
233
240
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -243,6 +250,7 @@ declare const _default: {
|
|
|
243
250
|
'pisell2.text.missing.reservation.content': string;
|
|
244
251
|
'pisell2.text.confirm': string;
|
|
245
252
|
'pisell2.text.cancel': string;
|
|
253
|
+
'pisell2.text.close-confirm-message': string;
|
|
246
254
|
'pisell2.action-buttons.clear': string;
|
|
247
255
|
'pisell2.action-buttons.manuel-order': string;
|
|
248
256
|
'pisell2.action-buttons.customise-item': string;
|
|
@@ -304,6 +312,8 @@ declare const _default: {
|
|
|
304
312
|
'pisell2.text.form.link.to.another.record.more': string;
|
|
305
313
|
'pisell2.booking.text.contact-info.title': string;
|
|
306
314
|
'pisell2.booking.text.search-placeholder': string;
|
|
315
|
+
'pisell-select-holder-please-select': string;
|
|
316
|
+
'pisell-select-holder-selected': string;
|
|
307
317
|
};
|
|
308
318
|
'zh-CN': {
|
|
309
319
|
'pisell2.text.refunded-amount': string;
|
|
@@ -355,6 +365,9 @@ declare const _default: {
|
|
|
355
365
|
'pisell2.text.order-notes': string;
|
|
356
366
|
'pisell2.text.add-order-notes': string;
|
|
357
367
|
'pisell2.text.add-internal-notes': string;
|
|
368
|
+
'pisell2.text.holder-unassigned': (count: number) => string;
|
|
369
|
+
'pisell2.text.press-card-assign-holder': string;
|
|
370
|
+
'pisell2.text.skip-for-now': string;
|
|
358
371
|
'pisell2.text.add-notes': string;
|
|
359
372
|
'pisell2.text.notes': string;
|
|
360
373
|
'pisell2.text.new-appointment': string;
|
|
@@ -504,6 +517,7 @@ declare const _default: {
|
|
|
504
517
|
'page.booking.text.refund': string;
|
|
505
518
|
'page.booking.text.confirm': string;
|
|
506
519
|
'page.booking.text.go-back': string;
|
|
520
|
+
'page.booking.text.undo': string;
|
|
507
521
|
'page.booking.text.cancel-booking': string;
|
|
508
522
|
'page.booking.text.cancel-booking.msg': string;
|
|
509
523
|
'page.booking.text.disabled-tickets': string;
|
|
@@ -513,6 +527,7 @@ declare const _default: {
|
|
|
513
527
|
'page.booking.text.please-choose-an-option-2': string;
|
|
514
528
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
|
515
529
|
'page.booking.text.resource.check-auto-allocation-tip': string;
|
|
530
|
+
'page.booking.text.holder.length-error': string;
|
|
516
531
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
|
517
532
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
|
518
533
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
|
@@ -534,6 +549,8 @@ declare const _default: {
|
|
|
534
549
|
'pisell2.booking.info.text.clear': string;
|
|
535
550
|
'pisell2.booking.info.text.clear-cart': string;
|
|
536
551
|
'pisell2.booking.info.text.clear-all': string;
|
|
552
|
+
'pisell2.booking.info.text.add-holder': string;
|
|
553
|
+
'pisell2.booking.info.text.select-holder-title': string;
|
|
537
554
|
'pisell2.booking.info.text.create-new': string;
|
|
538
555
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
539
556
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -549,6 +566,7 @@ declare const _default: {
|
|
|
549
566
|
'pisell2.text.missing.reservation.content': string;
|
|
550
567
|
'pisell2.text.confirm': string;
|
|
551
568
|
'pisell2.text.cancel': string;
|
|
569
|
+
'pisell2.text.close-confirm-message': string;
|
|
552
570
|
'pisell2.action-buttons.clear': string;
|
|
553
571
|
'pisell2.action-buttons.manuel-order': string;
|
|
554
572
|
'pisell2.action-buttons.customise-item': string;
|
|
@@ -610,6 +628,8 @@ declare const _default: {
|
|
|
610
628
|
'pisell2.text.form.link.to.another.record.more': string;
|
|
611
629
|
'pisell2.booking.text.contact-info.title': string;
|
|
612
630
|
'pisell2.booking.text.search-placeholder': string;
|
|
631
|
+
'pisell-select-holder-please-select': string;
|
|
632
|
+
'pisell-select-holder-selected': string;
|
|
613
633
|
};
|
|
614
634
|
'zh-HK': {
|
|
615
635
|
'pisell2.text.refunded-amount': string;
|
|
@@ -661,6 +681,9 @@ declare const _default: {
|
|
|
661
681
|
'pisell2.text.order-notes': string;
|
|
662
682
|
'pisell2.text.add-order-notes': string;
|
|
663
683
|
'pisell2.text.add-internal-notes': string;
|
|
684
|
+
'pisell2.text.holder-unassigned': (count: number) => string;
|
|
685
|
+
'pisell2.text.press-card-assign-holder': string;
|
|
686
|
+
'pisell2.text.skip-for-now': string;
|
|
664
687
|
'pisell2.text.add-notes': string;
|
|
665
688
|
'pisell2.text.notes': string;
|
|
666
689
|
'pisell2.text.new-appointment': string;
|
|
@@ -810,6 +833,7 @@ declare const _default: {
|
|
|
810
833
|
'page.booking.text.refund': string;
|
|
811
834
|
'page.booking.text.confirm': string;
|
|
812
835
|
'page.booking.text.go-back': string;
|
|
836
|
+
'page.booking.text.undo': string;
|
|
813
837
|
'page.booking.text.cancel-booking': string;
|
|
814
838
|
'page.booking.text.cancel-booking.msg': string;
|
|
815
839
|
'page.booking.text.disabled-tickets': string;
|
|
@@ -819,6 +843,7 @@ declare const _default: {
|
|
|
819
843
|
'page.booking.text.please-choose-an-option-2': string;
|
|
820
844
|
'page.booking.text.resource.min-length-error': (x: number, y: string) => string;
|
|
821
845
|
'page.booking.text.resource.check-auto-allocation-tip': string;
|
|
846
|
+
'page.booking.text.holder.length-error': string;
|
|
822
847
|
'page.booking.text.price-extra': (origin: string, current: string) => string;
|
|
823
848
|
'pisell2.booking.dashboard.groups-on-site-now': string;
|
|
824
849
|
'pisell2.booking.dashboard.groups-on-site-now-tip': string;
|
|
@@ -840,6 +865,8 @@ declare const _default: {
|
|
|
840
865
|
'pisell2.booking.info.text.clear': string;
|
|
841
866
|
'pisell2.booking.info.text.clear-cart': string;
|
|
842
867
|
'pisell2.booking.info.text.clear-all': string;
|
|
868
|
+
'pisell2.booking.info.text.add-holder': string;
|
|
869
|
+
'pisell2.booking.info.text.select-holder-title': string;
|
|
843
870
|
'pisell2.booking.info.text.create-new': string;
|
|
844
871
|
'pisell2.booking.info.text.form-agreement-yes': string;
|
|
845
872
|
'pisell2.booking.info.text.form-agreement-no': string;
|
|
@@ -855,6 +882,7 @@ declare const _default: {
|
|
|
855
882
|
'pisell2.text.missing.reservation.content': string;
|
|
856
883
|
'pisell2.text.confirm': string;
|
|
857
884
|
'pisell2.text.cancel': string;
|
|
885
|
+
'pisell2.text.close-confirm-message': string;
|
|
858
886
|
'pisell2.action-buttons.clear': string;
|
|
859
887
|
'pisell2.action-buttons.manuel-order': string;
|
|
860
888
|
'pisell2.action-buttons.customise-item': string;
|
|
@@ -916,6 +944,8 @@ declare const _default: {
|
|
|
916
944
|
'pisell2.text.form.link.to.another.record.more': string;
|
|
917
945
|
'pisell2.booking.text.contact-info.title': string;
|
|
918
946
|
'pisell2.booking.text.search-placeholder': string;
|
|
947
|
+
'pisell-select-holder-please-select': string;
|
|
948
|
+
'pisell-select-holder-selected': string;
|
|
919
949
|
};
|
|
920
950
|
};
|
|
921
951
|
export default _default;
|
|
@@ -45,6 +45,11 @@ export default {
|
|
|
45
45
|
'pisell2.text.order-notes': 'Order notes',
|
|
46
46
|
'pisell2.text.add-order-notes': 'Add Order Note',
|
|
47
47
|
'pisell2.text.add-internal-notes': 'Add Internal note',
|
|
48
|
+
'pisell2.text.holder-unassigned': function pisell2TextHolderUnassigned(count) {
|
|
49
|
+
return "".concat(count, " Holder(s) Unassigned");
|
|
50
|
+
},
|
|
51
|
+
'pisell2.text.press-card-assign-holder': 'Please Press Each Card to Assign Holder',
|
|
52
|
+
'pisell2.text.skip-for-now': 'Skip for Now',
|
|
48
53
|
'pisell2.text.add-notes': 'Add Notes',
|
|
49
54
|
'pisell2.text.notes': 'Notes',
|
|
50
55
|
'pisell2.text.new-appointment': 'New appointment',
|
|
@@ -229,6 +234,7 @@ export default {
|
|
|
229
234
|
'page.booking.text.refund': 'Refund',
|
|
230
235
|
'page.booking.text.confirm': 'Confirm',
|
|
231
236
|
'page.booking.text.go-back': 'Go back',
|
|
237
|
+
'page.booking.text.undo': 'Undo',
|
|
232
238
|
'page.booking.text.cancel-booking': "Cancel Booking",
|
|
233
239
|
'page.booking.text.cancel-booking.msg': "The action is irreversible. Please proceed with caution. ",
|
|
234
240
|
'page.booking.text.disabled-tickets': "All tickets will be disabled.",
|
|
@@ -242,6 +248,7 @@ export default {
|
|
|
242
248
|
return "Select at least ".concat(x, " ").concat(y);
|
|
243
249
|
},
|
|
244
250
|
'page.booking.text.resource.check-auto-allocation-tip': "When checked, content will be automatically filled in without manual selection",
|
|
251
|
+
'page.booking.text.holder.length-error': 'Please select enough holder(s)',
|
|
245
252
|
'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
|
|
246
253
|
return "Original price of the item:".concat(origin, ",Current price of the item:").concat(current);
|
|
247
254
|
},
|
|
@@ -265,6 +272,8 @@ export default {
|
|
|
265
272
|
'pisell2.booking.info.text.clear': "Clear",
|
|
266
273
|
'pisell2.booking.info.text.clear-cart': "Clear cart",
|
|
267
274
|
'pisell2.booking.info.text.clear-all': "Clear all",
|
|
275
|
+
'pisell2.booking.info.text.add-holder': "Select",
|
|
276
|
+
'pisell2.booking.info.text.select-holder-title': "Who would you like to book this event for?",
|
|
268
277
|
'pisell2.booking.info.text.create-new': "Create new",
|
|
269
278
|
'pisell2.booking.info.text.form-agreement-yes': "Yes",
|
|
270
279
|
'pisell2.booking.info.text.form-agreement-no': "No",
|
|
@@ -282,6 +291,7 @@ export default {
|
|
|
282
291
|
'pisell2.text.missing.reservation.content': 'You have not selected a reservation type, Please select one before proceeding.',
|
|
283
292
|
'pisell2.text.confirm': 'Confirm',
|
|
284
293
|
'pisell2.text.cancel': 'Cancel',
|
|
294
|
+
'pisell2.text.close-confirm-message': 'Closing will discard all changes. Are you sure you want to close?',
|
|
285
295
|
// Action Buttons
|
|
286
296
|
'pisell2.action-buttons.clear': 'Clear',
|
|
287
297
|
'pisell2.action-buttons.manuel-order': "Manual\nOrder\xA0$",
|
|
@@ -357,7 +367,9 @@ export default {
|
|
|
357
367
|
'pisell2.text.form.link.to.another.record.more': 'View More',
|
|
358
368
|
// 联系信息
|
|
359
369
|
'pisell2.booking.text.contact-info.title': 'Contact info',
|
|
360
|
-
'pisell2.booking.text.search-placeholder': 'Search Customers / Contacts'
|
|
370
|
+
'pisell2.booking.text.search-placeholder': 'Search Customers / Contacts',
|
|
371
|
+
'pisell-select-holder-please-select': 'Please Select',
|
|
372
|
+
'pisell-select-holder-selected': 'Selected: '
|
|
361
373
|
},
|
|
362
374
|
'zh-CN': {
|
|
363
375
|
'pisell2.text.refunded-amount': '已退金额',
|
|
@@ -409,6 +421,11 @@ export default {
|
|
|
409
421
|
'pisell2.text.order-notes': '订单备注',
|
|
410
422
|
'pisell2.text.add-order-notes': '添加订单备注',
|
|
411
423
|
'pisell2.text.add-internal-notes': '添加内部备注',
|
|
424
|
+
'pisell2.text.holder-unassigned': function pisell2TextHolderUnassigned(count) {
|
|
425
|
+
return "".concat(count, " \u4E2A\u9884\u7EA6\u4E3B\u4F53\u672A\u5206\u914D");
|
|
426
|
+
},
|
|
427
|
+
'pisell2.text.press-card-assign-holder': '请点击每个卡片来分配预约主体',
|
|
428
|
+
'pisell2.text.skip-for-now': '稍后处理',
|
|
412
429
|
'pisell2.text.add-notes': '添加备注',
|
|
413
430
|
'pisell2.text.notes': '备注',
|
|
414
431
|
'pisell2.text.new-appointment': '新预约',
|
|
@@ -593,6 +610,7 @@ export default {
|
|
|
593
610
|
'page.booking.text.refund': '退款',
|
|
594
611
|
'page.booking.text.confirm': '确认',
|
|
595
612
|
'page.booking.text.go-back': '返回',
|
|
613
|
+
'page.booking.text.undo': '撤销',
|
|
596
614
|
'page.booking.text.cancel-booking': "取消预约",
|
|
597
615
|
'page.booking.text.cancel-booking.msg': "该操作不可撤销,请谨慎操作。",
|
|
598
616
|
'page.booking.text.disabled-tickets': "所有票单将被禁用。",
|
|
@@ -606,6 +624,7 @@ export default {
|
|
|
606
624
|
return "\u81F3\u5C11\u9009\u62E9".concat(x, "\u9879").concat(y);
|
|
607
625
|
},
|
|
608
626
|
'page.booking.text.resource.check-auto-allocation-tip': "\u52FE\u9009\u540E\u5C06\u81EA\u52A8\u586B\u5165\u5185\u5BB9\uFF0C\u65E0\u9700\u624B\u52A8\u9009\u62E9",
|
|
627
|
+
'page.booking.text.holder.length-error': '请选择足够的持有者',
|
|
609
628
|
'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
|
|
610
629
|
return "\u5546\u54C1\u539F\u4EF7:".concat(origin, ",\u5546\u54C1\u73B0\u4EF7:").concat(current);
|
|
611
630
|
},
|
|
@@ -629,6 +648,8 @@ export default {
|
|
|
629
648
|
'pisell2.booking.info.text.clear': "清空",
|
|
630
649
|
'pisell2.booking.info.text.clear-cart': "清空购物车",
|
|
631
650
|
'pisell2.booking.info.text.clear-all': "清空",
|
|
651
|
+
'pisell2.booking.info.text.add-holder': "请选择",
|
|
652
|
+
'pisell2.booking.info.text.select-holder-title': '您想为谁预订这个活动?',
|
|
632
653
|
'pisell2.booking.info.text.create-new': "新建",
|
|
633
654
|
'pisell2.booking.info.text.form-agreement-yes': "是",
|
|
634
655
|
'pisell2.booking.info.text.form-agreement-no': "否",
|
|
@@ -646,6 +667,7 @@ export default {
|
|
|
646
667
|
'pisell2.text.missing.reservation.content': '您尚未选择预约类型,请在继续操作前选择。',
|
|
647
668
|
'pisell2.text.confirm': '确定',
|
|
648
669
|
'pisell2.text.cancel': '取消',
|
|
670
|
+
'pisell2.text.close-confirm-message': '关闭后,已填写或操作的内容将不会保存,确定要关闭吗?',
|
|
649
671
|
// Action Buttons
|
|
650
672
|
'pisell2.action-buttons.clear': '清空',
|
|
651
673
|
'pisell2.action-buttons.manuel-order': "\u624B\u52A8\n\u8BA2\u5355\xA0$",
|
|
@@ -721,7 +743,9 @@ export default {
|
|
|
721
743
|
'pisell2.text.form.link.to.another.record.more': '查看更多',
|
|
722
744
|
// 联系信息
|
|
723
745
|
'pisell2.booking.text.contact-info.title': '联系信息',
|
|
724
|
-
'pisell2.booking.text.search-placeholder': '搜索客户/联系信息'
|
|
746
|
+
'pisell2.booking.text.search-placeholder': '搜索客户/联系信息',
|
|
747
|
+
'pisell-select-holder-please-select': '请选择',
|
|
748
|
+
'pisell-select-holder-selected': '已选择:'
|
|
725
749
|
},
|
|
726
750
|
'zh-HK': {
|
|
727
751
|
'pisell2.text.refunded-amount': '已退金額',
|
|
@@ -773,6 +797,11 @@ export default {
|
|
|
773
797
|
'pisell2.text.order-notes': '訂單備注',
|
|
774
798
|
'pisell2.text.add-order-notes': '添加訂單備注',
|
|
775
799
|
'pisell2.text.add-internal-notes': '添加內部備注',
|
|
800
|
+
'pisell2.text.holder-unassigned': function pisell2TextHolderUnassigned(count) {
|
|
801
|
+
return "".concat(count, " \u500B\u9810\u7D04\u4E3B\u9AD4\u672A\u5206\u914D");
|
|
802
|
+
},
|
|
803
|
+
'pisell2.text.press-card-assign-holder': '請點擊每個卡片來分配預約主體',
|
|
804
|
+
'pisell2.text.skip-for-now': '稍後處理',
|
|
776
805
|
'pisell2.text.add-notes': '添加備注',
|
|
777
806
|
'pisell2.text.notes': '備注',
|
|
778
807
|
'pisell2.text.new-appointment': '新預約',
|
|
@@ -957,6 +986,7 @@ export default {
|
|
|
957
986
|
'page.booking.text.refund': '退款',
|
|
958
987
|
'page.booking.text.confirm': '確認',
|
|
959
988
|
'page.booking.text.go-back': '返回',
|
|
989
|
+
'page.booking.text.undo': '撤销',
|
|
960
990
|
'page.booking.text.cancel-booking': '取消預約',
|
|
961
991
|
'page.booking.text.cancel-booking.msg': '該操作不可撤銷,請謹慎操作。',
|
|
962
992
|
'page.booking.text.disabled-tickets': '所有票單將被禁用。',
|
|
@@ -970,6 +1000,7 @@ export default {
|
|
|
970
1000
|
return "\u81F3\u5C11\u9078\u64C7".concat(x, "\u9805").concat(y);
|
|
971
1001
|
},
|
|
972
1002
|
'page.booking.text.resource.check-auto-allocation-tip': "\u52FE\u9078\u5F8C\u5C07\u81EA\u52D5\u586B\u5165\u5167\u5BB9\uFF0C\u7121\u9700\u624B\u52D5\u9078\u64C7",
|
|
1003
|
+
'page.booking.text.holder.length-error': '請選擇足夠的持有者',
|
|
973
1004
|
'page.booking.text.price-extra': function pageBookingTextPriceExtra(origin, current) {
|
|
974
1005
|
return "\u5546\u54C1\u539F\u50F9:".concat(origin, ",\u5546\u54C1\u73FE\u50F9:").concat(current);
|
|
975
1006
|
},
|
|
@@ -993,6 +1024,8 @@ export default {
|
|
|
993
1024
|
'pisell2.booking.info.text.clear': "清空",
|
|
994
1025
|
'pisell2.booking.info.text.clear-cart': "清空購物車",
|
|
995
1026
|
'pisell2.booking.info.text.clear-all': "清空",
|
|
1027
|
+
'pisell2.booking.info.text.add-holder': "请选择",
|
|
1028
|
+
'pisell2.booking.info.text.select-holder-title': "您想为谁预订这个活动?",
|
|
996
1029
|
'pisell2.booking.info.text.create-new': "新建",
|
|
997
1030
|
'pisell2.booking.info.text.form-agreement-yes': "是",
|
|
998
1031
|
'pisell2.booking.info.text.form-agreement-no': "否",
|
|
@@ -1010,6 +1043,7 @@ export default {
|
|
|
1010
1043
|
'pisell2.text.missing.reservation.content': '您尚未選擇預約類型,請在繼續操作前選擇。',
|
|
1011
1044
|
'pisell2.text.confirm': '確定',
|
|
1012
1045
|
'pisell2.text.cancel': '取消',
|
|
1046
|
+
'pisell2.text.close-confirm-message': '關閉後,已填寫或操作的內容將不會保存,確定要關閉嗎?',
|
|
1013
1047
|
// Action Buttons
|
|
1014
1048
|
'pisell2.action-buttons.clear': '清空',
|
|
1015
1049
|
'pisell2.action-buttons.manuel-order': "\u624B\u52D5\n\u8A02\u55AE\xA0$",
|
|
@@ -1085,6 +1119,8 @@ export default {
|
|
|
1085
1119
|
'pisell2.text.form.link.to.another.record.more': '查看更多',
|
|
1086
1120
|
// 联系信息
|
|
1087
1121
|
'pisell2.booking.text.contact-info.title': '聯繫信息',
|
|
1088
|
-
'pisell2.booking.text.search-placeholder': '搜索客戶/聯系信息'
|
|
1122
|
+
'pisell2.booking.text.search-placeholder': '搜索客戶/聯系信息',
|
|
1123
|
+
'pisell-select-holder-please-select': '請選擇',
|
|
1124
|
+
'pisell-select-holder-selected': '已選擇:'
|
|
1089
1125
|
}
|
|
1090
1126
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
amountSymbol: string;
|
|
4
3
|
apis: {
|
|
@@ -110,11 +109,4 @@ export declare const walkInData: {
|
|
|
110
109
|
id: number;
|
|
111
110
|
nickname: string;
|
|
112
111
|
};
|
|
113
|
-
export declare const Provider:
|
|
114
|
-
state: FormState;
|
|
115
|
-
} & {
|
|
116
|
-
dispatch: (params: {
|
|
117
|
-
type: string;
|
|
118
|
-
payload: any;
|
|
119
|
-
}) => void;
|
|
120
|
-
}>;
|
|
112
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './confirmHolderModal.less';
|
|
3
|
+
/**
|
|
4
|
+
* 确认 Holder 弹窗组件(直接返回 PisellContainer,不使用 createPortal)
|
|
5
|
+
*/
|
|
6
|
+
export declare const ConfirmHolderModal: React.FC;
|
|
7
|
+
/**
|
|
8
|
+
* 通过 await 调用的确认 Holder 弹窗
|
|
9
|
+
* @param state 状态对象
|
|
10
|
+
* @param dispatch dispatch 函数
|
|
11
|
+
* @returns Promise,resolve 时返回 void(无论点击哪个按钮都会继续执行)
|
|
12
|
+
*/
|
|
13
|
+
export declare function showConfirmHolderModal(state: any, dispatch: any): Promise<void>;
|