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
@@ -345,7 +345,7 @@ function requireLodash() {
345
345
  var freeModule = freeExports && true && module && !module.nodeType && module;
346
346
  var moduleExports = freeModule && freeModule.exports === freeExports;
347
347
  var freeProcess = moduleExports && freeGlobal.process;
348
- var nodeUtil = function() {
348
+ var nodeUtil = (function() {
349
349
  try {
350
350
  var types = freeModule && freeModule.require && freeModule.require("util").types;
351
351
  if (types) {
@@ -354,7 +354,7 @@ function requireLodash() {
354
354
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
355
355
  } catch (e) {
356
356
  }
357
- }();
357
+ })();
358
358
  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;
359
359
  function apply(func, thisArg, args) {
360
360
  switch (args.length) {
@@ -700,7 +700,7 @@ function requireLodash() {
700
700
  function unicodeWords(string) {
701
701
  return string.match(reUnicodeWord) || [];
702
702
  }
703
- var runInContext = function runInContext2(context) {
703
+ var runInContext = (function runInContext2(context) {
704
704
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
705
705
  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;
706
706
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -708,10 +708,10 @@ function requireLodash() {
708
708
  var funcToString = funcProto.toString;
709
709
  var hasOwnProperty = objectProto.hasOwnProperty;
710
710
  var idCounter = 0;
711
- var maskSrcKey = function() {
711
+ var maskSrcKey = (function() {
712
712
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
713
713
  return uid ? "Symbol(src)_1." + uid : "";
714
- }();
714
+ })();
715
715
  var nativeObjectToString = objectProto.toString;
716
716
  var objectCtorString = funcToString.call(Object2);
717
717
  var oldDash = root._;
@@ -719,14 +719,14 @@ function requireLodash() {
719
719
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
720
720
  );
721
721
  var Buffer = moduleExports ? context.Buffer : undefined$1, Symbol = 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 = Symbol ? Symbol.isConcatSpreadable : undefined$1, symIterator = Symbol ? Symbol.iterator : undefined$1, symToStringTag = Symbol ? Symbol.toStringTag : undefined$1;
722
- var defineProperty = function() {
722
+ var defineProperty = (function() {
723
723
  try {
724
724
  var func = getNative(Object2, "defineProperty");
725
725
  func({}, "", {});
726
726
  return func;
727
727
  } catch (e) {
728
728
  }
729
- }();
729
+ })();
730
730
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date && Date.now !== root.Date.now && Date.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
731
731
  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;
732
732
  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");
@@ -745,7 +745,7 @@ function requireLodash() {
745
745
  }
746
746
  return new LodashWrapper(value);
747
747
  }
748
- var baseCreate = /* @__PURE__ */ function() {
748
+ var baseCreate = /* @__PURE__ */ (function() {
749
749
  function object() {
750
750
  }
751
751
  return function(proto) {
@@ -760,7 +760,7 @@ function requireLodash() {
760
760
  object.prototype = undefined$1;
761
761
  return result2;
762
762
  };
763
- }();
763
+ })();
764
764
  function baseLodash() {
765
765
  }
766
766
  function LodashWrapper(value, chainAll) {
@@ -4052,9 +4052,9 @@ function requireLodash() {
4052
4052
  var gte = createRelationalOperation(function(value, other) {
4053
4053
  return value >= other;
4054
4054
  });
4055
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
4055
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4056
4056
  return arguments;
4057
- }()) ? baseIsArguments : function(value) {
4057
+ })()) ? baseIsArguments : function(value) {
4058
4058
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4059
4059
  };
4060
4060
  var isArray = Array2.isArray;
@@ -5306,7 +5306,7 @@ function requireLodash() {
5306
5306
  lodash2.each = forEach;
5307
5307
  lodash2.eachRight = forEachRight;
5308
5308
  lodash2.first = head;
5309
- mixin(lodash2, function() {
5309
+ mixin(lodash2, (function() {
5310
5310
  var source = {};
5311
5311
  baseForOwn(lodash2, function(func, methodName) {
5312
5312
  if (!hasOwnProperty.call(lodash2.prototype, methodName)) {
@@ -5314,7 +5314,7 @@ function requireLodash() {
5314
5314
  }
5315
5315
  });
5316
5316
  return source;
5317
- }(), { "chain": false });
5317
+ })(), { "chain": false });
5318
5318
  lodash2.VERSION = VERSION;
5319
5319
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5320
5320
  lodash2[methodName].placeholder = lodash2;
@@ -5474,7 +5474,7 @@ function requireLodash() {
5474
5474
  lodash2.prototype[symIterator] = wrapperToIterator;
5475
5475
  }
5476
5476
  return lodash2;
5477
- };
5477
+ });
5478
5478
  var _ = runInContext();
5479
5479
  if (freeModule) {
5480
5480
  (freeModule.exports = _)._ = _;
@@ -16,7 +16,7 @@ const createImpl = (createState) => {
16
16
  Object.assign(useBoundStore, api);
17
17
  return useBoundStore;
18
18
  };
19
- const create = (createState) => createState ? createImpl(createState) : createImpl;
19
+ const create = ((createState) => createState ? createImpl(createState) : createImpl);
20
20
  export {
21
21
  create,
22
22
  useStore
@@ -19,7 +19,7 @@ const createStoreImpl = (createState) => {
19
19
  const initialState = state = createState(setState, getState, api);
20
20
  return api;
21
21
  };
22
- const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
22
+ const createStore = ((createState) => createState ? createStoreImpl(createState) : createStoreImpl);
23
23
  export {
24
24
  createStore
25
25
  };
@@ -65,7 +65,10 @@ function CommonModal({
65
65
  !(titleOptions == null ? void 0 : titleOptions.hideOverlay) && /* @__PURE__ */ jsxRuntime.jsx(
66
66
  core.CloseButton,
67
67
  {
68
- onClick: () => setView(view !== constants.VIEW_MODE.OVERLAY ? constants.VIEW_MODE.OVERLAY : constants.VIEW_MODE.NORMAL),
68
+ onClick: (e) => {
69
+ e == null ? void 0 : e.stopPropagation();
70
+ setView(view !== constants.VIEW_MODE.OVERLAY ? constants.VIEW_MODE.OVERLAY : constants.VIEW_MODE.NORMAL);
71
+ },
69
72
  title: view !== constants.VIEW_MODE.OVERLAY ? "Overlay" : "Exit overlay",
70
73
  icon: /* @__PURE__ */ jsxRuntime.jsx(
71
74
  iconify.Icon,
@@ -73,13 +76,17 @@ function CommonModal({
73
76
  icon: view !== constants.VIEW_MODE.OVERLAY ? "tabler:stack-forward" : "tabler:stack",
74
77
  fontSize: "1.25rem"
75
78
  }
76
- )
79
+ ),
80
+ ...utils.parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.overlayButtonProps, { view, setView })
77
81
  }
78
82
  ),
79
83
  !(titleOptions == null ? void 0 : titleOptions.hideFullScreen) && /* @__PURE__ */ jsxRuntime.jsx(
80
84
  core.CloseButton,
81
85
  {
82
- onClick: () => setView(view !== constants.VIEW_MODE.FULL_SCREEN ? constants.VIEW_MODE.FULL_SCREEN : constants.VIEW_MODE.NORMAL),
86
+ onClick: (e) => {
87
+ e == null ? void 0 : e.stopPropagation();
88
+ setView(view !== constants.VIEW_MODE.FULL_SCREEN ? constants.VIEW_MODE.FULL_SCREEN : constants.VIEW_MODE.NORMAL);
89
+ },
83
90
  title: view !== constants.VIEW_MODE.FULL_SCREEN ? "Full screen" : "Exit full screen",
84
91
  icon: /* @__PURE__ */ jsxRuntime.jsx(
85
92
  iconify.Icon,
@@ -87,7 +94,8 @@ function CommonModal({
87
94
  icon: view !== constants.VIEW_MODE.FULL_SCREEN ? "tabler:maximize" : "tabler:minimize",
88
95
  fontSize: "1.25rem"
89
96
  }
90
- )
97
+ ),
98
+ ...utils.parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.fullScreenButtonProps, { view, setView })
91
99
  }
92
100
  ),
93
101
  utils.parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.right, { view, setView })
@@ -4,7 +4,7 @@ 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.2.4_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.2.7_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.cjs");
8
8
  const React = require("react");
9
9
  const index_esm = require("../../../../../../.external/cjs/yup@1.7.0/yup/index.esm.cjs");
10
10
  const useApi = require("../../../../hooks/api/useApi.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.83.1/@tanstack/query-core/build/modern/utils.cjs");
7
- const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
6
+ const utils$1 = require("../../../../../.external/cjs/@tanstack_query-core@5.85.5/@tanstack/query-core/build/modern/utils.cjs");
7
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.5_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
8
8
  const createItem = require("../utils/api/createItem.cjs");
9
9
  const deleteItem = require("../utils/api/deleteItem.cjs");
10
10
  const downloadItems = require("../utils/api/downloadItems.cjs");
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const constants = require("fastapi-rtk/constants");
4
4
  const React = require("react");
5
- const react = require("../../../../../.external/cjs/zustand@5.0.7_@types_react@18.3.23_react@18.3.1/zustand/esm/react.cjs");
5
+ const react = require("../../../../../.external/cjs/zustand@5.0.8_@types_react@18.3.24_react@18.3.1/zustand/esm/react.cjs");
6
6
  const useProvideForm = () => {
7
7
  const [storeAdd] = React.useState(
8
8
  () => react.create((set, get) => ({
@@ -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.83.1/@tanstack/query-core/build/modern/queryClient.cjs");
6
- const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
5
+ const queryClient = require("../../../../.external/cjs/@tanstack_query-core@5.85.5/@tanstack/query-core/build/modern/queryClient.cjs");
6
+ const QueryClientProvider = require("../../../../.external/cjs/@tanstack_react-query@5.85.5_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.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
4
- const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.cjs");
3
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.5_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
4
+ const QueryClientProvider = require("../../../../../.external/cjs/@tanstack_react-query@5.85.5_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.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.cjs");
3
+ const useQuery = require("../../../../../.external/cjs/@tanstack_react-query@5.85.5_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 };
@@ -63,7 +63,10 @@ function CommonModal({
63
63
  !(titleOptions == null ? void 0 : titleOptions.hideOverlay) && /* @__PURE__ */ jsx(
64
64
  CloseButton,
65
65
  {
66
- onClick: () => setView(view !== VIEW_MODE.OVERLAY ? VIEW_MODE.OVERLAY : VIEW_MODE.NORMAL),
66
+ onClick: (e) => {
67
+ e == null ? void 0 : e.stopPropagation();
68
+ setView(view !== VIEW_MODE.OVERLAY ? VIEW_MODE.OVERLAY : VIEW_MODE.NORMAL);
69
+ },
67
70
  title: view !== VIEW_MODE.OVERLAY ? "Overlay" : "Exit overlay",
68
71
  icon: /* @__PURE__ */ jsx(
69
72
  Icon,
@@ -71,13 +74,17 @@ function CommonModal({
71
74
  icon: view !== VIEW_MODE.OVERLAY ? "tabler:stack-forward" : "tabler:stack",
72
75
  fontSize: "1.25rem"
73
76
  }
74
- )
77
+ ),
78
+ ...parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.overlayButtonProps, { view, setView })
75
79
  }
76
80
  ),
77
81
  !(titleOptions == null ? void 0 : titleOptions.hideFullScreen) && /* @__PURE__ */ jsx(
78
82
  CloseButton,
79
83
  {
80
- onClick: () => setView(view !== VIEW_MODE.FULL_SCREEN ? VIEW_MODE.FULL_SCREEN : VIEW_MODE.NORMAL),
84
+ onClick: (e) => {
85
+ e == null ? void 0 : e.stopPropagation();
86
+ setView(view !== VIEW_MODE.FULL_SCREEN ? VIEW_MODE.FULL_SCREEN : VIEW_MODE.NORMAL);
87
+ },
81
88
  title: view !== VIEW_MODE.FULL_SCREEN ? "Full screen" : "Exit full screen",
82
89
  icon: /* @__PURE__ */ jsx(
83
90
  Icon,
@@ -85,7 +92,8 @@ function CommonModal({
85
92
  icon: view !== VIEW_MODE.FULL_SCREEN ? "tabler:maximize" : "tabler:minimize",
86
93
  fontSize: "1.25rem"
87
94
  }
88
- )
95
+ ),
96
+ ...parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.fullScreenButtonProps, { view, setView })
89
97
  }
90
98
  ),
91
99
  parseFromValuesOrFunc(titleOptions == null ? void 0 : titleOptions.right, { view, setView })
@@ -2,7 +2,7 @@ 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.2.4_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.2.7_yup@1.7.0/mantine-form-yup-resolver/dist/esm/index.mjs";
6
6
  import { useEffect } from "react";
7
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";
8
8
  import { useApi } from "../../../../hooks/api/useApi.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.83.1/@tanstack/query-core/build/modern/utils.mjs";
5
- import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
4
+ import { keepPreviousData } from "../../../../../.external/esm/@tanstack_query-core@5.85.5/@tanstack/query-core/build/modern/utils.mjs";
5
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.5_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
6
6
  import { createItem } from "../utils/api/createItem.mjs";
7
7
  import { deleteItem } from "../utils/api/deleteItem.mjs";
8
8
  import { downloadItems } from "../utils/api/downloadItems.mjs";
@@ -1,6 +1,6 @@
1
1
  import { initialState, VIEW_MODE } from "fastapi-rtk/constants";
2
2
  import { useState } from "react";
3
- import { create } from "../../../../../.external/esm/zustand@5.0.7_@types_react@18.3.23_react@18.3.1/zustand/esm/react.mjs";
3
+ import { create } from "../../../../../.external/esm/zustand@5.0.8_@types_react@18.3.24_react@18.3.1/zustand/esm/react.mjs";
4
4
  const useProvideForm = () => {
5
5
  const [storeAdd] = useState(
6
6
  () => create((set, get) => ({
@@ -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.83.1/@tanstack/query-core/build/modern/queryClient.mjs";
4
- import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
3
+ import { QueryClient } from "../../../../.external/esm/@tanstack_query-core@5.85.5/@tanstack/query-core/build/modern/queryClient.mjs";
4
+ import { QueryClientProvider } from "../../../../.external/esm/@tanstack_react-query@5.85.5_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.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
2
- import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.84.1_react@18.3.1/@tanstack/react-query/build/modern/QueryClientProvider.mjs";
1
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.5_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
2
+ import { useQueryClient } from "../../../../../.external/esm/@tanstack_react-query@5.85.5_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.84.1_react@18.3.1/@tanstack/react-query/build/modern/useQuery.mjs";
1
+ import { useQuery } from "../../../../../.external/esm/@tanstack_react-query@5.85.5_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 };
@@ -4,6 +4,8 @@
4
4
  * @property {React.ReactNode | ((props: { view: string; setView: (view: string) => void }) => React.ReactNode)} right - Content or function to render on the right side of the title.
5
5
  * @property {boolean} [hideOverlay=false] - If true, hides the overlay toggle button.
6
6
  * @property {boolean} [hideFullScreen=false] - If true, hides the full screen toggle button.
7
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [overlayButtonProps] - Additional props to be passed to the overlay toggle button.
8
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [fullScreenButtonProps] - Additional props to be passed to the full screen toggle button.
7
9
  */
8
10
  /**
9
11
  * @typedef {Object} CommonModalProps
@@ -57,6 +59,20 @@ export type CommonModalTitleOptionsProps = {
57
59
  * - If true, hides the full screen toggle button.
58
60
  */
59
61
  hideFullScreen?: boolean;
62
+ /**
63
+ * - Additional props to be passed to the overlay toggle button.
64
+ */
65
+ overlayButtonProps?: Record<string, any> | ((props: {
66
+ view: string;
67
+ setView: (view: string) => void;
68
+ }) => Record<string, any>);
69
+ /**
70
+ * - Additional props to be passed to the full screen toggle button.
71
+ */
72
+ fullScreenButtonProps?: Record<string, any> | ((props: {
73
+ view: string;
74
+ setView: (view: string) => void;
75
+ }) => Record<string, any>);
60
76
  };
61
77
  export type CommonModalProps = {
62
78
  /**
@@ -4,6 +4,8 @@
4
4
  * @property {React.ReactNode | ((props: { view: string; setView: (view: string) => void }) => React.ReactNode)} right - Content or function to render on the right side of the title.
5
5
  * @property {boolean} [hideOverlay=false] - If true, hides the overlay toggle button.
6
6
  * @property {boolean} [hideFullScreen=false] - If true, hides the full screen toggle button.
7
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [overlayButtonProps] - Additional props to be passed to the overlay toggle button.
8
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [fullScreenButtonProps] - Additional props to be passed to the full screen toggle button.
7
9
  */
8
10
  /**
9
11
  * @typedef {Object} CommonModalProps
@@ -59,6 +61,20 @@ export type CommonModalTitleOptionsProps = {
59
61
  * - If true, hides the full screen toggle button.
60
62
  */
61
63
  hideFullScreen?: boolean;
64
+ /**
65
+ * - Additional props to be passed to the overlay toggle button.
66
+ */
67
+ overlayButtonProps?: Record<string, any> | ((props: {
68
+ view: string;
69
+ setView: (view: string) => void;
70
+ }) => Record<string, any>);
71
+ /**
72
+ * - Additional props to be passed to the full screen toggle button.
73
+ */
74
+ fullScreenButtonProps?: Record<string, any> | ((props: {
75
+ view: string;
76
+ setView: (view: string) => void;
77
+ }) => Record<string, any>);
62
78
  };
63
79
  export type CommonModalProps = {
64
80
  /**
@@ -5,6 +5,8 @@ import { Modal } from '@mantine/core';
5
5
  * @property {React.ReactNode | ((props: { view: string; setView: (view: string) => void }) => React.ReactNode)} right - Content or function to render on the right side of the title.
6
6
  * @property {boolean} [hideOverlay=false] - If true, hides the overlay toggle button.
7
7
  * @property {boolean} [hideFullScreen=false] - If true, hides the full screen toggle button.
8
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [overlayButtonProps] - Additional props to be passed to the overlay toggle button.
9
+ * @property {Record<string, any> | ((props: { view: string; setView: (view: string) => void }) => Record<string, any>)} [fullScreenButtonProps] - Additional props to be passed to the full screen toggle button.
8
10
  */
9
11
  /**
10
12
  * @typedef {Object} CommonModalProps
@@ -56,6 +58,20 @@ export type CommonModalTitleOptionsProps = {
56
58
  * - If true, hides the full screen toggle button.
57
59
  */
58
60
  hideFullScreen?: boolean;
61
+ /**
62
+ * - Additional props to be passed to the overlay toggle button.
63
+ */
64
+ overlayButtonProps?: Record<string, any> | ((props: {
65
+ view: string;
66
+ setView: (view: string) => void;
67
+ }) => Record<string, any>);
68
+ /**
69
+ * - Additional props to be passed to the full screen toggle button.
70
+ */
71
+ fullScreenButtonProps?: Record<string, any> | ((props: {
72
+ view: string;
73
+ setView: (view: string) => void;
74
+ }) => Record<string, any>);
59
75
  };
60
76
  export type CommonModalProps = {
61
77
  /**
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
4
  const compareStateWithStore = require("../utils/compareStateWithStore.cjs");
5
5
  const createProxy = require("../utils/createProxy.cjs");
6
- const react = require("../../../.external/cjs/zustand@5.0.7_@types_react@18.3.23_react@18.3.1/zustand/esm/react.cjs");
6
+ const react = require("../../../.external/cjs/zustand@5.0.8_@types_react@18.3.24_react@18.3.1/zustand/esm/react.cjs");
7
7
  function useProxy(obj) {
8
8
  const [store] = React.useState(() => react.create(() => ({ ...obj })));
9
9
  const [proxy] = React.useState(() => createProxy.createProxy(store, ["getState", "setState"]));
@@ -1,7 +1,7 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { compareStateWithStore } from "../utils/compareStateWithStore.mjs";
3
3
  import { createProxy } from "../utils/createProxy.mjs";
4
- import { create } from "../../../.external/esm/zustand@5.0.7_@types_react@18.3.23_react@18.3.1/zustand/esm/react.mjs";
4
+ import { create } from "../../../.external/esm/zustand@5.0.8_@types_react@18.3.24_react@18.3.1/zustand/esm/react.mjs";
5
5
  function useProxy(obj) {
6
6
  const [store] = useState(() => create(() => ({ ...obj })));
7
7
  const [proxy] = useState(() => createProxy(store, ["getState", "setState"]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastapi-rtk",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
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",