hanap-labs 10.5.0 → 10.5.2

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.
@@ -3126,7 +3126,7 @@ function Y(e) {
3126
3126
  //#region src/composables/data/useQuery.ts
3127
3127
  var tn = {
3128
3128
  retry: !1,
3129
- refetchOnMount: !0,
3129
+ refetchOnMount: "always",
3130
3130
  refetchOnReconnect: !1,
3131
3131
  refetchOnWindowFocus: !1
3132
3132
  }, nn = 0;
@@ -3144,15 +3144,15 @@ function sn(e = {}) {
3144
3144
  let i = an(), a = [], c = t(() => r?.queryKey === void 0 ? i : typeof r.queryKey == "function" ? r.queryKey() : o(r.queryKey)), l = t(() => rn(r?.enabled)), u = $t(t(() => {
3145
3145
  let { queryKey: t, onSuccess: i, onError: a, enabled: o, ...s } = r ?? {};
3146
3146
  return {
3147
+ ...tn,
3148
+ ...e,
3149
+ ...s,
3147
3150
  queryKey: c.value,
3148
3151
  queryFn: (e) => n({
3149
3152
  queryKey: e.queryKey,
3150
3153
  signal: e.signal
3151
3154
  }),
3152
- enabled: l.value,
3153
- ...tn,
3154
- ...e,
3155
- ...s
3155
+ ...l.value === void 0 ? {} : { enabled: l.value }
3156
3156
  };
3157
3157
  }));
3158
3158
  s(() => u.data.value, (e) => {
@@ -1,3 +1,3 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/composables-DYxDGCpw.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/composables-CqwezXWb.js";
2
2
  import { n as c, r as l, t as u } from "../chunks/usePopup-RfEtbmn2.js";
3
3
  export { n as createQueryPlugin, r as createUseMutation, e as createUseQuery, t as themePresets, l as useFloat, s as useForm, a as useMutation, c as useNotify, u as usePopup, i as useQuery, o as useTheme };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./chunks/composables-DYxDGCpw.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./chunks/composables-CqwezXWb.js";
2
2
  import { A as l, C as u, D as d, E as f, F as ee, M as te, N as ne, O as re, P as ie, S as ae, T as oe, _ as se, a as ce, b as le, c as ue, d as de, f as fe, g as pe, h as me, i as he, j as ge, k as _e, l as ve, m as ye, n as be, o as xe, p as Se, r as Ce, s as we, t as Te, u as Ee, v as De, w as Oe, x as ke, y as Ae } from "./chunks/components-CnEQwmVs.js";
3
3
  import { n as je, r as Me, t as Ne } from "./chunks/usePopup-RfEtbmn2.js";
4
4
  import { t as Pe } from "./chunks/helpers-BjMDD0mP.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanap-labs",
3
- "version": "10.5.0",
3
+ "version": "10.5.2",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "vue",