fastapi-rtk 1.0.44 → 1.0.46

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 (88) hide show
  1. package/dist/.bundled/jsonforms/cjs/_virtual/index10.cjs +2 -2
  2. package/dist/.bundled/jsonforms/cjs/_virtual/index11.cjs +2 -2
  3. package/dist/.bundled/jsonforms/cjs/_virtual/index12.cjs +2 -2
  4. package/dist/.bundled/jsonforms/cjs/_virtual/index3.cjs +2 -2
  5. package/dist/.bundled/jsonforms/cjs/_virtual/index4.cjs +2 -2
  6. package/dist/.bundled/jsonforms/cjs/_virtual/index5.cjs +2 -2
  7. package/dist/.bundled/jsonforms/cjs/_virtual/index6.cjs +2 -2
  8. package/dist/.bundled/jsonforms/cjs/_virtual/index7.cjs +2 -2
  9. package/dist/.bundled/jsonforms/cjs/_virtual/index8.cjs +2 -2
  10. package/dist/.bundled/jsonforms/cjs/_virtual/index9.cjs +2 -2
  11. package/dist/.bundled/jsonforms/esm/_virtual/index10.mjs +2 -2
  12. package/dist/.bundled/jsonforms/esm/_virtual/index11.mjs +2 -2
  13. package/dist/.bundled/jsonforms/esm/_virtual/index12.mjs +2 -2
  14. package/dist/.bundled/jsonforms/esm/_virtual/index3.mjs +2 -2
  15. package/dist/.bundled/jsonforms/esm/_virtual/index4.mjs +2 -2
  16. package/dist/.bundled/jsonforms/esm/_virtual/index5.mjs +2 -2
  17. package/dist/.bundled/jsonforms/esm/_virtual/index6.mjs +2 -2
  18. package/dist/.bundled/jsonforms/esm/_virtual/index7.mjs +2 -2
  19. package/dist/.bundled/jsonforms/esm/_virtual/index8.mjs +2 -2
  20. package/dist/.bundled/jsonforms/esm/_virtual/index9.mjs +2 -2
  21. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/compile/codegen/index.cjs +1 -1
  22. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/compile/index.cjs +1 -1
  23. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/compile/validate/index.cjs +1 -1
  24. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/vocabularies/applicator/index.cjs +1 -1
  25. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/vocabularies/core/index.cjs +1 -1
  26. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/vocabularies/discriminator/index.cjs +1 -1
  27. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/vocabularies/format/index.cjs +1 -1
  28. package/dist/.external/cjs/ajv@8.18.0/ajv/dist/vocabularies/validation/index.cjs +1 -1
  29. package/dist/.external/cjs/fast-uri@3.1.0/fast-uri/index.cjs +1 -1
  30. package/dist/.external/cjs/json-schema-traverse@1.0.0/json-schema-traverse/index.cjs +1 -1
  31. package/dist/.external/esm/ajv@8.18.0/ajv/dist/compile/codegen/index.mjs +1 -1
  32. package/dist/.external/esm/ajv@8.18.0/ajv/dist/compile/index.mjs +1 -1
  33. package/dist/.external/esm/ajv@8.18.0/ajv/dist/compile/validate/index.mjs +1 -1
  34. package/dist/.external/esm/ajv@8.18.0/ajv/dist/vocabularies/applicator/index.mjs +1 -1
  35. package/dist/.external/esm/ajv@8.18.0/ajv/dist/vocabularies/core/index.mjs +1 -1
  36. package/dist/.external/esm/ajv@8.18.0/ajv/dist/vocabularies/discriminator/index.mjs +1 -1
  37. package/dist/.external/esm/ajv@8.18.0/ajv/dist/vocabularies/format/index.mjs +1 -1
  38. package/dist/.external/esm/ajv@8.18.0/ajv/dist/vocabularies/validation/index.mjs +1 -1
  39. package/dist/.external/esm/fast-uri@3.1.0/fast-uri/index.mjs +1 -1
  40. package/dist/.external/esm/json-schema-traverse@1.0.0/json-schema-traverse/index.mjs +1 -1
  41. package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._7jqiyi5sshrifwwn7z7vmkfdl4/mantine-react-table/dist/index.esm.mjs +2 -2
  42. package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +3 -2
  43. package/dist/core/cjs/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.cjs +12 -0
  44. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useOptimizations.cjs +24 -0
  45. package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useSelection/useSelection.cjs +2 -2
  46. package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TablePaper.cjs +3 -3
  47. package/dist/core/cjs/Tables/NextGenDataGrid/patch/head/MRT_TableHead.cjs +78 -0
  48. package/dist/core/cjs/Tables/NextGenDataGrid/patch/head/MRT_TableHead.module.css.cjs +16 -0
  49. package/dist/core/cjs/Tables/NextGenDataGrid/patch/table/MRT_Table.cjs +2 -1
  50. package/dist/core/cjs/Tables/NextGenDataGrid/patch/toolbar/MRT_BottomToolbar.cjs +74 -0
  51. package/dist/core/cjs/Tables/NextGenDataGrid/patch/toolbar/MRT_BottomToolbar.module.css.cjs +12 -0
  52. package/dist/core/cjs/Tables/NextGenDataGrid/patch/{MRT_TopToolbar.cjs → toolbar/MRT_TopToolbar.cjs} +3 -3
  53. package/dist/core/cjs/_virtual/_nodeUtil.cjs +4 -0
  54. package/dist/core/cjs/_virtual/isBuffer.cjs +4 -0
  55. package/dist/core/cjs/_virtual/isEqual.cjs +6 -0
  56. package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +3 -2
  57. package/dist/core/esm/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.mjs +12 -0
  58. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useOptimizations.mjs +24 -0
  59. package/dist/core/esm/Tables/NextGenDataGrid/hooks/useSelection/useSelection.mjs +2 -2
  60. package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TablePaper.mjs +2 -2
  61. package/dist/core/esm/Tables/NextGenDataGrid/patch/head/MRT_TableHead.mjs +78 -0
  62. package/dist/core/esm/Tables/NextGenDataGrid/patch/head/MRT_TableHead.module.css.mjs +16 -0
  63. package/dist/core/esm/Tables/NextGenDataGrid/patch/table/MRT_Table.mjs +2 -1
  64. package/dist/core/esm/Tables/NextGenDataGrid/patch/toolbar/MRT_BottomToolbar.mjs +74 -0
  65. package/dist/core/esm/Tables/NextGenDataGrid/patch/toolbar/MRT_BottomToolbar.module.css.mjs +12 -0
  66. package/dist/core/esm/Tables/NextGenDataGrid/patch/{MRT_TopToolbar.mjs → toolbar/MRT_TopToolbar.mjs} +3 -3
  67. package/dist/core/esm/_virtual/_nodeUtil.mjs +4 -0
  68. package/dist/core/esm/_virtual/isBuffer.mjs +4 -0
  69. package/dist/core/esm/_virtual/isEqual.mjs +7 -0
  70. package/dist/core/lib/Tables/NextGenDataGrid/NextGenDataGrid.d.ts +4 -0
  71. package/dist/core/lib/Tables/NextGenDataGrid/components/OptimizedMRT_RowSelectColumn/zustand.d.ts +12 -0
  72. package/dist/core/lib/Tables/NextGenDataGrid/hooks/useSelection/useSelection.d.ts +1 -1
  73. package/dist/core/lib/Tables/NextGenDataGrid/patch/head/MRT_TableHead.d.ts +5 -0
  74. package/dist/core/lib/Tables/NextGenDataGrid/patch/toolbar/MRT_BottomToolbar.d.ts +4 -0
  75. package/dist/core/styles.css +118 -40
  76. package/dist/utils/cjs/index.cjs +2 -0
  77. package/dist/utils/cjs/useWatchRef/useWatchRef.cjs +28 -0
  78. package/dist/utils/esm/index.mjs +3 -1
  79. package/dist/utils/esm/useWatchRef/useWatchRef.mjs +28 -0
  80. package/dist/utils/lib/index.d.ts +1 -0
  81. package/dist/utils/lib/useWatchRef/index.d.ts +1 -0
  82. package/dist/utils/lib/useWatchRef/useWatchRef.d.ts +1 -0
  83. package/package.json +1 -1
  84. /package/dist/core/cjs/Tables/NextGenDataGrid/patch/{MRT_TopToolbar.module.css.cjs → toolbar/MRT_TopToolbar.module.css.cjs} +0 -0
  85. /package/dist/core/cjs/Tables/NextGenDataGrid/patch/{common.styles.module.css.cjs → toolbar/common.styles.module.css.cjs} +0 -0
  86. /package/dist/core/esm/Tables/NextGenDataGrid/patch/{MRT_TopToolbar.module.css.mjs → toolbar/MRT_TopToolbar.module.css.mjs} +0 -0
  87. /package/dist/core/esm/Tables/NextGenDataGrid/patch/{common.styles.module.css.mjs → toolbar/common.styles.module.css.mjs} +0 -0
  88. /package/dist/core/lib/Tables/NextGenDataGrid/patch/{MRT_TopToolbar.d.ts → toolbar/MRT_TopToolbar.d.ts} +0 -0
@@ -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 compile = {};
4
+ exports.__exports = compile;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var fastUri = { exports: {} };
4
- exports.__module = fastUri;
3
+ var jsonSchemaTraverse = { exports: {} };
4
+ exports.__module = jsonSchemaTraverse;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var jsonSchemaTraverse = { exports: {} };
4
- exports.__module = jsonSchemaTraverse;
3
+ var fastUri = { exports: {} };
4
+ exports.__module = fastUri;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var codegen = {};
4
- exports.__exports = codegen;
3
+ var discriminator = {};
4
+ exports.__exports = discriminator;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var discriminator = {};
4
- exports.__exports = discriminator;
3
+ var validate = {};
4
+ exports.__exports = validate;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var validate = {};
4
- exports.__exports = validate;
3
+ var codegen = {};
4
+ exports.__exports = codegen;
@@ -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 core = {};
4
+ exports.__exports = core;
@@ -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 validation = {};
4
+ exports.__exports = validation;
@@ -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 applicator = {};
4
+ exports.__exports = applicator;
@@ -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 format = {};
4
+ exports.__exports = format;
@@ -1,4 +1,4 @@
1
- var format = {};
1
+ var compile = {};
2
2
  export {
3
- format as __exports
3
+ compile as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var fastUri = { exports: {} };
1
+ var jsonSchemaTraverse = { exports: {} };
2
2
  export {
3
- fastUri as __module
3
+ jsonSchemaTraverse as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var jsonSchemaTraverse = { exports: {} };
1
+ var fastUri = { exports: {} };
2
2
  export {
3
- jsonSchemaTraverse as __module
3
+ fastUri as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var codegen = {};
1
+ var discriminator = {};
2
2
  export {
3
- codegen as __exports
3
+ discriminator as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var discriminator = {};
1
+ var validate = {};
2
2
  export {
3
- discriminator as __exports
3
+ validate as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var validate = {};
1
+ var codegen = {};
2
2
  export {
3
- validate as __exports
3
+ codegen as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var compile = {};
1
+ var core = {};
2
2
  export {
3
- compile as __exports
3
+ core as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var core = {};
1
+ var validation = {};
2
2
  export {
3
- core as __exports
3
+ validation as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var validation = {};
1
+ var applicator = {};
2
2
  export {
3
- validation as __exports
3
+ applicator as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var applicator = {};
1
+ var format = {};
2
2
  export {
3
- applicator as __exports
3
+ format 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/index3.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index5.cjs");
4
4
  const code = require("./code.cjs");
5
5
  const scope = require("./scope.cjs");
6
6
  var hasRequiredCodegen;
@@ -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/index10.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/index5.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index4.cjs");
4
4
  const boolSchema = require("./boolSchema.cjs");
5
5
  const dataType = require("./dataType.cjs");
6
6
  const applicability = require("./applicability.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/index9.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index8.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/index7.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index6.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/index4.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index3.cjs");
4
4
  const index$1 = require("../../compile/codegen/index.cjs");
5
5
  const types = require("./types.cjs");
6
6
  const index$2 = require("../../compile/index.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/index10.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index9.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/index8.cjs");
3
+ const index = require("../../../../../../../.bundled/jsonforms/cjs/_virtual/index7.cjs");
4
4
  const limitNumber = require("./limitNumber.cjs");
5
5
  const multipleOf = require("./multipleOf.cjs");
6
6
  const limitLength = require("./limitLength.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/index11.cjs");
3
+ const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index12.cjs");
4
4
  const utils = require("./lib/utils.cjs");
5
5
  const schemes = require("./lib/schemes.cjs");
6
6
  var hasRequiredFastUri;
@@ -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/index12.cjs");
3
+ const index = require("../../../../.bundled/jsonforms/cjs/_virtual/index11.cjs");
4
4
  var hasRequiredJsonSchemaTraverse;
5
5
  function requireJsonSchemaTraverse() {
6
6
  if (hasRequiredJsonSchemaTraverse) return index.__module.exports;
@@ -1,4 +1,4 @@
1
- import { __exports as codegen } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index3.mjs";
1
+ import { __exports as codegen } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index5.mjs";
2
2
  import { __require as requireCode } from "./code.mjs";
3
3
  import { __require as requireScope } from "./scope.mjs";
4
4
  var hasRequiredCodegen;
@@ -1,4 +1,4 @@
1
- import { __exports as compile } from "../../../../../../.bundled/jsonforms/esm/_virtual/index6.mjs";
1
+ import { __exports as compile } from "../../../../../../.bundled/jsonforms/esm/_virtual/index10.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 validate } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index5.mjs";
1
+ import { __exports as validate } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index4.mjs";
2
2
  import { __require as requireBoolSchema } from "./boolSchema.mjs";
3
3
  import { __require as requireDataType } from "./dataType.mjs";
4
4
  import { __require as requireApplicability } from "./applicability.mjs";
@@ -1,4 +1,4 @@
1
- import { __exports as applicator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index9.mjs";
1
+ import { __exports as applicator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index8.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/index7.mjs";
1
+ import { __exports as core } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index6.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 discriminator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index4.mjs";
1
+ import { __exports as discriminator } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index3.mjs";
2
2
  import { __require as requireCodegen } from "../../compile/codegen/index.mjs";
3
3
  import { __require as requireTypes } from "./types.mjs";
4
4
  import { __require as requireCompile } from "../../compile/index.mjs";
@@ -1,4 +1,4 @@
1
- import { __exports as format } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index10.mjs";
1
+ import { __exports as format } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index9.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/index8.mjs";
1
+ import { __exports as validation } from "../../../../../../../.bundled/jsonforms/esm/_virtual/index7.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,4 +1,4 @@
1
- import { __module as fastUri } from "../../../../.bundled/jsonforms/esm/_virtual/index11.mjs";
1
+ import { __module as fastUri } from "../../../../.bundled/jsonforms/esm/_virtual/index12.mjs";
2
2
  import { __require as requireUtils } from "./lib/utils.mjs";
3
3
  import { __require as requireSchemes } from "./lib/schemes.mjs";
4
4
  var hasRequiredFastUri;
@@ -1,4 +1,4 @@
1
- import { __module as jsonSchemaTraverse } from "../../../../.bundled/jsonforms/esm/_virtual/index12.mjs";
1
+ import { __module as jsonSchemaTraverse } from "../../../../.bundled/jsonforms/esm/_virtual/index11.mjs";
2
2
  var hasRequiredJsonSchemaTraverse;
3
3
  function requireJsonSchemaTraverse() {
4
4
  if (hasRequiredJsonSchemaTraverse) return jsonSchemaTraverse.exports;
@@ -1,11 +1,11 @@
1
1
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
2
  import { clsx } from "../../../clsx@2.1.1/clsx/dist/clsx.mjs";
3
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, Menu, Transition, Group, Pagination, Progress, Modal, Stack, Button, Badge, Alert, TableThead, TableTh, TableTfoot, useMantineTheme, Popover, Indicator, RangeSlider, Autocomplete, useMantineColorScheme, Table, lighten, darken, TableTbody, LoadingOverlay, Paper } from "@mantine/core";
4
+ import { useDirection, TableTd, TableTr, Collapse, Skeleton, Select, MultiSelect, TextInput, CopyButton, Tooltip, UnstyledButton, Highlight, Text, Box, ActionIcon, Switch, Radio, Checkbox, Flex, Menu, Transition, 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.4_react@19.2.4/@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.4_react@19.2.4/@tanstack/react-virtual/dist/esm/index.mjs";
8
- import { useMediaQuery, useDebouncedValue, useHover } from "@mantine/hooks";
8
+ import { useDebouncedValue, useHover, useMediaQuery } from "@mantine/hooks";
9
9
  import { DateInput } from "@mantine/dates";
10
10
  import { createRow as createRow$1, getSortedRowModel, getPaginationRowModel, getGroupedRowModel, getFilteredRowModel, getFacetedUniqueValues, getFacetedRowModel, getFacetedMinMaxValues, getExpandedRowModel, getCoreRowModel, aggregationFns, filterFns, sortingFns } from "../../../@tanstack_table-core@8.20.5/@tanstack/table-core/build/lib/index.mjs";
11
11
  import { defaultRangeExtractor } from "../../../@tanstack_virtual-core@3.11.2/@tanstack/virtual-core/dist/esm/index.mjs";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
+ const constants = require("fastapi-rtk/constants");
6
7
  const utils = require("fastapi-rtk/utils");
7
8
  const core = require("@mantine/core");
8
9
  const index_esm = require("../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._7jqiyi5sshrifwwn7z7vmkfdl4/mantine-react-table/dist/index.esm.cjs");
@@ -32,7 +33,7 @@ const useToolbar = require("./hooks/useToolbar/useToolbar.cjs");
32
33
  const useToolbarAlertBanner = require("./hooks/useToolbarAlertBanner/useToolbarAlertBanner.cjs");
33
34
  const MantineReactTable = require("./patch/MantineReactTable.cjs");
34
35
  const baseProps = { enableStickyHeader: true, enableColumnPinning: true };
35
- const defaultProps = { optimizations: { loading: true } };
36
+ const defaultProps = { optimizations: { loading: true, selectionSyncDelay: constants.DEBOUNCE_DELAY } };
36
37
  const NextGenDataGrid = React.forwardRef((props, ref) => {
37
38
  var _a, _b, _c, _d, _e;
38
39
  const { info, specialKey } = useApi.useApi();
@@ -153,7 +154,7 @@ const NextGenDataGrid = React.forwardRef((props, ref) => {
153
154
  const globalFilterProps = useGlobalFilter.useGlobalFilter();
154
155
  const toolbarProps = useToolbar.useToolbar(toolbar, quickFilters, quickFiltersComponent, hideToolbar, enableAdvancedFilters);
155
156
  const eventProps = useEvent.useEvent(onClickEntry);
156
- const checkboxProps = useSelection.useSelection(onSelectCheckbox, bulkActions);
157
+ const checkboxProps = useSelection.useSelection(onSelectCheckbox, bulkActions, optimizations);
157
158
  const filterProps = useFilters.useFilters();
158
159
  const toolbarAlertBannerProps = useToolbarAlertBanner.useToolbarAlertBanner(toolbar, optimizations);
159
160
  const i18nProps = useI18n.useI18n();
@@ -3,6 +3,16 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const react = require("../../../../../../.external/cjs/zustand@5.0.11_@types_react@19.2.14_react@19.2.4/zustand/esm/react.cjs");
4
4
  const selectionStoreFactory = () => react.create((set, get) => ({
5
5
  rowSelection: {},
6
+ refs: /* @__PURE__ */ new Set(),
7
+ getSelectedRows: () => Object.keys(get().rowSelection),
8
+ setSelectedRows: (ids) => set(() => {
9
+ const newRowSelection = {};
10
+ ids.forEach((id) => {
11
+ newRowSelection[id] = true;
12
+ });
13
+ get().refs.forEach((ref) => ref.current = ids);
14
+ return { rowSelection: newRowSelection };
15
+ }),
6
16
  getIsAllRowsSelected: (table) => {
7
17
  const rowModel = table.getRowModel();
8
18
  return rowModel.rows.length > 0 && rowModel.rows.every((row) => get().rowSelection[row.id]);
@@ -19,6 +29,7 @@ const selectionStoreFactory = () => react.create((set, get) => ({
19
29
  } else {
20
30
  newRowSelection[rowId] = true;
21
31
  }
32
+ get().refs.forEach((ref) => ref.current = Object.keys(newRowSelection));
22
33
  return { rowSelection: newRowSelection };
23
34
  }),
24
35
  toggleAllRowsSelected: (table, value) => set((state) => {
@@ -30,6 +41,7 @@ const selectionStoreFactory = () => react.create((set, get) => ({
30
41
  delete newRowSelection[row.id];
31
42
  }
32
43
  });
44
+ get().refs.forEach((ref) => ref.current = Object.keys(newRowSelection));
33
45
  return { rowSelection: newRowSelection };
34
46
  })
35
47
  }));
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const utils = require("fastapi-rtk/utils");
4
+ const isEqual = require("../../../_virtual/isEqual.cjs");
3
5
  const React = require("react");
4
6
  const getOptimizedMRT_RowSelectColumnDef = require("../components/OptimizedMRT_RowSelectColumn/getOptimizedMRT_RowSelectColumnDef.cjs");
5
7
  const zustand = require("../components/OptimizedMRT_RowSelectColumn/zustand.cjs");
@@ -13,7 +15,29 @@ const useOptimizations = (tableOptions, columns, optimizations) => {
13
15
  };
14
16
  const useTableOptimizations = (table, onSelectCheckbox, bulkActions, optimizations) => {
15
17
  const store = table.refs.selectionStoreRef.current;
18
+ const refs = zustand.useSelectionStore(store, (state) => state.refs);
16
19
  const optimizedRowSelection = zustand.useSelectionStore(store, (state) => state.rowSelection);
20
+ const optimizedGetSelectedRows = zustand.useSelectionStore(store, (state) => state.getSelectedRows);
21
+ const optimizedSetSelectedRows = zustand.useSelectionStore(store, (state) => state.setSelectedRows);
22
+ utils.useWatchRef(optimizations == null ? void 0 : optimizations.selectionValueRef, (value) => {
23
+ const internalValue = optimizedGetSelectedRows();
24
+ utils.FastAPIRTKLogger.debug(
25
+ "[useTableOptimizations] Watching selectionValueRef",
26
+ `value:`,
27
+ value,
28
+ `internalValue:`,
29
+ internalValue
30
+ );
31
+ if (isEqual(internalValue, value)) {
32
+ utils.FastAPIRTKLogger.debug("[useTableOptimizations] No change in selection, skipping update.");
33
+ return;
34
+ }
35
+ utils.FastAPIRTKLogger.debug("[useTableOptimizations] Updating selected rows based on selectionValueRef change.");
36
+ optimizedSetSelectedRows(value);
37
+ });
38
+ if (optimizations == null ? void 0 : optimizations.selectionValueRef) {
39
+ refs.add(optimizations.selectionValueRef);
40
+ }
17
41
  React.useEffect(() => {
18
42
  if (!(optimizations == null ? void 0 : optimizations.selection)) {
19
43
  return;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- function useSelection(onSelectCheckbox, bulkActions) {
5
- return { enableRowSelection: !!onSelectCheckbox || !!bulkActions };
4
+ function useSelection(onSelectCheckbox, bulkActions, optimizations) {
5
+ return { enableRowSelection: !!onSelectCheckbox || !!bulkActions || !!(optimizations == null ? void 0 : optimizations.selection) };
6
6
  }
7
7
  const useTableSelection = (table, onSelectCheckbox, bulkActions) => {
8
8
  React.useEffect(() => {
@@ -4,10 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const utils = require("fastapi-rtk/utils");
5
5
  const core = require("@mantine/core");
6
6
  const clsx = require("../../../../../.external/cjs/clsx@2.1.1/clsx/dist/clsx.cjs");
7
- const index_esm = require("../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._7jqiyi5sshrifwwn7z7vmkfdl4/mantine-react-table/dist/index.esm.cjs");
8
7
  const MRT_TableContainer = require("./MRT_TableContainer.cjs");
9
8
  const MRT_TablePaper_module = require("./MRT_TablePaper.module.css.cjs");
10
- const MRT_TopToolbar = require("./MRT_TopToolbar.cjs");
9
+ const MRT_BottomToolbar = require("./toolbar/MRT_BottomToolbar.cjs");
10
+ const MRT_TopToolbar = require("./toolbar/MRT_TopToolbar.cjs");
11
11
  const MRT_TablePaper = ({ table, ...rest }) => {
12
12
  const {
13
13
  getState,
@@ -59,7 +59,7 @@ const MRT_TablePaper = ({ table, ...rest }) => {
59
59
  children: [
60
60
  enableTopToolbar && (utils.parseFromValuesOrFunc(renderTopToolbar, { table }) ?? /* @__PURE__ */ jsxRuntime.jsx(MRT_TopToolbar.MRT_TopToolbar, { table })),
61
61
  /* @__PURE__ */ jsxRuntime.jsx(MRT_TableContainer.MRT_TableContainer, { table }),
62
- enableBottomToolbar && (utils.parseFromValuesOrFunc(renderBottomToolbar, { table }) ?? /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_BottomToolbar, { table }))
62
+ enableBottomToolbar && (utils.parseFromValuesOrFunc(renderBottomToolbar, { table }) ?? /* @__PURE__ */ jsxRuntime.jsx(MRT_BottomToolbar.MRT_BottomToolbar, { table }))
63
63
  ]
64
64
  }
65
65
  );
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const clsx = require("../../../../../../.external/cjs/clsx@2.1.1/clsx/dist/clsx.cjs");
5
+ const MRT_TableHead_module = require("./MRT_TableHead.module.css.cjs");
6
+ const utils = require("fastapi-rtk/utils");
7
+ const core = require("@mantine/core");
8
+ const index_esm = require("../../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._7jqiyi5sshrifwwn7z7vmkfdl4/mantine-react-table/dist/index.esm.cjs");
9
+ const React = require("react");
10
+ const zustand = require("../../components/OptimizedMRT_RowSelectColumn/zustand.cjs");
11
+ const MRT_ToolbarAlertBanner = require("../toolbar/MRT_ToolbarAlertBanner.cjs");
12
+ const MRT_TableHead = ({ columnVirtualizer, table, ...rest }) => {
13
+ const {
14
+ getHeaderGroups,
15
+ getSelectedRowModel,
16
+ getState,
17
+ options: { enableStickyHeader, layoutMode, mantineTableHeadProps, positionToolbarAlertBanner },
18
+ refs: { tableHeadRef }
19
+ } = table;
20
+ const { isFullScreen, showAlertBanner } = getState();
21
+ const tableHeadProps = {
22
+ ...utils.parseFromValuesOrFunc(mantineTableHeadProps, {
23
+ table
24
+ }),
25
+ ...rest
26
+ };
27
+ const stickyHeader = enableStickyHeader || isFullScreen;
28
+ const {
29
+ getPrePaginationRowModel,
30
+ options: { manualPagination, rowCount }
31
+ } = table;
32
+ const { rowSelection } = getState();
33
+ const totalRowCount = rowCount ?? getPrePaginationRowModel().flatRows.length;
34
+ const optimizations = table.refs.optimizations.current;
35
+ const store = table.refs.selectionStoreRef.current;
36
+ const optimizedRowSelection = zustand.useSelectionStore(store, (state) => state.rowSelection);
37
+ const selectedRowCount = React.useMemo(
38
+ () => manualPagination ? Object.values((optimizations == null ? void 0 : optimizations.selection) ? optimizedRowSelection : rowSelection).filter(Boolean).length : getSelectedRowModel().rows.length,
39
+ [optimizedRowSelection, rowSelection, totalRowCount, manualPagination]
40
+ );
41
+ const RTKShowAlertBanner = showAlertBanner || selectedRowCount;
42
+ return /* @__PURE__ */ jsxRuntime.jsx(
43
+ core.TableThead,
44
+ {
45
+ ...tableHeadProps,
46
+ className: clsx.clsx(
47
+ MRT_TableHead_module.default.root,
48
+ (layoutMode == null ? void 0 : layoutMode.startsWith("grid")) ? MRT_TableHead_module.default["root-grid"] : MRT_TableHead_module.default["root-table-row-group"],
49
+ stickyHeader && MRT_TableHead_module.default["root-sticky"],
50
+ tableHeadProps == null ? void 0 : tableHeadProps.className
51
+ ),
52
+ pos: stickyHeader && (layoutMode == null ? void 0 : layoutMode.startsWith("grid")) ? "sticky" : "relative",
53
+ ref: (ref) => {
54
+ tableHeadRef.current = ref;
55
+ if (tableHeadProps == null ? void 0 : tableHeadProps.ref) {
56
+ tableHeadProps.ref.current = ref;
57
+ }
58
+ },
59
+ children: positionToolbarAlertBanner === "head-overlay" && RTKShowAlertBanner ? /* @__PURE__ */ jsxRuntime.jsx(core.TableTr, { className: clsx.clsx(MRT_TableHead_module.default["banner-tr"], (layoutMode == null ? void 0 : layoutMode.startsWith("grid")) && MRT_TableHead_module.default.grid), children: /* @__PURE__ */ jsxRuntime.jsx(
60
+ core.TableTh,
61
+ {
62
+ className: clsx.clsx(MRT_TableHead_module.default["banner-th"], (layoutMode == null ? void 0 : layoutMode.startsWith("grid")) && MRT_TableHead_module.default.grid),
63
+ colSpan: table.getVisibleLeafColumns().length,
64
+ children: /* @__PURE__ */ jsxRuntime.jsx(MRT_ToolbarAlertBanner.MRT_ToolbarAlertBanner, { table })
65
+ }
66
+ ) }) : getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxRuntime.jsx(
67
+ index_esm.MRT_TableHeadRow,
68
+ {
69
+ columnVirtualizer,
70
+ headerGroup,
71
+ table
72
+ },
73
+ headerGroup.id
74
+ ))
75
+ }
76
+ );
77
+ };
78
+ exports.MRT_TableHead = MRT_TableHead;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const root = "_root_1b9w4_1";
4
+ const grid = "_grid_1b9w4_30";
5
+ const classes = {
6
+ root,
7
+ "root-grid": "_root-grid_1b9w4_7",
8
+ "root-table-row-group": "_root-table-row-group_1b9w4_11",
9
+ "root-sticky": "_root-sticky_1b9w4_15",
10
+ "banner-tr": "_banner-tr_1b9w4_21",
11
+ "banner-th": "_banner-th_1b9w4_25",
12
+ grid
13
+ };
14
+ exports.default = classes;
15
+ exports.grid = grid;
16
+ exports.root = root;
@@ -8,6 +8,7 @@ const utils = require("fastapi-rtk/utils");
8
8
  const core = require("@mantine/core");
9
9
  const index_esm = require("../../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._7jqiyi5sshrifwwn7z7vmkfdl4/mantine-react-table/dist/index.esm.cjs");
10
10
  const MRT_TableBody = require("../body/MRT_TableBody.cjs");
11
+ const MRT_TableHead = require("../head/MRT_TableHead.cjs");
11
12
  const MRT_Table = ({ table, ...rest }) => {
12
13
  const {
13
14
  getFlatHeaders,
@@ -57,7 +58,7 @@ const MRT_Table = ({ table, ...rest }) => {
57
58
  ...tableProps.__vars
58
59
  },
59
60
  children: [
60
- enableTableHead && /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_TableHead, { ...commonTableGroupProps }),
61
+ enableTableHead && /* @__PURE__ */ jsxRuntime.jsx(MRT_TableHead.MRT_TableHead, { ...commonTableGroupProps }),
61
62
  memoMode === "table-body" || columnSizingInfo.isResizingColumn ? /* @__PURE__ */ jsxRuntime.jsx(MRT_TableBody.Memo_MRT_TableBody, { ...commonTableGroupProps, tableProps }) : /* @__PURE__ */ jsxRuntime.jsx(MRT_TableBody.MRT_TableBody, { ...commonTableGroupProps, tableProps }),
62
63
  enableTableFooter && /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_TableFooter, { ...commonTableGroupProps })
63
64
  ]