@instockng/storefront-ui 1.0.93 → 1.0.95

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 (160) hide show
  1. package/dist/components/AddOnsDiscountScreen.d.ts.map +1 -1
  2. package/dist/components/VariantPickerModal.d.ts +5 -0
  3. package/dist/components/VariantPickerModal.d.ts.map +1 -1
  4. package/dist/index100.mjs +74 -8
  5. package/dist/index101.mjs +3 -74
  6. package/dist/index102.mjs +2 -4
  7. package/dist/index103.mjs +83 -2
  8. package/dist/index104.mjs +52 -81
  9. package/dist/index105.mjs +5 -53
  10. package/dist/index106.mjs +4 -5
  11. package/dist/index107.mjs +178 -4
  12. package/dist/index108.mjs +48 -174
  13. package/dist/index109.mjs +67 -51
  14. package/dist/index110.mjs +2 -69
  15. package/dist/index111.mjs +28 -2
  16. package/dist/index112.mjs +16 -26
  17. package/dist/index113.mjs +210 -13
  18. package/dist/index114.mjs +158 -193
  19. package/dist/index115.mjs +17 -175
  20. package/dist/index116.mjs +15 -14
  21. package/dist/index117.mjs +25 -15
  22. package/dist/index118.mjs +150 -27
  23. package/dist/index119.mjs +15 -151
  24. package/dist/index120.mjs +24 -13
  25. package/dist/index121.mjs +75 -22
  26. package/dist/index122.mjs +30 -76
  27. package/dist/index123.mjs +139 -32
  28. package/dist/index124.mjs +45 -135
  29. package/dist/index125.mjs +19 -51
  30. package/dist/index126.mjs +19 -15
  31. package/dist/index127.mjs +17 -21
  32. package/dist/index128.mjs +18 -16
  33. package/dist/index129.mjs +13 -17
  34. package/dist/index13.mjs +52 -51
  35. package/dist/index130.mjs +14 -13
  36. package/dist/index131.mjs +12 -13
  37. package/dist/index132.mjs +58 -14
  38. package/dist/index133.mjs +10 -57
  39. package/dist/index134.mjs +32 -11
  40. package/dist/index135.mjs +17 -32
  41. package/dist/index136.mjs +27 -17
  42. package/dist/index137.mjs +19 -26
  43. package/dist/index138.mjs +12 -20
  44. package/dist/index139.mjs +14 -12
  45. package/dist/index140.mjs +40 -14
  46. package/dist/index141.mjs +16 -40
  47. package/dist/index142.mjs +261 -16
  48. package/dist/index143.mjs +64 -262
  49. package/dist/index144.mjs +7 -69
  50. package/dist/index145.mjs +2 -8
  51. package/dist/index146.mjs +2 -2
  52. package/dist/index147.mjs +33 -2
  53. package/dist/index148.mjs +2 -33
  54. package/dist/index149.mjs +2 -2
  55. package/dist/index154.mjs +1 -1
  56. package/dist/index155.mjs +1 -1
  57. package/dist/index156.mjs +1 -1
  58. package/dist/index157.mjs +1 -1
  59. package/dist/index158.mjs +1 -1
  60. package/dist/index160.mjs +1 -1
  61. package/dist/index161.mjs +1 -1
  62. package/dist/index163.mjs +3 -3
  63. package/dist/index164.mjs +1 -1
  64. package/dist/index169.mjs +2 -2
  65. package/dist/index171.mjs +1 -1
  66. package/dist/index173.mjs +2 -2
  67. package/dist/index174.mjs +5 -5
  68. package/dist/index177.mjs +1 -1
  69. package/dist/index18.mjs +84 -82
  70. package/dist/index180.mjs +1 -1
  71. package/dist/index183.mjs +3 -3
  72. package/dist/index184.mjs +1 -1
  73. package/dist/index188.mjs +2 -2
  74. package/dist/index190.mjs +2 -2
  75. package/dist/index194.mjs +1 -1
  76. package/dist/index196.mjs +2 -2
  77. package/dist/index205.mjs +2 -2
  78. package/dist/index209.mjs +1 -1
  79. package/dist/index210.mjs +1 -1
  80. package/dist/index211.mjs +5 -5
  81. package/dist/index213.mjs +2 -2
  82. package/dist/index215.mjs +2 -2
  83. package/dist/index217.mjs +1 -1
  84. package/dist/index219.mjs +4 -4
  85. package/dist/index220.mjs +3 -3
  86. package/dist/index221.mjs +2 -2
  87. package/dist/index222.mjs +2 -108
  88. package/dist/index223.mjs +2 -2
  89. package/dist/index224.mjs +2 -2
  90. package/dist/index225.mjs +108 -2
  91. package/dist/index226.mjs +2 -2
  92. package/dist/index228.mjs +37 -2
  93. package/dist/index229.mjs +2 -2
  94. package/dist/index230.mjs +2 -37
  95. package/dist/index231.mjs +2 -2
  96. package/dist/index232.mjs +2 -244
  97. package/dist/index233.mjs +2 -2
  98. package/dist/index234.mjs +2 -33
  99. package/dist/index235.mjs +240 -61
  100. package/dist/index236.mjs +2 -25
  101. package/dist/index237.mjs +33 -2
  102. package/dist/index238.mjs +65 -2
  103. package/dist/index239.mjs +25 -2
  104. package/dist/index240.mjs +2 -2
  105. package/dist/index241.mjs +2 -2
  106. package/dist/index242.mjs +2 -2
  107. package/dist/index244.mjs +2 -2
  108. package/dist/index245.mjs +2 -2
  109. package/dist/index246.mjs +2 -2
  110. package/dist/index247.mjs +4 -2
  111. package/dist/index250.mjs +2 -2
  112. package/dist/index251.mjs +2 -4
  113. package/dist/index254.mjs +1 -1
  114. package/dist/index255.mjs +3 -3
  115. package/dist/index258.mjs +1 -1
  116. package/dist/index260.mjs +1 -1
  117. package/dist/index261.mjs +3 -3
  118. package/dist/index262.mjs +3 -3
  119. package/dist/index280.mjs +1 -1
  120. package/dist/index40.mjs +1 -1
  121. package/dist/index41.mjs +1 -1
  122. package/dist/index42.mjs +1 -1
  123. package/dist/index43.mjs +1 -1
  124. package/dist/index44.mjs +1 -1
  125. package/dist/index51.mjs +3 -3
  126. package/dist/index55.mjs +1 -1
  127. package/dist/index60.mjs +17 -17
  128. package/dist/index62.mjs +1 -1
  129. package/dist/index63.mjs +1 -1
  130. package/dist/index64.mjs +1 -1
  131. package/dist/index65.mjs +1 -1
  132. package/dist/index66.mjs +1 -1
  133. package/dist/index67.mjs +1 -1
  134. package/dist/index68.mjs +1 -1
  135. package/dist/index69.mjs +1 -1
  136. package/dist/index70.mjs +1 -1
  137. package/dist/index71.mjs +1 -1
  138. package/dist/index72.mjs +1 -1
  139. package/dist/index73.mjs +1 -1
  140. package/dist/index74.mjs +1 -1
  141. package/dist/index75.mjs +1 -1
  142. package/dist/index79.mjs +4 -22
  143. package/dist/index80.mjs +21 -73
  144. package/dist/index81.mjs +74 -14
  145. package/dist/index82.mjs +14 -62
  146. package/dist/index83.mjs +62 -4
  147. package/dist/index86.mjs +35 -35
  148. package/dist/index87.mjs +1 -1
  149. package/dist/index88.mjs +2 -2
  150. package/dist/index89.mjs +1 -1
  151. package/dist/index93.mjs +235 -2
  152. package/dist/index94.mjs +4 -233
  153. package/dist/index95.mjs +133 -5
  154. package/dist/index96.mjs +63 -129
  155. package/dist/index97.mjs +86 -67
  156. package/dist/index98.mjs +27 -85
  157. package/dist/index99.mjs +8 -28
  158. package/package.json +1 -1
  159. package/src/components/AddOnsDiscountScreen.tsx +13 -6
  160. package/src/components/VariantPickerModal.tsx +20 -8
package/dist/index238.mjs CHANGED
@@ -1,5 +1,68 @@
1
1
  'use client';
2
- var r = {};
2
+ import { __module as e } from "./index270.mjs";
3
+ var o;
4
+ function X() {
5
+ return o ? e.exports : (o = 1, function(c, E) {
6
+ Object.defineProperty(E, "__esModule", {
7
+ value: !0
8
+ });
9
+ function N(O, u) {
10
+ for (var T in u) Object.defineProperty(O, T, {
11
+ enumerable: !0,
12
+ get: u[T]
13
+ });
14
+ }
15
+ N(E, {
16
+ ACTION_HEADER: function() {
17
+ return f;
18
+ },
19
+ FLIGHT_HEADERS: function() {
20
+ return A;
21
+ },
22
+ NEXT_DID_POSTPONE_HEADER: function() {
23
+ return S;
24
+ },
25
+ NEXT_HMR_REFRESH_HEADER: function() {
26
+ return r;
27
+ },
28
+ NEXT_IS_PRERENDER_HEADER: function() {
29
+ return d;
30
+ },
31
+ NEXT_ROUTER_PREFETCH_HEADER: function() {
32
+ return n;
33
+ },
34
+ NEXT_ROUTER_SEGMENT_PREFETCH_HEADER: function() {
35
+ return R;
36
+ },
37
+ NEXT_ROUTER_STALE_TIME_HEADER: function() {
38
+ return s;
39
+ },
40
+ NEXT_ROUTER_STATE_TREE_HEADER: function() {
41
+ return _;
42
+ },
43
+ NEXT_RSC_UNION_QUERY: function() {
44
+ return D;
45
+ },
46
+ NEXT_URL: function() {
47
+ return H;
48
+ },
49
+ RSC_CONTENT_TYPE_HEADER: function() {
50
+ return i;
51
+ },
52
+ RSC_HEADER: function() {
53
+ return t;
54
+ }
55
+ });
56
+ const t = "RSC", f = "Next-Action", _ = "Next-Router-State-Tree", n = "Next-Router-Prefetch", R = "Next-Router-Segment-Prefetch", r = "Next-HMR-Refresh", H = "Next-Url", i = "text/x-component", A = [
57
+ t,
58
+ _,
59
+ n,
60
+ r,
61
+ R
62
+ ], D = "_rsc", s = "x-nextjs-stale-time", S = "x-nextjs-postponed", d = "x-nextjs-prerender";
63
+ (typeof E.default == "function" || typeof E.default == "object" && E.default !== null) && typeof E.default.__esModule > "u" && (Object.defineProperty(E.default, "__esModule", { value: !0 }), Object.assign(E.default, E), c.exports = E.default);
64
+ }(e, e.exports), e.exports);
65
+ }
3
66
  export {
4
- r as __exports
67
+ X as __require
5
68
  };
package/dist/index239.mjs CHANGED
@@ -1,5 +1,28 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __exports as r } from "./index271.mjs";
3
+ import { __require as a } from "./index272.mjs";
4
+ var t;
5
+ function k() {
6
+ return t ? r : (t = 1, function(o) {
7
+ Object.defineProperty(o, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(o, "getCookieParser", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return i;
13
+ }
14
+ });
15
+ function i(n) {
16
+ return function() {
17
+ const { cookie: e } = n;
18
+ if (!e)
19
+ return {};
20
+ const { parse: u } = a();
21
+ return u(Array.isArray(e) ? e.join("; ") : e);
22
+ };
23
+ }
24
+ }(r), r);
25
+ }
3
26
  export {
4
- e as __exports
27
+ k as __require
5
28
  };
package/dist/index240.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var r = { exports: {} };
2
+ var e = {};
3
3
  export {
4
- r as __module
4
+ e as __exports
5
5
  };
package/dist/index241.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var a = { exports: {} };
3
3
  export {
4
- e as __exports
4
+ a as __module
5
5
  };
package/dist/index242.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var a = { exports: {} };
2
+ var a = {};
3
3
  export {
4
- a as __module
4
+ a as __exports
5
5
  };
package/dist/index244.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var a = {};
2
+ var e = {};
3
3
  export {
4
- a as __exports
4
+ e as __exports
5
5
  };
package/dist/index245.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var a = {};
2
+ var e = {};
3
3
  export {
4
- a as __exports
4
+ e as __exports
5
5
  };
package/dist/index246.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = {};
2
+ var e = { exports: {} };
3
3
  export {
4
- e as __exports
4
+ e as __module
5
5
  };
package/dist/index247.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  'use client';
2
- var a = {};
2
+ import * as e from "./index273.mjs";
3
+ import { getAugmentedNamespace as r } from "./index76.mjs";
4
+ const o = /* @__PURE__ */ r(e);
3
5
  export {
4
- a as __exports
6
+ o as default
5
7
  };
package/dist/index250.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- var e = { exports: {} };
2
+ var a = {};
3
3
  export {
4
- e as __module
4
+ a as __exports
5
5
  };
package/dist/index251.mjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use client';
2
- import * as e from "./index273.mjs";
3
- import { getAugmentedNamespace as r } from "./index76.mjs";
4
- const o = /* @__PURE__ */ r(e);
2
+ var a = {};
5
3
  export {
6
- o as default
4
+ a as __exports
7
5
  };
package/dist/index254.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import p from "./index104.mjs";
2
+ import p from "./index103.mjs";
3
3
  function i(n) {
4
4
  const t = {
5
5
  "!": "%21",
package/dist/index255.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import i from "./index94.mjs";
3
- import m from "./index98.mjs";
4
- import s from "./index108.mjs";
2
+ import i from "./index93.mjs";
3
+ import m from "./index97.mjs";
4
+ import s from "./index107.mjs";
5
5
  function h(f, t) {
6
6
  const o = this || m, r = t || o, n = s.from(r.headers);
7
7
  let a = r.data;
package/dist/index258.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import a from "./index105.mjs";
2
+ import a from "./index104.mjs";
3
3
  function E(i, f, t) {
4
4
  const u = t.config.validateStatus;
5
5
  !t.status || !u || u(t.status) ? i(t) : f(new a(
package/dist/index260.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import i from "./index277.mjs";
3
3
  import m from "./index278.mjs";
4
- import f from "./index94.mjs";
4
+ import f from "./index93.mjs";
5
5
  const h = (t, o, a = 3) => {
6
6
  let r = 0;
7
7
  const c = i(50, 250);
package/dist/index261.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
  import n from "./index216.mjs";
3
- import m from "./index94.mjs";
3
+ import m from "./index93.mjs";
4
4
  import c from "./index279.mjs";
5
5
  import h from "./index280.mjs";
6
6
  import w from "./index212.mjs";
7
- import b from "./index97.mjs";
8
- import C from "./index108.mjs";
7
+ import b from "./index96.mjs";
8
+ import C from "./index107.mjs";
9
9
  import g from "./index209.mjs";
10
10
  const E = (a) => {
11
11
  const e = b({}, a);
package/dist/index262.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import a from "./index100.mjs";
3
- import s from "./index105.mjs";
4
- import m from "./index94.mjs";
2
+ import a from "./index99.mjs";
3
+ import s from "./index104.mjs";
4
+ import m from "./index93.mjs";
5
5
  const h = (e, t) => {
6
6
  const { length: l } = e = e ? e.filter(Boolean) : [];
7
7
  if (t || l) {
package/dist/index280.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import r from "./index94.mjs";
2
+ import r from "./index93.mjs";
3
3
  import c from "./index216.mjs";
4
4
  const p = c.hasStandardBrowserEnv ? (
5
5
  // Standard browser envs support document.cookie
package/dist/index40.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as s, useMutation as r } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as c } from "./index83.mjs";
3
+ import { useQueryUnwrapped as c } from "./index79.mjs";
4
4
  import { queryKeys as i } from "./index37.mjs";
5
5
  import { updateCart as a, createCart as l, applyDiscount as y, removeDiscount as m, addCartItem as p, updateCartItem as C, removeCartItem as f, checkoutCart as q, initiateCheckout as d, fetchCart as b, fetchCartRecommendations as K, fetchCartUpsellAddons as v } from "./index33.mjs";
6
6
  function U(e, t) {
package/dist/index41.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as t } from "./index83.mjs";
2
+ import { useQueryUnwrapped as t } from "./index79.mjs";
3
3
  import { queryKeys as u } from "./index37.mjs";
4
4
  import { fetchBrandBySlug as n } from "./index36.mjs";
5
5
  function i(r, e) {
package/dist/index42.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as u } from "./index83.mjs";
2
+ import { useQueryUnwrapped as u } from "./index79.mjs";
3
3
  import { queryKeys as t } from "./index37.mjs";
4
4
  import { fetchProductsByBrand as c, fetchProductBySlug as n, fetchProductAddons as d, fetchProductRecommendations as y } from "./index32.mjs";
5
5
  function f(e, r) {
package/dist/index43.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useMutation as o } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as u } from "./index83.mjs";
3
+ import { useQueryUnwrapped as u } from "./index79.mjs";
4
4
  import { queryKeys as t } from "./index37.mjs";
5
5
  import { confirmOrder as s, confirmDelivery as m, updateDeliveryAddress as d, fetchOrder as c, fetchOrderRecommendations as f } from "./index34.mjs";
6
6
  function q(r, e, n) {
package/dist/index44.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as o } from "./index83.mjs";
2
+ import { useQueryUnwrapped as o } from "./index79.mjs";
3
3
  import { queryKeys as i } from "./index37.mjs";
4
4
  import { fetchDeliveryZones as t } from "./index35.mjs";
5
5
  function p(e, r) {
package/dist/index51.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { p as S } from "./index80.mjs";
3
- import { t as U } from "./index81.mjs";
4
- import he from "./index82.mjs";
2
+ import { p as S } from "./index81.mjs";
3
+ import { t as U } from "./index82.mjs";
4
+ import he from "./index83.mjs";
5
5
  const fe = Object.prototype.toString, de = Error.prototype.toString, pe = RegExp.prototype.toString, me = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", ye = /^Symbol\((.*)\)(.*)$/;
6
6
  function ge(n) {
7
7
  return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
package/dist/index55.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import * as l from "react";
3
- import { composeRefs as m } from "./index79.mjs";
3
+ import { composeRefs as m } from "./index80.mjs";
4
4
  import { jsx as u } from "react/jsx-runtime";
5
5
  // @__NO_SIDE_EFFECTS__
6
6
  function y(e) {
package/dist/index60.mjs CHANGED
@@ -1,21 +1,21 @@
1
1
  'use client';
2
- import a from "./index94.mjs";
3
- import p from "./index95.mjs";
4
- import m from "./index96.mjs";
5
- import i from "./index97.mjs";
6
- import f from "./index98.mjs";
7
- import l from "./index99.mjs";
8
- import c from "./index100.mjs";
9
- import d from "./index101.mjs";
10
- import u from "./index102.mjs";
11
- import { VERSION as x } from "./index103.mjs";
12
- import C from "./index104.mjs";
13
- import A from "./index105.mjs";
14
- import E from "./index106.mjs";
15
- import O from "./index107.mjs";
16
- import S from "./index108.mjs";
17
- import H from "./index109.mjs";
18
- import T from "./index110.mjs";
2
+ import a from "./index93.mjs";
3
+ import p from "./index94.mjs";
4
+ import m from "./index95.mjs";
5
+ import i from "./index96.mjs";
6
+ import f from "./index97.mjs";
7
+ import l from "./index98.mjs";
8
+ import c from "./index99.mjs";
9
+ import d from "./index100.mjs";
10
+ import u from "./index101.mjs";
11
+ import { VERSION as x } from "./index102.mjs";
12
+ import C from "./index103.mjs";
13
+ import A from "./index104.mjs";
14
+ import E from "./index105.mjs";
15
+ import O from "./index106.mjs";
16
+ import S from "./index107.mjs";
17
+ import H from "./index108.mjs";
18
+ import T from "./index109.mjs";
19
19
  function n(o) {
20
20
  const t = new m(o), e = p(m.prototype.request, t);
21
21
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index62.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as m, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as b } from "./index83.mjs";
3
+ import { useQueryUnwrapped as b } from "./index79.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as d } from "./index31.mjs";
5
5
  import { queryKeys as u } from "./index37.mjs";
6
6
  import { useApiConfig as l } from "./index29.mjs";
package/dist/index63.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as n } from "./index83.mjs";
2
+ import { useQueryUnwrapped as n } from "./index79.mjs";
3
3
  import { createAdminRpcClients as u, authHeaders as a } from "./index31.mjs";
4
4
  import { queryKeys as c } from "./index37.mjs";
5
5
  import { useApiConfig as m } from "./index29.mjs";
package/dist/index64.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as v, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index83.mjs";
3
+ import { useQueryUnwrapped as m } from "./index79.mjs";
4
4
  import { createAdminRpcClients as l, authHeaders as c } from "./index31.mjs";
5
5
  import { queryKeys as a } from "./index37.mjs";
6
6
  import { useApiConfig as d } from "./index29.mjs";
package/dist/index65.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as C } from "./index83.mjs";
3
+ import { useQueryUnwrapped as C } from "./index79.mjs";
4
4
  import { createAdminRpcClients as a, authHeaders as d } from "./index31.mjs";
5
5
  import { queryKeys as r } from "./index37.mjs";
6
6
  import { useApiConfig as l } from "./index29.mjs";
package/dist/index66.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as w, useMutation as v } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as d } from "./index83.mjs";
3
+ import { useQueryUnwrapped as d } from "./index79.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as y } from "./index31.mjs";
5
5
  import { queryKeys as i } from "./index37.mjs";
6
6
  import { useApiConfig as l } from "./index29.mjs";
package/dist/index67.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as m, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as k } from "./index83.mjs";
3
+ import { useQueryUnwrapped as k } from "./index79.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as l } from "./index31.mjs";
5
5
  import { queryKeys as u } from "./index37.mjs";
6
6
  import { useApiConfig as y } from "./index29.mjs";
package/dist/index68.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index83.mjs";
3
+ import { useQueryUnwrapped as m } from "./index79.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as l } from "./index31.mjs";
5
5
  import { queryKeys as i } from "./index37.mjs";
6
6
  import { useApiConfig as p } from "./index29.mjs";
package/dist/index69.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as s } from "./index83.mjs";
2
+ import { useQueryUnwrapped as s } from "./index79.mjs";
3
3
  import { createAdminRpcClients as u, authHeaders as c } from "./index31.mjs";
4
4
  import { queryKeys as d } from "./index37.mjs";
5
5
  import { useApiConfig as y } from "./index29.mjs";
package/dist/index70.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as m, useMutation as w } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as p } from "./index83.mjs";
3
+ import { useQueryUnwrapped as p } from "./index79.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as d } from "./index31.mjs";
5
5
  import { queryKeys as o } from "./index37.mjs";
6
6
  import { useApiConfig as l } from "./index29.mjs";
package/dist/index71.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as d } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as m } from "./index83.mjs";
3
+ import { useQueryUnwrapped as m } from "./index79.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as l } from "./index31.mjs";
5
5
  import { queryKeys as u } from "./index37.mjs";
6
6
  import { useApiConfig as w } from "./index29.mjs";
package/dist/index72.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as y, useMutation as b } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as l } from "./index83.mjs";
3
+ import { useQueryUnwrapped as l } from "./index79.mjs";
4
4
  import { createAdminRpcClients as r, authHeaders as i } from "./index31.mjs";
5
5
  import { queryKeys as u } from "./index37.mjs";
6
6
  import { useApiConfig as d } from "./index29.mjs";
package/dist/index73.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as m, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as w } from "./index83.mjs";
3
+ import { useQueryUnwrapped as w } from "./index79.mjs";
4
4
  import { createAdminRpcClients as l, authHeaders as f } from "./index31.mjs";
5
5
  import { queryKeys as c } from "./index37.mjs";
6
6
  import { useApiConfig as d } from "./index29.mjs";
package/dist/index74.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as p, useMutation as f } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as q } from "./index83.mjs";
3
+ import { useQueryUnwrapped as q } from "./index79.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as y } from "./index31.mjs";
5
5
  import { queryKeys as n } from "./index37.mjs";
6
6
  import { useApiConfig as m } from "./index29.mjs";
package/dist/index75.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as m, useMutation as y } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as w } from "./index83.mjs";
3
+ import { useQueryUnwrapped as w } from "./index79.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as d } from "./index31.mjs";
5
5
  import { queryKeys as l } from "./index37.mjs";
6
6
  import { useApiConfig as h } from "./index29.mjs";
package/dist/index79.mjs CHANGED
@@ -1,26 +1,8 @@
1
1
  'use client';
2
- import "react";
3
- function i(n, o) {
4
- if (typeof n == "function")
5
- return n(o);
6
- n != null && (n.current = o);
7
- }
8
- function f(...n) {
9
- return (o) => {
10
- let u = !1;
11
- const c = n.map((t) => {
12
- const e = i(t, o);
13
- return !u && typeof e == "function" && (u = !0), e;
14
- });
15
- if (u)
16
- return () => {
17
- for (let t = 0; t < c.length; t++) {
18
- const e = c[t];
19
- typeof e == "function" ? e() : i(n[t], null);
20
- }
21
- };
22
- };
2
+ import { useQuery as e } from "@tanstack/react-query";
3
+ function n(r) {
4
+ return e(r);
23
5
  }
24
6
  export {
25
- f as composeRefs
7
+ n as useQueryUnwrapped
26
8
  };
package/dist/index80.mjs CHANGED
@@ -1,78 +1,26 @@
1
1
  'use client';
2
- function c(e) {
3
- this._maxSize = e, this.clear();
4
- }
5
- c.prototype.clear = function() {
6
- this._size = 0, this._values = /* @__PURE__ */ Object.create(null);
7
- };
8
- c.prototype.get = function(e) {
9
- return this._values[e];
10
- };
11
- c.prototype.set = function(e, t) {
12
- return this._size >= this._maxSize && this.clear(), e in this._values || this._size++, this._values[e] = t;
13
- };
14
- var d = /[^.^\]^[]+|(?=\[\]|\.\.)/g, C = /^\d+$/, m = /^\d/, A = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, x = /^\s*(['"]?)(.*?)(\1)\s*$/, h = 512, E = new c(h), v = new c(h), g = new c(h), I = {
15
- Cache: c,
16
- split: l,
17
- normalizePath: f,
18
- setter: function(e) {
19
- var t = f(e);
20
- return v.get(e) || v.set(e, function(s, n) {
21
- for (var r = 0, o = t.length, u = s; r < o - 1; ) {
22
- var a = t[r];
23
- if (a === "__proto__" || a === "constructor" || a === "prototype")
24
- return s;
25
- u = u[t[r++]];
26
- }
27
- u[t[r]] = n;
28
- });
29
- },
30
- getter: function(e, t) {
31
- var i = f(e);
32
- return g.get(e) || g.set(e, function(n) {
33
- for (var r = 0, o = i.length; r < o; )
34
- if (n != null || !t) n = n[i[r++]];
35
- else return;
36
- return n;
2
+ import "react";
3
+ function i(n, o) {
4
+ if (typeof n == "function")
5
+ return n(o);
6
+ n != null && (n.current = o);
7
+ }
8
+ function f(...n) {
9
+ return (o) => {
10
+ let u = !1;
11
+ const c = n.map((t) => {
12
+ const e = i(t, o);
13
+ return !u && typeof e == "function" && (u = !0), e;
37
14
  });
38
- },
39
- join: function(e) {
40
- return e.reduce(function(t, i) {
41
- return t + (_(i) || C.test(i) ? "[" + i + "]" : (t ? "." : "") + i);
42
- }, "");
43
- },
44
- forEach: function(e, t, i) {
45
- y(Array.isArray(e) ? e : l(e), t, i);
46
- }
47
- };
48
- function f(e) {
49
- return E.get(e) || E.set(
50
- e,
51
- l(e).map(function(t) {
52
- return t.replace(x, "$2");
53
- })
54
- );
55
- }
56
- function l(e) {
57
- return e.match(d) || [""];
58
- }
59
- function y(e, t, i) {
60
- var s = e.length, n, r, o, u;
61
- for (r = 0; r < s; r++)
62
- n = e[r], n && (S(n) && (n = '"' + n + '"'), u = _(n), o = !u && /^\d+$/.test(n), t.call(i, n, u, o, r, e));
63
- }
64
- function _(e) {
65
- return typeof e == "string" && e && ["'", '"'].indexOf(e.charAt(0)) !== -1;
66
- }
67
- function z(e) {
68
- return e.match(m) && !e.match(C);
69
- }
70
- function G(e) {
71
- return A.test(e);
72
- }
73
- function S(e) {
74
- return !_(e) && (z(e) || G(e));
15
+ if (u)
16
+ return () => {
17
+ for (let t = 0; t < c.length; t++) {
18
+ const e = c[t];
19
+ typeof e == "function" ? e() : i(n[t], null);
20
+ }
21
+ };
22
+ };
75
23
  }
76
24
  export {
77
- I as p
25
+ f as composeRefs
78
26
  };