hanap-labs 2.5.4 → 3.0.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.
@@ -2802,9 +2802,9 @@ function en(e = {}) {
2802
2802
  data: J(m.data),
2803
2803
  error: J(m.error),
2804
2804
  isError: J(m.isError),
2805
- isFetching: J(m.isFetching),
2805
+ loading: J(m.isFetching),
2806
+ initializing: J(m.isLoading),
2806
2807
  isSuccess: J(m.isSuccess),
2807
- loading: J(m.isLoading),
2808
2808
  onError: (e) => (p.push(e), g),
2809
2809
  refetch: h,
2810
2810
  run: h,
@@ -2862,7 +2862,7 @@ function on() {
2862
2862
  error: Y(d.error),
2863
2863
  isError: Y(d.isError),
2864
2864
  isSuccess: Y(d.isSuccess),
2865
- loading: Y(d.isPending),
2865
+ submitting: Y(d.isPending),
2866
2866
  onError: (e) => (c.push(e), f),
2867
2867
  onMutate: (e) => (l.push(e), f),
2868
2868
  onSettled: (e) => (u.push(e), f),
@@ -1,3 +1,3 @@
1
1
  import { n as e, r as t, t as n } from "../chunks/usePopup-DVekAEps.js";
2
- import { a as r, i, n as a, o, r as s, s as c, t as l } from "../chunks/composables-lhhS152C.js";
2
+ import { a as r, i, n as a, o, r as s, s as c, t as l } from "../chunks/composables-CCULT54Q.js";
3
3
  export { i as createQueryPlugin, a as createUseMutation, r as createUseQuery, t as useFloat, l as useForm, s as useMutation, e as useNotify, n as usePopup, o as useQuery, c as useTheme };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as e, n as t, r as n, t as r } from "./chunks/usePopup-DVekAEps.js";
2
2
  import { C as i, S as a, T as o, _ as s, a as c, b as l, c as u, d, f, g as ee, h as te, i as ne, l as re, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as fe, w as pe, x as me, y as he } from "./chunks/components-Di_oL9Zc.js";
3
3
  import { t as ge } from "./chunks/helpers-CBknuK3h.js";
4
- import { a as _e, i as ve, n as ye, o as be, r as xe, s as Se, t as Ce } from "./chunks/composables-lhhS152C.js";
4
+ import { a as _e, i as ve, n as ye, o as be, r as xe, s as Se, t as Ce } from "./chunks/composables-CCULT54Q.js";
5
5
  import { createToolkitAutoImportModules as we, createToolkitAutoImportOptions as Te, createToolkitComponentsResolver as Ee } from "./auto-import/index.js";
6
6
  //#region node_modules/zod/v4/core/core.js
7
7
  var De, Oe = /* @__PURE__ */ Object.freeze({ status: "aborted" });
@@ -20,7 +20,7 @@ type UseMutationReturn<TData, TError, TVariables, TContext = unknown> = {
20
20
  error: Readonly<Ref<TError | null>>;
21
21
  isError: Readonly<Ref<boolean>>;
22
22
  isSuccess: Readonly<Ref<boolean>>;
23
- loading: Readonly<Ref<boolean>>;
23
+ submitting: Readonly<Ref<boolean>>;
24
24
  onError: (callback: MutationErrorHandler<TError, TVariables, TContext>) => UseMutationReturn<TData, TError, TVariables, TContext>;
25
25
  onMutate: (callback: MutationMutateHandler<TVariables, TContext>) => UseMutationReturn<TData, TError, TVariables, TContext>;
26
26
  onSettled: (callback: MutationSettledHandler<TData, TError, TVariables, TContext>) => UseMutationReturn<TData, TError, TVariables, TContext>;
@@ -30,9 +30,9 @@ type UseQueryReturn<TData, TError> = {
30
30
  data: Readonly<Ref<TData | undefined>>;
31
31
  error: Readonly<Ref<TError | null>>;
32
32
  isError: Readonly<Ref<boolean>>;
33
- isFetching: Readonly<Ref<boolean>>;
34
- isSuccess: Readonly<Ref<boolean>>;
35
33
  loading: Readonly<Ref<boolean>>;
34
+ initializing: Readonly<Ref<boolean>>;
35
+ isSuccess: Readonly<Ref<boolean>>;
36
36
  onError: (callback: QueryErrorHandler<TError>) => UseQueryReturn<TData, TError>;
37
37
  refetch: () => Promise<TData | undefined>;
38
38
  run: () => Promise<TData | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanap-labs",
3
- "version": "2.5.4",
3
+ "version": "3.0.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "vue",