@instockng/storefront-ui 1.0.111 → 1.0.112

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 (137) hide show
  1. package/dist/components/AssistantDrawer.d.ts.map +1 -1
  2. package/dist/index100.mjs +28 -8
  3. package/dist/index101.mjs +8 -74
  4. package/dist/index102.mjs +74 -3
  5. package/dist/index103.mjs +4 -2
  6. package/dist/index104.mjs +2 -83
  7. package/dist/index105.mjs +81 -52
  8. package/dist/index106.mjs +53 -5
  9. package/dist/index107.mjs +5 -4
  10. package/dist/index108.mjs +4 -178
  11. package/dist/index109.mjs +174 -48
  12. package/dist/index110.mjs +51 -67
  13. package/dist/index111.mjs +69 -37
  14. package/dist/index112.mjs +34 -40
  15. package/dist/index113.mjs +43 -2
  16. package/dist/index153.mjs +2 -2
  17. package/dist/index154.mjs +1 -1
  18. package/dist/index155.mjs +6 -6
  19. package/dist/index156.mjs +2 -2
  20. package/dist/index157.mjs +2 -2
  21. package/dist/index159.mjs +2 -2
  22. package/dist/index160.mjs +2 -2
  23. package/dist/index161.mjs +1 -1
  24. package/dist/index163.mjs +8 -8
  25. package/dist/index164.mjs +8 -8
  26. package/dist/index169.mjs +1 -1
  27. package/dist/index170.mjs +1 -1
  28. package/dist/index171.mjs +1 -1
  29. package/dist/index172.mjs +1 -1
  30. package/dist/index173.mjs +1 -1
  31. package/dist/index175.mjs +1 -1
  32. package/dist/index176.mjs +1 -1
  33. package/dist/index178.mjs +2 -2
  34. package/dist/index179.mjs +1 -1
  35. package/dist/index184.mjs +2 -2
  36. package/dist/index186.mjs +1 -1
  37. package/dist/index188.mjs +2 -2
  38. package/dist/index189.mjs +5 -5
  39. package/dist/index192.mjs +1 -1
  40. package/dist/index195.mjs +1 -1
  41. package/dist/index198.mjs +1 -1
  42. package/dist/index199.mjs +1 -1
  43. package/dist/index203.mjs +1 -1
  44. package/dist/index205.mjs +1 -1
  45. package/dist/index209.mjs +1 -1
  46. package/dist/index211.mjs +1 -1
  47. package/dist/index22.mjs +73 -69
  48. package/dist/index220.mjs +2 -2
  49. package/dist/index222.mjs +1 -1
  50. package/dist/index223.mjs +1 -1
  51. package/dist/index224.mjs +2 -31
  52. package/dist/index225.mjs +2 -11
  53. package/dist/index226.mjs +2 -4
  54. package/dist/index227.mjs +2 -4
  55. package/dist/index228.mjs +2 -13
  56. package/dist/index229.mjs +2 -7
  57. package/dist/index230.mjs +107 -11
  58. package/dist/index231.mjs +2 -5
  59. package/dist/index232.mjs +2 -33
  60. package/dist/index233.mjs +2 -31
  61. package/dist/index234.mjs +2 -28
  62. package/dist/index235.mjs +34 -58
  63. package/dist/index236.mjs +2 -2
  64. package/dist/index237.mjs +244 -2
  65. package/dist/index238.mjs +2 -2
  66. package/dist/index239.mjs +33 -2
  67. package/dist/index240.mjs +65 -2
  68. package/dist/index241.mjs +25 -2
  69. package/dist/index242.mjs +2 -2
  70. package/dist/index243.mjs +2 -2
  71. package/dist/index244.mjs +2 -108
  72. package/dist/index245.mjs +2 -2
  73. package/dist/index246.mjs +2 -2
  74. package/dist/index247.mjs +2 -37
  75. package/dist/index248.mjs +2 -2
  76. package/dist/index249.mjs +2 -2
  77. package/dist/index250.mjs +2 -2
  78. package/dist/index251.mjs +2 -244
  79. package/dist/index253.mjs +30 -32
  80. package/dist/index254.mjs +10 -64
  81. package/dist/index255.mjs +3 -24
  82. package/dist/index256.mjs +4 -2
  83. package/dist/index257.mjs +2 -2
  84. package/dist/index258.mjs +4 -2
  85. package/dist/index259.mjs +13 -2
  86. package/dist/index260.mjs +7 -2
  87. package/dist/index261.mjs +12 -2
  88. package/dist/index262.mjs +5 -2
  89. package/dist/index263.mjs +33 -2
  90. package/dist/index264.mjs +31 -4
  91. package/dist/index265.mjs +28 -2
  92. package/dist/index266.mjs +61 -2
  93. package/dist/index267.mjs +2 -2
  94. package/dist/index268.mjs +2 -18
  95. package/dist/index269.mjs +13 -42
  96. package/dist/index270.mjs +47 -2
  97. package/dist/index276.mjs +1 -2
  98. package/dist/index277.mjs +3 -2
  99. package/dist/index278.mjs +2 -2
  100. package/dist/index279.mjs +2 -2
  101. package/dist/index283.mjs +1 -1
  102. package/dist/index43.mjs +1 -1
  103. package/dist/index44.mjs +1 -1
  104. package/dist/index45.mjs +1 -1
  105. package/dist/index46.mjs +1 -1
  106. package/dist/index47.mjs +1 -1
  107. package/dist/index54.mjs +3 -3
  108. package/dist/index58.mjs +1 -1
  109. package/dist/index63.mjs +17 -17
  110. package/dist/index64.mjs +2 -2
  111. package/dist/index65.mjs +1 -1
  112. package/dist/index66.mjs +1 -1
  113. package/dist/index67.mjs +1 -1
  114. package/dist/index68.mjs +1 -1
  115. package/dist/index69.mjs +1 -1
  116. package/dist/index70.mjs +1 -1
  117. package/dist/index71.mjs +1 -1
  118. package/dist/index72.mjs +1 -1
  119. package/dist/index73.mjs +1 -1
  120. package/dist/index74.mjs +1 -1
  121. package/dist/index75.mjs +1 -1
  122. package/dist/index76.mjs +1 -1
  123. package/dist/index77.mjs +1 -1
  124. package/dist/index78.mjs +1 -1
  125. package/dist/index82.mjs +22 -4
  126. package/dist/index83.mjs +73 -21
  127. package/dist/index84.mjs +14 -74
  128. package/dist/index85.mjs +62 -14
  129. package/dist/index86.mjs +4 -62
  130. package/dist/index94.mjs +2 -235
  131. package/dist/index95.mjs +233 -4
  132. package/dist/index96.mjs +5 -133
  133. package/dist/index97.mjs +129 -63
  134. package/dist/index98.mjs +67 -86
  135. package/dist/index99.mjs +85 -27
  136. package/package.json +1 -1
  137. package/src/components/AssistantDrawer.tsx +3 -1
package/dist/index264.mjs CHANGED
@@ -1,7 +1,34 @@
1
1
  'use client';
2
- import * as e from "./index279.mjs";
3
- import { getAugmentedNamespace as r } from "./index79.mjs";
4
- const o = /* @__PURE__ */ r(e);
2
+ import n from "./index160.mjs";
3
+ import m from "./index95.mjs";
4
+ import c from "./index282.mjs";
5
+ import h from "./index283.mjs";
6
+ import w from "./index156.mjs";
7
+ import b from "./index98.mjs";
8
+ import C from "./index109.mjs";
9
+ import g from "./index153.mjs";
10
+ const E = (a) => {
11
+ const e = b({}, a);
12
+ let { data: i, withXSRFToken: r, xsrfHeaderName: f, xsrfCookieName: d, headers: o, auth: s } = e;
13
+ if (e.headers = o = C.from(o), e.url = g(w(e.baseURL, e.url, e.allowAbsoluteUrls), a.params, a.paramsSerializer), s && o.set(
14
+ "Authorization",
15
+ "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
16
+ ), m.isFormData(i)) {
17
+ if (n.hasStandardBrowserEnv || n.hasStandardBrowserWebWorkerEnv)
18
+ o.setContentType(void 0);
19
+ else if (m.isFunction(i.getHeaders)) {
20
+ const t = i.getHeaders(), u = ["content-type", "content-length"];
21
+ Object.entries(t).forEach(([l, p]) => {
22
+ u.includes(l.toLowerCase()) && o.set(l, p);
23
+ });
24
+ }
25
+ }
26
+ if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
27
+ const t = f && d && h.read(d);
28
+ t && o.set(f, t);
29
+ }
30
+ return e;
31
+ };
5
32
  export {
6
- o as default
33
+ E as default
7
34
  };
package/dist/index265.mjs CHANGED
@@ -1,5 +1,31 @@
1
1
  'use client';
2
- var r = {};
2
+ import a from "./index101.mjs";
3
+ import s from "./index106.mjs";
4
+ import m from "./index95.mjs";
5
+ const h = (e, t) => {
6
+ const { length: l } = e = e ? e.filter(Boolean) : [];
7
+ if (t || l) {
8
+ let u = new AbortController(), f;
9
+ const n = function(r) {
10
+ if (!f) {
11
+ f = !0, i();
12
+ const o = r instanceof Error ? r : this.reason;
13
+ u.abort(o instanceof s ? o : new a(o instanceof Error ? o.message : o));
14
+ }
15
+ };
16
+ let c = t && setTimeout(() => {
17
+ c = null, n(new s(`timeout ${t} of ms exceeded`, s.ETIMEDOUT));
18
+ }, t);
19
+ const i = () => {
20
+ e && (c && clearTimeout(c), c = null, e.forEach((r) => {
21
+ r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
22
+ }), e = null);
23
+ };
24
+ e.forEach((r) => r.addEventListener("abort", n));
25
+ const { signal: b } = u;
26
+ return b.unsubscribe = () => m.asap(i), b;
27
+ }
28
+ };
3
29
  export {
4
- r as __exports
30
+ h as default
5
31
  };
package/dist/index266.mjs CHANGED
@@ -1,5 +1,64 @@
1
1
  'use client';
2
- var e = {};
2
+ const f = function* (e, t) {
3
+ let n = e.byteLength;
4
+ if (n < t) {
5
+ yield e;
6
+ return;
7
+ }
8
+ let a = 0, r;
9
+ for (; a < n; )
10
+ r = a + t, yield e.slice(a, r), a = r;
11
+ }, w = async function* (e, t) {
12
+ for await (const n of b(e))
13
+ yield* f(n, t);
14
+ }, b = async function* (e) {
15
+ if (e[Symbol.asyncIterator]) {
16
+ yield* e;
17
+ return;
18
+ }
19
+ const t = e.getReader();
20
+ try {
21
+ for (; ; ) {
22
+ const { done: n, value: a } = await t.read();
23
+ if (n)
24
+ break;
25
+ yield a;
26
+ }
27
+ } finally {
28
+ await t.cancel();
29
+ }
30
+ }, h = (e, t, n, a) => {
31
+ const r = w(e, t);
32
+ let d = 0, o, c = (l) => {
33
+ o || (o = !0, a && a(l));
34
+ };
35
+ return new ReadableStream({
36
+ async pull(l) {
37
+ try {
38
+ const { done: i, value: y } = await r.next();
39
+ if (i) {
40
+ c(), l.close();
41
+ return;
42
+ }
43
+ let s = y.byteLength;
44
+ if (n) {
45
+ let u = d += s;
46
+ n(u);
47
+ }
48
+ l.enqueue(new Uint8Array(y));
49
+ } catch (i) {
50
+ throw c(i), i;
51
+ }
52
+ },
53
+ cancel(l) {
54
+ return c(l), r.return();
55
+ }
56
+ }, {
57
+ highWaterMark: 2
58
+ });
59
+ };
3
60
  export {
4
- e as __exports
61
+ w as readBytes,
62
+ f as streamChunk,
63
+ h as trackStream
5
64
  };
package/dist/index267.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/index268.mjs CHANGED
@@ -1,21 +1,5 @@
1
1
  'use client';
2
- import { __exports as r } from "./index284.mjs";
3
- var u;
4
- function s() {
5
- return u ? r : (u = 1, function(n) {
6
- Object.defineProperty(n, "__esModule", {
7
- value: !0
8
- }), Object.defineProperty(n, "ensureLeadingSlash", {
9
- enumerable: !0,
10
- get: function() {
11
- return t;
12
- }
13
- });
14
- function t(e) {
15
- return e.startsWith("/") ? e : "/" + e;
16
- }
17
- }(r), r);
18
- }
2
+ var a = {};
19
3
  export {
20
- s as __require
4
+ a as __exports
21
5
  };
package/dist/index269.mjs CHANGED
@@ -1,50 +1,21 @@
1
1
  'use client';
2
- import { __exports as u } from "./index285.mjs";
3
- var _;
4
- function g() {
5
- return _ ? u : (_ = 1, function(i) {
6
- Object.defineProperty(i, "__esModule", {
2
+ import { __exports as r } from "./index284.mjs";
3
+ var u;
4
+ function s() {
5
+ return u ? r : (u = 1, function(n) {
6
+ Object.defineProperty(n, "__esModule", {
7
7
  value: !0
8
- });
9
- function a(e, n) {
10
- for (var t in n) Object.defineProperty(e, t, {
11
- enumerable: !0,
12
- get: n[t]
13
- });
14
- }
15
- a(i, {
16
- DEFAULT_SEGMENT_KEY: function() {
17
- return E;
18
- },
19
- PAGE_SEGMENT_KEY: function() {
20
- return r;
21
- },
22
- addSearchParamsIfPageSegment: function() {
23
- return s;
24
- },
25
- isGroupSegment: function() {
26
- return c;
27
- },
28
- isParallelRouteSegment: function() {
29
- return f;
8
+ }), Object.defineProperty(n, "ensureLeadingSlash", {
9
+ enumerable: !0,
10
+ get: function() {
11
+ return t;
30
12
  }
31
13
  });
32
- function c(e) {
33
- return e[0] === "(" && e.endsWith(")");
34
- }
35
- function f(e) {
36
- return e.startsWith("@") && e !== "@children";
37
- }
38
- function s(e, n) {
39
- if (e.includes(r)) {
40
- const o = JSON.stringify(n);
41
- return o !== "{}" ? r + "?" + o : r;
42
- }
43
- return e;
14
+ function t(e) {
15
+ return e.startsWith("/") ? e : "/" + e;
44
16
  }
45
- const r = "__PAGE__", E = "__DEFAULT__";
46
- }(u), u);
17
+ }(r), r);
47
18
  }
48
19
  export {
49
- g as __require
20
+ s as __require
50
21
  };
package/dist/index270.mjs CHANGED
@@ -1,5 +1,50 @@
1
1
  'use client';
2
- var e = {};
2
+ import { __exports as u } from "./index285.mjs";
3
+ var _;
4
+ function g() {
5
+ return _ ? u : (_ = 1, function(i) {
6
+ Object.defineProperty(i, "__esModule", {
7
+ value: !0
8
+ });
9
+ function a(e, n) {
10
+ for (var t in n) Object.defineProperty(e, t, {
11
+ enumerable: !0,
12
+ get: n[t]
13
+ });
14
+ }
15
+ a(i, {
16
+ DEFAULT_SEGMENT_KEY: function() {
17
+ return E;
18
+ },
19
+ PAGE_SEGMENT_KEY: function() {
20
+ return r;
21
+ },
22
+ addSearchParamsIfPageSegment: function() {
23
+ return s;
24
+ },
25
+ isGroupSegment: function() {
26
+ return c;
27
+ },
28
+ isParallelRouteSegment: function() {
29
+ return f;
30
+ }
31
+ });
32
+ function c(e) {
33
+ return e[0] === "(" && e.endsWith(")");
34
+ }
35
+ function f(e) {
36
+ return e.startsWith("@") && e !== "@children";
37
+ }
38
+ function s(e, n) {
39
+ if (e.includes(r)) {
40
+ const o = JSON.stringify(n);
41
+ return o !== "{}" ? r + "?" + o : r;
42
+ }
43
+ return e;
44
+ }
45
+ const r = "__PAGE__", E = "__DEFAULT__";
46
+ }(u), u);
47
+ }
3
48
  export {
4
- e as __exports
49
+ g as __require
5
50
  };
package/dist/index276.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  'use client';
2
- import a from "./index224.mjs";
3
- const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
2
+ const e = {};
4
3
  export {
5
4
  e as default
6
5
  };
package/dist/index277.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  'use client';
2
- const a = typeof FormData < "u" ? FormData : null;
2
+ import a from "./index253.mjs";
3
+ const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
3
4
  export {
4
- a as default
5
+ e as default
5
6
  };
package/dist/index278.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- const l = typeof Blob < "u" ? Blob : null;
2
+ const a = typeof FormData < "u" ? FormData : null;
3
3
  export {
4
- l as default
4
+ a as default
5
5
  };
package/dist/index279.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- const e = {};
2
+ const l = typeof Blob < "u" ? Blob : null;
3
3
  export {
4
- e as default
4
+ l as default
5
5
  };
package/dist/index283.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import r from "./index94.mjs";
2
+ import r from "./index95.mjs";
3
3
  import c from "./index160.mjs";
4
4
  const p = c.hasStandardBrowserEnv ? (
5
5
  // Standard browser envs support document.cookie
package/dist/index43.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useQueryClient as s, useMutation as i } from "@tanstack/react-query";
3
- import { useQueryUnwrapped as a } from "./index82.mjs";
3
+ import { useQueryUnwrapped as a } from "./index86.mjs";
4
4
  import { queryKeys as n } from "./index40.mjs";
5
5
  import { updateCart as y, createCart as m, applyDiscount as o, removeDiscount as C, addCartItem as d, updateCartItem as q, removeCartItem as f, checkoutCart as b, initiateCheckout as v, fetchCart as p, fetchCartRecommendations as K, fetchCartUpsellAddons as Q } from "./index36.mjs";
6
6
  function A(e, u) {
package/dist/index44.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as t } from "./index82.mjs";
2
+ import { useQueryUnwrapped as t } from "./index86.mjs";
3
3
  import { queryKeys as u } from "./index40.mjs";
4
4
  import { fetchBrandBySlug as n } from "./index39.mjs";
5
5
  function i(r, e) {
package/dist/index45.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as u } from "./index82.mjs";
2
+ import { useQueryUnwrapped as u } from "./index86.mjs";
3
3
  import { queryKeys as t } from "./index40.mjs";
4
4
  import { fetchProductsByBrand as c, fetchProductBySlug as n, fetchProductAddons as d, fetchProductRecommendations as y } from "./index35.mjs";
5
5
  function f(e, r) {
package/dist/index46.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as u } from "./index86.mjs";
4
4
  import { queryKeys as t } from "./index40.mjs";
5
5
  import { confirmOrder as s, confirmDelivery as m, updateDeliveryAddress as d, fetchOrder as c, fetchOrderRecommendations as f } from "./index37.mjs";
6
6
  function q(r, e, n) {
package/dist/index47.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as o } from "./index82.mjs";
2
+ import { useQueryUnwrapped as o } from "./index86.mjs";
3
3
  import { queryKeys as i } from "./index40.mjs";
4
4
  import { fetchDeliveryZones as t } from "./index38.mjs";
5
5
  function p(e, r) {
package/dist/index54.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { p as S } from "./index84.mjs";
3
- import { t as U } from "./index85.mjs";
4
- import he from "./index86.mjs";
2
+ import { p as S } from "./index83.mjs";
3
+ import { t as U } from "./index84.mjs";
4
+ import he from "./index85.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/index58.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import * as l from "react";
3
- import { composeRefs as m } from "./index83.mjs";
3
+ import { composeRefs as m } from "./index82.mjs";
4
4
  import { jsx as u } from "react/jsx-runtime";
5
5
  // @__NO_SIDE_EFFECTS__
6
6
  function y(e) {
package/dist/index63.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 "./index95.mjs";
3
+ import p from "./index96.mjs";
4
+ import m from "./index97.mjs";
5
+ import i from "./index98.mjs";
6
+ import f from "./index99.mjs";
7
+ import l from "./index100.mjs";
8
+ import c from "./index101.mjs";
9
+ import d from "./index102.mjs";
10
+ import u from "./index103.mjs";
11
+ import { VERSION as x } from "./index104.mjs";
12
+ import C from "./index105.mjs";
13
+ import A from "./index106.mjs";
14
+ import E from "./index107.mjs";
15
+ import O from "./index108.mjs";
16
+ import S from "./index109.mjs";
17
+ import H from "./index110.mjs";
18
+ import T from "./index111.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/index64.mjs CHANGED
@@ -2,8 +2,8 @@
2
2
  var k = Object.defineProperty;
3
3
  var p = (r, e, t) => e in r ? k(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
4
4
  var o = (r, e, t) => p(r, typeof e != "symbol" ? e + "" : e, t);
5
- import { serialize as j } from "./index111.mjs";
6
- import { mergePath as U, replaceUrlParam as P, buildSearchParams as x, removeIndexString as v, replaceUrlProtocol as C, deepMerge as O } from "./index112.mjs";
5
+ import { serialize as j } from "./index112.mjs";
6
+ import { mergePath as U, replaceUrlParam as P, buildSearchParams as x, removeIndexString as v, replaceUrlProtocol as C, deepMerge as O } from "./index113.mjs";
7
7
  var w = (r, e) => new Proxy(() => {
8
8
  }, {
9
9
  get(a, h) {
package/dist/index65.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as b } from "./index86.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as d } from "./index34.mjs";
5
5
  import { queryKeys as u } from "./index40.mjs";
6
6
  import { useApiConfig as l } from "./index32.mjs";
package/dist/index66.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as n } from "./index82.mjs";
2
+ import { useQueryUnwrapped as n } from "./index86.mjs";
3
3
  import { createAdminRpcClients as u, authHeaders as a } from "./index34.mjs";
4
4
  import { queryKeys as c } from "./index40.mjs";
5
5
  import { useApiConfig as m } from "./index32.mjs";
package/dist/index67.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as m } from "./index86.mjs";
4
4
  import { createAdminRpcClients as l, authHeaders as c } from "./index34.mjs";
5
5
  import { queryKeys as a } from "./index40.mjs";
6
6
  import { useApiConfig as d } from "./index32.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 C } from "./index82.mjs";
3
+ import { useQueryUnwrapped as C } from "./index86.mjs";
4
4
  import { createAdminRpcClients as a, authHeaders as d } from "./index34.mjs";
5
5
  import { queryKeys as r } from "./index40.mjs";
6
6
  import { useApiConfig as l } from "./index32.mjs";
package/dist/index69.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as d } from "./index86.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as y } from "./index34.mjs";
5
5
  import { queryKeys as i } from "./index40.mjs";
6
6
  import { useApiConfig as l } from "./index32.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 k } from "./index82.mjs";
3
+ import { useQueryUnwrapped as k } from "./index86.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as l } from "./index34.mjs";
5
5
  import { queryKeys as u } from "./index40.mjs";
6
6
  import { useApiConfig as y } from "./index32.mjs";
package/dist/index71.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as m } from "./index86.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as l } from "./index34.mjs";
5
5
  import { queryKeys as i } from "./index40.mjs";
6
6
  import { useApiConfig as p } from "./index32.mjs";
package/dist/index72.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useQueryUnwrapped as s } from "./index82.mjs";
2
+ import { useQueryUnwrapped as s } from "./index86.mjs";
3
3
  import { createAdminRpcClients as u, authHeaders as c } from "./index34.mjs";
4
4
  import { queryKeys as d } from "./index40.mjs";
5
5
  import { useApiConfig as y } from "./index32.mjs";
package/dist/index73.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as p } from "./index86.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as d } from "./index34.mjs";
5
5
  import { queryKeys as o } from "./index40.mjs";
6
6
  import { useApiConfig as l } from "./index32.mjs";
package/dist/index74.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as m } from "./index86.mjs";
4
4
  import { createAdminRpcClients as c, authHeaders as l } from "./index34.mjs";
5
5
  import { queryKeys as u } from "./index40.mjs";
6
6
  import { useApiConfig as w } from "./index32.mjs";
package/dist/index75.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as l } from "./index86.mjs";
4
4
  import { createAdminRpcClients as r, authHeaders as i } from "./index34.mjs";
5
5
  import { queryKeys as u } from "./index40.mjs";
6
6
  import { useApiConfig as d } from "./index32.mjs";
package/dist/index76.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as w } from "./index86.mjs";
4
4
  import { createAdminRpcClients as l, authHeaders as f } from "./index34.mjs";
5
5
  import { queryKeys as c } from "./index40.mjs";
6
6
  import { useApiConfig as d } from "./index32.mjs";
package/dist/index77.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as q } from "./index86.mjs";
4
4
  import { createAdminRpcClients as d, authHeaders as y } from "./index34.mjs";
5
5
  import { queryKeys as n } from "./index40.mjs";
6
6
  import { useApiConfig as m } from "./index32.mjs";
package/dist/index78.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 "./index82.mjs";
3
+ import { useQueryUnwrapped as w } from "./index86.mjs";
4
4
  import { createAdminRpcClients as u, authHeaders as d } from "./index34.mjs";
5
5
  import { queryKeys as l } from "./index40.mjs";
6
6
  import { useApiConfig as h } from "./index32.mjs";
package/dist/index82.mjs CHANGED
@@ -1,8 +1,26 @@
1
1
  'use client';
2
- import { useQuery as e } from "@tanstack/react-query";
3
- function n(r) {
4
- return e(r);
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
+ };
5
23
  }
6
24
  export {
7
- n as useQueryUnwrapped
25
+ f as composeRefs
8
26
  };