@pisell/private-materials 6.3.78 → 6.3.80
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.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Cart/index.d.ts +1 -1
- package/es/components/Sales/Cart/index.js +18 -3
- package/es/components/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Checkout/utils.js +57 -1
- package/es/components/Sales/Summary/index.d.ts +2 -0
- package/es/components/Sales/Summary/index.js +7 -2
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/Sales/Summary/utils.js +57 -10
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.js +62 -4
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
- package/es/components/appointmentBooking/components/Deposit/index.js +9 -4
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/appointmentBooking/locales.d.ts +366 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -0
- package/es/components/booking/info/service2/utils.js +4 -4
- package/es/components/booking/info2/service/actions/index.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 +0 -1
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/addNote/index.d.ts +3 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/const.d.ts +3 -1
- package/es/components/eftpos/const.js +2 -0
- package/es/components/eftpos/device.d.ts +3 -1
- package/es/components/eftpos/device.js +5 -3
- package/es/components/eftpos/index.js +34 -11
- package/es/components/eftpos/index.less +26 -1
- package/es/components/eftpos/locales.d.ts +3 -0
- package/es/components/eftpos/locales.js +3 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +125 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/index.js +3 -0
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/es/components/eftposPay/aggregatePayment/mock.js +567 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/service.js +70 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +96 -0
- package/es/components/eftposPay/aggregatePayment/types.js +61 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +385 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +1127 -0
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- 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/const.d.ts +189 -0
- package/es/components/eftposPay/const.js +2 -0
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +36 -0
- package/es/components/eftposPay/hooks.js +12 -0
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/linkly/index.d.ts +0 -1
- package/es/components/eftposPay/linkly/index.js +1 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +1 -0
- package/es/components/eftposPay/manufacturer.js +4 -0
- package/es/components/eftposPay/mx51/Action.d.ts +6 -0
- package/es/components/eftposPay/mx51/Action.js +91 -0
- package/es/components/eftposPay/mx51/const.d.ts +5 -0
- package/es/components/eftposPay/mx51/const.js +69 -0
- package/es/components/eftposPay/mx51/index.d.ts +6 -0
- package/es/components/eftposPay/mx51/index.js +362 -0
- package/es/components/eftposPay/mx51/types.d.ts +136 -0
- package/es/components/eftposPay/mx51/types.js +29 -0
- package/es/components/eftposPay/mx51/utils.d.ts +10 -0
- package/es/components/eftposPay/mx51/utils.js +120 -0
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/pay.js +7 -2
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +4 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.js +79 -6
- package/es/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
- package/es/components/eventBooking/components/Provider/Cart/index.js +2 -7
- package/es/components/eventBooking/components/Provider/Content/index.less +1 -1
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/es/components/eventBooking/components/Voucher/index.js +1 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -2
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/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/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/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/index.d.ts +2 -0
- package/es/components/subTotal/index.js +42 -20
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/selectHolder/locales.d.ts +21 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/types.d.ts +429 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/Selector.d.ts +14 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Cart/index.d.ts +1 -1
- package/lib/components/Sales/Cart/index.js +20 -7
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Checkout/utils.js +64 -1
- package/lib/components/Sales/Summary/index.d.ts +2 -0
- package/lib/components/Sales/Summary/index.js +8 -2
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/Sales/Summary/utils.js +38 -13
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +52 -4
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
- package/lib/components/appointmentBooking/components/Deposit/index.js +7 -4
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/appointmentBooking/locales.d.ts +366 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -0
- package/lib/components/booking/info/service2/utils.js +4 -4
- package/lib/components/booking/info2/service/actions/index.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 +0 -1
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/addNote/index.d.ts +3 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/const.d.ts +3 -1
- package/lib/components/eftpos/const.js +2 -0
- package/lib/components/eftpos/device.d.ts +3 -1
- package/lib/components/eftpos/device.js +3 -3
- package/lib/components/eftpos/index.js +20 -5
- package/lib/components/eftpos/index.less +26 -1
- package/lib/components/eftpos/locales.d.ts +3 -0
- package/lib/components/eftpos/locales.js +3 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +6 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +152 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/index.js +32 -0
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
- package/lib/components/eftposPay/aggregatePayment/mock.js +679 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +96 -0
- package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +302 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +132 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +746 -0
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- 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/const.d.ts +189 -0
- package/lib/components/eftposPay/const.js +2 -0
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +36 -0
- package/lib/components/eftposPay/hooks.js +16 -0
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/linkly/index.d.ts +0 -1
- package/lib/components/eftposPay/linkly/index.js +1 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +1 -0
- package/lib/components/eftposPay/manufacturer.js +6 -0
- package/lib/components/eftposPay/mx51/Action.d.ts +6 -0
- package/lib/components/eftposPay/mx51/Action.js +127 -0
- package/lib/components/eftposPay/mx51/const.d.ts +5 -0
- package/lib/components/eftposPay/mx51/const.js +85 -0
- package/lib/components/eftposPay/mx51/index.d.ts +6 -0
- package/lib/components/eftposPay/mx51/index.js +330 -0
- package/lib/components/eftposPay/mx51/types.d.ts +136 -0
- package/lib/components/eftposPay/mx51/types.js +39 -0
- package/lib/components/eftposPay/mx51/utils.d.ts +10 -0
- package/lib/components/eftposPay/mx51/utils.js +114 -0
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/pay.js +4 -2
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +3 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +77 -5
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
- package/lib/components/eventBooking/components/Provider/Cart/index.js +2 -2
- package/lib/components/eventBooking/components/Provider/Content/index.less +1 -1
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/lib/components/eventBooking/components/Voucher/index.js +1 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/index.d.ts +1 -2
- package/lib/components/index.js +0 -3
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/index.d.ts +10 -0
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/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/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/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/index.d.ts +2 -0
- package/lib/components/subTotal/index.js +34 -20
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/selectHolder/locales.d.ts +21 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +1 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/Selector.d.ts +14 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lowcode/eco-cup-list/meta.ts +63 -0
- package/lowcode/eco-customer-list/meta.ts +63 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description: visa/master手续费是否一致
|
|
3
|
+
* @param {any} creditCardConfig
|
|
4
|
+
* @return {*}
|
|
5
|
+
*/
|
|
6
|
+
export declare const isCreditCardSurchargeSame: (creditCardConfig: any[]) => boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @description: 格式化visa/master手续费
|
|
9
|
+
* @param {any} item 支付列表项
|
|
10
|
+
* @param {number} amount 订单金额
|
|
11
|
+
* @param {boolean} isSame 手续费是否一致
|
|
12
|
+
* @return {*}
|
|
13
|
+
*/
|
|
14
|
+
export declare const formatCreditCardSurcharge: (item: any, amount: number, isSame: boolean) => any;
|
|
15
|
+
/**
|
|
16
|
+
* @description: 格式化visa/master手续费列表
|
|
17
|
+
* @param {any} item
|
|
18
|
+
* @param {number} amount
|
|
19
|
+
* @return {*}
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatCreditCardSurchargeList: (item: any, amount: number) => any;
|
|
22
|
+
/**
|
|
23
|
+
* @description: 格式化visa/master手续费文案,只显示百分比区间
|
|
24
|
+
* @return {*}
|
|
25
|
+
*/
|
|
26
|
+
export declare const formatCreditCardSurchargeText: (surcharge_config: any[], surcharge_text: string) => string;
|
|
27
|
+
/**
|
|
28
|
+
* @title: 计算支付列表的手续费
|
|
29
|
+
* @description:
|
|
30
|
+
* @param {any} paymentList
|
|
31
|
+
* @param {number} amount
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: zhiwei.Wang
|
|
34
|
+
* @Date: 2024-08-18 09:30
|
|
35
|
+
*/
|
|
36
|
+
export declare const calculateSurcharge: (paymentList: any[], amount: number) => any[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface StripePayRef {
|
|
4
|
+
init: (res: any) => void;
|
|
5
|
+
}
|
|
6
|
+
export interface StripePayProps {
|
|
7
|
+
onChange?: (values: any) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<StripePayProps & React.RefAttributes<any>>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FormState {
|
|
3
|
+
platform: 'pc' | 'h5' | '' | undefined;
|
|
4
|
+
order: any;
|
|
5
|
+
status: 'init' | 'ready' | 'loading' | 'success' | 'error';
|
|
6
|
+
payCallback: (res?: any) => void;
|
|
7
|
+
history?: any;
|
|
8
|
+
payGroup?: PayGroup;
|
|
9
|
+
walletSetting: {
|
|
10
|
+
name: string;
|
|
11
|
+
popup_status: 0 | 1 | null;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface PayGroup {
|
|
15
|
+
order_id?: string;
|
|
16
|
+
total_amount?: number;
|
|
17
|
+
walletPass?: {
|
|
18
|
+
amount: number;
|
|
19
|
+
cards: any[];
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
paid?: boolean;
|
|
22
|
+
};
|
|
23
|
+
otherPayment?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
wait_amount?: number;
|
|
27
|
+
payment_group_id?: number;
|
|
28
|
+
payment_priority?: string[];
|
|
29
|
+
pay_number?: string;
|
|
30
|
+
_order: any;
|
|
31
|
+
front_order_uuid?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
34
|
+
state: FormState;
|
|
35
|
+
} & {
|
|
36
|
+
dispatch: (params: {
|
|
37
|
+
type: string;
|
|
38
|
+
payload: any;
|
|
39
|
+
}) => void;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
4
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
5
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
6
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
7
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
8
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
9
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
10
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-CN': {
|
|
13
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
14
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
15
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
16
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
17
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
18
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
19
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
20
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
21
|
+
};
|
|
22
|
+
'zh-HK': {
|
|
23
|
+
'pisell2.text.shopping-cart.item': (num: number) => string;
|
|
24
|
+
'pisell2.text.shopping-cart.clear.cart': string;
|
|
25
|
+
'pisell2.text.shopping-cart.add.service': string;
|
|
26
|
+
'pisell2.text.shopping-cart.add.more': string;
|
|
27
|
+
'pisell2.text.shopping-cart.no.selected': string;
|
|
28
|
+
'pisell2.text.shopping-cart.confirm': string;
|
|
29
|
+
'pisell2.text.shopping-cart.cancel': string;
|
|
30
|
+
'pisell2.text.shopping-cart.select.holder.modal.title': string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { CollapseProps } from 'antd';
|
|
2
|
+
export interface productProps {
|
|
3
|
+
hideAddBtn?: boolean;
|
|
4
|
+
isShowNote?: boolean;
|
|
5
|
+
isShowPackageNote?: boolean;
|
|
6
|
+
products?: any[];
|
|
7
|
+
holders?: any[];
|
|
8
|
+
isEdit?: boolean;
|
|
9
|
+
disabledEdit?: boolean;
|
|
10
|
+
isShowChangeResource?: boolean;
|
|
11
|
+
isShowDelete?: boolean;
|
|
12
|
+
isShowChangeHolder?: boolean;
|
|
13
|
+
isShowHolder?: boolean;
|
|
14
|
+
isShowAddHolderButton?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface shoppingCartProps {
|
|
17
|
+
isOpenGroup?: boolean;
|
|
18
|
+
carts?: any[];
|
|
19
|
+
platform?: 'shop' | 'h5';
|
|
20
|
+
emptyText?: string;
|
|
21
|
+
activeKey?: string[] | number[];
|
|
22
|
+
defaultActiveKey?: string[] | number[];
|
|
23
|
+
className?: string;
|
|
24
|
+
onCard?: (e: any) => void;
|
|
25
|
+
onAction?: (e: any) => void;
|
|
26
|
+
onChange?: (items: any, type?: string, other?: any) => void;
|
|
27
|
+
onAddProduct?: (e?: any) => void;
|
|
28
|
+
onActiveKey?: (e: any) => void;
|
|
29
|
+
isShowImage?: boolean;
|
|
30
|
+
isShowHolder?: boolean;
|
|
31
|
+
isShowDelete?: boolean;
|
|
32
|
+
collapseParams?: CollapseProps;
|
|
33
|
+
productParams?: productProps;
|
|
34
|
+
isHideClearCart?: boolean;
|
|
35
|
+
isParallelResource?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @title: 商品卡片
|
|
39
|
+
* @description:
|
|
40
|
+
* @return {*}
|
|
41
|
+
* @Author: WangHan
|
|
42
|
+
* @Date: 2024-11-29 09:52
|
|
43
|
+
*/
|
|
44
|
+
export interface ProductProps {
|
|
45
|
+
id?: any;
|
|
46
|
+
lists: any[];
|
|
47
|
+
isAdd?: boolean;
|
|
48
|
+
}
|
|
@@ -12,11 +12,13 @@ export interface SubTotalItem extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
12
|
is_price_include_tax?: boolean;
|
|
13
13
|
title?: string;
|
|
14
14
|
};
|
|
15
|
+
bold?: boolean;
|
|
15
16
|
}
|
|
16
17
|
interface SubTotalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
18
|
list: SubTotalItem[];
|
|
18
19
|
mode?: 'column1' | 'column2';
|
|
19
20
|
describe?: string;
|
|
21
|
+
children?: React.ReactNode;
|
|
20
22
|
}
|
|
21
23
|
declare const SubTotal: (props: SubTotalProps) => JSX.Element;
|
|
22
24
|
export default SubTotal;
|
|
@@ -35,21 +35,22 @@ module.exports = __toCommonJS(subTotal_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_index = require("./index.less");
|
|
38
|
-
var import_locales = require("
|
|
39
|
-
var import_locales2 = __toESM(require("./locales"));
|
|
38
|
+
var import_locales = __toESM(require("./locales"));
|
|
40
39
|
var import_classnames = __toESM(require("classnames"));
|
|
41
40
|
var import_materials = require("@pisell/materials");
|
|
42
41
|
var import_utils = require("@pisell/utils");
|
|
43
|
-
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
43
|
+
var getLabelMaps = () => {
|
|
44
|
+
return {
|
|
45
|
+
deposit: import_utils.locales.getText("pisell2.subtotal.deposit"),
|
|
46
|
+
total: import_utils.locales.getText("pisell2.subtotal.total"),
|
|
47
|
+
sub_total: import_utils.locales.getText("pisell2.subtotal.subtotal"),
|
|
48
|
+
tax: import_utils.locales.getText("pisell2.subtotal.tax"),
|
|
49
|
+
delivery_fee: import_utils.locales.getText("pisell2.subtotal.delivery-fee"),
|
|
50
|
+
discount: import_utils.locales.getText("pisell2.subtotal.discount"),
|
|
51
|
+
point_deduction: import_utils.locales.getText("pisell2.subtotal.point-deduction"),
|
|
52
|
+
member_deduction: import_utils.locales.getText("pisell2.subtotal.member-deduction")
|
|
53
|
+
};
|
|
53
54
|
};
|
|
54
55
|
var groupByMod = (arr, groupCount) => {
|
|
55
56
|
if (groupCount < 1) {
|
|
@@ -66,7 +67,7 @@ var groupByMod = (arr, groupCount) => {
|
|
|
66
67
|
}, result);
|
|
67
68
|
};
|
|
68
69
|
var Item = (props) => {
|
|
69
|
-
const { item, bold } = props;
|
|
70
|
+
const { item, bold, labelMaps } = props;
|
|
70
71
|
const { label, key, count, value, tax, hidden, ...rest } = item;
|
|
71
72
|
const taxText = (0, import_react.useMemo)(() => {
|
|
72
73
|
if (!tax) {
|
|
@@ -99,13 +100,13 @@ var Item = (props) => {
|
|
|
99
100
|
)));
|
|
100
101
|
}
|
|
101
102
|
return labelMaps[key];
|
|
102
|
-
}, [label, key, count, taxText]);
|
|
103
|
+
}, [label, key, count, taxText, labelMaps]);
|
|
103
104
|
if (hidden) return null;
|
|
104
105
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
105
106
|
"div",
|
|
106
107
|
{
|
|
107
108
|
className: (0, import_classnames.default)("pisell-lowcode__subtotal-item", {
|
|
108
|
-
"pisell-lowcode__subtotal-item-bold": bold
|
|
109
|
+
"pisell-lowcode__subtotal-item-bold": bold || (item == null ? void 0 : item.bold)
|
|
109
110
|
}),
|
|
110
111
|
...rest
|
|
111
112
|
},
|
|
@@ -124,9 +125,22 @@ var Describe = (props) => {
|
|
|
124
125
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-describe" }, describe));
|
|
125
126
|
};
|
|
126
127
|
var SubTotal = (props) => {
|
|
127
|
-
|
|
128
|
+
var _a, _b;
|
|
129
|
+
const {
|
|
130
|
+
list = [],
|
|
131
|
+
mode = "column1",
|
|
132
|
+
describe = "",
|
|
133
|
+
children,
|
|
134
|
+
...rest
|
|
135
|
+
} = props;
|
|
136
|
+
const context = (0, import_useEngineContext.default)();
|
|
137
|
+
const locale = ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en";
|
|
138
|
+
import_utils.locales.init(import_locales.default, locale);
|
|
139
|
+
const labelMaps = (0, import_react.useMemo)(() => {
|
|
140
|
+
return getLabelMaps();
|
|
141
|
+
}, [locale]);
|
|
128
142
|
const depositItem = (0, import_react.useMemo)(() => {
|
|
129
|
-
return list.find((item) => item.key === "deposit");
|
|
143
|
+
return list.find((item) => item.key === "deposit" && !(item == null ? void 0 : item.hidden));
|
|
130
144
|
}, [list]);
|
|
131
145
|
const totalItem = (0, import_react.useMemo)(() => {
|
|
132
146
|
return list.find((item) => item.key === "total");
|
|
@@ -160,7 +174,7 @@ var SubTotal = (props) => {
|
|
|
160
174
|
(0, import_react.useEffect)(() => {
|
|
161
175
|
document.body.id = "body";
|
|
162
176
|
}, []);
|
|
163
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-wrap", ...rest }, headerItem && /* @__PURE__ */ import_react.default.createElement(Item, { key: headerItem.key, item: headerItem, bold: true }), depositItem ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), totalItem ? /* @__PURE__ */ import_react.default.createElement(Item, { key: totalItem.key, item: totalItem }) : null) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-list" }, mapData.map((items, index) => {
|
|
177
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-wrap", ...rest }, headerItem && /* @__PURE__ */ import_react.default.createElement(Item, { key: headerItem.key, item: headerItem, bold: true, labelMaps }), depositItem ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), totalItem ? /* @__PURE__ */ import_react.default.createElement(Item, { key: totalItem.key, item: totalItem, labelMaps }) : null) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-list" }, mapData.map((items, index) => {
|
|
164
178
|
const isLast = index === mapData.length - 1;
|
|
165
179
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__subtotal-item-block" }, /* @__PURE__ */ import_react.default.createElement(
|
|
166
180
|
"div",
|
|
@@ -168,8 +182,8 @@ var SubTotal = (props) => {
|
|
|
168
182
|
key: index,
|
|
169
183
|
className: "pisell-lowcode__subtotal-item-wrap"
|
|
170
184
|
},
|
|
171
|
-
items.map((d) => /* @__PURE__ */ import_react.default.createElement(Item, { key: d.key, item: d }))
|
|
185
|
+
items.map((d) => /* @__PURE__ */ import_react.default.createElement(Item, { key: d.key, item: d, labelMaps }))
|
|
172
186
|
)), mode === "column2" && !isLast ? /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { type: "vertical", style: { height: "auto" } }) : null);
|
|
173
|
-
})), describe ? /* @__PURE__ */ import_react.default.createElement(Describe, { describe }) : null);
|
|
187
|
+
})), describe ? /* @__PURE__ */ import_react.default.createElement(Describe, { describe }) : null, children ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_antd.Divider, { className: "pisell-lowcode__subtotal-divider" }), children) : null);
|
|
174
188
|
};
|
|
175
189
|
var subTotal_default = SubTotal;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.subtotal.deposit': string;
|
|
4
|
+
'pisell2.subtotal.total': string;
|
|
5
|
+
'pisell2.subtotal.subtotal': string;
|
|
6
|
+
'pisell2.subtotal.tax': string;
|
|
7
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
8
|
+
'pisell2.subtotal.discount': string;
|
|
9
|
+
'pisell2.subtotal.point-deduction': string;
|
|
10
|
+
'pisell2.subtotal.member-deduction': string;
|
|
11
|
+
'pisell2.subtotal.items': string;
|
|
12
|
+
'pisell2.subtotal.not-contain': string;
|
|
13
|
+
'pisell2.subtotal.included': string;
|
|
14
|
+
};
|
|
15
|
+
'zh-CN': {
|
|
16
|
+
'pisell2.subtotal.deposit': string;
|
|
17
|
+
'pisell2.subtotal.total': string;
|
|
18
|
+
'pisell2.subtotal.subtotal': string;
|
|
19
|
+
'pisell2.subtotal.tax': string;
|
|
20
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
21
|
+
'pisell2.subtotal.discount': string;
|
|
22
|
+
'pisell2.subtotal.point-deduction': string;
|
|
23
|
+
'pisell2.subtotal.member-deduction': string;
|
|
24
|
+
'pisell2.subtotal.items': string;
|
|
25
|
+
'pisell2.subtotal.not-contain': string;
|
|
26
|
+
'pisell2.subtotal.included': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-HK': {
|
|
29
|
+
'pisell2.subtotal.deposit': string;
|
|
30
|
+
'pisell2.subtotal.total': string;
|
|
31
|
+
'pisell2.subtotal.subtotal': string;
|
|
32
|
+
'pisell2.subtotal.tax': string;
|
|
33
|
+
'pisell2.subtotal.delivery-fee': string;
|
|
34
|
+
'pisell2.subtotal.discount': string;
|
|
35
|
+
'pisell2.subtotal.point-deduction': string;
|
|
36
|
+
'pisell2.subtotal.member-deduction': string;
|
|
37
|
+
'pisell2.subtotal.items': string;
|
|
38
|
+
'pisell2.subtotal.not-contain': string;
|
|
39
|
+
'pisell2.subtotal.included': string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.forms': string;
|
|
6
|
+
'pisell2.ticket-booking.sales': string;
|
|
7
|
+
'pisell2.ticket-booking.payment': string;
|
|
8
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
9
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
10
|
+
'pisell2.ticket-booking.go-back': string;
|
|
11
|
+
'pisell2.ticket-booking.exit': string;
|
|
12
|
+
'pisell2.ticket-booking.deposit': string;
|
|
13
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
14
|
+
'pisell2.ticket-booking.no-data': string;
|
|
15
|
+
'pisell2.ticket-booking.authorized': string;
|
|
16
|
+
'pisell2.ticket-booking.paid': string;
|
|
17
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
19
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
20
|
+
'pisell2.ticket-booking.refunded': string;
|
|
21
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
22
|
+
'pisell2.ticket-booking.voided': string;
|
|
23
|
+
'pisell2.ticket-booking.pending': string;
|
|
24
|
+
'pisell2.ticket-booking.all': string;
|
|
25
|
+
'pisell2.ticket-booking.not-started': string;
|
|
26
|
+
'pisell2.ticket-booking.started': string;
|
|
27
|
+
'pisell2.ticket-booking.finished': string;
|
|
28
|
+
'pisell2.ticket-booking.canceled': string;
|
|
29
|
+
'pisell2.ticket-booking.inform': string;
|
|
30
|
+
'pisell2.ticket-booking.check-management': string;
|
|
31
|
+
'pisell2.ticket-booking.confirm': string;
|
|
32
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
33
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
34
|
+
'pisell2.ticket-booking.full-data': string;
|
|
35
|
+
'pisell2.ticket-booking.today': string;
|
|
36
|
+
'pisell2.ticket-booking.now': string;
|
|
37
|
+
'pisell2.ticket-booking.start-time': string;
|
|
38
|
+
'pisell2.ticket-booking.create-time': string;
|
|
39
|
+
'pisell2.ticket-booking.customer': string;
|
|
40
|
+
'pisell2.ticket-booking.total': string;
|
|
41
|
+
'pisell2.ticket-booking.search': string;
|
|
42
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
43
|
+
'pisell2.ticket-booking.loading': string;
|
|
44
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
45
|
+
'pisell2.ticket-booking.scan': string;
|
|
46
|
+
'pisell2.ticket-booking.create-new': string;
|
|
47
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
48
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
50
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
51
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.subtotal': string;
|
|
53
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
54
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
55
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
|
58
|
+
};
|
|
59
|
+
'zh-CN': {
|
|
60
|
+
'pisell2.ticket-booking.info': string;
|
|
61
|
+
'pisell2.ticket-booking.notes': string;
|
|
62
|
+
'pisell2.ticket-booking.forms': string;
|
|
63
|
+
'pisell2.ticket-booking.sales': string;
|
|
64
|
+
'pisell2.ticket-booking.payment': string;
|
|
65
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
66
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
67
|
+
'pisell2.ticket-booking.go-back': string;
|
|
68
|
+
'pisell2.ticket-booking.exit': string;
|
|
69
|
+
'pisell2.ticket-booking.deposit': string;
|
|
70
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
71
|
+
'pisell2.ticket-booking.no-data': string;
|
|
72
|
+
'pisell2.ticket-booking.authorized': string;
|
|
73
|
+
'pisell2.ticket-booking.paid': string;
|
|
74
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
75
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
76
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
77
|
+
'pisell2.ticket-booking.refunded': string;
|
|
78
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
79
|
+
'pisell2.ticket-booking.voided': string;
|
|
80
|
+
'pisell2.ticket-booking.pending': string;
|
|
81
|
+
'pisell2.ticket-booking.all': string;
|
|
82
|
+
'pisell2.ticket-booking.not-started': string;
|
|
83
|
+
'pisell2.ticket-booking.started': string;
|
|
84
|
+
'pisell2.ticket-booking.finished': string;
|
|
85
|
+
'pisell2.ticket-booking.canceled': string;
|
|
86
|
+
'pisell2.ticket-booking.inform': string;
|
|
87
|
+
'pisell2.ticket-booking.check-management': string;
|
|
88
|
+
'pisell2.ticket-booking.confirm': string;
|
|
89
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
90
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
91
|
+
'pisell2.ticket-booking.full-data': string;
|
|
92
|
+
'pisell2.ticket-booking.today': string;
|
|
93
|
+
'pisell2.ticket-booking.now': string;
|
|
94
|
+
'pisell2.ticket-booking.start-time': string;
|
|
95
|
+
'pisell2.ticket-booking.create-time': string;
|
|
96
|
+
'pisell2.ticket-booking.customer': string;
|
|
97
|
+
'pisell2.ticket-booking.total': string;
|
|
98
|
+
'pisell2.ticket-booking.search': string;
|
|
99
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
100
|
+
'pisell2.ticket-booking.loading': string;
|
|
101
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
102
|
+
'pisell2.ticket-booking.scan': string;
|
|
103
|
+
'pisell2.ticket-booking.create-new': string;
|
|
104
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
105
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
106
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
107
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
108
|
+
'pisell2.product.card.subtotal': string;
|
|
109
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
110
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
|
115
|
+
};
|
|
116
|
+
'zh-HK': {
|
|
117
|
+
'pisell2.ticket-booking.info': string;
|
|
118
|
+
'pisell2.ticket-booking.notes': string;
|
|
119
|
+
'pisell2.ticket-booking.forms': string;
|
|
120
|
+
'pisell2.ticket-booking.sales': string;
|
|
121
|
+
'pisell2.ticket-booking.payment': string;
|
|
122
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
123
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
124
|
+
'pisell2.ticket-booking.go-back': string;
|
|
125
|
+
'pisell2.ticket-booking.exit': string;
|
|
126
|
+
'pisell2.ticket-booking.deposit': string;
|
|
127
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
128
|
+
'pisell2.ticket-booking.no-data': string;
|
|
129
|
+
'pisell2.ticket-booking.authorized': string;
|
|
130
|
+
'pisell2.ticket-booking.paid': string;
|
|
131
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
132
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
133
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
134
|
+
'pisell2.ticket-booking.refunded': string;
|
|
135
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
136
|
+
'pisell2.ticket-booking.voided': string;
|
|
137
|
+
'pisell2.ticket-booking.pending': string;
|
|
138
|
+
'pisell2.ticket-booking.all': string;
|
|
139
|
+
'pisell2.ticket-booking.not-started': string;
|
|
140
|
+
'pisell2.ticket-booking.started': string;
|
|
141
|
+
'pisell2.ticket-booking.finished': string;
|
|
142
|
+
'pisell2.ticket-booking.canceled': string;
|
|
143
|
+
'pisell2.ticket-booking.inform': string;
|
|
144
|
+
'pisell2.ticket-booking.check-management': string;
|
|
145
|
+
'pisell2.ticket-booking.confirm': string;
|
|
146
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
147
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
148
|
+
'pisell2.ticket-booking.full-data': string;
|
|
149
|
+
'pisell2.ticket-booking.today': string;
|
|
150
|
+
'pisell2.ticket-booking.now': string;
|
|
151
|
+
'pisell2.ticket-booking.start-time': string;
|
|
152
|
+
'pisell2.ticket-booking.create-time': string;
|
|
153
|
+
'pisell2.ticket-booking.customer': string;
|
|
154
|
+
'pisell2.ticket-booking.total': string;
|
|
155
|
+
'pisell2.ticket-booking.search': string;
|
|
156
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
157
|
+
'pisell2.ticket-booking.loading': string;
|
|
158
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
159
|
+
'pisell2.ticket-booking.scan': string;
|
|
160
|
+
'pisell2.ticket-booking.create-new': string;
|
|
161
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
162
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
163
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
164
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
165
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
166
|
+
'pisell2.product.card.subtotal': string;
|
|
167
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
168
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
169
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
170
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|