@pisell/private-materials 3.4.22 → 3.4.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +13 -13
- 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 +8 -8
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +27 -3
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.js +3 -3
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/hooks.js +4 -2
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.js +10 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +8 -5
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/header/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/Lists.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- 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.d.ts +2 -2
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/device.d.ts +2 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +34 -8
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/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/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/taxSelect/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/wallet/Detail/index.js +251 -63
- package/es/components/wallet/Detail/locales.d.ts +51 -0
- package/es/components/wallet/Detail/locales.js +57 -3
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/Detail/serve.js +5 -1
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/es/components/wallet/components/UsageRules/index.js +147 -0
- package/es/components/wallet/components/UsageRules/index.less +157 -0
- package/es/components/wallet/components/WalletCard.js +8 -3
- package/es/components/wallet/components/index.d.ts +1 -0
- package/es/components/wallet/components/index.js +2 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/model.d.ts +1 -9
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/plus/saasCreateOrganization/index.d.ts +1 -0
- package/es/utils/index.d.ts +1 -1
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +22 -2
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.js +2 -2
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/hooks.js +4 -2
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.js +6 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +3 -1
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/header/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/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- 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.d.ts +2 -2
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/device.d.ts +2 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +30 -8
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/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/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/taxSelect/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/wallet/Detail/index.js +140 -8
- package/lib/components/wallet/Detail/locales.d.ts +51 -0
- package/lib/components/wallet/Detail/locales.js +57 -3
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/Detail/serve.js +6 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/lib/components/wallet/components/UsageRules/index.js +113 -0
- package/lib/components/wallet/components/UsageRules/index.less +157 -0
- package/lib/components/wallet/components/WalletCard.js +3 -1
- package/lib/components/wallet/components/index.d.ts +1 -0
- package/lib/components/wallet/components/index.js +3 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
- package/lib/utils/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
4
3
|
order: any;
|
|
@@ -29,11 +28,4 @@ export interface PayGroup {
|
|
|
29
28
|
pay_number?: string;
|
|
30
29
|
_order: any;
|
|
31
30
|
}
|
|
32
|
-
export declare const Provider:
|
|
33
|
-
state: FormState;
|
|
34
|
-
} & {
|
|
35
|
-
dispatch: (params: {
|
|
36
|
-
type: string;
|
|
37
|
-
payload: any;
|
|
38
|
-
}) => void;
|
|
39
|
-
}>;
|
|
31
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,11 +68,4 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider:
|
|
73
|
-
state: FormState;
|
|
74
|
-
} & {
|
|
75
|
-
dispatch: (params: {
|
|
76
|
-
type: string;
|
|
77
|
-
payload: any;
|
|
78
|
-
}) => void;
|
|
79
|
-
}>;
|
|
71
|
+
export declare const Provider: any, Context: any;
|
|
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
|
|
|
17
17
|
export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
|
|
18
18
|
export declare const saveConfirm: () => Promise<{
|
|
19
19
|
destroy: () => void;
|
|
20
|
-
update: (configUpdate: import("antd
|
|
20
|
+
update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
|
|
21
21
|
}>;
|
|
22
22
|
export { modal };
|
|
@@ -67,8 +67,101 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
67
67
|
expire_date = "",
|
|
68
68
|
product = {}
|
|
69
69
|
} = detail;
|
|
70
|
-
const {
|
|
70
|
+
const {
|
|
71
|
+
description = "",
|
|
72
|
+
extension_data = [],
|
|
73
|
+
customer_order_behavior_count = 0
|
|
74
|
+
} = product || {};
|
|
71
75
|
const context = (0, import_useEngineContext.default)();
|
|
76
|
+
const [extensionData, setExtensionData] = (0, import_react.useState)([]);
|
|
77
|
+
const [customerOrderBehaviorCount, setCustomerOrderBehaviorCount] = (0, import_react.useState)(0);
|
|
78
|
+
const [totalOrderBehaviorCount, setTotalOrderBehaviorCount] = (0, import_react.useState)(0);
|
|
79
|
+
const [todayOrderBehaviorCount, setTodayOrderBehaviorCount] = (0, import_react.useState)(0);
|
|
80
|
+
const [weekOrderBehaviorCount, setWeekOrderBehaviorCount] = (0, import_react.useState)(0);
|
|
81
|
+
const [monthOrderBehaviorCount, setMonthOrderBehaviorCount] = (0, import_react.useState)(0);
|
|
82
|
+
const [usageCreditsData, setUsageCreditsData] = (0, import_react.useState)(null);
|
|
83
|
+
const [shouldShowUsageRules, setShouldShowUsageRules] = (0, import_react.useState)(false);
|
|
84
|
+
const generateUsageRules = (creditsData) => {
|
|
85
|
+
if (!creditsData) return [];
|
|
86
|
+
const rules = [];
|
|
87
|
+
if (creditsData.max_per_day > 0) {
|
|
88
|
+
rules.push({
|
|
89
|
+
type: "daily",
|
|
90
|
+
limit: creditsData.max_per_day,
|
|
91
|
+
description: "",
|
|
92
|
+
// Will be filled by localized text
|
|
93
|
+
resetTime: ""
|
|
94
|
+
// Will be filled by localized text
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
if (creditsData.max_per_week > 0) {
|
|
98
|
+
rules.push({
|
|
99
|
+
type: "weekly",
|
|
100
|
+
limit: creditsData.max_per_week,
|
|
101
|
+
description: "",
|
|
102
|
+
// Will be filled by localized text
|
|
103
|
+
resetTime: ""
|
|
104
|
+
// Will be filled by localized text
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
if (creditsData.max_per_month > 0) {
|
|
108
|
+
rules.push({
|
|
109
|
+
type: "monthly",
|
|
110
|
+
limit: creditsData.max_per_month,
|
|
111
|
+
description: "",
|
|
112
|
+
// Will be filled by localized text
|
|
113
|
+
resetTime: ""
|
|
114
|
+
// Will be filled by localized text
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
return rules;
|
|
118
|
+
};
|
|
119
|
+
const generatePersonalLimit = (creditsData, usedCount = { totalOrderBehaviorCount: 0, customerOrderBehaviorCount: 0 }) => {
|
|
120
|
+
if (!creditsData) return void 0;
|
|
121
|
+
const totalCredits = creditsData.total_credits || 0;
|
|
122
|
+
const perUserLimit = creditsData.per_user_limit || 0;
|
|
123
|
+
let total = 0;
|
|
124
|
+
if (totalCredits > 0 && perUserLimit > 0) {
|
|
125
|
+
total = Math.min(totalCredits, perUserLimit);
|
|
126
|
+
} else {
|
|
127
|
+
total = Math.max(totalCredits, perUserLimit);
|
|
128
|
+
}
|
|
129
|
+
let total_remaining = 0;
|
|
130
|
+
if (totalCredits > 0) {
|
|
131
|
+
total_remaining = totalCredits - usedCount.totalOrderBehaviorCount;
|
|
132
|
+
}
|
|
133
|
+
let perUser_remaining = 0;
|
|
134
|
+
if (perUserLimit > 0) {
|
|
135
|
+
perUser_remaining = perUserLimit - usedCount.customerOrderBehaviorCount;
|
|
136
|
+
}
|
|
137
|
+
let remaining = 0;
|
|
138
|
+
if (total_remaining > 0 && perUser_remaining > 0) {
|
|
139
|
+
remaining = Math.min(total_remaining, perUser_remaining);
|
|
140
|
+
} else {
|
|
141
|
+
if (total_remaining === 0) {
|
|
142
|
+
if (totalCredits === 0) {
|
|
143
|
+
remaining = perUser_remaining;
|
|
144
|
+
} else {
|
|
145
|
+
remaining = 0;
|
|
146
|
+
}
|
|
147
|
+
} else {
|
|
148
|
+
if (perUser_remaining === 0) {
|
|
149
|
+
remaining = 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
total,
|
|
155
|
+
remaining,
|
|
156
|
+
note: ""
|
|
157
|
+
// Will be filled by localized text
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
const usageRules = generateUsageRules(usageCreditsData);
|
|
161
|
+
const personalLimit = generatePersonalLimit(usageCreditsData, {
|
|
162
|
+
totalOrderBehaviorCount,
|
|
163
|
+
customerOrderBehaviorCount
|
|
164
|
+
});
|
|
72
165
|
const utils = ((_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) || {};
|
|
73
166
|
const dvaStore = (_c = (_b = utils == null ? void 0 : utils.getStore) == null ? void 0 : _b.call(utils)) == null ? void 0 : _c.getState();
|
|
74
167
|
const [TimeLineData, setTimeLineData] = (0, import_react.useState)([]);
|
|
@@ -120,6 +213,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
120
213
|
}
|
|
121
214
|
};
|
|
122
215
|
(0, import_react.useEffect)(() => {
|
|
216
|
+
var _a2;
|
|
123
217
|
let data = [
|
|
124
218
|
{
|
|
125
219
|
label: import_utils.locales.getText("page.wallet.cardName"),
|
|
@@ -136,9 +230,10 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
136
230
|
}
|
|
137
231
|
];
|
|
138
232
|
if (tag === "product_discount_card") {
|
|
233
|
+
const isFixedAmount = ((_a2 = detail.metadata) == null ? void 0 : _a2.discount_card_type) === "fixed_amount";
|
|
139
234
|
data.splice(2, 0, {
|
|
140
235
|
label: import_utils.locales.getText("page.wallet.discount"),
|
|
141
|
-
value: balance ? `${Number(balance)}%` : ""
|
|
236
|
+
value: balance ? isFixedAmount ? `${symbol}${Number(balance)}` : `${Number(balance)}%` : ""
|
|
142
237
|
});
|
|
143
238
|
} else if (tag === "point_card") {
|
|
144
239
|
data.splice(2, 0, {
|
|
@@ -182,9 +277,39 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
182
277
|
return isNegative ? `-${!["point_card", "good_pass"].includes(tag) ? symbol : ""}${absAmount}` : `${!["point_card", "good_pass"].includes(tag) ? symbol : ""}${amount}`;
|
|
183
278
|
};
|
|
184
279
|
const getDetail = async () => {
|
|
185
|
-
const {
|
|
280
|
+
const {
|
|
281
|
+
apple_wallet_url: apple_wallet_url2 = "",
|
|
282
|
+
google_wallet_url: google_wallet_url2 = "",
|
|
283
|
+
extension_data: extension_data2 = [],
|
|
284
|
+
customer_order_behavior_count: customer_order_behavior_count2 = 0,
|
|
285
|
+
total_order_behavior_count = 0,
|
|
286
|
+
today_order_behavior_count = 0,
|
|
287
|
+
week_order_behavior_count = 0,
|
|
288
|
+
month_order_behavior_count = 0
|
|
289
|
+
} = await (0, import_serve.getDetailApi)({ id: detail.id || "" });
|
|
186
290
|
setAppleWalletUrl(apple_wallet_url2);
|
|
187
291
|
setGoogleWalletUrl(google_wallet_url2);
|
|
292
|
+
setExtensionData(extension_data2);
|
|
293
|
+
setCustomerOrderBehaviorCount(customer_order_behavior_count2);
|
|
294
|
+
setTotalOrderBehaviorCount(total_order_behavior_count);
|
|
295
|
+
setTodayOrderBehaviorCount(today_order_behavior_count);
|
|
296
|
+
setWeekOrderBehaviorCount(week_order_behavior_count);
|
|
297
|
+
setMonthOrderBehaviorCount(month_order_behavior_count);
|
|
298
|
+
if (Array.isArray(extension_data2) && extension_data2.length > 0) {
|
|
299
|
+
const usageCreditsItem = extension_data2.find(
|
|
300
|
+
(item) => item.field_key === "usage_credits"
|
|
301
|
+
);
|
|
302
|
+
if (usageCreditsItem == null ? void 0 : usageCreditsItem.value) {
|
|
303
|
+
setUsageCreditsData(usageCreditsItem.value);
|
|
304
|
+
setShouldShowUsageRules(true);
|
|
305
|
+
} else {
|
|
306
|
+
setUsageCreditsData(null);
|
|
307
|
+
setShouldShowUsageRules(false);
|
|
308
|
+
}
|
|
309
|
+
} else {
|
|
310
|
+
setUsageCreditsData(null);
|
|
311
|
+
setShouldShowUsageRules(false);
|
|
312
|
+
}
|
|
188
313
|
};
|
|
189
314
|
(0, import_react.useEffect)(() => {
|
|
190
315
|
if (detail.id) {
|
|
@@ -274,7 +399,9 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
274
399
|
throw new Error(`HTTP error! status: ${response.status}`);
|
|
275
400
|
}
|
|
276
401
|
const passData = await response.arrayBuffer();
|
|
277
|
-
const blob = new Blob([passData], {
|
|
402
|
+
const blob = new Blob([passData], {
|
|
403
|
+
type: "application/vnd.apple.pkpass"
|
|
404
|
+
});
|
|
278
405
|
const downloadUrl = URL.createObjectURL(blob);
|
|
279
406
|
const a = document.createElement("a");
|
|
280
407
|
a.href = downloadUrl;
|
|
@@ -604,10 +731,15 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
|
|
|
604
731
|
isHasBorder: false
|
|
605
732
|
}
|
|
606
733
|
),
|
|
607
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-card-content-tip" }, description
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
734
|
+
description && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-card-content-tip" }, /* @__PURE__ */ import_react.default.createElement("div", { dangerouslySetInnerHTML: { __html: description } })),
|
|
735
|
+
shouldShowUsageRules && /* @__PURE__ */ import_react.default.createElement(
|
|
736
|
+
import_components.UsageRules,
|
|
737
|
+
{
|
|
738
|
+
locales: import_utils.locales,
|
|
739
|
+
rules: usageRules,
|
|
740
|
+
personalLimit
|
|
741
|
+
}
|
|
742
|
+
)
|
|
611
743
|
),
|
|
612
744
|
/* @__PURE__ */ import_react.default.createElement(
|
|
613
745
|
"section",
|
|
@@ -29,6 +29,23 @@ declare const _default: {
|
|
|
29
29
|
'page.wallet.openedInBrowser': string;
|
|
30
30
|
'page.wallet.openFailed': string;
|
|
31
31
|
'page.wallet.loading': string;
|
|
32
|
+
'page.wallet.usageRules': string;
|
|
33
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
34
|
+
'page.wallet.timeUsageLimits': string;
|
|
35
|
+
'page.wallet.totalQuantityControl': string;
|
|
36
|
+
'page.wallet.dailyLimit': string;
|
|
37
|
+
'page.wallet.weeklyLimit': string;
|
|
38
|
+
'page.wallet.monthlyLimit': string;
|
|
39
|
+
'page.wallet.personalLimit': string;
|
|
40
|
+
'page.wallet.dailyLimitDesc': string;
|
|
41
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
42
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
43
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
44
|
+
'page.wallet.personalLimitDesc': string;
|
|
45
|
+
'page.wallet.dailyReset': string;
|
|
46
|
+
'page.wallet.weeklyReset': string;
|
|
47
|
+
'page.wallet.monthlyReset': string;
|
|
48
|
+
'page.wallet.voucherExpireNote': string;
|
|
32
49
|
};
|
|
33
50
|
'zh-CN': {
|
|
34
51
|
'page.wallet.copyTitle': string;
|
|
@@ -60,6 +77,23 @@ declare const _default: {
|
|
|
60
77
|
'page.wallet.openedInBrowser': string;
|
|
61
78
|
'page.wallet.openFailed': string;
|
|
62
79
|
'page.wallet.loading': string;
|
|
80
|
+
'page.wallet.usageRules': string;
|
|
81
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
82
|
+
'page.wallet.timeUsageLimits': string;
|
|
83
|
+
'page.wallet.totalQuantityControl': string;
|
|
84
|
+
'page.wallet.dailyLimit': string;
|
|
85
|
+
'page.wallet.weeklyLimit': string;
|
|
86
|
+
'page.wallet.monthlyLimit': string;
|
|
87
|
+
'page.wallet.personalLimit': string;
|
|
88
|
+
'page.wallet.dailyLimitDesc': string;
|
|
89
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
90
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
91
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
92
|
+
'page.wallet.personalLimitDesc': string;
|
|
93
|
+
'page.wallet.dailyReset': string;
|
|
94
|
+
'page.wallet.weeklyReset': string;
|
|
95
|
+
'page.wallet.monthlyReset': string;
|
|
96
|
+
'page.wallet.voucherExpireNote': string;
|
|
63
97
|
};
|
|
64
98
|
'zh-HK': {
|
|
65
99
|
'page.wallet.copyTitle': string;
|
|
@@ -91,6 +125,23 @@ declare const _default: {
|
|
|
91
125
|
'page.wallet.openedInBrowser': string;
|
|
92
126
|
'page.wallet.openFailed': string;
|
|
93
127
|
'page.wallet.loading': string;
|
|
128
|
+
'page.wallet.usageRules': string;
|
|
129
|
+
'page.wallet.usageRulesSubtitle': string;
|
|
130
|
+
'page.wallet.timeUsageLimits': string;
|
|
131
|
+
'page.wallet.totalQuantityControl': string;
|
|
132
|
+
'page.wallet.dailyLimit': string;
|
|
133
|
+
'page.wallet.weeklyLimit': string;
|
|
134
|
+
'page.wallet.monthlyLimit': string;
|
|
135
|
+
'page.wallet.personalLimit': string;
|
|
136
|
+
'page.wallet.dailyLimitDesc': string;
|
|
137
|
+
'page.wallet.weeklyLimitDesc': string;
|
|
138
|
+
'page.wallet.monthlyLimitDesc': string;
|
|
139
|
+
'page.wallet.monthlyLimitUnlimited': string;
|
|
140
|
+
'page.wallet.personalLimitDesc': string;
|
|
141
|
+
'page.wallet.dailyReset': string;
|
|
142
|
+
'page.wallet.weeklyReset': string;
|
|
143
|
+
'page.wallet.monthlyReset': string;
|
|
144
|
+
'page.wallet.voucherExpireNote': string;
|
|
94
145
|
};
|
|
95
146
|
};
|
|
96
147
|
export default _default;
|
|
@@ -55,7 +55,25 @@ var locales_default = {
|
|
|
55
55
|
"page.wallet.useAppleInstead": "You are using an iOS device, would you like to use Apple Wallet instead of Google Wallet?",
|
|
56
56
|
"page.wallet.openedInBrowser": "Opened in browser",
|
|
57
57
|
"page.wallet.openFailed": "Failed to open wallet link",
|
|
58
|
-
"page.wallet.loading": "Loading wallet..."
|
|
58
|
+
"page.wallet.loading": "Loading wallet...",
|
|
59
|
+
// Usage Rules
|
|
60
|
+
"page.wallet.usageRules": "Terms & Conditions",
|
|
61
|
+
"page.wallet.usageRulesSubtitle": "Please read the following usage conditions carefully",
|
|
62
|
+
"page.wallet.timeUsageLimits": "Time Window Restrictions",
|
|
63
|
+
"page.wallet.totalQuantityControl": "Total Usage Control",
|
|
64
|
+
"page.wallet.dailyLimit": "Daily Limit:",
|
|
65
|
+
"page.wallet.weeklyLimit": "Weekly Limit:",
|
|
66
|
+
"page.wallet.monthlyLimit": "Monthly Limit:",
|
|
67
|
+
"page.wallet.personalLimit": "Personal Limit:",
|
|
68
|
+
"page.wallet.dailyLimitDesc": "Maximum {limit} uses from 12:00 AM to 11:59 PM each day",
|
|
69
|
+
"page.wallet.weeklyLimitDesc": "Maximum {limit} uses from Monday 12:00 AM to Sunday 11:59 PM",
|
|
70
|
+
"page.wallet.monthlyLimitDesc": "Maximum {limit} uses from 1st 12:00 AM to end of month 11:59 PM",
|
|
71
|
+
"page.wallet.monthlyLimitUnlimited": "Unlimited",
|
|
72
|
+
"page.wallet.personalLimitDesc": "You can use this voucher maximum {total} times ({remaining} remaining)",
|
|
73
|
+
"page.wallet.dailyReset": "Counter resets automatically at midnight",
|
|
74
|
+
"page.wallet.weeklyReset": "Counter resets every Monday at midnight",
|
|
75
|
+
"page.wallet.monthlyReset": "Counter resets on 1st of each month at midnight",
|
|
76
|
+
"page.wallet.voucherExpireNote": "Voucher will automatically expire when limit is reached"
|
|
59
77
|
},
|
|
60
78
|
"zh-CN": {
|
|
61
79
|
// 简体中文翻译
|
|
@@ -89,7 +107,25 @@ var locales_default = {
|
|
|
89
107
|
"page.wallet.useAppleInstead": "您正在使用iOS设备,是否使用Apple Wallet代替Google Wallet?",
|
|
90
108
|
"page.wallet.openedInBrowser": "已在浏览器中打开",
|
|
91
109
|
"page.wallet.openFailed": "打开钱包链接失败",
|
|
92
|
-
"page.wallet.loading": "正在加载钱包..."
|
|
110
|
+
"page.wallet.loading": "正在加载钱包...",
|
|
111
|
+
// Usage Rules
|
|
112
|
+
"page.wallet.usageRules": "使用规则",
|
|
113
|
+
"page.wallet.usageRulesSubtitle": "请仔细阅读以下使用条件",
|
|
114
|
+
"page.wallet.timeUsageLimits": "时间使用限制",
|
|
115
|
+
"page.wallet.totalQuantityControl": "总量控制",
|
|
116
|
+
"page.wallet.dailyLimit": "每日限制:",
|
|
117
|
+
"page.wallet.weeklyLimit": "每周限制:",
|
|
118
|
+
"page.wallet.monthlyLimit": "每月限制:",
|
|
119
|
+
"page.wallet.personalLimit": "个人限额:",
|
|
120
|
+
"page.wallet.dailyLimitDesc": "每天0点-24点最多使用{limit}次",
|
|
121
|
+
"page.wallet.weeklyLimitDesc": "每周一0点-周日24点最多使用{limit}次",
|
|
122
|
+
"page.wallet.monthlyLimitDesc": "每月1号0点-月末24点最多使用{limit}次",
|
|
123
|
+
"page.wallet.monthlyLimitUnlimited": "无限制",
|
|
124
|
+
"page.wallet.personalLimitDesc": "您最多可使用此券{total}次(剩余{remaining}次)",
|
|
125
|
+
"page.wallet.dailyReset": "每天0点自动重置计数",
|
|
126
|
+
"page.wallet.weeklyReset": "每周一0点自动重置计数",
|
|
127
|
+
"page.wallet.monthlyReset": "每月1号0点自动重置计数",
|
|
128
|
+
"page.wallet.voucherExpireNote": "用完后此券将自动失效"
|
|
93
129
|
},
|
|
94
130
|
"zh-HK": {
|
|
95
131
|
// 繁体中文翻译
|
|
@@ -123,6 +159,24 @@ var locales_default = {
|
|
|
123
159
|
"page.wallet.useAppleInstead": "您正在使用iOS設備,是否使用Apple Wallet代替Google Wallet?",
|
|
124
160
|
"page.wallet.openedInBrowser": "已在瀏覽器中打開",
|
|
125
161
|
"page.wallet.openFailed": "打開錢包連結失敗",
|
|
126
|
-
"page.wallet.loading": "正在加載錢包..."
|
|
162
|
+
"page.wallet.loading": "正在加載錢包...",
|
|
163
|
+
// Usage Rules
|
|
164
|
+
"page.wallet.usageRules": "使用規則",
|
|
165
|
+
"page.wallet.usageRulesSubtitle": "請仔細閱讀以下使用條件",
|
|
166
|
+
"page.wallet.timeUsageLimits": "時間使用限制",
|
|
167
|
+
"page.wallet.totalQuantityControl": "總量控制",
|
|
168
|
+
"page.wallet.dailyLimit": "每日限制:",
|
|
169
|
+
"page.wallet.weeklyLimit": "每週限制:",
|
|
170
|
+
"page.wallet.monthlyLimit": "每月限制:",
|
|
171
|
+
"page.wallet.personalLimit": "個人限額:",
|
|
172
|
+
"page.wallet.dailyLimitDesc": "每天0點-24點最多使用{limit}次",
|
|
173
|
+
"page.wallet.weeklyLimitDesc": "每週一0點-週日24點最多使用{limit}次",
|
|
174
|
+
"page.wallet.monthlyLimitDesc": "每月1號0點-月末24點最多使用{limit}次",
|
|
175
|
+
"page.wallet.monthlyLimitUnlimited": "無限制",
|
|
176
|
+
"page.wallet.personalLimitDesc": "您最多可使用此券{total}次(剩餘{remaining}次)",
|
|
177
|
+
"page.wallet.dailyReset": "每天0點自動重置計數",
|
|
178
|
+
"page.wallet.weeklyReset": "每週一0點自動重置計數",
|
|
179
|
+
"page.wallet.monthlyReset": "每月1號0點自動重置計數",
|
|
180
|
+
"page.wallet.voucherExpireNote": "用完後此券將自動失效"
|
|
127
181
|
}
|
|
128
182
|
};
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
addWalletCard: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
walletDetailState: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -29,7 +29,12 @@ var getAssetList = async (params) => {
|
|
|
29
29
|
return data;
|
|
30
30
|
};
|
|
31
31
|
var getDetailApi = async (params) => {
|
|
32
|
-
const { data } = await import_utils.request.getRequest().get(`/h5/machinecode/lowcode/detail/${params.id}`, {
|
|
32
|
+
const { data } = await import_utils.request.getRequest().get(`/h5/machinecode/lowcode/detail/${params.id}`, {
|
|
33
|
+
order_behavior_count: 1,
|
|
34
|
+
// 订单行为次数
|
|
35
|
+
order_behavior_count_customer: 1
|
|
36
|
+
// 客户订单行为次数
|
|
37
|
+
});
|
|
33
38
|
return data;
|
|
34
39
|
};
|
|
35
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: number;
|
|
4
|
-
setup?: 'menu' | 'list' | 'detail' | string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
7
|
-
state: RechargeState;
|
|
8
|
-
} & {
|
|
9
|
-
dispatch: (params: {
|
|
10
|
-
type: string;
|
|
11
|
-
payload: any;
|
|
12
|
-
}) => void;
|
|
13
|
-
}>;
|
|
14
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|