@shophost/react 0.1.3

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.
Files changed (233) hide show
  1. package/admin-client.cjs +2 -0
  2. package/admin-client.js +21796 -0
  3. package/components/admin/forms/manufacturer-form.d.ts +7 -0
  4. package/components/admin/forms/organization-configuration-form.d.ts +10 -0
  5. package/components/admin/forms/organization-form.d.ts +8 -0
  6. package/components/admin/forms/organization-schedule-form.d.ts +10 -0
  7. package/components/admin/forms/product-category.form.d.ts +7 -0
  8. package/components/admin/forms/product-form/basic-info-section.d.ts +8 -0
  9. package/components/admin/forms/product-form/index.d.ts +7 -0
  10. package/components/admin/forms/product-form/metadata-section.d.ts +8 -0
  11. package/components/admin/forms/product-form/modifier-group-dialog.d.ts +9 -0
  12. package/components/admin/forms/product-form/modifiers-list.d.ts +7 -0
  13. package/components/admin/forms/product-form/modifiers-section.d.ts +8 -0
  14. package/components/admin/forms/product-form/price-section.d.ts +9 -0
  15. package/components/admin/forms/shipping-method-form.d.ts +7 -0
  16. package/components/admin/forms/sign-in-form.d.ts +2 -0
  17. package/components/admin/forms/sign-up-form.d.ts +2 -0
  18. package/components/admin/partials/manufacturers-list/columns.d.ts +3 -0
  19. package/components/admin/partials/manufacturers-list/index.d.ts +2 -0
  20. package/components/admin/partials/orders-list/actions-cell.d.ts +10 -0
  21. package/components/admin/partials/orders-list/columns.d.ts +3 -0
  22. package/components/admin/partials/orders-list/index.d.ts +2 -0
  23. package/components/admin/partials/orders-list/order-details-modal.d.ts +9 -0
  24. package/components/admin/partials/organization-list/index.d.ts +2 -0
  25. package/components/admin/partials/product-categories-list/columns.d.ts +14 -0
  26. package/components/admin/partials/product-categories-list/index.d.ts +2 -0
  27. package/components/admin/partials/products-list/columns.d.ts +14 -0
  28. package/components/admin/partials/products-list/index.d.ts +2 -0
  29. package/components/admin/partials/reservations-list/actions-cell.d.ts +10 -0
  30. package/components/admin/partials/reservations-list/columns.d.ts +3 -0
  31. package/components/admin/partials/reservations-list/index.d.ts +2 -0
  32. package/components/admin/partials/reservations-list/reservation-details-modal.d.ts +8 -0
  33. package/components/admin/partials/shipping-methods-list/columns.d.ts +3 -0
  34. package/components/admin/partials/shipping-methods-list/index.d.ts +2 -0
  35. package/components/ui/badge.d.ts +31 -0
  36. package/components/ui/button.d.ts +35 -0
  37. package/components/ui/calendar.d.ts +21 -0
  38. package/components/ui/card.d.ts +6 -0
  39. package/components/ui/checkbox.d.ts +4 -0
  40. package/components/ui/command-bar.d.ts +24 -0
  41. package/components/ui/command.d.ts +80 -0
  42. package/components/ui/data-table/DataTable.d.ts +13 -0
  43. package/components/ui/data-table/DataTableBulkEditor.d.ts +7 -0
  44. package/components/ui/data-table/DataTableColumnHeader.d.ts +7 -0
  45. package/components/ui/data-table/DataTableFilter.d.ts +18 -0
  46. package/components/ui/data-table/DataTablePagination.d.ts +8 -0
  47. package/components/ui/data-table/DataTableViewOptions.d.ts +6 -0
  48. package/components/ui/data-table/tanstack-table.d.ts +7 -0
  49. package/components/ui/date-picker.d.ts +72 -0
  50. package/components/ui/dialog.d.ts +20 -0
  51. package/components/ui/divider.d.ts +5 -0
  52. package/components/ui/drawer.d.ts +18 -0
  53. package/components/ui/dropdown.d.ts +30 -0
  54. package/components/ui/form-generator.d.ts +29 -0
  55. package/components/ui/header.d.ts +2 -0
  56. package/components/ui/icons/ArrowAnimated.d.ts +1 -0
  57. package/components/ui/icons/spinner-icon.d.ts +5 -0
  58. package/components/ui/input/country-input.d.ts +7 -0
  59. package/components/ui/input/email-input.d.ts +7 -0
  60. package/components/ui/input/image-upload-input.d.ts +19 -0
  61. package/components/ui/input/phone-number-input.d.ts +8 -0
  62. package/components/ui/input/select-input.d.ts +14 -0
  63. package/components/ui/input/text-input.d.ts +87 -0
  64. package/components/ui/input-array-group.d.ts +10 -0
  65. package/components/ui/input-group.d.ts +19 -0
  66. package/components/ui/input-object-group.d.ts +8 -0
  67. package/components/ui/input.d.ts +13 -0
  68. package/components/ui/label.d.ts +7 -0
  69. package/components/ui/line-chart.d.ts +35 -0
  70. package/components/ui/logo.d.ts +5 -0
  71. package/components/ui/multiple-select.d.ts +73 -0
  72. package/components/ui/navigation/DropdownUserProfile.d.ts +6 -0
  73. package/components/ui/navigation/MobileSidebar.d.ts +1 -0
  74. package/components/ui/navigation/Sidebar.d.ts +1 -0
  75. package/components/ui/navigation/SidebarWorkspacesDropdown.d.ts +2 -0
  76. package/components/ui/navigation/UserProfile.d.ts +2 -0
  77. package/components/ui/overview/DashboardCategoryBarCard.d.ts +13 -0
  78. package/components/ui/overview/DashboardChartCard.d.ts +12 -0
  79. package/components/ui/overview/DashboardFilterbar.d.ts +16 -0
  80. package/components/ui/overview/DashboardProgressBarCard.d.ts +12 -0
  81. package/components/ui/overview/dashboard-types.d.ts +12 -0
  82. package/components/ui/popover.d.ts +13 -0
  83. package/components/ui/progress-bar.d.ts +89 -0
  84. package/components/ui/progress-circle.d.ts +91 -0
  85. package/components/ui/radio-card.d.ts +6 -0
  86. package/components/ui/search-bar.d.ts +29 -0
  87. package/components/ui/select.d.ts +17 -0
  88. package/components/ui/settings/ModalAddUser.d.ts +4 -0
  89. package/components/ui/switch.d.ts +50 -0
  90. package/components/ui/tab-navigation.d.ts +7 -0
  91. package/components/ui/table.d.ts +11 -0
  92. package/components/ui/tooltip.d.ts +11 -0
  93. package/config/countries.d.ts +8 -0
  94. package/data/data.d.ts +31 -0
  95. package/data/overview-data.d.ts +2 -0
  96. package/data/schema.d.ts +19 -0
  97. package/index.cjs +1 -0
  98. package/index.d.ts +7 -0
  99. package/index.mjs +14 -0
  100. package/index.react-server.cjs +1 -0
  101. package/index.react-server.d.ts +8 -0
  102. package/index.react-server.mjs +37 -0
  103. package/lib/auth-redirect.d.ts +4 -0
  104. package/lib/auth.d.ts +23 -0
  105. package/lib/chartUtils.d.ts +63 -0
  106. package/lib/query-client.d.ts +2 -0
  107. package/lib/useOnWindowResize.d.ts +3 -0
  108. package/lib/utils.d.ts +11 -0
  109. package/next/server.cjs +1 -0
  110. package/next/server.d.ts +43 -0
  111. package/next/server.mjs +21 -0
  112. package/next/views.cjs +2 -0
  113. package/next/views.d.ts +7 -0
  114. package/next/views.mjs +5 -0
  115. package/package.json +119 -0
  116. package/providers/admin-provider.d.ts +13 -0
  117. package/providers/flyout-provider.d.ts +10 -0
  118. package/providers/organization-provider.d.ts +22 -0
  119. package/react.css +1 -0
  120. package/router/AdminRouter.d.ts +5 -0
  121. package/router/resolve.d.ts +67 -0
  122. package/router/routes.d.ts +25 -0
  123. package/storefront/components/cart/cart-items.d.ts +20 -0
  124. package/storefront/components/cart-summary/index.d.ts +13 -0
  125. package/storefront/components/cart-summary/schimmer.d.ts +3 -0
  126. package/storefront/components/header/index.d.ts +11 -0
  127. package/storefront/components/header/shimmer.d.ts +2 -0
  128. package/storefront/components/header/user-profile.d.ts +1 -0
  129. package/storefront/components/index.d.ts +1 -0
  130. package/storefront/components/modifiers/index.d.ts +5 -0
  131. package/storefront/components/modifiers/modifier-dialog-container.d.ts +21 -0
  132. package/storefront/components/modifiers/modifiers-group.d.ts +37 -0
  133. package/storefront/components/modifiers/modifiers-modal.d.ts +12 -0
  134. package/storefront/components/modifiers/modifiers-option.d.ts +37 -0
  135. package/storefront/components/modifiers/quantity-control.d.ts +29 -0
  136. package/storefront/components/pages/account-pages/index.d.ts +2 -0
  137. package/storefront/components/pages/account-pages/layouts.d.ts +10 -0
  138. package/storefront/components/pages/account-pages/order-details-page/index.d.ts +5 -0
  139. package/storefront/components/pages/account-pages/order-details-page/shimmer.d.ts +2 -0
  140. package/storefront/components/pages/account-pages/order-details-page/tracking-icons.d.ts +13 -0
  141. package/storefront/components/pages/account-pages/order-details-page/tracking-step.d.ts +10 -0
  142. package/storefront/components/pages/account-pages/orders-list-page/index.d.ts +2 -0
  143. package/storefront/components/pages/account-pages/sign-in-page/index.d.ts +1 -0
  144. package/storefront/components/pages/account-pages/sign-in-page/sign-in-form.d.ts +2 -0
  145. package/storefront/components/pages/account-pages/sign-up-page/index.d.ts +1 -0
  146. package/storefront/components/pages/account-pages/sign-up-page/sign-up-form.d.ts +2 -0
  147. package/storefront/components/pages/checkout-pages/customer-details-page/customer-details-form.d.ts +9 -0
  148. package/storefront/components/pages/checkout-pages/customer-details-page/index.d.ts +6 -0
  149. package/storefront/components/pages/checkout-pages/customer-details-page/shimmer.d.ts +2 -0
  150. package/storefront/components/pages/checkout-pages/index.d.ts +2 -0
  151. package/storefront/components/pages/checkout-pages/reservation-page/index.d.ts +2 -0
  152. package/storefront/components/pages/checkout-pages/reservation-page/reservation-form.d.ts +10 -0
  153. package/storefront/components/pages/checkout-pages/shipping-and-payment-page/index.d.ts +6 -0
  154. package/storefront/components/pages/checkout-pages/shipping-and-payment-page/shimmer.d.ts +2 -0
  155. package/storefront/components/pages/checkout-pages/shipping-and-payment-page/shipping-and-payment-form.d.ts +9 -0
  156. package/storefront/components/ui/badge.d.ts +31 -0
  157. package/storefront/components/ui/button.d.ts +35 -0
  158. package/storefront/components/ui/command-bar.d.ts +24 -0
  159. package/storefront/components/ui/command.d.ts +80 -0
  160. package/storefront/components/ui/datefield-rac.d.ts +12 -0
  161. package/storefront/components/ui/dialog.d.ts +20 -0
  162. package/storefront/components/ui/divider.d.ts +5 -0
  163. package/storefront/components/ui/index.d.ts +12 -0
  164. package/storefront/components/ui/input/country-input.d.ts +8 -0
  165. package/storefront/components/ui/input/email-input.d.ts +7 -0
  166. package/storefront/components/ui/input/image-upload-input.d.ts +19 -0
  167. package/storefront/components/ui/input/index.d.ts +22 -0
  168. package/storefront/components/ui/input/location-input.d.ts +9 -0
  169. package/storefront/components/ui/input/phone-number-input.d.ts +8 -0
  170. package/storefront/components/ui/input/select-input.d.ts +14 -0
  171. package/storefront/components/ui/input/switch.d.ts +50 -0
  172. package/storefront/components/ui/input/text-input.d.ts +87 -0
  173. package/storefront/components/ui/input/time-input.d.ts +4 -0
  174. package/storefront/components/ui/input/week-time-input.d.ts +8 -0
  175. package/storefront/components/ui/input-group.d.ts +20 -0
  176. package/storefront/components/ui/label.d.ts +7 -0
  177. package/storefront/components/ui/popover.d.ts +13 -0
  178. package/storefront/components/ui/radio-card.d.ts +6 -0
  179. package/storefront/components/ui/slideover.d.ts +8 -0
  180. package/storefront/components/ui/text-input.d.ts +3 -0
  181. package/storefront/config/countries.d.ts +8 -0
  182. package/storefront/constants/cart.constants.d.ts +3 -0
  183. package/storefront/exports.d.ts +21 -0
  184. package/storefront/hooks/useLocalization.d.ts +12 -0
  185. package/storefront/hooks/useModifierSelection.d.ts +21 -0
  186. package/storefront/hooks/useProductDetails.d.ts +11 -0
  187. package/storefront/index.d.ts +1 -0
  188. package/storefront/lib/better-auth.d.ts +2642 -0
  189. package/storefront/lib/react-query.lib.d.ts +2 -0
  190. package/storefront/lib/utils.d.ts +11 -0
  191. package/storefront/mock/products.d.ts +48 -0
  192. package/storefront/providers/api-provider.d.ts +11 -0
  193. package/storefront/providers/auth-provider.d.ts +9 -0
  194. package/storefront/providers/cart-provider.d.ts +39 -0
  195. package/storefront/providers/modifiers-provider.d.ts +27 -0
  196. package/storefront/providers/organization-provider.d.ts +15 -0
  197. package/storefront/providers/shophost-provider.d.ts +29 -0
  198. package/storefront/providers/translation-provider.d.ts +16 -0
  199. package/storefront/reducers/cart.reducer.d.ts +13 -0
  200. package/storefront/schemas/cart.schema.d.ts +13 -0
  201. package/storefront/translations/en.d.ts +150 -0
  202. package/storefront/translations/index.d.ts +4 -0
  203. package/storefront/translations/pl.d.ts +150 -0
  204. package/storefront/types/cart.types.d.ts +109 -0
  205. package/storefront/utils/cart-item.util.d.ts +3 -0
  206. package/storefront/utils/cart.util.d.ts +53 -0
  207. package/storefront.cjs +2 -0
  208. package/storefront.mjs +81 -0
  209. package/utils/object.util.d.ts +11 -0
  210. package/views/AdminShell.d.ts +4 -0
  211. package/views/DashboardView.d.ts +3 -0
  212. package/views/ErrorView.d.ts +3 -0
  213. package/views/OrdersView.d.ts +1 -0
  214. package/views/OrganizationsView.d.ts +1 -0
  215. package/views/ReservationsView.d.ts +1 -0
  216. package/views/auth/SignInView.d.ts +1 -0
  217. package/views/auth/SignUpView.d.ts +1 -0
  218. package/views/auth/auth-layout.d.ts +4 -0
  219. package/views/manufacturers/ManufacturerCreateView.d.ts +1 -0
  220. package/views/manufacturers/ManufacturerEditView.d.ts +1 -0
  221. package/views/manufacturers/ManufacturersListView.d.ts +1 -0
  222. package/views/product-categories/ProductCategoriesListView.d.ts +1 -0
  223. package/views/product-categories/ProductCategoryCreateView.d.ts +1 -0
  224. package/views/product-categories/ProductCategoryEditView.d.ts +1 -0
  225. package/views/products/ProductCreateView.d.ts +1 -0
  226. package/views/products/ProductEditView.d.ts +1 -0
  227. package/views/products/ProductsListView.d.ts +1 -0
  228. package/views/settings/OpeningTimesView.d.ts +1 -0
  229. package/views/settings/SettingsLayout.d.ts +4 -0
  230. package/views/settings/SettingsView.d.ts +1 -0
  231. package/views/settings/shipping-methods/ShippingMethodCreateView.d.ts +1 -0
  232. package/views/settings/shipping-methods/ShippingMethodEditView.d.ts +1 -0
  233. package/views/settings/shipping-methods/ShippingMethodsListView.d.ts +1 -0
@@ -0,0 +1,53 @@
1
+ import { CartItem } from '../../../../client/src/index.ts';
2
+ /**
3
+ * Calculate the total price of a cart based on product data
4
+ */
5
+ export declare const calculateCartTotal: (items: CartItem[], getProductDetails: (productId: string) => any) => number;
6
+ /**
7
+ * Format price according to locale and currency
8
+ */
9
+ export declare const formatPrice: (price: number, currency?: string, locale?: string) => string;
10
+ /**
11
+ * Get the selected modifiers for a product as a formatted string
12
+ */
13
+ export declare const getFormattedModifiers: (item: CartItem, getProductDetails: (productId: string) => any, locale?: string) => string;
14
+ /**
15
+ * Find a cart item by product ID and optional modifier groups
16
+ */
17
+ export declare const findCartItem: (items: CartItem[], productId: string, modifierGroups?: {
18
+ id: string;
19
+ modifiers: {
20
+ id: string;
21
+ quantity?: number;
22
+ }[];
23
+ }[]) => CartItem | undefined;
24
+ /**
25
+ * Helper function to compare modifier groups
26
+ */
27
+ export declare const areModifierGroupsEqual: (groupsA: {
28
+ id: string;
29
+ modifiers: {
30
+ id: string;
31
+ quantity?: number;
32
+ }[];
33
+ }[], groupsB: {
34
+ id: string;
35
+ modifiers: {
36
+ id: string;
37
+ quantity?: number;
38
+ }[];
39
+ }[]) => boolean;
40
+ /**
41
+ * Check if a product requires modifiers based on selectMin values
42
+ */
43
+ export declare const productRequiresModifiers: (product: any) => boolean;
44
+ /**
45
+ * Validate if selected modifiers meet the requirements
46
+ */
47
+ export declare const validateModifierSelections: (product: any, selectedModifiers: {
48
+ groupId: string;
49
+ modifierIds: string[];
50
+ }[]) => {
51
+ valid: boolean;
52
+ message?: string;
53
+ };
package/storefront.cjs ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./admin-client.cjs");exports.APIProvider=o.APIProvider;exports.AuthPages=o.AuthPages;exports.Badge=o.Badge;exports.Button=o.Button;exports.CartItems=o.CartItems;exports.CartProvider=o.CartProvider;exports.CheckoutPages=o.CheckoutPages;exports.Command=o.Command;exports.CommandBar=o.CommandBar;exports.CommandBarBar=o.CommandBarBar;exports.CommandBarCommand=o.CommandBarCommand;exports.CommandBarSeperator=o.CommandBarSeperator;exports.CommandBarValue=o.CommandBarValue;exports.CommandDialog=o.CommandDialog;exports.CommandEmpty=o.CommandEmpty;exports.CommandGroup=o.CommandGroup;exports.CommandInput=o.CommandInput;exports.CommandItem=o.CommandItem;exports.CommandList=o.CommandList;exports.CommandSeparator=o.CommandSeparator;exports.CommandShortcut=o.CommandShortcut;exports.CountryInput=o.CountryInput;exports.CustomerDetailsPage=o.CustomerDetailsPage;exports.Dialog=o.Dialog;exports.DialogClose=o.DialogClose;exports.DialogContent=o.DialogContent;exports.DialogDescription=o.DialogDescription;exports.DialogFooter=o.DialogFooter;exports.DialogHeader=o.DialogHeader;exports.DialogTitle=o.DialogTitle;exports.DialogTrigger=o.DialogTrigger;exports.Divider=o.Divider;exports.EmailInput=o.EmailInput;exports.ImageUploadInput=o.ImageUploadInput;exports.Input=o.Input;exports.InputGroup=o.InputGroup;exports.Label=o.Label;exports.LocationInput=o.LocationInput;exports.ModifierContainer=o.ModifierContainer;exports.ModifiersGroup=o.ModifiersGroup;exports.ModifiersModal=o.ModifiersModal;exports.ModifiersOption=o.ModifiersOption;exports.PhoneNumberInput=o.PhoneNumberInput;exports.Popover=o.Popover;exports.PopoverAnchor=o.PopoverAnchor;exports.PopoverClose=o.PopoverClose;exports.PopoverContent=o.PopoverContent;exports.PopoverTrigger=o.PopoverTrigger;exports.QuantityControl=o.QuantityControl;exports.RadioCardGroup=o.RadioCardGroup;exports.RadioCardGroupIndicator=o.RadioCardGroupIndicator;exports.RadioCardItem=o.RadioCardItem;exports.SelectInput=o.SelectInput;exports.ShippingAndPaymentPage=o.ShippingAndPaymentPage;exports.ShophostProvider=o.ShophostProvider;exports.SliderOver=o.SliderOver;exports.Switch=o.Switch;exports.TextInput=o.TextInput;exports.TimeInput=o.TimeInput;exports.badgeVariants=o.badgeVariants;exports.buttonVariants=o.buttonVariants;exports.calculateCartTotal=o.calculateCartTotal;exports.findCartItem=o.findCartItem;exports.formatPrice=o.formatPrice;exports.getFieldError=o.getFieldError;exports.getFormattedModifiers=o.getFormattedModifiers;exports.mockProducts=o.mockProducts;exports.productRequiresModifiers=o.productRequiresModifiers;exports.useAPI=o.useAPI;exports.useCart=o.useCart;exports.useCartContext=o.useCartContext;exports.useLocalization=o.useLocalization;exports.useModifierSelection=o.useModifierSelection;exports.useModifiers=o.useModifiers;exports.useMultipleProductDetails=o.useMultipleProductDetails;exports.useOrganization=o.useOrganization;exports.useProductDetails=o.useProductDetails;
package/storefront.mjs ADDED
@@ -0,0 +1,81 @@
1
+ "use client";
2
+ import { z as o, i as e, aq as r, F as t, f as i, C as n, j as d, X as m, ai as u, aj as p, ak as C, al as l, am as g, Y as P, $ as I, a0 as c, Z as D, a1 as f, _ as h, a3 as v, a2 as M, J as S, h as B, a4 as T, a5 as G, a6 as b, a7 as y, a8 as A, a9 as L, aa as R, ab as k, as as x, H as F, O, I as V, W as q, U as z, L as E, M as j, k as w, m as H, l as N, P as Q, ac as U, ad as J, ae as K, af as W, ag as X, Q as Y, an as Z, ao as _, ap as $, K as aa, S as sa, y as oa, ah as ea, N as ra, T as ta, R as ia, ar as na, G as da, r as ma, v as ua, s as pa, V as Ca, t as la, x as ga, w as Pa, B as Ia, d as ca, u as Da, q as fa, p as ha, e as va, o as Ma, D as Sa, n as Ba } from "./admin-client.js";
3
+ export {
4
+ o as APIProvider,
5
+ e as AuthPages,
6
+ r as Badge,
7
+ t as Button,
8
+ i as CartItems,
9
+ n as CartProvider,
10
+ d as CheckoutPages,
11
+ m as Command,
12
+ u as CommandBar,
13
+ p as CommandBarBar,
14
+ C as CommandBarCommand,
15
+ l as CommandBarSeperator,
16
+ g as CommandBarValue,
17
+ P as CommandDialog,
18
+ I as CommandEmpty,
19
+ c as CommandGroup,
20
+ D as CommandInput,
21
+ f as CommandItem,
22
+ h as CommandList,
23
+ v as CommandSeparator,
24
+ M as CommandShortcut,
25
+ S as CountryInput,
26
+ B as CustomerDetailsPage,
27
+ T as Dialog,
28
+ G as DialogClose,
29
+ b as DialogContent,
30
+ y as DialogDescription,
31
+ A as DialogFooter,
32
+ L as DialogHeader,
33
+ R as DialogTitle,
34
+ k as DialogTrigger,
35
+ x as Divider,
36
+ F as EmailInput,
37
+ O as ImageUploadInput,
38
+ V as Input,
39
+ q as InputGroup,
40
+ z as Label,
41
+ E as LocationInput,
42
+ j as ModifierContainer,
43
+ w as ModifiersGroup,
44
+ H as ModifiersModal,
45
+ N as ModifiersOption,
46
+ Q as PhoneNumberInput,
47
+ U as Popover,
48
+ J as PopoverAnchor,
49
+ K as PopoverClose,
50
+ W as PopoverContent,
51
+ X as PopoverTrigger,
52
+ Y as QuantityControl,
53
+ Z as RadioCardGroup,
54
+ _ as RadioCardGroupIndicator,
55
+ $ as RadioCardItem,
56
+ aa as SelectInput,
57
+ sa as ShippingAndPaymentPage,
58
+ oa as ShophostProvider,
59
+ ea as SliderOver,
60
+ ra as Switch,
61
+ ta as TextInput,
62
+ ia as TimeInput,
63
+ na as badgeVariants,
64
+ da as buttonVariants,
65
+ ma as calculateCartTotal,
66
+ ua as findCartItem,
67
+ pa as formatPrice,
68
+ Ca as getFieldError,
69
+ la as getFormattedModifiers,
70
+ ga as mockProducts,
71
+ Pa as productRequiresModifiers,
72
+ Ia as useAPI,
73
+ ca as useCart,
74
+ Da as useCartContext,
75
+ fa as useLocalization,
76
+ ha as useModifierSelection,
77
+ va as useModifiers,
78
+ Ma as useMultipleProductDetails,
79
+ Sa as useOrganization,
80
+ Ba as useProductDetails
81
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * A standalone implementation of Lodash's `_.get` in TypeScript.
3
+ *
4
+ * @param object The object to query.
5
+ * @param path The path to get. Can be:
6
+ * - a string in dot/bracket notation, e.g. "a.b[0].c"
7
+ * - an array of string/number keys, e.g. ["a", "b", 0, "c"].
8
+ * @param defaultValue The value returned if the resolved value is undefined.
9
+ * @returns The resolved value, or defaultValue if it's undefined.
10
+ */
11
+ export declare const get: <T extends object, R = unknown>(object: T | null | undefined, path: string | Array<string | number>, defaultValue?: R) => R | unknown;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export declare function AdminShell({ children }: {
3
+ children: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { KpiEntry, KpiEntryExtended, PeriodValue } from '../components/ui/overview/dashboard-types';
2
+ export type { PeriodValue, KpiEntry, KpiEntryExtended };
3
+ export declare function DashboardView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare function ErrorView({ onReset }: {
2
+ onReset?: () => void;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function OrdersView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function OrganizationsView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ReservationsView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function SignInView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function SignUpView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export declare function AuthLayout({ children }: {
3
+ children: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ManufacturerCreateView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ManufacturerEditView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ManufacturersListView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductCategoriesListView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductCategoryCreateView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductCategoryEditView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductCreateView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductEditView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ProductsListView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function OpeningTimesView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export declare function SettingsLayout({ children }: {
3
+ children: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function SettingsView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ShippingMethodCreateView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ShippingMethodEditView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ShippingMethodsListView(): import("react/jsx-runtime").JSX.Element;