fui-material 2.7.3 → 2.7.4

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.
@@ -5,8 +5,8 @@ import JSZip from "jszip";
5
5
  import initializeModule from "allorion-exporting-html-to-docx";
6
6
  import { renderToStaticMarkup } from "react-dom/server";
7
7
  import { initializeModule as initializeModule$1, installFormatCode } from "allorion-exporting-html-to-xlsx";
8
- import { useQueryClient, useMutation, useQuery } from "@tanstack/react-query";
9
8
  import axios from "axios";
9
+ import { useQueryClient, useMutation, useQuery } from "@tanstack/react-query";
10
10
  import './index.css';const btn = "_btn_ch6o3_1";
11
11
  const stylesBtn = {
12
12
  btn,
@@ -7954,7 +7954,7 @@ const useLibraryContext = () => {
7954
7954
  }
7955
7955
  return context;
7956
7956
  };
7957
- const useApiMutation = (url, config, options) => {
7957
+ const useFApiMutation = (url, config, options) => {
7958
7958
  const { apiService } = useLibraryContext();
7959
7959
  const queryClient = useQueryClient();
7960
7960
  const mutation = useMutation({
@@ -8075,7 +8075,7 @@ function useNotificationEffects(options, state) {
8075
8075
  }
8076
8076
  }, [state.isSuccess, onSuccessNotification, successNotificationTitle, successNotificationBody]);
8077
8077
  }
8078
- const useApiQuery = (queryKey, url, config, options) => {
8078
+ const useFApiQuery = (queryKey, url, config, options) => {
8079
8079
  const { apiService } = useLibraryContext();
8080
8080
  const {
8081
8081
  onErrorNotification = false,
@@ -8148,7 +8148,7 @@ const useApiQuery = (queryKey, url, config, options) => {
8148
8148
  }, [query.isLoading, onLoadingLog, loadingNotificationTitle, loadingNotificationBody]);
8149
8149
  return query;
8150
8150
  };
8151
- function useManualApiQuery(queryKey, url, initialParams, config, options) {
8151
+ function useFManualApiQuery(queryKey, url, initialParams, config, options) {
8152
8152
  const { apiService } = useLibraryContext();
8153
8153
  const queryClient = useQueryClient();
8154
8154
  const [params, setParams] = useState(initialParams);
@@ -8204,7 +8204,7 @@ function useManualApiQuery(queryKey, url, initialParams, config, options) {
8204
8204
  }, [onErrorNotification, notificationTitle, notificationBody, onErrorLog]);
8205
8205
  useEffect(() => {
8206
8206
  if (onLoadingLog && query.isFetching) {
8207
- console.log(`[useManualApiQuery] Loading: ${url}`);
8207
+ console.log(`[useFManualApiQuery] Loading: ${url}`);
8208
8208
  }
8209
8209
  }, [query.isFetching, onLoadingLog, url]);
8210
8210
  const run = useCallback(async ({
@@ -8427,9 +8427,9 @@ export {
8427
8427
  fNotification,
8428
8428
  fNotificationDelete,
8429
8429
  fPrompt,
8430
- useApiMutation,
8431
- useApiQuery,
8432
8430
  useFApi,
8433
- useManualApiQuery
8431
+ useFApiMutation,
8432
+ useFApiQuery,
8433
+ useFManualApiQuery
8434
8434
  };
8435
8435
  //# sourceMappingURL=f-ui-kit.es.js.map