mhz-helpers 1.0.51 → 1.0.53

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.
@@ -1,5 +1,4 @@
1
1
  import { Ref } from 'vue';
2
-
3
2
  export declare function useInfiniteScroll<T>(): {
4
3
  page: Ref<number>;
5
4
  allData: Ref<T[]>;
@@ -1,5 +1,4 @@
1
1
  import { Ref } from 'vue';
2
-
3
2
  export interface ISortOption {
4
3
  value?: string;
5
4
  isAsc: boolean;
@@ -1,5 +1,4 @@
1
1
  import { Ref } from 'vue';
2
-
3
2
  export declare function usePagination<T>(dataRaw: Ref<{
4
3
  data: T[];
5
4
  total: number;
@@ -1,5 +1,4 @@
1
1
  import { Ref, ComputedRef } from 'vue';
2
-
3
2
  export declare function useValidator<T>(formData: Ref<T>, rules: ComputedRef<object>): {
4
3
  error: (field: string) => string | undefined;
5
4
  errors: ComputedRef<Record<string, import('async-validator').ValidateError[]> | undefined>;
@@ -1,5 +1,4 @@
1
1
  import { QueryClient, VueQueryPluginOptions } from '@tanstack/vue-query';
2
-
3
2
  export declare const queryClient: QueryClient;
4
3
  export declare function vueQueryOptions(toast: {
5
4
  error: (text: string) => void;