@pisell/private-materials 6.3.75 → 6.3.76
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/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Cart/utils.d.ts +68 -0
- package/es/components/Sales/Event/Detail.d.ts +30 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Header/index.js +12 -12
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +82 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.js +46 -5
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/hooks.js +6 -13
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/appointmentBooking/utils.d.ts +23 -0
- package/es/components/appointmentBooking/utils.js +159 -0
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/es/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/es/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/es/components/authentication/admin/index.d.ts +26 -0
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/dashboard/serve.d.ts +1 -0
- package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/forms.d.ts +30 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/serve.d.ts +18 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/es/components/booking/info/date/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +20 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +843 -0
- package/es/components/booking/model.d.ts +112 -0
- package/es/components/booking/notes/addNote/index.d.ts +3 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/es/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/es/components/eventBooking/index.d.ts +3 -0
- package/es/components/index.d.ts +24 -0
- package/es/components/kioskSkuDetail/locales.d.ts +27 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/model.d.ts +32 -0
- package/es/components/pay/toC/serve.d.ts +62 -0
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pay/toC/utils.d.ts +57 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/ruleSetting/index.d.ts +9 -0
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/server.d.ts +4 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/index.d.ts +4 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/locales.d.ts +174 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/walletList/serve.d.ts +43 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +66 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/contactInfo/locales.d.ts +15 -0
- package/es/plus/contactInfo/types.d.ts +91 -0
- package/es/plus/contactInfo/utils.d.ts +7 -0
- package/es/plus/contactInfoModal/locales.d.ts +66 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/es/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/productSelect/utils.d.ts +39 -0
- package/es/plus/selectHolder/locales.d.ts +21 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +33 -0
- package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/es/plus/skuOptionsSelection/types.d.ts +429 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/es/plus/walletEditor/index.d.ts +3 -0
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletEditor/types.d.ts +52 -0
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/serve.d.ts +243 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Cards/index.d.ts +1 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/locales.d.ts +543 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/Login2.0/steps/index.d.ts +19 -0
- package/es/pro/Login2.0/types.d.ts +167 -0
- package/es/pro/NumericStepper/index.d.ts +43 -0
- package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/es/pro/Selector/Item.d.ts +14 -0
- package/es/pro/Selector/Selector.d.ts +14 -0
- package/es/pro/Selector/Selector.stories.d.ts +78 -0
- package/es/pro/Selector/SelectorGroup.d.ts +11 -0
- package/es/pro/Selector/components/Card/index.d.ts +57 -0
- package/es/pro/Selector/components/Card/types.d.ts +1 -0
- package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/es/pro/Selector/components/Media/index.d.ts +6 -0
- package/es/pro/Selector/components/Media/types.d.ts +47 -0
- package/es/pro/Selector/components/index.d.ts +4 -0
- package/es/pro/Selector/demo.d.ts +2 -0
- package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
- package/es/pro/Selector/index.d.ts +11 -0
- package/es/pro/Selector/locales.d.ts +36 -0
- package/es/pro/Selector/types.d.ts +173 -0
- package/es/pro/Selector/utils/index.d.ts +49 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPaymentList/example.d.ts +19 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Cart/utils.d.ts +68 -0
- package/lib/components/Sales/Event/Detail.d.ts +30 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Header/index.js +3 -8
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +2 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.js +89 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.js +27 -7
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/hooks.js +6 -11
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/appointmentBooking/utils.d.ts +23 -0
- package/lib/components/appointmentBooking/utils.js +103 -0
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/index.d.ts +8 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
- package/lib/components/authentication/admin/CustomerAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/DeviceAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
- package/lib/components/authentication/admin/OrgAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/POSOperatorAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
- package/lib/components/authentication/admin/index.d.ts +26 -0
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/dashboard/serve.d.ts +1 -0
- package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/forms.d.ts +30 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/serve.d.ts +18 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +43 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +25 -0
- package/lib/components/booking/info/date/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/addTimeModal/utils.d.ts +31 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +20 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +843 -0
- package/lib/components/booking/model.d.ts +112 -0
- package/lib/components/booking/notes/addNote/index.d.ts +3 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
- package/lib/components/eventBooking/components/Voucher/hooks.d.ts +7 -0
- package/lib/components/eventBooking/index.d.ts +3 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/model.d.ts +32 -0
- package/lib/components/pay/toC/serve.d.ts +62 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pay/toC/utils.d.ts +57 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/ruleSetting/index.d.ts +9 -0
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/server.d.ts +4 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/index.d.ts +4 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +6 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/locales.d.ts +174 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/walletList/serve.d.ts +43 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +66 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/contactInfo/locales.d.ts +15 -0
- package/lib/plus/contactInfo/types.d.ts +91 -0
- package/lib/plus/contactInfo/utils.d.ts +7 -0
- package/lib/plus/contactInfoModal/locales.d.ts +66 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
- package/lib/plus/productSelect/ProductCard/index.d.ts +47 -0
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/productSelect/utils.d.ts +39 -0
- package/lib/plus/selectHolder/locales.d.ts +21 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +33 -0
- package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
- package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
- package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
- package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
- package/lib/plus/walletEditor/index.d.ts +3 -0
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletEditor/types.d.ts +52 -0
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/serve.d.ts +243 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Cards/index.d.ts +1 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/locales.d.ts +543 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/Login2.0/steps/index.d.ts +19 -0
- package/lib/pro/Login2.0/types.d.ts +167 -0
- package/lib/pro/NumericStepper/index.d.ts +43 -0
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
- package/lib/pro/Selector/Item.d.ts +14 -0
- package/lib/pro/Selector/Selector.d.ts +14 -0
- package/lib/pro/Selector/Selector.stories.d.ts +78 -0
- package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
- package/lib/pro/Selector/components/Card/index.d.ts +57 -0
- package/lib/pro/Selector/components/Card/types.d.ts +1 -0
- package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
- package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
- package/lib/pro/Selector/components/Media/index.d.ts +6 -0
- package/lib/pro/Selector/components/Media/types.d.ts +47 -0
- package/lib/pro/Selector/components/index.d.ts +4 -0
- package/lib/pro/Selector/demo.d.ts +2 -0
- package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
- package/lib/pro/Selector/index.d.ts +11 -0
- package/lib/pro/Selector/locales.d.ts +36 -0
- package/lib/pro/Selector/types.d.ts +173 -0
- package/lib/pro/Selector/utils/index.d.ts +49 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPaymentList/example.d.ts +19 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface MultiLanguageText {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BaseItem {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string | MultiLanguageText;
|
|
11
|
+
code: string;
|
|
12
|
+
order?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SettingItem extends BaseItem {
|
|
15
|
+
key?: string;
|
|
16
|
+
scopes?: string[];
|
|
17
|
+
groupId?: number;
|
|
18
|
+
group_id?: number;
|
|
19
|
+
fieldType?: string;
|
|
20
|
+
type?: string;
|
|
21
|
+
interfaceType?: string;
|
|
22
|
+
interface?: string;
|
|
23
|
+
description?: string | MultiLanguageText;
|
|
24
|
+
systemDefaultValue?: string;
|
|
25
|
+
default?: string;
|
|
26
|
+
uiSchema?: string;
|
|
27
|
+
schema?: any;
|
|
28
|
+
title?: string | MultiLanguageText;
|
|
29
|
+
sort: number;
|
|
30
|
+
created_at?: string | null;
|
|
31
|
+
updated_at?: string | null;
|
|
32
|
+
deleted_at?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface SettingGroup extends BaseItem {
|
|
35
|
+
items: SettingItem[];
|
|
36
|
+
expanded?: boolean;
|
|
37
|
+
sort: number;
|
|
38
|
+
}
|
|
39
|
+
export interface Section extends BaseItem {
|
|
40
|
+
icon?: string;
|
|
41
|
+
description?: string | MultiLanguageText;
|
|
42
|
+
groups: SettingGroup[];
|
|
43
|
+
created_at?: string | null;
|
|
44
|
+
updated_at?: string | null;
|
|
45
|
+
deleted_at?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface TreeNode {
|
|
48
|
+
key: string;
|
|
49
|
+
type: 'group' | 'item';
|
|
50
|
+
data: SettingGroup | SettingItem;
|
|
51
|
+
children?: TreeNode[];
|
|
52
|
+
parentKey?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
55
|
+
export interface DragItem {
|
|
56
|
+
id: number;
|
|
57
|
+
type: 'group' | 'item';
|
|
58
|
+
groupId?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface RegistryProps {
|
|
61
|
+
className?: string;
|
|
62
|
+
style?: CSSProperties;
|
|
63
|
+
sections?: Section[];
|
|
64
|
+
selectedSectionId?: number;
|
|
65
|
+
onSectionSelect?: (sectionId: number) => void;
|
|
66
|
+
onDataChange?: (sections: Section[]) => void;
|
|
67
|
+
}
|
|
68
|
+
export interface SectionListProps {
|
|
69
|
+
sections: Section[];
|
|
70
|
+
selectedSectionId?: number;
|
|
71
|
+
onSectionSelect: (sectionId: number) => void;
|
|
72
|
+
loading?: boolean;
|
|
73
|
+
hasMore?: boolean;
|
|
74
|
+
onLoadMore?: () => void;
|
|
75
|
+
}
|
|
76
|
+
export interface SettingsTableProps {
|
|
77
|
+
section?: Section;
|
|
78
|
+
groupList?: SettingGroup[];
|
|
79
|
+
groupLoading?: boolean;
|
|
80
|
+
onDataChange?: (section: Section) => void;
|
|
81
|
+
onEditGroup?: (group: SettingGroup) => void;
|
|
82
|
+
onDeleteGroup?: (groupId: number) => void;
|
|
83
|
+
onAddItem?: (groupId: number) => void;
|
|
84
|
+
onEditItem?: (item: SettingItem) => void;
|
|
85
|
+
onDeleteItem?: (itemId: number) => void;
|
|
86
|
+
onGroupReorder?: (groupIds: number[]) => void;
|
|
87
|
+
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
88
|
+
}
|
|
89
|
+
export interface GroupFormData {
|
|
90
|
+
title: MultiLanguageText;
|
|
91
|
+
code: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ItemFormData {
|
|
94
|
+
name: MultiLanguageText;
|
|
95
|
+
key: string;
|
|
96
|
+
fieldType: string;
|
|
97
|
+
interfaceType?: string;
|
|
98
|
+
scopes: string[];
|
|
99
|
+
description?: MultiLanguageText;
|
|
100
|
+
default?: string | null;
|
|
101
|
+
uiSchema?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GroupModalProps {
|
|
104
|
+
open: boolean;
|
|
105
|
+
type: OperationType;
|
|
106
|
+
data?: SettingGroup;
|
|
107
|
+
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
108
|
+
onCancel: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface ItemModalProps {
|
|
111
|
+
open: boolean;
|
|
112
|
+
type: OperationType;
|
|
113
|
+
data?: SettingItem;
|
|
114
|
+
section?: Section;
|
|
115
|
+
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
116
|
+
onCancel: () => void;
|
|
117
|
+
}
|
|
118
|
+
export interface ApiResponse<T> {
|
|
119
|
+
data: T[];
|
|
120
|
+
meta: {
|
|
121
|
+
count: number;
|
|
122
|
+
page: number;
|
|
123
|
+
pageSize: number;
|
|
124
|
+
totalPage: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 类型验证工具函数
|
|
3
|
+
* 用于验证默认值是否符合指定的字段类型
|
|
4
|
+
*/
|
|
5
|
+
export interface ValidationResult {
|
|
6
|
+
isValid: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 根据字段类型验证默认值
|
|
11
|
+
*/
|
|
12
|
+
export declare const validateDefaultValue: (fieldType: string, defaultValue: any) => ValidationResult;
|
|
13
|
+
/**
|
|
14
|
+
* 解析默认值为对应的类型
|
|
15
|
+
*/
|
|
16
|
+
export declare const parseDefaultValue: (fieldType: string, defaultValue: any) => any;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.forms': string;
|
|
6
|
+
'pisell2.ticket-booking.sales': string;
|
|
7
|
+
'pisell2.ticket-booking.payment': string;
|
|
8
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
9
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
10
|
+
'pisell2.ticket-booking.go-back': string;
|
|
11
|
+
'pisell2.ticket-booking.exit': string;
|
|
12
|
+
'pisell2.ticket-booking.deposit': string;
|
|
13
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
14
|
+
'pisell2.ticket-booking.no-data': string;
|
|
15
|
+
'pisell2.ticket-booking.authorized': string;
|
|
16
|
+
'pisell2.ticket-booking.paid': string;
|
|
17
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
19
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
20
|
+
'pisell2.ticket-booking.refunded': string;
|
|
21
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
22
|
+
'pisell2.ticket-booking.voided': string;
|
|
23
|
+
'pisell2.ticket-booking.pending': string;
|
|
24
|
+
'pisell2.ticket-booking.all': string;
|
|
25
|
+
'pisell2.ticket-booking.not-started': string;
|
|
26
|
+
'pisell2.ticket-booking.started': string;
|
|
27
|
+
'pisell2.ticket-booking.finished': string;
|
|
28
|
+
'pisell2.ticket-booking.canceled': string;
|
|
29
|
+
'pisell2.ticket-booking.inform': string;
|
|
30
|
+
'pisell2.ticket-booking.check-management': string;
|
|
31
|
+
'pisell2.ticket-booking.confirm': string;
|
|
32
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
33
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
34
|
+
'pisell2.ticket-booking.full-data': string;
|
|
35
|
+
'pisell2.ticket-booking.today': string;
|
|
36
|
+
'pisell2.ticket-booking.now': string;
|
|
37
|
+
'pisell2.ticket-booking.start-time': string;
|
|
38
|
+
'pisell2.ticket-booking.create-time': string;
|
|
39
|
+
'pisell2.ticket-booking.customer': string;
|
|
40
|
+
'pisell2.ticket-booking.total': string;
|
|
41
|
+
'pisell2.ticket-booking.search': string;
|
|
42
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
43
|
+
'pisell2.ticket-booking.loading': string;
|
|
44
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
45
|
+
'pisell2.ticket-booking.scan': string;
|
|
46
|
+
'pisell2.ticket-booking.create-new': string;
|
|
47
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
48
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
50
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
51
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.subtotal': string;
|
|
53
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
54
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
55
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
57
|
+
"pisell2.ticket-booking.reload": string;
|
|
58
|
+
};
|
|
59
|
+
'zh-CN': {
|
|
60
|
+
'pisell2.ticket-booking.info': string;
|
|
61
|
+
'pisell2.ticket-booking.notes': string;
|
|
62
|
+
'pisell2.ticket-booking.forms': string;
|
|
63
|
+
'pisell2.ticket-booking.sales': string;
|
|
64
|
+
'pisell2.ticket-booking.payment': string;
|
|
65
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
66
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
67
|
+
'pisell2.ticket-booking.go-back': string;
|
|
68
|
+
'pisell2.ticket-booking.exit': string;
|
|
69
|
+
'pisell2.ticket-booking.deposit': string;
|
|
70
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
71
|
+
'pisell2.ticket-booking.no-data': string;
|
|
72
|
+
'pisell2.ticket-booking.authorized': string;
|
|
73
|
+
'pisell2.ticket-booking.paid': string;
|
|
74
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
75
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
76
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
77
|
+
'pisell2.ticket-booking.refunded': string;
|
|
78
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
79
|
+
'pisell2.ticket-booking.voided': string;
|
|
80
|
+
'pisell2.ticket-booking.pending': string;
|
|
81
|
+
'pisell2.ticket-booking.all': string;
|
|
82
|
+
'pisell2.ticket-booking.not-started': string;
|
|
83
|
+
'pisell2.ticket-booking.started': string;
|
|
84
|
+
'pisell2.ticket-booking.finished': string;
|
|
85
|
+
'pisell2.ticket-booking.canceled': string;
|
|
86
|
+
'pisell2.ticket-booking.inform': string;
|
|
87
|
+
'pisell2.ticket-booking.check-management': string;
|
|
88
|
+
'pisell2.ticket-booking.confirm': string;
|
|
89
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
90
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
91
|
+
'pisell2.ticket-booking.full-data': string;
|
|
92
|
+
'pisell2.ticket-booking.today': string;
|
|
93
|
+
'pisell2.ticket-booking.now': string;
|
|
94
|
+
'pisell2.ticket-booking.start-time': string;
|
|
95
|
+
'pisell2.ticket-booking.create-time': string;
|
|
96
|
+
'pisell2.ticket-booking.customer': string;
|
|
97
|
+
'pisell2.ticket-booking.total': string;
|
|
98
|
+
'pisell2.ticket-booking.search': string;
|
|
99
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
100
|
+
'pisell2.ticket-booking.loading': string;
|
|
101
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
102
|
+
'pisell2.ticket-booking.scan': string;
|
|
103
|
+
'pisell2.ticket-booking.create-new': string;
|
|
104
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
105
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
106
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
107
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
108
|
+
'pisell2.product.card.subtotal': string;
|
|
109
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
110
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
"pisell2.ticket-booking.reload": string;
|
|
115
|
+
};
|
|
116
|
+
'zh-HK': {
|
|
117
|
+
'pisell2.ticket-booking.info': string;
|
|
118
|
+
'pisell2.ticket-booking.notes': string;
|
|
119
|
+
'pisell2.ticket-booking.forms': string;
|
|
120
|
+
'pisell2.ticket-booking.sales': string;
|
|
121
|
+
'pisell2.ticket-booking.payment': string;
|
|
122
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
123
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
124
|
+
'pisell2.ticket-booking.go-back': string;
|
|
125
|
+
'pisell2.ticket-booking.exit': string;
|
|
126
|
+
'pisell2.ticket-booking.deposit': string;
|
|
127
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
128
|
+
'pisell2.ticket-booking.no-data': string;
|
|
129
|
+
'pisell2.ticket-booking.authorized': string;
|
|
130
|
+
'pisell2.ticket-booking.paid': string;
|
|
131
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
132
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
133
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
134
|
+
'pisell2.ticket-booking.refunded': string;
|
|
135
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
136
|
+
'pisell2.ticket-booking.voided': string;
|
|
137
|
+
'pisell2.ticket-booking.pending': string;
|
|
138
|
+
'pisell2.ticket-booking.all': string;
|
|
139
|
+
'pisell2.ticket-booking.not-started': string;
|
|
140
|
+
'pisell2.ticket-booking.started': string;
|
|
141
|
+
'pisell2.ticket-booking.finished': string;
|
|
142
|
+
'pisell2.ticket-booking.canceled': string;
|
|
143
|
+
'pisell2.ticket-booking.inform': string;
|
|
144
|
+
'pisell2.ticket-booking.check-management': string;
|
|
145
|
+
'pisell2.ticket-booking.confirm': string;
|
|
146
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
147
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
148
|
+
'pisell2.ticket-booking.full-data': string;
|
|
149
|
+
'pisell2.ticket-booking.today': string;
|
|
150
|
+
'pisell2.ticket-booking.now': string;
|
|
151
|
+
'pisell2.ticket-booking.start-time': string;
|
|
152
|
+
'pisell2.ticket-booking.create-time': string;
|
|
153
|
+
'pisell2.ticket-booking.customer': string;
|
|
154
|
+
'pisell2.ticket-booking.total': string;
|
|
155
|
+
'pisell2.ticket-booking.search': string;
|
|
156
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
157
|
+
'pisell2.ticket-booking.loading': string;
|
|
158
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
159
|
+
'pisell2.ticket-booking.scan': string;
|
|
160
|
+
'pisell2.ticket-booking.create-new': string;
|
|
161
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
162
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
163
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
164
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
165
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
166
|
+
'pisell2.product.card.subtotal': string;
|
|
167
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
168
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
169
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
170
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
171
|
+
"pisell2.ticket-booking.reload": string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
export default _default;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取客户列表
|
|
3
|
+
* @description: 获取客户列表
|
|
4
|
+
* @param {any} params
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: cong.shao
|
|
7
|
+
* @Date: 2025-04-24 16:28
|
|
8
|
+
*/
|
|
9
|
+
export declare const getClients: (params: any) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取服务列表
|
|
12
|
+
* @description: 查询服务列表
|
|
13
|
+
* @param {any} params
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: cong.shao
|
|
16
|
+
* @Date: 2025-04-24 16:28
|
|
17
|
+
*/
|
|
18
|
+
export declare const getServices: (params: any) => Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取资源列表
|
|
21
|
+
* @description: 资源列表
|
|
22
|
+
* @param {any} params
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: cong.shao
|
|
25
|
+
* @Date: 2025-04-24 16:28
|
|
26
|
+
*/
|
|
27
|
+
export declare const getResources: (params: any) => Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 获取产品列表
|
|
30
|
+
* @description: 查询产品列表
|
|
31
|
+
* @param {any} params
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: cong.shao
|
|
34
|
+
* @Date: 2025-04-24 16:28
|
|
35
|
+
*/
|
|
36
|
+
export declare const getProducts: (params: any) => Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 获取表单列表
|
|
39
|
+
* @description: 获取关联记录表单列表
|
|
40
|
+
* @param {any} params
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: cong.shao
|
|
43
|
+
* @Date: 2025-04-24 16:28
|
|
44
|
+
*/
|
|
45
|
+
export declare const getForms: (params: any) => Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @title: 获取预约配置
|
|
48
|
+
* @description: 获取预约相关配置信息
|
|
49
|
+
* @param {any} params
|
|
50
|
+
* @return {*}
|
|
51
|
+
* @Author: cong.shao
|
|
52
|
+
* @Date: 2025-04-24 16:28
|
|
53
|
+
*/
|
|
54
|
+
export declare const getBookingConfig: (params: any) => Promise<any>;
|
|
55
|
+
/**
|
|
56
|
+
* @title: 获取宠物信息
|
|
57
|
+
* @description: 根据ID获取宠物信息
|
|
58
|
+
* @param {string} formId
|
|
59
|
+
* @param {any} params
|
|
60
|
+
* @return {*}
|
|
61
|
+
* @Author: cong.shao
|
|
62
|
+
* @Date: 2025-04-24 16:28
|
|
63
|
+
*/
|
|
64
|
+
export declare const getPets: (formId: string, params: any) => Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @title: 获取宠物数据
|
|
67
|
+
* @description: 获取宠物数据
|
|
68
|
+
* @param {any} params
|
|
69
|
+
* @return {*}
|
|
70
|
+
* @Author: cong.shao
|
|
71
|
+
* @Date: 2025-04-24 16:28
|
|
72
|
+
*/
|
|
73
|
+
export declare const getPetsData: (params: any) => Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* @title: 创建预约
|
|
76
|
+
* @description: 创建新的预约记录
|
|
77
|
+
* @param {any} params
|
|
78
|
+
* @return {*}
|
|
79
|
+
* @Author: cong.shao
|
|
80
|
+
* @Date: 2025-04-24 16:28
|
|
81
|
+
*/
|
|
82
|
+
export declare const createBooking: (params: any) => Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* @title: 获取预约附加服务
|
|
85
|
+
* @description: 根据预约ID获取附加服务信息
|
|
86
|
+
* @param {string} bookingId
|
|
87
|
+
* @param {any} params
|
|
88
|
+
* @return {*}
|
|
89
|
+
* @Author: cong.shao
|
|
90
|
+
* @Date: 2025-04-24 16:28
|
|
91
|
+
*/
|
|
92
|
+
export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
93
|
+
/**
|
|
94
|
+
* @title: 保存预约附加服务
|
|
95
|
+
* @description: 保存预约的附加服务信息
|
|
96
|
+
* @param {string} bookingId
|
|
97
|
+
* @param {any} params
|
|
98
|
+
* @return {*}
|
|
99
|
+
* @Author: cong.shao
|
|
100
|
+
* @Date: 2025-04-24 16:28
|
|
101
|
+
*/
|
|
102
|
+
export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* @title: 获取预约详情
|
|
105
|
+
* @description: 获取预约详细信息
|
|
106
|
+
* @param {number} bookingId
|
|
107
|
+
* @param {any} params
|
|
108
|
+
* @return {*}
|
|
109
|
+
* @Author: cong.shao
|
|
110
|
+
* @Date: 2025-04-24 16:28
|
|
111
|
+
*/
|
|
112
|
+
export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* @title: 编辑预约状态
|
|
115
|
+
* @description: 更新预约状态
|
|
116
|
+
* @param {string} bookingId
|
|
117
|
+
* @param {any} params
|
|
118
|
+
* @return {*}
|
|
119
|
+
* @Author: cong.shao
|
|
120
|
+
* @Date: 2025-04-24 16:28
|
|
121
|
+
*/
|
|
122
|
+
export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* @title: 编辑预约信息
|
|
125
|
+
* @description: 更新预约信息
|
|
126
|
+
* @param {string} bookingId
|
|
127
|
+
* @param {any} params
|
|
128
|
+
* @return {*}
|
|
129
|
+
* @Author: cong.shao
|
|
130
|
+
* @Date: 2025-04-24 16:28
|
|
131
|
+
*/
|
|
132
|
+
export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @title: 获取预约备注
|
|
135
|
+
* @description: 获取预约相关备注信息
|
|
136
|
+
* @param {any} params
|
|
137
|
+
* @return {*}
|
|
138
|
+
* @Author: cong.shao
|
|
139
|
+
* @Date: 2025-04-24 16:28
|
|
140
|
+
*/
|
|
141
|
+
export declare const getNotesByOrder: (params: any) => Promise<any>;
|
|
142
|
+
/**
|
|
143
|
+
* @title: 添加预约备注
|
|
144
|
+
* @description: 添加预约相关备注
|
|
145
|
+
* @param {any} params
|
|
146
|
+
* @return {*}
|
|
147
|
+
* @Author: cong.shao
|
|
148
|
+
* @Date: 2025-04-24 16:28
|
|
149
|
+
*/
|
|
150
|
+
export declare const addNotesByOrder: (params: any) => Promise<any>;
|
|
151
|
+
/**
|
|
152
|
+
* @title: 编辑预约备注
|
|
153
|
+
* @description: 更新预约备注信息
|
|
154
|
+
* @param {string} bookingId
|
|
155
|
+
* @param {any} params
|
|
156
|
+
* @return {*}
|
|
157
|
+
* @Author: cong.shao
|
|
158
|
+
* @Date: 2025-04-24 16:28
|
|
159
|
+
*/
|
|
160
|
+
export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
161
|
+
/**
|
|
162
|
+
* @title: 删除预约备注
|
|
163
|
+
* @description: 删除预约相关备注
|
|
164
|
+
* @param {string} bookingId
|
|
165
|
+
* @param {any} params
|
|
166
|
+
* @return {*}
|
|
167
|
+
* @Author: cong.shao
|
|
168
|
+
* @Date: 2025-04-24 16:28
|
|
169
|
+
*/
|
|
170
|
+
export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
|
|
171
|
+
/**
|
|
172
|
+
* @title: 保存预约表单数据
|
|
173
|
+
* @description: 保存预约相关的表单数据
|
|
174
|
+
* @param {any} params
|
|
175
|
+
* @return {*}
|
|
176
|
+
* @Author: cong.shao
|
|
177
|
+
* @Date: 2025-04-24 16:28
|
|
178
|
+
*/
|
|
179
|
+
export declare const saveBookingFormData: (params: any) => Promise<any>;
|
|
180
|
+
/**
|
|
181
|
+
* @title: 获取支付列表
|
|
182
|
+
* @description: 获取支付相关列表数据
|
|
183
|
+
* @param {any} params
|
|
184
|
+
* @return {*}
|
|
185
|
+
* @Author: cong.shao
|
|
186
|
+
* @Date: 2025-04-24 16:28
|
|
187
|
+
*/
|
|
188
|
+
export declare const getPaymentList: (params: any) => Promise<any>;
|
|
189
|
+
/**
|
|
190
|
+
* @title: 编辑订单备注
|
|
191
|
+
* @description: 更新订单备注信息
|
|
192
|
+
* @param {string} bookingId
|
|
193
|
+
* @param {any} params
|
|
194
|
+
* @return {*}
|
|
195
|
+
* @Author: cong.shao
|
|
196
|
+
* @Date: 2025-04-24 16:28
|
|
197
|
+
*/
|
|
198
|
+
export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
|
|
199
|
+
/**
|
|
200
|
+
* @title: 获取退款信息
|
|
201
|
+
* @description: 获取退款相关信息
|
|
202
|
+
* @param {string} bookingId
|
|
203
|
+
* @param {any} params
|
|
204
|
+
* @return {*}
|
|
205
|
+
* @Author: cong.shao
|
|
206
|
+
* @Date: 2025-04-24 16:28
|
|
207
|
+
*/
|
|
208
|
+
export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
|
|
209
|
+
/**
|
|
210
|
+
* @title: 创建活动预约
|
|
211
|
+
* @description: 创建新的活动预约记录
|
|
212
|
+
* @param {any} params
|
|
213
|
+
* @return {*}
|
|
214
|
+
* @Author: cong.shao
|
|
215
|
+
* @Date: 2025-04-24 16:28
|
|
216
|
+
*/
|
|
217
|
+
export declare const createEventBooking: (params: any) => Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* @title: 获取活动预约详情
|
|
220
|
+
* @description: 获取活动预约详细信息
|
|
221
|
+
* @param {number} bookingId
|
|
222
|
+
* @param {any} params
|
|
223
|
+
* @return {*}
|
|
224
|
+
* @Author: cong.shao
|
|
225
|
+
* @Date: 2025-04-24 16:28
|
|
226
|
+
*/
|
|
227
|
+
export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
|
|
228
|
+
/**
|
|
229
|
+
* @title: 编辑活动预约
|
|
230
|
+
* @description: 更新活动预约信息
|
|
231
|
+
* @param {string} bookingId
|
|
232
|
+
* @param {any} params
|
|
233
|
+
* @return {*}
|
|
234
|
+
* @Author: cong.shao
|
|
235
|
+
* @Date: 2025-04-24 16:28
|
|
236
|
+
*/
|
|
237
|
+
export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @title: 获取定金显示配置
|
|
240
|
+
* @description: 获取定金相关显示配置
|
|
241
|
+
* @param {any} params
|
|
242
|
+
* @return {*}
|
|
243
|
+
* @Author: cong.shao
|
|
244
|
+
* @Date: 2025-04-24 16:28
|
|
245
|
+
*/
|
|
246
|
+
export declare const getDepositShow: (params: any) => Promise<any>;
|
|
247
|
+
/**
|
|
248
|
+
* @title: 获取表单记录
|
|
249
|
+
* @description: 获取表单记录数据
|
|
250
|
+
* @param {any} params
|
|
251
|
+
* @return {*}
|
|
252
|
+
* @Author: cong.shao
|
|
253
|
+
* @Date: 2025-04-24 16:28
|
|
254
|
+
*/
|
|
255
|
+
export declare const getFormRecords: (params: any) => Promise<any>;
|
|
256
|
+
/**
|
|
257
|
+
* @title: 获取预约列表
|
|
258
|
+
* @description: 获取预约列表数据
|
|
259
|
+
* @param {any} params
|
|
260
|
+
* @return {*}
|
|
261
|
+
* @Author: cong.shao
|
|
262
|
+
* @Date: 2025-04-24 16:28
|
|
263
|
+
*/
|
|
264
|
+
export declare const getBookingList2: (params: any) => Promise<any>;
|
|
265
|
+
/**
|
|
266
|
+
* @title: 获取订单信息
|
|
267
|
+
* @description: 根据机器码获取订单信息
|
|
268
|
+
* @param {any} params
|
|
269
|
+
* @return {*}
|
|
270
|
+
* @Author: cong.shao
|
|
271
|
+
* @Date: 2025-04-24 16:28
|
|
272
|
+
*/
|
|
273
|
+
export declare const getOrderInfoByCode: (params: any) => Promise<any>;
|
|
274
|
+
/**
|
|
275
|
+
* @title: 获取ES客户数据
|
|
276
|
+
* @description: 从ES获取客户数据
|
|
277
|
+
* @param {any} params
|
|
278
|
+
* @return {*}
|
|
279
|
+
* @Author: cong.shao
|
|
280
|
+
* @Date: 2025-04-24 16:28
|
|
281
|
+
*/
|
|
282
|
+
export declare const getClientsEs: (params: any) => Promise<any>;
|
|
283
|
+
/**
|
|
284
|
+
* 作废2.0预约订单
|
|
285
|
+
* @param order_id
|
|
286
|
+
*/
|
|
287
|
+
export declare const voidAppointment: (order_id: number) => Promise<any>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
interface ScheduleTextResult {
|
|
2
|
+
validityTexts: string[];
|
|
3
|
+
excluded_date: string[];
|
|
4
|
+
included_date: string[];
|
|
5
|
+
}
|
|
6
|
+
declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
|
|
7
|
+
interface ScheduleItem {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
type: 'standard' | 'time-slots' | 'designation';
|
|
13
|
+
start_time: string | null;
|
|
14
|
+
end_time: string | null;
|
|
15
|
+
repeat_type: 'none' | 'daily' | 'weekly';
|
|
16
|
+
repeat_rule: {
|
|
17
|
+
end: {
|
|
18
|
+
type: 'never' | 'date' | 'occurrence';
|
|
19
|
+
end_date: string | null;
|
|
20
|
+
occurrence: number | null;
|
|
21
|
+
};
|
|
22
|
+
frequency: number;
|
|
23
|
+
excluded_date: Array<{
|
|
24
|
+
start: string;
|
|
25
|
+
end: string;
|
|
26
|
+
}>;
|
|
27
|
+
included_date: any[];
|
|
28
|
+
frequency_date: number[];
|
|
29
|
+
} | null;
|
|
30
|
+
designation: Array<{
|
|
31
|
+
start_date: string;
|
|
32
|
+
start_time: string;
|
|
33
|
+
end_date: string;
|
|
34
|
+
end_time: string;
|
|
35
|
+
}> | null;
|
|
36
|
+
is_all: number;
|
|
37
|
+
time_slot: Array<{
|
|
38
|
+
start_time: string;
|
|
39
|
+
end_time: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 根据scheduleList格式化文案展示
|
|
44
|
+
* @param scheduleList 日程列表
|
|
45
|
+
* @returns 格式化后的文案结果数组,每个日程对应一个结果
|
|
46
|
+
*/
|
|
47
|
+
export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
|
|
48
|
+
export {};
|