@instockng/storefront-ui 1.0.2 → 1.0.4

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 (112) hide show
  1. package/dist/index.mjs +18 -17
  2. package/dist/index10.mjs +1 -0
  3. package/dist/index100.mjs +1 -0
  4. package/dist/index101.mjs +1 -0
  5. package/dist/index102.mjs +1 -0
  6. package/dist/index103.mjs +1 -0
  7. package/dist/index104.mjs +1 -0
  8. package/dist/index105.mjs +1 -0
  9. package/dist/index106.mjs +1 -0
  10. package/dist/index107.mjs +1 -0
  11. package/dist/index108.mjs +1 -0
  12. package/dist/index109.mjs +1 -0
  13. package/dist/index11.mjs +1 -0
  14. package/dist/index110.mjs +1 -0
  15. package/dist/index111.mjs +1 -0
  16. package/dist/index12.mjs +1 -0
  17. package/dist/index13.mjs +1 -0
  18. package/dist/index14.mjs +1 -0
  19. package/dist/index15.mjs +1 -0
  20. package/dist/index16.mjs +1 -0
  21. package/dist/index17.mjs +1 -0
  22. package/dist/index18.mjs +1 -0
  23. package/dist/index19.mjs +1 -0
  24. package/dist/index2.mjs +1 -0
  25. package/dist/index20.mjs +3 -2
  26. package/dist/index21.mjs +2 -1
  27. package/dist/index22.mjs +1 -0
  28. package/dist/index23.mjs +1 -0
  29. package/dist/index24.mjs +1 -0
  30. package/dist/index25.mjs +1 -0
  31. package/dist/index26.mjs +1 -0
  32. package/dist/index27.mjs +1 -0
  33. package/dist/index28.mjs +12 -11
  34. package/dist/index29.mjs +2 -1
  35. package/dist/index3.mjs +1 -0
  36. package/dist/index30.mjs +2 -1
  37. package/dist/index31.mjs +2 -1
  38. package/dist/index32.mjs +2 -1
  39. package/dist/index33.mjs +1 -0
  40. package/dist/index34.mjs +1 -0
  41. package/dist/index35.mjs +1 -0
  42. package/dist/index36.mjs +1 -0
  43. package/dist/index37.mjs +2 -1
  44. package/dist/index38.mjs +1 -0
  45. package/dist/index39.mjs +1 -0
  46. package/dist/index4.mjs +1 -0
  47. package/dist/index40.mjs +1 -0
  48. package/dist/index41.mjs +37 -23
  49. package/dist/index42.mjs +45 -36
  50. package/dist/index43.mjs +100 -44
  51. package/dist/index44.mjs +113 -99
  52. package/dist/index45.mjs +45 -80
  53. package/dist/index46.mjs +65 -53
  54. package/dist/index47.mjs +67 -49
  55. package/dist/index48.mjs +55 -73
  56. package/dist/index49.mjs +53 -63
  57. package/dist/index5.mjs +1 -0
  58. package/dist/index50.mjs +15 -70
  59. package/dist/index51.mjs +14 -14
  60. package/dist/index52.mjs +59 -13
  61. package/dist/index53.mjs +102 -34
  62. package/dist/index54.mjs +100 -95
  63. package/dist/index55.mjs +23 -132
  64. package/dist/index56.mjs +1 -0
  65. package/dist/index57.mjs +1 -0
  66. package/dist/index58.mjs +3 -2
  67. package/dist/index59.mjs +5 -3
  68. package/dist/index6.mjs +1 -0
  69. package/dist/index60.mjs +5 -2
  70. package/dist/index61.mjs +3 -5
  71. package/dist/index62.mjs +1 -0
  72. package/dist/index63.mjs +1 -0
  73. package/dist/index64.mjs +1 -0
  74. package/dist/index65.mjs +1 -0
  75. package/dist/index66.mjs +1 -0
  76. package/dist/index67.mjs +1 -0
  77. package/dist/index68.mjs +1 -0
  78. package/dist/index69.mjs +1 -0
  79. package/dist/index7.mjs +1 -0
  80. package/dist/index70.mjs +1 -0
  81. package/dist/index71.mjs +1 -0
  82. package/dist/index72.mjs +1 -0
  83. package/dist/index73.mjs +1 -0
  84. package/dist/index74.mjs +1 -0
  85. package/dist/index75.mjs +1 -0
  86. package/dist/index76.mjs +1 -0
  87. package/dist/index77.mjs +1 -0
  88. package/dist/index78.mjs +1 -0
  89. package/dist/index79.mjs +1 -0
  90. package/dist/index8.mjs +1 -0
  91. package/dist/index80.mjs +1 -0
  92. package/dist/index81.mjs +1 -0
  93. package/dist/index82.mjs +1 -0
  94. package/dist/index83.mjs +1 -0
  95. package/dist/index84.mjs +1 -0
  96. package/dist/index85.mjs +1 -0
  97. package/dist/index86.mjs +1 -0
  98. package/dist/index87.mjs +1 -0
  99. package/dist/index88.mjs +1 -0
  100. package/dist/index89.mjs +1 -0
  101. package/dist/index9.mjs +1 -0
  102. package/dist/index90.mjs +1 -0
  103. package/dist/index91.mjs +1 -0
  104. package/dist/index92.mjs +1 -0
  105. package/dist/index93.mjs +1 -0
  106. package/dist/index94.mjs +1 -0
  107. package/dist/index95.mjs +1 -0
  108. package/dist/index96.mjs +1 -0
  109. package/dist/index97.mjs +1 -0
  110. package/dist/index98.mjs +1 -0
  111. package/dist/index99.mjs +1 -0
  112. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,12 +1,13 @@
1
- import { StorefrontProvider as m } from "./index2.mjs";
1
+ 'use client';
2
+ import { StorefrontProvider as p } from "./index2.mjs";
2
3
  import { CartProvider as a, useCart as i } from "./index3.mjs";
3
4
  import { OrderConfirmation as C } from "./index4.mjs";
4
5
  import { ProductCard as d } from "./index5.mjs";
5
6
  import { ProductGrid as n } from "./index6.mjs";
6
7
  import { CartItem as c } from "./index7.mjs";
7
- import { ShoppingCart as h } from "./index8.mjs";
8
- import { DiscountCodeInput as v } from "./index9.mjs";
9
- import { Checkout as A } from "./index10.mjs";
8
+ import { ShoppingCart as A } from "./index8.mjs";
9
+ import { DiscountCodeInput as D } from "./index9.mjs";
10
+ import { Checkout as y } from "./index10.mjs";
10
11
  import { Button as P } from "./index11.mjs";
11
12
  import { Card as G, CardContent as B, CardDescription as O, CardFooter as S, CardHeader as R, CardTitle as k } from "./index12.mjs";
12
13
  import { Badge as H } from "./index13.mjs";
@@ -18,10 +19,10 @@ import { ApiClientProvider as L, useApiClientContext as N } from "./index18.mjs"
18
19
  import { useApiConfig as V } from "./index19.mjs";
19
20
  import { getApiClient as X, initializeApiClient as Y, resetApiClient as _ } from "./index20.mjs";
20
21
  import { authHeaders as er, createAdminRpcClients as tr, createRpcClients as or } from "./index21.mjs";
21
- import { fetchProductBySlug as pr, fetchProductsByBrand as ar } from "./index22.mjs";
22
+ import { fetchProductBySlug as mr, fetchProductsByBrand as ar } from "./index22.mjs";
22
23
  import { addCartItem as fr, applyDiscount as Cr, checkoutCart as ur, createCart as dr, fetchCart as sr, removeCartItem as nr, removeDiscount as xr, updateCart as cr, updateCartItem as lr } from "./index23.mjs";
23
- import { confirmOrder as Dr, fetchOrder as vr } from "./index24.mjs";
24
- import { fetchDeliveryZones as Ar } from "./index25.mjs";
24
+ import { confirmOrder as hr, fetchOrder as Dr } from "./index24.mjs";
25
+ import { fetchDeliveryZones as yr } from "./index25.mjs";
25
26
  import { queryKeys as Pr } from "./index26.mjs";
26
27
  import * as r from "./index27.mjs";
27
28
  import * as e from "./index28.mjs";
@@ -41,30 +42,30 @@ export {
41
42
  k as CardTitle,
42
43
  c as CartItem,
43
44
  a as CartProvider,
44
- A as Checkout,
45
- v as DiscountCodeInput,
45
+ y as Checkout,
46
+ D as DiscountCodeInput,
46
47
  b as FormInput,
47
48
  z as FormSelect,
48
49
  U as Modal,
49
50
  C as OrderConfirmation,
50
51
  d as ProductCard,
51
52
  n as ProductGrid,
52
- h as ShoppingCart,
53
- m as StorefrontProvider,
53
+ A as ShoppingCart,
54
+ p as StorefrontProvider,
54
55
  fr as addCartItem,
55
- e as admin,
56
+ e as adminApi,
56
57
  Cr as applyDiscount,
57
58
  er as authHeaders,
58
59
  ur as checkoutCart,
59
60
  M as cn,
60
- Dr as confirmOrder,
61
+ hr as confirmOrder,
61
62
  tr as createAdminRpcClients,
62
63
  dr as createCart,
63
64
  or as createRpcClients,
64
65
  sr as fetchCart,
65
- Ar as fetchDeliveryZones,
66
- vr as fetchOrder,
67
- pr as fetchProductBySlug,
66
+ yr as fetchDeliveryZones,
67
+ Dr as fetchOrder,
68
+ mr as fetchProductBySlug,
68
69
  ar as fetchProductsByBrand,
69
70
  $ as formatCurrency,
70
71
  j as formatDate,
@@ -72,7 +73,7 @@ export {
72
73
  X as getApiClient,
73
74
  E as getStatusColor,
74
75
  Y as initializeApiClient,
75
- r as public,
76
+ r as publicApi,
76
77
  Pr as queryKeys,
77
78
  nr as removeCartItem,
78
79
  xr as removeDiscount,
package/dist/index10.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as a, jsx as e, Fragment as he } from "react/jsx-runtime";
2
3
  import { useState as w, useEffect as q, useMemo as X, useCallback as ye } from "react";
3
4
  import { object as R, string as y, ValidationError as fe } from "./index34.mjs";
package/dist/index100.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function o(e) {
2
3
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
3
4
  return t && t[1] || "";
package/dist/index101.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import i from "./index108.mjs";
2
3
  import m from "./index109.mjs";
3
4
  import f from "./index64.mjs";
package/dist/index102.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import n from "./index88.mjs";
2
3
  import m from "./index64.mjs";
3
4
  import c from "./index110.mjs";
package/dist/index103.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import a from "./index70.mjs";
2
3
  import s from "./index75.mjs";
3
4
  import m from "./index64.mjs";
package/dist/index104.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const f = function* (e, t) {
2
3
  let n = e.byteLength;
3
4
  if (n < t) {
package/dist/index105.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import a from "./index93.mjs";
2
3
  const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
3
4
  export {
package/dist/index106.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const a = typeof FormData < "u" ? FormData : null;
2
3
  export {
3
4
  a as default
package/dist/index107.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const l = typeof Blob < "u" ? Blob : null;
2
3
  export {
3
4
  l as default
package/dist/index108.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function y(t, n) {
2
3
  t = t || 10;
3
4
  const c = new Array(t), o = new Array(t);
package/dist/index109.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function h(r, a) {
2
3
  let s = 0, u = 1e3 / a, e, t;
3
4
  const n = (l, o = Date.now()) => {
package/dist/index11.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as c, jsx as u } from "react/jsx-runtime";
2
3
  import { Root as v } from "./index37.mjs";
3
4
  import { cva as g } from "./index38.mjs";
package/dist/index110.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import o from "./index88.mjs";
2
3
  const n = o.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, o.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
3
4
  new URL(o.origin),
package/dist/index111.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import r from "./index64.mjs";
2
3
  import c from "./index88.mjs";
3
4
  const p = c.hasStandardBrowserEnv ? (
package/dist/index12.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as d } from "react/jsx-runtime";
2
3
  import * as t from "react";
3
4
  import { cn as o } from "./index17.mjs";
package/dist/index13.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as o } from "react/jsx-runtime";
2
3
  import { cva as n } from "./index38.mjs";
3
4
  import { cn as a } from "./index17.mjs";
package/dist/index14.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
3
  import { useRef as j, useState as f, useEffect as o } from "react";
3
4
  import { createPortal as A } from "react-dom";
package/dist/index15.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
3
  import u from "react";
3
4
  import { cn as a } from "./index17.mjs";
package/dist/index16.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
3
  import g from "react";
3
4
  import { cn as l } from "./index17.mjs";
package/dist/index17.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { clsx as r } from "./index39.mjs";
2
3
  import { twMerge as n } from "./index40.mjs";
3
4
  function u(...e) {
package/dist/index18.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as r } from "react/jsx-runtime";
2
3
  import { createContext as p, useEffect as C, useMemo as f, useContext as m } from "react";
3
4
  import { QueryClient as d, QueryClientProvider as x } from "@tanstack/react-query";
package/dist/index19.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useApiClientContext as n } from "./index18.mjs";
2
3
  function i() {
3
4
  const { baseURL: t, authToken: e } = n();
package/dist/index2.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as o } from "react/jsx-runtime";
2
3
  import { ApiClientProvider as n } from "./index18.mjs";
3
4
  import "@tanstack/react-query";
package/dist/index20.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import "./index42.mjs";
2
- import r from "./index43.mjs";
1
+ 'use client';
2
+ import "./index41.mjs";
3
+ import r from "./index42.mjs";
3
4
  let e = null;
4
5
  function p(t) {
5
6
  return e = r.create({
package/dist/index21.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { hc as e } from "./index44.mjs";
1
+ 'use client';
2
+ import { hc as e } from "./index43.mjs";
2
3
  function n(s) {
3
4
  const r = `${s}/v1`;
4
5
  return {
package/dist/index22.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { createRpcClients as r } from "./index21.mjs";
2
3
  const s = "https://oms-api.instock.ng";
3
4
  async function e(o) {
package/dist/index23.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { createRpcClients as r } from "./index21.mjs";
2
3
  const o = "https://oms-api.instock.ng";
3
4
  async function i(s) {
package/dist/index24.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { createRpcClients as n } from "./index21.mjs";
2
3
  const e = "https://oms-api.instock.ng";
3
4
  async function i(r, o) {
package/dist/index25.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { createRpcClients as n } from "./index21.mjs";
2
3
  const o = "https://oms-api.instock.ng";
3
4
  async function r(t) {
package/dist/index26.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const s = {
2
3
  // Public API keys (RPC is now the default)
3
4
  public: {
package/dist/index27.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useAddCartItem as r, useApplyDiscount as u, useCheckoutCart as s, useCreateCart as o, useGetCart as a, useRemoveCartItem as m, useRemoveDiscount as C, useUpdateCart as d, useUpdateCartItem as p } from "./index29.mjs";
2
3
  import { useConfirmOrder as f, useGetOrder as G } from "./index30.mjs";
3
4
  import { useGetProduct as n, useGetProducts as x } from "./index31.mjs";
package/dist/index28.mjs CHANGED
@@ -1,14 +1,15 @@
1
- import { useCreateOrder as s, useDeleteOrder as r, useGetOrder as u, useListOrders as o, useUpdateOrder as a, useUpdateOrderStatus as n } from "./index45.mjs";
2
- import { useCreateBrand as i, useDeleteBrand as p, useGetBrand as C, useListBrands as D, useUpdateBrand as c } from "./index46.mjs";
3
- import { useCreateProduct as G, useDeleteProduct as f, useGetProduct as m, useListProducts as v, useUpdateProduct as x } from "./index47.mjs";
4
- import { useCreateVariant as L, useDeleteVariant as S, useGetVariantInventory as U, useListProductVariants as O, useSearchVariants as V, useUpdateVariant as h } from "./index48.mjs";
5
- import { useCreateWarehouse as I, useDeleteWarehouse as P, useGetWarehouseInventory as A, useListWarehouses as W, useUpdateWarehouse as Z } from "./index49.mjs";
6
- import { useAdjustInventory as k, useGetInventoryTransactions as w, useGetLowStockVariants as T, useListInventory as j, useTransferInventory as E } from "./index50.mjs";
7
- import { useGetCustomerHistory as g } from "./index51.mjs";
8
- import { useGetStats as z } from "./index52.mjs";
9
- import { useCleanupExpiredCarts as J, useGetAbandonedCart as K, useGetAbandonedCartStats as M, useListAbandonedCarts as N } from "./index53.mjs";
10
- import { useBulkGenerateDiscountCodes as R, useCreateDiscountCode as X, useDeleteDiscountCode as Y, useGetDiscountCode as _, useGetDiscountCodeAnalytics as $, useGetDiscountCodeOverviewStats as ee, useListDiscountCodes as te, useUpdateDiscountCode as se } from "./index54.mjs";
11
- import { useCreateDeliveryZone as ue, useCreateState as oe, useDeleteDeliveryZone as ae, useDeleteState as ne, useListDeliveryZones as de, useListStates as ie, useUpdateDeliveryZone as pe, useUpdateState as Ce } from "./index55.mjs";
1
+ 'use client';
2
+ import { useCreateOrder as s, useDeleteOrder as r, useGetOrder as u, useListOrders as o, useUpdateOrder as a, useUpdateOrderStatus as n } from "./index44.mjs";
3
+ import { useCreateBrand as i, useDeleteBrand as p, useGetBrand as C, useListBrands as D, useUpdateBrand as c } from "./index45.mjs";
4
+ import { useCreateProduct as G, useDeleteProduct as f, useGetProduct as m, useListProducts as v, useUpdateProduct as x } from "./index46.mjs";
5
+ import { useCreateVariant as L, useDeleteVariant as S, useGetVariantInventory as U, useListProductVariants as O, useSearchVariants as V, useUpdateVariant as h } from "./index47.mjs";
6
+ import { useCreateWarehouse as I, useDeleteWarehouse as P, useGetWarehouseInventory as A, useListWarehouses as W, useUpdateWarehouse as Z } from "./index48.mjs";
7
+ import { useAdjustInventory as k, useGetInventoryTransactions as w, useGetLowStockVariants as T, useListInventory as j, useTransferInventory as E } from "./index49.mjs";
8
+ import { useGetCustomerHistory as g } from "./index50.mjs";
9
+ import { useGetStats as z } from "./index51.mjs";
10
+ import { useCleanupExpiredCarts as J, useGetAbandonedCart as K, useGetAbandonedCartStats as M, useListAbandonedCarts as N } from "./index52.mjs";
11
+ import { useBulkGenerateDiscountCodes as R, useCreateDiscountCode as X, useDeleteDiscountCode as Y, useGetDiscountCode as _, useGetDiscountCodeAnalytics as $, useGetDiscountCodeOverviewStats as ee, useListDiscountCodes as te, useUpdateDiscountCode as se } from "./index53.mjs";
12
+ import { useCreateDeliveryZone as ue, useCreateState as oe, useDeleteDeliveryZone as ae, useDeleteState as ne, useListDeliveryZones as de, useListStates as ie, useUpdateDeliveryZone as pe, useUpdateState as Ce } from "./index54.mjs";
12
13
  export {
13
14
  k as useAdjustInventory,
14
15
  R as useBulkGenerateDiscountCodes,
package/dist/index29.mjs CHANGED
@@ -1,5 +1,6 @@
1
+ 'use client';
1
2
  import { useQueryClient as s, useMutation as i } from "@tanstack/react-query";
2
- import { useQueryUnwrapped as o } from "./index61.mjs";
3
+ import { useQueryUnwrapped as o } from "./index59.mjs";
3
4
  import { queryKeys as r } from "./index26.mjs";
4
5
  import { updateCart as c, createCart as l, applyDiscount as y, removeDiscount as m, addCartItem as C, updateCartItem as p, removeCartItem as q, checkoutCart as d, fetchCart as f } from "./index23.mjs";
5
6
  function b(e, t) {
package/dist/index3.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as L, jsx as O } from "react/jsx-runtime";
2
3
  import { createContext as F, useState as v, useEffect as m, useCallback as o, useContext as G } from "react";
3
4
  import "./index18.mjs";
package/dist/index30.mjs CHANGED
@@ -1,5 +1,6 @@
1
+ 'use client';
1
2
  import { useMutation as t } from "@tanstack/react-query";
2
- import { useQueryUnwrapped as u } from "./index61.mjs";
3
+ import { useQueryUnwrapped as u } from "./index59.mjs";
3
4
  import { queryKeys as n } from "./index26.mjs";
4
5
  import { confirmOrder as i, fetchOrder as m } from "./index24.mjs";
5
6
  function y(e, r, o) {
package/dist/index31.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { useQueryUnwrapped as u } from "./index61.mjs";
1
+ 'use client';
2
+ import { useQueryUnwrapped as u } from "./index59.mjs";
2
3
  import { queryKeys as t } from "./index26.mjs";
3
4
  import { fetchProductsByBrand as o, fetchProductBySlug as c } from "./index22.mjs";
4
5
  function n(r, e) {
package/dist/index32.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { useQueryUnwrapped as o } from "./index61.mjs";
1
+ 'use client';
2
+ import { useQueryUnwrapped as o } from "./index59.mjs";
2
3
  import { queryKeys as i } from "./index26.mjs";
3
4
  import { fetchDeliveryZones as t } from "./index25.mjs";
4
5
  function p(e, r) {
package/dist/index33.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const c = "2348125648668", P = "0" + c.slice(3), s = `${P.slice(0, 4)} ${P.slice(4, 7)} ${P.slice(7)}`, t = `https://wa.me/${c}`;
2
3
  export {
3
4
  t as WHATSAPP_HELP_LINK,
package/dist/index34.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { p as S } from "./index56.mjs";
2
3
  import { t as U } from "./index57.mjs";
3
4
  import he from "./index58.mjs";
package/dist/index35.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const c = "data:image/svg+xml,%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20280.6%2050'%20style='enable-background:new%200%200%20280.6%2050;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%2300C3F7;}%20.st1{fill:%23011B33;}%20%3c/style%3e%3cg%3e%3cg%3e%3cpath%20class='st0'%20d='M39.9,4.8H2.3C1.1,4.8,0,5.8,0,7.1v4.2c0,1.3,1.1,2.4,2.3,2.4h37.6c1.3,0,2.3-1.1,2.4-2.4V7.2%20C42.3,5.8,41.2,4.8,39.9,4.8L39.9,4.8z%20M39.9,28.4H2.3c-0.6,0-1.2,0.3-1.7,0.7c-0.4,0.4-0.7,1-0.7,1.7V35c0,1.3,1.1,2.4,2.3,2.4%20h37.6c1.3,0,2.3-1,2.4-2.4v-4.2C42.3,29.4,41.2,28.4,39.9,28.4L39.9,28.4z%20M23.5,40.1H2.3c-0.6,0-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.8c0,0.4,0.2,0.8,0.4,1%20c0.3,0.3,0.6,0.4,1,0.4h5.3c0.4,0,0.7-0.2,1-0.4c0.3-0.3,0.4-0.6,0.4-1V27h1.5l6.2,9.6c0.4,0.7,1.1,1.1,1.8,1.1h5.9%20c0.9,0,1.3-0.4,1.4-0.8C280.7,36.4,280.6,35.8,280.3,35.3L280.3,35.3z%20M148.5,11.3h-5.9c-0.4,0-0.9,0.1-1.2,0.5%20c-0.3,0.3-0.5,0.6-0.5,1L136.5,29h-1.1l-4.7-16.3c-0.1-0.3-0.2-0.7-0.5-1c-0.3-0.3-0.7-0.5-1.1-0.5h-6.1c-0.8,0-1.3,0.3-1.5,0.8%20c-0.2,0.5-0.2,1,0,1.4l7.5,22.9c0.1,0.3,0.3,0.7,0.6,0.9c0.3,0.3,0.7,0.4,1.1,0.4h3.2l-0.3,0.7l-0.7,2.1c-0.2,0.6-0.6,1.2-1.2,1.7%20c-0.5,0.4-1.1,0.6-1.8,0.6c-0.5,0-1.1-0.1-1.6-0.3c-0.5-0.2-1-0.5-1.4-0.8c-0.4-0.3-0.9-0.4-1.3-0.4h-0.1c-0.6,0-1.1,0.3-1.3,0.8%20l-1.9,2.8c-0.8,1.2-0.3,2,0.2,2.4c1,0.9,2.2,1.6,3.5,2.1c1.4,0.5,2.9,0.7,4.5,0.7c2.7,0,5-0.7,6.7-2.2c1.8-1.6,3.1-3.7,3.8-6%20l8.7-28.3c0.2-0.5,0.2-1,0-1.5C149.7,11.6,149.3,11.3,148.5,11.3L148.5,11.3z%20M148.5,11.3'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
2
3
  export {
3
4
  c as default
package/dist/index36.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useState as c, useEffect as f, useCallback as k } from "react";
2
3
  function P({
3
4
  publicKey: d,
package/dist/index37.mjs CHANGED
@@ -1,5 +1,6 @@
1
+ 'use client';
1
2
  import * as l from "react";
2
- import { composeRefs as m } from "./index41.mjs";
3
+ import { composeRefs as m } from "./index55.mjs";
3
4
  import { jsx as u } from "react/jsx-runtime";
4
5
  // @__NO_SIDE_EFFECTS__
5
6
  function y(e) {
package/dist/index38.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { clsx as O } from "./index39.mjs";
2
3
  const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
3
4
  var s;
package/dist/index39.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function a(r) {
2
3
  var n, f, t = "";
3
4
  if (typeof r == "string" || typeof r == "number") t += r;
package/dist/index4.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as e, jsxs as r, Fragment as D } from "react/jsx-runtime";
2
3
  import { useState as O } from "react";
3
4
  import "./index18.mjs";
package/dist/index40.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const B = "-", oe = (e) => {
2
3
  const r = se(e), {
3
4
  conflictingClassGroups: t,
package/dist/index41.mjs CHANGED
@@ -1,25 +1,39 @@
1
- import "react";
2
- function i(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
6
- }
7
- function f(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = i(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : i(n[t], null);
19
- }
20
- };
21
- };
22
- }
1
+ 'use client';
2
+ import o from "./index42.mjs";
3
+ const {
4
+ Axios: e,
5
+ AxiosError: a,
6
+ CanceledError: s,
7
+ isCancel: t,
8
+ CancelToken: i,
9
+ VERSION: l,
10
+ all: n,
11
+ Cancel: d,
12
+ isAxiosError: x,
13
+ spread: C,
14
+ toFormData: c,
15
+ AxiosHeaders: m,
16
+ HttpStatusCode: p,
17
+ formToJSON: A,
18
+ getAdapter: f,
19
+ mergeConfig: E
20
+ } = o;
23
21
  export {
24
- f as composeRefs
22
+ e as Axios,
23
+ a as AxiosError,
24
+ m as AxiosHeaders,
25
+ d as Cancel,
26
+ i as CancelToken,
27
+ s as CanceledError,
28
+ p as HttpStatusCode,
29
+ l as VERSION,
30
+ n as all,
31
+ o as default,
32
+ A as formToJSON,
33
+ f as getAdapter,
34
+ x as isAxiosError,
35
+ t as isCancel,
36
+ E as mergeConfig,
37
+ C as spread,
38
+ c as toFormData
25
39
  };
package/dist/index42.mjs CHANGED
@@ -1,38 +1,47 @@
1
- import o from "./index43.mjs";
2
- const {
3
- Axios: e,
4
- AxiosError: a,
5
- CanceledError: s,
6
- isCancel: t,
7
- CancelToken: i,
8
- VERSION: l,
9
- all: n,
10
- Cancel: d,
11
- isAxiosError: x,
12
- spread: C,
13
- toFormData: c,
14
- AxiosHeaders: m,
15
- HttpStatusCode: p,
16
- formToJSON: A,
17
- getAdapter: f,
18
- mergeConfig: E
19
- } = o;
1
+ 'use client';
2
+ import a from "./index64.mjs";
3
+ import p from "./index65.mjs";
4
+ import m from "./index66.mjs";
5
+ import i from "./index67.mjs";
6
+ import f from "./index68.mjs";
7
+ import l from "./index69.mjs";
8
+ import c from "./index70.mjs";
9
+ import d from "./index71.mjs";
10
+ import u from "./index72.mjs";
11
+ import { VERSION as x } from "./index73.mjs";
12
+ import C from "./index74.mjs";
13
+ import A from "./index75.mjs";
14
+ import E from "./index76.mjs";
15
+ import O from "./index77.mjs";
16
+ import S from "./index78.mjs";
17
+ import H from "./index79.mjs";
18
+ import T from "./index80.mjs";
19
+ function n(o) {
20
+ const t = new m(o), e = p(m.prototype.request, t);
21
+ return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
22
+ return n(i(o, s));
23
+ }, e;
24
+ }
25
+ const r = n(f);
26
+ r.Axios = m;
27
+ r.CanceledError = c;
28
+ r.CancelToken = d;
29
+ r.isCancel = u;
30
+ r.VERSION = x;
31
+ r.toFormData = C;
32
+ r.AxiosError = A;
33
+ r.Cancel = r.CanceledError;
34
+ r.all = function(t) {
35
+ return Promise.all(t);
36
+ };
37
+ r.spread = E;
38
+ r.isAxiosError = O;
39
+ r.mergeConfig = i;
40
+ r.AxiosHeaders = S;
41
+ r.formToJSON = (o) => l(a.isHTMLForm(o) ? new FormData(o) : o);
42
+ r.getAdapter = H.getAdapter;
43
+ r.HttpStatusCode = T;
44
+ r.default = r;
20
45
  export {
21
- e as Axios,
22
- a as AxiosError,
23
- m as AxiosHeaders,
24
- d as Cancel,
25
- i as CancelToken,
26
- s as CanceledError,
27
- p as HttpStatusCode,
28
- l as VERSION,
29
- n as all,
30
- o as default,
31
- A as formToJSON,
32
- f as getAdapter,
33
- x as isAxiosError,
34
- t as isCancel,
35
- E as mergeConfig,
36
- C as spread,
37
- c as toFormData
46
+ r as default
38
47
  };