@shophost/react 2.0.16 → 2.0.18
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/admin-client.cjs +1 -1
- package/admin-client.js +4574 -3832
- package/components/ui/command.d.ts +7 -7
- package/components/ui/divider.d.ts +1 -3
- package/components/ui/icons/spinner-icon.d.ts +1 -2
- package/components/ui/popover.d.ts +1 -3
- package/package.json +3 -6
- package/react.css +1 -1
- package/storefront/components/cart/cart-drawer-item.d.ts +12 -0
- package/storefront/components/cart/cart-drawer.d.ts +17 -0
- package/storefront/components/cart/cart-panel.d.ts +31 -0
- package/storefront/components/modifiers/index.d.ts +1 -0
- package/storefront/components/modifiers/modifiers-dialog.d.ts +35 -0
- package/storefront/components/pages/account-pages/index.d.ts +2 -2
- package/storefront/components/pages/account-pages/layouts.d.ts +7 -1
- package/storefront/components/pages/account-pages/reservation-book-page/index.d.ts +2 -0
- package/storefront/components/pages/account-pages/reservation-details-page/index.d.ts +5 -0
- package/storefront/components/ui/command.d.ts +7 -7
- package/storefront/components/ui/divider.d.ts +1 -3
- package/storefront/components/ui/popover.d.ts +1 -3
- package/storefront/exports.d.ts +5 -1
- package/storefront/lib/better-auth.d.ts +4 -4
- package/storefront.cjs +1 -1
- package/storefront.mjs +79 -75
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UploadedFile } from '../../../../../client/src/index.ts';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface CartDrawerItemProps {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle?: (string | null)[];
|
|
6
|
+
image?: UploadedFile;
|
|
7
|
+
price: string;
|
|
8
|
+
quantity: number;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
updateQuantity: (quantity: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const CartDrawerItem: React.FC<CartDrawerItemProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CartPanelFooterRenderProps } from './cart-panel';
|
|
3
|
+
import { CartDrawerItemProps } from './cart-drawer-item';
|
|
4
|
+
export interface CartDrawerProps {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
checkoutHref?: string;
|
|
8
|
+
checkoutLabel?: React.ReactNode;
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
contentClassName?: string;
|
|
12
|
+
emptyCartComponent?: React.ReactNode;
|
|
13
|
+
loadingComponent?: React.ReactNode;
|
|
14
|
+
renderFooter?: (props: CartPanelFooterRenderProps) => React.ReactNode;
|
|
15
|
+
renderItem?: (props: CartDrawerItemProps) => React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare const CartDrawer: React.FC<CartDrawerProps>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CartDrawerItemProps } from './cart-drawer-item';
|
|
3
|
+
export interface CartPanelHeaderRenderProps {
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
showCloseButton: boolean;
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface CartPanelFooterRenderProps {
|
|
9
|
+
checkoutHref: string;
|
|
10
|
+
checkoutLabel: React.ReactNode;
|
|
11
|
+
close: () => void;
|
|
12
|
+
formattedTotal: string;
|
|
13
|
+
itemCount: number;
|
|
14
|
+
total: number;
|
|
15
|
+
}
|
|
16
|
+
export interface CartPanelProps {
|
|
17
|
+
checkoutHref?: string;
|
|
18
|
+
checkoutLabel?: React.ReactNode;
|
|
19
|
+
title?: React.ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
bodyClassName?: string;
|
|
22
|
+
headerClassName?: string;
|
|
23
|
+
onClose?: () => void;
|
|
24
|
+
showCloseButton?: boolean;
|
|
25
|
+
emptyCartComponent?: React.ReactNode;
|
|
26
|
+
loadingComponent?: React.ReactNode;
|
|
27
|
+
renderFooter?: (props: CartPanelFooterRenderProps) => React.ReactNode;
|
|
28
|
+
renderHeader?: (props: CartPanelHeaderRenderProps) => React.ReactNode;
|
|
29
|
+
renderItem?: (props: CartDrawerItemProps) => React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export declare const CartPanel: React.FC<CartPanelProps>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ModifiersDialogOptionRenderProps {
|
|
3
|
+
formattedPrice: string;
|
|
4
|
+
isMultiSelect: boolean;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
modifier: any;
|
|
7
|
+
onSelect: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface ModifiersDialogFooterRenderProps {
|
|
10
|
+
isDecrementDisabled: boolean;
|
|
11
|
+
onAddToCart: () => void;
|
|
12
|
+
onDecrement: () => void;
|
|
13
|
+
onIncrement: () => void;
|
|
14
|
+
quantity: number;
|
|
15
|
+
validationError: string | null;
|
|
16
|
+
}
|
|
17
|
+
export interface ModifiersDialogProps {
|
|
18
|
+
addToCartLabel?: React.ReactNode;
|
|
19
|
+
emptyState?: React.ReactNode;
|
|
20
|
+
panelClassName?: string;
|
|
21
|
+
renderFooter?: (props: ModifiersDialogFooterRenderProps) => React.ReactNode;
|
|
22
|
+
renderGroup?: (props: {
|
|
23
|
+
group: any;
|
|
24
|
+
groupName: string;
|
|
25
|
+
isRequired: boolean;
|
|
26
|
+
renderOptions: () => React.ReactNode;
|
|
27
|
+
selectionRequirements: string | null;
|
|
28
|
+
}) => React.ReactNode;
|
|
29
|
+
renderHeader?: (props: {
|
|
30
|
+
onClose: () => void;
|
|
31
|
+
product: any;
|
|
32
|
+
}) => React.ReactNode;
|
|
33
|
+
renderOption?: (props: ModifiersDialogOptionRenderProps) => React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export declare const ModifiersDialog: React.FC<ModifiersDialogProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export {
|
|
1
|
+
declare const AccountPages: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export { AccountPages };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
interface AccountSplitLayoutProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const AccountSplitLayout: React.FC<AccountSplitLayoutProps>;
|
|
2
8
|
interface AuthLayoutProps {
|
|
3
9
|
children: React.ReactNode;
|
|
4
10
|
}
|
|
@@ -7,4 +13,4 @@ interface LoggedInViewLayoutProps {
|
|
|
7
13
|
children: React.ReactNode;
|
|
8
14
|
}
|
|
9
15
|
declare const LoggedInView: React.FC<LoggedInViewLayoutProps>;
|
|
10
|
-
export { AuthLayout, LoggedInView };
|
|
16
|
+
export { AccountSplitLayout, AuthLayout, LoggedInView };
|
|
@@ -6,7 +6,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}, "key" |
|
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
10
|
label?: string;
|
|
11
11
|
shouldFilter?: boolean;
|
|
12
12
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -22,7 +22,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
23
|
} & {
|
|
24
24
|
asChild?: boolean;
|
|
25
|
-
}, "key" |
|
|
25
|
+
}, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "asChild">, "value" | "type" | "onChange"> & {
|
|
26
26
|
value?: string;
|
|
27
27
|
onValueChange?: (search: string) => void;
|
|
28
28
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -32,7 +32,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
32
32
|
ref?: React.Ref<HTMLDivElement>;
|
|
33
33
|
} & {
|
|
34
34
|
asChild?: boolean;
|
|
35
|
-
}, "key" |
|
|
35
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
36
36
|
label?: string;
|
|
37
37
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -41,14 +41,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
41
41
|
ref?: React.Ref<HTMLDivElement>;
|
|
42
42
|
} & {
|
|
43
43
|
asChild?: boolean;
|
|
44
|
-
}, "key" |
|
|
44
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
48
|
ref?: React.Ref<HTMLDivElement>;
|
|
49
49
|
} & {
|
|
50
50
|
asChild?: boolean;
|
|
51
|
-
}, "key" |
|
|
51
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
52
52
|
heading?: React.ReactNode;
|
|
53
53
|
value?: string;
|
|
54
54
|
forceMount?: boolean;
|
|
@@ -57,7 +57,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
57
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
58
|
} & {
|
|
59
59
|
asChild?: boolean;
|
|
60
|
-
}, "key" |
|
|
60
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
61
61
|
alwaysRender?: boolean;
|
|
62
62
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -66,7 +66,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
66
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean;
|
|
69
|
-
}, "key" |
|
|
69
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "onSelect" | "disabled"> & {
|
|
70
70
|
disabled?: boolean;
|
|
71
71
|
onSelect?: (value: string) => void;
|
|
72
72
|
value?: string;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
3
|
export { Divider };
|
|
@@ -7,7 +7,5 @@ declare const Popover: {
|
|
|
7
7
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
11
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
package/storefront/exports.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export { CartProvider, useCartContext, useCart, } from './providers/cart-provider';
|
|
2
2
|
export { useModifiers } from './providers/modifiers-provider';
|
|
3
3
|
export { CartItems } from './components/cart/cart-items';
|
|
4
|
+
export { CartPanel } from './components/cart/cart-panel';
|
|
5
|
+
export { CartDrawer } from './components/cart/cart-drawer';
|
|
6
|
+
export { CartDrawerItem } from './components/cart/cart-drawer-item';
|
|
4
7
|
export { CustomerDetailsPage } from './components/pages/checkout-pages/customer-details-page';
|
|
5
8
|
export { ShippingAndPaymentPage } from './components/pages/checkout-pages/shipping-and-payment-page';
|
|
6
|
-
export {
|
|
9
|
+
export { AccountPages } from './components/pages/account-pages';
|
|
7
10
|
export { CheckoutPages } from './components/pages/checkout-pages';
|
|
11
|
+
export { ModifiersDialog } from './components/modifiers/modifiers-dialog';
|
|
8
12
|
export * from './components';
|
|
9
13
|
export { ModifierContainer, QuantityControl, ModifiersGroup, ModifiersOption, ModifiersModal, } from './components/modifiers';
|
|
10
14
|
export { useProductDetails, useMultipleProductDetails, } from './hooks/useProductDetails';
|
|
@@ -33,7 +33,7 @@ export declare const useSession: () => {
|
|
|
33
33
|
} | undefined) => Promise<void>;
|
|
34
34
|
}, signIn: {
|
|
35
35
|
social: <FetchOptions extends import('@better-auth/core').ClientFetchOption<Partial<{
|
|
36
|
-
provider: (string & {}) | "paypal" | "
|
|
36
|
+
provider: (string & {}) | "paypal" | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "polar" | "railway" | "vercel";
|
|
37
37
|
callbackURL?: string | undefined;
|
|
38
38
|
newUserCallbackURL?: string | undefined;
|
|
39
39
|
errorCallbackURL?: string | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const useSession: () => {
|
|
|
57
57
|
loginHint?: string | undefined;
|
|
58
58
|
additionalData?: Record<string, any> | undefined;
|
|
59
59
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import('better-auth/react').Prettify<{
|
|
60
|
-
provider: (string & {}) | "paypal" | "
|
|
60
|
+
provider: (string & {}) | "paypal" | "linear" | "huggingface" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "polar" | "railway" | "vercel";
|
|
61
61
|
callbackURL?: string | undefined;
|
|
62
62
|
newUserCallbackURL?: string | undefined;
|
|
63
63
|
errorCallbackURL?: string | undefined;
|
|
@@ -1047,7 +1047,7 @@ export declare const useSession: () => {
|
|
|
1047
1047
|
limit?: string | number | undefined;
|
|
1048
1048
|
offset?: string | number | undefined;
|
|
1049
1049
|
sortBy?: string | undefined;
|
|
1050
|
-
sortDirection?: "
|
|
1050
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
1051
1051
|
filterField?: string | undefined;
|
|
1052
1052
|
filterValue?: string | number | boolean | string[] | number[] | undefined;
|
|
1053
1053
|
filterOperator?: "in" | "lt" | "eq" | "ne" | "gt" | "gte" | "lte" | "not_in" | "contains" | "starts_with" | "ends_with" | undefined;
|
|
@@ -1058,7 +1058,7 @@ export declare const useSession: () => {
|
|
|
1058
1058
|
limit?: string | number | undefined;
|
|
1059
1059
|
offset?: string | number | undefined;
|
|
1060
1060
|
sortBy?: string | undefined;
|
|
1061
|
-
sortDirection?: "
|
|
1061
|
+
sortDirection?: "asc" | "desc" | undefined;
|
|
1062
1062
|
filterField?: string | undefined;
|
|
1063
1063
|
filterValue?: string | number | boolean | string[] | number[] | undefined;
|
|
1064
1064
|
filterOperator?: "in" | "lt" | "eq" | "ne" | "gt" | "gte" | "lte" | "not_in" | "contains" | "starts_with" | "ends_with" | undefined;
|
package/storefront.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./admin-client.cjs");exports.APIProvider=o.APIProvider;exports.
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./admin-client.cjs");exports.APIProvider=o.APIProvider;exports.AccountPages=o.AccountPages;exports.Badge=o.Badge;exports.Button=o.Button;exports.CartDrawer=o.CartDrawer;exports.CartDrawerItem=o.CartDrawerItem;exports.CartItems=o.CartItems;exports.CartPanel=o.CartPanel;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.ModifiersDialog=o.ModifiersDialog;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
CHANGED
|
@@ -1,81 +1,85 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { G as o, l as e, au as r, J as t, i, j as n, f as d, h as m, C as u, m as C, $ as l, am as p, an as g, ao as P, ap as c, aq as I, a0 as D, a3 as f, a4 as v, a1 as M, a5 as h, a2 as S, a7 as B, a6 as T, R as G, k as b, a8 as w, a9 as y, aa as A, ab as L, ac as R, ad as k, ae as x, af as F, aw as O, O as V, W as q, L as z, _ as E, Y as j, N as H, n as N, M as Q, o as U, q as J, p as K, P as W, ag as X, ah as Y, ai as Z, aj as _, ak as $, Q as aa, ar as sa, as as oa, at as ea, T as ra, S as ta, F as ia, al as na, U as da, V as ma, X as ua, av as Ca, K as la, w as pa, z as ga, x as Pa, Z as ca, y as Ia, D as Da, B as fa, H as va, d as Ma, u as ha, v as Sa, t as Ba, e as Ta, s as Ga, I as ba, r as wa } from "./admin-client.js";
|
|
3
3
|
export {
|
|
4
4
|
o as APIProvider,
|
|
5
|
-
e as
|
|
5
|
+
e as AccountPages,
|
|
6
6
|
r as Badge,
|
|
7
7
|
t as Button,
|
|
8
|
-
i as
|
|
9
|
-
n as
|
|
10
|
-
d as
|
|
11
|
-
m as
|
|
12
|
-
u as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
g as
|
|
17
|
-
P as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
D as
|
|
21
|
-
f as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
S as
|
|
26
|
-
B as
|
|
27
|
-
T as
|
|
28
|
-
G as
|
|
29
|
-
b as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
H as
|
|
45
|
-
N as
|
|
46
|
-
Q as
|
|
47
|
-
U as
|
|
48
|
-
J as
|
|
49
|
-
K as
|
|
50
|
-
W as
|
|
51
|
-
X as
|
|
52
|
-
Y as
|
|
53
|
-
Z as
|
|
54
|
-
_ as
|
|
55
|
-
$ as
|
|
56
|
-
aa as
|
|
57
|
-
sa as
|
|
58
|
-
oa as
|
|
59
|
-
ea as
|
|
60
|
-
ra as
|
|
61
|
-
ta as
|
|
62
|
-
ia as
|
|
63
|
-
na as
|
|
64
|
-
da as
|
|
65
|
-
ma as
|
|
66
|
-
ua as
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
ga as
|
|
71
|
-
Pa as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
Da as
|
|
75
|
-
fa as
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Sa as
|
|
80
|
-
Ba as
|
|
8
|
+
i as CartDrawer,
|
|
9
|
+
n as CartDrawerItem,
|
|
10
|
+
d as CartItems,
|
|
11
|
+
m as CartPanel,
|
|
12
|
+
u as CartProvider,
|
|
13
|
+
C as CheckoutPages,
|
|
14
|
+
l as Command,
|
|
15
|
+
p as CommandBar,
|
|
16
|
+
g as CommandBarBar,
|
|
17
|
+
P as CommandBarCommand,
|
|
18
|
+
c as CommandBarSeperator,
|
|
19
|
+
I as CommandBarValue,
|
|
20
|
+
D as CommandDialog,
|
|
21
|
+
f as CommandEmpty,
|
|
22
|
+
v as CommandGroup,
|
|
23
|
+
M as CommandInput,
|
|
24
|
+
h as CommandItem,
|
|
25
|
+
S as CommandList,
|
|
26
|
+
B as CommandSeparator,
|
|
27
|
+
T as CommandShortcut,
|
|
28
|
+
G as CountryInput,
|
|
29
|
+
b as CustomerDetailsPage,
|
|
30
|
+
w as Dialog,
|
|
31
|
+
y as DialogClose,
|
|
32
|
+
A as DialogContent,
|
|
33
|
+
L as DialogDescription,
|
|
34
|
+
R as DialogFooter,
|
|
35
|
+
k as DialogHeader,
|
|
36
|
+
x as DialogTitle,
|
|
37
|
+
F as DialogTrigger,
|
|
38
|
+
O as Divider,
|
|
39
|
+
V as EmailInput,
|
|
40
|
+
q as ImageUploadInput,
|
|
41
|
+
z as Input,
|
|
42
|
+
E as InputGroup,
|
|
43
|
+
j as Label,
|
|
44
|
+
H as LocationInput,
|
|
45
|
+
N as ModifierContainer,
|
|
46
|
+
Q as ModifiersDialog,
|
|
47
|
+
U as ModifiersGroup,
|
|
48
|
+
J as ModifiersModal,
|
|
49
|
+
K as ModifiersOption,
|
|
50
|
+
W as PhoneNumberInput,
|
|
51
|
+
X as Popover,
|
|
52
|
+
Y as PopoverAnchor,
|
|
53
|
+
Z as PopoverClose,
|
|
54
|
+
_ as PopoverContent,
|
|
55
|
+
$ as PopoverTrigger,
|
|
56
|
+
aa as QuantityControl,
|
|
57
|
+
sa as RadioCardGroup,
|
|
58
|
+
oa as RadioCardGroupIndicator,
|
|
59
|
+
ea as RadioCardItem,
|
|
60
|
+
ra as SelectInput,
|
|
61
|
+
ta as ShippingAndPaymentPage,
|
|
62
|
+
ia as ShophostProvider,
|
|
63
|
+
na as SliderOver,
|
|
64
|
+
da as Switch,
|
|
65
|
+
ma as TextInput,
|
|
66
|
+
ua as TimeInput,
|
|
67
|
+
Ca as badgeVariants,
|
|
68
|
+
la as buttonVariants,
|
|
69
|
+
pa as calculateCartTotal,
|
|
70
|
+
ga as findCartItem,
|
|
71
|
+
Pa as formatPrice,
|
|
72
|
+
ca as getFieldError,
|
|
73
|
+
Ia as getFormattedModifiers,
|
|
74
|
+
Da as mockProducts,
|
|
75
|
+
fa as productRequiresModifiers,
|
|
76
|
+
va as useAPI,
|
|
77
|
+
Ma as useCart,
|
|
78
|
+
ha as useCartContext,
|
|
79
|
+
Sa as useLocalization,
|
|
80
|
+
Ba as useModifierSelection,
|
|
81
|
+
Ta as useModifiers,
|
|
82
|
+
Ga as useMultipleProductDetails,
|
|
83
|
+
ba as useOrganization,
|
|
84
|
+
wa as useProductDetails
|
|
81
85
|
};
|