@pisell/private-materials 3.3.9 → 3.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +3 -3
- package/build/lowcode/view.js +3 -3
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +42 -242
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +13 -5
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/index.js +5 -2
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/es/components/appointmentBooking/components/Cart/utils.js +4 -308
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +145 -4
- package/es/components/appointmentBooking/components/Content/index.js +35 -28
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/Date/index.js +67 -34
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Footer/index.js +12 -10
- package/es/components/appointmentBooking/components/Form/index.js +40 -13
- package/es/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Guest/index.js +10 -3
- package/es/components/appointmentBooking/components/Header/index.js +31 -23
- package/es/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/es/components/appointmentBooking/components/Resource/index.js +140 -46
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Resource/utils.js +16 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/es/components/appointmentBooking/components/Services/index.js +17 -72
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +17 -4
- package/es/components/appointmentBooking/context.js +13 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +12 -9
- package/es/components/appointmentBooking/hooks.d.ts +2 -1
- package/es/components/appointmentBooking/hooks.js +71 -22
- package/es/components/appointmentBooking/utils.d.ts +114 -0
- package/es/components/appointmentBooking/utils.js +155 -175
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/utils.js +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/payments/index.js +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/es/components/productSelect/index.d.ts +23 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/utils/tasks/index.js +114 -0
- package/es/utils/tasks/type.js +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +10 -123
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +4 -5
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/index.js +2 -2
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -41
- package/lib/components/appointmentBooking/components/Cart/utils.js +6 -184
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +65 -3
- package/lib/components/appointmentBooking/components/Content/index.js +36 -22
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/Date/index.js +13 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Footer/index.js +16 -12
- package/lib/components/appointmentBooking/components/Form/index.js +17 -11
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Guest/index.js +7 -2
- package/lib/components/appointmentBooking/components/Header/index.js +10 -10
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +5 -1
- package/lib/components/appointmentBooking/components/Resource/index.js +86 -30
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Resource/utils.js +36 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +2 -1
- package/lib/components/appointmentBooking/components/Services/index.js +7 -6
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +3 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +14 -3
- package/lib/components/appointmentBooking/context.js +7 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +3 -1
- package/lib/components/appointmentBooking/hooks.d.ts +2 -1
- package/lib/components/appointmentBooking/hooks.js +29 -8
- package/lib/components/appointmentBooking/utils.d.ts +114 -0
- package/lib/components/appointmentBooking/utils.js +82 -82
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/utils.js +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/payments/index.js +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +34 -0
- package/lib/components/productSelect/index.d.ts +23 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +4 -2
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/utils/tasks/index.js +63 -0
- package/lib/utils/tasks/type.js +17 -0
- package/package.json +1 -1
- package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -4
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/serve.d.ts +0 -2
- package/es/components/Sales/Cart/types.d.ts +0 -19
- package/es/components/Sales/Checkout/index.d.ts +0 -33
- package/es/components/Sales/Checkout/serve.d.ts +0 -2
- package/es/components/Sales/Checkout/utils.d.ts +0 -27
- package/es/components/Sales/Customer/index.d.ts +0 -24
- package/es/components/Sales/Event/Detail.d.ts +0 -27
- package/es/components/Sales/Event/serve.d.ts +0 -26
- package/es/components/Sales/Holder/index.d.ts +0 -33
- package/es/components/Sales/Holder/serve.d.ts +0 -8
- package/es/components/Sales/Init/index.d.ts +0 -24
- package/es/components/Sales/Init/serve.d.ts +0 -3
- package/es/components/Sales/Resource/index.d.ts +0 -26
- package/es/components/Sales/Resource/serve.d.ts +0 -5
- package/es/components/Sales/Step/index.d.ts +0 -37
- package/es/components/Sales/Summary/index.d.ts +0 -25
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +0 -36
- package/es/components/Sales/hooks/index.d.ts +0 -1
- package/es/components/Sales/index.d.ts +0 -20
- package/es/components/Sales/utils/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/es/components/appointmentBooking/locales.d.ts +0 -345
- package/es/components/appointmentBooking/mock.d.ts +0 -627
- package/es/components/appointmentBooking/status.d.ts +0 -21
- package/es/components/appointmentBooking/type.d.ts +0 -17
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/amount.d.ts +0 -23
- package/es/components/booking/components/footer/serve.d.ts +0 -3
- package/es/components/booking/forms/index.d.ts +0 -9
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/service/addService/utils.d.ts +0 -71
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/es/components/booking/info/service/serve.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/index.d.ts +0 -6
- package/es/components/booking/info/service2/status.d.ts +0 -31
- package/es/components/booking/info/service2/utils.d.ts +0 -241
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/locales.d.ts +0 -786
- package/es/components/booking/materiels/contacts/index.d.ts +0 -16
- package/es/components/booking/model.d.ts +0 -115
- package/es/components/booking/payments/index.d.ts +0 -9
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/es/components/eventBooking/index.d.ts +0 -4
- package/es/components/eventBooking/locales.d.ts +0 -216
- package/es/components/eventBooking/mock.d.ts +0 -627
- package/es/components/eventBooking/status.d.ts +0 -21
- package/es/components/eventBooking/type.d.ts +0 -17
- package/es/components/eventBooking/utils.d.ts +0 -45
- package/es/components/login/index.d.ts +0 -9
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/es/components/pay/toC/serve.d.ts +0 -34
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/productExtension/index.d.ts +0 -8
- package/es/components/ruleSetting/index.d.ts +0 -10
- package/es/components/schedules/index.d.ts +0 -3
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/status.d.ts +0 -2
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/taxSelect/index.d.ts +0 -12
- package/es/components/wallet/Detail/locales.d.ts +0 -96
- package/es/components/wallet/Detail/model.d.ts +0 -13
- package/es/components/wallet/Detail/serve.d.ts +0 -39
- package/es/components/wallet/DetailContext.d.ts +0 -25
- package/es/components/wallet/DiscountCard/model.d.ts +0 -14
- package/es/components/wallet/PointCard/model.d.ts +0 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/es/components/wallet/Voucher/locales.d.ts +0 -21
- package/es/components/wallet/Voucher/model.d.ts +0 -13
- package/es/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/es/components/wallet/components/index.d.ts +0 -2
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/es/components/wallet/locales.d.ts +0 -132
- package/es/components/wallet/model.d.ts +0 -37
- package/es/components/wallet/serve.d.ts +0 -143
- package/es/components/wallet/utils/formatUtils.d.ts +0 -36
- package/es/components/walletList/model.d.ts +0 -6
- package/es/components/walletList/serve.d.ts +0 -12
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/utils/locales.d.ts +0 -1
- package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -4
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/serve.d.ts +0 -2
- package/lib/components/Sales/Cart/types.d.ts +0 -19
- package/lib/components/Sales/Checkout/index.d.ts +0 -33
- package/lib/components/Sales/Checkout/serve.d.ts +0 -2
- package/lib/components/Sales/Checkout/utils.d.ts +0 -27
- package/lib/components/Sales/Customer/index.d.ts +0 -24
- package/lib/components/Sales/Event/Detail.d.ts +0 -27
- package/lib/components/Sales/Event/serve.d.ts +0 -26
- package/lib/components/Sales/Holder/index.d.ts +0 -33
- package/lib/components/Sales/Holder/serve.d.ts +0 -8
- package/lib/components/Sales/Init/index.d.ts +0 -24
- package/lib/components/Sales/Init/serve.d.ts +0 -3
- package/lib/components/Sales/Resource/index.d.ts +0 -26
- package/lib/components/Sales/Resource/serve.d.ts +0 -5
- package/lib/components/Sales/Step/index.d.ts +0 -37
- package/lib/components/Sales/Summary/index.d.ts +0 -25
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +0 -36
- package/lib/components/Sales/hooks/index.d.ts +0 -1
- package/lib/components/Sales/index.d.ts +0 -20
- package/lib/components/Sales/utils/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -62
- package/lib/components/appointmentBooking/locales.d.ts +0 -345
- package/lib/components/appointmentBooking/mock.d.ts +0 -627
- package/lib/components/appointmentBooking/status.d.ts +0 -21
- package/lib/components/appointmentBooking/type.d.ts +0 -17
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/amount.d.ts +0 -23
- package/lib/components/booking/components/footer/serve.d.ts +0 -3
- package/lib/components/booking/forms/index.d.ts +0 -9
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -25
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/service/addService/utils.d.ts +0 -71
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +0 -3
- package/lib/components/booking/info/service/serve.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/index.d.ts +0 -6
- package/lib/components/booking/info/service2/status.d.ts +0 -31
- package/lib/components/booking/info/service2/utils.d.ts +0 -241
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/locales.d.ts +0 -786
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -16
- package/lib/components/booking/model.d.ts +0 -115
- package/lib/components/booking/payments/index.d.ts +0 -9
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -5
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -3
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -3
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -10
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -13
- package/lib/components/eventBooking/index.d.ts +0 -4
- package/lib/components/eventBooking/locales.d.ts +0 -216
- package/lib/components/eventBooking/mock.d.ts +0 -627
- package/lib/components/eventBooking/status.d.ts +0 -21
- package/lib/components/eventBooking/type.d.ts +0 -17
- package/lib/components/eventBooking/utils.d.ts +0 -45
- package/lib/components/login/index.d.ts +0 -9
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentList/serve.d.ts +0 -28
- package/lib/components/pay/toC/serve.d.ts +0 -34
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/productExtension/index.d.ts +0 -8
- package/lib/components/ruleSetting/index.d.ts +0 -10
- package/lib/components/schedules/index.d.ts +0 -3
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
- package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/status.d.ts +0 -2
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/taxSelect/index.d.ts +0 -12
- package/lib/components/wallet/Detail/locales.d.ts +0 -96
- package/lib/components/wallet/Detail/model.d.ts +0 -13
- package/lib/components/wallet/Detail/serve.d.ts +0 -39
- package/lib/components/wallet/DetailContext.d.ts +0 -25
- package/lib/components/wallet/DiscountCard/model.d.ts +0 -14
- package/lib/components/wallet/PointCard/model.d.ts +0 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +0 -29
- package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
- package/lib/components/wallet/Voucher/locales.d.ts +0 -21
- package/lib/components/wallet/Voucher/model.d.ts +0 -13
- package/lib/components/wallet/components/FooterButtons/index.d.ts +0 -18
- package/lib/components/wallet/components/index.d.ts +0 -2
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -34
- package/lib/components/wallet/locales.d.ts +0 -132
- package/lib/components/wallet/model.d.ts +0 -37
- package/lib/components/wallet/serve.d.ts +0 -143
- package/lib/components/wallet/utils/formatUtils.d.ts +0 -36
- package/lib/components/walletList/model.d.ts +0 -6
- package/lib/components/walletList/serve.d.ts +0 -12
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/utils/locales.d.ts +0 -1
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'page.wallet.rechargeableCard': string;
|
|
4
|
-
'page.wallet.voucher': string;
|
|
5
|
-
'page.wallet.pointCard': string;
|
|
6
|
-
'page.wallet.discountCard': string;
|
|
7
|
-
'page.wallet.unavailable': string;
|
|
8
|
-
'page.wallet.available': string;
|
|
9
|
-
'page.wallet.confirm': string;
|
|
10
|
-
'page.wallet.addModalTitle': string;
|
|
11
|
-
'page.wallet.searchDescribe': string;
|
|
12
|
-
'page.wallet.scanBarQrCode': string;
|
|
13
|
-
'page.wallet.enterCodes': string;
|
|
14
|
-
'page.wallet.add': string;
|
|
15
|
-
'page.wallet.rechargeOptions': string;
|
|
16
|
-
'page.wallet.recharge': string;
|
|
17
|
-
'page.wallet.wallet': string;
|
|
18
|
-
'page.wallet.details': string;
|
|
19
|
-
'page.wallet.cardBalance': string;
|
|
20
|
-
'page.wallet.voucherBalance': string;
|
|
21
|
-
'page.wallet.points': string;
|
|
22
|
-
'page.wallet.goodPass': string;
|
|
23
|
-
'page.wallet.cardName': string;
|
|
24
|
-
'page.wallet.carNumber': string;
|
|
25
|
-
'page.wallet.balance': string;
|
|
26
|
-
'page.wallet.discount': string;
|
|
27
|
-
'page.wallet.validDate': string;
|
|
28
|
-
'page.wallet.addSuccess': string;
|
|
29
|
-
'page.wallet.addError': string;
|
|
30
|
-
'page.wallet.searchNoFound': string;
|
|
31
|
-
'page.wallet.log.updateCurrentDetail': string;
|
|
32
|
-
'page.wallet.log.getDetailFailed': string;
|
|
33
|
-
'page.wallet.log.rechargeOrderFailed': string;
|
|
34
|
-
'page.wallet.log.getWalletListFailed': string;
|
|
35
|
-
'page.wallet.log.bindCustomerFailed': string;
|
|
36
|
-
'page.wallet.log.getUnbindListFailed': string;
|
|
37
|
-
'page.wallet.log.orderFailed': string;
|
|
38
|
-
'page.wallet.log.unexpectedResponseFormat': string;
|
|
39
|
-
'page.wallet.button.add': string;
|
|
40
|
-
'page.wallet.button.addToAppleWallet': string;
|
|
41
|
-
'page.wallet.button.addToGoogleWallet': string;
|
|
42
|
-
'page.wallet.button.recharge': string;
|
|
43
|
-
'page.wallet.error.addFailed': string;
|
|
44
|
-
};
|
|
45
|
-
'zh-CN': {
|
|
46
|
-
'page.wallet.rechargeableCard': string;
|
|
47
|
-
'page.wallet.voucher': string;
|
|
48
|
-
'page.wallet.pointCard': string;
|
|
49
|
-
'page.wallet.discountCard': string;
|
|
50
|
-
'page.wallet.unavailable': string;
|
|
51
|
-
'page.wallet.available': string;
|
|
52
|
-
'page.wallet.confirm': string;
|
|
53
|
-
'page.wallet.addModalTitle': string;
|
|
54
|
-
'page.wallet.searchDescribe': string;
|
|
55
|
-
'page.wallet.scanBarQrCode': string;
|
|
56
|
-
'page.wallet.enterCodes': string;
|
|
57
|
-
'page.wallet.add': string;
|
|
58
|
-
'page.wallet.rechargeOptions': string;
|
|
59
|
-
'page.wallet.recharge': string;
|
|
60
|
-
'page.wallet.wallet': string;
|
|
61
|
-
'page.wallet.details': string;
|
|
62
|
-
'page.wallet.cardBalance': string;
|
|
63
|
-
'page.wallet.voucherBalance': string;
|
|
64
|
-
'page.wallet.points': string;
|
|
65
|
-
'page.wallet.goodPass': string;
|
|
66
|
-
'page.wallet.cardName': string;
|
|
67
|
-
'page.wallet.carNumber': string;
|
|
68
|
-
'page.wallet.balance': string;
|
|
69
|
-
'page.wallet.discount': string;
|
|
70
|
-
'page.wallet.validDate': string;
|
|
71
|
-
'page.wallet.addSuccess': string;
|
|
72
|
-
'page.wallet.addError': string;
|
|
73
|
-
'page.wallet.searchNoFound': string;
|
|
74
|
-
'page.wallet.log.updateCurrentDetail': string;
|
|
75
|
-
'page.wallet.log.getDetailFailed': string;
|
|
76
|
-
'page.wallet.log.rechargeOrderFailed': string;
|
|
77
|
-
'page.wallet.log.getWalletListFailed': string;
|
|
78
|
-
'page.wallet.log.bindCustomerFailed': string;
|
|
79
|
-
'page.wallet.log.getUnbindListFailed': string;
|
|
80
|
-
'page.wallet.log.orderFailed': string;
|
|
81
|
-
'page.wallet.log.unexpectedResponseFormat': string;
|
|
82
|
-
'page.wallet.button.add': string;
|
|
83
|
-
'page.wallet.button.addToAppleWallet': string;
|
|
84
|
-
'page.wallet.button.addToGoogleWallet': string;
|
|
85
|
-
'page.wallet.button.recharge': string;
|
|
86
|
-
'page.wallet.error.addFailed': string;
|
|
87
|
-
};
|
|
88
|
-
'zh-HK': {
|
|
89
|
-
'page.wallet.rechargeableCard': string;
|
|
90
|
-
'page.wallet.voucher': string;
|
|
91
|
-
'page.wallet.pointCard': string;
|
|
92
|
-
'page.wallet.discountCard': string;
|
|
93
|
-
'page.wallet.unavailable': string;
|
|
94
|
-
'page.wallet.available': string;
|
|
95
|
-
'page.wallet.confirm': string;
|
|
96
|
-
'page.wallet.addModalTitle': string;
|
|
97
|
-
'page.wallet.searchDescribe': string;
|
|
98
|
-
'page.wallet.scanBarQrCode': string;
|
|
99
|
-
'page.wallet.enterCodes': string;
|
|
100
|
-
'page.wallet.add': string;
|
|
101
|
-
'page.wallet.rechargeOptions': string;
|
|
102
|
-
'page.wallet.recharge': string;
|
|
103
|
-
'page.wallet.wallet': string;
|
|
104
|
-
'page.wallet.details': string;
|
|
105
|
-
'page.wallet.cardBalance': string;
|
|
106
|
-
'page.wallet.voucherBalance': string;
|
|
107
|
-
'page.wallet.points': string;
|
|
108
|
-
'page.wallet.goodPass': string;
|
|
109
|
-
'page.wallet.cardName': string;
|
|
110
|
-
'page.wallet.carNumber': string;
|
|
111
|
-
'page.wallet.balance': string;
|
|
112
|
-
'page.wallet.discount': string;
|
|
113
|
-
'page.wallet.validDate': string;
|
|
114
|
-
'page.wallet.addSuccess': string;
|
|
115
|
-
'page.wallet.addError': string;
|
|
116
|
-
'page.wallet.searchNoFound': string;
|
|
117
|
-
'page.wallet.log.updateCurrentDetail': string;
|
|
118
|
-
'page.wallet.log.getDetailFailed': string;
|
|
119
|
-
'page.wallet.log.rechargeOrderFailed': string;
|
|
120
|
-
'page.wallet.log.getWalletListFailed': string;
|
|
121
|
-
'page.wallet.log.bindCustomerFailed': string;
|
|
122
|
-
'page.wallet.log.getUnbindListFailed': string;
|
|
123
|
-
'page.wallet.log.orderFailed': string;
|
|
124
|
-
'page.wallet.log.unexpectedResponseFormat': string;
|
|
125
|
-
'page.wallet.button.add': string;
|
|
126
|
-
'page.wallet.button.addToAppleWallet': string;
|
|
127
|
-
'page.wallet.button.addToGoogleWallet': string;
|
|
128
|
-
'page.wallet.button.recharge': string;
|
|
129
|
-
'page.wallet.error.addFailed': string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IWalletListItemProps } from './serve';
|
|
3
|
-
export interface WalletCardItemProps {
|
|
4
|
-
id: string;
|
|
5
|
-
encoded: string;
|
|
6
|
-
code: string;
|
|
7
|
-
}
|
|
8
|
-
export interface WalletCardProps {
|
|
9
|
-
available: WalletCardItemProps[];
|
|
10
|
-
unavailable: WalletCardItemProps[];
|
|
11
|
-
}
|
|
12
|
-
export declare type WalletCardType = 'gift_card' | 'product_voucher' | 'point_card' | 'product_discount_card' | 'good_pass';
|
|
13
|
-
export interface WalletListProps {
|
|
14
|
-
gift_card: IWalletListItemProps[];
|
|
15
|
-
product_voucher: IWalletListItemProps[];
|
|
16
|
-
point_card: IWalletListItemProps[];
|
|
17
|
-
product_discount_card: IWalletListItemProps[];
|
|
18
|
-
isShowMenu: boolean;
|
|
19
|
-
setup: 'menu' | 'list' | 'detail';
|
|
20
|
-
addModalOpen: boolean;
|
|
21
|
-
dropMenuModalOpen: boolean;
|
|
22
|
-
rechargeModalOpen: boolean;
|
|
23
|
-
currentId: string;
|
|
24
|
-
currentTag: WalletCardType;
|
|
25
|
-
currentDetail: any;
|
|
26
|
-
searchList?: IWalletListItemProps[];
|
|
27
|
-
currentSearchListItemCode?: string;
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}
|
|
30
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
31
|
-
global_wallet: WalletListProps;
|
|
32
|
-
} & {
|
|
33
|
-
dispatch: (params: {
|
|
34
|
-
type: string;
|
|
35
|
-
payload: any;
|
|
36
|
-
}) => void;
|
|
37
|
-
}>;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 钱包列表查询参数接口
|
|
3
|
-
*/
|
|
4
|
-
export interface IWalletListParmsProps {
|
|
5
|
-
tag?: string;
|
|
6
|
-
sales_status?: 1 | 0 | -1;
|
|
7
|
-
machine_search?: string;
|
|
8
|
-
createdDate?: string;
|
|
9
|
-
limit_status?: string;
|
|
10
|
-
relation_id?: string;
|
|
11
|
-
relation_type?: string;
|
|
12
|
-
customer_id?: number;
|
|
13
|
-
sort?: 'desc' | 'asc';
|
|
14
|
-
order_by?: string;
|
|
15
|
-
used_status?: string;
|
|
16
|
-
num?: number;
|
|
17
|
-
skip?: number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* 钱包列表项属性接口
|
|
21
|
-
*/
|
|
22
|
-
export interface IWalletListItemProps {
|
|
23
|
-
id?: number | string;
|
|
24
|
-
encoded?: string;
|
|
25
|
-
code?: string;
|
|
26
|
-
limit_status?: string;
|
|
27
|
-
customer_id?: number;
|
|
28
|
-
generate_method?: 'not_settable' | 'before_order' | 'after_order';
|
|
29
|
-
created_at?: string;
|
|
30
|
-
product_id?: number;
|
|
31
|
-
sales_status?: 1 | 0;
|
|
32
|
-
tag?: string;
|
|
33
|
-
status?: string;
|
|
34
|
-
redeemed_at?: string;
|
|
35
|
-
collection_time?: string;
|
|
36
|
-
order_id?: number;
|
|
37
|
-
par_value?: string;
|
|
38
|
-
write_status?: number;
|
|
39
|
-
expire_date?: string;
|
|
40
|
-
balance?: string;
|
|
41
|
-
extension_id?: string;
|
|
42
|
-
product_title?: string;
|
|
43
|
-
product_cover?: string;
|
|
44
|
-
product?: IProductProps;
|
|
45
|
-
unified_available_status?: IUnifiedAvailableStatus;
|
|
46
|
-
shop: IShop;
|
|
47
|
-
unified_messages: any;
|
|
48
|
-
machinecode_config?: {
|
|
49
|
-
hide_recharge?: number;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* 商店信息接口
|
|
54
|
-
*/
|
|
55
|
-
export interface IShop {
|
|
56
|
-
name: string;
|
|
57
|
-
id: number;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* 统一可用状态接口
|
|
61
|
-
*/
|
|
62
|
-
export interface IUnifiedAvailableStatus {
|
|
63
|
-
title?: string;
|
|
64
|
-
desc?: string;
|
|
65
|
-
alert?: string;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* 商品属性接口
|
|
69
|
-
*/
|
|
70
|
-
export interface IProductProps {
|
|
71
|
-
id?: number;
|
|
72
|
-
title?: string;
|
|
73
|
-
description?: string;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* API响应接口
|
|
77
|
-
*/
|
|
78
|
-
export interface ApiResponse<T> {
|
|
79
|
-
data: T;
|
|
80
|
-
code?: number;
|
|
81
|
-
message?: string;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* 错误处理函数类型
|
|
85
|
-
*/
|
|
86
|
-
export declare type ErrorCallback = () => void;
|
|
87
|
-
/**
|
|
88
|
-
* 获取钱包列表
|
|
89
|
-
* @param params 查询参数
|
|
90
|
-
* @returns Promise<{list: IWalletListItemProps[], count: number}> 钱包列表和总数
|
|
91
|
-
* @throws 请求失败时抛出错误
|
|
92
|
-
*/
|
|
93
|
-
export declare const getWalletList: (params?: IWalletListParmsProps) => Promise<{
|
|
94
|
-
list: IWalletListItemProps[];
|
|
95
|
-
count: number;
|
|
96
|
-
}>;
|
|
97
|
-
/**
|
|
98
|
-
* 通过code绑定客户
|
|
99
|
-
* @param params 请求参数,包含code
|
|
100
|
-
* @param errCallback 错误回调
|
|
101
|
-
* @returns Promise<any> 绑定结果
|
|
102
|
-
*/
|
|
103
|
-
export declare const customer: (params: {
|
|
104
|
-
code: string;
|
|
105
|
-
}, errCallback: ErrorCallback) => Promise<any>;
|
|
106
|
-
/**
|
|
107
|
-
* 用户根据code查询待绑定识别码列表
|
|
108
|
-
* @param params 请求参数,包含code和tag
|
|
109
|
-
* @param errCallback 错误回调函数
|
|
110
|
-
* @returns Promise<IWalletListItemProps[] | null> 未绑定的钱包卡列表
|
|
111
|
-
*/
|
|
112
|
-
export declare const unbindList: (params: {
|
|
113
|
-
code: string;
|
|
114
|
-
tag: string;
|
|
115
|
-
}, errCallback: ErrorCallback) => Promise<IWalletListItemProps[] | null>;
|
|
116
|
-
/**
|
|
117
|
-
* 下单请求参数接口
|
|
118
|
-
*/
|
|
119
|
-
export interface IOrderParams {
|
|
120
|
-
voucher_id: string;
|
|
121
|
-
product_id: string;
|
|
122
|
-
product_variant_id: string;
|
|
123
|
-
quantity: number;
|
|
124
|
-
type: string;
|
|
125
|
-
platform: string;
|
|
126
|
-
currency_code: {
|
|
127
|
-
currency_code: string;
|
|
128
|
-
currency_symbol: string;
|
|
129
|
-
currency_format: string;
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* 下单
|
|
134
|
-
* @param params 下单参数
|
|
135
|
-
* @returns Promise<any> 下单结果
|
|
136
|
-
* @throws 请求失败时抛出错误
|
|
137
|
-
*/
|
|
138
|
-
export declare const goOrder: (params: IOrderParams) => Promise<any>;
|
|
139
|
-
/**
|
|
140
|
-
* 设置请求对象
|
|
141
|
-
* @param req 请求对象
|
|
142
|
-
*/
|
|
143
|
-
export declare const setRequest: (req: any) => void;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { IWalletListItemProps } from '../serve';
|
|
2
|
-
/**
|
|
3
|
-
* 格式化数据为可用和不可用两组
|
|
4
|
-
* @param dataList 数据列表
|
|
5
|
-
* @returns [available, unavailable] 格式化后的数据
|
|
6
|
-
*/
|
|
7
|
-
export declare const formatDataToGroups: (dataList: IWalletListItemProps[]) => {
|
|
8
|
-
title: any;
|
|
9
|
-
dataSource: IWalletListItemProps[];
|
|
10
|
-
}[];
|
|
11
|
-
/**
|
|
12
|
-
* 计算可用卡片总余额
|
|
13
|
-
* @param dataList 数据列表
|
|
14
|
-
* @param valueField 值字段名,默认为balance
|
|
15
|
-
* @returns number 总余额
|
|
16
|
-
*/
|
|
17
|
-
export declare const calculateTotalValue: (dataList: IWalletListItemProps[], valueField?: string) => number;
|
|
18
|
-
/**
|
|
19
|
-
* 检查是否存在可用卡片
|
|
20
|
-
* @param dataList 数据列表
|
|
21
|
-
* @returns boolean 是否有可用卡片
|
|
22
|
-
*/
|
|
23
|
-
export declare const hasAvailableCards: (dataList: IWalletListItemProps[]) => boolean;
|
|
24
|
-
/**
|
|
25
|
-
* 查找卡片详情
|
|
26
|
-
* @param dataList 数据列表
|
|
27
|
-
* @param id 卡片ID
|
|
28
|
-
* @returns 卡片详情或undefined
|
|
29
|
-
*/
|
|
30
|
-
export declare const findCardById: (dataList: IWalletListItemProps[], id?: string | number) => IWalletListItemProps | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* 创建状态转换对象
|
|
33
|
-
* @param translations 转换映射
|
|
34
|
-
* @returns 转换对象
|
|
35
|
-
*/
|
|
36
|
-
export declare const createStatusMap: (translations: Record<string, string>) => (status: string) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { State, WalletListContextType } from './types';
|
|
3
|
-
export declare const initialState: State;
|
|
4
|
-
export declare const Context: React.Context<WalletListContextType>;
|
|
5
|
-
export declare const Provider: (Component: React.ComponentType<any>) => (props: any) => JSX.Element;
|
|
6
|
-
export * from './types';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WalletPass, WalletBalance } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* 获取 wallet 列表
|
|
4
|
-
* @param params
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare const getWalletList: () => Promise<WalletPass[]>;
|
|
8
|
-
/**
|
|
9
|
-
* 获取钱包余额
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const getWalletBalance: () => Promise<WalletBalance | null>;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MultiLanguageName {
|
|
3
|
-
original: string;
|
|
4
|
-
'zh-CN': string;
|
|
5
|
-
'zh-HK': string;
|
|
6
|
-
en: string;
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
}
|
|
9
|
-
export interface WalletMetadata {
|
|
10
|
-
name: MultiLanguageName;
|
|
11
|
-
welcomeText?: string | MultiLanguageName;
|
|
12
|
-
customerName?: string;
|
|
13
|
-
coverImage?: string;
|
|
14
|
-
icon?: string;
|
|
15
|
-
barcodetype: 'barCode' | 'orCode';
|
|
16
|
-
showcaseWalletPass?: ('rechargeable' | 'piont' | 'voucher' | 'discount')[];
|
|
17
|
-
}
|
|
18
|
-
export interface Shop {
|
|
19
|
-
id: number;
|
|
20
|
-
name: string;
|
|
21
|
-
default_url: string;
|
|
22
|
-
}
|
|
23
|
-
export interface Wallet {
|
|
24
|
-
id: string | null;
|
|
25
|
-
shop_id: string | null;
|
|
26
|
-
shop?: Shop;
|
|
27
|
-
status: string | null;
|
|
28
|
-
name: MultiLanguageName;
|
|
29
|
-
valid_for: {
|
|
30
|
-
type: string;
|
|
31
|
-
unit?: string;
|
|
32
|
-
unit_type?: string;
|
|
33
|
-
custom_date?: string;
|
|
34
|
-
};
|
|
35
|
-
metadata: WalletMetadata;
|
|
36
|
-
created_at: string | null;
|
|
37
|
-
}
|
|
38
|
-
export interface WalletPass {
|
|
39
|
-
id: string | null;
|
|
40
|
-
shop_id: string | null;
|
|
41
|
-
code: string;
|
|
42
|
-
status: string | null;
|
|
43
|
-
wallet_id: string | null;
|
|
44
|
-
customer_id: string | null;
|
|
45
|
-
expired_at: string | null;
|
|
46
|
-
created_at: string;
|
|
47
|
-
shop: Shop;
|
|
48
|
-
wallet: Wallet;
|
|
49
|
-
icon?: string;
|
|
50
|
-
isLogin?: boolean;
|
|
51
|
-
showIcon?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export interface WalletBalance {
|
|
54
|
-
gift_card_balance: number;
|
|
55
|
-
point_card_balance: number;
|
|
56
|
-
voucher_count: number;
|
|
57
|
-
discount_card_count: number;
|
|
58
|
-
}
|
|
59
|
-
export interface WalletBalanceItem {
|
|
60
|
-
key: string;
|
|
61
|
-
label: string;
|
|
62
|
-
value: number;
|
|
63
|
-
}
|
|
64
|
-
export interface WalletCardItem {
|
|
65
|
-
key: string;
|
|
66
|
-
label: string;
|
|
67
|
-
hidden: boolean;
|
|
68
|
-
value?: number;
|
|
69
|
-
}
|
|
70
|
-
export interface State {
|
|
71
|
-
list: WalletPass[];
|
|
72
|
-
balance: WalletBalance | null;
|
|
73
|
-
loading: boolean;
|
|
74
|
-
error: Error | null;
|
|
75
|
-
authError?: boolean;
|
|
76
|
-
hasAttempted: boolean;
|
|
77
|
-
isLoggedIn?: boolean;
|
|
78
|
-
}
|
|
79
|
-
export interface Action {
|
|
80
|
-
type: string;
|
|
81
|
-
payload: Partial<State>;
|
|
82
|
-
}
|
|
83
|
-
export interface Balance {
|
|
84
|
-
gift_card_balance: number;
|
|
85
|
-
point_card_balance: number;
|
|
86
|
-
voucher_count: number;
|
|
87
|
-
discount_card_count: number;
|
|
88
|
-
}
|
|
89
|
-
export interface IWallList {
|
|
90
|
-
tag?: string;
|
|
91
|
-
sales_status?: string;
|
|
92
|
-
machine_search?: string;
|
|
93
|
-
createdDate?: string;
|
|
94
|
-
limit_status?: string;
|
|
95
|
-
relation_id?: string;
|
|
96
|
-
relation_type?: string;
|
|
97
|
-
customer_id?: string;
|
|
98
|
-
sort?: string;
|
|
99
|
-
order_by?: string;
|
|
100
|
-
used_status?: string;
|
|
101
|
-
num?: number;
|
|
102
|
-
skip?: number;
|
|
103
|
-
}
|
|
104
|
-
export interface WalletListProps {
|
|
105
|
-
globalState?: {
|
|
106
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
107
|
-
mode?: 'dark' | 'light';
|
|
108
|
-
cardStyle?: 'normal' | 'full';
|
|
109
|
-
codeType?: 'barCode' | 'orCode';
|
|
110
|
-
codeDirection?: 'bottom' | 'top';
|
|
111
|
-
shopName?: boolean;
|
|
112
|
-
showWalletName?: boolean;
|
|
113
|
-
showShopName?: boolean;
|
|
114
|
-
cardNo?: string;
|
|
115
|
-
showCardNo?: boolean;
|
|
116
|
-
showCode?: boolean;
|
|
117
|
-
points?: boolean;
|
|
118
|
-
balance?: boolean;
|
|
119
|
-
coupon?: boolean;
|
|
120
|
-
pointsValue?: number;
|
|
121
|
-
balanceValue?: number;
|
|
122
|
-
couponValue?: number;
|
|
123
|
-
symbol?: string;
|
|
124
|
-
showIcon?: boolean;
|
|
125
|
-
iconImg?: string;
|
|
126
|
-
customBackgroundImage?: string;
|
|
127
|
-
walletName?: string;
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
export interface WalletCardProps {
|
|
131
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
132
|
-
mode?: 'dark' | 'light';
|
|
133
|
-
cardStyle?: 'normal' | 'full';
|
|
134
|
-
codeType?: 'barCode' | 'orCode';
|
|
135
|
-
codeDirection?: 'bottom' | 'top';
|
|
136
|
-
shopName?: boolean;
|
|
137
|
-
showIcon?: boolean;
|
|
138
|
-
iconImg?: string;
|
|
139
|
-
showWalletName?: boolean;
|
|
140
|
-
showShopName?: boolean;
|
|
141
|
-
cardNo?: string;
|
|
142
|
-
showCardNo?: boolean;
|
|
143
|
-
showCode?: boolean;
|
|
144
|
-
points?: boolean;
|
|
145
|
-
balance?: boolean;
|
|
146
|
-
coupon?: boolean;
|
|
147
|
-
pointsValue?: number;
|
|
148
|
-
balanceValue?: number;
|
|
149
|
-
couponValue?: number;
|
|
150
|
-
isLogin?: boolean;
|
|
151
|
-
items: WalletCardItem[];
|
|
152
|
-
}
|
|
153
|
-
export interface DivProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
154
|
-
children?: React.ReactNode;
|
|
155
|
-
}
|
|
156
|
-
export interface WalletListContextType {
|
|
157
|
-
state: State;
|
|
158
|
-
dispatch: React.Dispatch<Action>;
|
|
159
|
-
}
|
|
160
|
-
export declare const DEFAULT_CARD_CONFIG: {
|
|
161
|
-
readonly mode: "light";
|
|
162
|
-
readonly cardStyle: "normal";
|
|
163
|
-
readonly codeDirection: "bottom";
|
|
164
|
-
readonly showShopName: true;
|
|
165
|
-
readonly showWalletName: true;
|
|
166
|
-
readonly showIcon: true;
|
|
167
|
-
readonly iconImg: "";
|
|
168
|
-
readonly showCardNo: true;
|
|
169
|
-
readonly showCode: true;
|
|
170
|
-
readonly points: true;
|
|
171
|
-
readonly balance: true;
|
|
172
|
-
readonly coupon: true;
|
|
173
|
-
};
|
|
174
|
-
export interface CarouselSettings {
|
|
175
|
-
className: string;
|
|
176
|
-
arrows: boolean;
|
|
177
|
-
infinite: boolean;
|
|
178
|
-
slidesToShow: number;
|
|
179
|
-
slidesToScroll: number;
|
|
180
|
-
centerMode: boolean;
|
|
181
|
-
centerPadding: string;
|
|
182
|
-
autoplay: boolean;
|
|
183
|
-
autoplaySpeed: number;
|
|
184
|
-
dots: boolean;
|
|
185
|
-
appendDots?: (dots: React.ReactNode) => React.ReactNode;
|
|
186
|
-
responsive?: Array<{
|
|
187
|
-
breakpoint: number;
|
|
188
|
-
settings: {
|
|
189
|
-
slidesToShow: number;
|
|
190
|
-
slidesToScroll: number;
|
|
191
|
-
centerPadding: string;
|
|
192
|
-
};
|
|
193
|
-
}>;
|
|
194
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CardListProps } from './../CardList';
|
|
2
|
-
import { SearchBarProps } from './../SearchBar';
|
|
3
|
-
import { FC } from 'react';
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface WorkspaceItemProps {
|
|
6
|
-
title: string;
|
|
7
|
-
describe?: string;
|
|
8
|
-
data: any[];
|
|
9
|
-
isDetail?: boolean;
|
|
10
|
-
id: number;
|
|
11
|
-
onSort?: SearchBarProps['onSort'];
|
|
12
|
-
onAddBase: SearchBarProps['onAddBase'];
|
|
13
|
-
onRefresh?: () => void;
|
|
14
|
-
onDelete?: () => void;
|
|
15
|
-
onDeleteBase?: (id: number) => void;
|
|
16
|
-
onUpdateBase?: CardListProps['onUpdateBase'];
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
scrollRef?: any;
|
|
19
|
-
baseCount?: number;
|
|
20
|
-
}
|
|
21
|
-
declare const WorkspaceItem: FC<WorkspaceItemProps>;
|
|
22
|
-
export default WorkspaceItem;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare type IEngineContext = {
|
|
2
|
-
appHelper: any;
|
|
3
|
-
engine: any;
|
|
4
|
-
blockContext: any;
|
|
5
|
-
components: any;
|
|
6
|
-
pageContext: any;
|
|
7
|
-
};
|
|
8
|
-
declare const useEngineContext: () => IEngineContext;
|
|
9
|
-
export declare const usePisellOS: () => any;
|
|
10
|
-
export default useEngineContext;
|
package/lib/utils/locales.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getLocale: () => string;
|