@loczer/storefront-sdk 0.151.0 → 0.153.0
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/dist/StorefrontProvider.d.ts +677 -1119
- package/dist/StorefrontProvider.d.ts.map +1 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{booking-engine-configuration-CnBdp3jk.js → booking-engine-configuration-BKlzwJJX.js} +20 -19
- package/dist/chunks/pkg/booking-engine/dist/schemas/{cart-inputs-DYgEGJ5M.js → cart-inputs-ByBK0IVJ.js} +2 -2
- package/dist/chunks/pkg/booking-engine/dist/schemas/{public-booking-engine-configuration-C9VB-WhU.js → public-booking-engine-configuration-DKoak4s5.js} +2 -2
- package/dist/chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-DqNWstqT.js +51 -0
- package/dist/components/AboutSection/index.d.ts.map +1 -0
- package/dist/components/AboutSection/index.js +6 -6
- package/dist/components/AddressAutocompleteInput/index.d.ts.map +1 -0
- package/dist/components/BikeProductCard/index.d.ts.map +1 -0
- package/dist/components/BookingBikeVariantDialog/index.d.ts +12 -2
- package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -0
- package/dist/components/BookingFlowSteps/index.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts +9 -0
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts +7 -0
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts +24 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.d.ts +22 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +102 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +76 -80
- package/dist/components/ContactSection/index.d.ts.map +1 -0
- package/dist/components/ContactSection/index.js +5 -5
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts +8 -0
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/Invoice.d.ts +13 -0
- package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +18 -0
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/Page.d.ts +8 -0
- package/dist/components/ContractSaleDocument/Page.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/PageFooter.d.ts +11 -0
- package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/PageHeader.d.ts +11 -0
- package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts +9 -0
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts +12 -0
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts +12 -0
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/index.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/language.d.ts +7 -0
- package/dist/components/ContractSaleDocument/language.d.ts.map +1 -0
- package/dist/components/DelayedReveal/index.d.ts.map +1 -0
- package/dist/components/DeliveryAddressSelector/index.d.ts.map +1 -0
- package/dist/components/Footer/BusinessHours.d.ts +17 -0
- package/dist/components/Footer/BusinessHours.d.ts.map +1 -0
- package/dist/components/Footer/businessHoursUtils.d.ts +14 -0
- package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/FulfillmentSection/index.d.ts.map +1 -0
- package/dist/components/Header/index.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts.map +1 -0
- package/dist/components/Map/createMarkerElement.d.ts +2 -0
- package/dist/components/Map/createMarkerElement.d.ts.map +1 -0
- package/dist/components/Map/index.d.ts +101 -1
- package/dist/components/Map/index.d.ts.map +1 -0
- package/dist/components/Map/index.js +4 -3
- package/dist/components/PlatformFooter/index.d.ts.map +1 -0
- package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -0
- package/dist/components/PoweredByLoczerBadge/index.d.ts.map +1 -0
- package/dist/components/ProductPriceBadge/index.d.ts.map +1 -0
- package/dist/components/ProductWarningNotice/index.d.ts.map +1 -0
- package/dist/components/StepSectionTitle/index.d.ts.map +1 -0
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -0
- package/dist/components/StorefrontPopupMessages/index.d.ts.map +1 -0
- package/dist/components/TestimonialsSection/index.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +5 -0
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/index.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts +11 -0
- package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts.map +1 -0
- package/dist/components/payment/MollieCardFieldsForm.d.ts +11 -0
- package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -0
- package/dist/components/payment/StripeCardFieldsForm.d.ts +16 -0
- package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -0
- package/dist/components/payment/index.d.ts.map +1 -0
- package/dist/data/accessories.d.ts.map +1 -0
- package/dist/data/bikes.d.ts.map +1 -0
- package/dist/data/config.d.ts.map +1 -0
- package/dist/i18n/I18nProvider.d.ts.map +1 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/fr.d.ts.map +1 -0
- package/dist/index.d.ts +5212 -0
- package/dist/index.js +308 -300
- package/dist/lib/apiCall.d.ts.map +1 -0
- package/dist/lib/booking-period-time-slots.d.ts +0 -31
- package/dist/lib/booking-period-time-slots.d.ts.map +1 -0
- package/dist/lib/booking-period-time-slots.js +122 -221
- package/dist/lib/booking-period.d.ts +5 -0
- package/dist/lib/booking-period.d.ts.map +1 -0
- package/dist/lib/booking.d.ts +3 -0
- package/dist/lib/booking.d.ts.map +1 -0
- package/dist/lib/booking.js +102 -89
- package/dist/lib/cart.d.ts.map +1 -0
- package/dist/lib/cartSummary.d.ts.map +1 -0
- package/dist/lib/checkoutPaymentDecision.d.ts.map +1 -0
- package/dist/lib/checkoutPaymentSession.d.ts.map +1 -0
- package/dist/lib/checkoutSubmit.d.ts.map +1 -0
- package/dist/lib/checkoutSubmit.js +4 -4
- package/dist/lib/checkoutVerifyCoupon.d.ts.map +1 -0
- package/dist/lib/contactForm.d.ts.map +1 -0
- package/dist/lib/contractSaleDocument.d.ts.map +1 -0
- package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -0
- package/dist/lib/isAutomationRuntime.d.ts.map +1 -0
- package/dist/lib/mollieComponentStyles.d.ts.map +1 -0
- package/dist/lib/playgroundDevSettings.d.ts.map +1 -0
- package/dist/lib/pricing.d.ts.map +1 -0
- package/dist/lib/productImageStyles.d.ts.map +1 -0
- package/dist/lib/productVariants.d.ts.map +1 -0
- package/dist/lib/products.d.ts.map +1 -0
- package/dist/lib/richAddress.d.ts.map +1 -0
- package/dist/lib/securePaymentLink.d.ts.map +1 -0
- package/dist/lib/storefrontAvailability.d.ts.map +1 -0
- package/dist/lib/storefrontImage.d.ts.map +1 -0
- package/dist/lib/storefrontProducts.d.ts.map +1 -0
- package/dist/lib/storefrontReviews.d.ts.map +1 -0
- package/dist/lib/storefrontTimeSlots.d.ts +43 -0
- package/dist/lib/storefrontTimeSlots.d.ts.map +1 -0
- package/dist/lib/storefrontTimeSlots.js +26 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/whatsapp.d.ts.map +1 -0
- package/dist/localization.d.ts +9 -13
- package/dist/localization.d.ts.map +1 -0
- package/dist/pages/BookingPage.d.ts.map +1 -0
- package/dist/pages/CheckoutPage.d.ts.map +1 -0
- package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -0
- package/dist/pages/CheckoutSuccessPage.d.ts.map +1 -0
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -0
- package/dist/pages/ErrorPage.d.ts.map +1 -0
- package/dist/pages/HomePage.d.ts.map +1 -0
- package/dist/pages/NotFoundPage.d.ts.map +1 -0
- package/dist/pages/PaymentLinkPage.d.ts.map +1 -0
- package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -0
- package/dist/pages/ProductPage.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +15 -0
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +9 -0
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts +22 -0
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.d.ts +23 -0
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +7 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -0
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts +9 -0
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts.map +1 -0
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts +8 -0
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts.map +1 -0
- package/dist/pages/checkout/types.d.ts +14 -0
- package/dist/pages/checkout/types.d.ts.map +1 -0
- package/dist/routes.d.ts +3 -6
- package/dist/routes.d.ts.map +1 -0
- package/dist/static/strings.d.ts +2 -0
- package/dist/static/strings.d.ts.map +1 -0
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +565 -588
- package/dist/storefrontSchemas.d.ts.map +1 -0
- package/dist/storefrontSchemas.js +4 -4
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/slot.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/BookingPage.d.ts +0 -6
- package/dist/CheckoutPage.d.ts +0 -6
- package/dist/CheckoutPaymentPage.d.ts +0 -6
- package/dist/CheckoutSuccessPage.d.ts +0 -6
- package/dist/ContractSaleDocumentPage.d.ts +0 -116
- package/dist/ErrorPage.d.ts +0 -6
- package/dist/HomePage.d.ts +0 -6
- package/dist/I18nProvider.d.ts +0 -23
- package/dist/NotFoundPage.d.ts +0 -6
- package/dist/PaymentLinkPage.d.ts +0 -40
- package/dist/PaymentLinkSuccessPage.d.ts +0 -40
- package/dist/ProductPage.d.ts +0 -6
- package/dist/accessories.d.ts +0 -42
- package/dist/apiCall.d.ts +0 -7
- package/dist/badge.d.ts +0 -14
- package/dist/bikes.d.ts +0 -107
- package/dist/booking-period-time-slots.d.ts +0 -298
- package/dist/booking-period.d.ts +0 -187
- package/dist/booking.d.ts +0 -384
- package/dist/button.d.ts +0 -16
- package/dist/card.d.ts +0 -18
- package/dist/cart.d.ts +0 -30
- package/dist/cartSummary.d.ts +0 -205
- package/dist/checkoutPaymentDecision.d.ts +0 -48
- package/dist/checkoutPaymentSession.d.ts +0 -65
- package/dist/checkoutSubmit.d.ts +0 -97
- package/dist/checkoutVerifyCoupon.d.ts +0 -45
- package/dist/chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-B47MMaoD.js +0 -45
- package/dist/config.d.ts +0 -19
- package/dist/contactForm.d.ts +0 -22
- package/dist/contractSaleDocument.d.ts +0 -242
- package/dist/contractSaleDocumentApi.d.ts +0 -481
- package/dist/en.d.ts +0 -369
- package/dist/form.d.ts +0 -44
- package/dist/fr.d.ts +0 -369
- package/dist/input.d.ts +0 -5
- package/dist/isAutomationRuntime.d.ts +0 -3
- package/dist/label.d.ts +0 -7
- package/dist/mollieComponentStyles.d.ts +0 -3
- package/dist/playgroundDevSettings.d.ts +0 -19
- package/dist/pricing.d.ts +0 -35
- package/dist/productImageStyles.d.ts +0 -25
- package/dist/productVariants.d.ts +0 -16
- package/dist/products.d.ts +0 -224
- package/dist/radio-group.d.ts +0 -14
- package/dist/richAddress.d.ts +0 -24
- package/dist/securePaymentLink.d.ts +0 -125
- package/dist/select.d.ts +0 -41
- package/dist/slot.d.ts +0 -15
- package/dist/storefrontAvailability.d.ts +0 -107
- package/dist/storefrontImage.d.ts +0 -16
- package/dist/storefrontProducts.d.ts +0 -400
- package/dist/storefrontReviews.d.ts +0 -84
- package/dist/textarea.d.ts +0 -5
- package/dist/tooltip.d.ts +0 -43
- package/dist/utils.d.ts +0 -23
- package/dist/whatsapp.d.ts +0 -318
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare type RequestPayload = z.infer<typeof requestSchema>;
|
|
4
|
-
|
|
5
|
-
export declare const requestSchema: z.ZodObject<{
|
|
6
|
-
storeSlug: z.ZodString;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
|
|
9
|
-
export declare type ResponsePayload = z.infer<typeof responseSchema>;
|
|
10
|
-
|
|
11
|
-
export declare const responseSchema: z.ZodObject<{
|
|
12
|
-
success: z.ZodBoolean;
|
|
13
|
-
message: z.ZodOptional<z.ZodString>;
|
|
14
|
-
products: z.ZodOptional<z.ZodObject<{
|
|
15
|
-
bikes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
|
-
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
18
|
-
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
19
|
-
slug: z.ZodString;
|
|
20
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
bike: "bike";
|
|
22
|
-
"e-bike": "e-bike";
|
|
23
|
-
}>>;
|
|
24
|
-
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
25
|
-
value: z.ZodString;
|
|
26
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
27
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
-
}, z.core.$loose>>;
|
|
29
|
-
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
30
|
-
value: z.ZodString;
|
|
31
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
32
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
}, z.core.$loose>>>;
|
|
34
|
-
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
35
|
-
value: z.ZodString;
|
|
36
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
37
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
}, z.core.$loose>>>;
|
|
39
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
-
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
41
|
-
bgMode: z.ZodEnum<{
|
|
42
|
-
transparent: "transparent";
|
|
43
|
-
solid: "solid";
|
|
44
|
-
complex: "complex";
|
|
45
|
-
}>;
|
|
46
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
47
|
-
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
49
|
-
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
}, z.core.$strip>>;
|
|
51
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52
|
-
value: z.ZodNumber;
|
|
53
|
-
unit: z.ZodEnum<{
|
|
54
|
-
hour: "hour";
|
|
55
|
-
half_day: "half_day";
|
|
56
|
-
day: "day";
|
|
57
|
-
week: "week";
|
|
58
|
-
month: "month";
|
|
59
|
-
}>;
|
|
60
|
-
quantity: z.ZodNumber;
|
|
61
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
62
|
-
}, z.core.$strip>>>;
|
|
63
|
-
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
64
|
-
value: z.ZodString;
|
|
65
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
66
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
}, z.core.$loose>>>>;
|
|
68
|
-
productVariants: z.ZodArray<z.ZodObject<{
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
computedName: z.ZodString;
|
|
71
|
-
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
72
|
-
key: z.ZodString;
|
|
73
|
-
label: z.ZodOptional<z.ZodString>;
|
|
74
|
-
value: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>>;
|
|
76
|
-
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
77
|
-
kind: z.ZodString;
|
|
78
|
-
value: z.ZodString;
|
|
79
|
-
}, z.core.$strip>>>;
|
|
80
|
-
}, z.core.$strip>>;
|
|
81
|
-
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
82
|
-
variant_selector: "variant_selector";
|
|
83
|
-
variants_as_products: "variants_as_products";
|
|
84
|
-
}>>;
|
|
85
|
-
availabilityStatus: z.ZodOptional<z.ZodEnum<{
|
|
86
|
-
AVAILABLE: "AVAILABLE";
|
|
87
|
-
LOW_STOCK: "LOW_STOCK";
|
|
88
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
89
|
-
}>>;
|
|
90
|
-
}, z.core.$strip>>>;
|
|
91
|
-
accessories: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
92
|
-
id: z.ZodString;
|
|
93
|
-
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
94
|
-
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
95
|
-
slug: z.ZodString;
|
|
96
|
-
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
97
|
-
value: z.ZodString;
|
|
98
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
99
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
-
}, z.core.$loose>>;
|
|
101
|
-
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
102
|
-
value: z.ZodString;
|
|
103
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
104
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
}, z.core.$loose>>>;
|
|
106
|
-
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
107
|
-
value: z.ZodString;
|
|
108
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
109
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
-
}, z.core.$loose>>>;
|
|
111
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
-
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
113
|
-
bgMode: z.ZodEnum<{
|
|
114
|
-
transparent: "transparent";
|
|
115
|
-
solid: "solid";
|
|
116
|
-
complex: "complex";
|
|
117
|
-
}>;
|
|
118
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
119
|
-
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
120
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
121
|
-
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
122
|
-
}, z.core.$strip>>;
|
|
123
|
-
prices: z.ZodArray<z.ZodObject<{
|
|
124
|
-
value: z.ZodNumber;
|
|
125
|
-
unit: z.ZodEnum<{
|
|
126
|
-
hour: "hour";
|
|
127
|
-
half_day: "half_day";
|
|
128
|
-
day: "day";
|
|
129
|
-
week: "week";
|
|
130
|
-
month: "month";
|
|
131
|
-
}>;
|
|
132
|
-
quantity: z.ZodNumber;
|
|
133
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
134
|
-
}, z.core.$strip>>;
|
|
135
|
-
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
136
|
-
value: z.ZodString;
|
|
137
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
138
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
-
}, z.core.$loose>>>>;
|
|
140
|
-
productVariants: z.ZodArray<z.ZodObject<{
|
|
141
|
-
id: z.ZodString;
|
|
142
|
-
computedName: z.ZodString;
|
|
143
|
-
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
144
|
-
key: z.ZodString;
|
|
145
|
-
label: z.ZodOptional<z.ZodString>;
|
|
146
|
-
value: z.ZodString;
|
|
147
|
-
}, z.core.$strip>>>;
|
|
148
|
-
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
149
|
-
kind: z.ZodString;
|
|
150
|
-
value: z.ZodString;
|
|
151
|
-
}, z.core.$strip>>>;
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
154
|
-
variant_selector: "variant_selector";
|
|
155
|
-
variants_as_products: "variants_as_products";
|
|
156
|
-
}>>;
|
|
157
|
-
}, z.core.$strip>>>;
|
|
158
|
-
}, z.core.$strip>>;
|
|
159
|
-
}, z.core.$strip>;
|
|
160
|
-
|
|
161
|
-
export declare const ROUTE = "/api/public/storefront/products";
|
|
162
|
-
|
|
163
|
-
export declare type StorefrontProductsRequestPayload = RequestPayload;
|
|
164
|
-
|
|
165
|
-
export declare type StorefrontProductsResponsePayload = ResponsePayload;
|
|
166
|
-
|
|
167
|
-
export declare type StorefrontPublicAccessoryProduct = z.infer<typeof storefrontPublicAccessoryProductSchema>;
|
|
168
|
-
|
|
169
|
-
export declare const storefrontPublicAccessoryProductSchema: z.ZodObject<{
|
|
170
|
-
id: z.ZodString;
|
|
171
|
-
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
172
|
-
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
173
|
-
slug: z.ZodString;
|
|
174
|
-
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
175
|
-
value: z.ZodString;
|
|
176
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
177
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
-
}, z.core.$loose>>;
|
|
179
|
-
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
180
|
-
value: z.ZodString;
|
|
181
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
182
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
-
}, z.core.$loose>>>;
|
|
184
|
-
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
185
|
-
value: z.ZodString;
|
|
186
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
187
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
-
}, z.core.$loose>>>;
|
|
189
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
|
-
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
191
|
-
bgMode: z.ZodEnum<{
|
|
192
|
-
transparent: "transparent";
|
|
193
|
-
solid: "solid";
|
|
194
|
-
complex: "complex";
|
|
195
|
-
}>;
|
|
196
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
197
|
-
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
198
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
199
|
-
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
200
|
-
}, z.core.$strip>>;
|
|
201
|
-
prices: z.ZodArray<z.ZodObject<{
|
|
202
|
-
value: z.ZodNumber;
|
|
203
|
-
unit: z.ZodEnum<{
|
|
204
|
-
hour: "hour";
|
|
205
|
-
half_day: "half_day";
|
|
206
|
-
day: "day";
|
|
207
|
-
week: "week";
|
|
208
|
-
month: "month";
|
|
209
|
-
}>;
|
|
210
|
-
quantity: z.ZodNumber;
|
|
211
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
212
|
-
}, z.core.$strip>>;
|
|
213
|
-
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
214
|
-
value: z.ZodString;
|
|
215
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
216
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
}, z.core.$loose>>>>;
|
|
218
|
-
productVariants: z.ZodArray<z.ZodObject<{
|
|
219
|
-
id: z.ZodString;
|
|
220
|
-
computedName: z.ZodString;
|
|
221
|
-
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
222
|
-
key: z.ZodString;
|
|
223
|
-
label: z.ZodOptional<z.ZodString>;
|
|
224
|
-
value: z.ZodString;
|
|
225
|
-
}, z.core.$strip>>>;
|
|
226
|
-
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
227
|
-
kind: z.ZodString;
|
|
228
|
-
value: z.ZodString;
|
|
229
|
-
}, z.core.$strip>>>;
|
|
230
|
-
}, z.core.$strip>>;
|
|
231
|
-
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
232
|
-
variant_selector: "variant_selector";
|
|
233
|
-
variants_as_products: "variants_as_products";
|
|
234
|
-
}>>;
|
|
235
|
-
}, z.core.$strip>;
|
|
236
|
-
|
|
237
|
-
export declare type StorefrontPublicBikeAvailabilityStatus = z.infer<typeof storefrontPublicBikeAvailabilityStatusSchema>;
|
|
238
|
-
|
|
239
|
-
export declare const storefrontPublicBikeAvailabilityStatusSchema: z.ZodEnum<{
|
|
240
|
-
AVAILABLE: "AVAILABLE";
|
|
241
|
-
LOW_STOCK: "LOW_STOCK";
|
|
242
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
243
|
-
}>;
|
|
244
|
-
|
|
245
|
-
export declare type StorefrontPublicBikeKind = z.infer<typeof storefrontPublicBikeKindSchema>;
|
|
246
|
-
|
|
247
|
-
export declare const storefrontPublicBikeKindSchema: z.ZodEnum<{
|
|
248
|
-
bike: "bike";
|
|
249
|
-
"e-bike": "e-bike";
|
|
250
|
-
}>;
|
|
251
|
-
|
|
252
|
-
export declare type StorefrontPublicBikeProduct = z.infer<typeof storefrontPublicBikeProductSchema>;
|
|
253
|
-
|
|
254
|
-
export declare const storefrontPublicBikeProductSchema: z.ZodObject<{
|
|
255
|
-
id: z.ZodString;
|
|
256
|
-
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
257
|
-
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
258
|
-
slug: z.ZodString;
|
|
259
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
bike: "bike";
|
|
261
|
-
"e-bike": "e-bike";
|
|
262
|
-
}>>;
|
|
263
|
-
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
264
|
-
value: z.ZodString;
|
|
265
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
266
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
-
}, z.core.$loose>>;
|
|
268
|
-
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
269
|
-
value: z.ZodString;
|
|
270
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
271
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
-
}, z.core.$loose>>>;
|
|
273
|
-
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
274
|
-
value: z.ZodString;
|
|
275
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
276
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
-
}, z.core.$loose>>>;
|
|
278
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
279
|
-
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
280
|
-
bgMode: z.ZodEnum<{
|
|
281
|
-
transparent: "transparent";
|
|
282
|
-
solid: "solid";
|
|
283
|
-
complex: "complex";
|
|
284
|
-
}>;
|
|
285
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
286
|
-
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
287
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
288
|
-
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
289
|
-
}, z.core.$strip>>;
|
|
290
|
-
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
|
-
value: z.ZodNumber;
|
|
292
|
-
unit: z.ZodEnum<{
|
|
293
|
-
hour: "hour";
|
|
294
|
-
half_day: "half_day";
|
|
295
|
-
day: "day";
|
|
296
|
-
week: "week";
|
|
297
|
-
month: "month";
|
|
298
|
-
}>;
|
|
299
|
-
quantity: z.ZodNumber;
|
|
300
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
301
|
-
}, z.core.$strip>>>;
|
|
302
|
-
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
303
|
-
value: z.ZodString;
|
|
304
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
305
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
-
}, z.core.$loose>>>>;
|
|
307
|
-
productVariants: z.ZodArray<z.ZodObject<{
|
|
308
|
-
id: z.ZodString;
|
|
309
|
-
computedName: z.ZodString;
|
|
310
|
-
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
311
|
-
key: z.ZodString;
|
|
312
|
-
label: z.ZodOptional<z.ZodString>;
|
|
313
|
-
value: z.ZodString;
|
|
314
|
-
}, z.core.$strip>>>;
|
|
315
|
-
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
316
|
-
kind: z.ZodString;
|
|
317
|
-
value: z.ZodString;
|
|
318
|
-
}, z.core.$strip>>>;
|
|
319
|
-
}, z.core.$strip>>;
|
|
320
|
-
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
321
|
-
variant_selector: "variant_selector";
|
|
322
|
-
variants_as_products: "variants_as_products";
|
|
323
|
-
}>>;
|
|
324
|
-
availabilityStatus: z.ZodOptional<z.ZodEnum<{
|
|
325
|
-
AVAILABLE: "AVAILABLE";
|
|
326
|
-
LOW_STOCK: "LOW_STOCK";
|
|
327
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
328
|
-
}>>;
|
|
329
|
-
}, z.core.$strip>;
|
|
330
|
-
|
|
331
|
-
export declare type StorefrontPublicImageStyle = z.infer<typeof storefrontPublicImageStyleSchema>;
|
|
332
|
-
|
|
333
|
-
export declare const storefrontPublicImageStyleSchema: z.ZodObject<{
|
|
334
|
-
bgMode: z.ZodEnum<{
|
|
335
|
-
transparent: "transparent";
|
|
336
|
-
solid: "solid";
|
|
337
|
-
complex: "complex";
|
|
338
|
-
}>;
|
|
339
|
-
bgColor: z.ZodOptional<z.ZodString>;
|
|
340
|
-
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
341
|
-
confidence: z.ZodOptional<z.ZodNumber>;
|
|
342
|
-
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
343
|
-
}, z.core.$strip>;
|
|
344
|
-
|
|
345
|
-
export declare type StorefrontPublicProductDisplayMode = z.infer<typeof storefrontPublicProductDisplayModeSchema>;
|
|
346
|
-
|
|
347
|
-
export declare const storefrontPublicProductDisplayModeSchema: z.ZodEnum<{
|
|
348
|
-
variant_selector: "variant_selector";
|
|
349
|
-
variants_as_products: "variants_as_products";
|
|
350
|
-
}>;
|
|
351
|
-
|
|
352
|
-
export declare type StorefrontPublicProductPrice = z.infer<typeof storefrontPublicProductPriceSchema>;
|
|
353
|
-
|
|
354
|
-
export declare const storefrontPublicProductPriceSchema: z.ZodObject<{
|
|
355
|
-
value: z.ZodNumber;
|
|
356
|
-
unit: z.ZodEnum<{
|
|
357
|
-
hour: "hour";
|
|
358
|
-
half_day: "half_day";
|
|
359
|
-
day: "day";
|
|
360
|
-
week: "week";
|
|
361
|
-
month: "month";
|
|
362
|
-
}>;
|
|
363
|
-
quantity: z.ZodNumber;
|
|
364
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
365
|
-
}, z.core.$strip>;
|
|
366
|
-
|
|
367
|
-
export declare const storefrontPublicProductSlugSchema: z.ZodString;
|
|
368
|
-
|
|
369
|
-
export declare type StorefrontPublicProductVariant = z.infer<typeof storefrontPublicProductVariantSchema>;
|
|
370
|
-
|
|
371
|
-
export declare type StorefrontPublicProductVariantAttribute = z.infer<typeof storefrontPublicProductVariantAttributeSchema>;
|
|
372
|
-
|
|
373
|
-
export declare const storefrontPublicProductVariantAttributeSchema: z.ZodObject<{
|
|
374
|
-
key: z.ZodString;
|
|
375
|
-
label: z.ZodOptional<z.ZodString>;
|
|
376
|
-
value: z.ZodString;
|
|
377
|
-
}, z.core.$strip>;
|
|
378
|
-
|
|
379
|
-
export declare type StorefrontPublicProductVariantIdentifier = z.infer<typeof storefrontPublicProductVariantIdentifierSchema>;
|
|
380
|
-
|
|
381
|
-
export declare const storefrontPublicProductVariantIdentifierSchema: z.ZodObject<{
|
|
382
|
-
kind: z.ZodString;
|
|
383
|
-
value: z.ZodString;
|
|
384
|
-
}, z.core.$strip>;
|
|
385
|
-
|
|
386
|
-
export declare const storefrontPublicProductVariantSchema: z.ZodObject<{
|
|
387
|
-
id: z.ZodString;
|
|
388
|
-
computedName: z.ZodString;
|
|
389
|
-
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
390
|
-
key: z.ZodString;
|
|
391
|
-
label: z.ZodOptional<z.ZodString>;
|
|
392
|
-
value: z.ZodString;
|
|
393
|
-
}, z.core.$strip>>>;
|
|
394
|
-
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
395
|
-
kind: z.ZodString;
|
|
396
|
-
value: z.ZodString;
|
|
397
|
-
}, z.core.$strip>>>;
|
|
398
|
-
}, z.core.$strip>;
|
|
399
|
-
|
|
400
|
-
export { }
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare type PublicReviewItem = z.infer<typeof publicReviewItemSchema>;
|
|
4
|
-
|
|
5
|
-
export declare const publicReviewItemSchema: z.ZodObject<{
|
|
6
|
-
id: z.ZodString;
|
|
7
|
-
source: z.ZodEnum<{
|
|
8
|
-
google: "google";
|
|
9
|
-
tripadvisor: "tripadvisor";
|
|
10
|
-
}>;
|
|
11
|
-
authorMasked: z.ZodString;
|
|
12
|
-
avatarSeed: z.ZodNumber;
|
|
13
|
-
rating: z.ZodNumber;
|
|
14
|
-
comment: z.ZodString;
|
|
15
|
-
createdAt: z.ZodString;
|
|
16
|
-
providerUrl: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
|
|
19
|
-
export declare type RequestPayload = z.infer<typeof requestSchema>;
|
|
20
|
-
|
|
21
|
-
export declare const requestSchema: z.ZodObject<{
|
|
22
|
-
storeSlug: z.ZodString;
|
|
23
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
|
|
26
|
-
export declare type ResponsePayload = z.infer<typeof responseSchema>;
|
|
27
|
-
|
|
28
|
-
export declare const responseSchema: z.ZodObject<{
|
|
29
|
-
success: z.ZodBoolean;
|
|
30
|
-
message: z.ZodOptional<z.ZodString>;
|
|
31
|
-
providers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
32
|
-
source: z.ZodEnum<{
|
|
33
|
-
google: "google";
|
|
34
|
-
tripadvisor: "tripadvisor";
|
|
35
|
-
}>;
|
|
36
|
-
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
totalReviewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
providerUrl: z.ZodOptional<z.ZodString>;
|
|
39
|
-
name: z.ZodOptional<z.ZodString>;
|
|
40
|
-
address: z.ZodOptional<z.ZodString>;
|
|
41
|
-
website: z.ZodOptional<z.ZodString>;
|
|
42
|
-
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}, z.core.$strip>>>;
|
|
44
|
-
reviews: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
|
-
id: z.ZodString;
|
|
46
|
-
source: z.ZodEnum<{
|
|
47
|
-
google: "google";
|
|
48
|
-
tripadvisor: "tripadvisor";
|
|
49
|
-
}>;
|
|
50
|
-
authorMasked: z.ZodString;
|
|
51
|
-
avatarSeed: z.ZodNumber;
|
|
52
|
-
rating: z.ZodNumber;
|
|
53
|
-
comment: z.ZodString;
|
|
54
|
-
createdAt: z.ZodString;
|
|
55
|
-
providerUrl: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.core.$strip>>>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
|
|
59
|
-
export declare type ReviewSource = z.infer<typeof reviewSourceSchema>;
|
|
60
|
-
|
|
61
|
-
export declare const reviewSourceSchema: z.ZodEnum<{
|
|
62
|
-
google: "google";
|
|
63
|
-
tripadvisor: "tripadvisor";
|
|
64
|
-
}>;
|
|
65
|
-
|
|
66
|
-
export declare const ROUTE = "/api/public/storefront/reviews";
|
|
67
|
-
|
|
68
|
-
export declare type ShopReviewsProvider = z.infer<typeof shopReviewsProviderSchema>;
|
|
69
|
-
|
|
70
|
-
export declare const shopReviewsProviderSchema: z.ZodObject<{
|
|
71
|
-
source: z.ZodEnum<{
|
|
72
|
-
google: "google";
|
|
73
|
-
tripadvisor: "tripadvisor";
|
|
74
|
-
}>;
|
|
75
|
-
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
|
-
totalReviewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
|
-
providerUrl: z.ZodOptional<z.ZodString>;
|
|
78
|
-
name: z.ZodOptional<z.ZodString>;
|
|
79
|
-
address: z.ZodOptional<z.ZodString>;
|
|
80
|
-
website: z.ZodOptional<z.ZodString>;
|
|
81
|
-
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
|
|
84
|
-
export { }
|
package/dist/textarea.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React_2 from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
4
|
-
|
|
5
|
-
export { }
|
package/dist/tooltip.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'react/jsx-runtime';
|
|
2
|
-
import * as React_2 from 'react';
|
|
3
|
-
import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
|
|
4
|
-
import { TooltipArrowProps } from '@base-ui/react';
|
|
5
|
-
import { TooltipPopupProps } from '@base-ui/react';
|
|
6
|
-
import { TooltipPortalProps } from '@base-ui/react';
|
|
7
|
-
import { TooltipPositionerProps } from '@base-ui/react';
|
|
8
|
-
|
|
9
|
-
declare function Tooltip({ delayDuration, children, ...props }: Tooltip_2.Root.Props & {
|
|
10
|
-
delayDuration?: number;
|
|
11
|
-
}): JSX.Element;
|
|
12
|
-
export { Tooltip as Root }
|
|
13
|
-
export { Tooltip }
|
|
14
|
-
|
|
15
|
-
declare const TooltipArrow: React_2.ForwardRefExoticComponent<Omit<TooltipArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export { TooltipArrow as Arrow }
|
|
17
|
-
export { TooltipArrow }
|
|
18
|
-
|
|
19
|
-
declare const TooltipContent: React_2.ForwardRefExoticComponent<Omit<Omit<TooltipPopupProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & Pick<Omit<Omit<TooltipPositionerProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "side" | "sideOffset" | "align" | "alignOffset"> & Pick<Omit<Omit<TooltipPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "container"> & {
|
|
20
|
-
positionerClassName?: string;
|
|
21
|
-
disableAnimation?: boolean;
|
|
22
|
-
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
export { TooltipContent as Content }
|
|
24
|
-
export { TooltipContent }
|
|
25
|
-
|
|
26
|
-
declare const TooltipPortal: React_2.ForwardRefExoticComponent<Omit<TooltipPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export { TooltipPortal as Portal }
|
|
28
|
-
export { TooltipPortal }
|
|
29
|
-
|
|
30
|
-
declare function TooltipProvider({ delayDuration, skipDelayDuration: _skipDelayDuration, ...props }: Tooltip_2.Provider.Props & {
|
|
31
|
-
delayDuration?: number;
|
|
32
|
-
skipDelayDuration?: number;
|
|
33
|
-
}): JSX.Element;
|
|
34
|
-
export { TooltipProvider as Provider }
|
|
35
|
-
export { TooltipProvider }
|
|
36
|
-
|
|
37
|
-
declare function TooltipTrigger({ asChild, children, ...props }: Tooltip_2.Trigger.Props & {
|
|
38
|
-
asChild?: boolean;
|
|
39
|
-
}): JSX.Element;
|
|
40
|
-
export { TooltipTrigger }
|
|
41
|
-
export { TooltipTrigger as Trigger }
|
|
42
|
-
|
|
43
|
-
export { }
|
package/dist/utils.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { cn } from '@rpcbase/ui';
|
|
2
|
-
|
|
3
|
-
export { cn }
|
|
4
|
-
|
|
5
|
-
export declare const formatPriceMinor: (valueMinor: MoneyMinor, language: string, { currency, minimumFractionDigits, maximumFractionDigits, }?: {
|
|
6
|
-
currency?: string;
|
|
7
|
-
minimumFractionDigits?: number;
|
|
8
|
-
maximumFractionDigits?: number;
|
|
9
|
-
}) => string;
|
|
10
|
-
|
|
11
|
-
export declare const getAvailabilityVariant: (status: string | undefined) => {
|
|
12
|
-
labelKey: string;
|
|
13
|
-
variant: "secondary" | "outline" | "destructive";
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export declare const getMinDayPriceMinor: (prices: Array<{
|
|
17
|
-
value?: MoneyMinor;
|
|
18
|
-
unit?: string;
|
|
19
|
-
}>) => MoneyMinor | null;
|
|
20
|
-
|
|
21
|
-
declare type MoneyMinor = number;
|
|
22
|
-
|
|
23
|
-
export { }
|