@gen-epix/ui-client-common 4.5.0 → 4.6.0

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 (229) hide show
  1. package/README.md +5 -4
  2. package/dist/@types/mui.d.ts +13 -5
  3. package/dist/@types/ui-client-common.d.ts +1 -0
  4. package/dist/_chunks/ApplicationFooter.js +45 -46
  5. package/dist/_chunks/ApplicationFooter.js.map +1 -1
  6. package/dist/_chunks/Breadcrumbs.js +14 -15
  7. package/dist/_chunks/CrudPage.js +301 -302
  8. package/dist/_chunks/CrudPage.js.map +1 -1
  9. package/dist/_chunks/GeoFilter.js +1 -2
  10. package/dist/_chunks/GeoFilter.js.map +1 -1
  11. package/dist/_chunks/Notifications.js +52 -53
  12. package/dist/_chunks/OutageList.js +30 -31
  13. package/dist/_chunks/OutageList.js.map +1 -1
  14. package/dist/_chunks/OutageUtil.js +4 -8
  15. package/dist/_chunks/OutageUtil.js.map +1 -1
  16. package/dist/_chunks/QueryClientProvider.js +1 -2
  17. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  18. package/dist/_chunks/QueryClientService.js +101 -395
  19. package/dist/_chunks/QueryClientService.js.map +1 -1
  20. package/dist/_chunks/Reflect.js +1 -2
  21. package/dist/_chunks/Table.js +523 -522
  22. package/dist/_chunks/Table.js.map +1 -1
  23. package/dist/_chunks/TableUtil.js +10 -20
  24. package/dist/_chunks/TableUtil.js.map +1 -1
  25. package/dist/_chunks/TextFilter.js +18 -20
  26. package/dist/_chunks/TextFilter.js.map +1 -1
  27. package/dist/_chunks/UserInvitationsAdminPage.js +78 -79
  28. package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
  29. package/dist/_chunks/UserManagerUtil.js +212 -213
  30. package/dist/_chunks/UserManagerUtil.js.map +1 -1
  31. package/dist/_chunks/_baseAssignValue.js +1 -2
  32. package/dist/_chunks/_baseFlatten.js +9 -10
  33. package/dist/_chunks/_baseFlatten.js.map +1 -1
  34. package/dist/_chunks/_baseGet.js +279 -0
  35. package/dist/_chunks/_baseGet.js.map +1 -0
  36. package/dist/_chunks/_baseIteratee.js +273 -0
  37. package/dist/_chunks/_baseIteratee.js.map +1 -0
  38. package/dist/_chunks/_baseUnset.js +22 -300
  39. package/dist/_chunks/_baseUnset.js.map +1 -1
  40. package/dist/_chunks/_cacheHas.js +1 -2
  41. package/dist/_chunks/_setToString.js +1 -2
  42. package/dist/_chunks/decorate.js +1 -2
  43. package/dist/_chunks/decorateParam.js +1 -2
  44. package/dist/_chunks/format.js +27 -54
  45. package/dist/_chunks/format.js.map +1 -1
  46. package/dist/_chunks/isArrayLike.js +1 -2
  47. package/dist/_chunks/isObject.js +1 -2
  48. package/dist/_chunks/isSymbol.js +1 -2
  49. package/dist/_chunks/last.js +12 -0
  50. package/dist/_chunks/last.js.map +1 -0
  51. package/dist/_chunks/middleware.js +2 -3
  52. package/dist/_chunks/middleware.js.map +1 -1
  53. package/dist/_chunks/omit.js +42 -42
  54. package/dist/_chunks/omit.js.map +1 -1
  55. package/dist/_chunks/query.js +8 -15
  56. package/dist/_chunks/query.js.map +1 -1
  57. package/dist/_chunks/react.js +2 -3
  58. package/dist/_chunks/react.js.map +1 -1
  59. package/dist/_chunks/rolldown-runtime.js +2 -3
  60. package/dist/_chunks/tableStore.js +231 -224
  61. package/dist/_chunks/tableStore.js.map +1 -1
  62. package/dist/_chunks/toDate.js +8 -14
  63. package/dist/_chunks/toDate.js.map +1 -1
  64. package/dist/_chunks/uniq.js +43 -0
  65. package/dist/_chunks/uniq.js.map +1 -0
  66. package/dist/_chunks/useColumnsMenu.js +3 -6
  67. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  68. package/dist/_chunks/useMutation.js +24 -26
  69. package/dist/_chunks/useMutation.js.map +1 -1
  70. package/dist/_chunks/useQueryMemo.js +33 -22
  71. package/dist/_chunks/useQueryMemo.js.map +1 -1
  72. package/dist/_chunks/vanilla.js +1 -2
  73. package/dist/_chunks/vanilla.js.map +1 -1
  74. package/dist/_chunks/yup.js +2 -4
  75. package/dist/_chunks/yup.js.map +1 -1
  76. package/dist/classes/TableEventBus/index.js +1 -2
  77. package/dist/classes/abstracts/FilterAbstract/index.js +4 -3
  78. package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
  79. package/dist/classes/filters/MultiSelectFilter.d.ts +1 -1
  80. package/dist/classes/services/AuthenticationService/AuthenticationService.d.ts +1 -1
  81. package/dist/classes/services/AuthenticationService/index.js +15 -16
  82. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  83. package/dist/classes/services/AuthorizationService/index.js +5 -6
  84. package/dist/classes/services/AuthorizationService/index.js.map +1 -1
  85. package/dist/classes/services/BackendVersionService/index.js +4 -4
  86. package/dist/classes/services/BackendVersionService/index.js.map +1 -1
  87. package/dist/classes/services/BreadcrumbService/index.js +16 -39
  88. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  89. package/dist/classes/services/EmotionCacheService/index.js +10 -10
  90. package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
  91. package/dist/classes/services/FeatureFlagsService/index.js +1 -2
  92. package/dist/classes/services/I18nService/index.js +12 -12
  93. package/dist/classes/services/I18nService/index.js.map +1 -1
  94. package/dist/classes/services/InactivityService/index.js +13 -14
  95. package/dist/classes/services/InactivityService/index.js.map +1 -1
  96. package/dist/classes/services/LogService/index.js +40 -35
  97. package/dist/classes/services/LogService/index.js.map +1 -1
  98. package/dist/classes/services/NavigationHistoryService/index.js +1 -2
  99. package/dist/classes/services/NotificationService/index.js +9 -10
  100. package/dist/classes/services/NotificationService/index.js.map +1 -1
  101. package/dist/classes/services/PageEventBusService/index.js +14 -11
  102. package/dist/classes/services/PageEventBusService/index.js.map +1 -1
  103. package/dist/classes/services/RouterService/index.js +4 -8
  104. package/dist/classes/services/RouterService/index.js.map +1 -1
  105. package/dist/classes/services/UserSettingsService/index.js +1 -2
  106. package/dist/components/app/App/App.d.ts +1 -1
  107. package/dist/components/app/App/index.js +35 -40
  108. package/dist/components/app/App/index.js.map +1 -1
  109. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +29 -30
  110. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  111. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +48 -47
  112. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  113. package/dist/components/app/AuthenticationWrapper/index.js +36 -37
  114. package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
  115. package/dist/components/app/AuthorizationWrapper/index.js +20 -21
  116. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  117. package/dist/components/app/RouterRoot/index.js +53 -52
  118. package/dist/components/app/RouterRoot/index.js.map +1 -1
  119. package/dist/components/epi/EpiContactDetailsDialog/index.js +22 -23
  120. package/dist/components/filters/BooleanFilterField/index.js +6 -7
  121. package/dist/components/filters/DateFilterField/index.js +4 -5
  122. package/dist/components/filters/GeoFilterField/index.js +5 -6
  123. package/dist/components/filters/MultiSelectFilterField/index.js +5 -6
  124. package/dist/components/filters/NumberRangeFilterField/index.js +4 -5
  125. package/dist/components/filters/TextFilterField/index.js +4 -5
  126. package/dist/components/ui/ApplicationBar/index.js +189 -190
  127. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  128. package/dist/components/ui/ConsentDialog/index.js +1 -2
  129. package/dist/components/ui/GenericErrorMessage/index.js +30 -31
  130. package/dist/components/ui/LicensesDialog/index.js +39 -40
  131. package/dist/components/ui/LicensesDialog/index.js.map +1 -1
  132. package/dist/components/ui/MyPermissionsDialog/index.js +17 -18
  133. package/dist/components/ui/NavLink/index.js +7 -8
  134. package/dist/components/ui/OrganizationSwitcherDialog/index.js +22 -23
  135. package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
  136. package/dist/components/ui/OutagesDialog/index.js +1 -2
  137. package/dist/components/ui/PageContainer/index.js +25 -26
  138. package/dist/components/ui/PageContainer/index.js.map +1 -1
  139. package/dist/components/ui/ResponseHandler/index.js +1 -2
  140. package/dist/components/ui/Sidebar/index.js +31 -32
  141. package/dist/components/ui/UserFeedbackDialog/index.js +13 -14
  142. package/dist/components/ui/UserInactivityConfirmation/index.js +1 -2
  143. package/dist/constants/api.constants.js +1 -2
  144. package/dist/constants/config.constants.d.ts +0 -2
  145. package/dist/constants/config.constants.js +3 -4
  146. package/dist/constants/config.constants.js.map +1 -1
  147. package/dist/constants/query.constants.js +1 -2
  148. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +13 -14
  149. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
  150. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +15 -16
  151. package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
  152. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +13 -14
  153. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  154. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +14 -15
  155. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
  156. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +5 -6
  157. package/dist/dataHooks/useOrganizationsQuery/index.js +14 -15
  158. package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
  159. package/dist/dataHooks/useUsersQuery/index.js +11 -12
  160. package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
  161. package/dist/hoc/withPermissions/index.js +1 -2
  162. package/dist/hooks/useConfig/index.js +3 -4
  163. package/dist/hooks/useConfig/index.js.map +1 -1
  164. package/dist/hooks/useCreateMutation/index.js +13 -14
  165. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  166. package/dist/hooks/useDeleteMutation/index.js +17 -11
  167. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  168. package/dist/hooks/useEditMutation/index.js +49 -35
  169. package/dist/hooks/useEditMutation/index.js.map +1 -1
  170. package/dist/hooks/useInitializeTableStore/index.js +1 -2
  171. package/dist/hooks/useItemQuery/index.js +5 -6
  172. package/dist/hooks/useItemQuery/index.js.map +1 -1
  173. package/dist/hooks/useUpdateBreadcrumb/index.js +1 -2
  174. package/dist/hooks/useUpdateDocumentTitle/index.js +1 -2
  175. package/dist/locale/en.json +1 -0
  176. package/dist/locale/nl.json +1 -0
  177. package/dist/models/admin.models.js +1 -2
  178. package/dist/models/admin.models.js.map +1 -1
  179. package/dist/models/config.models.d.ts +1 -5
  180. package/dist/models/table.models.js +1 -2
  181. package/dist/models/table.models.js.map +1 -1
  182. package/dist/models/theme.models.d.ts +19 -16
  183. package/dist/pages/AcceptInvitationPage/index.js +26 -27
  184. package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
  185. package/dist/pages/AdminPage/index.js +17 -18
  186. package/dist/pages/ChooseIdentityProviderPage/index.js +22 -23
  187. package/dist/pages/ErrorPage/index.js +1 -2
  188. package/dist/pages/IdentifierIssuersAdminPage/index.js +6 -7
  189. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +6 -7
  190. package/dist/pages/OrganizationContactsAdminPage/index.js +7 -8
  191. package/dist/pages/OrganizationSitesAdminPage/index.js +10 -11
  192. package/dist/pages/OrganizationsAdminPage/index.js +14 -15
  193. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  194. package/dist/pages/OutagesAdminPage/index.js +21 -22
  195. package/dist/pages/PostLoginPage/index.js +8 -9
  196. package/dist/pages/PostLoginPage/index.js.map +1 -1
  197. package/dist/pages/PostLogoutPage/index.js +9 -10
  198. package/dist/pages/RouterErrorPage/index.js +1 -2
  199. package/dist/pages/UsersAdminPage/index.js +40 -41
  200. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  201. package/dist/routes/index.js +1 -2
  202. package/dist/setup/setup.js +12 -6
  203. package/dist/setup/setup.js.map +1 -1
  204. package/dist/stores/oidcStore/index.js +1 -2
  205. package/dist/stores/outagesStore/index.js +1 -2
  206. package/dist/theme/demoTheme/index.js +18 -17
  207. package/dist/theme/demoTheme/index.js.map +1 -1
  208. package/dist/utils/AxiosUtil/index.js +1 -2
  209. package/dist/utils/DataHookUtil/index.js +2 -3
  210. package/dist/utils/DataHookUtil/index.js.map +1 -1
  211. package/dist/utils/DependencyContainerUtil/DependencyContainerUtil.d.ts +2 -3
  212. package/dist/utils/DependencyContainerUtil/index.js +10 -16
  213. package/dist/utils/DependencyContainerUtil/index.js.map +1 -1
  214. package/dist/utils/LoadableUtil/index.js +1 -2
  215. package/dist/utils/MenuDataUtil/index.js +2 -3
  216. package/dist/utils/MenuDataUtil/index.js.map +1 -1
  217. package/dist/utils/NotificationUtil/index.js +1 -2
  218. package/dist/utils/StandardConfigUtil/index.js +1 -6
  219. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  220. package/dist/utils/TimeUtil/index.js +2 -3
  221. package/dist/utils/TimeUtil/index.js.map +1 -1
  222. package/dist/utils/UserUtil/index.js +1 -2
  223. package/package.json +26 -29
  224. package/dist/context/ClientCommonConfigContext/ClientCommonConfigContext.d.ts +0 -9
  225. package/dist/context/ClientCommonConfigContext/ClientCommonConfigContextProvider.d.ts +0 -6
  226. package/dist/context/ClientCommonConfigContext/index.d.ts +0 -3
  227. package/dist/context/ClientCommonConfigContext/index.js +0 -34
  228. package/dist/context/ClientCommonConfigContext/index.js.map +0 -1
  229. package/dist/context/ClientCommonConfigContext/useClientCommonConfigContext.d.ts +0 -3
@@ -1,282 +1,19 @@
1
1
  import { n as e, t } from "./rolldown-runtime.js";
2
- import { i as n, n as r, t as i } from "./isObject.js";
3
- import { f as a, l as o, n as s, r as c } from "./isArrayLike.js";
4
- import { i as l, n as u, r as d, t as f } from "./_cacheHas.js";
5
- import { C as p, S as m, _ as h, a as g, c as _, g as v, i as y, l as b, m as x, o as S, r as C, s as w, t as T, u as E, x as D } from "./_baseUnset.js";
6
- import { S as O, _ as k, a as A, c as j, d as M, f as N, g as P, h as F, i as ee, m as I, o as L, r as te, s as ne, t as re, u as ie, y as R } from "./query.js";
7
- import { t as ae } from "./decorate.js";
8
- import { singleton as oe } from "tsyringe";
9
- //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arraySome.js
10
- var se = /* @__PURE__ */ t(((e, t) => {
11
- function n(e, t) {
12
- for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
13
- return !1;
14
- }
15
- t.exports = n;
16
- })), z = /* @__PURE__ */ t(((e, t) => {
17
- var n = l(), r = se(), i = f(), a = 1, o = 2;
18
- function s(e, t, s, c, l, u) {
19
- var d = s & a, f = e.length, p = t.length;
20
- if (f != p && !(d && p > f)) return !1;
21
- var m = u.get(e), h = u.get(t);
22
- if (m && h) return m == t && h == e;
23
- var g = -1, _ = !0, v = s & o ? new n() : void 0;
24
- for (u.set(e, t), u.set(t, e); ++g < f;) {
25
- var y = e[g], b = t[g];
26
- if (c) var x = d ? c(b, y, g, t, e, u) : c(y, b, g, e, t, u);
27
- if (x !== void 0) {
28
- if (x) continue;
29
- _ = !1;
30
- break;
31
- }
32
- if (v) {
33
- if (!r(t, function(e, t) {
34
- if (!i(v, t) && (y === e || l(y, e, s, c, u))) return v.push(t);
35
- })) {
36
- _ = !1;
37
- break;
38
- }
39
- } else if (!(y === b || l(y, b, s, c, u))) {
40
- _ = !1;
41
- break;
42
- }
43
- }
44
- return u.delete(e), u.delete(t), _;
45
- }
46
- t.exports = s;
47
- })), ce = /* @__PURE__ */ t(((e, t) => {
48
- function n(e) {
49
- var t = -1, n = Array(e.size);
50
- return e.forEach(function(e, r) {
51
- n[++t] = [r, e];
52
- }), n;
53
- }
54
- t.exports = n;
55
- })), B = /* @__PURE__ */ t(((e, t) => {
56
- function n(e) {
57
- var t = -1, n = Array(e.size);
58
- return e.forEach(function(e) {
59
- n[++t] = e;
60
- }), n;
61
- }
62
- t.exports = n;
63
- })), le = /* @__PURE__ */ t(((e, t) => {
64
- var r = n(), i = D(), a = o(), s = z(), c = ce(), l = B(), u = 1, d = 2, f = "[object Boolean]", p = "[object Date]", m = "[object Error]", h = "[object Map]", g = "[object Number]", _ = "[object RegExp]", v = "[object Set]", y = "[object String]", b = "[object Symbol]", x = "[object ArrayBuffer]", S = "[object DataView]", C = r ? r.prototype : void 0, w = C ? C.valueOf : void 0;
65
- function T(e, t, n, r, o, C, T) {
66
- switch (n) {
67
- case S:
68
- if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
69
- e = e.buffer, t = t.buffer;
70
- case x: return !(e.byteLength != t.byteLength || !C(new i(e), new i(t)));
71
- case f:
72
- case p:
73
- case g: return a(+e, +t);
74
- case m: return e.name == t.name && e.message == t.message;
75
- case _:
76
- case y: return e == t + "";
77
- case h: var E = c;
78
- case v:
79
- var D = r & u;
80
- if (E ||= l, e.size != t.size && !D) return !1;
81
- var O = T.get(e);
82
- if (O) return O == t;
83
- r |= d, T.set(e, t);
84
- var k = s(E(e), E(t), r, o, C, T);
85
- return T.delete(e), k;
86
- case b: if (w) return w.call(e) == w.call(t);
87
- }
88
- return !1;
89
- }
90
- t.exports = T;
91
- })), ue = /* @__PURE__ */ t(((e, t) => {
92
- var n = b(), r = 1, i = Object.prototype.hasOwnProperty;
93
- function a(e, t, a, o, s, c) {
94
- var l = a & r, u = n(e), d = u.length;
95
- if (d != n(t).length && !l) return !1;
96
- for (var f = d; f--;) {
97
- var p = u[f];
98
- if (!(l ? p in t : i.call(t, p))) return !1;
99
- }
100
- var m = c.get(e), h = c.get(t);
101
- if (m && h) return m == t && h == e;
102
- var g = !0;
103
- c.set(e, t), c.set(t, e);
104
- for (var _ = l; ++f < d;) {
105
- p = u[f];
106
- var v = e[p], y = t[p];
107
- if (o) var b = l ? o(y, v, p, t, e, c) : o(v, y, p, e, t, c);
108
- if (!(b === void 0 ? v === y || s(v, y, a, o, c) : b)) {
109
- g = !1;
110
- break;
111
- }
112
- _ ||= p == "constructor";
113
- }
114
- if (g && !_) {
115
- var x = e.constructor, S = t.constructor;
116
- x != S && "constructor" in e && "constructor" in t && !(typeof x == "function" && x instanceof x && typeof S == "function" && S instanceof S) && (g = !1);
117
- }
118
- return c.delete(e), c.delete(t), g;
119
- }
120
- t.exports = a;
121
- })), de = /* @__PURE__ */ t(((e, t) => {
122
- var n = m(), r = z(), i = le(), a = ue(), o = w(), s = c(), l = h(), u = x(), d = 1, f = "[object Arguments]", p = "[object Array]", g = "[object Object]", _ = Object.prototype.hasOwnProperty;
123
- function v(e, t, c, m, h, v) {
124
- var y = s(e), b = s(t), x = y ? p : o(e), S = b ? p : o(t);
125
- x = x == f ? g : x, S = S == f ? g : S;
126
- var C = x == g, w = S == g, T = x == S;
127
- if (T && l(e)) {
128
- if (!l(t)) return !1;
129
- y = !0, C = !1;
130
- }
131
- if (T && !C) return v ||= new n(), y || u(e) ? r(e, t, c, m, h, v) : i(e, t, x, c, m, h, v);
132
- if (!(c & d)) {
133
- var E = C && _.call(e, "__wrapped__"), D = w && _.call(t, "__wrapped__");
134
- if (E || D) {
135
- var O = E ? e.value() : e, k = D ? t.value() : t;
136
- return v ||= new n(), h(O, k, c, m, v);
137
- }
138
- }
139
- return T ? (v ||= new n(), a(e, t, c, m, h, v)) : !1;
140
- }
141
- t.exports = v;
142
- })), V = /* @__PURE__ */ t(((e, t) => {
143
- var n = de(), i = r();
144
- function a(e, t, r, o, s) {
145
- return e === t ? !0 : e == null || t == null || !i(e) && !i(t) ? e !== e && t !== t : n(e, t, r, o, a, s);
146
- }
147
- t.exports = a;
148
- })), fe = /* @__PURE__ */ t(((e, t) => {
149
- var n = m(), r = V(), i = 1, a = 2;
150
- function o(e, t, o, s) {
151
- var c = o.length, l = c, u = !s;
152
- if (e == null) return !l;
153
- for (e = Object(e); c--;) {
154
- var d = o[c];
155
- if (u && d[2] ? d[1] !== e[d[0]] : !(d[0] in e)) return !1;
156
- }
157
- for (; ++c < l;) {
158
- d = o[c];
159
- var f = d[0], p = e[f], m = d[1];
160
- if (u && d[2]) {
161
- if (p === void 0 && !(f in e)) return !1;
162
- } else {
163
- var h = new n();
164
- if (s) var g = s(p, m, f, e, t, h);
165
- if (!(g === void 0 ? r(m, p, i | a, s, h) : g)) return !1;
166
- }
167
- }
168
- return !0;
169
- }
170
- t.exports = o;
171
- })), H = /* @__PURE__ */ t(((e, t) => {
172
- var n = i();
173
- function r(e) {
174
- return e === e && !n(e);
175
- }
176
- t.exports = r;
177
- })), pe = /* @__PURE__ */ t(((e, t) => {
178
- var n = H(), r = E();
179
- function i(e) {
180
- for (var t = r(e), i = t.length; i--;) {
181
- var a = t[i], o = e[a];
182
- t[i] = [
183
- a,
184
- o,
185
- n(o)
186
- ];
187
- }
188
- return t;
189
- }
190
- t.exports = i;
191
- })), U = /* @__PURE__ */ t(((e, t) => {
192
- function n(e, t) {
193
- return function(n) {
194
- return n != null && n[e] === t && (t !== void 0 || e in Object(n));
195
- };
196
- }
197
- t.exports = n;
198
- })), me = /* @__PURE__ */ t(((e, t) => {
199
- var n = fe(), r = pe(), i = U();
200
- function a(e) {
201
- var t = r(e);
202
- return t.length == 1 && t[0][2] ? i(t[0][0], t[0][1]) : function(r) {
203
- return r === e || n(r, e, t);
204
- };
205
- }
206
- t.exports = a;
207
- })), he = /* @__PURE__ */ t(((e, t) => {
208
- var n = C();
209
- function r(e, t, r) {
210
- var i = e == null ? void 0 : n(e, t);
211
- return i === void 0 ? r : i;
212
- }
213
- t.exports = r;
214
- })), ge = /* @__PURE__ */ t(((e, t) => {
215
- function n(e, t) {
216
- return e != null && t in Object(e);
217
- }
218
- t.exports = n;
219
- })), _e = /* @__PURE__ */ t(((e, t) => {
220
- var n = g(), r = p(), i = c(), a = v(), o = s(), l = y();
221
- function u(e, t, s) {
222
- t = n(t, e);
223
- for (var c = -1, u = t.length, d = !1; ++c < u;) {
224
- var f = l(t[c]);
225
- if (!(d = e != null && s(e, f))) break;
226
- e = e[f];
227
- }
228
- return d || ++c != u ? d : (u = e == null ? 0 : e.length, !!u && o(u) && a(f, u) && (i(e) || r(e)));
229
- }
230
- t.exports = u;
231
- })), ve = /* @__PURE__ */ t(((e, t) => {
232
- var n = ge(), r = _e();
233
- function i(e, t) {
234
- return e != null && r(e, t, n);
235
- }
236
- t.exports = i;
237
- })), ye = /* @__PURE__ */ t(((e, t) => {
238
- var n = V(), r = he(), i = ve(), a = S(), o = H(), s = U(), c = y(), l = 1, u = 2;
239
- function d(e, t) {
240
- return a(e) && o(t) ? s(c(e), t) : function(a) {
241
- var o = r(a, e);
242
- return o === void 0 && o === t ? i(a, e) : n(t, o, l | u);
243
- };
244
- }
245
- t.exports = d;
246
- })), be = /* @__PURE__ */ t(((e, t) => {
247
- function n(e) {
248
- return function(t) {
249
- return t?.[e];
250
- };
251
- }
252
- t.exports = n;
253
- })), xe = /* @__PURE__ */ t(((e, t) => {
254
- var n = C();
255
- function r(e) {
256
- return function(t) {
257
- return n(t, e);
258
- };
259
- }
260
- t.exports = r;
261
- })), Se = /* @__PURE__ */ t(((e, t) => {
262
- var n = be(), r = xe(), i = S(), a = y();
263
- function o(e) {
264
- return i(e) ? n(a(e)) : r(e);
265
- }
266
- t.exports = o;
267
- })), W = /* @__PURE__ */ t(((e, t) => {
268
- var n = me(), r = ye(), i = a(), o = c(), s = Se();
269
- function l(e) {
270
- return typeof e == "function" ? e : e == null ? i : typeof e == "object" ? o(e) ? r(e[0], e[1]) : n(e) : s(e);
271
- }
272
- t.exports = l;
273
- })), Ce = class extends te {
2
+ import { m as n } from "./_baseGet.js";
3
+ import { t as r } from "./_baseIteratee.js";
4
+ import { t as i } from "./decorate.js";
5
+ import { t as a } from "./_baseUnset.js";
6
+ import { n as o, t as s } from "./uniq.js";
7
+ import { S as c, _ as l, a as u, c as d, d as f, f as p, g as m, h, i as g, m as _, o as v, r as y, s as b, t as x, u as S, y as C } from "./query.js";
8
+ import { singleton as w } from "tsyringe";
9
+ // ../../node_modules/.pnpm/@tanstack+query-core@5.105.0/node_modules/@tanstack/query-core/build/modern/mutation.js
10
+ var T = class extends y {
274
11
  #e;
275
12
  #t;
276
13
  #n;
277
14
  #r;
278
15
  constructor(e) {
279
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || G(), this.setOptions(e.options), this.scheduleGc();
16
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || E(), this.setOptions(e.options), this.scheduleGc();
280
17
  }
281
18
  setOptions(e) {
282
19
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -311,7 +48,7 @@ var se = /* @__PURE__ */ t(((e, t) => {
311
48
  client: this.#e,
312
49
  meta: this.options.meta,
313
50
  mutationKey: this.options.mutationKey
314
- }, r = this.#r = ee({
51
+ }, r = this.#r = g({
315
52
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
316
53
  onFail: (e, t) => {
317
54
  this.#i({
@@ -427,7 +164,7 @@ var se = /* @__PURE__ */ t(((e, t) => {
427
164
  };
428
165
  }
429
166
  };
430
- this.state = t(this.state), L.batch(() => {
167
+ this.state = t(this.state), v.batch(() => {
431
168
  this.#t.forEach((t) => {
432
169
  t.onMutationUpdate(e);
433
170
  }), this.#n.notify({
@@ -438,7 +175,7 @@ var se = /* @__PURE__ */ t(((e, t) => {
438
175
  });
439
176
  }
440
177
  };
441
- function G() {
178
+ function E() {
442
179
  return {
443
180
  context: void 0,
444
181
  data: void 0,
@@ -451,9 +188,8 @@ function G() {
451
188
  submittedAt: 0
452
189
  };
453
190
  }
454
- //#endregion
455
- //#region ../../node_modules/.pnpm/@tanstack+query-core@5.104.2/node_modules/@tanstack/query-core/build/modern/mutationCache.js
456
- var K = class extends j {
191
+ // ../../node_modules/.pnpm/@tanstack+query-core@5.105.0/node_modules/@tanstack/query-core/build/modern/mutationCache.js
192
+ var D = class extends d {
457
193
  #e;
458
194
  #t;
459
195
  #n;
@@ -461,7 +197,7 @@ var K = class extends j {
461
197
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
462
198
  }
463
199
  build(e, t, n) {
464
- let r = new Ce({
200
+ let r = new T({
465
201
  client: e,
466
202
  mutationCache: this,
467
203
  mutationId: ++this.#n,
@@ -472,7 +208,7 @@ var K = class extends j {
472
208
  }
473
209
  add(e) {
474
210
  this.#e.add(e);
475
- let t = q(e);
211
+ let t = O(e);
476
212
  if (typeof t == "string") {
477
213
  let n = this.#t.get(t);
478
214
  n ? n.push(e) : this.#t.set(t, [e]);
@@ -484,7 +220,7 @@ var K = class extends j {
484
220
  }
485
221
  remove(e) {
486
222
  if (this.#e.delete(e)) {
487
- let t = q(e);
223
+ let t = O(e);
488
224
  if (typeof t == "string") {
489
225
  let n = this.#t.get(t);
490
226
  if (n) {
@@ -501,7 +237,7 @@ var K = class extends j {
501
237
  });
502
238
  }
503
239
  canRun(e) {
504
- let t = q(e);
240
+ let t = O(e);
505
241
  if (typeof t == "string") {
506
242
  let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
507
243
  return !n || n === e;
@@ -509,17 +245,18 @@ var K = class extends j {
509
245
  return !0;
510
246
  }
511
247
  runNext(e) {
512
- let t = q(e);
248
+ let t = O(e);
513
249
  return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
514
250
  }
515
251
  clear() {
516
- L.batch(() => {
517
- this.#e.forEach((e) => {
252
+ v.batch(() => {
253
+ let e = this.getAll();
254
+ this.#e.clear(), this.#t.clear(), e.forEach((e) => {
518
255
  this.notify({
519
256
  type: "removed",
520
257
  mutation: e
521
258
  });
522
- }), this.#e.clear(), this.#t.clear();
259
+ });
523
260
  });
524
261
  }
525
262
  getAll() {
@@ -530,13 +267,13 @@ var K = class extends j {
530
267
  exact: !0,
531
268
  ...e
532
269
  };
533
- return this.getAll().find((e) => I(t, e));
270
+ return this.getAll().find((e) => _(t, e));
534
271
  }
535
272
  findAll(e = {}) {
536
- return this.getAll().filter((t) => I(e, t));
273
+ return this.getAll().filter((t) => _(e, t));
537
274
  }
538
275
  notify(e) {
539
- L.batch(() => {
276
+ v.batch(() => {
540
277
  this.listeners.forEach((t) => {
541
278
  t(e);
542
279
  });
@@ -544,22 +281,21 @@ var K = class extends j {
544
281
  }
545
282
  resumePausedMutations() {
546
283
  let e = this.getAll().filter((e) => e.state.isPaused);
547
- return L.batch(() => Promise.all(e.map((e) => e.continue().catch(P))));
284
+ return v.batch(() => Promise.all(e.map((e) => e.continue().catch(m))));
548
285
  }
549
286
  };
550
- function q(e) {
287
+ function O(e) {
551
288
  return e.options.scope?.id;
552
289
  }
553
- //#endregion
554
- //#region ../../node_modules/.pnpm/@tanstack+query-core@5.104.2/node_modules/@tanstack/query-core/build/modern/queryCache.js
555
- var J = class extends j {
290
+ // ../../node_modules/.pnpm/@tanstack+query-core@5.105.0/node_modules/@tanstack/query-core/build/modern/queryCache.js
291
+ var k = class extends d {
556
292
  #e;
557
293
  constructor(e = {}) {
558
294
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
559
295
  }
560
296
  build(e, t, n) {
561
- let r = t.queryKey, i = t.queryHash ?? N(r, t), a = this.get(i);
562
- return a || (a = new re({
297
+ let r = t.queryKey, i = t.queryHash ?? p(r, t), a = this.get(i);
298
+ return a || (a = new x({
563
299
  client: e,
564
300
  queryKey: r,
565
301
  queryHash: i,
@@ -581,7 +317,7 @@ var J = class extends j {
581
317
  }));
582
318
  }
583
319
  clear() {
584
- L.batch(() => {
320
+ v.batch(() => {
585
321
  this.getAll().forEach((e) => {
586
322
  this.remove(e);
587
323
  });
@@ -598,34 +334,34 @@ var J = class extends j {
598
334
  exact: !0,
599
335
  ...e
600
336
  };
601
- return this.getAll().find((e) => F(t, e));
337
+ return this.getAll().find((e) => h(t, e));
602
338
  }
603
339
  findAll(e = {}) {
604
340
  let t = this.getAll();
605
- return Object.keys(e).length > 0 ? t.filter((t) => F(e, t)) : t;
341
+ return Object.keys(e).length > 0 ? t.filter((t) => h(e, t)) : t;
606
342
  }
607
343
  notify(e) {
608
- L.batch(() => {
344
+ v.batch(() => {
609
345
  this.listeners.forEach((t) => {
610
346
  t(e);
611
347
  });
612
348
  });
613
349
  }
614
350
  onFocus() {
615
- L.batch(() => {
351
+ v.batch(() => {
616
352
  this.getAll().forEach((e) => {
617
353
  e.onFocus();
618
354
  });
619
355
  });
620
356
  }
621
357
  onOnline() {
622
- L.batch(() => {
358
+ v.batch(() => {
623
359
  this.getAll().forEach((e) => {
624
360
  e.onOnline();
625
361
  });
626
362
  });
627
363
  }
628
- }, we = class {
364
+ }, A = class {
629
365
  #e;
630
366
  #t;
631
367
  #n;
@@ -635,12 +371,12 @@ var J = class extends j {
635
371
  #o;
636
372
  #s;
637
373
  constructor(e = {}) {
638
- this.#e = e.queryCache || new J(), this.#t = e.mutationCache || new K(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
374
+ this.#e = e.queryCache || new k(), this.#t = e.mutationCache || new D(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
639
375
  }
640
376
  mount() {
641
- this.#a++, this.#a === 1 && (this.#o = ne.subscribe(async (e) => {
377
+ this.#a++, this.#a === 1 && (this.#o = b.subscribe(async (e) => {
642
378
  e && (await this.resumePausedMutations(), this.#e.onFocus());
643
- }), this.#s = A.subscribe(async (e) => {
379
+ }), this.#s = u.subscribe(async (e) => {
644
380
  e && (await this.resumePausedMutations(), this.#e.onOnline());
645
381
  }));
646
382
  }
@@ -665,20 +401,20 @@ var J = class extends j {
665
401
  }
666
402
  ensureQueryData(e) {
667
403
  let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
668
- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(R(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
404
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(C(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
669
405
  }
670
406
  getQueriesData(e) {
671
407
  return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
672
408
  }
673
409
  setQueryData(e, t, n) {
674
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ie(t, i);
410
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = S(t, i);
675
411
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
676
412
  ...n,
677
413
  manual: !0
678
414
  });
679
415
  }
680
416
  setQueriesData(e, t, n) {
681
- return L.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
417
+ return v.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
682
418
  }
683
419
  getQueryState(e) {
684
420
  let t = this.defaultQueryOptions({ queryKey: e });
@@ -686,7 +422,7 @@ var J = class extends j {
686
422
  }
687
423
  removeQueries(e) {
688
424
  let t = this.#e;
689
- L.batch(() => {
425
+ v.batch(() => {
690
426
  t.findAll(e).forEach((e) => {
691
427
  t.remove(e);
692
428
  });
@@ -694,7 +430,7 @@ var J = class extends j {
694
430
  }
695
431
  resetQueries(e, t) {
696
432
  let n = this.#e;
697
- return L.batch(() => {
433
+ return v.batch(() => {
698
434
  let r = n.findAll(e), i = new Set(r);
699
435
  return r.forEach((e) => {
700
436
  e.reset();
@@ -708,11 +444,11 @@ var J = class extends j {
708
444
  let n = {
709
445
  revert: !0,
710
446
  ...t
711
- }, r = L.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
712
- return Promise.all(r).then(P).catch(P);
447
+ }, r = v.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
448
+ return Promise.all(r).then(m).catch(m);
713
449
  }
714
450
  invalidateQueries(e, t = {}) {
715
- return L.batch(() => (this.#e.findAll(e).forEach((e) => {
451
+ return v.batch(() => (this.#e.findAll(e).forEach((e) => {
716
452
  e.invalidate();
717
453
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
718
454
  ...e,
@@ -723,26 +459,26 @@ var J = class extends j {
723
459
  let n = {
724
460
  ...t,
725
461
  cancelRefetch: t.cancelRefetch ?? !0
726
- }, r = L.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
462
+ }, r = v.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
727
463
  let t = e.fetch(void 0, n);
728
- return n.throwOnError || (t = t.catch(P)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
464
+ return n.throwOnError || (t = t.catch(m)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
729
465
  }));
730
- return Promise.all(r).then(P);
466
+ return Promise.all(r).then(m);
731
467
  }
732
468
  async query(e) {
733
469
  let t = this.defaultQueryOptions(e);
734
470
  t.retry === void 0 && (t.retry = !1);
735
- let n = this.#e.build(this, t), r = n.isStaleByTime(R(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
471
+ let n = this.#e.build(this, t), r = n.isStaleByTime(C(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
736
472
  return i ? i(r) : r;
737
473
  }
738
474
  fetchQuery(e) {
739
475
  let t = this.defaultQueryOptions(e);
740
476
  t.retry === void 0 && (t.retry = !1);
741
477
  let n = this.#e.build(this, t);
742
- return n.isStaleByTime(R(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
478
+ return n.isStaleByTime(C(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
743
479
  }
744
480
  prefetchQuery(e) {
745
- return this.fetchQuery(e).then(P).catch(P);
481
+ return this.fetchQuery(e).then(m).catch(m);
746
482
  }
747
483
  infiniteQuery(e) {
748
484
  return e._type = "infinite", this.query(e);
@@ -751,13 +487,13 @@ var J = class extends j {
751
487
  return e._type = "infinite", this.fetchQuery(e);
752
488
  }
753
489
  prefetchInfiniteQuery(e) {
754
- return this.fetchInfiniteQuery(e).then(P).catch(P);
490
+ return this.fetchInfiniteQuery(e).then(m).catch(m);
755
491
  }
756
492
  ensureInfiniteQueryData(e) {
757
493
  return e._type = "infinite", this.ensureQueryData(e);
758
494
  }
759
495
  resumePausedMutations() {
760
- return A.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
496
+ return u.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
761
497
  }
762
498
  getQueryCache() {
763
499
  return this.#e;
@@ -772,7 +508,7 @@ var J = class extends j {
772
508
  this.#n = e;
773
509
  }
774
510
  setQueryDefaults(e, t) {
775
- this.#r.set(M(e), {
511
+ this.#r.set(f(e), {
776
512
  queryKey: e,
777
513
  defaultOptions: t
778
514
  });
@@ -780,11 +516,11 @@ var J = class extends j {
780
516
  getQueryDefaults(e) {
781
517
  let t = [...this.#r.values()], n = {};
782
518
  return t.forEach((t) => {
783
- k(e, t.queryKey) && Object.assign(n, t.defaultOptions);
519
+ l(e, t.queryKey) && Object.assign(n, t.defaultOptions);
784
520
  }), n;
785
521
  }
786
522
  setMutationDefaults(e, t) {
787
- this.#i.set(M(e), {
523
+ this.#i.set(f(e), {
788
524
  mutationKey: e,
789
525
  defaultOptions: t
790
526
  });
@@ -792,7 +528,7 @@ var J = class extends j {
792
528
  getMutationDefaults(e) {
793
529
  let t = [...this.#i.values()], n = {};
794
530
  return t.forEach((t) => {
795
- k(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
531
+ l(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
796
532
  }), n;
797
533
  }
798
534
  defaultQueryOptions(e) {
@@ -803,7 +539,7 @@ var J = class extends j {
803
539
  ...e,
804
540
  _defaulted: !0
805
541
  };
806
- return t.queryHash ||= N(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === O && (t.enabled = !1), t;
542
+ return t.queryHash ||= p(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === c && (t.enabled = !1), t;
807
543
  }
808
544
  defaultMutationOptions(e) {
809
545
  return e?._defaulted ? e : {
@@ -816,80 +552,46 @@ var J = class extends j {
816
552
  clear() {
817
553
  this.#e.clear(), this.#t.clear();
818
554
  }
819
- }, Te = /* @__PURE__ */ t(((e, t) => {
820
- var n = T(), r = v(), i = Array.prototype.splice;
821
- function a(e, t) {
822
- for (var a = e ? t.length : 0, o = a - 1; a--;) {
823
- var s = t[a];
824
- if (a == o || s !== c) {
555
+ }, j = /* @__PURE__ */ t(((e, t) => {
556
+ var r = a(), i = n(), o = Array.prototype.splice;
557
+ function s(e, t) {
558
+ for (var n = e ? t.length : 0, a = n - 1; n--;) {
559
+ var s = t[n];
560
+ if (n == a || s !== c) {
825
561
  var c = s;
826
- r(s) ? i.call(e, s, 1) : n(e, s);
562
+ i(s) ? o.call(e, s, 1) : r(e, s);
827
563
  }
828
564
  }
829
565
  return e;
830
566
  }
831
- t.exports = a;
832
- })), Ee = /* @__PURE__ */ t(((e, t) => {
833
- var n = W(), r = Te();
834
- function i(e, t) {
835
- var i = [];
836
- if (!(e && e.length)) return i;
567
+ t.exports = s;
568
+ })), M = /* @__PURE__ */ t(((e, t) => {
569
+ var n = r(), i = j();
570
+ function a(e, t) {
571
+ var r = [];
572
+ if (!(e && e.length)) return r;
837
573
  var a = -1, o = [], s = e.length;
838
574
  for (t = n(t, 3); ++a < s;) {
839
575
  var c = e[a];
840
- t(c, a, e) && (i.push(c), o.push(a));
576
+ t(c, a, e) && (r.push(c), o.push(a));
841
577
  }
842
- return r(e, o), i;
843
- }
844
- t.exports = i;
845
- })), Y = /* @__PURE__ */ t(((e, t) => {
846
- function n() {}
847
- t.exports = n;
848
- })), De = /* @__PURE__ */ t(((e, t) => {
849
- var n = _(), r = Y(), i = B();
850
- t.exports = n && 1 / i(new n([, -0]))[1] == 1 / 0 ? function(e) {
851
- return new n(e);
852
- } : r;
853
- })), X = /* @__PURE__ */ t(((e, t) => {
854
- var n = l(), r = d(), i = u(), a = f(), o = De(), s = B(), c = 200;
855
- function p(e, t, l) {
856
- var u = -1, d = r, f = e.length, p = !0, m = [], h = m;
857
- if (l) p = !1, d = i;
858
- else if (f >= c) {
859
- var g = t ? null : o(e);
860
- if (g) return s(g);
861
- p = !1, d = a, h = new n();
862
- } else h = t ? [] : m;
863
- outer: for (; ++u < f;) {
864
- var _ = e[u], v = t ? t(_) : _;
865
- if (_ = l || _ !== 0 ? _ : 0, p && v === v) {
866
- for (var y = h.length; y--;) if (h[y] === v) continue outer;
867
- t && h.push(v), m.push(_);
868
- } else d(h, v, l) || (h !== m && h.push(v), m.push(_));
869
- }
870
- return m;
871
- }
872
- t.exports = p;
873
- })), Z = /* @__PURE__ */ t(((e, t) => {
874
- var n = X();
875
- function r(e) {
876
- return e && e.length ? n(e) : [];
877
- }
878
- t.exports = r;
879
- })), Oe = /* @__PURE__ */ t(((e, t) => {
880
- var n = W(), r = X();
881
- function i(e, t) {
882
- return e && e.length ? r(e, n(t, 2)) : [];
883
- }
884
- t.exports = i;
885
- })), ke = /* @__PURE__ */ e(Ee(), 1), Ae = /* @__PURE__ */ e(Z(), 1), je = /* @__PURE__ */ e(Oe(), 1), Q, $ = Q = class {
578
+ return i(e, o), r;
579
+ }
580
+ t.exports = a;
581
+ })), N = /* @__PURE__ */ t(((e, t) => {
582
+ var n = r(), i = o();
583
+ function a(e, t) {
584
+ return e && e.length ? i(e, n(t, 2)) : [];
585
+ }
586
+ t.exports = a;
587
+ })), P = /* @__PURE__ */ e(M(), 1), F = /* @__PURE__ */ e(s(), 1), I = /* @__PURE__ */ e(N(), 1), L, R = L = class {
886
588
  mutationCache;
887
589
  queryCache;
888
590
  queryClient;
889
591
  queryKeyDependencies;
890
592
  constructor(e) {
891
- this.queryKeyDependencies = Q.mergeQueryKeyDependencies(e.queryKeyDependencies);
892
- let t = new J({}), n = new K({}), r = new we({
593
+ this.queryKeyDependencies = L.mergeQueryKeyDependencies(e.queryKeyDependencies);
594
+ let t = new k({}), n = new D({}), r = new A({
893
595
  defaultOptions: { queries: {
894
596
  gcTime: Infinity,
895
597
  retry: e.config.queryClient.retry,
@@ -908,7 +610,7 @@ var J = class extends j {
908
610
  t[e] || (t[e] = []), t[e].push(...n);
909
611
  });
910
612
  }), Object.keys(t).forEach((e) => {
911
- t[e] = (0, Ae.default)(t[e]);
613
+ t[e] = (0, F.default)(t[e]);
912
614
  }), t;
913
615
  }
914
616
  async cancelQueries(e) {
@@ -917,7 +619,12 @@ var J = class extends j {
917
619
  }
918
620
  getGenericKey(e, t) {
919
621
  let n = [e];
920
- return t && (typeof t == "string" ? n.push(t) : n.push(JSON.stringify(t))), n;
622
+ if (t !== void 0) {
623
+ let e = typeof t == "string" ? t : JSON.stringify(t);
624
+ if (e === void 0) throw TypeError("Query key argument cannot be serialized.");
625
+ n.push(e);
626
+ }
627
+ return n;
921
628
  }
922
629
  getItemFromCache(e, t) {
923
630
  return this.getValidQueryData([e])?.find((e) => e.id === t);
@@ -929,7 +636,7 @@ var J = class extends j {
929
636
  }), this.getUniqueQueryKeys(n);
930
637
  }
931
638
  getUniqueQueryKeys(e) {
932
- return (0, je.default)(e, (e) => e.join("-"));
639
+ return (0, I.default)(e, (e) => JSON.stringify(e));
933
640
  }
934
641
  getValidQueryData(e) {
935
642
  if (!this.queryCache.find({ queryKey: e })?.state?.isInvalidated) return this.queryClient.getQueryData(e);
@@ -947,11 +654,10 @@ var J = class extends j {
947
654
  let r = [...t];
948
655
  return this.getDirectQueryKeyDependents(e).forEach((t) => {
949
656
  r.includes(t) || (r.push(t), r.push(...this.getQueryKeyDependenciesInternal(t, [...r], n ?? e)));
950
- }), (0, ke.default)((0, Ae.default)(r), (e) => e !== n);
657
+ }), (0, P.default)((0, F.default)(r), (e) => e !== n);
951
658
  }
952
659
  };
953
- $ = Q = ae([oe()], $);
954
- //#endregion
955
- export { W as a, G as i, Z as n, Y as r, $ as t };
660
+ R = L = i([w()], R);
661
+ export { E as n, R as t };
956
662
 
957
663
  //# sourceMappingURL=QueryClientService.js.map