fastapi-rtk 2.0.3 → 2.0.5

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.
Files changed (28) hide show
  1. package/dist/.bundled/jsonforms/cjs/_virtual/index10.cjs +2 -2
  2. package/dist/.bundled/jsonforms/cjs/_virtual/index6.cjs +2 -2
  3. package/dist/.bundled/jsonforms/cjs/_virtual/index7.cjs +2 -2
  4. package/dist/.bundled/jsonforms/cjs/_virtual/index8.cjs +2 -2
  5. package/dist/.bundled/jsonforms/cjs/_virtual/index9.cjs +2 -2
  6. package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +2 -2
  7. package/dist/.bundled/jsonforms/esm/_virtual/index6.mjs +2 -2
  8. package/dist/.bundled/jsonforms/esm/_virtual/index7.mjs +2 -2
  9. package/dist/.bundled/jsonforms/esm/_virtual/index8.mjs +2 -2
  10. package/dist/.bundled/jsonforms/esm/_virtual/index9.mjs +2 -2
  11. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/index.cjs +1 -1
  12. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.cjs +1 -1
  13. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/index.cjs +1 -1
  14. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/format/index.cjs +1 -1
  15. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/index.cjs +1 -1
  16. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/index.mjs +1 -1
  17. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.mjs +1 -1
  18. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/index.mjs +1 -1
  19. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/format/index.mjs +1 -1
  20. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/index.mjs +1 -1
  21. package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_046f1b0f764b8dc88804170e4ca8f096de0796df0be_2e8cfd91765713166f4d486da3b54b13/mantine-react-table/dist/index.esm.mjs +3 -3
  22. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useColumns/useColumns.cjs +2 -8
  23. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.cjs +10 -10
  24. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useColumns/useColumns.mjs +3 -9
  25. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.mjs +11 -11
  26. package/dist/core/lib/Tables/NextGenDataGrid/hooks/useColumns/useColumns.d.ts +1 -1
  27. package/dist/core/lib/Tables/NextGenDataGrid/hooks/useToolbar/mrtToolbars.d.ts +42 -5
  28. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var compile = {};
4
- exports.__exports = compile;
3
+ var format = {};
4
+ exports.__exports = format;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var core = {};
4
- exports.__exports = core;
3
+ var compile = {};
4
+ exports.__exports = compile;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var validation = {};
4
- exports.__exports = validation;
3
+ var core = {};
4
+ exports.__exports = core;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var applicator = {};
4
- exports.__exports = applicator;
3
+ var validation = {};
4
+ exports.__exports = validation;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var format = {};
4
- exports.__exports = format;
3
+ var applicator = {};
4
+ exports.__exports = applicator;
@@ -1,4 +1,4 @@
1
- var compile = {};
1
+ var format = {};
2
2
  export {
3
- compile as __exports
3
+ format as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var core = {};
1
+ var compile = {};
2
2
  export {
3
- core as __exports
3
+ compile as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var validation = {};
1
+ var core = {};
2
2
  export {
3
- validation as __exports
3
+ core as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var applicator = {};
1
+ var validation = {};
2
2
  export {
3
- applicator as __exports
3
+ validation as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var format = {};
1
+ var applicator = {};
2
2
  export {
3
- format as __exports
3
+ applicator as __exports
4
4
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../.bundled/jsonforms/cjs/_virtual/index10.cjs");
3
+ const index = require("../../../../../../.bundled/jsonforms/cjs/_virtual/index6.cjs");
4
4
  const index$1 = require("./codegen/index.cjs");
5
5
  const validation_error = require("../runtime/validation_error.cjs");
6
6
  const names = require("./names.cjs");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index8.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index9.cjs");
4
4
  const additionalItems = require("./additionalItems.cjs");
5
5
  const prefixItems = require("./prefixItems.cjs");
6
6
  const items = require("./items.cjs");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index6.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index7.cjs");
4
4
  const id = require("./id.cjs");
5
5
  const ref = require("./ref.cjs");
6
6
  var hasRequiredCore;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index9.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index10.cjs");
4
4
  const format = require("./format.cjs");
5
5
  var hasRequiredFormat;
6
6
  function requireFormat() {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index7.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index8.cjs");
4
4
  const limitNumber = require("./limitNumber.cjs");
5
5
  const multipleOf = require("./multipleOf.cjs");
6
6
  const limitLength = require("./limitLength.cjs");
@@ -1,4 +1,4 @@
1
- import { __exports as compile } from "../../../../../../.bundled/jsonforms/esm/_virtual/index10.mjs";
1
+ import { __exports as compile } from "../../../../../../.bundled/jsonforms/esm/_virtual/index6.mjs";
2
2
  import { __require as requireCodegen } from "./codegen/index.mjs";
3
3
  import { __require as requireValidation_error } from "../runtime/validation_error.mjs";
4
4
  import { __require as requireNames } from "./names.mjs";
@@ -1,4 +1,4 @@
1
- import { __exports as applicator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index8.mjs";
1
+ import { __exports as applicator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index9.mjs";
2
2
  import { __require as requireAdditionalItems } from "./additionalItems.mjs";
3
3
  import { __require as requirePrefixItems } from "./prefixItems.mjs";
4
4
  import { __require as requireItems } from "./items.mjs";
@@ -1,4 +1,4 @@
1
- import { __exports as core } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index6.mjs";
1
+ import { __exports as core } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index7.mjs";
2
2
  import { __require as requireId } from "./id.mjs";
3
3
  import { __require as requireRef } from "./ref.mjs";
4
4
  var hasRequiredCore;
@@ -1,4 +1,4 @@
1
- import { __exports as format } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index9.mjs";
1
+ import { __exports as format } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index10.mjs";
2
2
  import { __require as requireFormat$1 } from "./format.mjs";
3
3
  var hasRequiredFormat;
4
4
  function requireFormat() {
@@ -1,4 +1,4 @@
1
- import { __exports as validation } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index7.mjs";
1
+ import { __exports as validation } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index8.mjs";
2
2
  import { __require as requireLimitNumber } from "./limitNumber.mjs";
3
3
  import { __require as requireMultipleOf } from "./multipleOf.mjs";
4
4
  import { __require as requireLimitLength } from "./limitLength.mjs";
@@ -1,7 +1,7 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
1
+ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
2
  import { clsx } from "../../../clsx@2.1.1/clsx/dist/clsx.mjs";
3
- import { useMemo, useState, useRef, memo, useEffect, useCallback, useReducer, createElement, Fragment as Fragment$1, useLayoutEffect } from "react";
4
- import { Menu, Flex, Button, useMantineTheme, Box, Tooltip, Switch, Text, ActionIcon, useDirection, TableTd, TableTr, Collapse, Skeleton, Select, MultiSelect, TextInput, CopyButton, UnstyledButton, Highlight, Radio, Checkbox, Transition, Group, Pagination, Progress, Modal, Stack, TableTfoot, TableTh, Popover, Indicator, RangeSlider, Badge, Autocomplete, useMantineColorScheme, Table, lighten, darken, TableTbody, LoadingOverlay, TableThead, Paper, Alert } from "@mantine/core";
3
+ import { memo, useState, useEffect, useRef, useMemo, useCallback, useReducer, createElement, Fragment as Fragment$1, useLayoutEffect } from "react";
4
+ import { useDirection, TableTd, TableTr, Collapse, Skeleton, Select, MultiSelect, TextInput, CopyButton, Tooltip, UnstyledButton, Highlight, Text, Box, ActionIcon, Switch, Radio, Checkbox, Flex, Transition, Menu, Group, Pagination, Progress, Modal, Stack, Button, TableTfoot, useMantineTheme, TableTh, Popover, Indicator, RangeSlider, Badge, Autocomplete, useMantineColorScheme, Table, lighten, darken, TableTbody, LoadingOverlay, TableThead, Paper, Alert } from "@mantine/core";
5
5
  import { useReactTable, flexRender as flexRender$1 } from "../../../@tanstack_react-table@8.20.5_react-dom@19.2.3_react@19.2.3__react@19.2.3/@tanstack/react-table/build/lib/index.mjs";
6
6
  import { rankItem, compareItems, rankings } from "../../../@tanstack_match-sorter-utils@8.19.4/@tanstack/match-sorter-utils/build/lib/index.mjs";
7
7
  import { useVirtualizer } from "../../../@tanstack_react-virtual@3.11.2_react-dom@19.2.3_react@19.2.3__react@19.2.3/@tanstack/react-virtual/dist/esm/index.mjs";
@@ -12,7 +12,7 @@ const Cell = require("./Cell.cjs");
12
12
  const ColumnHeaderFilter = require("./ColumnHeaderFilter.cjs");
13
13
  const HeaderAdvancedFiltersMenuButton = require("./HeaderAdvancedFiltersMenuButton.cjs");
14
14
  function useColumns(columnProps, header, body, textFilterSeparator, enableAdvancedFilters, memo) {
15
- const { path, info, queryParams, data, specialKey } = useApi.useApi();
15
+ const { info, queryParams, data, specialKey } = useApi.useApi();
16
16
  const api = useApi.useApi();
17
17
  const auth = useAuth.useAuth();
18
18
  const idValueMap = hooks.useMap();
@@ -144,12 +144,6 @@ function useColumns(columnProps, header, body, textFilterSeparator, enableAdvanc
144
144
  textFilterSeparator
145
145
  ]
146
146
  );
147
- const [simpleCache, setSimpleCache] = hooks.useSetState({});
148
- React.useEffect(() => {
149
- if (columns.length) {
150
- setSimpleCache({ [data.path]: columns });
151
- }
152
- }, [columns]);
153
- return { columns: columns.length ? columns : (simpleCache == null ? void 0 : simpleCache[path]) || columns, manualFiltering: true };
147
+ return { columns, manualFiltering: true };
154
148
  }
155
149
  exports.useColumns = useColumns;
@@ -7,7 +7,7 @@ const index_esm = require("../../../../../../.external/cjs/mantine-react-table@2
7
7
  const React = require("react");
8
8
  const BaseActionIcon = require("../../../../ActionIcons/utils/BaseActionIcon.cjs");
9
9
  const DENSITY_NEXT = { md: "xs", xl: "md", xs: "xl" };
10
- const ToggleGlobalFilterButton = React.memo(({ table, ...props }) => {
10
+ const ToggleGlobalFilterButton = ({ table, ...props }) => {
11
11
  const { globalFilter, showGlobalFilter } = table.getState();
12
12
  const { IconSearch, IconSearchOff } = table.options.icons;
13
13
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -26,9 +26,9 @@ const ToggleGlobalFilterButton = React.memo(({ table, ...props }) => {
26
26
  ...props
27
27
  }
28
28
  );
29
- });
29
+ };
30
30
  ToggleGlobalFilterButton.displayName = "ToggleGlobalFilterButton";
31
- const ToggleFiltersButton = React.memo(({ table, ...props }) => {
31
+ const ToggleFiltersButton = ({ table, ...props }) => {
32
32
  const { showColumnFilters } = table.getState();
33
33
  const { IconFilter, IconFilterOff } = table.options.icons;
34
34
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -40,9 +40,9 @@ const ToggleFiltersButton = React.memo(({ table, ...props }) => {
40
40
  ...props
41
41
  }
42
42
  );
43
- });
43
+ };
44
44
  ToggleFiltersButton.displayName = "ToggleFiltersButton";
45
- const ToggleDensePaddingButton = React.memo(({ table, ...props }) => {
45
+ const ToggleDensePaddingButton = ({ table, ...props }) => {
46
46
  const { density } = table.getState();
47
47
  const { IconBaselineDensityLarge, IconBaselineDensityMedium, IconBaselineDensitySmall } = table.options.icons;
48
48
  const Icon = density === "xs" ? IconBaselineDensitySmall : density === "md" ? IconBaselineDensityMedium : IconBaselineDensityLarge;
@@ -55,9 +55,9 @@ const ToggleDensePaddingButton = React.memo(({ table, ...props }) => {
55
55
  ...props
56
56
  }
57
57
  );
58
- });
58
+ };
59
59
  ToggleDensePaddingButton.displayName = "ToggleDensePaddingButton";
60
- const ToggleFullScreenButton = React.memo(({ table, tooltipProps, ...props }) => {
60
+ const ToggleFullScreenButton = ({ table, tooltipProps, ...props }) => {
61
61
  const { isFullScreen } = table.getState();
62
62
  const { IconMaximize, IconMinimize } = table.options.icons;
63
63
  const [tooltipOpened, setTooltipOpened] = React.useState(false);
@@ -77,9 +77,9 @@ const ToggleFullScreenButton = React.memo(({ table, tooltipProps, ...props }) =>
77
77
  ...props
78
78
  }
79
79
  );
80
- });
80
+ };
81
81
  ToggleFullScreenButton.displayName = "ToggleFullScreenButton";
82
- const ShowHideColumnsButton = React.memo(({ table, tooltipProps, iconProps, ...props }) => {
82
+ const ShowHideColumnsButton = ({ table, tooltipProps, iconProps, ...props }) => {
83
83
  const { IconColumns } = table.options.icons;
84
84
  const label = table.options.localization.showHideColumns;
85
85
  const actionIconProps = hooks.useActionIcon(props);
@@ -87,7 +87,7 @@ const ShowHideColumnsButton = React.memo(({ table, tooltipProps, iconProps, ...p
87
87
  /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { withinPortal: true, ...tooltipProps, label: (tooltipProps == null ? void 0 : tooltipProps.label) ?? label, children: /* @__PURE__ */ jsxRuntime.jsx(core.Menu.Target, { children: /* @__PURE__ */ jsxRuntime.jsx(core.ActionIcon, { "aria-label": label, ...actionIconProps, children: /* @__PURE__ */ jsxRuntime.jsx(IconColumns, { ...iconProps }) }) }) }),
88
88
  /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_ShowHideColumnsMenu, { table })
89
89
  ] });
90
- });
90
+ };
91
91
  ShowHideColumnsButton.displayName = "ShowHideColumnsButton";
92
92
  exports.ShowHideColumnsButton = ShowHideColumnsButton;
93
93
  exports.ToggleDensePaddingButton = ToggleDensePaddingButton;
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { mergeProps, parseFromValuesOrFunc, getValue } from "fastapi-rtk/utils";
3
3
  import { Flex } from "@mantine/core";
4
- import { useMap, useSetState } from "@mantine/hooks";
4
+ import { useMap } from "@mantine/hooks";
5
5
  import { useEffect, useMemo } from "react";
6
6
  import { useApi } from "../../../../hooks/api/useApi.mjs";
7
7
  import { useAuth } from "../../../../hooks/auth/useAuth.mjs";
@@ -10,7 +10,7 @@ import { MemoCell, Cell } from "./Cell.mjs";
10
10
  import { MemoColumnHeaderFilter, ColumnHeaderFilter } from "./ColumnHeaderFilter.mjs";
11
11
  import { HeaderAdvancedFiltersMenuButton } from "./HeaderAdvancedFiltersMenuButton.mjs";
12
12
  function useColumns(columnProps, header, body, textFilterSeparator, enableAdvancedFilters, memo) {
13
- const { path, info, queryParams, data, specialKey } = useApi();
13
+ const { info, queryParams, data, specialKey } = useApi();
14
14
  const api = useApi();
15
15
  const auth = useAuth();
16
16
  const idValueMap = useMap();
@@ -142,13 +142,7 @@ function useColumns(columnProps, header, body, textFilterSeparator, enableAdvanc
142
142
  textFilterSeparator
143
143
  ]
144
144
  );
145
- const [simpleCache, setSimpleCache] = useSetState({});
146
- useEffect(() => {
147
- if (columns.length) {
148
- setSimpleCache({ [data.path]: columns });
149
- }
150
- }, [columns]);
151
- return { columns: columns.length ? columns : (simpleCache == null ? void 0 : simpleCache[path]) || columns, manualFiltering: true };
145
+ return { columns, manualFiltering: true };
152
146
  }
153
147
  export {
154
148
  useColumns
@@ -2,10 +2,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useActionIcon } from "fastapi-rtk/hooks";
3
3
  import { Menu, Tooltip, ActionIcon } from "@mantine/core";
4
4
  import { MRT_ShowHideColumnsMenu } from "../../../../../../.external/esm/mantine-react-table@2.0.0-beta.9_patch_hash_046f1b0f764b8dc88804170e4ca8f096de0796df0be_2e8cfd91765713166f4d486da3b54b13/mantine-react-table/dist/index.esm.mjs";
5
- import { memo, useState } from "react";
5
+ import { useState } from "react";
6
6
  import { BaseActionIcon } from "../../../../ActionIcons/utils/BaseActionIcon.mjs";
7
7
  const DENSITY_NEXT = { md: "xs", xl: "md", xs: "xl" };
8
- const ToggleGlobalFilterButton = memo(({ table, ...props }) => {
8
+ const ToggleGlobalFilterButton = ({ table, ...props }) => {
9
9
  const { globalFilter, showGlobalFilter } = table.getState();
10
10
  const { IconSearch, IconSearchOff } = table.options.icons;
11
11
  return /* @__PURE__ */ jsx(
@@ -24,9 +24,9 @@ const ToggleGlobalFilterButton = memo(({ table, ...props }) => {
24
24
  ...props
25
25
  }
26
26
  );
27
- });
27
+ };
28
28
  ToggleGlobalFilterButton.displayName = "ToggleGlobalFilterButton";
29
- const ToggleFiltersButton = memo(({ table, ...props }) => {
29
+ const ToggleFiltersButton = ({ table, ...props }) => {
30
30
  const { showColumnFilters } = table.getState();
31
31
  const { IconFilter, IconFilterOff } = table.options.icons;
32
32
  return /* @__PURE__ */ jsx(
@@ -38,9 +38,9 @@ const ToggleFiltersButton = memo(({ table, ...props }) => {
38
38
  ...props
39
39
  }
40
40
  );
41
- });
41
+ };
42
42
  ToggleFiltersButton.displayName = "ToggleFiltersButton";
43
- const ToggleDensePaddingButton = memo(({ table, ...props }) => {
43
+ const ToggleDensePaddingButton = ({ table, ...props }) => {
44
44
  const { density } = table.getState();
45
45
  const { IconBaselineDensityLarge, IconBaselineDensityMedium, IconBaselineDensitySmall } = table.options.icons;
46
46
  const Icon = density === "xs" ? IconBaselineDensitySmall : density === "md" ? IconBaselineDensityMedium : IconBaselineDensityLarge;
@@ -53,9 +53,9 @@ const ToggleDensePaddingButton = memo(({ table, ...props }) => {
53
53
  ...props
54
54
  }
55
55
  );
56
- });
56
+ };
57
57
  ToggleDensePaddingButton.displayName = "ToggleDensePaddingButton";
58
- const ToggleFullScreenButton = memo(({ table, tooltipProps, ...props }) => {
58
+ const ToggleFullScreenButton = ({ table, tooltipProps, ...props }) => {
59
59
  const { isFullScreen } = table.getState();
60
60
  const { IconMaximize, IconMinimize } = table.options.icons;
61
61
  const [tooltipOpened, setTooltipOpened] = useState(false);
@@ -75,9 +75,9 @@ const ToggleFullScreenButton = memo(({ table, tooltipProps, ...props }) => {
75
75
  ...props
76
76
  }
77
77
  );
78
- });
78
+ };
79
79
  ToggleFullScreenButton.displayName = "ToggleFullScreenButton";
80
- const ShowHideColumnsButton = memo(({ table, tooltipProps, iconProps, ...props }) => {
80
+ const ShowHideColumnsButton = ({ table, tooltipProps, iconProps, ...props }) => {
81
81
  const { IconColumns } = table.options.icons;
82
82
  const label = table.options.localization.showHideColumns;
83
83
  const actionIconProps = useActionIcon(props);
@@ -85,7 +85,7 @@ const ShowHideColumnsButton = memo(({ table, tooltipProps, iconProps, ...props }
85
85
  /* @__PURE__ */ jsx(Tooltip, { withinPortal: true, ...tooltipProps, label: (tooltipProps == null ? void 0 : tooltipProps.label) ?? label, children: /* @__PURE__ */ jsx(Menu.Target, { children: /* @__PURE__ */ jsx(ActionIcon, { "aria-label": label, ...actionIconProps, children: /* @__PURE__ */ jsx(IconColumns, { ...iconProps }) }) }) }),
86
86
  /* @__PURE__ */ jsx(MRT_ShowHideColumnsMenu, { table })
87
87
  ] });
88
- });
88
+ };
89
89
  ShowHideColumnsButton.displayName = "ShowHideColumnsButton";
90
90
  export {
91
91
  ShowHideColumnsButton,
@@ -1,4 +1,4 @@
1
1
  export function useColumns(columnProps: any, header: any, body: any, textFilterSeparator: any, enableAdvancedFilters: any, memo: any): {
2
- columns: any;
2
+ columns: any[];
3
3
  manualFiltering: boolean;
4
4
  };
@@ -1,5 +1,42 @@
1
- export const ToggleGlobalFilterButton: import('react').NamedExoticComponent<object>;
2
- export const ToggleFiltersButton: import('react').NamedExoticComponent<object>;
3
- export const ToggleDensePaddingButton: import('react').NamedExoticComponent<object>;
4
- export const ToggleFullScreenButton: import('react').NamedExoticComponent<object>;
5
- export const ShowHideColumnsButton: import('react').NamedExoticComponent<object>;
1
+ export function ToggleGlobalFilterButton({ table, ...props }: {
2
+ [x: string]: any;
3
+ table: any;
4
+ }): import("react").JSX.Element;
5
+ export namespace ToggleGlobalFilterButton {
6
+ let displayName: string;
7
+ }
8
+ export function ToggleFiltersButton({ table, ...props }: {
9
+ [x: string]: any;
10
+ table: any;
11
+ }): import("react").JSX.Element;
12
+ export namespace ToggleFiltersButton {
13
+ let displayName_1: string;
14
+ export { displayName_1 as displayName };
15
+ }
16
+ export function ToggleDensePaddingButton({ table, ...props }: {
17
+ [x: string]: any;
18
+ table: any;
19
+ }): import("react").JSX.Element;
20
+ export namespace ToggleDensePaddingButton {
21
+ let displayName_2: string;
22
+ export { displayName_2 as displayName };
23
+ }
24
+ export function ToggleFullScreenButton({ table, tooltipProps, ...props }: {
25
+ [x: string]: any;
26
+ table: any;
27
+ tooltipProps: any;
28
+ }): import("react").JSX.Element;
29
+ export namespace ToggleFullScreenButton {
30
+ let displayName_3: string;
31
+ export { displayName_3 as displayName };
32
+ }
33
+ export function ShowHideColumnsButton({ table, tooltipProps, iconProps, ...props }: {
34
+ [x: string]: any;
35
+ table: any;
36
+ tooltipProps: any;
37
+ iconProps: any;
38
+ }): import("react").JSX.Element;
39
+ export namespace ShowHideColumnsButton {
40
+ let displayName_4: string;
41
+ export { displayName_4 as displayName };
42
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastapi-rtk",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "private": false,
5
5
  "description": "A React component library for FastAPI in combination with FastAPI React Toolkit backend, built with Mantine, JsonForms, and Zustand.",
6
6
  "license": "MIT",