fastapi-rtk 0.2.21 → 0.2.22

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 (104) 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/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/query.cjs +65 -62
  12. package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryObserver.cjs +7 -5
  13. package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/retryer.cjs +9 -18
  14. package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.cjs +1 -1
  15. package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.cjs +2 -2
  16. package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.cjs +1 -1
  17. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/compile/index.cjs +1 -1
  18. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.cjs +1 -1
  19. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/core/index.cjs +1 -1
  20. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/format/index.cjs +1 -1
  21. package/dist/.external/cjs/ajv@8.17.1/ajv/dist/vocabularies/validation/index.cjs +1 -1
  22. package/dist/.external/cjs/lodash@4.17.21/lodash/_baseCreate.cjs +2 -2
  23. package/dist/.external/cjs/lodash@4.17.21/lodash/_defineProperty.cjs +2 -2
  24. package/dist/.external/cjs/lodash@4.17.21/lodash/_isMasked.cjs +2 -2
  25. package/dist/.external/cjs/lodash@4.17.21/lodash/_nodeUtil.cjs +2 -2
  26. package/dist/.external/cjs/lodash@4.17.21/lodash/fp/_mapping.cjs +2 -2
  27. package/dist/.external/cjs/lodash@4.17.21/lodash/isArguments.cjs +2 -2
  28. package/dist/.external/cjs/lodash@4.17.21/lodash/lodash.cjs +14 -14
  29. package/dist/.external/cjs/{zustand@5.0.7_@types_react@18.3.23_react@18.3.1 → zustand@5.0.8_@types_react@18.3.24_react@18.3.1}/zustand/esm/react.cjs +1 -1
  30. package/dist/.external/cjs/{zustand@5.0.7_@types_react@18.3.23_react@18.3.1 → zustand@5.0.8_@types_react@18.3.24_react@18.3.1}/zustand/esm/vanilla.cjs +1 -1
  31. package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/query.mjs +66 -63
  32. package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryObserver.mjs +7 -5
  33. package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/retryer.mjs +10 -19
  34. package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/errorBoundaryUtils.mjs +1 -1
  35. package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/useBaseQuery.mjs +2 -2
  36. package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/useQuery.mjs +1 -1
  37. package/dist/.external/esm/ajv@8.17.1/ajv/dist/compile/index.mjs +1 -1
  38. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/applicator/index.mjs +1 -1
  39. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/core/index.mjs +1 -1
  40. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/format/index.mjs +1 -1
  41. package/dist/.external/esm/ajv@8.17.1/ajv/dist/vocabularies/validation/index.mjs +1 -1
  42. package/dist/.external/esm/lodash@4.17.21/lodash/_baseCreate.mjs +2 -2
  43. package/dist/.external/esm/lodash@4.17.21/lodash/_defineProperty.mjs +2 -2
  44. package/dist/.external/esm/lodash@4.17.21/lodash/_isMasked.mjs +2 -2
  45. package/dist/.external/esm/lodash@4.17.21/lodash/_nodeUtil.mjs +2 -2
  46. package/dist/.external/esm/lodash@4.17.21/lodash/fp/_mapping.mjs +2 -2
  47. package/dist/.external/esm/lodash@4.17.21/lodash/isArguments.mjs +2 -2
  48. package/dist/.external/esm/lodash@4.17.21/lodash/lodash.mjs +14 -14
  49. package/dist/.external/esm/{zustand@5.0.7_@types_react@18.3.23_react@18.3.1 → zustand@5.0.8_@types_react@18.3.24_react@18.3.1}/zustand/esm/react.mjs +1 -1
  50. package/dist/.external/esm/{zustand@5.0.7_@types_react@18.3.23_react@18.3.1 → zustand@5.0.8_@types_react@18.3.24_react@18.3.1}/zustand/esm/vanilla.mjs +1 -1
  51. package/dist/core/cjs/ActionIcons/Modals/CommonModal.cjs +12 -4
  52. package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
  53. package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideApi.cjs +2 -2
  54. package/dist/core/cjs/Wrappers/ApiProvider/hooks/useProvideForm.cjs +1 -1
  55. package/dist/core/cjs/Wrappers/Provider/Provider.cjs +2 -2
  56. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideAuth.cjs +2 -2
  57. package/dist/core/cjs/Wrappers/Provider/hooks/useProvideInfo.cjs +1 -1
  58. package/dist/core/esm/ActionIcons/Modals/CommonModal.mjs +12 -4
  59. package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
  60. package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideApi.mjs +2 -2
  61. package/dist/core/esm/Wrappers/ApiProvider/hooks/useProvideForm.mjs +1 -1
  62. package/dist/core/esm/Wrappers/Provider/Provider.mjs +2 -2
  63. package/dist/core/esm/Wrappers/Provider/hooks/useProvideAuth.mjs +2 -2
  64. package/dist/core/esm/Wrappers/Provider/hooks/useProvideInfo.mjs +1 -1
  65. package/dist/core/lib/ActionIcons/Add/AddDialog.d.ts +16 -0
  66. package/dist/core/lib/ActionIcons/Edit/EditDialog.d.ts +16 -0
  67. package/dist/core/lib/ActionIcons/Modals/CommonModal.d.ts +16 -0
  68. package/dist/zustand/cjs/useProxy/useProxy.cjs +1 -1
  69. package/dist/zustand/esm/useProxy/useProxy.mjs +1 -1
  70. package/package.json +1 -1
  71. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/focusManager.cjs +0 -0
  72. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs +0 -0
  73. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/mutation.cjs +0 -0
  74. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/mutationCache.cjs +0 -0
  75. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/notifyManager.cjs +0 -0
  76. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/onlineManager.cjs +0 -0
  77. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryCache.cjs +0 -0
  78. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryClient.cjs +0 -0
  79. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/removable.cjs +0 -0
  80. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/subscribable.cjs +0 -0
  81. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/thenable.cjs +0 -0
  82. /package/dist/.external/cjs/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/utils.cjs +0 -0
  83. /package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.cjs +0 -0
  84. /package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.cjs +0 -0
  85. /package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.cjs +0 -0
  86. /package/dist/.external/cjs/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/suspense.cjs +0 -0
  87. /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.4_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.7_yup@1.7.0}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
  88. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/focusManager.mjs +0 -0
  89. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/infiniteQueryBehavior.mjs +0 -0
  90. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/mutation.mjs +0 -0
  91. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/mutationCache.mjs +0 -0
  92. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/notifyManager.mjs +0 -0
  93. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/onlineManager.mjs +0 -0
  94. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryCache.mjs +0 -0
  95. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/queryClient.mjs +0 -0
  96. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/removable.mjs +0 -0
  97. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/subscribable.mjs +0 -0
  98. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/thenable.mjs +0 -0
  99. /package/dist/.external/esm/{@tanstack_query-core@5.83.1 → @tanstack_query-core@5.85.5}/@tanstack/query-core/build/modern/utils.mjs +0 -0
  100. /package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/IsRestoringProvider.mjs +0 -0
  101. /package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/QueryClientProvider.mjs +0 -0
  102. /package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/QueryErrorResetBoundary.mjs +0 -0
  103. /package/dist/.external/esm/{@tanstack_react-query@5.84.1_react@18.3.1 → @tanstack_react-query@5.85.5_react@18.3.1}/@tanstack/react-query/build/modern/suspense.mjs +0 -0
  104. /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.4_yup@1.7.0 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.2.7_yup@1.7.0}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
@@ -347,7 +347,7 @@ function requireLodash() {
347
347
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
348
348
  var moduleExports = freeModule && freeModule.exports === freeExports;
349
349
  var freeProcess = moduleExports && freeGlobal.process;
350
- var nodeUtil = function() {
350
+ var nodeUtil = (function() {
351
351
  try {
352
352
  var types = freeModule && freeModule.require && freeModule.require("util").types;
353
353
  if (types) {
@@ -356,7 +356,7 @@ function requireLodash() {
356
356
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
357
357
  } catch (e) {
358
358
  }
359
- }();
359
+ })();
360
360
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
361
361
  function apply(func, thisArg, args) {
362
362
  switch (args.length) {
@@ -702,7 +702,7 @@ function requireLodash() {
702
702
  function unicodeWords(string) {
703
703
  return string.match(reUnicodeWord) || [];
704
704
  }
705
- var runInContext = function runInContext2(context) {
705
+ var runInContext = (function runInContext2(context) {
706
706
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
707
707
  var Array2 = context.Array, Date = context.Date, Error = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
708
708
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -710,10 +710,10 @@ function requireLodash() {
710
710
  var funcToString = funcProto.toString;
711
711
  var hasOwnProperty = objectProto.hasOwnProperty;
712
712
  var idCounter = 0;
713
- var maskSrcKey = function() {
713
+ var maskSrcKey = (function() {
714
714
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
715
715
  return uid ? "Symbol(src)_1." + uid : "";
716
- }();
716
+ })();
717
717
  var nativeObjectToString = objectProto.toString;
718
718
  var objectCtorString = funcToString.call(Object2);
719
719
  var oldDash = root._;
@@ -721,14 +721,14 @@ function requireLodash() {
721
721
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
722
722
  );
723
723
  var Buffer = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array = context.Uint8Array, allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined$1;
724
- var defineProperty = function() {
724
+ var defineProperty = (function() {
725
725
  try {
726
726
  var func = getNative(Object2, "defineProperty");
727
727
  func({}, "", {});
728
728
  return func;
729
729
  } catch (e) {
730
730
  }
731
- }();
731
+ })();
732
732
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date && Date.now !== root.Date.now && Date.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
733
733
  var nativeCeil = Math.ceil, nativeFloor = Math.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math.max, nativeMin = Math.min, nativeNow = Date.now, nativeParseInt = context.parseInt, nativeRandom = Math.random, nativeReverse = arrayProto.reverse;
734
734
  var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set = getNative(context, "Set"), WeakMap = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
@@ -747,7 +747,7 @@ function requireLodash() {
747
747
  }
748
748
  return new LodashWrapper(value);
749
749
  }
750
- var baseCreate = /* @__PURE__ */ function() {
750
+ var baseCreate = /* @__PURE__ */ (function() {
751
751
  function object() {
752
752
  }
753
753
  return function(proto) {
@@ -762,7 +762,7 @@ function requireLodash() {
762
762
  object.prototype = undefined$1;
763
763
  return result2;
764
764
  };
765
- }();
765
+ })();
766
766
  function baseLodash() {
767
767
  }
768
768
  function LodashWrapper(value, chainAll) {
@@ -4054,9 +4054,9 @@ function requireLodash() {
4054
4054
  var gte = createRelationalOperation(function(value, other) {
4055
4055
  return value >= other;
4056
4056
  });
4057
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
4057
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4058
4058
  return arguments;
4059
- }()) ? baseIsArguments : function(value) {
4059
+ })()) ? baseIsArguments : function(value) {
4060
4060
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4061
4061
  };
4062
4062
  var isArray = Array2.isArray;
@@ -5308,7 +5308,7 @@ function requireLodash() {
5308
5308
  lodash2.each = forEach;
5309
5309
  lodash2.eachRight = forEachRight;
5310
5310
  lodash2.first = head;
5311
- mixin(lodash2, function() {
5311
+ mixin(lodash2, (function() {
5312
5312
  var source = {};
5313
5313
  baseForOwn(lodash2, function(func, methodName) {
5314
5314
  if (!hasOwnProperty.call(lodash2.prototype, methodName)) {
@@ -5316,7 +5316,7 @@ function requireLodash() {
5316
5316
  }
5317
5317
  });
5318
5318
  return source;
5319
- }(), { "chain": false });
5319
+ })(), { "chain": false });
5320
5320
  lodash2.VERSION = VERSION;
5321
5321
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5322
5322
  lodash2[methodName].placeholder = lodash2;
@@ -5476,7 +5476,7 @@ function requireLodash() {
5476
5476
  lodash2.prototype[symIterator] = wrapperToIterator;
5477
5477
  }
5478
5478
  return lodash2;
5479
- };
5479
+ });
5480
5480
  var _ = runInContext();
5481
5481
  if (freeModule) {
5482
5482
  (freeModule.exports = _)._ = _;
@@ -18,6 +18,6 @@ const createImpl = (createState) => {
18
18
  Object.assign(useBoundStore, api);
19
19
  return useBoundStore;
20
20
  };
21
- const create = (createState) => createState ? createImpl(createState) : createImpl;
21
+ const create = ((createState) => createState ? createImpl(createState) : createImpl);
22
22
  exports.create = create;
23
23
  exports.useStore = useStore;
@@ -21,5 +21,5 @@ const createStoreImpl = (createState) => {
21
21
  const initialState = state = createState(setState, getState, api);
22
22
  return api;
23
23
  };
24
- const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
24
+ const createStore = ((createState) => createState ? createStoreImpl(createState) : createStoreImpl);
25
25
  exports.createStore = createStore;
@@ -9,7 +9,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
9
9
  var _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _a;
10
10
  import { replaceData, noop, resolveEnabled, skipToken, resolveStaleTime, timeUntilStale, ensureQueryFn } from "./utils.mjs";
11
11
  import { notifyManager } from "./notifyManager.mjs";
12
- import { canFetch, createRetryer, isCancelledError } from "./retryer.mjs";
12
+ import { canFetch, createRetryer, CancelledError } from "./retryer.mjs";
13
13
  import { Removable } from "./removable.mjs";
14
14
  var Query = (_a = class extends Removable {
15
15
  constructor(config) {
@@ -159,9 +159,12 @@ var Query = (_a = class extends Removable {
159
159
  __privateMethod(this, _Query_instances, dispatch_fn).call(this, { type: "invalidate" });
160
160
  }
161
161
  }
162
- fetch(options, fetchOptions) {
163
- var _a2, _b, _c;
164
- if (this.state.fetchStatus !== "idle") {
162
+ async fetch(options, fetchOptions) {
163
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
164
+ if (this.state.fetchStatus !== "idle" && // If the promise in the retyer is already rejected, we have to definitely
165
+ // re-start the fetch; there is a chance that the query is still in a
166
+ // pending state when that happens
167
+ ((_a2 = __privateGet(this, _retryer)) == null ? void 0 : _a2.status()) !== "rejected") {
165
168
  if (this.state.data !== void 0 && (fetchOptions == null ? void 0 : fetchOptions.cancelRefetch)) {
166
169
  this.cancel({ silent: true });
167
170
  } else if (__privateGet(this, _retryer)) {
@@ -230,65 +233,15 @@ var Query = (_a = class extends Removable {
230
233
  return context2;
231
234
  };
232
235
  const context = createFetchContext();
233
- (_a2 = this.options.behavior) == null ? void 0 : _a2.onFetch(context, this);
236
+ (_b = this.options.behavior) == null ? void 0 : _b.onFetch(context, this);
234
237
  __privateSet(this, _revertState, this.state);
235
- if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((_b = context.fetchOptions) == null ? void 0 : _b.meta)) {
236
- __privateMethod(this, _Query_instances, dispatch_fn).call(this, { type: "fetch", meta: (_c = context.fetchOptions) == null ? void 0 : _c.meta });
238
+ if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((_c = context.fetchOptions) == null ? void 0 : _c.meta)) {
239
+ __privateMethod(this, _Query_instances, dispatch_fn).call(this, { type: "fetch", meta: (_d = context.fetchOptions) == null ? void 0 : _d.meta });
237
240
  }
238
- const onError = (error) => {
239
- var _a3, _b2, _c2, _d;
240
- if (!(isCancelledError(error) && error.silent)) {
241
- __privateMethod(this, _Query_instances, dispatch_fn).call(this, {
242
- type: "error",
243
- error
244
- });
245
- }
246
- if (!isCancelledError(error)) {
247
- (_b2 = (_a3 = __privateGet(this, _cache).config).onError) == null ? void 0 : _b2.call(
248
- _a3,
249
- error,
250
- this
251
- );
252
- (_d = (_c2 = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _d.call(
253
- _c2,
254
- this.state.data,
255
- error,
256
- this
257
- );
258
- }
259
- this.scheduleGc();
260
- };
261
241
  __privateSet(this, _retryer, createRetryer({
262
242
  initialPromise: fetchOptions == null ? void 0 : fetchOptions.initialPromise,
263
243
  fn: context.fetchFn,
264
244
  abort: abortController.abort.bind(abortController),
265
- onSuccess: (data) => {
266
- var _a3, _b2, _c2, _d;
267
- if (data === void 0) {
268
- if (process.env.NODE_ENV !== "production") {
269
- console.error(
270
- `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
271
- );
272
- }
273
- onError(new Error(`${this.queryHash} data is undefined`));
274
- return;
275
- }
276
- try {
277
- this.setData(data);
278
- } catch (error) {
279
- onError(error);
280
- return;
281
- }
282
- (_b2 = (_a3 = __privateGet(this, _cache).config).onSuccess) == null ? void 0 : _b2.call(_a3, data, this);
283
- (_d = (_c2 = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _d.call(
284
- _c2,
285
- data,
286
- this.state.error,
287
- this
288
- );
289
- this.scheduleGc();
290
- },
291
- onError,
292
245
  onFail: (failureCount, error) => {
293
246
  __privateMethod(this, _Query_instances, dispatch_fn).call(this, { type: "failed", failureCount, error });
294
247
  },
@@ -303,7 +256,59 @@ var Query = (_a = class extends Removable {
303
256
  networkMode: context.options.networkMode,
304
257
  canRun: () => true
305
258
  }));
306
- return __privateGet(this, _retryer).start();
259
+ try {
260
+ const data = await __privateGet(this, _retryer).start();
261
+ if (data === void 0) {
262
+ if (process.env.NODE_ENV !== "production") {
263
+ console.error(
264
+ `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
265
+ );
266
+ }
267
+ throw new Error(`${this.queryHash} data is undefined`);
268
+ }
269
+ this.setData(data);
270
+ (_f = (_e = __privateGet(this, _cache).config).onSuccess) == null ? void 0 : _f.call(_e, data, this);
271
+ (_h = (_g = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _h.call(
272
+ _g,
273
+ data,
274
+ this.state.error,
275
+ this
276
+ );
277
+ return data;
278
+ } catch (error) {
279
+ if (error instanceof CancelledError) {
280
+ if (error.silent) {
281
+ return __privateGet(this, _retryer).promise;
282
+ } else if (error.revert) {
283
+ this.setState({
284
+ ...__privateGet(this, _revertState),
285
+ fetchStatus: "idle"
286
+ });
287
+ if (this.state.data === void 0) {
288
+ throw error;
289
+ }
290
+ return this.state.data;
291
+ }
292
+ }
293
+ __privateMethod(this, _Query_instances, dispatch_fn).call(this, {
294
+ type: "error",
295
+ error
296
+ });
297
+ (_j = (_i = __privateGet(this, _cache).config).onError) == null ? void 0 : _j.call(
298
+ _i,
299
+ error,
300
+ this
301
+ );
302
+ (_l = (_k = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _l.call(
303
+ _k,
304
+ this.state.data,
305
+ error,
306
+ this
307
+ );
308
+ throw error;
309
+ } finally {
310
+ this.scheduleGc();
311
+ }
307
312
  }
308
313
  }, _initialState = new WeakMap(), _revertState = new WeakMap(), _cache = new WeakMap(), _client = new WeakMap(), _retryer = new WeakMap(), _defaultOptions = new WeakMap(), _abortSignalConsumed = new WeakMap(), _Query_instances = new WeakSet(), dispatch_fn = function(action) {
309
314
  const reducer = (state) => {
@@ -331,8 +336,7 @@ var Query = (_a = class extends Removable {
331
336
  fetchMeta: action.meta ?? null
332
337
  };
333
338
  case "success":
334
- __privateSet(this, _revertState, void 0);
335
- return {
339
+ const newState = {
336
340
  ...state,
337
341
  data: action.data,
338
342
  dataUpdateCount: state.dataUpdateCount + 1,
@@ -346,11 +350,10 @@ var Query = (_a = class extends Removable {
346
350
  fetchFailureReason: null
347
351
  }
348
352
  };
353
+ __privateSet(this, _revertState, action.manual ? newState : void 0);
354
+ return newState;
349
355
  case "error":
350
356
  const error = action.error;
351
- if (isCancelledError(error) && error.revert && __privateGet(this, _revertState)) {
352
- return { ...__privateGet(this, _revertState), fetchStatus: "idle" };
353
- }
354
357
  return {
355
358
  ...state,
356
359
  error,
@@ -38,11 +38,6 @@ var QueryObserver = (_a = class extends Subscribable {
38
38
  __privateSet(this, _client, client);
39
39
  __privateSet(this, _selectError, null);
40
40
  __privateSet(this, _currentThenable, pendingThenable());
41
- if (!this.options.experimental_prefetchInRender) {
42
- __privateGet(this, _currentThenable).reject(
43
- new Error("experimental_prefetchInRender feature flag is not enabled")
44
- );
45
- }
46
41
  this.bindMethods();
47
42
  this.setOptions(options);
48
43
  }
@@ -139,6 +134,13 @@ var QueryObserver = (_a = class extends Subscribable {
139
134
  get: (target, key) => {
140
135
  this.trackProp(key);
141
136
  onPropTracked == null ? void 0 : onPropTracked(key);
137
+ if (key === "promise" && !this.options.experimental_prefetchInRender && __privateGet(this, _currentThenable).status === "pending") {
138
+ __privateGet(this, _currentThenable).reject(
139
+ new Error(
140
+ "experimental_prefetchInRender feature flag is not enabled"
141
+ )
142
+ );
143
+ }
142
144
  return Reflect.get(target, key);
143
145
  }
144
146
  });
@@ -15,18 +15,15 @@ var CancelledError = class extends Error {
15
15
  this.silent = options == null ? void 0 : options.silent;
16
16
  }
17
17
  };
18
- function isCancelledError(value) {
19
- return value instanceof CancelledError;
20
- }
21
18
  function createRetryer(config) {
22
19
  let isRetryCancelled = false;
23
20
  let failureCount = 0;
24
- let isResolved = false;
25
21
  let continueFn;
26
22
  const thenable = pendingThenable();
23
+ const isResolved = () => thenable.status !== "pending";
27
24
  const cancel = (cancelOptions) => {
28
25
  var _a;
29
- if (!isResolved) {
26
+ if (!isResolved()) {
30
27
  reject(new CancelledError(cancelOptions));
31
28
  (_a = config.abort) == null ? void 0 : _a.call(config);
32
29
  }
@@ -40,19 +37,13 @@ function createRetryer(config) {
40
37
  const canContinue = () => focusManager.isFocused() && (config.networkMode === "always" || onlineManager.isOnline()) && config.canRun();
41
38
  const canStart = () => canFetch(config.networkMode) && config.canRun();
42
39
  const resolve = (value) => {
43
- var _a;
44
- if (!isResolved) {
45
- isResolved = true;
46
- (_a = config.onSuccess) == null ? void 0 : _a.call(config, value);
40
+ if (!isResolved()) {
47
41
  continueFn == null ? void 0 : continueFn();
48
42
  thenable.resolve(value);
49
43
  }
50
44
  };
51
45
  const reject = (value) => {
52
- var _a;
53
- if (!isResolved) {
54
- isResolved = true;
55
- (_a = config.onError) == null ? void 0 : _a.call(config, value);
46
+ if (!isResolved()) {
56
47
  continueFn == null ? void 0 : continueFn();
57
48
  thenable.reject(value);
58
49
  }
@@ -61,7 +52,7 @@ function createRetryer(config) {
61
52
  return new Promise((continueResolve) => {
62
53
  var _a;
63
54
  continueFn = (value) => {
64
- if (isResolved || canContinue()) {
55
+ if (isResolved() || canContinue()) {
65
56
  continueResolve(value);
66
57
  }
67
58
  };
@@ -69,13 +60,13 @@ function createRetryer(config) {
69
60
  }).then(() => {
70
61
  var _a;
71
62
  continueFn = void 0;
72
- if (!isResolved) {
63
+ if (!isResolved()) {
73
64
  (_a = config.onContinue) == null ? void 0 : _a.call(config);
74
65
  }
75
66
  });
76
67
  };
77
68
  const run = () => {
78
- if (isResolved) {
69
+ if (isResolved()) {
79
70
  return;
80
71
  }
81
72
  let promiseOrValue;
@@ -87,7 +78,7 @@ function createRetryer(config) {
87
78
  }
88
79
  Promise.resolve(promiseOrValue).then(resolve).catch((error) => {
89
80
  var _a;
90
- if (isResolved) {
81
+ if (isResolved()) {
91
82
  return;
92
83
  }
93
84
  const retry = config.retry ?? (isServer ? 0 : 3);
@@ -113,6 +104,7 @@ function createRetryer(config) {
113
104
  };
114
105
  return {
115
106
  promise: thenable,
107
+ status: () => thenable.status,
116
108
  cancel,
117
109
  continue: () => {
118
110
  continueFn == null ? void 0 : continueFn();
@@ -134,6 +126,5 @@ function createRetryer(config) {
134
126
  export {
135
127
  CancelledError,
136
128
  canFetch,
137
- createRetryer,
138
- isCancelledError
129
+ createRetryer
139
130
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { shouldThrowError } from "../../../../../@tanstack_query-core@5.83.1/@tanstack/query-core/build/modern/utils.mjs";
2
+ import { shouldThrowError } from "../../../../../@tanstack_query-core@5.85.5/@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.83.1/@tanstack/query-core/build/modern/notifyManager.mjs";
3
- import { noop, isServer } from "../../../../../@tanstack_query-core@5.83.1/@tanstack/query-core/build/modern/utils.mjs";
2
+ import { notifyManager } from "../../../../../@tanstack_query-core@5.85.5/@tanstack/query-core/build/modern/notifyManager.mjs";
3
+ import { noop, isServer } from "../../../../../@tanstack_query-core@5.85.5/@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.83.1/@tanstack/query-core/build/modern/queryObserver.mjs";
1
+ import { QueryObserver } from "../../../../../@tanstack_query-core@5.85.5/@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 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 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 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";
@@ -6,7 +6,7 @@ function require_baseCreate() {
6
6
  hasRequired_baseCreate = 1;
7
7
  var isObject = requireIsObject();
8
8
  var objectCreate = Object.create;
9
- var baseCreate = /* @__PURE__ */ function() {
9
+ var baseCreate = /* @__PURE__ */ (function() {
10
10
  function object() {
11
11
  }
12
12
  return function(proto) {
@@ -21,7 +21,7 @@ function require_baseCreate() {
21
21
  object.prototype = void 0;
22
22
  return result;
23
23
  };
24
- }();
24
+ })();
25
25
  _baseCreate = baseCreate;
26
26
  return _baseCreate;
27
27
  }
@@ -5,14 +5,14 @@ function require_defineProperty() {
5
5
  if (hasRequired_defineProperty) return _defineProperty;
6
6
  hasRequired_defineProperty = 1;
7
7
  var getNative = require_getNative();
8
- var defineProperty = function() {
8
+ var defineProperty = (function() {
9
9
  try {
10
10
  var func = getNative(Object, "defineProperty");
11
11
  func({}, "", {});
12
12
  return func;
13
13
  } catch (e) {
14
14
  }
15
- }();
15
+ })();
16
16
  _defineProperty = defineProperty;
17
17
  return _defineProperty;
18
18
  }
@@ -5,10 +5,10 @@ function require_isMasked() {
5
5
  if (hasRequired_isMasked) return _isMasked;
6
6
  hasRequired_isMasked = 1;
7
7
  var coreJsData = require_coreJsData();
8
- var maskSrcKey = function() {
8
+ var maskSrcKey = (function() {
9
9
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
10
10
  return uid ? "Symbol(src)_1." + uid : "";
11
- }();
11
+ })();
12
12
  function isMasked(func) {
13
13
  return !!maskSrcKey && maskSrcKey in func;
14
14
  }
@@ -11,7 +11,7 @@ function require_nodeUtil() {
11
11
  var freeModule = freeExports && true && module && !module.nodeType && module;
12
12
  var moduleExports = freeModule && freeModule.exports === freeExports;
13
13
  var freeProcess = moduleExports && freeGlobal.process;
14
- var nodeUtil = function() {
14
+ var nodeUtil = (function() {
15
15
  try {
16
16
  var types = freeModule && freeModule.require && freeModule.require("util").types;
17
17
  if (types) {
@@ -20,7 +20,7 @@ function require_nodeUtil() {
20
20
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
21
21
  } catch (e) {
22
22
  }
23
- }();
23
+ })();
24
24
  module.exports = nodeUtil;
25
25
  })(_nodeUtil, _nodeUtil.exports);
26
26
  return _nodeUtil.exports;
@@ -435,7 +435,7 @@ function require_mapping() {
435
435
  "updateWith": true
436
436
  }
437
437
  };
438
- exports.realToAlias = function() {
438
+ exports.realToAlias = (function() {
439
439
  var hasOwnProperty = Object.prototype.hasOwnProperty, object = exports.aliasToReal, result = {};
440
440
  for (var key in object) {
441
441
  var value = object[key];
@@ -446,7 +446,7 @@ function require_mapping() {
446
446
  }
447
447
  }
448
448
  return result;
449
- }();
449
+ })();
450
450
  exports.remap = {
451
451
  "assignAll": "assign",
452
452
  "assignAllWith": "assignWith",
@@ -9,9 +9,9 @@ function requireIsArguments() {
9
9
  var objectProto = Object.prototype;
10
10
  var hasOwnProperty = objectProto.hasOwnProperty;
11
11
  var propertyIsEnumerable = objectProto.propertyIsEnumerable;
12
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
12
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
13
13
  return arguments;
14
- }()) ? baseIsArguments : function(value) {
14
+ })()) ? baseIsArguments : function(value) {
15
15
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
16
16
  };
17
17
  isArguments_1 = isArguments;