fui-material 2.7.4 → 2.7.6

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.
@@ -3088,11 +3088,13 @@ const FSkeleton = ({ children, enable, width, height }) => {
3088
3088
  }, [enable]);
3089
3089
  return /* @__PURE__ */ jsx("div", { ref: elementRef, className: styles$a["skeleton-block"], children });
3090
3090
  };
3091
- const active = "_active_1tib7_71";
3091
+ const active = "_active_bpwow_120";
3092
3092
  const styles$9 = {
3093
- "f-nav-bar": "_f-nav-bar_1tib7_1",
3094
- "f-nav-bar__menu": "_f-nav-bar__menu_1tib7_8",
3095
- "f-nav-bar__menu-route": "_f-nav-bar__menu-route_1tib7_31",
3093
+ "wave-nav-wrapper": "_wave-nav-wrapper_bpwow_5",
3094
+ "wave-nav-grid-item": "_wave-nav-grid-item_bpwow_17",
3095
+ "wave-nav-bar": "_wave-nav-bar_bpwow_27",
3096
+ "wave-nav-list": "_wave-nav-list_bpwow_48",
3097
+ "wave-nav-item": "_wave-nav-item_bpwow_75",
3096
3098
  active
3097
3099
  };
3098
3100
  const FNavigateBar = ({
@@ -3101,21 +3103,24 @@ const FNavigateBar = ({
3101
3103
  id,
3102
3104
  className
3103
3105
  }) => {
3104
- return /* @__PURE__ */ jsx(FGrid, { obj: "container", id, className, children: /* @__PURE__ */ jsx(FGridRow, { children: /* @__PURE__ */ jsx(FGrid, { obj: "item", sm: 12, children: /* @__PURE__ */ jsx("nav", { style: st, className: styles$9["f-nav-bar"], children: /* @__PURE__ */ jsx("ul", { className: styles$9["f-nav-bar__menu"], children }) }) }) }) });
3106
+ return /* @__PURE__ */ jsx(FGrid, { obj: "container", id, className: `${styles$9["wave-nav-wrapper"]} ${className || ""}`, children: /* @__PURE__ */ jsx(FGridRow, { children: /* @__PURE__ */ jsx(FGrid, { obj: "item", sm: 12, className: styles$9["wave-nav-grid-item"], children: /* @__PURE__ */ jsx("nav", { style: st, className: styles$9["wave-nav-bar"], children: /* @__PURE__ */ jsx("ul", { className: styles$9["wave-nav-list"], children }) }) }) }) });
3105
3107
  };
3106
3108
  const FNavigateBarItem = ({
3107
3109
  st,
3110
+ style,
3108
3111
  children,
3109
3112
  id,
3110
3113
  className,
3111
- activeClass
3114
+ activeClass,
3115
+ ...rest
3112
3116
  }) => {
3113
3117
  return /* @__PURE__ */ jsx(
3114
3118
  "li",
3115
3119
  {
3116
3120
  id,
3117
- style: st,
3118
- className: `${styles$9["f-nav-bar__menu-route"]} ${activeClass ? styles$9.active : ""} ${className || ""}`,
3121
+ style: st || style,
3122
+ className: `${styles$9["wave-nav-item"]} ${activeClass ? styles$9.active : ""} ${className || ""}`,
3123
+ ...rest,
3119
3124
  children
3120
3125
  }
3121
3126
  );
@@ -8224,18 +8229,21 @@ function useFManualApiQuery(queryKey, url, initialParams, config, options) {
8224
8229
  if (updatedParams) nextQueryKey.push(updatedParams);
8225
8230
  if (updatedUrlParams) nextQueryKey.push(updatedUrlParams);
8226
8231
  try {
8227
- const result = await queryClient.fetchQuery({
8232
+ const rawResult = await queryClient.fetchQuery({
8228
8233
  queryKey: nextQueryKey,
8229
8234
  queryFn: ({ signal }) => fetcher(updatedParams, updatedUrlParams, updatedDopUrl, signal),
8230
8235
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8231
8236
  staleTime: restOptions.staleTime
8232
8237
  });
8233
- return result;
8238
+ if (restOptions.select) {
8239
+ return restOptions.select(rawResult);
8240
+ }
8241
+ return rawResult;
8234
8242
  } catch (error2) {
8235
8243
  handleSideErrors(error2);
8236
8244
  throw error2;
8237
8245
  }
8238
- }, [params, urlParams, dopUrl, queryKey, fetcher, queryClient, restOptions.staleTime, handleSideErrors]);
8246
+ }, [params, urlParams, dopUrl, queryKey, fetcher, queryClient, restOptions, handleSideErrors]);
8239
8247
  return { ...query, run, params, urlParams };
8240
8248
  }
8241
8249
  const waterError = "_waterError_10t7p_1";