fastapi-rtk 0.2.44 → 0.2.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 (79) hide show
  1. package/dist/.bundled/jsonforms/cjs/_virtual/index3.cjs +2 -2
  2. package/dist/.bundled/jsonforms/cjs/_virtual/index4.cjs +2 -2
  3. package/dist/.bundled/jsonforms/cjs/_virtual/index5.cjs +2 -2
  4. package/dist/.bundled/jsonforms/esm/_virtual/index3.mjs +2 -2
  5. package/dist/.bundled/jsonforms/esm/_virtual/index4.mjs +2 -2
  6. package/dist/.bundled/jsonforms/esm/_virtual/index5.mjs +2 -2
  7. package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
  8. package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
  9. package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
  10. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/codegen/index.cjs +1 -1
  11. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/validate/index.cjs +1 -1
  12. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/discriminator/index.cjs +1 -1
  13. package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +1 -1
  14. package/dist/.external/cjs/{yup@1.7.0 → yup@1.7.1}/yup/index.esm.cjs +30 -23
  15. package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
  16. package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
  17. package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
  18. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/codegen/index.mjs +1 -1
  19. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/validate/index.mjs +1 -1
  20. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/discriminator/index.mjs +1 -1
  21. package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +1 -1
  22. package/dist/.external/esm/{yup@1.7.0 → yup@1.7.1}/yup/index.esm.mjs +30 -23
  23. package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
  24. package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
  25. package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +2 -2
  26. package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
  27. package/dist/core/cjs/Wrappers/ApiProvider/utils/getValidationSchema.cjs +1 -1
  28. package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
  29. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
  30. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
  31. package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
  32. package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
  33. package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +2 -2
  34. package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
  35. package/dist/core/esm/Wrappers/ApiProvider/utils/getValidationSchema.mjs +2 -2
  36. package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
  37. package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
  38. package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
  39. package/package.json +1 -1
  40. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
  41. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
  42. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
  43. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
  44. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
  45. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
  46. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/query.cjs +0 -0
  47. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
  48. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
  49. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryObserver.cjs +0 -0
  50. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/removable.cjs +0 -0
  51. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/retryer.cjs +0 -0
  52. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
  53. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
  54. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/timeoutManager.cjs +0 -0
  55. /package/dist/.external/cjs/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/utils.cjs +0 -0
  56. /package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
  57. /package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
  58. /package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
  59. /package/dist/.external/cjs/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
  60. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
  61. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
  62. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
  63. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
  64. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
  65. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
  66. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/query.mjs +0 -0
  67. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
  68. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
  69. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/queryObserver.mjs +0 -0
  70. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/removable.mjs +0 -0
  71. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/retryer.mjs +0 -0
  72. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
  73. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
  74. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/timeoutManager.mjs +0 -0
  75. /package/dist/.external/esm/{@tanstack_query-core@5.89.0 → @tanstack_query-core@5.90.1}/@tanstack/query-core/build/modern/utils.mjs +0 -0
  76. /package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
  77. /package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
  78. /package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
  79. /package/dist/.external/esm/{@tanstack_react-query@5.89.0_react@18.3.1 → @tanstack_react-query@5.90.1_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
@@ -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
- 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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- const utils = require("../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.cjs");
4
+ const utils = require("../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.cjs");
5
5
  function _interopNamespaceDefault(e) {
6
6
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
7
  if (e) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- const notifyManager = require("../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/notifyManager.cjs");
5
- const utils = require("../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.cjs");
4
+ const notifyManager = require("../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/notifyManager.cjs");
5
+ const utils = require("../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.cjs");
6
6
  const QueryClientProvider = require("./QueryClientProvider.cjs");
7
7
  const QueryErrorResetBoundary = require("./QueryErrorResetBoundary.cjs");
8
8
  const errorBoundaryUtils = require("./errorBoundaryUtils.cjs");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const queryObserver = require("../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/queryObserver.cjs");
3
+ const queryObserver = require("../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/queryObserver.cjs");
4
4
  const useBaseQuery = require("./useBaseQuery.cjs");
5
5
  function useQuery(options, queryClient) {
6
6
  return useBaseQuery.useBaseQuery(options, queryObserver.QueryObserver);
@@ -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/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/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_esm = require("../../../../yup@1.7.0/yup/index.esm.cjs");
3
+ const index_esm = require("../../../../yup@1.7.1/yup/index.esm.cjs");
4
4
  function yupResolver(schema) {
5
5
  return (values) => {
6
6
  try {
@@ -679,9 +679,11 @@ class Schema {
679
679
  * Run the configured transform pipeline over an input value.
680
680
  */
681
681
  cast(value, options = {}) {
682
- let resolvedSchema = this.resolve(Object.assign({
682
+ let resolvedSchema = this.resolve(Object.assign({}, options, {
683
683
  value
684
- }, options));
684
+ // parent: options.parent,
685
+ // context: options.context,
686
+ }));
685
687
  let allowOptionality = options.assert === "ignore-optionality";
686
688
  let result = resolvedSchema._cast(value, options);
687
689
  if (options.assert !== false && !resolvedSchema.isType(result)) {
@@ -698,7 +700,7 @@ attempted value: ${formattedValue}
698
700
  return result;
699
701
  }
700
702
  _cast(rawValue, options) {
701
- let value = rawValue === void 0 ? rawValue : this.transforms.reduce((prevValue, fn) => fn.call(this, prevValue, rawValue, this), rawValue);
703
+ let value = rawValue === void 0 ? rawValue : this.transforms.reduce((prevValue, fn) => fn.call(this, prevValue, rawValue, this, options), rawValue);
702
704
  if (value === void 0) {
703
705
  value = this.getDefault(options);
704
706
  }
@@ -1172,8 +1174,8 @@ class BooleanSchema extends Schema {
1172
1174
  }
1173
1175
  });
1174
1176
  this.withMutation(() => {
1175
- this.transform((value, _raw, ctx) => {
1176
- if (ctx.spec.coerce && !ctx.isType(value)) {
1177
+ this.transform((value, _raw) => {
1178
+ if (this.spec.coerce && !this.isType(value)) {
1177
1179
  if (/^(true|1)$/i.test(String(value))) return true;
1178
1180
  if (/^(false|0)$/i.test(String(value))) return false;
1179
1181
  }
@@ -1300,8 +1302,8 @@ class StringSchema extends Schema {
1300
1302
  }
1301
1303
  });
1302
1304
  this.withMutation(() => {
1303
- this.transform((value, _raw, ctx) => {
1304
- if (!ctx.spec.coerce || ctx.isType(value)) return value;
1305
+ this.transform((value, _raw) => {
1306
+ if (!this.spec.coerce || this.isType(value)) return value;
1305
1307
  if (Array.isArray(value)) return value;
1306
1308
  const strValue = value != null && value.toString ? value.toString() : value;
1307
1309
  if (strValue === objStringTag) return value;
@@ -1503,15 +1505,15 @@ class NumberSchema extends Schema {
1503
1505
  }
1504
1506
  });
1505
1507
  this.withMutation(() => {
1506
- this.transform((value, _raw, ctx) => {
1507
- if (!ctx.spec.coerce) return value;
1508
+ this.transform((value, _raw) => {
1509
+ if (!this.spec.coerce) return value;
1508
1510
  let parsed = value;
1509
1511
  if (typeof parsed === "string") {
1510
1512
  parsed = parsed.replace(/\s/g, "");
1511
1513
  if (parsed === "") return NaN;
1512
1514
  parsed = +parsed;
1513
1515
  }
1514
- if (ctx.isType(parsed) || parsed === null) return parsed;
1516
+ if (this.isType(parsed) || parsed === null) return parsed;
1515
1517
  return parseFloat(parsed);
1516
1518
  });
1517
1519
  });
@@ -1613,8 +1615,8 @@ class DateSchema extends Schema {
1613
1615
  }
1614
1616
  });
1615
1617
  this.withMutation(() => {
1616
- this.transform((value, _raw, ctx) => {
1617
- if (!ctx.spec.coerce || ctx.isType(value) || value === null) return value;
1618
+ this.transform((value, _raw) => {
1619
+ if (!this.spec.coerce || this.isType(value) || value === null) return value;
1618
1620
  value = parseIsoDate(value);
1619
1621
  return !isNaN(value) ? new Date(value) : DateSchema.INVALID_DATE;
1620
1622
  });
@@ -1698,7 +1700,7 @@ function sortByKeyOrder(keys) {
1698
1700
  return findIndex(keys, a) - findIndex(keys, b);
1699
1701
  };
1700
1702
  }
1701
- const parseJson = (value, _, ctx) => {
1703
+ const parseJson = (value, _, schema) => {
1702
1704
  if (typeof value !== "string") {
1703
1705
  return value;
1704
1706
  }
@@ -1707,7 +1709,7 @@ const parseJson = (value, _, ctx) => {
1707
1709
  parsed = JSON.parse(value);
1708
1710
  } catch (err) {
1709
1711
  }
1710
- return ctx.isType(parsed) ? parsed : value;
1712
+ return schema.isType(parsed) ? parsed : value;
1711
1713
  };
1712
1714
  function deepPartial(schema) {
1713
1715
  if ("fields" in schema) {
@@ -1783,9 +1785,9 @@ class ObjectSchema extends Schema {
1783
1785
  for (const prop of props) {
1784
1786
  let field = fields[prop];
1785
1787
  let exists = prop in value;
1788
+ let inputValue = value[prop];
1786
1789
  if (field) {
1787
1790
  let fieldValue;
1788
- let inputValue = value[prop];
1789
1791
  innerOptions.path = (options.path ? `${options.path}.` : "") + prop;
1790
1792
  field = field.resolve({
1791
1793
  value: inputValue,
@@ -1798,17 +1800,14 @@ class ObjectSchema extends Schema {
1798
1800
  isChanged = isChanged || prop in value;
1799
1801
  continue;
1800
1802
  }
1801
- fieldValue = !options.__validating || !strict ? (
1802
- // TODO: use _cast, this is double resolving
1803
- field.cast(value[prop], innerOptions)
1804
- ) : value[prop];
1803
+ fieldValue = !options.__validating || !strict ? field.cast(inputValue, innerOptions) : inputValue;
1805
1804
  if (fieldValue !== void 0) {
1806
1805
  intermediateValue[prop] = fieldValue;
1807
1806
  }
1808
1807
  } else if (exists && !strip) {
1809
- intermediateValue[prop] = value[prop];
1808
+ intermediateValue[prop] = inputValue;
1810
1809
  }
1811
- if (exists !== prop in intermediateValue || intermediateValue[prop] !== value[prop]) {
1810
+ if (exists !== prop in intermediateValue || intermediateValue[prop] !== inputValue) {
1812
1811
  isChanged = true;
1813
1812
  }
1814
1813
  }
@@ -2069,7 +2068,11 @@ class ArraySchema extends Schema {
2069
2068
  let isChanged = false;
2070
2069
  const castArray = value.map((v, idx) => {
2071
2070
  const castElement = this.innerType.cast(v, Object.assign({}, _opts, {
2072
- path: `${_opts.path || ""}[${idx}]`
2071
+ path: `${_opts.path || ""}[${idx}]`,
2072
+ parent: value,
2073
+ originalValue: v,
2074
+ value: v,
2075
+ index: idx
2073
2076
  }));
2074
2077
  if (castElement !== v) {
2075
2078
  isChanged = true;
@@ -2239,7 +2242,11 @@ class TupleSchema extends Schema {
2239
2242
  let isChanged = false;
2240
2243
  const castArray = types.map((type, idx) => {
2241
2244
  const castElement = type.cast(value[idx], Object.assign({}, options, {
2242
- path: `${options.path || ""}[${idx}]`
2245
+ path: `${options.path || ""}[${idx}]`,
2246
+ parent: value,
2247
+ originalValue: value[idx],
2248
+ value: value[idx],
2249
+ index: idx
2243
2250
  }));
2244
2251
  if (castElement !== value[idx]) isChanged = true;
2245
2252
  return castElement;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { shouldThrowError } from "../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.mjs";
2
+ import { shouldThrowError } from "../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.mjs";
3
3
  var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
4
4
  if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) {
5
5
  if (!errorResetBoundary.isReset()) {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- import { notifyManager } from "../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/notifyManager.mjs";
3
- import { noop, isServer } from "../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.mjs";
2
+ import { notifyManager } from "../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/notifyManager.mjs";
3
+ import { noop, isServer } from "../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.mjs";
4
4
  import { useQueryClient } from "./QueryClientProvider.mjs";
5
5
  import { useQueryErrorResetBoundary } from "./QueryErrorResetBoundary.mjs";
6
6
  import { ensurePreventErrorBoundaryRetry, useClearResetErrorBoundary, getHasError } from "./errorBoundaryUtils.mjs";
@@ -1,4 +1,4 @@
1
- import { QueryObserver } from "../../../../../@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/queryObserver.mjs";
1
+ import { QueryObserver } from "../../../../../@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/queryObserver.mjs";
2
2
  import { useBaseQuery } from "./useBaseQuery.mjs";
3
3
  function useQuery(options, queryClient) {
4
4
  return useBaseQuery(options, QueryObserver);
@@ -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 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 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 { ValidationError } from "../../../../yup@1.7.0/yup/index.esm.mjs";
1
+ import { ValidationError } from "../../../../yup@1.7.1/yup/index.esm.mjs";
2
2
  function yupResolver(schema) {
3
3
  return (values) => {
4
4
  try {
@@ -677,9 +677,11 @@ class Schema {
677
677
  * Run the configured transform pipeline over an input value.
678
678
  */
679
679
  cast(value, options = {}) {
680
- let resolvedSchema = this.resolve(Object.assign({
680
+ let resolvedSchema = this.resolve(Object.assign({}, options, {
681
681
  value
682
- }, options));
682
+ // parent: options.parent,
683
+ // context: options.context,
684
+ }));
683
685
  let allowOptionality = options.assert === "ignore-optionality";
684
686
  let result = resolvedSchema._cast(value, options);
685
687
  if (options.assert !== false && !resolvedSchema.isType(result)) {
@@ -696,7 +698,7 @@ attempted value: ${formattedValue}
696
698
  return result;
697
699
  }
698
700
  _cast(rawValue, options) {
699
- let value = rawValue === void 0 ? rawValue : this.transforms.reduce((prevValue, fn) => fn.call(this, prevValue, rawValue, this), rawValue);
701
+ let value = rawValue === void 0 ? rawValue : this.transforms.reduce((prevValue, fn) => fn.call(this, prevValue, rawValue, this, options), rawValue);
700
702
  if (value === void 0) {
701
703
  value = this.getDefault(options);
702
704
  }
@@ -1170,8 +1172,8 @@ class BooleanSchema extends Schema {
1170
1172
  }
1171
1173
  });
1172
1174
  this.withMutation(() => {
1173
- this.transform((value, _raw, ctx) => {
1174
- if (ctx.spec.coerce && !ctx.isType(value)) {
1175
+ this.transform((value, _raw) => {
1176
+ if (this.spec.coerce && !this.isType(value)) {
1175
1177
  if (/^(true|1)$/i.test(String(value))) return true;
1176
1178
  if (/^(false|0)$/i.test(String(value))) return false;
1177
1179
  }
@@ -1298,8 +1300,8 @@ class StringSchema extends Schema {
1298
1300
  }
1299
1301
  });
1300
1302
  this.withMutation(() => {
1301
- this.transform((value, _raw, ctx) => {
1302
- if (!ctx.spec.coerce || ctx.isType(value)) return value;
1303
+ this.transform((value, _raw) => {
1304
+ if (!this.spec.coerce || this.isType(value)) return value;
1303
1305
  if (Array.isArray(value)) return value;
1304
1306
  const strValue = value != null && value.toString ? value.toString() : value;
1305
1307
  if (strValue === objStringTag) return value;
@@ -1501,15 +1503,15 @@ class NumberSchema extends Schema {
1501
1503
  }
1502
1504
  });
1503
1505
  this.withMutation(() => {
1504
- this.transform((value, _raw, ctx) => {
1505
- if (!ctx.spec.coerce) return value;
1506
+ this.transform((value, _raw) => {
1507
+ if (!this.spec.coerce) return value;
1506
1508
  let parsed = value;
1507
1509
  if (typeof parsed === "string") {
1508
1510
  parsed = parsed.replace(/\s/g, "");
1509
1511
  if (parsed === "") return NaN;
1510
1512
  parsed = +parsed;
1511
1513
  }
1512
- if (ctx.isType(parsed) || parsed === null) return parsed;
1514
+ if (this.isType(parsed) || parsed === null) return parsed;
1513
1515
  return parseFloat(parsed);
1514
1516
  });
1515
1517
  });
@@ -1611,8 +1613,8 @@ class DateSchema extends Schema {
1611
1613
  }
1612
1614
  });
1613
1615
  this.withMutation(() => {
1614
- this.transform((value, _raw, ctx) => {
1615
- if (!ctx.spec.coerce || ctx.isType(value) || value === null) return value;
1616
+ this.transform((value, _raw) => {
1617
+ if (!this.spec.coerce || this.isType(value) || value === null) return value;
1616
1618
  value = parseIsoDate(value);
1617
1619
  return !isNaN(value) ? new Date(value) : DateSchema.INVALID_DATE;
1618
1620
  });
@@ -1696,7 +1698,7 @@ function sortByKeyOrder(keys) {
1696
1698
  return findIndex(keys, a) - findIndex(keys, b);
1697
1699
  };
1698
1700
  }
1699
- const parseJson = (value, _, ctx) => {
1701
+ const parseJson = (value, _, schema) => {
1700
1702
  if (typeof value !== "string") {
1701
1703
  return value;
1702
1704
  }
@@ -1705,7 +1707,7 @@ const parseJson = (value, _, ctx) => {
1705
1707
  parsed = JSON.parse(value);
1706
1708
  } catch (err) {
1707
1709
  }
1708
- return ctx.isType(parsed) ? parsed : value;
1710
+ return schema.isType(parsed) ? parsed : value;
1709
1711
  };
1710
1712
  function deepPartial(schema) {
1711
1713
  if ("fields" in schema) {
@@ -1781,9 +1783,9 @@ class ObjectSchema extends Schema {
1781
1783
  for (const prop of props) {
1782
1784
  let field = fields[prop];
1783
1785
  let exists = prop in value;
1786
+ let inputValue = value[prop];
1784
1787
  if (field) {
1785
1788
  let fieldValue;
1786
- let inputValue = value[prop];
1787
1789
  innerOptions.path = (options.path ? `${options.path}.` : "") + prop;
1788
1790
  field = field.resolve({
1789
1791
  value: inputValue,
@@ -1796,17 +1798,14 @@ class ObjectSchema extends Schema {
1796
1798
  isChanged = isChanged || prop in value;
1797
1799
  continue;
1798
1800
  }
1799
- fieldValue = !options.__validating || !strict ? (
1800
- // TODO: use _cast, this is double resolving
1801
- field.cast(value[prop], innerOptions)
1802
- ) : value[prop];
1801
+ fieldValue = !options.__validating || !strict ? field.cast(inputValue, innerOptions) : inputValue;
1803
1802
  if (fieldValue !== void 0) {
1804
1803
  intermediateValue[prop] = fieldValue;
1805
1804
  }
1806
1805
  } else if (exists && !strip) {
1807
- intermediateValue[prop] = value[prop];
1806
+ intermediateValue[prop] = inputValue;
1808
1807
  }
1809
- if (exists !== prop in intermediateValue || intermediateValue[prop] !== value[prop]) {
1808
+ if (exists !== prop in intermediateValue || intermediateValue[prop] !== inputValue) {
1810
1809
  isChanged = true;
1811
1810
  }
1812
1811
  }
@@ -2067,7 +2066,11 @@ class ArraySchema extends Schema {
2067
2066
  let isChanged = false;
2068
2067
  const castArray = value.map((v, idx) => {
2069
2068
  const castElement = this.innerType.cast(v, Object.assign({}, _opts, {
2070
- path: `${_opts.path || ""}[${idx}]`
2069
+ path: `${_opts.path || ""}[${idx}]`,
2070
+ parent: value,
2071
+ originalValue: v,
2072
+ value: v,
2073
+ index: idx
2071
2074
  }));
2072
2075
  if (castElement !== v) {
2073
2076
  isChanged = true;
@@ -2237,7 +2240,11 @@ class TupleSchema extends Schema {
2237
2240
  let isChanged = false;
2238
2241
  const castArray = types.map((type, idx) => {
2239
2242
  const castElement = type.cast(value[idx], Object.assign({}, options, {
2240
- path: `${options.path || ""}[${idx}]`
2243
+ path: `${options.path || ""}[${idx}]`,
2244
+ parent: value,
2245
+ originalValue: value[idx],
2246
+ value: value[idx],
2247
+ index: idx
2241
2248
  }));
2242
2249
  if (castElement !== value[idx]) isChanged = true;
2243
2250
  return castElement;
@@ -7,7 +7,7 @@ const utils = require("fastapi-rtk/utils");
7
7
  const core = require("@mantine/core");
8
8
  const form = require("@mantine/form");
9
9
  const hooks = require("@mantine/hooks");
10
- const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.cjs");
10
+ const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
11
11
  const React = require("react");
12
12
  const useApi = require("../hooks/api/useApi.cjs");
13
13
  const useForms = require("../hooks/api/useForms.cjs");
@@ -8,7 +8,7 @@ const core = require("@mantine/core");
8
8
  const form = require("@mantine/form");
9
9
  const hooks = require("@mantine/hooks");
10
10
  const lodash = require("../_virtual/lodash.cjs");
11
- const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.cjs");
11
+ const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
12
12
  const React = require("react");
13
13
  const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.cjs");
14
14
  const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const core = require("@mantine/core");
5
5
  const form = require("@mantine/form");
6
6
  const hooks = require("@mantine/hooks");
7
- const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.cjs");
7
+ const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
8
8
  const React = require("react");
9
- const index_esm = require("../../../../../../.external/cjs/yup@1.7.0/yup/index.esm.cjs");
9
+ const index_esm = require("../../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
10
10
  const useApi = require("../../../../hooks/api/useApi.cjs");
11
11
  const FormField = require("../../FormField/FormField.cjs");
12
12
  const FormFilterField = require("./FormFilterField.cjs");
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
4
  const utils = require("fastapi-rtk/utils");
5
5
  const hooks = require("@mantine/hooks");
6
- const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.cjs");
7
- const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
6
+ const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.cjs");
7
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
8
8
  const useLang = require("../../../hooks/lang/useLang.cjs");
9
9
  const createItem = require("../utils/api/createItem.cjs");
10
10
  const deleteItem = require("../utils/api/deleteItem.cjs");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index_esm = require("../../../../../.external/cjs/yup@1.7.0/yup/index.esm.cjs");
3
+ const index_esm = require("../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
4
4
  const getValidationSchema = (columns) => {
5
5
  const schema = columns.reduce((schema2, column) => {
6
6
  let { name, required, type } = column;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const zustand = require("fastapi-rtk/zustand");
5
- const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/queryClient.cjs");
6
- const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
5
+ const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/queryClient.cjs");
6
+ const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
7
7
  const React = require("react");
8
8
  const useProvideAuth = require("../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.cjs");
9
9
  const useProvideInfo = require("../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.cjs");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
4
- const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
3
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
4
+ const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
5
5
  const React = require("react");
6
6
  const authFetch = require("../utils/authFetch.cjs");
7
7
  const userCRUD = require("../utils/userCRUD.cjs");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
3
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
4
4
  const React = require("react");
5
5
  const authFetch = require("../utils/authFetch.cjs");
6
6
  const defaultInfo = { getInfo: authFetch.authInfo };
@@ -5,7 +5,7 @@ import { deepMerge } from "fastapi-rtk/utils";
5
5
  import { useProps, Stack } from "@mantine/core";
6
6
  import { useForm } from "@mantine/form";
7
7
  import { useDebouncedState } from "@mantine/hooks";
8
- import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.mjs";
8
+ import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
9
9
  import { useMemo, useCallback, useEffect } from "react";
10
10
  import { useApi } from "../hooks/api/useApi.mjs";
11
11
  import { useForms } from "../hooks/api/useForms.mjs";
@@ -6,7 +6,7 @@ import { useProps, Stack } from "@mantine/core";
6
6
  import { useForm } from "@mantine/form";
7
7
  import { useDebouncedState } from "@mantine/hooks";
8
8
  import { l as lodashExports } from "../_virtual/lodash.mjs";
9
- import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.mjs";
9
+ import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
10
10
  import { useMemo, useRef, useEffect, useCallback } from "react";
11
11
  import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
12
12
  import { convertToFormInputs } from "../fab-react-toolkit-patch/utils/convertToFormInputs.mjs";
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useProps, Box, Flex, ActionIcon, Divider, Text, ScrollArea, Button, Group } from "@mantine/core";
3
3
  import { useForm } from "@mantine/form";
4
4
  import { randomId } from "@mantine/hooks";
5
- import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.mjs";
5
+ import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.1_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
6
6
  import { useEffect } from "react";
7
- import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.0/yup/index.esm.mjs";
7
+ import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
8
8
  import { useApi } from "../../../../hooks/api/useApi.mjs";
9
9
  import { FormField } from "../../FormField/FormField.mjs";
10
10
  import FormFilterField from "./FormFilterField.mjs";
@@ -1,8 +1,8 @@
1
1
  import { useState, useRef, useEffect, useMemo, useCallback } from "react";
2
2
  import { convertId, getItemId, urlJoin } from "fastapi-rtk/utils";
3
3
  import { useDidUpdate, useSetState } from "@mantine/hooks";
4
- import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/utils.mjs";
5
- import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
4
+ import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/utils.mjs";
5
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
6
6
  import { useLang } from "../../../hooks/lang/useLang.mjs";
7
7
  import { createItem } from "../utils/api/createItem.mjs";
8
8
  import { deleteItem } from "../utils/api/deleteItem.mjs";
@@ -1,5 +1,5 @@
1
- import * as index_esm from "../../../../../.external/esm/yup@1.7.0/yup/index.esm.mjs";
2
- import { object as create$3 } from "../../../../../.external/esm/yup@1.7.0/yup/index.esm.mjs";
1
+ import * as index_esm from "../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
2
+ import { object as create$3 } from "../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
3
3
  const getValidationSchema = (columns) => {
4
4
  const schema = columns.reduce((schema2, column) => {
5
5
  let { name, required, type } = column;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useProxy } from "fastapi-rtk/zustand";
3
- import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.89.0/@tanstack/query-core/build/modern/queryClient.mjs";
4
- import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
3
+ import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.90.1/@tanstack/query-core/build/modern/queryClient.mjs";
4
+ import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
5
5
  import { useState, useMemo } from "react";
6
6
  import { defaultAuth } from "../../fab-react-toolkit-patch/auth/hooks/useProvideAuth.mjs";
7
7
  import { defaultInfo } from "../../fab-react-toolkit-patch/auth/hooks/useProvideInfo.mjs";
@@ -1,5 +1,5 @@
1
- import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
2
- import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
1
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
2
+ import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
3
3
  import { useState, useCallback, useMemo } from "react";
4
4
  import { authOAuthSignin, authResetPassword, authSignout, authSignin } from "../utils/authFetch.mjs";
5
5
  import { updateUser, getUser } from "../utils/userCRUD.mjs";
@@ -1,4 +1,4 @@
1
- import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.89.0_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
1
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.90.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
2
2
  import { useEffect } from "react";
3
3
  import { authInfo } from "../utils/authFetch.mjs";
4
4
  const defaultInfo = { getInfo: authInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastapi-rtk",
3
- "version": "0.2.44",
3
+ "version": "0.2.46",
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",