@pisell/private-materials 6.3.114 → 6.3.115
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/package.json +2 -2
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/es/components/appointmentBooking/locales.d.ts +0 -366
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/footer/amount.d.ts +0 -25
- package/es/components/booking/components/footer/index.d.ts +0 -12
- package/es/components/booking/components/footer/utils.d.ts +0 -47
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/index.d.ts +0 -4
- package/es/components/booking/dashboard/index.d.ts +0 -20
- package/es/components/booking/dashboard/serve.d.ts +0 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/es/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/es/components/booking/deposit/index.d.ts +0 -3
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/forms/forms.d.ts +0 -30
- package/es/components/booking/forms/serve.d.ts +0 -18
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/hooks/useQuotation.d.ts +0 -6
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/client/serve.d.ts +0 -2
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/date/index.d.ts +0 -5
- package/es/components/booking/info/header/index.d.ts +0 -4
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/pet/index.d.ts +0 -14
- package/es/components/booking/info/pet/serve.d.ts +0 -1
- package/es/components/booking/info/service/Lists.d.ts +0 -3
- package/es/components/booking/info/service/addService/index.d.ts +0 -12
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serve.d.ts +0 -20
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/es/components/booking/info/service2/Lists.d.ts +0 -3
- package/es/components/booking/info/service2/utils.d.ts +0 -248
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/serve.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/es/components/booking/locales.d.ts +0 -846
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/es/components/booking/notes/addNote/index.d.ts +0 -4
- package/es/components/booking/utils.d.ts +0 -175
- package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/es/components/eftpos/PairModal/index.d.ts +0 -11
- package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/es/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/es/components/eftpos/const.d.ts +0 -66
- package/es/components/eftpos/device.d.ts +0 -11
- package/es/components/eftpos/hooks.d.ts +0 -46
- package/es/components/eftpos/index.d.ts +0 -47
- package/es/components/eftpos/locales.d.ts +0 -138
- package/es/components/eftpos/table.d.ts +0 -21
- package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/es/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/es/components/eftposPay/app.d.ts +0 -11
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/es/components/eftposPay/component/fail/index.d.ts +0 -4
- package/es/components/eftposPay/const.d.ts +0 -191
- package/es/components/eftposPay/device.d.ts +0 -24
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/eftposPay/locales.d.ts +0 -333
- package/es/components/eftposPay/manufacturer.d.ts +0 -8
- package/es/components/eftposPay/mx51/Action.d.ts +0 -7
- package/es/components/eftposPay/mx51/Result.d.ts +0 -5
- package/es/components/eftposPay/mx51/const.d.ts +0 -5
- package/es/components/eftposPay/mx51/index.d.ts +0 -6
- package/es/components/eftposPay/mx51/types.d.ts +0 -138
- package/es/components/eftposPay/mx51/utils.d.ts +0 -10
- package/es/components/eftposPay/pay.d.ts +0 -21
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/tyro/index.d.ts +0 -9
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/es/components/eventBooking/locales.d.ts +0 -246
- package/es/components/kioskSkuDetail/locales.d.ts +0 -27
- package/es/components/login/locales.d.ts +0 -24
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -307
- package/es/components/pay/toC/model.d.ts +0 -40
- package/es/components/pay/toC/serve.d.ts +0 -62
- package/es/components/pay/toC/utils.d.ts +0 -57
- package/es/components/pinModal/locales.d.ts +0 -27
- package/es/components/pinVerifyModal/locales.d.ts +0 -24
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/es/components/productExtension/locales.d.ts +0 -48
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/es/components/productSelect/locales.d.ts +0 -18
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/schedules/locales.d.ts +0 -87
- package/es/components/shoppingCart/Provider.d.ts +0 -3
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/es/components/shoppingCart/locales.d.ts +0 -33
- package/es/components/shoppingCart/mock.d.ts +0 -40
- package/es/components/shoppingCart/type.d.ts +0 -48
- package/es/components/shoppingCart/utils.d.ts +0 -63
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/subTotal/index.d.ts +0 -24
- package/es/components/subTotal/locales.d.ts +0 -42
- 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/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/taxSelect/locales.d.ts +0 -24
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/es/components/ticketBooking/index.d.ts +0 -8
- package/es/components/ticketBooking/locales.d.ts +0 -174
- package/es/components/ticketBooking/serve.d.ts +0 -287
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/index.d.ts +0 -25
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/index.d.ts +0 -4
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/hooks/useEngineContext.d.ts +0 -10
- package/es/hooks/useLocale.d.ts +0 -2
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -66
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/locales.d.ts +0 -15
- package/es/plus/contactInfoModal/locales.d.ts +0 -66
- package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/es/plus/productSelect/index.d.ts +0 -32
- package/es/plus/productSelect/locales.d.ts +0 -18
- package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/es/plus/saasLogin/locales.d.ts +0 -51
- package/es/plus/saasRegister/locales.d.ts +0 -117
- package/es/plus/selectHolder/index.d.ts +0 -7
- package/es/plus/selectHolder/locales.d.ts +0 -21
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/es/plus/skuOptionsSelection/index.d.ts +0 -5
- package/es/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/es/plus/skuOptionsSelection/types.d.ts +0 -429
- 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/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/es/plus/walletPassGallery/index.d.ts +0 -7
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/serve.d.ts +0 -243
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/es/pro/Login2.0/Login2.d.ts +0 -61
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/types.d.ts +0 -232
- package/es/pro/NumericStepper/index.d.ts +0 -43
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Item.d.ts +0 -14
- package/es/pro/Selector/Selector.d.ts +0 -14
- package/es/pro/Selector/SelectorGroup.d.ts +0 -11
- package/es/pro/Selector/components/Card/index.d.ts +0 -57
- package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/es/pro/Selector/components/Media/index.d.ts +0 -6
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/es/pro/Selector/locales.d.ts +0 -36
- package/es/pro/Selector/types.d.ts +0 -173
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/skuDetailModal/index.d.ts +0 -4
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -5
- package/lib/components/appointmentBooking/locales.d.ts +0 -366
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.d.ts +0 -8
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/footer/amount.d.ts +0 -25
- package/lib/components/booking/components/footer/index.d.ts +0 -12
- package/lib/components/booking/components/footer/utils.d.ts +0 -47
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/index.d.ts +0 -4
- package/lib/components/booking/dashboard/index.d.ts +0 -20
- package/lib/components/booking/dashboard/serve.d.ts +0 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +0 -18
- package/lib/components/booking/deposit/DepositItem/index.d.ts +0 -25
- package/lib/components/booking/deposit/index.d.ts +0 -3
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/forms/forms.d.ts +0 -30
- package/lib/components/booking/forms/serve.d.ts +0 -18
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/hooks/useQuotation.d.ts +0 -6
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/client/serve.d.ts +0 -2
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/date/index.d.ts +0 -5
- package/lib/components/booking/info/header/index.d.ts +0 -4
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/pet/index.d.ts +0 -14
- package/lib/components/booking/info/pet/serve.d.ts +0 -1
- package/lib/components/booking/info/service/Lists.d.ts +0 -3
- package/lib/components/booking/info/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -5
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serve.d.ts +0 -20
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Group/utils.d.ts +0 -14
- package/lib/components/booking/info/service2/Lists.d.ts +0 -3
- package/lib/components/booking/info/service2/utils.d.ts +0 -248
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/serve.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -13
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -6
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/lib/components/booking/locales.d.ts +0 -846
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -17
- package/lib/components/booking/notes/addNote/index.d.ts +0 -4
- package/lib/components/booking/utils.d.ts +0 -175
- package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
- package/lib/components/eftpos/PairModal/index.d.ts +0 -11
- package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/index.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/serve.d.ts +0 -8
- package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
- package/lib/components/eftpos/SettlementModal/utils.d.ts +0 -18
- package/lib/components/eftpos/const.d.ts +0 -66
- package/lib/components/eftpos/device.d.ts +0 -11
- package/lib/components/eftpos/hooks.d.ts +0 -46
- package/lib/components/eftpos/index.d.ts +0 -47
- package/lib/components/eftpos/locales.d.ts +0 -138
- package/lib/components/eftpos/table.d.ts +0 -21
- package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +0 -6
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
- package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +0 -24
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +0 -110
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +0 -132
- package/lib/components/eftposPay/app.d.ts +0 -11
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -4
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -4
- package/lib/components/eftposPay/const.d.ts +0 -191
- package/lib/components/eftposPay/device.d.ts +0 -24
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/eftposPay/locales.d.ts +0 -333
- package/lib/components/eftposPay/manufacturer.d.ts +0 -8
- package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
- package/lib/components/eftposPay/mx51/Result.d.ts +0 -5
- package/lib/components/eftposPay/mx51/const.d.ts +0 -5
- package/lib/components/eftposPay/mx51/index.d.ts +0 -6
- package/lib/components/eftposPay/mx51/types.d.ts +0 -138
- package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
- package/lib/components/eftposPay/pay.d.ts +0 -21
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/tyro/index.d.ts +0 -9
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -10
- package/lib/components/eventBooking/locales.d.ts +0 -246
- package/lib/components/kioskSkuDetail/locales.d.ts +0 -27
- package/lib/components/login/locales.d.ts +0 -24
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/List/index.d.ts +0 -11
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -155
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -9
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +0 -21
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -307
- package/lib/components/pay/toC/model.d.ts +0 -40
- package/lib/components/pay/toC/serve.d.ts +0 -62
- package/lib/components/pay/toC/utils.d.ts +0 -57
- package/lib/components/pinModal/locales.d.ts +0 -27
- package/lib/components/pinVerifyModal/locales.d.ts +0 -24
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
- package/lib/components/productExtension/locales.d.ts +0 -48
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -3
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -39
- package/lib/components/productSelect/locales.d.ts +0 -18
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/schedules/locales.d.ts +0 -87
- package/lib/components/shoppingCart/Provider.d.ts +0 -3
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/lib/components/shoppingCart/locales.d.ts +0 -33
- package/lib/components/shoppingCart/mock.d.ts +0 -40
- package/lib/components/shoppingCart/type.d.ts +0 -48
- package/lib/components/shoppingCart/utils.d.ts +0 -63
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/subTotal/index.d.ts +0 -24
- package/lib/components/subTotal/locales.d.ts +0 -42
- 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/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/taxSelect/locales.d.ts +0 -24
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -10
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/lib/components/ticketBooking/index.d.ts +0 -8
- package/lib/components/ticketBooking/locales.d.ts +0 -174
- package/lib/components/ticketBooking/serve.d.ts +0 -287
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/index.d.ts +0 -25
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/index.d.ts +0 -4
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/hooks/useEngineContext.d.ts +0 -10
- package/lib/hooks/useLocale.d.ts +0 -2
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -66
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/locales.d.ts +0 -15
- package/lib/plus/contactInfoModal/locales.d.ts +0 -66
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -21
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/lib/plus/productSelect/index.d.ts +0 -32
- package/lib/plus/productSelect/locales.d.ts +0 -18
- package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
- package/lib/plus/saasLogin/locales.d.ts +0 -51
- package/lib/plus/saasRegister/locales.d.ts +0 -117
- package/lib/plus/selectHolder/index.d.ts +0 -7
- package/lib/plus/selectHolder/locales.d.ts +0 -21
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -11
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
- package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
- package/lib/plus/skuOptionsSelection/locales.d.ts +0 -33
- package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
- package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
- 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/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +0 -37
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -13
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -10
- package/lib/plus/walletPassGallery/index.d.ts +0 -7
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/serve.d.ts +0 -243
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -60
- package/lib/pro/Login2.0/Login2.d.ts +0 -61
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/types.d.ts +0 -232
- package/lib/pro/NumericStepper/index.d.ts +0 -43
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Item.d.ts +0 -14
- package/lib/pro/Selector/Selector.d.ts +0 -14
- package/lib/pro/Selector/SelectorGroup.d.ts +0 -11
- package/lib/pro/Selector/components/Card/index.d.ts +0 -57
- package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
- package/lib/pro/Selector/components/Media/index.d.ts +0 -6
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
- package/lib/pro/Selector/locales.d.ts +0 -36
- package/lib/pro/Selector/types.d.ts +0 -173
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/skuDetailModal/index.d.ts +0 -4
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FormState {
|
|
3
|
-
amountSymbol: string;
|
|
4
|
-
apis: {
|
|
5
|
-
getClients: (par?: any) => any;
|
|
6
|
-
getClientsEs: (par?: any) => any;
|
|
7
|
-
getServices: (par?: any) => any;
|
|
8
|
-
getResources: (par?: any) => any;
|
|
9
|
-
getProducts: (par?: any) => any;
|
|
10
|
-
getPets: (par?: any) => any;
|
|
11
|
-
getForms: (par?: any) => any;
|
|
12
|
-
getFormData: (par?: any) => any;
|
|
13
|
-
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
-
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
-
getNotesByOrder: (par?: any) => any;
|
|
16
|
-
saveBookingFormData: (par?: any) => any;
|
|
17
|
-
getPetsData: (par?: any) => any;
|
|
18
|
-
};
|
|
19
|
-
client: {
|
|
20
|
-
showModal: boolean;
|
|
21
|
-
value: any;
|
|
22
|
-
clients: any[];
|
|
23
|
-
clientsParams: {
|
|
24
|
-
skip: number;
|
|
25
|
-
num: number;
|
|
26
|
-
search: string;
|
|
27
|
-
};
|
|
28
|
-
edit: boolean;
|
|
29
|
-
};
|
|
30
|
-
contacts_info: {
|
|
31
|
-
edit: boolean;
|
|
32
|
-
value: any;
|
|
33
|
-
};
|
|
34
|
-
date: {
|
|
35
|
-
value: any;
|
|
36
|
-
end_date: any;
|
|
37
|
-
edit: boolean;
|
|
38
|
-
};
|
|
39
|
-
service: {
|
|
40
|
-
addModal: boolean;
|
|
41
|
-
editModal: boolean;
|
|
42
|
-
services: any[];
|
|
43
|
-
resources: any[];
|
|
44
|
-
resourcesOrigin: any[];
|
|
45
|
-
reloadResourceModal: false;
|
|
46
|
-
value: any[];
|
|
47
|
-
cacheItem: any;
|
|
48
|
-
edit: boolean;
|
|
49
|
-
addTimeModal: boolean;
|
|
50
|
-
changeService: any;
|
|
51
|
-
};
|
|
52
|
-
pet: {
|
|
53
|
-
showModal: boolean;
|
|
54
|
-
pets: any[];
|
|
55
|
-
value: any[];
|
|
56
|
-
formData: any;
|
|
57
|
-
originValue: any;
|
|
58
|
-
edit: boolean;
|
|
59
|
-
};
|
|
60
|
-
addons: {
|
|
61
|
-
showModal: boolean;
|
|
62
|
-
value: any[];
|
|
63
|
-
productList: any[];
|
|
64
|
-
originData: any[];
|
|
65
|
-
edit: boolean;
|
|
66
|
-
};
|
|
67
|
-
notes: {
|
|
68
|
-
orderNote: string;
|
|
69
|
-
internalNotes: any[];
|
|
70
|
-
edit: boolean;
|
|
71
|
-
};
|
|
72
|
-
form: {
|
|
73
|
-
value: any;
|
|
74
|
-
forms: any[];
|
|
75
|
-
edit: boolean;
|
|
76
|
-
};
|
|
77
|
-
setGlobalState: () => void;
|
|
78
|
-
disabledEdit: boolean;
|
|
79
|
-
bookingConfig: any;
|
|
80
|
-
action: any;
|
|
81
|
-
bookingId: string | number;
|
|
82
|
-
bookingDetail: any;
|
|
83
|
-
channelDisabledEdit: boolean;
|
|
84
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
|
85
|
-
modalOpen?: boolean;
|
|
86
|
-
isTerminal?: boolean;
|
|
87
|
-
isFranchisee?: boolean;
|
|
88
|
-
addTimeProducts: any[];
|
|
89
|
-
eventOtherParams?: {
|
|
90
|
-
relation_id: number;
|
|
91
|
-
number: number;
|
|
92
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
|
93
|
-
start_date: string;
|
|
94
|
-
start_time: string;
|
|
95
|
-
end_date: string;
|
|
96
|
-
end_time: string;
|
|
97
|
-
productIds: number[];
|
|
98
|
-
};
|
|
99
|
-
disableEventBookingEdit?: boolean;
|
|
100
|
-
/** 关闭自动打开选择服务弹窗 */
|
|
101
|
-
closeAutoOpenService?: boolean;
|
|
102
|
-
/** 是否terminal创建booking页面 */
|
|
103
|
-
isBookingCreatePage?: boolean;
|
|
104
|
-
loading: boolean;
|
|
105
|
-
isTerminalDayBookingPage?: boolean;
|
|
106
|
-
activeCartId?: any[];
|
|
107
|
-
isDayBooking: boolean;
|
|
108
|
-
}
|
|
109
|
-
export declare const walkInData: {
|
|
110
|
-
id: number;
|
|
111
|
-
nickname: string;
|
|
112
|
-
};
|
|
113
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
114
|
-
state: FormState;
|
|
115
|
-
} & {
|
|
116
|
-
dispatch: (params: {
|
|
117
|
-
type: string;
|
|
118
|
-
payload: any;
|
|
119
|
-
}) => void;
|
|
120
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./index.less";
|
|
3
|
-
export interface InfoProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
describe?: string;
|
|
6
|
-
notes: any[];
|
|
7
|
-
onChange?: (value: any, type: "edit" | "add" | "remove", noteType: string) => void;
|
|
8
|
-
apis?: any;
|
|
9
|
-
bookingId?: any;
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
isEdit?: boolean;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
maxLength?: number;
|
|
14
|
-
noteType: string;
|
|
15
|
-
}
|
|
16
|
-
declare const NoteBlock: (props: InfoProps) => React.JSX.Element;
|
|
17
|
-
export default NoteBlock;
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
|
|
3
|
-
declare class Request {
|
|
4
|
-
private request;
|
|
5
|
-
constructor();
|
|
6
|
-
setRequest(val: any): void;
|
|
7
|
-
getRequest(): {
|
|
8
|
-
get: RType;
|
|
9
|
-
post: RType;
|
|
10
|
-
put: RType;
|
|
11
|
-
remove: RType;
|
|
12
|
-
custom: RType;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare const request: Request;
|
|
16
|
-
/**
|
|
17
|
-
* @title: 格式化持续时长用于展示
|
|
18
|
-
* @description:
|
|
19
|
-
* @param {number} service_times
|
|
20
|
-
* @return {*}
|
|
21
|
-
* @Author: zhiwei.Wang
|
|
22
|
-
* @Date: 2024-04-26 14:00
|
|
23
|
-
*/
|
|
24
|
-
export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
|
|
25
|
-
/**
|
|
26
|
-
* @title: 时间切片
|
|
27
|
-
* @description:
|
|
28
|
-
* @param {any} config
|
|
29
|
-
* @param {string} locale
|
|
30
|
-
* @return {*}
|
|
31
|
-
* @Author: zhiwei.Wang
|
|
32
|
-
* @Date: 2024-04-26 13:59
|
|
33
|
-
*/
|
|
34
|
-
export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
|
|
35
|
-
timeSlices: {
|
|
36
|
-
label: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}[];
|
|
39
|
-
durationSlicesBasedOnTime: {
|
|
40
|
-
label: string;
|
|
41
|
-
value: number;
|
|
42
|
-
}[];
|
|
43
|
-
};
|
|
44
|
-
export declare const getNowTime: () => string;
|
|
45
|
-
export declare const isNowTime: (time: string) => boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @title: 获取服务的开始时间, 如果是now 转换为当前的时间
|
|
48
|
-
* @description:
|
|
49
|
-
* @param {string} start_time
|
|
50
|
-
* @return {*}
|
|
51
|
-
* @Author: zhiwei.Wang
|
|
52
|
-
* @Date: 2024-04-26 14:03
|
|
53
|
-
*/
|
|
54
|
-
export declare const getServeStartTime: (start_time: string) => string;
|
|
55
|
-
/**
|
|
56
|
-
* @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
|
|
57
|
-
* @description:
|
|
58
|
-
* @param {any} item
|
|
59
|
-
* @param {any} currentDate
|
|
60
|
-
* @return {*}
|
|
61
|
-
* @Author: zhiwei.Wang
|
|
62
|
-
* @Date: 2024-04-26 14:04
|
|
63
|
-
*/
|
|
64
|
-
export declare const getServiceTime: (item: any, currentDate: any) => string;
|
|
65
|
-
export declare const findNextSlice: ({ timeSlices, index, date, }: {
|
|
66
|
-
timeSlices: any[];
|
|
67
|
-
index?: number | undefined;
|
|
68
|
-
date?: string | undefined;
|
|
69
|
-
}) => any;
|
|
70
|
-
export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
|
|
71
|
-
export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
|
|
72
|
-
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
|
|
73
|
-
/**
|
|
74
|
-
* @title: 查找是否有可用的time
|
|
75
|
-
* @description:
|
|
76
|
-
* @param {any} resourceItem
|
|
77
|
-
* @return {*}
|
|
78
|
-
* @Author: zhiwei.Wang
|
|
79
|
-
* @Date: 2024-01-09 13:57
|
|
80
|
-
*/
|
|
81
|
-
export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
|
|
82
|
-
/**
|
|
83
|
-
* @title: 获取店铺的营业结束时间
|
|
84
|
-
* @description:
|
|
85
|
-
* @return {*}
|
|
86
|
-
* @Author: zhiwei.Wang
|
|
87
|
-
* @Date: 2024-02-23 10:00
|
|
88
|
-
*/
|
|
89
|
-
export declare const getShopOpeningHours: () => string;
|
|
90
|
-
/**
|
|
91
|
-
* @title: 对灵活时长进行处理
|
|
92
|
-
* @description:
|
|
93
|
-
* @return {*}
|
|
94
|
-
* @Author: zhiwei.Wang
|
|
95
|
-
* @Date: 2024-02-23 10:00
|
|
96
|
-
*/
|
|
97
|
-
export declare const flexibleObj: {
|
|
98
|
-
create: (num: number) => any;
|
|
99
|
-
getValue: (str: string | number) => number;
|
|
100
|
-
isFlexible: (str: string | number) => boolean;
|
|
101
|
-
add: (current: number | string, duration: number) => any;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* @title: 获取结束时间
|
|
105
|
-
* @description: 取 endDate | 店铺营业时间 最小的那一个
|
|
106
|
-
* @param {any} startDate
|
|
107
|
-
* @param {string} duration
|
|
108
|
-
* @param {any} endDate
|
|
109
|
-
* @return {*}
|
|
110
|
-
* @Author: zhiwei.Wang
|
|
111
|
-
* @Date: 2024-02-23 10:01
|
|
112
|
-
*/
|
|
113
|
-
export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
|
|
114
|
-
export declare const getServiceTimes: (service: any) => {
|
|
115
|
-
startDate: dayjs.Dayjs;
|
|
116
|
-
endDate: dayjs.Dayjs;
|
|
117
|
-
};
|
|
118
|
-
export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
|
|
119
|
-
label: any;
|
|
120
|
-
type: string;
|
|
121
|
-
}[];
|
|
122
|
-
/**
|
|
123
|
-
* @title: 格式化资源, 添加自定义参数
|
|
124
|
-
* @description:
|
|
125
|
-
* @param {any} resourceItem
|
|
126
|
-
* @return {*}
|
|
127
|
-
* @Author: zhiwei.Wang
|
|
128
|
-
* @Date: 2024-01-09 13:40
|
|
129
|
-
*/
|
|
130
|
-
export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
|
|
131
|
-
export declare const getLastServer: (list: any) => any;
|
|
132
|
-
export declare const getCacheParams: () => any;
|
|
133
|
-
export declare const deleteCacheParams: () => void;
|
|
134
|
-
/**
|
|
135
|
-
* @title: 获取跨日预约的时长
|
|
136
|
-
* @description:
|
|
137
|
-
* @param {any} cacheItem
|
|
138
|
-
* @return {*}
|
|
139
|
-
* @Author: WangHan
|
|
140
|
-
* @Date: 2024-12-01 22:43
|
|
141
|
-
*/
|
|
142
|
-
export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
|
|
143
|
-
export declare const isSessionProduct: (cacheItem: any) => boolean;
|
|
144
|
-
export declare const getIsEject: (item: any, type: 'select' | 'detail') => boolean;
|
|
145
|
-
export declare const getIsOnlySession: (item: any) => boolean;
|
|
146
|
-
/**
|
|
147
|
-
* @title: 创建一个服务商品
|
|
148
|
-
* @description:
|
|
149
|
-
* @param {any} state
|
|
150
|
-
* @param {any} item
|
|
151
|
-
* @return {*}
|
|
152
|
-
* @Author: zhiwei.Wang
|
|
153
|
-
* @Date: 2024-01-26 14:09
|
|
154
|
-
*/
|
|
155
|
-
export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
|
|
156
|
-
export declare const getMainPrice: (item: any, price?: number) => number;
|
|
157
|
-
export declare const getProductTotalPrice: (item: any) => number;
|
|
158
|
-
/**
|
|
159
|
-
* @title: 判断 duration
|
|
160
|
-
* @description: 用于处理不同格式的duration
|
|
161
|
-
* @param {number} duration
|
|
162
|
-
* @return {*}
|
|
163
|
-
* @Author: zhiwei.Wang
|
|
164
|
-
* @Date: 2024-02-23 10:02
|
|
165
|
-
*/
|
|
166
|
-
export declare const getDuration: (duration: number | {
|
|
167
|
-
type: string;
|
|
168
|
-
value: number;
|
|
169
|
-
}) => number | "flexible" | {
|
|
170
|
-
type: string;
|
|
171
|
-
value: number;
|
|
172
|
-
};
|
|
173
|
-
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
174
|
-
export declare const getIsEdit: (state: any) => boolean;
|
|
175
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
interface ModalProps {
|
|
2
|
-
visible?: boolean;
|
|
3
|
-
data?: Record<string, any>;
|
|
4
|
-
onCancel?: () => void;
|
|
5
|
-
onCheck?: () => void;
|
|
6
|
-
onConfirm?: () => void;
|
|
7
|
-
close?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const usePairModal: () => {
|
|
10
|
-
visible: boolean;
|
|
11
|
-
open: (props: ModalProps) => void;
|
|
12
|
-
close: () => void;
|
|
13
|
-
modalProps: ModalProps;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @title 解除配对
|
|
17
|
-
*/
|
|
18
|
-
export declare const useUnPairRequest: () => {
|
|
19
|
-
run: (params: any) => any;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @title 检查配对状态
|
|
23
|
-
*/
|
|
24
|
-
export declare const useCheckPairRequest: () => {
|
|
25
|
-
run: (params: any) => any;
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PairModalProps {
|
|
4
|
-
visible?: boolean;
|
|
5
|
-
data?: Record<string, any>;
|
|
6
|
-
onCancel?: () => void;
|
|
7
|
-
onCheck?: () => void;
|
|
8
|
-
onConfirm?: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const PairModal: React.FC<PairModalProps>;
|
|
11
|
-
export default PairModal;
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 支付状态
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ESettlementStatus {
|
|
5
|
-
/** 结算中 */
|
|
6
|
-
Processing = "processing",
|
|
7
|
-
/** 结算成功 */
|
|
8
|
-
Success = "success",
|
|
9
|
-
/** 结算失败 */
|
|
10
|
-
Failed = "failed"
|
|
11
|
-
}
|
|
12
|
-
/** 元素类型定义 */
|
|
13
|
-
export interface ElementType {
|
|
14
|
-
label: string;
|
|
15
|
-
key: string;
|
|
16
|
-
}
|
|
17
|
-
/** 布局类型定义 */
|
|
18
|
-
export interface LayoutType {
|
|
19
|
-
type: string;
|
|
20
|
-
elements: ElementType[];
|
|
21
|
-
}
|
|
22
|
-
/** 元素属性定义 */
|
|
23
|
-
export interface ElementProperty {
|
|
24
|
-
type: 'button' | 'text' | 'image' | 'input';
|
|
25
|
-
submit_url: string;
|
|
26
|
-
action: string | null;
|
|
27
|
-
text?: string | null;
|
|
28
|
-
name?: string | null;
|
|
29
|
-
data?: string | null;
|
|
30
|
-
encoding?: string | null;
|
|
31
|
-
}
|
|
32
|
-
/** Action Form 定义 */
|
|
33
|
-
export interface ActionFormType {
|
|
34
|
-
layout: LayoutType[];
|
|
35
|
-
properties: {
|
|
36
|
-
[key: string]: ElementProperty;
|
|
37
|
-
};
|
|
38
|
-
details: {
|
|
39
|
-
[key: string]: string;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
/** POS 指令定义 */
|
|
43
|
-
export interface PosInstructions {
|
|
44
|
-
auto_actions: any;
|
|
45
|
-
action_form: ActionFormType | null;
|
|
46
|
-
}
|
|
47
|
-
/** MX51 参数定义 */
|
|
48
|
-
export interface MX51Params {
|
|
49
|
-
id: string;
|
|
50
|
-
version: number;
|
|
51
|
-
status: string;
|
|
52
|
-
message: string;
|
|
53
|
-
merchant_receipt: string | null;
|
|
54
|
-
customer_receipt: string | null;
|
|
55
|
-
result_amounts: any;
|
|
56
|
-
result_financial_status: string | null;
|
|
57
|
-
pos_instructions: PosInstructions | null;
|
|
58
|
-
}
|
|
59
|
-
/** 解析后的按钮配置 */
|
|
60
|
-
export interface ParsedElement {
|
|
61
|
-
/** 元素键 */
|
|
62
|
-
key: string;
|
|
63
|
-
/** 元素标签 */
|
|
64
|
-
label: string;
|
|
65
|
-
/** 提交URL */
|
|
66
|
-
submitUrl: string;
|
|
67
|
-
/** 按钮动作 */
|
|
68
|
-
action: string | null;
|
|
69
|
-
/** 元素类型 */
|
|
70
|
-
type: 'button' | 'text';
|
|
71
|
-
/** 文本信息 */
|
|
72
|
-
text?: string | null;
|
|
73
|
-
/** 小票信息 */
|
|
74
|
-
receipt?: string | null;
|
|
75
|
-
/** 额外信息 */
|
|
76
|
-
_extra?: {
|
|
77
|
-
/** 商户收据 */
|
|
78
|
-
merchantReceipt?: string | null;
|
|
79
|
-
/** 客户收据 */
|
|
80
|
-
customerReceipt?: string | null;
|
|
81
|
-
/** 结算状态 */
|
|
82
|
-
settlementStatus: ESettlementStatus;
|
|
83
|
-
/** 接口返回的原始数据 */
|
|
84
|
-
response: any;
|
|
85
|
-
};
|
|
86
|
-
/** 图片信息 */
|
|
87
|
-
image?: {
|
|
88
|
-
name?: string | null;
|
|
89
|
-
data?: string | null;
|
|
90
|
-
encoding?: string | null;
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
/** 解析后的布局配置 */
|
|
94
|
-
export interface ParsedLayout {
|
|
95
|
-
/** 布局类型,如 horizontal_layout */
|
|
96
|
-
layoutType: string;
|
|
97
|
-
/** 该布局中的按钮列表 */
|
|
98
|
-
elements: ParsedElement[];
|
|
99
|
-
}
|
|
100
|
-
/** 解析后的结果 */
|
|
101
|
-
export interface ParsedMX51Result {
|
|
102
|
-
/** 交易ID */
|
|
103
|
-
transactionId: string;
|
|
104
|
-
/** 版本号 */
|
|
105
|
-
version: number;
|
|
106
|
-
/** 状态 */
|
|
107
|
-
status: string;
|
|
108
|
-
/** 提示信息 */
|
|
109
|
-
message: string;
|
|
110
|
-
/** 商户收据 */
|
|
111
|
-
merchantReceipt: string | null;
|
|
112
|
-
/** 客户收据 */
|
|
113
|
-
customerReceipt: string | null;
|
|
114
|
-
/** 结果金额 */
|
|
115
|
-
resultAmounts: any;
|
|
116
|
-
/** 结果财务状态 */
|
|
117
|
-
resultFinancialStatus: string | null;
|
|
118
|
-
/** 布局列表,每个布局包含其类型和按钮 */
|
|
119
|
-
layouts: ParsedLayout[];
|
|
120
|
-
/** 详情信息 */
|
|
121
|
-
details: {
|
|
122
|
-
[key: string]: string;
|
|
123
|
-
};
|
|
124
|
-
/** 详情信息 text */
|
|
125
|
-
detailsText: string;
|
|
126
|
-
/** 自动操作 */
|
|
127
|
-
autoAction: Array<string> | null;
|
|
128
|
-
}
|
|
129
|
-
export declare enum EButtonKeyType {
|
|
130
|
-
/** 打印客户收据 */
|
|
131
|
-
PrintCustomerReceipt = "print_customer_receipt",
|
|
132
|
-
/** 打印商户收据 */
|
|
133
|
-
PrintMerchantReceipt = "print_merchant_receipt",
|
|
134
|
-
/** 结算完成 */
|
|
135
|
-
SettlementComplete = "settlement_complete",
|
|
136
|
-
/** 重试结算 */
|
|
137
|
-
RetrySettlement = "retry_settlement"
|
|
138
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type MX51Params, type ParsedMX51Result, ESettlementStatus } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* 解析MX51参数
|
|
4
|
-
* @param params 接口返回的原始参数
|
|
5
|
-
* @param status 支付状态
|
|
6
|
-
* @param data 接口返回的数据
|
|
7
|
-
* @returns 解析后的结果对象
|
|
8
|
-
*/
|
|
9
|
-
export declare const parseMX51Params: (params: MX51Params, settlementStatus: ESettlementStatus, data: any) => ParsedMX51Result | null;
|
|
10
|
-
/**
|
|
11
|
-
* 结算查询
|
|
12
|
-
* @description 首先调用结算发起接口,然后调用结算查询接口
|
|
13
|
-
* 1. 首先调用结算发起接口,接口调用成功后调用结算查询接口,并设置 2min 的超时
|
|
14
|
-
* 2. 结算查询接口默认有 30s 超时,超时后取消本次请求并继续轮询
|
|
15
|
-
* 3. 如果结算查询接口返回 code === 200 && status === 'FINALISED',则返回成功
|
|
16
|
-
* 4. 其他任何情况只要总超时未到,都继续轮询
|
|
17
|
-
*/
|
|
18
|
-
export declare const settlementQuery: (params: any, callback: (status: ESettlementStatus, res: any) => void) => Promise<any>;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export declare enum Eftpos {
|
|
2
|
-
Payo = "payo",
|
|
3
|
-
Tyro = "tyro",
|
|
4
|
-
Windcave = "windcave",
|
|
5
|
-
Stripe = "stripe",
|
|
6
|
-
Linkly = "linkly",
|
|
7
|
-
MX51 = "mx51"
|
|
8
|
-
}
|
|
9
|
-
export declare enum DeviceEnum {
|
|
10
|
-
/** 新增 */
|
|
11
|
-
Add = "add",
|
|
12
|
-
/** 编辑 */
|
|
13
|
-
Edit = "edit",
|
|
14
|
-
/** 重新链接 */
|
|
15
|
-
Repair = "repair"
|
|
16
|
-
}
|
|
17
|
-
export declare type DeviceStatus = `${DeviceEnum}`;
|
|
18
|
-
/** 设备配置信息 */
|
|
19
|
-
export interface DeviceProp {
|
|
20
|
-
/** 设备id */
|
|
21
|
-
id?: string | number;
|
|
22
|
-
/** 设备名称 */
|
|
23
|
-
name: string;
|
|
24
|
-
/** 设备类型(厂商) */
|
|
25
|
-
type: Eftpos.Tyro;
|
|
26
|
-
/** 设备状态 */
|
|
27
|
-
status: "unpaired" | "paired";
|
|
28
|
-
/** 设备设置(商户配置) */
|
|
29
|
-
setting: {
|
|
30
|
-
[key: string]: unknown;
|
|
31
|
-
} | null;
|
|
32
|
-
/** 设备设置(第三方配置) */
|
|
33
|
-
connection: {
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
} | null;
|
|
36
|
-
[key: string]: unknown;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @title: 获取表单结果数据
|
|
40
|
-
* @description: 获取表单结果数据
|
|
41
|
-
* @param {any} list 表单配置信息
|
|
42
|
-
* @return {*} 表单结果信息
|
|
43
|
-
* @Author: hongbing.wang
|
|
44
|
-
* @Date: 2024-08-19 11:10
|
|
45
|
-
*/
|
|
46
|
-
export declare const getDefaultValue: (list: any) => any;
|
|
47
|
-
/**
|
|
48
|
-
* @title: 构建通用表单配置信息,构建动态表单
|
|
49
|
-
* @description:
|
|
50
|
-
* @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm : 获取字段组件配置信息
|
|
51
|
-
* @return form 表单配置信息
|
|
52
|
-
* @Author: hongbing.wang
|
|
53
|
-
* @Date: 2024-08-19 11:11
|
|
54
|
-
*/
|
|
55
|
-
export declare function getCommByFields({ field, value, name, getComm, }: {
|
|
56
|
-
field: (string | {
|
|
57
|
-
name: string;
|
|
58
|
-
children: string[];
|
|
59
|
-
})[];
|
|
60
|
-
value?: any;
|
|
61
|
-
name?: string[];
|
|
62
|
-
getComm: (params: {
|
|
63
|
-
field: string;
|
|
64
|
-
value?: unknown;
|
|
65
|
-
}, record?: any) => any;
|
|
66
|
-
}): Promise<any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DeviceProp, Eftpos } from './const';
|
|
3
|
-
interface DeviceProps {
|
|
4
|
-
formItemList: any[];
|
|
5
|
-
onSave: (device: DeviceProp) => void;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
type?: Eftpos;
|
|
8
|
-
status?: 'add' | 'edit' | 'repair';
|
|
9
|
-
}
|
|
10
|
-
declare const Device: (props: DeviceProps) => React.JSX.Element;
|
|
11
|
-
export default Device;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Eftpos } from './const';
|
|
2
|
-
/**
|
|
3
|
-
* @title: tyro 设备连接
|
|
4
|
-
* @Author: hongbing.wang
|
|
5
|
-
* @Date: 2024-08-20 13:23
|
|
6
|
-
*/
|
|
7
|
-
export declare const usePairTerminalo: (type: Eftpos, params: {
|
|
8
|
-
url?: string;
|
|
9
|
-
version?: string;
|
|
10
|
-
}) => ({ mid, tid, apiKey, posProductData, }: {
|
|
11
|
-
mid: string;
|
|
12
|
-
tid: string;
|
|
13
|
-
apiKey: string;
|
|
14
|
-
posProductData: {
|
|
15
|
-
posProductVendor: string;
|
|
16
|
-
posProductName: string;
|
|
17
|
-
posProductVersion: string;
|
|
18
|
-
siteReference: string;
|
|
19
|
-
};
|
|
20
|
-
}, cb: (...agrn: unknown[]) => void) => Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* @title: 获取 Tyro 资源
|
|
23
|
-
* @description:
|
|
24
|
-
* @param {Eftpos} type 类型
|
|
25
|
-
* @param {string} url 链接
|
|
26
|
-
* @return {*}
|
|
27
|
-
* @Author: hongbing.wang
|
|
28
|
-
* @Date: 2024-08-19 18:36
|
|
29
|
-
*/
|
|
30
|
-
export declare const useTyro: (params: {
|
|
31
|
-
url?: string;
|
|
32
|
-
version?: string;
|
|
33
|
-
}) => readonly [import("react").MutableRefObject<any>, boolean];
|
|
34
|
-
export declare const useRequest: () => any;
|
|
35
|
-
/**
|
|
36
|
-
* @title 配对请求
|
|
37
|
-
*/
|
|
38
|
-
export declare const usePairRequest: () => {
|
|
39
|
-
run: (params: any) => any;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @title 检查配对状态
|
|
43
|
-
*/
|
|
44
|
-
export declare const useCheckPairRequest: () => {
|
|
45
|
-
run: (params: any) => any;
|
|
46
|
-
};
|