@pisell/private-materials 6.3.140 → 6.3.142
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 +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/es/components/ecocup/cupList/index.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/scanOrder/components/Content/index.js +47 -31
- package/es/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/es/components/scanOrder/components/Menu/index.js +2 -1
- package/es/components/scanOrder/locales.d.ts +5 -0
- package/es/components/scanOrder/locales.js +5 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/plus/orderList/components/HandleActions.d.ts +1 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/es/plus/orderList/components/Reset.d.ts +1 -0
- package/es/plus/orderList/components/Toolbar.d.ts +1 -0
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/lib/components/ecocup/cupList/index.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Content/index.js +8 -0
- package/lib/components/scanOrder/components/Menu/index.d.ts +1 -0
- package/lib/components/scanOrder/components/Menu/index.js +2 -2
- package/lib/components/scanOrder/locales.d.ts +5 -0
- package/lib/components/scanOrder/locales.js +5 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/lib/plus/orderList/components/Reset.d.ts +1 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/package.json +1 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -107
- package/es/components/appointmentBooking/utils.d.ts +0 -227
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -1489
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/eftposPay/amount.d.ts +0 -21
- package/es/components/eftposPay/app.d.ts +0 -10
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/eftposPay/component/fail/network.d.ts +0 -9
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/es/components/eftposPay/component/manual/index.d.ts +0 -9
- package/es/components/eftposPay/component/signature/index.d.ts +0 -9
- package/es/components/eftposPay/device.d.ts +0 -23
- package/es/components/eftposPay/index.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/pay.d.ts +0 -20
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/hooks.d.ts +0 -10
- package/es/components/eftposPay/payo/payment.d.ts +0 -66
- package/es/components/eftposPay/tip.d.ts +0 -10
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/utils/payLog.d.ts +0 -81
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/kioskSkuDetail/index.d.ts +0 -39
- package/es/components/kioskSkuDetail/locales.d.ts +0 -48
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -631
- package/es/components/pay/toC/payGroup.d.ts +0 -59
- package/es/components/pay/toC/serve.d.ts +0 -87
- package/es/components/pay/toC/utils.d.ts +0 -65
- package/es/components/ruleSetting/locales.d.ts +0 -78
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/es/components/systemSettings/registry/index.d.ts +0 -5
- package/es/components/systemSettings/registry/services.d.ts +0 -99
- package/es/components/systemSettings/registry/types.d.ts +0 -143
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/index.d.ts +0 -87
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/es/plus/skuOptionsSelection/types.d.ts +0 -458
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -107
- package/lib/components/appointmentBooking/utils.d.ts +0 -227
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -1489
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/eftposPay/amount.d.ts +0 -21
- package/lib/components/eftposPay/app.d.ts +0 -10
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
- package/lib/components/eftposPay/device.d.ts +0 -23
- package/lib/components/eftposPay/index.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/pay.d.ts +0 -20
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
- package/lib/components/eftposPay/payo/payment.d.ts +0 -66
- package/lib/components/eftposPay/tip.d.ts +0 -10
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/kioskSkuDetail/index.d.ts +0 -39
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -631
- package/lib/components/pay/toC/payGroup.d.ts +0 -59
- package/lib/components/pay/toC/serve.d.ts +0 -87
- package/lib/components/pay/toC/utils.d.ts +0 -65
- package/lib/components/ruleSetting/locales.d.ts +0 -78
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
- package/lib/components/systemSettings/registry/index.d.ts +0 -5
- package/lib/components/systemSettings/registry/services.d.ts +0 -99
- package/lib/components/systemSettings/registry/types.d.ts +0 -143
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/index.d.ts +0 -87
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -3
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -15
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { PayGroup } from './model';
|
|
2
|
-
/**
|
|
3
|
-
* 生成 `/h5/core/stash` 的 token:前缀 + 订单号
|
|
4
|
-
*/
|
|
5
|
-
export declare const buildPayGroupStashToken: (orderId: string) => string;
|
|
6
|
-
/**
|
|
7
|
-
* @title: 同步交易组到storage
|
|
8
|
-
* @description:
|
|
9
|
-
* @param {PayGroup} payGroup
|
|
10
|
-
* @return {*}
|
|
11
|
-
* @Author: zhiwei.Wang
|
|
12
|
-
* @Date: 2024-08-16 10:40
|
|
13
|
-
*/
|
|
14
|
-
export declare const syncPayGroupToStorage: (payGroup: PayGroup) => void;
|
|
15
|
-
/**
|
|
16
|
-
* @title: 通过订单id获取交易组
|
|
17
|
-
* @description:
|
|
18
|
-
* @param {string} orderId
|
|
19
|
-
* @return {*}
|
|
20
|
-
* @Author: zhiwei.Wang
|
|
21
|
-
* @Date: 2024-08-16 10:40
|
|
22
|
-
*/
|
|
23
|
-
export declare const getPayGroupFromStorage: (orderId: string) => PayGroup | null;
|
|
24
|
-
/**
|
|
25
|
-
* @title: 删除交易组
|
|
26
|
-
* @description:
|
|
27
|
-
* @param {string} orderId
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: zhiwei.Wang
|
|
30
|
-
* @Date: 2024-08-16 10:40
|
|
31
|
-
*/
|
|
32
|
-
export declare const removePayGroupFromStorage: (orderId: string) => void;
|
|
33
|
-
/**
|
|
34
|
-
* @title: 获取交易组参数
|
|
35
|
-
* @description:
|
|
36
|
-
* @param {string} orderId
|
|
37
|
-
* @param {any} rest
|
|
38
|
-
* @return {*}
|
|
39
|
-
* @Author: zhiwei.Wang
|
|
40
|
-
* @Date: 2024-08-16 10:40
|
|
41
|
-
*/
|
|
42
|
-
export declare const getPayGroupParamsFromStorage: (orderId: string, rest?: any) => any;
|
|
43
|
-
/**
|
|
44
|
-
* @title: 通过订单id设置交易号
|
|
45
|
-
* @description: 合并 pay_number 后调用 `/h5/core/stash` 最多 3 次;无论 stash 成败均写入 localStorage
|
|
46
|
-
* @param {string} orderId
|
|
47
|
-
* @param {string} payNumber
|
|
48
|
-
* @param {string} [token] 引擎 utils.token.get(),写入 stash 的 data.token
|
|
49
|
-
* @Author: zhiwei.Wang
|
|
50
|
-
* @Date: 2024-08-16 10:41
|
|
51
|
-
*/
|
|
52
|
-
export declare const setPayNumber: (orderId: string, payNumber: string, token?: string) => Promise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* @title: 清除服务端暂存
|
|
55
|
-
* @description:
|
|
56
|
-
* @param {string} orderId
|
|
57
|
-
* @return {*}
|
|
58
|
-
*/
|
|
59
|
-
export declare const clearStashPayGroup: (orderId: string) => Promise<void>;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export declare const getPaymentList: (values: any) => Promise<{
|
|
2
|
-
message: string;
|
|
3
|
-
status: string;
|
|
4
|
-
paymentList?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
message: string;
|
|
7
|
-
status: string;
|
|
8
|
-
paymentList: any;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 聚合接口, 根据订单 返回支付列表和钱包
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {object} values
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-08-15 11:52
|
|
17
|
-
*/
|
|
18
|
-
export declare const getPaymentsAndWalletPass: (values: {
|
|
19
|
-
order_id: string;
|
|
20
|
-
total_amount: number;
|
|
21
|
-
sale_channel: string;
|
|
22
|
-
}) => Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* @title: 初始化交易组
|
|
25
|
-
* @description:
|
|
26
|
-
* @param {object} values
|
|
27
|
-
* @return {*}
|
|
28
|
-
* @Author: zhiwei.Wang
|
|
29
|
-
* @Date: 2024-08-16 10:42
|
|
30
|
-
*/
|
|
31
|
-
export declare const getPaymentInit: (values: {
|
|
32
|
-
order_id?: string;
|
|
33
|
-
amount?: number;
|
|
34
|
-
}) => Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* @title: 获取钱包名称和弹窗状态
|
|
37
|
-
* @description:
|
|
38
|
-
* @param {object} values
|
|
39
|
-
* @return {*}
|
|
40
|
-
* @Author: shengjie.zuo
|
|
41
|
-
* @member: 马天宇
|
|
42
|
-
* @Date: 2025-02-21 10:42
|
|
43
|
-
*/
|
|
44
|
-
export declare const getWalletNameAndPopupStatus: (values: {
|
|
45
|
-
setting_type?: string;
|
|
46
|
-
}) => Promise<{
|
|
47
|
-
wallet: {
|
|
48
|
-
name?: {
|
|
49
|
-
en: string;
|
|
50
|
-
'zh-CN': string;
|
|
51
|
-
'zh-HK': string;
|
|
52
|
-
'ja': string;
|
|
53
|
-
'pt': string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
wallet_setting: {
|
|
57
|
-
popup_status?: 1 | 0;
|
|
58
|
-
};
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* @title: 获取支付结果
|
|
62
|
-
* @description: 获取支付结果
|
|
63
|
-
*/
|
|
64
|
-
export declare const getPaymentResult: (values: any) => Promise<any>;
|
|
65
|
-
/**
|
|
66
|
-
* @title: 检测订单是否有正在处理中的交易
|
|
67
|
-
* @param {object} values - { order_id: string }
|
|
68
|
-
* @return {Promise<{ has_pending: boolean }>}
|
|
69
|
-
*/
|
|
70
|
-
export declare const checkPendingPayment: (values: {
|
|
71
|
-
order_id: string;
|
|
72
|
-
}) => Promise<{
|
|
73
|
-
has_pending: boolean;
|
|
74
|
-
}>;
|
|
75
|
-
/** `/h5/core/stash` 请求体 */
|
|
76
|
-
export interface CoreStashParams {
|
|
77
|
-
/** 缓存 key,由前端生成 */
|
|
78
|
-
token: string;
|
|
79
|
-
/** 暂存数据,如完整 PayGroup */
|
|
80
|
-
data: unknown;
|
|
81
|
-
/** 生命周期(秒),默认 86400(1 天) */
|
|
82
|
-
ttl?: number;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* 调用服务端暂存接口,写入 payGroup 等数据。
|
|
86
|
-
*/
|
|
87
|
-
export declare const postCoreStash: (params: CoreStashParams) => Promise<void>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { PayGroup } from "./model";
|
|
2
|
-
import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
|
|
3
|
-
/**
|
|
4
|
-
* 计算walletPass列表数据的总金额
|
|
5
|
-
* @param list
|
|
6
|
-
*/
|
|
7
|
-
export declare const calcWalletPassListAmount: (list: any[]) => any;
|
|
8
|
-
/**
|
|
9
|
-
* 将walletPass列表数据转换为prepare_payments需要的数据格式
|
|
10
|
-
* @param list
|
|
11
|
-
*/
|
|
12
|
-
export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
|
|
13
|
-
voucher_id: any;
|
|
14
|
-
amount: number;
|
|
15
|
-
tag: any;
|
|
16
|
-
}[];
|
|
17
|
-
/**
|
|
18
|
-
* walletPass支付params
|
|
19
|
-
* @param payGroup
|
|
20
|
-
*/
|
|
21
|
-
export declare const formatWalletPassParams: (payGroup: PayGroup) => {
|
|
22
|
-
order_id: string;
|
|
23
|
-
payment_group_id: number;
|
|
24
|
-
payments: {
|
|
25
|
-
amount: string;
|
|
26
|
-
wallet_pass_use_value: any;
|
|
27
|
-
voucher_id: any;
|
|
28
|
-
tag: any;
|
|
29
|
-
wallet_pass_usage_unit: any;
|
|
30
|
-
metadata: {
|
|
31
|
-
unique_payment_number: any;
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @title: 获取是否walletPass和三方支付的组合支付
|
|
37
|
-
* @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
|
|
38
|
-
* @return: *
|
|
39
|
-
* @Author: shengjie.zuo
|
|
40
|
-
* @Date: 2024-08-30 10:06:17
|
|
41
|
-
*/
|
|
42
|
-
export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
|
|
43
|
-
export declare const isFranchiseeShop: (path?: any, history?: any) => any;
|
|
44
|
-
/**
|
|
45
|
-
* @title: 获取当前连锁加盟店铺shopid
|
|
46
|
-
* @description:
|
|
47
|
-
* @param {any} param1
|
|
48
|
-
* @return {*}
|
|
49
|
-
* @Author: chensheng.gu
|
|
50
|
-
* @Date: 2024-08-07 10:04
|
|
51
|
-
*/
|
|
52
|
-
export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
|
|
53
|
-
export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
|
|
54
|
-
export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
|
|
55
|
-
export declare const clientPayment: (params: {
|
|
56
|
-
order_id: number;
|
|
57
|
-
type: "aliPay" | "wxPay" | 'google_pay';
|
|
58
|
-
values: any;
|
|
59
|
-
interaction?: any;
|
|
60
|
-
}) => void;
|
|
61
|
-
/**
|
|
62
|
-
* 获取唯一幂等token
|
|
63
|
-
* @returns
|
|
64
|
-
*/
|
|
65
|
-
export declare const getUniqueIdempotencyToken: () => string;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
-
'pisell2.text.add': string;
|
|
5
|
-
'pisell2.text.and': string;
|
|
6
|
-
'pisell2.text.or': string;
|
|
7
|
-
'pisell2.text.all': string;
|
|
8
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
-
'pisell2.text.rule-setting.staff': string;
|
|
13
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
-
};
|
|
17
|
-
'zh-CN': {
|
|
18
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
-
'pisell2.text.and': string;
|
|
20
|
-
'pisell2.text.or': string;
|
|
21
|
-
'pisell2.text.all': string;
|
|
22
|
-
'pisell2.text.add': string;
|
|
23
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
-
'pisell2.text.rule-setting.staff': string;
|
|
28
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
-
};
|
|
32
|
-
'zh-HK': {
|
|
33
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
-
'pisell2.text.and': string;
|
|
35
|
-
'pisell2.text.or': string;
|
|
36
|
-
'pisell2.text.all': string;
|
|
37
|
-
'pisell2.text.add': string;
|
|
38
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
-
'pisell2.text.rule-setting.staff': string;
|
|
43
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
-
};
|
|
47
|
-
ja: {
|
|
48
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
49
|
-
'pisell2.text.add': string;
|
|
50
|
-
'pisell2.text.and': string;
|
|
51
|
-
'pisell2.text.or': string;
|
|
52
|
-
'pisell2.text.all': string;
|
|
53
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
54
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
55
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
56
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
57
|
-
'pisell2.text.rule-setting.staff': string;
|
|
58
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
59
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
60
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
61
|
-
};
|
|
62
|
-
pt: {
|
|
63
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
64
|
-
'pisell2.text.add': string;
|
|
65
|
-
'pisell2.text.and': string;
|
|
66
|
-
'pisell2.text.or': string;
|
|
67
|
-
'pisell2.text.all': string;
|
|
68
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
69
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
70
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
71
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
72
|
-
'pisell2.text.rule-setting.staff': string;
|
|
73
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
74
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
75
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export default _default;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ApiResponse, MultiLanguageText, SettingGroup, Section, SettingItem } from './types';
|
|
2
|
-
export interface CreateGroupParams {
|
|
3
|
-
section_code: string;
|
|
4
|
-
code: string;
|
|
5
|
-
title: MultiLanguageText;
|
|
6
|
-
sort: number;
|
|
7
|
-
description?: MultiLanguageText;
|
|
8
|
-
}
|
|
9
|
-
export interface UpdateGroupParams {
|
|
10
|
-
id: number;
|
|
11
|
-
code: string;
|
|
12
|
-
title: MultiLanguageText;
|
|
13
|
-
description?: MultiLanguageText;
|
|
14
|
-
}
|
|
15
|
-
export interface DeleteGroupParams {
|
|
16
|
-
id: number;
|
|
17
|
-
}
|
|
18
|
-
export interface SortGroupParams {
|
|
19
|
-
section_code: string;
|
|
20
|
-
group_ids: number[];
|
|
21
|
-
}
|
|
22
|
-
export declare const createGroup: (request: any, params: CreateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
23
|
-
export declare const updateGroup: (request: any, params: UpdateGroupParams) => Promise<ApiResponse<SettingGroup>>;
|
|
24
|
-
export declare const deleteGroup: (request: any, params: DeleteGroupParams) => Promise<any>;
|
|
25
|
-
export declare const sortGroups: (request: any, params: SortGroupParams) => Promise<any>;
|
|
26
|
-
export declare const getSectionList: (request: any, params: {
|
|
27
|
-
page?: number;
|
|
28
|
-
pageSize?: number;
|
|
29
|
-
filter?: Record<string, any>;
|
|
30
|
-
}) => Promise<ApiResponse<Section>>;
|
|
31
|
-
export declare const getGroupList: (request: any, params: {
|
|
32
|
-
page?: number;
|
|
33
|
-
pageSize?: number;
|
|
34
|
-
filter?: Record<string, any>;
|
|
35
|
-
}) => Promise<ApiResponse<SettingGroup>>;
|
|
36
|
-
export interface CreateItemParams {
|
|
37
|
-
section_code: string;
|
|
38
|
-
group_id: number;
|
|
39
|
-
code: string;
|
|
40
|
-
title: MultiLanguageText;
|
|
41
|
-
description?: MultiLanguageText;
|
|
42
|
-
type: string;
|
|
43
|
-
interface?: string;
|
|
44
|
-
default?: string | null;
|
|
45
|
-
scopes?: string[];
|
|
46
|
-
schema?: any;
|
|
47
|
-
optionConfig?: {
|
|
48
|
-
sourceType?: string;
|
|
49
|
-
options?: Array<{
|
|
50
|
-
label: string;
|
|
51
|
-
value: string;
|
|
52
|
-
}>;
|
|
53
|
-
labelField?: string;
|
|
54
|
-
valueField?: string;
|
|
55
|
-
dataSource?: any;
|
|
56
|
-
};
|
|
57
|
-
sort?: number;
|
|
58
|
-
}
|
|
59
|
-
export interface UpdateItemParams {
|
|
60
|
-
id: number;
|
|
61
|
-
section_code: string;
|
|
62
|
-
group_id: number;
|
|
63
|
-
code: string;
|
|
64
|
-
title: MultiLanguageText;
|
|
65
|
-
description?: MultiLanguageText;
|
|
66
|
-
type: string;
|
|
67
|
-
interface?: string;
|
|
68
|
-
default?: string | null;
|
|
69
|
-
scopes?: string[];
|
|
70
|
-
schema?: any;
|
|
71
|
-
optionConfig?: {
|
|
72
|
-
sourceType?: string;
|
|
73
|
-
options?: Array<{
|
|
74
|
-
label: string;
|
|
75
|
-
value: string;
|
|
76
|
-
}>;
|
|
77
|
-
labelField?: string;
|
|
78
|
-
valueField?: string;
|
|
79
|
-
dataSource?: any;
|
|
80
|
-
};
|
|
81
|
-
sort?: number;
|
|
82
|
-
}
|
|
83
|
-
export interface DeleteItemParams {
|
|
84
|
-
id: number;
|
|
85
|
-
}
|
|
86
|
-
export interface SortItemParams {
|
|
87
|
-
id: number;
|
|
88
|
-
group_id: string;
|
|
89
|
-
item_ids: number[];
|
|
90
|
-
}
|
|
91
|
-
export declare const createItem: (request: any, params: CreateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
92
|
-
export declare const updateItem: (request: any, params: UpdateItemParams) => Promise<ApiResponse<SettingItem>>;
|
|
93
|
-
export declare const deleteItem: (request: any, params: DeleteItemParams) => Promise<any>;
|
|
94
|
-
export declare const sortItems: (request: any, params: SortItemParams) => Promise<any>;
|
|
95
|
-
export declare const getItemList: (request: any, params: {
|
|
96
|
-
page?: number;
|
|
97
|
-
pageSize?: number;
|
|
98
|
-
filter?: Record<string, any>;
|
|
99
|
-
}) => Promise<ApiResponse<SettingItem>>;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
export interface MultiLanguageText {
|
|
3
|
-
en: string;
|
|
4
|
-
'zh-CN': string;
|
|
5
|
-
'zh-HK': string;
|
|
6
|
-
'ja': string;
|
|
7
|
-
'pt': string;
|
|
8
|
-
original: string;
|
|
9
|
-
}
|
|
10
|
-
export interface BaseItem {
|
|
11
|
-
id: number;
|
|
12
|
-
name: string | MultiLanguageText;
|
|
13
|
-
code: string;
|
|
14
|
-
order?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface SettingItem extends BaseItem {
|
|
17
|
-
key?: string;
|
|
18
|
-
scopes?: string[];
|
|
19
|
-
groupId?: number;
|
|
20
|
-
group_id?: number;
|
|
21
|
-
fieldType?: string;
|
|
22
|
-
type?: string;
|
|
23
|
-
interfaceType?: string;
|
|
24
|
-
interface?: string;
|
|
25
|
-
description?: string | MultiLanguageText;
|
|
26
|
-
systemDefaultValue?: string;
|
|
27
|
-
default?: string;
|
|
28
|
-
schema?: any;
|
|
29
|
-
title?: string | MultiLanguageText;
|
|
30
|
-
sort: number;
|
|
31
|
-
created_at?: string | null;
|
|
32
|
-
updated_at?: string | null;
|
|
33
|
-
deleted_at?: string | null;
|
|
34
|
-
}
|
|
35
|
-
export interface SettingGroup extends BaseItem {
|
|
36
|
-
items: SettingItem[];
|
|
37
|
-
expanded?: boolean;
|
|
38
|
-
sort: number;
|
|
39
|
-
description?: MultiLanguageText;
|
|
40
|
-
title?: MultiLanguageText;
|
|
41
|
-
}
|
|
42
|
-
export interface Section extends BaseItem {
|
|
43
|
-
icon?: string;
|
|
44
|
-
description?: string | MultiLanguageText;
|
|
45
|
-
groups: SettingGroup[];
|
|
46
|
-
created_at?: string | null;
|
|
47
|
-
updated_at?: string | null;
|
|
48
|
-
deleted_at?: string | null;
|
|
49
|
-
}
|
|
50
|
-
export interface TreeNode {
|
|
51
|
-
key: string;
|
|
52
|
-
type: 'group' | 'item';
|
|
53
|
-
data: SettingGroup | SettingItem;
|
|
54
|
-
children?: TreeNode[];
|
|
55
|
-
parentKey?: string;
|
|
56
|
-
}
|
|
57
|
-
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
58
|
-
export interface DragItem {
|
|
59
|
-
id: number;
|
|
60
|
-
type: 'group' | 'item';
|
|
61
|
-
groupId?: number;
|
|
62
|
-
}
|
|
63
|
-
export interface RegistryProps {
|
|
64
|
-
className?: string;
|
|
65
|
-
style?: CSSProperties;
|
|
66
|
-
sections?: Section[];
|
|
67
|
-
selectedSectionId?: number;
|
|
68
|
-
onSectionSelect?: (sectionId: number) => void;
|
|
69
|
-
onDataChange?: (sections: Section[]) => void;
|
|
70
|
-
}
|
|
71
|
-
export interface SectionListProps {
|
|
72
|
-
sections: Section[];
|
|
73
|
-
selectedSectionId?: number;
|
|
74
|
-
onSectionSelect: (sectionId: number) => void;
|
|
75
|
-
loading?: boolean;
|
|
76
|
-
hasMore?: boolean;
|
|
77
|
-
onLoadMore?: () => void;
|
|
78
|
-
}
|
|
79
|
-
export interface SettingsTableProps {
|
|
80
|
-
section?: Section;
|
|
81
|
-
groupList?: SettingGroup[];
|
|
82
|
-
groupLoading?: boolean;
|
|
83
|
-
onDataChange?: (section: Section) => void;
|
|
84
|
-
onEditGroup?: (group: SettingGroup) => void;
|
|
85
|
-
onDeleteGroup?: (groupId: number) => void;
|
|
86
|
-
onAddItem?: (groupId: number) => void;
|
|
87
|
-
onEditItem?: (item: SettingItem) => void;
|
|
88
|
-
onDeleteItem?: (itemId: number) => void;
|
|
89
|
-
onGroupReorder?: (groupIds: number[]) => void;
|
|
90
|
-
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
91
|
-
}
|
|
92
|
-
export interface GroupFormData {
|
|
93
|
-
title: MultiLanguageText;
|
|
94
|
-
code: string;
|
|
95
|
-
description?: MultiLanguageText;
|
|
96
|
-
}
|
|
97
|
-
export interface ItemFormData {
|
|
98
|
-
name: MultiLanguageText;
|
|
99
|
-
key: string;
|
|
100
|
-
fieldType: string;
|
|
101
|
-
interfaceType?: string;
|
|
102
|
-
scopes: string[];
|
|
103
|
-
description?: MultiLanguageText;
|
|
104
|
-
default?: string | null;
|
|
105
|
-
schema?: Record<string, any>;
|
|
106
|
-
xDataSource?: {
|
|
107
|
-
type?: string;
|
|
108
|
-
options?: Array<{
|
|
109
|
-
id?: string;
|
|
110
|
-
label: string | MultiLanguageText;
|
|
111
|
-
value: string;
|
|
112
|
-
color?: string;
|
|
113
|
-
}>;
|
|
114
|
-
dataSource?: Record<string, any>;
|
|
115
|
-
extraParams?: string;
|
|
116
|
-
};
|
|
117
|
-
xCustomUiSchema?: string;
|
|
118
|
-
xRecordSchema?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface GroupModalProps {
|
|
121
|
-
open: boolean;
|
|
122
|
-
type: OperationType;
|
|
123
|
-
data?: SettingGroup;
|
|
124
|
-
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
125
|
-
onCancel: () => void;
|
|
126
|
-
}
|
|
127
|
-
export interface ItemModalProps {
|
|
128
|
-
open: boolean;
|
|
129
|
-
type: OperationType;
|
|
130
|
-
data?: SettingItem;
|
|
131
|
-
section?: Section;
|
|
132
|
-
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
133
|
-
onCancel: () => void;
|
|
134
|
-
}
|
|
135
|
-
export interface ApiResponse<T> {
|
|
136
|
-
data: T[];
|
|
137
|
-
meta: {
|
|
138
|
-
count: number;
|
|
139
|
-
page: number;
|
|
140
|
-
pageSize: number;
|
|
141
|
-
totalPage: number;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ITimeBarProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: any;
|
|
6
|
-
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
-
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
-
setIntervalTime: (value: boolean) => void;
|
|
9
|
-
locale: string;
|
|
10
|
-
}
|
|
11
|
-
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
12
|
-
export default TimeBar;
|
package/es/index.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export { default as Login } from './components/login';
|
|
2
|
-
export type { LoginProps } from './components/login';
|
|
3
|
-
export { default as BookingInfo } from './components/booking/info/index';
|
|
4
|
-
export { default as BookingNotes } from './components/booking/notes';
|
|
5
|
-
export { default as BookingAddons } from './components/booking/addons';
|
|
6
|
-
export { default as BookingForms } from './components/booking/forms';
|
|
7
|
-
export { default as BookingPayment } from './components/booking/payments';
|
|
8
|
-
export { default as Booking } from './components/booking';
|
|
9
|
-
export { default as Schedules } from './components/schedules';
|
|
10
|
-
export { default as BookingResources } from './components/booking/materiels/resources';
|
|
11
|
-
export { default as BookingStartTime } from './components/booking/materiels/startTime';
|
|
12
|
-
export { default as BookingDuration } from './components/booking/materiels/duration';
|
|
13
|
-
export { default as BookingContacts } from './components/booking/materiels/contacts';
|
|
14
|
-
export { VerticalClient } from './components/booking/info/clientVariant';
|
|
15
|
-
export { default as VerticalAddService } from './components/booking/info/addServiceVariant';
|
|
16
|
-
export { default as ProductExtension } from './components/productExtension';
|
|
17
|
-
export { default as BookingDeposit } from './components/booking/deposit';
|
|
18
|
-
export { default as WorkspaceList } from './components/workSpaceList';
|
|
19
|
-
export { default as WorkspaceListDetail } from './components/workSpaceListDetail';
|
|
20
|
-
export { default as RuleSetting } from './components/ruleSetting';
|
|
21
|
-
export { default as TaxSelect } from './components/taxSelect';
|
|
22
|
-
export { default as EftposPay } from './components/eftposPay';
|
|
23
|
-
export { default as ToCPay } from './components/pay/toC';
|
|
24
|
-
export { default as Eftpos } from './components/eftpos';
|
|
25
|
-
export { default as WalletList } from './components/walletList';
|
|
26
|
-
export { default as BookingDashboard } from './components/booking/dashboard';
|
|
27
|
-
export { default as PisellSelectCustomerModal } from './components/pisellSelectCustomerModal';
|
|
28
|
-
export { default as EventBooking } from './components/eventBooking';
|
|
29
|
-
export { default as EventCard } from './components/eventBooking/components/eventCard';
|
|
30
|
-
export { default as EventResourceDisplay } from './components/eventBooking/components/resourceDisplay';
|
|
31
|
-
export { default as EventResourceUsability } from './components/eventBooking/components/resourceUsability';
|
|
32
|
-
export { default as EventProductCard } from './components/eventBooking/components/productCard';
|
|
33
|
-
export { default as EventTimeResourceSelector } from './components/eventBooking/components/timeResourceSelector';
|
|
34
|
-
export { default as EventSelectHolder } from './components/eventBooking/components/selectHolder';
|
|
35
|
-
export { default as EventBookingServiceList } from './components/eventBooking/components/bookingServiceList';
|
|
36
|
-
export { default as EventBookingAvailabilityCalendar } from './components/eventBooking/components/bookingAvailabilityCalendar';
|
|
37
|
-
export { default as EventScheduleCalendar } from './components/eventBooking/components/scheduleCalendar';
|
|
38
|
-
export { default as EventBookingDetailModal } from './components/eventBooking/components/bookingDetailModal';
|
|
39
|
-
export { default as EventProgressBar } from './components/eventBooking/components/progressBar';
|
|
40
|
-
export { default as ShoppingCart } from './components/shoppingCart';
|
|
41
|
-
export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
42
|
-
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
43
|
-
export { default as TicketBooking } from './components/ticketBooking';
|
|
44
|
-
export { default as ScanOrder } from './components/scanOrder';
|
|
45
|
-
export { default as VenueBooking } from './components/venueBooking';
|
|
46
|
-
export type { ScanOrderProps } from './components/scanOrder';
|
|
47
|
-
export { default as SubTotal } from './components/subTotal';
|
|
48
|
-
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
49
|
-
export { default as StepController } from './components/stepController';
|
|
50
|
-
export { default as ClientCard } from './plus/clientCard';
|
|
51
|
-
export { default as ClientSearch } from './plus/clinetSearch';
|
|
52
|
-
export { default as ComprehensiveSearch } from './pro/comprehensiveSearch';
|
|
53
|
-
export { default as SaasLogin } from './plus/saasLogin';
|
|
54
|
-
export { default as SaasRegister } from './plus/saasRegister';
|
|
55
|
-
export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
|
|
56
|
-
export { default as PinModal } from './components/pinModal';
|
|
57
|
-
export { default as PinVerifyModal } from './components/pinVerifyModal';
|
|
58
|
-
export { ChannelAuthSetting, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, } from './components/authentication/admin';
|
|
59
|
-
export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps, } from './components/authentication/admin';
|
|
60
|
-
export { default as ContactInfo } from './plus/contactInfo';
|
|
61
|
-
export { default as ContactInfoModal } from './plus/contactInfoModal';
|
|
62
|
-
export { Login2, Register2, AuthModal } from './pro/Login2.0';
|
|
63
|
-
export { default as WalletEditor } from './plus/walletEditor';
|
|
64
|
-
export { default as WalletPassGallery } from './plus/walletPassGallery';
|
|
65
|
-
export { default as WalletPassDetail } from './plus/walletPassGallery/components/passDetail';
|
|
66
|
-
export { default as SelectHolder } from './plus/selectHolder';
|
|
67
|
-
export { default as HolderList } from './plus/selectHolder/components/HolderList';
|
|
68
|
-
export { default as SettingsRegistry } from './components/systemSettings/registry';
|
|
69
|
-
export { default as SaasRole } from './plus/saasRole';
|
|
70
|
-
export { default as SaasTeamMembers } from './plus/saasTeamMembers';
|
|
71
|
-
export type { SaasTeamMembersProps } from './plus/saasTeamMembers/type';
|
|
72
|
-
export { default as KioskSkuDetail } from './components/kioskSkuDetail';
|
|
73
|
-
export { default as ProNumberSelector } from './pro/pisellNumberSelector';
|
|
74
|
-
export { default as SKUOptionsSelection } from './plus/skuOptionsSelection';
|
|
75
|
-
export { default as SaasAttendance } from './plus/saasAttendance';
|
|
76
|
-
export { default as Selector } from './pro/Selector';
|
|
77
|
-
export { default as PisellSalesGrid } from './plus/pisellSalesGrid';
|
|
78
|
-
export { PisellReservationCore, PisellReservationBookingPage, PisellReservation, PisellVenueControlPage, default, } from './plus/pisellReservation';
|
|
79
|
-
export type { FloorMapBookingClickArgs, FloorMapBookingClickMode, PisellReservationProps, PisellReservationTableRow, } from './plus/pisellReservation';
|
|
80
|
-
export { defaultReservationTableRows, getDefaultReservationFloorMapConfig, } from './plus/pisellReservation';
|
|
81
|
-
export { default as EcoCupProject } from './components/ecocup/cupProject';
|
|
82
|
-
export { default as EcoCupList } from './components/ecocup/cupList';
|
|
83
|
-
export { default as EcoCustomerList } from './components/ecocup/customerList';
|
|
84
|
-
export { default as OrderList } from './plus/orderList';
|
|
85
|
-
export { default as pisellSalesManagement } from './plus/pisellSalesManagement';
|
|
86
|
-
export { PisellFinancialSummary, financialSummaryLocales } from './plus/pisellFinancialSummary';
|
|
87
|
-
export type { PisellFinancialSummaryProps, FinancialSummaryData, FinancialSummaryLineItem, FinancialSummaryPaymentItem, FinancialSummaryRefundItem, FinancialSummaryTotalBlock, FinancialSummaryAmountFormatOptions, } from './plus/pisellFinancialSummary';
|